various speedups

This commit is contained in:
Tobias Lutke
2013-03-19 18:30:09 -04:00
committed by Tom Burns
parent 20beec2de3
commit 7cc10b9abf
12 changed files with 167 additions and 99 deletions
+2 -2
View File
@@ -4,8 +4,8 @@ require File.dirname(__FILE__) + '/theme_runner'
profiler = ThemeRunner.new
Benchmark.bmbm do |x|
x.report("parse:") { 100.times { profiler.compile } }
Benchmark.bm do |x|
# x.report("parse:") { 100.times { profiler.compile } }
x.report("parse & run:") { 100.times { profiler.run } }
end