We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c258d8 commit 63e5cbeCopy full SHA for 63e5cbe
src/execution.jl
@@ -587,6 +587,7 @@ function generate_benchmark_definition(
587
),
588
)
589
if $(params.experimental_enable_linux_perf)
590
+ $(setup)
591
# Based on https://github.com/JuliaPerf/LinuxPerf.jl/blob/a7fee0ff261a5b5ce7a903af7b38d1b5c27dd931/src/LinuxPerf.jl#L1043-L1061
592
__linux_perf_groups = BenchmarkTools.LinuxPerf.set_default_spaces(
593
$(params.linux_perf_options.events),
@@ -607,6 +608,7 @@ function generate_benchmark_definition(
607
608
__linux_perf_bench
609
610
end
611
+ $(teardown)
612
else
613
__return_val_2 = nothing
614
__linux_perf_stats = nothing
0 commit comments