Skip to content

Commit 7821a30

Browse files
committed
speed up the benchmarking loop for certain cases
Signed-off-by: Saurabh Misra <[email protected]>
1 parent 9a3cf95 commit 7821a30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codeflash/optimization/function_optimizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1886,7 +1886,7 @@ def run_and_parse_tests(
18861886
*,
18871887
enable_coverage: bool = False,
18881888
pytest_min_loops: int = 5,
1889-
pytest_max_loops: int = 100_000,
1889+
pytest_max_loops: int = 250,
18901890
code_context: CodeOptimizationContext | None = None,
18911891
unittest_loop_index: int | None = None,
18921892
line_profiler_output_file: Path | None = None,

0 commit comments

Comments
 (0)