Skip to content

Instantly share code, notes, and snippets.

@luislavena
Created October 14, 2010 14:10
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luislavena/626215 to your computer and use it in GitHub Desktop.
Save luislavena/626215 to your computer and use it in GitHub Desktop.
$ 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment