From e397532173af518ffef36cd63c5cce4c41e1cf2a Mon Sep 17 00:00:00 2001 From: gered Date: Sat, 15 Nov 2014 15:50:12 -0500 Subject: [PATCH] update clj-pebble version, rerun benchmarks & update data table --- README.md | 208 ++++++++++++++++++++++++++-------------------------- project.clj | 2 +- 2 files changed, 105 insertions(+), 105 deletions(-) diff --git a/README.md b/README.md index f5abe0a..4de57cd 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Template engines being compared are: * [Enlive](https://github.com/cgrand/enlive) * [Clabango](https://github.com/danlarkin/clabango) * [Selmer](https://github.com/yogthos/Selmer) -* clj-pebble _(soon-to-be-released Clojure wrapper library around [Pebble](https://github.com/mbosecke/pebble))_ +* [clj-pebble](https://github.com/gered/clj-pebble) ## Data @@ -18,109 +18,109 @@ Times shown are in microseconds (µs) in the format "mean time / standard deviat - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Template EngineSimple Data InjectionSmall List (50 items)Big List (1000 items)
Template EngineSimple Data InjectionSmall List (50 items)Big List (1000 items)
str0.0897 / 0.00098.4822 / 0.1109167.5538 / 1.5672
Tinsel0.1832 / 0.000712.0418 / 0.1884236.5161 / 1.3767
Stencil (string)19.0593 / 0.175771.6874 / 0.5020526.9889 / 7.2122
Stencil (file)0.6663 / 0.003323.4976 / 0.1265476.8262 / 2.1910
mustache.clj (file)0.3394 / 0.00398.1361 / 0.0839165.4727 / 1.2440
Hiccup0.1598 / 0.001012.1548 / 0.0950237.7211 / 1.0018
Hiccup (type-hinted)0.1731 / 0.001012.8421 / 0.1939247.7344 / 1.2166
Enlive13.3319 / 0.0650116.5084 / 0.94082141.3317 / 7.9543
Clabango (string)207.5223 / 3.6133844.5899 / 12.03839822.2863 / 40.4448
Clabango (file)263.1341 / 5.0118907.2633 / 14.91109996.2817 / 57.1756
Selmer (string)22.8039 / 0.0753107.4600 / 1.39401138.7408 / 10.4449
Selmer (file)10.7812 / 0.069465.6449 / 0.58911108.8427 / 8.1423
clj-pebble (string)4.9072 / 0.066826.7018 / 0.2296442.8252 / 1.9989
clj-pebble (file)4.8032 / 0.036826.8360 / 0.4538446.6798 / 2.2262
str0.0887 / 0.00108.5493 / 0.0921188.9816 / 24.2857
Tinsel0.1835 / 0.001012.1433 / 0.0712238.9615 / 2.3069
Stencil (string)18.2637 / 0.094471.9232 / 0.7373527.0062 / 2.6310
Stencil (file)0.6550 / 0.002123.4530 / 0.0961478.5369 / 3.1301
mustache.clj0.3373 / 0.00288.2423 / 0.1148167.3133 / 0.7366
Hiccup0.1632 / 0.001612.0269 / 0.1069236.0784 / 0.5189
Hiccup (type-hinted)0.1730 / 0.001312.9494 / 0.0837252.9637 / 2.9224
Enlive13.6911 / 0.1515116.9049 / 1.20552130.2041 / 8.6054
Clabango (string)210.0403 / 4.0629819.6462 / 9.19649434.1045 / 102.2924
Clabango (file)263.1698 / 2.6355891.2824 / 11.27469562.9530 / 110.1058
Selmer (string)22.7604 / 0.1545105.2653 / 0.67921129.9113 / 7.6378
Selmer (file)10.6799 / 0.102264.3357 / 0.19041075.8512 / 6.1394
clj-pebble (string)2.7430 / 0.015024.3148 / 0.1917436.8095 / 5.2781
clj-pebble (file)2.7475 / 0.023124.4161 / 0.1602440.0397 / 2.1993
diff --git a/project.clj b/project.clj index 364d467..f4580df 100644 --- a/project.clj +++ b/project.clj @@ -14,5 +14,5 @@ [tinsel "0.4.0" :exclusions [hickory]] [me.raynes/laser "2.0.0-SNAPSHOT"] [me.shenfeng/mustache "1.1"] - [clj-pebble "0.1.0"] + [clj-pebble "0.2.0"] [clojure-csv/clojure-csv "2.0.1"]])