Skip to content

Add random benchmarks#386

Open
donbarbos wants to merge 7 commits into
python:mainfrom
donbarbos:add-random
Open

Add random benchmarks#386
donbarbos wants to merge 7 commits into
python:mainfrom
donbarbos:add-random

Conversation

@donbarbos

Copy link
Copy Markdown

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 donbarbos changed the title Add the random benchmark Mar 12, 2025
Comment thread pyperformance/data-files/benchmarks/bm_random/run_benchmark.py Outdated
donbarbos and others added 2 commits March 13, 2025 15:49
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Comment thread pyperformance/data-files/benchmarks/MANIFEST Outdated
Comment thread pyperformance/data-files/benchmarks/bm_random/pyproject.toml Outdated
@AA-Turner

This comment was marked as resolved.

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.

Comment thread pyperformance/data-files/benchmarks/bm_random/run_benchmark.py
Comment thread pyperformance/data-files/benchmarks/bm_random/run_benchmark.py Outdated
Comment thread pyperformance/data-files/benchmarks/bm_random/run_benchmark.py Outdated
@donbarbos

Copy link
Copy Markdown
Author

@AA-Turner Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants