mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Remove escape_html from benchmark
This commit is contained in:
parent
3bf294c98e
commit
4e5655c4ba
1 changed files with 1 additions and 2 deletions
|
@ -34,7 +34,6 @@ class Benchmarks
|
|||
fast_erubis = Erubis::FastEruby.new(@erb_code)
|
||||
haml_ugly = Haml::Engine.new(@haml_code, format: :html5, ugly: true)
|
||||
tenjin = Tenjin::Engine.new.get_template(@rbhtml_path)
|
||||
hamlit = Hamlit::Engine.new(escape_html: true)
|
||||
|
||||
context = Context.new
|
||||
|
||||
|
@ -47,7 +46,7 @@ class Benchmarks
|
|||
def run_slim_ugly; #{Slim::Engine.new.call @slim_code}; end
|
||||
def run_faml; #{Faml::Engine.new.call @haml_code}; end
|
||||
def run_tenjin; _buf = ''; #{tenjin.script}; end
|
||||
def run_hamlit; #{hamlit.call @haml_code}; end
|
||||
def run_hamlit; #{Hamlit::Engine.new.call @haml_code}; end
|
||||
}
|
||||
|
||||
bench('hamlit', Hamlit::VERSION) { context.run_hamlit }
|
||||
|
|
Loading…
Reference in a new issue