1
0
Fork 0
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:
Takashi Kokubun 2015-11-03 22:55:48 +09:00
parent 7ab540e2ab
commit 686ee1de69
3 changed files with 14 additions and 4 deletions

4
benchmark/plain.haml Normal file
View file

@ -0,0 +1,4 @@
aaa#{hello}bbb
%span aaa#{hello}bbb
%span
aaa#{hello}bbb

3
benchmark/plain.rb Normal file
View file

@ -0,0 +1,3 @@
def hello
'world'
end

View file

@ -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