Skip to content

Instantly share code, notes, and snippets.

@tonsky
Created April 18, 2016 19:22
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 tonsky/0e90dde5b1cea02c2de0dbf1377bb41c to your computer and use it in GitHub Desktop.
Save tonsky/0e90dde5b1cea02c2de0dbf1377bb41c to your computer and use it in GitHub Desktop.
Rum 0.8.0 vs Hiccup 1.0.5
[~/Dropbox/ws/rum] lein perf
--- Testing page1.html (1 kB) ---
Evaluation count : 4656 in 6 samples of 776 calls.
Execution time mean : 127.518354 µs
Execution time std-deviation : 3.729988 µs
Execution time lower quantile : 124.490218 µs ( 2.5%)
Execution time upper quantile : 132.649851 µs (97.5%)
Overhead used : 2.051537 ns
+++ With Hiccup +++
Evaluation count : 2178 in 6 samples of 363 calls.
Execution time mean : 285.051210 µs
Execution time std-deviation : 12.279809 µs
Execution time lower quantile : 269.637069 µs ( 2.5%)
Execution time upper quantile : 298.575430 µs (97.5%)
Overhead used : 2.051537 ns
--- Testing page2.html (101 kB) ---
Evaluation count : 162 in 6 samples of 27 calls.
Execution time mean : 4.038819 ms
Execution time std-deviation : 137.317633 µs
Execution time lower quantile : 3.892776 ms ( 2.5%)
Execution time upper quantile : 4.228035 ms (97.5%)
Overhead used : 2.051537 ns
+++ With Hiccup +++
Evaluation count : 66 in 6 samples of 11 calls.
Execution time mean : 9.480710 ms
Execution time std-deviation : 398.662562 µs
Execution time lower quantile : 8.851453 ms ( 2.5%)
Execution time upper quantile : 9.852816 ms (97.5%)
Overhead used : 2.051537 ns
--- Testing page3.html (185 kB) ---
Evaluation count : 78 in 6 samples of 13 calls.
Execution time mean : 8.472267 ms
Execution time std-deviation : 403.020025 µs
Execution time lower quantile : 8.125075 ms ( 2.5%)
Execution time upper quantile : 9.095248 ms (97.5%)
Overhead used : 2.051537 ns
+++ With Hiccup +++
Evaluation count : 30 in 6 samples of 5 calls.
Execution time mean : 21.762898 ms
Execution time std-deviation : 1.319837 ms
Execution time lower quantile : 20.737798 ms ( 2.5%)
Execution time upper quantile : 23.817873 ms (97.5%)
Overhead used : 2.051537 ns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment