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-hkmv
gce-preemptibleTRUE
gce-zoneus-central1-a
goarchamd64
gooslinux
host-boottime2020-03-25T23:15:23Z
host-hostnameworker-hkmv
host-kernelarchx86_64
host-kernelversion5.0.0-1033-gcp
host-numprocs110
host-oslinux [perf]
host-platformubuntu [perf]
host-platformfamilydebian
host-platformversion18.04 [perf]
host-uptime1m37s
host-virtroleguest [perf]
intelpstate-availablefalse
load-avg10.7
load-avg150.1
load-avg50.27
mem-available6.81 GiB
mem-free5.55 GiB
mem-total7.29 GiB
mem-used238 MiB
mem-usedpercent3.2%
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-ref93bcf912994931780cdd4f5492ae8fcfdf760208
toolchain-revision93bcf912994931780cdd4f5492ae8fcfdf760208
toolchain-typesnapshot
upload20200325.17
upload-filea9b06f5e-31bc-4169-ad4c-fc03578ec6f5.out
upload-part20200325.17/0
upload-time2020-03-25T23:17:41Z
label values
pkg
upload:20200325.17:
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.4µs ± 0%
Estimate/predictable-5k13.3µs ± 0%
Estimate/random-500b1.90µs ± 0%
Estimate/random-5k12.5µs ± 0%
Estimate/random-50k118µs ± 0%
Estimate/random-500k1.30ms ± 0%
Estimate/base-32-5k13.9µs ± 0%
Estimate/text19.6µs ± 0%
SnannonEntropyBits/zeroes-5k11.9µs ± 0%
SnannonEntropyBits/predictable-5k15.2µs ± 0%
SnannonEntropyBits/random-500b8.16µs ± 0%
SnannonEntropyBits/random-5k12.7µs ± 0%
SnannonEntropyBits/random-50k50.2µs ± 0%
SnannonEntropyBits/random-500k430µs ± 0%
SnannonEntropyBits/base-32-5k5.14µs ± 0%
SnannonEntropyBits/text7.54µs ± 0%
CompressAllocations/level(-2)/flate56.8µs ± 0%
CompressAllocations/level(-2)/gzip57.1µs ± 0%
CompressAllocations/level(-1)/flate458µs ± 0%
CompressAllocations/level(-1)/gzip445µs ± 0%
CompressAllocations/level(0)/flate47.3µs ± 0%
CompressAllocations/level(0)/gzip48.2µs ± 0%
CompressAllocations/level(1)/flate298µs ± 0%
CompressAllocations/level(1)/gzip302µs ± 0%
CompressAllocations/level(2)/flate501µs ± 0%
CompressAllocations/level(2)/gzip505µs ± 0%
CompressAllocations/level(3)/flate410µs ± 0%
CompressAllocations/level(3)/gzip403µs ± 0%
CompressAllocations/level(4)/flate402µs ± 0%
CompressAllocations/level(4)/gzip404µs ± 0%
CompressAllocations/level(5)/flate444µs ± 0%
CompressAllocations/level(5)/gzip450µs ± 0%
CompressAllocations/level(6)/flate435µs ± 0%
CompressAllocations/level(6)/gzip443µs ± 0%
CompressAllocations/level(7)/flate130µs ± 0%
CompressAllocations/level(7)/gzip129µs ± 0%
CompressAllocations/level(8)/flate132µs ± 0%
CompressAllocations/level(8)/gzip130µs ± 0%
CompressAllocations/level(9)/flate129µs ± 0%
CompressAllocations/level(9)/gzip131µs ± 0%
pkg:github.com/klauspost/compress/flate
DecodeDigitsSpeed1e4144µs ± 0%
DecodeDigitsSpeed1e51.48ms ± 0%
DecodeDigitsSpeed1e614.0ms ± 0%
DecodeDigitsDefault1e4149µs ± 0%
DecodeDigitsDefault1e51.34ms ± 0%
DecodeDigitsDefault1e613.2ms ± 0%
DecodeDigitsCompress1e4145µs ± 0%
DecodeDigitsCompress1e51.52ms ± 0%
DecodeDigitsCompress1e617.1ms ± 0%
DecodeTwainSpeed1e4154µs ± 0%
DecodeTwainSpeed1e51.41ms ± 0%
DecodeTwainSpeed1e613.9ms ± 0%
DecodeTwainDefault1e4148µs ± 0%
DecodeTwainDefault1e51.37ms ± 0%
DecodeTwainDefault1e613.0ms ± 0%
DecodeTwainCompress1e4154µs ± 0%
DecodeTwainCompress1e51.30ms ± 0%
DecodeTwainCompress1e612.3ms ± 0%
DecodeRandomSpeed1e4439ns ± 0%
DecodeRandomSpeed1e53.47µs ± 0%
DecodeRandomSpeed1e637.3µs ± 0%
_tokens_EstimatedBits1.17µs ± 0%
EncodeDigitsConstant1e447.1µs ± 0%
EncodeDigitsConstant1e5502µs ± 0%
EncodeDigitsConstant1e64.44ms ± 0%
EncodeDigitsSpeed1e4124µs ± 0%
EncodeDigitsSpeed1e51.45ms ± 0%
EncodeDigitsSpeed1e613.7ms ± 0%
EncodeDigitsDefault1e4229µs ± 0%
EncodeDigitsDefault1e52.59ms ± 0%
EncodeDigitsDefault1e626.7ms ± 0%
EncodeDigitsCompress1e4385µs ± 0%
EncodeDigitsCompress1e55.36ms ± 0%
EncodeDigitsCompress1e657.8ms ± 0%
EncodeDigitsSL1e4121µs ± 0%
EncodeDigitsSL1e51.55ms ± 0%
EncodeDigitsSL1e615.4ms ± 0%
EncodeTwainConstant1e460.4µs ± 0%
EncodeTwainConstant1e5547µs ± 0%
EncodeTwainConstant1e64.80ms ± 0%
EncodeTwainSpeed1e4181µs ± 0%
EncodeTwainSpeed1e51.53ms ± 0%
EncodeTwainSpeed1e613.6ms ± 0%
EncodeTwainDefault1e4235µs ± 0%
EncodeTwainDefault1e52.30ms ± 0%
EncodeTwainDefault1e622.2ms ± 0%
EncodeTwainCompress1e4413µs ± 0%
EncodeTwainCompress1e57.34ms ± 0%
EncodeTwainCompress1e682.5ms ± 0%
EncodeTwainSL1e4173µs ± 0%
EncodeTwainSL1e51.49ms ± 0%
EncodeTwainSL1e614.2ms ± 0%
pkg:github.com/klauspost/compress/fse
Compress/gettysburg10.8µs ± 0%
Compress/digits538µs ± 0%
Compress/twain2.80ms ± 0%
Compress/low-ent220µs ± 0%
Compress/superlow-ent68.2µs ± 0%
Compress/endzerobits602ns ± 0%
Compress/pngdata.001369µs ± 0%
Compress/normcount23.02µs ± 0%
Decompress/gettysburg7.65µs ± 0%
Decompress/digits358µs ± 0%
Decompress/twain1.78ms ± 0%
Decompress/low-ent147µs ± 0%
Decompress/superlow-ent40.4µs ± 0%
Decompress/endzerobits287ns ± 0%
Decompress/pngdata.001198µs ± 0%
Decompress/normcount21.89µs ± 0%
pkg:github.com/klauspost/compress/gzip
GunzipCopy42.3ms ± 0%
GunzipNoWriteTo42.4ms ± 0%
GunzipStdlib42.6ms ± 0%
GzipLM339.4ms ± 0%
GzipLM223.5ms ± 0%
GzipL147.9ms ± 0%
GzipL241.3ms ± 0%
GzipL345.6ms ± 0%
GzipL452.7ms ± 0%
GzipL561.2ms ± 0%
GzipL664.8ms ± 0%
GzipL792.3ms ± 0%
GzipL8119ms ± 0%
GzipL9402ms ± 0%
OldGzipL152.7ms ± 0%
OldGzipL267.6ms ± 0%
OldGzipL374.5ms ± 0%
OldGzipL493.6ms ± 0%
OldGzipL5129ms ± 0%
OldGzipL6140ms ± 0%
OldGzipL7193ms ± 0%
OldGzipL8378ms ± 0%
OldGzipL9422ms ± 0%
pkg:github.com/klauspost/compress/huff0
Deflate/digits510µs ± 0%
Deflate/gettysburg16.5µs ± 0%
Deflate/twain1.32ms ± 0%
Deflate/low-ent.10k171µs ± 0%
Deflate/superlow-ent-10k58.2µs ± 0%
Deflate/crash2913ns ± 0%
Deflate/endzerobits867ns ± 0%
Deflate/endnonzero873ns ± 0%
Deflate/case1946ns ± 0%
Deflate/case2966ns ± 0%
Deflate/case3940ns ± 0%
Deflate/pngdata.001334µs ± 0%
Deflate/normcount21.01µs ± 0%
Compress1XReuseNone/digits283µs ± 0%
Compress1XReuseNone/gettysburg7.78µs ± 0%
Compress1XReuseNone/twain972µs ± 0%
Compress1XReuseNone/low-ent.10k108µs ± 0%
Compress1XReuseNone/superlow-ent-10k37.1µs ± 0%
Compress1XReuseNone/crash21.73µs ± 0%
Compress1XReuseNone/endzerobits492ns ± 0%
Compress1XReuseNone/endnonzero1.27µs ± 0%
Compress1XReuseNone/case14.87µs ± 0%
Compress1XReuseNone/case24.80µs ± 0%
Compress1XReuseNone/case34.82µs ± 0%
Compress1XReuseNone/pngdata.001243µs ± 0%
Compress1XReuseNone/normcount23.18µs ± 0%
Compress1XReuseAllow/digits282µs ± 0%
Compress1XReuseAllow/gettysburg6.93µs ± 0%
Compress1XReuseAllow/twain970µs ± 0%
Compress1XReuseAllow/low-ent.10k108µs ± 0%
Compress1XReuseAllow/superlow-ent-10k36.7µs ± 0%
Compress1XReuseAllow/crash21.25µs ± 0%
Compress1XReuseAllow/endzerobits578ns ± 0%
Compress1XReuseAllow/endnonzero899ns ± 0%
Compress1XReuseAllow/case13.75µs ± 0%
Compress1XReuseAllow/case23.66µs ± 0%
Compress1XReuseAllow/case33.61µs ± 0%
Compress1XReuseAllow/pngdata.001238µs ± 0%
Compress1XReuseAllow/normcount22.36µs ± 0%
Compress1XReusePrefer/digits281µs ± 0%
Compress1XReusePrefer/gettysburg4.89µs ± 0%
Compress1XReusePrefer/twain960µs ± 0%
Compress1XReusePrefer/low-ent.10k109µs ± 0%
Compress1XReusePrefer/superlow-ent-10k36.8µs ± 0%
Compress1XReusePrefer/crash2515ns ± 0%
Compress1XReusePrefer/endzerobits467ns ± 0%
Compress1XReusePrefer/endnonzero473ns ± 0%
Compress1XReusePrefer/case1642ns ± 0%
Compress1XReusePrefer/case2604ns ± 0%
Compress1XReusePrefer/case3600ns ± 0%
Compress1XReusePrefer/pngdata.001231µs ± 0%
Compress1XReusePrefer/normcount2717ns ± 0%
Compress4XReuseNone/digits283µs ± 0%
Compress4XReuseNone/gettysburg7.92µs ± 0%
Compress4XReuseNone/twain983µs ± 0%
Compress4XReuseNone/low-ent.10k111µs ± 0%
Compress4XReuseNone/superlow-ent-10k37.8µs ± 0%
Compress4XReuseNone/case14.99µs ± 0%
Compress4XReuseNone/case24.89µs ± 0%
Compress4XReuseNone/case34.95µs ± 0%
Compress4XReuseNone/pngdata.001239µs ± 0%
Compress4XReuseNone/normcount23.32µs ± 0%
Compress4XReuseAllow/digits283µs ± 0%
Compress4XReuseAllow/gettysburg6.93µs ± 0%
Compress4XReuseAllow/twain981µs ± 0%
Compress4XReuseAllow/low-ent.10k109µs ± 0%
Compress4XReuseAllow/superlow-ent-10k38.0µs ± 0%
Compress4XReuseAllow/case13.80µs ± 0%
Compress4XReuseAllow/case23.71µs ± 0%
Compress4XReuseAllow/case33.72µs ± 0%
Compress4XReuseAllow/pngdata.001239µs ± 0%
Compress4XReuseAllow/normcount22.47µs ± 0%
Compress4XReusePrefer/digits282µs ± 0%
Compress4XReusePrefer/gettysburg4.94µs ± 0%
Compress4XReusePrefer/twain970µs ± 0%
Compress4XReusePrefer/low-ent.10k108µs ± 0%
Compress4XReusePrefer/superlow-ent-10k36.3µs ± 0%
Compress4XReusePrefer/case1727ns ± 0%
Compress4XReusePrefer/case2698ns ± 0%
Compress4XReusePrefer/case3704ns ± 0%
Compress4XReusePrefer/pngdata.001231µs ± 0%
Compress4XReusePrefer/normcount2814ns ± 0%
Compress1XSizes/digits-1002.10µs ± 0%
Compress1XSizes/digits-2002.37µs ± 0%
Compress1XSizes/digits-5003.12µs ± 0%
Compress1XSizes/digits-10004.38µs ± 0%
Compress1XSizes/digits-500014.6µs ± 0%
Compress1XSizes/digits-1000027.3µs ± 0%
Compress1XSizes/digits-50000139µs ± 0%
Compress4XSizes/digits-1002.20µs ± 0%
Compress4XSizes/digits-2002.50µs ± 0%
Compress4XSizes/digits-5003.26µs ± 0%
Compress4XSizes/digits-10004.50µs ± 0%
Compress4XSizes/digits-500014.5µs ± 0%
Compress4XSizes/digits-1000027.4µs ± 0%
Compress4XSizes/digits-50000142µs ± 0%
Decompress1XTable/digits574µs ± 0%
Decompress1XTable/gettysburg10.2µs ± 0%
Decompress1XTable/twain1.61ms ± 0%
Decompress1XTable/low-ent.10k200µs ± 0%
Decompress1XTable/superlow-ent-10k53.4µs ± 0%
Decompress1XTable/crash2953ns ± 0%
Decompress1XTable/endzerobits93.4ns ± 0%
Decompress1XTable/endnonzero648ns ± 0%
Decompress1XTable/case12.81µs ± 0%
Decompress1XTable/case22.78µs ± 0%
Decompress1XTable/case32.83µs ± 0%
Decompress1XTable/pngdata.001264µs ± 0%
Decompress1XTable/normcount22.07µs ± 0%
Decompress1XNoTable/digits572µs ± 0%
Decompress1XNoTable/gettysburg8.14µs ± 0%
Decompress1XNoTable/twain1.65ms ± 0%
Decompress1XNoTable/low-ent.10k202µs ± 0%
Decompress1XNoTable/superlow-ent-10k52.1µs ± 0%
Decompress1XNoTable/crash2117ns ± 0%
Decompress1XNoTable/endzerobits52.9ns ± 0%
Decompress1XNoTable/endnonzero65.0ns ± 0%
Decompress1XNoTable/case1322ns ± 0%
Decompress1XNoTable/case2279ns ± 0%
Decompress1XNoTable/case3298ns ± 0%
Decompress1XNoTable/pngdata.001265µs ± 0%
Decompress1XNoTable/normcount2492ns ± 0%
Decompress4XNoTable/digits445µs ± 0%
Decompress4XNoTable/gettysburg5.49µs ± 0%
Decompress4XNoTable/twain1.31ms ± 0%
Decompress4XNoTable/low-ent.10k121µs ± 0%
Decompress4XNoTable/superlow-ent-10k32.7µs ± 0%
Decompress4XNoTable/case1503ns ± 0%
Decompress4XNoTable/case2416ns ± 0%
Decompress4XNoTable/case3429ns ± 0%
Decompress4XNoTable/pngdata.001172µs ± 0%
Decompress4XNoTable/normcount2662ns ± 0%
Decompress4XTable/digits441µs ± 0%
Decompress4XTable/gettysburg7.52µs ± 0%
Decompress4XTable/twain1.36ms ± 0%
Decompress4XTable/low-ent.10k123µs ± 0%
Decompress4XTable/superlow-ent-10k33.8µs ± 0%
Decompress4XTable/case13.00µs ± 0%
Decompress4XTable/case22.92µs ± 0%
Decompress4XTable/case33.00µs ± 0%
Decompress4XTable/pngdata.001179µs ± 0%
Decompress4XTable/normcount22.24µs ± 0%
pkg:github.com/klauspost/compress/s2
RandomEncode90.4µs ± 0%
RandomEncodeBetter118µs ± 0%
pkg:github.com/klauspost/compress/snappy
RandomEncode113µs ± 0%
ExtendMatch9.29µs ± 0%
pkg:github.com/klauspost/compress/zip
CompressedZipGarbage2.08ms ± 0%
Zip64Test15.1ms ± 0%
Zip64TestSizes/409619.1µs ± 0%
Zip64TestSizes/1048576252µs ± 0%
Zip64TestSizes/6710886415.0ms ± 0%
pkg:github.com/klauspost/compress/zstd
Decoder_DecoderSmall/kppkn.gtb.zst13.7ms ± 0%
Decoder_DecoderSmall/geo.protodata.zst4.15ms ± 0%
Decoder_DecoderSmall/plrabn12.txt.zst31.0ms ± 0%
Decoder_DecoderSmall/lcet10.txt.zst23.2ms ± 0%
Decoder_DecoderSmall/asyoulik.txt.zst14.8ms ± 0%
Decoder_DecoderSmall/alice29.txt.zst20.3ms ± 0%
Decoder_DecoderSmall/html_x_4.zst6.60ms ± 0%
Decoder_DecoderSmall/paper-100k.pdf.zst1.05ms ± 0%
Decoder_DecoderSmall/fireworks.jpeg.zst856µs ± 0%
Decoder_DecoderSmall/urls.10K.zst26.8ms ± 0%
Decoder_DecoderSmall/html.zst3.67ms ± 0%
Decoder_DecoderSmall/comp-data.bin.zst367µs ± 0%
Decoder_DecodeAll/kppkn.gtb.zst1.11ms ± 0%
Decoder_DecodeAll/geo.protodata.zst262µs ± 0%
Decoder_DecodeAll/plrabn12.txt.zst3.53ms ± 0%
Decoder_DecodeAll/lcet10.txt.zst2.70ms ± 0%
Decoder_DecodeAll/asyoulik.txt.zst920µs ± 0%
Decoder_DecodeAll/alice29.txt.zst1.22ms ± 0%
Decoder_DecodeAll/html_x_4.zst547µs ± 0%
Decoder_DecodeAll/paper-100k.pdf.zst41.9µs ± 0%
Decoder_DecodeAll/fireworks.jpeg.zst15.4µs ± 0%
Decoder_DecodeAll/urls.10K.zst3.11ms ± 0%
Decoder_DecodeAll/html.zst287µs ± 0%
Decoder_DecodeAll/comp-data.bin.zst19.2µs ± 0%
Encoder_EncodeAllXML31.8ms ± 0%
Encoder_EncodeAllSimple/fastest613µs ± 0%
Encoder_EncodeAllSimple/default812µs ± 0%
Encoder_EncodeAllSimple4K/fastest45.5µs ± 0%
Encoder_EncodeAllSimple4K/default71.2µs ± 0%
Encoder_EncodeAllHTML513µs ± 0%
Encoder_EncodeAllTwain7.24ms ± 0%
Encoder_EncodeAllPi2.62ms ± 0%
RandomEncodeAllFastest8.20ms ± 0%
RandomEncodeAllDefault8.87ms ± 0%
RandomEncoderFastest7.52ms ± 0%
RandomEncoderDefault8.65ms ± 0%
Snappy_ConvertXML21.3ms ± 0%
pkg:github.com/klauspost/compress/zstd/internal/xxhash
Hashes/xxhash,direct,bytes,n=5B7.05ns ± 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.3ns ± 0%
Hashes/xxhash,direct,string,n=100B80.2ns ± 0%
Hashes/xxhash,digest,bytes,n=100B40.7ns ± 0%
Hashes/xxhash,digest,string,n=100B96.0ns ± 0%
Hashes/xxhash,direct,bytes,n=4KB402ns ± 0%
Hashes/xxhash,direct,string,n=4KB977ns ± 0%
Hashes/xxhash,digest,bytes,n=4KB424ns ± 0%
Hashes/xxhash,digest,string,n=4KB1.00µs ± 0%
Hashes/xxhash,direct,bytes,n=10MB970µs ± 0%
Hashes/xxhash,direct,string,n=10MB5.47ms ± 0%
Hashes/xxhash,digest,bytes,n=10MB966µs ± 0%
Hashes/xxhash,digest,string,n=10MB4.10ms ± 0%
Hashes/CRC-32,direct,bytes,n=5B23.9ns ± 0%
Hashes/CRC-32,direct,string,n=5B53.9ns ± 0%
Hashes/CRC-32,digest,bytes,n=5B63.8ns ± 0%
Hashes/CRC-32,digest,string,n=5B93.1ns ± 0%
Hashes/CRC-32,direct,bytes,n=100B46.4ns ± 0%
Hashes/CRC-32,direct,string,n=100B108ns ± 0%
Hashes/CRC-32,digest,bytes,n=100B93.8ns ± 0%
Hashes/CRC-32,digest,string,n=100B151ns ± 0%
Hashes/CRC-32,direct,bytes,n=4KB286ns ± 0%
Hashes/CRC-32,direct,string,n=4KB850ns ± 0%
Hashes/CRC-32,digest,bytes,n=4KB337ns ± 0%
Hashes/CRC-32,digest,string,n=4KB921ns ± 0%
Hashes/CRC-32,direct,bytes,n=10MB673µs ± 0%
Hashes/CRC-32,direct,string,n=10MB4.09ms ± 0%
Hashes/CRC-32,digest,bytes,n=10MB670µs ± 0%
Hashes/CRC-32,digest,string,n=10MB4.21ms ± 0%
Hashes/FNV-1a,digest,bytes,n=5B28.3ns ± 0%
Hashes/FNV-1a,digest,string,n=5B59.9ns ± 0%
Hashes/FNV-1a,digest,bytes,n=100B172ns ± 0%
Hashes/FNV-1a,digest,string,n=100B233ns ± 0%
Hashes/FNV-1a,digest,bytes,n=4KB6.04µs ± 0%
Hashes/FNV-1a,digest,string,n=4KB7.05µs ± 0%
Hashes/FNV-1a,digest,bytes,n=10MB15.3ms ± 0%
Hashes/FNV-1a,digest,string,n=10MB17.8ms ± 0%
[Geo mean]77.8µs
 
speed
pkg:github.com/klauspost/compress
Estimate/zeroes-5k403MB/s ± 0%
Estimate/predictable-5k377MB/s ± 0%
Estimate/random-500b263MB/s ± 0%
Estimate/random-5k401MB/s ± 0%
Estimate/random-50k424MB/s ± 0%
Estimate/random-500k383MB/s ± 0%
Estimate/base-32-5k360MB/s ± 0%
Estimate/text367MB/s ± 0%
SnannonEntropyBits/zeroes-5k421MB/s ± 0%
SnannonEntropyBits/predictable-5k329MB/s ± 0%
SnannonEntropyBits/random-500b61.3MB/s ± 0%
SnannonEntropyBits/random-5k393MB/s ± 0%
SnannonEntropyBits/random-50k1.00GB/s ± 0%
SnannonEntropyBits/random-500k1.16GB/s ± 0%
SnannonEntropyBits/base-32-5k972MB/s ± 0%
SnannonEntropyBits/text952MB/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.6MB/s ± 0%
DecodeDigitsSpeed1e567.6MB/s ± 0%
DecodeDigitsSpeed1e671.5MB/s ± 0%
DecodeDigitsDefault1e466.9MB/s ± 0%
DecodeDigitsDefault1e574.6MB/s ± 0%
DecodeDigitsDefault1e675.6MB/s ± 0%
DecodeDigitsCompress1e468.9MB/s ± 0%
DecodeDigitsCompress1e565.9MB/s ± 0%
DecodeDigitsCompress1e658.5MB/s ± 0%
DecodeTwainSpeed1e465.1MB/s ± 0%
DecodeTwainSpeed1e571.0MB/s ± 0%
DecodeTwainSpeed1e672.1MB/s ± 0%
DecodeTwainDefault1e467.7MB/s ± 0%
DecodeTwainDefault1e573.0MB/s ± 0%
DecodeTwainDefault1e677.0MB/s ± 0%
DecodeTwainCompress1e464.9MB/s ± 0%
DecodeTwainCompress1e576.9MB/s ± 0%
DecodeTwainCompress1e681.4MB/s ± 0%
DecodeRandomSpeed1e422.8GB/s ± 0%
DecodeRandomSpeed1e528.8GB/s ± 0%
DecodeRandomSpeed1e626.8GB/s ± 0%
_tokens_EstimatedBits850kB/s ± 0%
EncodeDigitsConstant1e4212MB/s ± 0%
EncodeDigitsConstant1e5199MB/s ± 0%
EncodeDigitsConstant1e6225MB/s ± 0%
EncodeDigitsSpeed1e480.8MB/s ± 0%
EncodeDigitsSpeed1e568.8MB/s ± 0%
EncodeDigitsSpeed1e672.9MB/s ± 0%
EncodeDigitsDefault1e443.6MB/s ± 0%
EncodeDigitsDefault1e538.6MB/s ± 0%
EncodeDigitsDefault1e637.4MB/s ± 0%
EncodeDigitsCompress1e425.9MB/s ± 0%
EncodeDigitsCompress1e518.6MB/s ± 0%
EncodeDigitsCompress1e617.3MB/s ± 0%
EncodeDigitsSL1e482.5MB/s ± 0%
EncodeDigitsSL1e564.3MB/s ± 0%
EncodeDigitsSL1e665.0MB/s ± 0%
EncodeTwainConstant1e4166MB/s ± 0%
EncodeTwainConstant1e5183MB/s ± 0%
EncodeTwainConstant1e6208MB/s ± 0%
EncodeTwainSpeed1e455.2MB/s ± 0%
EncodeTwainSpeed1e565.3MB/s ± 0%
EncodeTwainSpeed1e673.3MB/s ± 0%
EncodeTwainDefault1e442.6MB/s ± 0%
EncodeTwainDefault1e543.4MB/s ± 0%
EncodeTwainDefault1e645.0MB/s ± 0%
EncodeTwainCompress1e424.2MB/s ± 0%
EncodeTwainCompress1e513.6MB/s ± 0%
EncodeTwainCompress1e612.1MB/s ± 0%
EncodeTwainSL1e457.9MB/s ± 0%
EncodeTwainSL1e567.1MB/s ± 0%
EncodeTwainSL1e670.7MB/s ± 0%
pkg:github.com/klauspost/compress/fse
Compress/gettysburg144MB/s ± 0%
Compress/digits186MB/s ± 0%
Compress/twain139MB/s ± 0%
Compress/low-ent182MB/s ± 0%
Compress/superlow-ent154MB/s ± 0%
Compress/endzerobits8.31MB/s ± 0%
Compress/pngdata.001139MB/s ± 0%
Compress/normcount228.8MB/s ± 0%
Decompress/gettysburg202MB/s ± 0%
Decompress/digits280MB/s ± 0%
Decompress/twain218MB/s ± 0%
Decompress/low-ent272MB/s ± 0%
Decompress/superlow-ent260MB/s ± 0%
Decompress/endzerobits17.4MB/s ± 0%
Decompress/pngdata.001258MB/s ± 0%
Decompress/normcount246.0MB/s ± 0%
pkg:github.com/klauspost/compress/gzip
GunzipCopy113MB/s ± 0%
GunzipNoWriteTo113MB/s ± 0%
GunzipStdlib112MB/s ± 0%
GzipLM3121MB/s ± 0%
GzipLM2203MB/s ± 0%
GzipL1100MB/s ± 0%
GzipL2116MB/s ± 0%
GzipL3105MB/s ± 0%
GzipL490.5MB/s ± 0%
GzipL578.0MB/s ± 0%
GzipL673.7MB/s ± 0%
GzipL751.7MB/s ± 0%
GzipL840.0MB/s ± 0%
GzipL911.9MB/s ± 0%
OldGzipL190.6MB/s ± 0%
OldGzipL270.6MB/s ± 0%
OldGzipL364.0MB/s ± 0%
OldGzipL451.0MB/s ± 0%
OldGzipL537.0MB/s ± 0%
OldGzipL634.0MB/s ± 0%
OldGzipL724.7MB/s ± 0%
OldGzipL812.6MB/s ± 0%
OldGzipL911.3MB/s ± 0%
pkg:github.com/klauspost/compress/huff0
Deflate/digits196MB/s ± 0%
Deflate/gettysburg94.0MB/s ± 0%
Deflate/twain199MB/s ± 0%
Deflate/low-ent.10k235MB/s ± 0%
Deflate/superlow-ent-10k180MB/s ± 0%
Deflate/crash216.4MB/s ± 0%
Deflate/endzerobits5.77MB/s ± 0%
Deflate/endnonzero8.01MB/s ± 0%
Deflate/case158.2MB/s ± 0%
Deflate/case246.6MB/s ± 0%
Deflate/case351.1MB/s ± 0%
Deflate/pngdata.001153MB/s ± 0%
Deflate/normcount286.3MB/s ± 0%
Compress1XReuseNone/digits353MB/s ± 0%
Compress1XReuseNone/gettysburg199MB/s ± 0%
Compress1XReuseNone/twain270MB/s ± 0%
Compress1XReuseNone/low-ent.10k371MB/s ± 0%
Compress1XReuseNone/superlow-ent-10k283MB/s ± 0%
Compress1XReuseNone/crash28.64MB/s ± 0%
Compress1XReuseNone/endzerobits10.2MB/s ± 0%
Compress1XReuseNone/endnonzero5.51MB/s ± 0%
Compress1XReuseNone/case111.3MB/s ± 0%
Compress1XReuseNone/case29.37MB/s ± 0%
Compress1XReuseNone/case310.0MB/s ± 0%
Compress1XReuseNone/pngdata.001210MB/s ± 0%
Compress1XReuseNone/normcount227.3MB/s ± 0%
Compress1XReuseAllow/digits354MB/s ± 0%
Compress1XReuseAllow/gettysburg223MB/s ± 0%
Compress1XReuseAllow/twain270MB/s ± 0%
Compress1XReuseAllow/low-ent.10k370MB/s ± 0%
Compress1XReuseAllow/superlow-ent-10k286MB/s ± 0%
Compress1XReuseAllow/crash212.0MB/s ± 0%
Compress1XReuseAllow/endzerobits8.64MB/s ± 0%
Compress1XReuseAllow/endnonzero7.78MB/s ± 0%
Compress1XReuseAllow/case114.7MB/s ± 0%
Compress1XReuseAllow/case212.3MB/s ± 0%
Compress1XReuseAllow/case313.3MB/s ± 0%
Compress1XReuseAllow/pngdata.001215MB/s ± 0%
Compress1XReuseAllow/normcount236.8MB/s ± 0%
Compress1XReusePrefer/digits356MB/s ± 0%
Compress1XReusePrefer/gettysburg316MB/s ± 0%
Compress1XReusePrefer/twain273MB/s ± 0%
Compress1XReusePrefer/low-ent.10k366MB/s ± 0%
Compress1XReusePrefer/superlow-ent-10k285MB/s ± 0%
Compress1XReusePrefer/crash229.1MB/s ± 0%
Compress1XReusePrefer/endzerobits10.7MB/s ± 0%
Compress1XReusePrefer/endnonzero14.8MB/s ± 0%
Compress1XReusePrefer/case185.7MB/s ± 0%
Compress1XReusePrefer/case274.5MB/s ± 0%
Compress1XReusePrefer/case380.0MB/s ± 0%
Compress1XReusePrefer/pngdata.001221MB/s ± 0%
Compress1XReusePrefer/normcount2121MB/s ± 0%
Compress4XReuseNone/digits353MB/s ± 0%
Compress4XReuseNone/gettysburg195MB/s ± 0%
Compress4XReuseNone/twain267MB/s ± 0%
Compress4XReuseNone/low-ent.10k359MB/s ± 0%
Compress4XReuseNone/superlow-ent-10k277MB/s ± 0%
Compress4XReuseNone/case111.0MB/s ± 0%
Compress4XReuseNone/case29.20MB/s ± 0%
Compress4XReuseNone/case39.69MB/s ± 0%
Compress4XReuseNone/pngdata.001214MB/s ± 0%
Compress4XReuseNone/normcount226.2MB/s ± 0%
Compress4XReuseAllow/digits353MB/s ± 0%
Compress4XReuseAllow/gettysburg223MB/s ± 0%
Compress4XReuseAllow/twain267MB/s ± 0%
Compress4XReuseAllow/low-ent.10k368MB/s ± 0%
Compress4XReuseAllow/superlow-ent-10k277MB/s ± 0%
Compress4XReuseAllow/case114.5MB/s ± 0%
Compress4XReuseAllow/case212.1MB/s ± 0%
Compress4XReuseAllow/case312.9MB/s ± 0%
Compress4XReuseAllow/pngdata.001214MB/s ± 0%
Compress4XReuseAllow/normcount235.3MB/s ± 0%
Compress4XReusePrefer/digits355MB/s ± 0%
Compress4XReusePrefer/gettysburg313MB/s ± 0%
Compress4XReusePrefer/twain270MB/s ± 0%
Compress4XReusePrefer/low-ent.10k371MB/s ± 0%
Compress4XReusePrefer/superlow-ent-10k289MB/s ± 0%
Compress4XReusePrefer/case175.7MB/s ± 0%
Compress4XReusePrefer/case264.5MB/s ± 0%
Compress4XReusePrefer/case368.2MB/s ± 0%
Compress4XReusePrefer/pngdata.001221MB/s ± 0%
Compress4XReusePrefer/normcount2107MB/s ± 0%
Compress1XSizes/digits-10047.7MB/s ± 0%
Compress1XSizes/digits-20084.4MB/s ± 0%
Compress1XSizes/digits-500160MB/s ± 0%
Compress1XSizes/digits-1000228MB/s ± 0%
Compress1XSizes/digits-5000343MB/s ± 0%
Compress1XSizes/digits-10000366MB/s ± 0%
Compress1XSizes/digits-50000358MB/s ± 0%
Compress4XSizes/digits-10045.4MB/s ± 0%
Compress4XSizes/digits-20080.1MB/s ± 0%
Compress4XSizes/digits-500154MB/s ± 0%
Compress4XSizes/digits-1000222MB/s ± 0%
Compress4XSizes/digits-5000344MB/s ± 0%
Compress4XSizes/digits-10000365MB/s ± 0%
Compress4XSizes/digits-50000353MB/s ± 0%
Decompress1XTable/digits174MB/s ± 0%
Decompress1XTable/gettysburg152MB/s ± 0%
Decompress1XTable/twain163MB/s ± 0%
Decompress1XTable/low-ent.10k200MB/s ± 0%
Decompress1XTable/superlow-ent-10k197MB/s ± 0%
Decompress1XTable/crash215.7MB/s ± 0%
Decompress1XTable/endzerobits53.6MB/s ± 0%
Decompress1XTable/endnonzero10.8MB/s ± 0%
Decompress1XTable/case119.5MB/s ± 0%
Decompress1XTable/case216.2MB/s ± 0%
Decompress1XTable/case317.0MB/s ± 0%
Decompress1XTable/pngdata.001194MB/s ± 0%
Decompress1XTable/normcount242.0MB/s ± 0%
Decompress1XNoTable/digits175MB/s ± 0%
Decompress1XNoTable/gettysburg190MB/s ± 0%
Decompress1XNoTable/twain159MB/s ± 0%
Decompress1XNoTable/low-ent.10k198MB/s ± 0%
Decompress1XNoTable/superlow-ent-10k201MB/s ± 0%
Decompress1XNoTable/crash2128MB/s ± 0%
Decompress1XNoTable/endzerobits94.6MB/s ± 0%
Decompress1XNoTable/endnonzero108MB/s ± 0%
Decompress1XNoTable/case1171MB/s ± 0%
Decompress1XNoTable/case2161MB/s ± 0%
Decompress1XNoTable/case3161MB/s ± 0%
Decompress1XNoTable/pngdata.001193MB/s ± 0%
Decompress1XNoTable/normcount2177MB/s ± 0%
Decompress4XNoTable/digits225MB/s ± 0%
Decompress4XNoTable/gettysburg282MB/s ± 0%
Decompress4XNoTable/twain201MB/s ± 0%
Decompress4XNoTable/low-ent.10k329MB/s ± 0%
Decompress4XNoTable/superlow-ent-10k321MB/s ± 0%
Decompress4XNoTable/case1109MB/s ± 0%
Decompress4XNoTable/case2108MB/s ± 0%
Decompress4XNoTable/case3112MB/s ± 0%
Decompress4XNoTable/pngdata.001298MB/s ± 0%
Decompress4XNoTable/normcount2131MB/s ± 0%
Decompress4XTable/digits227MB/s ± 0%
Decompress4XTable/gettysburg206MB/s ± 0%
Decompress4XTable/twain193MB/s ± 0%
Decompress4XTable/low-ent.10k325MB/s ± 0%
Decompress4XTable/superlow-ent-10k311MB/s ± 0%
Decompress4XTable/case118.3MB/s ± 0%
Decompress4XTable/case215.4MB/s ± 0%
Decompress4XTable/case316.0MB/s ± 0%
Decompress4XTable/pngdata.001287MB/s ± 0%
Decompress4XTable/normcount238.8MB/s ± 0%
pkg:github.com/klauspost/compress/s2
RandomEncode11.6GB/s ± 0%
RandomEncodeBetter8.85GB/s ± 0%
pkg:github.com/klauspost/compress/snappy
RandomEncode9.27GB/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.zst108MB/s ± 0%
Decoder_DecoderSmall/geo.protodata.zst228MB/s ± 0%
Decoder_DecoderSmall/plrabn12.txt.zst124MB/s ± 0%
Decoder_DecoderSmall/lcet10.txt.zst147MB/s ± 0%
Decoder_DecoderSmall/asyoulik.txt.zst67.8MB/s ± 0%
Decoder_DecoderSmall/alice29.txt.zst60.0MB/s ± 0%
Decoder_DecoderSmall/html_x_4.zst497MB/s ± 0%
Decoder_DecoderSmall/paper-100k.pdf.zst778MB/s ± 0%
Decoder_DecoderSmall/fireworks.jpeg.zst1.15GB/s ± 0%
Decoder_DecoderSmall/urls.10K.zst210MB/s ± 0%
Decoder_DecoderSmall/html.zst223MB/s ± 0%
Decoder_DecoderSmall/comp-data.bin.zst88.9MB/s ± 0%
Decoder_DecodeAll/kppkn.gtb.zst165MB/s ± 0%
Decoder_DecodeAll/geo.protodata.zst453MB/s ± 0%
Decoder_DecodeAll/plrabn12.txt.zst136MB/s ± 0%
Decoder_DecodeAll/lcet10.txt.zst158MB/s ± 0%
Decoder_DecodeAll/asyoulik.txt.zst136MB/s ± 0%
Decoder_DecodeAll/alice29.txt.zst125MB/s ± 0%
Decoder_DecodeAll/html_x_4.zst748MB/s ± 0%
Decoder_DecodeAll/paper-100k.pdf.zst2.45GB/s ± 0%
Decoder_DecodeAll/fireworks.jpeg.zst7.97GB/s ± 0%
Decoder_DecodeAll/urls.10K.zst225MB/s ± 0%
Decoder_DecodeAll/html.zst357MB/s ± 0%
Decoder_DecodeAll/comp-data.bin.zst212MB/s ± 0%
Encoder_EncodeAllXML168MB/s ± 0%
Encoder_EncodeAllSimple/fastest64.9MB/s ± 0%
Encoder_EncodeAllSimple/default49.0MB/s ± 0%
Encoder_EncodeAllSimple4K/fastest90.1MB/s ± 0%
Encoder_EncodeAllSimple4K/default57.6MB/s ± 0%
Encoder_EncodeAllHTML86.8MB/s ± 0%
Encoder_EncodeAllTwain53.6MB/s ± 0%
Encoder_EncodeAllPi38.2MB/s ± 0%
RandomEncodeAllFastest1.28GB/s ± 0%
RandomEncodeAllDefault1.18GB/s ± 0%
RandomEncoderFastest1.39GB/s ± 0%
RandomEncoderDefault1.21GB/s ± 0%
Snappy_ConvertXML250MB/s ± 0%
pkg:github.com/klauspost/compress/zstd/internal/xxhash
Hashes/xxhash,direct,bytes,n=5B709MB/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.47GB/s ± 0%
Hashes/xxhash,direct,string,n=100B1.25GB/s ± 0%
Hashes/xxhash,digest,bytes,n=100B2.46GB/s ± 0%
Hashes/xxhash,digest,string,n=100B1.04GB/s ± 0%
Hashes/xxhash,direct,bytes,n=4KB10.0GB/s ± 0%
Hashes/xxhash,direct,string,n=4KB4.09GB/s ± 0%
Hashes/xxhash,digest,bytes,n=4KB9.42GB/s ± 0%
Hashes/xxhash,digest,string,n=4KB3.98GB/s ± 0%
Hashes/xxhash,direct,bytes,n=10MB10.3GB/s ± 0%
Hashes/xxhash,direct,string,n=10MB1.83GB/s ± 0%
Hashes/xxhash,digest,bytes,n=10MB10.4GB/s ± 0%
Hashes/xxhash,digest,string,n=10MB2.44GB/s ± 0%
Hashes/CRC-32,direct,bytes,n=5B209MB/s ± 0%
Hashes/CRC-32,direct,string,n=5B92.8MB/s ± 0%
Hashes/CRC-32,digest,bytes,n=5B78.3MB/s ± 0%
Hashes/CRC-32,digest,string,n=5B53.7MB/s ± 0%
Hashes/CRC-32,direct,bytes,n=100B2.16GB/s ± 0%
Hashes/CRC-32,direct,string,n=100B928MB/s ± 0%
Hashes/CRC-32,digest,bytes,n=100B1.07GB/s ± 0%
Hashes/CRC-32,digest,string,n=100B662MB/s ± 0%
Hashes/CRC-32,direct,bytes,n=4KB14.0GB/s ± 0%
Hashes/CRC-32,direct,string,n=4KB4.70GB/s ± 0%
Hashes/CRC-32,digest,bytes,n=4KB11.9GB/s ± 0%
Hashes/CRC-32,digest,string,n=4KB4.34GB/s ± 0%
Hashes/CRC-32,direct,bytes,n=10MB14.9GB/s ± 0%
Hashes/CRC-32,direct,string,n=10MB2.45GB/s ± 0%
Hashes/CRC-32,digest,bytes,n=10MB14.9GB/s ± 0%
Hashes/CRC-32,digest,string,n=10MB2.37GB/s ± 0%
Hashes/FNV-1a,digest,bytes,n=5B177MB/s ± 0%
Hashes/FNV-1a,digest,string,n=5B83.5MB/s ± 0%
Hashes/FNV-1a,digest,bytes,n=100B580MB/s ± 0%
Hashes/FNV-1a,digest,string,n=100B429MB/s ± 0%
Hashes/FNV-1a,digest,bytes,n=4KB662MB/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=10MB562MB/s ± 0%
[Geo mean]154MB/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%
DecodeDigitsSpeed1e55.66kB ± 0%
DecodeDigitsSpeed1e639.3kB ± 0%
DecodeDigitsDefault1e4599B ± 0%
DecodeDigitsDefault1e54.95kB ± 0%
DecodeDigitsDefault1e641.9kB ± 0%
DecodeDigitsCompress1e4569B ± 0%
DecodeDigitsCompress1e55.49kB ± 0%
DecodeDigitsCompress1e638.3kB ± 0%
DecodeTwainSpeed1e4613B ± 0%
DecodeTwainSpeed1e55.08kB ± 0%
DecodeTwainSpeed1e640.3kB ± 0%
DecodeTwainDefault1e4530B ± 0%
DecodeTwainDefault1e55.00kB ± 0%
DecodeTwainDefault1e639.6kB ± 0%
DecodeTwainCompress1e4517B ± 0%
DecodeTwainCompress1e54.91kB ± 0%
DecodeTwainCompress1e641.0kB ± 0%
DecodeRandomSpeed1e449.0B ± 0%
DecodeRandomSpeed1e557.0B ± 0%
DecodeRandomSpeed1e6167B ± 0%
_tokens_EstimatedBits
EncodeDigitsConstant1e49.00B ± 0%
EncodeDigitsConstant1e5104B ± 0%
EncodeDigitsConstant1e6768B ± 0%
EncodeDigitsSpeed1e414.6kB ± 0%
EncodeDigitsSpeed1e5188kB ± 0%
EncodeDigitsSpeed1e61.31MB ± 0%
EncodeDigitsDefault1e426.8kB ± 0%
EncodeDigitsDefault1e5329kB ± 0%
EncodeDigitsDefault1e61.31MB ± 0%
EncodeDigitsCompress1e4104B ± 0%
EncodeDigitsCompress1e51.73kB ± 0%
EncodeDigitsCompress1e63.46kB ± 0%
EncodeDigitsSL1e4110B ± 0%
EncodeDigitsSL1e593.9kB ± 0%
EncodeDigitsSL1e61.30MB ± 0%
EncodeTwainConstant1e411.0B ± 0%
EncodeTwainConstant1e5115B ± 0%
EncodeTwainConstant1e6768B ± 0%
EncodeTwainSpeed1e418.3kB ± 0%
EncodeTwainSpeed1e5188kB ± 0%
EncodeTwainSpeed1e61.31MB ± 0%
EncodeTwainDefault1e426.8kB ± 0%
EncodeTwainDefault1e5263kB ± 0%
EncodeTwainDefault1e61.31MB ± 0%
EncodeTwainCompress1e4128B ± 0%
EncodeTwainCompress1e51.73kB ± 0%
EncodeTwainCompress1e63.46kB ± 0%
EncodeTwainSL1e4148B ± 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/digits104B ± 0%
Deflate/gettysburg3.00B ± 0%
Deflate/twain288B ± 0%
Deflate/low-ent.10k33.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.00169.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/digits25.0B ± 0%
Compress1XReuseAllow/gettysburg0.00B
Compress1XReuseAllow/twain85.0B ± 0%
Compress1XReuseAllow/low-ent.10k9.00B ± 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/twain85.0B ± 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/gettysburg4.00B ± 0%
Decompress4XTable/twain52.8kB ± 0%
Decompress4XTable/low-ent.10k596B ± 0%
Decompress4XTable/superlow-ent-10k48.0B ± 0%
Decompress4XTable/case11.00B ± 0%
Decompress4XTable/case21.00B ± 0%
Decompress4XTable/case31.00B ± 0%
Decompress4XTable/pngdata.0011.07kB ± 0%
Decompress4XTable/normcount20.00B
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/default631B ± 0%
Encoder_EncodeAllSimple4K/fastest20.0B ± 0%
Encoder_EncodeAllSimple4K/default32.0B ± 0%
Encoder_EncodeAllHTML394B ± 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.66kB
 
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%
DecodeDigitsSpeed1e54.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.zst12.0 ± 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.96