FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-116946: remove unnecessary gc from _decimal types by skirpichev · Pull Request #156034 · python/cpython · GitHub

/ cpython Public

gh-116946: remove unnecessary gc from _decimal types - #156034

Open
skirpichev wants to merge 1 commit into
python:mainfrom
skirpichev:decimal-nogc/116946
Open

gh-116946: remove unnecessary gc from _decimal types#156034
skirpichev wants to merge 1 commit into
python:mainfrom
skirpichev:decimal-nogc/116946

Conversation

skirpichev commented Aug 19, 2026
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

On my laptop (gcc 14.2, default configure flags) for pyperformance benchmarks (decimal_* should be enabled first, see python/pyperformance#473):

decimal_factorial: Mean +- std dev: [ref] 1.05 sec +- 0.02 sec -> [patch] 918 ms +- 6 ms: 1.14x faster
decimal_pi: Mean +- std dev: [ref] 1.99 sec +- 0.02 sec -> [patch] 1.76 sec +- 0.02 sec: 1.13x faster
telco: Mean +- std dev: [ref] 78.7 ms +- 0.5 ms -> [patch] 73.5 ms +- 0.4 ms: 1.07x faster

Geometric mean: 1.11x faster

Copy link
Copy Markdown
Member Author

This partially fix speed regression, noticed in #144650.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL