Sha256: 0a474422de6cf658ad2c944d09f5a995b7b4011203286b7281ed2ef7165e3587
Contents?: true
Size: 450 Bytes
Versions: 50
Compression:
Stored size: 450 Bytes
Contents
BENCHMARKS = Dir["#{File.dirname(__FILE__)}/../benchmark/*.rb"].map do |path| File.basename(path, '.rb') end.select { |x| x != 'setup_db' } namespace :bench do BENCHMARKS.each do |feature| desc "Run #{feature} benchmarks" task(feature){ ruby "benchmark/#{feature}.rb" } end task :all do BENCHMARKS.each do |feature| ruby "benchmark/#{feature}.rb" end end task :setup do ruby 'benchmark/setup_db' end end
Version data entries
50 entries across 50 versions & 6 rubygems