Skip to content

Commit 977039d

Browse files
committed
Inline setarch_prefix
1 parent 69a4ee5 commit 977039d

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

run_benchmarks.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,6 @@ def sort_benchmarks(bench_names)
4747
BenchmarkRunner.sort_benchmarks(bench_names, benchmarks_metadata)
4848
end
4949

50-
def setarch_prefix
51-
BenchmarkRunner.setarch_prefix
52-
end
53-
5450
# Run all the benchmarks and record execution times
5551
def run_benchmarks(ruby:, ruby_description:, categories:, name_filters:, out_path:, harness:, pre_init:, no_pinning:)
5652
bench_data = {}
@@ -108,7 +104,7 @@ def run_benchmarks(ruby:, ruby_description:, categories:, name_filters:, out_pat
108104
# Set up the benchmarking command
109105
cmd = []
110106
if BenchmarkRunner.os == :linux
111-
cmd += setarch_prefix
107+
cmd += BenchmarkRunner.setarch_prefix
112108

113109
# Pin the process to one given core to improve caching and reduce variance on CRuby
114110
# Other Rubies need to use multiple cores, e.g., for JIT threads

0 commit comments

Comments
 (0)