Skip to content

Instantly share code, notes, and snippets.

@luke-gru
Last active August 29, 2015 14:03
Show Gist options
  • Save luke-gru/6197aee518ef6e5f66ac to your computer and use it in GitHub Desktop.
Save luke-gru/6197aee518ef6e5f66ac to your computer and use it in GitHub Desktop.
ruby 1.9.3 ERB rendering benchmark without change
Run options: --seed 49067
# Running:
Calculating -------------------------------------
small erb template 710 i/100ms
-------------------------------------------------
small erb template 8263.7 (±21.2%) i/s - 39760 in 5.027179s
.Calculating -------------------------------------
small erb template with 1 partial
434 i/100ms
-------------------------------------------------
small erb template with 1 partial
4805.9 (±18.9%) i/s - 23436 in 5.058631s
.Calculating -------------------------------------
small erb template with 2 partials
320 i/100ms
-------------------------------------------------
small erb template with 2 partials
3468.4 (±19.9%) i/s - 16640 in 5.000388s
.
Finished in 21.309508s, 0.1408 runs/s, 0.1408 assertions/s.
3 runs, 3 assertions, 0 failures, 0 errors, 0 skips
(1.9.3)luke@luke-K52F:~/Desktop/code/rails/actionview$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment