Sha256: 94eaa4418e56cc0d4df49abf1008c164b4dbc0a56a346ff5746f316f7099bb58
Contents?: true
Size: 715 Bytes
Versions: 1
Compression:
Stored size: 715 Bytes
Contents
require 'assert/rake_tasks' Assert::RakeTasks.for(:test) require 'bundler' Bundler::GemHelper.install_tasks task :default => :build namespace :bench do desc "Run the bench script." task :run do require 'bench/bench_runner' UndiesBenchRunner.new end desc "Run the profiler on 1000 rows." task :profiler do require 'bench/profiler_runner' UndiesProfilerRunner.new('verylarge').print_flat(STDOUT, :min_percent => 1) end desc "Run all the tests, then the profiler, then the bench." task :all do Rake::Task['test'].invoke puts Rake::Task['run_profiler'].invoke puts Rake::Task['run_bench'].invoke end end task :bench do Rake::Task['bench:run'].invoke end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
undies-3.0.0.rc.1 | Rakefile |