forked from dry-rb/dry-initializer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
47 lines (38 loc) · 1.11 KB
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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