I don't want to run all CIs locally
This commit is contained in:
parent
cc0f54b812
commit
0d3a41b562
|
@ -48,15 +48,18 @@ class Benchmarks
|
||||||
def run_hamlit; #{Hamlit::Engine.new.call @haml_code}; end
|
def run_hamlit; #{Hamlit::Engine.new.call @haml_code}; end
|
||||||
}
|
}
|
||||||
|
|
||||||
bench('erubis') { context.run_erubis }
|
bench('erubis') { context.run_erubis }
|
||||||
bench('slim') { context.run_slim_ugly }
|
bench('slim') { context.run_slim_ugly }
|
||||||
bench('fast_haml') { context.run_fast_haml }
|
bench('fast_haml') { context.run_fast_haml }
|
||||||
bench('tenjin') { context.run_tenjin }
|
bench('hamlit') { context.run_hamlit }
|
||||||
bench('fast erubis') { context.run_fast_erubis }
|
|
||||||
bench('temple erb') { context.run_temple_erb }
|
if ENV['ALL']
|
||||||
bench('erb') { context.run_erb }
|
bench('tenjin') { context.run_tenjin }
|
||||||
bench('hamlit') { context.run_hamlit }
|
bench('fast erubis') { context.run_fast_erubis }
|
||||||
bench('haml') { context.run_haml_ugly }
|
bench('temple erb') { context.run_temple_erb }
|
||||||
|
bench('erb') { context.run_erb }
|
||||||
|
bench('haml') { context.run_haml_ugly }
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def run
|
def run
|
||||||
|
|
|
@ -32,4 +32,4 @@ build:
|
||||||
|
|
||||||
- script:
|
- script:
|
||||||
name: run benchmarks
|
name: run benchmarks
|
||||||
code: bundle exec rake bench
|
code: ALL=true bundle exec rake bench
|
||||||
|
|
Loading…
Reference in New Issue