-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed as not planned
Labels
performancePerformance or resource usagePerformance or resource usagetopic-subinterpreterstype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
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
eendebakpt
Metadata
Metadata
Assignees
Labels
performancePerformance or resource usagePerformance or resource usagetopic-subinterpreterstype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Projects
Status
Done