Title: _decimal: pi benchmark 31-45% slower compared to 3.9 · Issue #114682 · python/cpython · GitHub
Open Graph Title: _decimal: pi benchmark 31-45% slower compared to 3.9 · Issue #114682 · python/cpython
X Title: _decimal: pi benchmark 31-45% slower compared to 3.9 · Issue #114682 · python/cpython
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 1000...
Open Graph 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....
X 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....
Opengraph URL: https://github.com/python/cpython/issues/114682
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"_decimal: pi benchmark 31-45% slower compared to 3.9","articleBody":"# Bug report\n\n### Bug description:\n\nThe 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.\n\nChange the number of iterations to `100000` for more stable benchmarks.\n\nThis is heavily OS and hardware dependent. The worst case cited above was observed on a six core i5-8600K. \n\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nLinux\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-115196\n* gh-115401\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/skrah","@type":"Person","name":"skrah"},"datePublished":"2024-01-28T15:24:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":46},"url":"https://github.com/114682/cpython/issues/114682"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:92abf7d1-5709-1add-c729-74cdc9bdf1b8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9850:2B7A56:769859:A76F15:696A5683 |
| html-safe-nonce | 953fe12d7910da4b7d7d558afd45620d10263c41b3c1e50e5ef1c6c2ba57f095 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODUwOjJCN0E1Njo3Njk4NTk6QTc2RjE1OjY5NkE1NjgzIiwidmlzaXRvcl9pZCI6IjQ4MDczODM0MDkwMTQ0OTQ4NTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2c436c5c324463e6bc6a49b606fc8a7fcf1d0c7c669276c94f5a04244da8228d |
| hovercard-subject-tag | issue:2104214374 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/114682/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dd62c3183ebf53a70f9e5e489dacfb01ad83f311a6071e66d9f7aea6dc8b0800/python/cpython/issues/114682 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dd62c3183ebf53a70f9e5e489dacfb01ad83f311a6071e66d9f7aea6dc8b0800/python/cpython/issues/114682 |
| og:image:alt | 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.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | skrah |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width