-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PyRFLX performance #254
Comments
As far as I remember the invariants of |
I had a closer look on this and ran the tests myself for comparison. slowest 20 with -O switch enabled
slowest 20 without -O switch
I then profiled
This is the complete call graph of |
The call graph looks not very complete to me. Or why does |
Updated the first call graph. |
I managed to improved the performance of all pyrflx tests (except for the package iterator test) by only updating the mapping in __simplified after a field has been set. For example
|
45x speedup? Very nice! |
@rssen Please file a PR against |
Of the 20 slowest test cases 12 are from the PyRFLX tests. We should analyse this performance issue and try to optimize it (especially to improve PyRFLX' viability for a fuzzer):
The text was updated successfully, but these errors were encountered: