diff options
| author | Christian Heimes <cheimes@redhat.com> | 2017-02-20 20:09:13 +0100 |
|---|---|---|
| committer | Martin Basti <mbasti@redhat.com> | 2017-03-01 12:50:43 +0100 |
| commit | 332dbab1ff09eb719eb9e0a7a90bbf5b6e69ddc9 (patch) | |
| tree | 03d47c7a55497ad51eb51b2fcb223bc5bfb00aed /Makefile.python.am | |
| parent | c49320435ddc67210c0d95be273e971ea8ffad6d (diff) | |
| download | freeipa-332dbab1ff09eb719eb9e0a7a90bbf5b6e69ddc9.tar.gz freeipa-332dbab1ff09eb719eb9e0a7a90bbf5b6e69ddc9.tar.xz freeipa-332dbab1ff09eb719eb9e0a7a90bbf5b6e69ddc9.zip | |
Speed up client schema cache
It's inefficient to open a zip file over and over again. By loading all
members of the schema cache file at once, the ipa CLI script starts
about 25 to 30% faster for simple cases like help and ping.
Before:
$ time for i in {1..20}; do ./ipa ping >/dev/null; done
real 0m13.608s
user 0m10.316s
sys 0m1.121s
After:
$ time for i in {1..20}; do ./ipa ping >/dev/null; done
real 0m9.330s
user 0m7.635s
sys 0m1.146s
https://fedorahosted.org/freeipa/ticket/6690
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'Makefile.python.am')
0 files changed, 0 insertions, 0 deletions
