mirror of
https://github.com/kemko/liquid.git
synced 2026-01-01 15:55:40 +03:00
11 lines
210 B
Ruby
11 lines
210 B
Ruby
require 'rubygems'
|
|
require 'benchmark'
|
|
require File.dirname(__FILE__) + '/theme_runner'
|
|
|
|
profiler = ThemeRunner.new
|
|
|
|
Benchmark.bmbm do |x|
|
|
x.report("parse & run:") { 10.times { profiler.run(false) } }
|
|
end
|
|
|