--- MacRuby/branches/experimental/bench.rb 2009-03-29 23:33:18 UTC (rev 1257)
+++ MacRuby/branches/experimental/bench.rb 2009-03-29 23:33:34 UTC (rev 1258)
@@ -198,4 +198,14 @@
end
end
+ # Eval
+ bm.report('1000 eval') do
+ i=0
+ s = "#{1+1}+#{20+20}"
+ while i<1000
+ eval(s)
+ i+=1
+ end
+ end
+
end