read call without fields list takes long time
Asked by
SG E-ndicus(Selvam)
Hi all,
I was using xmlrpc calls to read res.partner fields
data = sock.execute(
When I passed some 10 fields,
It took some 0.017311000824 seconds on an average to return the result.
When I passed,
data = sock.execute(
It took 0.34 seconds on an average. ( around 20x slower )
The read and _read_flat gets called repeatedly (orm.py) when no input fields are passed thus taking a lot of time.
I would like to know, If this is a bug or expected one.
Note:
I am using python's timeit module to figure out timings.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- xrg
- Solved:
- Last query:
- Last reply:
To post a message you must log in.