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-1.0.0 Rakefile
dry-initializer-0.11.0 Rakefile
dry-initializer-0.10.2 Rakefile
dry-initializer-0.10.1 Rakefile
dry-initializer-0.10.0 Rakefile
dry-initializer-0.9.3 Rakefile
dry-initializer-0.9.2 Rakefile
dry-initializer-0.9.1 Rakefile
dry-initializer-0.9.0 Rakefile
dry-initializer-0.8.1 Rakefile
dry-initializer-0.8.0 Rakefile
dry-initializer-0.7.0 Rakefile
dry-initializer-0.6.0 Rakefile
dry-initializer-0.5.0 Rakefile
dry-initializer-0.4.0 Rakefile
dry-initializer-0.3.3 Rakefile
dry-initializer-0.3.2 Rakefile
dry-initializer-0.3.1 Rakefile
dry-initializer-0.3.0 Rakefile
dry-initializer-0.2.1 Rakefile