Skip to content

Instantly share code, notes, and snippets.

@defunkt
Created November 19, 2010 11:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save defunkt/706406 to your computer and use it in GitHub Desktop.
Save defunkt/706406 to your computer and use it in GitHub Desktop.
$ CACHED=1 ruby -rubygems -I lib benchmarks/speed.rb
Rehearsal ---------------------------------------------------
ERB w/ caching 0.190000 0.000000 0.190000 ( 0.200326)
HAML w/ caching 0.810000 0.010000 0.820000 ( 0.846492)
{{ w/ caching 0.840000 0.000000 0.840000 ( 0.842275)
------------------------------------------ total: 1.850000sec
user system total real
ERB w/ caching 0.190000 0.010000 0.200000 ( 0.194241)
HAML w/ caching 0.810000 0.010000 0.820000 ( 0.823237)
{{ w/ caching 0.830000 0.000000 0.830000 ( 0.835258)
$ CACHED=1 ruby -rubygems -I lib benchmarks/speed.rb
Rehearsal ---------------------------------------------------
ERB w/ caching 0.190000 0.000000 0.190000 ( 0.196860)
HAML w/ caching 0.800000 0.010000 0.810000 ( 0.809834)
{{ w/ caching 0.750000 0.000000 0.750000 ( 0.745285)
------------------------------------------ total: 1.750000sec
user system total real
ERB w/ caching 0.180000 0.000000 0.180000 ( 0.189648)
HAML w/ caching 0.800000 0.010000 0.810000 ( 0.808215)
{{ w/ caching 0.740000 0.000000 0.740000 ( 0.743880)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment