pyperformance icon indicating copy to clipboard operation
pyperformance copied to clipboard

`--shuffle`, `--shuffle-seed`

Open maurycy opened this issue 3 weeks ago • 1 comments

The current order is sorted:

https://github.com/python/pyperformance/blob/0ffe825f0bd7b74f3da7a616057edc399aa4c69f/pyperformance/run.py#L76

The rationale: with the increasing number of runtime optimizations (eg: JIT, branch predictors etc.) there might be a small penalty (or reward) based on order of execution.

maurycy avatar Dec 05 '25 15:12 maurycy

I don't think we should be shuffling benchmarks.

Fidget-Spinner avatar Dec 05 '25 23:12 Fidget-Spinner