Rakefile in identity_cache-0.0.2 vs Rakefile in identity_cache-0.0.3
- old
+ new
@@ -12,5 +12,24 @@
t.libs << 'lib'
t.libs << 'test'
t.pattern = 'test/**/*_test.rb'
t.verbose = true
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
+