forked from Shopify/identity_cache
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
39 lines (32 loc) · 766 Bytes
/
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
#!/usr/bin/env rake
require 'bundler/gem_tasks'
require 'rake/testtask'
require 'rdoc/task'
desc 'Default: run unit tests.'
task :default => :test
desc 'Test the identity_cache plugin.'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.libs << 'test'
t.pattern = 'test/**/*_test.rb'
t.verbose = true
end
desc 'Update serialization format test fixture.'
task :update_serialization_format do
ruby './test/helpers/update_serialization_format.rb'
end
namespace :benchmark do
desc "Run the identity cache CPU benchmark"
task :cpu do
ruby "./performance/cpu.rb"
end
task :externals do
ruby "./performance/externals.rb"
end
end
namespace :profile do
desc "Profile IDC code"
task :run do
ruby "./performance/profile.rb"
end
end