Bench :fast before :encrypted

This commit is contained in:
Peter Taoussanis 2014-01-21 14:37:21 +07:00
parent 42950ec24a
commit 42f45a0a06

View file

@ -29,10 +29,10 @@
(println {:default (bench1 #(freeze % {})
#(thaw % {}))})
(println {:encrypted (bench1 #(freeze % {:password [:cached "p"]})
#(thaw % {:password [:cached "p"]}))})
(println {:fast (bench1 #(freeze % {:compressor nil})
#(thaw % {:compressor nil}))})
(println {:encrypted (bench1 #(freeze % {:password [:cached "p"]})
#(thaw % {:password [:cached "p"]}))})
(when lzma2? ; Slow as molasses
(println {:lzma2 (bench1 #(freeze % {:compressor compression/lzma2-compressor})