[issue44130] GIL Improvement

STINNER Victor report at bugs.python.org
Fri May 14 10:53:53 EDT 2021


STINNER Victor <vstinner at python.org> added the comment:

> Mean +- std dev: 455 ms +- 13 ms

A single benchmark is useless without a reference. Please run the benchmark on unpatched python, then run it again on a patched Python, and compare results. You can store benchmark results using -o option. Example:

# Unpatched python
python pyperf_benchmark.py -o ref.json
# Patched python
python pyperf_benchmark.py -o new_gil.json
# Compare
python -m pyperf compare_to ref.json new_gil.json

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44130>
_______________________________________


More information about the Python-bugs-list mailing list