linux-amd64-race at 4c028edffafbaa6a2ad46fcd5423febb207f8a98 :: 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-rnce2fdcc" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=0s" "GO_STAGE0_DL_DELAY=200ms" "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" "GOPLSCACHE=/workdir/goplscache" "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 *** You need to add /workdir/go/bin to your PATH. :: 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-rnce2fdcc" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=0s" "GO_STAGE0_DL_DELAY=200ms" "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" "GOPLSCACHE=/workdir/goplscache" "PWD=/workdir/go/bin"] in dir /workdir/go/bin ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Testing packages. ok archive/tar 1.768s ok archive/zip 2.583s ok bufio 1.229s ok bytes 2.610s ok cmp 1.009s ok compress/bzip2 1.317s ok compress/flate 5.489s ok compress/gzip 9.961s ok compress/lzw 1.397s ok compress/zlib 4.649s ok container/heap 1.014s ok container/list 1.011s ok container/ring 1.012s ok context 1.033s ok crypto 1.010s ok crypto/aes 1.034s ok crypto/cipher 1.031s ok crypto/des 1.035s ok crypto/dsa 1.011s ok crypto/ecdh 1.156s ok crypto/ecdsa 1.091s ok crypto/ed25519 1.278s ok crypto/elliptic 1.025s ok crypto/hmac 1.011s ok crypto/internal/alias 1.009s ok crypto/internal/bigmod 3.374s ok crypto/internal/boring 1.010s ok crypto/internal/boring/bcache 1.284s ok crypto/internal/edwards25519 27.729s ok crypto/internal/edwards25519/field 10.007s ok crypto/internal/nistec 1.605s ok crypto/internal/nistec/fiat 1.009s [no tests to run] ok crypto/md5 1.014s ok crypto/rand 1.185s ok crypto/rc4 1.323s ok crypto/rsa 2.290s ok crypto/sha1 1.024s ok crypto/sha256 1.013s ok crypto/sha512 1.015s ok crypto/subtle 1.253s ok crypto/tls 3.081s ok crypto/x509 2.061s ok database/sql 1.296s ok database/sql/driver 1.010s ok debug/buildinfo 1.022s ok debug/dwarf 1.051s ok debug/elf 1.858s ok debug/gosym 1.202s ok debug/macho 1.020s ok debug/pe 1.030s ok debug/plan9obj 1.009s ok embed 1.010s [no tests to run] ok embed/internal/embedtest 1.012s ok encoding/ascii85 1.012s ok encoding/asn1 1.013s ok encoding/base32 1.037s ok encoding/base64 1.015s ok encoding/binary 1.014s ok encoding/csv 1.035s ok encoding/gob 16.011s ok encoding/hex 1.014s ok encoding/json 1.806s ok encoding/pem 2.205s ok encoding/xml 1.118s ok errors 1.015s ok expvar 1.012s ok flag 3.058s ok fmt 1.434s ok go/ast 1.017s ok go/build 3.974s ok go/build/constraint 1.014s ok go/constant 1.015s ok go/doc 1.166s ok go/doc/comment 2.442s ok go/format 1.038s ok go/importer 1.121s ok go/internal/gccgoimporter 1.030s ok go/internal/gcimporter 1.781s ok go/internal/srcimporter 10.225s ok go/parser 1.599s ok go/printer 2.012s ok go/scanner 1.013s ok go/token 1.079s ok go/types 22.820s ok hash 1.012s ok hash/adler32 1.027s ok hash/crc32 1.033s ok hash/crc64 1.018s ok hash/fnv 1.011s ok hash/maphash 1.010s ok html 1.011s ok html/template 1.149s ok image 1.306s ok image/color 1.024s ok image/draw 1.399s ok image/gif 1.637s ok image/jpeg 1.908s ok image/png 3.062s ok index/suffixarray 1.762s ok internal/abi 1.034s ok internal/buildcfg 1.010s ok internal/coverage/cformat 1.010s ok internal/coverage/cmerge 1.010s ok internal/coverage/pods 1.012s ok internal/coverage/slicereader 1.010s ok internal/coverage/slicewriter 1.010s ok internal/coverage/test 1.029s ok internal/cpu 3.028s ok internal/dag 1.010s ok internal/diff 1.011s ok internal/fmtsort 1.010s ok internal/fuzz 1.022s ok internal/godebug 13.472s ok internal/godebugs 1.010s ok internal/intern 1.200s ok internal/itoa 1.011s ok internal/poll 1.375s ok internal/profile 1.011s ok internal/reflectlite 1.013s ok internal/safefilepath 1.011s ok internal/saferio 1.214s ok internal/singleflight 1.092s ok internal/testenv 1.103s ok internal/trace 1.113s ok internal/types/errors 1.229s ok internal/unsafeheader 1.011s ok internal/xcoff 1.021s ok internal/zstd 1.013s ok io 1.039s ok io/fs 1.188s ok io/ioutil 1.013s ok log 1.016s ok log/slog 1.029s ok log/slog/internal/benchmarks 1.011s ok log/slog/internal/buffer 1.010s ok log/syslog 2.225s ok maps 1.011s ok math 1.019s ok math/big 3.092s ok math/bits 1.016s ok math/cmplx 1.011s ok math/rand 3.552s ok mime 1.022s ok mime/multipart 4.298s ok mime/quotedprintable 1.035s ok net 39.728s ok net/http 7.024s ok net/http/cgi 12.271s ok net/http/cookiejar 1.017s ok net/http/fcgi 1.116s ok net/http/httptest 1.142s ok net/http/httptrace 1.011s ok net/http/httputil 1.618s ok net/http/internal 1.013s ok net/http/internal/ascii 1.010s ok net/http/pprof 6.160s ok net/internal/socktest 1.010s ok net/mail 1.015s ok net/netip 1.225s ok net/rpc 1.041s ok net/rpc/jsonrpc 1.017s ok net/smtp 1.045s ok net/textproto 1.030s ok net/url 1.019s ok os 6.246s ok os/exec 4.077s ok os/exec/internal/fdtest 1.009s ok os/signal 16.938s ok os/user 1.009s ok path 1.012s ok path/filepath 1.038s ok plugin 1.009s ok reflect 1.376s ok regexp 2.979s ok regexp/syntax 3.973s ok runtime 29.105s ok runtime/cgo 1.011s ok runtime/coverage 1.010s ok runtime/debug 2.055s ok runtime/internal/atomic 1.051s ok runtime/internal/math 1.011s ok runtime/internal/sys 1.012s ok runtime/internal/syscall 1.010s ok runtime/internal/wasitest 1.010s ok runtime/metrics 1.018s ok runtime/pprof 17.063s ok runtime/race 8.914s ok runtime/trace 3.459s ok slices 1.307s ok sort 1.313s ok strconv 2.621s ok strings 2.033s ok sync 1.301s ok sync/atomic 2.516s ok syscall 11.023s ok testing 2.843s ok testing/fstest 1.013s ok testing/iotest 1.012s ok testing/quick 1.111s ok testing/slogtest 1.012s ok text/scanner 1.023s ok text/tabwriter 1.011s ok text/template 1.055s ok text/template/parse 1.019s ok time 2.978s ok unicode 1.014s ok unicode/utf16 1.010s ok unicode/utf8 1.019s ok cmd/addr2line 3.879s ok cmd/api 9.534s ok cmd/asm/internal/asm 3.389s ok cmd/asm/internal/lex 1.011s ok cmd/cgo/internal/swig 1.442s ok cmd/cgo/internal/test 2.039s ok cmd/cgo/internal/testcarchive 15.646s ok cmd/cgo/internal/testcshared 3.831s ok cmd/cgo/internal/testerrors 6.931s ok cmd/cgo/internal/testfortran 1.766s ok cmd/cgo/internal/testgodefs 1.356s ok cmd/cgo/internal/testlife 1.364s ok cmd/cgo/internal/testnocgo 1.009s ok cmd/cgo/internal/testplugin 19.271s ok cmd/cgo/internal/testsanitizers 12.979s ok cmd/cgo/internal/testshared 26.105s ok cmd/cgo/internal/testso 1.902s ok cmd/cgo/internal/teststdio 1.838s ok cmd/cgo/internal/testtls 1.010s ok cmd/compile/internal/abt 1.030s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/amd64 57.981s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/base 1.011s ok cmd/compile/internal/compare 1.011s ok cmd/compile/internal/dwarfgen 1.299s ok cmd/compile/internal/importer 1.560s ok cmd/compile/internal/ir 1.009s ok cmd/compile/internal/logopt 1.139s ok cmd/compile/internal/loopvar 18.075s ok cmd/compile/internal/noder 1.013s ok cmd/compile/internal/reflectdata 1.010s [no tests to run] ok cmd/compile/internal/ssa 18.357s ok cmd/compile/internal/syntax 1.092s ok cmd/compile/internal/test 9.422s ok cmd/compile/internal/typecheck 1.146s ok cmd/compile/internal/types 1.009s ok cmd/compile/internal/types2 6.146s ok cmd/covdata 1.012s ok cmd/cover 15.527s ok cmd/dist 1.011s ok cmd/distpack 1.009s ok cmd/doc 1.472s ok cmd/fix 1.465s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Testing packages. ok cmd/go 218.529s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Testing packages. ok cmd/go/internal/auth 1.009s ok cmd/go/internal/cache 1.057s ok cmd/go/internal/envcmd 1.023s ok cmd/go/internal/fsys 1.026s ok cmd/go/internal/generate 1.017s ok cmd/go/internal/get 1.018s ok cmd/go/internal/gover 1.012s ok cmd/go/internal/imports 1.017s ok cmd/go/internal/load 1.015s ok cmd/go/internal/lockedfile 2.109s ok cmd/go/internal/lockedfile/internal/filelock 2.040s ok cmd/go/internal/modconv 1.022s ok cmd/go/internal/modfetch 1.017s ok cmd/go/internal/modfetch/codehost 1.291s ok cmd/go/internal/modfetch/zip_sum_test 1.012s ok cmd/go/internal/modindex 1.396s ok cmd/go/internal/modload 1.019s ok cmd/go/internal/mvs 1.026s ok cmd/go/internal/par 1.063s ok cmd/go/internal/str 1.012s ok cmd/go/internal/test 1.024s ok cmd/go/internal/vcs 1.014s ok cmd/go/internal/vcweb 1.014s ok cmd/go/internal/vcweb/vcstest 3.602s ok cmd/go/internal/web 1.012s ok cmd/go/internal/work 1.084s ok cmd/gofmt 1.135s ok cmd/internal/archive 1.248s ok cmd/internal/bootstrap_test 1.009s ok cmd/internal/buildid 1.352s ok cmd/internal/cov 1.147s ok cmd/internal/dwarf 1.010s ok cmd/internal/edit 1.009s ok cmd/internal/goobj 1.009s ok cmd/internal/moddeps 1.726s ok cmd/internal/notsha256 1.011s ok cmd/internal/obj 1.312s ok cmd/internal/obj/ppc64 1.062s ok cmd/internal/obj/riscv 1.023s ok cmd/internal/obj/s390x 1.009s ok cmd/internal/obj/x86 1.098s ok cmd/internal/objabi 1.009s ok cmd/internal/pkgpath 5.046s ok cmd/internal/pkgpattern 1.012s ok cmd/internal/quoted 1.010s ok cmd/internal/src 1.010s ok cmd/internal/test2json 1.523s ok cmd/link 9.017s ok cmd/link/internal/benchmark 1.013s ok cmd/link/internal/ld 2.920s ok cmd/link/internal/loader 1.026s ok cmd/nm 9.118s ok cmd/objdump 4.695s ok cmd/pack 7.202s ok cmd/pprof 3.329s ok cmd/trace 1.250s ok cmd/vet 27.270s ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: archive/tar cpu: AMD EPYC 7B12 Benchmark/Writer/USTAR-4 4411 24946 ns/op 1368 B/op 25 allocs/op Benchmark/Writer/GNU-4 3120 33237 ns/op 1861 B/op 37 allocs/op Benchmark/Writer/PAX-4 2240 50227 ns/op 2560 B/op 59 allocs/op Benchmark/Reader/USTAR-4 6346 18371 ns/op 5101 B/op 15 allocs/op Benchmark/Reader/GNU-4 8216 13823 ns/op 5100 B/op 14 allocs/op Benchmark/Reader/PAX-4 2871 38553 ns/op 8709 B/op 33 allocs/op PASS ok archive/tar 1.814s goos: linux goarch: amd64 pkg: archive/zip cpu: AMD EPYC 7B12 BenchmarkCompressedZipGarbage-4 1 260351584 ns/op 828576 B/op 82 allocs/op BenchmarkZip64Test-4 1 111932303 ns/op BenchmarkZip64TestSizes/4096-4 1969 60442 ns/op BenchmarkZip64TestSizes/1048576-4 201 501886 ns/op BenchmarkZip64TestSizes/67108864-4 1 106491465 ns/op PASS ok archive/zip 2.114s goos: linux goarch: amd64 pkg: bufio cpu: AMD EPYC 7B12 BenchmarkReaderCopyOptimal-4 319994 352.4 ns/op BenchmarkReaderCopyUnoptimal-4 197623 576.4 ns/op BenchmarkReaderCopyNoWriteTo-4 9645 12059 ns/op BenchmarkReaderWriteToOptimal-4 13530 9104 ns/op BenchmarkReaderReadString-4 185734 644.0 ns/op 144 B/op 1 allocs/op BenchmarkWriterCopyOptimal-4 307947 401.1 ns/op BenchmarkWriterCopyUnoptimal-4 303578 390.0 ns/op BenchmarkWriterCopyNoReadFrom-4 8150 12595 ns/op BenchmarkReaderEmpty-4 51583 2161 ns/op 4224 B/op 3 allocs/op BenchmarkWriterEmpty-4 38438 2653 ns/op 4096 B/op 1 allocs/op BenchmarkWriterFlush-4 727540 150.8 ns/op 0 B/op 0 allocs/op PASS ok bufio 2.473s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: bytes cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadString-4 4753 22271 ns/op 1471.32 MB/s BenchmarkWriteByte-4 475 239179 ns/op 17.13 MB/s BenchmarkWriteRune-4 271 438332 ns/op 28.03 MB/s BenchmarkBufferNotEmptyWriteRead-4 31 3629248 ns/op BenchmarkBufferFullSmallReads-4 100 1012903 ns/op BenchmarkBufferWriteBlock/N4096-4 8233 14631 ns/op 14336 B/op 6 allocs/op BenchmarkBufferWriteBlock/N65536-4 440 240089 ns/op 260096 B/op 14 allocs/op BenchmarkBufferWriteBlock/N1048576-4 5 21787730 ns/op 4192256 B/op 22 allocs/op BenchmarkBufferAppendNoCopy-4 1 145005220 ns/op 115.70 MB/s 33554432 B/op 2 allocs/op BenchmarkIndexByte/10-4 4876095 24.39 ns/op 409.96 MB/s BenchmarkIndexByte/32-4 4619227 25.57 ns/op 1251.42 MB/s BenchmarkIndexByte/4K-4 878287 133.8 ns/op 30607.98 MB/s BenchmarkIndexBytePortable/10-4 876200 126.8 ns/op 78.86 MB/s BenchmarkIndexBytePortable/32-4 282800 407.1 ns/op 78.60 MB/s BenchmarkIndexBytePortable/4K-4 2445 48412 ns/op 84.61 MB/s BenchmarkIndexRune/10-4 1247005 94.86 ns/op 105.42 MB/s BenchmarkIndexRune/32-4 1296416 91.54 ns/op 349.58 MB/s BenchmarkIndexRune/4K-4 376804 306.6 ns/op 13358.26 MB/s BenchmarkIndexRuneASCII/10-4 4857076 23.97 ns/op 417.24 MB/s BenchmarkIndexRuneASCII/32-4 4766659 25.43 ns/op 1258.43 MB/s BenchmarkIndexRuneASCII/4K-4 838554 134.5 ns/op 30444.18 MB/s BenchmarkEqual/0-4 8006700 14.79 ns/op BenchmarkEqual/1-4 1520629 79.22 ns/op 12.62 MB/s BenchmarkEqual/6-4 1533570 80.50 ns/op 74.54 MB/s BenchmarkEqual/9-4 1551116 79.77 ns/op 112.83 MB/s BenchmarkEqual/15-4 1499887 79.94 ns/op 187.64 MB/s BenchmarkEqual/16-4 1576957 75.77 ns/op 211.18 MB/s BenchmarkEqual/20-4 1494644 81.24 ns/op 246.20 MB/s BenchmarkEqual/32-4 1486268 79.70 ns/op 401.51 MB/s BenchmarkEqual/4K-4 110714 1088 ns/op 3763.15 MB/s BenchmarkIndex/10-4 3103140 38.78 ns/op 257.87 MB/s BenchmarkIndex/32-4 3264580 35.77 ns/op 894.52 MB/s BenchmarkIndex/4K-4 35445 3377 ns/op 1213.07 MB/s BenchmarkIndexEasy/10-4 3097483 38.37 ns/op 260.62 MB/s BenchmarkIndexEasy/32-4 3373021 35.36 ns/op 904.91 MB/s BenchmarkIndexEasy/4K-4 478272 243.2 ns/op 16841.87 MB/s BenchmarkCount/10-4 1642447 73.50 ns/op 136.06 MB/s BenchmarkCount/32-4 1658384 72.67 ns/op 440.36 MB/s BenchmarkCount/4K-4 35002 3415 ns/op 1199.26 MB/s BenchmarkCountEasy/10-4 1685228 72.32 ns/op 138.27 MB/s BenchmarkCountEasy/32-4 1662411 72.98 ns/op 438.48 MB/s BenchmarkCountEasy/4K-4 419664 278.3 ns/op 14716.85 MB/s BenchmarkCountSingle/10-4 3807001 31.43 ns/op 318.20 MB/s BenchmarkCountSingle/32-4 3552543 33.61 ns/op 952.10 MB/s BenchmarkCountSingle/4K-4 763239 156.5 ns/op 26176.13 MB/s BenchmarkToUpper/#00-4 2901948 41.18 ns/op BenchmarkToUpper/ONLYUPPER-4 312690 384.7 ns/op BenchmarkToUpper/abc-4 485707 243.9 ns/op BenchmarkToUpper/AbC123-4 298431 391.5 ns/op BenchmarkToUpper/azAZ09_-4 270104 426.6 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 87818 1354 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 41084 2921 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 56824 2089 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 128678 908.8 ns/op BenchmarkToLower/#00-4 2933336 40.85 ns/op BenchmarkToLower/abc-4 477363 257.1 ns/op BenchmarkToLower/AbC123-4 302892 388.3 ns/op BenchmarkToLower/azAZ09_-4 276702 422.3 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 89006 1358 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 42866 2802 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 72685 1663 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 126142 948.6 ns/op BenchmarkFields/ASCII/16-4 121724 967.7 ns/op 16.53 MB/s 80 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 8510 12107 ns/op 21.14 MB/s 640 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 615 192447 ns/op 21.28 MB/s 9472 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 32 3652052 ns/op 17.94 MB/s 147459 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 2 58306464 ns/op 17.98 MB/s 2269184 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 84190 1381 ns/op 11.58 MB/s 96 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 6270 18349 ns/op 13.95 MB/s 576 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 370 312547 ns/op 13.11 MB/s 24832 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 16 6361316 ns/op 10.30 MB/s 512256 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 1 127748510 ns/op 8.21 MB/s 11211104 B/op 25 allocs/op BenchmarkFieldsFunc/ASCII/16-4 124194 847.2 ns/op 18.89 MB/s 80 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 12687 9235 ns/op 27.72 MB/s 640 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 693 163674 ns/op 25.03 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 30 3982175 ns/op 16.46 MB/s 512259 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 88223356 ns/op 11.89 MB/s 11211056 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 110739 1022 ns/op 15.66 MB/s 96 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 8628 13038 ns/op 19.63 MB/s 576 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 513 218926 ns/op 18.71 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 24 4965516 ns/op 13.20 MB/s 512260 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 1 108114509 ns/op 9.70 MB/s 11211104 B/op 25 allocs/op BenchmarkTrimSpace/NoTrim-4 1977817 60.14 ns/op BenchmarkTrimSpace/ASCII-4 916623 120.3 ns/op BenchmarkTrimSpace/SomeNonASCII-4 115576 1031 ns/op BenchmarkTrimSpace/JustNonASCII-4 51806 2336 ns/op BenchmarkToValidUTF8/Valid-4 465638 242.8 ns/op BenchmarkToValidUTF8/InvalidASCII-4 330961 352.6 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 102745 1174 ns/op BenchmarkIndexHard1-4 844 138549 ns/op BenchmarkIndexHard2-4 621 191996 ns/op BenchmarkIndexHard3-4 152 780892 ns/op BenchmarkIndexHard4-4 132 905726 ns/op BenchmarkLastIndexHard1-4 5 21056835 ns/op BenchmarkLastIndexHard2-4 4 26124845 ns/op BenchmarkLastIndexHard3-4 4 28436795 ns/op BenchmarkCountHard1-4 866 137824 ns/op BenchmarkCountHard2-4 622 192486 ns/op BenchmarkCountHard3-4 150 785350 ns/op BenchmarkSplitEmptySeparator-4 1 192848658 ns/op BenchmarkSplitSingleByteSeparator-4 8 12779895 ns/op BenchmarkSplitMultiByteSeparator-4 10 10362638 ns/op BenchmarkSplitNSingleByteSeparator-4 186085 598.9 ns/op BenchmarkSplitNMultiByteSeparator-4 66874 1679 ns/op BenchmarkRepeat-4 196772 603.5 ns/op BenchmarkRepeatLarge/256/1-4 155301 771.2 ns/op 331.96 MB/s BenchmarkRepeatLarge/256/16-4 225896 529.0 ns/op 483.96 MB/s BenchmarkRepeatLarge/512/1-4 102595 1042 ns/op 491.13 MB/s BenchmarkRepeatLarge/512/16-4 132192 775.1 ns/op 660.54 MB/s BenchmarkRepeatLarge/1024/1-4 61156 1729 ns/op 592.09 MB/s BenchmarkRepeatLarge/1024/16-4 91138 1300 ns/op 787.52 MB/s BenchmarkRepeatLarge/2048/1-4 40692 2634 ns/op 777.64 MB/s BenchmarkRepeatLarge/2048/16-4 50721 2331 ns/op 878.62 MB/s BenchmarkRepeatLarge/4096/1-4 25876 4489 ns/op 912.40 MB/s BenchmarkRepeatLarge/4096/16-4 27685 4191 ns/op 977.32 MB/s BenchmarkRepeatLarge/8192/1-4 13263 8391 ns/op 976.24 MB/s BenchmarkRepeatLarge/8192/16-4 14779 7569 ns/op 1082.33 MB/s BenchmarkRepeatLarge/8192/4097-4 30888 3693 ns/op 1109.40 MB/s BenchmarkRepeatLarge/16384/1-4 7528 14807 ns/op 1106.47 MB/s BenchmarkRepeatLarge/16384/16-4 9165 15447 ns/op 1060.68 MB/s BenchmarkRepeatLarge/16384/4097-4 10000 11572 ns/op 1062.09 MB/s BenchmarkRepeatLarge/32768/1-4 4305 27703 ns/op 1182.81 MB/s BenchmarkRepeatLarge/32768/16-4 3964 29219 ns/op 1121.45 MB/s BenchmarkRepeatLarge/32768/4097-4 4730 26607 ns/op 1077.86 MB/s BenchmarkRepeatLarge/65536/1-4 2086 54135 ns/op 1210.61 MB/s BenchmarkRepeatLarge/65536/16-4 2148 58500 ns/op 1120.27 MB/s BenchmarkRepeatLarge/65536/4097-4 2076 54375 ns/op 1130.21 MB/s BenchmarkRepeatLarge/131072/1-4 182 634559 ns/op 206.56 MB/s BenchmarkRepeatLarge/131072/16-4 184 642764 ns/op 203.92 MB/s BenchmarkRepeatLarge/131072/4097-4 189 620566 ns/op 204.66 MB/s BenchmarkRepeatLarge/262144/1-4 99 1254731 ns/op 208.92 MB/s BenchmarkRepeatLarge/262144/16-4 96 1241874 ns/op 211.09 MB/s BenchmarkRepeatLarge/262144/4097-4 96 1229836 ns/op 209.87 MB/s BenchmarkRepeatLarge/524288/1-4 44 2490942 ns/op 210.48 MB/s BenchmarkRepeatLarge/524288/16-4 48 2500547 ns/op 209.67 MB/s BenchmarkRepeatLarge/524288/4097-4 49 2442189 ns/op 213.05 MB/s BenchmarkRepeatLarge/1048576/1-4 24 4902593 ns/op 213.88 MB/s BenchmarkRepeatLarge/1048576/16-4 25 4983013 ns/op 210.43 MB/s BenchmarkRepeatLarge/1048576/4097-4 25 4997773 ns/op 209.04 MB/s BenchmarkRepeatLarge/2097152/1-4 13 8918140 ns/op 235.16 MB/s BenchmarkRepeatLarge/2097152/16-4 13 9028910 ns/op 232.27 MB/s BenchmarkRepeatLarge/2097152/4097-4 12 9131649 ns/op 229.26 MB/s BenchmarkRepeatLarge/4194304/1-4 6 18414943 ns/op 227.77 MB/s BenchmarkRepeatLarge/4194304/16-4 6 18063064 ns/op 232.20 MB/s BenchmarkRepeatLarge/4194304/4097-4 6 17551123 ns/op 238.80 MB/s BenchmarkRepeatLarge/8388608/1-4 3 36995622 ns/op 226.75 MB/s BenchmarkRepeatLarge/8388608/16-4 3 36944459 ns/op 227.06 MB/s BenchmarkRepeatLarge/8388608/4097-4 3 36996485 ns/op 226.69 MB/s BenchmarkRepeatLarge/16777216/1-4 2 72953450 ns/op 229.97 MB/s BenchmarkRepeatLarge/16777216/16-4 2 72119806 ns/op 232.63 MB/s BenchmarkRepeatLarge/16777216/4097-4 2 71182007 ns/op 235.69 MB/s BenchmarkRepeatLarge/33554432/1-4 1 145377019 ns/op 230.81 MB/s BenchmarkRepeatLarge/33554432/16-4 1 145137107 ns/op 231.19 MB/s BenchmarkRepeatLarge/33554432/4097-4 1 142369146 ns/op 235.69 MB/s BenchmarkRepeatLarge/67108864/1-4 1 281371568 ns/op 238.51 MB/s BenchmarkRepeatLarge/67108864/16-4 1 279965688 ns/op 239.70 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 283527192 ns/op 236.69 MB/s BenchmarkRepeatLarge/134217728/1-4 1 550895205 ns/op 243.64 MB/s BenchmarkRepeatLarge/134217728/16-4 1 558970845 ns/op 240.12 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 553894375 ns/op 242.32 MB/s BenchmarkRepeatLarge/268435456/1-4 1 1061081732 ns/op 252.98 MB/s BenchmarkRepeatLarge/268435456/16-4 1 1124293211 ns/op 238.76 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 1110893205 ns/op 241.64 MB/s BenchmarkRepeatLarge/536870912/1-4 1 2076721833 ns/op 258.52 MB/s BenchmarkRepeatLarge/536870912/16-4 1 2166116519 ns/op 247.85 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 2199352839 ns/op 244.10 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 4426135399 ns/op 242.59 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 4497247081 ns/op 238.76 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 4503102662 ns/op 238.44 MB/s BenchmarkBytesCompare/1-4 9952862 11.88 ns/op BenchmarkBytesCompare/2-4 10540394 11.00 ns/op BenchmarkBytesCompare/4-4 10579684 10.98 ns/op BenchmarkBytesCompare/8-4 10410954 11.09 ns/op BenchmarkBytesCompare/16-4 10946322 10.73 ns/op BenchmarkBytesCompare/32-4 9817291 12.57 ns/op BenchmarkBytesCompare/64-4 9729607 12.21 ns/op BenchmarkBytesCompare/128-4 8262805 14.31 ns/op BenchmarkBytesCompare/256-4 6776665 17.60 ns/op BenchmarkBytesCompare/512-4 5050347 23.22 ns/op BenchmarkBytesCompare/1024-4 3273654 35.98 ns/op BenchmarkBytesCompare/2048-4 1916887 61.90 ns/op BenchmarkIndexAnyASCII/1:1-4 2287126 52.08 ns/op BenchmarkIndexAnyASCII/1:2-4 2255150 53.73 ns/op BenchmarkIndexAnyASCII/1:4-4 2216212 53.37 ns/op BenchmarkIndexAnyASCII/1:8-4 2246937 52.64 ns/op BenchmarkIndexAnyASCII/1:16-4 2247816 53.93 ns/op BenchmarkIndexAnyASCII/1:32-4 2237569 54.11 ns/op BenchmarkIndexAnyASCII/1:64-4 2219007 53.18 ns/op BenchmarkIndexAnyASCII/16:1-4 2164516 56.46 ns/op BenchmarkIndexAnyASCII/16:2-4 447038 258.6 ns/op BenchmarkIndexAnyASCII/16:4-4 441601 255.0 ns/op BenchmarkIndexAnyASCII/16:8-4 411577 271.7 ns/op BenchmarkIndexAnyASCII/16:16-4 433387 272.5 ns/op BenchmarkIndexAnyASCII/16:32-4 366127 303.3 ns/op BenchmarkIndexAnyASCII/16:64-4 326748 355.2 ns/op BenchmarkIndexAnyASCII/256:1-4 1954436 61.01 ns/op BenchmarkIndexAnyASCII/256:2-4 35696 3294 ns/op BenchmarkIndexAnyASCII/256:4-4 36672 3237 ns/op BenchmarkIndexAnyASCII/256:8-4 35942 3250 ns/op BenchmarkIndexAnyASCII/256:16-4 35810 3298 ns/op BenchmarkIndexAnyASCII/256:32-4 35635 3317 ns/op BenchmarkIndexAnyASCII/256:64-4 35564 3440 ns/op BenchmarkIndexAnyUTF8/1:1-4 2237245 52.32 ns/op BenchmarkIndexAnyUTF8/1:2-4 2249815 53.45 ns/op BenchmarkIndexAnyUTF8/1:4-4 2268991 52.94 ns/op BenchmarkIndexAnyUTF8/1:8-4 2251794 53.36 ns/op BenchmarkIndexAnyUTF8/1:16-4 2277686 52.57 ns/op BenchmarkIndexAnyUTF8/1:32-4 2248971 53.87 ns/op BenchmarkIndexAnyUTF8/1:64-4 2201053 53.90 ns/op BenchmarkIndexAnyUTF8/16:1-4 158881 744.3 ns/op BenchmarkIndexAnyUTF8/16:2-4 289090 407.7 ns/op BenchmarkIndexAnyUTF8/16:4-4 285224 409.2 ns/op BenchmarkIndexAnyUTF8/16:8-4 291043 408.9 ns/op BenchmarkIndexAnyUTF8/16:16-4 286879 410.6 ns/op BenchmarkIndexAnyUTF8/16:32-4 274078 437.3 ns/op BenchmarkIndexAnyUTF8/16:64-4 270457 434.5 ns/op BenchmarkIndexAnyUTF8/256:1-4 10000 10884 ns/op BenchmarkIndexAnyUTF8/256:2-4 20548 5797 ns/op BenchmarkIndexAnyUTF8/256:4-4 20256 5902 ns/op BenchmarkIndexAnyUTF8/256:8-4 20452 5883 ns/op BenchmarkIndexAnyUTF8/256:16-4 20792 5842 ns/op BenchmarkIndexAnyUTF8/256:32-4 19023 6224 ns/op BenchmarkIndexAnyUTF8/256:64-4 19485 6097 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2264227 52.04 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2243389 53.64 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2204065 53.63 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2279217 53.00 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2338663 52.27 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2307469 52.02 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2258532 51.88 ns/op BenchmarkLastIndexAnyASCII/16:1-4 342958 341.2 ns/op BenchmarkLastIndexAnyASCII/16:2-4 345130 341.6 ns/op BenchmarkLastIndexAnyASCII/16:4-4 350854 336.6 ns/op BenchmarkLastIndexAnyASCII/16:8-4 340604 342.9 ns/op BenchmarkLastIndexAnyASCII/16:16-4 332127 361.3 ns/op BenchmarkLastIndexAnyASCII/16:32-4 310290 395.0 ns/op BenchmarkLastIndexAnyASCII/16:64-4 264918 445.7 ns/op BenchmarkLastIndexAnyASCII/256:1-4 26007 4586 ns/op BenchmarkLastIndexAnyASCII/256:2-4 26282 4499 ns/op BenchmarkLastIndexAnyASCII/256:4-4 26181 4599 ns/op BenchmarkLastIndexAnyASCII/256:8-4 26073 4601 ns/op BenchmarkLastIndexAnyASCII/256:16-4 26076 4496 ns/op BenchmarkLastIndexAnyASCII/256:32-4 26682 4562 ns/op BenchmarkLastIndexAnyASCII/256:64-4 25521 4678 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2266880 52.51 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2317501 51.72 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2267611 52.47 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2251448 52.86 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2294503 51.42 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2241331 52.65 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2278592 53.58 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 247911 458.0 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 270372 456.9 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 276790 456.8 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 262059 426.9 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 277836 424.6 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 271447 445.0 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 272364 435.5 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 18811 6388 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 18972 6499 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 20432 6513 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 19570 6371 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 19507 5802 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 19676 6084 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 19388 6300 ns/op BenchmarkTrimASCII/1:1-4 2630832 45.63 ns/op BenchmarkTrimASCII/1:2-4 2146026 57.67 ns/op BenchmarkTrimASCII/1:4-4 2073862 59.04 ns/op BenchmarkTrimASCII/1:8-4 1872078 62.54 ns/op BenchmarkTrimASCII/1:16-4 1674199 72.86 ns/op BenchmarkTrimASCII/16:1-4 468710 251.6 ns/op BenchmarkTrimASCII/16:2-4 356214 332.3 ns/op BenchmarkTrimASCII/16:4-4 356164 335.4 ns/op BenchmarkTrimASCII/16:8-4 338706 341.8 ns/op BenchmarkTrimASCII/16:16-4 335576 350.7 ns/op BenchmarkTrimASCII/256:1-4 37096 3241 ns/op BenchmarkTrimASCII/256:2-4 26264 4496 ns/op BenchmarkTrimASCII/256:4-4 26481 4536 ns/op BenchmarkTrimASCII/256:8-4 26499 4558 ns/op BenchmarkTrimASCII/256:16-4 26256 4608 ns/op BenchmarkTrimASCII/4096:1-4 2200 51477 ns/op BenchmarkTrimASCII/4096:2-4 1627 72134 ns/op BenchmarkTrimASCII/4096:4-4 1640 71245 ns/op BenchmarkTrimASCII/4096:8-4 1599 72732 ns/op BenchmarkTrimASCII/4096:16-4 1573 71783 ns/op BenchmarkTrimByte-4 1455446 84.02 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 13562 8812 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 13624 8830 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 652 179998 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 1257 90669 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 2445 45641 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 4345 24618 ns/op BenchmarkCompareBytesEqual-4 11370280 10.58 ns/op BenchmarkCompareBytesToNil-4 11760066 10.21 ns/op BenchmarkCompareBytesEmpty-4 12718640 9.408 ns/op BenchmarkCompareBytesIdentical-4 12636631 9.345 ns/op BenchmarkCompareBytesSameLength-4 10695507 11.32 ns/op BenchmarkCompareBytesDifferentLength-4 11394914 10.62 ns/op BenchmarkCompareBytesBigUnaligned/offset=1-4 1790 66865 ns/op 15682.25 MB/s BenchmarkCompareBytesBigUnaligned/offset=2-4 1785 66575 ns/op 15750.40 MB/s BenchmarkCompareBytesBigUnaligned/offset=3-4 1777 63987 ns/op 16387.36 MB/s BenchmarkCompareBytesBigUnaligned/offset=4-4 1852 66091 ns/op 15865.88 MB/s BenchmarkCompareBytesBigUnaligned/offset=5-4 1791 64514 ns/op 16253.60 MB/s BenchmarkCompareBytesBigUnaligned/offset=6-4 1842 64794 ns/op 16183.46 MB/s BenchmarkCompareBytesBigUnaligned/offset=7-4 1826 64466 ns/op 16265.82 MB/s BenchmarkCompareBytesBig-4 1856 65968 ns/op 15895.47 MB/s BenchmarkCompareBytesBigIdentical-4 13622770 8.735 ns/op 120042088.66 MB/s PASS ok bytes 74.107s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: compress/bzip2 cpu: AMD EPYC 7B12 BenchmarkDecodeDigits-4 2 57753832 ns/op 1.73 MB/s 3612008 B/op 50 allocs/op BenchmarkDecodeNewton-4 1 217837569 ns/op 2.60 MB/s 3629856 B/op 50 allocs/op BenchmarkDecodeRand-4 6 18375552 ns/op 0.89 MB/s 3643428 B/op 51 allocs/op PASS ok compress/bzip2 1.907s goos: linux goarch: amd64 pkg: compress/flate cpu: AMD EPYC 7B12 BenchmarkDecode/Digits/Huffman/1e4-4 90 1336747 ns/op 7.48 MB/s 42821 B/op 5 allocs/op BenchmarkDecode/Digits/Huffman/1e5-4 8 13048581 ns/op 7.66 MB/s 44701 B/op 6 allocs/op BenchmarkDecode/Digits/Huffman/1e6-4 1 131640984 ns/op 7.60 MB/s 49264 B/op 9 allocs/op BenchmarkDecode/Digits/Speed/1e4-4 85 1282853 ns/op 7.80 MB/s 42553 B/op 8 allocs/op BenchmarkDecode/Digits/Speed/1e5-4 8 13046992 ns/op 7.66 MB/s 43962 B/op 12 allocs/op BenchmarkDecode/Digits/Speed/1e6-4 1 138073864 ns/op 7.24 MB/s 53024 B/op 77 allocs/op BenchmarkDecode/Digits/Default/1e4-4 78 1292676 ns/op 7.74 MB/s 41733 B/op 7 allocs/op BenchmarkDecode/Digits/Default/1e5-4 9 12483567 ns/op 8.01 MB/s 42691 B/op 13 allocs/op BenchmarkDecode/Digits/Default/1e6-4 1 126677364 ns/op 7.89 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Digits/Compression/1e4-4 81 1282364 ns/op 7.80 MB/s 41791 B/op 7 allocs/op BenchmarkDecode/Digits/Compression/1e5-4 9 12751665 ns/op 7.84 MB/s 42691 B/op 13 allocs/op BenchmarkDecode/Digits/Compression/1e6-4 1 125296133 ns/op 7.98 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Newton/Huffman/1e4-4 75 1460752 ns/op 6.85 MB/s 44203 B/op 14 allocs/op BenchmarkDecode/Newton/Huffman/1e5-4 7 14306375 ns/op 6.99 MB/s 47429 B/op 23 allocs/op BenchmarkDecode/Newton/Huffman/1e6-4 1 144986033 ns/op 6.90 MB/s 88512 B/op 165 allocs/op BenchmarkDecode/Newton/Speed/1e4-4 100 1119643 ns/op 8.93 MB/s 43290 B/op 18 allocs/op BenchmarkDecode/Newton/Speed/1e5-4 12 9364709 ns/op 10.68 MB/s 47178 B/op 32 allocs/op BenchmarkDecode/Newton/Speed/1e6-4 2 94960576 ns/op 10.53 MB/s 85328 B/op 230 allocs/op BenchmarkDecode/Newton/Default/1e4-4 122 990843 ns/op 10.09 MB/s 42732 B/op 15 allocs/op BenchmarkDecode/Newton/Default/1e5-4 14 7481802 ns/op 13.37 MB/s 46438 B/op 33 allocs/op BenchmarkDecode/Newton/Default/1e6-4 2 74245141 ns/op 13.47 MB/s 70060 B/op 161 allocs/op BenchmarkDecode/Newton/Compression/1e4-4 120 999067 ns/op 10.01 MB/s 42554 B/op 15 allocs/op BenchmarkDecode/Newton/Compression/1e5-4 14 7527885 ns/op 13.28 MB/s 44677 B/op 32 allocs/op BenchmarkDecode/Newton/Compression/1e6-4 2 74601552 ns/op 13.40 MB/s 67752 B/op 152 allocs/op BenchmarkEncode/Digits/Huffman/1e4-4 140 862509 ns/op 11.59 MB/s BenchmarkEncode/Digits/Huffman/1e5-4 13 8204788 ns/op 12.19 MB/s BenchmarkEncode/Digits/Huffman/1e6-4 2 81920371 ns/op 12.21 MB/s BenchmarkEncode/Digits/Speed/1e4-4 67 1600437 ns/op 6.25 MB/s BenchmarkEncode/Digits/Speed/1e5-4 7 14378055 ns/op 6.96 MB/s BenchmarkEncode/Digits/Speed/1e6-4 1 142367243 ns/op 7.02 MB/s BenchmarkEncode/Digits/Default/1e4-4 21 4824248 ns/op 2.07 MB/s BenchmarkEncode/Digits/Default/1e5-4 2 52442168 ns/op 1.91 MB/s BenchmarkEncode/Digits/Default/1e6-4 1 575446193 ns/op 1.74 MB/s BenchmarkEncode/Digits/Compression/1e4-4 21 4824470 ns/op 2.07 MB/s BenchmarkEncode/Digits/Compression/1e5-4 2 55773772 ns/op 1.79 MB/s BenchmarkEncode/Digits/Compression/1e6-4 1 582280443 ns/op 1.72 MB/s BenchmarkEncode/Newton/Huffman/1e4-4 100 1032540 ns/op 9.68 MB/s BenchmarkEncode/Newton/Huffman/1e5-4 13 8831297 ns/op 11.32 MB/s BenchmarkEncode/Newton/Huffman/1e6-4 2 86673216 ns/op 11.54 MB/s BenchmarkEncode/Newton/Speed/1e4-4 76 1525072 ns/op 6.56 MB/s BenchmarkEncode/Newton/Speed/1e5-4 9 11423110 ns/op 8.75 MB/s BenchmarkEncode/Newton/Speed/1e6-4 1 112555765 ns/op 8.88 MB/s BenchmarkEncode/Newton/Default/1e4-4 25 4671588 ns/op 2.14 MB/s BenchmarkEncode/Newton/Default/1e5-4 2 50841077 ns/op 1.97 MB/s BenchmarkEncode/Newton/Default/1e6-4 1 535811194 ns/op 1.87 MB/s BenchmarkEncode/Newton/Compression/1e4-4 24 4788328 ns/op 2.09 MB/s BenchmarkEncode/Newton/Compression/1e5-4 2 63749882 ns/op 1.57 MB/s BenchmarkEncode/Newton/Compression/1e6-4 1 686615237 ns/op 1.46 MB/s PASS ok compress/flate 15.449s goos: linux goarch: amd64 pkg: compress/lzw cpu: AMD EPYC 7B12 BenchmarkDecoder/1e4-4 69 1758703 ns/op 5.69 MB/s BenchmarkDecoder/1e-Reuse4-4 58 1825633 ns/op 5.48 MB/s BenchmarkDecoder/1e5-4 6 17351331 ns/op 5.76 MB/s BenchmarkDecoder/1e-Reuse5-4 6 17628128 ns/op 5.67 MB/s BenchmarkDecoder/1e6-4 1 174589112 ns/op 5.73 MB/s BenchmarkDecoder/1e-Reuse6-4 1 175180321 ns/op 5.71 MB/s BenchmarkEncoder/1e4-4 79 1483610 ns/op 6.74 MB/s BenchmarkEncoder/1e-Reuse4-4 88 1349777 ns/op 7.41 MB/s BenchmarkEncoder/1e5-4 7 14457379 ns/op 6.92 MB/s BenchmarkEncoder/1e-Reuse5-4 7 14675818 ns/op 6.81 MB/s BenchmarkEncoder/1e6-4 1 145656883 ns/op 6.87 MB/s BenchmarkEncoder/1e-Reuse6-4 1 143021353 ns/op 6.99 MB/s PASS ok compress/lzw 3.085s goos: linux goarch: amd64 pkg: container/heap cpu: AMD EPYC 7B12 BenchmarkDup-4 32 3159143 ns/op PASS ok container/heap 1.115s goos: linux goarch: amd64 pkg: context cpu: AMD EPYC 7B12 BenchmarkCommonParentCancel-4 18076 7324 ns/op BenchmarkWithTimeout/concurrency=40-4 4382 27159 ns/op BenchmarkWithTimeout/concurrency=4000-4 5686 28292 ns/op BenchmarkWithTimeout/concurrency=400000-4 5937 17205 ns/op BenchmarkCancelTree/depth=1/Root=Background-4 505156 198.7 ns/op BenchmarkCancelTree/depth=1/Root=OpenCanceler-4 19545 6646 ns/op BenchmarkCancelTree/depth=1/Root=ClosedCanceler-4 21205 4793 ns/op BenchmarkCancelTree/depth=10/Root=Background-4 4118 27274 ns/op BenchmarkCancelTree/depth=10/Root=OpenCanceler-4 2622 44513 ns/op BenchmarkCancelTree/depth=10/Root=ClosedCanceler-4 3978 33617 ns/op BenchmarkCancelTree/depth=100/Root=Background-4 382 314877 ns/op BenchmarkCancelTree/depth=100/Root=OpenCanceler-4 267 422883 ns/op BenchmarkCancelTree/depth=100/Root=ClosedCanceler-4 379 283082 ns/op BenchmarkCancelTree/depth=1000/Root=Background-4 33 3201115 ns/op BenchmarkCancelTree/depth=1000/Root=OpenCanceler-4 28 4812143 ns/op BenchmarkCancelTree/depth=1000/Root=ClosedCanceler-4 43 2934930 ns/op BenchmarkCheckCanceled/Err-4 453697 282.5 ns/op BenchmarkCheckCanceled/Done-4 1000000 112.1 ns/op BenchmarkContextCancelDone-4 709332 176.3 ns/op BenchmarkDeepValueNewGoRoutine/depth=10-4 29486 4305 ns/op BenchmarkDeepValueNewGoRoutine/depth=20-4 23398 5223 ns/op BenchmarkDeepValueNewGoRoutine/depth=30-4 21096 5539 ns/op BenchmarkDeepValueNewGoRoutine/depth=50-4 15734 6577 ns/op BenchmarkDeepValueNewGoRoutine/depth=100-4 8653 11930 ns/op BenchmarkDeepValueSameGoRoutine/depth=10-4 699316 166.6 ns/op BenchmarkDeepValueSameGoRoutine/depth=20-4 366549 296.4 ns/op BenchmarkDeepValueSameGoRoutine/depth=30-4 271120 450.2 ns/op BenchmarkDeepValueSameGoRoutine/depth=50-4 173767 685.5 ns/op BenchmarkDeepValueSameGoRoutine/depth=100-4 87463 1333 ns/op PASS ok context 9.640s goos: linux goarch: amd64 pkg: crypto/aes cpu: AMD EPYC 7B12 BenchmarkEncrypt-4 2679721 49.25 ns/op 324.89 MB/s BenchmarkDecrypt-4 2520962 46.50 ns/op 344.06 MB/s BenchmarkExpand-4 2211361 58.19 ns/op PASS ok crypto/aes 1.545s goos: linux goarch: amd64 pkg: crypto/cipher cpu: AMD EPYC 7B12 BenchmarkAESGCM/Open-128-64-4 266389 432.6 ns/op 147.95 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-64-4 559280 202.1 ns/op 316.74 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-64-4 254226 460.2 ns/op 139.06 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-64-4 554425 219.7 ns/op 291.29 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-1350-4 156192 762.2 ns/op 1771.15 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-1350-4 228676 520.5 ns/op 2593.86 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-1350-4 147100 806.9 ns/op 1673.02 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-1350-4 210062 571.7 ns/op 2361.29 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-8192-4 55213 2161 ns/op 3791.27 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-8192-4 60710 1983 ns/op 4130.93 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-8192-4 49622 2406 ns/op 3405.47 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-8192-4 54655 2205 ns/op 3715.32 MB/s 0 B/op 0 allocs/op BenchmarkAESCFBEncrypt1K-4 10174 11353 ns/op 89.75 MB/s BenchmarkAESCFBDecrypt1K-4 10740 11388 ns/op 89.48 MB/s BenchmarkAESCFBDecrypt8K-4 1300 88799 ns/op 92.20 MB/s BenchmarkAESOFB1K-4 15264 8398 ns/op 121.34 MB/s BenchmarkAESCTR1K-4 19568 6759 ns/op 150.76 MB/s BenchmarkAESCTR8K-4 2184 53531 ns/op 152.94 MB/s BenchmarkAESCBCEncrypt1K-4 19360 6450 ns/op 158.75 MB/s BenchmarkAESCBCDecrypt1K-4 25774 4645 ns/op 220.47 MB/s PASS ok crypto/cipher 4.039s goos: linux goarch: amd64 pkg: crypto/des cpu: AMD EPYC 7B12 BenchmarkEncrypt-4 102091 1228 ns/op 6.52 MB/s BenchmarkDecrypt-4 100329 1202 ns/op 6.66 MB/s BenchmarkTDESEncrypt-4 40885 3314 ns/op 2.41 MB/s BenchmarkTDESDecrypt-4 41558 3237 ns/op 2.47 MB/s PASS ok crypto/des 1.620s goos: linux goarch: amd64 pkg: crypto/ecdh cpu: AMD EPYC 7B12 BenchmarkECDH/P256-4 1264 89717 ns/op 759 B/op 12 allocs/op BenchmarkECDH/P384-4 21 5408563 ns/op 1090 B/op 21 allocs/op BenchmarkECDH/P521-4 7 14611998 ns/op 1534 B/op 21 allocs/op BenchmarkECDH/X25519-4 132 960240 ns/op 375 B/op 9 allocs/op PASS ok crypto/ecdh 1.660s goos: linux goarch: amd64 pkg: crypto/ecdsa cpu: AMD EPYC 7B12 BenchmarkSign/P256-4 2407 47076 ns/op 2512 B/op 33 allocs/op BenchmarkSign/P384-4 45 2510353 ns/op 2680 B/op 34 allocs/op BenchmarkSign/P521-4 19 6160750 ns/op 3064 B/op 35 allocs/op BenchmarkVerify/P256-4 1262 94243 ns/op 432 B/op 8 allocs/op BenchmarkVerify/P384-4 18 6260009 ns/op 592 B/op 12 allocs/op BenchmarkVerify/P521-4 7 16727789 ns/op 912 B/op 12 allocs/op BenchmarkGenerateKey/P256-4 5530 20179 ns/op 895 B/op 14 allocs/op BenchmarkGenerateKey/P384-4 80 1419126 ns/op 1094 B/op 17 allocs/op BenchmarkGenerateKey/P521-4 32 3605194 ns/op 1415 B/op 17 allocs/op PASS ok crypto/ecdsa 2.405s goos: linux goarch: amd64 pkg: crypto/ed25519 cpu: AMD EPYC 7B12 BenchmarkKeyGeneration-4 438 265258 ns/op BenchmarkNewKeyFromSeed-4 465 269133 ns/op BenchmarkSigning-4 444 277500 ns/op BenchmarkVerification-4 283 421421 ns/op PASS ok crypto/ed25519 1.619s goos: linux goarch: amd64 pkg: crypto/elliptic cpu: AMD EPYC 7B12 BenchmarkScalarBaseMult/P256-4 6279 16976 ns/op 368 B/op 6 allocs/op BenchmarkScalarBaseMult/P224-4 216 549713 ns/op 376 B/op 9 allocs/op BenchmarkScalarBaseMult/P384-4 80 1463800 ns/op 504 B/op 9 allocs/op BenchmarkScalarBaseMult/P521-4 31 3712100 ns/op 696 B/op 9 allocs/op BenchmarkScalarMult/P256-4 1798 65251 ns/op 448 B/op 7 allocs/op BenchmarkScalarMult/P224-4 76 1390897 ns/op 440 B/op 10 allocs/op BenchmarkScalarMult/P384-4 31 4187802 ns/op 616 B/op 10 allocs/op BenchmarkScalarMult/P521-4 9 11128846 ns/op 840 B/op 10 allocs/op BenchmarkMarshalUnmarshal/P256/Uncompressed-4 18745 6346 ns/op 544 B/op 8 allocs/op BenchmarkMarshalUnmarshal/P256/Compressed-4 7882 14203 ns/op 592 B/op 9 allocs/op BenchmarkMarshalUnmarshal/P224/Uncompressed-4 5528 20256 ns/op 560 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P224/Compressed-4 128 932623 ns/op 592 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P384/Uncompressed-4 3693 31022 ns/op 784 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P384/Compressed-4 438 281289 ns/op 848 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P521/Uncompressed-4 2307 51209 ns/op 1104 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P521/Compressed-4 132 894635 ns/op 1184 B/op 15 allocs/op PASS ok crypto/elliptic 3.396s goos: linux goarch: amd64 pkg: crypto/hmac cpu: AMD EPYC 7B12 BenchmarkHMACSHA256_1K-4 32979 3608 ns/op 283.80 MB/s BenchmarkHMACSHA256_32-4 38650 3104 ns/op 10.31 MB/s BenchmarkNewWriteSum-4 20029 5829 ns/op 5.49 MB/s PASS ok crypto/hmac 1.511s goos: linux goarch: amd64 pkg: crypto/internal/bigmod cpu: AMD EPYC 7B12 BenchmarkModAdd-4 69252 1719 ns/op BenchmarkModSub-4 70060 1815 ns/op BenchmarkMontgomeryRepr-4 37923 3168 ns/op BenchmarkMontgomeryMul-4 37772 3300 ns/op BenchmarkModMul-4 17974 6749 ns/op BenchmarkExpBig-4 20 5260557 ns/op BenchmarkExp-4 8 13232647 ns/op PASS ok crypto/internal/bigmod 2.087s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519 cpu: AMD EPYC 7B12 BenchmarkEncodingDecoding-4 4406 24018 ns/op BenchmarkScalarBaseMult-4 474 246812 ns/op BenchmarkScalarMult-4 212 556565 ns/op BenchmarkVarTimeDoubleScalarBaseMult-4 306 401182 ns/op PASS ok crypto/internal/edwards25519 1.595s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519/field cpu: AMD EPYC 7B12 BenchmarkAdd-4 594147 172.8 ns/op BenchmarkMultiply-4 5886078 20.28 ns/op BenchmarkSquare-4 7819968 15.08 ns/op BenchmarkInvert-4 28542 4209 ns/op BenchmarkMult32-4 1781185 67.61 ns/op PASS ok crypto/internal/edwards25519/field 1.759s goos: linux goarch: amd64 pkg: crypto/internal/nistec cpu: AMD EPYC 7B12 BenchmarkScalarMult/P224-4 80 1344901 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P256-4 2126 56124 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P384-4 31 3663180 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P521-4 10 11404542 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P224-4 226 493585 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P256-4 9918 11129 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P384-4 90 1352178 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P521-4 33 3182312 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec 2.041s goos: linux goarch: amd64 pkg: crypto/internal/nistec/fiat cpu: AMD EPYC 7B12 BenchmarkMul/P224-4 664856 157.9 ns/op 0 B/op 0 allocs/op BenchmarkMul/P384-4 350236 324.1 ns/op 0 B/op 0 allocs/op BenchmarkMul/P521-4 141712 839.5 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P224-4 746904 158.6 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P384-4 384652 308.2 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P521-4 140834 823.4 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec/fiat 1.743s goos: linux goarch: amd64 pkg: crypto/md5 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes-4 165022 714.9 ns/op 11.19 MB/s BenchmarkHash64-4 180466 651.9 ns/op 98.17 MB/s BenchmarkHash128-4 161476 735.4 ns/op 174.05 MB/s BenchmarkHash256-4 128368 927.8 ns/op 275.91 MB/s BenchmarkHash512-4 91441 1328 ns/op 385.55 MB/s BenchmarkHash1K-4 57410 2067 ns/op 495.39 MB/s BenchmarkHash8K-4 9374 12731 ns/op 643.46 MB/s BenchmarkHash1M-4 72 1559487 ns/op 672.39 MB/s BenchmarkHash8M-4 9 12544744 ns/op 668.70 MB/s BenchmarkHash8BytesUnaligned-4 164078 715.9 ns/op 11.18 MB/s BenchmarkHash1KUnaligned-4 57828 2069 ns/op 494.93 MB/s BenchmarkHash8KUnaligned-4 9266 12765 ns/op 641.75 MB/s PASS ok crypto/md5 2.562s goos: linux goarch: amd64 pkg: crypto/rand cpu: AMD EPYC 7B12 BenchmarkPrime-4 1 282862043 ns/op PASS ok crypto/rand 1.296s goos: linux goarch: amd64 pkg: crypto/rc4 cpu: AMD EPYC 7B12 BenchmarkRC4_128-4 18116 6656 ns/op 19.23 MB/s BenchmarkRC4_1K-4 2202 52414 ns/op 19.54 MB/s BenchmarkRC4_8K-4 286 413201 ns/op 19.59 MB/s PASS ok crypto/rc4 1.483s goos: linux goarch: amd64 pkg: crypto/rsa cpu: AMD EPYC 7B12 BenchmarkDecryptPKCS1v15/2048-4 14 7837820 ns/op BenchmarkDecryptPKCS1v15/3072-4 6 17596328 ns/op BenchmarkDecryptPKCS1v15/4096-4 4 32494151 ns/op BenchmarkEncryptPKCS1v15/2048-4 46 2459938 ns/op BenchmarkDecryptOAEP/2048-4 14 7860844 ns/op BenchmarkEncryptOAEP/2048-4 48 2532904 ns/op BenchmarkSignPKCS1v15/2048-4 14 8384540 ns/op BenchmarkVerifyPKCS1v15/2048-4 50 2312974 ns/op BenchmarkSignPSS/2048-4 14 7895959 ns/op BenchmarkVerifyPSS/2048-4 50 2328914 ns/op PASS ok crypto/rsa 2.595s goos: linux goarch: amd64 pkg: crypto/sha1 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes/New-4 144499 812.5 ns/op 9.85 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum-4 178594 664.2 ns/op 12.04 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/New-4 102724 1163 ns/op 275.21 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/Sum-4 118290 1002 ns/op 319.38 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 69110 1730 ns/op 592.03 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum-4 75831 1589 ns/op 644.62 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 14863 8039 ns/op 1019.02 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum-4 15175 7893 ns/op 1037.89 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha1 2.215s goos: linux goarch: amd64 pkg: crypto/sha256 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes/New-4 135079 878.7 ns/op 9.10 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum224-4 157993 759.1 ns/op 10.54 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 149781 793.4 ns/op 10.08 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 85544 1347 ns/op 760.19 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum224-4 96187 1237 ns/op 827.89 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 92935 1289 ns/op 794.36 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 20253 5921 ns/op 1383.66 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum224-4 20710 5810 ns/op 1409.95 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 20443 5855 ns/op 1399.20 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha256 2.344s goos: linux goarch: amd64 pkg: crypto/sha512 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes/New-4 83673 1414 ns/op 5.66 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum384-4 100971 1113 ns/op 7.19 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum512-4 91010 1289 ns/op 6.21 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 43294 2721 ns/op 376.40 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum384-4 48907 2435 ns/op 420.52 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum512-4 46058 2597 ns/op 394.31 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 8667 13400 ns/op 611.36 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum384-4 9109 12986 ns/op 630.84 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum512-4 8887 13145 ns/op 623.21 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha512 2.277s goos: linux goarch: amd64 pkg: crypto/subtle cpu: AMD EPYC 7B12 BenchmarkConstantTimeByteEq-4 22063040 5.934 ns/op BenchmarkConstantTimeEq-4 20712045 5.030 ns/op BenchmarkConstantTimeLessOrEq-4 22596618 5.765 ns/op BenchmarkXORBytes/8Bytes-4 5679642 20.63 ns/op 387.86 MB/s BenchmarkXORBytes/128Bytes-4 5276302 22.67 ns/op 5646.39 MB/s BenchmarkXORBytes/2048Bytes-4 1772154 66.89 ns/op 30619.59 MB/s BenchmarkXORBytes/32768Bytes-4 113076 1016 ns/op 32245.47 MB/s PASS ok crypto/subtle 2.001s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: crypto/tls cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCertCache/0-4 100 1043383 ns/op BenchmarkCertCache/1-4 157 804190 ns/op BenchmarkCertCache/2-4 168 807562 ns/op BenchmarkCertCache/3-4 133 833660 ns/op BenchmarkHandshakeServer/RSA-4 15 7294595 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv13-4 14 7964852 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv12-4 15 7492739 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv13-4 87 1198454 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv12-4 148 804132 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv13-4 44 2350375 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv12-4 58 2072672 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv13-4 4 32638072 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12-4 3 33810658 ns/op BenchmarkThroughput/MaxPacket/1MB/TLSv12-4 4 25976124 ns/op 40.37 MB/s BenchmarkThroughput/MaxPacket/1MB/TLSv13-4 4 32755848 ns/op 32.01 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv12-4 3 41611821 ns/op 50.40 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv13-4 2 55182432 ns/op 38.00 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv12-4 2 63382556 ns/op 66.17 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv13-4 2 81265520 ns/op 51.61 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv12-4 1 116298836 ns/op 72.13 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv13-4 1 156604992 ns/op 53.57 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv12-4 1 220054399 ns/op 76.24 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv13-4 1 256022944 ns/op 65.53 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv12-4 1 440972617 ns/op 76.09 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv13-4 1 549887831 ns/op 61.02 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv12-4 1 857748896 ns/op 78.24 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv13-4 1 1059393005 ns/op 63.35 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv12-4 4 26984134 ns/op 38.86 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv13-4 4 28610465 ns/op 36.65 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv12-4 3 40607680 ns/op 51.64 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv13-4 2 50507196 ns/op 41.52 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv12-4 2 69343511 ns/op 60.49 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv13-4 2 85988860 ns/op 48.78 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv12-4 1 112372504 ns/op 74.65 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv13-4 1 130980671 ns/op 64.04 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv12-4 1 192909555 ns/op 86.97 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv13-4 1 277464605 ns/op 60.47 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv12-4 1 468385369 ns/op 71.64 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv13-4 1 624109748 ns/op 53.76 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv12-4 1 887973933 ns/op 75.58 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv13-4 1 1158072985 ns/op 57.95 MB/s BenchmarkLatency/MaxPacket/200kbps/TLSv12-4 1 707156412 ns/op BenchmarkLatency/MaxPacket/200kbps/TLSv13-4 1 709219518 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv12-4 1 291785496 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv13-4 1 291849466 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv12-4 1 153267440 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv13-4 1 153287629 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv12-4 2 84507330 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv13-4 2 83340778 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv12-4 3 42654902 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv13-4 3 42245827 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv12-4 1 146508957 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv13-4 1 148858756 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv12-4 2 67172786 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv13-4 2 67424896 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv12-4 3 40878027 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv13-4 3 40706108 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv12-4 4 28189295 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv13-4 4 27993836 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv12-4 5 20995599 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv13-4 6 20017483 ns/op PASS ok crypto/tls 19.289s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: crypto/x509 cpu: AMD EPYC 7B12 BenchmarkCreateCertificate/RSA_2048-4 9 11477856 ns/op BenchmarkCreateCertificate/ECDSA_P256-4 486 243431 ns/op BenchmarkParseCertificate/ecdsa_leaf-4 1695 72155 ns/op 12099 B/op 164 allocs/op BenchmarkParseCertificate/rsa_leaf-4 1533 79679 ns/op 13507 B/op 187 allocs/op PASS ok crypto/x509 1.765s goos: linux goarch: amd64 pkg: database/sql cpu: AMD EPYC 7B12 BenchmarkConcurrentDBExec-4 48 2393288 ns/op 279160 B/op 1634 allocs/op BenchmarkConcurrentStmtQuery-4 51 2792676 ns/op 262347 B/op 2018 allocs/op BenchmarkConcurrentStmtExec-4 60 1800339 ns/op 214938 B/op 637 allocs/op BenchmarkConcurrentTxQuery-4 49 2426196 ns/op 277328 B/op 2150 allocs/op BenchmarkConcurrentTxExec-4 78 1463066 ns/op 87840 B/op 1555 allocs/op BenchmarkConcurrentTxStmtQuery-4 46 2459205 ns/op 105209 B/op 2110 allocs/op BenchmarkConcurrentTxStmtExec-4 150 836439 ns/op 40117 B/op 381 allocs/op BenchmarkConcurrentRandom-4 52 2227309 ns/op 233894 B/op 1829 allocs/op BenchmarkManyConcurrentQueries-4 3169 34584 ns/op 3977 B/op 20 allocs/op BenchmarkGrabConn-4 306777 391.6 ns/op 0 B/op 0 allocs/op PASS ok database/sql 2.715s goos: linux goarch: amd64 pkg: debug/gosym cpu: AMD EPYC 7B12 Benchmark115/NewLineTable-4 390080 309.6 ns/op 384 B/op 3 allocs/op Benchmark115/NewTable-4 129 932140 ns/op 188233 B/op 13 allocs/op Benchmark115/LineToPC-4 100 1091854 ns/op 0 B/op 0 allocs/op Benchmark115/PCToLine-4 26397 4869 ns/op 0 B/op 0 allocs/op PASS ok debug/gosym 1.740s goos: linux goarch: amd64 pkg: encoding/asn1 cpu: AMD EPYC 7B12 BenchmarkObjectIdentifierString-4 88155 1397 ns/op BenchmarkMarshal-4 1062 107263 ns/op 9528 B/op 363 allocs/op BenchmarkUnmarshal-4 3765 30837 ns/op 784 B/op 43 allocs/op PASS ok encoding/asn1 1.402s goos: linux goarch: amd64 pkg: encoding/base32 cpu: AMD EPYC 7B12 BenchmarkEncode-4 375 286382 ns/op 28.61 MB/s BenchmarkEncodeToString-4 372 317573 ns/op 25.80 MB/s BenchmarkDecode-4 217 591130 ns/op 22.18 MB/s BenchmarkDecodeString-4 217 549594 ns/op 23.86 MB/s PASS ok encoding/base32 1.667s goos: linux goarch: amd64 pkg: encoding/base64 cpu: AMD EPYC 7B12 BenchmarkEncodeToString-4 493 228456 ns/op 35.86 MB/s BenchmarkDecodeString/2-4 453883 246.1 ns/op 16.25 MB/s BenchmarkDecodeString/4-4 357609 341.1 ns/op 23.45 MB/s BenchmarkDecodeString/8-4 289516 420.5 ns/op 28.54 MB/s BenchmarkDecodeString/64-4 53480 2220 ns/op 39.65 MB/s BenchmarkDecodeString/8192-4 483 249064 ns/op 43.86 MB/s BenchmarkNewEncoding-4 118701 952.6 ns/op 268.75 MB/s PASS ok encoding/base64 1.955s goos: linux goarch: amd64 pkg: encoding/binary cpu: AMD EPYC 7B12 BenchmarkReadSlice1000Int32s-4 2012 58397 ns/op 68.50 MB/s BenchmarkReadStruct-4 23920 5094 ns/op 14.72 MB/s BenchmarkWriteStruct-4 22581 5278 ns/op 14.21 MB/s BenchmarkReadInts-4 74208 1651 ns/op 18.17 MB/s BenchmarkWriteInts-4 68684 1792 ns/op 16.74 MB/s BenchmarkWriteSlice1000Int32s-4 1761 62361 ns/op 64.14 MB/s BenchmarkPutUint16-4 4518901 26.24 ns/op 76.22 MB/s BenchmarkAppendUint16-4 4362199 27.16 ns/op 73.64 MB/s BenchmarkPutUint32-4 3181712 38.11 ns/op 104.95 MB/s BenchmarkAppendUint32-4 3273900 36.13 ns/op 110.72 MB/s BenchmarkPutUint64-4 1574142 75.77 ns/op 105.58 MB/s BenchmarkAppendUint64-4 1508181 76.83 ns/op 104.12 MB/s BenchmarkLittleEndianPutUint16-4 4527505 26.49 ns/op 75.49 MB/s BenchmarkLittleEndianAppendUint16-4 4420413 27.77 ns/op 72.03 MB/s BenchmarkLittleEndianPutUint32-4 3198253 37.90 ns/op 105.55 MB/s BenchmarkLittleEndianAppendUint32-4 3115446 38.28 ns/op 104.51 MB/s BenchmarkLittleEndianPutUint64-4 1572121 75.57 ns/op 105.86 MB/s BenchmarkLittleEndianAppendUint64-4 1557633 76.28 ns/op 104.88 MB/s BenchmarkReadFloats-4 234267 493.3 ns/op 24.33 MB/s BenchmarkWriteFloats-4 235039 521.6 ns/op 23.01 MB/s BenchmarkReadSlice1000Float32s-4 1510 68260 ns/op 58.60 MB/s BenchmarkWriteSlice1000Float32s-4 1605 69097 ns/op 57.89 MB/s BenchmarkReadSlice1000Uint8s-4 113084 956.8 ns/op 1045.17 MB/s BenchmarkWriteSlice1000Uint8s-4 159482 724.9 ns/op 1379.52 MB/s BenchmarkPutUvarint32-4 1035758 105.0 ns/op 38.09 MB/s BenchmarkPutUvarint64-4 274501 404.1 ns/op 19.80 MB/s PASS ok encoding/binary 4.994s goos: linux goarch: amd64 pkg: encoding/csv cpu: AMD EPYC 7B12 BenchmarkRead-4 8749 11840 ns/op 736 B/op 16 allocs/op BenchmarkReadWithFieldsPerRecord-4 10053 11750 ns/op 736 B/op 16 allocs/op BenchmarkReadWithoutFieldsPerRecord-4 10000 11807 ns/op 736 B/op 16 allocs/op BenchmarkReadLargeFields-4 6157 19541 ns/op 3937 B/op 24 allocs/op BenchmarkReadReuseRecord-4 11071 10832 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithFieldsPerRecord-4 11203 10698 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithoutFieldsPerRecord-4 9880 10741 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordLargeFields-4 6055 18125 ns/op 2977 B/op 12 allocs/op BenchmarkWrite-4 19627 6487 ns/op PASS ok encoding/csv 2.525s goos: linux goarch: amd64 pkg: encoding/gob cpu: AMD EPYC 7B12 BenchmarkEndToEndPipe-4 15674 7652 ns/op 1812 B/op 2 allocs/op BenchmarkEndToEndByteBuffer-4 21988 5253 ns/op 1810 B/op 2 allocs/op BenchmarkEndToEndSliceByteBuffer-4 327 385690 ns/op 16568 B/op 329 allocs/op BenchmarkEncodeComplex128Slice-4 1095 107424 ns/op 448 B/op 0 allocs/op BenchmarkEncodeFloat64Slice-4 1779 56499 ns/op 49 B/op 0 allocs/op BenchmarkEncodeInt32Slice-4 1996 58524 ns/op 44 B/op 0 allocs/op BenchmarkEncodeStringSlice-4 2808 40803 ns/op 137 B/op 0 allocs/op BenchmarkEncodeInterfaceSlice-4 69 1821386 ns/op 33675 B/op 250 allocs/op BenchmarkDecodeComplex128Slice-4 870 141278 ns/op 25196 B/op 169 allocs/op BenchmarkDecodeFloat64Slice-4 1527 70782 ns/op 10790 B/op 169 allocs/op BenchmarkDecodeInt32Slice-4 1872 70370 ns/op 9754 B/op 169 allocs/op BenchmarkDecodeStringSlice-4 1162 98688 ns/op 39114 B/op 1169 allocs/op BenchmarkDecodeStringsSlice-4 412 295947 ns/op 66069 B/op 2196 allocs/op BenchmarkDecodeBytesSlice-4 846 132015 ns/op 23517 B/op 183 allocs/op BenchmarkDecodeInterfaceSlice-4 135 872891 ns/op 82830 B/op 3178 allocs/op BenchmarkDecodeMap-4 100 1115010 ns/op 54132 B/op 181 allocs/op PASS ok encoding/gob 3.596s goos: linux goarch: amd64 pkg: encoding/hex cpu: AMD EPYC 7B12 BenchmarkEncode/256-4 21097 5640 ns/op 45.39 MB/s BenchmarkEncode/1024-4 4869 23818 ns/op 42.99 MB/s BenchmarkEncode/4096-4 1269 95326 ns/op 42.97 MB/s BenchmarkEncode/16384-4 322 385919 ns/op 42.45 MB/s BenchmarkDecode/256-4 41323 2947 ns/op 86.87 MB/s BenchmarkDecode/1024-4 10183 11553 ns/op 88.64 MB/s BenchmarkDecode/4096-4 2422 48956 ns/op 83.67 MB/s BenchmarkDecode/16384-4 639 191352 ns/op 85.62 MB/s BenchmarkDump/256-4 1840 64203 ns/op 3.99 MB/s BenchmarkDump/1024-4 480 248268 ns/op 4.12 MB/s BenchmarkDump/4096-4 120 987283 ns/op 4.15 MB/s BenchmarkDump/16384-4 28 4075321 ns/op 4.02 MB/s PASS ok encoding/hex 2.866s goos: linux goarch: amd64 pkg: encoding/json cpu: AMD EPYC 7B12 BenchmarkCodeEncoder-4 2 64914860 ns/op 29.89 MB/s 4195844 B/op 30 allocs/op BenchmarkCodeEncoderError-4 2 65789645 ns/op 29.50 MB/s 4196540 B/op 39 allocs/op BenchmarkCodeMarshal-4 2 70696490 ns/op 27.45 MB/s 6136544 B/op 28 allocs/op BenchmarkCodeMarshalError-4 2 89339674 ns/op 21.72 MB/s 10397756 B/op 70 allocs/op BenchmarkMarshalBytes/32-4 30555 3982 ns/op BenchmarkMarshalBytes/256-4 8032 14609 ns/op BenchmarkMarshalBytes/4096-4 696 169828 ns/op BenchmarkMarshalBytesError/32-4 82 1418745 ns/op BenchmarkMarshalBytesError/256-4 82 1422506 ns/op BenchmarkMarshalBytesError/4096-4 72 1581035 ns/op BenchmarkCodeDecoder-4 1 313829947 ns/op 6.18 MB/s 11015840 B/op 91355 allocs/op BenchmarkUnicodeDecoder-4 49737 2404 ns/op 5.82 MB/s 40 B/op 2 allocs/op BenchmarkDecoderStream-4 55885 1861 ns/op 16 B/op 1 allocs/op BenchmarkCodeUnmarshal-4 1 269827620 ns/op 7.19 MB/s 2938152 B/op 91324 allocs/op BenchmarkCodeUnmarshalReuse-4 1 272311021 ns/op 7.13 MB/s 2938224 B/op 91327 allocs/op BenchmarkUnmarshalString-4 75142 1637 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalFloat64-4 147090 822.2 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalInt64-4 419134 307.3 ns/op 144 B/op 1 allocs/op BenchmarkIssue10335-4 80574 1548 ns/op 176 B/op 3 allocs/op BenchmarkIssue34127-4 100260 1333 ns/op 84 B/op 2 allocs/op BenchmarkUnmapped-4 23131 5645 ns/op 208 B/op 4 allocs/op BenchmarkTypeFieldsCache/MissTypes1-4 5358 24153 ns/op BenchmarkTypeFieldsCache/MissTypes10-4 986 115554 ns/op BenchmarkTypeFieldsCache/MissTypes100-4 133 883729 ns/op BenchmarkTypeFieldsCache/MissTypes1000-4 12 9501371 ns/op BenchmarkTypeFieldsCache/HitTypes1-4 557882 185.3 ns/op BenchmarkTypeFieldsCache/HitTypes10-4 652378 168.4 ns/op BenchmarkTypeFieldsCache/HitTypes100-4 573824 177.7 ns/op BenchmarkTypeFieldsCache/HitTypes1000-4 682635 173.2 ns/op BenchmarkEncodeMarshaler-4 75822 1619 ns/op 75 B/op 1 allocs/op BenchmarkEncoderEncode-4 70770 1458 ns/op 44 B/op 0 allocs/op BenchmarkNumberIsValid-4 6116510 19.64 ns/op BenchmarkNumberIsValidRegexp-4 27321 4185 ns/op PASS ok encoding/json 7.605s goos: linux goarch: amd64 pkg: encoding/pem cpu: AMD EPYC 7B12 BenchmarkEncode-4 69 1658818 ns/op 39.51 MB/s BenchmarkDecode-4 36 3328943 ns/op 26.67 MB/s PASS ok encoding/pem 1.348s goos: linux goarch: amd64 pkg: encoding/xml cpu: AMD EPYC 7B12 BenchmarkMarshal-4 3949 31458 ns/op 6280 B/op 24 allocs/op BenchmarkUnmarshal-4 1322 91436 ns/op 8216 B/op 185 allocs/op BenchmarkHTMLAutoClose-4 5796 19168 ns/op PASS ok encoding/xml 1.578s goos: linux goarch: amd64 pkg: expvar cpu: AMD EPYC 7B12 BenchmarkIntAdd-4 754018 213.2 ns/op BenchmarkIntSet-4 389890 297.9 ns/op BenchmarkFloatAdd-4 60568 1692 ns/op BenchmarkFloatSet-4 254604 481.8 ns/op BenchmarkStringSet-4 248725 441.3 ns/op BenchmarkMapSet-4 48246 2309 ns/op BenchmarkMapSetDifferent-4 63027 1958 ns/op BenchmarkMapSetDifferentRandom-4 376 303573 ns/op BenchmarkMapSetString-4 56160 2132 ns/op BenchmarkMapAddSame-4 33200 3104 ns/op BenchmarkMapAddDifferent-4 16782 7532 ns/op BenchmarkMapAddDifferentRandom-4 312 390339 ns/op BenchmarkMapAddSameSteadyState-4 327583 483.8 ns/op BenchmarkMapAddDifferentSteadyState-4 130819 837.7 ns/op BenchmarkRealworldExpvarUsage-4 21200 5014 ns/op PASS ok expvar 3.323s goos: linux goarch: amd64 pkg: fmt cpu: AMD EPYC 7B12 BenchmarkSprintfPadding-4 132601 893.5 ns/op BenchmarkSprintfEmpty-4 504230 232.4 ns/op BenchmarkSprintfString-4 354001 312.1 ns/op BenchmarkSprintfTruncateString-4 315313 350.0 ns/op BenchmarkSprintfTruncateBytes-4 136754 757.6 ns/op BenchmarkSprintfSlowParsingPath-4 334928 359.5 ns/op BenchmarkSprintfQuoteString-4 41284 2971 ns/op BenchmarkSprintfInt-4 337994 345.9 ns/op BenchmarkSprintfIntInt-4 266149 475.9 ns/op BenchmarkSprintfPrefixedInt-4 251101 419.7 ns/op BenchmarkSprintfFloat-4 143910 712.2 ns/op BenchmarkSprintfComplex-4 79812 1563 ns/op BenchmarkSprintfBoolean-4 347956 368.1 ns/op BenchmarkSprintfHexString-4 180948 672.3 ns/op BenchmarkSprintfHexBytes-4 75102 1588 ns/op BenchmarkSprintfBytes-4 45030 2300 ns/op BenchmarkSprintfStringer-4 82645 1272 ns/op BenchmarkSprintfStructure-4 47359 2619 ns/op BenchmarkManyArgs-4 96021 1223 ns/op BenchmarkFprintInt-4 99663 1237 ns/op BenchmarkFprintfBytes-4 114034 1110 ns/op BenchmarkFprintIntNoAlloc-4 102540 1201 ns/op BenchmarkScanInts-4 54 2256815 ns/op BenchmarkScanRecursiveInt-4 1 298376588 ns/op BenchmarkScanRecursiveIntReaderWrapper-4 1 317083307 ns/op PASS ok fmt 5.416s goos: linux goarch: amd64 pkg: go/build cpu: AMD EPYC 7B12 BenchmarkImportVendor-4 1087 101778 ns/op PASS ok go/build 1.138s goos: linux goarch: amd64 pkg: go/constant cpu: AMD EPYC 7B12 BenchmarkStringAdd/1-4 67160 1621 ns/op 160 B/op 2 allocs/op BenchmarkStringAdd/4-4 20193 5885 ns/op 832 B/op 9 allocs/op BenchmarkStringAdd/16-4 5206 19817 ns/op 3168 B/op 23 allocs/op BenchmarkStringAdd/64-4 1701 75101 ns/op 11744 B/op 73 allocs/op BenchmarkStringAdd/256-4 392 298985 ns/op 47840 B/op 267 allocs/op BenchmarkStringAdd/1024-4 100 1376191 ns/op 206176 B/op 1038 allocs/op BenchmarkStringAdd/4096-4 21 5398313 ns/op 865632 B/op 4114 allocs/op BenchmarkStringAdd/16384-4 5 21129728 ns/op 3634547 B/op 16407 allocs/op BenchmarkStringAdd/65536-4 2 88570544 ns/op 15259024 B/op 65565 allocs/op PASS ok go/constant 2.483s goos: linux goarch: amd64 pkg: go/format cpu: AMD EPYC 7B12 BenchmarkFormat/array1-10000-4 1 192234556 ns/op 0.34 MB/s 45404296 B/op 48770 allocs/op PASS ok go/format 1.221s goos: linux goarch: amd64 pkg: go/parser cpu: AMD EPYC 7B12 BenchmarkParse-4 7 14724150 ns/op 3.66 MB/s BenchmarkParseOnly-4 8 12627440 ns/op 4.27 MB/s BenchmarkResolve-4 79 1661055 ns/op 32.42 MB/s PASS ok go/parser 2.343s goos: linux goarch: amd64 pkg: go/printer cpu: AMD EPYC 7B12 BenchmarkPrintFile-4 3 43299640 ns/op 1.20 MB/s 2153394 B/op 2783 allocs/op BenchmarkPrintDecl-4 1242 98042 ns/op 0.33 MB/s 16510 B/op 51 allocs/op PASS ok go/printer 1.466s goos: linux goarch: amd64 pkg: go/scanner cpu: AMD EPYC 7B12 BenchmarkScan-4 373 313728 ns/op BenchmarkScanFiles/go/types/expr.go-4 19 6023307 ns/op 8.23 MB/s BenchmarkScanFiles/go/parser/parser.go-4 13 9508582 ns/op 7.62 MB/s BenchmarkScanFiles/net/http/server.go-4 8 13579356 ns/op 8.35 MB/s BenchmarkScanFiles/go/scanner/errors.go-4 308 415140 ns/op 7.41 MB/s PASS ok go/scanner 1.715s goos: linux goarch: amd64 pkg: go/token cpu: AMD EPYC 7B12 BenchmarkSearchInts-4 1427040 70.76 ns/op PASS ok go/token 1.201s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: go/types cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLookupFieldOrMethod-4 140 877989 ns/op BenchmarkNamed/Underlying/nongeneric-4 986413 120.9 ns/op BenchmarkNamed/Underlying/generic-4 943309 121.0 ns/op BenchmarkNamed/Underlying/src_instance-4 970894 120.7 ns/op BenchmarkNamed/Underlying/user_instance-4 955389 123.9 ns/op BenchmarkNamed/NewMethodSet/nongeneric-4 19838 5790 ns/op BenchmarkNamed/NewMethodSet/generic-4 19636 5707 ns/op BenchmarkNamed/NewMethodSet/src_instance-4 19448 6037 ns/op BenchmarkNamed/NewMethodSet/user_instance-4 20320 5728 ns/op BenchmarkCheck/http/funcbodies/info-4 1 665454993 ns/op 45913 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 444625783 ns/op 68715 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 258051580 ns/op 118382 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 217567076 ns/op 140377 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 524146358 ns/op 9874 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 1 120793047 ns/op 42829 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 2 67814390 ns/op 76286 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 2 65601826 ns/op 78853 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 185286406 ns/op 11692 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 2 66464814 ns/op 32587 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 3 50490975 ns/op 42901 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 3 48059509 ns/op 45080 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1379739880 ns/op 47236 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 657921431 ns/op 99053 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 193663088 ns/op 336421 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 135065340 ns/op 482323 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 2074633316 ns/op 962.6 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 94512172 ns/op 21121 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 2 79821428 ns/op 25009 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 2 77369444 ns/op 25800 lines/s PASS ok go/types 21.897s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: hash/adler32 cpu: AMD EPYC 7B12 BenchmarkAdler32KB-4 14265 8546 ns/op 119.82 MB/s PASS ok hash/adler32 1.191s goos: linux goarch: amd64 pkg: hash/crc32 cpu: AMD EPYC 7B12 BenchmarkCRC32/poly=IEEE/size=15/align=0-4 306163 363.2 ns/op 41.30 MB/s BenchmarkCRC32/poly=IEEE/size=15/align=1-4 304560 356.4 ns/op 42.08 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=0-4 175887 724.9 ns/op 55.18 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=1-4 184572 659.7 ns/op 60.63 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=0-4 605305 193.4 ns/op 2647.69 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=1-4 612034 198.5 ns/op 2579.24 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=0-4 516168 233.8 ns/op 4379.04 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=1-4 524019 233.4 ns/op 4387.62 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=0-4 254107 477.3 ns/op 8582.32 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=1-4 250425 472.4 ns/op 8671.26 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=0-4 44218 2712 ns/op 12084.44 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=1-4 44274 2732 ns/op 11993.84 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=0-4 586530 176.2 ns/op 85.14 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=1-4 670750 172.5 ns/op 86.96 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=0-4 607680 179.3 ns/op 223.04 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=1-4 642931 177.6 ns/op 225.18 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=0-4 475468 259.4 ns/op 1973.47 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=1-4 456465 266.2 ns/op 1923.49 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=0-4 329866 311.7 ns/op 3284.98 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=1-4 353209 315.7 ns/op 3243.82 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=0-4 298143 391.8 ns/op 10453.02 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=1-4 298688 391.6 ns/op 10459.48 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=0-4 61282 1945 ns/op 16844.18 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=1-4 61068 1949 ns/op 16814.85 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=0-4 350673 343.7 ns/op 43.65 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=1-4 320659 335.9 ns/op 44.66 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=0-4 169519 703.2 ns/op 56.88 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=1-4 177060 661.7 ns/op 60.45 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=0-4 14199 7928 ns/op 64.58 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=1-4 14282 8354 ns/op 61.29 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=0-4 7011 18561 ns/op 55.17 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=1-4 5511 18339 ns/op 55.84 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=0-4 1446 79417 ns/op 51.58 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=1-4 1518 79675 ns/op 51.41 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=0-4 176 676231 ns/op 48.46 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=1-4 182 677297 ns/op 48.38 MB/s PASS ok hash/crc32 5.935s goos: linux goarch: amd64 pkg: hash/crc64 cpu: AMD EPYC 7B12 BenchmarkCrc64/ISO64KB-4 144 934952 ns/op 70.10 MB/s BenchmarkCrc64/ISO4KB-4 1725 70550 ns/op 58.06 MB/s BenchmarkCrc64/ISO1KB-4 7527 16588 ns/op 61.73 MB/s BenchmarkCrc64/ECMA64KB-4 144 824922 ns/op 79.45 MB/s BenchmarkCrc64/Random64KB-4 152 763477 ns/op 85.84 MB/s BenchmarkCrc64/Random16KB-4 544 204624 ns/op 80.07 MB/s PASS ok hash/crc64 2.134s goos: linux goarch: amd64 pkg: hash/fnv cpu: AMD EPYC 7B12 BenchmarkFnv32KB-4 15837 8175 ns/op 125.26 MB/s BenchmarkFnv32aKB-4 15872 7542 ns/op 135.78 MB/s BenchmarkFnv64KB-4 15836 8159 ns/op 125.51 MB/s BenchmarkFnv64aKB-4 15753 7602 ns/op 134.70 MB/s BenchmarkFnv128KB-4 2814 42297 ns/op 24.21 MB/s BenchmarkFnv128aKB-4 2524 46003 ns/op 22.26 MB/s PASS ok hash/fnv 2.069s goos: linux goarch: amd64 pkg: hash/maphash cpu: AMD EPYC 7B12 BenchmarkHash/n=4/Write-4 683180 152.7 ns/op 26.20 MB/s BenchmarkHash/n=4/Bytes-4 5595850 20.66 ns/op 193.59 MB/s BenchmarkHash/n=4/String-4 2341732 51.64 ns/op 77.46 MB/s BenchmarkHash/n=8/Write-4 724654 153.2 ns/op 52.23 MB/s BenchmarkHash/n=8/Bytes-4 5320639 21.37 ns/op 374.28 MB/s BenchmarkHash/n=8/String-4 2356806 50.67 ns/op 157.88 MB/s BenchmarkHash/n=16/Write-4 744790 152.2 ns/op 105.12 MB/s BenchmarkHash/n=16/Bytes-4 5746980 21.58 ns/op 741.28 MB/s BenchmarkHash/n=16/String-4 2304408 52.39 ns/op 305.38 MB/s BenchmarkHash/n=32/Write-4 714621 158.7 ns/op 201.60 MB/s BenchmarkHash/n=32/Bytes-4 5620014 21.34 ns/op 1499.40 MB/s BenchmarkHash/n=32/String-4 2311798 51.70 ns/op 618.96 MB/s BenchmarkHash/n=64/Write-4 632054 165.4 ns/op 386.97 MB/s BenchmarkHash/n=64/Bytes-4 5621246 21.36 ns/op 2995.76 MB/s BenchmarkHash/n=64/String-4 2351041 50.92 ns/op 1256.78 MB/s BenchmarkHash/n=256/Write-4 568184 216.3 ns/op 1183.47 MB/s BenchmarkHash/n=256/Bytes-4 4241964 28.34 ns/op 9032.58 MB/s BenchmarkHash/n=256/String-4 1371244 87.29 ns/op 2932.75 MB/s BenchmarkHash/n=320/Write-4 534075 210.0 ns/op 1523.87 MB/s BenchmarkHash/n=320/Bytes-4 3743176 32.08 ns/op 9976.43 MB/s BenchmarkHash/n=320/String-4 857209 124.1 ns/op 2577.74 MB/s BenchmarkHash/n=1024/Write-4 398560 302.7 ns/op 3382.80 MB/s BenchmarkHash/n=1024/Bytes-4 1389333 86.49 ns/op 11839.12 MB/s BenchmarkHash/n=1024/String-4 356582 300.9 ns/op 3403.02 MB/s BenchmarkHash/n=4096/Write-4 177051 676.5 ns/op 6054.34 MB/s BenchmarkHash/n=4096/Bytes-4 346032 347.2 ns/op 11798.76 MB/s BenchmarkHash/n=4096/String-4 91304 1138 ns/op 3597.77 MB/s BenchmarkHash/n=16384/Write-4 56140 2109 ns/op 7768.82 MB/s BenchmarkHash/n=16384/Bytes-4 85112 1402 ns/op 11686.55 MB/s BenchmarkHash/n=16384/String-4 26725 4430 ns/op 3698.05 MB/s PASS ok hash/maphash 5.311s goos: linux goarch: amd64 pkg: html cpu: AMD EPYC 7B12 BenchmarkEscape-4 1262 88143 ns/op BenchmarkEscapeNone-4 146493 814.1 ns/op BenchmarkUnescape-4 1177 99712 ns/op BenchmarkUnescapeNone-4 744586 148.0 ns/op BenchmarkUnescapeSparse-4 15403 7371 ns/op BenchmarkUnescapeDense-4 1641 70597 ns/op PASS ok html 1.831s goos: linux goarch: amd64 pkg: html/template cpu: AMD EPYC 7B12 BenchmarkCSSEscaper-4 13627 8433 ns/op BenchmarkCSSEscaperNoSpecials-4 62502 1871 ns/op BenchmarkDecodeCSS-4 41325 2874 ns/op BenchmarkDecodeCSSNoSpecials-4 6065973 20.09 ns/op BenchmarkCSSValueFilter-4 165817 728.0 ns/op BenchmarkCSSValueFilterOk-4 118965 1009 ns/op BenchmarkEscapedExecute-4 6658 18580 ns/op BenchmarkHTMLNospaceEscaper-4 16611 7386 ns/op BenchmarkHTMLNospaceEscaperNoSpecials-4 94597 1245 ns/op BenchmarkStripTags-4 32490 3767 ns/op BenchmarkStripTagsNoSpecials-4 427638 265.7 ns/op BenchmarkJSValEscaperWithNum-4 33320 3647 ns/op BenchmarkJSValEscaperWithStr-4 8526 14572 ns/op BenchmarkJSValEscaperWithStrNoSpecials-4 27099 4488 ns/op BenchmarkJSValEscaperWithObj-4 7104 16984 ns/op BenchmarkJSValEscaperWithObjNoSpecials-4 18974 6310 ns/op BenchmarkJSStrEscaperNoSpecials-4 87156 1468 ns/op BenchmarkJSStrEscaper-4 17154 7236 ns/op BenchmarkJSRegexpEscaperNoSpecials-4 72680 1690 ns/op BenchmarkJSRegexpEscaper-4 16152 7424 ns/op BenchmarkTemplateSpecialTags-4 146 819850 ns/op BenchmarkURLEscaper-4 5382 19356 ns/op BenchmarkURLEscaperNoSpecials-4 246540 472.6 ns/op BenchmarkURLNormalizer-4 8210 14200 ns/op BenchmarkURLNormalizerNoSpecials-4 237240 498.0 ns/op BenchmarkSrcsetFilter-4 26017 4702 ns/op BenchmarkSrcsetFilterNoSpecials-4 162906 777.9 ns/op PASS ok html/template 5.357s goos: linux goarch: amd64 pkg: image cpu: AMD EPYC 7B12 BenchmarkAt/rgba-4 760504 135.2 ns/op 16 B/op 1 allocs/op BenchmarkAt/rgba64-4 569188 177.3 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba-4 946021 137.5 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba64-4 627844 181.4 ns/op 16 B/op 1 allocs/op BenchmarkAt/alpha-4 2210934 53.76 ns/op 0 B/op 0 allocs/op BenchmarkAt/alpha16-4 1491588 78.87 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray-4 2338461 51.11 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray16-4 1537280 75.63 ns/op 0 B/op 0 allocs/op BenchmarkAt/paletted-4 1643634 65.12 ns/op 0 B/op 0 allocs/op BenchmarkSet/rgba-4 616059 189.3 ns/op 16 B/op 1 allocs/op BenchmarkSet/rgba64-4 517780 226.3 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba-4 573703 190.2 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba64-4 483735 229.9 ns/op 16 B/op 1 allocs/op BenchmarkSet/alpha-4 990081 118.4 ns/op 0 B/op 0 allocs/op BenchmarkSet/alpha16-4 666181 154.9 ns/op 16 B/op 1 allocs/op BenchmarkSet/gray-4 1242541 98.30 ns/op 0 B/op 0 allocs/op BenchmarkSet/gray16-4 780428 156.1 ns/op 16 B/op 1 allocs/op BenchmarkSet/paletted-4 588001 210.2 ns/op 0 B/op 0 allocs/op BenchmarkRGBAAt-4 1825988 73.26 ns/op BenchmarkRGBASetRGBA-4 1716277 67.00 ns/op BenchmarkRGBA64At-4 1000000 103.8 ns/op BenchmarkRGBA64SetRGBA64-4 1000000 105.9 ns/op BenchmarkNRGBAAt-4 1830225 65.33 ns/op BenchmarkNRGBASetNRGBA-4 1791466 67.40 ns/op BenchmarkNRGBA64At-4 1000000 114.3 ns/op BenchmarkNRGBA64SetNRGBA64-4 1000000 106.4 ns/op BenchmarkAlphaAt-4 3213496 38.09 ns/op BenchmarkAlphaSetAlpha-4 3129199 41.59 ns/op BenchmarkAlpha16At-4 1833528 61.30 ns/op BenchmarkAlphaSetAlpha16-4 1926336 61.40 ns/op BenchmarkGrayAt-4 3216303 36.90 ns/op BenchmarkGraySetGray-4 3167030 38.81 ns/op BenchmarkGray16At-4 1977273 59.91 ns/op BenchmarkGraySetGray16-4 1968888 60.80 ns/op PASS ok image 6.319s goos: linux goarch: amd64 pkg: image/color cpu: AMD EPYC 7B12 BenchmarkYCbCrToRGB/0-4 4634305 24.85 ns/op BenchmarkYCbCrToRGB/128-4 4991018 23.74 ns/op BenchmarkYCbCrToRGB/255-4 4992284 23.72 ns/op BenchmarkRGBToYCbCr/0-4 4954461 23.72 ns/op BenchmarkRGBToYCbCr/Cb-4 4985040 22.19 ns/op BenchmarkRGBToYCbCr/Cr-4 4995770 23.67 ns/op BenchmarkYCbCrToRGBA/0-4 4046314 29.30 ns/op BenchmarkYCbCrToRGBA/128-4 3895773 30.61 ns/op BenchmarkYCbCrToRGBA/255-4 4381134 29.26 ns/op BenchmarkNYCbCrAToRGBA/0-4 3969673 29.88 ns/op BenchmarkNYCbCrAToRGBA/128-4 3944036 29.89 ns/op BenchmarkNYCbCrAToRGBA/255-4 4016400 27.56 ns/op PASS ok image/color 2.786s goos: linux goarch: amd64 pkg: image/draw cpu: AMD EPYC 7B12 BenchmarkFillOver-4 5 21882002 ns/op BenchmarkFillSrc-4 462 238463 ns/op BenchmarkCopyOver-4 10 10516508 ns/op BenchmarkCopySrc-4 738 158211 ns/op BenchmarkNRGBAOver-4 10 10962670 ns/op BenchmarkNRGBASrc-4 15 7596963 ns/op BenchmarkYCbCr-4 13 8484118 ns/op BenchmarkGray-4 25 4566857 ns/op BenchmarkCMYK-4 15 7243264 ns/op BenchmarkGlyphOver-4 31 3984186 ns/op BenchmarkRGBAMaskOver-4 6 19051635 ns/op BenchmarkGrayMaskOver-4 7 16019103 ns/op BenchmarkRGBA64ImageMaskOver-4 5 23246212 ns/op BenchmarkRGBA-4 7 17454055 ns/op BenchmarkPalettedFill-4 1410 86032 ns/op BenchmarkPalettedRGBA-4 6 17972838 ns/op BenchmarkGenericOver-4 3 37054821 ns/op BenchmarkGenericMaskOver-4 7 16129486 ns/op BenchmarkGenericSrc-4 5 25376214 ns/op BenchmarkGenericMaskSrc-4 5 22586780 ns/op PASS ok image/draw 6.078s goos: linux goarch: amd64 pkg: image/gif cpu: AMD EPYC 7B12 BenchmarkDecode-4 32 3405998 ns/op 4.54 MB/s 47848 B/op 267 allocs/op BenchmarkEncodeRandomPaletted-4 2 85360770 ns/op 3.60 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRandomRGBA-4 1 2257068369 ns/op 0.54 MB/s 417248 B/op 13 allocs/op BenchmarkEncodeRealisticPaletted-4 85 1418347 ns/op 10.89 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRealisticRGBA-4 1 105498992 ns/op 0.59 MB/s 105952 B/op 13 allocs/op PASS ok image/gif 4.315s goos: linux goarch: amd64 pkg: image/jpeg cpu: AMD EPYC 7B12 BenchmarkFDCT-4 5421 19575 ns/op BenchmarkIDCT-4 6316 17888 ns/op BenchmarkDecodeBaseline-4 13 8733112 ns/op 7.08 MB/s 63024 B/op 5 allocs/op BenchmarkDecodeProgressive-4 9 11942034 ns/op 5.17 MB/s 259712 B/op 13 allocs/op BenchmarkEncodeRGBA-4 1 110827262 ns/op 11.09 MB/s 4400 B/op 4 allocs/op BenchmarkEncodeYCbCr-4 1 142316639 ns/op 6.48 MB/s 4400 B/op 4 allocs/op PASS ok image/jpeg 2.018s goos: linux goarch: amd64 pkg: image/png cpu: AMD EPYC 7B12 BenchmarkPaeth-4 16026156 7.050 ns/op BenchmarkDecodeGray-4 19 6031451 ns/op 10.87 MB/s 137024 B/op 102 allocs/op BenchmarkDecodeNRGBAGradient-4 4 26243043 ns/op 9.99 MB/s 337328 B/op 188 allocs/op BenchmarkDecodeNRGBAOpaque-4 5 22080135 ns/op 11.87 MB/s 346592 B/op 152 allocs/op BenchmarkDecodePaletted-4 30 3644309 ns/op 17.98 MB/s 139459 B/op 309 allocs/op BenchmarkDecodeRGB-4 5 20822028 ns/op 12.59 MB/s 332000 B/op 157 allocs/op BenchmarkDecodeInterlacing-4 4 25859200 ns/op 10.14 MB/s 605216 B/op 268 allocs/op BenchmarkEncodeGray-4 3 38463080 ns/op 7.99 MB/s 852184 B/op 29 allocs/op BenchmarkEncodeGrayWithBufferPool-4 3 39564984 ns/op 7.76 MB/s 284053 B/op 9 allocs/op BenchmarkEncodeNRGBOpaque-4 1 140853930 ns/op 8.72 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeNRGBA-4 1 137858149 ns/op 8.91 MB/s 864088 B/op 29 allocs/op BenchmarkEncodePaletted-4 6 19604160 ns/op 15.67 MB/s 848592 B/op 32 allocs/op BenchmarkEncodeRGBOpaque-4 1 129136940 ns/op 9.52 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeRGBA-4 1 563932589 ns/op 2.18 MB/s 864088 B/op 29 allocs/op PASS ok image/png 4.207s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: index/suffixarray cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkNew/text=opticks/size=100K/bits=32-4 2 55846830 ns/op 1.79 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=opticks/size=100K/bits=64-4 3 47331488 ns/op 2.11 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=32-4 1 317139386 ns/op 1.58 MB/s 2007128 B/op 3 allocs/op BenchmarkNew/text=opticks/size=500K/bits=64-4 1 311725072 ns/op 1.60 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=32-4 2 53409599 ns/op 1.87 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=64-4 3 46288208 ns/op 2.16 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=32-4 1 295504925 ns/op 1.69 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=64-4 1 288573620 ns/op 1.73 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=32-4 1 664855694 ns/op 1.50 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=64-4 1 700137541 ns/op 1.43 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=32-4 1 4149473965 ns/op 1.20 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=64-4 1 4058468705 ns/op 1.23 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=32-4 12 9860168 ns/op 10.14 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=64-4 9 11499720 ns/op 8.70 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=32-4 3 48879372 ns/op 10.23 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=64-4 2 55523256 ns/op 9.01 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=32-4 2 95829546 ns/op 10.44 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=64-4 1 110098618 ns/op 9.08 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=32-4 1 491581953 ns/op 10.17 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=64-4 1 552350962 ns/op 9.05 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=32-4 2 64647099 ns/op 1.55 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=64-4 2 56519038 ns/op 1.77 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=32-4 1 394113205 ns/op 1.27 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=64-4 1 391938209 ns/op 1.28 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=32-4 1 850951401 ns/op 1.18 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=64-4 1 957222059 ns/op 1.04 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=32-4 1 6322449780 ns/op 0.79 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=64-4 1 6187841270 ns/op 0.81 MB/s 40001616 B/op 2 allocs/op BenchmarkSaveRestore/bits=32-4 1 185840770 ns/op 22.49 MB/s 5275648 B/op 4 allocs/op BenchmarkSaveRestore/bits=64-4 1 191591120 ns/op 21.82 MB/s 9469952 B/op 4 allocs/op PASS ok index/suffixarray 47.308s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: internal/fuzz cpu: AMD EPYC 7B12 BenchmarkMarshalCorpusFile/1-4 51517 2222 ns/op 0.45 MB/s BenchmarkMarshalCorpusFile/2-4 51414 2376 ns/op 0.84 MB/s BenchmarkMarshalCorpusFile/4-4 47076 2645 ns/op 1.51 MB/s BenchmarkMarshalCorpusFile/8-4 39440 3095 ns/op 2.59 MB/s BenchmarkMarshalCorpusFile/16-4 30793 3972 ns/op 4.03 MB/s BenchmarkMarshalCorpusFile/32-4 19002 5964 ns/op 5.37 MB/s BenchmarkMarshalCorpusFile/64-4 13574 8815 ns/op 7.26 MB/s BenchmarkMarshalCorpusFile/128-4 7180 13989 ns/op 9.15 MB/s BenchmarkMarshalCorpusFile/256-4 3901 27258 ns/op 9.39 MB/s BenchmarkMarshalCorpusFile/512-4 2264 52661 ns/op 9.72 MB/s BenchmarkMarshalCorpusFile/1024-4 1138 100765 ns/op 10.16 MB/s BenchmarkMarshalCorpusFile/2048-4 559 204501 ns/op 10.01 MB/s BenchmarkMarshalCorpusFile/4096-4 307 412367 ns/op 9.93 MB/s BenchmarkMarshalCorpusFile/8192-4 151 780123 ns/op 10.50 MB/s BenchmarkMarshalCorpusFile/16384-4 74 1582226 ns/op 10.36 MB/s BenchmarkMarshalCorpusFile/32768-4 31 3666456 ns/op 8.94 MB/s BenchmarkMarshalCorpusFile/65536-4 16 7287917 ns/op 8.99 MB/s BenchmarkMarshalCorpusFile/131072-4 7 17338760 ns/op 7.56 MB/s BenchmarkMarshalCorpusFile/262144-4 4 29573643 ns/op 8.86 MB/s BenchmarkMarshalCorpusFile/524288-4 2 71906760 ns/op 7.29 MB/s BenchmarkMarshalCorpusFile/1048576-4 1 122804451 ns/op 8.54 MB/s BenchmarkUnmarshalCorpusFile/1-4 14030 8512 ns/op 0.12 MB/s BenchmarkUnmarshalCorpusFile/2-4 13638 9014 ns/op 0.22 MB/s BenchmarkUnmarshalCorpusFile/4-4 12274 10047 ns/op 0.40 MB/s BenchmarkUnmarshalCorpusFile/8-4 10642 11204 ns/op 0.71 MB/s BenchmarkUnmarshalCorpusFile/16-4 7936 13599 ns/op 1.18 MB/s BenchmarkUnmarshalCorpusFile/32-4 5217 19578 ns/op 1.63 MB/s BenchmarkUnmarshalCorpusFile/64-4 5059 24185 ns/op 2.65 MB/s BenchmarkUnmarshalCorpusFile/128-4 3570 29885 ns/op 4.28 MB/s BenchmarkUnmarshalCorpusFile/256-4 1504 78038 ns/op 3.28 MB/s BenchmarkUnmarshalCorpusFile/512-4 810 153926 ns/op 3.33 MB/s BenchmarkUnmarshalCorpusFile/1024-4 418 305919 ns/op 3.35 MB/s BenchmarkUnmarshalCorpusFile/2048-4 211 562330 ns/op 3.64 MB/s BenchmarkUnmarshalCorpusFile/4096-4 86 1195338 ns/op 3.43 MB/s BenchmarkUnmarshalCorpusFile/8192-4 49 2330290 ns/op 3.52 MB/s BenchmarkUnmarshalCorpusFile/16384-4 25 4734734 ns/op 3.46 MB/s BenchmarkUnmarshalCorpusFile/32768-4 12 8807262 ns/op 3.72 MB/s BenchmarkUnmarshalCorpusFile/65536-4 6 17983545 ns/op 3.64 MB/s BenchmarkUnmarshalCorpusFile/131072-4 3 35634747 ns/op 3.68 MB/s BenchmarkUnmarshalCorpusFile/262144-4 2 70427090 ns/op 3.72 MB/s BenchmarkUnmarshalCorpusFile/524288-4 1 141302910 ns/op 3.71 MB/s BenchmarkUnmarshalCorpusFile/1048576-4 1 284539309 ns/op 3.69 MB/s BenchmarkMutatorBytes/1-4 52797 2335 ns/op BenchmarkMutatorBytes/10-4 54987 2244 ns/op BenchmarkMutatorBytes/100-4 50752 2440 ns/op BenchmarkMutatorBytes/1000-4 34100 3745 ns/op BenchmarkMutatorBytes/10000-4 9135 15208 ns/op BenchmarkMutatorBytes/100000-4 1334 115177 ns/op BenchmarkMutatorString/1-4 48015 2458 ns/op BenchmarkMutatorString/10-4 50923 2386 ns/op BenchmarkMutatorString/100-4 45314 2781 ns/op BenchmarkMutatorString/1000-4 23820 5288 ns/op BenchmarkMutatorString/10000-4 4951 28272 ns/op BenchmarkMutatorString/100000-4 471 259982 ns/op BenchmarkMutatorAllBasicTypes/[]uint8-4 27306 4335 ns/op BenchmarkMutatorAllBasicTypes/string-4 26960 4366 ns/op BenchmarkMutatorAllBasicTypes/bool-4 91831 1332 ns/op BenchmarkMutatorAllBasicTypes/float32-4 79524 1486 ns/op BenchmarkMutatorAllBasicTypes/float64-4 78434 1483 ns/op BenchmarkMutatorAllBasicTypes/int-4 84567 1405 ns/op BenchmarkMutatorAllBasicTypes/int8-4 84319 1397 ns/op BenchmarkMutatorAllBasicTypes/int16-4 84789 1410 ns/op BenchmarkMutatorAllBasicTypes/int32-4 84574 1399 ns/op BenchmarkMutatorAllBasicTypes/int64-4 84126 1412 ns/op BenchmarkMutatorAllBasicTypes/uint8-4 80614 1468 ns/op BenchmarkMutatorAllBasicTypes/uint16-4 82033 1433 ns/op BenchmarkMutatorAllBasicTypes/uint32-4 82008 1441 ns/op BenchmarkMutatorAllBasicTypes/uint64-4 83413 1441 ns/op PASS ok internal/fuzz 12.262s goos: linux goarch: amd64 pkg: internal/intern cpu: AMD EPYC 7B12 BenchmarkStress-4 46375 2808 ns/op 0 B/op 0 allocs/op BenchmarkGetByString-4 198078 622.8 ns/op 0 B/op 0 allocs/op PASS ok internal/intern 1.394s goos: linux goarch: amd64 pkg: internal/poll cpu: AMD EPYC 7B12 BenchmarkSplicePipe/SplicePipeWithPool-4 66782 1610 ns/op BenchmarkSplicePipe/SplicePipeWithoutPool-4 26598 4023 ns/op BenchmarkSplicePipePoolParallel-4 166093 645.6 ns/op BenchmarkSplicePipeNativeParallel-4 44196 2732 ns/op PASS ok internal/poll 1.773s goos: linux goarch: amd64 pkg: internal/trace cpu: AMD EPYC 7B12 BenchmarkMMU-4 7 16259611 ns/op PASS ok internal/trace 2.323s PASS ok internal/zstd 1.012s goos: linux goarch: amd64 pkg: io cpu: AMD EPYC 7B12 BenchmarkCopyNSmall-4 20139 6028 ns/op BenchmarkCopyNLarge-4 270 394457 ns/op PASS ok io 1.359s goos: linux goarch: amd64 pkg: log cpu: AMD EPYC 7B12 BenchmarkItoa-4 273236 394.0 ns/op BenchmarkPrintln-4 32473 3839 ns/op 78 B/op 1 allocs/op BenchmarkPrintlnNoFlags-4 49320 2467 ns/op 67 B/op 1 allocs/op BenchmarkConcurrent-4 2686 47269 ns/op BenchmarkDiscard-4 1828479 65.64 ns/op 0 B/op 0 allocs/op PASS ok log 1.766s goos: linux goarch: amd64 pkg: log/slog cpu: AMD EPYC 7B12 BenchmarkWriteTime-4 122278 982.0 ns/op BenchmarkJSONHandler/defaults-4 9372 11128 ns/op 525 B/op 1 allocs/op BenchmarkJSONHandler/time_format-4 5612 18730 ns/op 773 B/op 6 allocs/op BenchmarkJSONHandler/time_unix-4 6207 16494 ns/op 766 B/op 5 allocs/op BenchmarkPreformatting/separate-4 10879 11079 ns/op 525 B/op 1 allocs/op BenchmarkPreformatting/struct-4 10940 11337 ns/op 521 B/op 0 allocs/op BenchmarkPreformatting/struct_file-4 7987 13787 ns/op 522 B/op 0 allocs/op BenchmarkJSONEncoding/json.Marshal-4 42382 2867 ns/op 80 B/op 3 allocs/op BenchmarkJSONEncoding/Encoder.Encode-4 41847 2913 ns/op 63 B/op 1 allocs/op BenchmarkNopLog/no_attrs-4 95455 1274 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-4 79701 1594 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-parallel-4 55650 2106 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/keys-values-4 74226 1668 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-4 79669 1601 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-parallel-4 56727 2003 ns/op 0 B/op 0 allocs/op BenchmarkPC/0-4 658670 181.1 ns/op 0 B/op 0 allocs/op BenchmarkPC/1-4 467378 239.3 ns/op 0 B/op 0 allocs/op BenchmarkPC/2-4 309493 362.5 ns/op 0 B/op 0 allocs/op BenchmarkPC/3-4 225928 502.3 ns/op 0 B/op 0 allocs/op BenchmarkPC/4-4 185508 616.5 ns/op 0 B/op 0 allocs/op BenchmarkRecord-4 8994 11645 ns/op BenchmarkDispatch/switch-checked-4 275464 427.3 ns/op BenchmarkDispatch/As-4 258597 460.2 ns/op BenchmarkDispatch/Visit-4 244774 474.5 ns/op BenchmarkUnsafeStrings-4 24579 4727 ns/op 0 B/op 0 allocs/op --- BENCH: BenchmarkUnsafeStrings-4 value_test.go:251: Value size = 24 value_test.go:251: Value size = 24 value_test.go:251: Value size = 24 value_test.go:251: Value size = 24 PASS ok log/slog 4.441s goos: linux goarch: amd64 pkg: log/slog/internal/benchmarks cpu: AMD EPYC 7B12 BenchmarkAttrs/disabled/5_args-4 2554708 40.70 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/5_args_ctx-4 1841577 79.24 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/10_args-4 1786147 61.21 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/40_args-4 554822 195.6 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args-4 84013 1402 ns/op 260 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args_ctx-4 71755 1518 ns/op 262 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/10_args-4 47684 2145 ns/op 471 B/op 1 allocs/op BenchmarkAttrs/fastText_discard/40_args-4 19532 5592 ns/op 2073 B/op 1 allocs/op BenchmarkAttrs/Text_discard/5_args-4 16941 7086 ns/op 620 B/op 3 allocs/op BenchmarkAttrs/Text_discard/5_args_ctx-4 17622 7023 ns/op 614 B/op 3 allocs/op BenchmarkAttrs/Text_discard/10_args-4 12327 10728 ns/op 912 B/op 7 allocs/op BenchmarkAttrs/Text_discard/40_args-4 4146 27057 ns/op 3023 B/op 22 allocs/op BenchmarkAttrs/JSON_discard/5_args-4 20638 6159 ns/op 522 B/op 0 allocs/op BenchmarkAttrs/JSON_discard/5_args_ctx-4 19251 6235 ns/op 527 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/10_args-4 12789 8641 ns/op 727 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/40_args-4 4434 22856 ns/op 2310 B/op 2 allocs/op PASS ok log/slog/internal/benchmarks 3.804s goos: linux goarch: amd64 pkg: maps cpu: AMD EPYC 7B12 BenchmarkMapClone-4 4 27964382 ns/op BenchmarkKeys-4 10 10833560 ns/op BenchmarkValues-4 10 10269790 ns/op PASS ok maps 3.167s goos: linux goarch: amd64 pkg: math cpu: AMD EPYC 7B12 BenchmarkAcos-4 5057715 23.66 ns/op BenchmarkAcosh-4 1815568 65.37 ns/op BenchmarkAsin-4 5080320 23.71 ns/op BenchmarkAsinh-4 1789010 68.03 ns/op BenchmarkAtan-4 5825534 19.87 ns/op BenchmarkAtanh-4 1700256 70.47 ns/op BenchmarkAtan2-4 3388311 37.82 ns/op BenchmarkCbrt-4 2336647 51.24 ns/op BenchmarkCeil-4 23934834 5.000 ns/op BenchmarkCompare-4 4537240 24.36 ns/op BenchmarkCompare32-4 5804779 19.40 ns/op BenchmarkCopysign-4 3587818 33.47 ns/op BenchmarkCos-4 1609729 70.12 ns/op BenchmarkCosh-4 2257898 53.28 ns/op BenchmarkErf-4 5624940 21.67 ns/op BenchmarkErfc-4 5516584 21.15 ns/op BenchmarkErfinv-4 5511681 22.01 ns/op BenchmarkErfcinv-4 5869756 21.03 ns/op BenchmarkExp-4 7501964 14.44 ns/op BenchmarkExpGo-4 1419974 86.04 ns/op BenchmarkExpm1-4 4974782 24.22 ns/op BenchmarkExp2-4 1561647 77.42 ns/op BenchmarkExp2Go-4 1477504 81.13 ns/op BenchmarkAbs-4 4948371 24.09 ns/op BenchmarkDim-4 9795631 10.30 ns/op BenchmarkFloor-4 23973422 5.105 ns/op BenchmarkMax-4 15720964 7.200 ns/op BenchmarkMin-4 14577066 6.867 ns/op BenchmarkMod-4 443199 247.0 ns/op BenchmarkFrexp-4 2481518 47.75 ns/op BenchmarkGamma-4 813040 143.5 ns/op BenchmarkHypot-4 13752368 8.116 ns/op BenchmarkHypotGo-4 2182808 53.39 ns/op BenchmarkIlogb-4 2938878 40.20 ns/op BenchmarkJ0-4 307828 333.0 ns/op BenchmarkJ1-4 325298 327.0 ns/op BenchmarkJn-4 174892 676.9 ns/op BenchmarkLdexp-4 2486574 48.86 ns/op BenchmarkLgamma-4 1000000 104.5 ns/op BenchmarkLog-4 8326839 13.88 ns/op BenchmarkLogb-4 2935444 40.98 ns/op BenchmarkLog1p-4 2143630 57.01 ns/op BenchmarkLog10-4 8027443 14.59 ns/op BenchmarkLog2-4 1964082 62.58 ns/op BenchmarkModf-4 3628431 33.26 ns/op BenchmarkNextafter32-4 3583494 33.79 ns/op BenchmarkNextafter64-4 3504735 34.49 ns/op BenchmarkPowInt-4 781830 154.5 ns/op BenchmarkPowFrac-4 589179 199.7 ns/op BenchmarkPow10Pos-4 5646708 20.94 ns/op BenchmarkPow10Neg-4 4781101 21.23 ns/op BenchmarkRound-4 4479589 26.17 ns/op BenchmarkRoundToEven-4 11476029 10.18 ns/op BenchmarkRemainder-4 633847 181.1 ns/op BenchmarkSignbit-4 6276092 17.21 ns/op BenchmarkSin-4 2118609 58.31 ns/op BenchmarkSincos-4 1407474 86.02 ns/op BenchmarkSinh-4 3895124 31.55 ns/op BenchmarkSqrtIndirect-4 21781272 5.288 ns/op BenchmarkSqrtLatency-4 12766053 9.308 ns/op BenchmarkSqrtIndirectLatency-4 12814804 9.320 ns/op BenchmarkSqrtGoLatency-4 1965004 61.36 ns/op BenchmarkSqrtPrime-4 173787 686.8 ns/op BenchmarkTan-4 1817310 59.42 ns/op BenchmarkTanh-4 2175240 55.24 ns/op BenchmarkTrunc-4 23721165 5.007 ns/op BenchmarkY0-4 358896 317.0 ns/op BenchmarkY1-4 320503 355.5 ns/op BenchmarkYn-4 163290 690.4 ns/op BenchmarkFloat64bits-4 6421335 18.28 ns/op BenchmarkFloat64frombits-4 6991158 19.05 ns/op BenchmarkFloat32bits-4 6011844 17.19 ns/op BenchmarkFloat32frombits-4 6707991 18.61 ns/op BenchmarkFMA-4 19866006 5.336 ns/op PASS ok math 12.267s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: math/big cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAddVV/1-4 11986970 9.835 ns/op 6507.59 MB/s BenchmarkAddVV/2-4 11004729 10.89 ns/op 11757.61 MB/s BenchmarkAddVV/3-4 10231130 11.87 ns/op 16176.96 MB/s BenchmarkAddVV/4-4 11222614 10.84 ns/op 23623.62 MB/s BenchmarkAddVV/5-4 10117272 11.81 ns/op 27102.41 MB/s BenchmarkAddVV/10-4 7914885 15.19 ns/op 42120.93 MB/s BenchmarkAddVV/100-4 1848168 64.81 ns/op 98747.35 MB/s BenchmarkAddVV/1000-4 200743 574.7 ns/op 111369.80 MB/s BenchmarkSubVV/1-4 12054072 9.811 ns/op 6523.25 MB/s BenchmarkSubVV/2-4 10895715 10.90 ns/op 11748.10 MB/s BenchmarkSubVV/3-4 9946988 11.97 ns/op 16037.53 MB/s BenchmarkSubVV/4-4 11192791 10.73 ns/op 23857.31 MB/s BenchmarkSubVV/5-4 10054323 11.81 ns/op 27103.30 MB/s BenchmarkSubVV/10-4 7813065 15.13 ns/op 42298.60 MB/s BenchmarkSubVV/100-4 1834552 66.01 ns/op 96952.51 MB/s BenchmarkSubVV/1000-4 205936 582.7 ns/op 109840.00 MB/s BenchmarkAddVW/1-4 11748386 10.05 ns/op 796.41 MB/s BenchmarkAddVW/2-4 10972418 10.83 ns/op 1477.83 MB/s BenchmarkAddVW/3-4 10256726 11.84 ns/op 2027.34 MB/s BenchmarkAddVW/4-4 11463698 10.26 ns/op 3118.12 MB/s BenchmarkAddVW/5-4 11448193 10.43 ns/op 3835.57 MB/s BenchmarkAddVW/10-4 7895799 13.51 ns/op 5921.58 MB/s BenchmarkAddVW/100-4 313698 337.5 ns/op 2370.59 MB/s BenchmarkAddVW/1000-4 52732 2257 ns/op 3544.31 MB/s BenchmarkAddVWext/1-4 11675932 10.07 ns/op 794.69 MB/s BenchmarkAddVWext/2-4 11069044 10.96 ns/op 1459.92 MB/s BenchmarkAddVWext/3-4 10216226 11.81 ns/op 2031.44 MB/s BenchmarkAddVWext/4-4 11501529 10.27 ns/op 3115.24 MB/s BenchmarkAddVWext/5-4 11400518 10.47 ns/op 3822.20 MB/s BenchmarkAddVWext/10-4 8991280 13.33 ns/op 6001.79 MB/s BenchmarkAddVWext/100-4 88010 1362 ns/op 587.40 MB/s BenchmarkAddVWext/1000-4 8848 13240 ns/op 604.21 MB/s BenchmarkSubVW/1-4 11895217 9.954 ns/op 803.66 MB/s BenchmarkSubVW/2-4 10619769 11.07 ns/op 1445.47 MB/s BenchmarkSubVW/3-4 10069785 11.85 ns/op 2025.30 MB/s BenchmarkSubVW/4-4 11626081 10.31 ns/op 3104.43 MB/s BenchmarkSubVW/5-4 11418007 10.47 ns/op 3821.41 MB/s BenchmarkSubVW/10-4 8840844 13.73 ns/op 5827.18 MB/s BenchmarkSubVW/100-4 345954 341.2 ns/op 2344.94 MB/s BenchmarkSubVW/1000-4 53433 2244 ns/op 3565.44 MB/s BenchmarkSubVWext/1-4 11954095 9.951 ns/op 803.98 MB/s BenchmarkSubVWext/2-4 10744831 11.09 ns/op 1442.82 MB/s BenchmarkSubVWext/3-4 10033093 11.82 ns/op 2031.03 MB/s BenchmarkSubVWext/4-4 11587879 10.34 ns/op 3095.57 MB/s BenchmarkSubVWext/5-4 11354262 10.58 ns/op 3780.04 MB/s BenchmarkSubVWext/10-4 8737368 13.74 ns/op 5821.06 MB/s BenchmarkSubVWext/100-4 87621 1364 ns/op 586.47 MB/s BenchmarkSubVWext/1000-4 8691 13301 ns/op 601.44 MB/s BenchmarkMulAddVWW/1-4 10485351 11.45 ns/op 5589.64 MB/s BenchmarkMulAddVWW/2-4 9923784 12.55 ns/op 10202.11 MB/s BenchmarkMulAddVWW/3-4 10395126 11.53 ns/op 16645.45 MB/s BenchmarkMulAddVWW/4-4 9585948 12.38 ns/op 20683.59 MB/s BenchmarkMulAddVWW/5-4 7434861 16.10 ns/op 19878.22 MB/s BenchmarkMulAddVWW/10-4 6598467 18.14 ns/op 35288.69 MB/s BenchmarkMulAddVWW/100-4 1246150 96.27 ns/op 66480.47 MB/s BenchmarkMulAddVWW/1000-4 131210 908.0 ns/op 70485.98 MB/s BenchmarkAddMulVVW/1-4 11089479 10.76 ns/op 5947.59 MB/s BenchmarkAddMulVVW/2-4 9953032 11.81 ns/op 10836.52 MB/s BenchmarkAddMulVVW/3-4 9420206 13.15 ns/op 14597.67 MB/s BenchmarkAddMulVVW/4-4 8920407 13.38 ns/op 19128.65 MB/s BenchmarkAddMulVVW/5-4 8353664 14.35 ns/op 22296.38 MB/s BenchmarkAddMulVVW/10-4 6975472 17.15 ns/op 37321.62 MB/s BenchmarkAddMulVVW/100-4 1411962 85.00 ns/op 75294.67 MB/s BenchmarkAddMulVVW/1000-4 152504 789.0 ns/op 81113.74 MB/s BenchmarkDivWVW/1-4 3112258 38.52 ns/op 1661.59 MB/s BenchmarkDivWVW/2-4 1303881 91.92 ns/op 1392.51 MB/s BenchmarkDivWVW/3-4 999092 117.1 ns/op 1639.33 MB/s BenchmarkDivWVW/4-4 866014 137.0 ns/op 1869.18 MB/s BenchmarkDivWVW/5-4 822612 144.9 ns/op 2208.74 MB/s BenchmarkDivWVW/10-4 414102 274.7 ns/op 2329.64 MB/s BenchmarkDivWVW/100-4 55719 2140 ns/op 2990.36 MB/s BenchmarkDivWVW/1000-4 5629 21172 ns/op 3022.93 MB/s BenchmarkNonZeroShifts/1/shrVU-4 12197374 9.812 ns/op BenchmarkNonZeroShifts/1/shlVU-4 12533869 9.632 ns/op BenchmarkNonZeroShifts/2/shrVU-4 11143731 10.65 ns/op BenchmarkNonZeroShifts/2/shlVU-4 11212848 10.63 ns/op BenchmarkNonZeroShifts/3/shrVU-4 10145913 11.80 ns/op BenchmarkNonZeroShifts/3/shlVU-4 10464981 11.38 ns/op BenchmarkNonZeroShifts/4/shrVU-4 9331555 12.77 ns/op BenchmarkNonZeroShifts/4/shlVU-4 9765578 12.36 ns/op BenchmarkNonZeroShifts/5/shrVU-4 8883439 13.49 ns/op BenchmarkNonZeroShifts/5/shlVU-4 9069913 13.22 ns/op BenchmarkNonZeroShifts/10/shrVU-4 6765172 17.46 ns/op BenchmarkNonZeroShifts/10/shlVU-4 6830526 17.78 ns/op BenchmarkNonZeroShifts/100/shrVU-4 1000000 104.2 ns/op BenchmarkNonZeroShifts/100/shlVU-4 1333180 90.29 ns/op BenchmarkNonZeroShifts/1000/shrVU-4 131199 916.5 ns/op BenchmarkNonZeroShifts/1000/shlVU-4 158034 755.5 ns/op BenchmarkDecimalConversion-4 205 554065 ns/op BenchmarkFloatString/100-4 10000 10366 ns/op 392 B/op 8 allocs/op BenchmarkFloatString/1000-4 222 520100 ns/op 2899 B/op 9 allocs/op BenchmarkFloatString/10000-4 3 47670133 ns/op 60866 B/op 50 allocs/op BenchmarkFloatString/100000-4 1 4796786035 ns/op 829832 B/op 475 allocs/op BenchmarkFloatAdd/10-4 169702 700.9 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100-4 164653 710.1 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/1000-4 154088 768.2 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/10000-4 86032 1364 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100000-4 17532 6817 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10-4 226453 525.8 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100-4 227322 525.8 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/1000-4 218053 551.3 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10000-4 155220 750.3 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100000-4 45260 2670 ns/op 0 B/op 0 allocs/op BenchmarkParseFloatSmallExp-4 1849 65034 ns/op BenchmarkParseFloatLargeExp-4 424 274189 ns/op BenchmarkGCD10x10/WithoutXY-4 193779 639.1 ns/op BenchmarkGCD10x10/WithXY-4 56578 2098 ns/op BenchmarkGCD10x100/WithoutXY-4 94514 1255 ns/op BenchmarkGCD10x100/WithXY-4 16312 7237 ns/op BenchmarkGCD10x1000/WithoutXY-4 57164 1838 ns/op BenchmarkGCD10x1000/WithXY-4 13368 9144 ns/op BenchmarkGCD100x100/WithoutXY-4 24342 4677 ns/op BenchmarkGCD100x100/WithXY-4 8432 11866 ns/op BenchmarkGCD100x1000/WithoutXY-4 11544 9952 ns/op BenchmarkGCD100x1000/WithXY-4 5529 20085 ns/op BenchmarkGCD1000x1000/WithoutXY-4 2181 55203 ns/op BenchmarkGCD1000x1000/WithXY-4 1099 100829 ns/op BenchmarkHilbert-4 20 5555071 ns/op BenchmarkBinomial-4 13807 8514 ns/op BenchmarkQuoRem-4 20342 6118 ns/op BenchmarkExp-4 14 7627171 ns/op BenchmarkExpMont/Odd-4 123 950236 ns/op 2582 B/op 21 allocs/op BenchmarkExpMont/Even1-4 123 967560 ns/op 3362 B/op 38 allocs/op BenchmarkExpMont/Even2-4 120 1010901 ns/op 3852 B/op 53 allocs/op BenchmarkExpMont/Even3-4 100 1010609 ns/op 3853 B/op 53 allocs/op BenchmarkExpMont/Even4-4 100 1001712 ns/op 3868 B/op 54 allocs/op BenchmarkExpMont/Even8-4 120 1006883 ns/op 3840 B/op 53 allocs/op BenchmarkExpMont/Even32-4 100 1027026 ns/op 3855 B/op 53 allocs/op BenchmarkExpMont/Even64-4 141 835121 ns/op 3643 B/op 54 allocs/op BenchmarkExpMont/Even96-4 139 866385 ns/op 3762 B/op 51 allocs/op BenchmarkExpMont/Even128-4 148 803272 ns/op 3273 B/op 51 allocs/op BenchmarkExpMont/Even255-4 180 659269 ns/op 2935 B/op 47 allocs/op BenchmarkExpMont/SmallEven1-4 454 265029 ns/op 1312 B/op 34 allocs/op BenchmarkExpMont/SmallEven2-4 397 304915 ns/op 1725 B/op 46 allocs/op BenchmarkExpMont/SmallEven3-4 369 304324 ns/op 1752 B/op 48 allocs/op BenchmarkExpMont/SmallEven4-4 387 301873 ns/op 1746 B/op 47 allocs/op BenchmarkExp2-4 14 7619638 ns/op BenchmarkBitset-4 755848 141.8 ns/op BenchmarkBitsetNeg-4 441412 267.0 ns/op BenchmarkBitsetOrig-4 227049 518.7 ns/op BenchmarkBitsetNegOrig-4 155977 791.6 ns/op BenchmarkModSqrt225_Tonelli-4 100 1085674 ns/op BenchmarkModSqrt225_3Mod4-4 364 329617 ns/op BenchmarkModSqrt231_Tonelli-4 100 1124219 ns/op BenchmarkModSqrt231_5Mod8-4 309 384748 ns/op BenchmarkModInverse-4 12090 9663 ns/op BenchmarkSqrt-4 1615 74736 ns/op BenchmarkIntSqr/1-4 1320045 90.80 ns/op BenchmarkIntSqr/2-4 743346 161.9 ns/op BenchmarkIntSqr/3-4 614396 194.6 ns/op BenchmarkIntSqr/5-4 417189 277.8 ns/op BenchmarkIntSqr/8-4 299575 399.5 ns/op BenchmarkIntSqr/10-4 229329 499.4 ns/op BenchmarkIntSqr/20-4 46340 2579 ns/op BenchmarkIntSqr/30-4 34863 3554 ns/op BenchmarkIntSqr/50-4 21622 5451 ns/op BenchmarkIntSqr/80-4 12826 9415 ns/op BenchmarkIntSqr/100-4 8896 12122 ns/op BenchmarkIntSqr/200-4 3424 32153 ns/op BenchmarkIntSqr/300-4 1567 71429 ns/op BenchmarkIntSqr/500-4 766 159928 ns/op BenchmarkIntSqr/800-4 308 386885 ns/op BenchmarkIntSqr/1000-4 222 522619 ns/op BenchmarkDiv/20/10-4 406203 285.9 ns/op BenchmarkDiv/40/20-4 412629 280.8 ns/op BenchmarkDiv/100/50-4 368923 324.9 ns/op BenchmarkDiv/200/100-4 47312 2558 ns/op BenchmarkDiv/400/200-4 46341 2680 ns/op BenchmarkDiv/1000/500-4 37270 3271 ns/op BenchmarkDiv/2000/1000-4 28171 4320 ns/op BenchmarkDiv/20000/10000-4 1026 114285 ns/op BenchmarkDiv/200000/100000-4 26 4631133 ns/op BenchmarkDiv/2000000/1000000-4 1 130627722 ns/op BenchmarkDiv/20000000/10000000-4 1 3776735241 ns/op BenchmarkMul-4 5 24839353 ns/op BenchmarkNatMul/10-4 176503 667.9 ns/op BenchmarkNatMul/100-4 5133 21630 ns/op BenchmarkNatMul/1000-4 166 717244 ns/op BenchmarkZeroShifts/Shl-4 18830 6620 ns/op BenchmarkZeroShifts/ShlSame-4 5307896 21.88 ns/op BenchmarkZeroShifts/Shr-4 20336 6066 ns/op BenchmarkZeroShifts/ShrSame-4 5480733 21.41 ns/op BenchmarkExp3Power/0x10-4 165805 667.9 ns/op BenchmarkExp3Power/0x40-4 145113 776.5 ns/op BenchmarkExp3Power/0x100-4 92469 1285 ns/op BenchmarkExp3Power/0x400-4 39122 2725 ns/op BenchmarkExp3Power/0x1000-4 9386 12461 ns/op BenchmarkExp3Power/0x4000-4 1878 64661 ns/op BenchmarkExp3Power/0x10000-4 201 565656 ns/op BenchmarkExp3Power/0x40000-4 18 6649935 ns/op BenchmarkExp3Power/0x100000-4 2 61052294 ns/op BenchmarkExp3Power/0x400000-4 1 543453801 ns/op BenchmarkFibo-4 3 39967679 ns/op BenchmarkNatSqr/1-4 886512 131.5 ns/op BenchmarkNatSqr/2-4 463764 235.8 ns/op BenchmarkNatSqr/3-4 369030 286.8 ns/op BenchmarkNatSqr/5-4 251529 422.1 ns/op BenchmarkNatSqr/8-4 183229 588.3 ns/op BenchmarkNatSqr/10-4 151480 699.1 ns/op BenchmarkNatSqr/20-4 42435 2610 ns/op BenchmarkNatSqr/30-4 30556 3631 ns/op BenchmarkNatSqr/50-4 19495 6022 ns/op BenchmarkNatSqr/80-4 10000 10009 ns/op BenchmarkNatSqr/100-4 8737 13375 ns/op BenchmarkNatSqr/200-4 3256 34975 ns/op BenchmarkNatSqr/300-4 1424 82893 ns/op BenchmarkNatSqr/500-4 700 162041 ns/op BenchmarkNatSqr/800-4 304 381060 ns/op BenchmarkNatSqr/1000-4 225 498732 ns/op BenchmarkNatSetBytes/8-4 761576 143.5 ns/op BenchmarkNatSetBytes/24-4 210199 529.3 ns/op BenchmarkNatSetBytes/128-4 51093 2222 ns/op BenchmarkNatSetBytes/7-4 803536 133.5 ns/op BenchmarkNatSetBytes/23-4 222463 509.6 ns/op BenchmarkNatSetBytes/127-4 51559 2249 ns/op BenchmarkScanPi-4 241 475275 ns/op BenchmarkStringPiParallel-4 560 184015 ns/op BenchmarkScan/10/Base2-4 41176 2877 ns/op BenchmarkScan/100/Base2-4 4333 24906 ns/op BenchmarkScan/1000/Base2-4 490 243255 ns/op BenchmarkScan/10/Base8-4 99759 1187 ns/op BenchmarkScan/100/Base8-4 13707 8705 ns/op BenchmarkScan/1000/Base8-4 1384 85391 ns/op BenchmarkScan/10/Base10-4 105163 1119 ns/op BenchmarkScan/100/Base10-4 14484 8165 ns/op BenchmarkScan/1000/Base10-4 1531 77786 ns/op BenchmarkScan/10/Base16-4 117304 1009 ns/op BenchmarkScan/100/Base16-4 16648 7200 ns/op BenchmarkScan/1000/Base16-4 1713 69160 ns/op BenchmarkString/10/Base2-4 159307 725.7 ns/op BenchmarkString/100/Base2-4 22882 4864 ns/op BenchmarkString/1000/Base2-4 2114 50096 ns/op BenchmarkString/10/Base8-4 327096 361.8 ns/op BenchmarkString/100/Base8-4 61292 1898 ns/op BenchmarkString/1000/Base8-4 6399 17608 ns/op BenchmarkString/10/Base10-4 207484 586.9 ns/op BenchmarkString/100/Base10-4 36517 3121 ns/op BenchmarkString/1000/Base10-4 4780 25624 ns/op BenchmarkString/10/Base16-4 373466 334.0 ns/op BenchmarkString/100/Base16-4 79484 1508 ns/op BenchmarkString/1000/Base16-4 9187 12701 ns/op BenchmarkLeafSize/0-4 42 2752700 ns/op BenchmarkLeafSize/1-4 368 300258 ns/op BenchmarkLeafSize/2-4 366 308666 ns/op BenchmarkLeafSize/3-4 289 406702 ns/op BenchmarkLeafSize/4-4 387 294802 ns/op BenchmarkLeafSize/5-4 250 454717 ns/op BenchmarkLeafSize/6-4 288 389936 ns/op BenchmarkLeafSize/7-4 295 383365 ns/op BenchmarkLeafSize/8-4 393 290295 ns/op BenchmarkLeafSize/9-4 220 541826 ns/op BenchmarkLeafSize/10-4 253 453617 ns/op BenchmarkLeafSize/11-4 270 425159 ns/op BenchmarkLeafSize/12-4 300 394030 ns/op BenchmarkLeafSize/13-4 266 435403 ns/op BenchmarkLeafSize/14-4 289 377018 ns/op BenchmarkLeafSize/15-4 327 354599 ns/op BenchmarkLeafSize/16-4 397 286547 ns/op BenchmarkLeafSize/32-4 375 293112 ns/op BenchmarkLeafSize/64-4 378 305113 ns/op BenchmarkProbablyPrime/n=0-4 9 12095389 ns/op BenchmarkProbablyPrime/n=1-4 8 13562610 ns/op BenchmarkProbablyPrime/n=5-4 6 19798402 ns/op BenchmarkProbablyPrime/n=10-4 4 27355460 ns/op BenchmarkProbablyPrime/n=20-4 3 42417403 ns/op BenchmarkProbablyPrime/Lucas-4 10 10451691 ns/op BenchmarkProbablyPrime/MillerRabinBase2-4 75 1563687 ns/op BenchmarkRatCmp-4 196041 549.6 ns/op BenchmarkFloatSqrt/64-4 21084 5464 ns/op 208 B/op 5 allocs/op BenchmarkFloatSqrt/128-4 13527 8663 ns/op 256 B/op 5 allocs/op BenchmarkFloatSqrt/256-4 9535 12105 ns/op 352 B/op 5 allocs/op BenchmarkFloatSqrt/1000-4 4626 24975 ns/op 1312 B/op 6 allocs/op BenchmarkFloatSqrt/10000-4 792 149064 ns/op 18050 B/op 9 allocs/op BenchmarkFloatSqrt/100000-4 54 1932225 ns/op 173477 B/op 19 allocs/op BenchmarkFloatSqrt/1000000-4 1 154723193 ns/op 3834624 B/op 639 allocs/op PASS ok math/big 50.881s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: math/bits cpu: AMD EPYC 7B12 BenchmarkLeadingZeros-4 11628291 9.438 ns/op BenchmarkLeadingZeros8-4 10316830 12.12 ns/op BenchmarkLeadingZeros16-4 11842776 9.973 ns/op BenchmarkLeadingZeros32-4 11773882 10.37 ns/op BenchmarkLeadingZeros64-4 12720921 9.206 ns/op BenchmarkTrailingZeros-4 12827132 9.173 ns/op BenchmarkTrailingZeros8-4 10481586 10.91 ns/op BenchmarkTrailingZeros16-4 10203726 10.86 ns/op BenchmarkTrailingZeros32-4 12447992 9.722 ns/op BenchmarkTrailingZeros64-4 12752622 9.226 ns/op BenchmarkOnesCount-4 10234454 9.868 ns/op BenchmarkOnesCount8-4 11530236 11.63 ns/op BenchmarkOnesCount16-4 13012321 9.139 ns/op BenchmarkOnesCount32-4 11537962 9.189 ns/op BenchmarkOnesCount64-4 11252434 9.765 ns/op BenchmarkRotateLeft-4 11939206 9.667 ns/op BenchmarkRotateLeft8-4 13082313 9.934 ns/op BenchmarkRotateLeft16-4 11299234 9.865 ns/op BenchmarkRotateLeft32-4 12810098 9.131 ns/op BenchmarkRotateLeft64-4 11503244 9.184 ns/op BenchmarkReverse-4 20180924 5.309 ns/op BenchmarkReverse8-4 23051703 4.745 ns/op BenchmarkReverse16-4 22206434 4.674 ns/op BenchmarkReverse32-4 21109664 5.021 ns/op BenchmarkReverse64-4 20479911 5.360 ns/op BenchmarkReverseBytes-4 23322259 5.564 ns/op BenchmarkReverseBytes16-4 23058524 4.693 ns/op BenchmarkReverseBytes32-4 24017874 4.672 ns/op BenchmarkReverseBytes64-4 24075891 4.678 ns/op BenchmarkAdd-4 13039596 10.07 ns/op BenchmarkAdd32-4 11664654 10.73 ns/op BenchmarkAdd64-4 12792004 10.12 ns/op BenchmarkAdd64multiple-4 22724259 5.002 ns/op BenchmarkSub-4 12752012 9.806 ns/op BenchmarkSub32-4 12114616 10.07 ns/op BenchmarkSub64-4 11747374 9.468 ns/op BenchmarkSub64multiple-4 22262545 5.046 ns/op BenchmarkMul-4 12473209 9.370 ns/op BenchmarkMul32-4 12302848 10.11 ns/op BenchmarkMul64-4 12270468 9.754 ns/op BenchmarkDiv-4 12967352 9.448 ns/op BenchmarkDiv32-4 12342404 9.234 ns/op BenchmarkDiv64-4 12700686 9.185 ns/op PASS ok math/bits 6.511s goos: linux goarch: amd64 pkg: math/cmplx cpu: AMD EPYC 7B12 BenchmarkAbs-4 13504359 8.760 ns/op BenchmarkAcos-4 672608 161.3 ns/op BenchmarkAcosh-4 667308 174.9 ns/op BenchmarkAsin-4 758317 161.5 ns/op BenchmarkAsinh-4 713724 168.0 ns/op BenchmarkAtan-4 1204317 99.36 ns/op BenchmarkAtanh-4 1000000 101.8 ns/op BenchmarkConj-4 18769740 6.247 ns/op BenchmarkCos-4 749338 151.2 ns/op BenchmarkCosh-4 745257 147.0 ns/op BenchmarkExp-4 948699 125.6 ns/op BenchmarkLog-4 1517716 80.27 ns/op BenchmarkLog10-4 1495684 79.75 ns/op BenchmarkPhase-4 3268165 35.51 ns/op BenchmarkPolar-4 2303368 52.59 ns/op BenchmarkPow-4 306050 371.9 ns/op BenchmarkRect-4 1391666 84.93 ns/op BenchmarkSin-4 813360 146.4 ns/op BenchmarkSinh-4 800634 146.4 ns/op BenchmarkSqrt-4 1535877 78.00 ns/op BenchmarkTan-4 509284 223.8 ns/op BenchmarkTanh-4 533726 224.7 ns/op PASS ok math/cmplx 4.190s goos: linux goarch: amd64 pkg: math/rand cpu: AMD EPYC 7B12 BenchmarkInt63Threadsafe-4 990850 105.1 ns/op BenchmarkInt63ThreadsafeParallel-4 791922 133.4 ns/op BenchmarkInt63Unthreadsafe-4 1504906 81.36 ns/op BenchmarkIntn1000-4 1000000 104.5 ns/op BenchmarkInt63n1000-4 1320416 90.41 ns/op BenchmarkInt31n1000-4 1286802 96.75 ns/op BenchmarkFloat32-4 1312377 91.54 ns/op BenchmarkFloat64-4 1532469 77.97 ns/op BenchmarkPerm3-4 272619 421.9 ns/op BenchmarkPerm30-4 31447 3837 ns/op BenchmarkPerm30ViaShuffle-4 31644 3841 ns/op BenchmarkShuffleOverhead-4 22380 5342 ns/op BenchmarkRead3-4 1000000 101.1 ns/op BenchmarkRead64-4 100543 1141 ns/op BenchmarkRead1000-4 6104 17191 ns/op BenchmarkConcurrent-4 355749 510.1 ns/op PASS ok math/rand 3.538s goos: linux goarch: amd64 pkg: mime cpu: AMD EPYC 7B12 BenchmarkQEncodeWord-4 62143 1973 ns/op BenchmarkQDecodeWord-4 151551 801.0 ns/op BenchmarkQDecodeHeader-4 134047 859.1 ns/op BenchmarkTypeByExtension/.html-4 606463 207.9 ns/op BenchmarkTypeByExtension/.HTML-4 412852 264.2 ns/op BenchmarkTypeByExtension/.unused-4 516602 221.7 ns/op BenchmarkExtensionsByType/text/html-4 204584 523.9 ns/op BenchmarkExtensionsByType/text/html;_charset=utf-8-4 107404 1145 ns/op BenchmarkExtensionsByType/application/octet-stream-4 164455 792.7 ns/op PASS ok mime 2.450s goos: linux goarch: amd64 pkg: mime/multipart cpu: AMD EPYC 7B12 BenchmarkReadForm/fields/maxMemory=0-4 956 122924 ns/op 48073 B/op 187 allocs/op BenchmarkReadForm/fields/maxMemory=1048576-4 907 123460 ns/op 47799 B/op 187 allocs/op BenchmarkReadForm/files/maxMemory=0-4 369 297838 ns/op 103733 B/op 270 allocs/op BenchmarkReadForm/files/maxMemory=1048576-4 771 160048 ns/op 49687 B/op 207 allocs/op PASS ok mime/multipart 1.561s goos: linux goarch: amd64 pkg: mime/quotedprintable cpu: AMD EPYC 7B12 BenchmarkWriter-4 1327 83154 ns/op PASS ok mime/quotedprintable 1.132s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: net cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkGoLookupIP-4 52 2566334 ns/op 8582 B/op 91 allocs/op BenchmarkGoLookupIPNoSuchHost-4 1 123357715 ns/op 20216 B/op 163 allocs/op BenchmarkGoLookupIPWithBrokenNameServer-4 1 5003203568 ns/op 158752 B/op 230 allocs/op BenchmarkDNSName-4 103329 1011 ns/op BenchmarkInterfaces-4 705 152906 ns/op 16754 B/op 42 allocs/op BenchmarkInterfaceByIndex-4 854 123248 ns/op 12376 B/op 25 allocs/op BenchmarkInterfaceByName-4 758 145715 ns/op 16971 B/op 43 allocs/op BenchmarkInterfaceAddrs-4 480 226235 ns/op 22959 B/op 103 allocs/op BenchmarkInterfacesAndAddrs-4 1801 64909 ns/op 3932 B/op 33 allocs/op BenchmarkInterfacesAndMulticastAddrs-4 406 286700 ns/op 137591 B/op 51 allocs/op BenchmarkParseIP-4 5967 19003 ns/op BenchmarkParseIPValidIPv4-4 359577 317.0 ns/op BenchmarkParseIPValidIPv6-4 182216 644.6 ns/op BenchmarkIPString/IPv4-4 112369 1062 ns/op 32 B/op 2 allocs/op BenchmarkIPString/IPv6-4 10260 11452 ns/op 216 B/op 11 allocs/op BenchmarkIPMaskString-4 44053 2574 ns/op BenchmarkIPEqual/IPv4-4 1171814 103.5 ns/op BenchmarkIPEqual/IPv6-4 1164826 98.86 ns/op BenchmarkSendFile/1024-4 1 1211474284 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/2048-4 1 1206181181 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/4096-4 1 1206309940 ns/op 0.00 MB/s 616 B/op 12 allocs/op BenchmarkSendFile/8192-4 1 1205964466 ns/op 0.01 MB/s 712 B/op 13 allocs/op BenchmarkSendFile/16384-4 1 1206293804 ns/op 0.01 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/32768-4 1 1020837473 ns/op 0.03 MB/s 616 B/op 12 allocs/op BenchmarkSendFile/65536-4 1 1020800489 ns/op 0.06 MB/s 616 B/op 12 allocs/op BenchmarkSendFile/131072-4 1 1021894866 ns/op 0.13 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/262144-4 1 1021958939 ns/op 0.26 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/524288-4 1 1023394313 ns/op 0.51 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/1048576-4 1 1026340517 ns/op 1.02 MB/s 520 B/op 11 allocs/op BenchmarkSplice/tcp-to-tcp/1024-4 1 1021041109 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/2048-4 1 1020911664 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/4096-4 1 1020758540 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/8192-4 1 1021081587 ns/op 0.01 MB/s BenchmarkSplice/tcp-to-tcp/16384-4 1 1021335050 ns/op 0.02 MB/s BenchmarkSplice/tcp-to-tcp/32768-4 1 1021121635 ns/op 0.03 MB/s BenchmarkSplice/tcp-to-tcp/65536-4 1 1021566079 ns/op 0.06 MB/s BenchmarkSplice/tcp-to-tcp/131072-4 1 1021563787 ns/op 0.13 MB/s BenchmarkSplice/tcp-to-tcp/262144-4 1 1021594786 ns/op 0.26 MB/s BenchmarkSplice/tcp-to-tcp/524288-4 1 1023336132 ns/op 0.51 MB/s BenchmarkSplice/tcp-to-tcp/1048576-4 1 1026099583 ns/op 1.02 MB/s BenchmarkSplice/unix-to-tcp/1024-4 1 1021240314 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/2048-4 1 1020628805 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/4096-4 1 1021456276 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/8192-4 1 1021315873 ns/op 0.01 MB/s BenchmarkSplice/unix-to-tcp/16384-4 1 1021025231 ns/op 0.02 MB/s BenchmarkSplice/unix-to-tcp/32768-4 1 1021246638 ns/op 0.03 MB/s BenchmarkSplice/unix-to-tcp/65536-4 1 1021152282 ns/op 0.06 MB/s BenchmarkSplice/unix-to-tcp/131072-4 1 1021395393 ns/op 0.13 MB/s BenchmarkSplice/unix-to-tcp/262144-4 1 1021838768 ns/op 0.26 MB/s BenchmarkSplice/unix-to-tcp/524288-4 1 1022974523 ns/op 0.51 MB/s BenchmarkSplice/unix-to-tcp/1048576-4 1 1026158528 ns/op 1.02 MB/s BenchmarkSpliceFile/tcp-to-file/1024-4 1 1021011599 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/2048-4 1 1020983776 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/4096-4 1 1021156108 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/8192-4 1 1020854690 ns/op 0.01 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/16384-4 1 1020907751 ns/op 0.02 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/tcp-to-file/32768-4 1 1021822467 ns/op 0.03 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/65536-4 1 1021177127 ns/op 0.06 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/131072-4 1 1021666659 ns/op 0.13 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/262144-4 1 1022019483 ns/op 0.26 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/tcp-to-file/524288-4 1 1023398542 ns/op 0.51 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/tcp-to-file/1048576-4 1 1026098891 ns/op 1.02 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/1024-4 1 1020686537 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/2048-4 1 1020833433 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/4096-4 1 1020877224 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/8192-4 1 1020975963 ns/op 0.01 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/16384-4 1 1020908916 ns/op 0.02 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/32768-4 1 1020756764 ns/op 0.03 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/65536-4 1 1020603332 ns/op 0.06 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/131072-4 1 1021612080 ns/op 0.13 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/262144-4 1 1021882896 ns/op 0.26 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/524288-4 1 1023307663 ns/op 0.51 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/1048576-4 1 1025678312 ns/op 1.02 MB/s 896 B/op 8 allocs/op BenchmarkTCP4OneShot-4 1192 84944 ns/op BenchmarkTCP4OneShotTimeout-4 1222 93435 ns/op BenchmarkTCP4Persistent-4 8292 13652 ns/op BenchmarkTCP4PersistentTimeout-4 7669 14030 ns/op BenchmarkTCP6OneShot-4 1621 78482 ns/op BenchmarkTCP6OneShotTimeout-4 1473 74420 ns/op BenchmarkTCP6Persistent-4 8910 15734 ns/op BenchmarkTCP6PersistentTimeout-4 8658 15170 ns/op BenchmarkTCP4ConcurrentReadWrite-4 16194 8289 ns/op BenchmarkTCP6ConcurrentReadWrite-4 24039 6898 ns/op BenchmarkSetReadDeadline-4 111538 916.5 ns/op BenchmarkReadWriteMsgUDPAddrPort-4 5984 19864 ns/op 0 B/op 0 allocs/op BenchmarkWriteToReadFromUDP-4 6283 18835 ns/op 16 B/op 1 allocs/op BenchmarkWriteToReadFromUDPAddrPort-4 6049 19268 ns/op 0 B/op 0 allocs/op PASS ok net 68.308s goos: linux goarch: amd64 pkg: net/http cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCookieString-4 27918 4298 ns/op 176 B/op 1 allocs/op BenchmarkReadSetCookies-4 10734 10692 ns/op 1168 B/op 21 allocs/op BenchmarkReadCookies-4 12590 9155 ns/op 1840 B/op 11 allocs/op BenchmarkHeaderWriteSubset-4 18741 6498 ns/op 46 B/op 0 allocs/op BenchmarkCopyValues-4 28341 3656 ns/op 736 B/op 11 allocs/op BenchmarkHexEscapeNonASCII-4 50040 2335 ns/op 192 B/op 2 allocs/op BenchmarkServerMatch-4 861612 134.4 ns/op BenchmarkReadRequestChrome-4 3744 30419 ns/op 20.09 MB/s 1476 B/op 14 allocs/op BenchmarkReadRequestCurl-4 11116 10624 ns/op 7.34 MB/s 924 B/op 9 allocs/op BenchmarkReadRequestApachebench-4 11104 10705 ns/op 7.66 MB/s 923 B/op 9 allocs/op BenchmarkReadRequestSiege-4 7402 15804 ns/op 9.55 MB/s 1019 B/op 11 allocs/op BenchmarkReadRequestWrk-4 16482 6962 ns/op 5.75 MB/s 860 B/op 7 allocs/op BenchmarkFileAndServer_1KB/h1-4 259 417984 ns/op 2.45 MB/s BenchmarkFileAndServer_1KB/https1-4 195 551449 ns/op 1.86 MB/s BenchmarkFileAndServer_1KB/h2-4 120 872881 ns/op 1.17 MB/s BenchmarkFileAndServer_16MB/h1-4 2 56811132 ns/op 295.32 MB/s BenchmarkFileAndServer_16MB/https1-4 1 153067734 ns/op 109.61 MB/s BenchmarkFileAndServer_16MB/h2-4 1 229860644 ns/op 72.99 MB/s BenchmarkFileAndServer_64MB/h1-4 1 208243178 ns/op 322.26 MB/s BenchmarkFileAndServer_64MB/https1-4 1 445600145 ns/op 150.60 MB/s BenchmarkFileAndServer_64MB/h2-4 1 933453527 ns/op 71.89 MB/s BenchmarkServeMux-4 261 490821 ns/op 17280 B/op 360 allocs/op BenchmarkServeMux_SkipServe-4 348 360692 ns/op 0 B/op 0 allocs/op BenchmarkClientServer/h1-4 279 391251 ns/op 5969 B/op 64 allocs/op BenchmarkClientServer/https1-4 222 566799 ns/op 6604 B/op 75 allocs/op BenchmarkClientServer/h2-4 142 748303 ns/op 10155 B/op 84 allocs/op BenchmarkClientServerParallel/4/h1-4 830 136950 ns/op 10000 B/op 79 allocs/op BenchmarkClientServerParallel/4/https1-4 30 4887015 ns/op 87733 B/op 965 allocs/op --- BENCH: BenchmarkClientServerParallel/4/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:37570: read tcp 127.0.0.1:44537->127.0.0.1:37570: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:47344: read tcp 127.0.0.1:40573->127.0.0.1:47344: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:47350: read tcp 127.0.0.1:40573->127.0.0.1:47350: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:47332: write tcp 127.0.0.1:40573->127.0.0.1:47332: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:47378: write tcp 127.0.0.1:40573->127.0.0.1:47378: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:47318: write tcp 127.0.0.1:40573->127.0.0.1:47318: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:47386: write tcp 127.0.0.1:40573->127.0.0.1:47386: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:38258: read tcp 127.0.0.1:40087->127.0.0.1:38258: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:38380: read tcp 127.0.0.1:40087->127.0.0.1:38380: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:38434: read tcp 127.0.0.1:40087->127.0.0.1:38434: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/4/h2-4 187 535370 ns/op 17465 B/op 175 allocs/op --- BENCH: BenchmarkClientServerParallel/4/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:34292: write tcp 127.0.0.1:36567->127.0.0.1:34292: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:34298: write tcp 127.0.0.1:36567->127.0.0.1:34298: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51150: read tcp 127.0.0.1:36111->127.0.0.1:51150: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51110: write tcp 127.0.0.1:36111->127.0.0.1:51110: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51138: write tcp 127.0.0.1:36111->127.0.0.1:51138: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51164: read tcp 127.0.0.1:36111->127.0.0.1:51164: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51170: write tcp 127.0.0.1:36111->127.0.0.1:51170: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51122: write tcp 127.0.0.1:36111->127.0.0.1:51122: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51172: write tcp 127.0.0.1:36111->127.0.0.1:51172: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:37516: read tcp 127.0.0.1:41985->127.0.0.1:37516: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h1-4 471 347834 ns/op 22664 B/op 116 allocs/op BenchmarkClientServerParallel/64/https1-4 21 5963088 ns/op 113016 B/op 1216 allocs/op --- BENCH: BenchmarkClientServerParallel/64/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:56528: read tcp 127.0.0.1:46691->127.0.0.1:56528: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:43158: read tcp 127.0.0.1:32809->127.0.0.1:43158: use of closed network connection BenchmarkClientServerParallel/64/h2-4 42 2914472 ns/op 60700 B/op 682 allocs/op --- BENCH: BenchmarkClientServerParallel/64/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:53644: write tcp 127.0.0.1:41361->127.0.0.1:53644: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:53628: write tcp 127.0.0.1:41361->127.0.0.1:53628: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35606: read tcp 127.0.0.1:39379->127.0.0.1:35606: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35610: write tcp 127.0.0.1:39379->127.0.0.1:35610: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35690: read tcp 127.0.0.1:39379->127.0.0.1:35690: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35666: read tcp 127.0.0.1:39379->127.0.0.1:35666: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35680: read tcp 127.0.0.1:39379->127.0.0.1:35680: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35642: read tcp 127.0.0.1:39379->127.0.0.1:35642: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35614: read tcp 127.0.0.1:39379->127.0.0.1:35614: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35630: read tcp 127.0.0.1:39379->127.0.0.1:35630: use of closed network connection ... [output truncated] BenchmarkServer-4 1 1042437569 ns/op 28544 B/op 145 allocs/op BenchmarkClient-4 232 504744 ns/op 3745 B/op 45 allocs/op BenchmarkServerFakeConnNoKeepAlive-4 589 226944 ns/op 7466 B/op 54 allocs/op BenchmarkServerFakeConnWithKeepAlive-4 1107 106480 ns/op 3041 B/op 24 allocs/op BenchmarkServerFakeConnWithKeepAliveLite-4 1249 82798 ns/op 1915 B/op 14 allocs/op BenchmarkServerHandlerTypeLen-4 1236 89662 ns/op 2743 B/op 21 allocs/op BenchmarkServerHandlerNoLen-4 1412 82550 ns/op 2682 B/op 19 allocs/op BenchmarkServerHandlerNoType-4 1225 87247 ns/op 2749 B/op 20 allocs/op BenchmarkServerHandlerNoHeader-4 1447 77164 ns/op 1907 B/op 14 allocs/op BenchmarkServerHijack-4 735 145846 ns/op 16710 B/op 50 allocs/op BenchmarkCloseNotifier/h1-4 302 409373 ns/op 5574 B/op 52 allocs/op BenchmarkResponseStatusLine-4 437943 256.4 ns/op 0 B/op 0 allocs/op PASS ok net/http 15.923s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: net/http/httputil cpu: AMD EPYC 7B12 BenchmarkServeHTTP-4 8137 15008 ns/op 34072 B/op 12 allocs/op PASS ok net/http/httputil 1.208s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: net/netip cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkIPNextPrev-4 83502 1374 ns/op BenchmarkBinaryMarshalRoundTrip/ipv4-4 560341 192.4 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6-4 184208 636.5 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6+zone-4 67888 1780 ns/op BenchmarkStdIPv4-4 117607 992.7 ns/op 16 B/op 1 allocs/op BenchmarkIPv4-4 83906 1418 ns/op 0 B/op 0 allocs/op BenchmarkIPv4_inline-4 89132 1339 ns/op 0 B/op 0 allocs/op BenchmarkStdIPv6-4 76545 1575 ns/op 16 B/op 1 allocs/op BenchmarkIPv6-4 66901 1760 ns/op 0 B/op 0 allocs/op BenchmarkIPv4Contains-4 1551884 77.49 ns/op 0 B/op 0 allocs/op BenchmarkIPv6Contains-4 1406944 86.53 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v4-4 1295854 93.38 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6-4 269881 436.2 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_ellipsis-4 301315 398.7 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_v4-4 268335 440.5 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_zone-4 85572 1398 ns/op 0 B/op 0 allocs/op BenchmarkStdParseIP/v4-4 280429 435.4 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6-4 151302 801.5 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_ellipsis-4 150867 768.1 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_v4-4 135489 819.1 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_zone-4 77122 1542 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v4-4 345015 345.7 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v6-4 109294 1004 ns/op 48 B/op 1 allocs/op BenchmarkIPString/v6_ellipsis-4 168477 759.4 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_v4-4 246302 485.9 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_zone-4 146342 788.6 ns/op 24 B/op 1 allocs/op BenchmarkIPStringExpanded/v4-4 301969 385.9 ns/op 16 B/op 1 allocs/op BenchmarkIPStringExpanded/v6-4 145220 800.4 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_ellipsis-4 146330 802.1 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_v4-4 141188 805.4 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_zone-4 106324 1029 ns/op 128 B/op 2 allocs/op BenchmarkIPMarshalText-4 428229 270.1 ns/op 16 B/op 1 allocs/op BenchmarkAddrPortString/v4-4 145075 746.5 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortString/v6-4 85930 1350 ns/op 112 B/op 3 allocs/op BenchmarkAddrPortString/v6_ellipsis-4 104102 1061 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_v4-4 143294 820.6 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_zone-4 108300 1124 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortMarshalText/v4-4 262218 443.9 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6-4 111469 1021 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_ellipsis-4 141961 866.5 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_v4-4 176212 638.4 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_zone-4 129252 930.9 ns/op 64 B/op 1 allocs/op BenchmarkPrefixMasking/IPv4_/32-4 1000000 109.3 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/17-4 1000000 114.7 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/0-4 1000000 114.8 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/128-4 974700 118.8 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/65-4 978865 118.8 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/0-4 976933 118.7 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/128-4 1000000 118.5 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/65-4 967729 119.0 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/0-4 918650 118.8 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMarshalText-4 339248 357.3 ns/op 24 B/op 1 allocs/op BenchmarkParseAddrPort/v4-4 547653 200.5 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6-4 205696 562.5 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_ellipsis-4 227938 519.5 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_v4-4 206671 576.5 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_zone-4 78522 1534 ns/op 0 B/op 0 allocs/op BenchmarkAs16-4 522619 226.5 ns/op PASS ok net/netip 8.779s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. 2023/05/25 18:15:39 Test RPC server listening on 127.0.0.1:40447 2023/05/25 18:15:39 Test HTTP RPC server listening on 127.0.0.1:35097 goos: linux goarch: amd64 pkg: net/rpc cpu: AMD EPYC 7B12 BenchmarkEndToEnd-4 1706 73475 ns/op BenchmarkEndToEndHTTP-4 1545 70138 ns/op BenchmarkEndToEndAsync-4 3506 36303 ns/op BenchmarkEndToEndAsyncHTTP-4 3428 31989 ns/op PASS ok net/rpc 1.779s goos: linux goarch: amd64 pkg: net/textproto cpu: AMD EPYC 7B12 BenchmarkReadMIMEHeader/client_headers-4 5541 21562 ns/op BenchmarkReadMIMEHeader/server_headers-4 7983 15102 ns/op BenchmarkUncommon-4 35320 3134 ns/op 464 B/op 5 allocs/op PASS ok net/textproto 1.600s goos: linux goarch: amd64 pkg: net/url cpu: AMD EPYC 7B12 BenchmarkString-4 6282 16679 ns/op 1616 B/op 60 allocs/op BenchmarkResolvePath-4 141586 854.6 ns/op 32 B/op 2 allocs/op BenchmarkQueryEscape/#00-4 902264 133.2 ns/op 16 B/op 1 allocs/op BenchmarkQueryEscape/#01-4 133909 885.7 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#02-4 244291 474.3 ns/op 32 B/op 1 allocs/op BenchmarkQueryEscape/#03-4 117657 1027 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#04-4 20799 5647 ns/op 832 B/op 2 allocs/op BenchmarkPathEscape/#00-4 587184 202.4 ns/op 16 B/op 1 allocs/op BenchmarkPathEscape/#01-4 128593 913.1 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#02-4 235804 479.7 ns/op 32 B/op 1 allocs/op BenchmarkPathEscape/#03-4 117836 1007 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#04-4 22353 5297 ns/op 704 B/op 2 allocs/op BenchmarkQueryUnescape/#00-4 240718 463.0 ns/op 16 B/op 1 allocs/op BenchmarkQueryUnescape/#01-4 107565 1130 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#02-4 104646 1179 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#03-4 47102 2555 ns/op 64 B/op 1 allocs/op BenchmarkQueryUnescape/#04-4 7699 14202 ns/op 320 B/op 1 allocs/op BenchmarkPathUnescape/#00-4 272166 450.9 ns/op 16 B/op 1 allocs/op BenchmarkPathUnescape/#01-4 111312 1065 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#02-4 99703 1151 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#03-4 46063 2588 ns/op 64 B/op 1 allocs/op BenchmarkPathUnescape/#04-4 7370 13963 ns/op 320 B/op 1 allocs/op PASS ok net/url 4.149s goos: linux goarch: amd64 pkg: os cpu: AMD EPYC 7B12 BenchmarkExpand/noop-4 4288478 27.47 ns/op 0 B/op 0 allocs/op BenchmarkExpand/multiple-4 260041 443.2 ns/op 48 B/op 2 allocs/op BenchmarkReaddirname-4 1064 101123 ns/op --- BENCH: BenchmarkReaddirname-4 os_test.go:512: benchmarkReaddirname ".": 130 entries os_test.go:512: benchmarkReaddirname ".": 130 entries os_test.go:512: benchmarkReaddirname ".": 130 entries BenchmarkReaddir-4 385 300895 ns/op --- BENCH: BenchmarkReaddir-4 os_test.go:529: benchmarkReaddir ".": 130 entries os_test.go:529: benchmarkReaddir ".": 130 entries os_test.go:529: benchmarkReaddir ".": 130 entries BenchmarkReadDir-4 934 128604 ns/op --- BENCH: BenchmarkReadDir-4 os_test.go:546: benchmarkReadDir ".": 130 entries os_test.go:546: benchmarkReadDir ".": 130 entries os_test.go:546: benchmarkReadDir ".": 130 entries BenchmarkStatDot-4 99912 1117 ns/op BenchmarkStatFile-4 81216 1494 ns/op BenchmarkStatDir-4 85653 1394 ns/op BenchmarkLstatDot-4 103582 1178 ns/op BenchmarkLstatFile-4 82639 1425 ns/op BenchmarkLstatDir-4 87564 1367 ns/op PASS ok os 2.506s goos: linux goarch: amd64 pkg: os/exec cpu: AMD EPYC 7B12 BenchmarkExecHostname-4 261 455956 ns/op 6761 B/op 30 allocs/op PASS ok os/exec 1.179s goos: linux goarch: amd64 pkg: os/user cpu: AMD EPYC 7B12 BenchmarkCurrent-4 661321 176.0 ns/op PASS ok os/user 1.225s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: reflect cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkBool-4 3793171 31.20 ns/op BenchmarkString-4 2294245 52.49 ns/op BenchmarkBytes-4 1907397 62.68 ns/op BenchmarkNamedBytes-4 996466 112.6 ns/op BenchmarkBytesArray-4 724237 166.5 ns/op BenchmarkSliceLen-4 2110888 57.23 ns/op BenchmarkMapLen-4 849121 131.3 ns/op BenchmarkStringLen-4 1835930 64.78 ns/op BenchmarkArrayLen-4 1293225 92.51 ns/op BenchmarkSliceCap-4 2413969 49.40 ns/op BenchmarkDeepEqual/int8-4 456265 258.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int8-4 95404 1258 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int16-4 381385 312.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int16-4 92436 1305 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int32-4 380394 314.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int32-4 91860 1304 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int64-4 364060 314.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int64-4 90129 1306 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int-4 369607 315.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int-4 91165 1297 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint8-4 421742 266.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8-4 122932 989.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint16-4 371775 320.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint16-4 89461 1302 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint32-4 369909 321.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint32-4 88933 1325 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint64-4 369308 327.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint64-4 91383 1310 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint-4 372888 324.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint-4 90070 1329 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uintptr-4 378730 313.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uintptr-4 86997 1337 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float32-4 384822 312.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float32-4 92157 1296 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float64-4 372915 319.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float64-4 90678 1310 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex64-4 382120 312.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex64-4 91867 1298 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex128-4 378562 314.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex128-4 90878 1332 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/bool-4 449308 260.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]bool-4 94172 1269 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/string-4 394734 309.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]string-4 91191 1305 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8#01-4 120831 989.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][]uint8-4 60560 2007 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[6]uint8-4 46232 2594 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][6]uint8-4 33578 3575 ns/op 0 B/op 0 allocs/op BenchmarkIsZero/ArrayComparable-4 250296 470.1 ns/op BenchmarkIsZero/ArrayIncomparable-4 30132 3956 ns/op BenchmarkIsZero/StructComparable-4 543950 216.8 ns/op BenchmarkIsZero/StructIncomparable-4 139005 869.7 ns/op BenchmarkSetZero/Bool/Direct-4 4318526 27.80 ns/op BenchmarkSetZero/Bool/CachedZero-4 831582 140.6 ns/op BenchmarkSetZero/Bool/NewZero-4 641457 184.7 ns/op BenchmarkSetZero/Int/Direct-4 2596306 47.76 ns/op BenchmarkSetZero/Int/CachedZero-4 754004 140.9 ns/op BenchmarkSetZero/Int/NewZero-4 628746 184.1 ns/op BenchmarkSetZero/Uint/Direct-4 2596155 46.83 ns/op BenchmarkSetZero/Uint/CachedZero-4 839720 141.1 ns/op BenchmarkSetZero/Uint/NewZero-4 646950 185.1 ns/op BenchmarkSetZero/Float/Direct-4 2594971 45.77 ns/op BenchmarkSetZero/Float/CachedZero-4 853017 141.1 ns/op BenchmarkSetZero/Float/NewZero-4 638251 183.6 ns/op BenchmarkSetZero/Complex/Direct-4 2625417 45.61 ns/op BenchmarkSetZero/Complex/CachedZero-4 816456 140.1 ns/op BenchmarkSetZero/Complex/NewZero-4 607384 185.4 ns/op BenchmarkSetZero/Array/Direct-4 2222511 53.61 ns/op BenchmarkSetZero/Array/CachedZero-4 780381 140.7 ns/op BenchmarkSetZero/Array/NewZero-4 595092 185.5 ns/op BenchmarkSetZero/Chan/Direct-4 2630083 45.96 ns/op BenchmarkSetZero/Chan/CachedZero-4 823384 138.8 ns/op BenchmarkSetZero/Chan/NewZero-4 626601 180.1 ns/op BenchmarkSetZero/Func/Direct-4 2624766 45.60 ns/op BenchmarkSetZero/Func/CachedZero-4 868394 137.6 ns/op BenchmarkSetZero/Func/NewZero-4 643428 179.3 ns/op BenchmarkSetZero/Interface/Direct-4 2437790 49.36 ns/op BenchmarkSetZero/Interface/CachedZero-4 839636 140.5 ns/op BenchmarkSetZero/Interface/NewZero-4 634308 185.5 ns/op BenchmarkSetZero/Map/Direct-4 2631956 45.63 ns/op BenchmarkSetZero/Map/CachedZero-4 850542 138.3 ns/op BenchmarkSetZero/Map/NewZero-4 656370 179.4 ns/op BenchmarkSetZero/Pointer/Direct-4 2616756 45.63 ns/op BenchmarkSetZero/Pointer/CachedZero-4 856648 138.2 ns/op BenchmarkSetZero/Pointer/NewZero-4 647035 180.7 ns/op BenchmarkSetZero/Slice/Direct-4 2283171 51.88 ns/op BenchmarkSetZero/Slice/CachedZero-4 846458 140.5 ns/op BenchmarkSetZero/Slice/NewZero-4 593853 187.0 ns/op BenchmarkSetZero/String/Direct-4 2638974 45.59 ns/op BenchmarkSetZero/String/CachedZero-4 803418 141.6 ns/op BenchmarkSetZero/String/NewZero-4 633286 185.3 ns/op BenchmarkSetZero/Struct/Direct-4 2257500 53.09 ns/op BenchmarkSetZero/Struct/CachedZero-4 829225 140.8 ns/op BenchmarkSetZero/Struct/NewZero-4 634171 186.3 ns/op BenchmarkSelect/1-4 142208 810.3 ns/op 80 B/op 5 allocs/op BenchmarkSelect/4-4 63381 1818 ns/op 208 B/op 8 allocs/op BenchmarkSelect/8-4 31167 3483 ns/op 672 B/op 13 allocs/op BenchmarkCall-4 242590 488.8 ns/op 0 B/op 0 allocs/op BenchmarkCallMethod-4 165931 729.6 ns/op 0 B/op 0 allocs/op BenchmarkCallArgCopy/size=128-4 107089 1046 ns/op 122.33 MB/s BenchmarkCallArgCopy/size=256-4 128744 1084 ns/op 236.21 MB/s BenchmarkCallArgCopy/size=1024-4 96729 1297 ns/op 789.44 MB/s BenchmarkCallArgCopy/size=4096-4 41313 3099 ns/op 1321.83 MB/s BenchmarkCallArgCopy/size=65536-4 3486 45446 ns/op 1442.06 MB/s BenchmarkFieldByName1-4 952273 106.1 ns/op BenchmarkFieldByName2-4 80509 1620 ns/op BenchmarkFieldByName3-4 8076 12833 ns/op BenchmarkInterfaceBig-4 4064628 33.05 ns/op BenchmarkInterfaceSmall-4 4099060 28.55 ns/op BenchmarkNew-4 1861382 62.51 ns/op BenchmarkMap/StringKeys/MapIndex-4 2282 51506 ns/op 0 B/op 0 allocs/op BenchmarkMap/StringKeys/SetMapIndex-4 1920 62827 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/MapIndex-4 2235 52361 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/SetMapIndex-4 1906 62385 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/MapIndex-4 2258 51334 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/SetMapIndex-4 1921 62529 ns/op 0 B/op 0 allocs/op BenchmarkMapIterNext-4 209737 524.5 ns/op PASS ok reflect 17.529s goos: linux goarch: amd64 pkg: regexp cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFind-4 12933 9536 ns/op 9412 B/op 1 allocs/op BenchmarkFindAllNoMatches-4 15416 7319 ns/op 9507 B/op 1 allocs/op BenchmarkFindString-4 13054 9117 ns/op 9361 B/op 1 allocs/op BenchmarkFindSubmatch-4 9678 11054 ns/op 9346 B/op 2 allocs/op BenchmarkFindStringSubmatch-4 10000 10054 ns/op 9379 B/op 2 allocs/op BenchmarkLiteral-4 20480 6098 ns/op BenchmarkNotLiteral-4 4598 27357 ns/op BenchmarkMatchClass-4 3379 35951 ns/op BenchmarkMatchClass_InRange-4 3205 35478 ns/op BenchmarkReplaceAll-4 2958 41635 ns/op BenchmarkAnchoredLiteralShortNonMatch-4 18457 5559 ns/op BenchmarkAnchoredLiteralLongNonMatch-4 33416 3295 ns/op BenchmarkAnchoredShortMatch-4 15400 7397 ns/op BenchmarkAnchoredLongMatch-4 19363 6115 ns/op BenchmarkOnePassShortA-4 21018 5761 ns/op BenchmarkNotOnePassShortA-4 7718 14943 ns/op BenchmarkOnePassShortB-4 27072 4422 ns/op BenchmarkNotOnePassShortB-4 9188 12767 ns/op BenchmarkOnePassLongPrefix-4 85269 1431 ns/op BenchmarkOnePassLongNotPrefix-4 29406 4147 ns/op BenchmarkMatchParallelShared-4 17540 6941 ns/op BenchmarkMatchParallelCopied-4 21957 4778 ns/op BenchmarkQuoteMetaAll-4 139905 809.1 ns/op 17.30 MB/s BenchmarkQuoteMetaNone-4 286778 401.2 ns/op 64.80 MB/s BenchmarkCompile/Onepass-4 3573 31252 ns/op 4144 B/op 52 allocs/op BenchmarkCompile/Medium-4 1540 77825 ns/op 9704 B/op 112 allocs/op BenchmarkCompile/Hard-4 186 641831 ns/op 84760 B/op 424 allocs/op BenchmarkMatch/Easy0/16-4 3995316 30.47 ns/op 525.16 MB/s BenchmarkMatch/Easy0/32-4 19376 5873 ns/op 5.45 MB/s BenchmarkMatch/Easy0/1K-4 5605 19542 ns/op 52.40 MB/s BenchmarkMatch/Easy0i/16-4 3931218 30.58 ns/op 523.22 MB/s BenchmarkMatch/Easy0i/32-4 4800 22658 ns/op 1.41 MB/s BenchmarkMatch/Easy0i/1K-4 259 453723 ns/op 2.26 MB/s BenchmarkMatch/Easy1/16-4 3890977 30.70 ns/op 521.10 MB/s BenchmarkMatch/Easy1/32-4 17564 7045 ns/op 4.54 MB/s BenchmarkMatch/Easy1/1K-4 4556 26289 ns/op 38.95 MB/s BenchmarkMatch/Medium/16-4 3805248 30.71 ns/op 520.97 MB/s BenchmarkMatch/Medium/32-4 4845 20661 ns/op 1.55 MB/s BenchmarkMatch/Medium/1K-4 289 423285 ns/op 2.42 MB/s BenchmarkMatch/Hard/16-4 3820207 30.84 ns/op 518.84 MB/s BenchmarkMatch/Hard/32-4 3504 31299 ns/op 1.02 MB/s BenchmarkMatch/Hard/1K-4 172 690821 ns/op 1.48 MB/s BenchmarkMatch/Hard1/16-4 1448 84080 ns/op 0.19 MB/s BenchmarkMatch/Hard1/32-4 770 155538 ns/op 0.21 MB/s BenchmarkMatch/Hard1/1K-4 24 4506852 ns/op 0.23 MB/s BenchmarkMatch_onepass_regex/16-4 29852 3983 ns/op 4.02 MB/s 24 B/op 0 allocs/op BenchmarkMatch_onepass_regex/32-4 17830 6698 ns/op 4.78 MB/s 24 B/op 0 allocs/op BenchmarkMatch_onepass_regex/1K-4 684 174177 ns/op 5.88 MB/s 24 B/op 0 allocs/op PASS ok regexp 8.603s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: regexp/syntax cpu: AMD EPYC 7B12 BenchmarkEmptyOpContext-4 848925 131.2 ns/op BenchmarkIsWordChar-4 230364 517.8 ns/op PASS ok regexp/syntax 2.025s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: runtime cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCallers/cached-4 70916 1697 ns/op BenchmarkCallers/inlined-4 54061 2210 ns/op BenchmarkCallers/no-cache-4 10000 10325 ns/op BenchmarkFPCallers/cached-4 2748517 43.66 ns/op BenchmarkMakeChan/Byte-4 1070720 94.56 ns/op BenchmarkMakeChan/Int-4 1000000 127.6 ns/op BenchmarkMakeChan/Ptr-4 656916 210.0 ns/op BenchmarkMakeChan/Struct/0-4 1167454 88.83 ns/op BenchmarkMakeChan/Struct/32-4 559292 230.7 ns/op BenchmarkMakeChan/Struct/40-4 476498 330.8 ns/op BenchmarkChanNonblocking-4 11301446 9.555 ns/op BenchmarkSelectUncontended-4 891328 129.0 ns/op BenchmarkSelectSyncContended-4 21301 5434 ns/op BenchmarkSelectAsyncContended-4 89680 1222 ns/op BenchmarkSelectNonblock-4 6056623 18.11 ns/op BenchmarkChanUncontended-4 10324 11542 ns/op BenchmarkChanContended-4 1094 117309 ns/op BenchmarkChanSync-4 147964 802.8 ns/op BenchmarkChanSyncWork-4 10000 33211 ns/op BenchmarkChanProdCons0-4 83318 1553 ns/op BenchmarkChanProdCons10-4 84907 1492 ns/op BenchmarkChanProdCons100-4 91617 1327 ns/op BenchmarkChanProdConsWork0-4 77074 1730 ns/op BenchmarkChanProdConsWork10-4 67188 1722 ns/op BenchmarkChanProdConsWork100-4 79431 1406 ns/op BenchmarkSelectProdCons-4 68212 1773 ns/op BenchmarkReceiveDataFromClosedChan-4 676062 185.1 ns/op BenchmarkChanCreation-4 280012 455.6 ns/op BenchmarkChanSem-4 111298 1020 ns/op BenchmarkChanPopular-4 115 1088315 ns/op BenchmarkChanClosed-4 756148 201.5 ns/op BenchmarkCallClosure-4 5790790 19.99 ns/op BenchmarkCallClosure1-4 6266208 19.10 ns/op BenchmarkCallClosure2-4 1353799 86.89 ns/op BenchmarkCallClosure3-4 1518732 78.43 ns/op BenchmarkCallClosure4-4 1284279 85.62 ns/op BenchmarkComplex128DivNormal-4 9566481 11.63 ns/op BenchmarkComplex128DivNisNaN-4 7268290 15.59 ns/op BenchmarkComplex128DivDisNaN-4 7485025 15.24 ns/op BenchmarkComplex128DivNisInf-4 9696892 11.60 ns/op BenchmarkComplex128DivDisInf-4 5589817 20.69 ns/op BenchmarkSetTypePtr-4 41288205 2.916 ns/op 2743.62 MB/s BenchmarkSetTypePtr8-4 10025954 12.05 ns/op 5312.37 MB/s BenchmarkSetTypePtr16-4 9965656 12.03 ns/op 10637.51 MB/s BenchmarkSetTypePtr32-4 10053064 12.07 ns/op 21217.35 MB/s BenchmarkSetTypePtr64-4 9868735 11.97 ns/op 42762.18 MB/s BenchmarkSetTypePtr126-4 5669847 21.08 ns/op 47822.10 MB/s BenchmarkSetTypePtr128-4 5348385 20.40 ns/op 50192.83 MB/s BenchmarkSetTypePtrSlice-4 664797 170.4 ns/op 48067.70 MB/s BenchmarkSetTypeNode1-4 9988190 12.01 ns/op 1997.58 MB/s BenchmarkSetTypeNode1Slice-4 2935291 41.16 ns/op 18659.25 MB/s BenchmarkSetTypeNode8-4 10018350 17.57 ns/op 4553.84 MB/s BenchmarkSetTypeNode8Slice-4 1483165 80.91 ns/op 31641.23 MB/s BenchmarkSetTypeNode64-4 5669950 21.08 ns/op 25049.87 MB/s BenchmarkSetTypeNode64Slice-4 215898 551.8 ns/op 30617.08 MB/s BenchmarkSetTypeNode64Dead-4 7345606 16.36 ns/op 32266.46 MB/s BenchmarkSetTypeNode64DeadSlice-4 241636 484.5 ns/op 34869.80 MB/s BenchmarkSetTypeNode124-4 5689270 21.10 ns/op 47775.40 MB/s BenchmarkSetTypeNode124Slice-4 165644 711.7 ns/op 45322.22 MB/s BenchmarkSetTypeNode126-4 5893693 20.31 ns/op 50410.69 MB/s BenchmarkSetTypeNode126Slice-4 164271 723.8 ns/op 45272.67 MB/s BenchmarkSetTypeNode128-4 3972225 30.14 ns/op 34500.22 MB/s BenchmarkSetTypeNode128Slice-4 135640 883.9 ns/op 37653.22 MB/s BenchmarkSetTypeNode130-4 3972530 30.56 ns/op 34559.00 MB/s BenchmarkSetTypeNode130Slice-4 134436 894.6 ns/op 37772.51 MB/s BenchmarkSetTypeNode1024-4 733962 164.3 ns/op 49960.33 MB/s BenchmarkSetTypeNode1024Slice-4 23395 5108 ns/op 51419.78 MB/s BenchmarkAllocation-4 3169 39283 ns/op BenchmarkReadMemStats-4 4789 29270 ns/op BenchmarkReadMemStatsLatency-4 1 87977 p50-ns 87977 p90-ns 87977 p99-ns BenchmarkWriteBarrier-4 2650120 60.10 ns/op BenchmarkBulkWriteBarrier-4 6179595 16.78 ns/op BenchmarkScanStackNoLocals-4 2 53171161 ns/op BenchmarkMSpanCountAlloc/bits=64-4 10878892 10.77 ns/op BenchmarkMSpanCountAlloc/bits=128-4 9205860 11.58 ns/op BenchmarkMSpanCountAlloc/bits=256-4 8909781 13.61 ns/op BenchmarkMSpanCountAlloc/bits=512-4 6766570 17.49 ns/op BenchmarkMSpanCountAlloc/bits=1024-4 4765184 25.58 ns/op BenchmarkHash5-4 6174033 19.50 ns/op 256.35 MB/s BenchmarkHash16-4 5959287 19.32 ns/op 828.13 MB/s BenchmarkHash64-4 5994984 18.61 ns/op 3439.65 MB/s BenchmarkHash1024-4 1843172 64.05 ns/op 15987.61 MB/s BenchmarkHash65536-4 40033 3018 ns/op 21718.60 MB/s BenchmarkAlignedLoad-4 7231522 16.23 ns/op BenchmarkUnalignedLoad-4 7281390 16.47 ns/op BenchmarkEqEfaceConcrete-4 5484291 21.82 ns/op BenchmarkEqIfaceConcrete-4 6243030 19.39 ns/op BenchmarkNeEfaceConcrete-4 6104192 19.68 ns/op BenchmarkNeIfaceConcrete-4 6100071 19.87 ns/op BenchmarkConvT2EByteSized/bool-4 5923068 19.99 ns/op BenchmarkConvT2EByteSized/uint8-4 6178580 19.66 ns/op BenchmarkConvT2ESmall-4 5540368 21.41 ns/op BenchmarkConvT2EUintptr-4 5373013 22.26 ns/op BenchmarkConvT2ELarge-4 1000000 107.7 ns/op BenchmarkConvT2ISmall-4 5377064 22.27 ns/op BenchmarkConvT2IUintptr-4 5228008 22.54 ns/op BenchmarkConvT2ILarge-4 1000000 108.5 ns/op BenchmarkConvI2E-4 4654686 25.70 ns/op BenchmarkConvI2I-4 4217563 28.45 ns/op BenchmarkAssertE2T-4 4427727 27.06 ns/op BenchmarkAssertE2TLarge-4 2499970 49.36 ns/op BenchmarkAssertE2I-4 4144534 28.71 ns/op BenchmarkAssertI2T-4 4169260 29.07 ns/op BenchmarkAssertI2I-4 4213384 28.34 ns/op BenchmarkAssertI2E-4 5780449 20.58 ns/op BenchmarkAssertE2E-4 5549281 22.19 ns/op BenchmarkAssertE2T2-4 3385171 35.55 ns/op BenchmarkAssertE2T2Blank-4 4183267 28.78 ns/op BenchmarkAssertI2E2-4 4387222 27.60 ns/op BenchmarkAssertI2E2Blank-4 5927012 20.27 ns/op BenchmarkAssertE2E2-4 4341210 27.28 ns/op BenchmarkAssertE2E2Blank-4 5888086 20.23 ns/op BenchmarkConvT2Ezero/zero/16-4 5591485 21.62 ns/op BenchmarkConvT2Ezero/zero/32-4 5285260 22.38 ns/op BenchmarkConvT2Ezero/zero/64-4 5366247 22.32 ns/op BenchmarkConvT2Ezero/zero/str-4 5044752 23.17 ns/op BenchmarkConvT2Ezero/zero/slice-4 5423224 22.14 ns/op BenchmarkConvT2Ezero/zero/big-4 255493 446.5 ns/op BenchmarkConvT2Ezero/nonzero/str-4 995467 104.0 ns/op BenchmarkConvT2Ezero/nonzero/slice-4 1215150 94.45 ns/op BenchmarkConvT2Ezero/nonzero/big-4 260642 441.8 ns/op BenchmarkConvT2Ezero/smallint/16-4 5267080 22.70 ns/op BenchmarkConvT2Ezero/smallint/32-4 5331552 22.28 ns/op BenchmarkConvT2Ezero/smallint/64-4 5345691 22.30 ns/op BenchmarkConvT2Ezero/largeint/16-4 1722784 68.18 ns/op BenchmarkConvT2Ezero/largeint/32-4 1748584 67.42 ns/op BenchmarkConvT2Ezero/largeint/64-4 1684802 70.38 ns/op BenchmarkMalloc8-4 1544186 80.70 ns/op BenchmarkMalloc16-4 1374849 81.68 ns/op BenchmarkMallocTypeInfo8-4 1389690 78.71 ns/op BenchmarkMallocTypeInfo16-4 1000000 105.4 ns/op BenchmarkMallocLargeStruct-4 159565 631.8 ns/op BenchmarkGoroutineSelect-4 64 1760475 ns/op BenchmarkGoroutineBlocking-4 67 1775819 ns/op BenchmarkGoroutineForRange-4 92 1726246 ns/op BenchmarkGoroutineIdle-4 100 1522001 ns/op BenchmarkHashStringSpeed-4 2281154 54.99 ns/op BenchmarkHashBytesSpeed-4 1402632 81.39 ns/op BenchmarkHashInt32Speed-4 2846058 40.55 ns/op BenchmarkHashInt64Speed-4 3171973 37.27 ns/op BenchmarkHashStringArraySpeed-4 568621 198.8 ns/op BenchmarkMegMap-4 3049875 39.05 ns/op BenchmarkMegOneMap-4 4022334 29.55 ns/op BenchmarkMegEqMap-4 1947 61717 ns/op BenchmarkMegEmptyMap-4 4615971 26.18 ns/op BenchmarkSmallStrMap-4 3173622 36.76 ns/op BenchmarkMapStringKeysEight_16-4 3243792 36.22 ns/op BenchmarkMapStringKeysEight_32-4 3368366 35.36 ns/op BenchmarkMapStringKeysEight_64-4 3264363 36.03 ns/op BenchmarkMapStringKeysEight_1M-4 3258046 36.15 ns/op BenchmarkIntMap-4 3890404 31.38 ns/op BenchmarkMapFirst/1-4 4548890 25.78 ns/op BenchmarkMapFirst/2-4 4395211 26.66 ns/op BenchmarkMapFirst/3-4 4527620 25.63 ns/op BenchmarkMapFirst/4-4 4528485 26.89 ns/op BenchmarkMapFirst/5-4 4319446 27.18 ns/op BenchmarkMapFirst/6-4 4348672 27.59 ns/op BenchmarkMapFirst/7-4 4375249 27.17 ns/op BenchmarkMapFirst/8-4 4285347 26.07 ns/op BenchmarkMapFirst/9-4 3794811 30.49 ns/op BenchmarkMapFirst/10-4 3813643 32.76 ns/op BenchmarkMapFirst/11-4 3901610 31.25 ns/op BenchmarkMapFirst/12-4 3928015 31.23 ns/op BenchmarkMapFirst/13-4 3894190 30.53 ns/op BenchmarkMapFirst/14-4 3768308 30.92 ns/op BenchmarkMapFirst/15-4 3808888 30.90 ns/op BenchmarkMapFirst/16-4 3653398 31.57 ns/op BenchmarkMapMid/1-4 3538681 31.20 ns/op BenchmarkMapMid/2-4 3617744 32.05 ns/op BenchmarkMapMid/3-4 3698782 32.16 ns/op BenchmarkMapMid/4-4 3542491 33.66 ns/op BenchmarkMapMid/5-4 3607456 32.85 ns/op BenchmarkMapMid/6-4 3480348 33.93 ns/op BenchmarkMapMid/7-4 3625400 34.13 ns/op BenchmarkMapMid/8-4 3439779 34.82 ns/op BenchmarkMapMid/9-4 3188466 35.36 ns/op BenchmarkMapMid/10-4 3150243 37.29 ns/op BenchmarkMapMid/11-4 3076123 36.61 ns/op BenchmarkMapMid/12-4 3050168 37.62 ns/op BenchmarkMapMid/13-4 3126529 35.28 ns/op BenchmarkMapMid/14-4 3263144 36.47 ns/op BenchmarkMapMid/15-4 3192487 35.67 ns/op BenchmarkMapMid/16-4 3137726 37.14 ns/op BenchmarkMapLast/1-4 3816458 31.35 ns/op BenchmarkMapLast/2-4 3687472 32.39 ns/op BenchmarkMapLast/3-4 3744454 32.96 ns/op BenchmarkMapLast/4-4 3476684 34.34 ns/op BenchmarkMapLast/5-4 3650265 33.02 ns/op BenchmarkMapLast/6-4 3184987 34.73 ns/op BenchmarkMapLast/7-4 3489393 34.14 ns/op BenchmarkMapLast/8-4 3258252 36.81 ns/op BenchmarkMapLast/9-4 3181198 37.51 ns/op BenchmarkMapLast/10-4 2832087 40.71 ns/op BenchmarkMapLast/11-4 3023960 40.93 ns/op BenchmarkMapLast/12-4 3071154 41.11 ns/op BenchmarkMapLast/13-4 3307108 37.16 ns/op BenchmarkMapLast/14-4 3115005 36.10 ns/op BenchmarkMapLast/15-4 3364989 35.68 ns/op BenchmarkMapLast/16-4 2966187 41.42 ns/op BenchmarkMapCycle-4 2075176 57.39 ns/op BenchmarkRepeatedLookupStrMapKey32-4 2908912 43.19 ns/op BenchmarkRepeatedLookupStrMapKey1M-4 2455 48725 ns/op BenchmarkMakeMap/[Byte]Byte-4 565488 184.4 ns/op BenchmarkMakeMap/[Int]Int-4 346584 325.7 ns/op BenchmarkNewEmptyMap-4 11458106 9.496 ns/op 0 B/op 0 allocs/op BenchmarkNewSmallMap-4 1601755 78.07 ns/op 0 B/op 0 allocs/op BenchmarkMapIter-4 448284 254.4 ns/op BenchmarkMapIterEmpty-4 5490142 21.82 ns/op BenchmarkSameLengthMap-4 3833848 30.58 ns/op BenchmarkBigKeyMap-4 1601684 75.05 ns/op BenchmarkBigValMap-4 1557138 79.16 ns/op BenchmarkSmallKeyMap-4 2820384 42.37 ns/op BenchmarkMapPopulate/1-4 2249304 54.00 ns/op 0 B/op 0 allocs/op BenchmarkMapPopulate/10-4 120237 939.2 ns/op 179 B/op 1 allocs/op BenchmarkMapPopulate/100-4 6990 16777 ns/op 6272 B/op 15 allocs/op BenchmarkMapPopulate/1000-4 735 157215 ns/op 51753 B/op 55 allocs/op BenchmarkMapPopulate/10000-4 46 2768379 ns/op 416122 B/op 201 allocs/op BenchmarkMapPopulate/100000-4 3 40352449 ns/op 6522104 B/op 2842 allocs/op BenchmarkComplexAlgMap-4 428086 249.5 ns/op BenchmarkGoMapClear/Reflexive/1-4 643766 181.1 ns/op BenchmarkGoMapClear/Reflexive/10-4 565412 196.2 ns/op BenchmarkGoMapClear/Reflexive/100-4 223486 533.8 ns/op BenchmarkGoMapClear/Reflexive/1000-4 39753 3017 ns/op BenchmarkGoMapClear/Reflexive/10000-4 5065 23801 ns/op BenchmarkGoMapClear/NonReflexive/1-4 518528 223.1 ns/op BenchmarkGoMapClear/NonReflexive/10-4 462079 247.4 ns/op BenchmarkGoMapClear/NonReflexive/100-4 206402 586.4 ns/op BenchmarkGoMapClear/NonReflexive/1000-4 38611 3045 ns/op BenchmarkGoMapClear/NonReflexive/10000-4 5020 24485 ns/op BenchmarkMapStringConversion/32/simple-4 1728654 67.79 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/struct-4 1711731 70.12 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/array-4 1569603 74.14 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/simple-4 1640396 71.89 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/struct-4 1579922 77.46 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/array-4 1452633 82.40 ns/op 0 B/op 0 allocs/op BenchmarkMapInterfaceString-4 1801392 76.27 ns/op BenchmarkMapInterfacePtr-4 2052903 60.29 ns/op BenchmarkNewEmptyMapHintLessThan8-4 4430530 26.80 ns/op 0 B/op 0 allocs/op BenchmarkNewEmptyMapHintGreaterThan8-4 149096 961.2 ns/op 1152 B/op 1 allocs/op BenchmarkMapPop100-4 5191 22773 ns/op BenchmarkMapPop1000-4 388 313266 ns/op BenchmarkMapPop10000-4 18 6300765 ns/op BenchmarkMapAssign/Int32/256-4 2335393 51.50 ns/op BenchmarkMapAssign/Int32/65536-4 1118481 101.7 ns/op BenchmarkMapAssign/Int64/256-4 2312000 51.58 ns/op BenchmarkMapAssign/Int64/65536-4 835452 121.5 ns/op BenchmarkMapAssign/Str/256-4 1858558 65.13 ns/op BenchmarkMapAssign/Str/65536-4 406933 252.8 ns/op BenchmarkMapOperatorAssign/Int32/256-4 1460964 82.37 ns/op BenchmarkMapOperatorAssign/Int32/65536-4 670441 176.1 ns/op BenchmarkMapOperatorAssign/Int64/256-4 1464378 83.41 ns/op BenchmarkMapOperatorAssign/Int64/65536-4 545294 200.1 ns/op BenchmarkMapOperatorAssign/Str/256-4 434238 2154 ns/op BenchmarkMapOperatorAssign/Str/65536-4 122650 858.7 ns/op BenchmarkMapAppendAssign/Int32/256-4 659479 206.3 ns/op 33 B/op 0 allocs/op BenchmarkMapAppendAssign/Int32/65536-4 161779 676.5 ns/op 72 B/op 1 allocs/op BenchmarkMapAppendAssign/Int64/256-4 702310 203.1 ns/op 31 B/op 0 allocs/op BenchmarkMapAppendAssign/Int64/65536-4 138954 789.6 ns/op 88 B/op 1 allocs/op BenchmarkMapAppendAssign/Str/256-4 578175 281.2 ns/op 53 B/op 0 allocs/op BenchmarkMapAppendAssign/Str/65536-4 89365 1373 ns/op 157 B/op 1 allocs/op BenchmarkMapDelete/Int32/100-4 1000000 161.0 ns/op BenchmarkMapDelete/Int32/1000-4 1910078 63.21 ns/op BenchmarkMapDelete/Int32/10000-4 1702866 68.37 ns/op BenchmarkMapDelete/Int64/100-4 1776746 89.86 ns/op BenchmarkMapDelete/Int64/1000-4 1889347 62.68 ns/op BenchmarkMapDelete/Int64/10000-4 1598301 73.06 ns/op BenchmarkMapDelete/Str/100-4 1256817 84.97 ns/op BenchmarkMapDelete/Str/1000-4 1258645 81.75 ns/op BenchmarkMapDelete/Str/10000-4 1000000 100.1 ns/op BenchmarkMapDelete/Pointer/100-4 1552244 77.24 ns/op BenchmarkMapDelete/Pointer/1000-4 1671920 72.41 ns/op BenchmarkMapDelete/Pointer/10000-4 1368021 87.00 ns/op BenchmarkMemmove/0-4 14170194 8.452 ns/op BenchmarkMemmove/1-4 1998363 59.72 ns/op 16.75 MB/s BenchmarkMemmove/2-4 1966549 62.96 ns/op 31.77 MB/s BenchmarkMemmove/3-4 1942506 61.45 ns/op 48.82 MB/s BenchmarkMemmove/4-4 1910628 62.43 ns/op 64.07 MB/s BenchmarkMemmove/5-4 1930519 62.35 ns/op 80.19 MB/s BenchmarkMemmove/6-4 1919815 61.94 ns/op 96.86 MB/s BenchmarkMemmove/7-4 1921180 60.80 ns/op 115.13 MB/s BenchmarkMemmove/8-4 2108319 58.45 ns/op 136.86 MB/s BenchmarkMemmove/9-4 1859466 66.13 ns/op 136.09 MB/s BenchmarkMemmove/10-4 1816022 66.81 ns/op 149.68 MB/s BenchmarkMemmove/11-4 1807806 64.38 ns/op 170.86 MB/s BenchmarkMemmove/12-4 1770114 65.23 ns/op 183.97 MB/s BenchmarkMemmove/13-4 1863780 65.70 ns/op 197.88 MB/s BenchmarkMemmove/14-4 1867754 65.87 ns/op 212.53 MB/s BenchmarkMemmove/15-4 1828764 64.30 ns/op 233.28 MB/s BenchmarkMemmove/16-4 1964096 59.53 ns/op 268.79 MB/s BenchmarkMemmove/32-4 1865485 63.96 ns/op 500.29 MB/s BenchmarkMemmove/64-4 1727343 70.33 ns/op 910.00 MB/s BenchmarkMemmove/128-4 1430162 82.84 ns/op 1545.09 MB/s BenchmarkMemmove/256-4 880478 129.6 ns/op 1975.83 MB/s BenchmarkMemmove/512-4 594925 185.2 ns/op 2763.95 MB/s BenchmarkMemmove/1024-4 411440 286.4 ns/op 3575.38 MB/s BenchmarkMemmove/2048-4 245290 481.2 ns/op 4256.30 MB/s BenchmarkMemmove/4096-4 131773 883.6 ns/op 4635.60 MB/s BenchmarkMemmoveOverlap/32-4 1896097 65.13 ns/op 491.34 MB/s BenchmarkMemmoveOverlap/64-4 1710657 70.43 ns/op 908.67 MB/s BenchmarkMemmoveOverlap/128-4 1441345 84.50 ns/op 1514.80 MB/s BenchmarkMemmoveOverlap/256-4 916348 129.7 ns/op 1973.77 MB/s BenchmarkMemmoveOverlap/512-4 656382 178.0 ns/op 2876.82 MB/s BenchmarkMemmoveOverlap/1024-4 426024 275.1 ns/op 3722.81 MB/s BenchmarkMemmoveOverlap/2048-4 242517 493.7 ns/op 4148.42 MB/s BenchmarkMemmoveOverlap/4096-4 130388 901.0 ns/op 4546.23 MB/s BenchmarkMemmoveUnalignedDst/0-4 13275079 8.988 ns/op BenchmarkMemmoveUnalignedDst/1-4 2006673 59.45 ns/op 16.82 MB/s BenchmarkMemmoveUnalignedDst/2-4 1920861 63.13 ns/op 31.68 MB/s BenchmarkMemmoveUnalignedDst/3-4 1887567 62.72 ns/op 47.83 MB/s BenchmarkMemmoveUnalignedDst/4-4 1866739 62.92 ns/op 63.57 MB/s BenchmarkMemmoveUnalignedDst/5-4 1937948 62.61 ns/op 79.86 MB/s BenchmarkMemmoveUnalignedDst/6-4 1918772 62.73 ns/op 95.64 MB/s BenchmarkMemmoveUnalignedDst/7-4 1920906 63.98 ns/op 109.41 MB/s BenchmarkMemmoveUnalignedDst/8-4 2011219 58.44 ns/op 136.89 MB/s BenchmarkMemmoveUnalignedDst/9-4 1811756 66.45 ns/op 135.43 MB/s BenchmarkMemmoveUnalignedDst/10-4 1815963 66.09 ns/op 151.31 MB/s BenchmarkMemmoveUnalignedDst/11-4 1809070 65.55 ns/op 167.80 MB/s BenchmarkMemmoveUnalignedDst/12-4 1815096 65.39 ns/op 183.50 MB/s BenchmarkMemmoveUnalignedDst/13-4 1821109 65.58 ns/op 198.23 MB/s BenchmarkMemmoveUnalignedDst/14-4 1842699 65.95 ns/op 212.28 MB/s BenchmarkMemmoveUnalignedDst/15-4 1804386 64.89 ns/op 231.14 MB/s BenchmarkMemmoveUnalignedDst/16-4 1819872 65.04 ns/op 246.01 MB/s BenchmarkMemmoveUnalignedDst/32-4 1735050 69.22 ns/op 462.27 MB/s BenchmarkMemmoveUnalignedDst/64-4 1618116 72.79 ns/op 879.22 MB/s BenchmarkMemmoveUnalignedDst/128-4 1370013 87.11 ns/op 1469.36 MB/s BenchmarkMemmoveUnalignedDst/256-4 870962 129.3 ns/op 1980.49 MB/s BenchmarkMemmoveUnalignedDst/512-4 623007 189.5 ns/op 2701.32 MB/s BenchmarkMemmoveUnalignedDst/1024-4 387842 305.6 ns/op 3350.31 MB/s BenchmarkMemmoveUnalignedDst/2048-4 243486 500.1 ns/op 4095.46 MB/s BenchmarkMemmoveUnalignedDst/4096-4 129496 926.5 ns/op 4420.81 MB/s BenchmarkMemmoveUnalignedDstOverlap/32-4 1696839 69.84 ns/op 458.20 MB/s BenchmarkMemmoveUnalignedDstOverlap/64-4 1559124 80.51 ns/op 794.94 MB/s BenchmarkMemmoveUnalignedDstOverlap/128-4 1343379 89.30 ns/op 1433.29 MB/s BenchmarkMemmoveUnalignedDstOverlap/256-4 961400 117.9 ns/op 2170.69 MB/s BenchmarkMemmoveUnalignedDstOverlap/512-4 570602 195.1 ns/op 2624.72 MB/s BenchmarkMemmoveUnalignedDstOverlap/1024-4 399217 300.2 ns/op 3410.75 MB/s BenchmarkMemmoveUnalignedDstOverlap/2048-4 234579 507.6 ns/op 4034.65 MB/s BenchmarkMemmoveUnalignedDstOverlap/4096-4 131298 914.2 ns/op 4480.32 MB/s BenchmarkMemmoveUnalignedSrc/0-4 13140872 9.191 ns/op BenchmarkMemmoveUnalignedSrc/1-4 1936454 60.10 ns/op 16.64 MB/s BenchmarkMemmoveUnalignedSrc/2-4 1918478 63.38 ns/op 31.56 MB/s BenchmarkMemmoveUnalignedSrc/3-4 1894491 61.46 ns/op 48.81 MB/s BenchmarkMemmoveUnalignedSrc/4-4 1883089 63.81 ns/op 62.68 MB/s BenchmarkMemmoveUnalignedSrc/5-4 1866105 63.86 ns/op 78.30 MB/s BenchmarkMemmoveUnalignedSrc/6-4 1877700 64.30 ns/op 93.32 MB/s BenchmarkMemmoveUnalignedSrc/7-4 1880167 63.67 ns/op 109.95 MB/s BenchmarkMemmoveUnalignedSrc/8-4 2026129 58.84 ns/op 135.95 MB/s BenchmarkMemmoveUnalignedSrc/9-4 1759532 65.00 ns/op 138.46 MB/s BenchmarkMemmoveUnalignedSrc/10-4 1813389 65.78 ns/op 152.02 MB/s BenchmarkMemmoveUnalignedSrc/11-4 1836411 65.30 ns/op 168.46 MB/s BenchmarkMemmoveUnalignedSrc/12-4 1806378 65.82 ns/op 182.32 MB/s BenchmarkMemmoveUnalignedSrc/13-4 1795597 66.63 ns/op 195.12 MB/s BenchmarkMemmoveUnalignedSrc/14-4 1852098 67.32 ns/op 207.97 MB/s BenchmarkMemmoveUnalignedSrc/15-4 1826902 66.46 ns/op 225.70 MB/s BenchmarkMemmoveUnalignedSrc/16-4 1831101 65.62 ns/op 243.83 MB/s BenchmarkMemmoveUnalignedSrc/32-4 1729495 68.73 ns/op 465.59 MB/s BenchmarkMemmoveUnalignedSrc/64-4 1548856 77.35 ns/op 827.38 MB/s BenchmarkMemmoveUnalignedSrc/128-4 1386006 86.32 ns/op 1482.90 MB/s BenchmarkMemmoveUnalignedSrc/256-4 1053476 111.2 ns/op 2302.94 MB/s BenchmarkMemmoveUnalignedSrc/512-4 624759 188.4 ns/op 2717.20 MB/s BenchmarkMemmoveUnalignedSrc/1024-4 403887 296.0 ns/op 3458.89 MB/s BenchmarkMemmoveUnalignedSrc/2048-4 235368 501.5 ns/op 4083.91 MB/s BenchmarkMemmoveUnalignedSrc/4096-4 128288 928.8 ns/op 4409.77 MB/s BenchmarkMemmoveUnalignedSrcOverlap/32-4 1755006 67.40 ns/op 474.79 MB/s BenchmarkMemmoveUnalignedSrcOverlap/64-4 1641500 73.46 ns/op 871.17 MB/s BenchmarkMemmoveUnalignedSrcOverlap/128-4 1395270 85.31 ns/op 1500.33 MB/s BenchmarkMemmoveUnalignedSrcOverlap/256-4 918602 129.1 ns/op 1982.91 MB/s BenchmarkMemmoveUnalignedSrcOverlap/512-4 653551 182.0 ns/op 2813.29 MB/s BenchmarkMemmoveUnalignedSrcOverlap/1024-4 408678 294.1 ns/op 3481.58 MB/s BenchmarkMemmoveUnalignedSrcOverlap/2048-4 238195 491.3 ns/op 4168.12 MB/s BenchmarkMemmoveUnalignedSrcOverlap/4096-4 133633 900.2 ns/op 4550.03 MB/s BenchmarkMemclr/5-4 13172030 9.102 ns/op 549.32 MB/s BenchmarkMemclr/16-4 12671428 9.508 ns/op 1682.79 MB/s BenchmarkMemclr/64-4 11798659 10.24 ns/op 6252.83 MB/s BenchmarkMemclr/256-4 10638052 11.33 ns/op 22592.13 MB/s BenchmarkMemclr/4096-4 1677319 71.40 ns/op 57364.53 MB/s BenchmarkMemclr/65536-4 41947 2860 ns/op 22914.15 MB/s BenchmarkMemclr/1M-4 2371 49312 ns/op 21263.95 MB/s BenchmarkMemclr/4M-4 636 198464 ns/op 21133.78 MB/s BenchmarkMemclr/8M-4 294 405351 ns/op 20694.68 MB/s BenchmarkMemclr/16M-4 134 843174 ns/op 19897.68 MB/s BenchmarkMemclr/64M-4 26 4253596 ns/op 15776.97 MB/s BenchmarkMemclrUnaligned/0_5-4 7186159 16.72 ns/op 298.98 MB/s BenchmarkMemclrUnaligned/0_16-4 7015837 17.09 ns/op 936.30 MB/s BenchmarkMemclrUnaligned/0_64-4 6892760 17.41 ns/op 3675.85 MB/s BenchmarkMemclrUnaligned/0_256-4 6362803 18.98 ns/op 13486.28 MB/s BenchmarkMemclrUnaligned/0_4096-4 1598431 74.74 ns/op 54805.65 MB/s BenchmarkMemclrUnaligned/0_65536-4 40948 2840 ns/op 23080.11 MB/s BenchmarkMemclrUnaligned/1_5-4 7122897 16.71 ns/op 299.20 MB/s BenchmarkMemclrUnaligned/1_16-4 6997592 17.18 ns/op 931.57 MB/s BenchmarkMemclrUnaligned/1_64-4 6798022 17.47 ns/op 3664.16 MB/s BenchmarkMemclrUnaligned/1_256-4 6269317 19.12 ns/op 13386.63 MB/s BenchmarkMemclrUnaligned/1_4096-4 914502 130.8 ns/op 31303.64 MB/s BenchmarkMemclrUnaligned/1_65536-4 42435 2734 ns/op 23967.10 MB/s BenchmarkMemclrUnaligned/4_5-4 7167448 16.73 ns/op 298.90 MB/s BenchmarkMemclrUnaligned/4_16-4 7016434 17.11 ns/op 934.98 MB/s BenchmarkMemclrUnaligned/4_64-4 6887596 17.64 ns/op 3628.76 MB/s BenchmarkMemclrUnaligned/4_256-4 6340234 19.14 ns/op 13372.15 MB/s BenchmarkMemclrUnaligned/4_4096-4 954411 125.2 ns/op 32712.10 MB/s BenchmarkMemclrUnaligned/4_65536-4 43431 2898 ns/op 22612.05 MB/s BenchmarkMemclrUnaligned/7_5-4 7106668 16.82 ns/op 297.34 MB/s BenchmarkMemclrUnaligned/7_16-4 7030689 17.13 ns/op 933.77 MB/s BenchmarkMemclrUnaligned/7_64-4 6842919 17.48 ns/op 3661.33 MB/s BenchmarkMemclrUnaligned/7_256-4 6297146 18.98 ns/op 13490.17 MB/s BenchmarkMemclrUnaligned/7_4096-4 893890 125.1 ns/op 32737.26 MB/s BenchmarkMemclrUnaligned/7_65536-4 41484 2680 ns/op 24454.32 MB/s BenchmarkMemclrUnaligned/0_1M-4 2534 46543 ns/op 22529.08 MB/s BenchmarkMemclrUnaligned/0_4M-4 601 197581 ns/op 21228.27 MB/s BenchmarkMemclrUnaligned/0_8M-4 289 402032 ns/op 20865.55 MB/s BenchmarkMemclrUnaligned/0_16M-4 147 828198 ns/op 20257.50 MB/s BenchmarkMemclrUnaligned/0_64M-4 26 4246498 ns/op 15803.34 MB/s BenchmarkMemclrUnaligned/1_1M-4 2523 49611 ns/op 21135.82 MB/s BenchmarkMemclrUnaligned/1_4M-4 604 187261 ns/op 22398.16 MB/s BenchmarkMemclrUnaligned/1_8M-4 285 420148 ns/op 19965.84 MB/s BenchmarkMemclrUnaligned/1_16M-4 133 851681 ns/op 19698.94 MB/s BenchmarkMemclrUnaligned/1_64M-4 26 4251360 ns/op 15785.27 MB/s BenchmarkMemclrUnaligned/4_1M-4 2329 49020 ns/op 21390.63 MB/s BenchmarkMemclrUnaligned/4_4M-4 592 197386 ns/op 21249.21 MB/s BenchmarkMemclrUnaligned/4_8M-4 291 406552 ns/op 20633.53 MB/s BenchmarkMemclrUnaligned/4_16M-4 139 886384 ns/op 18927.71 MB/s BenchmarkMemclrUnaligned/4_64M-4 27 4264664 ns/op 15736.03 MB/s BenchmarkMemclrUnaligned/7_1M-4 2365 46830 ns/op 22391.12 MB/s BenchmarkMemclrUnaligned/7_4M-4 631 188304 ns/op 22274.13 MB/s BenchmarkMemclrUnaligned/7_8M-4 282 424698 ns/op 19751.95 MB/s BenchmarkMemclrUnaligned/7_16M-4 140 839984 ns/op 19973.27 MB/s BenchmarkMemclrUnaligned/7_64M-4 26 4299140 ns/op 15609.84 MB/s BenchmarkGoMemclr/5-4 2252886 51.57 ns/op 96.95 MB/s BenchmarkGoMemclr/16-4 564201 211.6 ns/op 75.60 MB/s BenchmarkGoMemclr/64-4 150896 785.1 ns/op 81.52 MB/s BenchmarkGoMemclr/256-4 38731 3148 ns/op 81.32 MB/s BenchmarkMemclrRange/1K_2K-4 64598 1799 ns/op 53299.82 MB/s BenchmarkMemclrRange/2K_8K-4 21342 5722 ns/op 58286.12 MB/s BenchmarkMemclrRange/4K_16K-4 26257 4587 ns/op 70426.10 MB/s BenchmarkMemclrRange/160K_228K-4 1640 77233 ns/op 21530.36 MB/s BenchmarkClearFat7-4 6374212 18.00 ns/op BenchmarkClearFat8-4 7314608 16.18 ns/op BenchmarkClearFat11-4 6312510 18.94 ns/op BenchmarkClearFat12-4 6298122 19.12 ns/op BenchmarkClearFat13-4 6203720 18.71 ns/op BenchmarkClearFat14-4 6194995 19.50 ns/op BenchmarkClearFat15-4 6261381 19.22 ns/op BenchmarkClearFat16-4 6917943 17.55 ns/op BenchmarkClearFat24-4 6460766 18.14 ns/op BenchmarkClearFat32-4 6180426 18.98 ns/op BenchmarkClearFat40-4 6092617 19.42 ns/op BenchmarkClearFat48-4 5963048 20.56 ns/op BenchmarkClearFat56-4 5596521 21.33 ns/op BenchmarkClearFat64-4 5344231 22.49 ns/op BenchmarkClearFat72-4 4989835 23.59 ns/op BenchmarkClearFat128-4 3947038 30.14 ns/op BenchmarkClearFat256-4 2291580 51.65 ns/op BenchmarkClearFat512-4 1530307 78.79 ns/op BenchmarkClearFat1024-4 862556 138.7 ns/op BenchmarkClearFat1032-4 822069 147.9 ns/op BenchmarkClearFat1040-4 804350 145.8 ns/op BenchmarkCopyFat7-4 6692708 18.29 ns/op BenchmarkCopyFat8-4 7236132 16.88 ns/op BenchmarkCopyFat11-4 6287355 19.05 ns/op BenchmarkCopyFat12-4 6363594 19.16 ns/op BenchmarkCopyFat13-4 6251472 19.24 ns/op BenchmarkCopyFat14-4 6298852 18.84 ns/op BenchmarkCopyFat15-4 6251154 18.90 ns/op BenchmarkCopyFat16-4 6916135 17.67 ns/op BenchmarkCopyFat24-4 6314830 18.54 ns/op BenchmarkCopyFat32-4 6384729 19.25 ns/op BenchmarkCopyFat64-4 5340481 22.59 ns/op BenchmarkCopyFat72-4 5015863 24.09 ns/op BenchmarkCopyFat128-4 3670580 32.11 ns/op BenchmarkCopyFat256-4 2185351 54.77 ns/op BenchmarkCopyFat512-4 1415392 85.05 ns/op BenchmarkCopyFat520-4 1400928 85.86 ns/op BenchmarkCopyFat1024-4 822253 142.9 ns/op BenchmarkCopyFat1032-4 811636 147.0 ns/op BenchmarkCopyFat1040-4 779380 151.9 ns/op BenchmarkIssue18740/2byte-4 420 282810 ns/op BenchmarkIssue18740/4byte-4 708 171190 ns/op BenchmarkIssue18740/8byte-4 1056 110561 ns/op BenchmarkMemclrKnownSize1-4 8997278 13.32 ns/op 75.05 MB/s BenchmarkMemclrKnownSize2-4 5543870 21.58 ns/op 92.67 MB/s BenchmarkMemclrKnownSize4-4 3556069 33.67 ns/op 118.79 MB/s BenchmarkMemclrKnownSize8-4 1000000 100.5 ns/op 79.58 MB/s BenchmarkMemclrKnownSize16-4 572313 201.8 ns/op 79.30 MB/s BenchmarkMemclrKnownSize32-4 299281 394.7 ns/op 81.07 MB/s BenchmarkMemclrKnownSize64-4 155412 776.8 ns/op 82.39 MB/s BenchmarkMemclrKnownSize112-4 88797 1331 ns/op 84.12 MB/s BenchmarkMemclrKnownSize128-4 77455 1523 ns/op 84.05 MB/s BenchmarkMemclrKnownSize192-4 52306 2268 ns/op 84.65 MB/s BenchmarkMemclrKnownSize248-4 40584 2949 ns/op 84.10 MB/s BenchmarkMemclrKnownSize256-4 39039 3055 ns/op 83.79 MB/s BenchmarkMemclrKnownSize512-4 19588 6100 ns/op 83.94 MB/s BenchmarkMemclrKnownSize1024-4 9324 12170 ns/op 84.14 MB/s BenchmarkMemclrKnownSize4096-4 2463 48557 ns/op 84.35 MB/s BenchmarkMemclrKnownSize512KiB-4 18 6289745 ns/op 83.36 MB/s BenchmarkReadMetricsLatency-4 13242 5026 p50-ns 8156 p90-ns 22220 p99-ns BenchmarkFinalizer-4 228 552218 ns/op BenchmarkFinalizerRun-4 239794 691.7 ns/op BenchmarkPallocBitsSummarize/Unpacked00-4 6506427 17.73 ns/op BenchmarkPallocBitsSummarize/UnpackedFFFFFFFFFFFFFFFF-4 2846144 39.42 ns/op BenchmarkPallocBitsSummarize/UnpackedAA-4 2142078 54.35 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAAAAAAAAAA-4 2027884 57.49 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000AAAAAAAA-4 1312959 91.02 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAA00000001-4 1209130 98.03 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBBBBBBBBBB-4 1991415 59.64 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000BBBBBBBB-4 1287064 92.97 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBB00000001-4 1319667 90.29 ns/op BenchmarkPallocBitsSummarize/UnpackedCCCCCCCCCCCCCCCC-4 1812757 65.38 ns/op BenchmarkPallocBitsSummarize/Unpacked4444444444444444-4 1815386 65.38 ns/op BenchmarkPallocBitsSummarize/Unpacked4040404040404040-4 1600774 75.05 ns/op BenchmarkPallocBitsSummarize/Unpacked4000400040004000-4 1438026 83.06 ns/op BenchmarkPallocBitsSummarize/Unpacked1000404044CCAAFF-4 1349618 88.02 ns/op BenchmarkFindBitRange64/Pattern00Size2-4 5553976 21.46 ns/op BenchmarkFindBitRange64/Pattern00Size8-4 5965839 20.17 ns/op BenchmarkFindBitRange64/Pattern00Size32-4 6007920 19.89 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize2-4 5813373 20.44 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize8-4 5453260 21.88 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize32-4 4948724 24.10 ns/op BenchmarkFindBitRange64/PatternAASize2-4 5890482 20.53 ns/op BenchmarkFindBitRange64/PatternAASize8-4 6010518 20.04 ns/op BenchmarkFindBitRange64/PatternAASize32-4 5979169 20.09 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize2-4 5847217 20.49 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize8-4 6002474 19.91 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize32-4 6020036 20.12 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize2-4 5872315 20.55 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize8-4 6042662 19.92 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize32-4 6009146 19.92 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size2-4 5861457 20.39 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size8-4 6007132 20.01 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size32-4 6029756 19.95 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize2-4 5801085 20.52 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize8-4 5669887 21.29 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize32-4 5702469 21.08 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize2-4 5891206 20.46 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize8-4 5664975 21.09 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize32-4 5696756 21.10 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size2-4 5853333 20.41 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size8-4 5694548 21.15 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size32-4 5696402 21.08 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize2-4 5892596 20.42 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize8-4 4991695 21.12 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize32-4 5630571 21.19 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size2-4 5883847 20.37 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size8-4 5971544 19.93 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size32-4 6028706 20.01 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size2-4 5828162 20.59 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size8-4 6035180 19.88 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size32-4 5911744 20.00 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size2-4 5869900 20.64 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size8-4 5961981 19.87 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size32-4 5948600 19.98 ns/op BenchmarkNetpollBreak-4 3368 29741 ns/op BenchmarkPinnerPinUnpinBatch-4 951 108740 ns/op BenchmarkPinnerPinUnpinBatchDouble-4 226 525948 ns/op BenchmarkPinnerPinUnpinBatchTiny-4 1045 109503 ns/op BenchmarkPinnerPinUnpin-4 1217119 98.80 ns/op BenchmarkPinnerPinUnpinTiny-4 1000000 101.9 ns/op BenchmarkPinnerPinUnpinDouble-4 461118 260.0 ns/op BenchmarkPinnerPinUnpinParallel-4 2782766 39.39 ns/op BenchmarkPinnerPinUnpinParallelTiny-4 3718172 32.16 ns/op BenchmarkPinnerPinUnpinParallelDouble-4 199462 588.8 ns/op BenchmarkPinnerIsPinnedOnPinned-4 5374676 21.62 ns/op BenchmarkPinnerIsPinnedOnUnpinned-4 5658814 20.06 ns/op BenchmarkPinnerIsPinnedOnPinnedParallel-4 7223044 14.39 ns/op BenchmarkPinnerIsPinnedOnUnpinnedParallel-4 8881132 12.28 ns/op BenchmarkPingPongHog-4 350 343695 ns/op BenchmarkStackGrowth-4 111674 905.0 ns/op BenchmarkStackGrowthDeep-4 1170 93569 ns/op BenchmarkCreateGoroutines-4 49404 2466 ns/op BenchmarkCreateGoroutinesParallel-4 49947 2454 ns/op BenchmarkCreateGoroutinesCapture-4 6898 15283 ns/op 144 B/op 5 allocs/op BenchmarkCreateGoroutinesSingle-4 41281 2873 ns/op BenchmarkClosureCall-4 18393183 6.533 ns/op BenchmarkWakeupParallelSpinning/0s-4 8962 16245 ns/op BenchmarkWakeupParallelSpinning/1µs-4 4932 24918 ns/op BenchmarkWakeupParallelSpinning/2µs-4 4114 29201 ns/op BenchmarkWakeupParallelSpinning/5µs-4 3565 38048 ns/op BenchmarkWakeupParallelSpinning/10µs-4 2173 57817 ns/op BenchmarkWakeupParallelSpinning/20µs-4 1243 96528 ns/op BenchmarkWakeupParallelSpinning/50µs-4 616 197500 ns/op BenchmarkWakeupParallelSpinning/100µs-4 333 362921 ns/op BenchmarkWakeupParallelSyscall/0s-4 739 160940 ns/op BenchmarkWakeupParallelSyscall/1µs-4 706 166272 ns/op BenchmarkWakeupParallelSyscall/2µs-4 721 165487 ns/op BenchmarkWakeupParallelSyscall/5µs-4 721 166654 ns/op BenchmarkWakeupParallelSyscall/10µs-4 661 177665 ns/op BenchmarkWakeupParallelSyscall/20µs-4 589 250902 ns/op BenchmarkWakeupParallelSyscall/50µs-4 453 264482 ns/op BenchmarkWakeupParallelSyscall/100µs-4 325 368568 ns/op BenchmarkMatmult-4 3950019 35.25 ns/op BenchmarkFastrand-4 12732706 8.881 ns/op BenchmarkFastrand64-4 10271086 10.04 ns/op BenchmarkFastrandHashiter-4 4509495 28.35 ns/op BenchmarkFastrandn/2-4 5567155 21.61 ns/op BenchmarkFastrandn/3-4 5869938 20.15 ns/op BenchmarkFastrandn/4-4 5689672 20.60 ns/op BenchmarkFastrandn/5-4 5865872 20.51 ns/op BenchmarkIfaceCmp100-4 91087 1291 ns/op BenchmarkIfaceCmpNil100-4 154501 780.5 ns/op BenchmarkEfaceCmpDiff-4 35955 3342 ns/op BenchmarkEfaceCmpDiffIndirect-4 30856 3888 ns/op BenchmarkDefer-4 1694340 69.12 ns/op BenchmarkDefer10-4 818613 152.9 ns/op BenchmarkDeferMany-4 403899 485.1 ns/op BenchmarkPanicRecover-4 172291 692.6 ns/op BenchmarkGoroutineProfile/small-nil/idle-4 5497 22183 ns/op 21775 p50-ns 25433 p90-ns 33740 p99-ns BenchmarkGoroutineProfile/small-nil/loaded-4 4980 27538 ns/op 21958 p50-ns 26769 p90-ns 70767 p99-ns BenchmarkGoroutineProfile/small/idle-4 1363 83526 ns/op 85029 p50-ns 91586 p90-ns 115772 p99-ns BenchmarkGoroutineProfile/small/loaded-4 368 336830 ns/op 129713 p50-ns 282719 p90-ns 4263194 p99-ns BenchmarkGoroutineProfile/large-nil/idle-4 5421 22721 ns/op 21747 p50-ns 25703 p90-ns 35394 p99-ns BenchmarkGoroutineProfile/large-nil/loaded-4 5269 25347 ns/op 21885 p50-ns 26837 p90-ns 64509 p99-ns BenchmarkGoroutineProfile/large/idle-4 13 8233066 ns/op 8260922 p50-ns 8314793 p90-ns 8332379 p99-ns BenchmarkGoroutineProfile/large/loaded-4 9 14403967 ns/op 11364903 p50-ns 37172225 p90-ns 37172225 p99-ns BenchmarkGoroutineProfile/sparse-nil/idle-4 5494 24434 ns/op 20629 p50-ns 29716 p90-ns 44819 p99-ns BenchmarkGoroutineProfile/sparse-nil/loaded-4 5229 28039 ns/op 21938 p50-ns 31584 p90-ns 190555 p99-ns BenchmarkGoroutineProfile/sparse/idle-4 855 132471 ns/op 128180 p50-ns 140180 p90-ns 149827 p99-ns BenchmarkGoroutineProfile/sparse/loaded-4 309 698264 ns/op 304864 p50-ns 512777 p90-ns 8712551 p99-ns BenchmarkRWMutexUncontended-4 2981544 38.87 ns/op BenchmarkRWMutexWrite100-4 594506 199.9 ns/op BenchmarkRWMutexWrite10-4 674660 966.0 ns/op BenchmarkRWMutexWorkWrite100-4 490430 242.7 ns/op BenchmarkRWMutexWorkWrite10-4 90558 1707 ns/op BenchmarkSemTable/OneAddrCollision/n=1000-4 1778 66470 ns/op BenchmarkSemTable/ManyAddrCollision/n=1000-4 820 131773 ns/op BenchmarkSemTable/OneAddrCollision/n=2000-4 834 132102 ns/op BenchmarkSemTable/ManyAddrCollision/n=2000-4 422 279304 ns/op BenchmarkSemTable/OneAddrCollision/n=4000-4 434 269778 ns/op BenchmarkSemTable/ManyAddrCollision/n=4000-4 198 584787 ns/op BenchmarkSemTable/OneAddrCollision/n=8000-4 219 533096 ns/op BenchmarkSemTable/ManyAddrCollision/n=8000-4 92 1214062 ns/op BenchmarkMakeSliceCopy/mallocmove/Byte-4 295665 367.0 ns/op BenchmarkMakeSliceCopy/mallocmove/Int-4 357544 401.0 ns/op BenchmarkMakeSliceCopy/mallocmove/Ptr-4 287454 408.8 ns/op BenchmarkMakeSliceCopy/makecopy/Byte-4 333385 389.4 ns/op BenchmarkMakeSliceCopy/makecopy/Int-4 322850 394.5 ns/op BenchmarkMakeSliceCopy/makecopy/Ptr-4 259898 438.1 ns/op BenchmarkMakeSliceCopy/nilappend/Byte-4 258438 390.2 ns/op BenchmarkMakeSliceCopy/nilappend/Int-4 316672 394.5 ns/op BenchmarkMakeSliceCopy/nilappend/Ptr-4 273475 437.2 ns/op BenchmarkMakeSlice/Byte-4 1946334 62.55 ns/op BenchmarkMakeSlice/Int16-4 2001334 67.97 ns/op BenchmarkMakeSlice/Int-4 1438810 77.93 ns/op BenchmarkMakeSlice/Ptr-4 1000000 104.7 ns/op BenchmarkMakeSlice/Struct/24-4 853800 121.7 ns/op BenchmarkMakeSlice/Struct/32-4 719985 146.2 ns/op BenchmarkMakeSlice/Struct/40-4 623475 175.4 ns/op BenchmarkGrowSlice/Byte-4 852476 166.6 ns/op BenchmarkGrowSlice/Int16-4 748806 181.7 ns/op BenchmarkGrowSlice/Int-4 594606 218.8 ns/op BenchmarkGrowSlice/Ptr-4 454708 270.8 ns/op BenchmarkGrowSlice/Struct/24-4 343980 340.1 ns/op BenchmarkGrowSlice/Struct/32-4 275626 423.4 ns/op BenchmarkGrowSlice/Struct/40-4 231417 525.8 ns/op BenchmarkExtendSlice/IntSlice-4 504769 251.5 ns/op BenchmarkExtendSlice/PointerSlice-4 417361 317.8 ns/op BenchmarkExtendSlice/NoGrow-4 930475 152.8 ns/op BenchmarkAppend-4 781980 152.3 ns/op BenchmarkAppendGrowByte-4 3 34570565 ns/op BenchmarkAppendGrowString-4 1 461289701 ns/op BenchmarkAppendSlice/1Bytes-4 1946490 59.41 ns/op BenchmarkAppendSlice/4Bytes-4 1862667 62.29 ns/op BenchmarkAppendSlice/7Bytes-4 1870014 63.86 ns/op BenchmarkAppendSlice/8Bytes-4 1916232 59.76 ns/op BenchmarkAppendSlice/15Bytes-4 1700923 68.41 ns/op BenchmarkAppendSlice/16Bytes-4 1889014 63.18 ns/op BenchmarkAppendSlice/32Bytes-4 1931794 61.95 ns/op BenchmarkAppendSliceLarge/1024Bytes-4 84610 1356 ns/op BenchmarkAppendSliceLarge/4096Bytes-4 25386 4564 ns/op BenchmarkAppendSliceLarge/16384Bytes-4 6824 17499 ns/op BenchmarkAppendSliceLarge/65536Bytes-4 1467 70261 ns/op BenchmarkAppendSliceLarge/262144Bytes-4 84 1363849 ns/op BenchmarkAppendSliceLarge/1048576Bytes-4 20 6161187 ns/op BenchmarkAppendStr/1Bytes-4 1435530 84.16 ns/op BenchmarkAppendStr/4Bytes-4 1448210 80.92 ns/op BenchmarkAppendStr/8Bytes-4 1403143 83.01 ns/op BenchmarkAppendStr/16Bytes-4 1388628 85.28 ns/op BenchmarkAppendStr/32Bytes-4 1444020 82.93 ns/op BenchmarkAppendSpecialCase-4 733795 161.7 ns/op BenchmarkCopy/1Byte-4 2033894 59.85 ns/op 16.71 MB/s BenchmarkCopy/1String-4 2017671 59.06 ns/op 16.93 MB/s BenchmarkCopy/2Byte-4 1935002 60.99 ns/op 32.79 MB/s BenchmarkCopy/2String-4 2074132 57.54 ns/op 34.76 MB/s BenchmarkCopy/4Byte-4 1969659 61.67 ns/op 64.86 MB/s BenchmarkCopy/4String-4 2044440 58.69 ns/op 68.15 MB/s BenchmarkCopy/8Byte-4 2034626 58.16 ns/op 137.55 MB/s BenchmarkCopy/8String-4 2025314 59.12 ns/op 135.32 MB/s BenchmarkCopy/12Byte-4 1859358 63.46 ns/op 189.10 MB/s BenchmarkCopy/12String-4 1942710 63.66 ns/op 188.52 MB/s BenchmarkCopy/16Byte-4 1966830 59.94 ns/op 266.94 MB/s BenchmarkCopy/16String-4 1930104 62.44 ns/op 256.26 MB/s BenchmarkCopy/32Byte-4 1864762 63.22 ns/op 506.20 MB/s BenchmarkCopy/32String-4 1859420 64.88 ns/op 493.21 MB/s BenchmarkCopy/128Byte-4 1447750 96.83 ns/op 1321.85 MB/s BenchmarkCopy/128String-4 1357654 88.24 ns/op 1450.60 MB/s BenchmarkCopy/1024Byte-4 415214 288.4 ns/op 3550.97 MB/s BenchmarkCopy/1024String-4 357680 331.0 ns/op 3093.52 MB/s BenchmarkAppendInPlace/NoGrow/Byte-4 28370 4029 ns/op BenchmarkAppendInPlace/NoGrow/1Ptr-4 18552 6279 ns/op BenchmarkAppendInPlace/NoGrow/2Ptr-4 12271 9809 ns/op BenchmarkAppendInPlace/NoGrow/3Ptr-4 9393 11409 ns/op BenchmarkAppendInPlace/NoGrow/4Ptr-4 10000 14717 ns/op BenchmarkAppendInPlace/Grow/Byte-4 129704 879.5 ns/op BenchmarkAppendInPlace/Grow/1Ptr-4 138442 912.9 ns/op BenchmarkAppendInPlace/Grow/2Ptr-4 103746 1181 ns/op BenchmarkAppendInPlace/Grow/3Ptr-4 75410 1401 ns/op BenchmarkAppendInPlace/Grow/4Ptr-4 66735 1621 ns/op BenchmarkStackCopyPtr-4 1 194499818 ns/op BenchmarkStackCopy-4 1 104813711 ns/op BenchmarkStackCopyNoCache-4 21 5516812 ns/op BenchmarkStackCopyWithStkobj-4 1 132887448 ns/op BenchmarkIssue18138-4 610 204423 ns/op BenchmarkCompareStringEqual-4 10227505 11.47 ns/op BenchmarkCompareStringIdentical-4 14641927 8.180 ns/op BenchmarkCompareStringSameLength-4 11995566 9.974 ns/op BenchmarkCompareStringDifferentLength-4 18290108 6.527 ns/op BenchmarkCompareStringBigUnaligned-4 1250 100136 ns/op 10471.66 MB/s BenchmarkCompareStringBig-4 1215 83689 ns/op 12529.59 MB/s BenchmarkConcatStringAndBytes-4 2172631 56.26 ns/op BenchmarkSliceByteToString/1-4 2193102 55.73 ns/op BenchmarkSliceByteToString/2-4 1000000 108.2 ns/op BenchmarkSliceByteToString/4-4 1000000 107.7 ns/op BenchmarkSliceByteToString/8-4 1000000 116.3 ns/op BenchmarkSliceByteToString/16-4 1000000 120.6 ns/op BenchmarkSliceByteToString/32-4 1000000 129.7 ns/op BenchmarkSliceByteToString/64-4 1000000 146.6 ns/op BenchmarkSliceByteToString/128-4 570141 183.6 ns/op BenchmarkRuneCount/lenruneslice/ASCII-4 2169234 55.60 ns/op BenchmarkRuneCount/lenruneslice/Japanese-4 903568 134.4 ns/op BenchmarkRuneCount/lenruneslice/MixedLength-4 978138 120.2 ns/op BenchmarkRuneCount/rangeloop/ASCII-4 3213727 37.17 ns/op BenchmarkRuneCount/rangeloop/Japanese-4 1600732 74.81 ns/op BenchmarkRuneCount/rangeloop/MixedLength-4 1740584 68.55 ns/op BenchmarkRuneCount/utf8.RuneCountInString/ASCII-4 2124219 57.02 ns/op BenchmarkRuneCount/utf8.RuneCountInString/Japanese-4 444762 268.4 ns/op BenchmarkRuneCount/utf8.RuneCountInString/MixedLength-4 539302 223.0 ns/op BenchmarkRuneIterate/range/ASCII-4 5626671 20.51 ns/op BenchmarkRuneIterate/range/Japanese-4 1983991 59.86 ns/op BenchmarkRuneIterate/range/MixedLength-4 2234448 52.71 ns/op BenchmarkRuneIterate/range1/ASCII-4 5670567 20.52 ns/op BenchmarkRuneIterate/range1/Japanese-4 1966424 59.98 ns/op BenchmarkRuneIterate/range1/MixedLength-4 2218717 53.21 ns/op BenchmarkRuneIterate/range2/ASCII-4 5674576 20.51 ns/op BenchmarkRuneIterate/range2/Japanese-4 1989534 59.44 ns/op BenchmarkRuneIterate/range2/MixedLength-4 2195409 54.48 ns/op BenchmarkArrayEqual-4 17252268 6.888 ns/op BenchmarkFunc/Name-4 2821203 42.73 ns/op BenchmarkFunc/Entry-4 10011380 11.98 ns/op BenchmarkFunc/FileLine-4 1547314 77.01 ns/op PASS ok runtime 151.062s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: runtime/cgo cpu: AMD EPYC 7B12 BenchmarkHandle/non-concurrent-4 34290 3050 ns/op BenchmarkHandle/concurrent-4 22050 5733 ns/op PASS ok runtime/cgo 1.340s goos: linux goarch: amd64 pkg: runtime/internal/atomic cpu: AMD EPYC 7B12 BenchmarkAtomicLoad64-4 23328742 5.008 ns/op BenchmarkAtomicStore64-4 23580090 5.015 ns/op BenchmarkAtomicLoad-4 23770000 4.990 ns/op BenchmarkAtomicStore-4 23562213 4.996 ns/op BenchmarkAnd8-4 22435990 5.047 ns/op BenchmarkAnd-4 23993836 5.008 ns/op BenchmarkAnd8Parallel-4 4196311 31.26 ns/op BenchmarkAndParallel-4 3868800 29.66 ns/op BenchmarkOr8-4 23727141 4.990 ns/op BenchmarkOr-4 23918770 4.995 ns/op BenchmarkOr8Parallel-4 4382332 33.69 ns/op BenchmarkOrParallel-4 3666123 33.91 ns/op BenchmarkXadd-4 3401427 33.60 ns/op BenchmarkXadd64-4 3513836 33.02 ns/op BenchmarkCas-4 3484201 30.77 ns/op BenchmarkCas64-4 3418874 34.65 ns/op BenchmarkXchg-4 3599282 33.16 ns/op BenchmarkXchg64-4 3492873 32.11 ns/op PASS ok runtime/internal/atomic 3.681s goos: linux goarch: amd64 pkg: runtime/internal/math cpu: AMD EPYC 7B12 BenchmarkMulUintptr/small-4 5721907 21.00 ns/op BenchmarkMulUintptr/large-4 4426782 26.93 ns/op PASS ok runtime/internal/math 1.307s goos: linux goarch: amd64 pkg: runtime/pprof cpu: AMD EPYC 7B12 BenchmarkGoroutine/Profile.WriteTo_idle_50-4 37 3804372 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_50-4 14 8841281 ns/op 807.1 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_50-4 861 124789 ns/op 3.676 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_500-4 14 8207092 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_500-4 7 16684096 ns/op 1241 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_500-4 238 555416 ns/op 40.22 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_5000-4 2 52389313 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_5000-4 2 87190674 ns/op 7634 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_5000-4 26 4396556 ns/op 392.1 concurrent_launches/op PASS ok runtime/pprof 2.936s goos: linux goarch: amd64 pkg: runtime/race cpu: AMD EPYC 7B12 BenchmarkSyncLeak-4 49 2701119 ns/op BenchmarkStackLeak-4 22262 5568 ns/op PASS ok runtime/race 1.450s goos: linux goarch: amd64 pkg: runtime/trace cpu: AMD EPYC 7B12 BenchmarkStartRegion-4 5926254 20.22 ns/op 0 B/op 0 allocs/op BenchmarkNewTask-4 224509 502.1 ns/op 64 B/op 2 allocs/op PASS ok runtime/trace 1.276s goos: linux goarch: amd64 pkg: slices cpu: AMD EPYC 7B12 BenchmarkEqualFunc_Large-4 62 1677893 ns/op BenchmarkIndex_Large-4 29553 3883 ns/op BenchmarkIndexFunc_Large-4 129 834804 ns/op BenchmarkCompact/nil-4 9193148 12.53 ns/op BenchmarkCompact/one-4 2502868 48.22 ns/op BenchmarkCompact/sorted-4 1539596 75.85 ns/op BenchmarkCompact/1_item-4 1431346 83.18 ns/op BenchmarkCompact/unsorted-4 1532509 74.29 ns/op BenchmarkCompact/many-4 903321 145.4 ns/op BenchmarkCompact_Large-4 1359 78563 ns/op BenchmarkCompactFunc_Large-4 93 1171146 ns/op BenchmarkReplace/naive-fast-4 127480 945.0 ns/op BenchmarkReplace/optimized-fast-4 142561 816.3 ns/op BenchmarkReplace/naive-slow-4 41800 2815 ns/op BenchmarkReplace/optimized-slow-4 46406 2373 ns/op BenchmarkSortInts-4 2 80515649 ns/op BenchmarkSlicesSortInts-4 3 45838180 ns/op BenchmarkSlicesSortInts_Sorted-4 74 1747294 ns/op BenchmarkSlicesSortInts_Reversed-4 45 2752296 ns/op BenchmarkSortStrings-4 1 121207334 ns/op BenchmarkSlicesSortStrings-4 2 76579566 ns/op BenchmarkSortStructs-4 1 145378841 ns/op BenchmarkSortFuncStructs-4 1 114299485 ns/op BenchmarkBinarySearchFloats/Size16-4 1554951 77.58 ns/op BenchmarkBinarySearchFloats/Size32-4 1336930 90.40 ns/op BenchmarkBinarySearchFloats/Size64-4 1000000 101.9 ns/op BenchmarkBinarySearchFloats/Size128-4 1000000 114.3 ns/op BenchmarkBinarySearchFloats/Size512-4 885144 136.3 ns/op BenchmarkBinarySearchFloats/Size1024-4 798344 148.6 ns/op BenchmarkBinarySearchFuncStruct/Size16-4 671592 161.4 ns/op BenchmarkBinarySearchFuncStruct/Size32-4 587276 188.7 ns/op BenchmarkBinarySearchFuncStruct/Size64-4 529303 216.7 ns/op BenchmarkBinarySearchFuncStruct/Size128-4 489750 242.3 ns/op BenchmarkBinarySearchFuncStruct/Size512-4 357728 294.4 ns/op BenchmarkBinarySearchFuncStruct/Size1024-4 367480 329.0 ns/op PASS ok slices 15.541s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: sort cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSearchWrappers-4 172924 655.1 ns/op BenchmarkSortString1K-4 181 653205 ns/op BenchmarkSortString1K_Slice-4 211 568514 ns/op BenchmarkStableString1K-4 97 1132000 ns/op BenchmarkSortInt1K-4 219 541456 ns/op BenchmarkSortInt1K_Sorted-4 3187 36267 ns/op BenchmarkSortInt1K_Reversed-4 1999 63650 ns/op BenchmarkSortInt1K_Mod8-4 520 236864 ns/op BenchmarkStableInt1K-4 146 886878 ns/op BenchmarkStableInt1K_Slice-4 128 782715 ns/op BenchmarkSortInt64K-4 2 52683479 ns/op BenchmarkSortInt64K_Slice-4 3 45104847 ns/op BenchmarkStableInt64K-4 2 73019197 ns/op BenchmarkSort1e2-4 476 513779 ns/op BenchmarkStable1e2-4 178 672352 ns/op BenchmarkSort1e4-4 2 51398595 ns/op BenchmarkStable1e4-4 1 225916620 ns/op PASS ok sort 4.768s goos: linux goarch: amd64 pkg: strconv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAtof64Decimal-4 867759 137.7 ns/op BenchmarkAtof64Float-4 736008 161.3 ns/op BenchmarkAtof64FloatExp-4 612398 186.5 ns/op BenchmarkAtof64Big-4 444280 262.8 ns/op BenchmarkAtof64RandomBits-4 228693 516.2 ns/op BenchmarkAtof64RandomFloats-4 459792 256.1 ns/op BenchmarkAtof64RandomLongFloats-4 395204 301.5 ns/op BenchmarkAtof32Decimal-4 771873 137.4 ns/op BenchmarkAtof32Float-4 724792 160.2 ns/op BenchmarkAtof32FloatExp-4 628064 184.2 ns/op BenchmarkAtof32Random-4 353918 320.4 ns/op BenchmarkAtof32RandomLong-4 155512 773.1 ns/op BenchmarkParseInt/Pos/7bit-4 1331320 89.51 ns/op BenchmarkParseInt/Pos/26bit-4 630034 182.0 ns/op BenchmarkParseInt/Pos/31bit-4 566989 209.3 ns/op BenchmarkParseInt/Pos/56bit-4 388459 304.2 ns/op BenchmarkParseInt/Pos/63bit-4 350274 322.8 ns/op BenchmarkParseInt/Neg/7bit-4 1334870 89.90 ns/op BenchmarkParseInt/Neg/26bit-4 624978 181.8 ns/op BenchmarkParseInt/Neg/31bit-4 581142 204.2 ns/op BenchmarkParseInt/Neg/56bit-4 390393 305.1 ns/op BenchmarkParseInt/Neg/63bit-4 361082 322.7 ns/op BenchmarkAtoi/Pos/7bit-4 1961322 60.15 ns/op BenchmarkAtoi/Pos/26bit-4 815391 134.1 ns/op BenchmarkAtoi/Pos/31bit-4 767984 149.8 ns/op BenchmarkAtoi/Pos/56bit-4 467840 259.6 ns/op BenchmarkAtoi/Pos/63bit-4 339530 341.9 ns/op BenchmarkAtoi/Neg/7bit-4 1950781 62.00 ns/op BenchmarkAtoi/Neg/26bit-4 800382 134.1 ns/op BenchmarkAtoi/Neg/31bit-4 774000 150.2 ns/op BenchmarkAtoi/Neg/56bit-4 467701 250.6 ns/op BenchmarkAtoi/Neg/63bit-4 341306 339.8 ns/op BenchmarkFormatFloat/Decimal-4 112215 1080 ns/op BenchmarkFormatFloat/Float-4 104373 1170 ns/op BenchmarkFormatFloat/Exp-4 109345 1073 ns/op BenchmarkFormatFloat/NegExp-4 112974 1079 ns/op BenchmarkFormatFloat/LongExp-4 91447 1339 ns/op BenchmarkFormatFloat/Big-4 89463 1330 ns/op BenchmarkFormatFloat/BinaryExp-4 201130 566.3 ns/op BenchmarkFormatFloat/32Integer-4 115449 1058 ns/op BenchmarkFormatFloat/32ExactFraction-4 120722 1027 ns/op BenchmarkFormatFloat/32Point-4 106850 1118 ns/op BenchmarkFormatFloat/32Exp-4 113559 1048 ns/op BenchmarkFormatFloat/32NegExp-4 110320 1085 ns/op BenchmarkFormatFloat/32Shortest-4 119442 1021 ns/op BenchmarkFormatFloat/32Fixed8Hard-4 130740 882.3 ns/op BenchmarkFormatFloat/32Fixed9Hard-4 126644 929.4 ns/op BenchmarkFormatFloat/64Fixed1-4 147145 800.4 ns/op BenchmarkFormatFloat/64Fixed2-4 146865 793.4 ns/op BenchmarkFormatFloat/64Fixed3-4 141206 794.9 ns/op BenchmarkFormatFloat/64Fixed4-4 146046 779.4 ns/op BenchmarkFormatFloat/64Fixed12-4 87814 1391 ns/op BenchmarkFormatFloat/64Fixed16-4 109710 1080 ns/op BenchmarkFormatFloat/64Fixed12Hard-4 111805 1060 ns/op BenchmarkFormatFloat/64Fixed17Hard-4 102255 1159 ns/op BenchmarkFormatFloat/64Fixed18Hard-4 2360 48193 ns/op BenchmarkFormatFloat/Slowpath64-4 92635 1275 ns/op BenchmarkFormatFloat/SlowpathDenormal64-4 94922 1272 ns/op BenchmarkAppendFloat/Decimal-4 138934 843.9 ns/op BenchmarkAppendFloat/Float-4 122096 961.2 ns/op BenchmarkAppendFloat/Exp-4 141954 839.0 ns/op BenchmarkAppendFloat/NegExp-4 141348 845.2 ns/op BenchmarkAppendFloat/LongExp-4 113037 1067 ns/op BenchmarkAppendFloat/Big-4 107865 1082 ns/op BenchmarkAppendFloat/BinaryExp-4 318076 355.7 ns/op BenchmarkAppendFloat/32Integer-4 138351 849.3 ns/op BenchmarkAppendFloat/32ExactFraction-4 139177 851.8 ns/op BenchmarkAppendFloat/32Point-4 131683 892.8 ns/op BenchmarkAppendFloat/32Exp-4 138673 835.6 ns/op BenchmarkAppendFloat/32NegExp-4 143277 829.3 ns/op BenchmarkAppendFloat/32Shortest-4 155470 748.7 ns/op BenchmarkAppendFloat/32Fixed8Hard-4 176118 680.1 ns/op BenchmarkAppendFloat/32Fixed9Hard-4 169675 704.4 ns/op BenchmarkAppendFloat/64Fixed1-4 194764 608.5 ns/op BenchmarkAppendFloat/64Fixed2-4 192256 606.7 ns/op BenchmarkAppendFloat/64Fixed3-4 193566 608.4 ns/op BenchmarkAppendFloat/64Fixed4-4 191482 605.6 ns/op BenchmarkAppendFloat/64Fixed12-4 105074 1145 ns/op BenchmarkAppendFloat/64Fixed16-4 135967 872.6 ns/op BenchmarkAppendFloat/64Fixed12Hard-4 148672 801.2 ns/op BenchmarkAppendFloat/64Fixed17Hard-4 125581 955.8 ns/op BenchmarkAppendFloat/64Fixed18Hard-4 2462 48456 ns/op BenchmarkAppendFloat/Slowpath64-4 113406 1046 ns/op BenchmarkAppendFloat/SlowpathDenormal64-4 115762 1028 ns/op BenchmarkFormatInt-4 15014 7850 ns/op BenchmarkAppendInt-4 17011 6987 ns/op BenchmarkFormatUint-4 77700 1466 ns/op BenchmarkAppendUint-4 93706 1273 ns/op BenchmarkFormatIntSmall/7-4 2831902 42.24 ns/op BenchmarkFormatIntSmall/42-4 2903170 41.18 ns/op BenchmarkAppendIntSmall-4 1489366 80.58 ns/op BenchmarkAppendUintVarlen/1-4 1417122 84.13 ns/op BenchmarkAppendUintVarlen/12-4 1355468 88.63 ns/op BenchmarkAppendUintVarlen/123-4 915656 118.2 ns/op BenchmarkAppendUintVarlen/1234-4 938617 118.6 ns/op BenchmarkAppendUintVarlen/12345-4 899769 120.5 ns/op BenchmarkAppendUintVarlen/123456-4 928111 121.2 ns/op BenchmarkAppendUintVarlen/1234567-4 896116 124.5 ns/op BenchmarkAppendUintVarlen/12345678-4 877453 122.8 ns/op BenchmarkAppendUintVarlen/123456789-4 852534 127.7 ns/op BenchmarkAppendUintVarlen/1234567890-4 904024 128.6 ns/op BenchmarkAppendUintVarlen/12345678901-4 891672 132.4 ns/op BenchmarkAppendUintVarlen/123456789012-4 888229 131.2 ns/op BenchmarkAppendUintVarlen/1234567890123-4 881448 134.2 ns/op BenchmarkAppendUintVarlen/12345678901234-4 881013 133.4 ns/op BenchmarkAppendUintVarlen/123456789012345-4 790894 137.6 ns/op BenchmarkAppendUintVarlen/1234567890123456-4 842720 136.1 ns/op BenchmarkAppendUintVarlen/12345678901234567-4 848067 142.1 ns/op BenchmarkAppendUintVarlen/123456789012345678-4 838488 141.6 ns/op BenchmarkAppendUintVarlen/1234567890123456789-4 750556 144.4 ns/op BenchmarkAppendUintVarlen/12345678901234567890-4 758203 145.1 ns/op BenchmarkQuote-4 45121 2545 ns/op BenchmarkQuoteRune-4 439149 248.7 ns/op BenchmarkAppendQuote-4 57222 2051 ns/op BenchmarkAppendQuoteRune-4 866307 132.4 ns/op BenchmarkUnquoteEasy-4 1423582 85.93 ns/op BenchmarkUnquoteHard-4 48084 2381 ns/op PASS ok strconv 17.239s goos: linux goarch: amd64 pkg: strings cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkBuildString_Builder/1Write_NoGrow-4 427540 276.3 ns/op 48 B/op 1 allocs/op BenchmarkBuildString_Builder/3Write_NoGrow-4 133729 908.7 ns/op 336 B/op 3 allocs/op BenchmarkBuildString_Builder/3Write_Grow-4 192248 638.2 ns/op 112 B/op 1 allocs/op BenchmarkBuildString_ByteBuffer/1Write_NoGrow-4 255130 414.9 ns/op 112 B/op 2 allocs/op BenchmarkBuildString_ByteBuffer/3Write_NoGrow-4 87291 1341 ns/op 432 B/op 4 allocs/op BenchmarkBuildString_ByteBuffer/3Write_Grow-4 90436 1152 ns/op 336 B/op 3 allocs/op BenchmarkClone-4 613485 190.7 ns/op 48 B/op 1 allocs/op BenchmarkGenericNoMatch-4 20727 5870 ns/op BenchmarkGenericMatch1-4 2130 51734 ns/op BenchmarkGenericMatch2-4 441 270361 ns/op BenchmarkSingleMaxSkipping-4 7761 14173 ns/op 705.56 MB/s BenchmarkSingleLongSuffixFail-4 15009 7968 ns/op 125.75 MB/s BenchmarkSingleMatch-4 253 457067 ns/op 32.82 MB/s BenchmarkByteByteNoMatch-4 71211 1694 ns/op BenchmarkByteByteMatch-4 19357 6086 ns/op BenchmarkByteStringMatch-4 22838 4947 ns/op BenchmarkHTMLEscapeNew-4 73879 1596 ns/op BenchmarkHTMLEscapeOld-4 87645 1300 ns/op BenchmarkByteStringReplacerWriteString-4 1402 81013 ns/op BenchmarkByteReplacerWriteString-4 1628 72260 ns/op BenchmarkByteByteReplaces-4 3639 32754 ns/op BenchmarkByteByteMap-4 9789 11325 ns/op BenchmarkMap/identity/ASCII-4 621536 191.2 ns/op BenchmarkMap/identity/Greek-4 417518 276.1 ns/op BenchmarkMap/change/ASCII-4 38230 3136 ns/op BenchmarkMap/change/Greek-4 28903 4105 ns/op BenchmarkIndexRune-4 2100326 57.07 ns/op BenchmarkIndexRuneLongString-4 1634659 72.96 ns/op BenchmarkIndexRuneFastPath-4 4995932 24.09 ns/op BenchmarkIndex-4 4802598 24.95 ns/op BenchmarkLastIndex-4 4949622 24.24 ns/op BenchmarkIndexByte-4 11064030 10.69 ns/op BenchmarkToUpper/#00-4 3236079 37.54 ns/op BenchmarkToUpper/ONLYUPPER-4 2287370 50.99 ns/op BenchmarkToUpper/abc-4 307005 375.9 ns/op BenchmarkToUpper/AbC123-4 231942 463.0 ns/op BenchmarkToUpper/azAZ09_-4 246678 436.7 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 56870 2126 ns/op BenchmarkToUpper/RENAN_BASTOS_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 73452 1650 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 34671 3490 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 58960 2087 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 123829 979.1 ns/op BenchmarkToLower/#00-4 3234996 37.56 ns/op BenchmarkToLower/abc-4 2786965 41.45 ns/op BenchmarkToLower/AbC123-4 234556 522.5 ns/op BenchmarkToLower/azAZ09_-4 236868 526.5 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 96597 1189 ns/op BenchmarkToLower/renan_bastos_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 66813 1822 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 35518 3377 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 78553 1576 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 122364 991.1 ns/op BenchmarkMapNoChanges-4 704952 148.1 ns/op BenchmarkTrim-4 37608 3166 ns/op 0 B/op 0 allocs/op BenchmarkToValidUTF8/Valid-4 2873793 39.13 ns/op BenchmarkToValidUTF8/InvalidASCII-4 198925 607.3 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 117976 922.8 ns/op BenchmarkEqualFold/Tests-4 53056 2245 ns/op BenchmarkEqualFold/ASCII-4 3297297 36.09 ns/op BenchmarkEqualFold/UnicodePrefix-4 104449 1089 ns/op BenchmarkEqualFold/UnicodeSuffix-4 114846 1023 ns/op BenchmarkIndexHard1-4 862 137450 ns/op BenchmarkIndexHard2-4 619 193848 ns/op BenchmarkIndexHard3-4 152 780950 ns/op BenchmarkIndexHard4-4 133 898700 ns/op BenchmarkLastIndexHard1-4 61 1911546 ns/op BenchmarkLastIndexHard2-4 61 1914922 ns/op BenchmarkLastIndexHard3-4 62 1914103 ns/op BenchmarkCountHard1-4 878 136919 ns/op BenchmarkCountHard2-4 624 193524 ns/op BenchmarkCountHard3-4 152 778761 ns/op BenchmarkIndexTorture-4 7722 15047 ns/op BenchmarkCountTorture-4 7819 15009 ns/op BenchmarkCountTortureOverlapping-4 680 154305 ns/op BenchmarkCountByte/10-4 4683632 24.99 ns/op 400.20 MB/s BenchmarkCountByte/32-4 4357664 26.66 ns/op 1200.23 MB/s BenchmarkCountByte/4096-4 801009 147.2 ns/op 27819.24 MB/s BenchmarkCountByte/4194304-4 727 164054 ns/op 25566.63 MB/s BenchmarkCountByte/67108864-4 16 6987377 ns/op 9604.30 MB/s BenchmarkFields/ASCII/16-4 263761 442.7 ns/op 36.15 MB/s 32 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 20421 5704 ns/op 44.88 MB/s 384 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 1294 87790 ns/op 46.66 MB/s 6144 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 67 1770252 ns/op 37.02 MB/s 98304 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 4 27890529 ns/op 37.60 MB/s 1507328 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 113203 1033 ns/op 15.49 MB/s 80 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 10000 10922 ns/op 23.44 MB/s 352 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 567 199693 ns/op 20.51 MB/s 21504 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 24 4363064 ns/op 15.02 MB/s 463108 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 2 93325961 ns/op 11.24 MB/s 10457344 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 215324 540.5 ns/op 29.60 MB/s 32 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 17938 6205 ns/op 41.26 MB/s 384 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 925 118825 ns/op 34.47 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 40 3147219 ns/op 20.82 MB/s 463106 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 73276292 ns/op 14.31 MB/s 10449200 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 135342 822.6 ns/op 19.45 MB/s 80 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 14384 7979 ns/op 32.08 MB/s 352 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 679 157841 ns/op 25.95 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 31 3688690 ns/op 17.77 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 2 83576252 ns/op 12.55 MB/s 10457344 B/op 24 allocs/op BenchmarkSplitEmptySeparator-4 1 120711903 ns/op BenchmarkSplitSingleByteSeparator-4 12 8907581 ns/op BenchmarkSplitMultiByteSeparator-4 27 4042630 ns/op BenchmarkSplitNSingleByteSeparator-4 202804 514.5 ns/op BenchmarkSplitNMultiByteSeparator-4 149868 712.4 ns/op BenchmarkRepeat/5x0-4 3588680 34.45 ns/op BenchmarkRepeat/5x1-4 3142550 33.82 ns/op BenchmarkRepeat/5x2-4 251037 472.3 ns/op BenchmarkRepeat/5x6-4 157148 758.5 ns/op BenchmarkRepeat/10x0-4 3386451 33.36 ns/op BenchmarkRepeat/10x1-4 3374568 33.88 ns/op BenchmarkRepeat/10x2-4 252325 474.0 ns/op BenchmarkRepeat/10x6-4 132910 762.4 ns/op BenchmarkRepeatLarge/256/1-4 69124 1575 ns/op 162.52 MB/s BenchmarkRepeatLarge/256/16-4 116828 1013 ns/op 252.62 MB/s BenchmarkRepeatLarge/512/1-4 52837 1970 ns/op 259.88 MB/s BenchmarkRepeatLarge/512/16-4 74170 1426 ns/op 359.08 MB/s BenchmarkRepeatLarge/1024/1-4 42580 2565 ns/op 399.24 MB/s BenchmarkRepeatLarge/1024/16-4 53515 1948 ns/op 525.75 MB/s BenchmarkRepeatLarge/2048/1-4 30318 3577 ns/op 572.56 MB/s BenchmarkRepeatLarge/2048/16-4 38293 2849 ns/op 718.87 MB/s BenchmarkRepeatLarge/4096/1-4 21037 5356 ns/op 764.70 MB/s BenchmarkRepeatLarge/4096/16-4 23782 4757 ns/op 861.01 MB/s BenchmarkRepeatLarge/8192/1-4 13161 9514 ns/op 861.02 MB/s BenchmarkRepeatLarge/8192/16-4 14074 7684 ns/op 1066.10 MB/s BenchmarkRepeatLarge/8192/4097-4 5770630 20.81 ns/op 196871.82 MB/s BenchmarkRepeatLarge/16384/1-4 7316 14412 ns/op 1136.83 MB/s BenchmarkRepeatLarge/16384/16-4 8943 15591 ns/op 1050.86 MB/s BenchmarkRepeatLarge/16384/4097-4 10000 10942 ns/op 1123.28 MB/s BenchmarkRepeatLarge/32768/1-4 4410 28214 ns/op 1161.41 MB/s BenchmarkRepeatLarge/32768/16-4 4282 26709 ns/op 1226.83 MB/s BenchmarkRepeatLarge/32768/4097-4 4837 24696 ns/op 1161.27 MB/s BenchmarkRepeatLarge/65536/1-4 2156 53354 ns/op 1228.33 MB/s BenchmarkRepeatLarge/65536/16-4 2368 52098 ns/op 1257.93 MB/s BenchmarkRepeatLarge/65536/4097-4 2210 53509 ns/op 1148.49 MB/s BenchmarkRepeatLarge/131072/1-4 187 627852 ns/op 208.76 MB/s BenchmarkRepeatLarge/131072/16-4 186 635401 ns/op 206.28 MB/s BenchmarkRepeatLarge/131072/4097-4 181 628931 ns/op 201.94 MB/s BenchmarkRepeatLarge/262144/1-4 100 1251136 ns/op 209.52 MB/s BenchmarkRepeatLarge/262144/16-4 97 1249445 ns/op 209.81 MB/s BenchmarkRepeatLarge/262144/4097-4 100 1255542 ns/op 205.58 MB/s BenchmarkRepeatLarge/524288/1-4 50 2444757 ns/op 214.45 MB/s BenchmarkRepeatLarge/524288/16-4 51 2473262 ns/op 211.98 MB/s BenchmarkRepeatLarge/524288/4097-4 50 2474626 ns/op 210.26 MB/s BenchmarkRepeatLarge/1048576/1-4 24 4920382 ns/op 213.11 MB/s BenchmarkRepeatLarge/1048576/16-4 25 4974043 ns/op 210.81 MB/s BenchmarkRepeatLarge/1048576/4097-4 25 5075936 ns/op 205.82 MB/s BenchmarkRepeatLarge/2097152/1-4 12 9191188 ns/op 228.17 MB/s BenchmarkRepeatLarge/2097152/16-4 12 9512153 ns/op 220.47 MB/s BenchmarkRepeatLarge/2097152/4097-4 12 9192585 ns/op 227.75 MB/s BenchmarkRepeatLarge/4194304/1-4 6 18003860 ns/op 232.97 MB/s BenchmarkRepeatLarge/4194304/16-4 6 18005252 ns/op 232.95 MB/s BenchmarkRepeatLarge/4194304/4097-4 6 18662565 ns/op 224.58 MB/s BenchmarkRepeatLarge/8388608/1-4 3 36855329 ns/op 227.61 MB/s BenchmarkRepeatLarge/8388608/16-4 3 36204034 ns/op 231.70 MB/s BenchmarkRepeatLarge/8388608/4097-4 3 36966712 ns/op 226.87 MB/s BenchmarkRepeatLarge/16777216/1-4 2 72263956 ns/op 232.17 MB/s BenchmarkRepeatLarge/16777216/16-4 2 72799735 ns/op 230.46 MB/s BenchmarkRepeatLarge/16777216/4097-4 2 71303985 ns/op 235.29 MB/s BenchmarkRepeatLarge/33554432/1-4 1 143513720 ns/op 233.81 MB/s BenchmarkRepeatLarge/33554432/16-4 1 144903238 ns/op 231.56 MB/s BenchmarkRepeatLarge/33554432/4097-4 1 145048443 ns/op 231.33 MB/s BenchmarkRepeatLarge/67108864/1-4 1 292256455 ns/op 229.62 MB/s BenchmarkRepeatLarge/67108864/16-4 1 286782357 ns/op 234.01 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 286263404 ns/op 234.43 MB/s BenchmarkRepeatLarge/134217728/1-4 1 557404723 ns/op 240.79 MB/s BenchmarkRepeatLarge/134217728/16-4 1 559997111 ns/op 239.68 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 562852640 ns/op 238.46 MB/s BenchmarkRepeatLarge/268435456/1-4 1 1086129943 ns/op 247.15 MB/s BenchmarkRepeatLarge/268435456/16-4 1 1089097948 ns/op 246.48 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 1140942331 ns/op 235.28 MB/s BenchmarkRepeatLarge/536870912/1-4 1 2217545920 ns/op 242.10 MB/s BenchmarkRepeatLarge/536870912/16-4 1 2244850837 ns/op 239.16 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 2208044582 ns/op 243.14 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 4373823445 ns/op 245.49 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 4345129210 ns/op 247.11 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 4395868305 ns/op 244.26 MB/s BenchmarkIndexAnyASCII/1:1-4 2192191 52.68 ns/op BenchmarkIndexAnyASCII/1:2-4 2176807 54.35 ns/op BenchmarkIndexAnyASCII/1:4-4 2125491 55.64 ns/op BenchmarkIndexAnyASCII/1:8-4 2098016 54.00 ns/op BenchmarkIndexAnyASCII/1:16-4 2142348 54.07 ns/op BenchmarkIndexAnyASCII/1:32-4 2069181 54.93 ns/op BenchmarkIndexAnyASCII/1:64-4 2128694 55.61 ns/op BenchmarkIndexAnyASCII/16:1-4 2267370 52.46 ns/op BenchmarkIndexAnyASCII/16:2-4 727724 164.6 ns/op BenchmarkIndexAnyASCII/16:4-4 712854 166.5 ns/op BenchmarkIndexAnyASCII/16:8-4 696822 167.5 ns/op BenchmarkIndexAnyASCII/16:16-4 674179 178.7 ns/op BenchmarkIndexAnyASCII/16:32-4 572742 208.2 ns/op BenchmarkIndexAnyASCII/16:64-4 462596 258.0 ns/op BenchmarkIndexAnyASCII/256:1-4 2053971 58.56 ns/op BenchmarkIndexAnyASCII/256:2-4 65090 1837 ns/op BenchmarkIndexAnyASCII/256:4-4 65746 1831 ns/op BenchmarkIndexAnyASCII/256:8-4 65162 1851 ns/op BenchmarkIndexAnyASCII/256:16-4 64984 1836 ns/op BenchmarkIndexAnyASCII/256:32-4 64172 1875 ns/op BenchmarkIndexAnyASCII/256:64-4 62227 1919 ns/op BenchmarkIndexAnyUTF8/1:1-4 2286558 52.77 ns/op BenchmarkIndexAnyUTF8/1:2-4 2088612 56.21 ns/op BenchmarkIndexAnyUTF8/1:4-4 2066080 55.55 ns/op BenchmarkIndexAnyUTF8/1:8-4 2109170 56.26 ns/op BenchmarkIndexAnyUTF8/1:16-4 2131659 54.24 ns/op BenchmarkIndexAnyUTF8/1:32-4 2092540 55.76 ns/op BenchmarkIndexAnyUTF8/1:64-4 2063034 57.01 ns/op BenchmarkIndexAnyUTF8/16:1-4 1678557 69.92 ns/op BenchmarkIndexAnyUTF8/16:2-4 302409 374.3 ns/op BenchmarkIndexAnyUTF8/16:4-4 308371 380.6 ns/op BenchmarkIndexAnyUTF8/16:8-4 312153 373.8 ns/op BenchmarkIndexAnyUTF8/16:16-4 312495 354.2 ns/op BenchmarkIndexAnyUTF8/16:32-4 297057 366.1 ns/op BenchmarkIndexAnyUTF8/16:64-4 305826 372.1 ns/op BenchmarkIndexAnyUTF8/256:1-4 458416 261.6 ns/op BenchmarkIndexAnyUTF8/256:2-4 23541 5027 ns/op BenchmarkIndexAnyUTF8/256:4-4 23642 5043 ns/op BenchmarkIndexAnyUTF8/256:8-4 23542 5035 ns/op BenchmarkIndexAnyUTF8/256:16-4 24058 4972 ns/op BenchmarkIndexAnyUTF8/256:32-4 23257 5141 ns/op BenchmarkIndexAnyUTF8/256:64-4 23432 5137 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2155489 55.40 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2149322 53.94 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2155827 54.15 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2173335 53.48 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2148679 54.22 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2104701 54.73 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2148849 54.15 ns/op BenchmarkLastIndexAnyASCII/16:1-4 762626 159.2 ns/op BenchmarkLastIndexAnyASCII/16:2-4 735207 161.1 ns/op BenchmarkLastIndexAnyASCII/16:4-4 731594 160.8 ns/op BenchmarkLastIndexAnyASCII/16:8-4 716607 163.8 ns/op BenchmarkLastIndexAnyASCII/16:16-4 688641 171.5 ns/op BenchmarkLastIndexAnyASCII/16:32-4 588834 202.6 ns/op BenchmarkLastIndexAnyASCII/16:64-4 452661 253.3 ns/op BenchmarkLastIndexAnyASCII/256:1-4 67676 1754 ns/op BenchmarkLastIndexAnyASCII/256:2-4 68862 1743 ns/op BenchmarkLastIndexAnyASCII/256:4-4 68888 1738 ns/op BenchmarkLastIndexAnyASCII/256:8-4 68230 1739 ns/op BenchmarkLastIndexAnyASCII/256:16-4 68318 1752 ns/op BenchmarkLastIndexAnyASCII/256:32-4 67045 1783 ns/op BenchmarkLastIndexAnyASCII/256:64-4 65188 1835 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2155752 54.61 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2176489 53.14 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2187242 54.16 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2159796 54.92 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2099114 55.85 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2107771 54.50 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2129852 54.91 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 375982 298.1 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 193363 594.7 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 199705 602.8 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 191791 599.7 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 187712 616.4 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 181694 615.5 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 177410 605.1 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 30319 3889 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 13497 8815 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 13468 8881 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 13592 8772 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 13784 8709 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 12973 8903 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 13412 8944 ns/op BenchmarkTrimASCII/1:1-4 3147866 37.78 ns/op BenchmarkTrimASCII/1:2-4 2292729 49.67 ns/op BenchmarkTrimASCII/1:4-4 2264196 51.58 ns/op BenchmarkTrimASCII/1:8-4 2139981 54.17 ns/op BenchmarkTrimASCII/1:16-4 1854045 64.79 ns/op BenchmarkTrimASCII/16:1-4 2651042 44.68 ns/op BenchmarkTrimASCII/16:2-4 693861 161.8 ns/op BenchmarkTrimASCII/16:4-4 716587 163.2 ns/op BenchmarkTrimASCII/16:8-4 694736 164.4 ns/op BenchmarkTrimASCII/16:16-4 648145 178.1 ns/op BenchmarkTrimASCII/256:1-4 784610 140.4 ns/op BenchmarkTrimASCII/256:2-4 66878 1756 ns/op BenchmarkTrimASCII/256:4-4 68018 1743 ns/op BenchmarkTrimASCII/256:8-4 66572 1740 ns/op BenchmarkTrimASCII/256:16-4 65823 1838 ns/op BenchmarkTrimASCII/4096:1-4 76923 1537 ns/op BenchmarkTrimASCII/4096:2-4 4394 26978 ns/op BenchmarkTrimASCII/4096:4-4 4411 26918 ns/op BenchmarkTrimASCII/4096:8-4 4323 27062 ns/op BenchmarkTrimASCII/4096:16-4 4351 27159 ns/op BenchmarkTrimByte-4 4215309 28.16 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 14000 8581 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 13944 8641 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 1029 115816 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 2060 57859 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 4044 28988 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 7310 15961 ns/op BenchmarkJoin/0-4 5506777 20.84 ns/op 0 B/op 0 allocs/op BenchmarkJoin/1-4 4011853 28.02 ns/op 0 B/op 0 allocs/op BenchmarkJoin/2-4 201354 604.5 ns/op 16 B/op 1 allocs/op BenchmarkJoin/3-4 140166 852.8 ns/op 24 B/op 1 allocs/op BenchmarkJoin/4-4 99974 1162 ns/op 48 B/op 1 allocs/op BenchmarkJoin/5-4 83762 1436 ns/op 48 B/op 1 allocs/op BenchmarkJoin/6-4 72314 1680 ns/op 64 B/op 1 allocs/op BenchmarkJoin/7-4 58213 1959 ns/op 64 B/op 1 allocs/op BenchmarkTrimSpace/NoTrim-4 2586313 46.14 ns/op BenchmarkTrimSpace/ASCII-4 1496126 79.03 ns/op BenchmarkTrimSpace/SomeNonASCII-4 145018 815.9 ns/op BenchmarkTrimSpace/JustNonASCII-4 74775 1587 ns/op BenchmarkReplaceAll-4 124347 975.6 ns/op 16 B/op 1 allocs/op PASS ok strings 72.029s goos: linux goarch: amd64 pkg: sync cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCond1-4 53221 2148 ns/op BenchmarkCond2-4 14022 7364 ns/op BenchmarkCond4-4 15098 7695 ns/op BenchmarkCond8-4 9828 14953 ns/op BenchmarkCond16-4 4284 32032 ns/op BenchmarkCond32-4 1630 77223 ns/op BenchmarkLoadMostlyHits/*sync_test.DeepCopyMap-4 473638 231.3 ns/op BenchmarkLoadMostlyHits/*sync_test.RWMutexMap-4 349267 341.6 ns/op BenchmarkLoadMostlyHits/*sync.Map-4 631707 198.0 ns/op BenchmarkLoadMostlyMisses/*sync_test.DeepCopyMap-4 442758 240.0 ns/op BenchmarkLoadMostlyMisses/*sync_test.RWMutexMap-4 264127 404.0 ns/op BenchmarkLoadMostlyMisses/*sync.Map-4 697536 201.2 ns/op BenchmarkLoadOrStoreBalanced/*sync_test.RWMutexMap-4 60454 2208 ns/op BenchmarkLoadOrStoreBalanced/*sync.Map-4 53754 2324 ns/op BenchmarkLoadOrStoreUnique/*sync_test.RWMutexMap-4 52075 3098 ns/op BenchmarkLoadOrStoreUnique/*sync.Map-4 38850 3831 ns/op BenchmarkLoadOrStoreCollision/*sync_test.DeepCopyMap-4 522120 241.3 ns/op BenchmarkLoadOrStoreCollision/*sync_test.RWMutexMap-4 167100 941.1 ns/op BenchmarkLoadOrStoreCollision/*sync.Map-4 570952 217.3 ns/op BenchmarkLoadAndDeleteBalanced/*sync_test.RWMutexMap-4 135458 910.6 ns/op BenchmarkLoadAndDeleteBalanced/*sync.Map-4 548125 204.0 ns/op BenchmarkLoadAndDeleteUnique/*sync_test.RWMutexMap-4 121872 1008 ns/op BenchmarkLoadAndDeleteUnique/*sync.Map-4 1901521 73.68 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.DeepCopyMap-4 43770 2959 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.RWMutexMap-4 106882 1081 ns/op BenchmarkLoadAndDeleteCollision/*sync.Map-4 363513 321.4 ns/op BenchmarkRange/*sync_test.DeepCopyMap-4 8421 14618 ns/op BenchmarkRange/*sync_test.RWMutexMap-4 301 344806 ns/op BenchmarkRange/*sync.Map-4 1032 104871 ns/op BenchmarkAdversarialAlloc/*sync_test.DeepCopyMap-4 80095 1690 ns/op BenchmarkAdversarialAlloc/*sync_test.RWMutexMap-4 188283 600.1 ns/op BenchmarkAdversarialAlloc/*sync.Map-4 59198 2225 ns/op BenchmarkAdversarialDelete/*sync_test.DeepCopyMap-4 91323 1238 ns/op BenchmarkAdversarialDelete/*sync_test.RWMutexMap-4 254590 549.2 ns/op BenchmarkAdversarialDelete/*sync.Map-4 142798 998.8 ns/op BenchmarkDeleteCollision/*sync_test.DeepCopyMap-4 60882 1841 ns/op BenchmarkDeleteCollision/*sync_test.RWMutexMap-4 150822 726.3 ns/op BenchmarkDeleteCollision/*sync.Map-4 735416 187.3 ns/op BenchmarkSwapCollision/*sync_test.DeepCopyMap-4 46477 2567 ns/op BenchmarkSwapCollision/*sync_test.RWMutexMap-4 114658 1234 ns/op BenchmarkSwapCollision/*sync.Map-4 65940 1842 ns/op BenchmarkSwapMostlyHits/*sync_test.DeepCopyMap-4 207 554212 ns/op BenchmarkSwapMostlyHits/*sync_test.RWMutexMap-4 81704 1464 ns/op BenchmarkSwapMostlyHits/*sync.Map-4 265141 385.7 ns/op BenchmarkSwapMostlyMisses/*sync_test.DeepCopyMap-4 17973 6803 ns/op BenchmarkSwapMostlyMisses/*sync_test.RWMutexMap-4 57422 1956 ns/op BenchmarkSwapMostlyMisses/*sync.Map-4 19334 6979 ns/op BenchmarkCompareAndSwapCollision/*sync_test.DeepCopyMap-4 314034 354.2 ns/op BenchmarkCompareAndSwapCollision/*sync_test.RWMutexMap-4 108288 1191 ns/op BenchmarkCompareAndSwapCollision/*sync.Map-4 190226 662.8 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.DeepCopyMap-4 1785489 67.90 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.RWMutexMap-4 150286 851.1 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync.Map-4 1751415 61.04 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.DeepCopyMap-4 468411 279.1 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.RWMutexMap-4 156373 1087 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync.Map-4 559038 223.8 ns/op BenchmarkCompareAndSwapMostlyHits/*sync_test.RWMutexMap-4 91128 1350 ns/op BenchmarkCompareAndSwapMostlyHits/*sync.Map-4 266631 413.0 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.DeepCopyMap-4 471230 296.8 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.RWMutexMap-4 98440 1383 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync.Map-4 558824 233.1 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.DeepCopyMap-4 195248 601.2 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.RWMutexMap-4 128596 1274 ns/op BenchmarkCompareAndDeleteCollision/*sync.Map-4 163350 681.8 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync_test.RWMutexMap-4 40768 3006 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync.Map-4 198027 604.5 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.DeepCopyMap-4 423360 260.2 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.RWMutexMap-4 92414 1287 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync.Map-4 542864 217.2 ns/op BenchmarkUncontendedSemaphore-4 3478658 34.13 ns/op BenchmarkContendedSemaphore-4 2331552 61.91 ns/op BenchmarkMutexUncontended-4 690512 148.1 ns/op BenchmarkMutex-4 176372 996.4 ns/op BenchmarkMutexSlack-4 123198 948.0 ns/op BenchmarkMutexWork-4 104454 1013 ns/op BenchmarkMutexWorkSlack-4 112402 1137 ns/op BenchmarkMutexNoSpin-4 47786 2431 ns/op BenchmarkMutexSpin-4 67472 2690 ns/op BenchmarkOnce-4 719492 218.9 ns/op BenchmarkOnceFunc/v=Once-4 1220157 102.4 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Global-4 976215 120.6 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Local-4 1000000 117.3 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Once-4 1000000 105.2 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Global-4 900291 134.0 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Local-4 945921 133.2 ns/op 0 B/op 0 allocs/op BenchmarkSemaUncontended-4 6884182 15.85 ns/op BenchmarkSemaSyntNonblock-4 1385488 83.38 ns/op BenchmarkSemaSyntBlock-4 1206642 98.40 ns/op BenchmarkSemaWorkNonblock-4 840100 129.6 ns/op BenchmarkSemaWorkBlock-4 903025 137.9 ns/op BenchmarkRWMutexUncontended-4 241615 440.5 ns/op BenchmarkRWMutexWrite100-4 253575 416.6 ns/op BenchmarkRWMutexWrite10-4 219465 537.5 ns/op BenchmarkRWMutexWorkWrite100-4 208935 528.1 ns/op BenchmarkRWMutexWorkWrite10-4 202071 667.3 ns/op BenchmarkWaitGroupUncontended-4 814216 123.3 ns/op BenchmarkWaitGroupAddDone-4 377667 319.7 ns/op BenchmarkWaitGroupAddDoneWork-4 340083 313.3 ns/op BenchmarkWaitGroupWait-4 4397848 29.92 ns/op BenchmarkWaitGroupWaitWork-4 2829694 40.59 ns/op BenchmarkWaitGroupActuallyWait-4 41398 2929 ns/op 32 B/op 2 allocs/op PASS ok sync 21.051s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: sync/atomic cpu: AMD EPYC 7B12 BenchmarkValueRead-4 698402 167.1 ns/op PASS ok sync/atomic 1.307s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. PASS ok syscall 1.022s goos: linux goarch: amd64 pkg: testing cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkTBHelper-4 93283 1254 ns/op 0 B/op 0 allocs/op PASS ok testing 1.158s goos: linux goarch: amd64 pkg: text/tabwriter cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkTable/1x10/new-4 7570 14598 ns/op 1520 B/op 21 allocs/op BenchmarkTable/1x10/reuse-4 11665 10295 ns/op 0 B/op 0 allocs/op BenchmarkTable/1x1000/new-4 93 1212509 ns/op 129394 B/op 1025 allocs/op BenchmarkTable/1x1000/reuse-4 124 954773 ns/op 1043 B/op 8 allocs/op BenchmarkTable/1x100000/new-4 1 198007044 ns/op 19393008 B/op 100057 allocs/op BenchmarkTable/1x100000/reuse-4 1 200316467 ns/op 19393016 B/op 100058 allocs/op BenchmarkTable/10x10/new-4 1641 67441 ns/op 5056 B/op 31 allocs/op BenchmarkTable/10x10/reuse-4 2146 54494 ns/op 2 B/op 0 allocs/op BenchmarkTable/10x1000/new-4 19 5977218 ns/op 413568 B/op 1039 allocs/op BenchmarkTable/10x1000/reuse-4 19 5288019 ns/op 21766 B/op 54 allocs/op BenchmarkTable/10x100000/new-4 1 749653578 ns/op 48120800 B/op 100074 allocs/op BenchmarkTable/10x100000/reuse-4 1 746876365 ns/op 48120800 B/op 100074 allocs/op BenchmarkTable/100x10/new-4 217 541321 ns/op 39296 B/op 41 allocs/op BenchmarkTable/100x10/reuse-4 244 483176 ns/op 161 B/op 0 allocs/op BenchmarkTable/100x1000/new-4 2 60681459 ns/op 3288964 B/op 1053 allocs/op BenchmarkTable/100x1000/reuse-4 2 58815816 ns/op 1644480 B/op 526 allocs/op BenchmarkTable/100x100000/new-4 1 7194811685 ns/op 335149952 B/op 100089 allocs/op BenchmarkTable/100x100000/reuse-4 1 7117414864 ns/op 335150048 B/op 100090 allocs/op BenchmarkPyramid/10-4 2504 44873 ns/op 4872 B/op 35 allocs/op BenchmarkPyramid/100-4 39 2910678 ns/op 409128 B/op 230 allocs/op BenchmarkPyramid/1000-4 1 310989244 ns/op 35627656 B/op 2062 allocs/op BenchmarkRagged/10-4 2428 48799 ns/op 4512 B/op 34 allocs/op BenchmarkRagged/100-4 248 444407 ns/op 41008 B/op 188 allocs/op BenchmarkRagged/1000-4 26 4470065 ns/op 427424 B/op 1661 allocs/op BenchmarkCode-4 7783 15591 ns/op 624 B/op 13 allocs/op PASS ok text/tabwriter 20.495s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: text/template/parse cpu: AMD EPYC 7B12 BenchmarkParseLarge-4 2 54796993 ns/op BenchmarkVariableString-4 138624 855.7 ns/op 80 B/op 3 allocs/op BenchmarkListString-4 2970 39651 ns/op 2529 B/op 39 allocs/op PASS ok text/template/parse 1.434s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: time cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAfterFunc-4 36 3038440 ns/op BenchmarkAfter-4 116 1266047 ns/op BenchmarkStop-4 222 559171 ns/op BenchmarkSimultaneousAfterFunc-4 30 4430583 ns/op BenchmarkStartStop-4 225 645713 ns/op BenchmarkReset-4 2571 56550 ns/op BenchmarkSleep-4 30 4068987 ns/op BenchmarkParallelTimerLatency-4 51 311727 avg-late-ns 10256624 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=1-4 37 360816 avg-late-ns 899361 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=2-4 32 378104 avg-late-ns 1363223 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=3-4 34 424377 avg-late-ns 1220275 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=4-4 33 348446 avg-late-ns 1360850 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=5-4 31 305832 avg-late-ns 1714067 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=6-4 31 291304 avg-late-ns 1708455 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=7-4 28 267487 avg-late-ns 1887918 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=8-4 27 185620 avg-late-ns 2077986 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=9-4 25 174903 avg-late-ns 1265076 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=10-4 26 793007 avg-late-ns 2745655 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=2ms/tickers-per-P=1-4 34 289110 avg-late-ns 910460 max-late-ns BenchmarkTicker-4 327 392179 ns/op BenchmarkTickerReset-4 4318 30059 ns/op BenchmarkTickerResetNaive-4 200 634358 ns/op BenchmarkNow-4 1000000 104.5 ns/op BenchmarkNowUnixNano-4 1000000 100.6 ns/op BenchmarkNowUnixMilli-4 1000000 101.1 ns/op BenchmarkNowUnixMicro-4 1000000 101.4 ns/op BenchmarkFormat-4 58110 2087 ns/op BenchmarkFormatRFC3339-4 76856 1647 ns/op BenchmarkFormatRFC3339Nano-4 73864 1670 ns/op BenchmarkFormatNow-4 75448 1577 ns/op BenchmarkMarshalJSON-4 103761 1168 ns/op BenchmarkMarshalText-4 110946 1129 ns/op BenchmarkParse-4 135616 873.2 ns/op BenchmarkParseRFC3339UTC-4 314638 386.6 ns/op BenchmarkParseRFC3339UTCBytes-4 212380 559.8 ns/op BenchmarkParseRFC3339TZ-4 98697 1209 ns/op BenchmarkParseRFC3339TZBytes-4 79501 1556 ns/op BenchmarkParseDuration-4 470430 249.3 ns/op BenchmarkHour-4 852592 136.7 ns/op BenchmarkSecond-4 889491 133.9 ns/op BenchmarkYear-4 662564 177.1 ns/op BenchmarkDay-4 592210 194.8 ns/op BenchmarkISOWeek-4 564303 201.5 ns/op BenchmarkGoString-4 77032 1550 ns/op BenchmarkUnmarshalText-4 68995 1772 ns/op PASS ok time 12.653s goos: linux goarch: amd64 pkg: unicode/utf16 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecodeValidASCII-4 595910 180.5 ns/op BenchmarkDecodeValidJapaneseChars-4 707370 156.7 ns/op BenchmarkDecodeRune-4 1684213 71.61 ns/op BenchmarkEncodeValidASCII-4 509520 202.5 ns/op BenchmarkEncodeValidJapaneseChars-4 766146 140.1 ns/op BenchmarkAppendRuneValidASCII-4 1434212 83.65 ns/op BenchmarkAppendRuneValidJapaneseChars-4 2242924 53.42 ns/op BenchmarkEncodeRune-4 2742312 42.01 ns/op PASS ok unicode/utf16 2.216s goos: linux goarch: amd64 pkg: unicode/utf8 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRuneCountTenASCIIChars-4 932355 127.8 ns/op BenchmarkRuneCountTenJapaneseChars-4 176784 648.2 ns/op BenchmarkRuneCountInStringTenASCIIChars-4 3682441 32.24 ns/op BenchmarkRuneCountInStringTenJapaneseChars-4 456630 261.1 ns/op BenchmarkValidTenASCIIChars-4 900553 125.6 ns/op BenchmarkValid100KASCIIChars-4 103 1161931 ns/op BenchmarkValidTenJapaneseChars-4 166845 691.6 ns/op BenchmarkValidLongMostlyASCII-4 98 1218276 ns/op BenchmarkValidLongJapanese-4 57 2028367 ns/op BenchmarkValidStringTenASCIIChars-4 4588436 26.32 ns/op BenchmarkValidString100KASCIIChars-4 9093 12323 ns/op BenchmarkValidStringTenJapaneseChars-4 406726 250.4 ns/op BenchmarkValidStringLongMostlyASCII-4 1254 94796 ns/op BenchmarkValidStringLongJapanese-4 159 748581 ns/op BenchmarkEncodeASCIIRune-4 4510251 26.51 ns/op BenchmarkEncodeJapaneseRune-4 2421832 49.12 ns/op BenchmarkAppendASCIIRune-4 10141782 11.49 ns/op BenchmarkAppendJapaneseRune-4 3038301 38.93 ns/op BenchmarkDecodeASCIIRune-4 2734208 41.96 ns/op BenchmarkDecodeJapaneseRune-4 1929921 62.31 ns/op BenchmarkFullRune/ASCII-4 3527470 34.05 ns/op BenchmarkFullRune/Incomplete-4 1632591 73.16 ns/op BenchmarkFullRune/Japanese-4 3629408 33.23 ns/op PASS ok unicode/utf8 4.706s goos: linux goarch: amd64 pkg: cmd/api cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAll-4 1 74386705623 ns/op PASS ok cmd/api 75.772s goos: linux goarch: amd64 pkg: cmd/cgo/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCgoCall/add-int-4 358262 285.6 ns/op BenchmarkCgoCall/one-pointer-4 314857 353.0 ns/op BenchmarkCgoCall/eight-pointers-4 164962 700.4 ns/op BenchmarkCgoCall/eight-pointers-nil-4 331371 349.0 ns/op BenchmarkCgoCall/eight-pointers-array-4 14395 7229 ns/op BenchmarkCgoCall/eight-pointers-slice-4 30110 3839 ns/op BenchmarkGoString-4 1000000 118.6 ns/op BenchmarkCGoCallback-4 46436 2486 ns/op BenchmarkCGoInCThread-4 286965 399.2 ns/op PASS ok cmd/cgo/internal/test 2.231s goos: linux goarch: amd64 pkg: cmd/compile/internal/reflectdata cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEqArrayOfStrings5-4 1000000 105.8 ns/op BenchmarkEqArrayOfStrings64-4 141164 848.3 ns/op BenchmarkEqArrayOfStrings1024-4 9769 11989 ns/op BenchmarkEqArrayOfFloats5-4 1358119 86.55 ns/op BenchmarkEqArrayOfFloats64-4 136718 867.0 ns/op BenchmarkEqArrayOfFloats1024-4 9130 12986 ns/op BenchmarkEqArrayOfStructsEq-4 2605 44555 ns/op BenchmarkEqArrayOfStructsNotEq-4 4576 25247 ns/op BenchmarkEqStruct-4 18325027 6.594 ns/op PASS ok cmd/compile/internal/reflectdata 2.239s goos: linux goarch: amd64 pkg: cmd/compile/internal/ssa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPhioptPass-4 10000 55618 ns/op BenchmarkCopyElim1-4 679 179104 ns/op BenchmarkCopyElim10-4 661 182872 ns/op BenchmarkCopyElim100-4 282 387800 ns/op BenchmarkCopyElim1000-4 46 2429652 ns/op BenchmarkCopyElim10000-4 2 53587544 ns/op BenchmarkCopyElim100000-4 1 787645915 ns/op BenchmarkDeadCode/1-4 490 211422 ns/op BenchmarkDeadCode/10-4 483 242353 ns/op BenchmarkDeadCode/100-4 213 570299 ns/op BenchmarkDeadCode/1000-4 43 2758869 ns/op BenchmarkDeadCode/10000-4 3 39820341 ns/op BenchmarkDeadCode/100000-4 1 513084766 ns/op BenchmarkDeadCode/200000-4 1 1084785828 ns/op BenchmarkDominatorsLinear-4 14 9162584 ns/op 1.09 MB/s BenchmarkDominatorsFwdBack-4 9 13340264 ns/op 0.75 MB/s BenchmarkDominatorsManyPred-4 9 12900639 ns/op 0.78 MB/s BenchmarkDominatorsMaxPred-4 9 12767758 ns/op 0.78 MB/s BenchmarkDominatorsMaxPredVal-4 9 13010330 ns/op 0.77 MB/s BenchmarkFuse/1-4 511 236438 ns/op BenchmarkFuse/10-4 396 291671 ns/op BenchmarkFuse/100-4 130 949012 ns/op BenchmarkFuse/1000-4 19 5929834 ns/op BenchmarkFuse/10000-4 2 89284262 ns/op BenchmarkNilCheckDeep1-4 12502 9476 ns/op 0.11 MB/s 237 B/op 4 allocs/op BenchmarkNilCheckDeep10-4 5331 22716 ns/op 0.44 MB/s 236 B/op 4 allocs/op BenchmarkNilCheckDeep100-4 758 152966 ns/op 0.65 MB/s 693 B/op 4 allocs/op BenchmarkNilCheckDeep1000-4 72 1458578 ns/op 0.69 MB/s 4507 B/op 4 allocs/op BenchmarkNilCheckDeep10000-4 6 17822219 ns/op 0.56 MB/s 98930 B/op 7 allocs/op BenchmarkDSEPass-4 32 3613052 ns/op 59631 B/op 7 allocs/op BenchmarkDSEPassBlock-4 1 120541589 ns/op 4253104 B/op 108409 allocs/op BenchmarkCSEPass-4 7 14653318 ns/op 94075 B/op 9 allocs/op BenchmarkCSEPassBlock-4 1 151578367 ns/op 5653904 B/op 97388 allocs/op BenchmarkDeadcodePass-4 164 697162 ns/op 93709 B/op 3 allocs/op BenchmarkDeadcodePassBlock-4 1 126497549 ns/op 4053920 B/op 45019 allocs/op BenchmarkMultiPass-4 54 1930275 ns/op 256542 B/op 11 allocs/op BenchmarkMultiPassBlock-4 1 262827157 ns/op 11155288 B/op 149562 allocs/op BenchmarkCondRewrite/SoloJump-4 3009472 39.89 ns/op BenchmarkCondRewrite/CombJump-4 2973208 40.70 ns/op PASS ok cmd/compile/internal/ssa 15.965s goos: linux goarch: amd64 pkg: cmd/compile/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLoadAdd-4 9042 12343 ns/op BenchmarkExtShift-4 16533 7255 ns/op BenchmarkModify-4 9550 12016 ns/op BenchmarkMullImm-4 16580 7185 ns/op BenchmarkConstModify-4 9543 11937 ns/op BenchmarkBitSet-4 19530 6162 ns/op BenchmarkBitClear-4 19508 6193 ns/op BenchmarkBitToggle-4 19381 6150 ns/op BenchmarkBitSetConst-4 148078 798.3 ns/op BenchmarkBitClearConst-4 155991 769.1 ns/op BenchmarkBitToggleConst-4 152008 775.2 ns/op BenchmarkDivconstI64-4 8833473 13.43 ns/op BenchmarkModconstI64-4 8703321 13.23 ns/op BenchmarkDivisiblePow2constI64-4 8721164 13.44 ns/op BenchmarkDivisibleconstI64-4 9595429 12.09 ns/op BenchmarkDivisibleWDivconstI64-4 6426548 18.63 ns/op BenchmarkDivconstU64/3-4 9353737 12.42 ns/op BenchmarkDivconstU64/5-4 8623309 13.14 ns/op BenchmarkDivconstU64/37-4 9382440 12.46 ns/op BenchmarkDivconstU64/1234567-4 9431163 12.50 ns/op BenchmarkModconstU64-4 8814037 13.25 ns/op BenchmarkDivisibleconstU64-4 9499612 12.19 ns/op BenchmarkDivisibleWDivconstU64-4 6618040 18.18 ns/op BenchmarkDivconstI32-4 9215232 12.42 ns/op BenchmarkModconstI32-4 9002704 12.79 ns/op BenchmarkDivisiblePow2constI32-4 8919013 12.99 ns/op BenchmarkDivisibleconstI32-4 9115723 12.73 ns/op BenchmarkDivisibleWDivconstI32-4 6498957 18.35 ns/op BenchmarkDivconstU32-4 9619088 12.10 ns/op BenchmarkModconstU32-4 8596472 13.60 ns/op BenchmarkDivisibleconstU32-4 9418551 12.41 ns/op BenchmarkDivisibleWDivconstU32-4 6487320 18.49 ns/op BenchmarkDivconstI16-4 9643366 12.17 ns/op BenchmarkModconstI16-4 8873682 13.12 ns/op BenchmarkDivisiblePow2constI16-4 9445452 12.48 ns/op BenchmarkDivisibleconstI16-4 9559741 12.11 ns/op BenchmarkDivisibleWDivconstI16-4 6437593 18.58 ns/op BenchmarkDivconstU16-4 9388618 12.41 ns/op BenchmarkModconstU16-4 9268362 12.59 ns/op BenchmarkDivisibleconstU16-4 9401198 12.46 ns/op BenchmarkDivisibleWDivconstU16-4 6709260 18.12 ns/op BenchmarkDivconstI8-4 9584756 12.07 ns/op BenchmarkModconstI8-4 8860328 12.71 ns/op BenchmarkDivisiblePow2constI8-4 9028285 13.07 ns/op BenchmarkDivisibleconstI8-4 9448948 12.42 ns/op BenchmarkDivisibleWDivconstI8-4 6621620 18.05 ns/op BenchmarkDivconstU8-4 9301495 12.56 ns/op BenchmarkModconstU8-4 9647067 12.20 ns/op BenchmarkDivisibleconstU8-4 8836192 13.11 ns/op BenchmarkDivisibleWDivconstU8-4 6499929 18.71 ns/op BenchmarkMul2-4 218127 540.5 ns/op BenchmarkMulNeg2-4 221253 540.3 ns/op BenchmarkEfaceInteger-4 3626000 28.82 ns/op BenchmarkDiv64UnsignedSmall-4 7013791 15.37 ns/op BenchmarkDiv64Small-4 6134142 18.44 ns/op BenchmarkDiv64SmallNegDivisor-4 6239180 18.36 ns/op BenchmarkDiv64SmallNegDividend-4 6273693 18.23 ns/op BenchmarkDiv64SmallNegBoth-4 6266814 18.18 ns/op BenchmarkDiv64Unsigned-4 6700798 17.68 ns/op BenchmarkDiv64-4 5708882 20.83 ns/op BenchmarkDiv64NegDivisor-4 5718848 20.50 ns/op BenchmarkDiv64NegDividend-4 5704568 20.84 ns/op BenchmarkDiv64NegBoth-4 5712306 20.57 ns/op BenchmarkMod64UnsignedSmall-4 7294668 14.76 ns/op BenchmarkMod64Small-4 6177117 18.06 ns/op BenchmarkMod64SmallNegDivisor-4 6317070 18.17 ns/op BenchmarkMod64SmallNegDividend-4 6143154 18.29 ns/op BenchmarkMod64SmallNegBoth-4 6338361 18.37 ns/op BenchmarkMod64Unsigned-4 6886197 17.09 ns/op BenchmarkMod64-4 5756522 20.59 ns/op BenchmarkMod64NegDivisor-4 5756454 20.53 ns/op BenchmarkMod64NegDividend-4 5768697 20.59 ns/op BenchmarkMod64NegBoth-4 5719632 20.70 ns/op BenchmarkMulconstI32/3-4 18393907 6.181 ns/op BenchmarkMulconstI32/5-4 18266569 6.212 ns/op BenchmarkMulconstI32/12-4 17233740 6.206 ns/op BenchmarkMulconstI32/120-4 18253896 6.183 ns/op BenchmarkMulconstI32/-120-4 18274831 6.196 ns/op BenchmarkMulconstI32/65537-4 17297127 6.197 ns/op BenchmarkMulconstI32/65538-4 17291143 6.217 ns/op BenchmarkMulconstI64/3-4 16814616 6.841 ns/op BenchmarkMulconstI64/5-4 16349154 6.832 ns/op BenchmarkMulconstI64/12-4 17418236 6.220 ns/op BenchmarkMulconstI64/120-4 16479327 6.819 ns/op BenchmarkMulconstI64/-120-4 15619929 6.922 ns/op BenchmarkMulconstI64/65537-4 17163506 6.608 ns/op BenchmarkMulconstI64/65538-4 16943054 6.207 ns/op BenchmarkMulconstU32/3-4 17982182 6.225 ns/op BenchmarkMulconstU32/5-4 18297856 6.220 ns/op BenchmarkMulconstU32/12-4 16924399 6.222 ns/op BenchmarkMulconstU32/120-4 18368744 6.218 ns/op BenchmarkMulconstU32/65537-4 17111427 6.198 ns/op BenchmarkMulconstU32/65538-4 17245947 6.228 ns/op BenchmarkMulconstU64/3-4 16775748 6.878 ns/op BenchmarkMulconstU64/5-4 16778382 6.812 ns/op BenchmarkMulconstU64/12-4 17310931 6.234 ns/op BenchmarkMulconstU64/120-4 16665434 6.889 ns/op BenchmarkMulconstU64/65537-4 17317168 6.223 ns/op BenchmarkMulconstU64/65538-4 17322738 6.194 ns/op BenchmarkShiftArithmeticRight-4 18220533 6.557 ns/op BenchmarkSwitch8Predictable-4 13922634 8.591 ns/op BenchmarkSwitch8Unpredictable-4 6586982 18.21 ns/op BenchmarkSwitch32Predictable-4 8344154 14.51 ns/op BenchmarkSwitch32Unpredictable-4 6593690 18.23 ns/op BenchmarkSwitchStringPredictable-4 7788616 15.44 ns/op BenchmarkSwitchStringUnpredictable-4 4796266 24.97 ns/op PASS ok cmd/compile/internal/test 15.517s goos: linux goarch: amd64 pkg: cmd/compile/internal/types2 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLookupFieldOrMethod-4 140 883241 ns/op BenchmarkNamed/Underlying/nongeneric-4 711199 148.5 ns/op BenchmarkNamed/Underlying/generic-4 727672 144.3 ns/op BenchmarkNamed/Underlying/src_instance-4 817346 143.2 ns/op BenchmarkNamed/Underlying/user_instance-4 794239 142.5 ns/op BenchmarkCheck/http/funcbodies/info-4 1 641396601 ns/op 47694 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 399477437 ns/op 76581 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 179625173 ns/op 170256 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 152589036 ns/op 200415 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 502086050 ns/op 10324 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 2 97122321 ns/op 53359 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 3 39057964 ns/op 132639 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 3 35276382 ns/op 146891 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 156527079 ns/op 13858 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 3 42447180 ns/op 51099 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 5 23108013 ns/op 93850 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 5 21192747 ns/op 102368 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1359584876 ns/op 48051 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 626296717 ns/op 104302 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 188400198 ns/op 346627 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 129923640 ns/op 502539 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 479289397 ns/op 4177 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 68943140 ns/op 29022 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 3 42210178 ns/op 47409 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 3 40763348 ns/op 49088 lines/s PASS ok cmd/compile/internal/types2 18.078s goos: linux goarch: amd64 pkg: cmd/go cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExecGoEnv-4 102 1075860 ns/op 2876951 sys-ns/op 1063078 user-ns/op PASS ok cmd/go 1.219s goos: linux goarch: amd64 pkg: cmd/internal/notsha256 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 67514 1731 ns/op 4.62 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 78030 1497 ns/op 5.35 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 14383 8254 ns/op 124.06 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 15027 7999 ns/op 128.02 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 2298 52577 ns/op 155.81 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 2265 51994 ns/op 157.56 MB/s 0 B/op 0 allocs/op PASS ok cmd/internal/notsha256 1.960s All tests passed.