File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -450,9 +450,9 @@ def handle_test_env() -> None:
450450 # PYTHON-4769 Run perf_test.py directly otherwise pytest's test collection negatively
451451 # affects the benchmark results.
452452 if sub_test_name == "sync" :
453- TEST_ARGS = f"test/performance/perf_test.py { TEST_ARGS } "
453+ TEST_ARGS = f"test/performance/perf_test.py { TEST_ARGS } -s "
454454 else :
455- TEST_ARGS = f"test/performance/async_perf_test.py { TEST_ARGS } "
455+ TEST_ARGS = f"test/performance/async_perf_test.py { TEST_ARGS } -s "
456456
457457 # Add coverage if requested.
458458 # Only cover CPython. PyPy reports suspiciously low coverage.
Original file line number Diff line number Diff line change 7070
7171# Spec says to use at least 1 minute cumulative execution time and up to 100 iterations or 5 minutes but that
7272# makes the benchmarks too slow. Instead, we use at least 30 seconds and at most 60 seconds.
73- NUM_ITERATIONS = 100
73+ NUM_ITERATIONS = 10
7474MIN_ITERATION_TIME = 30
75- MAX_ITERATION_TIME = 120
76- NUM_DOCS = 10000
75+ MAX_ITERATION_TIME = 300
76+ NUM_DOCS = 1000
7777# When debugging or prototyping it's often useful to run the benchmarks locally, set FASTBENCH=1 to run quickly.
7878if bool (os .getenv ("FASTBENCH" )):
7979 NUM_ITERATIONS = 2
You can’t perform that action at this time.
0 commit comments