[nop] Move benchmarks ns under tests dir
Prevents benchmark code from being unnecessarily included as dependency
This commit is contained in:
parent
fef079d81d
commit
bcf767332e
3 changed files with 8 additions and 9 deletions
|
|
@ -167,7 +167,7 @@
|
|||
- Decompression speed: `B` (400 msecs on reference benchmark).
|
||||
|
||||
Good general-purpose compressor, balances ratio & speed.
|
||||
See `taoensso.nippy.benchmarks` for detailed comparative benchmarks."
|
||||
See `taoensso.nippy-benchmarks` for detailed comparative benchmarks."
|
||||
(ZstdCompressor. false))
|
||||
|
||||
(def lz4-compressor
|
||||
|
|
@ -177,7 +177,7 @@
|
|||
- Decompression speed: `A+` (31 msecs on reference benchmark).
|
||||
|
||||
Good general-purpose compressor, favours speed.
|
||||
See `taoensso.nippy.benchmarks` for detailed comparative benchmarks."
|
||||
See `taoensso.nippy-benchmarks` for detailed comparative benchmarks."
|
||||
(LZ4Compressor.))
|
||||
|
||||
(def lzo-compressor
|
||||
|
|
@ -187,7 +187,7 @@
|
|||
- Decompression speed: `A` (43 msecs on reference benchmark).
|
||||
|
||||
Good general-purpose compressor, favours speed.
|
||||
See `taoensso.nippy.benchmarks` for detailed comparative benchmarks."
|
||||
See `taoensso.nippy-benchmarks` for detailed comparative benchmarks."
|
||||
(LZOCompressor.))
|
||||
|
||||
(def snappy-compressor
|
||||
|
|
@ -197,7 +197,7 @@
|
|||
- Decompression speed: `B` (134 msecs on reference benchmark).
|
||||
|
||||
Good general-purpose compressor, favours speed.
|
||||
See `taoensso.nippy.benchmarks` for detailed comparative benchmarks."
|
||||
See `taoensso.nippy-benchmarks` for detailed comparative benchmarks."
|
||||
(SnappyCompressor. false))
|
||||
|
||||
(def lzma2-compressor
|
||||
|
|
@ -207,7 +207,7 @@
|
|||
- Decompression speed: `D` (11.8 secs on reference benchmark).
|
||||
|
||||
Specialized compressor, strongly favours ratio.
|
||||
See `taoensso.nippy.benchmarks` for detailed comparative benchmarks."
|
||||
See `taoensso.nippy-benchmarks` for detailed comparative benchmarks."
|
||||
(LZMA2Compressor. 0))
|
||||
|
||||
(enc/def* ^:no-doc lz4hc-compressor
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
(ns taoensso.nippy.benchmarks
|
||||
"Nippy benchmarks."
|
||||
(ns taoensso.nippy-benchmarks
|
||||
(:require
|
||||
[clojure.data.fressian :as fress]
|
||||
[taoensso.encore :as enc]
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
[taoensso.nippy :as nippy :refer [freeze thaw]]
|
||||
[taoensso.nippy.compression :as compr]
|
||||
[taoensso.nippy.crypto :as crypto]
|
||||
[taoensso.nippy.benchmarks :as benchmarks]))
|
||||
[taoensso.nippy-benchmarks :as benchmarks]))
|
||||
|
||||
(comment
|
||||
(remove-ns 'taoensso.nippy-tests)
|
||||
|
|
|
|||
Loading…
Reference in a new issue