File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 11import sys
22from pathlib import Path
33
4- from codeflash .benchmarking .codeflash_trace import codeflash_trace
5- from codeflash .benchmarking .plugin .plugin import codeflash_benchmark_plugin
6-
74benchmarks_root = sys .argv [1 ]
85tests_root = sys .argv [2 ]
96trace_file = sys .argv [3 ]
129if __name__ == "__main__" :
1310 import pytest
1411
12+ pytest .register_assert_rewrite ("codeflash.benchmarking.codeflash_trace" )
13+ pytest .register_assert_rewrite ("codeflash.benchmarking.plugin.plugin" )
14+
15+ from codeflash .benchmarking .codeflash_trace import codeflash_trace
16+ from codeflash .benchmarking .plugin .plugin import codeflash_benchmark_plugin
17+
1518 try :
1619 # Increase recursion limit to handle recursive benchmarks with tracing overhead
1720 original_limit = sys .getrecursionlimit ()
You can’t perform that action at this time.
0 commit comments