mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
I don't want to run all CIs locally
This commit is contained in:
parent
cc0f54b812
commit
0d3a41b562
2 changed files with 13 additions and 10 deletions
|
@ -48,15 +48,18 @@ class Benchmarks
|
|||
def run_hamlit; #{Hamlit::Engine.new.call @haml_code}; end
|
||||
}
|
||||
|
||||
bench('erubis') { context.run_erubis }
|
||||
bench('slim') { context.run_slim_ugly }
|
||||
bench('fast_haml') { context.run_fast_haml }
|
||||
bench('tenjin') { context.run_tenjin }
|
||||
bench('fast erubis') { context.run_fast_erubis }
|
||||
bench('temple erb') { context.run_temple_erb }
|
||||
bench('erb') { context.run_erb }
|
||||
bench('hamlit') { context.run_hamlit }
|
||||
bench('haml') { context.run_haml_ugly }
|
||||
bench('erubis') { context.run_erubis }
|
||||
bench('slim') { context.run_slim_ugly }
|
||||
bench('fast_haml') { context.run_fast_haml }
|
||||
bench('hamlit') { context.run_hamlit }
|
||||
|
||||
if ENV['ALL']
|
||||
bench('tenjin') { context.run_tenjin }
|
||||
bench('fast erubis') { context.run_fast_erubis }
|
||||
bench('temple erb') { context.run_temple_erb }
|
||||
bench('erb') { context.run_erb }
|
||||
bench('haml') { context.run_haml_ugly }
|
||||
end
|
||||
end
|
||||
|
||||
def run
|
||||
|
|
|
@ -32,4 +32,4 @@ build:
|
|||
|
||||
- script:
|
||||
name: run benchmarks
|
||||
code: bundle exec rake bench
|
||||
code: ALL=true bundle exec rake bench
|
||||
|
|
Loading…
Add table
Reference in a new issue