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

Version Path
mysql2-0.2.18-x86-mingw32 tasks/benchmarks.rake
mysql2-0.2.18 tasks/benchmarks.rake
mysql2-0.3.10 tasks/benchmarks.rake
mysql2-0.2.17 tasks/benchmarks.rake
mysql2-0.2.16 tasks/benchmarks.rake
mysql2-0.3.9 tasks/benchmarks.rake
mysql2-0.2.16-x86-mswin32-60 tasks/benchmarks.rake
mysql2-0.2.16-x86-mingw32 tasks/benchmarks.rake
mysql2-0.3.9-x86-mswin32-60 tasks/benchmarks.rake
mysql2-0.3.9-x86-mingw32 tasks/benchmarks.rake
mysql2-0.2.15-x86-mswin32-60 tasks/benchmarks.rake
mysql2-0.3.8 tasks/benchmarks.rake
mysql2-0.2.14 tasks/benchmarks.rake
mysql2-0.3.7 tasks/benchmarks.rake
mysql2-0.2.13 tasks/benchmarks.rake
mysql2-0.2.12 tasks/benchmarks.rake
mysql2-0.3.6 tasks/benchmarks.rake
mysql2-0.2.11 tasks/benchmarks.rake
mysql2-0.3.5 tasks/benchmarks.rake
mysql2-0.2.10 tasks/benchmarks.rake