linux-amd64-race at ab28b834c4a38bd2295ee43eca4f9e38c28d54a2 :: Running /workdir/go/src/make.bash with args ["/workdir/go/src/make.bash"] and env ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "HOSTNAME=buildlet-linux-amd64-bullseye-rnc3880e5" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=0s" "GO_STAGE0_DL_DELAY=100ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-race" "GO_DISABLE_OUTBOUND_NETWORK=1" "GOBIN=" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache" "PWD=/workdir/go/src"] in dir /workdir/go/src Building Go cmd/dist using /workdir/go1.4. (go1.17.13 linux/amd64) Building Go toolchain1 using /workdir/go1.4. Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. Building Go toolchain2 using go_bootstrap and Go toolchain1. Building Go toolchain3 using go_bootstrap and Go toolchain2. Building packages and commands for linux/amd64. --- Installed Go for linux/amd64 in /workdir/go Installed commands in /workdir/go/bin :: Running /workdir/go/bin/go with args ["/workdir/go/bin/go" "install" "-race" "std"] and env ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "HOSTNAME=buildlet-linux-amd64-bullseye-rnc3880e5" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=0s" "GO_STAGE0_DL_DELAY=100ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-race" "GO_DISABLE_OUTBOUND_NETWORK=1" "GOBIN=" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache" "PWD=/workdir/go/bin"] in dir /workdir/go/bin ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Testing packages. ok archive/tar 1.227s ok archive/zip 2.270s ok bufio 0.293s ok bytes 3.146s ok compress/bzip2 0.466s ok compress/flate 5.634s ok compress/gzip 11.657s ok compress/lzw 0.566s ok compress/zlib 4.664s ok container/heap 0.040s ok container/list 0.029s ok container/ring 0.030s ok context 0.044s ok crypto 0.029s ok crypto/aes 0.071s ok crypto/cipher 0.060s ok crypto/des 0.060s ok crypto/dsa 0.030s ok crypto/ecdh 0.224s ok crypto/ecdsa 0.140s ok crypto/ed25519 0.383s ok crypto/elliptic 0.050s ok crypto/hmac 0.039s ok crypto/internal/alias 0.029s ok crypto/internal/bigmod 2.283s ok crypto/internal/boring 0.030s ok crypto/internal/boring/bcache 0.343s ok crypto/internal/edwards25519 34.597s ok crypto/internal/edwards25519/field 12.575s ok crypto/internal/nistec 0.788s ok crypto/internal/nistec/fiat 0.030s [no tests to run] ok crypto/md5 0.043s ok crypto/rand 0.328s ok crypto/rc4 0.462s ok crypto/rsa 1.367s ok crypto/sha1 0.056s ok crypto/sha256 0.037s ok crypto/sha512 0.031s ok crypto/subtle 0.438s ok crypto/tls 1.502s ok crypto/x509 1.132s ok database/sql 0.344s ok database/sql/driver 0.029s ok debug/buildinfo 0.050s ok debug/dwarf 0.080s ok debug/elf 1.279s ok debug/gosym 0.339s ok debug/macho 0.040s ok debug/pe 0.060s ok debug/plan9obj 0.030s ok embed 0.029s [no tests to run] ok embed/internal/embedtest 0.030s ok encoding/ascii85 0.039s ok encoding/asn1 0.040s ok encoding/base32 0.081s ok encoding/base64 0.039s ok encoding/binary 0.039s ok encoding/csv 0.070s ok encoding/gob 17.264s ok encoding/hex 0.040s ok encoding/json 1.163s ok encoding/pem 2.353s ok encoding/xml 0.227s ok errors 0.040s ok expvar 0.031s ok flag 0.137s ok fmt 0.575s ok go/ast 0.039s ok go/build 4.038s ok go/build/constraint 0.039s ok go/constant 0.039s ok go/doc 0.253s ok go/doc/comment 2.063s ok go/format 0.061s ok go/importer 0.201s ok go/internal/gccgoimporter 0.060s ok go/internal/gcimporter 1.171s ok go/internal/srcimporter 13.151s ok go/parser 0.890s ok go/printer 1.262s ok go/scanner 0.039s ok go/token 0.121s ok go/types 32.320s ok hash 0.037s ok hash/adler32 0.074s ok hash/crc32 0.073s ok hash/crc64 0.039s ok hash/fnv 0.029s ok hash/maphash 0.029s ok html 0.030s ok html/template 0.252s ok image 0.444s ok image/color 0.049s ok image/draw 0.586s ok image/gif 0.952s ok image/jpeg 1.289s ok image/png 3.132s ok index/suffixarray 1.022s ok internal/abi 0.056s ok internal/buildcfg 0.028s ok internal/coverage/cformat 0.029s ok internal/coverage/cmerge 0.029s ok internal/coverage/pods 0.039s ok internal/coverage/slicereader 0.029s ok internal/coverage/slicewriter 0.031s ok internal/coverage/test 0.059s ok internal/cpu 0.087s ok internal/dag 0.029s ok internal/diff 0.029s ok internal/fmtsort 0.032s ok internal/fuzz 0.050s ok internal/godebug 0.031s ok internal/intern 0.228s ok internal/itoa 0.030s ok internal/poll 0.512s ok internal/profile 0.029s ok internal/reflectlite 0.283s ok internal/safefilepath 0.030s ok internal/saferio 0.253s ok internal/singleflight 0.102s ok internal/testenv 0.029s ok internal/trace 0.182s ok internal/types/errors 0.367s ok internal/unsafeheader 0.029s ok internal/xcoff 0.054s ok io 0.072s ok io/fs 0.263s ok io/ioutil 0.040s ok log 0.041s ok log/syslog 1.262s ok maps 0.031s ok math 0.050s ok math/big 3.002s ok math/bits 0.039s ok math/cmplx 0.029s ok math/rand 2.028s ok mime 0.050s ok mime/multipart 6.527s ok mime/quotedprintable 0.072s ok net 20.571s ok net/http 6.600s ok net/http/cgi 0.539s ok net/http/cookiejar 0.041s ok net/http/fcgi 0.149s ok net/http/httptest 0.183s ok net/http/httptrace 0.029s ok net/http/httputil 0.680s ok net/http/internal 0.039s ok net/http/internal/ascii 0.029s ok net/http/pprof 5.207s ok net/internal/socktest 0.029s ok net/mail 0.038s ok net/netip 0.362s ok net/rpc 0.072s ok net/rpc/jsonrpc 0.040s ok net/smtp 0.069s ok net/textproto 0.041s ok net/url 0.051s ok os 0.633s ok os/exec 0.230s ok os/exec/internal/fdtest 0.029s ok os/signal 2.310s ok os/user 0.030s ok path 0.030s ok path/filepath 0.085s ok plugin 0.029s ok reflect 0.550s ok regexp 3.062s ok regexp/syntax 4.402s ok runtime 35.364s ok runtime/cgo 0.031s ok runtime/coverage 0.033s ok runtime/debug 0.115s ok runtime/internal/atomic 0.085s ok runtime/internal/math 0.027s ok runtime/internal/sys 0.032s ok runtime/internal/syscall 0.029s ok runtime/metrics 0.040s ok runtime/pprof 7.703s ok runtime/race 9.786s ok runtime/trace 3.335s ok slices 0.032s ok sort 0.403s ok strconv 2.317s ok strings 1.606s ok sync 0.469s ok sync/atomic 1.759s ok syscall 3.150s ok testing 0.827s ok testing/fstest 0.040s ok testing/iotest 0.029s ok testing/quick 0.204s ok text/scanner 0.042s ok text/tabwriter 0.040s ok text/template 0.133s ok text/template/parse 0.051s ok time 2.327s ok unicode 0.041s ok unicode/utf16 0.032s ok unicode/utf8 0.050s ok cmd/addr2line 1.354s ok cmd/api 7.334s ok cmd/asm/internal/asm 3.229s ok cmd/asm/internal/lex 0.029s ok cmd/compile/internal/abt 0.059s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/amd64 49.201s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/base 0.031s ok cmd/compile/internal/compare 0.029s ok cmd/compile/internal/dwarfgen 0.453s ok cmd/compile/internal/importer 0.890s ok cmd/compile/internal/ir 0.030s ok cmd/compile/internal/logopt 0.225s ok cmd/compile/internal/loopvar 18.397s ok cmd/compile/internal/noder 0.040s ok cmd/compile/internal/reflectdata 0.025s [no tests to run] ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/ssa 17.667s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/syntax 0.151s ok cmd/compile/internal/test 12.180s ok cmd/compile/internal/typecheck 0.264s ok cmd/compile/internal/types 0.029s ok cmd/compile/internal/types2 8.128s ok cmd/covdata 0.031s ok cmd/cover 1.536s ok cmd/dist 0.034s ok cmd/doc 0.776s ok cmd/fix 0.851s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Testing packages. ok cmd/go 31.220s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Testing packages. ok cmd/go/internal/auth 0.029s ok cmd/go/internal/cache 0.127s ok cmd/go/internal/fsys 0.061s ok cmd/go/internal/generate 0.040s ok cmd/go/internal/get 0.039s ok cmd/go/internal/imports 0.039s ok cmd/go/internal/load 0.040s ok cmd/go/internal/lockedfile 0.195s ok cmd/go/internal/lockedfile/internal/filelock 0.080s ok cmd/go/internal/modconv 0.051s ok cmd/go/internal/modfetch 0.040s ok cmd/go/internal/modfetch/codehost 0.049s ok cmd/go/internal/modfetch/zip_sum_test 0.040s ok cmd/go/internal/modindex 0.577s ok cmd/go/internal/modload 0.042s ok cmd/go/internal/mvs 0.051s ok cmd/go/internal/par 0.111s ok cmd/go/internal/str 0.030s ok cmd/go/internal/test 0.052s ok cmd/go/internal/vcs 0.040s ok cmd/go/internal/vcweb 0.042s ok cmd/go/internal/vcweb/vcstest 4.108s ok cmd/go/internal/web 0.029s ok cmd/go/internal/work 0.133s ok cmd/gofmt 0.234s ok cmd/internal/archive 0.439s ok cmd/internal/buildid 0.567s ok cmd/internal/cov 0.303s ok cmd/internal/dwarf 0.033s ok cmd/internal/edit 0.029s ok cmd/internal/goobj 0.030s ok cmd/internal/moddeps 1.051s ok cmd/internal/notsha256 0.047s ok cmd/internal/obj 0.529s ok cmd/internal/obj/ppc64 0.096s ok cmd/internal/obj/riscv 0.051s ok cmd/internal/obj/s390x 0.030s ok cmd/internal/obj/x86 0.173s ok cmd/internal/objabi 0.029s ok cmd/internal/pkgpath 0.151s ok cmd/internal/pkgpattern 0.040s ok cmd/internal/quoted 0.029s ok cmd/internal/src 0.029s ok cmd/internal/test2json 0.706s ok cmd/link 3.277s ok cmd/link/internal/benchmark 0.032s ok cmd/link/internal/ld 2.427s ok cmd/link/internal/loader 0.078s ok cmd/nm 0.853s ok cmd/objdump 1.311s ok cmd/pack 0.547s ok cmd/pprof 1.500s ok cmd/trace 0.289s ok cmd/vet 10.578s ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: archive/tar cpu: Intel(R) Xeon(R) CPU @ 2.20GHz Benchmark/Writer/USTAR-4 2632 39442 ns/op 1368 B/op 25 allocs/op Benchmark/Writer/GNU-4 2431 48357 ns/op 1856 B/op 36 allocs/op Benchmark/Writer/PAX-4 1460 76915 ns/op 2560 B/op 59 allocs/op Benchmark/Reader/USTAR-4 3615 28627 ns/op 5159 B/op 16 allocs/op Benchmark/Reader/GNU-4 5902 19188 ns/op 4994 B/op 14 allocs/op Benchmark/Reader/PAX-4 2071 58297 ns/op 9032 B/op 33 allocs/op PASS ok archive/tar 0.947s goos: linux goarch: amd64 pkg: archive/zip cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCompressedZipGarbage-4 1 337313297 ns/op 14880 B/op 66 allocs/op BenchmarkZip64Test-4 1 162949330 ns/op BenchmarkZip64TestSizes/4096-4 1581 87243 ns/op BenchmarkZip64TestSizes/1048576-4 165 685282 ns/op BenchmarkZip64TestSizes/67108864-4 1 136014928 ns/op PASS ok archive/zip 1.321s goos: linux goarch: amd64 pkg: bufio cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReaderCopyOptimal-4 227919 490.0 ns/op BenchmarkReaderCopyUnoptimal-4 136531 797.2 ns/op BenchmarkReaderCopyNoWriteTo-4 7276 19448 ns/op BenchmarkReaderWriteToOptimal-4 6949 15331 ns/op BenchmarkReaderReadString-4 123694 885.6 ns/op 144 B/op 1 allocs/op BenchmarkWriterCopyOptimal-4 215572 545.2 ns/op BenchmarkWriterCopyUnoptimal-4 215679 545.8 ns/op BenchmarkWriterCopyNoReadFrom-4 6996 16432 ns/op BenchmarkReaderEmpty-4 38344 3061 ns/op 4224 B/op 3 allocs/op BenchmarkWriterEmpty-4 30219 3575 ns/op 4096 B/op 1 allocs/op BenchmarkWriterFlush-4 539443 191.0 ns/op 0 B/op 0 allocs/op PASS ok bufio 1.505s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: bytes cpu: AMD EPYC 7B12 BenchmarkReadString-4 7852 16356 ns/op 2003.37 MB/s BenchmarkWriteByte-4 458 230439 ns/op 17.77 MB/s BenchmarkWriteRune-4 242 454054 ns/op 27.06 MB/s BenchmarkBufferNotEmptyWriteRead-4 32 3529170 ns/op BenchmarkBufferFullSmallReads-4 100 1152242 ns/op BenchmarkBufferWriteBlock/N4096-4 9439 12019 ns/op 14336 B/op 6 allocs/op BenchmarkBufferWriteBlock/N65536-4 625 188196 ns/op 260097 B/op 14 allocs/op BenchmarkBufferWriteBlock/N1048576-4 10 12731509 ns/op 4192256 B/op 22 allocs/op BenchmarkBufferAppendNoCopy-4 10 10037751 ns/op 1671.41 MB/s 3355443 B/op 0 allocs/op BenchmarkIndexByte/10-4 5247250 23.02 ns/op 434.43 MB/s BenchmarkIndexByte/32-4 4651081 24.03 ns/op 1331.52 MB/s BenchmarkIndexByte/4K-4 1000000 115.7 ns/op 35411.46 MB/s BenchmarkIndexBytePortable/10-4 897296 138.5 ns/op 72.18 MB/s BenchmarkIndexBytePortable/32-4 343191 319.5 ns/op 100.16 MB/s BenchmarkIndexBytePortable/4K-4 3043 36942 ns/op 110.88 MB/s BenchmarkIndexRune/10-4 1000000 106.8 ns/op 93.62 MB/s BenchmarkIndexRune/32-4 1000000 103.2 ns/op 310.12 MB/s BenchmarkIndexRune/4K-4 405994 290.3 ns/op 14111.91 MB/s BenchmarkIndexRuneASCII/10-4 5122032 23.28 ns/op 429.62 MB/s BenchmarkIndexRuneASCII/32-4 4929812 24.52 ns/op 1304.85 MB/s BenchmarkIndexRuneASCII/4K-4 979255 115.9 ns/op 35351.45 MB/s BenchmarkEqual/0-4 9760796 11.81 ns/op BenchmarkEqual/1-4 1567579 76.48 ns/op 13.08 MB/s BenchmarkEqual/6-4 1505187 80.14 ns/op 74.87 MB/s BenchmarkEqual/9-4 1488100 79.08 ns/op 113.81 MB/s BenchmarkEqual/15-4 1390562 78.91 ns/op 190.09 MB/s BenchmarkEqual/16-4 1597932 77.12 ns/op 207.48 MB/s BenchmarkEqual/20-4 1434661 82.17 ns/op 243.41 MB/s BenchmarkEqual/32-4 1495362 80.38 ns/op 398.09 MB/s BenchmarkEqual/4K-4 128935 904.6 ns/op 4527.82 MB/s BenchmarkIndex/10-4 3348672 36.61 ns/op 273.16 MB/s BenchmarkIndex/32-4 3357829 35.53 ns/op 900.68 MB/s BenchmarkIndex/4K-4 27330 4369 ns/op 937.61 MB/s BenchmarkIndexEasy/10-4 3515185 35.30 ns/op 283.29 MB/s BenchmarkIndexEasy/32-4 3225932 36.59 ns/op 874.50 MB/s BenchmarkIndexEasy/4K-4 555246 211.9 ns/op 19333.37 MB/s BenchmarkCount/10-4 1388077 76.92 ns/op 130.00 MB/s BenchmarkCount/32-4 1497649 73.55 ns/op 435.07 MB/s BenchmarkCount/4K-4 27153 4428 ns/op 924.97 MB/s BenchmarkCountEasy/10-4 1508368 78.05 ns/op 128.12 MB/s BenchmarkCountEasy/32-4 1596247 72.65 ns/op 440.46 MB/s BenchmarkCountEasy/4K-4 474255 247.7 ns/op 16537.90 MB/s BenchmarkCountSingle/10-4 4018110 29.83 ns/op 335.19 MB/s BenchmarkCountSingle/32-4 3886070 31.16 ns/op 1027.10 MB/s BenchmarkCountSingle/4K-4 852266 136.8 ns/op 29933.01 MB/s BenchmarkToUpper/#00-4 2739231 43.43 ns/op BenchmarkToUpper/ONLYUPPER-4 325530 369.6 ns/op BenchmarkToUpper/abc-4 510972 251.8 ns/op BenchmarkToUpper/AbC123-4 307303 382.7 ns/op BenchmarkToUpper/azAZ09_-4 289899 405.3 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 102848 1208 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 42477 2793 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 64398 1852 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 133368 899.9 ns/op BenchmarkToLower/#00-4 2815804 41.62 ns/op BenchmarkToLower/abc-4 425000 278.1 ns/op BenchmarkToLower/AbC123-4 301359 385.1 ns/op BenchmarkToLower/azAZ09_-4 290094 422.8 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 95665 1283 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 44365 2706 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 72416 1614 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 124815 909.3 ns/op BenchmarkFields/ASCII/16-4 172513 691.6 ns/op 23.14 MB/s 48 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 12387 9335 ns/op 27.42 MB/s 640 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 816 152066 ns/op 26.94 MB/s 9472 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 43 2496941 ns/op 26.25 MB/s 147456 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 3 41317308 ns/op 25.38 MB/s 2269184 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 97104 1210 ns/op 13.22 MB/s 48 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 5660 18363 ns/op 13.94 MB/s 704 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 417 280754 ns/op 14.59 MB/s 24832 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 24 4937126 ns/op 13.27 MB/s 512256 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 2 87014383 ns/op 12.05 MB/s 11219200 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 170233 707.1 ns/op 22.63 MB/s 48 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 12994 8912 ns/op 28.72 MB/s 640 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 735 153059 ns/op 26.76 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 43 2889083 ns/op 22.68 MB/s 512256 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 51344478 ns/op 20.42 MB/s 11211008 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 124226 852.4 ns/op 18.77 MB/s 48 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 8054 12495 ns/op 20.49 MB/s 704 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 546 211625 ns/op 19.35 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 33 3689225 ns/op 17.76 MB/s 512256 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 2 67015826 ns/op 15.65 MB/s 11219200 B/op 24 allocs/op BenchmarkTrimSpace/NoTrim-4 1960664 59.03 ns/op BenchmarkTrimSpace/ASCII-4 1000000 105.7 ns/op BenchmarkTrimSpace/SomeNonASCII-4 108081 1022 ns/op BenchmarkTrimSpace/JustNonASCII-4 49267 2275 ns/op BenchmarkToValidUTF8/Valid-4 514676 228.4 ns/op BenchmarkToValidUTF8/InvalidASCII-4 349348 346.0 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 103934 1154 ns/op BenchmarkIndexHard1-4 1152 99526 ns/op BenchmarkIndexHard2-4 859 138634 ns/op BenchmarkIndexHard3-4 208 576936 ns/op BenchmarkIndexHard4-4 218 572665 ns/op BenchmarkLastIndexHard1-4 6 17507453 ns/op BenchmarkLastIndexHard2-4 5 21004121 ns/op BenchmarkLastIndexHard3-4 5 22664577 ns/op BenchmarkCountHard1-4 1202 99248 ns/op BenchmarkCountHard2-4 860 138236 ns/op BenchmarkCountHard3-4 208 572050 ns/op BenchmarkSplitEmptySeparator-4 2 90082833 ns/op BenchmarkSplitSingleByteSeparator-4 21 6209957 ns/op BenchmarkSplitMultiByteSeparator-4 14 7980380 ns/op BenchmarkSplitNSingleByteSeparator-4 236414 513.5 ns/op BenchmarkSplitNMultiByteSeparator-4 78447 1540 ns/op BenchmarkRepeat-4 193861 575.5 ns/op BenchmarkRepeatLarge/256/1-4 165824 723.2 ns/op 353.97 MB/s BenchmarkRepeatLarge/256/16-4 257544 445.1 ns/op 575.10 MB/s BenchmarkRepeatLarge/512/1-4 123722 908.4 ns/op 563.60 MB/s BenchmarkRepeatLarge/512/16-4 159015 651.0 ns/op 786.50 MB/s BenchmarkRepeatLarge/1024/1-4 85096 1276 ns/op 802.73 MB/s BenchmarkRepeatLarge/1024/16-4 117810 995.2 ns/op 1028.95 MB/s BenchmarkRepeatLarge/2048/1-4 56554 2017 ns/op 1015.29 MB/s BenchmarkRepeatLarge/2048/16-4 70197 1649 ns/op 1241.72 MB/s BenchmarkRepeatLarge/4096/1-4 31906 3440 ns/op 1190.62 MB/s BenchmarkRepeatLarge/4096/16-4 37516 3162 ns/op 1295.51 MB/s BenchmarkRepeatLarge/8192/1-4 18360 6230 ns/op 1314.94 MB/s BenchmarkRepeatLarge/8192/16-4 20422 5909 ns/op 1386.29 MB/s BenchmarkRepeatLarge/8192/4097-4 35161 3487 ns/op 1175.07 MB/s BenchmarkRepeatLarge/16384/1-4 9643 11109 ns/op 1474.84 MB/s BenchmarkRepeatLarge/16384/16-4 11158 10284 ns/op 1593.11 MB/s BenchmarkRepeatLarge/16384/4097-4 13995 8474 ns/op 1450.37 MB/s BenchmarkRepeatLarge/32768/1-4 5367 21044 ns/op 1557.12 MB/s BenchmarkRepeatLarge/32768/16-4 5814 20552 ns/op 1594.42 MB/s BenchmarkRepeatLarge/32768/4097-4 6182 20148 ns/op 1423.43 MB/s BenchmarkRepeatLarge/65536/1-4 2491 43215 ns/op 1516.51 MB/s BenchmarkRepeatLarge/65536/16-4 3162 39576 ns/op 1655.97 MB/s BenchmarkRepeatLarge/65536/4097-4 2768 39719 ns/op 1547.26 MB/s BenchmarkRepeatLarge/131072/1-4 516 224507 ns/op 583.82 MB/s BenchmarkRepeatLarge/131072/16-4 469 220692 ns/op 593.91 MB/s BenchmarkRepeatLarge/131072/4097-4 522 218084 ns/op 582.38 MB/s BenchmarkRepeatLarge/262144/1-4 273 420749 ns/op 623.04 MB/s BenchmarkRepeatLarge/262144/16-4 266 424194 ns/op 617.98 MB/s BenchmarkRepeatLarge/262144/4097-4 285 419918 ns/op 614.67 MB/s BenchmarkRepeatLarge/524288/1-4 140 842211 ns/op 622.51 MB/s BenchmarkRepeatLarge/524288/16-4 140 829244 ns/op 632.25 MB/s BenchmarkRepeatLarge/524288/4097-4 142 900946 ns/op 577.52 MB/s BenchmarkRepeatLarge/1048576/1-4 79 1696117 ns/op 618.22 MB/s BenchmarkRepeatLarge/1048576/16-4 79 1687439 ns/op 621.40 MB/s BenchmarkRepeatLarge/1048576/4097-4 74 1707935 ns/op 611.69 MB/s BenchmarkRepeatLarge/2097152/1-4 40 3160898 ns/op 663.47 MB/s BenchmarkRepeatLarge/2097152/16-4 38 3111356 ns/op 674.03 MB/s BenchmarkRepeatLarge/2097152/4097-4 32 3191442 ns/op 655.99 MB/s BenchmarkRepeatLarge/4194304/1-4 18 6272896 ns/op 668.64 MB/s BenchmarkRepeatLarge/4194304/16-4 18 6152569 ns/op 681.72 MB/s BenchmarkRepeatLarge/4194304/4097-4 18 6151292 ns/op 681.36 MB/s BenchmarkRepeatLarge/8388608/1-4 9 12506456 ns/op 670.74 MB/s BenchmarkRepeatLarge/8388608/16-4 9 12637575 ns/op 663.78 MB/s BenchmarkRepeatLarge/8388608/4097-4 8 12790272 ns/op 655.70 MB/s BenchmarkRepeatLarge/16777216/1-4 5 24770625 ns/op 677.30 MB/s BenchmarkRepeatLarge/16777216/16-4 5 24892857 ns/op 673.98 MB/s BenchmarkRepeatLarge/16777216/4097-4 5 24943985 ns/op 672.60 MB/s BenchmarkRepeatLarge/33554432/1-4 3 45011827 ns/op 745.46 MB/s BenchmarkRepeatLarge/33554432/16-4 3 46585494 ns/op 720.28 MB/s BenchmarkRepeatLarge/33554432/4097-4 3 45687044 ns/op 734.44 MB/s BenchmarkRepeatLarge/67108864/1-4 2 83806168 ns/op 800.76 MB/s BenchmarkRepeatLarge/67108864/16-4 2 85970188 ns/op 780.61 MB/s BenchmarkRepeatLarge/67108864/4097-4 2 83571438 ns/op 803.01 MB/s BenchmarkRepeatLarge/134217728/1-4 1 172249146 ns/op 779.21 MB/s BenchmarkRepeatLarge/134217728/16-4 1 166487838 ns/op 806.17 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 171031517 ns/op 784.75 MB/s BenchmarkRepeatLarge/268435456/1-4 1 330154606 ns/op 813.06 MB/s BenchmarkRepeatLarge/268435456/16-4 1 328819036 ns/op 816.36 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 327090046 ns/op 820.68 MB/s BenchmarkRepeatLarge/536870912/1-4 1 642221204 ns/op 835.96 MB/s BenchmarkRepeatLarge/536870912/16-4 1 633738834 ns/op 847.15 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 649114743 ns/op 827.08 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 1284310167 ns/op 836.05 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 1282972117 ns/op 836.92 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 1261371860 ns/op 851.25 MB/s BenchmarkBytesCompare/1-4 10575018 9.689 ns/op BenchmarkBytesCompare/2-4 12844666 9.189 ns/op BenchmarkBytesCompare/4-4 12282762 9.192 ns/op BenchmarkBytesCompare/8-4 12893550 9.206 ns/op BenchmarkBytesCompare/16-4 12884316 9.265 ns/op BenchmarkBytesCompare/32-4 11378518 9.873 ns/op BenchmarkBytesCompare/64-4 11452874 10.19 ns/op BenchmarkBytesCompare/128-4 10437724 10.53 ns/op BenchmarkBytesCompare/256-4 8845520 12.69 ns/op BenchmarkBytesCompare/512-4 6647832 18.13 ns/op BenchmarkBytesCompare/1024-4 4414239 27.64 ns/op BenchmarkBytesCompare/2048-4 2632153 45.60 ns/op BenchmarkIndexAnyASCII/1:1-4 2412195 48.87 ns/op BenchmarkIndexAnyASCII/1:2-4 2442001 48.53 ns/op BenchmarkIndexAnyASCII/1:4-4 2398041 48.43 ns/op BenchmarkIndexAnyASCII/1:8-4 2428675 48.54 ns/op BenchmarkIndexAnyASCII/1:16-4 2395920 47.31 ns/op BenchmarkIndexAnyASCII/1:32-4 2428146 48.44 ns/op BenchmarkIndexAnyASCII/1:64-4 2248826 47.24 ns/op BenchmarkIndexAnyASCII/16:1-4 2353380 50.82 ns/op BenchmarkIndexAnyASCII/16:2-4 575942 203.4 ns/op BenchmarkIndexAnyASCII/16:4-4 574351 205.6 ns/op BenchmarkIndexAnyASCII/16:8-4 543032 217.1 ns/op BenchmarkIndexAnyASCII/16:16-4 490363 226.5 ns/op BenchmarkIndexAnyASCII/16:32-4 436732 268.2 ns/op BenchmarkIndexAnyASCII/16:64-4 353487 338.3 ns/op BenchmarkIndexAnyASCII/256:1-4 1894990 64.25 ns/op BenchmarkIndexAnyASCII/256:2-4 41968 2518 ns/op BenchmarkIndexAnyASCII/256:4-4 44778 2522 ns/op BenchmarkIndexAnyASCII/256:8-4 44097 2527 ns/op BenchmarkIndexAnyASCII/256:16-4 41922 2708 ns/op BenchmarkIndexAnyASCII/256:32-4 43879 2584 ns/op BenchmarkIndexAnyASCII/256:64-4 42675 2640 ns/op BenchmarkIndexAnyUTF8/1:1-4 2413634 48.98 ns/op BenchmarkIndexAnyUTF8/1:2-4 2429786 47.28 ns/op BenchmarkIndexAnyUTF8/1:4-4 2229417 49.38 ns/op BenchmarkIndexAnyUTF8/1:8-4 2448811 47.81 ns/op BenchmarkIndexAnyUTF8/1:16-4 2481502 47.00 ns/op BenchmarkIndexAnyUTF8/1:32-4 2423404 47.38 ns/op BenchmarkIndexAnyUTF8/1:64-4 2456455 47.01 ns/op BenchmarkIndexAnyUTF8/16:1-4 158822 681.9 ns/op BenchmarkIndexAnyUTF8/16:2-4 309814 356.3 ns/op BenchmarkIndexAnyUTF8/16:4-4 306355 356.5 ns/op BenchmarkIndexAnyUTF8/16:8-4 308913 360.3 ns/op BenchmarkIndexAnyUTF8/16:16-4 335859 352.7 ns/op BenchmarkIndexAnyUTF8/16:32-4 300207 363.8 ns/op BenchmarkIndexAnyUTF8/16:64-4 341380 346.8 ns/op BenchmarkIndexAnyUTF8/256:1-4 10000 10063 ns/op BenchmarkIndexAnyUTF8/256:2-4 24415 4985 ns/op BenchmarkIndexAnyUTF8/256:4-4 23242 5068 ns/op BenchmarkIndexAnyUTF8/256:8-4 21636 5157 ns/op BenchmarkIndexAnyUTF8/256:16-4 23642 4875 ns/op BenchmarkIndexAnyUTF8/256:32-4 22900 5064 ns/op BenchmarkIndexAnyUTF8/256:64-4 23998 4917 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2503868 48.71 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2279724 46.66 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2436327 47.04 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2524179 48.85 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2441706 49.55 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2135751 48.23 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2372287 48.64 ns/op BenchmarkLastIndexAnyASCII/16:1-4 382309 316.3 ns/op BenchmarkLastIndexAnyASCII/16:2-4 369206 280.4 ns/op BenchmarkLastIndexAnyASCII/16:4-4 407047 302.4 ns/op BenchmarkLastIndexAnyASCII/16:8-4 402914 298.8 ns/op BenchmarkLastIndexAnyASCII/16:16-4 369865 306.7 ns/op BenchmarkLastIndexAnyASCII/16:32-4 322552 349.4 ns/op BenchmarkLastIndexAnyASCII/16:64-4 284444 414.5 ns/op BenchmarkLastIndexAnyASCII/256:1-4 29048 3938 ns/op BenchmarkLastIndexAnyASCII/256:2-4 28978 3889 ns/op BenchmarkLastIndexAnyASCII/256:4-4 29628 3945 ns/op BenchmarkLastIndexAnyASCII/256:8-4 29190 3983 ns/op BenchmarkLastIndexAnyASCII/256:16-4 28957 3824 ns/op BenchmarkLastIndexAnyASCII/256:32-4 30795 4014 ns/op BenchmarkLastIndexAnyASCII/256:64-4 26120 4061 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2250705 48.67 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2545214 48.53 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2397562 50.69 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2469694 47.89 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2468794 48.53 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2516865 47.26 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2481715 46.80 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 276349 429.8 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 319910 372.8 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 344544 345.5 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 340963 347.7 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 343784 342.8 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 323806 364.9 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 349874 338.5 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 19645 6198 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 24792 4767 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 24091 4796 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 24608 4771 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 24968 4787 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 23328 5082 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 24825 4648 ns/op BenchmarkTrimASCII/1:1-4 2902264 40.95 ns/op BenchmarkTrimASCII/1:2-4 2477131 48.71 ns/op BenchmarkTrimASCII/1:4-4 2074040 56.73 ns/op BenchmarkTrimASCII/1:8-4 2129305 56.26 ns/op BenchmarkTrimASCII/1:16-4 1822778 66.56 ns/op BenchmarkTrimASCII/16:1-4 558458 205.4 ns/op BenchmarkTrimASCII/16:2-4 395992 302.8 ns/op BenchmarkTrimASCII/16:4-4 377044 310.9 ns/op BenchmarkTrimASCII/16:8-4 409158 290.5 ns/op BenchmarkTrimASCII/16:16-4 400317 300.5 ns/op BenchmarkTrimASCII/256:1-4 47605 2521 ns/op BenchmarkTrimASCII/256:2-4 32668 3705 ns/op BenchmarkTrimASCII/256:4-4 32714 3547 ns/op BenchmarkTrimASCII/256:8-4 32473 3695 ns/op BenchmarkTrimASCII/256:16-4 32326 3709 ns/op BenchmarkTrimASCII/4096:1-4 2719 39482 ns/op BenchmarkTrimASCII/4096:2-4 1874 58346 ns/op BenchmarkTrimASCII/4096:4-4 1796 56951 ns/op BenchmarkTrimASCII/4096:8-4 2025 58260 ns/op BenchmarkTrimASCII/4096:16-4 2043 58454 ns/op BenchmarkTrimByte-4 1673096 70.75 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 18988 6297 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 18946 6294 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 771 153796 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 1501 77038 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 3015 38389 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 5503 19471 ns/op BenchmarkCompareBytesEqual-4 13457487 8.572 ns/op BenchmarkCompareBytesToNil-4 14887784 7.573 ns/op BenchmarkCompareBytesEmpty-4 14641718 7.871 ns/op BenchmarkCompareBytesIdentical-4 14598754 7.219 ns/op BenchmarkCompareBytesSameLength-4 11749489 8.945 ns/op BenchmarkCompareBytesDifferentLength-4 12570934 8.907 ns/op BenchmarkCompareBytesBigUnaligned/offset=1-4 3392 30050 ns/op 34895.02 MB/s BenchmarkCompareBytesBigUnaligned/offset=2-4 3434 30643 ns/op 34219.43 MB/s BenchmarkCompareBytesBigUnaligned/offset=3-4 3391 30542 ns/op 34332.44 MB/s BenchmarkCompareBytesBigUnaligned/offset=4-4 3429 30617 ns/op 34247.93 MB/s BenchmarkCompareBytesBigUnaligned/offset=5-4 3343 30652 ns/op 34209.14 MB/s BenchmarkCompareBytesBigUnaligned/offset=6-4 4141 29484 ns/op 35565.12 MB/s BenchmarkCompareBytesBigUnaligned/offset=7-4 4143 28927 ns/op 36249.93 MB/s BenchmarkCompareBytesBig-4 3391 30274 ns/op 34636.94 MB/s BenchmarkCompareBytesBigIdentical-4 14616180 7.853 ns/op 133523033.13 MB/s PASS ok bytes 54.596s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: compress/bzip2 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecodeDigits-4 2 76569832 ns/op 1.31 MB/s 3620744 B/op 54 allocs/op BenchmarkDecodeNewton-4 1 302071041 ns/op 1.88 MB/s 3629856 B/op 50 allocs/op BenchmarkDecodeRand-4 5 23837236 ns/op 0.69 MB/s 3643396 B/op 51 allocs/op PASS ok compress/bzip2 1.328s goos: linux goarch: amd64 pkg: compress/flate cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecode/Digits/Huffman/1e4-4 61 1734046 ns/op 5.77 MB/s 42556 B/op 5 allocs/op BenchmarkDecode/Digits/Huffman/1e5-4 7 16543315 ns/op 6.04 MB/s 41776 B/op 5 allocs/op BenchmarkDecode/Digits/Huffman/1e6-4 1 169896881 ns/op 5.89 MB/s 49264 B/op 9 allocs/op BenchmarkDecode/Digits/Speed/1e4-4 64 1769791 ns/op 5.65 MB/s 43183 B/op 8 allocs/op BenchmarkDecode/Digits/Speed/1e5-4 6 17389758 ns/op 5.75 MB/s 42272 B/op 11 allocs/op BenchmarkDecode/Digits/Speed/1e6-4 1 178548897 ns/op 5.60 MB/s 53024 B/op 77 allocs/op BenchmarkDecode/Digits/Default/1e4-4 64 1733034 ns/op 5.77 MB/s 42630 B/op 7 allocs/op BenchmarkDecode/Digits/Default/1e5-4 7 16561830 ns/op 6.04 MB/s 44403 B/op 14 allocs/op BenchmarkDecode/Digits/Default/1e6-4 1 166190210 ns/op 6.02 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Digits/Compression/1e4-4 66 1733108 ns/op 5.77 MB/s 43314 B/op 7 allocs/op BenchmarkDecode/Digits/Compression/1e5-4 7 16524108 ns/op 6.05 MB/s 44403 B/op 14 allocs/op BenchmarkDecode/Digits/Compression/1e6-4 1 166711654 ns/op 6.00 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Newton/Huffman/1e4-4 61 1895962 ns/op 5.27 MB/s 44068 B/op 14 allocs/op BenchmarkDecode/Newton/Huffman/1e5-4 6 18275230 ns/op 5.47 MB/s 47833 B/op 24 allocs/op BenchmarkDecode/Newton/Huffman/1e6-4 1 184469744 ns/op 5.42 MB/s 88512 B/op 165 allocs/op BenchmarkDecode/Newton/Speed/1e4-4 73 1499340 ns/op 6.67 MB/s 43521 B/op 18 allocs/op BenchmarkDecode/Newton/Speed/1e5-4 9 12363598 ns/op 8.09 MB/s 44682 B/op 31 allocs/op BenchmarkDecode/Newton/Speed/1e6-4 1 127644738 ns/op 7.83 MB/s 89696 B/op 232 allocs/op BenchmarkDecode/Newton/Default/1e4-4 84 1359585 ns/op 7.36 MB/s 43694 B/op 15 allocs/op BenchmarkDecode/Newton/Default/1e5-4 10 10099498 ns/op 9.90 MB/s 44575 B/op 32 allocs/op BenchmarkDecode/Newton/Default/1e6-4 1 101142934 ns/op 9.89 MB/s 70320 B/op 162 allocs/op BenchmarkDecode/Newton/Compression/1e4-4 79 1360263 ns/op 7.35 MB/s 43133 B/op 15 allocs/op BenchmarkDecode/Newton/Compression/1e5-4 10 10054643 ns/op 9.95 MB/s 47040 B/op 33 allocs/op BenchmarkDecode/Newton/Compression/1e6-4 2 99233174 ns/op 10.08 MB/s 71860 B/op 153 allocs/op BenchmarkEncode/Digits/Huffman/1e4-4 94 1237865 ns/op 8.08 MB/s BenchmarkEncode/Digits/Huffman/1e5-4 9 11763360 ns/op 8.50 MB/s BenchmarkEncode/Digits/Huffman/1e6-4 1 117262819 ns/op 8.53 MB/s BenchmarkEncode/Digits/Speed/1e4-4 46 2278572 ns/op 4.39 MB/s BenchmarkEncode/Digits/Speed/1e5-4 5 20172740 ns/op 4.96 MB/s BenchmarkEncode/Digits/Speed/1e6-4 1 198050631 ns/op 5.05 MB/s BenchmarkEncode/Digits/Default/1e4-4 18 6571439 ns/op 1.52 MB/s BenchmarkEncode/Digits/Default/1e5-4 2 77889322 ns/op 1.28 MB/s BenchmarkEncode/Digits/Default/1e6-4 1 793727598 ns/op 1.26 MB/s BenchmarkEncode/Digits/Compression/1e4-4 18 6520182 ns/op 1.53 MB/s BenchmarkEncode/Digits/Compression/1e5-4 2 76489904 ns/op 1.31 MB/s BenchmarkEncode/Digits/Compression/1e6-4 1 791528950 ns/op 1.26 MB/s BenchmarkEncode/Newton/Huffman/1e4-4 78 1455940 ns/op 6.87 MB/s BenchmarkEncode/Newton/Huffman/1e5-4 9 12538393 ns/op 7.98 MB/s BenchmarkEncode/Newton/Huffman/1e6-4 1 124149159 ns/op 8.05 MB/s BenchmarkEncode/Newton/Speed/1e4-4 48 2111811 ns/op 4.74 MB/s BenchmarkEncode/Newton/Speed/1e5-4 7 16115032 ns/op 6.21 MB/s BenchmarkEncode/Newton/Speed/1e6-4 1 160477896 ns/op 6.23 MB/s BenchmarkEncode/Newton/Default/1e4-4 18 6338922 ns/op 1.58 MB/s BenchmarkEncode/Newton/Default/1e5-4 2 71088454 ns/op 1.41 MB/s BenchmarkEncode/Newton/Default/1e6-4 1 730312384 ns/op 1.37 MB/s BenchmarkEncode/Newton/Compression/1e4-4 18 6656557 ns/op 1.50 MB/s BenchmarkEncode/Newton/Compression/1e5-4 2 89601948 ns/op 1.12 MB/s BenchmarkEncode/Newton/Compression/1e6-4 1 935049578 ns/op 1.07 MB/s PASS ok compress/flate 16.818s goos: linux goarch: amd64 pkg: compress/lzw cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecoder/1e4-4 52 2224992 ns/op 4.49 MB/s BenchmarkDecoder/1e-Reuse4-4 50 2316719 ns/op 4.32 MB/s BenchmarkDecoder/1e5-4 5 21656224 ns/op 4.62 MB/s BenchmarkDecoder/1e-Reuse5-4 5 21940429 ns/op 4.56 MB/s BenchmarkDecoder/1e6-4 1 219126494 ns/op 4.56 MB/s BenchmarkDecoder/1e-Reuse6-4 1 217939952 ns/op 4.59 MB/s BenchmarkEncoder/1e4-4 52 2135351 ns/op 4.68 MB/s BenchmarkEncoder/1e-Reuse4-4 56 1809188 ns/op 5.53 MB/s BenchmarkEncoder/1e5-4 6 18986541 ns/op 5.27 MB/s BenchmarkEncoder/1e-Reuse5-4 6 18726393 ns/op 5.34 MB/s BenchmarkEncoder/1e6-4 1 191774360 ns/op 5.21 MB/s BenchmarkEncoder/1e-Reuse6-4 1 186780941 ns/op 5.35 MB/s PASS ok compress/lzw 2.636s goos: linux goarch: amd64 pkg: container/heap cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDup-4 31 3768343 ns/op PASS ok container/heap 0.250s goos: linux goarch: amd64 pkg: context cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCommonParentCancel-4 20108 5477 ns/op BenchmarkWithTimeout/concurrency=40-4 5048 22861 ns/op BenchmarkWithTimeout/concurrency=4000-4 5277 23174 ns/op BenchmarkWithTimeout/concurrency=400000-4 5190 21779 ns/op BenchmarkCancelTree/depth=1/Root=Background-4 424830 262.9 ns/op BenchmarkCancelTree/depth=1/Root=OpenCanceler-4 13521 9698 ns/op BenchmarkCancelTree/depth=1/Root=ClosedCanceler-4 15960 7299 ns/op BenchmarkCancelTree/depth=10/Root=Background-4 2655 44922 ns/op BenchmarkCancelTree/depth=10/Root=OpenCanceler-4 1684 69194 ns/op BenchmarkCancelTree/depth=10/Root=ClosedCanceler-4 2379 46835 ns/op BenchmarkCancelTree/depth=100/Root=Background-4 235 489420 ns/op BenchmarkCancelTree/depth=100/Root=OpenCanceler-4 171 690796 ns/op BenchmarkCancelTree/depth=100/Root=ClosedCanceler-4 267 569132 ns/op BenchmarkCancelTree/depth=1000/Root=Background-4 21 5161412 ns/op BenchmarkCancelTree/depth=1000/Root=OpenCanceler-4 12 8399270 ns/op BenchmarkCancelTree/depth=1000/Root=ClosedCanceler-4 27 4386926 ns/op BenchmarkCheckCanceled/Err-4 266364 441.3 ns/op BenchmarkCheckCanceled/Done-4 413719 283.6 ns/op BenchmarkContextCancelDone-4 537631 247.9 ns/op BenchmarkDeepValueNewGoRoutine/depth=10-4 25557 4754 ns/op BenchmarkDeepValueNewGoRoutine/depth=20-4 21590 5363 ns/op BenchmarkDeepValueNewGoRoutine/depth=30-4 20108 5864 ns/op BenchmarkDeepValueNewGoRoutine/depth=50-4 17090 7104 ns/op BenchmarkDeepValueNewGoRoutine/depth=100-4 10000 10668 ns/op BenchmarkDeepValueSameGoRoutine/depth=10-4 559126 211.1 ns/op BenchmarkDeepValueSameGoRoutine/depth=20-4 320137 373.0 ns/op BenchmarkDeepValueSameGoRoutine/depth=30-4 222789 535.9 ns/op BenchmarkDeepValueSameGoRoutine/depth=50-4 138298 860.8 ns/op BenchmarkDeepValueSameGoRoutine/depth=100-4 71310 1675 ns/op PASS ok context 10.849s goos: linux goarch: amd64 pkg: crypto/aes cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncrypt-4 1743447 67.98 ns/op 235.36 MB/s BenchmarkDecrypt-4 1705621 69.59 ns/op 229.93 MB/s BenchmarkExpand-4 968035 116.2 ns/op PASS ok crypto/aes 0.539s goos: linux goarch: amd64 pkg: crypto/cipher cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAESGCM/Open-128-64-4 176025 644.1 ns/op 99.36 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-64-4 371048 287.0 ns/op 223.02 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-64-4 180283 660.1 ns/op 96.95 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-64-4 370300 308.2 ns/op 207.68 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-1350-4 117878 1010 ns/op 1336.02 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-1350-4 179911 664.2 ns/op 2032.52 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-1350-4 106820 1108 ns/op 1218.88 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-1350-4 150021 795.8 ns/op 1696.47 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-8192-4 41215 2908 ns/op 2817.12 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-8192-4 52386 2269 ns/op 3609.70 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-8192-4 33810 3499 ns/op 2341.36 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-8192-4 39649 3035 ns/op 2699.21 MB/s 0 B/op 0 allocs/op BenchmarkAESCFBEncrypt1K-4 6889 16082 ns/op 63.36 MB/s BenchmarkAESCFBDecrypt1K-4 7171 16098 ns/op 63.30 MB/s BenchmarkAESCFBDecrypt8K-4 936 126289 ns/op 64.83 MB/s BenchmarkAESOFB1K-4 10000 10710 ns/op 95.14 MB/s BenchmarkAESCTR1K-4 14025 8593 ns/op 118.58 MB/s BenchmarkAESCTR8K-4 1735 67242 ns/op 121.75 MB/s BenchmarkAESCBCEncrypt1K-4 14523 8240 ns/op 124.27 MB/s BenchmarkAESCBCDecrypt1K-4 17740 6801 ns/op 150.57 MB/s PASS ok crypto/cipher 2.846s goos: linux goarch: amd64 pkg: crypto/des cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncrypt-4 75008 1559 ns/op 5.13 MB/s BenchmarkDecrypt-4 80020 1434 ns/op 5.58 MB/s BenchmarkTDESEncrypt-4 31051 3895 ns/op 2.05 MB/s BenchmarkTDESDecrypt-4 32151 3741 ns/op 2.14 MB/s PASS ok crypto/des 0.629s goos: linux goarch: amd64 pkg: crypto/ecdh cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkECDH/P256-4 930 122756 ns/op 759 B/op 12 allocs/op BenchmarkECDH/P384-4 15 7540147 ns/op 1090 B/op 21 allocs/op BenchmarkECDH/P521-4 6 19817504 ns/op 1541 B/op 21 allocs/op BenchmarkECDH/X25519-4 98 1216586 ns/op 375 B/op 9 allocs/op PASS ok crypto/ecdh 0.631s goos: linux goarch: amd64 pkg: crypto/ecdsa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSign/P256-4 1712 63917 ns/op 2543 B/op 33 allocs/op BenchmarkSign/P384-4 45 2580514 ns/op 2712 B/op 34 allocs/op BenchmarkSign/P521-4 19 5834990 ns/op 3096 B/op 35 allocs/op BenchmarkVerify/P256-4 928 125975 ns/op 480 B/op 10 allocs/op BenchmarkVerify/P384-4 14 7694401 ns/op 640 B/op 14 allocs/op BenchmarkVerify/P521-4 5 20209079 ns/op 960 B/op 14 allocs/op BenchmarkGenerateKey/P256-4 3934 29974 ns/op 928 B/op 14 allocs/op BenchmarkGenerateKey/P384-4 62 1885581 ns/op 1127 B/op 17 allocs/op BenchmarkGenerateKey/P521-4 22 5052877 ns/op 1448 B/op 17 allocs/op PASS ok crypto/ecdsa 1.634s goos: linux goarch: amd64 pkg: crypto/ed25519 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkKeyGeneration-4 319 352766 ns/op BenchmarkNewKeyFromSeed-4 331 360068 ns/op BenchmarkSigning-4 314 378862 ns/op BenchmarkVerification-4 217 547435 ns/op PASS ok crypto/ed25519 0.663s goos: linux goarch: amd64 pkg: crypto/elliptic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScalarBaseMult/P256-4 4797 23627 ns/op 368 B/op 6 allocs/op BenchmarkScalarBaseMult/P224-4 157 754938 ns/op 376 B/op 9 allocs/op BenchmarkScalarBaseMult/P384-4 60 1954498 ns/op 504 B/op 9 allocs/op BenchmarkScalarBaseMult/P521-4 22 4923497 ns/op 696 B/op 9 allocs/op BenchmarkScalarMult/P256-4 1380 86139 ns/op 448 B/op 7 allocs/op BenchmarkScalarMult/P224-4 62 1895461 ns/op 440 B/op 10 allocs/op BenchmarkScalarMult/P384-4 22 5115433 ns/op 616 B/op 10 allocs/op BenchmarkScalarMult/P521-4 8 14142387 ns/op 840 B/op 10 allocs/op BenchmarkMarshalUnmarshal/P256/Uncompressed-4 12594 9050 ns/op 544 B/op 8 allocs/op BenchmarkMarshalUnmarshal/P256/Compressed-4 5882 19862 ns/op 592 B/op 9 allocs/op BenchmarkMarshalUnmarshal/P224/Uncompressed-4 3688 29291 ns/op 560 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P224/Compressed-4 88 1271690 ns/op 592 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P384/Uncompressed-4 2516 46096 ns/op 784 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P384/Compressed-4 308 380896 ns/op 848 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P521/Uncompressed-4 1552 75125 ns/op 1104 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P521/Compressed-4 93 1191300 ns/op 1184 B/op 15 allocs/op PASS ok crypto/elliptic 2.319s goos: linux goarch: amd64 pkg: crypto/hmac cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHMACSHA256_1K-4 14959 8129 ns/op 125.96 MB/s BenchmarkHMACSHA256_32-4 24826 4815 ns/op 6.65 MB/s BenchmarkNewWriteSum-4 12147 9329 ns/op 3.43 MB/s PASS ok crypto/hmac 0.625s goos: linux goarch: amd64 pkg: crypto/internal/bigmod cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkModAdd-4 60142 1938 ns/op BenchmarkModSub-4 75999 1541 ns/op BenchmarkMontgomeryRepr-4 26991 4399 ns/op BenchmarkMontgomeryMul-4 28644 4207 ns/op BenchmarkModMul-4 13642 8834 ns/op BenchmarkExpBig-4 15 7298023 ns/op BenchmarkExp-4 7 15611272 ns/op PASS ok crypto/internal/bigmod 1.146s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncodingDecoding-4 3141 33937 ns/op BenchmarkScalarBaseMult-4 345 332964 ns/op BenchmarkScalarMult-4 157 759588 ns/op BenchmarkVarTimeDoubleScalarBaseMult-4 235 502667 ns/op PASS ok crypto/internal/edwards25519 0.651s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519/field cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAdd-4 502722 212.7 ns/op BenchmarkMultiply-4 4287504 28.17 ns/op BenchmarkSquare-4 5285382 22.71 ns/op BenchmarkInvert-4 24639 4834 ns/op BenchmarkMult32-4 1498930 79.38 ns/op PASS ok crypto/internal/edwards25519/field 0.823s goos: linux goarch: amd64 pkg: crypto/internal/nistec cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScalarMult/P224-4 56 1822687 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P256-4 1575 75040 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P384-4 21 5019877 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P521-4 8 13852823 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P224-4 176 651997 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P256-4 7729 15124 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P384-4 67 1662371 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P521-4 26 4137996 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec 1.086s goos: linux goarch: amd64 pkg: crypto/internal/nistec/fiat cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMul/P224-4 637647 174.6 ns/op 0 B/op 0 allocs/op BenchmarkMul/P384-4 319773 351.2 ns/op 0 B/op 0 allocs/op BenchmarkMul/P521-4 122704 956.8 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P224-4 674436 175.4 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P384-4 333975 358.6 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P521-4 124314 956.2 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec/fiat 0.773s goos: linux goarch: amd64 pkg: crypto/md5 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes-4 121630 986.2 ns/op 8.11 MB/s BenchmarkHash64-4 127772 909.3 ns/op 70.38 MB/s BenchmarkHash128-4 117945 1022 ns/op 125.28 MB/s BenchmarkHash256-4 95665 1253 ns/op 204.25 MB/s BenchmarkHash512-4 68508 1738 ns/op 294.61 MB/s BenchmarkHash1K-4 43736 2696 ns/op 379.86 MB/s BenchmarkHash8K-4 7498 16029 ns/op 511.09 MB/s BenchmarkHash1M-4 61 1951587 ns/op 537.29 MB/s BenchmarkHash8M-4 7 15610655 ns/op 537.36 MB/s BenchmarkHash8BytesUnaligned-4 116494 975.9 ns/op 8.20 MB/s BenchmarkHash1KUnaligned-4 43713 2720 ns/op 376.41 MB/s BenchmarkHash8KUnaligned-4 7461 16042 ns/op 510.67 MB/s PASS ok crypto/md5 1.823s goos: linux goarch: amd64 pkg: crypto/rand cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPrime-4 2 90628472 ns/op PASS ok crypto/rand 0.297s goos: linux goarch: amd64 pkg: crypto/rc4 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRC4_128-4 13298 8927 ns/op 14.34 MB/s BenchmarkRC4_1K-4 1581 71711 ns/op 14.28 MB/s BenchmarkRC4_8K-4 210 570866 ns/op 14.18 MB/s PASS ok crypto/rc4 0.550s goos: linux goarch: amd64 pkg: crypto/rsa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecryptPKCS1v15/2048-4 13 9051263 ns/op BenchmarkDecryptPKCS1v15/3072-4 5 20459401 ns/op BenchmarkDecryptPKCS1v15/4096-4 3 38737336 ns/op BenchmarkEncryptPKCS1v15/2048-4 42 2657112 ns/op BenchmarkDecryptOAEP/2048-4 12 8900820 ns/op BenchmarkEncryptOAEP/2048-4 42 2645719 ns/op BenchmarkSignPKCS1v15/2048-4 13 9109828 ns/op BenchmarkVerifyPKCS1v15/2048-4 43 2727030 ns/op BenchmarkSignPSS/2048-4 12 9028719 ns/op BenchmarkVerifyPSS/2048-4 42 2765603 ns/op PASS ok crypto/rsa 1.577s goos: linux goarch: amd64 pkg: crypto/sha1 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 105456 1107 ns/op 7.22 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum-4 125427 922.2 ns/op 8.68 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/New-4 74438 1579 ns/op 202.68 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/Sum-4 85527 1369 ns/op 233.78 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 48886 2447 ns/op 418.43 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum-4 52830 2248 ns/op 455.49 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 9320 11797 ns/op 694.42 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum-4 10000 11636 ns/op 704.02 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha1 1.087s goos: linux goarch: amd64 pkg: crypto/sha256 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 69628 1457 ns/op 5.49 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum224-4 93982 1246 ns/op 6.42 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 89349 1310 ns/op 6.11 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 25695 4666 ns/op 219.47 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum224-4 27008 4467 ns/op 229.21 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 26617 4497 ns/op 227.73 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 4230 28218 ns/op 290.31 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum224-4 4166 28162 ns/op 290.89 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 4201 28334 ns/op 289.12 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha256 1.299s goos: linux goarch: amd64 pkg: crypto/sha512 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 58677 2014 ns/op 3.97 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum384-4 73089 1622 ns/op 4.93 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum512-4 65372 1813 ns/op 4.41 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 28254 4254 ns/op 240.72 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum384-4 31912 3776 ns/op 271.16 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum512-4 30141 3973 ns/op 257.75 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 5634 20158 ns/op 406.39 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum384-4 5976 19886 ns/op 411.95 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum512-4 5941 20154 ns/op 406.46 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha512 1.309s goos: linux goarch: amd64 pkg: crypto/subtle cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkConstantTimeByteEq-4 16664474 7.155 ns/op BenchmarkConstantTimeEq-4 16795182 7.172 ns/op BenchmarkConstantTimeLessOrEq-4 16644109 7.155 ns/op BenchmarkXORBytes/8Bytes-4 4387581 27.89 ns/op 286.82 MB/s BenchmarkXORBytes/128Bytes-4 3879262 31.06 ns/op 4121.01 MB/s BenchmarkXORBytes/2048Bytes-4 901377 130.6 ns/op 15680.03 MB/s BenchmarkXORBytes/32768Bytes-4 61284 1953 ns/op 16781.85 MB/s PASS ok crypto/subtle 0.989s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: crypto/tls cpu: AMD EPYC 7B12 BenchmarkCertCache/0-4 171 734948 ns/op BenchmarkCertCache/1-4 164 729609 ns/op BenchmarkCertCache/2-4 175 694568 ns/op BenchmarkCertCache/3-4 147 793192 ns/op BenchmarkHandshakeServer/RSA-4 43 2641638 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv13-4 33 3175644 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv12-4 36 2915366 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv13-4 129 899884 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv12-4 204 602448 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv13-4 60 1993131 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv12-4 70 1596792 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv13-4 4 27677868 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12-4 4 26209833 ns/op BenchmarkThroughput/MaxPacket/1MB/TLSv12-4 6 17423607 ns/op 60.18 MB/s BenchmarkThroughput/MaxPacket/1MB/TLSv13-4 5 23324603 ns/op 44.96 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv12-4 4 27272308 ns/op 76.90 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv13-4 3 33973824 ns/op 61.73 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv12-4 3 46497868 ns/op 90.20 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv13-4 2 69605642 ns/op 60.26 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv12-4 2 81856422 ns/op 102.48 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv13-4 1 113986094 ns/op 73.59 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv12-4 1 152691414 ns/op 109.88 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv13-4 1 234812556 ns/op 71.45 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv12-4 1 314498369 ns/op 106.69 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv13-4 1 437074843 ns/op 76.77 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv12-4 1 695062831 ns/op 96.55 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv13-4 1 891307936 ns/op 75.29 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv12-4 7 17794951 ns/op 58.93 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv13-4 5 24375825 ns/op 43.02 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv12-4 4 28284713 ns/op 74.14 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv13-4 4 39006444 ns/op 53.76 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv12-4 3 48666398 ns/op 86.18 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv13-4 2 62456292 ns/op 67.16 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv12-4 2 83692262 ns/op 100.23 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv13-4 1 115264873 ns/op 72.78 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv12-4 1 160433084 ns/op 104.57 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv13-4 1 221750567 ns/op 75.66 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv12-4 1 299955529 ns/op 111.86 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv13-4 1 453850014 ns/op 73.93 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv12-4 1 679957130 ns/op 98.70 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv13-4 1 1011041111 ns/op 66.38 MB/s BenchmarkLatency/MaxPacket/200kbps/TLSv12-4 1 702024641 ns/op BenchmarkLatency/MaxPacket/200kbps/TLSv13-4 1 704787711 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv12-4 1 286770949 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv13-4 1 287649299 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv12-4 1 148695254 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv13-4 1 147733205 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv12-4 2 79751292 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv13-4 2 78220862 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv12-4 3 38426911 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv13-4 3 36850621 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv12-4 1 141324624 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv13-4 1 145195885 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv12-4 2 62713196 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv13-4 2 62589382 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv12-4 3 36260018 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv13-4 3 36021011 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv12-4 5 23415349 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv13-4 5 22624667 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv12-4 7 16173968 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv13-4 7 15241376 ns/op PASS ok crypto/tls 17.017s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: crypto/x509 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCreateCertificate/RSA_2048-4 9 11887926 ns/op BenchmarkCreateCertificate/ECDSA_P256-4 324 364235 ns/op BenchmarkParseCertificate/ecdsa_leaf-4 1082 104989 ns/op 13187 B/op 238 allocs/op BenchmarkParseCertificate/rsa_leaf-4 1008 116603 ns/op 14613 B/op 262 allocs/op PASS ok crypto/x509 0.734s goos: linux goarch: amd64 pkg: database/sql cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkConcurrentDBExec-4 38 3213795 ns/op 278227 B/op 1630 allocs/op BenchmarkConcurrentStmtQuery-4 31 3627242 ns/op 262213 B/op 2013 allocs/op BenchmarkConcurrentStmtExec-4 44 2433834 ns/op 215754 B/op 650 allocs/op BenchmarkConcurrentTxQuery-4 38 3260759 ns/op 267160 B/op 2152 allocs/op BenchmarkConcurrentTxExec-4 60 1893107 ns/op 87778 B/op 1554 allocs/op BenchmarkConcurrentTxStmtQuery-4 36 3004189 ns/op 104517 B/op 2073 allocs/op BenchmarkConcurrentTxStmtExec-4 100 1014037 ns/op 40106 B/op 381 allocs/op BenchmarkConcurrentRandom-4 40 2965315 ns/op 226103 B/op 1827 allocs/op BenchmarkManyConcurrentQueries-4 2404 48671 ns/op 3970 B/op 20 allocs/op BenchmarkGrabConn-4 222727 548.8 ns/op 0 B/op 0 allocs/op PASS ok database/sql 1.624s goos: linux goarch: amd64 pkg: debug/gosym cpu: Intel(R) Xeon(R) CPU @ 2.20GHz Benchmark115/NewLineTable-4 241106 502.8 ns/op 384 B/op 3 allocs/op Benchmark115/NewTable-4 74 1589690 ns/op 188266 B/op 14 allocs/op Benchmark115/LineToPC-4 75 1630336 ns/op 0 B/op 0 allocs/op Benchmark115/PCToLine-4 17036 6997 ns/op 0 B/op 0 allocs/op PASS ok debug/gosym 0.775s goos: linux goarch: amd64 pkg: encoding/asn1 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMarshal-4 757 147808 ns/op 9528 B/op 363 allocs/op BenchmarkUnmarshal-4 3151 37967 ns/op 784 B/op 43 allocs/op PASS ok encoding/asn1 0.500s goos: linux goarch: amd64 pkg: encoding/base32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode-4 267 443420 ns/op 18.47 MB/s BenchmarkEncodeToString-4 225 499183 ns/op 16.41 MB/s BenchmarkDecode-4 136 842436 ns/op 15.56 MB/s BenchmarkDecodeString-4 138 842851 ns/op 15.56 MB/s PASS ok encoding/base32 0.734s goos: linux goarch: amd64 pkg: encoding/base64 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncodeToString-4 309 349534 ns/op 23.44 MB/s BenchmarkDecodeString/2-4 270825 421.1 ns/op 9.50 MB/s BenchmarkDecodeString/4-4 222404 534.4 ns/op 14.97 MB/s BenchmarkDecodeString/8-4 181369 648.4 ns/op 18.51 MB/s BenchmarkDecodeString/64-4 33464 3539 ns/op 24.87 MB/s BenchmarkDecodeString/8192-4 314 370747 ns/op 29.46 MB/s BenchmarkNewEncoding-4 91570 1268 ns/op 201.83 MB/s PASS ok encoding/base64 1.016s goos: linux goarch: amd64 pkg: encoding/binary cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadSlice1000Int32s-4 1350 85410 ns/op 46.83 MB/s BenchmarkReadStruct-4 17431 6664 ns/op 11.25 MB/s BenchmarkWriteStruct-4 18735 6294 ns/op 11.92 MB/s BenchmarkReadInts-4 48582 2384 ns/op 12.59 MB/s BenchmarkWriteInts-4 42432 2871 ns/op 10.45 MB/s BenchmarkWriteSlice1000Int32s-4 1266 89536 ns/op 44.67 MB/s BenchmarkPutUint16-4 3548162 33.88 ns/op 59.03 MB/s BenchmarkAppendUint16-4 3734586 32.35 ns/op 61.82 MB/s BenchmarkPutUint32-4 2615462 43.77 ns/op 91.40 MB/s BenchmarkAppendUint32-4 2609652 44.73 ns/op 89.42 MB/s BenchmarkPutUint64-4 1111683 106.2 ns/op 75.31 MB/s BenchmarkAppendUint64-4 1000000 111.5 ns/op 71.77 MB/s BenchmarkLittleEndianPutUint16-4 3590841 33.13 ns/op 60.36 MB/s BenchmarkLittleEndianAppendUint16-4 3579000 33.50 ns/op 59.71 MB/s BenchmarkLittleEndianPutUint32-4 2540620 44.07 ns/op 90.76 MB/s BenchmarkLittleEndianAppendUint32-4 2773806 41.49 ns/op 96.41 MB/s BenchmarkLittleEndianPutUint64-4 1000000 107.9 ns/op 74.13 MB/s BenchmarkLittleEndianAppendUint64-4 1000000 109.5 ns/op 73.09 MB/s BenchmarkReadFloats-4 165882 709.3 ns/op 16.92 MB/s BenchmarkWriteFloats-4 142737 839.4 ns/op 14.30 MB/s BenchmarkReadSlice1000Float32s-4 1214 94809 ns/op 42.19 MB/s BenchmarkWriteSlice1000Float32s-4 1167 100934 ns/op 39.63 MB/s BenchmarkReadSlice1000Uint8s-4 74755 1371 ns/op 729.28 MB/s BenchmarkWriteSlice1000Uint8s-4 94574 1080 ns/op 925.67 MB/s BenchmarkPutUvarint32-4 768828 144.8 ns/op 27.62 MB/s BenchmarkPutUvarint64-4 211748 555.0 ns/op 14.41 MB/s PASS ok encoding/binary 3.899s goos: linux goarch: amd64 pkg: encoding/csv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRead-4 6708 16713 ns/op 736 B/op 16 allocs/op BenchmarkReadWithFieldsPerRecord-4 7029 16756 ns/op 736 B/op 16 allocs/op BenchmarkReadWithoutFieldsPerRecord-4 6190 16844 ns/op 737 B/op 16 allocs/op BenchmarkReadLargeFields-4 3716 27569 ns/op 3938 B/op 24 allocs/op BenchmarkReadReuseRecord-4 7916 15105 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithFieldsPerRecord-4 7298 15106 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithoutFieldsPerRecord-4 7839 15118 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordLargeFields-4 4717 25504 ns/op 2977 B/op 12 allocs/op BenchmarkWrite-4 12643 9088 ns/op PASS ok encoding/csv 1.467s goos: linux goarch: amd64 pkg: encoding/gob cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEndToEndPipe-4 10665 11145 ns/op BenchmarkEndToEndByteBuffer-4 13584 7794 ns/op BenchmarkEndToEndSliceByteBuffer-4 267 388097 ns/op BenchmarkEncodeComplex128Slice-4 807 137099 ns/op BenchmarkEncodeFloat64Slice-4 1341 75067 ns/op BenchmarkEncodeInt32Slice-4 1599 66978 ns/op BenchmarkEncodeStringSlice-4 2427 45331 ns/op BenchmarkEncodeInterfaceSlice-4 69 1621002 ns/op BenchmarkDecodeComplex128Slice-4 649 181158 ns/op BenchmarkDecodeFloat64Slice-4 1362 107925 ns/op BenchmarkDecodeInt32Slice-4 1368 94632 ns/op BenchmarkDecodeStringSlice-4 824 160358 ns/op BenchmarkDecodeStringsSlice-4 346 384033 ns/op BenchmarkDecodeBytesSlice-4 614 203624 ns/op BenchmarkDecodeInterfaceSlice-4 118 1106708 ns/op BenchmarkDecodeMap-4 91 1292931 ns/op PASS ok encoding/gob 3.235s goos: linux goarch: amd64 pkg: encoding/hex cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode/256-4 12788 9511 ns/op 26.92 MB/s BenchmarkEncode/1024-4 2930 37548 ns/op 27.27 MB/s BenchmarkEncode/4096-4 811 146877 ns/op 27.89 MB/s BenchmarkEncode/16384-4 202 589914 ns/op 27.77 MB/s BenchmarkDecode/256-4 23760 5001 ns/op 51.19 MB/s BenchmarkDecode/1024-4 5979 19502 ns/op 52.51 MB/s BenchmarkDecode/4096-4 1531 77571 ns/op 52.80 MB/s BenchmarkDecode/16384-4 387 306319 ns/op 53.49 MB/s BenchmarkDump/256-4 1252 90759 ns/op 2.82 MB/s BenchmarkDump/1024-4 331 354789 ns/op 2.89 MB/s BenchmarkDump/4096-4 82 1418623 ns/op 2.89 MB/s BenchmarkDump/16384-4 19 5969276 ns/op 2.74 MB/s PASS ok encoding/hex 1.770s goos: linux goarch: amd64 pkg: encoding/json cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCodeEncoder-4 1 108485379 ns/op 17.89 MB/s 2144 B/op 17 allocs/op BenchmarkCodeEncoderError-4 1 118203280 ns/op 16.42 MB/s 5888 B/op 77 allocs/op BenchmarkCodeMarshal-4 1 169771267 ns/op 11.43 MB/s 10332936 B/op 60 allocs/op BenchmarkCodeMarshalError-4 1 126102268 ns/op 15.39 MB/s 1947048 B/op 73 allocs/op BenchmarkMarshalBytes/32-4 22293 5326 ns/op BenchmarkMarshalBytes/256-4 5590 21271 ns/op BenchmarkMarshalBytes/4096-4 451 259188 ns/op BenchmarkMarshalBytesError/32-4 61 1865537 ns/op BenchmarkMarshalBytesError/256-4 61 1901717 ns/op BenchmarkMarshalBytesError/4096-4 54 2126330 ns/op BenchmarkCodeDecoder-4 1 423898949 ns/op 4.58 MB/s 11016352 B/op 91357 allocs/op BenchmarkUnicodeDecoder-4 37780 3198 ns/op 4.38 MB/s 40 B/op 2 allocs/op BenchmarkDecoderStream-4 50826 2159 ns/op 16 B/op 1 allocs/op BenchmarkCodeUnmarshal-4 1 367258871 ns/op 5.28 MB/s 2939400 B/op 91327 allocs/op BenchmarkCodeUnmarshalReuse-4 1 357397071 ns/op 5.43 MB/s 2938224 B/op 91327 allocs/op BenchmarkUnmarshalString-4 60242 2130 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalFloat64-4 117819 854.3 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalInt64-4 348366 432.0 ns/op 144 B/op 1 allocs/op BenchmarkIssue10335-4 82141 1573 ns/op 176 B/op 3 allocs/op BenchmarkIssue34127-4 81153 1294 ns/op 84 B/op 2 allocs/op BenchmarkUnmapped-4 18318 6614 ns/op 208 B/op 4 allocs/op BenchmarkTypeFieldsCache/MissTypes1-4 3715 30484 ns/op BenchmarkTypeFieldsCache/MissTypes10-4 807 137003 ns/op BenchmarkTypeFieldsCache/MissTypes100-4 100 1166138 ns/op BenchmarkTypeFieldsCache/MissTypes1000-4 9 11373029 ns/op BenchmarkTypeFieldsCache/HitTypes1-4 483517 245.6 ns/op BenchmarkTypeFieldsCache/HitTypes10-4 455166 256.8 ns/op BenchmarkTypeFieldsCache/HitTypes100-4 465588 264.9 ns/op BenchmarkTypeFieldsCache/HitTypes1000-4 438597 246.8 ns/op BenchmarkEncodeMarshaler-4 69789 1768 ns/op 76 B/op 2 allocs/op BenchmarkEncoderEncode-4 83336 1405 ns/op 43 B/op 0 allocs/op BenchmarkNumberIsValid-4 4246491 26.53 ns/op BenchmarkNumberIsValidRegexp-4 21688 5710 ns/op PASS ok encoding/json 7.505s goos: linux goarch: amd64 pkg: encoding/pem cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode-4 48 2518187 ns/op 26.03 MB/s BenchmarkDecode-4 22 5295987 ns/op 16.76 MB/s PASS ok encoding/pem 0.381s goos: linux goarch: amd64 pkg: encoding/xml cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMarshal-4 2392 45554 ns/op 6280 B/op 24 allocs/op BenchmarkUnmarshal-4 968 125373 ns/op 8290 B/op 188 allocs/op BenchmarkHTMLAutoClose-4 4273 27097 ns/op PASS ok encoding/xml 0.766s goos: linux goarch: amd64 pkg: expvar cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkIntAdd-4 258847 435.1 ns/op BenchmarkIntSet-4 279092 439.4 ns/op BenchmarkFloatAdd-4 60108 2250 ns/op BenchmarkFloatSet-4 370002 385.0 ns/op BenchmarkStringSet-4 340711 365.8 ns/op BenchmarkMapSet-4 69814 1826 ns/op BenchmarkMapSetDifferent-4 45903 2250 ns/op BenchmarkMapSetDifferentRandom-4 234 462646 ns/op BenchmarkMapSetString-4 67986 1928 ns/op BenchmarkMapAddSame-4 38737 3294 ns/op BenchmarkMapAddDifferent-4 14508 7193 ns/op BenchmarkMapAddDifferentRandom-4 195 594897 ns/op BenchmarkMapAddSameSteadyState-4 239041 473.1 ns/op BenchmarkMapAddDifferentSteadyState-4 95800 1107 ns/op BenchmarkRealworldExpvarUsage-4 19588 5113 ns/op PASS ok expvar 2.363s goos: linux goarch: amd64 pkg: fmt cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSprintfPadding-4 97148 1053 ns/op BenchmarkSprintfEmpty-4 403879 295.2 ns/op BenchmarkSprintfString-4 235806 491.0 ns/op BenchmarkSprintfTruncateString-4 257067 444.6 ns/op BenchmarkSprintfTruncateBytes-4 131989 790.9 ns/op BenchmarkSprintfSlowParsingPath-4 270127 454.7 ns/op BenchmarkSprintfQuoteString-4 38745 3066 ns/op BenchmarkSprintfInt-4 278008 476.2 ns/op BenchmarkSprintfIntInt-4 215030 621.9 ns/op BenchmarkSprintfPrefixedInt-4 216951 513.4 ns/op BenchmarkSprintfFloat-4 147864 811.9 ns/op BenchmarkSprintfComplex-4 61028 2015 ns/op BenchmarkSprintfBoolean-4 326218 426.3 ns/op BenchmarkSprintfHexString-4 106290 974.0 ns/op BenchmarkSprintfHexBytes-4 81721 1443 ns/op BenchmarkSprintfBytes-4 41277 2468 ns/op BenchmarkSprintfStringer-4 74276 1677 ns/op BenchmarkSprintfStructure-4 32796 3052 ns/op BenchmarkManyArgs-4 76053 1599 ns/op BenchmarkFprintInt-4 72954 1603 ns/op BenchmarkFprintfBytes-4 79256 1516 ns/op BenchmarkFprintIntNoAlloc-4 74144 1609 ns/op BenchmarkScanInts-4 36 3175446 ns/op BenchmarkScanRecursiveInt-4 1 384048860 ns/op BenchmarkScanRecursiveIntReaderWrapper-4 1 416413663 ns/op PASS ok fmt 4.593s goos: linux goarch: amd64 pkg: go/build cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkImportVendor-4 598 181531 ns/op PASS ok go/build 0.153s goos: linux goarch: amd64 pkg: go/constant cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStringAdd/1-4 40401 2478 ns/op 160 B/op 2 allocs/op BenchmarkStringAdd/4-4 13365 8538 ns/op 832 B/op 9 allocs/op BenchmarkStringAdd/16-4 3559 29907 ns/op 3168 B/op 23 allocs/op BenchmarkStringAdd/64-4 1024 113319 ns/op 11744 B/op 73 allocs/op BenchmarkStringAdd/256-4 256 451718 ns/op 47840 B/op 267 allocs/op BenchmarkStringAdd/1024-4 54 2184239 ns/op 206176 B/op 1038 allocs/op BenchmarkStringAdd/4096-4 13 9180844 ns/op 865632 B/op 4114 allocs/op BenchmarkStringAdd/16384-4 3 39252556 ns/op 3634528 B/op 16407 allocs/op BenchmarkStringAdd/65536-4 1 174357812 ns/op 15258976 B/op 65565 allocs/op PASS ok go/constant 1.535s goos: linux goarch: amd64 pkg: go/format cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFormat/array1-10000-4 1 255452303 ns/op 0.25 MB/s 45925792 B/op 48861 allocs/op PASS ok go/format 0.317s goos: linux goarch: amd64 pkg: go/parser cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkParse-4 6 19975908 ns/op 2.70 MB/s BenchmarkParseOnly-4 6 16996266 ns/op 3.17 MB/s BenchmarkResolve-4 46 2436879 ns/op 22.10 MB/s PASS ok go/parser 1.329s goos: linux goarch: amd64 pkg: go/printer cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPrintFile-4 1 150480077 ns/op 0.34 MB/s 4866680 B/op 27582 allocs/op BenchmarkPrintDecl-4 668 155563 ns/op 0.21 MB/s 15894 B/op 51 allocs/op PASS ok go/printer 0.317s goos: linux goarch: amd64 pkg: go/scanner cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScan-4 261 449953 ns/op BenchmarkScanFiles/go/types/expr.go-4 12 8717916 ns/op 6.28 MB/s BenchmarkScanFiles/go/parser/parser.go-4 9 12250509 ns/op 5.87 MB/s BenchmarkScanFiles/net/http/server.go-4 6 17219143 ns/op 6.57 MB/s BenchmarkScanFiles/go/scanner/errors.go-4 222 538266 ns/op 5.72 MB/s PASS ok go/scanner 0.740s goos: linux goarch: amd64 pkg: go/token cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSearchInts-4 1000000 102.1 ns/op PASS ok go/token 0.138s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: go/types cpu: AMD EPYC 7B12 BenchmarkLookupFieldOrMethod-4 181 674388 ns/op BenchmarkNamed/Underlying/nongeneric-4 1297602 92.08 ns/op BenchmarkNamed/Underlying/generic-4 1334109 90.91 ns/op BenchmarkNamed/Underlying/src_instance-4 1329462 91.25 ns/op BenchmarkNamed/Underlying/user_instance-4 1248717 89.86 ns/op BenchmarkNamed/NewMethodSet/nongeneric-4 23734 4984 ns/op BenchmarkNamed/NewMethodSet/generic-4 24043 4978 ns/op BenchmarkNamed/NewMethodSet/src_instance-4 22891 4985 ns/op BenchmarkNamed/NewMethodSet/user_instance-4 23023 4945 ns/op BenchmarkCheck/http/funcbodies/info-4 1 450593374 ns/op 67736 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 352903791 ns/op 86487 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 200786566 ns/op 151993 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 188253375 ns/op 162078 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 338083470 ns/op 15148 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 2 99352643 ns/op 51540 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 2 60668106 ns/op 84337 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 2 60196647 ns/op 85060 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 139764605 ns/op 15501 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 2 58286106 ns/op 37163 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 3 44182701 ns/op 49033 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 3 43323808 ns/op 50007 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 771690513 ns/op 81985 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 487848460 ns/op 129682 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 118789330 ns/op 532377 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 2 101640156 ns/op 622336 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 1544229757 ns/op 1291 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 90142712 ns/op 22106 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 2 73824299 ns/op 26988 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 2 73708898 ns/op 27024 lines/s PASS ok go/types 18.224s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: hash/adler32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAdler32KB-4 8792 13624 ns/op 75.16 MB/s PASS ok hash/adler32 0.251s goos: linux goarch: amd64 pkg: hash/crc32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCRC32/poly=IEEE/size=15/align=0-4 196081 577.8 ns/op 25.96 MB/s BenchmarkCRC32/poly=IEEE/size=15/align=1-4 208734 543.4 ns/op 27.60 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=0-4 105846 1116 ns/op 35.83 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=1-4 114490 1041 ns/op 38.41 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=0-4 467926 250.1 ns/op 2046.85 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=1-4 479059 248.5 ns/op 2060.24 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=0-4 402265 292.5 ns/op 3500.70 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=1-4 408106 288.5 ns/op 3549.59 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=0-4 240015 490.3 ns/op 8354.77 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=1-4 247822 481.9 ns/op 8499.21 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=0-4 51812 2261 ns/op 14489.55 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=1-4 53394 2229 ns/op 14701.24 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=0-4 443170 258.5 ns/op 58.02 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=1-4 464913 248.7 ns/op 60.30 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=0-4 451230 258.0 ns/op 155.05 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=1-4 457674 255.7 ns/op 156.46 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=0-4 317942 371.1 ns/op 1379.67 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=1-4 316002 371.9 ns/op 1376.63 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=0-4 254774 458.3 ns/op 2234.33 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=1-4 253762 465.5 ns/op 2199.73 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=0-4 217546 542.9 ns/op 7544.07 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=1-4 208677 556.2 ns/op 7364.22 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=0-4 46142 2595 ns/op 12627.15 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=1-4 45702 2621 ns/op 12500.18 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=0-4 200457 587.4 ns/op 25.54 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=1-4 200457 591.4 ns/op 25.36 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=0-4 97580 1213 ns/op 32.98 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=1-4 106120 1125 ns/op 35.55 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=0-4 7196 16637 ns/op 30.78 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=1-4 6879 16782 ns/op 30.51 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=0-4 3409 34612 ns/op 29.58 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=1-4 3474 34320 ns/op 29.84 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=0-4 867 138029 ns/op 29.67 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=1-4 868 139019 ns/op 29.46 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=0-4 100 1109315 ns/op 29.54 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=1-4 100 1099675 ns/op 29.80 MB/s PASS ok hash/crc32 4.620s goos: linux goarch: amd64 pkg: hash/crc64 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCrc64/ISO64KB-4 84 1398056 ns/op 46.88 MB/s BenchmarkCrc64/ISO4KB-4 976 118696 ns/op 34.51 MB/s BenchmarkCrc64/ISO1KB-4 4411 25530 ns/op 40.11 MB/s BenchmarkCrc64/ECMA64KB-4 84 1395415 ns/op 46.97 MB/s BenchmarkCrc64/Random64KB-4 91 1245904 ns/op 52.60 MB/s BenchmarkCrc64/Random16KB-4 358 323785 ns/op 50.60 MB/s PASS ok hash/crc64 0.784s goos: linux goarch: amd64 pkg: hash/fnv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFnv32KB-4 8763 13705 ns/op 74.72 MB/s BenchmarkFnv32aKB-4 8754 13712 ns/op 74.68 MB/s BenchmarkFnv64KB-4 8481 13771 ns/op 74.36 MB/s BenchmarkFnv64aKB-4 8448 13798 ns/op 74.21 MB/s BenchmarkFnv128KB-4 2072 57648 ns/op 17.76 MB/s BenchmarkFnv128aKB-4 2058 56097 ns/op 18.25 MB/s PASS ok hash/fnv 0.954s goos: linux goarch: amd64 pkg: hash/maphash cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash/n=4/Write-4 531134 192.1 ns/op 20.82 MB/s BenchmarkHash/n=4/Bytes-4 4035092 29.10 ns/op 137.43 MB/s BenchmarkHash/n=4/String-4 1754292 68.04 ns/op 58.79 MB/s BenchmarkHash/n=8/Write-4 554756 195.1 ns/op 41.01 MB/s BenchmarkHash/n=8/Bytes-4 4031919 28.88 ns/op 277.02 MB/s BenchmarkHash/n=8/String-4 1645411 72.89 ns/op 109.75 MB/s BenchmarkHash/n=16/Write-4 582704 198.3 ns/op 80.68 MB/s BenchmarkHash/n=16/Bytes-4 4141629 27.95 ns/op 572.37 MB/s BenchmarkHash/n=16/String-4 1782974 67.06 ns/op 238.59 MB/s BenchmarkHash/n=32/Write-4 561326 204.0 ns/op 156.86 MB/s BenchmarkHash/n=32/Bytes-4 4035550 28.77 ns/op 1112.30 MB/s BenchmarkHash/n=32/String-4 1759738 67.83 ns/op 471.80 MB/s BenchmarkHash/n=64/Write-4 515438 217.1 ns/op 294.73 MB/s BenchmarkHash/n=64/Bytes-4 3903782 30.29 ns/op 2112.57 MB/s BenchmarkHash/n=64/String-4 1719981 71.93 ns/op 889.72 MB/s BenchmarkHash/n=256/Write-4 398566 295.0 ns/op 867.87 MB/s BenchmarkHash/n=256/Bytes-4 2193237 54.07 ns/op 4734.31 MB/s BenchmarkHash/n=256/String-4 867606 129.5 ns/op 1976.67 MB/s BenchmarkHash/n=320/Write-4 400902 284.6 ns/op 1124.38 MB/s BenchmarkHash/n=320/Bytes-4 1809796 65.79 ns/op 4863.74 MB/s BenchmarkHash/n=320/String-4 647964 178.1 ns/op 1796.87 MB/s BenchmarkHash/n=1024/Write-4 264778 441.9 ns/op 2317.37 MB/s BenchmarkHash/n=1024/Bytes-4 750061 158.5 ns/op 6458.58 MB/s BenchmarkHash/n=1024/String-4 254680 460.3 ns/op 2224.78 MB/s BenchmarkHash/n=4096/Write-4 120351 980.6 ns/op 4176.98 MB/s BenchmarkHash/n=4096/Bytes-4 205942 579.6 ns/op 7066.48 MB/s BenchmarkHash/n=4096/String-4 66885 1767 ns/op 2317.62 MB/s BenchmarkHash/n=16384/Write-4 37671 3139 ns/op 5219.02 MB/s BenchmarkHash/n=16384/Bytes-4 53337 2242 ns/op 7306.84 MB/s BenchmarkHash/n=16384/String-4 17011 7071 ns/op 2317.22 MB/s PASS ok hash/maphash 4.447s goos: linux goarch: amd64 pkg: html cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEscape-4 808 131204 ns/op BenchmarkEscapeNone-4 121376 943.8 ns/op BenchmarkUnescape-4 740 154540 ns/op BenchmarkUnescapeNone-4 514490 223.2 ns/op BenchmarkUnescapeSparse-4 10809 10953 ns/op BenchmarkUnescapeDense-4 1110 103611 ns/op PASS ok html 0.880s goos: linux goarch: amd64 pkg: html/template cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCSSEscaper-4 9176 12674 ns/op BenchmarkCSSEscaperNoSpecials-4 43066 2758 ns/op BenchmarkDecodeCSS-4 26683 4421 ns/op BenchmarkDecodeCSSNoSpecials-4 4400922 26.09 ns/op BenchmarkCSSValueFilter-4 115177 976.8 ns/op BenchmarkCSSValueFilterOk-4 82428 1453 ns/op BenchmarkEscapedExecute-4 4274 24774 ns/op BenchmarkHTMLNospaceEscaper-4 10000 10605 ns/op BenchmarkHTMLNospaceEscaperNoSpecials-4 66343 1809 ns/op BenchmarkStripTags-4 21208 5539 ns/op BenchmarkStripTagsNoSpecials-4 306447 391.1 ns/op BenchmarkJSValEscaperWithNum-4 24504 4885 ns/op BenchmarkJSValEscaperWithStr-4 5341 21804 ns/op BenchmarkJSValEscaperWithStrNoSpecials-4 18675 6324 ns/op BenchmarkJSValEscaperWithObj-4 4399 25840 ns/op BenchmarkJSValEscaperWithObjNoSpecials-4 13502 8759 ns/op BenchmarkJSStrEscaperNoSpecials-4 60124 1975 ns/op BenchmarkJSStrEscaper-4 10000 10118 ns/op BenchmarkJSRegexpEscaperNoSpecials-4 53325 2209 ns/op BenchmarkJSRegexpEscaper-4 10000 10887 ns/op BenchmarkTemplateSpecialTags-4 91 1316796 ns/op BenchmarkURLEscaper-4 4298 25783 ns/op BenchmarkURLEscaperNoSpecials-4 190647 616.5 ns/op BenchmarkURLNormalizer-4 6226 18913 ns/op BenchmarkURLNormalizerNoSpecials-4 181759 646.6 ns/op BenchmarkSrcsetFilter-4 19406 5900 ns/op BenchmarkSrcsetFilterNoSpecials-4 108415 1057 ns/op PASS ok html/template 4.186s goos: linux goarch: amd64 pkg: image cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAt/rgba-4 555349 188.2 ns/op 16 B/op 1 allocs/op BenchmarkAt/rgba64-4 411609 271.5 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba-4 600799 185.6 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba64-4 446012 276.8 ns/op 16 B/op 1 allocs/op BenchmarkAt/alpha-4 1822282 65.26 ns/op 0 B/op 0 allocs/op BenchmarkAt/alpha16-4 1234720 96.34 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray-4 1878157 63.37 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray16-4 1232751 97.20 ns/op 0 B/op 0 allocs/op BenchmarkAt/paletted-4 1491601 80.20 ns/op 0 B/op 0 allocs/op BenchmarkSet/rgba-4 437618 253.5 ns/op 16 B/op 1 allocs/op BenchmarkSet/rgba64-4 355758 319.0 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba-4 473882 250.7 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba64-4 361653 316.6 ns/op 16 B/op 1 allocs/op BenchmarkSet/alpha-4 790323 140.2 ns/op 0 B/op 0 allocs/op BenchmarkSet/alpha16-4 543502 212.9 ns/op 16 B/op 1 allocs/op BenchmarkSet/gray-4 987672 118.9 ns/op 0 B/op 0 allocs/op BenchmarkSet/gray16-4 585399 212.5 ns/op 16 B/op 1 allocs/op BenchmarkSet/paletted-4 417320 271.3 ns/op 0 B/op 0 allocs/op BenchmarkRGBAAt-4 1401963 84.34 ns/op BenchmarkRGBASetRGBA-4 1453485 81.84 ns/op BenchmarkRGBA64At-4 716324 162.8 ns/op BenchmarkRGBA64SetRGBA64-4 806974 144.7 ns/op BenchmarkNRGBAAt-4 1397080 85.62 ns/op BenchmarkNRGBASetNRGBA-4 1443847 81.71 ns/op BenchmarkNRGBA64At-4 683881 163.2 ns/op BenchmarkNRGBA64SetNRGBA64-4 786225 144.6 ns/op BenchmarkAlphaAt-4 2392362 50.26 ns/op BenchmarkAlphaSetAlpha-4 2390361 50.26 ns/op BenchmarkAlpha16At-4 1512265 78.72 ns/op BenchmarkAlphaSetAlpha16-4 1538401 77.12 ns/op BenchmarkGrayAt-4 2271891 51.93 ns/op BenchmarkGraySetGray-4 2408877 50.11 ns/op BenchmarkGray16At-4 1585972 76.29 ns/op BenchmarkGraySetGray16-4 1560247 76.65 ns/op PASS ok image 5.510s goos: linux goarch: amd64 pkg: image/color cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkYCbCrToRGB/0-4 4164274 28.96 ns/op BenchmarkYCbCrToRGB/128-4 3990394 30.06 ns/op BenchmarkYCbCrToRGB/255-4 4121660 29.21 ns/op BenchmarkRGBToYCbCr/0-4 4138675 28.85 ns/op BenchmarkRGBToYCbCr/Cb-4 4173553 28.78 ns/op BenchmarkRGBToYCbCr/Cr-4 4175364 28.79 ns/op BenchmarkYCbCrToRGBA/0-4 3389737 35.21 ns/op BenchmarkYCbCrToRGBA/128-4 3167395 37.78 ns/op BenchmarkYCbCrToRGBA/255-4 3346446 35.77 ns/op BenchmarkNYCbCrAToRGBA/0-4 3293473 36.48 ns/op BenchmarkNYCbCrAToRGBA/128-4 3239616 37.01 ns/op BenchmarkNYCbCrAToRGBA/255-4 3251672 37.20 ns/op PASS ok image/color 1.901s goos: linux goarch: amd64 pkg: image/draw cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFillOver-4 3 34097877 ns/op BenchmarkFillSrc-4 294 402141 ns/op BenchmarkCopyOver-4 6 17507121 ns/op BenchmarkCopySrc-4 392 284294 ns/op BenchmarkNRGBAOver-4 6 18987637 ns/op BenchmarkNRGBASrc-4 9 11784897 ns/op BenchmarkYCbCr-4 8 13576237 ns/op BenchmarkGray-4 16 6947021 ns/op BenchmarkCMYK-4 9 12069056 ns/op BenchmarkGlyphOver-4 19 5960172 ns/op BenchmarkRGBAMaskOver-4 4 30691574 ns/op BenchmarkGrayMaskOver-4 5 23176106 ns/op BenchmarkRGBA64ImageMaskOver-4 3 38709438 ns/op BenchmarkRGBA-4 4 25352269 ns/op BenchmarkPalettedFill-4 906 133154 ns/op BenchmarkPalettedRGBA-4 4 26723988 ns/op BenchmarkGenericOver-4 2 55621581 ns/op BenchmarkGenericMaskOver-4 5 22606367 ns/op BenchmarkGenericSrc-4 3 36457977 ns/op BenchmarkGenericMaskSrc-4 4 30325950 ns/op PASS ok image/draw 6.039s goos: linux goarch: amd64 pkg: image/gif cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecode-4 21 4770170 ns/op 3.24 MB/s 47848 B/op 267 allocs/op BenchmarkEncodeRandomPaletted-4 1 113498548 ns/op 2.71 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRandomRGBA-4 1 3094257574 ns/op 0.40 MB/s 417248 B/op 13 allocs/op BenchmarkEncodeRealisticPaletted-4 54 2101873 ns/op 7.35 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRealisticRGBA-4 1 152851529 ns/op 0.40 MB/s 105952 B/op 13 allocs/op PASS ok image/gif 4.173s goos: linux goarch: amd64 pkg: image/jpeg cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFDCT-4 3620 29484 ns/op BenchmarkIDCT-4 3816 28051 ns/op BenchmarkDecodeBaseline-4 8 12721945 ns/op 4.86 MB/s 63024 B/op 5 allocs/op BenchmarkDecodeProgressive-4 6 17870074 ns/op 3.46 MB/s 259712 B/op 13 allocs/op BenchmarkEncodeRGBA-4 1 156576714 ns/op 7.85 MB/s 4400 B/op 4 allocs/op BenchmarkEncodeYCbCr-4 1 195846362 ns/op 4.71 MB/s 4400 B/op 4 allocs/op PASS ok image/jpeg 1.265s goos: linux goarch: amd64 pkg: image/png cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPaeth-4 12233836 8.644 ns/op BenchmarkDecodeGray-4 12 9266585 ns/op 7.07 MB/s 137024 B/op 102 allocs/op BenchmarkDecodeNRGBAGradient-4 3 39543208 ns/op 6.63 MB/s 337328 B/op 188 allocs/op BenchmarkDecodeNRGBAOpaque-4 3 34140748 ns/op 7.68 MB/s 346592 B/op 152 allocs/op BenchmarkDecodePaletted-4 21 5442129 ns/op 12.04 MB/s 139456 B/op 309 allocs/op BenchmarkDecodeRGB-4 4 32346588 ns/op 8.10 MB/s 332000 B/op 157 allocs/op BenchmarkDecodeInterlacing-4 3 39475170 ns/op 6.64 MB/s 605216 B/op 268 allocs/op BenchmarkEncodeGray-4 2 61148779 ns/op 5.02 MB/s 852184 B/op 29 allocs/op BenchmarkEncodeGrayWithBufferPool-4 2 60353630 ns/op 5.09 MB/s 426080 B/op 14 allocs/op BenchmarkEncodeNRGBOpaque-4 1 198021523 ns/op 6.21 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeNRGBA-4 1 219320488 ns/op 5.60 MB/s 864088 B/op 29 allocs/op BenchmarkEncodePaletted-4 4 29930485 ns/op 10.26 MB/s 848592 B/op 32 allocs/op BenchmarkEncodeRGBOpaque-4 1 198285434 ns/op 6.20 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeRGBA-4 1 809457086 ns/op 1.52 MB/s 864088 B/op 29 allocs/op PASS ok image/png 3.699s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: index/suffixarray cpu: AMD EPYC 7B12 BenchmarkNew/text=opticks/size=100K/bits=32-4 3 45575397 ns/op 2.19 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=opticks/size=100K/bits=64-4 3 38958503 ns/op 2.57 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=32-4 1 233095996 ns/op 2.15 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=64-4 1 202808652 ns/op 2.47 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=32-4 3 46234121 ns/op 2.16 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=64-4 3 38655479 ns/op 2.59 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=32-4 1 221013444 ns/op 2.26 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=64-4 1 187335089 ns/op 2.67 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=32-4 1 470031043 ns/op 2.13 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=64-4 1 424542886 ns/op 2.36 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=32-4 1 3107406194 ns/op 1.61 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=64-4 1 3020539200 ns/op 1.66 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=32-4 14 8158304 ns/op 12.26 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=64-4 14 8114386 ns/op 12.32 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=32-4 3 37560589 ns/op 13.31 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=64-4 3 39149809 ns/op 12.77 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=32-4 2 76851812 ns/op 13.01 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=64-4 2 75592952 ns/op 13.23 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=32-4 1 376329419 ns/op 13.29 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=64-4 1 397837502 ns/op 12.57 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=32-4 2 52065278 ns/op 1.92 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=64-4 3 39418546 ns/op 2.54 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=32-4 1 265095477 ns/op 1.89 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=64-4 1 236441376 ns/op 2.11 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=32-4 1 656968713 ns/op 1.52 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=64-4 1 620588821 ns/op 1.61 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=32-4 1 5349383911 ns/op 0.93 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=64-4 1 4995420178 ns/op 1.00 MB/s 40001616 B/op 2 allocs/op BenchmarkSaveRestore/bits=32-4 1 134884919 ns/op 30.99 MB/s 5275648 B/op 4 allocs/op BenchmarkSaveRestore/bits=64-4 1 135083329 ns/op 30.94 MB/s 9469952 B/op 4 allocs/op PASS ok index/suffixarray 35.859s goos: linux goarch: amd64 pkg: internal/fuzz cpu: AMD EPYC 7B12 BenchmarkMarshalCorpusFile/1-4 38065 3138 ns/op 0.32 MB/s BenchmarkMarshalCorpusFile/2-4 35433 3257 ns/op 0.61 MB/s BenchmarkMarshalCorpusFile/4-4 32960 3629 ns/op 1.10 MB/s BenchmarkMarshalCorpusFile/8-4 28202 4330 ns/op 1.85 MB/s BenchmarkMarshalCorpusFile/16-4 21738 5385 ns/op 2.97 MB/s BenchmarkMarshalCorpusFile/32-4 15103 8087 ns/op 3.96 MB/s BenchmarkMarshalCorpusFile/64-4 9518 12706 ns/op 5.04 MB/s BenchmarkMarshalCorpusFile/128-4 5944 20491 ns/op 6.25 MB/s BenchmarkMarshalCorpusFile/256-4 2761 38924 ns/op 6.58 MB/s BenchmarkMarshalCorpusFile/512-4 1527 75961 ns/op 6.74 MB/s BenchmarkMarshalCorpusFile/1024-4 777 146465 ns/op 6.99 MB/s BenchmarkMarshalCorpusFile/2048-4 390 288567 ns/op 7.10 MB/s BenchmarkMarshalCorpusFile/4096-4 201 584704 ns/op 7.01 MB/s BenchmarkMarshalCorpusFile/8192-4 96 1182862 ns/op 6.93 MB/s BenchmarkMarshalCorpusFile/16384-4 50 2307119 ns/op 7.10 MB/s BenchmarkMarshalCorpusFile/32768-4 24 5351404 ns/op 6.12 MB/s BenchmarkMarshalCorpusFile/65536-4 10 10666859 ns/op 6.14 MB/s BenchmarkMarshalCorpusFile/131072-4 5 23347951 ns/op 5.61 MB/s BenchmarkMarshalCorpusFile/262144-4 3 41993489 ns/op 6.24 MB/s BenchmarkMarshalCorpusFile/524288-4 1 107157326 ns/op 4.89 MB/s BenchmarkMarshalCorpusFile/1048576-4 1 174497764 ns/op 6.01 MB/s BenchmarkUnmarshalCorpusFile/1-4 9181 11400 ns/op 0.09 MB/s BenchmarkUnmarshalCorpusFile/2-4 9943 11920 ns/op 0.17 MB/s BenchmarkUnmarshalCorpusFile/4-4 9214 12725 ns/op 0.31 MB/s BenchmarkUnmarshalCorpusFile/8-4 6669 15093 ns/op 0.53 MB/s BenchmarkUnmarshalCorpusFile/16-4 7016 17074 ns/op 0.94 MB/s BenchmarkUnmarshalCorpusFile/32-4 4095 25029 ns/op 1.28 MB/s BenchmarkUnmarshalCorpusFile/64-4 3798 30061 ns/op 2.13 MB/s BenchmarkUnmarshalCorpusFile/128-4 2920 38790 ns/op 3.30 MB/s BenchmarkUnmarshalCorpusFile/256-4 1096 102245 ns/op 2.50 MB/s BenchmarkUnmarshalCorpusFile/512-4 584 205016 ns/op 2.50 MB/s BenchmarkUnmarshalCorpusFile/1024-4 297 361835 ns/op 2.83 MB/s BenchmarkUnmarshalCorpusFile/2048-4 159 713760 ns/op 2.87 MB/s BenchmarkUnmarshalCorpusFile/4096-4 76 1401929 ns/op 2.92 MB/s BenchmarkUnmarshalCorpusFile/8192-4 33 3080410 ns/op 2.66 MB/s BenchmarkUnmarshalCorpusFile/16384-4 18 6103498 ns/op 2.68 MB/s BenchmarkUnmarshalCorpusFile/32768-4 9 11396868 ns/op 2.88 MB/s BenchmarkUnmarshalCorpusFile/65536-4 5 22760197 ns/op 2.88 MB/s BenchmarkUnmarshalCorpusFile/131072-4 3 45863655 ns/op 2.86 MB/s BenchmarkUnmarshalCorpusFile/262144-4 2 97362306 ns/op 2.69 MB/s BenchmarkUnmarshalCorpusFile/524288-4 1 199960373 ns/op 2.62 MB/s BenchmarkUnmarshalCorpusFile/1048576-4 1 376765257 ns/op 2.78 MB/s BenchmarkMutatorBytes/1-4 37999 3222 ns/op BenchmarkMutatorBytes/10-4 37503 3112 ns/op BenchmarkMutatorBytes/100-4 35001 3371 ns/op BenchmarkMutatorBytes/1000-4 24648 4941 ns/op BenchmarkMutatorBytes/10000-4 7784 19687 ns/op BenchmarkMutatorBytes/100000-4 1120 140250 ns/op BenchmarkMutatorString/1-4 35833 3383 ns/op BenchmarkMutatorString/10-4 35864 3337 ns/op BenchmarkMutatorString/100-4 31494 3844 ns/op BenchmarkMutatorString/1000-4 17445 6747 ns/op BenchmarkMutatorString/10000-4 4413 38146 ns/op BenchmarkMutatorString/100000-4 412 304952 ns/op BenchmarkMutatorAllBasicTypes/[]uint8-4 19508 5708 ns/op BenchmarkMutatorAllBasicTypes/string-4 20082 5925 ns/op BenchmarkMutatorAllBasicTypes/bool-4 61510 1908 ns/op BenchmarkMutatorAllBasicTypes/float32-4 54150 2109 ns/op BenchmarkMutatorAllBasicTypes/float64-4 55999 2114 ns/op BenchmarkMutatorAllBasicTypes/int-4 59914 2008 ns/op BenchmarkMutatorAllBasicTypes/int8-4 59646 1986 ns/op BenchmarkMutatorAllBasicTypes/int16-4 59822 2094 ns/op BenchmarkMutatorAllBasicTypes/int32-4 59413 2002 ns/op BenchmarkMutatorAllBasicTypes/int64-4 57026 2005 ns/op BenchmarkMutatorAllBasicTypes/uint8-4 56059 2164 ns/op BenchmarkMutatorAllBasicTypes/uint16-4 55561 2114 ns/op BenchmarkMutatorAllBasicTypes/uint32-4 55629 2152 ns/op BenchmarkMutatorAllBasicTypes/uint64-4 57471 2065 ns/op PASS ok internal/fuzz 11.889s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: internal/intern cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStress-4 29245 3749 ns/op 0 B/op 0 allocs/op BenchmarkGetByString-4 126294 934.2 ns/op 0 B/op 0 allocs/op PASS ok internal/intern 0.398s goos: linux goarch: amd64 pkg: internal/poll cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSplicePipe/SplicePipeWithPool-4 34534 3157 ns/op BenchmarkSplicePipe/SplicePipeWithoutPool-4 10000 10224 ns/op BenchmarkSplicePipePoolParallel-4 107931 1009 ns/op BenchmarkSplicePipeNativeParallel-4 26486 4341 ns/op PASS ok internal/poll 0.723s goos: linux goarch: amd64 pkg: internal/trace cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMMU-4 5 24750515 ns/op PASS ok internal/trace 3.046s goos: linux goarch: amd64 pkg: io cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCopyNSmall-4 10000 15545 ns/op BenchmarkCopyNLarge-4 142 1047132 ns/op PASS ok io 0.436s goos: linux goarch: amd64 pkg: log cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkItoa-4 219256 518.1 ns/op BenchmarkPrintln-4 23428 5065 ns/op 77 B/op 1 allocs/op BenchmarkPrintlnNoFlags-4 35996 3290 ns/op 65 B/op 0 allocs/op BenchmarkConcurrent-4 2559 49365 ns/op BenchmarkDiscard-4 869518 134.4 ns/op 0 B/op 0 allocs/op PASS ok log 0.820s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: math cpu: AMD EPYC 7B12 BenchmarkAcos-4 3560032 33.61 ns/op BenchmarkAcosh-4 1490706 81.03 ns/op BenchmarkAsin-4 3555555 33.56 ns/op BenchmarkAsinh-4 1420210 87.29 ns/op BenchmarkAtan-4 4984572 24.05 ns/op BenchmarkAtanh-4 1345136 85.39 ns/op BenchmarkAtan2-4 2729731 39.85 ns/op BenchmarkCbrt-4 2007574 60.48 ns/op BenchmarkCeil-4 20265546 5.883 ns/op BenchmarkCompare-4 4593158 26.50 ns/op BenchmarkCompare32-4 5632826 21.28 ns/op BenchmarkCopysign-4 3579103 33.07 ns/op BenchmarkCos-4 1585610 77.32 ns/op BenchmarkCosh-4 1959634 63.52 ns/op BenchmarkErf-4 5501649 21.81 ns/op BenchmarkErfc-4 5327356 22.93 ns/op BenchmarkErfinv-4 4292835 28.79 ns/op BenchmarkErfcinv-4 4192042 27.95 ns/op BenchmarkExp-4 6974500 17.24 ns/op BenchmarkExpGo-4 1204063 98.30 ns/op BenchmarkExpm1-4 3549118 33.90 ns/op BenchmarkExp2-4 1332339 89.88 ns/op BenchmarkExp2Go-4 1247965 97.36 ns/op BenchmarkAbs-4 4587586 25.58 ns/op BenchmarkDim-4 12574911 11.01 ns/op BenchmarkFloor-4 22936348 5.282 ns/op BenchmarkMax-4 15430708 7.201 ns/op BenchmarkMin-4 15939726 7.527 ns/op BenchmarkMod-4 370512 299.8 ns/op BenchmarkFrexp-4 1954357 59.89 ns/op BenchmarkGamma-4 857179 138.5 ns/op BenchmarkHypot-4 11975533 10.15 ns/op BenchmarkHypotGo-4 2061342 58.52 ns/op BenchmarkIlogb-4 2681492 45.10 ns/op BenchmarkJ0-4 318339 386.3 ns/op BenchmarkJ1-4 311348 395.1 ns/op BenchmarkJn-4 129747 922.7 ns/op BenchmarkLdexp-4 2178106 54.85 ns/op BenchmarkLgamma-4 1254889 100.2 ns/op BenchmarkLog-4 7259132 16.45 ns/op BenchmarkLogb-4 2507763 47.80 ns/op BenchmarkLog1p-4 1848895 63.73 ns/op BenchmarkLog10-4 6883650 17.38 ns/op BenchmarkLog2-4 1692088 72.31 ns/op BenchmarkModf-4 3205586 36.17 ns/op BenchmarkNextafter32-4 3318103 36.46 ns/op BenchmarkNextafter64-4 3287587 36.70 ns/op BenchmarkPowInt-4 632821 186.9 ns/op BenchmarkPowFrac-4 479355 240.2 ns/op BenchmarkPow10Pos-4 5950857 20.07 ns/op BenchmarkPow10Neg-4 5267274 20.90 ns/op BenchmarkRound-4 4022384 28.46 ns/op BenchmarkRoundToEven-4 12085978 10.34 ns/op BenchmarkRemainder-4 530768 211.6 ns/op BenchmarkSignbit-4 5979144 20.08 ns/op BenchmarkSin-4 1840453 63.55 ns/op BenchmarkSincos-4 1256252 94.12 ns/op BenchmarkSinh-4 2550508 47.42 ns/op BenchmarkSqrtIndirect-4 22679293 5.236 ns/op BenchmarkSqrtLatency-4 12823663 9.192 ns/op BenchmarkSqrtIndirectLatency-4 13093075 9.168 ns/op BenchmarkSqrtGoLatency-4 1751701 67.99 ns/op BenchmarkSqrtPrime-4 62748 1909 ns/op BenchmarkTan-4 1939882 62.62 ns/op BenchmarkTanh-4 1828725 66.06 ns/op BenchmarkTrunc-4 21318552 5.239 ns/op BenchmarkY0-4 296760 391.1 ns/op BenchmarkY1-4 288044 406.4 ns/op BenchmarkYn-4 148228 803.9 ns/op BenchmarkFloat64bits-4 6463987 17.06 ns/op BenchmarkFloat64frombits-4 6854761 17.44 ns/op BenchmarkFloat32bits-4 6867793 17.34 ns/op BenchmarkFloat32frombits-4 6869770 18.09 ns/op BenchmarkFMA-4 20040952 5.252 ns/op PASS ok math 11.574s goos: linux goarch: amd64 pkg: math/big cpu: AMD EPYC 7B12 BenchmarkAddVV/1-4 14516245 8.117 ns/op 7884.34 MB/s BenchmarkAddVV/2-4 12342630 8.753 ns/op 14623.53 MB/s BenchmarkAddVV/3-4 12848790 9.305 ns/op 20634.52 MB/s BenchmarkAddVV/4-4 12761176 9.396 ns/op 27246.45 MB/s BenchmarkAddVV/5-4 11931440 10.06 ns/op 31797.55 MB/s BenchmarkAddVV/10-4 9151564 13.12 ns/op 48774.37 MB/s BenchmarkAddVV/100-4 2091092 57.23 ns/op 111831.84 MB/s BenchmarkAddVV/1000-4 232507 512.7 ns/op 124824.40 MB/s BenchmarkSubVV/1-4 14015218 8.532 ns/op 7500.99 MB/s BenchmarkSubVV/2-4 13771116 8.677 ns/op 14750.96 MB/s BenchmarkSubVV/3-4 12961902 9.306 ns/op 20631.96 MB/s BenchmarkSubVV/4-4 12658254 9.450 ns/op 27089.91 MB/s BenchmarkSubVV/5-4 11745508 10.16 ns/op 31488.77 MB/s BenchmarkSubVV/10-4 9137760 13.11 ns/op 48821.40 MB/s BenchmarkSubVV/100-4 2093834 57.38 ns/op 111529.42 MB/s BenchmarkSubVV/1000-4 232326 512.2 ns/op 124953.57 MB/s BenchmarkAddVW/1-4 14160427 7.523 ns/op 1063.35 MB/s BenchmarkAddVW/2-4 14654536 8.217 ns/op 1947.09 MB/s BenchmarkAddVW/3-4 12108710 8.851 ns/op 2711.54 MB/s BenchmarkAddVW/4-4 14092777 8.446 ns/op 3788.87 MB/s BenchmarkAddVW/5-4 13284519 9.030 ns/op 4429.62 MB/s BenchmarkAddVW/10-4 11132726 10.77 ns/op 7430.54 MB/s BenchmarkAddVW/100-4 340786 338.6 ns/op 2362.43 MB/s BenchmarkAddVW/1000-4 52936 2263 ns/op 3534.96 MB/s BenchmarkAddVWext/1-4 15211610 7.863 ns/op 1017.46 MB/s BenchmarkAddVWext/2-4 12207054 8.704 ns/op 1838.29 MB/s BenchmarkAddVWext/3-4 10774052 9.318 ns/op 2575.63 MB/s BenchmarkAddVWext/4-4 14027571 8.525 ns/op 3753.65 MB/s BenchmarkAddVWext/5-4 13156768 9.171 ns/op 4361.63 MB/s BenchmarkAddVWext/10-4 11060538 10.89 ns/op 7348.54 MB/s BenchmarkAddVWext/100-4 101569 1188 ns/op 673.63 MB/s BenchmarkAddVWext/1000-4 8854 11363 ns/op 704.04 MB/s BenchmarkSubVW/1-4 15865920 7.536 ns/op 1061.58 MB/s BenchmarkSubVW/2-4 14081067 7.877 ns/op 2031.24 MB/s BenchmarkSubVW/3-4 11817036 8.519 ns/op 2817.25 MB/s BenchmarkSubVW/4-4 14058139 8.482 ns/op 3772.71 MB/s BenchmarkSubVW/5-4 12940027 8.997 ns/op 4446.17 MB/s BenchmarkSubVW/10-4 10901834 10.95 ns/op 7308.54 MB/s BenchmarkSubVW/100-4 331410 347.1 ns/op 2304.81 MB/s BenchmarkSubVW/1000-4 53096 2255 ns/op 3547.48 MB/s BenchmarkSubVWext/1-4 14954444 7.866 ns/op 1017.00 MB/s BenchmarkSubVWext/2-4 13532730 8.234 ns/op 1943.11 MB/s BenchmarkSubVWext/3-4 13104454 8.613 ns/op 2786.43 MB/s BenchmarkSubVWext/4-4 13925636 8.615 ns/op 3714.24 MB/s BenchmarkSubVWext/5-4 12848350 9.331 ns/op 4286.80 MB/s BenchmarkSubVWext/10-4 10817036 11.09 ns/op 7213.49 MB/s BenchmarkSubVWext/100-4 102844 1226 ns/op 652.52 MB/s BenchmarkSubVWext/1000-4 8168 12567 ns/op 636.58 MB/s BenchmarkMulAddVWW/1-4 12203653 9.242 ns/op 6925.14 MB/s BenchmarkMulAddVWW/2-4 11361794 9.832 ns/op 13019.05 MB/s BenchmarkMulAddVWW/3-4 13231524 8.987 ns/op 21363.56 MB/s BenchmarkMulAddVWW/4-4 12434601 9.623 ns/op 26601.81 MB/s BenchmarkMulAddVWW/5-4 11669630 10.26 ns/op 31202.75 MB/s BenchmarkMulAddVWW/10-4 8005560 14.20 ns/op 45080.99 MB/s BenchmarkMulAddVWW/100-4 1355860 88.41 ns/op 72393.93 MB/s BenchmarkMulAddVWW/1000-4 139164 857.3 ns/op 74648.86 MB/s BenchmarkAddMulVVW/1-4 14081068 8.069 ns/op 7931.26 MB/s BenchmarkAddMulVVW/2-4 14110010 8.565 ns/op 14945.16 MB/s BenchmarkAddMulVVW/3-4 12530344 9.208 ns/op 20852.03 MB/s BenchmarkAddMulVVW/4-4 12101968 10.02 ns/op 25552.37 MB/s BenchmarkAddMulVVW/5-4 11044088 10.84 ns/op 29524.78 MB/s BenchmarkAddMulVVW/10-4 9248439 12.86 ns/op 49763.77 MB/s BenchmarkAddMulVVW/100-4 1694955 70.50 ns/op 90784.87 MB/s BenchmarkAddMulVVW/1000-4 180938 648.7 ns/op 98658.43 MB/s BenchmarkDivWVW/1-4 3399291 35.11 ns/op 1822.72 MB/s BenchmarkDivWVW/2-4 2077983 57.19 ns/op 2238.20 MB/s BenchmarkDivWVW/3-4 1597065 75.47 ns/op 2544.14 MB/s BenchmarkDivWVW/4-4 1306014 93.49 ns/op 2738.14 MB/s BenchmarkDivWVW/5-4 1203811 99.67 ns/op 3210.46 MB/s BenchmarkDivWVW/10-4 571648 204.1 ns/op 3135.18 MB/s BenchmarkDivWVW/100-4 72541 1667 ns/op 3839.49 MB/s BenchmarkDivWVW/1000-4 7124 16222 ns/op 3945.33 MB/s BenchmarkNonZeroShifts/1/shrVU-4 13422036 8.262 ns/op BenchmarkNonZeroShifts/1/shlVU-4 14048725 7.552 ns/op BenchmarkNonZeroShifts/2/shrVU-4 11779774 9.166 ns/op BenchmarkNonZeroShifts/2/shlVU-4 12546132 8.548 ns/op BenchmarkNonZeroShifts/3/shrVU-4 10428325 10.21 ns/op BenchmarkNonZeroShifts/3/shlVU-4 11184680 9.619 ns/op BenchmarkNonZeroShifts/4/shrVU-4 9889719 11.18 ns/op BenchmarkNonZeroShifts/4/shlVU-4 10359660 11.00 ns/op BenchmarkNonZeroShifts/5/shrVU-4 9145009 12.45 ns/op BenchmarkNonZeroShifts/5/shlVU-4 9600314 12.12 ns/op BenchmarkNonZeroShifts/10/shrVU-4 6665114 17.13 ns/op BenchmarkNonZeroShifts/10/shlVU-4 6813547 16.98 ns/op BenchmarkNonZeroShifts/100/shrVU-4 1000000 115.7 ns/op BenchmarkNonZeroShifts/100/shlVU-4 996561 116.2 ns/op BenchmarkNonZeroShifts/1000/shrVU-4 118754 1007 ns/op BenchmarkNonZeroShifts/1000/shlVU-4 118206 1005 ns/op BenchmarkDecimalConversion-4 228 511123 ns/op BenchmarkFloatString/100-4 12510 9730 ns/op 392 B/op 8 allocs/op BenchmarkFloatString/1000-4 237 474490 ns/op 2901 B/op 9 allocs/op BenchmarkFloatString/10000-4 3 44079876 ns/op 61162 B/op 53 allocs/op BenchmarkFloatString/100000-4 1 4194831705 ns/op 832432 B/op 453 allocs/op BenchmarkFloatAdd/10-4 169544 702.6 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100-4 160874 748.5 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/1000-4 154293 812.4 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/10000-4 87169 1373 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100000-4 17086 7019 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10-4 211326 535.8 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100-4 228079 525.5 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/1000-4 219777 545.2 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10000-4 156924 774.3 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100000-4 41754 2884 ns/op 0 B/op 0 allocs/op BenchmarkParseFloatSmallExp-4 1890 62068 ns/op BenchmarkParseFloatLargeExp-4 444 256078 ns/op BenchmarkGCD10x10/WithoutXY-4 195280 579.2 ns/op BenchmarkGCD10x10/WithXY-4 55430 2031 ns/op BenchmarkGCD10x100/WithoutXY-4 106902 1093 ns/op BenchmarkGCD10x100/WithXY-4 18531 6767 ns/op BenchmarkGCD10x1000/WithoutXY-4 77341 1569 ns/op BenchmarkGCD10x1000/WithXY-4 15463 8165 ns/op BenchmarkGCD100x100/WithoutXY-4 27882 4124 ns/op BenchmarkGCD100x100/WithXY-4 11518 10815 ns/op BenchmarkGCD100x1000/WithoutXY-4 14355 8679 ns/op BenchmarkGCD100x1000/WithXY-4 6927 17696 ns/op BenchmarkGCD1000x1000/WithoutXY-4 2461 49084 ns/op BenchmarkGCD1000x1000/WithXY-4 1266 86125 ns/op BenchmarkHilbert-4 21 5059947 ns/op BenchmarkBinomial-4 14688 8178 ns/op BenchmarkQuoRem-4 26245 5007 ns/op BenchmarkExp-4 18 6500590 ns/op BenchmarkExpMont/Odd-4 136 822281 ns/op 2589 B/op 21 allocs/op BenchmarkExpMont/Even1-4 136 817527 ns/op 3353 B/op 37 allocs/op BenchmarkExpMont/Even2-4 129 856916 ns/op 3847 B/op 53 allocs/op BenchmarkExpMont/Even3-4 129 858463 ns/op 3834 B/op 53 allocs/op BenchmarkExpMont/Even4-4 130 856007 ns/op 3869 B/op 54 allocs/op BenchmarkExpMont/Even8-4 135 857085 ns/op 3814 B/op 52 allocs/op BenchmarkExpMont/Even32-4 129 862024 ns/op 3860 B/op 54 allocs/op BenchmarkExpMont/Even64-4 153 747648 ns/op 3657 B/op 54 allocs/op BenchmarkExpMont/Even96-4 146 785718 ns/op 3758 B/op 51 allocs/op BenchmarkExpMont/Even128-4 165 676427 ns/op 3230 B/op 49 allocs/op BenchmarkExpMont/Even255-4 183 616963 ns/op 2964 B/op 47 allocs/op BenchmarkExpMont/SmallEven1-4 438 258029 ns/op 1312 B/op 34 allocs/op BenchmarkExpMont/SmallEven2-4 378 305325 ns/op 1733 B/op 46 allocs/op BenchmarkExpMont/SmallEven3-4 385 287348 ns/op 1737 B/op 47 allocs/op BenchmarkExpMont/SmallEven4-4 378 289278 ns/op 1755 B/op 48 allocs/op BenchmarkExp2-4 18 6467763 ns/op BenchmarkBitset-4 708972 151.1 ns/op BenchmarkBitsetNeg-4 442294 270.4 ns/op BenchmarkBitsetOrig-4 252007 486.6 ns/op BenchmarkBitsetNegOrig-4 169803 701.6 ns/op BenchmarkModSqrt225_Tonelli-4 128 875514 ns/op BenchmarkModSqrt225_3Mod4-4 426 268904 ns/op BenchmarkModSqrt231_Tonelli-4 124 983535 ns/op BenchmarkModSqrt231_5Mod8-4 364 317618 ns/op BenchmarkModInverse-4 13533 9029 ns/op BenchmarkSqrt-4 1971 59747 ns/op BenchmarkIntSqr/1-4 1389042 86.88 ns/op BenchmarkIntSqr/2-4 693464 169.4 ns/op BenchmarkIntSqr/3-4 544503 193.2 ns/op BenchmarkIntSqr/5-4 457334 263.3 ns/op BenchmarkIntSqr/8-4 345790 356.9 ns/op BenchmarkIntSqr/10-4 277610 418.2 ns/op BenchmarkIntSqr/20-4 61662 2150 ns/op BenchmarkIntSqr/30-4 47085 2870 ns/op BenchmarkIntSqr/50-4 29284 4268 ns/op BenchmarkIntSqr/80-4 17576 7030 ns/op BenchmarkIntSqr/100-4 12823 9165 ns/op BenchmarkIntSqr/200-4 4760 24749 ns/op BenchmarkIntSqr/300-4 2132 63904 ns/op BenchmarkIntSqr/500-4 896 129666 ns/op BenchmarkIntSqr/800-4 352 342275 ns/op BenchmarkIntSqr/1000-4 268 436348 ns/op BenchmarkDiv/20/10-4 442004 271.4 ns/op BenchmarkDiv/40/20-4 438426 268.0 ns/op BenchmarkDiv/100/50-4 426822 292.1 ns/op BenchmarkDiv/200/100-4 60278 2134 ns/op BenchmarkDiv/400/200-4 58420 2184 ns/op BenchmarkDiv/1000/500-4 46780 2708 ns/op BenchmarkDiv/2000/1000-4 36496 3590 ns/op BenchmarkDiv/20000/10000-4 1236 93181 ns/op BenchmarkDiv/200000/100000-4 31 4052764 ns/op BenchmarkDiv/2000000/1000000-4 1 107468956 ns/op BenchmarkDiv/20000000/10000000-4 1 3108088647 ns/op BenchmarkMul-4 6 18852769 ns/op BenchmarkNatMul/10-4 200835 532.9 ns/op BenchmarkNatMul/100-4 7574 16406 ns/op BenchmarkNatMul/1000-4 213 549434 ns/op BenchmarkZeroShifts/Shl-4 23847 5182 ns/op BenchmarkZeroShifts/ShlSame-4 5357684 22.45 ns/op BenchmarkZeroShifts/Shr-4 23763 5136 ns/op BenchmarkZeroShifts/ShrSame-4 5366346 22.53 ns/op BenchmarkExp3Power/0x10-4 190897 634.0 ns/op BenchmarkExp3Power/0x40-4 157159 719.1 ns/op BenchmarkExp3Power/0x100-4 104598 1193 ns/op BenchmarkExp3Power/0x400-4 47570 2349 ns/op BenchmarkExp3Power/0x1000-4 12074 9928 ns/op BenchmarkExp3Power/0x4000-4 2424 48445 ns/op BenchmarkExp3Power/0x10000-4 273 431092 ns/op BenchmarkExp3Power/0x40000-4 24 4804484 ns/op BenchmarkExp3Power/0x100000-4 3 48421463 ns/op BenchmarkExp3Power/0x400000-4 1 455821304 ns/op BenchmarkFibo-4 3 33397012 ns/op BenchmarkNatSqr/1-4 911085 127.2 ns/op BenchmarkNatSqr/2-4 546624 209.0 ns/op BenchmarkNatSqr/3-4 454440 248.7 ns/op BenchmarkNatSqr/5-4 369639 329.1 ns/op BenchmarkNatSqr/8-4 271412 444.1 ns/op BenchmarkNatSqr/10-4 206599 541.4 ns/op BenchmarkNatSqr/20-4 57427 2102 ns/op BenchmarkNatSqr/30-4 42627 2813 ns/op BenchmarkNatSqr/50-4 26245 4551 ns/op BenchmarkNatSqr/80-4 15937 7623 ns/op BenchmarkNatSqr/100-4 11930 10027 ns/op BenchmarkNatSqr/200-4 4264 26142 ns/op BenchmarkNatSqr/300-4 1886 58551 ns/op BenchmarkNatSqr/500-4 937 121891 ns/op BenchmarkNatSqr/800-4 406 286039 ns/op BenchmarkNatSqr/1000-4 295 398126 ns/op BenchmarkNatSetBytes/8-4 862749 132.7 ns/op BenchmarkNatSetBytes/24-4 261258 441.5 ns/op BenchmarkNatSetBytes/128-4 67894 1768 ns/op BenchmarkNatSetBytes/7-4 975034 121.7 ns/op BenchmarkNatSetBytes/23-4 282181 423.4 ns/op BenchmarkNatSetBytes/127-4 65538 1757 ns/op BenchmarkScanPi-4 261 442368 ns/op BenchmarkStringPiParallel-4 811 148746 ns/op BenchmarkScan/10/Base2-4 45358 2647 ns/op BenchmarkScan/100/Base2-4 4633 23456 ns/op BenchmarkScan/1000/Base2-4 471 229550 ns/op BenchmarkScan/10/Base8-4 99879 1123 ns/op BenchmarkScan/100/Base8-4 14565 8197 ns/op BenchmarkScan/1000/Base8-4 1340 88317 ns/op BenchmarkScan/10/Base10-4 107299 1065 ns/op BenchmarkScan/100/Base10-4 14480 8233 ns/op BenchmarkScan/1000/Base10-4 1576 72713 ns/op BenchmarkScan/10/Base16-4 129630 945.8 ns/op BenchmarkScan/100/Base16-4 18145 6588 ns/op BenchmarkScan/1000/Base16-4 1689 64252 ns/op BenchmarkString/10/Base2-4 220653 537.3 ns/op BenchmarkString/100/Base2-4 30871 3802 ns/op BenchmarkString/1000/Base2-4 3277 36530 ns/op BenchmarkString/10/Base8-4 387634 294.2 ns/op BenchmarkString/100/Base8-4 79309 1485 ns/op BenchmarkString/1000/Base8-4 7923 13122 ns/op BenchmarkString/10/Base10-4 217152 514.8 ns/op BenchmarkString/100/Base10-4 48712 2419 ns/op BenchmarkString/1000/Base10-4 5540 19724 ns/op BenchmarkString/10/Base16-4 436095 267.9 ns/op BenchmarkString/100/Base16-4 107106 1117 ns/op BenchmarkString/1000/Base16-4 12603 9361 ns/op BenchmarkLeafSize/0-4 52 2237421 ns/op BenchmarkLeafSize/1-4 494 222627 ns/op BenchmarkLeafSize/2-4 483 227913 ns/op BenchmarkLeafSize/3-4 375 312992 ns/op BenchmarkLeafSize/4-4 494 217938 ns/op BenchmarkLeafSize/5-4 325 365651 ns/op BenchmarkLeafSize/6-4 372 304869 ns/op BenchmarkLeafSize/7-4 391 288246 ns/op BenchmarkLeafSize/8-4 499 214155 ns/op BenchmarkLeafSize/9-4 277 421722 ns/op BenchmarkLeafSize/10-4 343 362012 ns/op BenchmarkLeafSize/11-4 337 342315 ns/op BenchmarkLeafSize/12-4 373 306771 ns/op BenchmarkLeafSize/13-4 336 331030 ns/op BenchmarkLeafSize/14-4 381 286448 ns/op BenchmarkLeafSize/15-4 408 260562 ns/op BenchmarkLeafSize/16-4 506 218082 ns/op BenchmarkLeafSize/32-4 518 223191 ns/op BenchmarkLeafSize/64-4 476 243392 ns/op BenchmarkProbablyPrime/n=0-4 12 9584255 ns/op BenchmarkProbablyPrime/n=1-4 10 11152595 ns/op BenchmarkProbablyPrime/n=5-4 7 16415357 ns/op BenchmarkProbablyPrime/n=10-4 5 22052755 ns/op BenchmarkProbablyPrime/n=20-4 3 34504789 ns/op BenchmarkProbablyPrime/Lucas-4 13 8553030 ns/op BenchmarkProbablyPrime/MillerRabinBase2-4 87 1289686 ns/op BenchmarkRatCmp-4 219094 543.4 ns/op BenchmarkFloatSqrt/64-4 21960 5481 ns/op 208 B/op 5 allocs/op BenchmarkFloatSqrt/128-4 13940 8653 ns/op 256 B/op 5 allocs/op BenchmarkFloatSqrt/256-4 9808 12123 ns/op 352 B/op 5 allocs/op BenchmarkFloatSqrt/1000-4 4143 24339 ns/op 1312 B/op 6 allocs/op BenchmarkFloatSqrt/10000-4 955 122753 ns/op 18257 B/op 10 allocs/op BenchmarkFloatSqrt/100000-4 70 1613400 ns/op 175439 B/op 20 allocs/op BenchmarkFloatSqrt/1000000-4 1 122708499 ns/op 3840952 B/op 656 allocs/op PASS ok math/big 48.707s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: math/bits cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLeadingZeros-4 8223814 14.49 ns/op BenchmarkLeadingZeros8-4 7763874 15.45 ns/op BenchmarkLeadingZeros16-4 8706763 13.64 ns/op BenchmarkLeadingZeros32-4 8717007 13.39 ns/op BenchmarkLeadingZeros64-4 8653843 13.74 ns/op BenchmarkTrailingZeros-4 8951236 13.41 ns/op BenchmarkTrailingZeros8-4 8931069 13.42 ns/op BenchmarkTrailingZeros16-4 8886493 13.59 ns/op BenchmarkTrailingZeros32-4 8850678 13.49 ns/op BenchmarkTrailingZeros64-4 8783553 13.56 ns/op BenchmarkOnesCount-4 8848978 13.40 ns/op BenchmarkOnesCount8-4 9274544 12.98 ns/op BenchmarkOnesCount16-4 8614215 14.01 ns/op BenchmarkOnesCount32-4 8649906 13.97 ns/op BenchmarkOnesCount64-4 8515863 13.96 ns/op BenchmarkRotateLeft-4 9055390 13.12 ns/op BenchmarkRotateLeft8-4 9266002 13.02 ns/op BenchmarkRotateLeft16-4 9197258 13.21 ns/op BenchmarkRotateLeft32-4 9223995 12.91 ns/op BenchmarkRotateLeft64-4 9226102 12.92 ns/op BenchmarkReverse-4 12366823 9.435 ns/op BenchmarkReverse8-4 15377821 7.747 ns/op BenchmarkReverse16-4 16598150 7.161 ns/op BenchmarkReverse32-4 13964812 8.493 ns/op BenchmarkReverse64-4 12808375 9.410 ns/op BenchmarkReverseBytes-4 16765220 7.160 ns/op BenchmarkReverseBytes16-4 16609089 7.194 ns/op BenchmarkReverseBytes32-4 16650224 7.184 ns/op BenchmarkReverseBytes64-4 16329685 7.195 ns/op BenchmarkAdd-4 8858125 13.45 ns/op BenchmarkAdd32-4 9240303 12.88 ns/op BenchmarkAdd64-4 8893453 13.46 ns/op BenchmarkAdd64multiple-4 18371607 6.521 ns/op BenchmarkSub-4 8863041 13.45 ns/op BenchmarkSub32-4 8635045 13.97 ns/op BenchmarkSub64-4 8987575 13.48 ns/op BenchmarkSub64multiple-4 18209631 6.578 ns/op BenchmarkMul-4 9103360 13.05 ns/op BenchmarkMul32-4 9299377 12.90 ns/op BenchmarkMul64-4 9102561 13.14 ns/op BenchmarkDiv-4 2641386 45.65 ns/op BenchmarkDiv32-4 5535451 21.57 ns/op BenchmarkDiv64-4 2603259 46.25 ns/op PASS ok math/bits 5.896s goos: linux goarch: amd64 pkg: math/cmplx cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAbs-4 10226238 10.60 ns/op BenchmarkAcos-4 467649 256.0 ns/op BenchmarkAcosh-4 405258 276.6 ns/op BenchmarkAsin-4 456454 257.3 ns/op BenchmarkAsinh-4 463484 254.6 ns/op BenchmarkAtan-4 717716 163.3 ns/op BenchmarkAtanh-4 742192 161.1 ns/op BenchmarkConj-4 22723447 5.307 ns/op BenchmarkCos-4 526106 204.1 ns/op BenchmarkCosh-4 577015 206.3 ns/op BenchmarkExp-4 782709 151.8 ns/op BenchmarkLog-4 813619 142.4 ns/op BenchmarkLog10-4 790304 142.8 ns/op BenchmarkPhase-4 1784338 67.33 ns/op BenchmarkPolar-4 1216227 99.43 ns/op BenchmarkPow-4 230196 518.0 ns/op BenchmarkRect-4 981268 115.5 ns/op BenchmarkSin-4 581756 202.8 ns/op BenchmarkSinh-4 576728 204.1 ns/op BenchmarkSqrt-4 1000000 116.0 ns/op BenchmarkTan-4 368926 320.2 ns/op BenchmarkTanh-4 392610 302.4 ns/op PASS ok math/cmplx 3.083s goos: linux goarch: amd64 pkg: math/rand cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkInt63Threadsafe-4 744831 160.7 ns/op BenchmarkInt63ThreadsafeParallel-4 597834 185.4 ns/op BenchmarkInt63Unthreadsafe-4 1248524 96.10 ns/op BenchmarkIntn1000-4 836194 137.6 ns/op BenchmarkInt63n1000-4 894436 129.1 ns/op BenchmarkInt31n1000-4 924988 118.3 ns/op BenchmarkFloat32-4 993799 113.4 ns/op BenchmarkFloat64-4 1240714 96.92 ns/op BenchmarkPerm3-4 194305 622.4 ns/op BenchmarkPerm30-4 22808 5188 ns/op BenchmarkPerm30ViaShuffle-4 26534 4557 ns/op BenchmarkShuffleOverhead-4 18214 6643 ns/op BenchmarkRead3-4 915932 130.7 ns/op BenchmarkRead64-4 75969 1535 ns/op BenchmarkRead1000-4 5191 22908 ns/op BenchmarkConcurrent-4 165219 715.9 ns/op PASS ok math/rand 2.456s goos: linux goarch: amd64 pkg: mime cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkQEncodeWord-4 42846 2732 ns/op BenchmarkQDecodeWord-4 95619 1113 ns/op BenchmarkQDecodeHeader-4 97348 1199 ns/op BenchmarkTypeByExtension/.html-4 423812 279.4 ns/op BenchmarkTypeByExtension/.HTML-4 256003 398.3 ns/op BenchmarkTypeByExtension/.unused-4 303579 337.0 ns/op BenchmarkExtensionsByType/text/html-4 132951 772.6 ns/op BenchmarkExtensionsByType/text/html;_charset=utf-8-4 76664 1461 ns/op BenchmarkExtensionsByType/application/octet-stream-4 136639 980.8 ns/op PASS ok mime 1.288s goos: linux goarch: amd64 pkg: mime/quotedprintable cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkWriter-4 930 124575 ns/op PASS ok mime/quotedprintable 0.165s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: net cpu: AMD EPYC 7B12 BenchmarkGoLookupIP-4 142 798122 ns/op 8471 B/op 91 allocs/op BenchmarkGoLookupIPNoSuchHost-4 16 6653467 ns/op 19311 B/op 160 allocs/op BenchmarkGoLookupIPWithBrokenNameServer-4 1 5015110810 ns/op 158880 B/op 232 allocs/op BenchmarkDNSName-4 113025 974.8 ns/op BenchmarkInterfaces-4 1902 60594 ns/op BenchmarkInterfaceByIndex-4 2403 45206 ns/op BenchmarkInterfaceByName-4 1839 59073 ns/op BenchmarkInterfaceAddrs-4 1239 91181 ns/op BenchmarkInterfacesAndAddrs-4 4291 24989 ns/op BenchmarkInterfacesAndMulticastAddrs-4 722 161537 ns/op BenchmarkParseIP-4 6129 16626 ns/op BenchmarkParseIPValidIPv4-4 418911 262.2 ns/op BenchmarkParseIPValidIPv6-4 197390 596.6 ns/op BenchmarkIPString/IPv4-4 111049 1037 ns/op 32 B/op 2 allocs/op BenchmarkIPString/IPv6-4 10000 10301 ns/op 216 B/op 11 allocs/op BenchmarkIPMaskString-4 59254 2043 ns/op BenchmarkIPEqual/IPv4-4 1177934 104.3 ns/op BenchmarkIPEqual/IPv6-4 1151314 103.0 ns/op BenchmarkSendFile/1024-4 1 227424792 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/2048-4 1 222239457 ns/op 0.01 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/4096-4 1 220077306 ns/op 0.02 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/8192-4 1 222034396 ns/op 0.04 MB/s 712 B/op 13 allocs/op BenchmarkSendFile/16384-4 1 222217547 ns/op 0.07 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/32768-4 5403 22983 ns/op 1425.72 MB/s 0 B/op 0 allocs/op BenchmarkSendFile/65536-4 2650 45687 ns/op 1434.45 MB/s 0 B/op 0 allocs/op BenchmarkSendFile/131072-4 1268 83224 ns/op 1574.93 MB/s 0 B/op 0 allocs/op BenchmarkSendFile/262144-4 510 196627 ns/op 1333.20 MB/s 1 B/op 0 allocs/op BenchmarkSendFile/524288-4 320 347827 ns/op 1507.32 MB/s 1 B/op 0 allocs/op BenchmarkSendFile/1048576-4 147 825296 ns/op 1270.55 MB/s 3 B/op 0 allocs/op BenchmarkSplice/tcp-to-tcp/1024-4 11246 8972 ns/op 114.13 MB/s BenchmarkSplice/tcp-to-tcp/2048-4 13411 10030 ns/op 204.18 MB/s BenchmarkSplice/tcp-to-tcp/4096-4 9148 11291 ns/op 362.76 MB/s BenchmarkSplice/tcp-to-tcp/8192-4 8506 14163 ns/op 578.39 MB/s BenchmarkSplice/tcp-to-tcp/16384-4 5131 23117 ns/op 708.75 MB/s BenchmarkSplice/tcp-to-tcp/32768-4 3824 30204 ns/op 1084.91 MB/s BenchmarkSplice/tcp-to-tcp/65536-4 1987 52830 ns/op 1240.50 MB/s BenchmarkSplice/tcp-to-tcp/131072-4 1256 90864 ns/op 1442.51 MB/s BenchmarkSplice/tcp-to-tcp/262144-4 607 171003 ns/op 1532.98 MB/s BenchmarkSplice/tcp-to-tcp/524288-4 326 414472 ns/op 1264.95 MB/s BenchmarkSplice/tcp-to-tcp/1048576-4 162 702031 ns/op 1493.63 MB/s BenchmarkSplice/unix-to-tcp/1024-4 24114 4543 ns/op 225.38 MB/s BenchmarkSplice/unix-to-tcp/2048-4 21436 4878 ns/op 419.86 MB/s BenchmarkSplice/unix-to-tcp/4096-4 18140 6875 ns/op 595.78 MB/s BenchmarkSplice/unix-to-tcp/8192-4 11407 10899 ns/op 751.65 MB/s BenchmarkSplice/unix-to-tcp/16384-4 8640 13852 ns/op 1182.81 MB/s BenchmarkSplice/unix-to-tcp/32768-4 3674 28289 ns/op 1158.31 MB/s BenchmarkSplice/unix-to-tcp/65536-4 2679 44412 ns/op 1475.64 MB/s BenchmarkSplice/unix-to-tcp/131072-4 1536 89612 ns/op 1462.65 MB/s BenchmarkSplice/unix-to-tcp/262144-4 722 159227 ns/op 1646.36 MB/s BenchmarkSplice/unix-to-tcp/524288-4 327 322036 ns/op 1628.04 MB/s BenchmarkSplice/unix-to-tcp/1048576-4 164 672286 ns/op 1559.72 MB/s BenchmarkSpliceFile/tcp-to-file/1024-4 13011 9190 ns/op 111.43 MB/s 2 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/2048-4 12378 9207 ns/op 222.44 MB/s 2 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/4096-4 13276 8943 ns/op 458.01 MB/s 2 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/8192-4 7282 15632 ns/op 524.05 MB/s 4 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/16384-4 3830 29257 ns/op 560.01 MB/s 8 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/32768-4 2018 66959 ns/op 489.38 MB/s 16 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/65536-4 908 120297 ns/op 544.79 MB/s 36 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/131072-4 496 245550 ns/op 533.79 MB/s 67 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/262144-4 232 477517 ns/op 548.97 MB/s 143 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/524288-4 102 1054044 ns/op 497.41 MB/s 326 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/1048576-4 58 1874130 ns/op 559.50 MB/s 574 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/1024-4 27714 3944 ns/op 259.62 MB/s 1 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/2048-4 20386 6196 ns/op 330.51 MB/s 1 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/4096-4 12636 9557 ns/op 428.57 MB/s 2 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/8192-4 5781 18821 ns/op 435.27 MB/s 5 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/16384-4 3055 35170 ns/op 465.85 MB/s 10 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/32768-4 1490 75867 ns/op 431.91 MB/s 22 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/65536-4 808 140137 ns/op 467.66 MB/s 41 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/131072-4 362 295904 ns/op 442.95 MB/s 92 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/262144-4 195 565407 ns/op 463.64 MB/s 170 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/524288-4 79 1289265 ns/op 406.66 MB/s 422 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/1048576-4 34 3099089 ns/op 338.35 MB/s 980 B/op 0 allocs/op BenchmarkTCP4OneShot-4 2424 46748 ns/op BenchmarkTCP4OneShotTimeout-4 2563 48888 ns/op BenchmarkTCP4Persistent-4 15328 8100 ns/op BenchmarkTCP4PersistentTimeout-4 15728 7619 ns/op BenchmarkTCP6OneShot-4 2280 45008 ns/op BenchmarkTCP6OneShotTimeout-4 2575 43482 ns/op BenchmarkTCP6Persistent-4 15445 7516 ns/op BenchmarkTCP6PersistentTimeout-4 18448 7658 ns/op BenchmarkTCP4ConcurrentReadWrite-4 30760 4046 ns/op BenchmarkTCP6ConcurrentReadWrite-4 24324 4289 ns/op BenchmarkSetReadDeadline-4 146440 936.7 ns/op BenchmarkReadWriteMsgUDPAddrPort-4 9439 10783 ns/op 0 B/op 0 allocs/op BenchmarkWriteToReadFromUDP-4 10000 10364 ns/op 16 B/op 1 allocs/op BenchmarkWriteToReadFromUDPAddrPort-4 10000 10007 ns/op 0 B/op 0 allocs/op PASS ok net 30.110s goos: linux goarch: amd64 pkg: net/http cpu: AMD EPYC 7B12 BenchmarkCookieString-4 27313 4367 ns/op 176 B/op 1 allocs/op BenchmarkReadSetCookies-4 11290 10371 ns/op 1168 B/op 21 allocs/op BenchmarkReadCookies-4 15782 7489 ns/op 1840 B/op 11 allocs/op BenchmarkHeaderWriteSubset-4 17972 6586 ns/op 46 B/op 0 allocs/op BenchmarkCopyValues-4 35342 3369 ns/op 736 B/op 11 allocs/op BenchmarkHexEscapeNonASCII-4 51526 2433 ns/op 192 B/op 2 allocs/op BenchmarkServerMatch-4 923682 131.9 ns/op BenchmarkReadRequestChrome-4 4153 27142 ns/op 22.51 MB/s 1844 B/op 14 allocs/op BenchmarkReadRequestCurl-4 11150 10591 ns/op 7.36 MB/s 940 B/op 9 allocs/op BenchmarkReadRequestApachebench-4 10000 10515 ns/op 7.80 MB/s 940 B/op 9 allocs/op BenchmarkReadRequestSiege-4 8061 15100 ns/op 10.00 MB/s 1036 B/op 11 allocs/op BenchmarkReadRequestWrk-4 17160 6938 ns/op 5.77 MB/s 876 B/op 7 allocs/op BenchmarkFileAndServer_1KB/h1-4 384 303958 ns/op 3.37 MB/s BenchmarkFileAndServer_1KB/https1-4 271 419229 ns/op 2.44 MB/s BenchmarkFileAndServer_1KB/h2-4 183 634601 ns/op 1.61 MB/s BenchmarkFileAndServer_16MB/h1-4 3 36244414 ns/op 462.89 MB/s BenchmarkFileAndServer_16MB/https1-4 2 87677934 ns/op 191.35 MB/s BenchmarkFileAndServer_16MB/h2-4 1 148498727 ns/op 112.98 MB/s BenchmarkFileAndServer_64MB/h1-4 1 137898228 ns/op 486.66 MB/s BenchmarkFileAndServer_64MB/https1-4 1 327695941 ns/op 204.79 MB/s BenchmarkFileAndServer_64MB/h2-4 1 781523033 ns/op 85.87 MB/s BenchmarkServeMux-4 273 446555 ns/op 17280 B/op 360 allocs/op BenchmarkServeMux_SkipServe-4 354 346174 ns/op 0 B/op 0 allocs/op BenchmarkClientServer/h1-4 472 261047 ns/op 5911 B/op 64 allocs/op BenchmarkClientServer/https1-4 324 387138 ns/op 6503 B/op 73 allocs/op BenchmarkClientServer/h2-4 214 489978 ns/op 10007 B/op 80 allocs/op BenchmarkClientServerParallel/4/h1-4 1270 98352 ns/op 10180 B/op 80 allocs/op BenchmarkClientServerParallel/4/https1-4 38 3295529 ns/op 84062 B/op 904 allocs/op --- BENCH: BenchmarkClientServerParallel/4/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54576: read tcp 127.0.0.1:40319->127.0.0.1:54576: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54558: read tcp 127.0.0.1:40319->127.0.0.1:54558: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54570: write tcp 127.0.0.1:40319->127.0.0.1:54570: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54584: write tcp 127.0.0.1:40319->127.0.0.1:54584: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:48928: read tcp 127.0.0.1:44395->127.0.0.1:48928: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:48902: write tcp 127.0.0.1:44395->127.0.0.1:48902: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:48898: write tcp 127.0.0.1:44395->127.0.0.1:48898: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:48918: write tcp 127.0.0.1:44395->127.0.0.1:48918: use of closed network connection BenchmarkClientServerParallel/4/h2-4 296 379040 ns/op 13947 B/op 135 allocs/op --- BENCH: BenchmarkClientServerParallel/4/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59364: read tcp 127.0.0.1:41795->127.0.0.1:59364: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59368: write tcp 127.0.0.1:41795->127.0.0.1:59368: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51374: read tcp 127.0.0.1:43789->127.0.0.1:51374: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51328: read tcp 127.0.0.1:43789->127.0.0.1:51328: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51334: write tcp 127.0.0.1:43789->127.0.0.1:51334: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:43412: write tcp 127.0.0.1:44145->127.0.0.1:43412: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:43438: write tcp 127.0.0.1:44145->127.0.0.1:43438: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:58814: write tcp 127.0.0.1:36435->127.0.0.1:58814: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:56152: write tcp 127.0.0.1:42323->127.0.0.1:56152: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:56168: write tcp 127.0.0.1:42323->127.0.0.1:56168: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h1-4 914 122551 ns/op 15124 B/op 96 allocs/op BenchmarkClientServerParallel/64/https1-4 64 4396494 ns/op 110694 B/op 1175 allocs/op --- BENCH: BenchmarkClientServerParallel/64/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:36286: read tcp 127.0.0.1:42733->127.0.0.1:36286: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:36298: write tcp 127.0.0.1:42733->127.0.0.1:36298: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:36282: write tcp 127.0.0.1:42733->127.0.0.1:36282: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51914: read tcp 127.0.0.1:35497->127.0.0.1:51914: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:52010: write tcp 127.0.0.1:35497->127.0.0.1:52010: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:52050: write tcp 127.0.0.1:35497->127.0.0.1:52050: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:52024: read tcp 127.0.0.1:35497->127.0.0.1:52024: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:52062: read tcp 127.0.0.1:35497->127.0.0.1:52062: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:52076: read tcp 127.0.0.1:35497->127.0.0.1:52076: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:52052: read tcp 127.0.0.1:35497->127.0.0.1:52052: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h2-4 123 1747205 ns/op 49249 B/op 546 allocs/op --- BENCH: BenchmarkClientServerParallel/64/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:36630: read tcp 127.0.0.1:38519->127.0.0.1:36630: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:36628: write tcp 127.0.0.1:38519->127.0.0.1:36628: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:36642: write tcp 127.0.0.1:38519->127.0.0.1:36642: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46896: read tcp 127.0.0.1:39235->127.0.0.1:46896: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46892: read tcp 127.0.0.1:39235->127.0.0.1:46892: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46912: write tcp 127.0.0.1:39235->127.0.0.1:46912: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:47042: read tcp 127.0.0.1:39235->127.0.0.1:47042: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46932: read tcp 127.0.0.1:39235->127.0.0.1:46932: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46948: read tcp 127.0.0.1:39235->127.0.0.1:46948: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46938: read tcp 127.0.0.1:39235->127.0.0.1:46938: use of closed network connection ... [output truncated] BenchmarkServer-4 243 490456 ns/op 2881 B/op 22 allocs/op BenchmarkClient-4 393 352256 ns/op 3754 B/op 45 allocs/op BenchmarkServerFakeConnNoKeepAlive-4 775 149630 ns/op 7565 B/op 54 allocs/op BenchmarkServerFakeConnWithKeepAlive-4 1327 80313 ns/op 3106 B/op 24 allocs/op BenchmarkServerFakeConnWithKeepAliveLite-4 1933 66336 ns/op 1935 B/op 14 allocs/op BenchmarkServerHandlerTypeLen-4 1646 81869 ns/op 2763 B/op 21 allocs/op BenchmarkServerHandlerNoLen-4 1426 70827 ns/op 2701 B/op 19 allocs/op BenchmarkServerHandlerNoType-4 1724 63003 ns/op 2705 B/op 20 allocs/op BenchmarkServerHandlerNoHeader-4 2092 66501 ns/op 1918 B/op 14 allocs/op BenchmarkServerHijack-4 1213 102266 ns/op 16696 B/op 50 allocs/op BenchmarkCloseNotifier/h1-4 418 285059 ns/op 5883 B/op 52 allocs/op BenchmarkResponseStatusLine-4 538171 221.5 ns/op 0 B/op 0 allocs/op PASS ok net/http 10.971s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: net/http/httputil cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkServeHTTP-4 5768 23316 ns/op 34073 B/op 12 allocs/op PASS ok net/http/httputil 0.329s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: net/netip cpu: AMD EPYC 7B12 BenchmarkIPNextPrev-4 94648 1303 ns/op BenchmarkBinaryMarshalRoundTrip/ipv4-4 518058 208.6 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6-4 192931 598.2 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6+zone-4 67990 1825 ns/op BenchmarkStdIPv4-4 149642 798.3 ns/op 16 B/op 1 allocs/op BenchmarkIPv4-4 113251 1089 ns/op 0 B/op 0 allocs/op BenchmarkIPv4_inline-4 100792 1011 ns/op 0 B/op 0 allocs/op BenchmarkStdIPv6-4 77180 1380 ns/op 16 B/op 1 allocs/op BenchmarkIPv6-4 82741 1431 ns/op 0 B/op 0 allocs/op BenchmarkIPv4Contains-4 1799904 66.96 ns/op 0 B/op 0 allocs/op BenchmarkIPv6Contains-4 1630522 73.04 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v4-4 1356613 89.48 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6-4 266060 438.6 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_ellipsis-4 288506 407.6 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_v4-4 273013 443.5 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_zone-4 85695 1442 ns/op 0 B/op 0 allocs/op BenchmarkStdParseIP/v4-4 322002 360.9 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6-4 150891 784.7 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_ellipsis-4 144960 767.3 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_v4-4 144508 805.7 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_zone-4 77317 1568 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v4-4 376387 331.2 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v6-4 139779 835.0 ns/op 48 B/op 1 allocs/op BenchmarkIPString/v6_ellipsis-4 182533 664.7 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_v4-4 273234 446.3 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_zone-4 160272 719.3 ns/op 24 B/op 1 allocs/op BenchmarkIPStringExpanded/v4-4 321786 370.8 ns/op 16 B/op 1 allocs/op BenchmarkIPStringExpanded/v6-4 190881 625.2 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_ellipsis-4 190754 635.5 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_v4-4 190042 624.8 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_zone-4 139381 871.5 ns/op 128 B/op 2 allocs/op BenchmarkIPMarshalText-4 490075 234.4 ns/op 16 B/op 1 allocs/op BenchmarkAddrPortString/v4-4 158158 748.9 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortString/v6-4 104518 1131 ns/op 112 B/op 3 allocs/op BenchmarkAddrPortString/v6_ellipsis-4 127892 932.3 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_v4-4 161586 744.8 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_zone-4 116838 1035 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortMarshalText/v4-4 254745 463.2 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6-4 131730 871.8 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_ellipsis-4 152806 774.9 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_v4-4 185401 633.7 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_zone-4 140832 837.1 ns/op 64 B/op 1 allocs/op BenchmarkPrefixMasking/IPv4_/32-4 1208623 101.3 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/17-4 1000000 100.7 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/0-4 1000000 100.6 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/128-4 962031 110.3 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/65-4 1000000 116.1 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/0-4 1000000 104.9 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/128-4 1000000 106.1 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/65-4 1000000 112.1 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/0-4 1000000 106.4 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMarshalText-4 387321 310.8 ns/op 24 B/op 1 allocs/op BenchmarkParseAddrPort/v4-4 564198 206.1 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6-4 215860 551.3 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_ellipsis-4 230943 533.5 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_v4-4 214652 554.7 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_zone-4 76968 1592 ns/op 0 B/op 0 allocs/op BenchmarkAs16-4 617194 191.5 ns/op PASS ok net/netip 7.705s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Running benchmarks briefly. 2023/03/16 18:03:34 Test RPC server listening on 127.0.0.1:45729 2023/03/16 18:03:34 Test HTTP RPC server listening on 127.0.0.1:42375 goos: linux goarch: amd64 pkg: net/rpc cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEndToEnd-4 1473 77589 ns/op BenchmarkEndToEndHTTP-4 1538 73286 ns/op BenchmarkEndToEndAsync-4 3556 40376 ns/op BenchmarkEndToEndAsyncHTTP-4 3388 36522 ns/op PASS ok net/rpc 1.011s goos: linux goarch: amd64 pkg: net/textproto cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadMIMEHeader/client_headers-4 3004 34098 ns/op BenchmarkReadMIMEHeader/server_headers-4 5599 20903 ns/op BenchmarkUncommon-4 25975 4495 ns/op 480 B/op 5 allocs/op PASS ok net/textproto 0.532s goos: linux goarch: amd64 pkg: net/url cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkString-4 4540 23311 ns/op 1616 B/op 60 allocs/op BenchmarkResolvePath-4 91626 1203 ns/op 32 B/op 2 allocs/op BenchmarkQueryEscape/#00-4 590409 201.8 ns/op 16 B/op 1 allocs/op BenchmarkQueryEscape/#01-4 95985 1269 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#02-4 175540 671.2 ns/op 32 B/op 1 allocs/op BenchmarkQueryEscape/#03-4 85131 1401 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#04-4 14283 8342 ns/op 832 B/op 2 allocs/op BenchmarkPathEscape/#00-4 379363 297.7 ns/op 16 B/op 1 allocs/op BenchmarkPathEscape/#01-4 93178 1293 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#02-4 182090 666.1 ns/op 32 B/op 1 allocs/op BenchmarkPathEscape/#03-4 84804 1412 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#04-4 15456 7333 ns/op 704 B/op 2 allocs/op BenchmarkQueryUnescape/#00-4 195189 613.0 ns/op 16 B/op 1 allocs/op BenchmarkQueryUnescape/#01-4 77595 1534 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#02-4 77212 1529 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#03-4 35130 3359 ns/op 64 B/op 1 allocs/op BenchmarkQueryUnescape/#04-4 6166 18505 ns/op 320 B/op 1 allocs/op BenchmarkPathUnescape/#00-4 190683 614.8 ns/op 16 B/op 1 allocs/op BenchmarkPathUnescape/#01-4 75301 1537 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#02-4 77230 1527 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#03-4 35346 3384 ns/op 64 B/op 1 allocs/op BenchmarkPathUnescape/#04-4 6380 18224 ns/op 320 B/op 1 allocs/op PASS ok net/url 3.279s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: os cpu: AMD EPYC 7B12 BenchmarkExpand/noop-4 3983818 27.27 ns/op 0 B/op 0 allocs/op BenchmarkExpand/multiple-4 180199 645.8 ns/op 48 B/op 2 allocs/op BenchmarkReaddirname-4 928 121102 ns/op --- BENCH: BenchmarkReaddirname-4 os_test.go:501: benchmarkReaddirname ".": 122 entries os_test.go:501: benchmarkReaddirname ".": 122 entries os_test.go:501: benchmarkReaddirname ".": 122 entries BenchmarkReaddir-4 340 342529 ns/op --- BENCH: BenchmarkReaddir-4 os_test.go:518: benchmarkReaddir ".": 122 entries os_test.go:518: benchmarkReaddir ".": 122 entries os_test.go:518: benchmarkReaddir ".": 122 entries BenchmarkReadDir-4 763 156157 ns/op --- BENCH: BenchmarkReadDir-4 os_test.go:535: benchmarkReadDir ".": 122 entries os_test.go:535: benchmarkReadDir ".": 122 entries os_test.go:535: benchmarkReadDir ".": 122 entries BenchmarkStatDot-4 85066 1396 ns/op BenchmarkStatFile-4 65494 1800 ns/op BenchmarkStatDir-4 69934 1672 ns/op BenchmarkLstatDot-4 84250 1393 ns/op BenchmarkLstatFile-4 66973 1748 ns/op BenchmarkLstatDir-4 70398 1679 ns/op PASS ok os 1.543s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: os/exec cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExecHostname-4 147 805519 ns/op 6576 B/op 29 allocs/op PASS ok os/exec 0.240s goos: linux goarch: amd64 pkg: os/user cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCurrent-4 366140 286.2 ns/op PASS ok os/user 0.217s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: reflect cpu: AMD EPYC 7B12 BenchmarkBool-4 4158566 25.49 ns/op BenchmarkString-4 2457178 47.93 ns/op BenchmarkBytes-4 2273708 50.68 ns/op BenchmarkNamedBytes-4 804429 144.5 ns/op BenchmarkBytesArray-4 688017 168.7 ns/op BenchmarkSliceLen-4 2654516 43.82 ns/op BenchmarkMapLen-4 1547994 77.92 ns/op BenchmarkStringLen-4 1654417 68.67 ns/op BenchmarkArrayLen-4 1680956 72.02 ns/op BenchmarkSliceCap-4 2751594 45.20 ns/op BenchmarkDeepEqual/int8-4 709735 163.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int8-4 115338 1019 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int16-4 530719 222.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int16-4 111926 1068 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int32-4 506094 218.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int32-4 111205 1076 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int64-4 505264 221.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int64-4 111987 1064 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int-4 549447 216.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int-4 112075 1056 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint8-4 688665 172.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8-4 138932 849.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint16-4 522740 222.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint16-4 106411 1063 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint32-4 492636 230.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint32-4 107101 1063 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint64-4 514716 224.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint64-4 105463 1103 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint-4 528729 221.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint-4 113564 1063 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uintptr-4 530043 225.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uintptr-4 107884 1103 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float32-4 506863 228.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float32-4 108502 1113 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float64-4 506758 226.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float64-4 113595 1045 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex64-4 548102 217.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex64-4 113040 1050 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex128-4 516600 217.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex128-4 108195 1054 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/bool-4 704828 168.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]bool-4 118729 1008 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/string-4 552307 214.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]string-4 108285 1054 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8#01-4 134878 843.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][]uint8-4 67924 1686 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[6]uint8-4 70312 1637 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][6]uint8-4 46054 2501 ns/op 0 B/op 0 allocs/op BenchmarkIsZero/ArrayComparable-4 280285 419.6 ns/op BenchmarkIsZero/ArrayIncomparable-4 43238 2749 ns/op BenchmarkIsZero/StructComparable-4 843757 129.5 ns/op BenchmarkIsZero/StructIncomparable-4 188430 634.6 ns/op BenchmarkSetZero/Bool/Direct-4 4017601 27.33 ns/op BenchmarkSetZero/Bool/CachedZero-4 1741201 68.24 ns/op BenchmarkSetZero/Bool/NewZero-4 1241137 95.69 ns/op BenchmarkSetZero/Int/Direct-4 2634228 45.31 ns/op BenchmarkSetZero/Int/CachedZero-4 1721118 74.00 ns/op BenchmarkSetZero/Int/NewZero-4 1240269 96.14 ns/op BenchmarkSetZero/Uint/Direct-4 2458483 46.93 ns/op BenchmarkSetZero/Uint/CachedZero-4 1721196 69.49 ns/op BenchmarkSetZero/Uint/NewZero-4 1000000 103.2 ns/op BenchmarkSetZero/Float/Direct-4 2487825 46.05 ns/op BenchmarkSetZero/Float/CachedZero-4 1707036 70.36 ns/op BenchmarkSetZero/Float/NewZero-4 1000000 100.1 ns/op BenchmarkSetZero/Complex/Direct-4 2408690 50.25 ns/op BenchmarkSetZero/Complex/CachedZero-4 1541193 68.86 ns/op BenchmarkSetZero/Complex/NewZero-4 1000000 101.1 ns/op BenchmarkSetZero/Array/Direct-4 4006203 30.45 ns/op BenchmarkSetZero/Array/CachedZero-4 1689626 71.00 ns/op BenchmarkSetZero/Array/NewZero-4 1226294 97.18 ns/op BenchmarkSetZero/Chan/Direct-4 2512000 48.53 ns/op BenchmarkSetZero/Chan/CachedZero-4 1384614 91.06 ns/op BenchmarkSetZero/Chan/NewZero-4 1000000 112.2 ns/op BenchmarkSetZero/Func/Direct-4 2662586 45.46 ns/op BenchmarkSetZero/Func/CachedZero-4 1369334 86.84 ns/op BenchmarkSetZero/Func/NewZero-4 988011 110.0 ns/op BenchmarkSetZero/Interface/Direct-4 2195496 54.83 ns/op BenchmarkSetZero/Interface/CachedZero-4 1556540 70.22 ns/op BenchmarkSetZero/Interface/NewZero-4 1238630 95.82 ns/op BenchmarkSetZero/Map/Direct-4 2651143 45.56 ns/op BenchmarkSetZero/Map/CachedZero-4 1293829 92.44 ns/op BenchmarkSetZero/Map/NewZero-4 974816 110.0 ns/op BenchmarkSetZero/Pointer/Direct-4 2495432 48.39 ns/op BenchmarkSetZero/Pointer/CachedZero-4 1299784 87.55 ns/op BenchmarkSetZero/Pointer/NewZero-4 1000000 109.1 ns/op BenchmarkSetZero/Slice/Direct-4 2116906 56.26 ns/op BenchmarkSetZero/Slice/CachedZero-4 1665956 68.92 ns/op BenchmarkSetZero/Slice/NewZero-4 1250976 96.47 ns/op BenchmarkSetZero/String/Direct-4 2519488 47.94 ns/op BenchmarkSetZero/String/CachedZero-4 1754636 70.34 ns/op BenchmarkSetZero/String/NewZero-4 1000000 102.5 ns/op BenchmarkSetZero/Struct/Direct-4 3789978 30.22 ns/op BenchmarkSetZero/Struct/CachedZero-4 1596118 71.41 ns/op BenchmarkSetZero/Struct/NewZero-4 1000000 101.3 ns/op BenchmarkSelect/1-4 180000 641.9 ns/op 80 B/op 5 allocs/op BenchmarkSelect/4-4 95204 1242 ns/op 208 B/op 8 allocs/op BenchmarkSelect/8-4 51351 2306 ns/op 672 B/op 13 allocs/op BenchmarkCall-4 170349 603.9 ns/op 0 B/op 0 allocs/op BenchmarkCallMethod-4 143438 771.4 ns/op 0 B/op 0 allocs/op BenchmarkCallArgCopy/size=128-4 88881 1266 ns/op 101.07 MB/s BenchmarkCallArgCopy/size=256-4 92925 1281 ns/op 199.92 MB/s BenchmarkCallArgCopy/size=1024-4 74179 1697 ns/op 603.35 MB/s BenchmarkCallArgCopy/size=4096-4 38932 2964 ns/op 1382.08 MB/s BenchmarkCallArgCopy/size=65536-4 3568 31010 ns/op 2113.40 MB/s BenchmarkPtrTo-4 591618 203.6 ns/op BenchmarkFieldByName1-4 812534 148.1 ns/op BenchmarkFieldByName2-4 83506 1415 ns/op BenchmarkFieldByName3-4 9756 11506 ns/op BenchmarkInterfaceBig-4 4965688 24.35 ns/op BenchmarkInterfaceSmall-4 3966282 25.22 ns/op BenchmarkNew-4 2333041 55.76 ns/op BenchmarkMap/StringKeys/MapIndex-4 3478 34559 ns/op 0 B/op 0 allocs/op BenchmarkMap/StringKeys/SetMapIndex-4 3421 34475 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/MapIndex-4 3164 35499 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/SetMapIndex-4 3020 36811 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/MapIndex-4 3339 34848 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/SetMapIndex-4 3280 35955 ns/op 0 B/op 0 allocs/op BenchmarkMapIterNext-4 257334 433.4 ns/op PASS ok reflect 17.853s goos: linux goarch: amd64 pkg: regexp cpu: AMD EPYC 7B12 BenchmarkFind-4 13305 8136 ns/op 9293 B/op 1 allocs/op BenchmarkFindAllNoMatches-4 21289 6019 ns/op 9227 B/op 1 allocs/op BenchmarkFindString-4 15859 8509 ns/op 9361 B/op 1 allocs/op BenchmarkFindSubmatch-4 13431 9055 ns/op 9295 B/op 2 allocs/op BenchmarkFindStringSubmatch-4 14190 8772 ns/op 9145 B/op 2 allocs/op BenchmarkLiteral-4 21250 4730 ns/op BenchmarkNotLiteral-4 4536 24121 ns/op BenchmarkMatchClass-4 3572 33396 ns/op BenchmarkMatchClass_InRange-4 3772 31857 ns/op BenchmarkReplaceAll-4 3280 37266 ns/op BenchmarkAnchoredLiteralShortNonMatch-4 22882 5022 ns/op BenchmarkAnchoredLiteralLongNonMatch-4 48327 2507 ns/op BenchmarkAnchoredShortMatch-4 23726 5776 ns/op BenchmarkAnchoredLongMatch-4 21717 5479 ns/op BenchmarkOnePassShortA-4 20412 5732 ns/op BenchmarkNotOnePassShortA-4 8966 12326 ns/op BenchmarkOnePassShortB-4 26770 4530 ns/op BenchmarkNotOnePassShortB-4 13023 9567 ns/op BenchmarkOnePassLongPrefix-4 91532 1395 ns/op BenchmarkOnePassLongNotPrefix-4 28514 4142 ns/op BenchmarkMatchParallelShared-4 23270 5524 ns/op BenchmarkMatchParallelCopied-4 25081 5120 ns/op BenchmarkQuoteMetaAll-4 171792 687.3 ns/op 20.37 MB/s BenchmarkQuoteMetaNone-4 366382 310.4 ns/op 83.76 MB/s BenchmarkCompile/Onepass-4 4486 25569 ns/op 4144 B/op 52 allocs/op BenchmarkCompile/Medium-4 1662 67076 ns/op 9704 B/op 112 allocs/op BenchmarkCompile/Hard-4 201 576234 ns/op 84760 B/op 424 allocs/op BenchmarkMatch/Easy0/16-4 4435568 26.76 ns/op 598.01 MB/s BenchmarkMatch/Easy0/32-4 23851 4941 ns/op 6.48 MB/s BenchmarkMatch/Easy0/1K-4 7902 15017 ns/op 68.19 MB/s BenchmarkMatch/Easy0i/16-4 4502856 26.29 ns/op 608.62 MB/s BenchmarkMatch/Easy0i/32-4 6001 19502 ns/op 1.64 MB/s BenchmarkMatch/Easy0i/1K-4 260 416427 ns/op 2.46 MB/s BenchmarkMatch/Easy1/16-4 4051344 29.33 ns/op 545.44 MB/s BenchmarkMatch/Easy1/32-4 23458 5197 ns/op 6.16 MB/s BenchmarkMatch/Easy1/1K-4 5360 21399 ns/op 47.85 MB/s BenchmarkMatch/Medium/16-4 4528809 25.92 ns/op 617.36 MB/s BenchmarkMatch/Medium/32-4 6757 16977 ns/op 1.88 MB/s BenchmarkMatch/Medium/1K-4 337 352231 ns/op 2.91 MB/s BenchmarkMatch/Hard/16-4 4474612 26.35 ns/op 607.28 MB/s BenchmarkMatch/Hard/32-4 4345 26564 ns/op 1.20 MB/s BenchmarkMatch/Hard/1K-4 196 606257 ns/op 1.69 MB/s BenchmarkMatch/Hard1/16-4 1669 71002 ns/op 0.23 MB/s BenchmarkMatch/Hard1/32-4 918 137489 ns/op 0.23 MB/s BenchmarkMatch/Hard1/1K-4 30 3811718 ns/op 0.27 MB/s BenchmarkMatch_onepass_regex/16-4 29499 3914 ns/op 4.09 MB/s 24 B/op 0 allocs/op BenchmarkMatch_onepass_regex/32-4 17539 6866 ns/op 4.66 MB/s 23 B/op 0 allocs/op BenchmarkMatch_onepass_regex/1K-4 682 165674 ns/op 6.18 MB/s 25 B/op 0 allocs/op PASS ok regexp 7.692s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: regexp/syntax cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEmptyOpContext-4 609939 186.8 ns/op BenchmarkIsWordChar-4 195900 617.5 ns/op PASS ok regexp/syntax 1.316s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: runtime cpu: AMD EPYC 7B12 BenchmarkCallers/cached-4 77929 1580 ns/op BenchmarkCallers/inlined-4 58796 2008 ns/op BenchmarkCallers/no-cache-4 14967 8063 ns/op BenchmarkMakeChan/Byte-4 1334317 86.63 ns/op BenchmarkMakeChan/Int-4 1000000 101.7 ns/op BenchmarkMakeChan/Ptr-4 569611 184.6 ns/op BenchmarkMakeChan/Struct/0-4 1428384 85.53 ns/op BenchmarkMakeChan/Struct/32-4 591415 172.1 ns/op BenchmarkMakeChan/Struct/40-4 646506 218.6 ns/op BenchmarkChanNonblocking-4 10831389 10.12 ns/op BenchmarkSelectUncontended-4 988452 105.5 ns/op BenchmarkSelectSyncContended-4 58161 3314 ns/op BenchmarkSelectAsyncContended-4 156495 902.9 ns/op BenchmarkSelectNonblock-4 7031694 16.90 ns/op BenchmarkChanUncontended-4 12646 10911 ns/op BenchmarkChanContended-4 1574 103651 ns/op BenchmarkChanSync-4 206284 716.6 ns/op BenchmarkChanSyncWork-4 10000 12234 ns/op BenchmarkChanProdCons0-4 81540 1239 ns/op BenchmarkChanProdCons10-4 161758 654.6 ns/op BenchmarkChanProdCons100-4 141528 778.1 ns/op BenchmarkChanProdConsWork0-4 85268 1835 ns/op BenchmarkChanProdConsWork10-4 92942 1548 ns/op BenchmarkChanProdConsWork100-4 86104 1393 ns/op BenchmarkSelectProdCons-4 57837 1802 ns/op BenchmarkReceiveDataFromClosedChan-4 984745 122.8 ns/op BenchmarkChanCreation-4 262524 448.7 ns/op BenchmarkChanSem-4 153337 764.9 ns/op BenchmarkChanPopular-4 147 879846 ns/op BenchmarkChanClosed-4 1000000 110.4 ns/op BenchmarkCallClosure-4 5703094 19.14 ns/op BenchmarkCallClosure1-4 7309336 16.18 ns/op BenchmarkCallClosure2-4 1365310 86.38 ns/op BenchmarkCallClosure3-4 1722698 69.66 ns/op BenchmarkCallClosure4-4 1449276 84.29 ns/op BenchmarkComplex128DivNormal-4 12138324 9.788 ns/op BenchmarkComplex128DivNisNaN-4 9709899 12.56 ns/op BenchmarkComplex128DivDisNaN-4 9154581 13.05 ns/op BenchmarkComplex128DivNisInf-4 12187574 9.853 ns/op BenchmarkComplex128DivDisInf-4 7025000 16.73 ns/op BenchmarkSetTypePtr-4 43870102 2.663 ns/op 3003.94 MB/s BenchmarkSetTypePtr8-4 13056202 9.189 ns/op 6965.05 MB/s BenchmarkSetTypePtr16-4 12968467 9.185 ns/op 13935.64 MB/s BenchmarkSetTypePtr32-4 12925082 9.173 ns/op 27909.15 MB/s BenchmarkSetTypePtr64-4 13107457 9.185 ns/op 55743.93 MB/s BenchmarkSetTypePtr126-4 8194824 14.55 ns/op 69293.90 MB/s BenchmarkSetTypePtr128-4 8327157 13.96 ns/op 73356.88 MB/s BenchmarkSetTypePtrSlice-4 1000000 102.9 ns/op 79596.41 MB/s BenchmarkSetTypeNode1-4 13085560 9.334 ns/op 2571.38 MB/s BenchmarkSetTypeNode1Slice-4 5647615 21.39 ns/op 35901.17 MB/s BenchmarkSetTypeNode8-4 13101476 9.173 ns/op 8721.19 MB/s BenchmarkSetTypeNode8Slice-4 2698603 44.36 ns/op 57705.54 MB/s BenchmarkSetTypeNode64-4 8148680 14.53 ns/op 36328.08 MB/s BenchmarkSetTypeNode64Slice-4 309156 382.9 ns/op 44131.58 MB/s BenchmarkSetTypeNode64Dead-4 10339966 11.78 ns/op 44816.39 MB/s BenchmarkSetTypeNode64DeadSlice-4 358056 330.7 ns/op 51090.98 MB/s BenchmarkSetTypeNode124-4 8273523 14.59 ns/op 69085.69 MB/s BenchmarkSetTypeNode124Slice-4 255205 460.1 ns/op 70107.16 MB/s BenchmarkSetTypeNode126-4 8439744 13.99 ns/op 73180.10 MB/s BenchmarkSetTypeNode126Slice-4 253821 471.1 ns/op 69554.18 MB/s BenchmarkSetTypeNode128-4 5962304 20.13 ns/op 51675.24 MB/s BenchmarkSetTypeNode128Slice-4 197859 604.0 ns/op 55099.52 MB/s BenchmarkSetTypeNode130-4 5845618 20.15 ns/op 52407.74 MB/s BenchmarkSetTypeNode130Slice-4 191352 614.6 ns/op 54982.19 MB/s BenchmarkSetTypeNode1024-4 1000000 103.7 ns/op 79127.35 MB/s BenchmarkSetTypeNode1024Slice-4 34911 3408 ns/op 77064.60 MB/s BenchmarkAllocation-4 4182 30837 ns/op BenchmarkReadMemStats-4 4485 23596 ns/op BenchmarkReadMemStatsLatency-4 1 77480 p50-ns 77480 p90-ns 77480 p99-ns BenchmarkWriteBarrier-4 3071695 46.01 ns/op BenchmarkBulkWriteBarrier-4 8991950 11.97 ns/op BenchmarkScanStackNoLocals-4 3 36122681 ns/op BenchmarkMSpanCountAlloc/bits=64-4 13400401 9.512 ns/op BenchmarkMSpanCountAlloc/bits=128-4 12983419 9.510 ns/op BenchmarkMSpanCountAlloc/bits=256-4 11665004 10.62 ns/op BenchmarkMSpanCountAlloc/bits=512-4 8335506 14.96 ns/op BenchmarkMSpanCountAlloc/bits=1024-4 6011750 19.49 ns/op BenchmarkHash5-4 7873405 15.16 ns/op 329.82 MB/s BenchmarkHash16-4 8120409 14.69 ns/op 1089.47 MB/s BenchmarkHash64-4 7119068 14.73 ns/op 4346.16 MB/s BenchmarkHash1024-4 3628993 33.08 ns/op 30956.39 MB/s BenchmarkHash65536-4 85339 1406 ns/op 46618.15 MB/s BenchmarkAlignedLoad-4 10322121 11.21 ns/op BenchmarkUnalignedLoad-4 8788888 12.48 ns/op BenchmarkEqEfaceConcrete-4 6667670 15.13 ns/op BenchmarkEqIfaceConcrete-4 6779917 15.93 ns/op BenchmarkNeEfaceConcrete-4 7098426 17.33 ns/op BenchmarkNeIfaceConcrete-4 7928804 15.53 ns/op BenchmarkConvT2EByteSized/bool-4 7366056 16.26 ns/op BenchmarkConvT2EByteSized/uint8-4 7014378 16.57 ns/op BenchmarkConvT2ESmall-4 6792247 17.97 ns/op BenchmarkConvT2EUintptr-4 6071787 19.94 ns/op BenchmarkConvT2ELarge-4 1000000 100.6 ns/op BenchmarkConvT2ISmall-4 6343472 17.52 ns/op BenchmarkConvT2IUintptr-4 6362427 19.82 ns/op BenchmarkConvT2ILarge-4 1000000 101.8 ns/op BenchmarkConvI2E-4 5785471 20.17 ns/op BenchmarkConvI2I-4 4496229 26.21 ns/op BenchmarkAssertE2T-4 4889397 21.80 ns/op BenchmarkAssertE2TLarge-4 3203052 37.19 ns/op BenchmarkAssertE2I-4 4493995 25.93 ns/op BenchmarkAssertI2T-4 5157842 22.30 ns/op BenchmarkAssertI2I-4 5313837 22.43 ns/op BenchmarkAssertI2E-4 7079706 16.38 ns/op BenchmarkAssertE2E-4 7195376 16.79 ns/op BenchmarkAssertE2T2-4 3986805 29.10 ns/op BenchmarkAssertE2T2Blank-4 5236561 22.00 ns/op BenchmarkAssertI2E2-4 4856217 25.40 ns/op BenchmarkAssertI2E2Blank-4 7103114 16.32 ns/op BenchmarkAssertE2E2-4 5374105 22.42 ns/op BenchmarkAssertE2E2Blank-4 7135447 16.22 ns/op BenchmarkConvT2Ezero/zero/16-4 5839077 20.47 ns/op BenchmarkConvT2Ezero/zero/32-4 6720121 17.73 ns/op BenchmarkConvT2Ezero/zero/64-4 6033170 18.38 ns/op BenchmarkConvT2Ezero/zero/str-4 5483719 18.79 ns/op BenchmarkConvT2Ezero/zero/slice-4 6679586 17.99 ns/op BenchmarkConvT2Ezero/zero/big-4 302776 401.5 ns/op BenchmarkConvT2Ezero/nonzero/str-4 1368915 89.16 ns/op BenchmarkConvT2Ezero/nonzero/slice-4 1343588 90.94 ns/op BenchmarkConvT2Ezero/nonzero/big-4 300184 398.9 ns/op BenchmarkConvT2Ezero/smallint/16-4 6618176 18.10 ns/op BenchmarkConvT2Ezero/smallint/32-4 6696207 18.06 ns/op BenchmarkConvT2Ezero/smallint/64-4 6285207 18.42 ns/op BenchmarkConvT2Ezero/largeint/16-4 1743723 69.82 ns/op BenchmarkConvT2Ezero/largeint/32-4 1757629 68.47 ns/op BenchmarkConvT2Ezero/largeint/64-4 1771671 67.09 ns/op BenchmarkMalloc8-4 1443585 82.35 ns/op BenchmarkMalloc16-4 1339236 87.38 ns/op BenchmarkMallocTypeInfo8-4 1356996 85.95 ns/op BenchmarkMallocTypeInfo16-4 1000000 100.4 ns/op BenchmarkMallocLargeStruct-4 212421 561.2 ns/op BenchmarkGoroutineSelect-4 80 1684189 ns/op BenchmarkGoroutineBlocking-4 79 1568507 ns/op BenchmarkGoroutineForRange-4 74 1632750 ns/op BenchmarkGoroutineIdle-4 91 1506627 ns/op BenchmarkHashStringSpeed-4 3098169 38.27 ns/op BenchmarkHashBytesSpeed-4 1414557 84.89 ns/op BenchmarkHashInt32Speed-4 3568184 31.18 ns/op BenchmarkHashInt64Speed-4 3726871 33.48 ns/op BenchmarkHashStringArraySpeed-4 641430 188.6 ns/op BenchmarkMegMap-4 3927001 29.94 ns/op BenchmarkMegOneMap-4 5099376 23.46 ns/op BenchmarkMegEqMap-4 4116 29080 ns/op BenchmarkMegEmptyMap-4 6126175 19.67 ns/op BenchmarkSmallStrMap-4 4090096 28.84 ns/op BenchmarkMapStringKeysEight_16-4 3994329 29.27 ns/op BenchmarkMapStringKeysEight_32-4 4342834 28.27 ns/op BenchmarkMapStringKeysEight_64-4 4043254 28.65 ns/op BenchmarkMapStringKeysEight_1M-4 4172120 28.52 ns/op BenchmarkIntMap-4 4851859 24.38 ns/op BenchmarkMapFirst/1-4 6036396 19.61 ns/op BenchmarkMapFirst/2-4 5924830 20.25 ns/op BenchmarkMapFirst/3-4 6073914 19.60 ns/op BenchmarkMapFirst/4-4 5936998 19.58 ns/op BenchmarkMapFirst/5-4 5862027 19.60 ns/op BenchmarkMapFirst/6-4 5871291 20.82 ns/op BenchmarkMapFirst/7-4 5952519 19.72 ns/op BenchmarkMapFirst/8-4 5546876 21.41 ns/op BenchmarkMapFirst/9-4 5177840 23.94 ns/op BenchmarkMapFirst/10-4 4554944 23.62 ns/op BenchmarkMapFirst/11-4 5128324 23.59 ns/op BenchmarkMapFirst/12-4 4764211 25.57 ns/op BenchmarkMapFirst/13-4 5082294 22.96 ns/op BenchmarkMapFirst/14-4 4842579 23.10 ns/op BenchmarkMapFirst/15-4 4831077 24.65 ns/op BenchmarkMapFirst/16-4 4746771 26.17 ns/op BenchmarkMapMid/1-4 5008680 24.09 ns/op BenchmarkMapMid/2-4 4916893 24.95 ns/op BenchmarkMapMid/3-4 4879572 24.52 ns/op BenchmarkMapMid/4-4 4644708 25.24 ns/op BenchmarkMapMid/5-4 4380223 26.08 ns/op BenchmarkMapMid/6-4 4727257 25.80 ns/op BenchmarkMapMid/7-4 4254668 25.58 ns/op BenchmarkMapMid/8-4 4431913 25.99 ns/op BenchmarkMapMid/9-4 3690487 31.71 ns/op BenchmarkMapMid/10-4 3725653 28.87 ns/op BenchmarkMapMid/11-4 3912550 30.91 ns/op BenchmarkMapMid/12-4 3521080 31.76 ns/op BenchmarkMapMid/13-4 3704470 29.75 ns/op BenchmarkMapMid/14-4 4010649 32.54 ns/op BenchmarkMapMid/15-4 3700308 28.11 ns/op BenchmarkMapMid/16-4 3648853 31.80 ns/op BenchmarkMapLast/1-4 4632682 23.69 ns/op BenchmarkMapLast/2-4 4354844 26.65 ns/op BenchmarkMapLast/3-4 4442659 25.08 ns/op BenchmarkMapLast/4-4 3939277 26.21 ns/op BenchmarkMapLast/5-4 4673529 26.28 ns/op BenchmarkMapLast/6-4 4044768 27.31 ns/op BenchmarkMapLast/7-4 4297989 27.72 ns/op BenchmarkMapLast/8-4 4148218 27.74 ns/op BenchmarkMapLast/9-4 4145167 31.40 ns/op BenchmarkMapLast/10-4 3695802 31.38 ns/op BenchmarkMapLast/11-4 3899371 33.31 ns/op BenchmarkMapLast/12-4 3476683 32.70 ns/op BenchmarkMapLast/13-4 3667525 32.47 ns/op BenchmarkMapLast/14-4 3683350 30.71 ns/op BenchmarkMapLast/15-4 3700860 31.90 ns/op BenchmarkMapLast/16-4 3696956 30.18 ns/op BenchmarkMapCycle-4 2530104 46.48 ns/op BenchmarkRepeatedLookupStrMapKey32-4 4229595 29.14 ns/op BenchmarkRepeatedLookupStrMapKey1M-4 5160 23271 ns/op BenchmarkMakeMap/[Byte]Byte-4 697663 178.1 ns/op BenchmarkMakeMap/[Int]Int-4 465200 301.1 ns/op BenchmarkNewEmptyMap-4 14088751 8.519 ns/op 0 B/op 0 allocs/op BenchmarkNewSmallMap-4 1742336 68.29 ns/op 0 B/op 0 allocs/op BenchmarkMapIter-4 556645 203.9 ns/op BenchmarkMapIterEmpty-4 6795982 17.61 ns/op BenchmarkSameLengthMap-4 5840612 20.59 ns/op BenchmarkBigKeyMap-4 1575254 76.96 ns/op BenchmarkBigValMap-4 1410493 80.86 ns/op BenchmarkSmallKeyMap-4 3170985 37.41 ns/op BenchmarkMapPopulate/1-4 2617756 44.72 ns/op 0 B/op 0 allocs/op BenchmarkMapPopulate/10-4 151686 796.2 ns/op 179 B/op 1 allocs/op BenchmarkMapPopulate/100-4 9226 14283 ns/op 6273 B/op 15 allocs/op BenchmarkMapPopulate/1000-4 902 132051 ns/op 51768 B/op 55 allocs/op BenchmarkMapPopulate/10000-4 82 1592774 ns/op 416292 B/op 201 allocs/op BenchmarkMapPopulate/100000-4 6 19215313 ns/op 6524920 B/op 2871 allocs/op BenchmarkComplexAlgMap-4 442286 237.3 ns/op BenchmarkGoMapClear/Reflexive/1-4 778164 145.7 ns/op BenchmarkGoMapClear/Reflexive/10-4 690789 164.1 ns/op BenchmarkGoMapClear/Reflexive/100-4 248917 476.1 ns/op BenchmarkGoMapClear/Reflexive/1000-4 45592 2588 ns/op BenchmarkGoMapClear/Reflexive/10000-4 6168 20301 ns/op BenchmarkGoMapClear/NonReflexive/1-4 572149 206.7 ns/op BenchmarkGoMapClear/NonReflexive/10-4 499737 239.5 ns/op BenchmarkGoMapClear/NonReflexive/100-4 220897 535.5 ns/op BenchmarkGoMapClear/NonReflexive/1000-4 42948 2723 ns/op BenchmarkGoMapClear/NonReflexive/10000-4 5131 20811 ns/op BenchmarkMapStringConversion/32/simple-4 1754814 72.51 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/struct-4 1656608 72.98 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/array-4 1562390 78.16 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/simple-4 1573845 75.17 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/struct-4 1445797 78.54 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/array-4 1332027 85.11 ns/op 0 B/op 0 allocs/op BenchmarkMapInterfaceString-4 2090043 54.83 ns/op BenchmarkMapInterfacePtr-4 2470450 49.94 ns/op BenchmarkNewEmptyMapHintLessThan8-4 5196217 21.12 ns/op 0 B/op 0 allocs/op BenchmarkNewEmptyMapHintGreaterThan8-4 146464 824.9 ns/op 1152 B/op 1 allocs/op BenchmarkMapPop100-4 6296 19103 ns/op BenchmarkMapPop1000-4 440 277630 ns/op BenchmarkMapPop10000-4 27 4683944 ns/op BenchmarkMapAssign/Int32/256-4 2753409 44.51 ns/op BenchmarkMapAssign/Int32/65536-4 1656212 62.64 ns/op BenchmarkMapAssign/Int64/256-4 2703642 43.86 ns/op BenchmarkMapAssign/Int64/65536-4 1687670 75.47 ns/op BenchmarkMapAssign/Str/256-4 2106776 56.41 ns/op BenchmarkMapAssign/Str/65536-4 841764 121.3 ns/op BenchmarkMapOperatorAssign/Int32/256-4 1751758 68.75 ns/op BenchmarkMapOperatorAssign/Int32/65536-4 1206814 94.73 ns/op BenchmarkMapOperatorAssign/Int64/256-4 1749738 68.87 ns/op BenchmarkMapOperatorAssign/Int64/65536-4 986312 106.9 ns/op BenchmarkMapOperatorAssign/Str/256-4 564274 2252 ns/op BenchmarkMapOperatorAssign/Str/65536-4 311492 326.1 ns/op BenchmarkMapAppendAssign/Int32/256-4 1000000 105.6 ns/op 32 B/op 0 allocs/op BenchmarkMapAppendAssign/Int32/65536-4 368053 309.2 ns/op 46 B/op 0 allocs/op BenchmarkMapAppendAssign/Int64/256-4 932784 117.5 ns/op 35 B/op 0 allocs/op BenchmarkMapAppendAssign/Int64/65536-4 351673 336.5 ns/op 52 B/op 0 allocs/op BenchmarkMapAppendAssign/Str/256-4 744656 161.2 ns/op 61 B/op 0 allocs/op BenchmarkMapAppendAssign/Str/65536-4 210942 514.2 ns/op 92 B/op 0 allocs/op BenchmarkMapDelete/Int32/100-4 1915356 55.90 ns/op BenchmarkMapDelete/Int32/1000-4 2244468 53.01 ns/op BenchmarkMapDelete/Int32/10000-4 2166676 55.24 ns/op BenchmarkMapDelete/Int64/100-4 2149377 69.59 ns/op BenchmarkMapDelete/Int64/1000-4 2255716 52.86 ns/op BenchmarkMapDelete/Int64/10000-4 2126592 55.05 ns/op BenchmarkMapDelete/Str/100-4 1696898 68.88 ns/op BenchmarkMapDelete/Str/1000-4 1626118 67.80 ns/op BenchmarkMapDelete/Str/10000-4 1631222 72.95 ns/op BenchmarkMapDelete/Pointer/100-4 1914302 61.76 ns/op BenchmarkMapDelete/Pointer/1000-4 1933838 59.44 ns/op BenchmarkMapDelete/Pointer/10000-4 1902356 63.88 ns/op BenchmarkMemmove/0-4 16650570 6.691 ns/op BenchmarkMemmove/1-4 1922214 62.93 ns/op 15.89 MB/s BenchmarkMemmove/2-4 1846976 65.46 ns/op 30.55 MB/s BenchmarkMemmove/3-4 1811923 64.05 ns/op 46.84 MB/s BenchmarkMemmove/4-4 1824889 65.84 ns/op 60.75 MB/s BenchmarkMemmove/5-4 1804605 65.99 ns/op 75.77 MB/s BenchmarkMemmove/6-4 1814562 64.73 ns/op 92.70 MB/s BenchmarkMemmove/7-4 1804814 66.09 ns/op 105.92 MB/s BenchmarkMemmove/8-4 1905901 62.60 ns/op 127.79 MB/s BenchmarkMemmove/9-4 1765195 67.91 ns/op 132.54 MB/s BenchmarkMemmove/10-4 1700684 66.90 ns/op 149.47 MB/s BenchmarkMemmove/11-4 1754106 67.07 ns/op 164.02 MB/s BenchmarkMemmove/12-4 1797920 66.34 ns/op 180.88 MB/s BenchmarkMemmove/13-4 1727815 68.38 ns/op 190.12 MB/s BenchmarkMemmove/14-4 1770931 67.03 ns/op 208.86 MB/s BenchmarkMemmove/15-4 1789156 66.67 ns/op 224.98 MB/s BenchmarkMemmove/16-4 1822302 64.88 ns/op 246.60 MB/s BenchmarkMemmove/32-4 1761728 68.58 ns/op 466.61 MB/s BenchmarkMemmove/64-4 1572993 80.53 ns/op 794.70 MB/s BenchmarkMemmove/128-4 1340931 90.90 ns/op 1408.08 MB/s BenchmarkMemmove/256-4 1000000 110.8 ns/op 2309.43 MB/s BenchmarkMemmove/512-4 633081 185.9 ns/op 2753.97 MB/s BenchmarkMemmove/1024-4 441879 267.2 ns/op 3832.69 MB/s BenchmarkMemmove/2048-4 272599 443.6 ns/op 4617.08 MB/s BenchmarkMemmove/4096-4 149166 802.9 ns/op 5101.38 MB/s BenchmarkMemmoveOverlap/32-4 1739238 68.33 ns/op 468.29 MB/s BenchmarkMemmoveOverlap/64-4 1568257 76.68 ns/op 834.62 MB/s BenchmarkMemmoveOverlap/128-4 1301685 90.58 ns/op 1413.19 MB/s BenchmarkMemmoveOverlap/256-4 1000000 110.6 ns/op 2315.50 MB/s BenchmarkMemmoveOverlap/512-4 626154 186.8 ns/op 2741.15 MB/s BenchmarkMemmoveOverlap/1024-4 433147 274.9 ns/op 3725.54 MB/s BenchmarkMemmoveOverlap/2048-4 270951 444.2 ns/op 4610.60 MB/s BenchmarkMemmoveOverlap/4096-4 150778 796.9 ns/op 5139.84 MB/s BenchmarkMemmoveUnalignedDst/0-4 17316866 6.888 ns/op BenchmarkMemmoveUnalignedDst/1-4 1880761 63.44 ns/op 15.76 MB/s BenchmarkMemmoveUnalignedDst/2-4 1823283 66.53 ns/op 30.06 MB/s BenchmarkMemmoveUnalignedDst/3-4 1806708 65.83 ns/op 45.57 MB/s BenchmarkMemmoveUnalignedDst/4-4 1682346 67.25 ns/op 59.48 MB/s BenchmarkMemmoveUnalignedDst/5-4 1764739 66.22 ns/op 75.51 MB/s BenchmarkMemmoveUnalignedDst/6-4 1812877 66.65 ns/op 90.03 MB/s BenchmarkMemmoveUnalignedDst/7-4 1799275 66.02 ns/op 106.03 MB/s BenchmarkMemmoveUnalignedDst/8-4 1884223 62.82 ns/op 127.35 MB/s BenchmarkMemmoveUnalignedDst/9-4 1666798 67.15 ns/op 134.02 MB/s BenchmarkMemmoveUnalignedDst/10-4 1622335 67.04 ns/op 149.16 MB/s BenchmarkMemmoveUnalignedDst/11-4 1676628 67.17 ns/op 163.76 MB/s BenchmarkMemmoveUnalignedDst/12-4 1630634 66.64 ns/op 180.07 MB/s BenchmarkMemmoveUnalignedDst/13-4 1776746 67.15 ns/op 193.61 MB/s BenchmarkMemmoveUnalignedDst/14-4 1685744 67.29 ns/op 208.06 MB/s BenchmarkMemmoveUnalignedDst/15-4 1786788 67.57 ns/op 222.00 MB/s BenchmarkMemmoveUnalignedDst/16-4 1656474 74.19 ns/op 215.65 MB/s BenchmarkMemmoveUnalignedDst/32-4 1664064 72.05 ns/op 444.12 MB/s BenchmarkMemmoveUnalignedDst/64-4 1493193 79.14 ns/op 808.73 MB/s BenchmarkMemmoveUnalignedDst/128-4 1226305 94.01 ns/op 1361.58 MB/s BenchmarkMemmoveUnalignedDst/256-4 992283 113.3 ns/op 2260.13 MB/s BenchmarkMemmoveUnalignedDst/512-4 608212 189.0 ns/op 2708.84 MB/s BenchmarkMemmoveUnalignedDst/1024-4 436644 271.5 ns/op 3772.02 MB/s BenchmarkMemmoveUnalignedDst/2048-4 265866 449.4 ns/op 4557.05 MB/s BenchmarkMemmoveUnalignedDst/4096-4 146647 820.6 ns/op 4991.24 MB/s BenchmarkMemmoveUnalignedDstOverlap/32-4 1646118 72.99 ns/op 438.44 MB/s BenchmarkMemmoveUnalignedDstOverlap/64-4 1497531 80.78 ns/op 792.32 MB/s BenchmarkMemmoveUnalignedDstOverlap/128-4 1000000 100.0 ns/op 1279.74 MB/s BenchmarkMemmoveUnalignedDstOverlap/256-4 959371 120.6 ns/op 2121.85 MB/s BenchmarkMemmoveUnalignedDstOverlap/512-4 607813 191.8 ns/op 2669.25 MB/s BenchmarkMemmoveUnalignedDstOverlap/1024-4 420654 278.6 ns/op 3674.95 MB/s BenchmarkMemmoveUnalignedDstOverlap/2048-4 258315 463.4 ns/op 4419.94 MB/s BenchmarkMemmoveUnalignedDstOverlap/4096-4 145930 820.3 ns/op 4993.20 MB/s BenchmarkMemmoveUnalignedSrc/0-4 18316164 6.603 ns/op BenchmarkMemmoveUnalignedSrc/1-4 1904587 63.40 ns/op 15.77 MB/s BenchmarkMemmoveUnalignedSrc/2-4 1820691 65.22 ns/op 30.67 MB/s BenchmarkMemmoveUnalignedSrc/3-4 1718931 66.18 ns/op 45.33 MB/s BenchmarkMemmoveUnalignedSrc/4-4 1821382 65.63 ns/op 60.95 MB/s BenchmarkMemmoveUnalignedSrc/5-4 1790085 66.71 ns/op 74.95 MB/s BenchmarkMemmoveUnalignedSrc/6-4 1848079 65.95 ns/op 90.98 MB/s BenchmarkMemmoveUnalignedSrc/7-4 1819623 66.53 ns/op 105.21 MB/s BenchmarkMemmoveUnalignedSrc/8-4 1768370 62.14 ns/op 128.74 MB/s BenchmarkMemmoveUnalignedSrc/9-4 1792665 66.52 ns/op 135.29 MB/s BenchmarkMemmoveUnalignedSrc/10-4 1768338 67.39 ns/op 148.39 MB/s BenchmarkMemmoveUnalignedSrc/11-4 1622730 66.28 ns/op 165.97 MB/s BenchmarkMemmoveUnalignedSrc/12-4 1698015 66.19 ns/op 181.30 MB/s BenchmarkMemmoveUnalignedSrc/13-4 1709398 66.64 ns/op 195.08 MB/s BenchmarkMemmoveUnalignedSrc/14-4 1780920 66.49 ns/op 210.56 MB/s BenchmarkMemmoveUnalignedSrc/15-4 1790082 66.70 ns/op 224.89 MB/s BenchmarkMemmoveUnalignedSrc/16-4 1565598 68.18 ns/op 234.68 MB/s BenchmarkMemmoveUnalignedSrc/32-4 1592029 71.24 ns/op 449.18 MB/s BenchmarkMemmoveUnalignedSrc/64-4 1498646 79.22 ns/op 807.85 MB/s BenchmarkMemmoveUnalignedSrc/128-4 1225210 96.03 ns/op 1332.86 MB/s BenchmarkMemmoveUnalignedSrc/256-4 1000000 114.3 ns/op 2240.56 MB/s BenchmarkMemmoveUnalignedSrc/512-4 606866 185.1 ns/op 2765.93 MB/s BenchmarkMemmoveUnalignedSrc/1024-4 431544 271.1 ns/op 3776.62 MB/s BenchmarkMemmoveUnalignedSrc/2048-4 265174 451.0 ns/op 4541.26 MB/s BenchmarkMemmoveUnalignedSrc/4096-4 147378 809.8 ns/op 5058.29 MB/s BenchmarkMemmoveUnalignedSrcOverlap/32-4 1685631 71.27 ns/op 448.97 MB/s BenchmarkMemmoveUnalignedSrcOverlap/64-4 1502031 79.53 ns/op 804.70 MB/s BenchmarkMemmoveUnalignedSrcOverlap/128-4 1266416 93.92 ns/op 1362.85 MB/s BenchmarkMemmoveUnalignedSrcOverlap/256-4 964646 123.5 ns/op 2072.41 MB/s BenchmarkMemmoveUnalignedSrcOverlap/512-4 571749 195.3 ns/op 2621.83 MB/s BenchmarkMemmoveUnalignedSrcOverlap/1024-4 439050 271.6 ns/op 3770.87 MB/s BenchmarkMemmoveUnalignedSrcOverlap/2048-4 265231 445.2 ns/op 4600.50 MB/s BenchmarkMemmoveUnalignedSrcOverlap/4096-4 148546 802.1 ns/op 5106.37 MB/s BenchmarkMemclr/5-4 13509696 8.213 ns/op 608.76 MB/s BenchmarkMemclr/16-4 14077450 8.549 ns/op 1871.64 MB/s BenchmarkMemclr/64-4 14652532 8.193 ns/op 7811.28 MB/s BenchmarkMemclr/256-4 13108293 9.168 ns/op 27922.55 MB/s BenchmarkMemclr/4096-4 2586771 46.25 ns/op 88558.74 MB/s BenchmarkMemclr/65536-4 164306 725.2 ns/op 90375.68 MB/s BenchmarkMemclr/1M-4 7339 16683 ns/op 62854.78 MB/s BenchmarkMemclr/4M-4 1612 70723 ns/op 59305.67 MB/s BenchmarkMemclr/8M-4 774 160631 ns/op 52222.88 MB/s BenchmarkMemclr/16M-4 100 1128056 ns/op 14872.68 MB/s BenchmarkMemclr/64M-4 39 2948981 ns/op 22756.63 MB/s BenchmarkGoMemclr/5-4 2531542 47.50 ns/op 105.27 MB/s BenchmarkGoMemclr/16-4 767930 148.6 ns/op 107.64 MB/s BenchmarkGoMemclr/64-4 217960 552.0 ns/op 115.94 MB/s BenchmarkGoMemclr/256-4 55872 2146 ns/op 119.30 MB/s BenchmarkMemclrRange/1K_2K-4 81919 1457 ns/op 65803.64 MB/s BenchmarkMemclrRange/2K_8K-4 27975 4275 ns/op 78011.70 MB/s BenchmarkMemclrRange/4K_16K-4 32097 3708 ns/op 87137.82 MB/s BenchmarkMemclrRange/160K_228K-4 6585 18004 ns/op 92361.42 MB/s BenchmarkClearFat7-4 9003439 13.32 ns/op BenchmarkClearFat8-4 9757017 12.33 ns/op BenchmarkClearFat11-4 8977156 13.53 ns/op BenchmarkClearFat12-4 7817379 13.70 ns/op BenchmarkClearFat13-4 9001939 14.61 ns/op BenchmarkClearFat14-4 8029263 13.67 ns/op BenchmarkClearFat15-4 8220157 15.29 ns/op BenchmarkClearFat16-4 9179947 12.99 ns/op BenchmarkClearFat24-4 9011965 13.30 ns/op BenchmarkClearFat32-4 8379378 15.66 ns/op BenchmarkClearFat40-4 7950816 15.01 ns/op BenchmarkClearFat48-4 7508898 16.10 ns/op BenchmarkClearFat56-4 6316610 16.39 ns/op BenchmarkClearFat64-4 6828762 17.22 ns/op BenchmarkClearFat72-4 5723284 20.66 ns/op BenchmarkClearFat128-4 4860703 25.94 ns/op BenchmarkClearFat256-4 3407865 35.17 ns/op BenchmarkClearFat512-4 1765266 71.22 ns/op BenchmarkClearFat1024-4 1000000 117.3 ns/op BenchmarkClearFat1032-4 984493 120.6 ns/op BenchmarkClearFat1040-4 824340 138.5 ns/op BenchmarkCopyFat7-4 8703610 13.65 ns/op BenchmarkCopyFat8-4 10037390 11.97 ns/op BenchmarkCopyFat11-4 8160788 13.35 ns/op BenchmarkCopyFat12-4 8941938 13.39 ns/op BenchmarkCopyFat13-4 9020868 13.33 ns/op BenchmarkCopyFat14-4 8161172 13.42 ns/op BenchmarkCopyFat15-4 9042403 13.30 ns/op BenchmarkCopyFat16-4 8965521 13.12 ns/op BenchmarkCopyFat24-4 8190382 14.66 ns/op BenchmarkCopyFat32-4 8342893 14.33 ns/op BenchmarkCopyFat64-4 6878209 17.38 ns/op BenchmarkCopyFat72-4 5952340 17.90 ns/op BenchmarkCopyFat128-4 4722247 25.28 ns/op BenchmarkCopyFat256-4 3291852 36.66 ns/op BenchmarkCopyFat512-4 1490338 79.75 ns/op BenchmarkCopyFat520-4 1490311 80.37 ns/op BenchmarkCopyFat1024-4 932131 131.0 ns/op BenchmarkCopyFat1032-4 901008 129.4 ns/op BenchmarkCopyFat1040-4 817186 142.4 ns/op BenchmarkIssue18740/2byte-4 418 279871 ns/op BenchmarkIssue18740/4byte-4 681 172532 ns/op BenchmarkIssue18740/8byte-4 1098 105193 ns/op BenchmarkMemclrKnownSize1-4 10432280 11.13 ns/op 89.88 MB/s BenchmarkMemclrKnownSize2-4 6823147 17.25 ns/op 115.96 MB/s BenchmarkMemclrKnownSize4-4 3749419 31.34 ns/op 127.62 MB/s BenchmarkMemclrKnownSize8-4 1677270 71.79 ns/op 111.44 MB/s BenchmarkMemclrKnownSize16-4 815865 144.2 ns/op 110.92 MB/s BenchmarkMemclrKnownSize32-4 422893 280.9 ns/op 113.91 MB/s BenchmarkMemclrKnownSize64-4 225267 526.9 ns/op 121.47 MB/s BenchmarkMemclrKnownSize112-4 126682 947.4 ns/op 118.22 MB/s BenchmarkMemclrKnownSize128-4 110866 1044 ns/op 122.57 MB/s BenchmarkMemclrKnownSize192-4 77526 1548 ns/op 124.05 MB/s BenchmarkMemclrKnownSize248-4 57319 2083 ns/op 119.07 MB/s BenchmarkMemclrKnownSize256-4 55837 2142 ns/op 119.49 MB/s BenchmarkMemclrKnownSize512-4 28062 4276 ns/op 119.74 MB/s BenchmarkMemclrKnownSize1024-4 14084 8539 ns/op 119.92 MB/s BenchmarkMemclrKnownSize4096-4 3327 34265 ns/op 119.54 MB/s BenchmarkMemclrKnownSize512KiB-4 26 4411780 ns/op 118.84 MB/s BenchmarkReadMetricsLatency-4 22423 3690 p50-ns 5180 p90-ns 22250 p99-ns BenchmarkFinalizer-4 124 972132 ns/op BenchmarkFinalizerRun-4 209276 702.4 ns/op BenchmarkPallocBitsSummarize/Unpacked00-4 8347256 14.34 ns/op BenchmarkPallocBitsSummarize/UnpackedFFFFFFFFFFFFFFFF-4 2478038 48.46 ns/op BenchmarkPallocBitsSummarize/UnpackedAA-4 2050528 58.71 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAAAAAAAAAA-4 2030944 59.05 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000AAAAAAAA-4 1357374 87.34 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAA00000001-4 1256461 95.59 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBBBBBBBBBB-4 1941922 61.50 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000BBBBBBBB-4 1315047 91.02 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBB00000001-4 1366881 88.28 ns/op BenchmarkPallocBitsSummarize/UnpackedCCCCCCCCCCCCCCCC-4 1796803 66.55 ns/op BenchmarkPallocBitsSummarize/Unpacked4444444444444444-4 1803687 66.57 ns/op BenchmarkPallocBitsSummarize/Unpacked4040404040404040-4 1612284 73.89 ns/op BenchmarkPallocBitsSummarize/Unpacked4000400040004000-4 1480575 81.51 ns/op BenchmarkPallocBitsSummarize/Unpacked1000404044CCAAFF-4 1390488 86.44 ns/op BenchmarkFindBitRange64/Pattern00Size2-4 7179656 16.53 ns/op BenchmarkFindBitRange64/Pattern00Size8-4 6532065 17.66 ns/op BenchmarkFindBitRange64/Pattern00Size32-4 7321666 16.35 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize2-4 6920371 16.18 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize8-4 6400636 17.35 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize32-4 5972888 19.97 ns/op BenchmarkFindBitRange64/PatternAASize2-4 7479207 16.24 ns/op BenchmarkFindBitRange64/PatternAASize8-4 7003184 16.42 ns/op BenchmarkFindBitRange64/PatternAASize32-4 7324920 16.46 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize2-4 6648352 17.37 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize8-4 6896341 17.83 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize32-4 6544020 16.38 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize2-4 7455601 16.53 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize8-4 7333596 16.42 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize32-4 6518047 16.41 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size2-4 7421976 16.43 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size8-4 6767432 16.37 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size32-4 7182896 16.53 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize2-4 6417176 16.05 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize8-4 6828478 18.02 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize32-4 6990753 18.50 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize2-4 6900540 16.05 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize8-4 6526303 17.54 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize32-4 6515852 17.67 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size2-4 7448414 17.08 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size8-4 5916032 17.50 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size32-4 5665975 19.85 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize2-4 7441098 16.11 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize8-4 6847122 18.34 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize32-4 6889305 18.17 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size2-4 6907102 16.15 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size8-4 7310694 16.63 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size32-4 7031894 16.39 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size2-4 7459814 16.09 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size8-4 7279180 17.64 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size32-4 6522546 18.39 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size2-4 7156927 16.10 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size8-4 7269514 16.41 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size32-4 7275813 18.36 ns/op BenchmarkNetpollBreak-4 4803 30473 ns/op BenchmarkPingPongHog-4 362 331746 ns/op BenchmarkStackGrowth-4 132258 884.9 ns/op BenchmarkStackGrowthDeep-4 1276 85276 ns/op BenchmarkCreateGoroutines-4 47798 2555 ns/op BenchmarkCreateGoroutinesParallel-4 40718 2959 ns/op BenchmarkCreateGoroutinesCapture-4 9380 15298 ns/op 144 B/op 5 allocs/op BenchmarkCreateGoroutinesSingle-4 41524 2773 ns/op BenchmarkClosureCall-4 20359674 4.930 ns/op BenchmarkWakeupParallelSpinning/0s-4 9591 23179 ns/op BenchmarkWakeupParallelSpinning/1µs-4 4336 26061 ns/op BenchmarkWakeupParallelSpinning/2µs-4 4564 32823 ns/op BenchmarkWakeupParallelSpinning/5µs-4 2872 40878 ns/op BenchmarkWakeupParallelSpinning/10µs-4 1946 60648 ns/op BenchmarkWakeupParallelSpinning/20µs-4 1213 99834 ns/op BenchmarkWakeupParallelSpinning/50µs-4 631 196899 ns/op BenchmarkWakeupParallelSpinning/100µs-4 378 339856 ns/op BenchmarkWakeupParallelSyscall/0s-4 897 150336 ns/op BenchmarkWakeupParallelSyscall/1µs-4 752 158581 ns/op BenchmarkWakeupParallelSyscall/2µs-4 692 164498 ns/op BenchmarkWakeupParallelSyscall/5µs-4 748 168724 ns/op BenchmarkWakeupParallelSyscall/10µs-4 697 180729 ns/op BenchmarkWakeupParallelSyscall/20µs-4 606 204021 ns/op BenchmarkWakeupParallelSyscall/50µs-4 456 254567 ns/op BenchmarkWakeupParallelSyscall/100µs-4 328 366389 ns/op BenchmarkMatmult-4 4384558 29.50 ns/op BenchmarkFastrand-4 12392239 8.748 ns/op BenchmarkFastrand64-4 13138358 8.871 ns/op BenchmarkFastrandHashiter-4 5029869 23.78 ns/op BenchmarkFastrandn/2-4 6368628 17.67 ns/op BenchmarkFastrandn/3-4 6819390 17.33 ns/op BenchmarkFastrandn/4-4 6929226 17.21 ns/op BenchmarkFastrandn/5-4 6977055 17.26 ns/op BenchmarkIfaceCmp100-4 91180 1163 ns/op BenchmarkIfaceCmpNil100-4 176629 645.7 ns/op BenchmarkEfaceCmpDiff-4 42778 2807 ns/op BenchmarkEfaceCmpDiffIndirect-4 40513 3291 ns/op BenchmarkDefer-4 1689854 69.40 ns/op BenchmarkDefer10-4 888157 138.0 ns/op BenchmarkDeferMany-4 557936 309.3 ns/op BenchmarkPanicRecover-4 201824 587.2 ns/op BenchmarkGoroutineProfile/small-nil/idle-4 6045 24198 ns/op 25140 p50-ns 32580 p90-ns 49600 p99-ns BenchmarkGoroutineProfile/small-nil/loaded-4 4380 25590 ns/op 24329 p50-ns 31860 p90-ns 93630 p99-ns BenchmarkGoroutineProfile/small/idle-4 3108 35764 ns/op 34210 p50-ns 37600 p90-ns 50980 p99-ns BenchmarkGoroutineProfile/small/loaded-4 510 300111 ns/op 237170 p50-ns 413950 p90-ns 2892332 p99-ns BenchmarkGoroutineProfile/large-nil/idle-4 5916 20756 ns/op 19580 p50-ns 25680 p90-ns 45110 p99-ns BenchmarkGoroutineProfile/large-nil/loaded-4 4032 31222 ns/op 25560 p50-ns 33171 p90-ns 89270 p99-ns BenchmarkGoroutineProfile/large/idle-4 19 6148552 ns/op 6103064 p50-ns 6195024 p90-ns 6892645 p99-ns BenchmarkGoroutineProfile/large/loaded-4 16 8092189 ns/op 6475484 p50-ns 14065938 p90-ns 14911040 p99-ns BenchmarkGoroutineProfile/sparse-nil/idle-4 3954 27819 ns/op 25750 p50-ns 32350 p90-ns 55110 p99-ns BenchmarkGoroutineProfile/sparse-nil/loaded-4 4606 30475 ns/op 25430 p50-ns 36510 p90-ns 131540 p99-ns BenchmarkGoroutineProfile/sparse/idle-4 1428 80773 ns/op 77690 p50-ns 84210 p90-ns 122911 p99-ns BenchmarkGoroutineProfile/sparse/loaded-4 397 333231 ns/op 172971 p50-ns 388091 p90-ns 3494252 p99-ns BenchmarkRWMutexUncontended-4 5165847 22.92 ns/op BenchmarkRWMutexWrite100-4 615595 195.1 ns/op BenchmarkRWMutexWrite10-4 276012 529.7 ns/op BenchmarkRWMutexWorkWrite100-4 421501 278.5 ns/op BenchmarkRWMutexWorkWrite10-4 58156 2245 ns/op BenchmarkSemTable/OneAddrCollision/n=1000-4 1812 64394 ns/op BenchmarkSemTable/ManyAddrCollision/n=1000-4 1066 111325 ns/op BenchmarkSemTable/OneAddrCollision/n=2000-4 990 118183 ns/op BenchmarkSemTable/ManyAddrCollision/n=2000-4 520 234317 ns/op BenchmarkSemTable/OneAddrCollision/n=4000-4 492 236741 ns/op BenchmarkSemTable/ManyAddrCollision/n=4000-4 241 493277 ns/op BenchmarkSemTable/OneAddrCollision/n=8000-4 232 481569 ns/op BenchmarkSemTable/ManyAddrCollision/n=8000-4 114 998352 ns/op BenchmarkMakeSliceCopy/mallocmove/Byte-4 393940 340.1 ns/op BenchmarkMakeSliceCopy/mallocmove/Int-4 358764 347.7 ns/op BenchmarkMakeSliceCopy/mallocmove/Ptr-4 358773 381.3 ns/op BenchmarkMakeSliceCopy/makecopy/Byte-4 331844 333.6 ns/op BenchmarkMakeSliceCopy/makecopy/Int-4 410751 356.0 ns/op BenchmarkMakeSliceCopy/makecopy/Ptr-4 399444 375.2 ns/op BenchmarkMakeSliceCopy/nilappend/Byte-4 355392 365.0 ns/op BenchmarkMakeSliceCopy/nilappend/Int-4 317218 367.7 ns/op BenchmarkMakeSliceCopy/nilappend/Ptr-4 327858 394.8 ns/op BenchmarkMakeSlice/Byte-4 2080369 56.77 ns/op BenchmarkMakeSlice/Int16-4 2201574 54.77 ns/op BenchmarkMakeSlice/Int-4 1706300 70.44 ns/op BenchmarkMakeSlice/Ptr-4 1381107 86.68 ns/op BenchmarkMakeSlice/Struct/24-4 1000000 102.4 ns/op BenchmarkMakeSlice/Struct/32-4 1000000 114.8 ns/op BenchmarkMakeSlice/Struct/40-4 1000000 141.8 ns/op BenchmarkGrowSlice/Byte-4 766513 155.7 ns/op BenchmarkGrowSlice/Int16-4 729663 163.3 ns/op BenchmarkGrowSlice/Int-4 624384 205.8 ns/op BenchmarkGrowSlice/Ptr-4 530899 236.2 ns/op BenchmarkGrowSlice/Struct/24-4 398523 308.3 ns/op BenchmarkGrowSlice/Struct/32-4 308311 378.2 ns/op BenchmarkGrowSlice/Struct/40-4 237074 447.1 ns/op BenchmarkExtendSlice/IntSlice-4 531303 232.8 ns/op BenchmarkExtendSlice/PointerSlice-4 447430 281.4 ns/op BenchmarkExtendSlice/NoGrow-4 822998 141.4 ns/op BenchmarkAppend-4 925069 122.5 ns/op BenchmarkAppendGrowByte-4 6 17087444 ns/op BenchmarkAppendGrowString-4 1 292209678 ns/op BenchmarkAppendSlice/1Bytes-4 1861702 64.22 ns/op BenchmarkAppendSlice/4Bytes-4 1808713 66.12 ns/op BenchmarkAppendSlice/7Bytes-4 1759035 74.87 ns/op BenchmarkAppendSlice/8Bytes-4 1790186 65.85 ns/op BenchmarkAppendSlice/15Bytes-4 1627674 68.62 ns/op BenchmarkAppendSlice/16Bytes-4 1776094 67.14 ns/op BenchmarkAppendSlice/32Bytes-4 1747227 68.92 ns/op BenchmarkAppendSliceLarge/1024Bytes-4 112597 1009 ns/op BenchmarkAppendSliceLarge/4096Bytes-4 30703 4099 ns/op BenchmarkAppendSliceLarge/16384Bytes-4 10000 14113 ns/op BenchmarkAppendSliceLarge/65536Bytes-4 2216 54434 ns/op BenchmarkAppendSliceLarge/262144Bytes-4 172 684368 ns/op BenchmarkAppendSliceLarge/1048576Bytes-4 42 3616266 ns/op BenchmarkAppendStr/1Bytes-4 1404393 88.00 ns/op BenchmarkAppendStr/4Bytes-4 1311076 84.15 ns/op BenchmarkAppendStr/8Bytes-4 1281098 85.35 ns/op BenchmarkAppendStr/16Bytes-4 1378112 86.73 ns/op BenchmarkAppendStr/32Bytes-4 1416028 83.00 ns/op BenchmarkAppendSpecialCase-4 935358 126.4 ns/op BenchmarkCopy/1Byte-4 1911685 62.93 ns/op 15.89 MB/s BenchmarkCopy/1String-4 1754037 65.29 ns/op 15.32 MB/s BenchmarkCopy/2Byte-4 1847952 64.81 ns/op 30.86 MB/s BenchmarkCopy/2String-4 1879717 64.19 ns/op 31.16 MB/s BenchmarkCopy/4Byte-4 1800910 64.00 ns/op 62.50 MB/s BenchmarkCopy/4String-4 1843430 64.41 ns/op 62.10 MB/s BenchmarkCopy/8Byte-4 1873454 63.63 ns/op 125.73 MB/s BenchmarkCopy/8String-4 1883203 63.74 ns/op 125.50 MB/s BenchmarkCopy/12Byte-4 1800638 66.64 ns/op 180.06 MB/s BenchmarkCopy/12String-4 1818771 65.97 ns/op 181.90 MB/s BenchmarkCopy/16Byte-4 1852395 64.79 ns/op 246.97 MB/s BenchmarkCopy/16String-4 1769980 67.01 ns/op 238.78 MB/s BenchmarkCopy/32Byte-4 1735161 69.58 ns/op 459.87 MB/s BenchmarkCopy/32String-4 1710543 69.84 ns/op 458.18 MB/s BenchmarkCopy/128Byte-4 1347546 90.08 ns/op 1420.93 MB/s BenchmarkCopy/128String-4 1254982 96.51 ns/op 1326.35 MB/s BenchmarkCopy/1024Byte-4 445234 267.5 ns/op 3828.31 MB/s BenchmarkCopy/1024String-4 387044 310.3 ns/op 3299.57 MB/s BenchmarkAppendInPlace/NoGrow/Byte-4 35335 3238 ns/op BenchmarkAppendInPlace/NoGrow/1Ptr-4 25653 4576 ns/op BenchmarkAppendInPlace/NoGrow/2Ptr-4 16348 7416 ns/op BenchmarkAppendInPlace/NoGrow/3Ptr-4 13194 8622 ns/op BenchmarkAppendInPlace/NoGrow/4Ptr-4 10000 10944 ns/op BenchmarkAppendInPlace/Grow/Byte-4 151050 806.5 ns/op BenchmarkAppendInPlace/Grow/1Ptr-4 145915 811.5 ns/op BenchmarkAppendInPlace/Grow/2Ptr-4 106898 952.4 ns/op BenchmarkAppendInPlace/Grow/3Ptr-4 114453 1106 ns/op BenchmarkAppendInPlace/Grow/4Ptr-4 102428 1270 ns/op BenchmarkStackCopyPtr-4 1 128547178 ns/op BenchmarkStackCopy-4 2 85807868 ns/op BenchmarkStackCopyNoCache-4 27 4448073 ns/op BenchmarkStackCopyWithStkobj-4 2 54612013 ns/op BenchmarkIssue18138-4 882 155282 ns/op BenchmarkCompareStringEqual-4 13026435 8.777 ns/op BenchmarkCompareStringIdentical-4 18295153 6.256 ns/op BenchmarkCompareStringSameLength-4 14196957 7.252 ns/op BenchmarkCompareStringDifferentLength-4 22572968 4.598 ns/op BenchmarkCompareStringBigUnaligned-4 3020 34864 ns/op 30076.73 MB/s BenchmarkCompareStringBig-4 3512 36247 ns/op 28929.27 MB/s BenchmarkConcatStringAndBytes-4 2113586 56.66 ns/op BenchmarkSliceByteToString/1-4 2037230 53.22 ns/op BenchmarkSliceByteToString/2-4 978720 114.6 ns/op BenchmarkSliceByteToString/4-4 1000000 114.6 ns/op BenchmarkSliceByteToString/8-4 1000000 114.8 ns/op BenchmarkSliceByteToString/16-4 938458 110.8 ns/op BenchmarkSliceByteToString/32-4 1000000 121.3 ns/op BenchmarkSliceByteToString/64-4 921920 141.1 ns/op BenchmarkSliceByteToString/128-4 819883 186.9 ns/op BenchmarkRuneCount/lenruneslice/ASCII-4 2835196 43.82 ns/op BenchmarkRuneCount/lenruneslice/Japanese-4 1000000 108.1 ns/op BenchmarkRuneCount/lenruneslice/MixedLength-4 1253822 97.75 ns/op BenchmarkRuneCount/rangeloop/ASCII-4 4174735 29.34 ns/op BenchmarkRuneCount/rangeloop/Japanese-4 2005424 58.69 ns/op BenchmarkRuneCount/rangeloop/MixedLength-4 2285910 51.36 ns/op BenchmarkRuneCount/utf8.RuneCountInString/ASCII-4 1790877 64.76 ns/op BenchmarkRuneCount/utf8.RuneCountInString/Japanese-4 501690 241.9 ns/op BenchmarkRuneCount/utf8.RuneCountInString/MixedLength-4 565602 220.2 ns/op BenchmarkRuneIterate/range/ASCII-4 7180550 16.08 ns/op BenchmarkRuneIterate/range/Japanese-4 2577031 46.47 ns/op BenchmarkRuneIterate/range/MixedLength-4 2881710 39.80 ns/op BenchmarkRuneIterate/range1/ASCII-4 7718049 15.87 ns/op BenchmarkRuneIterate/range1/Japanese-4 2577860 46.70 ns/op BenchmarkRuneIterate/range1/MixedLength-4 3057805 39.54 ns/op BenchmarkRuneIterate/range2/ASCII-4 7988230 15.96 ns/op BenchmarkRuneIterate/range2/Japanese-4 2561106 46.39 ns/op BenchmarkRuneIterate/range2/MixedLength-4 3058293 39.48 ns/op BenchmarkArrayEqual-4 22809164 4.929 ns/op BenchmarkFunc/Name-4 4583359 25.01 ns/op BenchmarkFunc/Entry-4 8379660 12.30 ns/op BenchmarkFunc/FileLine-4 1777972 70.10 ns/op PASS ok runtime 133.297s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: runtime/cgo cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHandle/non-concurrent-4 27668 4511 ns/op BenchmarkHandle/concurrent-4 15108 7493 ns/op PASS ok runtime/cgo 0.514s goos: linux goarch: amd64 pkg: runtime/internal/atomic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAtomicLoad64-4 20811148 5.709 ns/op BenchmarkAtomicStore64-4 9923149 12.23 ns/op BenchmarkAtomicLoad-4 20758110 5.711 ns/op BenchmarkAtomicStore-4 9906807 12.31 ns/op BenchmarkAnd8-4 9909550 12.14 ns/op BenchmarkAnd-4 9721752 12.13 ns/op BenchmarkAnd8Parallel-4 3979282 42.97 ns/op BenchmarkAndParallel-4 2405134 44.33 ns/op BenchmarkOr8-4 9912315 12.11 ns/op BenchmarkOr-4 9880742 12.08 ns/op BenchmarkOr8Parallel-4 3027583 48.59 ns/op BenchmarkOrParallel-4 2784163 52.65 ns/op BenchmarkXadd-4 2697453 57.44 ns/op BenchmarkXadd64-4 4124613 49.11 ns/op BenchmarkCas-4 2342061 55.91 ns/op BenchmarkCas64-4 2355889 55.36 ns/op BenchmarkXchg-4 2969316 50.06 ns/op BenchmarkXchg64-4 2396958 46.84 ns/op PASS ok runtime/internal/atomic 3.005s goos: linux goarch: amd64 pkg: runtime/internal/math cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMulUintptr/small-4 4259226 25.77 ns/op BenchmarkMulUintptr/large-4 3530496 31.79 ns/op PASS ok runtime/internal/math 0.322s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: runtime/pprof cpu: AMD EPYC 7B12 BenchmarkGoroutine/Profile.WriteTo_idle_50-4 27 4458059 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_50-4 12 9907606 ns/op 708.2 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_50-4 853 162175 ns/op 6.883 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_500-4 12 10221758 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_500-4 6 21387680 ns/op 1354 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_500-4 145 689923 ns/op 52.17 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_5000-4 2 72572595 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_5000-4 1 101330050 ns/op 8232 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_5000-4 16 6264390 ns/op 575.1 concurrent_launches/op PASS ok runtime/pprof 1.750s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: runtime/race cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSyncLeak-4 27 3750121 ns/op BenchmarkStackLeak-4 16320 7349 ns/op PASS ok runtime/race 0.474s goos: linux goarch: amd64 pkg: runtime/trace cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStartRegion-4 4319803 23.61 ns/op 0 B/op 0 allocs/op BenchmarkNewTask-4 197431 681.0 ns/op 64 B/op 2 allocs/op PASS ok runtime/trace 0.404s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: slices cpu: AMD EPYC 7B12 BenchmarkCompact/nil-4 9308892 12.83 ns/op BenchmarkCompact/one-4 2005724 59.69 ns/op BenchmarkCompact/sorted-4 993237 102.2 ns/op BenchmarkCompact/1_item-4 1261929 94.83 ns/op BenchmarkCompact/unsorted-4 1000000 110.2 ns/op BenchmarkCompact/many-4 772056 140.1 ns/op BenchmarkReplace/naive-fast-4 104214 1200 ns/op BenchmarkReplace/optimized-fast-4 121915 979.7 ns/op BenchmarkReplace/naive-slow-4 61210 1865 ns/op BenchmarkReplace/optimized-slow-4 80311 1516 ns/op PASS ok slices 1.538s goos: linux goarch: amd64 pkg: sort cpu: AMD EPYC 7B12 BenchmarkSearchWrappers-4 156250 689.8 ns/op BenchmarkSortString1K-4 178 671714 ns/op BenchmarkSortString1K_Slice-4 199 584366 ns/op BenchmarkStableString1K-4 98 1177926 ns/op BenchmarkSortInt1K-4 232 502761 ns/op BenchmarkSortInt1K_Sorted-4 3370 37469 ns/op BenchmarkSortInt1K_Reversed-4 2222 56293 ns/op BenchmarkSortInt1K_Mod8-4 504 207649 ns/op BenchmarkStableInt1K-4 156 764757 ns/op BenchmarkStableInt1K_Slice-4 174 693762 ns/op BenchmarkSortInt64K-4 2 54028304 ns/op BenchmarkSortInt64K_Slice-4 3 43219485 ns/op BenchmarkStableInt64K-4 2 69977098 ns/op BenchmarkSort1e2-4 501 239039 ns/op BenchmarkStable1e2-4 172 676529 ns/op BenchmarkSort1e4-4 2 53981038 ns/op BenchmarkStable1e4-4 1 201123853 ns/op PASS ok sort 3.456s goos: linux goarch: amd64 pkg: strconv cpu: AMD EPYC 7B12 BenchmarkAtof64Decimal-4 839168 142.9 ns/op BenchmarkAtof64Float-4 643765 164.4 ns/op BenchmarkAtof64FloatExp-4 575740 201.2 ns/op BenchmarkAtof64Big-4 463418 262.8 ns/op BenchmarkAtof64RandomBits-4 460518 257.4 ns/op BenchmarkAtof64RandomFloats-4 479583 241.5 ns/op BenchmarkAtof64RandomLongFloats-4 428558 275.0 ns/op BenchmarkAtof32Decimal-4 844788 142.4 ns/op BenchmarkAtof32Float-4 688502 161.9 ns/op BenchmarkAtof32FloatExp-4 605332 199.6 ns/op BenchmarkAtof32Random-4 370072 320.9 ns/op BenchmarkAtof32RandomLong-4 160502 734.6 ns/op BenchmarkParseInt/Pos/7bit-4 1406560 85.54 ns/op BenchmarkParseInt/Pos/26bit-4 634996 177.1 ns/op BenchmarkParseInt/Pos/31bit-4 653860 177.1 ns/op BenchmarkParseInt/Pos/56bit-4 429775 262.4 ns/op BenchmarkParseInt/Pos/63bit-4 398310 285.7 ns/op BenchmarkParseInt/Neg/7bit-4 1366681 85.64 ns/op BenchmarkParseInt/Neg/26bit-4 708968 161.5 ns/op BenchmarkParseInt/Neg/31bit-4 632746 178.4 ns/op BenchmarkParseInt/Neg/56bit-4 437000 269.9 ns/op BenchmarkParseInt/Neg/63bit-4 433515 272.1 ns/op BenchmarkAtoi/Pos/7bit-4 2116838 56.79 ns/op BenchmarkAtoi/Pos/26bit-4 1000000 116.1 ns/op BenchmarkAtoi/Pos/31bit-4 942550 126.4 ns/op BenchmarkAtoi/Pos/56bit-4 547879 207.1 ns/op BenchmarkAtoi/Pos/63bit-4 403957 294.8 ns/op BenchmarkAtoi/Neg/7bit-4 2122098 54.33 ns/op BenchmarkAtoi/Neg/26bit-4 991808 116.8 ns/op BenchmarkAtoi/Neg/31bit-4 902852 131.3 ns/op BenchmarkAtoi/Neg/56bit-4 562550 205.1 ns/op BenchmarkAtoi/Neg/63bit-4 385358 298.5 ns/op BenchmarkFormatFloat/Decimal-4 122668 1002 ns/op BenchmarkFormatFloat/Float-4 108902 1106 ns/op BenchmarkFormatFloat/Exp-4 114883 1062 ns/op BenchmarkFormatFloat/NegExp-4 114782 1058 ns/op BenchmarkFormatFloat/LongExp-4 97486 1217 ns/op BenchmarkFormatFloat/Big-4 97357 1246 ns/op BenchmarkFormatFloat/BinaryExp-4 208572 569.3 ns/op BenchmarkFormatFloat/32Integer-4 121333 991.2 ns/op BenchmarkFormatFloat/32ExactFraction-4 119865 1007 ns/op BenchmarkFormatFloat/32Point-4 109300 1074 ns/op BenchmarkFormatFloat/32Exp-4 114127 1039 ns/op BenchmarkFormatFloat/32NegExp-4 117525 1065 ns/op BenchmarkFormatFloat/32Shortest-4 120458 1004 ns/op BenchmarkFormatFloat/32Fixed8Hard-4 137469 877.4 ns/op BenchmarkFormatFloat/32Fixed9Hard-4 129896 904.1 ns/op BenchmarkFormatFloat/64Fixed1-4 150112 796.0 ns/op BenchmarkFormatFloat/64Fixed2-4 146749 819.9 ns/op BenchmarkFormatFloat/64Fixed3-4 149912 795.9 ns/op BenchmarkFormatFloat/64Fixed4-4 146250 817.1 ns/op BenchmarkFormatFloat/64Fixed12-4 90391 1357 ns/op BenchmarkFormatFloat/64Fixed16-4 115555 1028 ns/op BenchmarkFormatFloat/64Fixed12Hard-4 116432 1058 ns/op BenchmarkFormatFloat/64Fixed17Hard-4 109366 1132 ns/op BenchmarkFormatFloat/64Fixed18Hard-4 2811 39979 ns/op BenchmarkFormatFloat/Slowpath64-4 98908 1217 ns/op BenchmarkFormatFloat/SlowpathDenormal64-4 98877 1201 ns/op BenchmarkAppendFloat/Decimal-4 149360 796.3 ns/op BenchmarkAppendFloat/Float-4 129634 928.2 ns/op BenchmarkAppendFloat/Exp-4 141468 840.5 ns/op BenchmarkAppendFloat/NegExp-4 142014 860.2 ns/op BenchmarkAppendFloat/LongExp-4 115812 1017 ns/op BenchmarkAppendFloat/Big-4 107370 1042 ns/op BenchmarkAppendFloat/BinaryExp-4 333822 357.8 ns/op BenchmarkAppendFloat/32Integer-4 150987 803.4 ns/op BenchmarkAppendFloat/32ExactFraction-4 144837 821.9 ns/op BenchmarkAppendFloat/32Point-4 138140 865.6 ns/op BenchmarkAppendFloat/32Exp-4 142077 838.4 ns/op BenchmarkAppendFloat/32NegExp-4 145915 829.6 ns/op BenchmarkAppendFloat/32Shortest-4 160807 745.7 ns/op BenchmarkAppendFloat/32Fixed8Hard-4 176857 665.5 ns/op BenchmarkAppendFloat/32Fixed9Hard-4 159744 694.8 ns/op BenchmarkAppendFloat/64Fixed1-4 196630 604.7 ns/op BenchmarkAppendFloat/64Fixed2-4 197083 606.2 ns/op BenchmarkAppendFloat/64Fixed3-4 196014 606.5 ns/op BenchmarkAppendFloat/64Fixed4-4 194613 609.3 ns/op BenchmarkAppendFloat/64Fixed12-4 105355 1137 ns/op BenchmarkAppendFloat/64Fixed16-4 139986 849.4 ns/op BenchmarkAppendFloat/64Fixed12Hard-4 153195 788.8 ns/op BenchmarkAppendFloat/64Fixed17Hard-4 130010 966.3 ns/op BenchmarkAppendFloat/64Fixed18Hard-4 2846 38270 ns/op BenchmarkAppendFloat/Slowpath64-4 116330 993.5 ns/op BenchmarkAppendFloat/SlowpathDenormal64-4 120270 992.4 ns/op BenchmarkFormatInt-4 15823 7716 ns/op BenchmarkAppendInt-4 17707 6810 ns/op BenchmarkFormatUint-4 88236 1341 ns/op BenchmarkAppendUint-4 103026 1151 ns/op BenchmarkFormatIntSmall/7-4 3122403 37.81 ns/op BenchmarkFormatIntSmall/42-4 3134893 37.36 ns/op BenchmarkAppendIntSmall-4 1346622 89.90 ns/op BenchmarkAppendUintVarlen/1-4 1321106 93.03 ns/op BenchmarkAppendUintVarlen/12-4 1270370 96.59 ns/op BenchmarkAppendUintVarlen/123-4 911570 126.8 ns/op BenchmarkAppendUintVarlen/1234-4 887173 126.2 ns/op BenchmarkAppendUintVarlen/12345-4 821050 128.5 ns/op BenchmarkAppendUintVarlen/123456-4 893241 130.8 ns/op BenchmarkAppendUintVarlen/1234567-4 872574 132.7 ns/op BenchmarkAppendUintVarlen/12345678-4 823626 142.4 ns/op BenchmarkAppendUintVarlen/123456789-4 837958 133.5 ns/op BenchmarkAppendUintVarlen/1234567890-4 845170 133.2 ns/op BenchmarkAppendUintVarlen/12345678901-4 860017 137.9 ns/op BenchmarkAppendUintVarlen/123456789012-4 843152 138.1 ns/op BenchmarkAppendUintVarlen/1234567890123-4 811369 137.6 ns/op BenchmarkAppendUintVarlen/12345678901234-4 839594 140.7 ns/op BenchmarkAppendUintVarlen/123456789012345-4 808603 139.9 ns/op BenchmarkAppendUintVarlen/1234567890123456-4 827449 140.0 ns/op BenchmarkAppendUintVarlen/12345678901234567-4 763285 150.4 ns/op BenchmarkAppendUintVarlen/123456789012345678-4 753020 145.9 ns/op BenchmarkAppendUintVarlen/1234567890123456789-4 747280 155.7 ns/op BenchmarkAppendUintVarlen/12345678901234567890-4 758725 148.7 ns/op BenchmarkQuote-4 45588 2632 ns/op BenchmarkQuoteRune-4 388658 289.8 ns/op BenchmarkAppendQuote-4 53058 2205 ns/op BenchmarkAppendQuoteRune-4 781866 146.1 ns/op BenchmarkUnquoteEasy-4 1433935 84.06 ns/op BenchmarkUnquoteHard-4 48238 2456 ns/op PASS ok strconv 16.022s goos: linux goarch: amd64 pkg: strings cpu: AMD EPYC 7B12 BenchmarkBuildString_Builder/1Write_NoGrow-4 464767 259.1 ns/op 48 B/op 1 allocs/op BenchmarkBuildString_Builder/3Write_NoGrow-4 142113 773.5 ns/op 336 B/op 3 allocs/op BenchmarkBuildString_Builder/3Write_Grow-4 198284 575.9 ns/op 112 B/op 1 allocs/op BenchmarkBuildString_ByteBuffer/1Write_NoGrow-4 306849 387.6 ns/op 112 B/op 2 allocs/op BenchmarkBuildString_ByteBuffer/3Write_NoGrow-4 84134 1245 ns/op 432 B/op 4 allocs/op BenchmarkBuildString_ByteBuffer/3Write_Grow-4 104037 1072 ns/op 336 B/op 3 allocs/op BenchmarkClone-4 677586 171.9 ns/op 48 B/op 1 allocs/op BenchmarkGenericNoMatch-4 26275 4554 ns/op BenchmarkGenericMatch1-4 2053 54822 ns/op BenchmarkGenericMatch2-4 474 250671 ns/op BenchmarkSingleMaxSkipping-4 8691 12728 ns/op 785.69 MB/s BenchmarkSingleLongSuffixFail-4 17616 6801 ns/op 147.34 MB/s BenchmarkSingleMatch-4 255 466126 ns/op 32.18 MB/s BenchmarkByteByteNoMatch-4 96896 1231 ns/op BenchmarkByteByteMatch-4 22113 5138 ns/op BenchmarkByteStringMatch-4 26403 4068 ns/op BenchmarkHTMLEscapeNew-4 83906 1375 ns/op BenchmarkHTMLEscapeOld-4 93307 1282 ns/op BenchmarkByteStringReplacerWriteString-4 1468 76418 ns/op BenchmarkByteReplacerWriteString-4 1836 65586 ns/op BenchmarkByteByteReplaces-4 3696 32043 ns/op BenchmarkByteByteMap-4 10000 10157 ns/op BenchmarkMap/identity/ASCII-4 680248 173.0 ns/op BenchmarkMap/identity/Greek-4 533160 218.6 ns/op BenchmarkMap/change/ASCII-4 40460 2820 ns/op BenchmarkMap/change/Greek-4 30301 4010 ns/op BenchmarkIndexRune-4 2118500 56.12 ns/op BenchmarkIndexRuneLongString-4 1672756 73.94 ns/op BenchmarkIndexRuneFastPath-4 5357406 22.73 ns/op BenchmarkIndex-4 4846197 23.91 ns/op BenchmarkLastIndex-4 4693612 23.68 ns/op BenchmarkIndexByte-4 11120328 9.519 ns/op BenchmarkToUpper/#00-4 3294658 35.63 ns/op BenchmarkToUpper/ONLYUPPER-4 2256304 45.98 ns/op BenchmarkToUpper/abc-4 316785 370.1 ns/op BenchmarkToUpper/AbC123-4 232125 490.5 ns/op BenchmarkToUpper/azAZ09_-4 250494 437.4 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 57944 1996 ns/op BenchmarkToUpper/RENAN_BASTOS_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 77526 1566 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 37608 3190 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 63601 1863 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 125644 938.2 ns/op BenchmarkToLower/#00-4 3702814 33.01 ns/op BenchmarkToLower/abc-4 3332224 35.36 ns/op BenchmarkToLower/AbC123-4 209592 535.5 ns/op BenchmarkToLower/azAZ09_-4 197274 534.5 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 98700 1207 ns/op BenchmarkToLower/renan_bastos_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 69878 1691 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 38810 3104 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 81780 1457 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 117097 999.1 ns/op BenchmarkMapNoChanges-4 918898 125.6 ns/op BenchmarkTrim-4 36892 3292 ns/op 0 B/op 0 allocs/op BenchmarkToValidUTF8/Valid-4 3474753 34.48 ns/op BenchmarkToValidUTF8/InvalidASCII-4 180530 626.0 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 132692 898.0 ns/op BenchmarkEqualFold/Tests-4 54908 2047 ns/op BenchmarkEqualFold/ASCII-4 3559594 31.56 ns/op BenchmarkEqualFold/UnicodePrefix-4 125318 949.2 ns/op BenchmarkEqualFold/UnicodeSuffix-4 132093 887.1 ns/op BenchmarkIndexHard1-4 1207 99542 ns/op BenchmarkIndexHard2-4 867 139431 ns/op BenchmarkIndexHard3-4 210 568677 ns/op BenchmarkIndexHard4-4 213 562746 ns/op BenchmarkLastIndexHard1-4 68 1722677 ns/op BenchmarkLastIndexHard2-4 67 1733014 ns/op BenchmarkLastIndexHard3-4 67 1727517 ns/op BenchmarkCountHard1-4 1208 99339 ns/op BenchmarkCountHard2-4 850 137861 ns/op BenchmarkCountHard3-4 214 549943 ns/op BenchmarkIndexTorture-4 8130 13454 ns/op BenchmarkCountTorture-4 8821 13381 ns/op BenchmarkCountTortureOverlapping-4 1287 85333 ns/op BenchmarkCountByte/10-4 4746062 23.74 ns/op 421.15 MB/s BenchmarkCountByte/32-4 4517640 24.94 ns/op 1283.30 MB/s BenchmarkCountByte/4096-4 894901 131.3 ns/op 31185.15 MB/s BenchmarkCountByte/4194304-4 1124 104662 ns/op 40074.57 MB/s BenchmarkCountByte/67108864-4 30 3974505 ns/op 16884.84 MB/s BenchmarkFields/ASCII/16-4 349836 361.0 ns/op 44.32 MB/s 16 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 25622 4573 ns/op 55.99 MB/s 480 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 1641 70974 ns/op 57.71 MB/s 6144 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 91 1246422 ns/op 52.58 MB/s 98304 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 6 19218477 ns/op 54.56 MB/s 1515520 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 160281 762.6 ns/op 20.98 MB/s 16 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 10000 10625 ns/op 24.09 MB/s 448 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 666 174655 ns/op 23.45 MB/s 21504 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 37 3050028 ns/op 21.49 MB/s 463104 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 2 54560142 ns/op 19.22 MB/s 10457392 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 289324 411.1 ns/op 38.92 MB/s 16 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 20952 5909 ns/op 43.33 MB/s 480 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 1158 99164 ns/op 41.31 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 61 1917630 ns/op 34.18 MB/s 463105 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 3 37944471 ns/op 27.63 MB/s 10457376 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 192399 602.4 ns/op 26.56 MB/s 16 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 15212 7771 ns/op 32.94 MB/s 448 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 926 135553 ns/op 30.22 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 46 2453911 ns/op 26.71 MB/s 463106 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 3 46960788 ns/op 22.33 MB/s 10457344 B/op 24 allocs/op BenchmarkSplitEmptySeparator-4 2 54330522 ns/op BenchmarkSplitSingleByteSeparator-4 31 4475687 ns/op BenchmarkSplitMultiByteSeparator-4 40 2762585 ns/op BenchmarkSplitNSingleByteSeparator-4 278815 418.6 ns/op BenchmarkSplitNMultiByteSeparator-4 180396 640.9 ns/op BenchmarkRepeat/5x0-4 3626055 30.33 ns/op BenchmarkRepeat/5x1-4 3428570 32.28 ns/op BenchmarkRepeat/5x2-4 247698 442.0 ns/op BenchmarkRepeat/5x6-4 166082 710.6 ns/op BenchmarkRepeat/10x0-4 3517218 31.06 ns/op BenchmarkRepeat/10x1-4 3420321 35.15 ns/op BenchmarkRepeat/10x2-4 260356 440.9 ns/op BenchmarkRepeat/10x6-4 166038 722.6 ns/op BenchmarkRepeatLarge/256/1-4 75728 1514 ns/op 169.05 MB/s BenchmarkRepeatLarge/256/16-4 120243 914.9 ns/op 279.80 MB/s BenchmarkRepeatLarge/512/1-4 65079 1770 ns/op 289.22 MB/s BenchmarkRepeatLarge/512/16-4 94633 1215 ns/op 421.46 MB/s BenchmarkRepeatLarge/1024/1-4 52192 2225 ns/op 460.15 MB/s BenchmarkRepeatLarge/1024/16-4 69193 1699 ns/op 602.88 MB/s BenchmarkRepeatLarge/2048/1-4 37713 3028 ns/op 676.30 MB/s BenchmarkRepeatLarge/2048/16-4 47806 2528 ns/op 810.16 MB/s BenchmarkRepeatLarge/4096/1-4 25644 4678 ns/op 875.60 MB/s BenchmarkRepeatLarge/4096/16-4 27926 4105 ns/op 997.73 MB/s BenchmarkRepeatLarge/8192/1-4 15678 7582 ns/op 1080.50 MB/s BenchmarkRepeatLarge/8192/16-4 16761 6971 ns/op 1175.13 MB/s BenchmarkRepeatLarge/8192/4097-4 5546910 20.03 ns/op 204566.89 MB/s BenchmarkRepeatLarge/16384/1-4 8484 12655 ns/op 1294.67 MB/s BenchmarkRepeatLarge/16384/16-4 9733 12198 ns/op 1343.18 MB/s BenchmarkRepeatLarge/16384/4097-4 13557 8919 ns/op 1378.14 MB/s BenchmarkRepeatLarge/32768/1-4 4580 24625 ns/op 1330.69 MB/s BenchmarkRepeatLarge/32768/16-4 6043 22596 ns/op 1450.19 MB/s BenchmarkRepeatLarge/32768/4097-4 5166 20404 ns/op 1405.58 MB/s BenchmarkRepeatLarge/65536/1-4 2322 44338 ns/op 1478.10 MB/s BenchmarkRepeatLarge/65536/16-4 2874 41435 ns/op 1581.64 MB/s BenchmarkRepeatLarge/65536/4097-4 2979 38709 ns/op 1587.64 MB/s BenchmarkRepeatLarge/131072/1-4 484 228277 ns/op 574.18 MB/s BenchmarkRepeatLarge/131072/16-4 508 225360 ns/op 581.61 MB/s BenchmarkRepeatLarge/131072/4097-4 511 224850 ns/op 564.85 MB/s BenchmarkRepeatLarge/262144/1-4 259 460869 ns/op 568.80 MB/s BenchmarkRepeatLarge/262144/16-4 262 466310 ns/op 562.17 MB/s BenchmarkRepeatLarge/262144/4097-4 258 449567 ns/op 574.13 MB/s BenchmarkRepeatLarge/524288/1-4 134 894862 ns/op 585.89 MB/s BenchmarkRepeatLarge/524288/16-4 129 875445 ns/op 598.88 MB/s BenchmarkRepeatLarge/524288/4097-4 132 903123 ns/op 576.13 MB/s BenchmarkRepeatLarge/1048576/1-4 85 1756383 ns/op 597.01 MB/s BenchmarkRepeatLarge/1048576/16-4 73 1802407 ns/op 581.76 MB/s BenchmarkRepeatLarge/1048576/4097-4 85 1775874 ns/op 588.29 MB/s BenchmarkRepeatLarge/2097152/1-4 39 3198840 ns/op 655.60 MB/s BenchmarkRepeatLarge/2097152/16-4 39 3222237 ns/op 650.84 MB/s BenchmarkRepeatLarge/2097152/4097-4 42 3236847 ns/op 646.79 MB/s BenchmarkRepeatLarge/4194304/1-4 16 6364893 ns/op 658.97 MB/s BenchmarkRepeatLarge/4194304/16-4 18 6217006 ns/op 674.65 MB/s BenchmarkRepeatLarge/4194304/4097-4 19 6364633 ns/op 658.52 MB/s BenchmarkRepeatLarge/8388608/1-4 9 12837477 ns/op 653.45 MB/s BenchmarkRepeatLarge/8388608/16-4 8 12784251 ns/op 656.17 MB/s BenchmarkRepeatLarge/8388608/4097-4 8 13032053 ns/op 643.53 MB/s BenchmarkRepeatLarge/16777216/1-4 5 24836996 ns/op 675.49 MB/s BenchmarkRepeatLarge/16777216/16-4 5 24984478 ns/op 671.51 MB/s BenchmarkRepeatLarge/16777216/4097-4 5 24924564 ns/op 673.12 MB/s BenchmarkRepeatLarge/33554432/1-4 3 45786108 ns/op 732.85 MB/s BenchmarkRepeatLarge/33554432/16-4 3 46574315 ns/op 720.45 MB/s BenchmarkRepeatLarge/33554432/4097-4 3 47090951 ns/op 712.55 MB/s BenchmarkRepeatLarge/67108864/1-4 2 82352638 ns/op 814.90 MB/s BenchmarkRepeatLarge/67108864/16-4 2 83961108 ns/op 799.29 MB/s BenchmarkRepeatLarge/67108864/4097-4 2 88281112 ns/op 760.17 MB/s BenchmarkRepeatLarge/134217728/1-4 1 169629515 ns/op 791.24 MB/s BenchmarkRepeatLarge/134217728/16-4 1 168531446 ns/op 796.40 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 174133524 ns/op 770.77 MB/s BenchmarkRepeatLarge/268435456/1-4 1 315442819 ns/op 850.98 MB/s BenchmarkRepeatLarge/268435456/16-4 1 329917295 ns/op 813.64 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 334221573 ns/op 803.17 MB/s BenchmarkRepeatLarge/536870912/1-4 1 640541695 ns/op 838.15 MB/s BenchmarkRepeatLarge/536870912/16-4 1 642305785 ns/op 835.85 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 666653407 ns/op 805.32 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 1254258059 ns/op 856.08 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 1271122053 ns/op 844.72 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 1311688900 ns/op 818.59 MB/s BenchmarkIndexAnyASCII/1:1-4 2251872 48.28 ns/op BenchmarkIndexAnyASCII/1:2-4 1959822 59.39 ns/op BenchmarkIndexAnyASCII/1:4-4 2016380 59.39 ns/op BenchmarkIndexAnyASCII/1:8-4 2003601 59.14 ns/op BenchmarkIndexAnyASCII/1:16-4 2041478 58.71 ns/op BenchmarkIndexAnyASCII/1:32-4 1941830 59.30 ns/op BenchmarkIndexAnyASCII/1:64-4 1959241 58.08 ns/op BenchmarkIndexAnyASCII/16:1-4 2478681 48.20 ns/op BenchmarkIndexAnyASCII/16:2-4 784206 154.1 ns/op BenchmarkIndexAnyASCII/16:4-4 696961 152.6 ns/op BenchmarkIndexAnyASCII/16:8-4 704304 155.4 ns/op BenchmarkIndexAnyASCII/16:16-4 665110 170.7 ns/op BenchmarkIndexAnyASCII/16:32-4 521378 221.8 ns/op BenchmarkIndexAnyASCII/16:64-4 389550 275.6 ns/op BenchmarkIndexAnyASCII/256:1-4 2233832 54.65 ns/op BenchmarkIndexAnyASCII/256:2-4 66223 1781 ns/op BenchmarkIndexAnyASCII/256:4-4 68628 1582 ns/op BenchmarkIndexAnyASCII/256:8-4 68886 1573 ns/op BenchmarkIndexAnyASCII/256:16-4 75999 1605 ns/op BenchmarkIndexAnyASCII/256:32-4 73531 1628 ns/op BenchmarkIndexAnyASCII/256:64-4 63712 1690 ns/op BenchmarkIndexAnyUTF8/1:1-4 2603119 46.79 ns/op BenchmarkIndexAnyUTF8/1:2-4 2273960 53.27 ns/op BenchmarkIndexAnyUTF8/1:4-4 2260168 54.32 ns/op BenchmarkIndexAnyUTF8/1:8-4 2038140 60.23 ns/op BenchmarkIndexAnyUTF8/1:16-4 2263243 53.10 ns/op BenchmarkIndexAnyUTF8/1:32-4 2287095 54.04 ns/op BenchmarkIndexAnyUTF8/1:64-4 2289057 52.00 ns/op BenchmarkIndexAnyUTF8/16:1-4 1901974 63.90 ns/op BenchmarkIndexAnyUTF8/16:2-4 371106 356.9 ns/op BenchmarkIndexAnyUTF8/16:4-4 338491 333.4 ns/op BenchmarkIndexAnyUTF8/16:8-4 353540 329.0 ns/op BenchmarkIndexAnyUTF8/16:16-4 343557 355.3 ns/op BenchmarkIndexAnyUTF8/16:32-4 337180 362.7 ns/op BenchmarkIndexAnyUTF8/16:64-4 368604 326.9 ns/op BenchmarkIndexAnyUTF8/256:1-4 389895 308.2 ns/op BenchmarkIndexAnyUTF8/256:2-4 24393 4592 ns/op BenchmarkIndexAnyUTF8/256:4-4 24873 4595 ns/op BenchmarkIndexAnyUTF8/256:8-4 26199 4585 ns/op BenchmarkIndexAnyUTF8/256:16-4 26246 4582 ns/op BenchmarkIndexAnyUTF8/256:32-4 25840 4693 ns/op BenchmarkIndexAnyUTF8/256:64-4 26413 4583 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2506585 47.87 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2439218 47.91 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2473360 48.50 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2486079 48.26 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2525961 47.87 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2521021 48.40 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2270623 54.04 ns/op BenchmarkLastIndexAnyASCII/16:1-4 777375 136.9 ns/op BenchmarkLastIndexAnyASCII/16:2-4 820708 139.6 ns/op BenchmarkLastIndexAnyASCII/16:4-4 846907 142.7 ns/op BenchmarkLastIndexAnyASCII/16:8-4 786468 148.7 ns/op BenchmarkLastIndexAnyASCII/16:16-4 704688 156.5 ns/op BenchmarkLastIndexAnyASCII/16:32-4 598912 198.4 ns/op BenchmarkLastIndexAnyASCII/16:64-4 426140 261.9 ns/op BenchmarkLastIndexAnyASCII/256:1-4 69450 1725 ns/op BenchmarkLastIndexAnyASCII/256:2-4 77235 1740 ns/op BenchmarkLastIndexAnyASCII/256:4-4 77040 1566 ns/op BenchmarkLastIndexAnyASCII/256:8-4 69687 1580 ns/op BenchmarkLastIndexAnyASCII/256:16-4 74745 1620 ns/op BenchmarkLastIndexAnyASCII/256:32-4 73569 1617 ns/op BenchmarkLastIndexAnyASCII/256:64-4 64354 1860 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2503474 47.04 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2495511 48.10 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2500533 48.23 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2521084 47.41 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2513228 47.55 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2501716 49.19 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2287557 47.82 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 426176 308.8 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 202190 555.2 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 221917 545.1 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 203612 596.5 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 200865 547.5 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 200138 547.5 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 203613 548.9 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 29184 3777 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 15139 7998 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 15120 8063 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 13770 7997 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 14648 8088 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 13825 8767 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 13747 8768 ns/op BenchmarkTrimASCII/1:1-4 3756980 31.89 ns/op BenchmarkTrimASCII/1:2-4 2984780 39.83 ns/op BenchmarkTrimASCII/1:4-4 2928704 40.37 ns/op BenchmarkTrimASCII/1:8-4 2372289 49.67 ns/op BenchmarkTrimASCII/1:16-4 2026189 59.12 ns/op BenchmarkTrimASCII/16:1-4 3214107 37.20 ns/op BenchmarkTrimASCII/16:2-4 868401 136.9 ns/op BenchmarkTrimASCII/16:4-4 927655 124.9 ns/op BenchmarkTrimASCII/16:8-4 833547 135.1 ns/op BenchmarkTrimASCII/16:16-4 787536 148.2 ns/op BenchmarkTrimASCII/256:1-4 957534 127.5 ns/op BenchmarkTrimASCII/256:2-4 91306 1303 ns/op BenchmarkTrimASCII/256:4-4 81282 1382 ns/op BenchmarkTrimASCII/256:8-4 80612 1319 ns/op BenchmarkTrimASCII/256:16-4 80292 1325 ns/op BenchmarkTrimASCII/4096:1-4 86119 1390 ns/op BenchmarkTrimASCII/4096:2-4 5228 22850 ns/op BenchmarkTrimASCII/4096:4-4 5569 20455 ns/op BenchmarkTrimASCII/4096:8-4 5134 20201 ns/op BenchmarkTrimASCII/4096:16-4 5634 22884 ns/op BenchmarkTrimByte-4 5195672 23.25 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 19368 6186 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 19312 6233 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 1233 97128 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 2438 48639 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 4806 24380 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 9182 12787 ns/op BenchmarkJoin/0-4 6051924 19.92 ns/op 0 B/op 0 allocs/op BenchmarkJoin/1-4 4686181 25.19 ns/op 0 B/op 0 allocs/op BenchmarkJoin/2-4 199161 590.1 ns/op 16 B/op 1 allocs/op BenchmarkJoin/3-4 148561 868.9 ns/op 24 B/op 1 allocs/op BenchmarkJoin/4-4 109057 1135 ns/op 48 B/op 1 allocs/op BenchmarkJoin/5-4 89203 1328 ns/op 48 B/op 1 allocs/op BenchmarkJoin/6-4 77265 1652 ns/op 64 B/op 1 allocs/op BenchmarkJoin/7-4 64674 1861 ns/op 64 B/op 1 allocs/op BenchmarkTrimSpace/NoTrim-4 2829828 37.82 ns/op BenchmarkTrimSpace/ASCII-4 1795130 65.86 ns/op BenchmarkTrimSpace/SomeNonASCII-4 157785 757.8 ns/op BenchmarkTrimSpace/JustNonASCII-4 85584 1381 ns/op BenchmarkReplaceAll-4 130290 927.3 ns/op 16 B/op 1 allocs/op PASS ok strings 52.011s goos: linux goarch: amd64 pkg: sync cpu: AMD EPYC 7B12 BenchmarkCond1-4 53701 2215 ns/op BenchmarkCond2-4 18295 6454 ns/op BenchmarkCond4-4 13291 9964 ns/op BenchmarkCond8-4 7593 15035 ns/op BenchmarkCond16-4 3277 42798 ns/op BenchmarkCond32-4 2488 95377 ns/op BenchmarkLoadMostlyHits/*sync_test.DeepCopyMap-4 562123 188.5 ns/op BenchmarkLoadMostlyHits/*sync_test.RWMutexMap-4 203286 608.2 ns/op BenchmarkLoadMostlyHits/*sync.Map-4 574918 184.7 ns/op BenchmarkLoadMostlyMisses/*sync_test.DeepCopyMap-4 476101 246.2 ns/op BenchmarkLoadMostlyMisses/*sync_test.RWMutexMap-4 292774 489.5 ns/op BenchmarkLoadMostlyMisses/*sync.Map-4 559750 189.6 ns/op BenchmarkLoadOrStoreBalanced/*sync_test.RWMutexMap-4 88422 1339 ns/op BenchmarkLoadOrStoreBalanced/*sync.Map-4 76363 1511 ns/op BenchmarkLoadOrStoreUnique/*sync_test.RWMutexMap-4 65550 2200 ns/op BenchmarkLoadOrStoreUnique/*sync.Map-4 53422 2877 ns/op BenchmarkLoadOrStoreCollision/*sync_test.DeepCopyMap-4 614599 226.8 ns/op BenchmarkLoadOrStoreCollision/*sync_test.RWMutexMap-4 161274 731.6 ns/op BenchmarkLoadOrStoreCollision/*sync.Map-4 618304 202.6 ns/op BenchmarkLoadAndDeleteBalanced/*sync_test.RWMutexMap-4 162127 727.9 ns/op BenchmarkLoadAndDeleteBalanced/*sync.Map-4 830679 154.9 ns/op BenchmarkLoadAndDeleteUnique/*sync_test.RWMutexMap-4 194958 668.5 ns/op BenchmarkLoadAndDeleteUnique/*sync.Map-4 1326288 78.37 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.DeepCopyMap-4 62746 2211 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.RWMutexMap-4 143505 999.6 ns/op BenchmarkLoadAndDeleteCollision/*sync.Map-4 295236 578.4 ns/op BenchmarkRange/*sync_test.DeepCopyMap-4 7047 15239 ns/op BenchmarkRange/*sync_test.RWMutexMap-4 207 514795 ns/op BenchmarkRange/*sync.Map-4 1096 94105 ns/op BenchmarkAdversarialAlloc/*sync_test.DeepCopyMap-4 86890 1236 ns/op BenchmarkAdversarialAlloc/*sync_test.RWMutexMap-4 184725 613.8 ns/op BenchmarkAdversarialAlloc/*sync.Map-4 72314 1697 ns/op BenchmarkAdversarialDelete/*sync_test.DeepCopyMap-4 109933 995.0 ns/op BenchmarkAdversarialDelete/*sync_test.RWMutexMap-4 210410 558.2 ns/op BenchmarkAdversarialDelete/*sync.Map-4 201349 735.7 ns/op BenchmarkDeleteCollision/*sync_test.DeepCopyMap-4 78429 1430 ns/op BenchmarkDeleteCollision/*sync_test.RWMutexMap-4 172185 624.9 ns/op BenchmarkDeleteCollision/*sync.Map-4 721244 147.9 ns/op BenchmarkSwapCollision/*sync_test.DeepCopyMap-4 49808 2206 ns/op BenchmarkSwapCollision/*sync_test.RWMutexMap-4 169779 870.8 ns/op BenchmarkSwapCollision/*sync.Map-4 68536 1945 ns/op BenchmarkSwapMostlyHits/*sync_test.DeepCopyMap-4 398 285630 ns/op BenchmarkSwapMostlyHits/*sync_test.RWMutexMap-4 113254 1194 ns/op BenchmarkSwapMostlyHits/*sync.Map-4 324464 382.1 ns/op BenchmarkSwapMostlyMisses/*sync_test.DeepCopyMap-4 24904 4748 ns/op BenchmarkSwapMostlyMisses/*sync_test.RWMutexMap-4 68155 1776 ns/op BenchmarkSwapMostlyMisses/*sync.Map-4 23140 4741 ns/op BenchmarkCompareAndSwapCollision/*sync_test.DeepCopyMap-4 272377 411.5 ns/op BenchmarkCompareAndSwapCollision/*sync_test.RWMutexMap-4 102327 1104 ns/op BenchmarkCompareAndSwapCollision/*sync.Map-4 140412 1025 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.DeepCopyMap-4 1915590 57.51 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.RWMutexMap-4 158913 674.5 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync.Map-4 1757091 61.73 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.DeepCopyMap-4 553462 205.3 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.RWMutexMap-4 139780 849.6 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync.Map-4 604753 180.4 ns/op BenchmarkCompareAndSwapMostlyHits/*sync_test.RWMutexMap-4 92464 1293 ns/op BenchmarkCompareAndSwapMostlyHits/*sync.Map-4 335413 364.5 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.DeepCopyMap-4 478057 226.5 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.RWMutexMap-4 122425 985.3 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync.Map-4 879351 226.2 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.DeepCopyMap-4 166105 923.2 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.RWMutexMap-4 105085 1120 ns/op BenchmarkCompareAndDeleteCollision/*sync.Map-4 191486 572.2 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync_test.RWMutexMap-4 57482 2007 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync.Map-4 218919 625.4 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.DeepCopyMap-4 600468 199.7 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.RWMutexMap-4 126040 962.4 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync.Map-4 764938 157.2 ns/op BenchmarkUncontendedSemaphore-4 6942793 17.13 ns/op BenchmarkContendedSemaphore-4 4230336 28.26 ns/op BenchmarkMutexUncontended-4 1082036 138.8 ns/op BenchmarkMutex-4 172285 632.8 ns/op BenchmarkMutexSlack-4 174483 663.0 ns/op BenchmarkMutexWork-4 147411 767.6 ns/op BenchmarkMutexWorkSlack-4 140220 860.2 ns/op BenchmarkMutexNoSpin-4 48888 2274 ns/op BenchmarkMutexSpin-4 61668 1936 ns/op BenchmarkOnce-4 980688 126.0 ns/op BenchmarkSemaUncontended-4 8265746 15.22 ns/op BenchmarkSemaSyntNonblock-4 1873143 61.11 ns/op BenchmarkSemaSyntBlock-4 2065533 72.04 ns/op BenchmarkSemaWorkNonblock-4 1240852 95.44 ns/op BenchmarkSemaWorkBlock-4 1078539 133.8 ns/op BenchmarkRWMutexUncontended-4 605443 191.7 ns/op BenchmarkRWMutexWrite100-4 348584 332.1 ns/op BenchmarkRWMutexWrite10-4 304240 379.6 ns/op BenchmarkRWMutexWorkWrite100-4 244960 482.4 ns/op BenchmarkRWMutexWorkWrite10-4 227623 552.1 ns/op BenchmarkWaitGroupUncontended-4 1000000 100.1 ns/op BenchmarkWaitGroupAddDone-4 282362 365.3 ns/op BenchmarkWaitGroupAddDoneWork-4 317497 322.5 ns/op BenchmarkWaitGroupWait-4 3898210 26.88 ns/op BenchmarkWaitGroupWaitWork-4 2673462 45.75 ns/op BenchmarkWaitGroupActuallyWait-4 34987 3740 ns/op 32 B/op 2 allocs/op PASS ok sync 16.849s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: sync/atomic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkValueRead-4 398646 350.6 ns/op PASS ok sync/atomic 0.184s goos: linux goarch: amd64 pkg: testing cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkTBHelper-4 98461 1264 ns/op 0 B/op 0 allocs/op PASS ok testing 0.272s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: text/tabwriter cpu: AMD EPYC 7B12 BenchmarkTable/1x10/new-4 6819 15044 ns/op 1520 B/op 21 allocs/op BenchmarkTable/1x10/reuse-4 11436 10559 ns/op 0 B/op 0 allocs/op BenchmarkTable/1x1000/new-4 94 1242653 ns/op 129393 B/op 1025 allocs/op BenchmarkTable/1x1000/reuse-4 98 1062290 ns/op 1320 B/op 10 allocs/op BenchmarkTable/1x100000/new-4 1 143067776 ns/op 19393008 B/op 100057 allocs/op BenchmarkTable/1x100000/reuse-4 1 140647216 ns/op 19393008 B/op 100057 allocs/op BenchmarkTable/10x10/new-4 1664 64150 ns/op 5056 B/op 31 allocs/op BenchmarkTable/10x10/reuse-4 2054 52994 ns/op 2 B/op 0 allocs/op BenchmarkTable/10x1000/new-4 20 5670819 ns/op 413568 B/op 1039 allocs/op BenchmarkTable/10x1000/reuse-4 22 5221786 ns/op 18798 B/op 47 allocs/op BenchmarkTable/10x100000/new-4 1 620012573 ns/op 48120704 B/op 100073 allocs/op BenchmarkTable/10x100000/reuse-4 1 615885563 ns/op 48120704 B/op 100073 allocs/op BenchmarkTable/100x10/new-4 216 543897 ns/op 39296 B/op 41 allocs/op BenchmarkTable/100x10/reuse-4 230 520559 ns/op 170 B/op 0 allocs/op BenchmarkTable/100x1000/new-4 2 54443908 ns/op 3288960 B/op 1053 allocs/op BenchmarkTable/100x1000/reuse-4 2 51808188 ns/op 1644480 B/op 526 allocs/op BenchmarkTable/100x100000/new-4 1 6205208768 ns/op 335150048 B/op 100090 allocs/op BenchmarkTable/100x100000/reuse-4 1 6092373081 ns/op 335150152 B/op 100092 allocs/op BenchmarkPyramid/10-4 2911 39476 ns/op 4872 B/op 35 allocs/op BenchmarkPyramid/100-4 42 2848861 ns/op 409132 B/op 230 allocs/op BenchmarkPyramid/1000-4 1 283727993 ns/op 35625256 B/op 2055 allocs/op BenchmarkRagged/10-4 2595 44817 ns/op 4512 B/op 34 allocs/op BenchmarkRagged/100-4 273 409845 ns/op 41008 B/op 188 allocs/op BenchmarkRagged/1000-4 28 4202437 ns/op 427424 B/op 1661 allocs/op BenchmarkCode-4 6616 16280 ns/op 624 B/op 13 allocs/op PASS ok text/tabwriter 16.833s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: text/template/parse cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkParseLarge-4 2 85627182 ns/op BenchmarkVariableString-4 91246 1227 ns/op 80 B/op 3 allocs/op BenchmarkListString-4 1891 54943 ns/op 2514 B/op 39 allocs/op PASS ok text/template/parse 0.543s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 11 10:24:08 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: time cpu: AMD EPYC 7B12 BenchmarkAfterFunc-4 32 3705940 ns/op BenchmarkAfter-4 96 1115274 ns/op BenchmarkStop-4 195 621227 ns/op BenchmarkSimultaneousAfterFunc-4 25 4432233 ns/op BenchmarkStartStop-4 184 590322 ns/op BenchmarkReset-4 3206 39734 ns/op BenchmarkSleep-4 33 3645132 ns/op BenchmarkParallelTimerLatency-4 50 216429 avg-late-ns 1302460 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=1-4 37 337190 avg-late-ns 856660 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=2-4 33 341230 avg-late-ns 1236430 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=3-4 34 367482 avg-late-ns 1206109 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=4-4 33 336593 avg-late-ns 1357198 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=5-4 31 317111 avg-late-ns 1657460 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=6-4 27 298462 avg-late-ns 1991269 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=7-4 30 302126 avg-late-ns 2608700 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=8-4 27 202250 avg-late-ns 2480579 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=9-4 26 292191 avg-late-ns 1498400 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=10-4 26 860442 avg-late-ns 4310897 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=2ms/tickers-per-P=1-4 34 302269 avg-late-ns 850597 max-late-ns BenchmarkTicker-4 352 320649 ns/op BenchmarkTickerReset-4 4602 24690 ns/op BenchmarkTickerResetNaive-4 242 545891 ns/op BenchmarkNow-4 1000000 100.4 ns/op BenchmarkNowUnixNano-4 1000000 103.2 ns/op BenchmarkNowUnixMilli-4 1210107 95.06 ns/op BenchmarkNowUnixMicro-4 1000000 100.5 ns/op BenchmarkFormat-4 56942 2005 ns/op BenchmarkFormatRFC3339-4 81345 1438 ns/op BenchmarkFormatRFC3339Nano-4 81618 1471 ns/op BenchmarkFormatNow-4 82976 1430 ns/op BenchmarkMarshalJSON-4 108008 1063 ns/op BenchmarkMarshalText-4 112294 1036 ns/op BenchmarkParse-4 134503 868.3 ns/op BenchmarkParseRFC3339UTC-4 322934 360.2 ns/op BenchmarkParseRFC3339UTCBytes-4 221272 519.6 ns/op BenchmarkParseRFC3339TZ-4 99358 1192 ns/op BenchmarkParseRFC3339TZBytes-4 76503 1509 ns/op BenchmarkParseDuration-4 576529 203.3 ns/op BenchmarkHour-4 952244 114.0 ns/op BenchmarkSecond-4 1000000 114.3 ns/op BenchmarkYear-4 732904 161.4 ns/op BenchmarkDay-4 651062 168.5 ns/op BenchmarkISOWeek-4 789696 150.5 ns/op BenchmarkGoString-4 77484 1523 ns/op BenchmarkUnmarshalText-4 69907 1696 ns/op PASS ok time 10.818s goos: linux goarch: amd64 pkg: unicode/utf16 cpu: AMD EPYC 7B12 BenchmarkDecodeValidASCII-4 614005 189.3 ns/op BenchmarkDecodeValidJapaneseChars-4 724624 160.8 ns/op BenchmarkDecodeRune-4 2001531 59.25 ns/op BenchmarkEncodeValidASCII-4 579978 188.1 ns/op BenchmarkEncodeValidJapaneseChars-4 735315 142.1 ns/op BenchmarkAppendRuneValidASCII-4 1585972 68.55 ns/op BenchmarkAppendRuneValidJapaneseChars-4 2835048 42.07 ns/op BenchmarkEncodeRune-4 3357628 34.63 ns/op PASS ok unicode/utf16 1.189s goos: linux goarch: amd64 pkg: unicode/utf8 cpu: AMD EPYC 7B12 BenchmarkRuneCountTenASCIIChars-4 1178031 102.0 ns/op BenchmarkRuneCountTenJapaneseChars-4 209415 502.4 ns/op BenchmarkRuneCountInStringTenASCIIChars-4 3736312 28.42 ns/op BenchmarkRuneCountInStringTenJapaneseChars-4 556077 210.5 ns/op BenchmarkValidTenASCIIChars-4 1255402 95.96 ns/op BenchmarkValid100KASCIIChars-4 146 814020 ns/op BenchmarkValidTenJapaneseChars-4 198100 641.0 ns/op BenchmarkValidLongMostlyASCII-4 129 923132 ns/op BenchmarkValidLongJapanese-4 62 1783036 ns/op BenchmarkValidStringTenASCIIChars-4 5421008 27.30 ns/op BenchmarkValidString100KASCIIChars-4 10000 10406 ns/op BenchmarkValidStringTenJapaneseChars-4 561442 208.9 ns/op BenchmarkValidStringLongMostlyASCII-4 1057 112300 ns/op BenchmarkValidStringLongJapanese-4 225 531117 ns/op BenchmarkEncodeASCIIRune-4 4884096 26.08 ns/op BenchmarkEncodeJapaneseRune-4 2527743 41.29 ns/op BenchmarkAppendASCIIRune-4 10455675 10.78 ns/op BenchmarkAppendJapaneseRune-4 2965810 36.50 ns/op BenchmarkDecodeASCIIRune-4 3540296 35.64 ns/op BenchmarkDecodeJapaneseRune-4 2076169 57.48 ns/op BenchmarkFullRune/ASCII-4 4293968 26.94 ns/op BenchmarkFullRune/Incomplete-4 1872506 65.64 ns/op BenchmarkFullRune/Japanese-4 4460094 26.61 ns/op PASS ok unicode/utf8 3.640s goos: linux goarch: amd64 pkg: cmd/api cpu: AMD EPYC 7B12 BenchmarkAll-4 1 49764540949 ns/op PASS ok cmd/api 55.292s goos: linux goarch: amd64 pkg: cmd/compile/internal/reflectdata cpu: AMD EPYC 7B12 BenchmarkEqArrayOfStrings5-4 1000000 109.8 ns/op BenchmarkEqArrayOfStrings64-4 137424 861.2 ns/op BenchmarkEqArrayOfStrings1024-4 8172 13597 ns/op BenchmarkEqArrayOfFloats5-4 1281864 93.14 ns/op BenchmarkEqArrayOfFloats64-4 140547 867.4 ns/op BenchmarkEqArrayOfFloats1024-4 7477 14449 ns/op BenchmarkEqStruct-4 17401568 6.547 ns/op PASS ok cmd/compile/internal/reflectdata 0.981s goos: linux goarch: amd64 pkg: cmd/compile/internal/ssa cpu: AMD EPYC 7B12 BenchmarkPhioptPass-4 10000 57825 ns/op BenchmarkCopyElim1-4 802 137832 ns/op BenchmarkCopyElim10-4 693 147381 ns/op BenchmarkCopyElim100-4 408 282772 ns/op BenchmarkCopyElim1000-4 73 1521592 ns/op BenchmarkCopyElim10000-4 4 26287909 ns/op BenchmarkCopyElim100000-4 1 536757675 ns/op BenchmarkDeadCode/1-4 698 154335 ns/op BenchmarkDeadCode/10-4 589 180752 ns/op BenchmarkDeadCode/100-4 303 374175 ns/op BenchmarkDeadCode/1000-4 61 2230378 ns/op BenchmarkDeadCode/10000-4 5 25184444 ns/op BenchmarkDeadCode/100000-4 1 354417113 ns/op BenchmarkDeadCode/200000-4 1 688111135 ns/op BenchmarkDominatorsLinear-4 13 7936053 ns/op 1.26 MB/s BenchmarkDominatorsFwdBack-4 12 11116785 ns/op 0.90 MB/s BenchmarkDominatorsManyPred-4 10 11725407 ns/op 0.85 MB/s BenchmarkDominatorsMaxPred-4 8 12569252 ns/op 0.80 MB/s BenchmarkDominatorsMaxPredVal-4 10 11364656 ns/op 0.88 MB/s BenchmarkFuse/1-4 634 158907 ns/op BenchmarkFuse/10-4 564 204339 ns/op BenchmarkFuse/100-4 182 648596 ns/op BenchmarkFuse/1000-4 22 4819523 ns/op BenchmarkFuse/10000-4 2 60528604 ns/op BenchmarkNilCheckDeep1-4 11986 9913 ns/op 0.10 MB/s 236 B/op 4 allocs/op BenchmarkNilCheckDeep10-4 4478 23694 ns/op 0.42 MB/s 234 B/op 4 allocs/op BenchmarkNilCheckDeep100-4 709 165508 ns/op 0.60 MB/s 637 B/op 4 allocs/op BenchmarkNilCheckDeep1000-4 67 1602812 ns/op 0.62 MB/s 5824 B/op 5 allocs/op BenchmarkNilCheckDeep10000-4 6 18376083 ns/op 0.54 MB/s 71341 B/op 5 allocs/op BenchmarkDSEPass-4 28 4023438 ns/op 44700 B/op 7 allocs/op BenchmarkDSEPassBlock-4 1 129177939 ns/op 4261040 B/op 108545 allocs/op BenchmarkCSEPass-4 7 15455778 ns/op 103437 B/op 9 allocs/op BenchmarkCSEPassBlock-4 1 164140111 ns/op 5699824 B/op 97716 allocs/op BenchmarkDeadcodePass-4 204 586096 ns/op 105189 B/op 3 allocs/op BenchmarkDeadcodePassBlock-4 1 131678729 ns/op 4081344 B/op 45255 allocs/op BenchmarkMultiPass-4 78 1384925 ns/op 244449 B/op 11 allocs/op BenchmarkMultiPassBlock-4 1 252469726 ns/op 11184648 B/op 149690 allocs/op BenchmarkCondRewrite/SoloJump-4 2873053 41.11 ns/op BenchmarkCondRewrite/CombJump-4 2775374 42.14 ns/op PASS ok cmd/compile/internal/ssa 13.439s goos: linux goarch: amd64 pkg: cmd/compile/internal/test cpu: AMD EPYC 7B12 BenchmarkLoadAdd-4 8026 14105 ns/op BenchmarkExtShift-4 17334 6891 ns/op BenchmarkModify-4 8150 13434 ns/op BenchmarkMullImm-4 17175 6893 ns/op BenchmarkConstModify-4 8204 13745 ns/op BenchmarkBitSet-4 18709 6490 ns/op BenchmarkBitClear-4 18933 6303 ns/op BenchmarkBitToggle-4 18775 6440 ns/op BenchmarkBitSetConst-4 149152 799.1 ns/op BenchmarkBitClearConst-4 141454 807.2 ns/op BenchmarkBitToggleConst-4 149840 788.3 ns/op BenchmarkDivconstI64-4 8557246 14.43 ns/op BenchmarkModconstI64-4 8661302 13.53 ns/op BenchmarkDivisiblePow2constI64-4 8991915 13.25 ns/op BenchmarkDivisibleconstI64-4 9291585 12.78 ns/op BenchmarkDivisibleWDivconstI64-4 5947833 17.56 ns/op BenchmarkDivconstU64/3-4 8512250 13.31 ns/op BenchmarkDivconstU64/5-4 8809983 13.65 ns/op BenchmarkDivconstU64/37-4 9163780 13.06 ns/op BenchmarkDivconstU64/1234567-4 9087376 13.13 ns/op BenchmarkModconstU64-4 9015404 13.24 ns/op BenchmarkDivisibleconstU64-4 9005188 13.22 ns/op BenchmarkDivisibleWDivconstU64-4 6209010 17.81 ns/op BenchmarkDivconstI32-4 8361804 13.24 ns/op BenchmarkModconstI32-4 8771314 13.59 ns/op BenchmarkDivisiblePow2constI32-4 8745934 13.04 ns/op BenchmarkDivisibleconstI32-4 9339610 12.85 ns/op BenchmarkDivisibleWDivconstI32-4 6637964 17.41 ns/op BenchmarkDivconstU32-4 8828053 13.36 ns/op BenchmarkModconstU32-4 8777190 13.57 ns/op BenchmarkDivisibleconstU32-4 9269529 12.86 ns/op BenchmarkDivisibleWDivconstU32-4 6748700 17.65 ns/op BenchmarkDivconstI16-4 8681691 13.37 ns/op BenchmarkModconstI16-4 9118429 13.17 ns/op BenchmarkDivisiblePow2constI16-4 8405569 14.26 ns/op BenchmarkDivisibleconstI16-4 9268857 12.76 ns/op BenchmarkDivisibleWDivconstI16-4 6029041 17.40 ns/op BenchmarkDivconstU16-4 8467125 13.40 ns/op BenchmarkModconstU16-4 8914144 12.90 ns/op BenchmarkDivisibleconstU16-4 9192606 12.84 ns/op BenchmarkDivisibleWDivconstU16-4 6272823 17.77 ns/op BenchmarkDivconstI8-4 9150351 12.79 ns/op BenchmarkModconstI8-4 8407800 13.87 ns/op BenchmarkDivisiblePow2constI8-4 9253040 12.98 ns/op BenchmarkDivisibleconstI8-4 8928126 12.68 ns/op BenchmarkDivisibleWDivconstI8-4 6414206 17.49 ns/op BenchmarkDivconstU8-4 8447770 14.07 ns/op BenchmarkModconstU8-4 9283513 12.74 ns/op BenchmarkDivisibleconstU8-4 9272344 13.02 ns/op BenchmarkDivisibleWDivconstU8-4 6662949 17.58 ns/op BenchmarkMul2-4 234690 488.9 ns/op BenchmarkMulNeg2-4 245760 487.0 ns/op BenchmarkEfaceInteger-4 3925377 29.15 ns/op BenchmarkMulconstI32/3-4 17394404 6.896 ns/op BenchmarkMulconstI32/5-4 17449924 6.867 ns/op BenchmarkMulconstI32/12-4 17423170 6.869 ns/op BenchmarkMulconstI32/120-4 17278368 6.874 ns/op BenchmarkMulconstI32/-120-4 17172912 6.865 ns/op BenchmarkMulconstI32/65537-4 17418618 6.885 ns/op BenchmarkMulconstI32/65538-4 17417379 6.870 ns/op BenchmarkMulconstI64/3-4 17418039 6.880 ns/op BenchmarkMulconstI64/5-4 17353177 6.869 ns/op BenchmarkMulconstI64/12-4 15290811 6.924 ns/op BenchmarkMulconstI64/120-4 17243632 6.889 ns/op BenchmarkMulconstI64/-120-4 17306402 6.897 ns/op BenchmarkMulconstI64/65537-4 17419556 6.872 ns/op BenchmarkMulconstI64/65538-4 17416722 6.860 ns/op BenchmarkMulconstU32/3-4 17511064 6.877 ns/op BenchmarkMulconstU32/5-4 17340338 6.889 ns/op BenchmarkMulconstU32/12-4 15793941 6.907 ns/op BenchmarkMulconstU32/120-4 17381079 6.874 ns/op BenchmarkMulconstU32/65537-4 17382738 6.873 ns/op BenchmarkMulconstU32/65538-4 17479741 6.867 ns/op BenchmarkMulconstU64/3-4 17316644 6.891 ns/op BenchmarkMulconstU64/5-4 17395210 6.888 ns/op BenchmarkMulconstU64/12-4 17196634 7.050 ns/op BenchmarkMulconstU64/120-4 17345125 6.909 ns/op BenchmarkMulconstU64/65537-4 17483764 6.866 ns/op BenchmarkMulconstU64/65538-4 17351746 6.871 ns/op BenchmarkShiftArithmeticRight-4 16719261 6.904 ns/op BenchmarkSwitch8Predictable-4 12741327 9.065 ns/op BenchmarkSwitch8Unpredictable-4 6663578 17.74 ns/op BenchmarkSwitch32Predictable-4 11027010 10.51 ns/op BenchmarkSwitch32Unpredictable-4 6626473 17.72 ns/op BenchmarkSwitchStringPredictable-4 6328155 18.36 ns/op BenchmarkSwitchStringUnpredictable-4 4729784 24.84 ns/op PASS ok cmd/compile/internal/test 11.806s goos: linux goarch: amd64 pkg: cmd/compile/internal/types2 cpu: AMD EPYC 7B12 BenchmarkLookupFieldOrMethod-4 175 677007 ns/op BenchmarkNamed/Underlying/nongeneric-4 1223709 97.20 ns/op BenchmarkNamed/Underlying/generic-4 1236740 95.67 ns/op BenchmarkNamed/Underlying/src_instance-4 1239854 96.50 ns/op BenchmarkNamed/Underlying/user_instance-4 1231962 96.42 ns/op BenchmarkCheck/http/funcbodies/info-4 1 422999763 ns/op 72243 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 306237624 ns/op 99784 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 129871419 ns/op 235140 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 113935830 ns/op 268060 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 308398034 ns/op 16632 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 2 76976738 ns/op 66628 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 4 29426712 ns/op 174266 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 4 27144258 ns/op 188942 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 110755080 ns/op 19584 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 3 36057367 ns/op 60162 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 6 18861254 ns/op 115011 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 6 17309712 ns/op 125310 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 813664640 ns/op 77942 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 499813158 ns/op 126880 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 118247290 ns/op 536088 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 101556361 ns/op 624199 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 365597889 ns/op 5464 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 54717650 ns/op 36498 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 4 32802837 ns/op 60886 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 4 32416282 ns/op 61622 lines/s PASS ok cmd/compile/internal/types2 14.200s goos: linux goarch: amd64 pkg: cmd/go cpu: AMD EPYC 7B12 BenchmarkExecGoEnv-4 199 580377 ns/op 1321095 sys-ns/op 745131 user-ns/op PASS ok cmd/go 0.194s goos: linux goarch: amd64 pkg: cmd/internal/notsha256 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes/New-4 71241 1616 ns/op 4.95 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 88064 1333 ns/op 6.00 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 19416 6151 ns/op 166.46 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 20158 5859 ns/op 174.77 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 3133 38162 ns/op 214.66 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 3078 37768 ns/op 216.90 MB/s 0 B/op 0 allocs/op PASS ok cmd/internal/notsha256 0.895s All tests passed.