Commit aa29467
committed
gh-145230: Update lockbench.py and benchmark_locks API
- Remove PyThread_type_lock benchmark as it now uses PyMutex.\n- Add --work-outside to adjust work outside critical sections.\n- Add --num-locks to support benchmarking multiple independent locks.\n- Make number of threads configurable.\n- Add --total-iters for fixed iteration benchmarks.1 parent 4401f23 commit aa29467
3 files changed
Lines changed: 491 additions & 419 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments