Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (12 sloc) 392 Bytes
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
You can’t perform that action at this time.