diff --git a/pyperformance/data-files/benchmarks/bm_go/run_benchmark.py b/pyperformance/data-files/benchmarks/bm_go/run_benchmark.py index b1caf8f6..90422eb4 100644 --- a/pyperformance/data-files/benchmarks/bm_go/run_benchmark.py +++ b/pyperformance/data-files/benchmarks/bm_go/run_benchmark.py @@ -452,10 +452,6 @@ def versus_cpu(): if __name__ == "__main__": - kw = {} - if pyperf.python_has_jit(): - # PyPy needs to compute more warmup values to warmup its JIT - kw['warmups'] = 50 - runner = pyperf.Runner(**kw) + runner = pyperf.Runner() runner.metadata['description'] = "Test the performance of the Go benchmark" runner.bench_func('go', versus_cpu) diff --git a/pyperformance/data-files/benchmarks/bm_hexiom/run_benchmark.py b/pyperformance/data-files/benchmarks/bm_hexiom/run_benchmark.py index 8073d71a..eb74deb8 100644 --- a/pyperformance/data-files/benchmarks/bm_hexiom/run_benchmark.py +++ b/pyperformance/data-files/benchmarks/bm_hexiom/run_benchmark.py @@ -651,11 +651,7 @@ def add_cmdline_args(cmd, args): if __name__ == "__main__": - kw = {'add_cmdline_args': add_cmdline_args} - if pyperf.python_has_jit(): - # PyPy needs to compute more warmup values to warmup its JIT - kw['warmups'] = 15 - runner = pyperf.Runner(**kw) + runner = pyperf.Runner(add_cmdline_args=add_cmdline_args) levels = sorted(LEVELS) runner.argparser.add_argument("--level", type=int, choices=levels, diff --git a/pyperformance/data-files/benchmarks/bm_tornado_http/run_benchmark.py b/pyperformance/data-files/benchmarks/bm_tornado_http/run_benchmark.py index 4ff3fbf6..408fd06a 100644 --- a/pyperformance/data-files/benchmarks/bm_tornado_http/run_benchmark.py +++ b/pyperformance/data-files/benchmarks/bm_tornado_http/run_benchmark.py @@ -96,11 +96,7 @@ def run_client(): import asyncio asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy()) - kw = {} - if pyperf.python_has_jit(): - # PyPy needs to compute more warmup values to warmup its JIT - kw['warmups'] = 30 - runner = pyperf.Runner(**kw) + runner = pyperf.Runner() runner.metadata['description'] = ("Test the performance of HTTP requests " "with Tornado.") runner.bench_time_func('tornado_http', bench_tornado) diff --git a/pyperformance/data-files/requirements.txt b/pyperformance/data-files/requirements.txt index 28a0a032..9c1bbf8f 100644 --- a/pyperformance/data-files/requirements.txt +++ b/pyperformance/data-files/requirements.txt @@ -1,16 +1,18 @@ # -# This file is autogenerated by pip-compile with python 3.11 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.11 +# by the following command: # # pip-compile --output-file=requirements.txt requirements.in # packaging==21.3 # via -r requirements.in psutil==5.9.0 - # via -r requirements.in + # via + # -r requirements.in + # pyperf pyparsing==3.0.8 # via packaging -pyperf==2.5.0 +pyperf==2.6.0 # via -r requirements.in toml==0.10.2 # via -r requirements.in