Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
desc "run benchmark in current ruby"
task :run_benchmark do
Dir["code/general/*.rb"].each do |benchmark|
puts "$ ruby -v #{benchmark}"
system("ruby", "-v", "-W0", benchmark)
end
Dir["code/*/*.rb"].reject { |path| path =~ /^code\/general/ }.each do |benchmark|
puts "$ ruby -v #{benchmark}"
system("ruby", "-v", "-W0", benchmark)
end
end
task default: :run_benchmark