Sha256: 32f69e338b8d4c227fcd271b89cfc24627008099254d1985c601431cbb0c72dd

Contents?: true

Size: 1.11 KB

Versions: 24

Compression:

Stored size: 1.11 KB

Contents

require "bundler/setup"
Bundler::GemHelper.install_tasks

require "rspec/core/rake_task"
RSpec::Core::RakeTask.new :default

namespace :benchmark do
  desc "Runs benchmarks without options"
  task :without_options do
    system "ruby benchmarks/without_options.rb"
  end

  desc "Runs benchmarks for several defaults"
  task :several_defaults do
    system "ruby benchmarks/several_defaults.rb"
  end

  desc "Runs benchmarks for defaults of params vs. options"
  task :params_vs_options do
    system "ruby benchmarks/params_vs_options.rb"
  end

  desc "Runs benchmarks with types"
  task :with_types do
    system "ruby benchmarks/with_types.rb"
  end

  desc "Runs benchmarks with defaults"
  task :with_defaults do
    system "ruby benchmarks/with_defaults.rb"
  end

  desc "Runs benchmarks with types and defaults"
  task :with_types_and_defaults do
    system "ruby benchmarks/with_types_and_defaults.rb"
  end

  desc "Runs benchmarks for plain params"
  task :params do
    system "ruby benchmarks/params.rb"
  end

  desc "Runs benchmarks various opts"
  task :options do
    system "ruby benchmarks/options.rb"
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
dry-initializer-0.2.0 Rakefile
dry-initializer-0.1.1 Rakefile
dry-initializer-0.1.0 Rakefile
dry-initializer-0.0.1 Rakefile