Skip to content

Commit 799d423

Browse files
committed
restore plugin
1 parent 04b913a commit 799d423

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

codeflash/benchmarking/pytest_new_process_trace_benchmarks.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import sys
22
from pathlib import Path
33

4-
# from codeflash.benchmarking.codeflash_trace import codeflash_trace
5-
# from codeflash.benchmarking.plugin.plugin import codeflash_benchmark_plugin
4+
from codeflash.benchmarking.codeflash_trace import codeflash_trace
5+
from codeflash.benchmarking.plugin.plugin import codeflash_benchmark_plugin
66

77
benchmarks_root = sys.argv[1]
88
tests_root = sys.argv[2]
@@ -17,8 +17,8 @@
1717
original_limit = sys.getrecursionlimit()
1818
sys.setrecursionlimit(max(2000, original_limit * 2))
1919

20-
# codeflash_benchmark_plugin.setup(trace_file, project_root)
21-
# codeflash_trace.setup(trace_file)
20+
codeflash_benchmark_plugin.setup(trace_file, project_root)
21+
codeflash_trace.setup(trace_file)
2222
exitcode = pytest.main(
2323
[
2424
benchmarks_root,
@@ -35,7 +35,7 @@
3535
"-o",
3636
"addopts=",
3737
],
38-
# plugins=[codeflash_benchmark_plugin],
38+
plugins=[codeflash_benchmark_plugin],
3939
) # Errors will be printed to stdout, not stderr
4040

4141
sys.setrecursionlimit(original_limit)

0 commit comments

Comments
 (0)