[Freeipa-devel] [PATCH] test speedup patch

Rob Crittenden rcritten at redhat.com
Tue Jan 18 22:30:52 UTC 2011


Attached is a rough cut of a patch to try to speed up the cli a little 
bit. Basically in production mode it will skip some things during 
initialization.

My concept is that we develop in mode != production and release in mode 
== production.

I managed to knock a second or so off time to do a user-show on average.

There may be some other things we can do to speed things up, I'm still 
looking. Some feedback on the approach would be appreciated.

Note that I've completely ruled out SSL/Negotiate. I did my testing on 
lite-server which doesn't use SSL or Negotiate and it was STILL taking 
on average 3-4+ seconds per command. The server side was consistently 
taking < 1 second to complete.

rob




More information about the Freeipa-devel mailing list