Bug report
Bug description:
The pi benchmark in Modules/_decimal/tests/bench.py is up to 31% slower with --enable-gil and up to 45% slower with --disable-gil compared to Python 3.9 as the baseline.
Change the number of iterations to 100000 for more stable benchmarks.
This is heavily OS and hardware dependent. The worst case cited above was observed on a six core i5-8600K.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
Reactions are currently unavailable
Bug report
Bug description:
The pi benchmark in Modules/_decimal/tests/bench.py is up to 31% slower with --enable-gil and up to 45% slower with --disable-gil compared to Python 3.9 as the baseline.
Change the number of iterations to 100000 for more stable benchmarks.
This is heavily OS and hardware dependent. The worst case cited above was observed on a six core i5-8600K.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs