diff --git a/benchmarks.png b/benchmarks.png index ffd8858..35f38ad 100644 Binary files a/benchmarks.png and b/benchmarks.png differ diff --git a/src/taoensso/nippy/benchmarks.clj b/src/taoensso/nippy/benchmarks.clj index 9dfafad..06d8b20 100644 --- a/src/taoensso/nippy/benchmarks.clj +++ b/src/taoensso/nippy/benchmarks.clj @@ -51,7 +51,7 @@ ;; {:default {:round 3632, :freeze 2349, :thaw 1283, :size 12369}} ;; {:encrypted {:round 6970, :freeze 4073, :thaw 2897, :size 12388}} ;; {:fast {:round 3294, :freeze 2109, :thaw 1185, :size 13277}} - ;; {:lzma2 {:round 145301, :freeze 123650, :thaw 21651, :size 9024}} + ;; {:lzma2 {:round 44590, :freeze 29567, :thaw 15023, :size 9076}} ;;; 11 Oct 2013: Nippy v2.2.0, with both ztellman mods ;; {:defaults {:round 4319, :freeze 2950, :thaw 1446, :data-size 12369}} diff --git a/src/taoensso/nippy/compression.clj b/src/taoensso/nippy/compression.clj index 457affb..0a88531 100644 --- a/src/taoensso/nippy/compression.clj +++ b/src/taoensso/nippy/compression.clj @@ -28,7 +28,7 @@ (->SnappyCompressor)) (deftype LZMA2Compressor [compression-level] - ;; Compression level ∈ℕ[0,9] (low->high) with 6 LZMA2 default (we use 4) + ;; Compression level ∈ℕ[0,9] (low->high) with 6 LZMA2 default (we use 0) ICompressor (compress [_ ba] (let [ba-len (alength ^bytes ba) @@ -55,8 +55,8 @@ "Alpha - subject to change. Default org.tukaani.xz.LZMA2 compressor: Ratio: high. - Write speed: very slow. - Read speed: medium. + Write speed: _very_ slow (also currently single-threaded). + Read speed: slow. - A specialized compressor for large, low-write, high-read data." - (->LZMA2Compressor 4)) + A specialized compressor for large, low-write data." + (->LZMA2Compressor 0))