bench/large.html.rb in undies-2.2.1 vs bench/large.html.rb in undies-3.0.0.rc.1
- old
+ new
@@ -1,19 +1,15 @@
_html {
_head {}
_body {
- 100.times do
- 5.times do
- _ "Yo"
- end
- 5.times do
- __ "YoYo"
- end
- 5.times do
- _br
- end
- 5.times do
- _div { _ "Hi" }
+ 1000.times do |n|
+ _span "Yo", :id => "cool-#{n}!"
+ _p "Yo", :class => "awesome"
+
+ _br
+
+ _div :class => 'last' do
+ _span "Hi ", em('there'), '!!'
end
end
}
}