[Freeipa-devel] [freeipa PR#488][opened] Speed up client schema cache

tiran freeipa-github-notification at redhat.com
Mon Feb 20 19:20:06 UTC 2017


   URL: https://github.com/freeipa/freeipa/pull/488
Author: tiran
 Title: #488: Speed up client schema cache
Action: opened

PR body:
"""
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 at redhat.com>
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/488/head:pr488
git checkout pr488
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pr-488.patch
Type: text/x-diff
Size: 2864 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20170220/745af4fb/attachment.bin>


More information about the Freeipa-devel mailing list