Add `random` benchmarks by donbarbos · Pull Request #386 · python/pyperformance
Navigation Menu
{{ message }}
python / pyperformance Public
- Notifications You must be signed in to change notification settings
- Fork 202
Open
donbarbos wants to merge 7 commits intopython:mainfrom
donbarbos wants to merge 7 commits intopython:mainfrom
Conversation
Copy link Copy Markdown
donbarbos
commented
Mar 12, 2025
donbarbos
commented
This PR is part of the work to remove cli flags for self-testing. Inspired by #222
sorry if i missed something, this is my first PR in this repo.
donbarbos
mentioned this pull request
donbarbos
changed the title
Add the
Add random benchmarkrandom benchmarks
hugovk reviewed Mar 13, 2025
pyperformance/data-files/benchmarks/bm_random/run_benchmark.py
Outdated
Show resolved
Hide resolved
pyperformance/data-files/benchmarks/bm_random/run_benchmark.py Outdated Show resolved Hide resolved
donbarbos and others added 2 commits
March 13, 2025 15:49Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
AA-Turner reviewed Dec 17, 2025
pyperformance/data-files/benchmarks/MANIFEST
Outdated
Show resolved
Hide resolved
pyperformance/data-files/benchmarks/MANIFEST Outdated Show resolved Hide resolved
AA-Turner reviewed Dec 17, 2025
pyperformance/data-files/benchmarks/bm_random/pyproject.toml
Outdated
Show resolved
Hide resolved
pyperformance/data-files/benchmarks/bm_random/pyproject.toml Outdated Show resolved Hide resolved
This comment was marked as resolved.
This comment was marked as resolved.
AA-Turner reviewed Dec 17, 2025
Comment on lines +32 to +33
| (random.binomialvariate, (15, 0.60)), | ||
| (random.binomialvariate, (100, 0.75)), |
Copy link Copy Markdown
Member
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
random.binomialvariate is new in 3.12.
AA-Turner reviewed Dec 17, 2025
pyperformance/data-files/benchmarks/bm_random/run_benchmark.py
Show resolved
Hide resolved
pyperformance/data-files/benchmarks/bm_random/run_benchmark.py Show resolved Hide resolved
AA-Turner reviewed Dec 17, 2025
pyperformance/data-files/benchmarks/bm_random/run_benchmark.py
Outdated
Show resolved
Hide resolved
pyperformance/data-files/benchmarks/bm_random/run_benchmark.py Outdated Show resolved Hide resolved
AA-Turner reviewed Dec 17, 2025
pyperformance/data-files/benchmarks/bm_random/run_benchmark.py
Outdated
Show resolved
Hide resolved
pyperformance/data-files/benchmarks/bm_random/run_benchmark.py Outdated Show resolved Hide resolved
AA-Turner approved these changes Dec 18, 2025
Copy link Copy Markdown
Author
donbarbos
commented
Dec 27, 2025
donbarbos commented
Dec 27, 2025@AA-Turner Thank you!
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