Skip to content
Myr

Added ruby haml :ugly option to make it render faster in benchmarks

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by visionmedia · committed by visionmedia · parent eb2c9ff · Browse files · 3 files+5 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+5 added−3 removed

  • other:+5 added−3 removed

3 files+5 added−3 removed

modified:benchmarks/thin/haml.ru+1 added-1 removed
6 unmodified lines
7 set 'views', File.dirname(__FILE__) + '/../shared'8end910get '/' do11 haml :page11 haml :page, :ugly => true12end1314run Sinatra::Application
modified:benchmarks/graph+1 added-1 removed
53 unmodified lines
54}5556mkdir -p benchmarks/graphs5758for type in simple static static.large; do58for type in simple static static.large haml; do59 plot=benchmarks/graphs/$type.p60 log generating benchmarks/graphs/$type.png61 line $type \62 node/$type.js.dat \
22 unmodified lines
modified:benchmarks/run+3 added-1 removed
50 unmodified lines
51bm node static.large.js52bm express simple.js53bm express static.js54bm express static.large.js55bm express haml.js56bm thin simple.ru57bm thin static.ru57bm thin static.large.ru58bm thin static.large.ru59bm thin haml.ru