summaryrefslogtreecommitdiff
path: root/benchmark/lib
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-07-02 21:39:22 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-07-02 21:39:22 +0900
commite8a2521abecc6738c3480ec9b3d8c7b341cb576f (patch)
tree5179f40b9af764194b169967f321958acfb89574 /benchmark/lib
parent4d6c35d33a3f8a2ab29b3aabcf74be0bd9e7bf98 (diff)
Adjust memory_status.rb under the tool directory.
Diffstat (limited to 'benchmark/lib')
-rw-r--r--benchmark/lib/benchmark_driver/runner/peak.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/lib/benchmark_driver/runner/peak.rb b/benchmark/lib/benchmark_driver/runner/peak.rb
index 0ba8af42c5..d04f2e51ff 100644
--- a/benchmark/lib/benchmark_driver/runner/peak.rb
+++ b/benchmark/lib/benchmark_driver/runner/peak.rb
@@ -61,7 +61,7 @@ class BenchmarkDriver::Runner::Peak
loop_count: job.loop_count,
)
- memory_status = File.expand_path('../../../../test/lib/memory_status', __dir__)
+ memory_status = File.expand_path('../../../../tool/lib/memory_status', __dir__)
Tempfile.open(['benchmark_driver-', '.rb']) do |f|
with_script(benchmark.render) do |path|
output = IO.popen([*context.executable.command, path, f.path, target, memory_status], &:read)