On Sep 15, 2011, at 8:45 AM, Ross Peoples wrote: > > 1. Auth and JSON-RPC > > ------------------------------------- > > > > This problem stems from enabling Auth: > > > > auth = Auth(db) > > auth.define_tables() > > > > Whenever Auth is enabled, the average time per request for XML-RPC and > > JSON-RPC are about 45 ms and 65 ms, respectively. However, whenever Auth is > > not enabled, these times change dramatically, but only for XML-RPC. The > > average time per request for XML-RPC and JSON-RPC is now about 20 ms and 60 > > ms, respectively. The time it takes for JSON-RPC requests to run drops > > about 5 ms per request, however, the time XML-RPC requests drops by 25 ms > > (more than half). > > Am I correct that pretty much the same thing happens if you turn off the > define_tables call? > > Yes, when I am 'disabling' auth, I am basically removing auth.define_tables() > and auth = Auth(db) >
What happens if you leave the auth = line but comment out the define_tables line?

