mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Profile basic old attributes
This commit is contained in:
parent
dc7b52404a
commit
4f4fd9e962
3 changed files with 7 additions and 0 deletions
1
benchmark/old_attributes.haml
Normal file
1
benchmark/old_attributes.haml
Normal file
|
@ -0,0 +1 @@
|
|||
%a{ href: url } GitHub
|
3
benchmark/old_attributes.rb
Normal file
3
benchmark/old_attributes.rb
Normal file
|
@ -0,0 +1,3 @@
|
|||
def url
|
||||
'https://github.com'
|
||||
end
|
|
@ -2,6 +2,9 @@ box: ruby
|
|||
build:
|
||||
steps:
|
||||
- bundle-install
|
||||
- script:
|
||||
name: old_attributes.haml
|
||||
code: bin/bench benchmark/old_attributes.haml && bin/bench code benchmark/old_attributes.haml
|
||||
- script:
|
||||
name: attribute_builder.haml
|
||||
code: bin/bench benchmark/attribute_builder.haml && bin/bench code benchmark/attribute_builder.haml
|
||||
|
|
Loading…
Add table
Reference in a new issue