diff --git a/README.md b/README.md index 724b498..2d2872e 100644 --- a/README.md +++ b/README.md @@ -2,45 +2,46 @@ I decided to do some decent Clojure templating benchmarks: -Template Engines tested: -str -hiccup -clabango (string literals) -clabango (from filesystem) - -Test cases: -simple data injection -small list (50 items) generation -big list (1000 items) generation +Test results are avg / standard deviation. +## Data - - + + + + + + + + + + + + + +
Template Engine Simple Data InjectionSmall ListBig ListSmall List (50 items)Big List (1000 items)
str165 ns / 16 ns14 us / 253 ns273 us / 14 us
hiccup20 us / 367 ns1.1 ms / 59 us24 ms / 2.9 ms
clabango (string)329 us / 5.7 us1.8 ms / 146 us20.6 us / 799 us
clabango (files)478 us / 42 us1.79 ms / 52 us19.9 ms / 573 us
-str -hiccup +## Conclusions -clabango string literals - -clabango from filesystem +str is really fast and a huge waste of programmer time. Copyright © 2013 bitemyapp