more representative tinsel results
This commit is contained in:
parent
6a58ce286a
commit
9be02249b0
|
@ -54,7 +54,7 @@ Units are in microseconds (us)
|
|||
</tr>
|
||||
<tr>
|
||||
<td>tinsel</td>
|
||||
<td>0.0052 us / 0.00017 us</td>
|
||||
<td>23.7 us / 5.5 us</td>
|
||||
<td>1,100 us / 52 us</td>
|
||||
<td>22,000 us / 770 us</td>
|
||||
</tr>
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
(stencil/render-file "clojure_template_benchmarks/templates/list.mustache" {:items (range 1 ceil)}))
|
||||
|
||||
|
||||
(deftemplate simple-tinsel [[:span {:class "foo"}]] [] (has-class? "foo") (set-content "bar"))
|
||||
(deftemplate simple-tinsel [[:span {:class "foo"}]] [] (has-class? "foo") (set-content bar))
|
||||
(deftemplate list-tinsel [[:ul]] [ceil] (tag= :ul) (set-content (for [x (range 1 ceil)] [:li x])))
|
||||
|
||||
(defn -main [& args]
|
||||
|
|
Reference in a new issue