summaryrefslogtreecommitdiffhomepage
path: root/tasks
diff options
context:
space:
mode:
authorfurunkel <[email protected]>2015-04-24 16:24:31 +0200
committerfurunkel <[email protected]>2015-04-24 16:24:31 +0200
commit00518e0a4b134c5eb18802ccb9c0d5672923b7b2 (patch)
treef27e35e6de7a79d23ccaa9effc3cc9bc22720db9 /tasks
parentbb1951a8b60cd290b6fff7b4dcc2fe52a69ff6d5 (diff)
downloadmruby-00518e0a4b134c5eb18802ccb9c0d5672923b7b2.tar.gz
mruby-00518e0a4b134c5eb18802ccb9c0d5672923b7b2.zip
Use separate build config directory for benchmark files
Diffstat (limited to 'tasks')
-rw-r--r--tasks/benchmark.rake3
1 files changed, 2 insertions, 1 deletions
diff --git a/tasks/benchmark.rake b/tasks/benchmark.rake
index 28e100fbb..97b2e7448 100644
--- a/tasks/benchmark.rake
+++ b/tasks/benchmark.rake
@@ -37,6 +37,7 @@ def plot
cmd = %Q{gnuplot -p -e "#{opts}"}
+ p cmd
IO.popen(cmd, 'w') do |p|
dat_files.each do |target_name, bm_files|
p.puts target_name.gsub('_', '-')
@@ -56,7 +57,7 @@ MRuby.each_target do |target|
bm_files.each do |bm_file|
bm_name = File.basename bm_file, ".rb"
- dat_dir = File.join('benchmark', "#{build_config_name}_#{target.name}")
+ dat_dir = File.join('benchmark', build_config_name, target.name)
dat_file = File.join(dat_dir, "#{bm_name}.dat")
$dat_files << dat_file