@@ -21,7 +21,7 @@ def test_bench_enabled_header_with_perf(
2121 with codspeed_env ():
2222 result = pytester .runpytest ()
2323 result .stdout .fnmatch_lines (
24- ["codspeed: * (enabled, mode: instrumentation , callgraph: enabled)" ]
24+ ["codspeed: * (enabled, mode: simulation , callgraph: enabled)" ]
2525 )
2626
2727
@@ -36,7 +36,7 @@ def _():
3636 return 1 + 1
3737 """
3838 )
39- result = run_pytest_codspeed_with_mode (pytester , MeasurementMode .Instrumentation )
39+ result = run_pytest_codspeed_with_mode (pytester , MeasurementMode .Simulation )
4040 result .stdout .fnmatch_lines (
4141 [
4242 (
@@ -132,7 +132,7 @@ def foo():
132132 benchmark.pedantic(foo, rounds=10, iterations=100)
133133 """
134134 )
135- result = run_pytest_codspeed_with_mode (pytester , MeasurementMode .Instrumentation )
135+ result = run_pytest_codspeed_with_mode (pytester , MeasurementMode .Simulation )
136136 result .stdout .fnmatch_lines (
137137 [
138138 "*UserWarning: Valgrind instrument ignores rounds and iterations settings "
@@ -192,8 +192,6 @@ def target(a, b, c):
192192 """
193193 )
194194 with codspeed_env ():
195- result = run_pytest_codspeed_with_mode (
196- pytester , MeasurementMode .Instrumentation
197- )
195+ result = run_pytest_codspeed_with_mode (pytester , MeasurementMode .Simulation )
198196 assert result .ret == 0 , "the run should have succeeded"
199197 result .assert_outcomes (passed = 1 )
0 commit comments