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-uptime2m20s
host-virtroleguest [perf]
intelpstate-availablefalse
load-avg12.4
load-avg150.29
load-avg50.81
mem-available6.8 GiB
mem-free5.53 GiB
mem-total7.29 GiB
mem-used256.57 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-ref2975b27bbd3d4e85a2488ac289e112bc0dedfebe
toolchain-revision2975b27bbd3d4e85a2488ac289e112bc0dedfebe
toolchain-typesnapshot
upload20200325.18
upload-file7284c29a-8dd7-477b-bf46-928ad2a1cb46.out
upload-part20200325.18/0
upload-time2020-03-25T23:18:21Z
label values
pkg
upload:20200325.18:
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-5k10.8µs ± 0%
Estimate/predictable-5k10.2µs ± 0%
Estimate/random-500b1.70µs ± 0%
Estimate/random-5k10.7µs ± 0%
Estimate/random-50k100µs ± 0%
Estimate/random-500k1.12ms ± 0%
Estimate/base-32-5k12.0µs ± 0%
Estimate/text15.7µs ± 0%
SnannonEntropyBits/zeroes-5k10.7µs ± 0%
SnannonEntropyBits/predictable-5k15.4µs ± 0%
SnannonEntropyBits/random-500b7.82µs ± 0%
SnannonEntropyBits/random-5k12.3µs ± 0%
SnannonEntropyBits/random-50k46.5µs ± 0%
SnannonEntropyBits/random-500k406µs ± 0%
SnannonEntropyBits/base-32-5k5.19µs ± 0%
SnannonEntropyBits/text7.42µs ± 0%
CompressAllocations/level(-2)/flate57.4µs ± 0%
CompressAllocations/level(-2)/gzip57.7µs ± 0%
CompressAllocations/level(-1)/flate466µs ± 0%
CompressAllocations/level(-1)/gzip453µs ± 0%
CompressAllocations/level(0)/flate48.5µs ± 0%
CompressAllocations/level(0)/gzip49.4µs ± 0%
CompressAllocations/level(1)/flate311µs ± 0%
CompressAllocations/level(1)/gzip315µs ± 0%
CompressAllocations/level(2)/flate496µs ± 0%
CompressAllocations/level(2)/gzip483µs ± 0%
CompressAllocations/level(3)/flate404µs ± 0%
CompressAllocations/level(3)/gzip403µs ± 0%
CompressAllocations/level(4)/flate404µs ± 0%
CompressAllocations/level(4)/gzip403µs ± 0%
CompressAllocations/level(5)/flate452µs ± 0%
CompressAllocations/level(5)/gzip464µs ± 0%
CompressAllocations/level(6)/flate439µs ± 0%
CompressAllocations/level(6)/gzip441µs ± 0%
CompressAllocations/level(7)/flate128µs ± 0%
CompressAllocations/level(7)/gzip130µs ± 0%
CompressAllocations/level(8)/flate130µs ± 0%
CompressAllocations/level(8)/gzip128µs ± 0%
CompressAllocations/level(9)/flate128µs ± 0%
CompressAllocations/level(9)/gzip129µs ± 0%
pkg:github.com/klauspost/compress/flate
DecodeDigitsSpeed1e4138µs ± 0%
DecodeDigitsSpeed1e51.41ms ± 0%
DecodeDigitsSpeed1e613.9ms ± 0%
DecodeDigitsDefault1e4149µs ± 0%
DecodeDigitsDefault1e51.34ms ± 0%
DecodeDigitsDefault1e613.3ms ± 0%
DecodeDigitsCompress1e4146µs ± 0%
DecodeDigitsCompress1e51.54ms ± 0%
DecodeDigitsCompress1e615.5ms ± 0%
DecodeTwainSpeed1e4153µs ± 0%
DecodeTwainSpeed1e51.43ms ± 0%
DecodeTwainSpeed1e613.8ms ± 0%
DecodeTwainDefault1e4147µs ± 0%
DecodeTwainDefault1e51.31ms ± 0%
DecodeTwainDefault1e612.7ms ± 0%
DecodeTwainCompress1e4143µs ± 0%
DecodeTwainCompress1e51.25ms ± 0%
DecodeTwainCompress1e612.0ms ± 0%
DecodeRandomSpeed1e4427ns ± 0%
DecodeRandomSpeed1e53.30µs ± 0%
DecodeRandomSpeed1e638.0µs ± 0%
_tokens_EstimatedBits1.15µs ± 0%
EncodeDigitsConstant1e443.1µs ± 0%
EncodeDigitsConstant1e5459µs ± 0%
EncodeDigitsConstant1e64.08ms ± 0%
EncodeDigitsSpeed1e4127µs ± 0%
EncodeDigitsSpeed1e51.43ms ± 0%
EncodeDigitsSpeed1e613.2ms ± 0%
EncodeDigitsDefault1e4224µs ± 0%
EncodeDigitsDefault1e52.59ms ± 0%
EncodeDigitsDefault1e627.2ms ± 0%
EncodeDigitsCompress1e4326µs ± 0%
EncodeDigitsCompress1e55.81ms ± 0%
EncodeDigitsCompress1e659.0ms ± 0%
EncodeDigitsSL1e4124µs ± 0%
EncodeDigitsSL1e51.56ms ± 0%
EncodeDigitsSL1e615.2ms ± 0%
EncodeTwainConstant1e456.1µs ± 0%
EncodeTwainConstant1e5510µs ± 0%
EncodeTwainConstant1e64.45ms ± 0%
EncodeTwainSpeed1e4161µs ± 0%
EncodeTwainSpeed1e51.46ms ± 0%
EncodeTwainSpeed1e614.3ms ± 0%
EncodeTwainDefault1e4239µs ± 0%
EncodeTwainDefault1e52.24ms ± 0%
EncodeTwainDefault1e622.2ms ± 0%
EncodeTwainCompress1e4428µs ± 0%
EncodeTwainCompress1e57.23ms ± 0%
EncodeTwainCompress1e679.6ms ± 0%
EncodeTwainSL1e4166µs ± 0%
EncodeTwainSL1e51.48ms ± 0%
EncodeTwainSL1e614.0ms ± 0%
pkg:github.com/klauspost/compress/fse
Compress/gettysburg11.3µs ± 0%
Compress/digits526µs ± 0%
Compress/twain2.32ms ± 0%
Compress/low-ent218µs ± 0%
Compress/superlow-ent69.3µs ± 0%
Compress/endzerobits618ns ± 0%
Compress/pngdata.001352µs ± 0%
Compress/normcount23.17µs ± 0%
Decompress/gettysburg7.68µs ± 0%
Decompress/digits363µs ± 0%
Decompress/twain1.79ms ± 0%
Decompress/low-ent149µs ± 0%
Decompress/superlow-ent37.2µs ± 0%
Decompress/endzerobits284ns ± 0%
Decompress/pngdata.001179µs ± 0%
Decompress/normcount21.91µs ± 0%
pkg:github.com/klauspost/compress/gzip
GunzipCopy37.4ms ± 0%
GunzipNoWriteTo37.2ms ± 0%
GunzipStdlib37.2ms ± 0%
GzipLM338.7ms ± 0%
GzipLM223.1ms ± 0%
GzipL138.0ms ± 0%
GzipL240.9ms ± 0%
GzipL343.7ms ± 0%
GzipL449.0ms ± 0%
GzipL559.0ms ± 0%
GzipL665.3ms ± 0%
GzipL790.9ms ± 0%
GzipL8119ms ± 0%
GzipL9408ms ± 0%
OldGzipL153.1ms ± 0%
OldGzipL266.7ms ± 0%
OldGzipL374.5ms ± 0%
OldGzipL492.2ms ± 0%
OldGzipL5128ms ± 0%
OldGzipL6139ms ± 0%
OldGzipL7193ms ± 0%
OldGzipL8378ms ± 0%
OldGzipL9420ms ± 0%
pkg:github.com/klauspost/compress/huff0
Deflate/digits460µs ± 0%
Deflate/gettysburg15.6µs ± 0%
Deflate/twain1.20ms ± 0%
Deflate/low-ent.10k151µs ± 0%
Deflate/superlow-ent-10k54.1µs ± 0%
Deflate/crash2706ns ± 0%
Deflate/endzerobits679ns ± 0%
Deflate/endnonzero686ns ± 0%
Deflate/case1755ns ± 0%
Deflate/case2767ns ± 0%
Deflate/case3756ns ± 0%
Deflate/pngdata.001322µs ± 0%
Deflate/normcount2821ns ± 0%
Compress1XReuseNone/digits289µs ± 0%
Compress1XReuseNone/gettysburg7.82µs ± 0%
Compress1XReuseNone/twain911µs ± 0%
Compress1XReuseNone/low-ent.10k108µs ± 0%
Compress1XReuseNone/superlow-ent-10k37.3µs ± 0%
Compress1XReuseNone/crash21.76µs ± 0%
Compress1XReuseNone/endzerobits492ns ± 0%
Compress1XReuseNone/endnonzero1.27µs ± 0%
Compress1XReuseNone/case14.95µs ± 0%
Compress1XReuseNone/case24.82µs ± 0%
Compress1XReuseNone/case34.84µs ± 0%
Compress1XReuseNone/pngdata.001238µs ± 0%
Compress1XReuseNone/normcount23.30µs ± 0%
Compress1XReuseAllow/digits286µs ± 0%
Compress1XReuseAllow/gettysburg6.71µs ± 0%
Compress1XReuseAllow/twain913µs ± 0%
Compress1XReuseAllow/low-ent.10k108µs ± 0%
Compress1XReuseAllow/superlow-ent-10k36.9µs ± 0%
Compress1XReuseAllow/crash21.26µs ± 0%
Compress1XReuseAllow/endzerobits592ns ± 0%
Compress1XReuseAllow/endnonzero908ns ± 0%
Compress1XReuseAllow/case13.69µs ± 0%
Compress1XReuseAllow/case23.55µs ± 0%
Compress1XReuseAllow/case33.63µs ± 0%
Compress1XReuseAllow/pngdata.001233µs ± 0%
Compress1XReuseAllow/normcount22.40µs ± 0%
Compress1XReusePrefer/digits286µs ± 0%
Compress1XReusePrefer/gettysburg4.62µs ± 0%
Compress1XReusePrefer/twain904µs ± 0%
Compress1XReusePrefer/low-ent.10k108µs ± 0%
Compress1XReusePrefer/superlow-ent-10k36.2µs ± 0%
Compress1XReusePrefer/crash2527ns ± 0%
Compress1XReusePrefer/endzerobits475ns ± 0%
Compress1XReusePrefer/endnonzero478ns ± 0%
Compress1XReusePrefer/case1650ns ± 0%
Compress1XReusePrefer/case2614ns ± 0%
Compress1XReusePrefer/case3606ns ± 0%
Compress1XReusePrefer/pngdata.001225µs ± 0%
Compress1XReusePrefer/normcount2729ns ± 0%
Compress4XReuseNone/digits291µs ± 0%
Compress4XReuseNone/gettysburg7.73µs ± 0%
Compress4XReuseNone/twain911µs ± 0%
Compress4XReuseNone/low-ent.10k109µs ± 0%
Compress4XReuseNone/superlow-ent-10k37.9µs ± 0%
Compress4XReuseNone/case15.01µs ± 0%
Compress4XReuseNone/case24.95µs ± 0%
Compress4XReuseNone/case34.98µs ± 0%
Compress4XReuseNone/pngdata.001233µs ± 0%
Compress4XReuseNone/normcount23.38µs ± 0%
Compress4XReuseAllow/digits289µs ± 0%
Compress4XReuseAllow/gettysburg7.02µs ± 0%
Compress4XReuseAllow/twain911µs ± 0%
Compress4XReuseAllow/low-ent.10k109µs ± 0%
Compress4XReuseAllow/superlow-ent-10k37.2µs ± 0%
Compress4XReuseAllow/case13.79µs ± 0%
Compress4XReuseAllow/case23.70µs ± 0%
Compress4XReuseAllow/case33.69µs ± 0%
Compress4XReuseAllow/pngdata.001229µs ± 0%
Compress4XReuseAllow/normcount22.49µs ± 0%
Compress4XReusePrefer/digits289µs ± 0%
Compress4XReusePrefer/gettysburg4.74µs ± 0%
Compress4XReusePrefer/twain912µs ± 0%
Compress4XReusePrefer/low-ent.10k108µs ± 0%
Compress4XReusePrefer/superlow-ent-10k36.8µs ± 0%
Compress4XReusePrefer/case1734ns ± 0%
Compress4XReusePrefer/case2701ns ± 0%
Compress4XReusePrefer/case3706ns ± 0%
Compress4XReusePrefer/pngdata.001224µs ± 0%
Compress4XReusePrefer/normcount2819ns ± 0%
Compress1XSizes/digits-1002.13µs ± 0%
Compress1XSizes/digits-2002.39µs ± 0%
Compress1XSizes/digits-5003.17µs ± 0%
Compress1XSizes/digits-10004.48µs ± 0%
Compress1XSizes/digits-500014.7µs ± 0%
Compress1XSizes/digits-1000027.3µs ± 0%
Compress1XSizes/digits-50000143µs ± 0%
Compress4XSizes/digits-1002.23µs ± 0%
Compress4XSizes/digits-2002.52µs ± 0%
Compress4XSizes/digits-5003.29µs ± 0%
Compress4XSizes/digits-10004.53µs ± 0%
Compress4XSizes/digits-500014.6µs ± 0%
Compress4XSizes/digits-1000027.8µs ± 0%
Compress4XSizes/digits-50000145µs ± 0%
Decompress1XTable/digits559µs ± 0%
Decompress1XTable/gettysburg9.77µs ± 0%
Decompress1XTable/twain1.61ms ± 0%
Decompress1XTable/low-ent.10k199µs ± 0%
Decompress1XTable/superlow-ent-10k53.2µs ± 0%
Decompress1XTable/crash21.02µs ± 0%
Decompress1XTable/endzerobits98.5ns ± 0%
Decompress1XTable/endnonzero643ns ± 0%
Decompress1XTable/case12.77µs ± 0%
Decompress1XTable/case22.90µs ± 0%
Decompress1XTable/case32.81µs ± 0%
Decompress1XTable/pngdata.001273µs ± 0%
Decompress1XTable/normcount22.03µs ± 0%
Decompress1XNoTable/digits561µs ± 0%
Decompress1XNoTable/gettysburg8.36µs ± 0%
Decompress1XNoTable/twain1.64ms ± 0%
Decompress1XNoTable/low-ent.10k202µs ± 0%
Decompress1XNoTable/superlow-ent-10k52.8µs ± 0%
Decompress1XNoTable/crash2122ns ± 0%
Decompress1XNoTable/endzerobits58.7ns ± 0%
Decompress1XNoTable/endnonzero72.4ns ± 0%
Decompress1XNoTable/case1326ns ± 0%
Decompress1XNoTable/case2278ns ± 0%
Decompress1XNoTable/case3300ns ± 0%
Decompress1XNoTable/pngdata.001265µs ± 0%
Decompress1XNoTable/normcount2495ns ± 0%
Decompress4XNoTable/digits469µs ± 0%
Decompress4XNoTable/gettysburg6.00µs ± 0%
Decompress4XNoTable/twain1.41ms ± 0%
Decompress4XNoTable/low-ent.10k126µs ± 0%
Decompress4XNoTable/superlow-ent-10k33.9µs ± 0%
Decompress4XNoTable/case1508ns ± 0%
Decompress4XNoTable/case2431ns ± 0%
Decompress4XNoTable/case3449ns ± 0%
Decompress4XNoTable/pngdata.001180µs ± 0%
Decompress4XNoTable/normcount2660ns ± 0%
Decompress4XTable/digits465µs ± 0%
Decompress4XTable/gettysburg7.81µs ± 0%
Decompress4XTable/twain1.41ms ± 0%
Decompress4XTable/low-ent.10k126µs ± 0%
Decompress4XTable/superlow-ent-10k34.9µs ± 0%
Decompress4XTable/case12.96µs ± 0%
Decompress4XTable/case23.15µs ± 0%
Decompress4XTable/case32.99µs ± 0%
Decompress4XTable/pngdata.001183µs ± 0%
Decompress4XTable/normcount22.18µs ± 0%
pkg:github.com/klauspost/compress/s2
RandomEncode88.0µs ± 0%
RandomEncodeBetter124µs ± 0%
pkg:github.com/klauspost/compress/snappy
RandomEncode113µs ± 0%
ExtendMatch9.17µs ± 0%
pkg:github.com/klauspost/compress/zip
CompressedZipGarbage2.29ms ± 0%
Zip64Test14.9ms ± 0%
Zip64TestSizes/409618.6µs ± 0%
Zip64TestSizes/1048576251µs ± 0%
Zip64TestSizes/6710886414.8ms ± 0%
pkg:github.com/klauspost/compress/zstd
Decoder_DecoderSmall/kppkn.gtb.zst10.2ms ± 0%
Decoder_DecoderSmall/geo.protodata.zst4.41ms ± 0%
Decoder_DecoderSmall/plrabn12.txt.zst32.7ms ± 0%
Decoder_DecoderSmall/lcet10.txt.zst24.8ms ± 0%
Decoder_DecoderSmall/asyoulik.txt.zst15.1ms ± 0%
Decoder_DecoderSmall/alice29.txt.zst20.4ms ± 0%
Decoder_DecoderSmall/html_x_4.zst5.85ms ± 0%
Decoder_DecoderSmall/paper-100k.pdf.zst1.03ms ± 0%
Decoder_DecoderSmall/fireworks.jpeg.zst854µs ± 0%
Decoder_DecoderSmall/urls.10K.zst27.5ms ± 0%
Decoder_DecoderSmall/html.zst4.09ms ± 0%
Decoder_DecoderSmall/comp-data.bin.zst358µs ± 0%
Decoder_DecodeAll/kppkn.gtb.zst1.15ms ± 0%
Decoder_DecodeAll/geo.protodata.zst267µs ± 0%
Decoder_DecodeAll/plrabn12.txt.zst3.78ms ± 0%
Decoder_DecodeAll/lcet10.txt.zst2.84ms ± 0%
Decoder_DecodeAll/asyoulik.txt.zst972µs ± 0%
Decoder_DecodeAll/alice29.txt.zst1.26ms ± 0%
Decoder_DecodeAll/html_x_4.zst454µs ± 0%
Decoder_DecodeAll/paper-100k.pdf.zst42.0µs ± 0%
Decoder_DecodeAll/fireworks.jpeg.zst15.2µs ± 0%
Decoder_DecodeAll/urls.10K.zst3.20ms ± 0%
Decoder_DecodeAll/html.zst302µs ± 0%
Decoder_DecodeAll/comp-data.bin.zst19.9µs ± 0%
Encoder_EncodeAllXML32.0ms ± 0%
Encoder_EncodeAllSimple/fastest623µs ± 0%
Encoder_EncodeAllSimple/default745µs ± 0%
Encoder_EncodeAllSimple4K/fastest44.2µs ± 0%
Encoder_EncodeAllSimple4K/default70.4µs ± 0%
Encoder_EncodeAllHTML513µs ± 0%
Encoder_EncodeAllTwain7.38ms ± 0%
Encoder_EncodeAllPi2.52ms ± 0%
RandomEncodeAllFastest7.97ms ± 0%
RandomEncodeAllDefault9.17ms ± 0%
RandomEncoderFastest6.95ms ± 0%
RandomEncoderDefault8.50ms ± 0%
Snappy_ConvertXML21.9ms ± 0%
pkg:github.com/klauspost/compress/zstd/internal/xxhash
Hashes/xxhash,direct,bytes,n=5B6.94ns ± 0%
Hashes/xxhash,direct,string,n=5B25.7ns ± 0%
Hashes/xxhash,digest,bytes,n=5B29.6ns ± 0%
Hashes/xxhash,digest,string,n=5B35.8ns ± 0%
Hashes/xxhash,direct,bytes,n=100B22.2ns ± 0%
Hashes/xxhash,direct,string,n=100B80.2ns ± 0%
Hashes/xxhash,digest,bytes,n=100B40.4ns ± 0%
Hashes/xxhash,digest,string,n=100B98.2ns ± 0%
Hashes/xxhash,direct,bytes,n=4KB391ns ± 0%
Hashes/xxhash,direct,string,n=4KB1.00µs ± 0%
Hashes/xxhash,digest,bytes,n=4KB417ns ± 0%
Hashes/xxhash,digest,string,n=4KB967ns ± 0%
Hashes/xxhash,direct,bytes,n=10MB964µs ± 0%
Hashes/xxhash,direct,string,n=10MB5.49ms ± 0%
Hashes/xxhash,digest,bytes,n=10MB955µs ± 0%
Hashes/xxhash,digest,string,n=10MB3.94ms ± 0%
Hashes/CRC-32,direct,bytes,n=5B23.9ns ± 0%
Hashes/CRC-32,direct,string,n=5B54.9ns ± 0%
Hashes/CRC-32,digest,bytes,n=5B63.8ns ± 0%
Hashes/CRC-32,digest,string,n=5B97.1ns ± 0%
Hashes/CRC-32,direct,bytes,n=100B46.6ns ± 0%
Hashes/CRC-32,direct,string,n=100B108ns ± 0%
Hashes/CRC-32,digest,bytes,n=100B94.1ns ± 0%
Hashes/CRC-32,digest,string,n=100B153ns ± 0%
Hashes/CRC-32,direct,bytes,n=4KB281ns ± 0%
Hashes/CRC-32,direct,string,n=4KB854ns ± 0%
Hashes/CRC-32,digest,bytes,n=4KB323ns ± 0%
Hashes/CRC-32,digest,string,n=4KB896ns ± 0%
Hashes/CRC-32,direct,bytes,n=10MB681µs ± 0%
Hashes/CRC-32,direct,string,n=10MB4.06ms ± 0%
Hashes/CRC-32,digest,bytes,n=10MB688µs ± 0%
Hashes/CRC-32,digest,string,n=10MB3.75ms ± 0%
Hashes/FNV-1a,digest,bytes,n=5B29.6ns ± 0%
Hashes/FNV-1a,digest,string,n=5B62.0ns ± 0%
Hashes/FNV-1a,digest,bytes,n=100B175ns ± 0%
Hashes/FNV-1a,digest,string,n=100B231ns ± 0%
Hashes/FNV-1a,digest,bytes,n=4KB6.03µs ± 0%
Hashes/FNV-1a,digest,string,n=4KB6.90µs ± 0%
Hashes/FNV-1a,digest,bytes,n=10MB15.1ms ± 0%
Hashes/FNV-1a,digest,string,n=10MB18.0ms ± 0%
[Geo mean]76.6µs
 
speed
pkg:github.com/klauspost/compress
Estimate/zeroes-5k465MB/s ± 0%
Estimate/predictable-5k489MB/s ± 0%
Estimate/random-500b295MB/s ± 0%
Estimate/random-5k469MB/s ± 0%
Estimate/random-50k502MB/s ± 0%
Estimate/random-500k447MB/s ± 0%
Estimate/base-32-5k418MB/s ± 0%
Estimate/text457MB/s ± 0%
SnannonEntropyBits/zeroes-5k467MB/s ± 0%
SnannonEntropyBits/predictable-5k325MB/s ± 0%
SnannonEntropyBits/random-500b63.9MB/s ± 0%
SnannonEntropyBits/random-5k405MB/s ± 0%
SnannonEntropyBits/random-50k1.08GB/s ± 0%
SnannonEntropyBits/random-500k1.23GB/s ± 0%
SnannonEntropyBits/base-32-5k963MB/s ± 0%
SnannonEntropyBits/text967MB/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
DecodeDigitsSpeed1e472.2MB/s ± 0%
DecodeDigitsSpeed1e570.9MB/s ± 0%
DecodeDigitsSpeed1e671.9MB/s ± 0%
DecodeDigitsDefault1e467.3MB/s ± 0%
DecodeDigitsDefault1e574.6MB/s ± 0%
DecodeDigitsDefault1e675.1MB/s ± 0%
DecodeDigitsCompress1e468.4MB/s ± 0%
DecodeDigitsCompress1e565.0MB/s ± 0%
DecodeDigitsCompress1e664.6MB/s ± 0%
DecodeTwainSpeed1e465.5MB/s ± 0%
DecodeTwainSpeed1e570.1MB/s ± 0%
DecodeTwainSpeed1e672.5MB/s ± 0%
DecodeTwainDefault1e468.0MB/s ± 0%
DecodeTwainDefault1e576.6MB/s ± 0%
DecodeTwainDefault1e678.8MB/s ± 0%
DecodeTwainCompress1e469.8MB/s ± 0%
DecodeTwainCompress1e579.9MB/s ± 0%
DecodeTwainCompress1e683.0MB/s ± 0%
DecodeRandomSpeed1e423.4GB/s ± 0%
DecodeRandomSpeed1e530.3GB/s ± 0%
DecodeRandomSpeed1e626.3GB/s ± 0%
_tokens_EstimatedBits870kB/s ± 0%
EncodeDigitsConstant1e4232MB/s ± 0%
EncodeDigitsConstant1e5218MB/s ± 0%
EncodeDigitsConstant1e6245MB/s ± 0%
EncodeDigitsSpeed1e478.9MB/s ± 0%
EncodeDigitsSpeed1e570.1MB/s ± 0%
EncodeDigitsSpeed1e675.6MB/s ± 0%
EncodeDigitsDefault1e444.6MB/s ± 0%
EncodeDigitsDefault1e538.6MB/s ± 0%
EncodeDigitsDefault1e636.8MB/s ± 0%
EncodeDigitsCompress1e430.6MB/s ± 0%
EncodeDigitsCompress1e517.2MB/s ± 0%
EncodeDigitsCompress1e616.9MB/s ± 0%
EncodeDigitsSL1e481.0MB/s ± 0%
EncodeDigitsSL1e563.9MB/s ± 0%
EncodeDigitsSL1e665.8MB/s ± 0%
EncodeTwainConstant1e4178MB/s ± 0%
EncodeTwainConstant1e5196MB/s ± 0%
EncodeTwainConstant1e6225MB/s ± 0%
EncodeTwainSpeed1e462.0MB/s ± 0%
EncodeTwainSpeed1e568.4MB/s ± 0%
EncodeTwainSpeed1e670.0MB/s ± 0%
EncodeTwainDefault1e441.8MB/s ± 0%
EncodeTwainDefault1e544.6MB/s ± 0%
EncodeTwainDefault1e645.0MB/s ± 0%
EncodeTwainCompress1e423.4MB/s ± 0%
EncodeTwainCompress1e513.8MB/s ± 0%
EncodeTwainCompress1e612.6MB/s ± 0%
EncodeTwainSL1e460.1MB/s ± 0%
EncodeTwainSL1e567.6MB/s ± 0%
EncodeTwainSL1e671.4MB/s ± 0%
pkg:github.com/klauspost/compress/fse
Compress/gettysburg137MB/s ± 0%
Compress/digits190MB/s ± 0%
Compress/twain167MB/s ± 0%
Compress/low-ent183MB/s ± 0%
Compress/superlow-ent151MB/s ± 0%
Compress/endzerobits8.10MB/s ± 0%
Compress/pngdata.001145MB/s ± 0%
Compress/normcount227.5MB/s ± 0%
Decompress/gettysburg202MB/s ± 0%
Decompress/digits275MB/s ± 0%
Decompress/twain216MB/s ± 0%
Decompress/low-ent269MB/s ± 0%
Decompress/superlow-ent282MB/s ± 0%
Decompress/endzerobits17.6MB/s ± 0%
Decompress/pngdata.001287MB/s ± 0%
Decompress/normcount245.5MB/s ± 0%
pkg:github.com/klauspost/compress/gzip
GunzipCopy128MB/s ± 0%
GunzipNoWriteTo128MB/s ± 0%
GunzipStdlib128MB/s ± 0%
GzipLM3123MB/s ± 0%
GzipLM2207MB/s ± 0%
GzipL1126MB/s ± 0%
GzipL2117MB/s ± 0%
GzipL3109MB/s ± 0%
GzipL497.5MB/s ± 0%
GzipL580.8MB/s ± 0%
GzipL673.1MB/s ± 0%
GzipL752.5MB/s ± 0%
GzipL840.1MB/s ± 0%
GzipL911.7MB/s ± 0%
OldGzipL189.9MB/s ± 0%
OldGzipL271.6MB/s ± 0%
OldGzipL364.1MB/s ± 0%
OldGzipL451.8MB/s ± 0%
OldGzipL537.4MB/s ± 0%
OldGzipL634.3MB/s ± 0%
OldGzipL724.8MB/s ± 0%
OldGzipL812.6MB/s ± 0%
OldGzipL911.4MB/s ± 0%
pkg:github.com/klauspost/compress/huff0
Deflate/digits217MB/s ± 0%
Deflate/gettysburg99.0MB/s ± 0%
Deflate/twain219MB/s ± 0%
Deflate/low-ent.10k264MB/s ± 0%
Deflate/superlow-ent-10k194MB/s ± 0%
Deflate/crash221.3MB/s ± 0%
Deflate/endzerobits7.36MB/s ± 0%
Deflate/endnonzero10.2MB/s ± 0%
Deflate/case172.8MB/s ± 0%
Deflate/case258.7MB/s ± 0%
Deflate/case363.5MB/s ± 0%
Deflate/pngdata.001159MB/s ± 0%
Deflate/normcount2106MB/s ± 0%
Compress1XReuseNone/digits346MB/s ± 0%
Compress1XReuseNone/gettysburg198MB/s ± 0%
Compress1XReuseNone/twain288MB/s ± 0%
Compress1XReuseNone/low-ent.10k370MB/s ± 0%
Compress1XReuseNone/superlow-ent-10k282MB/s ± 0%
Compress1XReuseNone/crash28.50MB/s ± 0%
Compress1XReuseNone/endzerobits10.2MB/s ± 0%
Compress1XReuseNone/endnonzero5.52MB/s ± 0%
Compress1XReuseNone/case111.1MB/s ± 0%
Compress1XReuseNone/case29.33MB/s ± 0%
Compress1XReuseNone/case39.91MB/s ± 0%
Compress1XReuseNone/pngdata.001215MB/s ± 0%
Compress1XReuseNone/normcount226.4MB/s ± 0%
Compress1XReuseAllow/digits349MB/s ± 0%
Compress1XReuseAllow/gettysburg231MB/s ± 0%
Compress1XReuseAllow/twain287MB/s ± 0%
Compress1XReuseAllow/low-ent.10k371MB/s ± 0%
Compress1XReuseAllow/superlow-ent-10k285MB/s ± 0%
Compress1XReuseAllow/crash211.9MB/s ± 0%
Compress1XReuseAllow/endzerobits8.45MB/s ± 0%
Compress1XReuseAllow/endnonzero7.71MB/s ± 0%
Compress1XReuseAllow/case114.9MB/s ± 0%
Compress1XReuseAllow/case212.7MB/s ± 0%
Compress1XReuseAllow/case313.2MB/s ± 0%
Compress1XReuseAllow/pngdata.001220MB/s ± 0%
Compress1XReuseAllow/normcount236.3MB/s ± 0%
Compress1XReusePrefer/digits350MB/s ± 0%
Compress1XReusePrefer/gettysburg335MB/s ± 0%
Compress1XReusePrefer/twain290MB/s ± 0%
Compress1XReusePrefer/low-ent.10k370MB/s ± 0%
Compress1XReusePrefer/superlow-ent-10k290MB/s ± 0%
Compress1XReusePrefer/crash228.5MB/s ± 0%
Compress1XReusePrefer/endzerobits10.5MB/s ± 0%
Compress1XReusePrefer/endnonzero14.6MB/s ± 0%
Compress1XReusePrefer/case184.7MB/s ± 0%
Compress1XReusePrefer/case273.2MB/s ± 0%
Compress1XReusePrefer/case379.2MB/s ± 0%
Compress1XReusePrefer/pngdata.001228MB/s ± 0%
Compress1XReusePrefer/normcount2119MB/s ± 0%
Compress4XReuseNone/digits343MB/s ± 0%
Compress4XReuseNone/gettysburg200MB/s ± 0%
Compress4XReuseNone/twain288MB/s ± 0%
Compress4XReuseNone/low-ent.10k367MB/s ± 0%
Compress4XReuseNone/superlow-ent-10k277MB/s ± 0%
Compress4XReuseNone/case111.0MB/s ± 0%
Compress4XReuseNone/case29.10MB/s ± 0%
Compress4XReuseNone/case39.64MB/s ± 0%
Compress4XReuseNone/pngdata.001220MB/s ± 0%
Compress4XReuseNone/normcount225.7MB/s ± 0%
Compress4XReuseAllow/digits345MB/s ± 0%
Compress4XReuseAllow/gettysburg221MB/s ± 0%
Compress4XReuseAllow/twain288MB/s ± 0%
Compress4XReuseAllow/low-ent.10k368MB/s ± 0%
Compress4XReuseAllow/superlow-ent-10k283MB/s ± 0%
Compress4XReuseAllow/case114.5MB/s ± 0%
Compress4XReuseAllow/case212.2MB/s ± 0%
Compress4XReuseAllow/case313.0MB/s ± 0%
Compress4XReuseAllow/pngdata.001224MB/s ± 0%
Compress4XReuseAllow/normcount234.9MB/s ± 0%
Compress4XReusePrefer/digits345MB/s ± 0%
Compress4XReusePrefer/gettysburg326MB/s ± 0%
Compress4XReusePrefer/twain288MB/s ± 0%
Compress4XReusePrefer/low-ent.10k370MB/s ± 0%
Compress4XReusePrefer/superlow-ent-10k285MB/s ± 0%
Compress4XReusePrefer/case175.0MB/s ± 0%
Compress4XReusePrefer/case264.2MB/s ± 0%
Compress4XReusePrefer/case368.0MB/s ± 0%
Compress4XReusePrefer/pngdata.001229MB/s ± 0%
Compress4XReusePrefer/normcount2106MB/s ± 0%
Compress1XSizes/digits-10047.0MB/s ± 0%
Compress1XSizes/digits-20083.7MB/s ± 0%
Compress1XSizes/digits-500158MB/s ± 0%
Compress1XSizes/digits-1000223MB/s ± 0%
Compress1XSizes/digits-5000339MB/s ± 0%
Compress1XSizes/digits-10000366MB/s ± 0%
Compress1XSizes/digits-50000349MB/s ± 0%
Compress4XSizes/digits-10044.8MB/s ± 0%
Compress4XSizes/digits-20079.5MB/s ± 0%
Compress4XSizes/digits-500152MB/s ± 0%
Compress4XSizes/digits-1000221MB/s ± 0%
Compress4XSizes/digits-5000344MB/s ± 0%
Compress4XSizes/digits-10000360MB/s ± 0%
Compress4XSizes/digits-50000346MB/s ± 0%
Decompress1XTable/digits179MB/s ± 0%
Decompress1XTable/gettysburg159MB/s ± 0%
Decompress1XTable/twain162MB/s ± 0%
Decompress1XTable/low-ent.10k201MB/s ± 0%
Decompress1XTable/superlow-ent-10k197MB/s ± 0%
Decompress1XTable/crash214.7MB/s ± 0%
Decompress1XTable/endzerobits50.8MB/s ± 0%
Decompress1XTable/endnonzero10.9MB/s ± 0%
Decompress1XTable/case119.8MB/s ± 0%
Decompress1XTable/case215.5MB/s ± 0%
Decompress1XTable/case317.1MB/s ± 0%
Decompress1XTable/pngdata.001187MB/s ± 0%
Decompress1XTable/normcount242.9MB/s ± 0%
Decompress1XNoTable/digits178MB/s ± 0%
Decompress1XNoTable/gettysburg185MB/s ± 0%
Decompress1XNoTable/twain160MB/s ± 0%
Decompress1XNoTable/low-ent.10k198MB/s ± 0%
Decompress1XNoTable/superlow-ent-10k199MB/s ± 0%
Decompress1XNoTable/crash2123MB/s ± 0%
Decompress1XNoTable/endzerobits85.2MB/s ± 0%
Decompress1XNoTable/endnonzero96.8MB/s ± 0%
Decompress1XNoTable/case1169MB/s ± 0%
Decompress1XNoTable/case2162MB/s ± 0%
Decompress1XNoTable/case3160MB/s ± 0%
Decompress1XNoTable/pngdata.001193MB/s ± 0%
Decompress1XNoTable/normcount2176MB/s ± 0%
Decompress4XNoTable/digits213MB/s ± 0%
Decompress4XNoTable/gettysburg258MB/s ± 0%
Decompress4XNoTable/twain186MB/s ± 0%
Decompress4XNoTable/low-ent.10k317MB/s ± 0%
Decompress4XNoTable/superlow-ent-10k310MB/s ± 0%
Decompress4XNoTable/case1108MB/s ± 0%
Decompress4XNoTable/case2104MB/s ± 0%
Decompress4XNoTable/case3107MB/s ± 0%
Decompress4XNoTable/pngdata.001285MB/s ± 0%
Decompress4XNoTable/normcount2132MB/s ± 0%
Decompress4XTable/digits215MB/s ± 0%
Decompress4XTable/gettysburg198MB/s ± 0%
Decompress4XTable/twain186MB/s ± 0%
Decompress4XTable/low-ent.10k317MB/s ± 0%
Decompress4XTable/superlow-ent-10k300MB/s ± 0%
Decompress4XTable/case118.6MB/s ± 0%
Decompress4XTable/case214.3MB/s ± 0%
Decompress4XTable/case316.1MB/s ± 0%
Decompress4XTable/pngdata.001280MB/s ± 0%
Decompress4XTable/normcount239.9MB/s ± 0%
pkg:github.com/klauspost/compress/s2
RandomEncode11.9GB/s ± 0%
RandomEncodeBetter8.47GB/s ± 0%
pkg:github.com/klauspost/compress/snappy
RandomEncode9.30GB/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.zst144MB/s ± 0%
Decoder_DecoderSmall/geo.protodata.zst215MB/s ± 0%
Decoder_DecoderSmall/plrabn12.txt.zst118MB/s ± 0%
Decoder_DecoderSmall/lcet10.txt.zst138MB/s ± 0%
Decoder_DecoderSmall/asyoulik.txt.zst66.2MB/s ± 0%
Decoder_DecoderSmall/alice29.txt.zst59.7MB/s ± 0%
Decoder_DecoderSmall/html_x_4.zst560MB/s ± 0%
Decoder_DecoderSmall/paper-100k.pdf.zst792MB/s ± 0%
Decoder_DecoderSmall/fireworks.jpeg.zst1.15GB/s ± 0%
Decoder_DecoderSmall/urls.10K.zst204MB/s ± 0%
Decoder_DecoderSmall/html.zst200MB/s ± 0%
Decoder_DecoderSmall/comp-data.bin.zst91.0MB/s ± 0%
Decoder_DecodeAll/kppkn.gtb.zst160MB/s ± 0%
Decoder_DecodeAll/geo.protodata.zst444MB/s ± 0%
Decoder_DecodeAll/plrabn12.txt.zst127MB/s ± 0%
Decoder_DecodeAll/lcet10.txt.zst151MB/s ± 0%
Decoder_DecodeAll/asyoulik.txt.zst129MB/s ± 0%
Decoder_DecodeAll/alice29.txt.zst121MB/s ± 0%
Decoder_DecodeAll/html_x_4.zst902MB/s ± 0%
Decoder_DecodeAll/paper-100k.pdf.zst2.44GB/s ± 0%
Decoder_DecodeAll/fireworks.jpeg.zst8.09GB/s ± 0%
Decoder_DecodeAll/urls.10K.zst220MB/s ± 0%
Decoder_DecodeAll/html.zst339MB/s ± 0%
Decoder_DecodeAll/comp-data.bin.zst205MB/s ± 0%
Encoder_EncodeAllXML167MB/s ± 0%
Encoder_EncodeAllSimple/fastest63.9MB/s ± 0%
Encoder_EncodeAllSimple/default53.4MB/s ± 0%
Encoder_EncodeAllSimple4K/fastest92.8MB/s ± 0%
Encoder_EncodeAllSimple4K/default58.2MB/s ± 0%
Encoder_EncodeAllHTML86.7MB/s ± 0%
Encoder_EncodeAllTwain52.5MB/s ± 0%
Encoder_EncodeAllPi39.6MB/s ± 0%
RandomEncodeAllFastest1.32GB/s ± 0%
RandomEncodeAllDefault1.14GB/s ± 0%
RandomEncoderFastest1.51GB/s ± 0%
RandomEncoderDefault1.23GB/s ± 0%
Snappy_ConvertXML244MB/s ± 0%
pkg:github.com/klauspost/compress/zstd/internal/xxhash
Hashes/xxhash,direct,bytes,n=5B721MB/s ± 0%
Hashes/xxhash,direct,string,n=5B194MB/s ± 0%
Hashes/xxhash,digest,bytes,n=5B169MB/s ± 0%
Hashes/xxhash,digest,string,n=5B140MB/s ± 0%
Hashes/xxhash,direct,bytes,n=100B4.50GB/s ± 0%
Hashes/xxhash,direct,string,n=100B1.25GB/s ± 0%
Hashes/xxhash,digest,bytes,n=100B2.47GB/s ± 0%
Hashes/xxhash,digest,string,n=100B1.02GB/s ± 0%
Hashes/xxhash,direct,bytes,n=4KB10.2GB/s ± 0%
Hashes/xxhash,direct,string,n=4KB4.01GB/s ± 0%
Hashes/xxhash,digest,bytes,n=4KB9.60GB/s ± 0%
Hashes/xxhash,digest,string,n=4KB4.14GB/s ± 0%
Hashes/xxhash,direct,bytes,n=10MB10.4GB/s ± 0%
Hashes/xxhash,direct,string,n=10MB1.82GB/s ± 0%
Hashes/xxhash,digest,bytes,n=10MB10.5GB/s ± 0%
Hashes/xxhash,digest,string,n=10MB2.54GB/s ± 0%
Hashes/CRC-32,direct,bytes,n=5B209MB/s ± 0%
Hashes/CRC-32,direct,string,n=5B91.1MB/s ± 0%
Hashes/CRC-32,digest,bytes,n=5B78.4MB/s ± 0%
Hashes/CRC-32,digest,string,n=5B51.5MB/s ± 0%
Hashes/CRC-32,direct,bytes,n=100B2.15GB/s ± 0%
Hashes/CRC-32,direct,string,n=100B928MB/s ± 0%
Hashes/CRC-32,digest,bytes,n=100B1.06GB/s ± 0%
Hashes/CRC-32,digest,string,n=100B654MB/s ± 0%
Hashes/CRC-32,direct,bytes,n=4KB14.2GB/s ± 0%
Hashes/CRC-32,direct,string,n=4KB4.69GB/s ± 0%
Hashes/CRC-32,digest,bytes,n=4KB12.4GB/s ± 0%
Hashes/CRC-32,digest,string,n=4KB4.46GB/s ± 0%
Hashes/CRC-32,direct,bytes,n=10MB14.7GB/s ± 0%
Hashes/CRC-32,direct,string,n=10MB2.46GB/s ± 0%
Hashes/CRC-32,digest,bytes,n=10MB14.5GB/s ± 0%
Hashes/CRC-32,digest,string,n=10MB2.67GB/s ± 0%
Hashes/FNV-1a,digest,bytes,n=5B169MB/s ± 0%
Hashes/FNV-1a,digest,string,n=5B80.7MB/s ± 0%
Hashes/FNV-1a,digest,bytes,n=100B570MB/s ± 0%
Hashes/FNV-1a,digest,string,n=100B433MB/s ± 0%
Hashes/FNV-1a,digest,bytes,n=4KB663MB/s ± 0%
Hashes/FNV-1a,digest,string,n=4KB580MB/s ± 0%
Hashes/FNV-1a,digest,bytes,n=10MB662MB/s ± 0%
Hashes/FNV-1a,digest,string,n=10MB556MB/s ± 0%
[Geo mean]156MB/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
DecodeDigitsSpeed1e4549B ± 0%
DecodeDigitsSpeed1e54.96kB ± 0%
DecodeDigitsSpeed1e639.3kB ± 0%
DecodeDigitsDefault1e4576B ± 0%
DecodeDigitsDefault1e54.95kB ± 0%
DecodeDigitsDefault1e641.9kB ± 0%
DecodeDigitsCompress1e4569B ± 0%
DecodeDigitsCompress1e55.49kB ± 0%
DecodeDigitsCompress1e638.3kB ± 0%
DecodeTwainSpeed1e4597B ± 0%
DecodeTwainSpeed1e55.08kB ± 0%
DecodeTwainSpeed1e640.3kB ± 0%
DecodeTwainDefault1e4524B ± 0%
DecodeTwainDefault1e55.00kB ± 0%
DecodeTwainDefault1e639.6kB ± 0%
DecodeTwainCompress1e4575B ± 0%
DecodeTwainCompress1e54.91kB ± 0%
DecodeTwainCompress1e641.0kB ± 0%
DecodeRandomSpeed1e449.0B ± 0%
DecodeRandomSpeed1e558.0B ± 0%
DecodeRandomSpeed1e6160B ± 0%
_tokens_EstimatedBits
EncodeDigitsConstant1e48.00B ± 0%
EncodeDigitsConstant1e596.0B ± 0%
EncodeDigitsConstant1e6768B ± 0%
EncodeDigitsSpeed1e414.0kB ± 0%
EncodeDigitsSpeed1e5164kB ± 0%
EncodeDigitsSpeed1e61.31MB ± 0%
EncodeDigitsDefault1e425.3kB ± 0%
EncodeDigitsDefault1e5329kB ± 0%
EncodeDigitsDefault1e61.31MB ± 0%
EncodeDigitsCompress1e496.0B ± 0%
EncodeDigitsCompress1e51.73kB ± 0%
EncodeDigitsCompress1e63.46kB ± 0%
EncodeDigitsSL1e4113B ± 0%
EncodeDigitsSL1e593.9kB ± 0%
EncodeDigitsSL1e61.30MB ± 0%
EncodeTwainConstant1e410.0B ± 0%
EncodeTwainConstant1e5115B ± 0%
EncodeTwainConstant1e6768B ± 0%
EncodeTwainSpeed1e418.3kB ± 0%
EncodeTwainSpeed1e5188kB ± 0%
EncodeTwainSpeed1e61.31MB ± 0%
EncodeTwainDefault1e426.8kB ± 0%
EncodeTwainDefault1e5263kB ± 0%
EncodeTwainDefault1e61.31MB ± 0%
EncodeTwainCompress1e4132B ± 0%
EncodeTwainCompress1e51.73kB ± 0%
EncodeTwainCompress1e63.46kB ± 0%
EncodeTwainSL1e4145B ± 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/digits92.0B ± 0%
Deflate/gettysburg3.00B ± 0%
Deflate/twain256B ± 0%
Deflate/low-ent.10k29.0B ± 0%
Deflate/superlow-ent-10k10.0B ± 0%
Deflate/crash20.00B
Deflate/endzerobits0.00B
Deflate/endnonzero0.00B
Deflate/case10.00B
Deflate/case20.00B
Deflate/case30.00B
Deflate/pngdata.00162.0B ± 0%
Deflate/normcount20.00B
Compress1XReuseNone/digits25.0B ± 0%
Compress1XReuseNone/gettysburg0.00B
Compress1XReuseNone/twain78.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.00120.0B ± 0%
Compress1XReuseNone/normcount20.00B
Compress1XReuseAllow/digits27.0B ± 0%
Compress1XReuseAllow/gettysburg0.00B
Compress1XReuseAllow/twain78.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.00120.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/digits26.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/digits25.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.00123.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-5000013.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.69kB ± 0%
Decompress4XTable/gettysburg5.00B ± 0%
Decompress4XTable/twain52.8kB ± 0%
Decompress4XTable/low-ent.10k589B ± 0%
Decompress4XTable/superlow-ent-10k50.0B ± 0%
Decompress4XTable/case11.00B ± 0%
Decompress4XTable/case21.00B ± 0%
Decompress4XTable/case31.00B ± 0%
Decompress4XTable/pngdata.0011.12kB ± 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.zst22.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/fastest19.0B ± 0%
Encoder_EncodeAllSimple4K/default31.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.65kB
 
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.zst13.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.94