mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Add plain bench
This commit is contained in:
parent
7ab540e2ab
commit
686ee1de69
3 changed files with 14 additions and 4 deletions
4
benchmark/plain.haml
Normal file
4
benchmark/plain.haml
Normal file
|
@ -0,0 +1,4 @@
|
|||
aaa#{hello}bbb
|
||||
%span aaa#{hello}bbb
|
||||
%span
|
||||
aaa#{hello}bbb
|
3
benchmark/plain.rb
Normal file
3
benchmark/plain.rb
Normal file
|
@ -0,0 +1,3 @@
|
|||
def hello
|
||||
'world'
|
||||
end
|
11
wercker.yml
11
wercker.yml
|
@ -12,14 +12,17 @@ build:
|
|||
name: basic.haml
|
||||
code: bin/bench bench -c benchmark/basic.haml
|
||||
- script:
|
||||
name: tags.haml
|
||||
code: bin/bench bench -c benchmark/tags.haml
|
||||
name: old_attributes.haml
|
||||
code: bin/bench bench -c benchmark/old_attributes.haml
|
||||
- script:
|
||||
name: plain.haml
|
||||
code: bin/bench bench -c benchmark/plain.haml
|
||||
- script:
|
||||
name: real_sample.haml
|
||||
code: bin/bench bench -c benchmark/real_sample.haml
|
||||
- script:
|
||||
name: old_attributes.haml
|
||||
code: bin/bench bench -c benchmark/old_attributes.haml
|
||||
name: tags.haml
|
||||
code: bin/bench bench -c benchmark/tags.haml
|
||||
- script:
|
||||
name: minitest
|
||||
code: bundle exec rake test
|
||||
|
|
Loading…
Reference in a new issue