3 ms·
There is a breakdown of the test implementations here: https://pyperformance.readthedocs.io/benchmarks.html https://pyperformance.readthedocs.io/benchmarks.html
by samwillis 4y ago
There is a breakdown of the test implementations here: https://pyperformance.readthedocs.io/benchmarks.html https://pyperformance.readthedocs.io/benchmarks.html
I'm particularly happy to see the django_template test showing so much improvement. The implementation of Django templates has been a hot topic for speed improvements for along time (and why many people jump to Jinja). Its a good example of how "complex" python will be improved by these optimisations.
Two interesting ones to compare are pickle_pure_python and json_loads (both doing (de)serialisation activities), the former shows a large improvement, the latter much less so. Again it's showing how the improvements are coming to complex pure python code, json.load is mostly c whereas the pickle_pure_python test is run against the pure python Pickle implementation.
It would be interesting to see a benchmark based on the Django test suite, that would probably be quite indicative of the impairments we can expect in real world web server Python.