public
Last active

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
$ ruby -v
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]
 
$ ruby bench_erubis_slim_haml.rb
Rehearsal ---------------------------------------------------------------------------------------
empty loop 0.000000 0.000000 0.000000 ( 0.001055)
erubis 2.690000 0.000000 2.690000 ( 2.697228)
slim 4.200000 0.010000 4.210000 ( 4.196183)
haml 3.1.0.alpha.14 (Bleeding Edge) 19.660000 0.040000 19.700000 ( 19.681350)
haml (ugly) 3.1.0.alpha.14 (Bleeding Edge) 18.940000 0.070000 19.010000 ( 19.004186)
erubis (cache) 1.120000 0.000000 1.120000 ( 1.131773)
slim (cache) 0.790000 0.000000 0.790000 ( 0.797597)
haml 3.1.0.alpha.14 (Bleeding Edge) (cached) 1.820000 0.010000 1.830000 ( 1.815963)
haml (ugly) 3.1.0.alpha.14 (Bleeding Edge) (cached) 1.520000 0.000000 1.520000 ( 1.522003)
----------------------------------------------------------------------------- total: 50.870000sec
 
user system total real
empty loop 0.000000 0.000000 0.000000 ( 0.001039)
erubis 2.670000 0.010000 2.680000 ( 2.678288)
slim 4.230000 0.020000 4.250000 ( 4.266006)
haml 3.1.0.alpha.14 (Bleeding Edge) 19.600000 0.060000 19.660000 ( 19.628477)
haml (ugly) 3.1.0.alpha.14 (Bleeding Edge) 18.780000 0.050000 18.830000 ( 18.808883)
erubis (cache) 1.130000 0.010000 1.140000 ( 1.130065)
slim (cache) 0.800000 0.000000 0.800000 ( 0.808658)
haml 3.1.0.alpha.14 (Bleeding Edge) (cached) 1.810000 0.000000 1.810000 ( 1.813275)
haml (ugly) 3.1.0.alpha.14 (Bleeding Edge) (cached) 1.520000 0.010000 1.530000 ( 1.521288)

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.