mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Now fast_haml changed its name to faml
This commit is contained in:
parent
2b99ac523b
commit
6f6b9614ca
2 changed files with 4 additions and 4 deletions
|
@ -7,7 +7,7 @@ require 'benchmark/ips'
|
||||||
|
|
||||||
require 'erb'
|
require 'erb'
|
||||||
require 'erubis'
|
require 'erubis'
|
||||||
require 'fast_haml'
|
require 'faml'
|
||||||
require 'haml'
|
require 'haml'
|
||||||
require 'slim'
|
require 'slim'
|
||||||
require 'tenjin'
|
require 'tenjin'
|
||||||
|
@ -43,14 +43,14 @@ class Benchmarks
|
||||||
def run_temple_erb; #{Temple::ERB::Engine.new.call @erb_code}; end
|
def run_temple_erb; #{Temple::ERB::Engine.new.call @erb_code}; end
|
||||||
def run_fast_erubis; #{fast_erubis.src}; end
|
def run_fast_erubis; #{fast_erubis.src}; end
|
||||||
def run_slim_ugly; #{Slim::Engine.new.call @slim_code}; end
|
def run_slim_ugly; #{Slim::Engine.new.call @slim_code}; end
|
||||||
def run_fast_haml; #{FastHaml::Engine.new.call @haml_code}; end
|
def run_faml; #{Faml::Engine.new.call @haml_code}; end
|
||||||
def run_tenjin; _buf = ''; #{tenjin.script}; end
|
def run_tenjin; _buf = ''; #{tenjin.script}; end
|
||||||
def run_hamlit; #{Hamlit::Engine.new.call @haml_code}; end
|
def run_hamlit; #{Hamlit::Engine.new.call @haml_code}; end
|
||||||
}
|
}
|
||||||
|
|
||||||
bench('hamlit') { context.run_hamlit }
|
bench('hamlit') { context.run_hamlit }
|
||||||
bench('erubis') { context.run_erubis }
|
bench('erubis') { context.run_erubis }
|
||||||
bench('fast_haml') { context.run_fast_haml }
|
bench('faml') { context.run_faml }
|
||||||
bench('slim') { context.run_slim_ugly }
|
bench('slim') { context.run_slim_ugly }
|
||||||
|
|
||||||
if ENV['ALL']
|
if ENV['ALL']
|
||||||
|
|
|
@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
|
||||||
spec.add_development_dependency "benchmark-ips"
|
spec.add_development_dependency "benchmark-ips"
|
||||||
spec.add_development_dependency "bundler"
|
spec.add_development_dependency "bundler"
|
||||||
spec.add_development_dependency "erubis"
|
spec.add_development_dependency "erubis"
|
||||||
spec.add_development_dependency "fast_haml"
|
spec.add_development_dependency "faml"
|
||||||
spec.add_development_dependency "haml"
|
spec.add_development_dependency "haml"
|
||||||
spec.add_development_dependency "pry"
|
spec.add_development_dependency "pry"
|
||||||
spec.add_development_dependency "rake"
|
spec.add_development_dependency "rake"
|
||||||
|
|
Loading…
Reference in a new issue