Rakefile in event_emitter-0.2.4 vs Rakefile in event_emitter-0.2.5
- old
+ new
@@ -4,5 +4,11 @@
Rake::TestTask.new do |t|
t.pattern = "test/test_*.rb"
end
task :default => :test
+
+desc "run eventemitter benchmark"
+task :benchmark do
+ require File.expand_path 'benchmark/benchmark', File.dirname(__FILE__)
+ Bench.run
+end