labelcommon value
affinecpu-cpu0-cachesize38.5 MiB [perf]
affinecpu-cpu0-coreid0
affinecpu-cpu0-cores1
affinecpu-cpu0-family6
affinecpu-cpu0-flagsfpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,mmx,fxsr,sse,sse2,ss,ht,syscall,nx,pdpe1gb,rdtscp,lm,constant_tsc,rep_good,nopl,xtopology,nonstop_tsc,cpuid,tsc_known_freq,pni,pclmulqdq,ssse3,fma,cx16,pcid,sse4_1,sse4_2,x2apic,movbe,popcnt,aes,xsave,avx,f16c,rdrand,hypervisor,lahf_lm,abm,3dnowprefetch,invpcid_single,pti,ssbd,ibrs,ibpb,stibp,fsgsbase,tsc_adjust,bmi1,hle,avx2,smep,bmi2,erms,invpcid,rtm,mpx,avx512f,avx512dq,rdseed,adx,smap,clflushopt,clwb,avx512cd,avx512bw,avx512vl,xsaveopt,xsavec,xgetbv1,xsaves,arat,md_clear,arch_capabilities [perf]
affinecpu-cpu0-frequency2 GHz [perf]
affinecpu-cpu0-model85
affinecpu-cpu0-modelnameIntel(R) Xeon(R) CPU @ 2.00GHz [perf]
affinecpu-cpu0-physicalid0
affinecpu-cpu0-processor0
affinecpu-cpu0-stepping3
affinecpu-cpu0-vendoridGenuineIntel [perf]
bycontbench@appspot.gserviceaccount.com
cache-cpu0-index0-coherencylinesize64
cache-cpu0-index0-level1
cache-cpu0-index0-numberofsets64
cache-cpu0-index0-numsharing2
cache-cpu0-index0-physicallinepartition1
cache-cpu0-index0-sharedcpulist0-1
cache-cpu0-index0-size32 KiB
cache-cpu0-index0-typeData
cache-cpu0-index0-waysofassociativity8
cache-cpu0-index1-coherencylinesize64
cache-cpu0-index1-level1
cache-cpu0-index1-numberofsets64
cache-cpu0-index1-numsharing2
cache-cpu0-index1-physicallinepartition1
cache-cpu0-index1-sharedcpulist0-1
cache-cpu0-index1-size32 KiB
cache-cpu0-index1-typeInstruction
cache-cpu0-index1-waysofassociativity8
cache-cpu0-index2-coherencylinesize64
cache-cpu0-index2-level2
cache-cpu0-index2-numberofsets1024
cache-cpu0-index2-numsharing2
cache-cpu0-index2-physicallinepartition1
cache-cpu0-index2-sharedcpulist0-1
cache-cpu0-index2-size1 MiB
cache-cpu0-index2-typeUnified
cache-cpu0-index2-waysofassociativity16
cache-cpu0-index3-coherencylinesize64
cache-cpu0-index3-level3
cache-cpu0-index3-numberofsets57344
cache-cpu0-index3-numsharing2
cache-cpu0-index3-physicallinepartition1
cache-cpu0-index3-sharedcpulist0-1
cache-cpu0-index3-size38.5 MiB
cache-cpu0-index3-typeUnified
cache-cpu0-index3-waysofassociativity11
cache-cpu1-index0-coherencylinesize64
cache-cpu1-index0-level1
cache-cpu1-index0-numberofsets64
cache-cpu1-index0-numsharing2
cache-cpu1-index0-physicallinepartition1
cache-cpu1-index0-sharedcpulist0-1
cache-cpu1-index0-size32 KiB
cache-cpu1-index0-typeData
cache-cpu1-index0-waysofassociativity8
cache-cpu1-index1-coherencylinesize64
cache-cpu1-index1-level1
cache-cpu1-index1-numberofsets64
cache-cpu1-index1-numsharing2
cache-cpu1-index1-physicallinepartition1
cache-cpu1-index1-sharedcpulist0-1
cache-cpu1-index1-size32 KiB
cache-cpu1-index1-typeInstruction
cache-cpu1-index1-waysofassociativity8
cache-cpu1-index2-coherencylinesize64
cache-cpu1-index2-level2
cache-cpu1-index2-numberofsets1024
cache-cpu1-index2-numsharing2
cache-cpu1-index2-physicallinepartition1
cache-cpu1-index2-sharedcpulist0-1
cache-cpu1-index2-size1 MiB
cache-cpu1-index2-typeUnified
cache-cpu1-index2-waysofassociativity16
cache-cpu1-index3-coherencylinesize64
cache-cpu1-index3-level3
cache-cpu1-index3-numberofsets57344
cache-cpu1-index3-numsharing2
cache-cpu1-index3-physicallinepartition1
cache-cpu1-index3-sharedcpulist0-1
cache-cpu1-index3-size38.5 MiB
cache-cpu1-index3-typeUnified
cache-cpu1-index3-waysofassociativity11
cpu-cpu0-cachesize38.5 MiB
cpu-cpu0-coreid0
cpu-cpu0-cores1
cpu-cpu0-family6
cpu-cpu0-flagsfpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,mmx,fxsr,sse,sse2,ss,ht,syscall,nx,pdpe1gb,rdtscp,lm,constant_tsc,rep_good,nopl,xtopology,nonstop_tsc,cpuid,tsc_known_freq,pni,pclmulqdq,ssse3,fma,cx16,pcid,sse4_1,sse4_2,x2apic,movbe,popcnt,aes,xsave,avx,f16c,rdrand,hypervisor,lahf_lm,abm,3dnowprefetch,invpcid_single,pti,ssbd,ibrs,ibpb,stibp,fsgsbase,tsc_adjust,bmi1,hle,avx2,smep,bmi2,erms,invpcid,rtm,mpx,avx512f,avx512dq,rdseed,adx,smap,clflushopt,clwb,avx512cd,avx512bw,avx512vl,xsaveopt,xsavec,xgetbv1,xsaves,arat,md_clear,arch_capabilities
cpu-cpu0-frequency2 GHz
cpu-cpu0-model85
cpu-cpu0-modelnameIntel(R) Xeon(R) CPU @ 2.00GHz
cpu-cpu0-physicalid0
cpu-cpu0-processor0
cpu-cpu0-stepping3
cpu-cpu0-vendoridGenuineIntel
cpu-cpu1-cachesize38.5 MiB
cpu-cpu1-coreid0
cpu-cpu1-cores1
cpu-cpu1-family6
cpu-cpu1-flagsfpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,mmx,fxsr,sse,sse2,ss,ht,syscall,nx,pdpe1gb,rdtscp,lm,constant_tsc,rep_good,nopl,xtopology,nonstop_tsc,cpuid,tsc_known_freq,pni,pclmulqdq,ssse3,fma,cx16,pcid,sse4_1,sse4_2,x2apic,movbe,popcnt,aes,xsave,avx,f16c,rdrand,hypervisor,lahf_lm,abm,3dnowprefetch,invpcid_single,pti,ssbd,ibrs,ibpb,stibp,fsgsbase,tsc_adjust,bmi1,hle,avx2,smep,bmi2,erms,invpcid,rtm,mpx,avx512f,avx512dq,rdseed,adx,smap,clflushopt,clwb,avx512cd,avx512bw,avx512vl,xsaveopt,xsavec,xgetbv1,xsaves,arat,md_clear,arch_capabilities
cpu-cpu1-frequency2 GHz
cpu-cpu1-model85
cpu-cpu1-modelnameIntel(R) Xeon(R) CPU @ 2.00GHz
cpu-cpu1-physicalid0
cpu-cpu1-processor1
cpu-cpu1-stepping3
cpu-cpu1-vendoridGenuineIntel
cpufreq-availablefalse
gce-cpuplatformIntel Skylake
gce-machinetypen1-standard-2
gce-nameworker-rp77
gce-preemptibleTRUE
gce-zoneus-central1-a
goarchamd64
gooslinux
host-boottime2020-03-25T21:15:31Z
host-hostnameworker-rp77
host-kernelarchx86_64
host-kernelversion5.0.0-1033-gcp
host-numprocs112
host-oslinux [perf]
host-platformubuntu [perf]
host-platformfamilydebian
host-platformversion18.04 [perf]
host-uptime2m16s
host-virtroleguest [perf]
intelpstate-availablefalse
load-avg12.33
load-avg150.29
load-avg50.81
mem-available6.8 GiB
mem-free5.54 GiB
mem-total7.29 GiB
mem-used253.63 MiB
mem-usedpercent3.4%
meta-buildtime2020-03-21T00:34:20-07:00
meta-gitsha46399bd5716c12e77dc6caa777bf654f2f030fbe
meta-namecb
meta-version46399bd
procstat-nice-20
procstat-policySCHED_RR [perf]
procstat-priority-100 [perf]
procstat-rtpriority99
suite-benchmarks.
suite-benchtime10ms
suite-modgithub.com/klauspost/compress@b949da471e55fbe4393e6eb595602d936f5c312e
suite-modpathgithub.com/klauspost/compress
suite-modversionb949da471e55fbe4393e6eb595602d936f5c312e
suite-shorttrue
suite-tests.
suite-timeout0s
toolchain-buildertypelinux-amd64
toolchain-refe8be350d78f3fd21b0fab4cc6909c03fe21f1640
toolchain-revisione8be350d78f3fd21b0fab4cc6909c03fe21f1640
toolchain-typesnapshot
upload20200325.16
upload-file11e1795c-c64e-41d3-9f03-a6ccf886f96a.out
upload-part20200325.16/0
upload-time2020-03-25T21:18:28Z
label values
pkg
upload:20200325.16:
142 "github.com/klauspost/compress/huff0"
52 "github.com/klauspost/compress/flate"
40 "github.com/klauspost/compress"
40 "github.com/klauspost/compress/zstd/internal/xxhash"
85
time/op
pkg:github.com/klauspost/compress
Estimate/zeroes-5k12.3µs ± 0%
Estimate/predictable-5k13.2µs ± 0%
Estimate/random-500b1.66µs ± 0%
Estimate/random-5k12.4µs ± 0%
Estimate/random-50k118µs ± 0%
Estimate/random-500k1.31ms ± 0%
Estimate/base-32-5k14.2µs ± 0%
Estimate/text20.0µs ± 0%
SnannonEntropyBits/zeroes-5k11.8µs ± 0%
SnannonEntropyBits/predictable-5k15.2µs ± 0%
SnannonEntropyBits/random-500b7.91µs ± 0%
SnannonEntropyBits/random-5k13.0µs ± 0%
SnannonEntropyBits/random-50k47.4µs ± 0%
SnannonEntropyBits/random-500k426µs ± 0%
SnannonEntropyBits/base-32-5k5.15µs ± 0%
SnannonEntropyBits/text7.49µs ± 0%
CompressAllocations/level(-2)/flate58.3µs ± 0%
CompressAllocations/level(-2)/gzip58.7µs ± 0%
CompressAllocations/level(-1)/flate488µs ± 0%
CompressAllocations/level(-1)/gzip462µs ± 0%
CompressAllocations/level(0)/flate49.3µs ± 0%
CompressAllocations/level(0)/gzip49.1µs ± 0%
CompressAllocations/level(1)/flate313µs ± 0%
CompressAllocations/level(1)/gzip312µs ± 0%
CompressAllocations/level(2)/flate507µs ± 0%
CompressAllocations/level(2)/gzip530µs ± 0%
CompressAllocations/level(3)/flate439µs ± 0%
CompressAllocations/level(3)/gzip410µs ± 0%
CompressAllocations/level(4)/flate406µs ± 0%
CompressAllocations/level(4)/gzip405µs ± 0%
CompressAllocations/level(5)/flate450µs ± 0%
CompressAllocations/level(5)/gzip451µs ± 0%
CompressAllocations/level(6)/flate444µs ± 0%
CompressAllocations/level(6)/gzip450µs ± 0%
CompressAllocations/level(7)/flate131µs ± 0%
CompressAllocations/level(7)/gzip130µs ± 0%
CompressAllocations/level(8)/flate129µs ± 0%
CompressAllocations/level(8)/gzip132µs ± 0%
CompressAllocations/level(9)/flate138µs ± 0%
CompressAllocations/level(9)/gzip133µs ± 0%
pkg:github.com/klauspost/compress/flate
DecodeDigitsSpeed1e4143µs ± 0%
DecodeDigitsSpeed1e51.39ms ± 0%
DecodeDigitsSpeed1e613.8ms ± 0%
DecodeDigitsDefault1e4145µs ± 0%
DecodeDigitsDefault1e51.32ms ± 0%
DecodeDigitsDefault1e613.2ms ± 0%
DecodeDigitsCompress1e4145µs ± 0%
DecodeDigitsCompress1e51.57ms ± 0%
DecodeDigitsCompress1e616.0ms ± 0%
DecodeTwainSpeed1e4149µs ± 0%
DecodeTwainSpeed1e51.40ms ± 0%
DecodeTwainSpeed1e613.8ms ± 0%
DecodeTwainDefault1e4148µs ± 0%
DecodeTwainDefault1e51.30ms ± 0%
DecodeTwainDefault1e612.6ms ± 0%
DecodeTwainCompress1e4148µs ± 0%
DecodeTwainCompress1e51.24ms ± 0%
DecodeTwainCompress1e612.3ms ± 0%
DecodeRandomSpeed1e4445ns ± 0%
DecodeRandomSpeed1e53.46µs ± 0%
DecodeRandomSpeed1e638.6µs ± 0%
_tokens_EstimatedBits1.09µs ± 0%
EncodeDigitsConstant1e447.5µs ± 0%
EncodeDigitsConstant1e5494µs ± 0%
EncodeDigitsConstant1e64.37ms ± 0%
EncodeDigitsSpeed1e4119µs ± 0%
EncodeDigitsSpeed1e51.46ms ± 0%
EncodeDigitsSpeed1e613.6ms ± 0%
EncodeDigitsDefault1e4236µs ± 0%
EncodeDigitsDefault1e52.58ms ± 0%
EncodeDigitsDefault1e626.7ms ± 0%
EncodeDigitsCompress1e4325µs ± 0%
EncodeDigitsCompress1e55.40ms ± 0%
EncodeDigitsCompress1e657.3ms ± 0%
EncodeDigitsSL1e4119µs ± 0%
EncodeDigitsSL1e51.59ms ± 0%
EncodeDigitsSL1e615.4ms ± 0%
EncodeTwainConstant1e459.8µs ± 0%
EncodeTwainConstant1e5554µs ± 0%
EncodeTwainConstant1e64.69ms ± 0%
EncodeTwainSpeed1e4161µs ± 0%
EncodeTwainSpeed1e51.53ms ± 0%
EncodeTwainSpeed1e614.6ms ± 0%
EncodeTwainDefault1e4258µs ± 0%
EncodeTwainDefault1e52.33ms ± 0%
EncodeTwainDefault1e622.6ms ± 0%
EncodeTwainCompress1e4416µs ± 0%
EncodeTwainCompress1e57.47ms ± 0%
EncodeTwainCompress1e683.3ms ± 0%
EncodeTwainSL1e4167µs ± 0%
EncodeTwainSL1e51.50ms ± 0%
EncodeTwainSL1e614.1ms ± 0%
pkg:github.com/klauspost/compress/fse
Compress/gettysburg10.7µs ± 0%
Compress/digits534µs ± 0%
Compress/twain2.36ms ± 0%
Compress/low-ent217µs ± 0%
Compress/superlow-ent67.6µs ± 0%
Compress/endzerobits619ns ± 0%
Compress/pngdata.001354µs ± 0%
Compress/normcount23.04µs ± 0%
Decompress/gettysburg7.55µs ± 0%
Decompress/digits355µs ± 0%
Decompress/twain1.76ms ± 0%
Decompress/low-ent146µs ± 0%
Decompress/superlow-ent39.2µs ± 0%
Decompress/endzerobits276ns ± 0%
Decompress/pngdata.001190µs ± 0%
Decompress/normcount21.85µs ± 0%
pkg:github.com/klauspost/compress/gzip
GunzipCopy37.9ms ± 0%
GunzipNoWriteTo38.6ms ± 0%
GunzipStdlib38.1ms ± 0%
GzipLM339.7ms ± 0%
GzipLM222.9ms ± 0%
GzipL139.2ms ± 0%
GzipL241.6ms ± 0%
GzipL344.5ms ± 0%
GzipL450.0ms ± 0%
GzipL561.0ms ± 0%
GzipL664.2ms ± 0%
GzipL791.6ms ± 0%
GzipL8119ms ± 0%
GzipL9408ms ± 0%
OldGzipL153.5ms ± 0%
OldGzipL267.6ms ± 0%
OldGzipL374.8ms ± 0%
OldGzipL493.8ms ± 0%
OldGzipL5135ms ± 0%
OldGzipL6147ms ± 0%
OldGzipL7192ms ± 0%
OldGzipL8388ms ± 0%
OldGzipL9431ms ± 0%
pkg:github.com/klauspost/compress/huff0
Deflate/digits509µs ± 0%
Deflate/gettysburg16.8µs ± 0%
Deflate/twain1.37ms ± 0%
Deflate/low-ent.10k170µs ± 0%
Deflate/superlow-ent-10k58.5µs ± 0%
Deflate/crash2921ns ± 0%
Deflate/endzerobits866ns ± 0%
Deflate/endnonzero875ns ± 0%
Deflate/case1953ns ± 0%
Deflate/case2969ns ± 0%
Deflate/case3948ns ± 0%
Deflate/pngdata.001345µs ± 0%
Deflate/normcount21.01µs ± 0%
Compress1XReuseNone/digits282µs ± 0%
Compress1XReuseNone/gettysburg7.77µs ± 0%
Compress1XReuseNone/twain988µs ± 0%
Compress1XReuseNone/low-ent.10k110µs ± 0%
Compress1XReuseNone/superlow-ent-10k37.3µs ± 0%
Compress1XReuseNone/crash21.73µs ± 0%
Compress1XReuseNone/endzerobits497ns ± 0%
Compress1XReuseNone/endnonzero1.31µs ± 0%
Compress1XReuseNone/case14.88µs ± 0%
Compress1XReuseNone/case24.80µs ± 0%
Compress1XReuseNone/case34.80µs ± 0%
Compress1XReuseNone/pngdata.001244µs ± 0%
Compress1XReuseNone/normcount23.23µs ± 0%
Compress1XReuseAllow/digits281µs ± 0%
Compress1XReuseAllow/gettysburg6.92µs ± 0%
Compress1XReuseAllow/twain962µs ± 0%
Compress1XReuseAllow/low-ent.10k109µs ± 0%
Compress1XReuseAllow/superlow-ent-10k36.7µs ± 0%
Compress1XReuseAllow/crash21.25µs ± 0%
Compress1XReuseAllow/endzerobits581ns ± 0%
Compress1XReuseAllow/endnonzero917ns ± 0%
Compress1XReuseAllow/case13.69µs ± 0%
Compress1XReuseAllow/case23.61µs ± 0%
Compress1XReuseAllow/case33.74µs ± 0%
Compress1XReuseAllow/pngdata.001247µs ± 0%
Compress1XReuseAllow/normcount22.37µs ± 0%
Compress1XReusePrefer/digits283µs ± 0%
Compress1XReusePrefer/gettysburg4.94µs ± 0%
Compress1XReusePrefer/twain960µs ± 0%
Compress1XReusePrefer/low-ent.10k107µs ± 0%
Compress1XReusePrefer/superlow-ent-10k36.1µs ± 0%
Compress1XReusePrefer/crash2516ns ± 0%
Compress1XReusePrefer/endzerobits467ns ± 0%
Compress1XReusePrefer/endnonzero474ns ± 0%
Compress1XReusePrefer/case1640ns ± 0%
Compress1XReusePrefer/case2610ns ± 0%
Compress1XReusePrefer/case3592ns ± 0%
Compress1XReusePrefer/pngdata.001231µs ± 0%
Compress1XReusePrefer/normcount2717ns ± 0%
Compress4XReuseNone/digits285µs ± 0%
Compress4XReuseNone/gettysburg8.09µs ± 0%
Compress4XReuseNone/twain1.01ms ± 0%
Compress4XReuseNone/low-ent.10k112µs ± 0%
Compress4XReuseNone/superlow-ent-10k40.6µs ± 0%
Compress4XReuseNone/case15.32µs ± 0%
Compress4XReuseNone/case25.31µs ± 0%
Compress4XReuseNone/case35.36µs ± 0%
Compress4XReuseNone/pngdata.001253µs ± 0%
Compress4XReuseNone/normcount23.49µs ± 0%
Compress4XReuseAllow/digits307µs ± 0%
Compress4XReuseAllow/gettysburg7.43µs ± 0%
Compress4XReuseAllow/twain1.09ms ± 0%
Compress4XReuseAllow/low-ent.10k116µs ± 0%
Compress4XReuseAllow/superlow-ent-10k38.3µs ± 0%
Compress4XReuseAllow/case14.13µs ± 0%
Compress4XReuseAllow/case23.89µs ± 0%
Compress4XReuseAllow/case33.87µs ± 0%
Compress4XReuseAllow/pngdata.001257µs ± 0%
Compress4XReuseAllow/normcount22.49µs ± 0%
Compress4XReusePrefer/digits283µs ± 0%
Compress4XReusePrefer/gettysburg4.93µs ± 0%
Compress4XReusePrefer/twain1.10ms ± 0%
Compress4XReusePrefer/low-ent.10k115µs ± 0%
Compress4XReusePrefer/superlow-ent-10k37.8µs ± 0%
Compress4XReusePrefer/case1734ns ± 0%
Compress4XReusePrefer/case2711ns ± 0%
Compress4XReusePrefer/case3725ns ± 0%
Compress4XReusePrefer/pngdata.001238µs ± 0%
Compress4XReusePrefer/normcount2827ns ± 0%
Compress1XSizes/digits-1002.13µs ± 0%
Compress1XSizes/digits-2002.39µs ± 0%
Compress1XSizes/digits-5004.11µs ± 0%
Compress1XSizes/digits-10004.58µs ± 0%
Compress1XSizes/digits-500015.3µs ± 0%
Compress1XSizes/digits-1000027.9µs ± 0%
Compress1XSizes/digits-50000142µs ± 0%
Compress4XSizes/digits-1002.28µs ± 0%
Compress4XSizes/digits-2002.64µs ± 0%
Compress4XSizes/digits-5003.39µs ± 0%
Compress4XSizes/digits-10004.69µs ± 0%
Compress4XSizes/digits-500015.1µs ± 0%
Compress4XSizes/digits-1000028.7µs ± 0%
Compress4XSizes/digits-50000147µs ± 0%
Decompress1XTable/digits595µs ± 0%
Decompress1XTable/gettysburg10.1µs ± 0%
Decompress1XTable/twain1.62ms ± 0%
Decompress1XTable/low-ent.10k199µs ± 0%
Decompress1XTable/superlow-ent-10k54.2µs ± 0%
Decompress1XTable/crash21.01µs ± 0%
Decompress1XTable/endzerobits95.7ns ± 0%
Decompress1XTable/endnonzero665ns ± 0%
Decompress1XTable/case12.86µs ± 0%
Decompress1XTable/case22.84µs ± 0%
Decompress1XTable/case32.98µs ± 0%
Decompress1XTable/pngdata.001275µs ± 0%
Decompress1XTable/normcount22.12µs ± 0%
Decompress1XNoTable/digits570µs ± 0%
Decompress1XNoTable/gettysburg8.11µs ± 0%
Decompress1XNoTable/twain1.62ms ± 0%
Decompress1XNoTable/low-ent.10k203µs ± 0%
Decompress1XNoTable/superlow-ent-10k53.1µs ± 0%
Decompress1XNoTable/crash2119ns ± 0%
Decompress1XNoTable/endzerobits54.1ns ± 0%
Decompress1XNoTable/endnonzero65.7ns ± 0%
Decompress1XNoTable/case1330ns ± 0%
Decompress1XNoTable/case2281ns ± 0%
Decompress1XNoTable/case3299ns ± 0%
Decompress1XNoTable/pngdata.001266µs ± 0%
Decompress1XNoTable/normcount2486ns ± 0%
Decompress4XNoTable/digits440µs ± 0%
Decompress4XNoTable/gettysburg5.55µs ± 0%
Decompress4XNoTable/twain1.38ms ± 0%
Decompress4XNoTable/low-ent.10k123µs ± 0%
Decompress4XNoTable/superlow-ent-10k32.8µs ± 0%
Decompress4XNoTable/case1511ns ± 0%
Decompress4XNoTable/case2414ns ± 0%
Decompress4XNoTable/case3430ns ± 0%
Decompress4XNoTable/pngdata.001173µs ± 0%
Decompress4XNoTable/normcount2771ns ± 0%
Decompress4XTable/digits448µs ± 0%
Decompress4XTable/gettysburg7.93µs ± 0%
Decompress4XTable/twain1.40ms ± 0%
Decompress4XTable/low-ent.10k131µs ± 0%
Decompress4XTable/superlow-ent-10k34.6µs ± 0%
Decompress4XTable/case13.10µs ± 0%
Decompress4XTable/case23.09µs ± 0%
Decompress4XTable/case33.05µs ± 0%
Decompress4XTable/pngdata.001193µs ± 0%
Decompress4XTable/normcount22.30µs ± 0%
pkg:github.com/klauspost/compress/s2
RandomEncode91.2µs ± 0%
RandomEncodeBetter119µs ± 0%
pkg:github.com/klauspost/compress/snappy
RandomEncode113µs ± 0%
ExtendMatch9.20µs ± 0%
pkg:github.com/klauspost/compress/zip
CompressedZipGarbage2.10ms ± 0%
Zip64Test15.2ms ± 0%
Zip64TestSizes/409619.6µs ± 0%
Zip64TestSizes/1048576258µs ± 0%
Zip64TestSizes/6710886415.5ms ± 0%
pkg:github.com/klauspost/compress/zstd
Decoder_DecoderSmall/kppkn.gtb.zst20.1ms ± 0%
Decoder_DecoderSmall/geo.protodata.zst4.35ms ± 0%
Decoder_DecoderSmall/plrabn12.txt.zst31.0ms ± 0%
Decoder_DecoderSmall/lcet10.txt.zst23.2ms ± 0%
Decoder_DecoderSmall/asyoulik.txt.zst15.1ms ± 0%
Decoder_DecoderSmall/alice29.txt.zst20.6ms ± 0%
Decoder_DecoderSmall/html_x_4.zst6.81ms ± 0%
Decoder_DecoderSmall/paper-100k.pdf.zst905µs ± 0%
Decoder_DecoderSmall/fireworks.jpeg.zst904µs ± 0%
Decoder_DecoderSmall/urls.10K.zst28.1ms ± 0%
Decoder_DecoderSmall/html.zst3.40ms ± 0%
Decoder_DecoderSmall/comp-data.bin.zst354µs ± 0%
Decoder_DecodeAll/kppkn.gtb.zst1.17ms ± 0%
Decoder_DecodeAll/geo.protodata.zst267µs ± 0%
Decoder_DecodeAll/plrabn12.txt.zst3.95ms ± 0%
Decoder_DecodeAll/lcet10.txt.zst2.77ms ± 0%
Decoder_DecodeAll/asyoulik.txt.zst977µs ± 0%
Decoder_DecodeAll/alice29.txt.zst1.31ms ± 0%
Decoder_DecodeAll/html_x_4.zst584µs ± 0%
Decoder_DecodeAll/paper-100k.pdf.zst42.4µs ± 0%
Decoder_DecodeAll/fireworks.jpeg.zst16.5µs ± 0%
Decoder_DecodeAll/urls.10K.zst3.26ms ± 0%
Decoder_DecodeAll/html.zst295µs ± 0%
Decoder_DecodeAll/comp-data.bin.zst20.2µs ± 0%
Encoder_EncodeAllXML43.2ms ± 0%
Encoder_EncodeAllSimple/fastest655µs ± 0%
Encoder_EncodeAllSimple/default780µs ± 0%
Encoder_EncodeAllSimple4K/fastest47.9µs ± 0%
Encoder_EncodeAllSimple4K/default72.0µs ± 0%
Encoder_EncodeAllHTML546µs ± 0%
Encoder_EncodeAllTwain7.88ms ± 0%
Encoder_EncodeAllPi2.73ms ± 0%
RandomEncodeAllFastest9.72ms ± 0%
RandomEncodeAllDefault11.0ms ± 0%
RandomEncoderFastest7.61ms ± 0%
RandomEncoderDefault9.30ms ± 0%
Snappy_ConvertXML21.8ms ± 0%
pkg:github.com/klauspost/compress/zstd/internal/xxhash
Hashes/xxhash,direct,bytes,n=5B7.35ns ± 0%
Hashes/xxhash,direct,string,n=5B25.8ns ± 0%
Hashes/xxhash,digest,bytes,n=5B29.3ns ± 0%
Hashes/xxhash,digest,string,n=5B36.2ns ± 0%
Hashes/xxhash,direct,bytes,n=100B22.2ns ± 0%
Hashes/xxhash,direct,string,n=100B81.5ns ± 0%
Hashes/xxhash,digest,bytes,n=100B41.0ns ± 0%
Hashes/xxhash,digest,string,n=100B96.8ns ± 0%
Hashes/xxhash,direct,bytes,n=4KB398ns ± 0%
Hashes/xxhash,direct,string,n=4KB1.00µs ± 0%
Hashes/xxhash,digest,bytes,n=4KB429ns ± 0%
Hashes/xxhash,digest,string,n=4KB1.06µs ± 0%
Hashes/xxhash,direct,bytes,n=10MB1.14ms ± 0%
Hashes/xxhash,direct,string,n=10MB5.75ms ± 0%
Hashes/xxhash,digest,bytes,n=10MB1.34ms ± 0%
Hashes/xxhash,digest,string,n=10MB4.48ms ± 0%
Hashes/CRC-32,direct,bytes,n=5B24.2ns ± 0%
Hashes/CRC-32,direct,string,n=5B54.6ns ± 0%
Hashes/CRC-32,digest,bytes,n=5B64.5ns ± 0%
Hashes/CRC-32,digest,string,n=5B95.3ns ± 0%
Hashes/CRC-32,direct,bytes,n=100B47.2ns ± 0%
Hashes/CRC-32,direct,string,n=100B113ns ± 0%
Hashes/CRC-32,digest,bytes,n=100B98.4ns ± 0%
Hashes/CRC-32,digest,string,n=100B178ns ± 0%
Hashes/CRC-32,direct,bytes,n=4KB288ns ± 0%
Hashes/CRC-32,direct,string,n=4KB941ns ± 0%
Hashes/CRC-32,digest,bytes,n=4KB343ns ± 0%
Hashes/CRC-32,digest,string,n=4KB1.04µs ± 0%
Hashes/CRC-32,direct,bytes,n=10MB926µs ± 0%
Hashes/CRC-32,direct,string,n=10MB4.32ms ± 0%
Hashes/CRC-32,digest,bytes,n=10MB944µs ± 0%
Hashes/CRC-32,digest,string,n=10MB4.33ms ± 0%
Hashes/FNV-1a,digest,bytes,n=5B28.5ns ± 0%
Hashes/FNV-1a,digest,string,n=5B60.3ns ± 0%
Hashes/FNV-1a,digest,bytes,n=100B181ns ± 0%
Hashes/FNV-1a,digest,string,n=100B240ns ± 0%
Hashes/FNV-1a,digest,bytes,n=4KB6.08µs ± 0%
Hashes/FNV-1a,digest,string,n=4KB7.04µs ± 0%
Hashes/FNV-1a,digest,bytes,n=10MB15.3ms ± 0%
Hashes/FNV-1a,digest,string,n=10MB18.7ms ± 0%
[Geo mean]79.3µs
 
speed
pkg:github.com/klauspost/compress
Estimate/zeroes-5k407MB/s ± 0%
Estimate/predictable-5k378MB/s ± 0%
Estimate/random-500b301MB/s ± 0%
Estimate/random-5k404MB/s ± 0%
Estimate/random-50k424MB/s ± 0%
Estimate/random-500k382MB/s ± 0%
Estimate/base-32-5k352MB/s ± 0%
Estimate/text358MB/s ± 0%
SnannonEntropyBits/zeroes-5k423MB/s ± 0%
SnannonEntropyBits/predictable-5k330MB/s ± 0%
SnannonEntropyBits/random-500b63.2MB/s ± 0%
SnannonEntropyBits/random-5k385MB/s ± 0%
SnannonEntropyBits/random-50k1.05GB/s ± 0%
SnannonEntropyBits/random-500k1.17GB/s ± 0%
SnannonEntropyBits/base-32-5k971MB/s ± 0%
SnannonEntropyBits/text959MB/s ± 0%
CompressAllocations/level(-2)/flate
CompressAllocations/level(-2)/gzip
CompressAllocations/level(-1)/flate
CompressAllocations/level(-1)/gzip
CompressAllocations/level(0)/flate
CompressAllocations/level(0)/gzip
CompressAllocations/level(1)/flate
CompressAllocations/level(1)/gzip
CompressAllocations/level(2)/flate
CompressAllocations/level(2)/gzip
CompressAllocations/level(3)/flate
CompressAllocations/level(3)/gzip
CompressAllocations/level(4)/flate
CompressAllocations/level(4)/gzip
CompressAllocations/level(5)/flate
CompressAllocations/level(5)/gzip
CompressAllocations/level(6)/flate
CompressAllocations/level(6)/gzip
CompressAllocations/level(7)/flate
CompressAllocations/level(7)/gzip
CompressAllocations/level(8)/flate
CompressAllocations/level(8)/gzip
CompressAllocations/level(9)/flate
CompressAllocations/level(9)/gzip
pkg:github.com/klauspost/compress/flate
DecodeDigitsSpeed1e469.8MB/s ± 0%
DecodeDigitsSpeed1e571.8MB/s ± 0%
DecodeDigitsSpeed1e672.2MB/s ± 0%
DecodeDigitsDefault1e468.7MB/s ± 0%
DecodeDigitsDefault1e575.6MB/s ± 0%
DecodeDigitsDefault1e676.0MB/s ± 0%
DecodeDigitsCompress1e468.9MB/s ± 0%
DecodeDigitsCompress1e563.6MB/s ± 0%
DecodeDigitsCompress1e662.4MB/s ± 0%
DecodeTwainSpeed1e466.9MB/s ± 0%
DecodeTwainSpeed1e571.6MB/s ± 0%
DecodeTwainSpeed1e672.5MB/s ± 0%
DecodeTwainDefault1e467.7MB/s ± 0%
DecodeTwainDefault1e576.7MB/s ± 0%
DecodeTwainDefault1e679.2MB/s ± 0%
DecodeTwainCompress1e467.8MB/s ± 0%
DecodeTwainCompress1e580.7MB/s ± 0%
DecodeTwainCompress1e681.5MB/s ± 0%
DecodeRandomSpeed1e422.5GB/s ± 0%
DecodeRandomSpeed1e528.9GB/s ± 0%
DecodeRandomSpeed1e625.9GB/s ± 0%
_tokens_EstimatedBits920kB/s ± 0%
EncodeDigitsConstant1e4211MB/s ± 0%
EncodeDigitsConstant1e5202MB/s ± 0%
EncodeDigitsConstant1e6229MB/s ± 0%
EncodeDigitsSpeed1e484.4MB/s ± 0%
EncodeDigitsSpeed1e568.7MB/s ± 0%
EncodeDigitsSpeed1e673.3MB/s ± 0%
EncodeDigitsDefault1e442.3MB/s ± 0%
EncodeDigitsDefault1e538.8MB/s ± 0%
EncodeDigitsDefault1e637.5MB/s ± 0%
EncodeDigitsCompress1e430.7MB/s ± 0%
EncodeDigitsCompress1e518.5MB/s ± 0%
EncodeDigitsCompress1e617.4MB/s ± 0%
EncodeDigitsSL1e484.0MB/s ± 0%
EncodeDigitsSL1e563.0MB/s ± 0%
EncodeDigitsSL1e664.7MB/s ± 0%
EncodeTwainConstant1e4167MB/s ± 0%
EncodeTwainConstant1e5180MB/s ± 0%
EncodeTwainConstant1e6213MB/s ± 0%
EncodeTwainSpeed1e461.9MB/s ± 0%
EncodeTwainSpeed1e565.3MB/s ± 0%
EncodeTwainSpeed1e668.4MB/s ± 0%
EncodeTwainDefault1e438.8MB/s ± 0%
EncodeTwainDefault1e542.9MB/s ± 0%
EncodeTwainDefault1e644.2MB/s ± 0%
EncodeTwainCompress1e424.0MB/s ± 0%
EncodeTwainCompress1e513.4MB/s ± 0%
EncodeTwainCompress1e612.0MB/s ± 0%
EncodeTwainSL1e460.0MB/s ± 0%
EncodeTwainSL1e566.8MB/s ± 0%
EncodeTwainSL1e670.9MB/s ± 0%
pkg:github.com/klauspost/compress/fse
Compress/gettysburg144MB/s ± 0%
Compress/digits187MB/s ± 0%
Compress/twain164MB/s ± 0%
Compress/low-ent184MB/s ± 0%
Compress/superlow-ent155MB/s ± 0%
Compress/endzerobits8.08MB/s ± 0%
Compress/pngdata.001145MB/s ± 0%
Compress/normcount228.6MB/s ± 0%
Decompress/gettysburg205MB/s ± 0%
Decompress/digits282MB/s ± 0%
Decompress/twain220MB/s ± 0%
Decompress/low-ent275MB/s ± 0%
Decompress/superlow-ent268MB/s ± 0%
Decompress/endzerobits18.1MB/s ± 0%
Decompress/pngdata.001270MB/s ± 0%
Decompress/normcount246.9MB/s ± 0%
pkg:github.com/klauspost/compress/gzip
GunzipCopy126MB/s ± 0%
GunzipNoWriteTo124MB/s ± 0%
GunzipStdlib125MB/s ± 0%
GzipLM3120MB/s ± 0%
GzipLM2209MB/s ± 0%
GzipL1122MB/s ± 0%
GzipL2115MB/s ± 0%
GzipL3107MB/s ± 0%
GzipL495.5MB/s ± 0%
GzipL578.2MB/s ± 0%
GzipL674.4MB/s ± 0%
GzipL752.1MB/s ± 0%
GzipL840.3MB/s ± 0%
GzipL911.7MB/s ± 0%
OldGzipL189.2MB/s ± 0%
OldGzipL270.6MB/s ± 0%
OldGzipL363.8MB/s ± 0%
OldGzipL450.9MB/s ± 0%
OldGzipL535.5MB/s ± 0%
OldGzipL632.4MB/s ± 0%
OldGzipL724.9MB/s ± 0%
OldGzipL812.3MB/s ± 0%
OldGzipL911.1MB/s ± 0%
pkg:github.com/klauspost/compress/huff0
Deflate/digits196MB/s ± 0%
Deflate/gettysburg92.0MB/s ± 0%
Deflate/twain191MB/s ± 0%
Deflate/low-ent.10k235MB/s ± 0%
Deflate/superlow-ent-10k180MB/s ± 0%
Deflate/crash216.3MB/s ± 0%
Deflate/endzerobits5.78MB/s ± 0%
Deflate/endnonzero8.00MB/s ± 0%
Deflate/case157.7MB/s ± 0%
Deflate/case246.4MB/s ± 0%
Deflate/case350.7MB/s ± 0%
Deflate/pngdata.001148MB/s ± 0%
Deflate/normcount286.3MB/s ± 0%
Compress1XReuseNone/digits355MB/s ± 0%
Compress1XReuseNone/gettysburg199MB/s ± 0%
Compress1XReuseNone/twain265MB/s ± 0%
Compress1XReuseNone/low-ent.10k362MB/s ± 0%
Compress1XReuseNone/superlow-ent-10k282MB/s ± 0%
Compress1XReuseNone/crash28.64MB/s ± 0%
Compress1XReuseNone/endzerobits10.1MB/s ± 0%
Compress1XReuseNone/endnonzero5.33MB/s ± 0%
Compress1XReuseNone/case111.3MB/s ± 0%
Compress1XReuseNone/case29.37MB/s ± 0%
Compress1XReuseNone/case310.0MB/s ± 0%
Compress1XReuseNone/pngdata.001210MB/s ± 0%
Compress1XReuseNone/normcount227.0MB/s ± 0%
Compress1XReuseAllow/digits356MB/s ± 0%
Compress1XReuseAllow/gettysburg224MB/s ± 0%
Compress1XReuseAllow/twain273MB/s ± 0%
Compress1XReuseAllow/low-ent.10k367MB/s ± 0%
Compress1XReuseAllow/superlow-ent-10k286MB/s ± 0%
Compress1XReuseAllow/crash212.0MB/s ± 0%
Compress1XReuseAllow/endzerobits8.61MB/s ± 0%
Compress1XReuseAllow/endnonzero7.63MB/s ± 0%
Compress1XReuseAllow/case114.9MB/s ± 0%
Compress1XReuseAllow/case212.5MB/s ± 0%
Compress1XReuseAllow/case312.8MB/s ± 0%
Compress1XReuseAllow/pngdata.001208MB/s ± 0%
Compress1XReuseAllow/normcount236.8MB/s ± 0%
Compress1XReusePrefer/digits353MB/s ± 0%
Compress1XReusePrefer/gettysburg313MB/s ± 0%
Compress1XReusePrefer/twain273MB/s ± 0%
Compress1XReusePrefer/low-ent.10k375MB/s ± 0%
Compress1XReusePrefer/superlow-ent-10k291MB/s ± 0%
Compress1XReusePrefer/crash229.1MB/s ± 0%
Compress1XReusePrefer/endzerobits10.7MB/s ± 0%
Compress1XReusePrefer/endnonzero14.8MB/s ± 0%
Compress1XReusePrefer/case185.9MB/s ± 0%
Compress1XReusePrefer/case273.8MB/s ± 0%
Compress1XReusePrefer/case381.1MB/s ± 0%
Compress1XReusePrefer/pngdata.001222MB/s ± 0%
Compress1XReusePrefer/normcount2121MB/s ± 0%
Compress4XReuseNone/digits351MB/s ± 0%
Compress4XReuseNone/gettysburg191MB/s ± 0%
Compress4XReuseNone/twain261MB/s ± 0%
Compress4XReuseNone/low-ent.10k359MB/s ± 0%
Compress4XReuseNone/superlow-ent-10k259MB/s ± 0%
Compress4XReuseNone/case110.3MB/s ± 0%
Compress4XReuseNone/case28.47MB/s ± 0%
Compress4XReuseNone/case38.95MB/s ± 0%
Compress4XReuseNone/pngdata.001203MB/s ± 0%
Compress4XReuseNone/normcount224.9MB/s ± 0%
Compress4XReuseAllow/digits326MB/s ± 0%
Compress4XReuseAllow/gettysburg208MB/s ± 0%
Compress4XReuseAllow/twain241MB/s ± 0%
Compress4XReuseAllow/low-ent.10k344MB/s ± 0%
Compress4XReuseAllow/superlow-ent-10k274MB/s ± 0%
Compress4XReuseAllow/case113.3MB/s ± 0%
Compress4XReuseAllow/case211.6MB/s ± 0%
Compress4XReuseAllow/case312.4MB/s ± 0%
Compress4XReuseAllow/pngdata.001200MB/s ± 0%
Compress4XReuseAllow/normcount234.9MB/s ± 0%
Compress4XReusePrefer/digits354MB/s ± 0%
Compress4XReusePrefer/gettysburg314MB/s ± 0%
Compress4XReusePrefer/twain239MB/s ± 0%
Compress4XReusePrefer/low-ent.10k347MB/s ± 0%
Compress4XReusePrefer/superlow-ent-10k278MB/s ± 0%
Compress4XReusePrefer/case174.9MB/s ± 0%
Compress4XReusePrefer/case263.3MB/s ± 0%
Compress4XReusePrefer/case366.2MB/s ± 0%
Compress4XReusePrefer/pngdata.001215MB/s ± 0%
Compress4XReusePrefer/normcount2105MB/s ± 0%
Compress1XSizes/digits-10046.9MB/s ± 0%
Compress1XSizes/digits-20083.7MB/s ± 0%
Compress1XSizes/digits-500122MB/s ± 0%
Compress1XSizes/digits-1000218MB/s ± 0%
Compress1XSizes/digits-5000327MB/s ± 0%
Compress1XSizes/digits-10000358MB/s ± 0%
Compress1XSizes/digits-50000352MB/s ± 0%
Compress4XSizes/digits-10043.9MB/s ± 0%
Compress4XSizes/digits-20075.7MB/s ± 0%
Compress4XSizes/digits-500147MB/s ± 0%
Compress4XSizes/digits-1000213MB/s ± 0%
Compress4XSizes/digits-5000330MB/s ± 0%
Compress4XSizes/digits-10000348MB/s ± 0%
Compress4XSizes/digits-50000340MB/s ± 0%
Decompress1XTable/digits168MB/s ± 0%
Decompress1XTable/gettysburg153MB/s ± 0%
Decompress1XTable/twain162MB/s ± 0%
Decompress1XTable/low-ent.10k201MB/s ± 0%
Decompress1XTable/superlow-ent-10k194MB/s ± 0%
Decompress1XTable/crash214.8MB/s ± 0%
Decompress1XTable/endzerobits52.3MB/s ± 0%
Decompress1XTable/endnonzero10.5MB/s ± 0%
Decompress1XTable/case119.2MB/s ± 0%
Decompress1XTable/case215.8MB/s ± 0%
Decompress1XTable/case316.1MB/s ± 0%
Decompress1XTable/pngdata.001186MB/s ± 0%
Decompress1XTable/normcount241.1MB/s ± 0%
Decompress1XNoTable/digits176MB/s ± 0%
Decompress1XNoTable/gettysburg191MB/s ± 0%
Decompress1XNoTable/twain162MB/s ± 0%
Decompress1XNoTable/low-ent.10k197MB/s ± 0%
Decompress1XNoTable/superlow-ent-10k198MB/s ± 0%
Decompress1XNoTable/crash2126MB/s ± 0%
Decompress1XNoTable/endzerobits92.5MB/s ± 0%
Decompress1XNoTable/endnonzero106MB/s ± 0%
Decompress1XNoTable/case1167MB/s ± 0%
Decompress1XNoTable/case2160MB/s ± 0%
Decompress1XNoTable/case3160MB/s ± 0%
Decompress1XNoTable/pngdata.001193MB/s ± 0%
Decompress1XNoTable/normcount2179MB/s ± 0%
Decompress4XNoTable/digits227MB/s ± 0%
Decompress4XNoTable/gettysburg279MB/s ± 0%
Decompress4XNoTable/twain191MB/s ± 0%
Decompress4XNoTable/low-ent.10k326MB/s ± 0%
Decompress4XNoTable/superlow-ent-10k320MB/s ± 0%
Decompress4XNoTable/case1108MB/s ± 0%
Decompress4XNoTable/case2109MB/s ± 0%
Decompress4XNoTable/case3112MB/s ± 0%
Decompress4XNoTable/pngdata.001296MB/s ± 0%
Decompress4XNoTable/normcount2113MB/s ± 0%
Decompress4XTable/digits223MB/s ± 0%
Decompress4XTable/gettysburg195MB/s ± 0%
Decompress4XTable/twain187MB/s ± 0%
Decompress4XTable/low-ent.10k306MB/s ± 0%
Decompress4XTable/superlow-ent-10k303MB/s ± 0%
Decompress4XTable/case117.7MB/s ± 0%
Decompress4XTable/case214.6MB/s ± 0%
Decompress4XTable/case315.8MB/s ± 0%
Decompress4XTable/pngdata.001265MB/s ± 0%
Decompress4XTable/normcount237.9MB/s ± 0%
pkg:github.com/klauspost/compress/s2
RandomEncode11.5GB/s ± 0%
RandomEncodeBetter8.83GB/s ± 0%
pkg:github.com/klauspost/compress/snappy
RandomEncode9.25GB/s ± 0%
ExtendMatch
pkg:github.com/klauspost/compress/zip
CompressedZipGarbage
Zip64Test
Zip64TestSizes/4096
Zip64TestSizes/1048576
Zip64TestSizes/67108864
pkg:github.com/klauspost/compress/zstd
Decoder_DecoderSmall/kppkn.gtb.zst73.5MB/s ± 0%
Decoder_DecoderSmall/geo.protodata.zst218MB/s ± 0%
Decoder_DecoderSmall/plrabn12.txt.zst124MB/s ± 0%
Decoder_DecoderSmall/lcet10.txt.zst147MB/s ± 0%
Decoder_DecoderSmall/asyoulik.txt.zst66.4MB/s ± 0%
Decoder_DecoderSmall/alice29.txt.zst59.0MB/s ± 0%
Decoder_DecoderSmall/html_x_4.zst481MB/s ± 0%
Decoder_DecoderSmall/paper-100k.pdf.zst905MB/s ± 0%
Decoder_DecoderSmall/fireworks.jpeg.zst1.09GB/s ± 0%
Decoder_DecoderSmall/urls.10K.zst200MB/s ± 0%
Decoder_DecoderSmall/html.zst241MB/s ± 0%
Decoder_DecoderSmall/comp-data.bin.zst92.1MB/s ± 0%
Decoder_DecodeAll/kppkn.gtb.zst158MB/s ± 0%
Decoder_DecodeAll/geo.protodata.zst444MB/s ± 0%
Decoder_DecodeAll/plrabn12.txt.zst122MB/s ± 0%
Decoder_DecodeAll/lcet10.txt.zst154MB/s ± 0%
Decoder_DecodeAll/asyoulik.txt.zst128MB/s ± 0%
Decoder_DecodeAll/alice29.txt.zst116MB/s ± 0%
Decoder_DecodeAll/html_x_4.zst701MB/s ± 0%
Decoder_DecodeAll/paper-100k.pdf.zst2.41GB/s ± 0%
Decoder_DecodeAll/fireworks.jpeg.zst7.47GB/s ± 0%
Decoder_DecodeAll/urls.10K.zst216MB/s ± 0%
Decoder_DecodeAll/html.zst348MB/s ± 0%
Decoder_DecodeAll/comp-data.bin.zst202MB/s ± 0%
Encoder_EncodeAllXML124MB/s ± 0%
Encoder_EncodeAllSimple/fastest60.8MB/s ± 0%
Encoder_EncodeAllSimple/default51.0MB/s ± 0%
Encoder_EncodeAllSimple4K/fastest85.5MB/s ± 0%
Encoder_EncodeAllSimple4K/default56.9MB/s ± 0%
Encoder_EncodeAllHTML81.5MB/s ± 0%
Encoder_EncodeAllTwain49.2MB/s ± 0%
Encoder_EncodeAllPi36.6MB/s ± 0%
RandomEncodeAllFastest1.08GB/s ± 0%
RandomEncodeAllDefault956MB/s ± 0%
RandomEncoderFastest1.38GB/s ± 0%
RandomEncoderDefault1.13GB/s ± 0%
Snappy_ConvertXML245MB/s ± 0%
pkg:github.com/klauspost/compress/zstd/internal/xxhash
Hashes/xxhash,direct,bytes,n=5B680MB/s ± 0%
Hashes/xxhash,direct,string,n=5B194MB/s ± 0%
Hashes/xxhash,digest,bytes,n=5B171MB/s ± 0%
Hashes/xxhash,digest,string,n=5B138MB/s ± 0%
Hashes/xxhash,direct,bytes,n=100B4.50GB/s ± 0%
Hashes/xxhash,direct,string,n=100B1.23GB/s ± 0%
Hashes/xxhash,digest,bytes,n=100B2.44GB/s ± 0%
Hashes/xxhash,digest,string,n=100B1.03GB/s ± 0%
Hashes/xxhash,direct,bytes,n=4KB10.1GB/s ± 0%
Hashes/xxhash,direct,string,n=4KB3.99GB/s ± 0%
Hashes/xxhash,digest,bytes,n=4KB9.32GB/s ± 0%
Hashes/xxhash,digest,string,n=4KB3.79GB/s ± 0%
Hashes/xxhash,direct,bytes,n=10MB8.80GB/s ± 0%
Hashes/xxhash,direct,string,n=10MB1.74GB/s ± 0%
Hashes/xxhash,digest,bytes,n=10MB7.44GB/s ± 0%
Hashes/xxhash,digest,string,n=10MB2.23GB/s ± 0%
Hashes/CRC-32,direct,bytes,n=5B206MB/s ± 0%
Hashes/CRC-32,direct,string,n=5B91.5MB/s ± 0%
Hashes/CRC-32,digest,bytes,n=5B77.5MB/s ± 0%
Hashes/CRC-32,digest,string,n=5B52.5MB/s ± 0%
Hashes/CRC-32,direct,bytes,n=100B2.12GB/s ± 0%
Hashes/CRC-32,direct,string,n=100B885MB/s ± 0%
Hashes/CRC-32,digest,bytes,n=100B1.02GB/s ± 0%
Hashes/CRC-32,digest,string,n=100B563MB/s ± 0%
Hashes/CRC-32,direct,bytes,n=4KB13.9GB/s ± 0%
Hashes/CRC-32,direct,string,n=4KB4.25GB/s ± 0%
Hashes/CRC-32,digest,bytes,n=4KB11.7GB/s ± 0%
Hashes/CRC-32,digest,string,n=4KB3.86GB/s ± 0%
Hashes/CRC-32,direct,bytes,n=10MB10.8GB/s ± 0%
Hashes/CRC-32,direct,string,n=10MB2.31GB/s ± 0%
Hashes/CRC-32,digest,bytes,n=10MB10.6GB/s ± 0%
Hashes/CRC-32,digest,string,n=10MB2.31GB/s ± 0%
Hashes/FNV-1a,digest,bytes,n=5B175MB/s ± 0%
Hashes/FNV-1a,digest,string,n=5B83.0MB/s ± 0%
Hashes/FNV-1a,digest,bytes,n=100B551MB/s ± 0%
Hashes/FNV-1a,digest,string,n=100B417MB/s ± 0%
Hashes/FNV-1a,digest,bytes,n=4KB658MB/s ± 0%
Hashes/FNV-1a,digest,string,n=4KB568MB/s ± 0%
Hashes/FNV-1a,digest,bytes,n=10MB655MB/s ± 0%
Hashes/FNV-1a,digest,string,n=10MB533MB/s ± 0%
[Geo mean]151MB/s
 
alloc/op
pkg:github.com/klauspost/compress
Estimate/zeroes-5k
Estimate/predictable-5k
Estimate/random-500b
Estimate/random-5k
Estimate/random-50k
Estimate/random-500k
Estimate/base-32-5k
Estimate/text
SnannonEntropyBits/zeroes-5k
SnannonEntropyBits/predictable-5k
SnannonEntropyBits/random-500b
SnannonEntropyBits/random-5k
SnannonEntropyBits/random-50k
SnannonEntropyBits/random-500k
SnannonEntropyBits/base-32-5k
SnannonEntropyBits/text
CompressAllocations/level(-2)/flate342kB ± 0%
CompressAllocations/level(-2)/gzip342kB ± 0%
CompressAllocations/level(-1)/flate3.24MB ± 0%
CompressAllocations/level(-1)/gzip3.24MB ± 0%
CompressAllocations/level(0)/flate340kB ± 0%
CompressAllocations/level(0)/gzip340kB ± 0%
CompressAllocations/level(1)/flate2.19MB ± 0%
CompressAllocations/level(1)/gzip2.19MB ± 0%
CompressAllocations/level(2)/flate3.76MB ± 0%
CompressAllocations/level(2)/gzip3.76MB ± 0%
CompressAllocations/level(3)/flate2.71MB ± 0%
CompressAllocations/level(3)/gzip2.71MB ± 0%
CompressAllocations/level(4)/flate2.71MB ± 0%
CompressAllocations/level(4)/gzip2.71MB ± 0%
CompressAllocations/level(5)/flate3.24MB ± 0%
CompressAllocations/level(5)/gzip3.24MB ± 0%
CompressAllocations/level(6)/flate3.24MB ± 0%
CompressAllocations/level(6)/gzip3.24MB ± 0%
CompressAllocations/level(7)/flate1.01MB ± 0%
CompressAllocations/level(7)/gzip1.01MB ± 0%
CompressAllocations/level(8)/flate1.01MB ± 0%
CompressAllocations/level(8)/gzip1.01MB ± 0%
CompressAllocations/level(9)/flate1.01MB ± 0%
CompressAllocations/level(9)/gzip1.01MB ± 0%
pkg:github.com/klauspost/compress/flate
DecodeDigitsSpeed1e4569B ± 0%
DecodeDigitsSpeed1e54.96kB ± 0%
DecodeDigitsSpeed1e639.3kB ± 0%
DecodeDigitsDefault1e4569B ± 0%
DecodeDigitsDefault1e54.95kB ± 0%
DecodeDigitsDefault1e641.9kB ± 0%
DecodeDigitsCompress1e4512B ± 0%
DecodeDigitsCompress1e55.49kB ± 0%
DecodeDigitsCompress1e638.3kB ± 0%
DecodeTwainSpeed1e4613B ± 0%
DecodeTwainSpeed1e55.08kB ± 0%
DecodeTwainSpeed1e640.3kB ± 0%
DecodeTwainDefault1e4530B ± 0%
DecodeTwainDefault1e55.00kB ± 0%
DecodeTwainDefault1e639.6kB ± 0%
DecodeTwainCompress1e4597B ± 0%
DecodeTwainCompress1e54.37kB ± 0%
DecodeTwainCompress1e641.0kB ± 0%
DecodeRandomSpeed1e449.0B ± 0%
DecodeRandomSpeed1e558.0B ± 0%
DecodeRandomSpeed1e6169B ± 0%
_tokens_EstimatedBits
EncodeDigitsConstant1e49.00B ± 0%
EncodeDigitsConstant1e5104B ± 0%
EncodeDigitsConstant1e6768B ± 0%
EncodeDigitsSpeed1e414.0kB ± 0%
EncodeDigitsSpeed1e5188kB ± 0%
EncodeDigitsSpeed1e61.31MB ± 0%
EncodeDigitsDefault1e426.3kB ± 0%
EncodeDigitsDefault1e5329kB ± 0%
EncodeDigitsDefault1e61.31MB ± 0%
EncodeDigitsCompress1e496.0B ± 0%
EncodeDigitsCompress1e51.73kB ± 0%
EncodeDigitsCompress1e63.46kB ± 0%
EncodeDigitsSL1e4109B ± 0%
EncodeDigitsSL1e593.9kB ± 0%
EncodeDigitsSL1e61.30MB ± 0%
EncodeTwainConstant1e411.0B ± 0%
EncodeTwainConstant1e5109B ± 0%
EncodeTwainConstant1e6768B ± 0%
EncodeTwainSpeed1e418.8kB ± 0%
EncodeTwainSpeed1e5188kB ± 0%
EncodeTwainSpeed1e61.31MB ± 0%
EncodeTwainDefault1e430.6kB ± 0%
EncodeTwainDefault1e5263kB ± 0%
EncodeTwainDefault1e61.31MB ± 0%
EncodeTwainCompress1e4132B ± 0%
EncodeTwainCompress1e51.73kB ± 0%
EncodeTwainCompress1e63.46kB ± 0%
EncodeTwainSL1e4143B ± 0%
EncodeTwainSL1e593.9kB ± 0%
EncodeTwainSL1e61.30MB ± 0%
pkg:github.com/klauspost/compress/fse
Compress/gettysburg0.00B
Compress/digits0.00B
Compress/twain0.00B
Compress/low-ent0.00B
Compress/superlow-ent0.00B
Compress/endzerobits0.00B
Compress/pngdata.0010.00B
Compress/normcount20.00B
Decompress/gettysburg0.00B
Decompress/digits0.00B
Decompress/twain0.00B
Decompress/low-ent0.00B
Decompress/superlow-ent0.00B
Decompress/endzerobits0.00B
Decompress/pngdata.0010.00B
Decompress/normcount20.00B
pkg:github.com/klauspost/compress/gzip
GunzipCopy
GunzipNoWriteTo
GunzipStdlib
GzipLM3
GzipLM2
GzipL1
GzipL2
GzipL3
GzipL4
GzipL5
GzipL6
GzipL7
GzipL8
GzipL9
OldGzipL1
OldGzipL2
OldGzipL3
OldGzipL4
OldGzipL5
OldGzipL6
OldGzipL7
OldGzipL8
OldGzipL9
pkg:github.com/klauspost/compress/huff0
Deflate/digits109B ± 0%
Deflate/gettysburg3.00B ± 0%
Deflate/twain288B ± 0%
Deflate/low-ent.10k34.0B ± 0%
Deflate/superlow-ent-10k11.0B ± 0%
Deflate/crash20.00B
Deflate/endzerobits0.00B
Deflate/endnonzero0.00B
Deflate/case10.00B
Deflate/case20.00B
Deflate/case30.00B
Deflate/pngdata.00172.0B ± 0%
Deflate/normcount20.00B
Compress1XReuseNone/digits24.0B ± 0%
Compress1XReuseNone/gettysburg0.00B
Compress1XReuseNone/twain85.0B ± 0%
Compress1XReuseNone/low-ent.10k10.0B ± 0%
Compress1XReuseNone/superlow-ent-10k3.00B ± 0%
Compress1XReuseNone/crash20.00B
Compress1XReuseNone/endzerobits0.00B
Compress1XReuseNone/endnonzero0.00B
Compress1XReuseNone/case10.00B
Compress1XReuseNone/case20.00B
Compress1XReuseNone/case30.00B
Compress1XReuseNone/pngdata.00122.0B ± 0%
Compress1XReuseNone/normcount20.00B
Compress1XReuseAllow/digits24.0B ± 0%
Compress1XReuseAllow/gettysburg0.00B
Compress1XReuseAllow/twain85.0B ± 0%
Compress1XReuseAllow/low-ent.10k10.0B ± 0%
Compress1XReuseAllow/superlow-ent-10k3.00B ± 0%
Compress1XReuseAllow/crash20.00B
Compress1XReuseAllow/endzerobits0.00B
Compress1XReuseAllow/endnonzero0.00B
Compress1XReuseAllow/case10.00B
Compress1XReuseAllow/case20.00B
Compress1XReuseAllow/case30.00B
Compress1XReuseAllow/pngdata.00121.0B ± 0%
Compress1XReuseAllow/normcount20.00B
Compress1XReusePrefer/digits0.00B
Compress1XReusePrefer/gettysburg0.00B
Compress1XReusePrefer/twain0.00B
Compress1XReusePrefer/low-ent.10k0.00B
Compress1XReusePrefer/superlow-ent-10k0.00B
Compress1XReusePrefer/crash20.00B
Compress1XReusePrefer/endzerobits0.00B
Compress1XReusePrefer/endnonzero0.00B
Compress1XReusePrefer/case10.00B
Compress1XReusePrefer/case20.00B
Compress1XReusePrefer/case30.00B
Compress1XReusePrefer/pngdata.0010.00B
Compress1XReusePrefer/normcount20.00B
Compress4XReuseNone/digits24.0B ± 0%
Compress4XReuseNone/gettysburg0.00B
Compress4XReuseNone/twain85.0B ± 0%
Compress4XReuseNone/low-ent.10k10.0B ± 0%
Compress4XReuseNone/superlow-ent-10k3.00B ± 0%
Compress4XReuseNone/case10.00B
Compress4XReuseNone/case20.00B
Compress4XReuseNone/case30.00B
Compress4XReuseNone/pngdata.00121.0B ± 0%
Compress4XReuseNone/normcount20.00B
Compress4XReuseAllow/digits24.0B ± 0%
Compress4XReuseAllow/gettysburg0.00B
Compress4XReuseAllow/twain102B ± 0%
Compress4XReuseAllow/low-ent.10k10.0B ± 0%
Compress4XReuseAllow/superlow-ent-10k3.00B ± 0%
Compress4XReuseAllow/case10.00B
Compress4XReuseAllow/case20.00B
Compress4XReuseAllow/case30.00B
Compress4XReuseAllow/pngdata.00121.0B ± 0%
Compress4XReuseAllow/normcount20.00B
Compress4XReusePrefer/digits0.00B
Compress4XReusePrefer/gettysburg0.00B
Compress4XReusePrefer/twain0.00B
Compress4XReusePrefer/low-ent.10k0.00B
Compress4XReusePrefer/superlow-ent-10k0.00B
Compress4XReusePrefer/case10.00B
Compress4XReusePrefer/case20.00B
Compress4XReusePrefer/case30.00B
Compress4XReusePrefer/pngdata.0010.00B
Compress4XReusePrefer/normcount20.00B
Compress1XSizes/digits-1000.00B
Compress1XSizes/digits-2000.00B
Compress1XSizes/digits-5000.00B
Compress1XSizes/digits-10000.00B
Compress1XSizes/digits-50001.00B ± 0%
Compress1XSizes/digits-100002.00B ± 0%
Compress1XSizes/digits-5000012.0B ± 0%
Compress4XSizes/digits-1000.00B
Compress4XSizes/digits-2000.00B
Compress4XSizes/digits-5000.00B
Compress4XSizes/digits-10000.00B
Compress4XSizes/digits-50001.00B ± 0%
Compress4XSizes/digits-100002.00B ± 0%
Compress4XSizes/digits-5000012.0B ± 0%
Decompress1XTable/digits0.00B
Decompress1XTable/gettysburg0.00B
Decompress1XTable/twain0.00B
Decompress1XTable/low-ent.10k0.00B
Decompress1XTable/superlow-ent-10k0.00B
Decompress1XTable/crash20.00B
Decompress1XTable/endzerobits0.00B
Decompress1XTable/endnonzero0.00B
Decompress1XTable/case10.00B
Decompress1XTable/case20.00B
Decompress1XTable/case30.00B
Decompress1XTable/pngdata.0010.00B
Decompress1XTable/normcount20.00B
Decompress1XNoTable/digits0.00B
Decompress1XNoTable/gettysburg0.00B
Decompress1XNoTable/twain0.00B
Decompress1XNoTable/low-ent.10k0.00B
Decompress1XNoTable/superlow-ent-10k0.00B
Decompress1XNoTable/crash20.00B
Decompress1XNoTable/endzerobits0.00B
Decompress1XNoTable/endnonzero0.00B
Decompress1XNoTable/case10.00B
Decompress1XNoTable/case20.00B
Decompress1XNoTable/case30.00B
Decompress1XNoTable/pngdata.0010.00B
Decompress1XNoTable/normcount20.00B
Decompress4XNoTable/digits0.00B
Decompress4XNoTable/gettysburg0.00B
Decompress4XNoTable/twain0.00B
Decompress4XNoTable/low-ent.10k0.00B
Decompress4XNoTable/superlow-ent-10k0.00B
Decompress4XNoTable/case10.00B
Decompress4XNoTable/case20.00B
Decompress4XNoTable/case30.00B
Decompress4XNoTable/pngdata.0010.00B
Decompress4XNoTable/normcount20.00B
Decompress4XTable/digits6.42kB ± 0%
Decompress4XTable/gettysburg5.00B ± 0%
Decompress4XTable/twain52.8kB ± 0%
Decompress4XTable/low-ent.10k570B ± 0%
Decompress4XTable/superlow-ent-10k51.0B ± 0%
Decompress4XTable/case11.00B ± 0%
Decompress4XTable/case21.00B ± 0%
Decompress4XTable/case31.00B ± 0%
Decompress4XTable/pngdata.0011.18kB ± 0%
Decompress4XTable/normcount21.00B ± 0%
pkg:github.com/klauspost/compress/s2
RandomEncode
RandomEncodeBetter
pkg:github.com/klauspost/compress/snappy
RandomEncode
ExtendMatch
pkg:github.com/klauspost/compress/zip
CompressedZipGarbage8.93kB ± 0%
Zip64Test
Zip64TestSizes/4096
Zip64TestSizes/1048576
Zip64TestSizes/67108864
pkg:github.com/klauspost/compress/zstd
Decoder_DecoderSmall/kppkn.gtb.zst2.47MB ± 0%
Decoder_DecoderSmall/geo.protodata.zst2.34MB ± 0%
Decoder_DecoderSmall/plrabn12.txt.zst336B ± 0%
Decoder_DecoderSmall/lcet10.txt.zst336B ± 0%
Decoder_DecoderSmall/asyoulik.txt.zst2.36MB ± 0%
Decoder_DecoderSmall/alice29.txt.zst2.41MB ± 0%
Decoder_DecoderSmall/html_x_4.zst7.82MB ± 0%
Decoder_DecoderSmall/paper-100k.pdf.zst2.31MB ± 0%
Decoder_DecoderSmall/fireworks.jpeg.zst4.35MB ± 0%
Decoder_DecoderSmall/urls.10K.zst336B ± 0%
Decoder_DecoderSmall/html.zst2.31MB ± 0%
Decoder_DecoderSmall/comp-data.bin.zst1.05MB ± 0%
Decoder_DecodeAll/kppkn.gtb.zst19.0B ± 0%
Decoder_DecodeAll/geo.protodata.zst0.00B
Decoder_DecodeAll/plrabn12.txt.zst58.0B ± 0%
Decoder_DecodeAll/lcet10.txt.zst44.0B ± 0%
Decoder_DecodeAll/asyoulik.txt.zst0.00B
Decoder_DecodeAll/alice29.txt.zst19.0B ± 0%
Decoder_DecodeAll/html_x_4.zst0.00B
Decoder_DecodeAll/paper-100k.pdf.zst0.00B
Decoder_DecodeAll/fireworks.jpeg.zst0.00B
Decoder_DecodeAll/urls.10K.zst44.0B ± 0%
Decoder_DecodeAll/html.zst0.00B
Decoder_DecodeAll/comp-data.bin.zst0.00B
Encoder_EncodeAllXML0.00B
Encoder_EncodeAllSimple/fastest498B ± 0%
Encoder_EncodeAllSimple/default676B ± 0%
Encoder_EncodeAllSimple4K/fastest21.0B ± 0%
Encoder_EncodeAllSimple4K/default32.0B ± 0%
Encoder_EncodeAllHTML430B ± 0%
Encoder_EncodeAllTwain0.00B
Encoder_EncodeAllPi0.00B
RandomEncodeAllFastest0.00B
RandomEncodeAllDefault0.00B
RandomEncoderFastest72.0B ± 0%
RandomEncoderDefault72.0B ± 0%
Snappy_ConvertXML48.0B ± 0%
pkg:github.com/klauspost/compress/zstd/internal/xxhash
Hashes/xxhash,direct,bytes,n=5B
Hashes/xxhash,direct,string,n=5B
Hashes/xxhash,digest,bytes,n=5B
Hashes/xxhash,digest,string,n=5B
Hashes/xxhash,direct,bytes,n=100B
Hashes/xxhash,direct,string,n=100B
Hashes/xxhash,digest,bytes,n=100B
Hashes/xxhash,digest,string,n=100B
Hashes/xxhash,direct,bytes,n=4KB
Hashes/xxhash,direct,string,n=4KB
Hashes/xxhash,digest,bytes,n=4KB
Hashes/xxhash,digest,string,n=4KB
Hashes/xxhash,direct,bytes,n=10MB
Hashes/xxhash,direct,string,n=10MB
Hashes/xxhash,digest,bytes,n=10MB
Hashes/xxhash,digest,string,n=10MB
Hashes/CRC-32,direct,bytes,n=5B
Hashes/CRC-32,direct,string,n=5B
Hashes/CRC-32,digest,bytes,n=5B
Hashes/CRC-32,digest,string,n=5B
Hashes/CRC-32,direct,bytes,n=100B
Hashes/CRC-32,direct,string,n=100B
Hashes/CRC-32,digest,bytes,n=100B
Hashes/CRC-32,digest,string,n=100B
Hashes/CRC-32,direct,bytes,n=4KB
Hashes/CRC-32,direct,string,n=4KB
Hashes/CRC-32,digest,bytes,n=4KB
Hashes/CRC-32,digest,string,n=4KB
Hashes/CRC-32,direct,bytes,n=10MB
Hashes/CRC-32,direct,string,n=10MB
Hashes/CRC-32,digest,bytes,n=10MB
Hashes/CRC-32,digest,string,n=10MB
Hashes/FNV-1a,digest,bytes,n=5B
Hashes/FNV-1a,digest,string,n=5B
Hashes/FNV-1a,digest,bytes,n=100B
Hashes/FNV-1a,digest,string,n=100B
Hashes/FNV-1a,digest,bytes,n=4KB
Hashes/FNV-1a,digest,string,n=4KB
Hashes/FNV-1a,digest,bytes,n=10MB
Hashes/FNV-1a,digest,string,n=10MB
[Geo mean]2.53kB
 
allocs/op
pkg:github.com/klauspost/compress
Estimate/zeroes-5k
Estimate/predictable-5k
Estimate/random-500b
Estimate/random-5k
Estimate/random-50k
Estimate/random-500k
Estimate/base-32-5k
Estimate/text
SnannonEntropyBits/zeroes-5k
SnannonEntropyBits/predictable-5k
SnannonEntropyBits/random-500b
SnannonEntropyBits/random-5k
SnannonEntropyBits/random-50k
SnannonEntropyBits/random-500k
SnannonEntropyBits/base-32-5k
SnannonEntropyBits/text
CompressAllocations/level(-2)/flate11.0 ± 0%
CompressAllocations/level(-2)/gzip12.0 ± 0%
CompressAllocations/level(-1)/flate14.0 ± 0%
CompressAllocations/level(-1)/gzip15.0 ± 0%
CompressAllocations/level(0)/flate9.00 ± 0%
CompressAllocations/level(0)/gzip10.0 ± 0%
CompressAllocations/level(1)/flate14.0 ± 0%
CompressAllocations/level(1)/gzip15.0 ± 0%
CompressAllocations/level(2)/flate14.0 ± 0%
CompressAllocations/level(2)/gzip15.0 ± 0%
CompressAllocations/level(3)/flate14.0 ± 0%
CompressAllocations/level(3)/gzip15.0 ± 0%
CompressAllocations/level(4)/flate14.0 ± 0%
CompressAllocations/level(4)/gzip15.0 ± 0%
CompressAllocations/level(5)/flate14.0 ± 0%
CompressAllocations/level(5)/gzip15.0 ± 0%
CompressAllocations/level(6)/flate14.0 ± 0%
CompressAllocations/level(6)/gzip15.0 ± 0%
CompressAllocations/level(7)/flate13.0 ± 0%
CompressAllocations/level(7)/gzip14.0 ± 0%
CompressAllocations/level(8)/flate13.0 ± 0%
CompressAllocations/level(8)/gzip14.0 ± 0%
CompressAllocations/level(9)/flate13.0 ± 0%
CompressAllocations/level(9)/gzip14.0 ± 0%
pkg:github.com/klauspost/compress/flate
DecodeDigitsSpeed1e41.00 ± 0%
DecodeDigitsSpeed1e53.00 ± 0%
DecodeDigitsSpeed1e624.0 ± 0%
DecodeDigitsDefault1e41.00 ± 0%
DecodeDigitsDefault1e53.00 ± 0%
DecodeDigitsDefault1e664.0 ± 0%
DecodeDigitsCompress1e41.00 ± 0%
DecodeDigitsCompress1e52.00 ± 0%
DecodeDigitsCompress1e615.0 ± 0%
DecodeTwainSpeed1e41.00 ± 0%
DecodeTwainSpeed1e54.00 ± 0%
DecodeTwainSpeed1e625.0 ± 0%
DecodeTwainDefault1e41.00 ± 0%
DecodeTwainDefault1e54.00 ± 0%
DecodeTwainDefault1e628.0 ± 0%
DecodeTwainCompress1e41.00 ± 0%
DecodeTwainCompress1e53.00 ± 0%
DecodeTwainCompress1e641.0 ± 0%
DecodeRandomSpeed1e41.00 ± 0%
DecodeRandomSpeed1e51.00 ± 0%
DecodeRandomSpeed1e61.00 ± 0%
_tokens_EstimatedBits
EncodeDigitsConstant1e40.00
EncodeDigitsConstant1e50.00
EncodeDigitsConstant1e60.00
EncodeDigitsSpeed1e40.00
EncodeDigitsSpeed1e50.00
EncodeDigitsSpeed1e64.00 ± 0%
EncodeDigitsDefault1e40.00
EncodeDigitsDefault1e51.00 ± 0%
EncodeDigitsDefault1e64.00 ± 0%
EncodeDigitsCompress1e40.00
EncodeDigitsCompress1e51.00 ± 0%
EncodeDigitsCompress1e63.00 ± 0%
EncodeDigitsSL1e41.00 ± 0%
EncodeDigitsSL1e55.00 ± 0%
EncodeDigitsSL1e653.0 ± 0%
EncodeTwainConstant1e40.00
EncodeTwainConstant1e50.00
EncodeTwainConstant1e60.00
EncodeTwainSpeed1e40.00
EncodeTwainSpeed1e50.00
EncodeTwainSpeed1e64.00 ± 0%
EncodeTwainDefault1e40.00
EncodeTwainDefault1e50.00
EncodeTwainDefault1e64.00 ± 0%
EncodeTwainCompress1e40.00
EncodeTwainCompress1e51.00 ± 0%
EncodeTwainCompress1e63.00 ± 0%
EncodeTwainSL1e41.00 ± 0%
EncodeTwainSL1e55.00 ± 0%
EncodeTwainSL1e653.0 ± 0%
pkg:github.com/klauspost/compress/fse
Compress/gettysburg0.00
Compress/digits0.00
Compress/twain0.00
Compress/low-ent0.00
Compress/superlow-ent0.00
Compress/endzerobits0.00
Compress/pngdata.0010.00
Compress/normcount20.00
Decompress/gettysburg0.00
Decompress/digits0.00
Decompress/twain0.00
Decompress/low-ent0.00
Decompress/superlow-ent0.00
Decompress/endzerobits0.00
Decompress/pngdata.0010.00
Decompress/normcount20.00
pkg:github.com/klauspost/compress/gzip
GunzipCopy
GunzipNoWriteTo
GunzipStdlib
GzipLM3
GzipLM2
GzipL1
GzipL2
GzipL3
GzipL4
GzipL5
GzipL6
GzipL7
GzipL8
GzipL9
OldGzipL1
OldGzipL2
OldGzipL3
OldGzipL4
OldGzipL5
OldGzipL6
OldGzipL7
OldGzipL8
OldGzipL9
pkg:github.com/klauspost/compress/huff0
Deflate/digits0.00
Deflate/gettysburg0.00
Deflate/twain0.00
Deflate/low-ent.10k0.00
Deflate/superlow-ent-10k0.00
Deflate/crash20.00
Deflate/endzerobits0.00
Deflate/endnonzero0.00
Deflate/case10.00
Deflate/case20.00
Deflate/case30.00
Deflate/pngdata.0010.00
Deflate/normcount20.00
Compress1XReuseNone/digits0.00
Compress1XReuseNone/gettysburg0.00
Compress1XReuseNone/twain0.00
Compress1XReuseNone/low-ent.10k0.00
Compress1XReuseNone/superlow-ent-10k0.00
Compress1XReuseNone/crash20.00
Compress1XReuseNone/endzerobits0.00
Compress1XReuseNone/endnonzero0.00
Compress1XReuseNone/case10.00
Compress1XReuseNone/case20.00
Compress1XReuseNone/case30.00
Compress1XReuseNone/pngdata.0010.00
Compress1XReuseNone/normcount20.00
Compress1XReuseAllow/digits0.00
Compress1XReuseAllow/gettysburg0.00
Compress1XReuseAllow/twain0.00
Compress1XReuseAllow/low-ent.10k0.00
Compress1XReuseAllow/superlow-ent-10k0.00
Compress1XReuseAllow/crash20.00
Compress1XReuseAllow/endzerobits0.00
Compress1XReuseAllow/endnonzero0.00
Compress1XReuseAllow/case10.00
Compress1XReuseAllow/case20.00
Compress1XReuseAllow/case30.00
Compress1XReuseAllow/pngdata.0010.00
Compress1XReuseAllow/normcount20.00
Compress1XReusePrefer/digits0.00
Compress1XReusePrefer/gettysburg0.00
Compress1XReusePrefer/twain0.00
Compress1XReusePrefer/low-ent.10k0.00
Compress1XReusePrefer/superlow-ent-10k0.00
Compress1XReusePrefer/crash20.00
Compress1XReusePrefer/endzerobits0.00
Compress1XReusePrefer/endnonzero0.00
Compress1XReusePrefer/case10.00
Compress1XReusePrefer/case20.00
Compress1XReusePrefer/case30.00
Compress1XReusePrefer/pngdata.0010.00
Compress1XReusePrefer/normcount20.00
Compress4XReuseNone/digits0.00
Compress4XReuseNone/gettysburg0.00
Compress4XReuseNone/twain0.00
Compress4XReuseNone/low-ent.10k0.00
Compress4XReuseNone/superlow-ent-10k0.00
Compress4XReuseNone/case10.00
Compress4XReuseNone/case20.00
Compress4XReuseNone/case30.00
Compress4XReuseNone/pngdata.0010.00
Compress4XReuseNone/normcount20.00
Compress4XReuseAllow/digits0.00
Compress4XReuseAllow/gettysburg0.00
Compress4XReuseAllow/twain0.00
Compress4XReuseAllow/low-ent.10k0.00
Compress4XReuseAllow/superlow-ent-10k0.00
Compress4XReuseAllow/case10.00
Compress4XReuseAllow/case20.00
Compress4XReuseAllow/case30.00
Compress4XReuseAllow/pngdata.0010.00
Compress4XReuseAllow/normcount20.00
Compress4XReusePrefer/digits0.00
Compress4XReusePrefer/gettysburg0.00
Compress4XReusePrefer/twain0.00
Compress4XReusePrefer/low-ent.10k0.00
Compress4XReusePrefer/superlow-ent-10k0.00
Compress4XReusePrefer/case10.00
Compress4XReusePrefer/case20.00
Compress4XReusePrefer/case30.00
Compress4XReusePrefer/pngdata.0010.00
Compress4XReusePrefer/normcount20.00
Compress1XSizes/digits-1000.00
Compress1XSizes/digits-2000.00
Compress1XSizes/digits-5000.00
Compress1XSizes/digits-10000.00
Compress1XSizes/digits-50000.00
Compress1XSizes/digits-100000.00
Compress1XSizes/digits-500000.00
Compress4XSizes/digits-1000.00
Compress4XSizes/digits-2000.00
Compress4XSizes/digits-5000.00
Compress4XSizes/digits-10000.00
Compress4XSizes/digits-50000.00
Compress4XSizes/digits-100000.00
Compress4XSizes/digits-500000.00
Decompress1XTable/digits0.00
Decompress1XTable/gettysburg0.00
Decompress1XTable/twain0.00
Decompress1XTable/low-ent.10k0.00
Decompress1XTable/superlow-ent-10k0.00
Decompress1XTable/crash20.00
Decompress1XTable/endzerobits0.00
Decompress1XTable/endnonzero0.00
Decompress1XTable/case10.00
Decompress1XTable/case20.00
Decompress1XTable/case30.00
Decompress1XTable/pngdata.0010.00
Decompress1XTable/normcount20.00
Decompress1XNoTable/digits0.00
Decompress1XNoTable/gettysburg0.00
Decompress1XNoTable/twain0.00
Decompress1XNoTable/low-ent.10k0.00
Decompress1XNoTable/superlow-ent-10k0.00
Decompress1XNoTable/crash20.00
Decompress1XNoTable/endzerobits0.00
Decompress1XNoTable/endnonzero0.00
Decompress1XNoTable/case10.00
Decompress1XNoTable/case20.00
Decompress1XNoTable/case30.00
Decompress1XNoTable/pngdata.0010.00
Decompress1XNoTable/normcount20.00
Decompress4XNoTable/digits0.00
Decompress4XNoTable/gettysburg0.00
Decompress4XNoTable/twain0.00
Decompress4XNoTable/low-ent.10k0.00
Decompress4XNoTable/superlow-ent-10k0.00
Decompress4XNoTable/case10.00
Decompress4XNoTable/case20.00
Decompress4XNoTable/case30.00
Decompress4XNoTable/pngdata.0010.00
Decompress4XNoTable/normcount20.00
Decompress4XTable/digits0.00
Decompress4XTable/gettysburg0.00
Decompress4XTable/twain0.00
Decompress4XTable/low-ent.10k0.00
Decompress4XTable/superlow-ent-10k0.00
Decompress4XTable/case10.00
Decompress4XTable/case20.00
Decompress4XTable/case30.00
Decompress4XTable/pngdata.0010.00
Decompress4XTable/normcount20.00
pkg:github.com/klauspost/compress/s2
RandomEncode
RandomEncodeBetter
pkg:github.com/klauspost/compress/snappy
RandomEncode
ExtendMatch
pkg:github.com/klauspost/compress/zip
CompressedZipGarbage44.0 ± 0%
Zip64Test
Zip64TestSizes/4096
Zip64TestSizes/1048576
Zip64TestSizes/67108864
pkg:github.com/klauspost/compress/zstd
Decoder_DecoderSmall/kppkn.gtb.zst8.00 ± 0%
Decoder_DecoderSmall/geo.protodata.zst5.00 ± 0%
Decoder_DecoderSmall/plrabn12.txt.zst5.00 ± 0%
Decoder_DecoderSmall/lcet10.txt.zst5.00 ± 0%
Decoder_DecoderSmall/asyoulik.txt.zst11.0 ± 0%
Decoder_DecoderSmall/alice29.txt.zst13.0 ± 0%
Decoder_DecoderSmall/html_x_4.zst11.0 ± 0%
Decoder_DecoderSmall/paper-100k.pdf.zst3.00 ± 0%
Decoder_DecoderSmall/fireworks.jpeg.zst8.00 ± 0%
Decoder_DecoderSmall/urls.10K.zst5.00 ± 0%
Decoder_DecoderSmall/html.zst5.00 ± 0%
Decoder_DecoderSmall/comp-data.bin.zst2.00 ± 0%
Decoder_DecodeAll/kppkn.gtb.zst0.00
Decoder_DecodeAll/geo.protodata.zst0.00
Decoder_DecodeAll/plrabn12.txt.zst0.00
Decoder_DecodeAll/lcet10.txt.zst0.00
Decoder_DecodeAll/asyoulik.txt.zst0.00
Decoder_DecodeAll/alice29.txt.zst0.00
Decoder_DecodeAll/html_x_4.zst0.00
Decoder_DecodeAll/paper-100k.pdf.zst0.00
Decoder_DecodeAll/fireworks.jpeg.zst0.00
Decoder_DecodeAll/urls.10K.zst0.00
Decoder_DecodeAll/html.zst0.00
Decoder_DecodeAll/comp-data.bin.zst0.00
Encoder_EncodeAllXML0.00
Encoder_EncodeAllSimple/fastest0.00
Encoder_EncodeAllSimple/default0.00
Encoder_EncodeAllSimple4K/fastest0.00
Encoder_EncodeAllSimple4K/default0.00
Encoder_EncodeAllHTML0.00
Encoder_EncodeAllTwain0.00
Encoder_EncodeAllPi0.00
RandomEncodeAllFastest0.00
RandomEncodeAllDefault0.00
RandomEncoderFastest2.00 ± 0%
RandomEncoderDefault2.00 ± 0%
Snappy_ConvertXML1.00 ± 0%
pkg:github.com/klauspost/compress/zstd/internal/xxhash
Hashes/xxhash,direct,bytes,n=5B
Hashes/xxhash,direct,string,n=5B
Hashes/xxhash,digest,bytes,n=5B
Hashes/xxhash,digest,string,n=5B
Hashes/xxhash,direct,bytes,n=100B
Hashes/xxhash,direct,string,n=100B
Hashes/xxhash,digest,bytes,n=100B
Hashes/xxhash,digest,string,n=100B
Hashes/xxhash,direct,bytes,n=4KB
Hashes/xxhash,direct,string,n=4KB
Hashes/xxhash,digest,bytes,n=4KB
Hashes/xxhash,digest,string,n=4KB
Hashes/xxhash,direct,bytes,n=10MB
Hashes/xxhash,direct,string,n=10MB
Hashes/xxhash,digest,bytes,n=10MB
Hashes/xxhash,digest,string,n=10MB
Hashes/CRC-32,direct,bytes,n=5B
Hashes/CRC-32,direct,string,n=5B
Hashes/CRC-32,digest,bytes,n=5B
Hashes/CRC-32,digest,string,n=5B
Hashes/CRC-32,direct,bytes,n=100B
Hashes/CRC-32,direct,string,n=100B
Hashes/CRC-32,digest,bytes,n=100B
Hashes/CRC-32,digest,string,n=100B
Hashes/CRC-32,direct,bytes,n=4KB
Hashes/CRC-32,direct,string,n=4KB
Hashes/CRC-32,digest,bytes,n=4KB
Hashes/CRC-32,digest,string,n=4KB
Hashes/CRC-32,direct,bytes,n=10MB
Hashes/CRC-32,direct,string,n=10MB
Hashes/CRC-32,digest,bytes,n=10MB
Hashes/CRC-32,digest,string,n=10MB
Hashes/FNV-1a,digest,bytes,n=5B
Hashes/FNV-1a,digest,string,n=5B
Hashes/FNV-1a,digest,bytes,n=100B
Hashes/FNV-1a,digest,string,n=100B
Hashes/FNV-1a,digest,bytes,n=4KB
Hashes/FNV-1a,digest,string,n=4KB
Hashes/FNV-1a,digest,bytes,n=10MB
Hashes/FNV-1a,digest,string,n=10MB
[Geo mean]5.90