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
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/mysql2-0.3.11/tasks/benchmarks.rake
mysql2-0.2.19b4 tasks/benchmarks.rake
mysql2-0.3.12b4 tasks/benchmarks.rake
mysql2-0.2.19b3 tasks/benchmarks.rake
mysql2-0.3.12b3 tasks/benchmarks.rake
mysql2-0.3.12b2 tasks/benchmarks.rake
mysql2-0.2.19b2 tasks/benchmarks.rake
mysql2-0.3.12b1 tasks/benchmarks.rake
mysql2-0.2.19b1 tasks/benchmarks.rake
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/mysql2-0.3.11/tasks/benchmarks.rake
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/mysql2-0.3.11/tasks/benchmarks.rake
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/mysql2-0.3.11/tasks/benchmarks.rake
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/mysql2-0.3.11/tasks/benchmarks.rake
sunrise-cms-0.3.0.rc vendor/bundle/ruby/1.9.1/gems/mysql2-0.3.11/tasks/benchmarks.rake
mysql2-sp-0.3.10 tasks/benchmarks.rake
solaris-mysql2-0.3.11 tasks/benchmarks.rake
mysql2-0.3.11-x86-mswin32-60 tasks/benchmarks.rake
mysql2-0.3.11-x86-mingw32 tasks/benchmarks.rake
mysql2-0.3.11 tasks/benchmarks.rake
mysql2-0.2.18-x86-mswin32-60 tasks/benchmarks.rake