fix benchmark

This commit is contained in:
Tobias Lütke
2012-10-29 16:47:57 -04:00
parent 6c2fde5eea
commit 05d9976e16
2 changed files with 28 additions and 2 deletions
+2 -1
View File
@@ -5,6 +5,7 @@ require File.dirname(__FILE__) + '/theme_runner'
profiler = ThemeRunner.new
Benchmark.bmbm do |x|
x.report("parse & run:") { 10.times { profiler.run(false) } }
x.report("parse:") { 100.times { profiler.compile } }
x.report("parse & run:") { 100.times { profiler.run } }
end