-
-
Save fd0/e515de08ae728e916f22038b8765ca22 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== RUN TestCompress | |
=== RUN TestCompress/stdlib/flate/BestSpeed/json4M | |
=== RUN TestCompress/stdlib/flate/BestSpeed/json3K | |
=== RUN TestCompress/stdlib/flate/BestCompression/json4M | |
=== RUN TestCompress/stdlib/flate/BestCompression/json3K | |
=== RUN TestCompress/klauspost/flate/BestSpeed/json4M | |
=== RUN TestCompress/klauspost/flate/BestSpeed/json3K | |
=== RUN TestCompress/klauspost/flate/ConstantCompression/json4M | |
=== RUN TestCompress/klauspost/flate/ConstantCompression/json3K | |
=== RUN TestCompress/klauspost/snappy/json4M | |
=== RUN TestCompress/klauspost/snappy/json3K | |
=== RUN TestCompress/lz4/json4M | |
=== RUN TestCompress/lz4/json3K | |
=== RUN TestCompress/xz/json4M | |
=== RUN TestCompress/xz/json3K | |
--- PASS: TestCompress (1.09s) | |
compress_test.go:141: stdlib/flate/BestSpeed: compressed to 27%, 4498456 -> 1221967 byte | |
--- PASS: TestCompress/stdlib/flate/BestSpeed/json4M (0.05s) | |
compress_test.go:141: stdlib/flate/BestSpeed: compressed to 27%, 9598 -> 2566 byte | |
--- PASS: TestCompress/stdlib/flate/BestSpeed/json3K (0.00s) | |
compress_test.go:141: stdlib/flate/BestCompression: compressed to 24%, 4498456 -> 1057885 byte | |
--- PASS: TestCompress/stdlib/flate/BestCompression/json4M (0.24s) | |
compress_test.go:141: stdlib/flate/BestCompression: compressed to 24%, 9598 -> 2317 byte | |
--- PASS: TestCompress/stdlib/flate/BestCompression/json3K (0.00s) | |
compress_test.go:141: klauspost/flate/BestSpeed: compressed to 27%, 4498456 -> 1223004 byte | |
--- PASS: TestCompress/klauspost/flate/BestSpeed/json4M (0.04s) | |
compress_test.go:141: klauspost/flate/BestSpeed: compressed to 27%, 9598 -> 2566 byte | |
--- PASS: TestCompress/klauspost/flate/BestSpeed/json3K (0.00s) | |
compress_test.go:141: klauspost/flate/ConstantCompression: compressed to 59%, 4498456 -> 2663057 byte | |
--- PASS: TestCompress/klauspost/flate/ConstantCompression/json4M (0.02s) | |
compress_test.go:141: klauspost/flate/ConstantCompression: compressed to 60%, 9598 -> 5769 byte | |
--- PASS: TestCompress/klauspost/flate/ConstantCompression/json3K (0.00s) | |
compress_test.go:141: klauspost/snappy: compressed to 43%, 4498456 -> 1956308 byte | |
--- PASS: TestCompress/klauspost/snappy/json4M (0.01s) | |
compress_test.go:141: klauspost/snappy: compressed to 41%, 9598 -> 3907 byte | |
--- PASS: TestCompress/klauspost/snappy/json3K (0.00s) | |
compress_test.go:141: lz4: compressed to 50%, 4498456 -> 2226783 byte | |
--- PASS: TestCompress/lz4/json4M (0.03s) | |
compress_test.go:141: lz4: compressed to 49%, 9598 -> 4746 byte | |
--- PASS: TestCompress/lz4/json3K (0.00s) | |
compress_test.go:141: xz: compressed to 25%, 4498456 -> 1129268 byte | |
--- PASS: TestCompress/xz/json4M (0.70s) | |
compress_test.go:141: xz: compressed to 26%, 9598 -> 2500 byte | |
--- PASS: TestCompress/xz/json3K (0.01s) | |
BenchmarkCompress/stdlib/flate/BestSpeed/json4M-4 30 43963532 ns/op 102.32 MB/s 1239680 B/op 19 allocs/op | |
BenchmarkCompress/stdlib/flate/BestSpeed/json3K-4 5000 307974 ns/op 31.16 MB/s 1239682 B/op 19 allocs/op | |
BenchmarkCompress/stdlib/flate/BestCompression/json4M-4 5 247628323 ns/op 18.17 MB/s 846464 B/op 17 allocs/op | |
BenchmarkCompress/stdlib/flate/BestCompression/json3K-4 3000 801803 ns/op 11.97 MB/s 846464 B/op 17 allocs/op | |
BenchmarkCompress/klauspost/flate/BestSpeed/json4M-4 30 35987301 ns/op 125.00 MB/s 1034880 B/op 16 allocs/op | |
BenchmarkCompress/klauspost/flate/BestSpeed/json3K-4 5000 248617 ns/op 38.61 MB/s 1034880 B/op 16 allocs/op | |
BenchmarkCompress/klauspost/flate/ConstantCompression/json4M-4 100 17903484 ns/op 251.26 MB/s 1032576 B/op 15 allocs/op | |
BenchmarkCompress/klauspost/flate/ConstantCompression/json3K-4 5000 208128 ns/op 46.12 MB/s 1032576 B/op 15 allocs/op | |
BenchmarkCompress/klauspost/snappy/json4M-4 200 7321687 ns/op 614.40 MB/s 114793 B/op 3 allocs/op | |
BenchmarkCompress/klauspost/snappy/json3K-4 50000 25245 ns/op 380.18 MB/s 114784 B/op 3 allocs/op | |
BenchmarkCompress/lz4/json4M-4 50 23923847 ns/op 188.03 MB/s 21038073 B/op 12 allocs/op | |
BenchmarkCompress/lz4/json3K-4 1000 2535920 ns/op 3.78 MB/s 21038047 B/op 11 allocs/op | |
BenchmarkCompress/xz/json4M-4 2 697233010 ns/op 6.45 MB/s 57273784 B/op 436769 allocs/op | |
BenchmarkCompress/xz/json3K-4 300 6987650 ns/op 1.37 MB/s 50507088 B/op 3072 allocs/op | |
BenchmarkDecompress/stdlib/flate/BestSpeed/json4M-4 50 28931111 ns/op 155.49 MB/s 92452 B/op 432 allocs/op | |
BenchmarkDecompress/stdlib/flate/BestSpeed/json3K-4 20000 101790 ns/op 94.29 MB/s 40909 B/op 11 allocs/op | |
BenchmarkDecompress/stdlib/flate/BestCompression/json4M-4 50 23562846 ns/op 190.91 MB/s 75457 B/op 462 allocs/op | |
BenchmarkDecompress/stdlib/flate/BestCompression/json3K-4 20000 95287 ns/op 100.73 MB/s 41087 B/op 14 allocs/op | |
BenchmarkDecompress/klauspost/flate/BestSpeed/json4M-4 50 29152678 ns/op 154.31 MB/s 42800 B/op 33 allocs/op | |
BenchmarkDecompress/klauspost/flate/BestSpeed/json3K-4 20000 92146 ns/op 104.16 MB/s 40432 B/op 14 allocs/op | |
BenchmarkDecompress/klauspost/flate/ConstantCompression/json4M-4 20 57380080 ns/op 78.40 MB/s 40106 B/op 9 allocs/op | |
BenchmarkDecompress/klauspost/flate/ConstantCompression/json3K-4 10000 147957 ns/op 64.87 MB/s 40304 B/op 10 allocs/op | |
BenchmarkDecompress/klauspost/snappy/json4M-4 500 2933860 ns/op 1533.29 MB/s 147959 B/op 4 allocs/op | |
BenchmarkDecompress/klauspost/snappy/json3K-4 100000 18163 ns/op 528.42 MB/s 147981 B/op 4 allocs/op | |
BenchmarkDecompress/lz4/json4M-4 100 10590808 ns/op 424.75 MB/s 14822207 B/op 31 allocs/op | |
BenchmarkDecompress/lz4/json3K-4 2000 844059 ns/op 11.37 MB/s 8396166 B/op 25 allocs/op | |
BenchmarkDecompress/xz/json4M-4 10 167951352 ns/op 26.78 MB/s 14871143 B/op 435251 allocs/op | |
BenchmarkDecompress/xz/json3K-4 1000 2680450 ns/op 3.58 MB/s 8428711 B/op 2913 allocs/op | |
PASS | |
ok github.com/fd0/compresstest 55.934s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment