Permalink
Browse files

Add benchmark script.

  • Loading branch information...
1 parent d691b0a commit 83560646b99ad286e26d0af1fd3eb77205973d82 @xaviershay committed Jul 4, 2012
Showing with 18 additions and 0 deletions.
  1. +18 −0 benchmark/verification.rb
@@ -0,0 +1,18 @@
+require 'rspec/fire'
+
+class A
+ def method_1
+ end
+
+ def method_2; end
+end
+
+describe 'verification' do
+ include RSpec::Fire
+
+ it 'blah' do
+ 1000.times do
+ fire_double('A', method_1: 1, method_2: 2)
+ end
+ end
+end

0 comments on commit 8356064

Please sign in to comment.