mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-19 10:52:48 -07:00
memory-profiler update
This commit is contained in:
@@ -57,7 +57,7 @@ Liquid::Template.error_mode = ARGV.first.to_sym if ARGV.first
|
|||||||
|
|
||||||
runner = ThemeRunner.new
|
runner = ThemeRunner.new
|
||||||
Profiler.run do |x|
|
Profiler.run do |x|
|
||||||
x.profile('parse') { runner.compile }
|
x.profile('parse') { runner.compile_all }
|
||||||
x.profile('render') { runner.render }
|
x.profile('render') { runner.render_all }
|
||||||
x.tabulate
|
x.tabulate
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user