Last active
August 29, 2015 14:03
-
-
Save luke-gru/ad9c4c8631e0dc49f6e8 to your computer and use it in GitHub Desktop.
ruby 1.9.3 ERB rendering benchmark with change
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(1.9.3)luke@luke-K52F:~/Desktop/code/rails/actionview$ ruby -Itest test/template/benchmark/render_erb_test.rb | |
Run options: --seed 49022 | |
# Running: | |
Calculating ------------------------------------- | |
small erb template 761 i/100ms | |
------------------------------------------------- | |
small erb template 10220.5 (±21.5%) i/s - 48704 in 5.003189s | |
.Calculating ------------------------------------- | |
small erb template with 1 partial | |
436 i/100ms | |
------------------------------------------------- | |
small erb template with 1 partial | |
5142.9 (±26.7%) i/s - 23980 in 5.049827s | |
.Calculating ------------------------------------- | |
small erb template with 2 partials | |
321 i/100ms | |
------------------------------------------------- | |
small erb template with 2 partials | |
3544.0 (±23.5%) i/s - 17013 in 5.091010s | |
. | |
Finished in 21.383050s, 0.1403 runs/s, 0.1403 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