Uh oh!
There was an error while loading. Please reload this page.
bpo-41364: Reduce import overhead of uuid module - #21586
Merged
Merged
Conversation
miss-islington
commented
Jul 21, 2020
Contributor
Thanks @zooba for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8, 3.9. |
miss-islington pushed a commit
to miss-islington/cpython
that referenced
this pull request
Jul 21, 2020
(cherry picked from commit bf2f76e) Co-authored-by: Steve Dower <steve.dower@python.org>
bedevere-bot
commented
Jul 21, 2020
GH-21589 is a backport of this pull request to the 3.9 branch. |
miss-islington
commented
Jul 21, 2020
Contributor
Sorry, @zooba, I could not cleanly backport this to |
miss-islington added a commit
that referenced
this pull request
Jul 22, 2020
zooba added a commit
to zooba/cpython
that referenced
this pull request
Jul 22, 2020
bedevere-bot
commented
Jul 22, 2020
GH-21591 is a backport of this pull request to the 3.8 branch. |
zooba added a commit
that referenced
this pull request
Jul 22, 2020
bedevere-bot
commented
Jul 22, 2020
|
shihai1991 pushed a commit
to shihai1991/cpython
that referenced
this pull request
Aug 4, 2020
shihai1991 pushed a commit
to shihai1991/cpython
that referenced
this pull request
Aug 20, 2020
xzy3 pushed a commit
to xzy3/cpython
that referenced
this pull request
Oct 18, 2020
hauntsaninja added a commit
to hauntsaninja/cpython
that referenced
this pull request
Feb 8, 2024
This follows in the footsteps of python#21586
hauntsaninja added a commit
to hauntsaninja/cpython
that referenced
this pull request
Feb 8, 2024
This follows in the footsteps of python#21586 This speeds up import uuid by about 6ms on Linux. Before: ``` λ hyperfine -w 4 "./python -c 'import uuid'" Benchmark 1: ./python -c 'import uuid' Time (mean ± σ): 20.4 ms ± 0.4 ms [User: 16.7 ms, System: 3.8 ms] Range (min … max): 19.6 ms … 21.8 ms 136 runs ``` After: ``` λ hyperfine -w 4 "./python -c 'import uuid'" Benchmark 1: ./python -c 'import uuid' Time (mean ± σ): 14.5 ms ± 0.3 ms [User: 11.5 ms, System: 3.2 ms] Range (min … max): 13.9 ms … 16.0 ms 175 runs ```
hauntsaninja added a commit
that referenced
this pull request
Mar 6, 2024
This follows in the footsteps of #21586 This speeds up import uuid by about 6ms on Linux. Before: ``` λ hyperfine -w 4 "./python -c 'import uuid'" Benchmark 1: ./python -c 'import uuid' Time (mean ± σ): 20.4 ms ± 0.4 ms [User: 16.7 ms, System: 3.8 ms] Range (min … max): 19.6 ms … 21.8 ms 136 runs ``` After: ``` λ hyperfine -w 4 "./python -c 'import uuid'" Benchmark 1: ./python -c 'import uuid' Time (mean ± σ): 14.5 ms ± 0.3 ms [User: 11.5 ms, System: 3.2 ms] Range (min … max): 13.9 ms … 16.0 ms 175 runs ```
adorilson pushed a commit
to adorilson/cpython
that referenced
this pull request
Mar 25, 2024
…on#115160) This follows in the footsteps of python#21586 This speeds up import uuid by about 6ms on Linux. Before: ``` λ hyperfine -w 4 "./python -c 'import uuid'" Benchmark 1: ./python -c 'import uuid' Time (mean ± σ): 20.4 ms ± 0.4 ms [User: 16.7 ms, System: 3.8 ms] Range (min … max): 19.6 ms … 21.8 ms 136 runs ``` After: ``` λ hyperfine -w 4 "./python -c 'import uuid'" Benchmark 1: ./python -c 'import uuid' Time (mean ± σ): 14.5 ms ± 0.3 ms [User: 11.5 ms, System: 3.2 ms] Range (min … max): 13.9 ms … 16.0 ms 175 runs ```
diegorusso pushed a commit
to diegorusso/cpython
that referenced
this pull request
Apr 17, 2024
…on#115160) This follows in the footsteps of python#21586 This speeds up import uuid by about 6ms on Linux. Before: ``` λ hyperfine -w 4 "./python -c 'import uuid'" Benchmark 1: ./python -c 'import uuid' Time (mean ± σ): 20.4 ms ± 0.4 ms [User: 16.7 ms, System: 3.8 ms] Range (min … max): 19.6 ms … 21.8 ms 136 runs ``` After: ``` λ hyperfine -w 4 "./python -c 'import uuid'" Benchmark 1: ./python -c 'import uuid' Time (mean ± σ): 14.5 ms ± 0.3 ms [User: 11.5 ms, System: 3.2 ms] Range (min … max): 13.9 ms … 16.0 ms 175 runs ```
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 freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://bugs.python.org/issue41364