1
0
Fork 0
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:
Takashi Kokubun 2015-03-28 14:32:20 +09:00
parent 2b99ac523b
commit 6f6b9614ca
2 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@ require 'benchmark/ips'
require 'erb'
require 'erubis'
require 'fast_haml'
require 'faml'
require 'haml'
require 'slim'
require 'tenjin'
@ -43,14 +43,14 @@ class Benchmarks
def run_temple_erb; #{Temple::ERB::Engine.new.call @erb_code}; end
def run_fast_erubis; #{fast_erubis.src}; 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_hamlit; #{Hamlit::Engine.new.call @haml_code}; end
}
bench('hamlit') { context.run_hamlit }
bench('erubis') { context.run_erubis }
bench('fast_haml') { context.run_fast_haml }
bench('faml') { context.run_faml }
bench('slim') { context.run_slim_ugly }
if ENV['ALL']

View file

@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "benchmark-ips"
spec.add_development_dependency "bundler"
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 "pry"
spec.add_development_dependency "rake"