linux-amd64-race at 82d5ebce96761083f5313b180c6b368be1912d42 :: 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-rnf7cba53" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=0s" "GO_STAGE0_DL_DELAY=300ms" "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-rnf7cba53" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=0s" "GO_STAGE0_DL_DELAY=300ms" "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.788s ok archive/zip 2.619s ok bufio 1.229s ok bytes 2.598s ok cmp 1.009s ok compress/bzip2 1.311s ok compress/flate 5.454s ok compress/gzip 9.864s ok compress/lzw 1.389s ok compress/zlib 4.469s ok container/heap 1.013s ok container/list 1.010s ok container/ring 1.011s ok context 1.031s ok crypto 1.009s ok crypto/aes 1.034s ok crypto/cipher 1.030s ok crypto/des 1.043s ok crypto/dsa 1.011s ok crypto/ecdh 1.165s ok crypto/ecdsa 1.094s ok crypto/ed25519 1.276s ok crypto/elliptic 1.025s ok crypto/hmac 1.012s ok crypto/internal/alias 1.009s ok crypto/internal/bigmod 3.410s ok crypto/internal/boring 1.009s ok crypto/internal/boring/bcache 1.277s ok crypto/internal/edwards25519 27.726s ok crypto/internal/edwards25519/field 9.993s ok crypto/internal/nistec 1.594s ok crypto/internal/nistec/fiat 1.009s [no tests to run] ok crypto/md5 1.015s ok crypto/rand 1.178s ok crypto/rc4 1.325s ok crypto/rsa 2.257s ok crypto/sha1 1.024s ok crypto/sha256 1.013s ok crypto/sha512 1.013s ok crypto/subtle 1.244s ok crypto/tls 2.991s ok crypto/x509 2.035s ok database/sql 1.286s ok database/sql/driver 1.009s ok debug/buildinfo 1.022s ok debug/dwarf 1.046s ok debug/elf 1.835s ok debug/gosym 1.203s ok debug/macho 1.018s ok debug/pe 1.030s ok debug/plan9obj 1.009s ok embed 1.009s [no tests to run] ok embed/internal/embedtest 1.011s ok encoding/ascii85 1.013s ok encoding/asn1 1.013s ok encoding/base32 1.036s ok encoding/base64 1.015s ok encoding/binary 1.013s ok encoding/csv 1.034s ok encoding/gob 16.279s ok encoding/hex 1.014s ok encoding/json 1.774s ok encoding/pem 2.215s ok encoding/xml 1.114s ok errors 1.013s ok expvar 1.013s ok flag 3.057s ok fmt 1.436s ok go/ast 1.019s ok go/build 3.955s ok go/build/constraint 1.015s ok go/constant 1.014s ok go/doc 1.172s ok go/doc/comment 2.408s ok go/format 1.035s ok go/importer 1.113s ok go/internal/gccgoimporter 1.030s ok go/internal/gcimporter 1.759s ok go/internal/srcimporter 10.061s ok go/parser 1.608s ok go/printer 1.968s ok go/scanner 1.014s ok go/token 1.076s ok go/types 22.802s ok hash 1.012s ok hash/adler32 1.027s ok hash/crc32 1.032s ok hash/crc64 1.017s ok hash/fnv 1.009s ok hash/maphash 1.010s ok html 1.011s ok html/template 1.157s ok image 1.318s ok image/color 1.025s ok image/draw 1.382s ok image/gif 1.610s ok image/jpeg 1.910s ok image/png 3.034s ok index/suffixarray 1.754s ok internal/abi 1.034s ok internal/buildcfg 1.009s ok internal/coverage/cformat 1.010s ok internal/coverage/cmerge 1.010s ok internal/coverage/pods 1.011s ok internal/coverage/slicereader 1.009s ok internal/coverage/slicewriter 1.009s ok internal/coverage/test 1.028s ok internal/cpu 3.027s ok internal/dag 1.010s ok internal/diff 1.011s ok internal/fmtsort 1.010s ok internal/fuzz 1.023s ok internal/godebug 13.468s ok internal/godebugs 1.010s ok internal/intern 1.210s ok internal/itoa 1.010s ok internal/poll 1.373s ok internal/profile 1.010s ok internal/reflectlite 1.011s ok internal/safefilepath 1.009s ok internal/saferio 1.062s ok internal/singleflight 1.074s ok internal/testenv 1.097s ok internal/trace 1.118s ok internal/types/errors 1.231s ok internal/unsafeheader 1.010s ok internal/xcoff 1.019s ok internal/zstd 1.011s ok io 1.038s ok io/fs 1.197s ok io/ioutil 1.013s ok log 1.014s ok log/slog 1.026s ok log/slog/internal/benchmarks 1.010s ok log/slog/internal/buffer 1.009s ok log/syslog 2.224s ok maps 1.011s ok math 1.018s ok math/big 3.054s ok math/bits 1.016s ok math/cmplx 1.011s ok math/rand 3.578s ok mime 1.022s ok mime/multipart 4.181s ok mime/quotedprintable 1.032s ok net 39.494s ok net/http 6.835s ok net/http/cgi 12.256s ok net/http/cookiejar 1.015s ok net/http/fcgi 1.115s ok net/http/httptest 1.136s ok net/http/httptrace 1.009s ok net/http/httputil 1.615s ok net/http/internal 1.015s ok net/http/internal/ascii 1.010s ok net/http/pprof 6.140s ok net/internal/socktest 1.010s ok net/mail 1.016s ok net/netip 1.228s ok net/rpc 1.039s ok net/rpc/jsonrpc 1.016s ok net/smtp 1.048s ok net/textproto 1.027s ok net/url 1.017s ok os 6.241s ok os/exec 4.068s ok os/exec/internal/fdtest 1.009s ok os/signal 16.922s ok os/user 1.010s ok path 1.011s ok path/filepath 1.034s ok plugin 1.009s ok reflect 1.370s ok regexp 3.011s ok regexp/syntax 3.984s ok runtime 27.939s ok runtime/cgo 1.010s ok runtime/coverage 1.011s ok runtime/debug 2.060s ok runtime/internal/atomic 1.044s ok runtime/internal/math 1.009s ok runtime/internal/sys 1.010s ok runtime/internal/syscall 1.008s ok runtime/internal/wasitest 1.009s ok runtime/metrics 1.016s ok runtime/pprof 17.053s ok runtime/race 8.866s ok runtime/trace 3.333s ok slices 1.313s ok sort 1.316s ok strconv 2.609s ok strings 2.027s ok sync 1.308s ok sync/atomic 2.399s ok syscall 10.517s ok testing 2.839s ok testing/fstest 1.013s ok testing/iotest 1.011s ok testing/quick 1.119s ok testing/slogtest 1.011s ok text/scanner 1.020s ok text/tabwriter 1.012s ok text/template 1.052s ok text/template/parse 1.019s ok time 2.972s ok unicode 1.013s ok unicode/utf16 1.010s ok unicode/utf8 1.017s ok cmd/addr2line 3.890s ok cmd/api 9.505s ok cmd/asm/internal/asm 3.389s ok cmd/asm/internal/lex 1.011s ok cmd/cgo/internal/swig 1.415s ok cmd/cgo/internal/test 2.056s ok cmd/cgo/internal/testcarchive 15.816s ok cmd/cgo/internal/testcshared 3.772s ok cmd/cgo/internal/testerrors 6.876s ok cmd/cgo/internal/testfortran 1.775s ok cmd/cgo/internal/testgodefs 1.367s ok cmd/cgo/internal/testlife 1.371s ok cmd/cgo/internal/testnocgo 1.009s ok cmd/cgo/internal/testplugin 19.146s ok cmd/cgo/internal/testsanitizers 12.516s ok cmd/cgo/internal/testshared 25.321s ok cmd/cgo/internal/testso 1.859s ok cmd/cgo/internal/teststdio 1.805s ok cmd/cgo/internal/testtls 1.010s ok cmd/compile/internal/abt 1.028s ##### 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.214s ##### 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.010s ok cmd/compile/internal/compare 1.010s ok cmd/compile/internal/dwarfgen 1.306s ok cmd/compile/internal/importer 1.508s ok cmd/compile/internal/ir 1.010s ok cmd/compile/internal/logopt 1.141s ok cmd/compile/internal/loopvar 17.573s ok cmd/compile/internal/noder 1.011s ok cmd/compile/internal/reflectdata 1.010s [no tests to run] ok cmd/compile/internal/ssa 17.869s ok cmd/compile/internal/syntax 1.094s ok cmd/compile/internal/test 9.185s ok cmd/compile/internal/typecheck 1.141s ok cmd/compile/internal/types 1.010s ok cmd/compile/internal/types2 6.042s ok cmd/covdata 1.012s ok cmd/cover 15.469s ok cmd/dist 1.011s ok cmd/distpack 1.011s 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 191.594s ##### 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.074s ok cmd/go/internal/envcmd 1.021s ok cmd/go/internal/fsys 1.025s ok cmd/go/internal/generate 1.017s ok cmd/go/internal/get 1.017s ok cmd/go/internal/gover 1.010s ok cmd/go/internal/imports 1.017s ok cmd/go/internal/load 1.013s ok cmd/go/internal/lockedfile 2.109s ok cmd/go/internal/lockedfile/internal/filelock 2.039s ok cmd/go/internal/modconv 1.020s ok cmd/go/internal/modfetch 1.018s ok cmd/go/internal/modfetch/codehost 1.273s ok cmd/go/internal/modfetch/zip_sum_test 1.011s ok cmd/go/internal/modindex 1.389s ok cmd/go/internal/modload 1.017s ok cmd/go/internal/mvs 1.028s ok cmd/go/internal/par 1.070s ok cmd/go/internal/str 1.009s ok cmd/go/internal/test 1.022s ok cmd/go/internal/vcs 1.012s ok cmd/go/internal/vcweb 1.015s ok cmd/go/internal/vcweb/vcstest 3.558s ok cmd/go/internal/web 1.011s ok cmd/go/internal/work 1.088s ok cmd/gofmt 1.134s ok cmd/internal/archive 1.240s ok cmd/internal/bootstrap_test 1.010s ok cmd/internal/buildid 1.351s ok cmd/internal/cov 1.170s ok cmd/internal/dwarf 1.010s ok cmd/internal/edit 1.009s ok cmd/internal/goobj 1.010s ok cmd/internal/moddeps 1.697s ok cmd/internal/notsha256 1.011s ok cmd/internal/obj 1.308s ok cmd/internal/obj/ppc64 1.058s ok cmd/internal/obj/riscv 1.021s ok cmd/internal/obj/s390x 1.009s ok cmd/internal/obj/x86 1.096s ok cmd/internal/objabi 1.009s ok cmd/internal/pkgpath 5.047s 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 8.903s ok cmd/link/internal/benchmark 1.010s ok cmd/link/internal/ld 2.886s ok cmd/link/internal/loader 1.024s ok cmd/nm 9.115s ok cmd/objdump 4.675s ok cmd/pack 7.195s ok cmd/pprof 3.309s ok cmd/trace 1.248s ##### 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/vet 30.322s ##### 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: archive/tar cpu: AMD EPYC 7B12 Benchmark/Writer/USTAR-4 4196 26114 ns/op 1368 B/op 25 allocs/op Benchmark/Writer/GNU-4 3088 32923 ns/op 1863 B/op 37 allocs/op Benchmark/Writer/PAX-4 2205 48838 ns/op 2560 B/op 59 allocs/op Benchmark/Reader/USTAR-4 6411 18488 ns/op 5173 B/op 16 allocs/op Benchmark/Reader/GNU-4 8863 13091 ns/op 5092 B/op 14 allocs/op Benchmark/Reader/PAX-4 3123 38074 ns/op 8839 B/op 33 allocs/op PASS ok archive/tar 1.815s goos: linux goarch: amd64 pkg: archive/zip cpu: AMD EPYC 7B12 BenchmarkCompressedZipGarbage-4 1 267412856 ns/op 14880 B/op 66 allocs/op BenchmarkZip64Test-4 1 113174778 ns/op BenchmarkZip64TestSizes/4096-4 1954 54249 ns/op BenchmarkZip64TestSizes/1048576-4 201 533744 ns/op BenchmarkZip64TestSizes/67108864-4 1 103329431 ns/op PASS ok archive/zip 2.132s goos: linux goarch: amd64 pkg: bufio cpu: AMD EPYC 7B12 BenchmarkReaderCopyOptimal-4 326236 350.3 ns/op BenchmarkReaderCopyUnoptimal-4 206679 575.6 ns/op BenchmarkReaderCopyNoWriteTo-4 11022 9876 ns/op BenchmarkReaderWriteToOptimal-4 13411 8938 ns/op BenchmarkReaderReadString-4 180760 645.5 ns/op 144 B/op 1 allocs/op BenchmarkWriterCopyOptimal-4 294846 392.2 ns/op BenchmarkWriterCopyUnoptimal-4 308625 382.4 ns/op BenchmarkWriterCopyNoReadFrom-4 9062 12084 ns/op BenchmarkReaderEmpty-4 55902 2287 ns/op 4224 B/op 3 allocs/op BenchmarkWriterEmpty-4 52669 2383 ns/op 4096 B/op 1 allocs/op BenchmarkWriterFlush-4 717831 154.5 ns/op 0 B/op 0 allocs/op PASS ok bufio 2.559s ##### 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 4910 23877 ns/op 1372.35 MB/s BenchmarkWriteByte-4 460 250946 ns/op 16.32 MB/s BenchmarkWriteRune-4 255 473362 ns/op 25.96 MB/s BenchmarkBufferNotEmptyWriteRead-4 30 3729610 ns/op BenchmarkBufferFullSmallReads-4 100 1061989 ns/op BenchmarkBufferWriteBlock/N4096-4 6756 16460 ns/op 14336 B/op 6 allocs/op BenchmarkBufferWriteBlock/N65536-4 406 280386 ns/op 260096 B/op 14 allocs/op BenchmarkBufferWriteBlock/N1048576-4 5 20451406 ns/op 4192256 B/op 22 allocs/op BenchmarkBufferAppendNoCopy-4 1 130411414 ns/op 128.65 MB/s 33554432 B/op 2 allocs/op BenchmarkIndexByte/10-4 4361508 26.11 ns/op 383.06 MB/s BenchmarkIndexByte/32-4 4333710 26.87 ns/op 1190.82 MB/s BenchmarkIndexByte/4K-4 885898 135.8 ns/op 30154.79 MB/s BenchmarkIndexBytePortable/10-4 802605 142.5 ns/op 70.16 MB/s BenchmarkIndexBytePortable/32-4 262630 454.3 ns/op 70.44 MB/s BenchmarkIndexBytePortable/4K-4 2229 53365 ns/op 76.75 MB/s BenchmarkIndexRune/10-4 1000000 108.2 ns/op 92.43 MB/s BenchmarkIndexRune/32-4 1000000 107.8 ns/op 296.83 MB/s BenchmarkIndexRune/4K-4 369774 318.7 ns/op 12853.67 MB/s BenchmarkIndexRuneASCII/10-4 4423569 26.59 ns/op 376.05 MB/s BenchmarkIndexRuneASCII/32-4 4227536 29.33 ns/op 1091.21 MB/s BenchmarkIndexRuneASCII/4K-4 887772 135.9 ns/op 30149.12 MB/s BenchmarkEqual/0-4 7028754 17.10 ns/op BenchmarkEqual/1-4 1441276 82.54 ns/op 12.11 MB/s BenchmarkEqual/6-4 1419205 85.88 ns/op 69.86 MB/s BenchmarkEqual/9-4 1404087 84.01 ns/op 107.14 MB/s BenchmarkEqual/15-4 1411826 84.52 ns/op 177.47 MB/s BenchmarkEqual/16-4 1495525 80.73 ns/op 198.18 MB/s BenchmarkEqual/20-4 1389514 87.40 ns/op 228.84 MB/s BenchmarkEqual/32-4 1345362 86.89 ns/op 368.29 MB/s BenchmarkEqual/4K-4 106782 1107 ns/op 3701.30 MB/s BenchmarkIndex/10-4 2900966 40.62 ns/op 246.21 MB/s BenchmarkIndex/32-4 3062491 40.24 ns/op 795.27 MB/s BenchmarkIndex/4K-4 17796 6694 ns/op 611.89 MB/s BenchmarkIndexEasy/10-4 2825217 41.73 ns/op 239.63 MB/s BenchmarkIndexEasy/32-4 2976908 40.00 ns/op 799.96 MB/s BenchmarkIndexEasy/4K-4 489032 243.3 ns/op 16837.70 MB/s BenchmarkCount/10-4 1496172 79.51 ns/op 125.77 MB/s BenchmarkCount/32-4 1468002 81.08 ns/op 394.69 MB/s BenchmarkCount/4K-4 17839 6657 ns/op 615.26 MB/s BenchmarkCountEasy/10-4 1513908 79.23 ns/op 126.21 MB/s BenchmarkCountEasy/32-4 1458543 82.11 ns/op 389.72 MB/s BenchmarkCountEasy/4K-4 419103 280.1 ns/op 14625.90 MB/s BenchmarkCountSingle/10-4 3847586 31.12 ns/op 321.38 MB/s BenchmarkCountSingle/32-4 3589346 33.40 ns/op 958.15 MB/s BenchmarkCountSingle/4K-4 747304 143.2 ns/op 28597.55 MB/s BenchmarkToUpper/#00-4 2886189 41.75 ns/op BenchmarkToUpper/ONLYUPPER-4 298326 401.9 ns/op BenchmarkToUpper/abc-4 479082 239.9 ns/op BenchmarkToUpper/AbC123-4 277102 413.1 ns/op BenchmarkToUpper/azAZ09_-4 249999 447.5 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 79108 1531 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 40052 2967 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 54763 2183 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 122493 939.3 ns/op BenchmarkToLower/#00-4 2700063 43.55 ns/op BenchmarkToLower/abc-4 459604 258.9 ns/op BenchmarkToLower/AbC123-4 272712 403.6 ns/op BenchmarkToLower/azAZ09_-4 259039 439.9 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 79860 1478 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 40225 2960 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 70506 1712 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 116233 981.6 ns/op BenchmarkFields/ASCII/16-4 103896 1109 ns/op 14.43 MB/s 128 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 8269 14472 ns/op 17.69 MB/s 768 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 526 215522 ns/op 19.01 MB/s 9472 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 31 3941326 ns/op 16.63 MB/s 147456 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 2 61359609 ns/op 17.09 MB/s 2269184 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 82106 1457 ns/op 10.98 MB/s 48 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 5456 19297 ns/op 13.27 MB/s 576 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 348 329540 ns/op 12.43 MB/s 24832 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 16 6645895 ns/op 9.86 MB/s 512256 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 1 128460801 ns/op 8.16 MB/s 11202816 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 113140 977.7 ns/op 16.36 MB/s 128 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 10000 10675 ns/op 23.98 MB/s 768 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 640 178589 ns/op 22.94 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 30 3998098 ns/op 16.39 MB/s 512259 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 85336978 ns/op 12.29 MB/s 11211008 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 109635 1050 ns/op 15.23 MB/s 48 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 9214 12890 ns/op 19.86 MB/s 576 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 502 232721 ns/op 17.60 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 22 5009936 ns/op 13.08 MB/s 512256 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 1 104455422 ns/op 10.04 MB/s 11202816 B/op 24 allocs/op BenchmarkTrimSpace/NoTrim-4 1870503 62.31 ns/op BenchmarkTrimSpace/ASCII-4 941545 127.0 ns/op BenchmarkTrimSpace/SomeNonASCII-4 104619 1127 ns/op BenchmarkTrimSpace/JustNonASCII-4 47958 2477 ns/op BenchmarkToValidUTF8/Valid-4 450098 252.8 ns/op BenchmarkToValidUTF8/InvalidASCII-4 315163 364.9 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 99315 1231 ns/op BenchmarkIndexHard1-4 801 146157 ns/op BenchmarkIndexHard2-4 592 203226 ns/op BenchmarkIndexHard3-4 148 797651 ns/op BenchmarkIndexHard4-4 181 663261 ns/op BenchmarkLastIndexHard1-4 5 22818952 ns/op BenchmarkLastIndexHard2-4 4 28868276 ns/op BenchmarkLastIndexHard3-4 4 31781054 ns/op BenchmarkCountHard1-4 836 143368 ns/op BenchmarkCountHard2-4 591 202044 ns/op BenchmarkCountHard3-4 150 806568 ns/op BenchmarkSplitEmptySeparator-4 1 175877793 ns/op BenchmarkSplitSingleByteSeparator-4 10 11280675 ns/op BenchmarkSplitMultiByteSeparator-4 10 10327977 ns/op BenchmarkSplitNSingleByteSeparator-4 168222 623.1 ns/op BenchmarkSplitNMultiByteSeparator-4 67278 1689 ns/op BenchmarkRepeat-4 176427 626.9 ns/op BenchmarkRepeatLarge/256/1-4 127364 804.2 ns/op 318.33 MB/s BenchmarkRepeatLarge/256/16-4 197096 526.4 ns/op 486.30 MB/s BenchmarkRepeatLarge/512/1-4 109569 1097 ns/op 466.78 MB/s BenchmarkRepeatLarge/512/16-4 153226 762.4 ns/op 671.52 MB/s BenchmarkRepeatLarge/1024/1-4 68024 1592 ns/op 643.11 MB/s BenchmarkRepeatLarge/1024/16-4 77258 1304 ns/op 785.26 MB/s BenchmarkRepeatLarge/2048/1-4 43418 2559 ns/op 800.35 MB/s BenchmarkRepeatLarge/2048/16-4 50240 2246 ns/op 911.66 MB/s BenchmarkRepeatLarge/4096/1-4 26388 4333 ns/op 945.23 MB/s BenchmarkRepeatLarge/4096/16-4 29383 4101 ns/op 998.87 MB/s BenchmarkRepeatLarge/8192/1-4 14605 7805 ns/op 1049.52 MB/s BenchmarkRepeatLarge/8192/16-4 15253 7715 ns/op 1061.84 MB/s BenchmarkRepeatLarge/8192/4097-4 25108 4477 ns/op 915.09 MB/s BenchmarkRepeatLarge/16384/1-4 8881 14636 ns/op 1119.45 MB/s BenchmarkRepeatLarge/16384/16-4 8785 13544 ns/op 1209.65 MB/s BenchmarkRepeatLarge/16384/4097-4 10430 11411 ns/op 1077.16 MB/s BenchmarkRepeatLarge/32768/1-4 4117 26533 ns/op 1234.99 MB/s BenchmarkRepeatLarge/32768/16-4 5374 26542 ns/op 1234.58 MB/s BenchmarkRepeatLarge/32768/4097-4 4245 25450 ns/op 1126.86 MB/s BenchmarkRepeatLarge/65536/1-4 2190 52572 ns/op 1246.60 MB/s BenchmarkRepeatLarge/65536/16-4 2359 52707 ns/op 1243.41 MB/s BenchmarkRepeatLarge/65536/4097-4 2341 52739 ns/op 1165.27 MB/s BenchmarkRepeatLarge/131072/1-4 222 520945 ns/op 251.60 MB/s BenchmarkRepeatLarge/131072/16-4 224 525468 ns/op 249.44 MB/s BenchmarkRepeatLarge/131072/4097-4 219 538803 ns/op 235.72 MB/s BenchmarkRepeatLarge/262144/1-4 108 1048038 ns/op 250.13 MB/s BenchmarkRepeatLarge/262144/16-4 100 1042733 ns/op 251.40 MB/s BenchmarkRepeatLarge/262144/4097-4 100 1082613 ns/op 238.41 MB/s BenchmarkRepeatLarge/524288/1-4 61 2060016 ns/op 254.51 MB/s BenchmarkRepeatLarge/524288/16-4 58 2142455 ns/op 244.71 MB/s BenchmarkRepeatLarge/524288/4097-4 51 2188138 ns/op 237.79 MB/s BenchmarkRepeatLarge/1048576/1-4 30 4162577 ns/op 251.91 MB/s BenchmarkRepeatLarge/1048576/16-4 30 4125985 ns/op 254.14 MB/s BenchmarkRepeatLarge/1048576/4097-4 28 4161053 ns/op 251.07 MB/s BenchmarkRepeatLarge/2097152/1-4 15 7754502 ns/op 270.44 MB/s BenchmarkRepeatLarge/2097152/16-4 13 7883102 ns/op 266.03 MB/s BenchmarkRepeatLarge/2097152/4097-4 16 7826603 ns/op 267.49 MB/s BenchmarkRepeatLarge/4194304/1-4 7 15717032 ns/op 266.86 MB/s BenchmarkRepeatLarge/4194304/16-4 7 15712098 ns/op 266.95 MB/s BenchmarkRepeatLarge/4194304/4097-4 7 15960510 ns/op 262.60 MB/s BenchmarkRepeatLarge/8388608/1-4 4 31060087 ns/op 270.08 MB/s BenchmarkRepeatLarge/8388608/16-4 4 31073503 ns/op 269.96 MB/s BenchmarkRepeatLarge/8388608/4097-4 3 33682384 ns/op 248.99 MB/s BenchmarkRepeatLarge/16777216/1-4 2 60246788 ns/op 278.47 MB/s BenchmarkRepeatLarge/16777216/16-4 2 62011686 ns/op 270.55 MB/s BenchmarkRepeatLarge/16777216/4097-4 2 60252006 ns/op 278.45 MB/s BenchmarkRepeatLarge/33554432/1-4 1 118016459 ns/op 284.32 MB/s BenchmarkRepeatLarge/33554432/16-4 1 118765431 ns/op 282.53 MB/s BenchmarkRepeatLarge/33554432/4097-4 1 119829155 ns/op 280.02 MB/s BenchmarkRepeatLarge/67108864/1-4 1 239458841 ns/op 280.25 MB/s BenchmarkRepeatLarge/67108864/16-4 1 238261245 ns/op 281.66 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 234258701 ns/op 286.47 MB/s BenchmarkRepeatLarge/134217728/1-4 1 461162939 ns/op 291.04 MB/s BenchmarkRepeatLarge/134217728/16-4 1 457083274 ns/op 293.64 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 462125432 ns/op 290.44 MB/s BenchmarkRepeatLarge/268435456/1-4 1 920949709 ns/op 291.48 MB/s BenchmarkRepeatLarge/268435456/16-4 1 917955797 ns/op 292.43 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 930785124 ns/op 288.40 MB/s BenchmarkRepeatLarge/536870912/1-4 1 1885360016 ns/op 284.76 MB/s BenchmarkRepeatLarge/536870912/16-4 1 1832099773 ns/op 293.04 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 1902616804 ns/op 282.17 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 3728140033 ns/op 288.01 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 3664189227 ns/op 293.04 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 3633078246 ns/op 295.55 MB/s BenchmarkBytesCompare/1-4 8599189 13.13 ns/op BenchmarkBytesCompare/2-4 9050722 12.33 ns/op BenchmarkBytesCompare/4-4 9122392 12.39 ns/op BenchmarkBytesCompare/8-4 9679212 11.28 ns/op BenchmarkBytesCompare/16-4 9845666 11.21 ns/op BenchmarkBytesCompare/32-4 9160273 12.82 ns/op BenchmarkBytesCompare/64-4 8686725 13.69 ns/op BenchmarkBytesCompare/128-4 7381978 16.09 ns/op BenchmarkBytesCompare/256-4 5416316 22.49 ns/op BenchmarkBytesCompare/512-4 3802578 29.27 ns/op BenchmarkBytesCompare/1024-4 2432065 47.12 ns/op BenchmarkBytesCompare/2048-4 1386626 84.66 ns/op BenchmarkIndexAnyASCII/1:1-4 2298963 52.82 ns/op BenchmarkIndexAnyASCII/1:2-4 2352727 50.93 ns/op BenchmarkIndexAnyASCII/1:4-4 2332233 51.02 ns/op BenchmarkIndexAnyASCII/1:8-4 2313258 50.16 ns/op BenchmarkIndexAnyASCII/1:16-4 2304988 50.24 ns/op BenchmarkIndexAnyASCII/1:32-4 2340598 50.49 ns/op BenchmarkIndexAnyASCII/1:64-4 2300947 52.16 ns/op BenchmarkIndexAnyASCII/16:1-4 1940648 59.13 ns/op BenchmarkIndexAnyASCII/16:2-4 424371 289.4 ns/op BenchmarkIndexAnyASCII/16:4-4 409834 283.6 ns/op BenchmarkIndexAnyASCII/16:8-4 405836 284.6 ns/op BenchmarkIndexAnyASCII/16:16-4 379686 301.3 ns/op BenchmarkIndexAnyASCII/16:32-4 355677 328.4 ns/op BenchmarkIndexAnyASCII/16:64-4 310450 377.2 ns/op BenchmarkIndexAnyASCII/256:1-4 1699728 67.14 ns/op BenchmarkIndexAnyASCII/256:2-4 31567 3738 ns/op BenchmarkIndexAnyASCII/256:4-4 32154 3653 ns/op BenchmarkIndexAnyASCII/256:8-4 33135 3705 ns/op BenchmarkIndexAnyASCII/256:16-4 32766 3647 ns/op BenchmarkIndexAnyASCII/256:32-4 32773 3662 ns/op BenchmarkIndexAnyASCII/256:64-4 31462 3708 ns/op BenchmarkIndexAnyUTF8/1:1-4 2288383 53.35 ns/op BenchmarkIndexAnyUTF8/1:2-4 2317944 52.07 ns/op BenchmarkIndexAnyUTF8/1:4-4 2316247 52.45 ns/op BenchmarkIndexAnyUTF8/1:8-4 2267932 51.74 ns/op BenchmarkIndexAnyUTF8/1:16-4 2310454 51.50 ns/op BenchmarkIndexAnyUTF8/1:32-4 2364134 50.86 ns/op BenchmarkIndexAnyUTF8/1:64-4 2309134 53.26 ns/op BenchmarkIndexAnyUTF8/16:1-4 142648 806.3 ns/op BenchmarkIndexAnyUTF8/16:2-4 259593 436.7 ns/op BenchmarkIndexAnyUTF8/16:4-4 260517 455.0 ns/op BenchmarkIndexAnyUTF8/16:8-4 264547 443.2 ns/op BenchmarkIndexAnyUTF8/16:16-4 260964 442.6 ns/op BenchmarkIndexAnyUTF8/16:32-4 248683 458.4 ns/op BenchmarkIndexAnyUTF8/16:64-4 258860 453.2 ns/op BenchmarkIndexAnyUTF8/256:1-4 9378 11800 ns/op BenchmarkIndexAnyUTF8/256:2-4 19322 6179 ns/op BenchmarkIndexAnyUTF8/256:4-4 19386 6188 ns/op BenchmarkIndexAnyUTF8/256:8-4 19244 6195 ns/op BenchmarkIndexAnyUTF8/256:16-4 19161 6375 ns/op BenchmarkIndexAnyUTF8/256:32-4 18512 6561 ns/op BenchmarkIndexAnyUTF8/256:64-4 18693 6457 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2272813 52.23 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2305656 51.37 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2351364 51.74 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2269035 52.00 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2351581 52.28 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2346746 51.26 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2345542 51.11 ns/op BenchmarkLastIndexAnyASCII/16:1-4 311468 363.3 ns/op BenchmarkLastIndexAnyASCII/16:2-4 324223 437.0 ns/op BenchmarkLastIndexAnyASCII/16:4-4 324988 370.8 ns/op BenchmarkLastIndexAnyASCII/16:8-4 320132 374.2 ns/op BenchmarkLastIndexAnyASCII/16:16-4 287803 387.9 ns/op BenchmarkLastIndexAnyASCII/16:32-4 273400 411.4 ns/op BenchmarkLastIndexAnyASCII/16:64-4 245420 465.3 ns/op BenchmarkLastIndexAnyASCII/256:1-4 23871 4906 ns/op BenchmarkLastIndexAnyASCII/256:2-4 24174 4917 ns/op BenchmarkLastIndexAnyASCII/256:4-4 24267 5040 ns/op BenchmarkLastIndexAnyASCII/256:8-4 23971 4939 ns/op BenchmarkLastIndexAnyASCII/256:16-4 24204 5028 ns/op BenchmarkLastIndexAnyASCII/256:32-4 24169 4994 ns/op BenchmarkLastIndexAnyASCII/256:64-4 23860 5078 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2219245 52.66 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2332959 51.57 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2317172 52.68 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2305662 52.19 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2291736 51.31 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2338636 51.88 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2248990 52.80 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 219411 524.7 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 264688 444.8 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 264811 445.7 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 266641 445.9 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 252710 449.3 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 249126 470.8 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 253468 475.9 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 15528 7482 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 19059 7568 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 18848 6344 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 19038 6425 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 18387 6615 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 18027 6670 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 18013 6566 ns/op BenchmarkTrimASCII/1:1-4 2539053 48.05 ns/op BenchmarkTrimASCII/1:2-4 2102467 57.06 ns/op BenchmarkTrimASCII/1:4-4 2072254 57.99 ns/op BenchmarkTrimASCII/1:8-4 1913785 64.29 ns/op BenchmarkTrimASCII/1:16-4 1575920 73.75 ns/op BenchmarkTrimASCII/16:1-4 398296 287.1 ns/op BenchmarkTrimASCII/16:2-4 312523 384.6 ns/op BenchmarkTrimASCII/16:4-4 312589 378.0 ns/op BenchmarkTrimASCII/16:8-4 292722 381.5 ns/op BenchmarkTrimASCII/16:16-4 288820 397.6 ns/op BenchmarkTrimASCII/256:1-4 32217 3742 ns/op BenchmarkTrimASCII/256:2-4 23426 5080 ns/op BenchmarkTrimASCII/256:4-4 23571 5099 ns/op BenchmarkTrimASCII/256:8-4 23521 5108 ns/op BenchmarkTrimASCII/256:16-4 23036 5075 ns/op BenchmarkTrimASCII/4096:1-4 1994 58902 ns/op BenchmarkTrimASCII/4096:2-4 1484 81149 ns/op BenchmarkTrimASCII/4096:4-4 1484 81263 ns/op BenchmarkTrimASCII/4096:8-4 1423 81211 ns/op BenchmarkTrimASCII/4096:16-4 1448 81696 ns/op BenchmarkTrimByte-4 1435532 84.40 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 12874 9172 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 13189 9256 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 669 174364 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 1314 87302 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 2506 44459 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 4546 23263 ns/op BenchmarkCompareBytesEqual-4 10020696 12.21 ns/op BenchmarkCompareBytesToNil-4 11736657 10.20 ns/op BenchmarkCompareBytesEmpty-4 11546124 10.33 ns/op BenchmarkCompareBytesIdentical-4 11338671 10.71 ns/op BenchmarkCompareBytesSameLength-4 10690257 11.28 ns/op BenchmarkCompareBytesDifferentLength-4 10007032 12.00 ns/op BenchmarkCompareBytesBigUnaligned/offset=1-4 1384 85861 ns/op 12212.54 MB/s BenchmarkCompareBytesBigUnaligned/offset=2-4 1933 68370 ns/op 15337.00 MB/s BenchmarkCompareBytesBigUnaligned/offset=3-4 1382 73413 ns/op 14283.47 MB/s BenchmarkCompareBytesBigUnaligned/offset=4-4 1728 72685 ns/op 14426.49 MB/s BenchmarkCompareBytesBigUnaligned/offset=5-4 1388 77356 ns/op 13555.33 MB/s BenchmarkCompareBytesBigUnaligned/offset=6-4 1382 85861 ns/op 12212.58 MB/s BenchmarkCompareBytesBigUnaligned/offset=7-4 1382 85633 ns/op 12245.16 MB/s BenchmarkCompareBytesBig-4 1364 86784 ns/op 12082.65 MB/s BenchmarkCompareBytesBigIdentical-4 12196076 9.864 ns/op 106301675.47 MB/s PASS ok bytes 70.354s ##### 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 57155544 ns/op 1.75 MB/s 3616376 B/op 52 allocs/op BenchmarkDecodeNewton-4 1 219707639 ns/op 2.58 MB/s 3629856 B/op 50 allocs/op BenchmarkDecodeRand-4 6 18595515 ns/op 0.88 MB/s 3646080 B/op 51 allocs/op PASS ok compress/bzip2 1.897s goos: linux goarch: amd64 pkg: compress/flate cpu: AMD EPYC 7B12 BenchmarkDecode/Digits/Huffman/1e4-4 82 1326040 ns/op 7.54 MB/s 42638 B/op 5 allocs/op BenchmarkDecode/Digits/Huffman/1e5-4 8 13107215 ns/op 7.63 MB/s 41620 B/op 5 allocs/op BenchmarkDecode/Digits/Huffman/1e6-4 1 131547333 ns/op 7.60 MB/s 49264 B/op 9 allocs/op BenchmarkDecode/Digits/Speed/1e4-4 87 1316382 ns/op 7.60 MB/s 42130 B/op 8 allocs/op BenchmarkDecode/Digits/Speed/1e5-4 8 13217540 ns/op 7.57 MB/s 44989 B/op 12 allocs/op BenchmarkDecode/Digits/Speed/1e6-4 1 134195363 ns/op 7.45 MB/s 53024 B/op 77 allocs/op BenchmarkDecode/Digits/Default/1e4-4 92 1292524 ns/op 7.74 MB/s 42454 B/op 7 allocs/op BenchmarkDecode/Digits/Default/1e5-4 9 12302395 ns/op 8.13 MB/s 42691 B/op 13 allocs/op BenchmarkDecode/Digits/Default/1e6-4 1 126129345 ns/op 7.93 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Digits/Compression/1e4-4 90 1277997 ns/op 7.82 MB/s 43044 B/op 7 allocs/op BenchmarkDecode/Digits/Compression/1e5-4 9 12504917 ns/op 8.00 MB/s 42691 B/op 13 allocs/op BenchmarkDecode/Digits/Compression/1e6-4 1 127291485 ns/op 7.86 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Newton/Huffman/1e4-4 69 1463219 ns/op 6.83 MB/s 43501 B/op 14 allocs/op BenchmarkDecode/Newton/Huffman/1e5-4 8 14211395 ns/op 7.04 MB/s 48154 B/op 24 allocs/op BenchmarkDecode/Newton/Huffman/1e6-4 1 145409710 ns/op 6.88 MB/s 88512 B/op 165 allocs/op BenchmarkDecode/Newton/Speed/1e4-4 100 1097612 ns/op 9.11 MB/s 43290 B/op 18 allocs/op BenchmarkDecode/Newton/Speed/1e5-4 12 9363339 ns/op 10.68 MB/s 45124 B/op 31 allocs/op BenchmarkDecode/Newton/Speed/1e6-4 2 95479788 ns/op 10.47 MB/s 85328 B/op 230 allocs/op BenchmarkDecode/Newton/Default/1e4-4 121 941030 ns/op 10.63 MB/s 42949 B/op 15 allocs/op BenchmarkDecode/Newton/Default/1e5-4 14 7480564 ns/op 13.37 MB/s 45264 B/op 32 allocs/op BenchmarkDecode/Newton/Default/1e6-4 2 74652474 ns/op 13.40 MB/s 70060 B/op 161 allocs/op BenchmarkDecode/Newton/Compression/1e4-4 123 982628 ns/op 10.18 MB/s 42985 B/op 15 allocs/op BenchmarkDecode/Newton/Compression/1e5-4 14 7501157 ns/op 13.33 MB/s 45264 B/op 32 allocs/op BenchmarkDecode/Newton/Compression/1e6-4 2 74668774 ns/op 13.39 MB/s 67752 B/op 152 allocs/op BenchmarkEncode/Digits/Huffman/1e4-4 146 892437 ns/op 11.21 MB/s BenchmarkEncode/Digits/Huffman/1e5-4 14 8050698 ns/op 12.42 MB/s BenchmarkEncode/Digits/Huffman/1e6-4 2 81673068 ns/op 12.24 MB/s BenchmarkEncode/Digits/Speed/1e4-4 74 1602702 ns/op 6.24 MB/s BenchmarkEncode/Digits/Speed/1e5-4 8 14300465 ns/op 6.99 MB/s BenchmarkEncode/Digits/Speed/1e6-4 1 143954151 ns/op 6.95 MB/s BenchmarkEncode/Digits/Default/1e4-4 24 4932852 ns/op 2.03 MB/s BenchmarkEncode/Digits/Default/1e5-4 2 57692704 ns/op 1.73 MB/s BenchmarkEncode/Digits/Default/1e6-4 1 580392189 ns/op 1.72 MB/s BenchmarkEncode/Digits/Compression/1e4-4 22 4823922 ns/op 2.07 MB/s BenchmarkEncode/Digits/Compression/1e5-4 2 56818969 ns/op 1.76 MB/s BenchmarkEncode/Digits/Compression/1e6-4 1 569430043 ns/op 1.76 MB/s BenchmarkEncode/Newton/Huffman/1e4-4 100 1043601 ns/op 9.58 MB/s BenchmarkEncode/Newton/Huffman/1e5-4 13 8794073 ns/op 11.37 MB/s BenchmarkEncode/Newton/Huffman/1e6-4 2 87127021 ns/op 11.48 MB/s BenchmarkEncode/Newton/Speed/1e4-4 79 1526643 ns/op 6.55 MB/s BenchmarkEncode/Newton/Speed/1e5-4 9 11379321 ns/op 8.79 MB/s BenchmarkEncode/Newton/Speed/1e6-4 1 113397839 ns/op 8.82 MB/s BenchmarkEncode/Newton/Default/1e4-4 25 4716564 ns/op 2.12 MB/s BenchmarkEncode/Newton/Default/1e5-4 2 51098700 ns/op 1.96 MB/s BenchmarkEncode/Newton/Default/1e6-4 1 524141085 ns/op 1.91 MB/s BenchmarkEncode/Newton/Compression/1e4-4 25 4722682 ns/op 2.12 MB/s BenchmarkEncode/Newton/Compression/1e5-4 2 64365982 ns/op 1.55 MB/s BenchmarkEncode/Newton/Compression/1e6-4 1 663764636 ns/op 1.51 MB/s PASS ok compress/flate 15.839s goos: linux goarch: amd64 pkg: compress/lzw cpu: AMD EPYC 7B12 BenchmarkDecoder/1e4-4 66 1743107 ns/op 5.74 MB/s BenchmarkDecoder/1e-Reuse4-4 66 1811277 ns/op 5.52 MB/s BenchmarkDecoder/1e5-4 6 17414112 ns/op 5.74 MB/s BenchmarkDecoder/1e-Reuse5-4 6 17445318 ns/op 5.73 MB/s BenchmarkDecoder/1e6-4 1 174476332 ns/op 5.73 MB/s BenchmarkDecoder/1e-Reuse6-4 1 174938871 ns/op 5.72 MB/s BenchmarkEncoder/1e4-4 78 1558920 ns/op 6.41 MB/s BenchmarkEncoder/1e-Reuse4-4 74 1353570 ns/op 7.39 MB/s BenchmarkEncoder/1e5-4 7 14350473 ns/op 6.97 MB/s BenchmarkEncoder/1e-Reuse5-4 8 14387742 ns/op 6.95 MB/s BenchmarkEncoder/1e6-4 1 146101400 ns/op 6.84 MB/s BenchmarkEncoder/1e-Reuse6-4 1 143335080 ns/op 6.98 MB/s PASS ok compress/lzw 3.091s goos: linux goarch: amd64 pkg: container/heap cpu: AMD EPYC 7B12 BenchmarkDup-4 34 3167199 ns/op PASS ok container/heap 1.122s goos: linux goarch: amd64 pkg: context cpu: AMD EPYC 7B12 BenchmarkCommonParentCancel-4 22585 4763 ns/op BenchmarkWithTimeout/concurrency=40-4 5329 21765 ns/op BenchmarkWithTimeout/concurrency=4000-4 5154 23662 ns/op BenchmarkWithTimeout/concurrency=400000-4 8452 20529 ns/op BenchmarkCancelTree/depth=1/Root=Background-4 543180 189.2 ns/op BenchmarkCancelTree/depth=1/Root=OpenCanceler-4 21086 6349 ns/op BenchmarkCancelTree/depth=1/Root=ClosedCanceler-4 24411 4678 ns/op BenchmarkCancelTree/depth=10/Root=Background-4 4645 27642 ns/op BenchmarkCancelTree/depth=10/Root=OpenCanceler-4 3051 44630 ns/op BenchmarkCancelTree/depth=10/Root=ClosedCanceler-4 3214 36647 ns/op BenchmarkCancelTree/depth=100/Root=Background-4 375 324391 ns/op BenchmarkCancelTree/depth=100/Root=OpenCanceler-4 272 436369 ns/op BenchmarkCancelTree/depth=100/Root=ClosedCanceler-4 445 259684 ns/op BenchmarkCancelTree/depth=1000/Root=Background-4 39 3066196 ns/op BenchmarkCancelTree/depth=1000/Root=OpenCanceler-4 22 4807767 ns/op BenchmarkCancelTree/depth=1000/Root=ClosedCanceler-4 42 2807841 ns/op BenchmarkCheckCanceled/Err-4 439230 291.8 ns/op BenchmarkCheckCanceled/Done-4 1000000 113.5 ns/op BenchmarkContextCancelDone-4 793939 128.9 ns/op BenchmarkDeepValueNewGoRoutine/depth=10-4 26209 4106 ns/op BenchmarkDeepValueNewGoRoutine/depth=20-4 24274 5255 ns/op BenchmarkDeepValueNewGoRoutine/depth=30-4 18735 6033 ns/op BenchmarkDeepValueNewGoRoutine/depth=50-4 14679 8458 ns/op BenchmarkDeepValueNewGoRoutine/depth=100-4 10017 11282 ns/op BenchmarkDeepValueSameGoRoutine/depth=10-4 706322 165.3 ns/op BenchmarkDeepValueSameGoRoutine/depth=20-4 393336 296.5 ns/op BenchmarkDeepValueSameGoRoutine/depth=30-4 280860 479.3 ns/op BenchmarkDeepValueSameGoRoutine/depth=50-4 169372 683.5 ns/op BenchmarkDeepValueSameGoRoutine/depth=100-4 90675 1325 ns/op PASS ok context 9.350s goos: linux goarch: amd64 pkg: crypto/aes cpu: AMD EPYC 7B12 BenchmarkEncrypt-4 2633053 45.60 ns/op 350.88 MB/s BenchmarkDecrypt-4 2578332 44.71 ns/op 357.83 MB/s BenchmarkExpand-4 2222809 54.45 ns/op PASS ok crypto/aes 1.526s goos: linux goarch: amd64 pkg: crypto/cipher cpu: AMD EPYC 7B12 BenchmarkAESGCM/Open-128-64-4 267084 444.3 ns/op 144.04 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-64-4 570368 199.2 ns/op 321.20 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-64-4 264562 474.1 ns/op 134.99 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-64-4 554106 212.8 ns/op 300.78 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-1350-4 164324 759.5 ns/op 1777.54 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-1350-4 232579 512.2 ns/op 2635.58 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-1350-4 153534 776.3 ns/op 1739.00 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-1350-4 212370 562.5 ns/op 2400.16 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-8192-4 55513 2154 ns/op 3802.94 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-8192-4 61002 1956 ns/op 4187.99 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-8192-4 49844 2404 ns/op 3408.03 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-8192-4 51943 2194 ns/op 3733.32 MB/s 0 B/op 0 allocs/op BenchmarkAESCFBEncrypt1K-4 10000 11634 ns/op 87.59 MB/s BenchmarkAESCFBDecrypt1K-4 10000 12031 ns/op 84.70 MB/s BenchmarkAESCFBDecrypt8K-4 1366 95633 ns/op 85.61 MB/s BenchmarkAESOFB1K-4 15418 7721 ns/op 131.97 MB/s BenchmarkAESCTR1K-4 19942 6736 ns/op 151.28 MB/s BenchmarkAESCTR8K-4 2509 47926 ns/op 170.83 MB/s BenchmarkAESCBCEncrypt1K-4 19924 6173 ns/op 165.89 MB/s BenchmarkAESCBCDecrypt1K-4 28568 4290 ns/op 238.69 MB/s PASS ok crypto/cipher 3.863s goos: linux goarch: amd64 pkg: crypto/des cpu: AMD EPYC 7B12 BenchmarkEncrypt-4 105694 1166 ns/op 6.86 MB/s BenchmarkDecrypt-4 110376 1064 ns/op 7.52 MB/s BenchmarkTDESEncrypt-4 41101 3337 ns/op 2.40 MB/s BenchmarkTDESDecrypt-4 41679 3034 ns/op 2.64 MB/s PASS ok crypto/des 1.605s goos: linux goarch: amd64 pkg: crypto/ecdh cpu: AMD EPYC 7B12 BenchmarkECDH/P256-4 1285 88856 ns/op 760 B/op 12 allocs/op BenchmarkECDH/P384-4 20 5284722 ns/op 1088 B/op 21 allocs/op BenchmarkECDH/P521-4 7 14456595 ns/op 1538 B/op 21 allocs/op BenchmarkECDH/X25519-4 132 909378 ns/op 377 B/op 9 allocs/op PASS ok crypto/ecdh 1.643s goos: linux goarch: amd64 pkg: crypto/ecdsa cpu: AMD EPYC 7B12 BenchmarkSign/P256-4 2368 48060 ns/op 2512 B/op 33 allocs/op BenchmarkSign/P384-4 46 2491833 ns/op 2681 B/op 34 allocs/op BenchmarkSign/P521-4 19 6172990 ns/op 3061 B/op 35 allocs/op BenchmarkVerify/P256-4 1111 94550 ns/op 432 B/op 8 allocs/op BenchmarkVerify/P384-4 18 6679078 ns/op 592 B/op 12 allocs/op BenchmarkVerify/P521-4 7 17378410 ns/op 912 B/op 12 allocs/op BenchmarkGenerateKey/P256-4 5620 20191 ns/op 895 B/op 14 allocs/op BenchmarkGenerateKey/P384-4 84 1462120 ns/op 1096 B/op 17 allocs/op BenchmarkGenerateKey/P521-4 28 3713224 ns/op 1414 B/op 17 allocs/op PASS ok crypto/ecdsa 2.428s goos: linux goarch: amd64 pkg: crypto/ed25519 cpu: AMD EPYC 7B12 BenchmarkKeyGeneration-4 450 261320 ns/op BenchmarkNewKeyFromSeed-4 459 259775 ns/op BenchmarkSigning-4 421 301650 ns/op BenchmarkVerification-4 291 412925 ns/op PASS ok crypto/ed25519 1.619s goos: linux goarch: amd64 pkg: crypto/elliptic cpu: AMD EPYC 7B12 BenchmarkScalarBaseMult/P256-4 6781 16965 ns/op 368 B/op 6 allocs/op BenchmarkScalarBaseMult/P224-4 217 591994 ns/op 376 B/op 9 allocs/op BenchmarkScalarBaseMult/P384-4 75 1457512 ns/op 504 B/op 9 allocs/op BenchmarkScalarBaseMult/P521-4 30 3675355 ns/op 696 B/op 9 allocs/op BenchmarkScalarMult/P256-4 1807 65729 ns/op 448 B/op 7 allocs/op BenchmarkScalarMult/P224-4 84 1539982 ns/op 440 B/op 10 allocs/op BenchmarkScalarMult/P384-4 31 4065538 ns/op 616 B/op 10 allocs/op BenchmarkScalarMult/P521-4 10 11319286 ns/op 840 B/op 10 allocs/op BenchmarkMarshalUnmarshal/P256/Uncompressed-4 18640 6319 ns/op 544 B/op 8 allocs/op BenchmarkMarshalUnmarshal/P256/Compressed-4 8541 14112 ns/op 592 B/op 9 allocs/op BenchmarkMarshalUnmarshal/P224/Uncompressed-4 5570 20299 ns/op 560 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P224/Compressed-4 127 995403 ns/op 592 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P384/Uncompressed-4 3627 30690 ns/op 784 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P384/Compressed-4 422 282387 ns/op 848 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P521/Uncompressed-4 2378 49582 ns/op 1104 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P521/Compressed-4 133 903826 ns/op 1184 B/op 15 allocs/op PASS ok crypto/elliptic 3.543s goos: linux goarch: amd64 pkg: crypto/hmac cpu: AMD EPYC 7B12 BenchmarkHMACSHA256_1K-4 32731 3591 ns/op 285.16 MB/s BenchmarkHMACSHA256_32-4 39027 3118 ns/op 10.26 MB/s BenchmarkNewWriteSum-4 20040 5771 ns/op 5.54 MB/s PASS ok crypto/hmac 1.502s goos: linux goarch: amd64 pkg: crypto/internal/bigmod cpu: AMD EPYC 7B12 BenchmarkModAdd-4 69174 1717 ns/op BenchmarkModSub-4 70116 1697 ns/op BenchmarkMontgomeryRepr-4 36655 3174 ns/op BenchmarkMontgomeryMul-4 37413 3276 ns/op BenchmarkModMul-4 18232 6493 ns/op BenchmarkExpBig-4 21 5253630 ns/op BenchmarkExp-4 8 13202311 ns/op PASS ok crypto/internal/bigmod 2.073s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519 cpu: AMD EPYC 7B12 BenchmarkEncodingDecoding-4 4374 24124 ns/op BenchmarkScalarBaseMult-4 468 248278 ns/op BenchmarkScalarMult-4 205 559443 ns/op BenchmarkVarTimeDoubleScalarBaseMult-4 309 394866 ns/op PASS ok crypto/internal/edwards25519 1.591s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519/field cpu: AMD EPYC 7B12 BenchmarkAdd-4 664212 173.2 ns/op BenchmarkMultiply-4 5897073 20.23 ns/op BenchmarkSquare-4 7876606 15.02 ns/op BenchmarkInvert-4 28419 4236 ns/op BenchmarkMult32-4 1749205 67.63 ns/op PASS ok crypto/internal/edwards25519/field 1.760s goos: linux goarch: amd64 pkg: crypto/internal/nistec cpu: AMD EPYC 7B12 BenchmarkScalarMult/P224-4 75 1446275 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P256-4 2115 56099 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P384-4 28 3699556 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P521-4 10 10711146 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P224-4 237 491389 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P256-4 10000 11129 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P384-4 94 1296604 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P521-4 33 3190011 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec 2.037s goos: linux goarch: amd64 pkg: crypto/internal/nistec/fiat cpu: AMD EPYC 7B12 BenchmarkMul/P224-4 718296 142.5 ns/op 0 B/op 0 allocs/op BenchmarkMul/P384-4 392199 311.9 ns/op 0 B/op 0 allocs/op BenchmarkMul/P521-4 144138 771.7 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P224-4 843003 148.2 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P384-4 433959 273.3 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P521-4 153764 763.1 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec/fiat 1.745s goos: linux goarch: amd64 pkg: crypto/md5 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes-4 169918 706.8 ns/op 11.32 MB/s BenchmarkHash64-4 179712 658.9 ns/op 97.14 MB/s BenchmarkHash128-4 160654 730.9 ns/op 175.13 MB/s BenchmarkHash256-4 128904 933.4 ns/op 274.27 MB/s BenchmarkHash512-4 91064 1312 ns/op 390.27 MB/s BenchmarkHash1K-4 57939 2071 ns/op 494.43 MB/s BenchmarkHash8K-4 9369 12783 ns/op 640.87 MB/s BenchmarkHash1M-4 74 1559662 ns/op 672.31 MB/s BenchmarkHash8M-4 9 12495591 ns/op 671.33 MB/s BenchmarkHash8BytesUnaligned-4 163863 703.7 ns/op 11.37 MB/s BenchmarkHash1KUnaligned-4 55183 2074 ns/op 493.64 MB/s BenchmarkHash8KUnaligned-4 9380 12761 ns/op 641.93 MB/s PASS ok crypto/md5 2.759s goos: linux goarch: amd64 pkg: crypto/rand cpu: AMD EPYC 7B12 BenchmarkPrime-4 1 262570457 ns/op PASS ok crypto/rand 1.274s goos: linux goarch: amd64 pkg: crypto/rc4 cpu: AMD EPYC 7B12 BenchmarkRC4_128-4 18133 6610 ns/op 19.37 MB/s BenchmarkRC4_1K-4 2236 52230 ns/op 19.61 MB/s BenchmarkRC4_8K-4 288 412899 ns/op 19.61 MB/s PASS ok crypto/rc4 1.488s goos: linux goarch: amd64 pkg: crypto/rsa cpu: AMD EPYC 7B12 BenchmarkDecryptPKCS1v15/2048-4 14 7823872 ns/op BenchmarkDecryptPKCS1v15/3072-4 6 18138047 ns/op BenchmarkDecryptPKCS1v15/4096-4 4 31708429 ns/op BenchmarkEncryptPKCS1v15/2048-4 48 2315837 ns/op BenchmarkDecryptOAEP/2048-4 14 8218361 ns/op BenchmarkEncryptOAEP/2048-4 48 2361079 ns/op BenchmarkSignPKCS1v15/2048-4 14 8079879 ns/op BenchmarkVerifyPKCS1v15/2048-4 46 2381754 ns/op BenchmarkSignPSS/2048-4 14 8115471 ns/op BenchmarkVerifyPSS/2048-4 44 2651174 ns/op PASS ok crypto/rsa 2.566s goos: linux goarch: amd64 pkg: crypto/sha1 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes/New-4 141999 806.7 ns/op 9.92 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum-4 177087 666.1 ns/op 12.01 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/New-4 102978 1158 ns/op 276.22 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/Sum-4 117710 1005 ns/op 318.44 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 68640 1729 ns/op 592.37 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum-4 76135 1580 ns/op 648.14 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 14858 8026 ns/op 1020.68 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum-4 15218 7889 ns/op 1038.37 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha1 2.205s goos: linux goarch: amd64 pkg: crypto/sha256 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes/New-4 132282 887.6 ns/op 9.01 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum224-4 155476 753.1 ns/op 10.62 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 146067 817.0 ns/op 9.79 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 84775 1401 ns/op 730.66 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum224-4 96170 1247 ns/op 821.14 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 92444 1290 ns/op 794.01 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 20253 5925 ns/op 1382.52 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum224-4 20815 5761 ns/op 1421.86 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 20668 5817 ns/op 1408.18 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha256 2.343s goos: linux goarch: amd64 pkg: crypto/sha512 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes/New-4 83816 1415 ns/op 5.65 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum384-4 106371 1148 ns/op 6.97 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum512-4 91294 1294 ns/op 6.18 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 43245 2762 ns/op 370.70 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum384-4 48729 2450 ns/op 418.04 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum512-4 45597 2617 ns/op 391.30 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 8409 13325 ns/op 614.79 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum384-4 9058 13041 ns/op 628.15 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum512-4 9130 13167 ns/op 622.17 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha512 2.226s goos: linux goarch: amd64 pkg: crypto/subtle cpu: AMD EPYC 7B12 BenchmarkConstantTimeByteEq-4 20786606 5.037 ns/op BenchmarkConstantTimeEq-4 21583789 4.997 ns/op BenchmarkConstantTimeLessOrEq-4 22101652 4.997 ns/op BenchmarkXORBytes/8Bytes-4 5960042 20.69 ns/op 386.68 MB/s BenchmarkXORBytes/128Bytes-4 5312575 22.41 ns/op 5710.80 MB/s BenchmarkXORBytes/2048Bytes-4 1766397 67.01 ns/op 30563.32 MB/s BenchmarkXORBytes/32768Bytes-4 112777 1029 ns/op 31849.76 MB/s PASS ok crypto/subtle 1.977s ##### 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 135 751788 ns/op BenchmarkCertCache/1-4 152 720305 ns/op BenchmarkCertCache/2-4 160 761099 ns/op BenchmarkCertCache/3-4 139 748846 ns/op BenchmarkHandshakeServer/RSA-4 14 7759052 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv13-4 14 8231489 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv12-4 14 7663416 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv13-4 94 1191110 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv12-4 157 784058 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv13-4 50 2421628 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv12-4 55 1957411 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv13-4 4 33550850 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12-4 4 33199075 ns/op BenchmarkThroughput/MaxPacket/1MB/TLSv12-4 4 25313723 ns/op 41.42 MB/s BenchmarkThroughput/MaxPacket/1MB/TLSv13-4 3 34678751 ns/op 30.24 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv12-4 3 37884553 ns/op 55.36 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv13-4 2 58452446 ns/op 35.88 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv12-4 2 65837102 ns/op 63.71 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv13-4 2 89354104 ns/op 46.94 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv12-4 1 119844005 ns/op 70.00 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv13-4 1 176528009 ns/op 47.52 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv12-4 1 216513351 ns/op 77.49 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv13-4 1 336807925 ns/op 49.81 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv12-4 1 451028203 ns/op 74.40 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv13-4 1 641100292 ns/op 52.34 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv12-4 1 898355588 ns/op 74.70 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv13-4 1 1313096907 ns/op 51.11 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv12-4 4 26595668 ns/op 39.43 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv13-4 3 39319481 ns/op 26.67 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv12-4 3 40819318 ns/op 51.38 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv13-4 2 51632058 ns/op 40.62 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv12-4 2 65660808 ns/op 63.88 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv13-4 2 101516368 ns/op 41.32 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv12-4 1 119865716 ns/op 69.98 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv13-4 1 174986351 ns/op 47.94 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv12-4 1 224801890 ns/op 74.63 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv13-4 1 328593829 ns/op 51.06 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv12-4 1 441711729 ns/op 75.96 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv13-4 1 609722366 ns/op 55.03 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv12-4 1 915347148 ns/op 73.32 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv13-4 1 1273177500 ns/op 52.71 MB/s BenchmarkLatency/MaxPacket/200kbps/TLSv12-4 1 707992890 ns/op BenchmarkLatency/MaxPacket/200kbps/TLSv13-4 1 709936659 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv12-4 1 293313340 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv13-4 1 292246430 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv12-4 1 154728949 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv13-4 1 153858970 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv12-4 2 84257507 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv13-4 2 83730307 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv12-4 3 42853777 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv13-4 3 42395344 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv12-4 1 147080160 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv13-4 1 150067765 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv12-4 2 68169551 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv13-4 2 67267125 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv12-4 3 42453872 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv13-4 3 41137043 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv12-4 4 28595069 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv13-4 4 28058584 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv12-4 5 20927015 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv13-4 5 20006579 ns/op PASS ok crypto/tls 20.226s ##### 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 11446981 ns/op BenchmarkCreateCertificate/ECDSA_P256-4 492 240817 ns/op BenchmarkParseCertificate/ecdsa_leaf-4 1688 72105 ns/op 12100 B/op 164 allocs/op BenchmarkParseCertificate/rsa_leaf-4 1526 78768 ns/op 13508 B/op 187 allocs/op PASS ok crypto/x509 1.685s goos: linux goarch: amd64 pkg: database/sql cpu: AMD EPYC 7B12 BenchmarkConcurrentDBExec-4 50 2309282 ns/op 279232 B/op 1632 allocs/op BenchmarkConcurrentStmtQuery-4 45 2775211 ns/op 262054 B/op 2012 allocs/op BenchmarkConcurrentStmtExec-4 66 1917552 ns/op 216438 B/op 664 allocs/op BenchmarkConcurrentTxQuery-4 48 2484592 ns/op 277415 B/op 2150 allocs/op BenchmarkConcurrentTxExec-4 81 1380420 ns/op 87770 B/op 1554 allocs/op BenchmarkConcurrentTxStmtQuery-4 52 2290428 ns/op 104977 B/op 2107 allocs/op BenchmarkConcurrentTxStmtExec-4 168 751576 ns/op 40093 B/op 381 allocs/op BenchmarkConcurrentRandom-4 44 2388332 ns/op 230621 B/op 1861 allocs/op BenchmarkManyConcurrentQueries-4 3216 36647 ns/op 3975 B/op 20 allocs/op BenchmarkGrabConn-4 297478 386.6 ns/op 0 B/op 0 allocs/op PASS ok database/sql 2.495s goos: linux goarch: amd64 pkg: debug/gosym cpu: AMD EPYC 7B12 Benchmark115/NewLineTable-4 360100 326.8 ns/op 384 B/op 3 allocs/op Benchmark115/NewTable-4 126 960354 ns/op 188240 B/op 13 allocs/op Benchmark115/LineToPC-4 100 1123540 ns/op 0 B/op 0 allocs/op Benchmark115/PCToLine-4 26070 4832 ns/op 0 B/op 0 allocs/op PASS ok debug/gosym 1.750s goos: linux goarch: amd64 pkg: encoding/asn1 cpu: AMD EPYC 7B12 BenchmarkObjectIdentifierString-4 84550 1356 ns/op BenchmarkMarshal-4 1044 112407 ns/op 9528 B/op 363 allocs/op BenchmarkUnmarshal-4 3520 30914 ns/op 784 B/op 43 allocs/op PASS ok encoding/asn1 1.390s goos: linux goarch: amd64 pkg: encoding/base32 cpu: AMD EPYC 7B12 BenchmarkEncode-4 403 294616 ns/op 27.81 MB/s BenchmarkEncodeToString-4 355 312988 ns/op 26.17 MB/s BenchmarkDecode-4 219 542502 ns/op 24.17 MB/s BenchmarkDecodeString-4 219 538643 ns/op 24.34 MB/s PASS ok encoding/base32 1.660s goos: linux goarch: amd64 pkg: encoding/base64 cpu: AMD EPYC 7B12 BenchmarkEncodeToString-4 512 223497 ns/op 36.65 MB/s BenchmarkDecodeString/2-4 431299 242.9 ns/op 16.47 MB/s BenchmarkDecodeString/4-4 332943 337.0 ns/op 23.74 MB/s BenchmarkDecodeString/8-4 268903 412.0 ns/op 29.12 MB/s BenchmarkDecodeString/64-4 53472 2204 ns/op 39.92 MB/s BenchmarkDecodeString/8192-4 459 255995 ns/op 42.67 MB/s BenchmarkNewEncoding-4 126572 973.9 ns/op 262.85 MB/s PASS ok encoding/base64 1.931s goos: linux goarch: amd64 pkg: encoding/binary cpu: AMD EPYC 7B12 BenchmarkReadSlice1000Int32s-4 1855 57891 ns/op 69.10 MB/s BenchmarkReadStruct-4 23977 5000 ns/op 15.00 MB/s BenchmarkWriteStruct-4 22635 5283 ns/op 14.20 MB/s BenchmarkReadInts-4 73708 1639 ns/op 18.31 MB/s BenchmarkWriteInts-4 61774 1794 ns/op 16.72 MB/s BenchmarkWriteSlice1000Int32s-4 1828 61804 ns/op 64.72 MB/s BenchmarkPutUint16-4 4449722 26.18 ns/op 76.40 MB/s BenchmarkAppendUint16-4 4299421 27.07 ns/op 73.89 MB/s BenchmarkPutUint32-4 3155800 39.98 ns/op 100.06 MB/s BenchmarkAppendUint32-4 3073214 38.96 ns/op 102.67 MB/s BenchmarkPutUint64-4 1572764 75.50 ns/op 105.97 MB/s BenchmarkAppendUint64-4 1554055 76.43 ns/op 104.67 MB/s BenchmarkLittleEndianPutUint16-4 4476560 26.56 ns/op 75.30 MB/s BenchmarkLittleEndianAppendUint16-4 4241204 27.81 ns/op 71.93 MB/s BenchmarkLittleEndianPutUint32-4 3201958 37.85 ns/op 105.69 MB/s BenchmarkLittleEndianAppendUint32-4 3123092 35.57 ns/op 112.46 MB/s BenchmarkLittleEndianPutUint64-4 1587409 75.79 ns/op 105.55 MB/s BenchmarkLittleEndianAppendUint64-4 1523380 78.65 ns/op 101.72 MB/s BenchmarkReadFloats-4 250390 481.6 ns/op 24.91 MB/s BenchmarkWriteFloats-4 231691 522.9 ns/op 22.95 MB/s BenchmarkReadSlice1000Float32s-4 1728 67957 ns/op 58.86 MB/s BenchmarkWriteSlice1000Float32s-4 1669 68926 ns/op 58.03 MB/s BenchmarkReadSlice1000Uint8s-4 122374 932.2 ns/op 1072.75 MB/s BenchmarkWriteSlice1000Uint8s-4 150031 677.2 ns/op 1476.66 MB/s BenchmarkPutUvarint32-4 1000000 115.9 ns/op 34.52 MB/s BenchmarkPutUvarint64-4 293024 403.7 ns/op 19.82 MB/s PASS ok encoding/binary 4.905s goos: linux goarch: amd64 pkg: encoding/csv cpu: AMD EPYC 7B12 BenchmarkRead-4 8311 12169 ns/op 736 B/op 16 allocs/op BenchmarkReadWithFieldsPerRecord-4 9843 11520 ns/op 736 B/op 16 allocs/op BenchmarkReadWithoutFieldsPerRecord-4 10113 11858 ns/op 736 B/op 16 allocs/op BenchmarkReadLargeFields-4 5196 19359 ns/op 3937 B/op 24 allocs/op BenchmarkReadReuseRecord-4 11140 11121 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithFieldsPerRecord-4 10000 11064 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithoutFieldsPerRecord-4 10000 10873 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordLargeFields-4 5958 18025 ns/op 2977 B/op 12 allocs/op BenchmarkWrite-4 18043 6155 ns/op PASS ok encoding/csv 2.389s goos: linux goarch: amd64 pkg: encoding/gob cpu: AMD EPYC 7B12 BenchmarkEndToEndPipe-4 15934 7824 ns/op 1812 B/op 2 allocs/op BenchmarkEndToEndByteBuffer-4 20941 5872 ns/op 1811 B/op 2 allocs/op BenchmarkEndToEndSliceByteBuffer-4 308 401960 ns/op 16628 B/op 330 allocs/op BenchmarkEncodeComplex128Slice-4 1086 111487 ns/op 451 B/op 0 allocs/op BenchmarkEncodeFloat64Slice-4 1904 55417 ns/op 46 B/op 0 allocs/op BenchmarkEncodeInt32Slice-4 2053 57505 ns/op 42 B/op 0 allocs/op BenchmarkEncodeStringSlice-4 2522 41549 ns/op 153 B/op 0 allocs/op BenchmarkEncodeInterfaceSlice-4 60 1861745 ns/op 35349 B/op 253 allocs/op BenchmarkDecodeComplex128Slice-4 874 147703 ns/op 25197 B/op 169 allocs/op BenchmarkDecodeFloat64Slice-4 1356 77328 ns/op 10793 B/op 169 allocs/op BenchmarkDecodeInt32Slice-4 1633 64619 ns/op 9755 B/op 169 allocs/op BenchmarkDecodeStringSlice-4 1180 104804 ns/op 39115 B/op 1169 allocs/op BenchmarkDecodeStringsSlice-4 397 261919 ns/op 66094 B/op 2197 allocs/op BenchmarkDecodeBytesSlice-4 915 137799 ns/op 23484 B/op 182 allocs/op BenchmarkDecodeInterfaceSlice-4 126 854236 ns/op 82875 B/op 3178 allocs/op BenchmarkDecodeMap-4 100 1095766 ns/op 54138 B/op 181 allocs/op PASS ok encoding/gob 3.668s goos: linux goarch: amd64 pkg: encoding/hex cpu: AMD EPYC 7B12 BenchmarkEncode/256-4 19777 6143 ns/op 41.67 MB/s BenchmarkEncode/1024-4 4486 24501 ns/op 41.79 MB/s BenchmarkEncode/4096-4 1174 95385 ns/op 42.94 MB/s BenchmarkEncode/16384-4 324 384271 ns/op 42.64 MB/s BenchmarkDecode/256-4 40032 3106 ns/op 82.42 MB/s BenchmarkDecode/1024-4 10364 11509 ns/op 88.97 MB/s BenchmarkDecode/4096-4 2530 46996 ns/op 87.16 MB/s BenchmarkDecode/16384-4 606 189518 ns/op 86.45 MB/s BenchmarkDump/256-4 1893 64457 ns/op 3.97 MB/s BenchmarkDump/1024-4 472 249097 ns/op 4.11 MB/s BenchmarkDump/4096-4 121 987562 ns/op 4.15 MB/s BenchmarkDump/16384-4 30 4076372 ns/op 4.02 MB/s PASS ok encoding/hex 2.851s goos: linux goarch: amd64 pkg: encoding/json cpu: AMD EPYC 7B12 BenchmarkCodeEncoder-4 1 128506154 ns/op 15.10 MB/s 8391744 B/op 58 allocs/op BenchmarkCodeEncoderError-4 2 83929647 ns/op 23.12 MB/s 8325072 B/op 44 allocs/op BenchmarkCodeMarshal-4 1 124405485 ns/op 15.60 MB/s 10332944 B/op 60 allocs/op BenchmarkCodeMarshalError-4 2 91966204 ns/op 21.10 MB/s 10331968 B/op 57 allocs/op BenchmarkMarshalBytes/32-4 30370 3972 ns/op BenchmarkMarshalBytes/256-4 7233 14439 ns/op BenchmarkMarshalBytes/4096-4 694 167376 ns/op BenchmarkMarshalBytesError/32-4 84 1416589 ns/op BenchmarkMarshalBytesError/256-4 80 1429011 ns/op BenchmarkMarshalBytesError/4096-4 74 1635377 ns/op BenchmarkCodeDecoder-4 1 312639774 ns/op 6.21 MB/s 11015840 B/op 91355 allocs/op BenchmarkUnicodeDecoder-4 50179 2493 ns/op 5.61 MB/s 40 B/op 2 allocs/op BenchmarkDecoderStream-4 54823 1844 ns/op 16 B/op 1 allocs/op BenchmarkCodeUnmarshal-4 1 273623004 ns/op 7.09 MB/s 2938152 B/op 91324 allocs/op BenchmarkCodeUnmarshalReuse-4 1 273306374 ns/op 7.10 MB/s 2939056 B/op 91329 allocs/op BenchmarkUnmarshalString-4 66280 1746 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalFloat64-4 143833 879.1 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalInt64-4 411314 308.1 ns/op 144 B/op 1 allocs/op BenchmarkIssue10335-4 65600 1841 ns/op 176 B/op 3 allocs/op BenchmarkIssue34127-4 89690 1360 ns/op 83 B/op 2 allocs/op BenchmarkUnmapped-4 23725 5583 ns/op 208 B/op 4 allocs/op BenchmarkTypeFieldsCache/MissTypes1-4 4518 24562 ns/op BenchmarkTypeFieldsCache/MissTypes10-4 1033 111148 ns/op BenchmarkTypeFieldsCache/MissTypes100-4 140 935857 ns/op BenchmarkTypeFieldsCache/MissTypes1000-4 13 8265986 ns/op BenchmarkTypeFieldsCache/HitTypes1-4 617875 172.2 ns/op BenchmarkTypeFieldsCache/HitTypes10-4 680294 191.4 ns/op BenchmarkTypeFieldsCache/HitTypes100-4 535446 209.4 ns/op BenchmarkTypeFieldsCache/HitTypes1000-4 621914 202.4 ns/op BenchmarkEncodeMarshaler-4 76957 1647 ns/op 76 B/op 2 allocs/op BenchmarkEncoderEncode-4 84715 1388 ns/op 44 B/op 0 allocs/op BenchmarkNumberIsValid-4 6124384 19.68 ns/op BenchmarkNumberIsValidRegexp-4 29107 4173 ns/op PASS ok encoding/json 7.537s goos: linux goarch: amd64 pkg: encoding/pem cpu: AMD EPYC 7B12 BenchmarkEncode-4 70 1689293 ns/op 38.79 MB/s BenchmarkDecode-4 36 3320886 ns/op 26.73 MB/s PASS ok encoding/pem 1.357s goos: linux goarch: amd64 pkg: encoding/xml cpu: AMD EPYC 7B12 BenchmarkMarshal-4 3337 33566 ns/op 6280 B/op 24 allocs/op BenchmarkUnmarshal-4 1172 90549 ns/op 8216 B/op 185 allocs/op BenchmarkHTMLAutoClose-4 5074 21464 ns/op PASS ok encoding/xml 1.452s goos: linux goarch: amd64 pkg: expvar cpu: AMD EPYC 7B12 BenchmarkIntAdd-4 517593 200.3 ns/op BenchmarkIntSet-4 403419 386.8 ns/op BenchmarkFloatAdd-4 93825 1243 ns/op BenchmarkFloatSet-4 854426 192.2 ns/op BenchmarkStringSet-4 387136 327.0 ns/op BenchmarkMapSet-4 79225 1840 ns/op BenchmarkMapSetDifferent-4 65094 1862 ns/op BenchmarkMapSetDifferentRandom-4 376 305806 ns/op BenchmarkMapSetString-4 81708 1796 ns/op BenchmarkMapAddSame-4 43574 3099 ns/op BenchmarkMapAddDifferent-4 17684 6888 ns/op BenchmarkMapAddDifferentRandom-4 308 379656 ns/op BenchmarkMapAddSameSteadyState-4 225603 524.4 ns/op BenchmarkMapAddDifferentSteadyState-4 177966 788.9 ns/op BenchmarkRealworldExpvarUsage-4 32368 5281 ns/op PASS ok expvar 3.569s goos: linux goarch: amd64 pkg: fmt cpu: AMD EPYC 7B12 BenchmarkSprintfPadding-4 145813 792.2 ns/op BenchmarkSprintfEmpty-4 453927 261.0 ns/op BenchmarkSprintfString-4 322197 341.5 ns/op BenchmarkSprintfTruncateString-4 301846 397.3 ns/op BenchmarkSprintfTruncateBytes-4 155644 772.4 ns/op BenchmarkSprintfSlowParsingPath-4 343369 363.8 ns/op BenchmarkSprintfQuoteString-4 38848 2880 ns/op BenchmarkSprintfInt-4 331888 340.5 ns/op BenchmarkSprintfIntInt-4 273888 431.8 ns/op BenchmarkSprintfPrefixedInt-4 325770 381.6 ns/op BenchmarkSprintfFloat-4 173121 691.5 ns/op BenchmarkSprintfComplex-4 79689 1516 ns/op BenchmarkSprintfBoolean-4 317811 352.1 ns/op BenchmarkSprintfHexString-4 184068 686.1 ns/op BenchmarkSprintfHexBytes-4 111933 1224 ns/op BenchmarkSprintfBytes-4 43626 2756 ns/op BenchmarkSprintfStringer-4 83490 1250 ns/op BenchmarkSprintfStructure-4 48760 2556 ns/op BenchmarkManyArgs-4 95350 1187 ns/op BenchmarkFprintInt-4 101845 1201 ns/op BenchmarkFprintfBytes-4 111006 1114 ns/op BenchmarkFprintIntNoAlloc-4 100418 1218 ns/op BenchmarkScanInts-4 54 2244199 ns/op BenchmarkScanRecursiveInt-4 1 295627368 ns/op BenchmarkScanRecursiveIntReaderWrapper-4 1 305127835 ns/op PASS ok fmt 5.063s goos: linux goarch: amd64 pkg: go/build cpu: AMD EPYC 7B12 BenchmarkImportVendor-4 1090 101751 ns/op PASS ok go/build 1.138s goos: linux goarch: amd64 pkg: go/constant cpu: AMD EPYC 7B12 BenchmarkStringAdd/1-4 71845 1617 ns/op 160 B/op 2 allocs/op BenchmarkStringAdd/4-4 20252 5919 ns/op 832 B/op 9 allocs/op BenchmarkStringAdd/16-4 6404 20257 ns/op 3168 B/op 23 allocs/op BenchmarkStringAdd/64-4 1500 75845 ns/op 11744 B/op 73 allocs/op BenchmarkStringAdd/256-4 367 321424 ns/op 47840 B/op 267 allocs/op BenchmarkStringAdd/1024-4 88 1420983 ns/op 206177 B/op 1038 allocs/op BenchmarkStringAdd/4096-4 24 5417079 ns/op 865632 B/op 4114 allocs/op BenchmarkStringAdd/16384-4 5 21392468 ns/op 3634528 B/op 16407 allocs/op BenchmarkStringAdd/65536-4 2 91452630 ns/op 15258976 B/op 65565 allocs/op PASS ok go/constant 2.615s goos: linux goarch: amd64 pkg: go/format cpu: AMD EPYC 7B12 BenchmarkFormat/array1-10000-4 1 189017991 ns/op 0.34 MB/s 44394464 B/op 48586 allocs/op PASS ok go/format 1.217s goos: linux goarch: amd64 pkg: go/parser cpu: AMD EPYC 7B12 BenchmarkParse-4 7 14489170 ns/op 3.72 MB/s BenchmarkParseOnly-4 9 12553852 ns/op 4.29 MB/s BenchmarkResolve-4 78 1756626 ns/op 30.66 MB/s PASS ok go/parser 2.343s goos: linux goarch: amd64 pkg: go/printer cpu: AMD EPYC 7B12 BenchmarkPrintFile-4 1 101247192 ns/op 0.51 MB/s 5052416 B/op 27602 allocs/op BenchmarkPrintDecl-4 1189 97277 ns/op 0.33 MB/s 15958 B/op 51 allocs/op PASS ok go/printer 1.243s goos: linux goarch: amd64 pkg: go/scanner cpu: AMD EPYC 7B12 BenchmarkScan-4 378 307663 ns/op BenchmarkScanFiles/go/types/expr.go-4 20 5723631 ns/op 8.67 MB/s BenchmarkScanFiles/go/parser/parser.go-4 13 9473207 ns/op 7.65 MB/s BenchmarkScanFiles/net/http/server.go-4 8 13011476 ns/op 8.71 MB/s BenchmarkScanFiles/go/scanner/errors.go-4 303 416809 ns/op 7.38 MB/s PASS ok go/scanner 1.707s goos: linux goarch: amd64 pkg: go/token cpu: AMD EPYC 7B12 BenchmarkSearchInts-4 1695996 71.23 ns/op PASS ok go/token 1.206s ##### 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 121 1096759 ns/op BenchmarkNamed/Underlying/nongeneric-4 759754 137.4 ns/op BenchmarkNamed/Underlying/generic-4 881760 134.1 ns/op BenchmarkNamed/Underlying/src_instance-4 850748 139.6 ns/op BenchmarkNamed/Underlying/user_instance-4 834448 138.4 ns/op BenchmarkNamed/NewMethodSet/nongeneric-4 20271 5368 ns/op BenchmarkNamed/NewMethodSet/generic-4 21393 5371 ns/op BenchmarkNamed/NewMethodSet/src_instance-4 21206 5484 ns/op BenchmarkNamed/NewMethodSet/user_instance-4 21142 5532 ns/op BenchmarkCheck/http/funcbodies/info-4 1 630725686 ns/op 48441 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 443159138 ns/op 68947 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 247839107 ns/op 123220 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 212295741 ns/op 143880 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 450942119 ns/op 11476 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 1 118095178 ns/op 43813 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 2 70730738 ns/op 73140 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 2 67616022 ns/op 76473 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 173307638 ns/op 12499 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 2 65854046 ns/op 32890 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 3 49198691 ns/op 44027 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 3 47942375 ns/op 45182 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1187565535 ns/op 54879 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 628758212 ns/op 103647 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 182149411 ns/op 357692 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 129419590 ns/op 503320 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 1980160673 ns/op 1008 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 98902614 ns/op 20183 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 2 83283522 ns/op 23966 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 2 81780308 ns/op 24415 lines/s PASS ok go/types 21.008s ##### 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 16122 7453 ns/op 137.40 MB/s PASS ok hash/adler32 1.208s goos: linux goarch: amd64 pkg: hash/crc32 cpu: AMD EPYC 7B12 BenchmarkCRC32/poly=IEEE/size=15/align=0-4 290998 394.2 ns/op 38.05 MB/s BenchmarkCRC32/poly=IEEE/size=15/align=1-4 300970 374.3 ns/op 40.08 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=0-4 166780 751.9 ns/op 53.20 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=1-4 182796 721.0 ns/op 55.48 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=0-4 620378 190.7 ns/op 2684.66 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=1-4 627574 196.3 ns/op 2608.83 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=0-4 518676 234.0 ns/op 4375.62 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=1-4 490329 232.8 ns/op 4398.50 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=0-4 247182 485.0 ns/op 8444.71 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=1-4 248557 471.9 ns/op 8679.65 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=0-4 44275 2709 ns/op 12097.02 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=1-4 44222 2720 ns/op 12048.20 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=0-4 587454 175.6 ns/op 85.43 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=1-4 650544 174.3 ns/op 86.04 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=0-4 656282 178.5 ns/op 224.11 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=1-4 594597 177.7 ns/op 225.05 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=0-4 476922 256.5 ns/op 1995.94 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=1-4 473702 253.5 ns/op 2019.96 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=0-4 371496 309.0 ns/op 3313.44 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=1-4 372973 318.6 ns/op 3214.04 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=0-4 311812 381.5 ns/op 10737.01 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=1-4 294945 390.9 ns/op 10478.97 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=0-4 60962 1940 ns/op 16886.95 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=1-4 61340 1948 ns/op 16822.26 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=0-4 346291 347.9 ns/op 43.11 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=1-4 354608 359.7 ns/op 41.71 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=0-4 167918 705.6 ns/op 56.69 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=1-4 172590 668.6 ns/op 59.83 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=0-4 14322 8406 ns/op 60.91 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=1-4 14254 8471 ns/op 60.44 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=0-4 6404 15812 ns/op 64.76 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=1-4 5888 17772 ns/op 57.62 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=0-4 1488 78937 ns/op 51.89 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=1-4 1483 79960 ns/op 51.23 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=0-4 180 656474 ns/op 49.92 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=1-4 176 653224 ns/op 50.16 MB/s PASS ok hash/crc32 5.855s goos: linux goarch: amd64 pkg: hash/crc64 cpu: AMD EPYC 7B12 BenchmarkCrc64/ISO64KB-4 127 832116 ns/op 78.76 MB/s BenchmarkCrc64/ISO4KB-4 1606 72747 ns/op 56.30 MB/s BenchmarkCrc64/ISO1KB-4 7624 14748 ns/op 69.43 MB/s BenchmarkCrc64/ECMA64KB-4 129 906939 ns/op 72.26 MB/s BenchmarkCrc64/Random64KB-4 156 765003 ns/op 85.67 MB/s BenchmarkCrc64/Random16KB-4 564 219064 ns/op 74.79 MB/s PASS ok hash/crc64 2.018s goos: linux goarch: amd64 pkg: hash/fnv cpu: AMD EPYC 7B12 BenchmarkFnv32KB-4 14160 7592 ns/op 134.88 MB/s BenchmarkFnv32aKB-4 15770 8389 ns/op 122.07 MB/s BenchmarkFnv64KB-4 14221 7590 ns/op 134.91 MB/s BenchmarkFnv64aKB-4 15645 7569 ns/op 135.28 MB/s BenchmarkFnv128KB-4 2894 42912 ns/op 23.86 MB/s BenchmarkFnv128aKB-4 2866 41622 ns/op 24.60 MB/s PASS ok hash/fnv 2.064s goos: linux goarch: amd64 pkg: hash/maphash cpu: AMD EPYC 7B12 BenchmarkHash/n=4/Write-4 706219 150.4 ns/op 26.60 MB/s BenchmarkHash/n=4/Bytes-4 5524946 21.15 ns/op 189.11 MB/s BenchmarkHash/n=4/String-4 2267620 50.80 ns/op 78.73 MB/s BenchmarkHash/n=8/Write-4 688234 156.2 ns/op 51.23 MB/s BenchmarkHash/n=8/Bytes-4 5749446 21.55 ns/op 371.18 MB/s BenchmarkHash/n=8/String-4 2346586 52.84 ns/op 151.39 MB/s BenchmarkHash/n=16/Write-4 752450 154.7 ns/op 103.40 MB/s BenchmarkHash/n=16/Bytes-4 5772986 20.70 ns/op 773.01 MB/s BenchmarkHash/n=16/String-4 2318510 52.64 ns/op 303.96 MB/s BenchmarkHash/n=32/Write-4 723837 157.6 ns/op 203.10 MB/s BenchmarkHash/n=32/Bytes-4 5769838 20.74 ns/op 1542.55 MB/s BenchmarkHash/n=32/String-4 2270853 52.38 ns/op 610.97 MB/s BenchmarkHash/n=64/Write-4 666596 173.2 ns/op 369.47 MB/s BenchmarkHash/n=64/Bytes-4 5652582 21.99 ns/op 2909.99 MB/s BenchmarkHash/n=64/String-4 2332461 53.18 ns/op 1203.54 MB/s BenchmarkHash/n=256/Write-4 524095 220.3 ns/op 1161.89 MB/s BenchmarkHash/n=256/Bytes-4 4192099 28.06 ns/op 9124.63 MB/s BenchmarkHash/n=256/String-4 1335943 89.34 ns/op 2865.35 MB/s BenchmarkHash/n=320/Write-4 563397 215.6 ns/op 1483.90 MB/s BenchmarkHash/n=320/Bytes-4 3744553 33.35 ns/op 9595.73 MB/s BenchmarkHash/n=320/String-4 872004 121.8 ns/op 2627.14 MB/s BenchmarkHash/n=1024/Write-4 370534 314.0 ns/op 3261.11 MB/s BenchmarkHash/n=1024/Bytes-4 1384419 86.61 ns/op 11823.74 MB/s BenchmarkHash/n=1024/String-4 380254 304.4 ns/op 3363.74 MB/s BenchmarkHash/n=4096/Write-4 173206 669.2 ns/op 6120.36 MB/s BenchmarkHash/n=4096/Bytes-4 344755 348.2 ns/op 11762.57 MB/s BenchmarkHash/n=4096/String-4 106362 1139 ns/op 3596.60 MB/s BenchmarkHash/n=16384/Write-4 56916 2120 ns/op 7728.18 MB/s BenchmarkHash/n=16384/Bytes-4 85650 1398 ns/op 11718.39 MB/s BenchmarkHash/n=16384/String-4 26868 4460 ns/op 3673.66 MB/s PASS ok hash/maphash 5.463s goos: linux goarch: amd64 pkg: html cpu: AMD EPYC 7B12 BenchmarkEscape-4 1314 87211 ns/op BenchmarkEscapeNone-4 144526 809.6 ns/op BenchmarkUnescape-4 1185 100298 ns/op BenchmarkUnescapeNone-4 760302 152.6 ns/op BenchmarkUnescapeSparse-4 17288 7381 ns/op BenchmarkUnescapeDense-4 1675 69900 ns/op PASS ok html 1.841s goos: linux goarch: amd64 pkg: html/template cpu: AMD EPYC 7B12 BenchmarkCSSEscaper-4 13273 8667 ns/op BenchmarkCSSEscaperNoSpecials-4 59678 1840 ns/op BenchmarkDecodeCSS-4 39973 2902 ns/op BenchmarkDecodeCSSNoSpecials-4 6066949 20.75 ns/op BenchmarkCSSValueFilter-4 166734 733.3 ns/op BenchmarkCSSValueFilterOk-4 119187 1035 ns/op BenchmarkEscapedExecute-4 5623 18208 ns/op BenchmarkHTMLNospaceEscaper-4 16405 7217 ns/op BenchmarkHTMLNospaceEscaperNoSpecials-4 95004 1242 ns/op BenchmarkStripTags-4 31226 3764 ns/op BenchmarkStripTagsNoSpecials-4 450969 262.4 ns/op BenchmarkJSValEscaperWithNum-4 32750 3622 ns/op BenchmarkJSValEscaperWithStr-4 7467 14810 ns/op BenchmarkJSValEscaperWithStrNoSpecials-4 26994 4502 ns/op BenchmarkJSValEscaperWithObj-4 6636 17030 ns/op BenchmarkJSValEscaperWithObjNoSpecials-4 18975 6361 ns/op BenchmarkJSStrEscaperNoSpecials-4 87800 1379 ns/op BenchmarkJSStrEscaper-4 16602 7204 ns/op BenchmarkJSRegexpEscaperNoSpecials-4 78615 1583 ns/op BenchmarkJSRegexpEscaper-4 16102 7590 ns/op BenchmarkTemplateSpecialTags-4 142 796788 ns/op BenchmarkURLEscaper-4 5424 19342 ns/op BenchmarkURLEscaperNoSpecials-4 247078 466.8 ns/op BenchmarkURLNormalizer-4 6924 14500 ns/op BenchmarkURLNormalizerNoSpecials-4 232303 506.8 ns/op BenchmarkSrcsetFilter-4 26384 4600 ns/op BenchmarkSrcsetFilterNoSpecials-4 162806 792.1 ns/op PASS ok html/template 5.044s goos: linux goarch: amd64 pkg: image cpu: AMD EPYC 7B12 BenchmarkAt/rgba-4 767886 137.2 ns/op 16 B/op 1 allocs/op BenchmarkAt/rgba64-4 609297 182.1 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba-4 857277 132.5 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba64-4 651416 184.2 ns/op 16 B/op 1 allocs/op BenchmarkAt/alpha-4 2353354 51.84 ns/op 0 B/op 0 allocs/op BenchmarkAt/alpha16-4 1623222 75.40 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray-4 2388938 50.66 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray16-4 1636438 82.72 ns/op 0 B/op 0 allocs/op BenchmarkAt/paletted-4 1864288 63.55 ns/op 0 B/op 0 allocs/op BenchmarkSet/rgba-4 553305 200.6 ns/op 16 B/op 1 allocs/op BenchmarkSet/rgba64-4 535970 226.5 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba-4 608226 197.7 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba64-4 519817 227.9 ns/op 16 B/op 1 allocs/op BenchmarkSet/alpha-4 949404 109.1 ns/op 0 B/op 0 allocs/op BenchmarkSet/alpha16-4 758538 151.7 ns/op 16 B/op 1 allocs/op BenchmarkSet/gray-4 1255534 95.48 ns/op 0 B/op 0 allocs/op BenchmarkSet/gray16-4 801025 155.6 ns/op 16 B/op 1 allocs/op BenchmarkSet/paletted-4 586185 202.9 ns/op 0 B/op 0 allocs/op BenchmarkRGBAAt-4 1826323 71.65 ns/op BenchmarkRGBASetRGBA-4 1747929 68.07 ns/op BenchmarkRGBA64At-4 1000000 111.5 ns/op BenchmarkRGBA64SetRGBA64-4 1136494 105.0 ns/op BenchmarkNRGBAAt-4 1829631 65.53 ns/op BenchmarkNRGBASetNRGBA-4 1755728 67.54 ns/op BenchmarkNRGBA64At-4 962926 110.5 ns/op BenchmarkNRGBA64SetNRGBA64-4 1137286 103.6 ns/op BenchmarkAlphaAt-4 3250341 37.26 ns/op BenchmarkAlphaSetAlpha-4 2778004 38.83 ns/op BenchmarkAlpha16At-4 1815324 60.53 ns/op BenchmarkAlphaSetAlpha16-4 1983768 61.14 ns/op BenchmarkGrayAt-4 3009228 38.98 ns/op BenchmarkGraySetGray-4 2893641 37.94 ns/op BenchmarkGray16At-4 1909138 62.00 ns/op BenchmarkGraySetGray16-4 1951604 61.59 ns/op PASS ok image 6.414s goos: linux goarch: amd64 pkg: image/color cpu: AMD EPYC 7B12 BenchmarkYCbCrToRGB/0-4 5166928 24.66 ns/op BenchmarkYCbCrToRGB/128-4 4993998 23.67 ns/op BenchmarkYCbCrToRGB/255-4 5000047 23.74 ns/op BenchmarkRGBToYCbCr/0-4 4989678 23.80 ns/op BenchmarkRGBToYCbCr/Cb-4 5004009 21.86 ns/op BenchmarkRGBToYCbCr/Cr-4 4960197 23.80 ns/op BenchmarkYCbCrToRGBA/0-4 3981336 27.83 ns/op BenchmarkYCbCrToRGBA/128-4 3894824 30.64 ns/op BenchmarkYCbCrToRGBA/255-4 4039976 29.33 ns/op BenchmarkNYCbCrAToRGBA/0-4 3948613 30.02 ns/op BenchmarkNYCbCrAToRGBA/128-4 3940827 30.12 ns/op BenchmarkNYCbCrAToRGBA/255-4 3993690 29.66 ns/op PASS ok image/color 2.788s goos: linux goarch: amd64 pkg: image/draw cpu: AMD EPYC 7B12 BenchmarkFillOver-4 5 24103885 ns/op BenchmarkFillSrc-4 484 242203 ns/op BenchmarkCopyOver-4 9 11234019 ns/op BenchmarkCopySrc-4 722 162322 ns/op BenchmarkNRGBAOver-4 9 11230427 ns/op BenchmarkNRGBASrc-4 14 7433704 ns/op BenchmarkYCbCr-4 13 8858797 ns/op BenchmarkGray-4 25 4434619 ns/op BenchmarkCMYK-4 15 7723995 ns/op BenchmarkGlyphOver-4 28 4072238 ns/op BenchmarkRGBAMaskOver-4 5 21086578 ns/op BenchmarkGrayMaskOver-4 7 16078423 ns/op BenchmarkRGBA64ImageMaskOver-4 4 25561393 ns/op BenchmarkRGBA-4 6 17499740 ns/op BenchmarkPalettedFill-4 1408 84366 ns/op BenchmarkPalettedRGBA-4 6 17986705 ns/op BenchmarkGenericOver-4 3 38301296 ns/op BenchmarkGenericMaskOver-4 7 16124767 ns/op BenchmarkGenericSrc-4 4 25623743 ns/op BenchmarkGenericMaskSrc-4 5 21627398 ns/op PASS ok image/draw 5.658s goos: linux goarch: amd64 pkg: image/gif cpu: AMD EPYC 7B12 BenchmarkDecode-4 32 3421961 ns/op 4.51 MB/s 47848 B/op 267 allocs/op BenchmarkEncodeRandomPaletted-4 2 91319620 ns/op 3.36 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRandomRGBA-4 1 2085483042 ns/op 0.59 MB/s 417248 B/op 13 allocs/op BenchmarkEncodeRealisticPaletted-4 78 1354035 ns/op 11.41 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRealisticRGBA-4 1 105245621 ns/op 0.59 MB/s 105952 B/op 13 allocs/op PASS ok image/gif 4.115s goos: linux goarch: amd64 pkg: image/jpeg cpu: AMD EPYC 7B12 BenchmarkFDCT-4 6151 19542 ns/op BenchmarkIDCT-4 5787 17944 ns/op BenchmarkDecodeBaseline-4 13 8852966 ns/op 6.98 MB/s 63024 B/op 5 allocs/op BenchmarkDecodeProgressive-4 9 12004950 ns/op 5.15 MB/s 259712 B/op 13 allocs/op BenchmarkEncodeRGBA-4 1 112667199 ns/op 10.91 MB/s 4400 B/op 4 allocs/op BenchmarkEncodeYCbCr-4 1 136792602 ns/op 6.74 MB/s 4400 B/op 4 allocs/op PASS ok image/jpeg 2.173s goos: linux goarch: amd64 pkg: image/png cpu: AMD EPYC 7B12 BenchmarkPaeth-4 16970756 7.036 ns/op BenchmarkDecodeGray-4 18 6240084 ns/op 10.50 MB/s 137024 B/op 102 allocs/op BenchmarkDecodeNRGBAGradient-4 4 25731288 ns/op 10.19 MB/s 337328 B/op 188 allocs/op BenchmarkDecodeNRGBAOpaque-4 5 21988672 ns/op 11.92 MB/s 346592 B/op 152 allocs/op BenchmarkDecodePaletted-4 31 3701698 ns/op 17.70 MB/s 139456 B/op 309 allocs/op BenchmarkDecodeRGB-4 5 20903926 ns/op 12.54 MB/s 332000 B/op 157 allocs/op BenchmarkDecodeInterlacing-4 4 25509146 ns/op 10.28 MB/s 605216 B/op 268 allocs/op BenchmarkEncodeGray-4 3 38889933 ns/op 7.90 MB/s 852184 B/op 29 allocs/op BenchmarkEncodeGrayWithBufferPool-4 3 38356476 ns/op 8.01 MB/s 284053 B/op 9 allocs/op BenchmarkEncodeNRGBOpaque-4 1 137783702 ns/op 8.92 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeNRGBA-4 1 150635918 ns/op 8.16 MB/s 864088 B/op 29 allocs/op BenchmarkEncodePaletted-4 6 19734336 ns/op 15.57 MB/s 848592 B/op 32 allocs/op BenchmarkEncodeRGBOpaque-4 1 143359131 ns/op 8.57 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeRGBA-4 1 557739416 ns/op 2.20 MB/s 864088 B/op 29 allocs/op PASS ok image/png 4.128s ##### 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 53884352 ns/op 1.86 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=opticks/size=100K/bits=64-4 3 45069137 ns/op 2.22 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=32-4 1 313631556 ns/op 1.59 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=64-4 1 285362688 ns/op 1.75 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=32-4 2 53363126 ns/op 1.87 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=64-4 3 43759637 ns/op 2.29 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=32-4 1 310091297 ns/op 1.61 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=64-4 1 278127143 ns/op 1.80 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=32-4 1 654599069 ns/op 1.53 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=64-4 1 650068156 ns/op 1.54 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=32-4 1 4071059696 ns/op 1.23 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=64-4 1 3932671640 ns/op 1.27 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=32-4 10 10222637 ns/op 9.78 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=64-4 9 11462456 ns/op 8.72 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=32-4 3 50858093 ns/op 9.83 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=64-4 2 56621234 ns/op 8.83 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=32-4 2 98921110 ns/op 10.11 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=64-4 1 113458073 ns/op 8.81 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=32-4 1 498382561 ns/op 10.03 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=64-4 1 555900996 ns/op 8.99 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=32-4 2 61027636 ns/op 1.64 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=64-4 2 51164642 ns/op 1.95 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=32-4 1 379494642 ns/op 1.32 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=64-4 1 394903047 ns/op 1.27 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=32-4 1 874937551 ns/op 1.14 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=64-4 1 1036047394 ns/op 0.97 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=32-4 1 6102288067 ns/op 0.82 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=64-4 1 5837586670 ns/op 0.86 MB/s 40001616 B/op 2 allocs/op BenchmarkSaveRestore/bits=32-4 1 183936831 ns/op 22.72 MB/s 5275648 B/op 4 allocs/op BenchmarkSaveRestore/bits=64-4 1 190385539 ns/op 21.95 MB/s 9469952 B/op 4 allocs/op PASS ok index/suffixarray 46.878s ##### 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 52539 2233 ns/op 0.45 MB/s BenchmarkMarshalCorpusFile/2-4 50310 2325 ns/op 0.86 MB/s BenchmarkMarshalCorpusFile/4-4 46960 2579 ns/op 1.55 MB/s BenchmarkMarshalCorpusFile/8-4 37920 3049 ns/op 2.62 MB/s BenchmarkMarshalCorpusFile/16-4 31220 3834 ns/op 4.17 MB/s BenchmarkMarshalCorpusFile/32-4 20898 5698 ns/op 5.62 MB/s BenchmarkMarshalCorpusFile/64-4 13528 8832 ns/op 7.25 MB/s BenchmarkMarshalCorpusFile/128-4 7954 14241 ns/op 8.99 MB/s BenchmarkMarshalCorpusFile/256-4 4180 26424 ns/op 9.69 MB/s BenchmarkMarshalCorpusFile/512-4 2247 52413 ns/op 9.77 MB/s BenchmarkMarshalCorpusFile/1024-4 1166 99607 ns/op 10.28 MB/s BenchmarkMarshalCorpusFile/2048-4 554 201056 ns/op 10.19 MB/s BenchmarkMarshalCorpusFile/4096-4 301 395782 ns/op 10.35 MB/s BenchmarkMarshalCorpusFile/8192-4 152 784649 ns/op 10.44 MB/s BenchmarkMarshalCorpusFile/16384-4 80 1537125 ns/op 10.66 MB/s BenchmarkMarshalCorpusFile/32768-4 32 3512096 ns/op 9.33 MB/s BenchmarkMarshalCorpusFile/65536-4 16 7320019 ns/op 8.95 MB/s BenchmarkMarshalCorpusFile/131072-4 7 16087213 ns/op 8.15 MB/s BenchmarkMarshalCorpusFile/262144-4 4 30675446 ns/op 8.55 MB/s BenchmarkMarshalCorpusFile/524288-4 2 67540201 ns/op 7.76 MB/s BenchmarkMarshalCorpusFile/1048576-4 1 117327907 ns/op 8.94 MB/s BenchmarkUnmarshalCorpusFile/1-4 14428 8358 ns/op 0.12 MB/s BenchmarkUnmarshalCorpusFile/2-4 13665 8661 ns/op 0.23 MB/s BenchmarkUnmarshalCorpusFile/4-4 12296 9753 ns/op 0.41 MB/s BenchmarkUnmarshalCorpusFile/8-4 10000 11192 ns/op 0.71 MB/s BenchmarkUnmarshalCorpusFile/16-4 9240 13152 ns/op 1.22 MB/s BenchmarkUnmarshalCorpusFile/32-4 5533 19656 ns/op 1.63 MB/s BenchmarkUnmarshalCorpusFile/64-4 4660 22573 ns/op 2.84 MB/s BenchmarkUnmarshalCorpusFile/128-4 3739 29604 ns/op 4.32 MB/s BenchmarkUnmarshalCorpusFile/256-4 1513 80388 ns/op 3.18 MB/s BenchmarkUnmarshalCorpusFile/512-4 799 155382 ns/op 3.30 MB/s BenchmarkUnmarshalCorpusFile/1024-4 391 303026 ns/op 3.38 MB/s BenchmarkUnmarshalCorpusFile/2048-4 210 566036 ns/op 3.62 MB/s BenchmarkUnmarshalCorpusFile/4096-4 93 1138849 ns/op 3.60 MB/s BenchmarkUnmarshalCorpusFile/8192-4 48 2280922 ns/op 3.59 MB/s BenchmarkUnmarshalCorpusFile/16384-4 25 4671147 ns/op 3.51 MB/s BenchmarkUnmarshalCorpusFile/32768-4 13 8886245 ns/op 3.69 MB/s BenchmarkUnmarshalCorpusFile/65536-4 6 17672457 ns/op 3.71 MB/s BenchmarkUnmarshalCorpusFile/131072-4 3 35100924 ns/op 3.73 MB/s BenchmarkUnmarshalCorpusFile/262144-4 2 73397865 ns/op 3.57 MB/s BenchmarkUnmarshalCorpusFile/524288-4 1 142089531 ns/op 3.69 MB/s BenchmarkUnmarshalCorpusFile/1048576-4 1 281303152 ns/op 3.73 MB/s BenchmarkMutatorBytes/1-4 52122 2331 ns/op BenchmarkMutatorBytes/10-4 54829 2256 ns/op BenchmarkMutatorBytes/100-4 50269 2439 ns/op BenchmarkMutatorBytes/1000-4 33646 3745 ns/op BenchmarkMutatorBytes/10000-4 6710 15386 ns/op BenchmarkMutatorBytes/100000-4 1298 103826 ns/op BenchmarkMutatorString/1-4 46614 2438 ns/op BenchmarkMutatorString/10-4 51037 2393 ns/op BenchmarkMutatorString/100-4 45249 2755 ns/op BenchmarkMutatorString/1000-4 23766 5236 ns/op BenchmarkMutatorString/10000-4 5493 29132 ns/op BenchmarkMutatorString/100000-4 446 307146 ns/op BenchmarkMutatorAllBasicTypes/[]uint8-4 28059 4261 ns/op BenchmarkMutatorAllBasicTypes/string-4 26521 4357 ns/op BenchmarkMutatorAllBasicTypes/bool-4 90553 1323 ns/op BenchmarkMutatorAllBasicTypes/float32-4 79023 1480 ns/op BenchmarkMutatorAllBasicTypes/float64-4 78945 1474 ns/op BenchmarkMutatorAllBasicTypes/int-4 84614 1404 ns/op BenchmarkMutatorAllBasicTypes/int8-4 85458 1411 ns/op BenchmarkMutatorAllBasicTypes/int16-4 84502 1403 ns/op BenchmarkMutatorAllBasicTypes/int32-4 82051 1397 ns/op BenchmarkMutatorAllBasicTypes/int64-4 82572 1392 ns/op BenchmarkMutatorAllBasicTypes/uint8-4 82498 1457 ns/op BenchmarkMutatorAllBasicTypes/uint16-4 82570 1460 ns/op BenchmarkMutatorAllBasicTypes/uint32-4 82582 1445 ns/op BenchmarkMutatorAllBasicTypes/uint64-4 81213 1449 ns/op PASS ok internal/fuzz 11.765s goos: linux goarch: amd64 pkg: internal/intern cpu: AMD EPYC 7B12 BenchmarkStress-4 39614 2580 ns/op 0 B/op 0 allocs/op BenchmarkGetByString-4 197226 621.8 ns/op 0 B/op 0 allocs/op PASS ok internal/intern 1.262s goos: linux goarch: amd64 pkg: internal/poll cpu: AMD EPYC 7B12 BenchmarkSplicePipe/SplicePipeWithPool-4 65367 1609 ns/op BenchmarkSplicePipe/SplicePipeWithoutPool-4 28804 4109 ns/op BenchmarkSplicePipePoolParallel-4 175011 735.6 ns/op BenchmarkSplicePipeNativeParallel-4 48778 2846 ns/op PASS ok internal/poll 1.807s goos: linux goarch: amd64 pkg: internal/trace cpu: AMD EPYC 7B12 BenchmarkMMU-4 7 16373770 ns/op PASS ok internal/trace 2.297s PASS ok internal/zstd 1.013s goos: linux goarch: amd64 pkg: io cpu: AMD EPYC 7B12 BenchmarkCopyNSmall-4 17343 6602 ns/op BenchmarkCopyNLarge-4 283 364445 ns/op PASS ok io 1.355s goos: linux goarch: amd64 pkg: log cpu: AMD EPYC 7B12 BenchmarkItoa-4 303025 380.6 ns/op BenchmarkPrintln-4 32661 3801 ns/op 78 B/op 1 allocs/op BenchmarkPrintlnNoFlags-4 44534 2489 ns/op 65 B/op 0 allocs/op BenchmarkConcurrent-4 2671 44185 ns/op BenchmarkDiscard-4 1808587 66.97 ns/op 0 B/op 0 allocs/op PASS ok log 1.854s goos: linux goarch: amd64 pkg: log/slog cpu: AMD EPYC 7B12 BenchmarkWriteTime-4 120200 979.0 ns/op BenchmarkJSONHandler/defaults-4 10418 11430 ns/op 525 B/op 1 allocs/op BenchmarkJSONHandler/time_format-4 6284 19157 ns/op 781 B/op 6 allocs/op BenchmarkJSONHandler/time_unix-4 7116 17096 ns/op 759 B/op 5 allocs/op BenchmarkPreformatting/separate-4 9261 11078 ns/op 520 B/op 0 allocs/op BenchmarkPreformatting/struct-4 10921 11335 ns/op 517 B/op 0 allocs/op BenchmarkPreformatting/struct_file-4 8035 14185 ns/op 526 B/op 1 allocs/op BenchmarkJSONEncoding/json.Marshal-4 42447 2863 ns/op 79 B/op 2 allocs/op BenchmarkJSONEncoding/Encoder.Encode-4 41449 2879 ns/op 64 B/op 2 allocs/op BenchmarkNopLog/no_attrs-4 93813 1275 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-4 80775 1598 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-parallel-4 59697 2060 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/keys-values-4 75649 1675 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-4 79942 1606 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-parallel-4 65270 2004 ns/op 0 B/op 0 allocs/op BenchmarkPC/0-4 653829 181.0 ns/op 0 B/op 0 allocs/op BenchmarkPC/1-4 470643 240.6 ns/op 0 B/op 0 allocs/op BenchmarkPC/2-4 309708 360.0 ns/op 0 B/op 0 allocs/op BenchmarkPC/3-4 229244 501.4 ns/op 0 B/op 0 allocs/op BenchmarkPC/4-4 187650 620.0 ns/op 0 B/op 0 allocs/op BenchmarkRecord-4 9658 10892 ns/op BenchmarkDispatch/switch-checked-4 276960 425.2 ns/op BenchmarkDispatch/As-4 255136 453.5 ns/op BenchmarkDispatch/Visit-4 247050 465.8 ns/op BenchmarkUnsafeStrings-4 25408 4871 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.700s goos: linux goarch: amd64 pkg: log/slog/internal/benchmarks cpu: AMD EPYC 7B12 BenchmarkAttrs/disabled/5_args-4 2875849 39.66 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/5_args_ctx-4 2960382 41.73 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/10_args-4 1925796 64.89 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/40_args-4 535126 194.3 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args-4 87362 1395 ns/op 263 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args_ctx-4 86772 1482 ns/op 259 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/10_args-4 59049 2220 ns/op 469 B/op 1 allocs/op BenchmarkAttrs/fastText_discard/40_args-4 22837 4982 ns/op 2048 B/op 1 allocs/op BenchmarkAttrs/Text_discard/5_args-4 16448 6770 ns/op 608 B/op 3 allocs/op BenchmarkAttrs/Text_discard/5_args_ctx-4 17158 6833 ns/op 610 B/op 3 allocs/op BenchmarkAttrs/Text_discard/10_args-4 11220 9777 ns/op 912 B/op 7 allocs/op BenchmarkAttrs/Text_discard/40_args-4 4540 26552 ns/op 3055 B/op 22 allocs/op BenchmarkAttrs/JSON_discard/5_args-4 17666 6021 ns/op 526 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/5_args_ctx-4 20505 5998 ns/op 525 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/10_args-4 13405 8708 ns/op 728 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/40_args-4 4776 22670 ns/op 2310 B/op 2 allocs/op PASS ok log/slog/internal/benchmarks 3.713s goos: linux goarch: amd64 pkg: maps cpu: AMD EPYC 7B12 BenchmarkMapClone-4 4 26887682 ns/op BenchmarkKeys-4 10 10556818 ns/op BenchmarkValues-4 10 10162196 ns/op PASS ok maps 3.106s goos: linux goarch: amd64 pkg: math cpu: AMD EPYC 7B12 BenchmarkAcos-4 5089197 23.59 ns/op BenchmarkAcosh-4 1790209 66.94 ns/op BenchmarkAsin-4 5107514 23.46 ns/op BenchmarkAsinh-4 1757474 69.90 ns/op BenchmarkAtan-4 6051578 20.02 ns/op BenchmarkAtanh-4 1684626 71.15 ns/op BenchmarkAtan2-4 3413350 36.32 ns/op BenchmarkCbrt-4 2329743 51.25 ns/op BenchmarkCeil-4 20552632 5.021 ns/op BenchmarkCompare-4 4936536 24.53 ns/op BenchmarkCompare32-4 5799621 19.66 ns/op BenchmarkCopysign-4 3589405 33.38 ns/op BenchmarkCos-4 1636466 66.43 ns/op BenchmarkCosh-4 2262144 52.90 ns/op BenchmarkErf-4 6032434 19.81 ns/op BenchmarkErfc-4 5779819 20.67 ns/op BenchmarkErfinv-4 5923230 20.24 ns/op BenchmarkErfcinv-4 5513140 20.12 ns/op BenchmarkExp-4 7477224 14.47 ns/op BenchmarkExpGo-4 1465837 81.33 ns/op BenchmarkExpm1-4 5018720 24.18 ns/op BenchmarkExp2-4 1577342 76.40 ns/op BenchmarkExp2Go-4 1465164 81.73 ns/op BenchmarkAbs-4 4621566 24.80 ns/op BenchmarkDim-4 11261062 10.59 ns/op BenchmarkFloor-4 22640445 5.003 ns/op BenchmarkMax-4 16002051 7.180 ns/op BenchmarkMin-4 15270909 6.888 ns/op BenchmarkMod-4 460708 252.6 ns/op BenchmarkFrexp-4 2529049 46.89 ns/op BenchmarkGamma-4 952228 127.1 ns/op BenchmarkHypot-4 13583114 8.196 ns/op BenchmarkHypotGo-4 2220855 53.41 ns/op BenchmarkIlogb-4 2973912 40.48 ns/op BenchmarkJ0-4 360320 347.0 ns/op BenchmarkJ1-4 363361 325.5 ns/op BenchmarkJn-4 168124 683.0 ns/op BenchmarkLdexp-4 2444700 47.99 ns/op BenchmarkLgamma-4 1264296 91.97 ns/op BenchmarkLog-4 8362131 13.86 ns/op BenchmarkLogb-4 2857414 41.90 ns/op BenchmarkLog1p-4 2111646 56.76 ns/op BenchmarkLog10-4 8048334 14.50 ns/op BenchmarkLog2-4 2009269 60.91 ns/op BenchmarkModf-4 3616129 32.88 ns/op BenchmarkNextafter32-4 3580150 33.84 ns/op BenchmarkNextafter64-4 3649509 32.91 ns/op BenchmarkPowInt-4 783351 151.3 ns/op BenchmarkPowFrac-4 601953 195.6 ns/op BenchmarkPow10Pos-4 4865340 20.97 ns/op BenchmarkPow10Neg-4 4900227 21.25 ns/op BenchmarkRound-4 4805007 25.31 ns/op BenchmarkRoundToEven-4 11820741 10.14 ns/op BenchmarkRemainder-4 639192 185.9 ns/op BenchmarkSignbit-4 6171856 17.19 ns/op BenchmarkSin-4 2079727 57.91 ns/op BenchmarkSincos-4 1411074 84.91 ns/op BenchmarkSinh-4 3878209 31.01 ns/op BenchmarkSqrtIndirect-4 23980645 4.998 ns/op BenchmarkSqrtLatency-4 12836986 9.327 ns/op BenchmarkSqrtIndirectLatency-4 12839211 9.254 ns/op BenchmarkSqrtGoLatency-4 2010692 58.82 ns/op BenchmarkSqrtPrime-4 174057 686.7 ns/op BenchmarkTan-4 1806270 59.02 ns/op BenchmarkTanh-4 2177191 55.22 ns/op BenchmarkTrunc-4 23967675 5.001 ns/op BenchmarkY0-4 337676 337.5 ns/op BenchmarkY1-4 378703 354.6 ns/op BenchmarkYn-4 181128 715.8 ns/op BenchmarkFloat64bits-4 7048629 16.88 ns/op BenchmarkFloat64frombits-4 6211226 17.25 ns/op BenchmarkFloat32bits-4 6738145 17.79 ns/op BenchmarkFloat32frombits-4 6405009 19.05 ns/op BenchmarkFMA-4 18016480 5.964 ns/op PASS ok math 12.275s ##### 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 12408236 9.604 ns/op 6663.92 MB/s BenchmarkAddVV/2-4 11092549 10.48 ns/op 12211.59 MB/s BenchmarkAddVV/3-4 9515718 12.42 ns/op 15462.67 MB/s BenchmarkAddVV/4-4 10742698 11.47 ns/op 22324.30 MB/s BenchmarkAddVV/5-4 9442868 12.64 ns/op 25325.89 MB/s BenchmarkAddVV/10-4 7650728 15.23 ns/op 42014.92 MB/s BenchmarkAddVV/100-4 1674847 71.39 ns/op 89645.23 MB/s BenchmarkAddVV/1000-4 204151 590.6 ns/op 108358.34 MB/s BenchmarkSubVV/1-4 12627122 9.506 ns/op 6732.85 MB/s BenchmarkSubVV/2-4 11416178 10.47 ns/op 12222.18 MB/s BenchmarkSubVV/3-4 9516667 12.37 ns/op 15526.22 MB/s BenchmarkSubVV/4-4 9887924 12.09 ns/op 21171.83 MB/s BenchmarkSubVV/5-4 9302174 12.95 ns/op 24704.38 MB/s BenchmarkSubVV/10-4 7861880 15.21 ns/op 42068.79 MB/s BenchmarkSubVV/100-4 1652468 71.84 ns/op 89088.71 MB/s BenchmarkSubVV/1000-4 203428 581.8 ns/op 109995.32 MB/s BenchmarkAddVW/1-4 13777377 8.680 ns/op 921.62 MB/s BenchmarkAddVW/2-4 12435816 9.549 ns/op 1675.50 MB/s BenchmarkAddVW/3-4 10949860 11.04 ns/op 2174.79 MB/s BenchmarkAddVW/4-4 12030682 10.32 ns/op 3100.71 MB/s BenchmarkAddVW/5-4 10494786 11.05 ns/op 3618.77 MB/s BenchmarkAddVW/10-4 9115735 13.15 ns/op 6084.27 MB/s BenchmarkAddVW/100-4 244312 455.9 ns/op 1754.88 MB/s BenchmarkAddVW/1000-4 35148 3421 ns/op 2338.23 MB/s BenchmarkAddVWext/1-4 14195541 8.362 ns/op 956.70 MB/s BenchmarkAddVWext/2-4 12896288 9.119 ns/op 1754.55 MB/s BenchmarkAddVWext/3-4 12275199 9.706 ns/op 2472.71 MB/s BenchmarkAddVWext/4-4 11778898 10.01 ns/op 3198.03 MB/s BenchmarkAddVWext/5-4 10955744 10.91 ns/op 3667.26 MB/s BenchmarkAddVWext/10-4 9130663 13.11 ns/op 6100.47 MB/s BenchmarkAddVWext/100-4 80752 1463 ns/op 546.95 MB/s BenchmarkAddVWext/1000-4 8215 14338 ns/op 557.97 MB/s BenchmarkSubVW/1-4 13716295 8.748 ns/op 914.52 MB/s BenchmarkSubVW/2-4 11872707 10.16 ns/op 1574.37 MB/s BenchmarkSubVW/3-4 10239044 11.62 ns/op 2065.25 MB/s BenchmarkSubVW/4-4 11977728 9.929 ns/op 3222.98 MB/s BenchmarkSubVW/5-4 11056764 10.90 ns/op 3668.37 MB/s BenchmarkSubVW/10-4 8908771 13.11 ns/op 6102.92 MB/s BenchmarkSubVW/100-4 264426 460.5 ns/op 1737.35 MB/s BenchmarkSubVW/1000-4 33742 3415 ns/op 2342.35 MB/s BenchmarkSubVWext/1-4 13674236 8.704 ns/op 919.17 MB/s BenchmarkSubVWext/2-4 12857287 9.192 ns/op 1740.67 MB/s BenchmarkSubVWext/3-4 11695044 10.31 ns/op 2327.81 MB/s BenchmarkSubVWext/4-4 11792859 10.25 ns/op 3122.80 MB/s BenchmarkSubVWext/5-4 10785345 11.14 ns/op 3591.15 MB/s BenchmarkSubVWext/10-4 8874750 13.48 ns/op 5933.71 MB/s BenchmarkSubVWext/100-4 81028 1485 ns/op 538.66 MB/s BenchmarkSubVWext/1000-4 7791 14425 ns/op 554.59 MB/s BenchmarkMulAddVWW/1-4 11675420 10.33 ns/op 6197.42 MB/s BenchmarkMulAddVWW/2-4 10577942 11.16 ns/op 11471.79 MB/s BenchmarkMulAddVWW/3-4 10081408 11.89 ns/op 16150.49 MB/s BenchmarkMulAddVWW/4-4 9363764 12.71 ns/op 20143.77 MB/s BenchmarkMulAddVWW/5-4 8458411 14.09 ns/op 22707.30 MB/s BenchmarkMulAddVWW/10-4 6500076 18.23 ns/op 35107.17 MB/s BenchmarkMulAddVWW/100-4 1000000 107.7 ns/op 59438.83 MB/s BenchmarkMulAddVWW/1000-4 126802 940.5 ns/op 68047.20 MB/s BenchmarkAddMulVVW/1-4 12064009 9.886 ns/op 6473.74 MB/s BenchmarkAddMulVVW/2-4 11064194 10.71 ns/op 11946.84 MB/s BenchmarkAddMulVVW/3-4 10092303 11.88 ns/op 16163.52 MB/s BenchmarkAddMulVVW/4-4 9246459 12.95 ns/op 19775.69 MB/s BenchmarkAddMulVVW/5-4 8344956 14.21 ns/op 22526.67 MB/s BenchmarkAddMulVVW/10-4 7049298 17.05 ns/op 37532.95 MB/s BenchmarkAddMulVVW/100-4 1465024 81.47 ns/op 78559.87 MB/s BenchmarkAddMulVVW/1000-4 165672 722.7 ns/op 88557.75 MB/s BenchmarkDivWVW/1-4 2616468 45.91 ns/op 1393.98 MB/s BenchmarkDivWVW/2-4 1242979 96.75 ns/op 1322.99 MB/s BenchmarkDivWVW/3-4 944445 126.5 ns/op 1517.25 MB/s BenchmarkDivWVW/4-4 818206 146.0 ns/op 1752.94 MB/s BenchmarkDivWVW/5-4 788817 153.8 ns/op 2081.10 MB/s BenchmarkDivWVW/10-4 401156 283.8 ns/op 2255.04 MB/s BenchmarkDivWVW/100-4 55033 2188 ns/op 2925.56 MB/s BenchmarkDivWVW/1000-4 5566 21360 ns/op 2996.28 MB/s BenchmarkNonZeroShifts/1/shrVU-4 11460952 10.47 ns/op BenchmarkNonZeroShifts/1/shlVU-4 11660107 10.13 ns/op BenchmarkNonZeroShifts/2/shrVU-4 10450112 11.37 ns/op BenchmarkNonZeroShifts/2/shlVU-4 10425962 11.21 ns/op BenchmarkNonZeroShifts/3/shrVU-4 9650488 12.44 ns/op BenchmarkNonZeroShifts/3/shlVU-4 9932360 12.04 ns/op BenchmarkNonZeroShifts/4/shrVU-4 8890218 13.41 ns/op BenchmarkNonZeroShifts/4/shlVU-4 9234500 12.76 ns/op BenchmarkNonZeroShifts/5/shrVU-4 8330641 14.49 ns/op BenchmarkNonZeroShifts/5/shlVU-4 8903972 13.34 ns/op BenchmarkNonZeroShifts/10/shrVU-4 6370851 19.20 ns/op BenchmarkNonZeroShifts/10/shlVU-4 6983611 17.44 ns/op BenchmarkNonZeroShifts/100/shrVU-4 1000000 113.4 ns/op BenchmarkNonZeroShifts/100/shlVU-4 1256554 96.05 ns/op BenchmarkNonZeroShifts/1000/shrVU-4 128217 937.5 ns/op BenchmarkNonZeroShifts/1000/shlVU-4 153994 786.0 ns/op BenchmarkDecimalConversion-4 212 550519 ns/op BenchmarkFloatString/100-4 10000 10434 ns/op 392 B/op 8 allocs/op BenchmarkFloatString/1000-4 219 544767 ns/op 2910 B/op 10 allocs/op BenchmarkFloatString/10000-4 2 50331783 ns/op 60204 B/op 43 allocs/op BenchmarkFloatString/100000-4 1 4955725129 ns/op 839816 B/op 495 allocs/op BenchmarkFloatAdd/10-4 171992 694.1 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100-4 167103 702.0 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/1000-4 153842 769.9 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/10000-4 85836 1388 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100000-4 17094 6938 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10-4 224485 529.8 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100-4 230847 524.3 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/1000-4 222674 532.1 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10000-4 152000 763.8 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100000-4 44938 2641 ns/op 0 B/op 0 allocs/op BenchmarkParseFloatSmallExp-4 1995 58566 ns/op BenchmarkParseFloatLargeExp-4 444 267669 ns/op BenchmarkGCD10x10/WithoutXY-4 194322 616.0 ns/op BenchmarkGCD10x10/WithXY-4 58442 1978 ns/op BenchmarkGCD10x100/WithoutXY-4 97071 1169 ns/op BenchmarkGCD10x100/WithXY-4 17014 6998 ns/op BenchmarkGCD10x1000/WithoutXY-4 61616 1824 ns/op BenchmarkGCD10x1000/WithXY-4 13968 8822 ns/op BenchmarkGCD100x100/WithoutXY-4 23848 4788 ns/op BenchmarkGCD100x100/WithXY-4 9691 11280 ns/op BenchmarkGCD100x1000/WithoutXY-4 10000 10182 ns/op BenchmarkGCD100x1000/WithXY-4 5277 19530 ns/op BenchmarkGCD1000x1000/WithoutXY-4 2167 54229 ns/op BenchmarkGCD1000x1000/WithXY-4 1170 96443 ns/op BenchmarkHilbert-4 24 5027840 ns/op BenchmarkBinomial-4 14569 8209 ns/op BenchmarkQuoRem-4 20545 6196 ns/op BenchmarkExp-4 14 7545300 ns/op BenchmarkExpMont/Odd-4 126 940053 ns/op 2588 B/op 21 allocs/op BenchmarkExpMont/Even1-4 123 935485 ns/op 3367 B/op 38 allocs/op BenchmarkExpMont/Even2-4 120 963418 ns/op 3846 B/op 53 allocs/op BenchmarkExpMont/Even3-4 122 975290 ns/op 3866 B/op 53 allocs/op BenchmarkExpMont/Even4-4 120 974553 ns/op 3834 B/op 53 allocs/op BenchmarkExpMont/Even8-4 122 972792 ns/op 3866 B/op 54 allocs/op BenchmarkExpMont/Even32-4 123 964743 ns/op 3832 B/op 53 allocs/op BenchmarkExpMont/Even64-4 147 798234 ns/op 3628 B/op 53 allocs/op BenchmarkExpMont/Even96-4 139 851147 ns/op 3772 B/op 51 allocs/op BenchmarkExpMont/Even128-4 163 735860 ns/op 3260 B/op 50 allocs/op BenchmarkExpMont/Even255-4 182 650564 ns/op 2971 B/op 48 allocs/op BenchmarkExpMont/SmallEven1-4 442 266069 ns/op 1312 B/op 34 allocs/op BenchmarkExpMont/SmallEven2-4 385 305588 ns/op 1731 B/op 46 allocs/op BenchmarkExpMont/SmallEven3-4 358 316520 ns/op 1742 B/op 47 allocs/op BenchmarkExpMont/SmallEven4-4 387 301813 ns/op 1729 B/op 47 allocs/op BenchmarkExp2-4 14 7736468 ns/op BenchmarkBitset-4 786493 145.5 ns/op BenchmarkBitsetNeg-4 417478 265.9 ns/op BenchmarkBitsetOrig-4 232132 478.9 ns/op BenchmarkBitsetNegOrig-4 149103 774.4 ns/op BenchmarkModSqrt225_Tonelli-4 100 1030418 ns/op BenchmarkModSqrt225_3Mod4-4 368 317578 ns/op BenchmarkModSqrt231_Tonelli-4 109 1070245 ns/op BenchmarkModSqrt231_5Mod8-4 312 372509 ns/op BenchmarkModInverse-4 12495 9829 ns/op BenchmarkSqrt-4 1520 76493 ns/op BenchmarkIntSqr/1-4 1438485 83.61 ns/op BenchmarkIntSqr/2-4 719998 159.9 ns/op BenchmarkIntSqr/3-4 622766 179.8 ns/op BenchmarkIntSqr/5-4 428964 271.9 ns/op BenchmarkIntSqr/8-4 321031 373.5 ns/op BenchmarkIntSqr/10-4 258289 466.8 ns/op BenchmarkIntSqr/20-4 46711 2614 ns/op BenchmarkIntSqr/30-4 35368 3510 ns/op BenchmarkIntSqr/50-4 21422 5528 ns/op BenchmarkIntSqr/80-4 12819 8848 ns/op BenchmarkIntSqr/100-4 10026 11991 ns/op BenchmarkIntSqr/200-4 3664 31244 ns/op BenchmarkIntSqr/300-4 1644 73025 ns/op BenchmarkIntSqr/500-4 712 157707 ns/op BenchmarkIntSqr/800-4 283 402026 ns/op BenchmarkIntSqr/1000-4 223 529800 ns/op BenchmarkDiv/20/10-4 418509 271.9 ns/op BenchmarkDiv/40/20-4 429519 272.2 ns/op BenchmarkDiv/100/50-4 371257 324.5 ns/op BenchmarkDiv/200/100-4 49225 2572 ns/op BenchmarkDiv/400/200-4 44257 2642 ns/op BenchmarkDiv/1000/500-4 37371 3280 ns/op BenchmarkDiv/2000/1000-4 28576 4381 ns/op BenchmarkDiv/20000/10000-4 1014 115279 ns/op BenchmarkDiv/200000/100000-4 24 4729819 ns/op BenchmarkDiv/2000000/1000000-4 1 128406412 ns/op BenchmarkDiv/20000000/10000000-4 1 3715196055 ns/op BenchmarkMul-4 5 23359706 ns/op BenchmarkNatMul/10-4 179691 668.7 ns/op BenchmarkNatMul/100-4 5358 21728 ns/op BenchmarkNatMul/1000-4 171 674551 ns/op BenchmarkZeroShifts/Shl-4 16290 7051 ns/op BenchmarkZeroShifts/ShlSame-4 5258755 23.20 ns/op BenchmarkZeroShifts/Shr-4 16350 7024 ns/op BenchmarkZeroShifts/ShrSame-4 5352771 22.08 ns/op BenchmarkExp3Power/0x10-4 174069 647.3 ns/op BenchmarkExp3Power/0x40-4 163110 759.3 ns/op BenchmarkExp3Power/0x100-4 91502 1235 ns/op BenchmarkExp3Power/0x400-4 41270 2675 ns/op BenchmarkExp3Power/0x1000-4 9741 13014 ns/op BenchmarkExp3Power/0x4000-4 1736 63082 ns/op BenchmarkExp3Power/0x10000-4 201 570245 ns/op BenchmarkExp3Power/0x40000-4 18 6588803 ns/op BenchmarkExp3Power/0x100000-4 2 61856313 ns/op BenchmarkExp3Power/0x400000-4 1 574438400 ns/op BenchmarkFibo-4 3 39242217 ns/op BenchmarkNatSqr/1-4 936560 126.5 ns/op BenchmarkNatSqr/2-4 470594 229.4 ns/op BenchmarkNatSqr/3-4 380080 275.0 ns/op BenchmarkNatSqr/5-4 332778 390.1 ns/op BenchmarkNatSqr/8-4 200550 542.6 ns/op BenchmarkNatSqr/10-4 169454 665.5 ns/op BenchmarkNatSqr/20-4 41691 2702 ns/op BenchmarkNatSqr/30-4 31662 3746 ns/op BenchmarkNatSqr/50-4 19504 6001 ns/op BenchmarkNatSqr/80-4 10000 10042 ns/op BenchmarkNatSqr/100-4 9223 12902 ns/op BenchmarkNatSqr/200-4 3014 34367 ns/op BenchmarkNatSqr/300-4 1330 79723 ns/op BenchmarkNatSqr/500-4 691 156584 ns/op BenchmarkNatSqr/800-4 302 376986 ns/op BenchmarkNatSqr/1000-4 226 502470 ns/op BenchmarkNatSetBytes/8-4 666027 171.1 ns/op BenchmarkNatSetBytes/24-4 208736 571.1 ns/op BenchmarkNatSetBytes/128-4 46518 2510 ns/op BenchmarkNatSetBytes/7-4 747889 151.1 ns/op BenchmarkNatSetBytes/23-4 211933 574.3 ns/op BenchmarkNatSetBytes/127-4 45843 2535 ns/op BenchmarkScanPi-4 250 459266 ns/op BenchmarkStringPiParallel-4 598 175855 ns/op BenchmarkScan/10/Base2-4 41887 2888 ns/op BenchmarkScan/100/Base2-4 4683 25281 ns/op BenchmarkScan/1000/Base2-4 482 244280 ns/op BenchmarkScan/10/Base8-4 98526 1183 ns/op BenchmarkScan/100/Base8-4 13358 8711 ns/op BenchmarkScan/1000/Base8-4 1377 86314 ns/op BenchmarkScan/10/Base10-4 105769 1091 ns/op BenchmarkScan/100/Base10-4 14692 8110 ns/op BenchmarkScan/1000/Base10-4 1496 78571 ns/op BenchmarkScan/10/Base16-4 113978 1028 ns/op BenchmarkScan/100/Base16-4 16527 7256 ns/op BenchmarkScan/1000/Base16-4 1653 69692 ns/op BenchmarkString/10/Base2-4 172578 701.1 ns/op BenchmarkString/100/Base2-4 23275 5062 ns/op BenchmarkString/1000/Base2-4 2320 47538 ns/op BenchmarkString/10/Base8-4 342666 348.1 ns/op BenchmarkString/100/Base8-4 62106 1890 ns/op BenchmarkString/1000/Base8-4 6963 16729 ns/op BenchmarkString/10/Base10-4 199192 584.7 ns/op BenchmarkString/100/Base10-4 37842 3113 ns/op BenchmarkString/1000/Base10-4 4315 25248 ns/op BenchmarkString/10/Base16-4 367300 315.9 ns/op BenchmarkString/100/Base16-4 80404 1423 ns/op BenchmarkString/1000/Base16-4 9834 11990 ns/op BenchmarkLeafSize/0-4 40 2761360 ns/op BenchmarkLeafSize/1-4 386 294790 ns/op BenchmarkLeafSize/2-4 375 294120 ns/op BenchmarkLeafSize/3-4 294 398109 ns/op BenchmarkLeafSize/4-4 398 300877 ns/op BenchmarkLeafSize/5-4 260 445193 ns/op BenchmarkLeafSize/6-4 284 396497 ns/op BenchmarkLeafSize/7-4 307 363872 ns/op BenchmarkLeafSize/8-4 400 280144 ns/op BenchmarkLeafSize/9-4 212 526553 ns/op BenchmarkLeafSize/10-4 260 447891 ns/op BenchmarkLeafSize/11-4 268 422892 ns/op BenchmarkLeafSize/12-4 291 385465 ns/op BenchmarkLeafSize/13-4 268 426253 ns/op BenchmarkLeafSize/14-4 313 368568 ns/op BenchmarkLeafSize/15-4 342 335484 ns/op BenchmarkLeafSize/16-4 402 278556 ns/op BenchmarkLeafSize/32-4 404 284413 ns/op BenchmarkLeafSize/64-4 374 301995 ns/op BenchmarkProbablyPrime/n=0-4 9 11850702 ns/op BenchmarkProbablyPrime/n=1-4 8 13325487 ns/op BenchmarkProbablyPrime/n=5-4 6 19267576 ns/op BenchmarkProbablyPrime/n=10-4 4 26916906 ns/op BenchmarkProbablyPrime/n=20-4 3 41921424 ns/op BenchmarkProbablyPrime/Lucas-4 10 10324724 ns/op BenchmarkProbablyPrime/MillerRabinBase2-4 73 1528460 ns/op BenchmarkRatCmp-4 209982 536.7 ns/op BenchmarkFloatSqrt/64-4 22426 5318 ns/op 208 B/op 5 allocs/op BenchmarkFloatSqrt/128-4 13899 8296 ns/op 256 B/op 5 allocs/op BenchmarkFloatSqrt/256-4 9542 12041 ns/op 352 B/op 5 allocs/op BenchmarkFloatSqrt/1000-4 5024 23697 ns/op 1312 B/op 6 allocs/op BenchmarkFloatSqrt/10000-4 806 147501 ns/op 18273 B/op 10 allocs/op BenchmarkFloatSqrt/100000-4 61 1932288 ns/op 175649 B/op 20 allocs/op BenchmarkFloatSqrt/1000000-4 1 148468121 ns/op 3757288 B/op 606 allocs/op PASS ok math/big 51.441s ##### 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 11519036 9.887 ns/op BenchmarkLeadingZeros8-4 10266880 12.05 ns/op BenchmarkLeadingZeros16-4 11898483 10.85 ns/op BenchmarkLeadingZeros32-4 11777086 9.289 ns/op BenchmarkLeadingZeros64-4 11251539 9.203 ns/op BenchmarkTrailingZeros-4 13069963 9.165 ns/op BenchmarkTrailingZeros8-4 11083742 10.82 ns/op BenchmarkTrailingZeros16-4 11940385 9.975 ns/op BenchmarkTrailingZeros32-4 11300086 10.08 ns/op BenchmarkTrailingZeros64-4 12905394 9.308 ns/op BenchmarkOnesCount-4 12291307 10.14 ns/op BenchmarkOnesCount8-4 10248118 10.44 ns/op BenchmarkOnesCount16-4 12954406 9.207 ns/op BenchmarkOnesCount32-4 11591797 9.284 ns/op BenchmarkOnesCount64-4 12071065 9.965 ns/op BenchmarkRotateLeft-4 12371632 10.15 ns/op BenchmarkRotateLeft8-4 13201977 9.176 ns/op BenchmarkRotateLeft16-4 10741766 11.62 ns/op BenchmarkRotateLeft32-4 12949987 9.131 ns/op BenchmarkRotateLeft64-4 12931080 9.166 ns/op BenchmarkReverse-4 20973784 5.323 ns/op BenchmarkReverse8-4 23636242 4.745 ns/op BenchmarkReverse16-4 23442037 4.695 ns/op BenchmarkReverse32-4 22543428 4.986 ns/op BenchmarkReverse64-4 18078992 6.280 ns/op BenchmarkReverseBytes-4 23400802 4.683 ns/op BenchmarkReverseBytes16-4 23901582 4.702 ns/op BenchmarkReverseBytes32-4 23658097 4.707 ns/op BenchmarkReverseBytes64-4 23884974 4.699 ns/op BenchmarkAdd-4 13037558 10.08 ns/op BenchmarkAdd32-4 12637356 10.93 ns/op BenchmarkAdd64-4 13003116 9.142 ns/op BenchmarkAdd64multiple-4 24021960 5.011 ns/op BenchmarkSub-4 12957861 9.174 ns/op BenchmarkSub32-4 11856279 12.10 ns/op BenchmarkSub64-4 13010122 10.10 ns/op BenchmarkSub64multiple-4 20167124 5.924 ns/op BenchmarkMul-4 11920458 10.98 ns/op BenchmarkMul32-4 11639244 10.16 ns/op BenchmarkMul64-4 11837439 9.164 ns/op BenchmarkDiv-4 11758114 9.173 ns/op BenchmarkDiv32-4 12721651 10.11 ns/op BenchmarkDiv64-4 12528434 9.223 ns/op PASS ok math/bits 6.681s goos: linux goarch: amd64 pkg: math/cmplx cpu: AMD EPYC 7B12 BenchmarkAbs-4 13540430 8.764 ns/op BenchmarkAcos-4 665804 160.5 ns/op BenchmarkAcosh-4 668858 173.3 ns/op BenchmarkAsin-4 745160 159.5 ns/op BenchmarkAsinh-4 718374 165.8 ns/op BenchmarkAtan-4 1218474 98.69 ns/op BenchmarkAtanh-4 1217959 98.63 ns/op BenchmarkConj-4 18964149 5.670 ns/op BenchmarkCos-4 726136 154.8 ns/op BenchmarkCosh-4 784734 146.2 ns/op BenchmarkExp-4 990009 116.3 ns/op BenchmarkLog-4 1516531 79.53 ns/op BenchmarkLog10-4 1490911 79.78 ns/op BenchmarkPhase-4 3303201 37.81 ns/op BenchmarkPolar-4 2376859 49.94 ns/op BenchmarkPow-4 287872 369.9 ns/op BenchmarkRect-4 1417143 84.69 ns/op BenchmarkSin-4 794596 146.8 ns/op BenchmarkSinh-4 817683 146.0 ns/op BenchmarkSqrt-4 1542436 77.66 ns/op BenchmarkTan-4 531890 224.9 ns/op BenchmarkTanh-4 548425 215.0 ns/op PASS ok math/cmplx 4.286s goos: linux goarch: amd64 pkg: math/rand cpu: AMD EPYC 7B12 BenchmarkInt63Threadsafe-4 1000000 102.1 ns/op BenchmarkInt63ThreadsafeParallel-4 1000000 105.2 ns/op BenchmarkInt63Unthreadsafe-4 1548196 80.74 ns/op BenchmarkIntn1000-4 1000000 103.6 ns/op BenchmarkInt63n1000-4 1247109 97.68 ns/op BenchmarkInt31n1000-4 1231748 91.39 ns/op BenchmarkFloat32-4 1305578 91.93 ns/op BenchmarkFloat64-4 1531693 78.50 ns/op BenchmarkPerm3-4 276709 440.1 ns/op BenchmarkPerm30-4 31153 3882 ns/op BenchmarkPerm30ViaShuffle-4 31722 3782 ns/op BenchmarkShuffleOverhead-4 21710 5426 ns/op BenchmarkRead3-4 1000000 102.5 ns/op BenchmarkRead64-4 101658 1177 ns/op BenchmarkRead1000-4 5991 17486 ns/op BenchmarkConcurrent-4 257157 535.2 ns/op PASS ok math/rand 3.506s goos: linux goarch: amd64 pkg: mime cpu: AMD EPYC 7B12 BenchmarkQEncodeWord-4 62299 1959 ns/op BenchmarkQDecodeWord-4 145194 797.4 ns/op BenchmarkQDecodeHeader-4 144847 841.4 ns/op BenchmarkTypeByExtension/.html-4 495463 203.1 ns/op BenchmarkTypeByExtension/.HTML-4 374026 271.8 ns/op BenchmarkTypeByExtension/.unused-4 527841 220.8 ns/op BenchmarkExtensionsByType/text/html-4 235473 527.1 ns/op BenchmarkExtensionsByType/text/html;_charset=utf-8-4 114336 944.0 ns/op BenchmarkExtensionsByType/application/octet-stream-4 148180 722.9 ns/op PASS ok mime 2.308s goos: linux goarch: amd64 pkg: mime/multipart cpu: AMD EPYC 7B12 BenchmarkReadForm/fields/maxMemory=0-4 886 121367 ns/op 47619 B/op 187 allocs/op BenchmarkReadForm/fields/maxMemory=1048576-4 1027 122501 ns/op 48539 B/op 187 allocs/op BenchmarkReadForm/files/maxMemory=0-4 406 298733 ns/op 104188 B/op 271 allocs/op BenchmarkReadForm/files/maxMemory=1048576-4 727 158315 ns/op 49348 B/op 207 allocs/op PASS ok mime/multipart 1.566s goos: linux goarch: amd64 pkg: mime/quotedprintable cpu: AMD EPYC 7B12 BenchmarkWriter-4 1407 82580 ns/op PASS ok mime/quotedprintable 1.136s ##### 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 66 2114736 ns/op 8527 B/op 91 allocs/op BenchmarkGoLookupIPNoSuchHost-4 14 7191837 ns/op 19395 B/op 160 allocs/op BenchmarkGoLookupIPWithBrokenNameServer-4 1 5003531073 ns/op 159856 B/op 235 allocs/op BenchmarkDNSName-4 108464 985.1 ns/op BenchmarkInterfaces-4 1228 84675 ns/op 16813 B/op 42 allocs/op BenchmarkInterfaceByIndex-4 1525 65621 ns/op 12332 B/op 25 allocs/op BenchmarkInterfaceByName-4 1296 83458 ns/op 16974 B/op 43 allocs/op BenchmarkInterfaceAddrs-4 841 126871 ns/op 22654 B/op 102 allocs/op BenchmarkInterfacesAndAddrs-4 2736 41246 ns/op 3884 B/op 33 allocs/op BenchmarkInterfacesAndMulticastAddrs-4 504 231413 ns/op 137577 B/op 51 allocs/op BenchmarkParseIP-4 5641 17889 ns/op BenchmarkParseIPValidIPv4-4 330256 352.0 ns/op BenchmarkParseIPValidIPv6-4 165034 725.9 ns/op BenchmarkIPString/IPv4-4 111963 1060 ns/op 32 B/op 2 allocs/op BenchmarkIPString/IPv6-4 9979 11767 ns/op 216 B/op 11 allocs/op BenchmarkIPMaskString-4 43513 2691 ns/op BenchmarkIPEqual/IPv4-4 1092804 110.3 ns/op BenchmarkIPEqual/IPv6-4 1095674 110.7 ns/op BenchmarkSendFile/1024-4 1 1211217618 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/2048-4 1 1206204695 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/4096-4 1 1206560936 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/8192-4 1 1206442272 ns/op 0.01 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/16384-4 1 1206511706 ns/op 0.01 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/32768-4 1 1016502567 ns/op 0.03 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/65536-4 1 1016947747 ns/op 0.06 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/131072-4 1 1017404487 ns/op 0.13 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/262144-4 1 1016880458 ns/op 0.26 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/524288-4 1 1018051439 ns/op 0.51 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/1048576-4 1 1021185655 ns/op 1.03 MB/s 520 B/op 11 allocs/op BenchmarkSplice/tcp-to-tcp/1024-4 1 1016463660 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/2048-4 1 1016374246 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/4096-4 1 1016679009 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/8192-4 1 1016394596 ns/op 0.01 MB/s BenchmarkSplice/tcp-to-tcp/16384-4 1 1016633812 ns/op 0.02 MB/s BenchmarkSplice/tcp-to-tcp/32768-4 1 1016776955 ns/op 0.03 MB/s BenchmarkSplice/tcp-to-tcp/65536-4 1 1016149554 ns/op 0.06 MB/s BenchmarkSplice/tcp-to-tcp/131072-4 1 1016769394 ns/op 0.13 MB/s BenchmarkSplice/tcp-to-tcp/262144-4 1 1017541812 ns/op 0.26 MB/s BenchmarkSplice/tcp-to-tcp/524288-4 1 1018313748 ns/op 0.51 MB/s BenchmarkSplice/tcp-to-tcp/1048576-4 1 1020306075 ns/op 1.03 MB/s BenchmarkSplice/unix-to-tcp/1024-4 1 1016205327 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/2048-4 1 1016323048 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/4096-4 1 1016128329 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/8192-4 1 1016330514 ns/op 0.01 MB/s BenchmarkSplice/unix-to-tcp/16384-4 1 1016595109 ns/op 0.02 MB/s BenchmarkSplice/unix-to-tcp/32768-4 1 1016279600 ns/op 0.03 MB/s BenchmarkSplice/unix-to-tcp/65536-4 1 1016560945 ns/op 0.06 MB/s BenchmarkSplice/unix-to-tcp/131072-4 1 1017337178 ns/op 0.13 MB/s BenchmarkSplice/unix-to-tcp/262144-4 1 1018190067 ns/op 0.26 MB/s BenchmarkSplice/unix-to-tcp/524288-4 1 1017803420 ns/op 0.52 MB/s BenchmarkSplice/unix-to-tcp/1048576-4 1 1019781316 ns/op 1.03 MB/s BenchmarkSpliceFile/tcp-to-file/1024-4 1 1016425595 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/2048-4 1 1016917616 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/4096-4 1 1017100679 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/8192-4 1 1016658465 ns/op 0.01 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/16384-4 1 1016835564 ns/op 0.02 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/32768-4 1 1016945312 ns/op 0.03 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/65536-4 1 1017411285 ns/op 0.06 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/131072-4 1 1017204319 ns/op 0.13 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/262144-4 1 1017941558 ns/op 0.26 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/524288-4 1 1018367696 ns/op 0.51 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/1048576-4 1 1020383308 ns/op 1.03 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/1024-4 1 1016660836 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/2048-4 1 1016819050 ns/op 0.00 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/4096-4 1 1016316520 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/8192-4 1 1016138105 ns/op 0.01 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/16384-4 1 1016500883 ns/op 0.02 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/32768-4 1 1016495383 ns/op 0.03 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/65536-4 1 1016617766 ns/op 0.06 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/131072-4 1 1017405876 ns/op 0.13 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/262144-4 1 1017296363 ns/op 0.26 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/524288-4 1 1018058285 ns/op 0.51 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/1048576-4 1 1020596404 ns/op 1.03 MB/s 944 B/op 9 allocs/op BenchmarkTCP4OneShot-4 1809 56958 ns/op BenchmarkTCP4OneShotTimeout-4 2005 54560 ns/op BenchmarkTCP4Persistent-4 11361 10612 ns/op BenchmarkTCP4PersistentTimeout-4 11457 10148 ns/op BenchmarkTCP6OneShot-4 2371 51987 ns/op BenchmarkTCP6OneShotTimeout-4 2184 54943 ns/op BenchmarkTCP6Persistent-4 11559 9897 ns/op BenchmarkTCP6PersistentTimeout-4 11794 9766 ns/op BenchmarkTCP4ConcurrentReadWrite-4 21174 5453 ns/op BenchmarkTCP6ConcurrentReadWrite-4 21021 5178 ns/op BenchmarkSetReadDeadline-4 126721 931.9 ns/op BenchmarkReadWriteMsgUDPAddrPort-4 8701 12631 ns/op 0 B/op 0 allocs/op BenchmarkWriteToReadFromUDP-4 7887 17522 ns/op 16 B/op 1 allocs/op BenchmarkWriteToReadFromUDPAddrPort-4 9266 12100 ns/op 0 B/op 0 allocs/op PASS ok net 68.010s goos: linux goarch: amd64 pkg: net/http cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCookieString-4 28185 4079 ns/op 176 B/op 1 allocs/op BenchmarkReadSetCookies-4 10753 11028 ns/op 1168 B/op 21 allocs/op BenchmarkReadCookies-4 14149 8445 ns/op 1840 B/op 11 allocs/op BenchmarkHeaderWriteSubset-4 18085 6560 ns/op 46 B/op 0 allocs/op BenchmarkCopyValues-4 31249 3630 ns/op 736 B/op 11 allocs/op BenchmarkHexEscapeNonASCII-4 48506 2375 ns/op 192 B/op 2 allocs/op BenchmarkServerMatch-4 790033 131.9 ns/op BenchmarkReadRequestChrome-4 3393 32017 ns/op 19.08 MB/s 1476 B/op 14 allocs/op BenchmarkReadRequestCurl-4 9102 11304 ns/op 6.90 MB/s 924 B/op 9 allocs/op BenchmarkReadRequestApachebench-4 10652 11165 ns/op 7.34 MB/s 924 B/op 9 allocs/op BenchmarkReadRequestSiege-4 5967 16760 ns/op 9.01 MB/s 1019 B/op 11 allocs/op BenchmarkReadRequestWrk-4 16766 6805 ns/op 5.88 MB/s 860 B/op 7 allocs/op BenchmarkFileAndServer_1KB/h1-4 274 398654 ns/op 2.57 MB/s BenchmarkFileAndServer_1KB/https1-4 175 582143 ns/op 1.76 MB/s BenchmarkFileAndServer_1KB/h2-4 130 794000 ns/op 1.29 MB/s BenchmarkFileAndServer_16MB/h1-4 3 52237290 ns/op 321.17 MB/s BenchmarkFileAndServer_16MB/https1-4 1 139758542 ns/op 120.04 MB/s BenchmarkFileAndServer_16MB/h2-4 1 228863214 ns/op 73.31 MB/s BenchmarkFileAndServer_64MB/h1-4 1 204803920 ns/op 327.67 MB/s BenchmarkFileAndServer_64MB/https1-4 1 407563895 ns/op 164.66 MB/s BenchmarkFileAndServer_64MB/h2-4 1 949903956 ns/op 70.65 MB/s BenchmarkServeMux-4 260 472897 ns/op 17280 B/op 360 allocs/op BenchmarkServeMux_SkipServe-4 342 380353 ns/op 0 B/op 0 allocs/op BenchmarkClientServer/h1-4 320 362374 ns/op 5977 B/op 64 allocs/op BenchmarkClientServer/https1-4 238 493773 ns/op 6555 B/op 74 allocs/op BenchmarkClientServer/h2-4 152 675156 ns/op 9650 B/op 83 allocs/op BenchmarkClientServerParallel/4/h1-4 1083 121610 ns/op 10398 B/op 81 allocs/op BenchmarkClientServerParallel/4/https1-4 31 4040748 ns/op 90669 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:56320: read tcp 127.0.0.1:41867->127.0.0.1:56320: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:56356: write tcp 127.0.0.1:41867->127.0.0.1:56356: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:56328: write tcp 127.0.0.1:41867->127.0.0.1:56328: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:43984: read tcp 127.0.0.1:36673->127.0.0.1:43984: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:43928: write tcp 127.0.0.1:36673->127.0.0.1:43928: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:43952: write tcp 127.0.0.1:36673->127.0.0.1:43952: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:43980: write tcp 127.0.0.1:36673->127.0.0.1:43980: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:43968: write tcp 127.0.0.1:36673->127.0.0.1:43968: use of closed network connection BenchmarkClientServerParallel/4/h2-4 160 678848 ns/op 18354 B/op 192 allocs/op --- BENCH: BenchmarkClientServerParallel/4/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:60812: read tcp 127.0.0.1:42935->127.0.0.1:60812: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35078: read tcp 127.0.0.1:43947->127.0.0.1:35078: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35102: read tcp 127.0.0.1:43947->127.0.0.1:35102: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35062: read tcp 127.0.0.1:43947->127.0.0.1:35062: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35090: read tcp 127.0.0.1:43947->127.0.0.1:35090: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35084: write tcp 127.0.0.1:43947->127.0.0.1:35084: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35128: read tcp 127.0.0.1:43947->127.0.0.1:35128: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35116: read tcp 127.0.0.1:43947->127.0.0.1:35116: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35126: read tcp 127.0.0.1:43947->127.0.0.1:35126: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35160: read tcp 127.0.0.1:43947->127.0.0.1:35160: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h1-4 360 297133 ns/op 23379 B/op 119 allocs/op BenchmarkClientServerParallel/64/https1-4 21 4944105 ns/op 93427 B/op 1031 allocs/op --- BENCH: BenchmarkClientServerParallel/64/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35528: read tcp 127.0.0.1:44571->127.0.0.1:35528: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35514: read tcp 127.0.0.1:44571->127.0.0.1:35514: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35544: write tcp 127.0.0.1:44571->127.0.0.1:35544: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35510: write tcp 127.0.0.1:44571->127.0.0.1:35510: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35560: write tcp 127.0.0.1:44571->127.0.0.1:35560: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35556: write tcp 127.0.0.1:44571->127.0.0.1:35556: use of closed network connection BenchmarkClientServerParallel/64/h2-4 90 2371293 ns/op 55994 B/op 622 allocs/op --- BENCH: BenchmarkClientServerParallel/64/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:50370: read tcp 127.0.0.1:36931->127.0.0.1:50370: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:50372: write tcp 127.0.0.1:36931->127.0.0.1:50372: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:60130: read tcp 127.0.0.1:37327->127.0.0.1:60130: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:60226: read tcp 127.0.0.1:37327->127.0.0.1:60226: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:60166: read tcp 127.0.0.1:37327->127.0.0.1:60166: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:60180: read tcp 127.0.0.1:37327->127.0.0.1:60180: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:60186: read tcp 127.0.0.1:37327->127.0.0.1:60186: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:60200: read tcp 127.0.0.1:37327->127.0.0.1:60200: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:60212: read tcp 127.0.0.1:37327->127.0.0.1:60212: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:60236: read tcp 127.0.0.1:37327->127.0.0.1:60236: use of closed network connection ... [output truncated] BenchmarkServer-4 1 1033585245 ns/op 28584 B/op 145 allocs/op BenchmarkClient-4 265 429944 ns/op 3743 B/op 45 allocs/op BenchmarkServerFakeConnNoKeepAlive-4 656 186097 ns/op 7592 B/op 54 allocs/op BenchmarkServerFakeConnWithKeepAlive-4 1004 106694 ns/op 3030 B/op 24 allocs/op BenchmarkServerFakeConnWithKeepAliveLite-4 1513 80019 ns/op 1963 B/op 14 allocs/op BenchmarkServerHandlerTypeLen-4 1624 82412 ns/op 2737 B/op 21 allocs/op BenchmarkServerHandlerNoLen-4 1606 78978 ns/op 2716 B/op 19 allocs/op BenchmarkServerHandlerNoType-4 1389 82320 ns/op 2670 B/op 20 allocs/op BenchmarkServerHandlerNoHeader-4 1796 74513 ns/op 1916 B/op 14 allocs/op BenchmarkServerHijack-4 884 113195 ns/op 16723 B/op 50 allocs/op BenchmarkCloseNotifier/h1-4 367 337604 ns/op 5938 B/op 52 allocs/op BenchmarkResponseStatusLine-4 548166 216.2 ns/op 0 B/op 0 allocs/op PASS ok net/http 15.400s ##### 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 7468 14588 ns/op 34072 B/op 12 allocs/op PASS ok net/http/httputil 1.202s goos: linux goarch: amd64 pkg: net/netip cpu: AMD EPYC 7B12 BenchmarkIPNextPrev-4 122542 957.8 ns/op BenchmarkBinaryMarshalRoundTrip/ipv4-4 809312 130.6 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6-4 273565 418.6 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6+zone-4 100884 1235 ns/op BenchmarkStdIPv4-4 159663 744.8 ns/op 16 B/op 1 allocs/op BenchmarkIPv4-4 132385 886.3 ns/op 0 B/op 0 allocs/op BenchmarkIPv4_inline-4 132802 899.7 ns/op 0 B/op 0 allocs/op BenchmarkStdIPv6-4 105696 1126 ns/op 16 B/op 1 allocs/op BenchmarkIPv6-4 100741 1163 ns/op 0 B/op 0 allocs/op BenchmarkIPv4Contains-4 2386560 50.16 ns/op 0 B/op 0 allocs/op BenchmarkIPv6Contains-4 2149796 55.40 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v4-4 1652010 73.47 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6-4 352443 316.1 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_ellipsis-4 416138 282.5 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_v4-4 373041 300.7 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_zone-4 123171 985.2 ns/op 0 B/op 0 allocs/op BenchmarkStdParseIP/v4-4 420362 274.0 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6-4 222963 548.1 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_ellipsis-4 215155 525.6 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_v4-4 216248 543.8 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_zone-4 110056 1082 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v4-4 518293 228.1 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v6-4 183278 633.7 ns/op 48 B/op 1 allocs/op BenchmarkIPString/v6_ellipsis-4 247693 479.2 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_v4-4 363098 319.1 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_zone-4 225481 511.8 ns/op 24 B/op 1 allocs/op BenchmarkIPStringExpanded/v4-4 472048 248.9 ns/op 16 B/op 1 allocs/op BenchmarkIPStringExpanded/v6-4 214827 527.2 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_ellipsis-4 226078 527.9 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_v4-4 224822 526.3 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_zone-4 165794 672.0 ns/op 128 B/op 2 allocs/op BenchmarkIPMarshalText-4 651978 162.9 ns/op 16 B/op 1 allocs/op BenchmarkAddrPortString/v4-4 237045 521.6 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortString/v6-4 140107 855.0 ns/op 112 B/op 3 allocs/op BenchmarkAddrPortString/v6_ellipsis-4 176340 677.8 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_v4-4 244381 489.2 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_zone-4 165764 736.6 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortMarshalText/v4-4 403227 288.9 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6-4 175321 677.8 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_ellipsis-4 213636 553.5 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_v4-4 285915 411.2 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_zone-4 195433 599.2 ns/op 64 B/op 1 allocs/op BenchmarkPrefixMasking/IPv4_/32-4 1519119 75.20 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/17-4 1470547 78.42 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/0-4 1460044 81.51 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/128-4 1368166 87.12 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/65-4 1376029 87.25 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/0-4 1381868 86.77 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/128-4 1377753 87.68 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/65-4 1379170 82.40 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/0-4 1375281 88.23 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMarshalText-4 558039 212.2 ns/op 24 B/op 1 allocs/op BenchmarkParseAddrPort/v4-4 714732 140.8 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6-4 299169 400.2 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_ellipsis-4 307200 370.3 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_v4-4 291402 397.0 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_zone-4 110547 1092 ns/op 0 B/op 0 allocs/op BenchmarkAs16-4 669728 162.5 ns/op PASS ok net/netip 9.319s 2023/05/25 18:15:03 Test RPC server listening on 127.0.0.1:42073 2023/05/25 18:15:03 Test HTTP RPC server listening on 127.0.0.1:38011 goos: linux goarch: amd64 pkg: net/rpc cpu: AMD EPYC 7B12 BenchmarkEndToEnd-4 1582 71595 ns/op BenchmarkEndToEndHTTP-4 1422 72470 ns/op BenchmarkEndToEndAsync-4 3411 31661 ns/op BenchmarkEndToEndAsyncHTTP-4 3268 35616 ns/op PASS ok net/rpc 1.658s goos: linux goarch: amd64 pkg: net/textproto cpu: AMD EPYC 7B12 BenchmarkReadMIMEHeader/client_headers-4 5126 21401 ns/op BenchmarkReadMIMEHeader/server_headers-4 6705 15051 ns/op BenchmarkUncommon-4 36650 3110 ns/op 464 B/op 5 allocs/op PASS ok net/textproto 1.379s goos: linux goarch: amd64 pkg: net/url cpu: AMD EPYC 7B12 BenchmarkString-4 6306 16746 ns/op 1616 B/op 60 allocs/op BenchmarkResolvePath-4 140221 853.8 ns/op 32 B/op 2 allocs/op BenchmarkQueryEscape/#00-4 895762 140.7 ns/op 16 B/op 1 allocs/op BenchmarkQueryEscape/#01-4 133172 889.7 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#02-4 250368 474.9 ns/op 32 B/op 1 allocs/op BenchmarkQueryEscape/#03-4 117687 1012 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#04-4 21259 5738 ns/op 832 B/op 2 allocs/op BenchmarkPathEscape/#00-4 571194 208.1 ns/op 16 B/op 1 allocs/op BenchmarkPathEscape/#01-4 127881 917.4 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#02-4 244484 482.4 ns/op 32 B/op 1 allocs/op BenchmarkPathEscape/#03-4 117488 1015 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#04-4 22558 5246 ns/op 704 B/op 2 allocs/op BenchmarkQueryUnescape/#00-4 267375 437.3 ns/op 16 B/op 1 allocs/op BenchmarkQueryUnescape/#01-4 110071 1093 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#02-4 99688 1147 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#03-4 47400 2574 ns/op 64 B/op 1 allocs/op BenchmarkQueryUnescape/#04-4 8648 14026 ns/op 320 B/op 1 allocs/op BenchmarkPathUnescape/#00-4 266506 468.1 ns/op 16 B/op 1 allocs/op BenchmarkPathUnescape/#01-4 110221 1124 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#02-4 98236 1143 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#03-4 45480 2579 ns/op 64 B/op 1 allocs/op BenchmarkPathUnescape/#04-4 8574 13928 ns/op 320 B/op 1 allocs/op PASS ok net/url 4.084s goos: linux goarch: amd64 pkg: os cpu: AMD EPYC 7B12 BenchmarkExpand/noop-4 4536903 27.01 ns/op 0 B/op 0 allocs/op BenchmarkExpand/multiple-4 266116 434.5 ns/op 48 B/op 2 allocs/op BenchmarkReaddirname-4 1138 99069 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 399 294808 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 955 126919 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 105376 1120 ns/op BenchmarkStatFile-4 82352 1396 ns/op BenchmarkStatDir-4 87223 1354 ns/op BenchmarkLstatDot-4 105817 1118 ns/op BenchmarkLstatFile-4 76340 1408 ns/op BenchmarkLstatDir-4 86274 1329 ns/op PASS ok os 2.493s goos: linux goarch: amd64 pkg: os/exec cpu: AMD EPYC 7B12 BenchmarkExecHostname-4 291 462528 ns/op 6760 B/op 30 allocs/op PASS ok os/exec 1.191s goos: linux goarch: amd64 pkg: os/user cpu: AMD EPYC 7B12 BenchmarkCurrent-4 665956 177.5 ns/op PASS ok os/user 1.224s ##### 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 3443386 32.50 ns/op BenchmarkString-4 2235195 53.06 ns/op BenchmarkBytes-4 1874510 62.65 ns/op BenchmarkNamedBytes-4 950533 107.9 ns/op BenchmarkBytesArray-4 714168 162.1 ns/op BenchmarkSliceLen-4 2223092 54.45 ns/op BenchmarkMapLen-4 942277 127.6 ns/op BenchmarkStringLen-4 1818330 63.29 ns/op BenchmarkArrayLen-4 1343647 89.06 ns/op BenchmarkSliceCap-4 2517465 47.17 ns/op BenchmarkDeepEqual/int8-4 459502 256.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int8-4 88815 1331 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int16-4 398784 298.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int16-4 87752 1336 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int32-4 410725 291.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int32-4 90877 1352 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int64-4 394058 300.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int64-4 87121 1334 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int-4 390866 296.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int-4 87336 1321 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint8-4 458510 255.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8-4 119818 1001 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint16-4 409102 294.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint16-4 89128 1337 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint32-4 387771 305.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint32-4 85056 1344 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint64-4 390673 301.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint64-4 87628 1343 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint-4 394833 298.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint-4 89103 1608 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uintptr-4 391654 300.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uintptr-4 85647 1357 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float32-4 394078 306.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float32-4 86451 1369 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float64-4 382425 306.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float64-4 84909 1347 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex64-4 406834 295.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex64-4 87993 1340 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex128-4 398533 294.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex128-4 86587 1323 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/bool-4 459849 244.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]bool-4 90669 1296 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/string-4 380624 293.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]string-4 87836 1346 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8#01-4 119236 993.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][]uint8-4 59404 2045 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[6]uint8-4 46090 2635 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][6]uint8-4 32622 3642 ns/op 0 B/op 0 allocs/op BenchmarkIsZero/ArrayComparable-4 261386 435.9 ns/op BenchmarkIsZero/ArrayIncomparable-4 30789 3958 ns/op BenchmarkIsZero/StructComparable-4 549726 209.7 ns/op BenchmarkIsZero/StructIncomparable-4 137866 852.3 ns/op BenchmarkSetZero/Bool/Direct-4 4273677 28.13 ns/op BenchmarkSetZero/Bool/CachedZero-4 803332 136.8 ns/op BenchmarkSetZero/Bool/NewZero-4 561639 179.0 ns/op BenchmarkSetZero/Int/Direct-4 2503548 47.75 ns/op BenchmarkSetZero/Int/CachedZero-4 806301 138.2 ns/op BenchmarkSetZero/Int/NewZero-4 643750 180.4 ns/op BenchmarkSetZero/Uint/Direct-4 2489683 48.11 ns/op BenchmarkSetZero/Uint/CachedZero-4 797288 138.0 ns/op BenchmarkSetZero/Uint/NewZero-4 663280 176.9 ns/op BenchmarkSetZero/Float/Direct-4 2421608 47.86 ns/op BenchmarkSetZero/Float/CachedZero-4 840427 139.0 ns/op BenchmarkSetZero/Float/NewZero-4 633885 179.7 ns/op BenchmarkSetZero/Complex/Direct-4 2518453 47.76 ns/op BenchmarkSetZero/Complex/CachedZero-4 863709 136.2 ns/op BenchmarkSetZero/Complex/NewZero-4 627259 179.4 ns/op BenchmarkSetZero/Array/Direct-4 2118686 52.41 ns/op BenchmarkSetZero/Array/CachedZero-4 798598 138.0 ns/op BenchmarkSetZero/Array/NewZero-4 630978 177.7 ns/op BenchmarkSetZero/Chan/Direct-4 2482300 48.15 ns/op BenchmarkSetZero/Chan/CachedZero-4 813453 146.3 ns/op BenchmarkSetZero/Chan/NewZero-4 624956 182.6 ns/op BenchmarkSetZero/Func/Direct-4 2466662 47.82 ns/op BenchmarkSetZero/Func/CachedZero-4 769770 145.9 ns/op BenchmarkSetZero/Func/NewZero-4 582066 184.9 ns/op BenchmarkSetZero/Interface/Direct-4 2261076 54.26 ns/op BenchmarkSetZero/Interface/CachedZero-4 833019 135.5 ns/op BenchmarkSetZero/Interface/NewZero-4 669566 177.4 ns/op BenchmarkSetZero/Map/Direct-4 2499932 48.23 ns/op BenchmarkSetZero/Map/CachedZero-4 817854 146.2 ns/op BenchmarkSetZero/Map/NewZero-4 619999 200.6 ns/op BenchmarkSetZero/Pointer/Direct-4 2242111 48.26 ns/op BenchmarkSetZero/Pointer/CachedZero-4 796380 146.7 ns/op BenchmarkSetZero/Pointer/NewZero-4 604908 185.3 ns/op BenchmarkSetZero/Slice/Direct-4 2182627 55.00 ns/op BenchmarkSetZero/Slice/CachedZero-4 829141 138.1 ns/op BenchmarkSetZero/Slice/NewZero-4 644768 185.0 ns/op BenchmarkSetZero/String/Direct-4 2430720 48.90 ns/op BenchmarkSetZero/String/CachedZero-4 837520 135.7 ns/op BenchmarkSetZero/String/NewZero-4 642898 181.6 ns/op BenchmarkSetZero/Struct/Direct-4 2234618 55.26 ns/op BenchmarkSetZero/Struct/CachedZero-4 859798 138.0 ns/op BenchmarkSetZero/Struct/NewZero-4 625639 181.8 ns/op BenchmarkSelect/1-4 142388 826.0 ns/op 80 B/op 5 allocs/op BenchmarkSelect/4-4 67455 1737 ns/op 208 B/op 8 allocs/op BenchmarkSelect/8-4 32826 3344 ns/op 672 B/op 13 allocs/op BenchmarkCall-4 191924 543.6 ns/op 0 B/op 0 allocs/op BenchmarkCallMethod-4 153218 773.3 ns/op 0 B/op 0 allocs/op BenchmarkCallArgCopy/size=128-4 126894 968.9 ns/op 132.10 MB/s BenchmarkCallArgCopy/size=256-4 97125 1087 ns/op 235.57 MB/s BenchmarkCallArgCopy/size=1024-4 68448 1558 ns/op 657.33 MB/s BenchmarkCallArgCopy/size=4096-4 39012 3475 ns/op 1178.69 MB/s BenchmarkCallArgCopy/size=65536-4 2386 47180 ns/op 1389.06 MB/s BenchmarkFieldByName1-4 1000000 101.8 ns/op BenchmarkFieldByName2-4 85196 1503 ns/op BenchmarkFieldByName3-4 10204 10505 ns/op BenchmarkInterfaceBig-4 4039752 33.08 ns/op BenchmarkInterfaceSmall-4 3956440 33.82 ns/op BenchmarkNew-4 1771764 58.27 ns/op BenchmarkMap/StringKeys/MapIndex-4 2296 50953 ns/op 0 B/op 0 allocs/op BenchmarkMap/StringKeys/SetMapIndex-4 1908 61535 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/MapIndex-4 2281 52780 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/SetMapIndex-4 1840 62393 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/MapIndex-4 2341 50538 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/SetMapIndex-4 1930 61933 ns/op 0 B/op 0 allocs/op BenchmarkMapIterNext-4 204715 548.5 ns/op PASS ok reflect 17.604s goos: linux goarch: amd64 pkg: regexp cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFind-4 9856 10358 ns/op 9329 B/op 1 allocs/op BenchmarkFindAllNoMatches-4 14799 8052 ns/op 9159 B/op 1 allocs/op BenchmarkFindString-4 10000 10725 ns/op 9358 B/op 1 allocs/op BenchmarkFindSubmatch-4 10417 11417 ns/op 9221 B/op 2 allocs/op BenchmarkFindStringSubmatch-4 10250 11050 ns/op 9329 B/op 2 allocs/op BenchmarkLiteral-4 17098 7387 ns/op BenchmarkNotLiteral-4 3768 27946 ns/op BenchmarkMatchClass-4 3181 37437 ns/op BenchmarkMatchClass_InRange-4 3430 34641 ns/op BenchmarkReplaceAll-4 2532 48843 ns/op BenchmarkAnchoredLiteralShortNonMatch-4 17232 8564 ns/op BenchmarkAnchoredLiteralLongNonMatch-4 38382 3194 ns/op BenchmarkAnchoredShortMatch-4 13828 8377 ns/op BenchmarkAnchoredLongMatch-4 18919 6045 ns/op BenchmarkOnePassShortA-4 18525 6011 ns/op BenchmarkNotOnePassShortA-4 7759 16394 ns/op BenchmarkOnePassShortB-4 25676 4555 ns/op BenchmarkNotOnePassShortB-4 8534 12091 ns/op BenchmarkOnePassLongPrefix-4 80844 1509 ns/op BenchmarkOnePassLongNotPrefix-4 27357 4386 ns/op BenchmarkMatchParallelShared-4 21901 6633 ns/op BenchmarkMatchParallelCopied-4 22308 5299 ns/op BenchmarkQuoteMetaAll-4 142135 837.1 ns/op 16.72 MB/s BenchmarkQuoteMetaNone-4 249738 456.1 ns/op 57.01 MB/s BenchmarkCompile/Onepass-4 3649 28665 ns/op 4144 B/op 52 allocs/op BenchmarkCompile/Medium-4 1701 72702 ns/op 9704 B/op 112 allocs/op BenchmarkCompile/Hard-4 183 631167 ns/op 84760 B/op 424 allocs/op BenchmarkMatch/Easy0/16-4 3661946 32.78 ns/op 488.03 MB/s BenchmarkMatch/Easy0/32-4 16560 8094 ns/op 3.95 MB/s BenchmarkMatch/Easy0/1K-4 5408 20151 ns/op 50.82 MB/s BenchmarkMatch/Easy0i/16-4 3599160 34.29 ns/op 466.67 MB/s BenchmarkMatch/Easy0i/32-4 4615 22186 ns/op 1.44 MB/s BenchmarkMatch/Easy0i/1K-4 253 454916 ns/op 2.25 MB/s BenchmarkMatch/Easy1/16-4 3566727 33.53 ns/op 477.15 MB/s BenchmarkMatch/Easy1/32-4 16731 6983 ns/op 4.58 MB/s BenchmarkMatch/Easy1/1K-4 4526 25768 ns/op 39.74 MB/s BenchmarkMatch/Medium/16-4 3671130 32.89 ns/op 486.50 MB/s BenchmarkMatch/Medium/32-4 5062 20187 ns/op 1.59 MB/s BenchmarkMatch/Medium/1K-4 295 396114 ns/op 2.59 MB/s BenchmarkMatch/Hard/16-4 3728600 31.95 ns/op 500.82 MB/s BenchmarkMatch/Hard/32-4 3576 30737 ns/op 1.04 MB/s BenchmarkMatch/Hard/1K-4 168 702515 ns/op 1.46 MB/s BenchmarkMatch/Hard1/16-4 1430 81560 ns/op 0.20 MB/s BenchmarkMatch/Hard1/32-4 720 155918 ns/op 0.21 MB/s BenchmarkMatch/Hard1/1K-4 24 4648752 ns/op 0.22 MB/s BenchmarkMatch_onepass_regex/16-4 28615 4097 ns/op 3.91 MB/s 24 B/op 0 allocs/op BenchmarkMatch_onepass_regex/32-4 17061 7103 ns/op 4.51 MB/s 23 B/op 0 allocs/op BenchmarkMatch_onepass_regex/1K-4 649 181498 ns/op 5.64 MB/s 24 B/op 0 allocs/op PASS ok regexp 9.104s ##### 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 897175 131.2 ns/op BenchmarkIsWordChar-4 223970 521.9 ns/op PASS ok regexp/syntax 2.056s ##### 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 70472 1698 ns/op BenchmarkCallers/inlined-4 52722 2270 ns/op BenchmarkCallers/no-cache-4 10000 10143 ns/op BenchmarkFPCallers/cached-4 2867632 41.92 ns/op BenchmarkMakeChan/Byte-4 1160481 103.0 ns/op BenchmarkMakeChan/Int-4 1015405 141.8 ns/op BenchmarkMakeChan/Ptr-4 479698 219.2 ns/op BenchmarkMakeChan/Struct/0-4 1155984 99.39 ns/op BenchmarkMakeChan/Struct/32-4 587529 222.9 ns/op BenchmarkMakeChan/Struct/40-4 469688 366.9 ns/op BenchmarkChanNonblocking-4 9060631 11.35 ns/op BenchmarkSelectUncontended-4 1063947 128.5 ns/op BenchmarkSelectSyncContended-4 30226 3899 ns/op BenchmarkSelectAsyncContended-4 106436 1122 ns/op BenchmarkSelectNonblock-4 6364934 19.98 ns/op BenchmarkChanUncontended-4 12104 9950 ns/op BenchmarkChanContended-4 1281 93853 ns/op BenchmarkChanSync-4 170593 702.5 ns/op BenchmarkChanSyncWork-4 10000 35878 ns/op BenchmarkChanProdCons0-4 90559 1516 ns/op BenchmarkChanProdCons10-4 104317 1207 ns/op BenchmarkChanProdCons100-4 118011 1053 ns/op BenchmarkChanProdConsWork0-4 76336 1600 ns/op BenchmarkChanProdConsWork10-4 86994 1487 ns/op BenchmarkChanProdConsWork100-4 83922 1329 ns/op BenchmarkSelectProdCons-4 65274 1872 ns/op BenchmarkReceiveDataFromClosedChan-4 660810 183.8 ns/op BenchmarkChanCreation-4 212133 516.9 ns/op BenchmarkChanSem-4 129118 895.5 ns/op BenchmarkChanPopular-4 105 1186136 ns/op BenchmarkChanClosed-4 485221 235.0 ns/op BenchmarkCallClosure-4 6441902 18.60 ns/op BenchmarkCallClosure1-4 6892813 17.47 ns/op BenchmarkCallClosure2-4 1270722 84.48 ns/op BenchmarkCallClosure3-4 1481481 79.05 ns/op BenchmarkCallClosure4-4 1385062 85.61 ns/op BenchmarkComplex128DivNormal-4 9946915 11.26 ns/op BenchmarkComplex128DivNisNaN-4 7550845 14.72 ns/op BenchmarkComplex128DivDisNaN-4 7425273 15.09 ns/op BenchmarkComplex128DivNisInf-4 9708193 11.91 ns/op BenchmarkComplex128DivDisInf-4 5827752 19.97 ns/op BenchmarkSetTypePtr-4 44203388 2.647 ns/op 3022.43 MB/s BenchmarkSetTypePtr8-4 9517094 12.52 ns/op 5111.83 MB/s BenchmarkSetTypePtr16-4 9497910 12.56 ns/op 10193.60 MB/s BenchmarkSetTypePtr32-4 9533665 12.52 ns/op 20452.81 MB/s BenchmarkSetTypePtr64-4 9384532 12.56 ns/op 40760.68 MB/s BenchmarkSetTypePtr126-4 5681877 21.11 ns/op 47757.14 MB/s BenchmarkSetTypePtr128-4 5909673 20.52 ns/op 49900.05 MB/s BenchmarkSetTypePtrSlice-4 708393 166.3 ns/op 49261.60 MB/s BenchmarkSetTypeNode1-4 9614444 12.49 ns/op 1921.86 MB/s BenchmarkSetTypeNode1Slice-4 3025225 40.93 ns/op 18764.94 MB/s BenchmarkSetTypeNode8-4 9575846 12.56 ns/op 6367.70 MB/s BenchmarkSetTypeNode8Slice-4 1528248 78.31 ns/op 32690.31 MB/s BenchmarkSetTypeNode64-4 5688115 21.23 ns/op 24870.13 MB/s BenchmarkSetTypeNode64Slice-4 226956 526.7 ns/op 32076.35 MB/s BenchmarkSetTypeNode64Dead-4 7514583 15.85 ns/op 33316.45 MB/s BenchmarkSetTypeNode64DeadSlice-4 254880 465.8 ns/op 36275.40 MB/s BenchmarkSetTypeNode124-4 5584870 21.32 ns/op 47288.25 MB/s BenchmarkSetTypeNode124Slice-4 178244 666.6 ns/op 48389.67 MB/s BenchmarkSetTypeNode126-4 5809232 20.68 ns/op 49525.88 MB/s BenchmarkSetTypeNode126Slice-4 178113 691.9 ns/op 47358.11 MB/s BenchmarkSetTypeNode128-4 4000369 29.94 ns/op 34731.74 MB/s BenchmarkSetTypeNode128Slice-4 141447 837.4 ns/op 39743.76 MB/s BenchmarkSetTypeNode130-4 4041157 29.66 ns/op 35607.35 MB/s BenchmarkSetTypeNode130Slice-4 140722 850.0 ns/op 39753.17 MB/s BenchmarkSetTypeNode1024-4 753720 156.4 ns/op 52470.39 MB/s BenchmarkSetTypeNode1024Slice-4 24495 4919 ns/op 53401.10 MB/s BenchmarkAllocation-4 3433 37640 ns/op BenchmarkReadMemStats-4 5779 20958 ns/op BenchmarkReadMemStatsLatency-4 1 55520 p50-ns 55520 p90-ns 55520 p99-ns BenchmarkWriteBarrier-4 2965202 41.83 ns/op BenchmarkBulkWriteBarrier-4 6200992 19.84 ns/op BenchmarkScanStackNoLocals-4 3 49183203 ns/op BenchmarkMSpanCountAlloc/bits=64-4 10986754 10.14 ns/op BenchmarkMSpanCountAlloc/bits=128-4 10377399 10.98 ns/op BenchmarkMSpanCountAlloc/bits=256-4 9741580 12.85 ns/op BenchmarkMSpanCountAlloc/bits=512-4 7039893 16.53 ns/op BenchmarkMSpanCountAlloc/bits=1024-4 4473249 25.45 ns/op BenchmarkHash5-4 6478436 18.50 ns/op 270.32 MB/s BenchmarkHash16-4 6383056 17.66 ns/op 906.05 MB/s BenchmarkHash64-4 6111249 18.59 ns/op 3442.47 MB/s BenchmarkHash1024-4 1931068 62.42 ns/op 16406.14 MB/s BenchmarkHash65536-4 38318 3113 ns/op 21055.37 MB/s BenchmarkAlignedLoad-4 8929166 13.50 ns/op BenchmarkUnalignedLoad-4 7852664 15.72 ns/op BenchmarkEqEfaceConcrete-4 6333727 18.88 ns/op BenchmarkEqIfaceConcrete-4 6909483 17.28 ns/op BenchmarkNeEfaceConcrete-4 6563714 18.37 ns/op BenchmarkNeIfaceConcrete-4 6711714 17.85 ns/op BenchmarkConvT2EByteSized/bool-4 6379698 19.35 ns/op BenchmarkConvT2EByteSized/uint8-4 6478401 18.57 ns/op BenchmarkConvT2ESmall-4 5657390 21.05 ns/op BenchmarkConvT2EUintptr-4 5536090 21.27 ns/op BenchmarkConvT2ELarge-4 1000000 104.5 ns/op BenchmarkConvT2ISmall-4 5777408 20.74 ns/op BenchmarkConvT2IUintptr-4 5482065 21.58 ns/op BenchmarkConvT2ILarge-4 1000000 104.4 ns/op BenchmarkConvI2E-4 5015949 23.90 ns/op BenchmarkConvI2I-4 4155188 30.57 ns/op BenchmarkAssertE2T-4 5150425 23.42 ns/op BenchmarkAssertE2TLarge-4 2358763 50.91 ns/op BenchmarkAssertE2I-4 4376114 27.34 ns/op BenchmarkAssertI2T-4 4896637 24.46 ns/op BenchmarkAssertI2I-4 4323243 28.50 ns/op BenchmarkAssertI2E-4 6004392 19.88 ns/op BenchmarkAssertE2E-4 6102621 19.27 ns/op BenchmarkAssertE2T2-4 3873986 31.02 ns/op BenchmarkAssertE2T2Blank-4 4792310 25.29 ns/op BenchmarkAssertI2E2-4 4576252 25.93 ns/op BenchmarkAssertI2E2Blank-4 5906883 20.02 ns/op BenchmarkAssertE2E2-4 4616788 26.08 ns/op BenchmarkAssertE2E2Blank-4 5906724 20.15 ns/op BenchmarkConvT2Ezero/zero/16-4 5641302 21.03 ns/op BenchmarkConvT2Ezero/zero/32-4 5757697 20.80 ns/op BenchmarkConvT2Ezero/zero/64-4 5533983 21.84 ns/op BenchmarkConvT2Ezero/zero/str-4 5727290 20.93 ns/op BenchmarkConvT2Ezero/zero/slice-4 5827190 20.58 ns/op BenchmarkConvT2Ezero/zero/big-4 264778 470.6 ns/op BenchmarkConvT2Ezero/nonzero/str-4 1397011 84.03 ns/op BenchmarkConvT2Ezero/nonzero/slice-4 1275102 91.98 ns/op BenchmarkConvT2Ezero/nonzero/big-4 269442 433.7 ns/op BenchmarkConvT2Ezero/smallint/16-4 5639930 21.13 ns/op BenchmarkConvT2Ezero/smallint/32-4 5633456 21.08 ns/op BenchmarkConvT2Ezero/smallint/64-4 5587082 21.40 ns/op BenchmarkConvT2Ezero/largeint/16-4 1644376 71.80 ns/op BenchmarkConvT2Ezero/largeint/32-4 1735640 66.26 ns/op BenchmarkConvT2Ezero/largeint/64-4 1588096 66.27 ns/op BenchmarkMalloc8-4 1498812 79.38 ns/op BenchmarkMalloc16-4 1412412 85.02 ns/op BenchmarkMallocTypeInfo8-4 1476097 81.39 ns/op BenchmarkMallocTypeInfo16-4 1217644 96.81 ns/op BenchmarkMallocLargeStruct-4 171453 660.8 ns/op BenchmarkGoroutineSelect-4 54 1895931 ns/op BenchmarkGoroutineBlocking-4 81 1742380 ns/op BenchmarkGoroutineForRange-4 80 2023259 ns/op BenchmarkGoroutineIdle-4 73 1427708 ns/op BenchmarkHashStringSpeed-4 2391872 48.46 ns/op BenchmarkHashBytesSpeed-4 1485826 81.11 ns/op BenchmarkHashInt32Speed-4 3265346 35.67 ns/op BenchmarkHashInt64Speed-4 3445105 35.13 ns/op BenchmarkHashStringArraySpeed-4 600364 195.1 ns/op BenchmarkMegMap-4 3173536 36.27 ns/op BenchmarkMegOneMap-4 4214967 29.27 ns/op BenchmarkMegEqMap-4 1441 70977 ns/op BenchmarkMegEmptyMap-4 4963950 24.26 ns/op BenchmarkSmallStrMap-4 3362463 33.72 ns/op BenchmarkMapStringKeysEight_16-4 3355785 34.73 ns/op BenchmarkMapStringKeysEight_32-4 3380150 35.02 ns/op BenchmarkMapStringKeysEight_64-4 3423194 35.68 ns/op BenchmarkMapStringKeysEight_1M-4 3349419 35.22 ns/op BenchmarkIntMap-4 4064312 29.74 ns/op BenchmarkMapFirst/1-4 4951190 24.40 ns/op BenchmarkMapFirst/2-4 4730368 24.82 ns/op BenchmarkMapFirst/3-4 4827662 24.31 ns/op BenchmarkMapFirst/4-4 4743802 24.89 ns/op BenchmarkMapFirst/5-4 4603354 24.85 ns/op BenchmarkMapFirst/6-4 4660065 25.62 ns/op BenchmarkMapFirst/7-4 4805036 25.28 ns/op BenchmarkMapFirst/8-4 4362620 24.84 ns/op BenchmarkMapFirst/9-4 4217202 28.62 ns/op BenchmarkMapFirst/10-4 3900114 29.65 ns/op BenchmarkMapFirst/11-4 4017007 31.23 ns/op BenchmarkMapFirst/12-4 4006857 28.96 ns/op BenchmarkMapFirst/13-4 4106322 29.20 ns/op BenchmarkMapFirst/14-4 4081597 29.25 ns/op BenchmarkMapFirst/15-4 3915415 30.18 ns/op BenchmarkMapFirst/16-4 3951913 29.89 ns/op BenchmarkMapMid/1-4 3944649 30.10 ns/op BenchmarkMapMid/2-4 3838815 30.59 ns/op BenchmarkMapMid/3-4 3945940 30.11 ns/op BenchmarkMapMid/4-4 3565528 32.99 ns/op BenchmarkMapMid/5-4 3908655 30.98 ns/op BenchmarkMapMid/6-4 3634527 32.01 ns/op BenchmarkMapMid/7-4 3819495 31.53 ns/op BenchmarkMapMid/8-4 3555616 32.79 ns/op BenchmarkMapMid/9-4 3595980 32.86 ns/op BenchmarkMapMid/10-4 3590104 34.14 ns/op BenchmarkMapMid/11-4 3372804 36.00 ns/op BenchmarkMapMid/12-4 3175352 36.12 ns/op BenchmarkMapMid/13-4 3328495 34.17 ns/op BenchmarkMapMid/14-4 3488547 36.65 ns/op BenchmarkMapMid/15-4 3332832 36.24 ns/op BenchmarkMapMid/16-4 3270446 33.67 ns/op BenchmarkMapLast/1-4 3963297 30.24 ns/op BenchmarkMapLast/2-4 3904219 30.75 ns/op BenchmarkMapLast/3-4 3928602 31.12 ns/op BenchmarkMapLast/4-4 3618859 32.99 ns/op BenchmarkMapLast/5-4 3833972 31.17 ns/op BenchmarkMapLast/6-4 3682352 33.17 ns/op BenchmarkMapLast/7-4 3560955 32.03 ns/op BenchmarkMapLast/8-4 3466149 35.09 ns/op BenchmarkMapLast/9-4 3600945 34.85 ns/op BenchmarkMapLast/10-4 3346167 35.76 ns/op BenchmarkMapLast/11-4 3233733 37.08 ns/op BenchmarkMapLast/12-4 3264686 39.95 ns/op BenchmarkMapLast/13-4 3551282 33.86 ns/op BenchmarkMapLast/14-4 3283190 35.25 ns/op BenchmarkMapLast/15-4 2993560 36.40 ns/op BenchmarkMapLast/16-4 2983263 36.94 ns/op BenchmarkMapCycle-4 2082488 61.50 ns/op BenchmarkRepeatedLookupStrMapKey32-4 3269803 35.66 ns/op BenchmarkRepeatedLookupStrMapKey1M-4 2296 50471 ns/op BenchmarkMakeMap/[Byte]Byte-4 544041 191.3 ns/op BenchmarkMakeMap/[Int]Int-4 379550 339.9 ns/op BenchmarkNewEmptyMap-4 12063165 8.546 ns/op 0 B/op 0 allocs/op BenchmarkNewSmallMap-4 1730208 71.75 ns/op 0 B/op 0 allocs/op BenchmarkMapIter-4 469099 244.2 ns/op BenchmarkMapIterEmpty-4 5613476 21.60 ns/op BenchmarkSameLengthMap-4 4780063 24.98 ns/op BenchmarkBigKeyMap-4 1721448 72.13 ns/op BenchmarkBigValMap-4 1471590 80.85 ns/op BenchmarkSmallKeyMap-4 2939276 39.94 ns/op BenchmarkMapPopulate/1-4 2330833 50.79 ns/op 0 B/op 0 allocs/op BenchmarkMapPopulate/10-4 129272 862.9 ns/op 179 B/op 1 allocs/op BenchmarkMapPopulate/100-4 7418 16217 ns/op 6276 B/op 15 allocs/op BenchmarkMapPopulate/1000-4 712 156685 ns/op 51776 B/op 55 allocs/op BenchmarkMapPopulate/10000-4 51 2420919 ns/op 417010 B/op 207 allocs/op BenchmarkMapPopulate/100000-4 3 37245563 ns/op 6528178 B/op 2902 allocs/op BenchmarkComplexAlgMap-4 492820 236.5 ns/op BenchmarkGoMapClear/Reflexive/1-4 653312 170.9 ns/op BenchmarkGoMapClear/Reflexive/10-4 618564 180.3 ns/op BenchmarkGoMapClear/Reflexive/100-4 231360 510.3 ns/op BenchmarkGoMapClear/Reflexive/1000-4 41551 2864 ns/op BenchmarkGoMapClear/Reflexive/10000-4 5402 22324 ns/op BenchmarkGoMapClear/NonReflexive/1-4 553480 215.8 ns/op BenchmarkGoMapClear/NonReflexive/10-4 488052 240.5 ns/op BenchmarkGoMapClear/NonReflexive/100-4 208372 575.0 ns/op BenchmarkGoMapClear/NonReflexive/1000-4 39176 2941 ns/op BenchmarkGoMapClear/NonReflexive/10000-4 5386 22614 ns/op BenchmarkMapStringConversion/32/simple-4 1803318 65.01 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/struct-4 1733762 68.38 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/array-4 1603759 75.27 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/simple-4 1716094 69.46 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/struct-4 1592062 72.81 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/array-4 1441761 84.42 ns/op 0 B/op 0 allocs/op BenchmarkMapInterfaceString-4 1812592 66.72 ns/op BenchmarkMapInterfacePtr-4 2159131 59.06 ns/op BenchmarkNewEmptyMapHintLessThan8-4 4820062 25.18 ns/op 0 B/op 0 allocs/op BenchmarkNewEmptyMapHintGreaterThan8-4 110053 917.9 ns/op 1152 B/op 1 allocs/op BenchmarkMapPop100-4 4590 22733 ns/op BenchmarkMapPop1000-4 380 316948 ns/op BenchmarkMapPop10000-4 21 5862757 ns/op BenchmarkMapAssign/Int32/256-4 2365195 50.73 ns/op BenchmarkMapAssign/Int32/65536-4 1135743 100.8 ns/op BenchmarkMapAssign/Int64/256-4 2320629 53.73 ns/op BenchmarkMapAssign/Int64/65536-4 918469 113.7 ns/op BenchmarkMapAssign/Str/256-4 1874416 61.28 ns/op BenchmarkMapAssign/Str/65536-4 573870 217.9 ns/op BenchmarkMapOperatorAssign/Int32/256-4 1516165 80.32 ns/op BenchmarkMapOperatorAssign/Int32/65536-4 625486 170.6 ns/op BenchmarkMapOperatorAssign/Int64/256-4 1480980 78.81 ns/op BenchmarkMapOperatorAssign/Int64/65536-4 528441 189.8 ns/op BenchmarkMapOperatorAssign/Str/256-4 468982 2216 ns/op BenchmarkMapOperatorAssign/Str/65536-4 168451 639.1 ns/op BenchmarkMapAppendAssign/Int32/256-4 796350 162.2 ns/op 28 B/op 0 allocs/op BenchmarkMapAppendAssign/Int32/65536-4 192062 563.3 ns/op 66 B/op 1 allocs/op BenchmarkMapAppendAssign/Int64/256-4 899956 170.0 ns/op 36 B/op 0 allocs/op BenchmarkMapAppendAssign/Int64/65536-4 157624 643.8 ns/op 81 B/op 1 allocs/op BenchmarkMapAppendAssign/Str/256-4 589198 238.3 ns/op 52 B/op 0 allocs/op BenchmarkMapAppendAssign/Str/65536-4 99486 1104 ns/op 144 B/op 1 allocs/op BenchmarkMapDelete/Int32/100-4 1668795 68.71 ns/op BenchmarkMapDelete/Int32/1000-4 1910908 62.07 ns/op BenchmarkMapDelete/Int32/10000-4 1827200 63.39 ns/op BenchmarkMapDelete/Int64/100-4 1835066 65.42 ns/op BenchmarkMapDelete/Int64/1000-4 1817714 63.11 ns/op BenchmarkMapDelete/Int64/10000-4 1810326 64.36 ns/op BenchmarkMapDelete/Str/100-4 1458735 88.00 ns/op BenchmarkMapDelete/Str/1000-4 1520488 78.31 ns/op BenchmarkMapDelete/Str/10000-4 1426989 84.32 ns/op BenchmarkMapDelete/Pointer/100-4 1538737 72.82 ns/op BenchmarkMapDelete/Pointer/1000-4 1673965 70.72 ns/op BenchmarkMapDelete/Pointer/10000-4 1680020 70.04 ns/op BenchmarkMemmove/0-4 15461200 7.804 ns/op BenchmarkMemmove/1-4 1947261 62.13 ns/op 16.10 MB/s BenchmarkMemmove/2-4 1924762 63.32 ns/op 31.59 MB/s BenchmarkMemmove/3-4 1898511 63.22 ns/op 47.46 MB/s BenchmarkMemmove/4-4 1839667 63.42 ns/op 63.07 MB/s BenchmarkMemmove/5-4 1928971 62.81 ns/op 79.61 MB/s BenchmarkMemmove/6-4 1906448 64.99 ns/op 92.32 MB/s BenchmarkMemmove/7-4 1902054 63.45 ns/op 110.32 MB/s BenchmarkMemmove/8-4 1908517 61.36 ns/op 130.37 MB/s BenchmarkMemmove/9-4 1817042 64.00 ns/op 140.63 MB/s BenchmarkMemmove/10-4 1864942 64.39 ns/op 155.31 MB/s BenchmarkMemmove/11-4 1782200 65.02 ns/op 169.17 MB/s BenchmarkMemmove/12-4 1858353 64.82 ns/op 185.13 MB/s BenchmarkMemmove/13-4 1855329 64.78 ns/op 200.68 MB/s BenchmarkMemmove/14-4 1827620 64.70 ns/op 216.39 MB/s BenchmarkMemmove/15-4 1847816 64.20 ns/op 233.65 MB/s BenchmarkMemmove/16-4 1928155 61.45 ns/op 260.39 MB/s BenchmarkMemmove/32-4 1804308 65.58 ns/op 487.98 MB/s BenchmarkMemmove/64-4 1695172 72.02 ns/op 888.70 MB/s BenchmarkMemmove/128-4 1389331 85.39 ns/op 1499.02 MB/s BenchmarkMemmove/256-4 865196 134.5 ns/op 1903.02 MB/s BenchmarkMemmove/512-4 646065 184.9 ns/op 2768.37 MB/s BenchmarkMemmove/1024-4 414175 285.4 ns/op 3588.22 MB/s BenchmarkMemmove/2048-4 237997 497.3 ns/op 4118.09 MB/s BenchmarkMemmove/4096-4 130292 915.7 ns/op 4473.00 MB/s BenchmarkMemmoveOverlap/32-4 1824114 65.46 ns/op 488.83 MB/s BenchmarkMemmoveOverlap/64-4 1635568 73.12 ns/op 875.23 MB/s BenchmarkMemmoveOverlap/128-4 1394736 86.76 ns/op 1475.25 MB/s BenchmarkMemmoveOverlap/256-4 870142 134.1 ns/op 1909.47 MB/s BenchmarkMemmoveOverlap/512-4 643382 182.3 ns/op 2807.90 MB/s BenchmarkMemmoveOverlap/1024-4 417706 285.2 ns/op 3590.90 MB/s BenchmarkMemmoveOverlap/2048-4 243354 495.3 ns/op 4134.84 MB/s BenchmarkMemmoveOverlap/4096-4 130917 908.2 ns/op 4510.09 MB/s BenchmarkMemmoveUnalignedDst/0-4 15651778 7.544 ns/op BenchmarkMemmoveUnalignedDst/1-4 1986649 62.04 ns/op 16.12 MB/s BenchmarkMemmoveUnalignedDst/2-4 1921774 65.62 ns/op 30.48 MB/s BenchmarkMemmoveUnalignedDst/3-4 1874674 62.61 ns/op 47.91 MB/s BenchmarkMemmoveUnalignedDst/4-4 1879407 63.53 ns/op 62.96 MB/s BenchmarkMemmoveUnalignedDst/5-4 1918299 64.40 ns/op 77.64 MB/s BenchmarkMemmoveUnalignedDst/6-4 1906084 63.33 ns/op 94.74 MB/s BenchmarkMemmoveUnalignedDst/7-4 1887078 64.84 ns/op 107.96 MB/s BenchmarkMemmoveUnalignedDst/8-4 1922078 62.10 ns/op 128.82 MB/s BenchmarkMemmoveUnalignedDst/9-4 1832782 66.49 ns/op 135.36 MB/s BenchmarkMemmoveUnalignedDst/10-4 1864390 64.11 ns/op 155.98 MB/s BenchmarkMemmoveUnalignedDst/11-4 1865515 64.35 ns/op 170.93 MB/s BenchmarkMemmoveUnalignedDst/12-4 1792878 65.14 ns/op 184.21 MB/s BenchmarkMemmoveUnalignedDst/13-4 1849082 66.20 ns/op 196.38 MB/s BenchmarkMemmoveUnalignedDst/14-4 1791387 65.97 ns/op 212.21 MB/s BenchmarkMemmoveUnalignedDst/15-4 1831267 66.01 ns/op 227.23 MB/s BenchmarkMemmoveUnalignedDst/16-4 1881486 64.12 ns/op 249.54 MB/s BenchmarkMemmoveUnalignedDst/32-4 1761903 67.99 ns/op 470.66 MB/s BenchmarkMemmoveUnalignedDst/64-4 1534093 76.16 ns/op 840.37 MB/s BenchmarkMemmoveUnalignedDst/128-4 1330192 90.12 ns/op 1420.31 MB/s BenchmarkMemmoveUnalignedDst/256-4 858758 134.5 ns/op 1903.72 MB/s BenchmarkMemmoveUnalignedDst/512-4 603984 194.0 ns/op 2639.49 MB/s BenchmarkMemmoveUnalignedDst/1024-4 396200 303.9 ns/op 3369.39 MB/s BenchmarkMemmoveUnalignedDst/2048-4 237999 498.0 ns/op 4112.07 MB/s BenchmarkMemmoveUnalignedDst/4096-4 127086 954.4 ns/op 4291.56 MB/s BenchmarkMemmoveUnalignedDstOverlap/32-4 1753810 70.43 ns/op 454.34 MB/s BenchmarkMemmoveUnalignedDstOverlap/64-4 1598468 75.17 ns/op 851.39 MB/s BenchmarkMemmoveUnalignedDstOverlap/128-4 1305674 90.93 ns/op 1407.74 MB/s BenchmarkMemmoveUnalignedDstOverlap/256-4 830487 134.3 ns/op 1906.08 MB/s BenchmarkMemmoveUnalignedDstOverlap/512-4 622569 186.8 ns/op 2740.50 MB/s BenchmarkMemmoveUnalignedDstOverlap/1024-4 412242 292.6 ns/op 3499.93 MB/s BenchmarkMemmoveUnalignedDstOverlap/2048-4 242244 497.7 ns/op 4115.19 MB/s BenchmarkMemmoveUnalignedDstOverlap/4096-4 129518 915.2 ns/op 4475.47 MB/s BenchmarkMemmoveUnalignedSrc/0-4 15684666 7.712 ns/op BenchmarkMemmoveUnalignedSrc/1-4 1856950 65.75 ns/op 15.21 MB/s BenchmarkMemmoveUnalignedSrc/2-4 1820662 67.99 ns/op 29.42 MB/s BenchmarkMemmoveUnalignedSrc/3-4 1814968 66.70 ns/op 44.97 MB/s BenchmarkMemmoveUnalignedSrc/4-4 1768347 66.70 ns/op 59.97 MB/s BenchmarkMemmoveUnalignedSrc/5-4 1812607 66.31 ns/op 75.40 MB/s BenchmarkMemmoveUnalignedSrc/6-4 1779232 66.58 ns/op 90.12 MB/s BenchmarkMemmoveUnalignedSrc/7-4 1914164 62.07 ns/op 112.77 MB/s BenchmarkMemmoveUnalignedSrc/8-4 1888442 62.42 ns/op 128.16 MB/s BenchmarkMemmoveUnalignedSrc/9-4 1826438 64.45 ns/op 139.64 MB/s BenchmarkMemmoveUnalignedSrc/10-4 1800398 65.68 ns/op 152.25 MB/s BenchmarkMemmoveUnalignedSrc/11-4 1793902 65.22 ns/op 168.66 MB/s BenchmarkMemmoveUnalignedSrc/12-4 1847056 65.84 ns/op 182.27 MB/s BenchmarkMemmoveUnalignedSrc/13-4 1830990 65.49 ns/op 198.50 MB/s BenchmarkMemmoveUnalignedSrc/14-4 1810970 65.70 ns/op 213.09 MB/s BenchmarkMemmoveUnalignedSrc/15-4 1729350 68.56 ns/op 218.78 MB/s BenchmarkMemmoveUnalignedSrc/16-4 1741209 71.28 ns/op 224.46 MB/s BenchmarkMemmoveUnalignedSrc/32-4 1637912 72.49 ns/op 441.44 MB/s BenchmarkMemmoveUnalignedSrc/64-4 1574422 75.28 ns/op 850.16 MB/s BenchmarkMemmoveUnalignedSrc/128-4 1362799 89.32 ns/op 1433.11 MB/s BenchmarkMemmoveUnalignedSrc/256-4 868610 134.1 ns/op 1909.29 MB/s BenchmarkMemmoveUnalignedSrc/512-4 616218 189.2 ns/op 2706.06 MB/s BenchmarkMemmoveUnalignedSrc/1024-4 396620 291.5 ns/op 3512.64 MB/s BenchmarkMemmoveUnalignedSrc/2048-4 228172 500.8 ns/op 4089.78 MB/s BenchmarkMemmoveUnalignedSrc/4096-4 128485 924.2 ns/op 4431.81 MB/s BenchmarkMemmoveUnalignedSrcOverlap/32-4 1786843 66.97 ns/op 477.80 MB/s BenchmarkMemmoveUnalignedSrcOverlap/64-4 1564585 75.67 ns/op 845.81 MB/s BenchmarkMemmoveUnalignedSrcOverlap/128-4 1334210 89.21 ns/op 1434.77 MB/s BenchmarkMemmoveUnalignedSrcOverlap/256-4 819382 135.0 ns/op 1896.39 MB/s BenchmarkMemmoveUnalignedSrcOverlap/512-4 627130 185.1 ns/op 2765.88 MB/s BenchmarkMemmoveUnalignedSrcOverlap/1024-4 408033 291.1 ns/op 3517.21 MB/s BenchmarkMemmoveUnalignedSrcOverlap/2048-4 240175 498.1 ns/op 4111.65 MB/s BenchmarkMemmoveUnalignedSrcOverlap/4096-4 130278 913.1 ns/op 4485.70 MB/s BenchmarkMemclr/5-4 11914124 10.10 ns/op 494.87 MB/s BenchmarkMemclr/16-4 11924696 9.967 ns/op 1605.30 MB/s BenchmarkMemclr/64-4 11254974 10.56 ns/op 6060.51 MB/s BenchmarkMemclr/256-4 9991338 12.01 ns/op 21313.56 MB/s BenchmarkMemclr/4096-4 2379741 50.38 ns/op 81307.72 MB/s BenchmarkMemclr/65536-4 76890 1778 ns/op 36856.08 MB/s BenchmarkMemclr/1M-4 2701 41311 ns/op 25382.51 MB/s BenchmarkMemclr/4M-4 688 175466 ns/op 23903.79 MB/s BenchmarkMemclr/8M-4 306 382213 ns/op 21947.48 MB/s BenchmarkMemclr/16M-4 109 1325156 ns/op 12660.56 MB/s BenchmarkMemclr/64M-4 12 9817755 ns/op 6835.46 MB/s BenchmarkMemclrUnaligned/0_5-4 6771140 16.81 ns/op 297.43 MB/s BenchmarkMemclrUnaligned/0_16-4 7040926 17.05 ns/op 938.35 MB/s BenchmarkMemclrUnaligned/0_64-4 6818167 17.65 ns/op 3626.88 MB/s BenchmarkMemclrUnaligned/0_256-4 6102868 19.41 ns/op 13186.72 MB/s BenchmarkMemclrUnaligned/0_4096-4 2190974 54.64 ns/op 74966.06 MB/s BenchmarkMemclrUnaligned/0_65536-4 72988 1685 ns/op 38889.64 MB/s BenchmarkMemclrUnaligned/1_5-4 6940502 16.89 ns/op 295.99 MB/s BenchmarkMemclrUnaligned/1_16-4 7014192 17.14 ns/op 933.68 MB/s BenchmarkMemclrUnaligned/1_64-4 6790858 17.67 ns/op 3622.22 MB/s BenchmarkMemclrUnaligned/1_256-4 6200670 19.45 ns/op 13158.75 MB/s BenchmarkMemclrUnaligned/1_4096-4 1342057 89.45 ns/op 45792.10 MB/s BenchmarkMemclrUnaligned/1_65536-4 64374 1894 ns/op 34598.16 MB/s BenchmarkMemclrUnaligned/4_5-4 7092740 16.99 ns/op 294.26 MB/s BenchmarkMemclrUnaligned/4_16-4 7051358 17.14 ns/op 933.43 MB/s BenchmarkMemclrUnaligned/4_64-4 6859630 17.67 ns/op 3622.41 MB/s BenchmarkMemclrUnaligned/4_256-4 6217786 19.60 ns/op 13060.19 MB/s BenchmarkMemclrUnaligned/4_4096-4 1296026 88.96 ns/op 46045.14 MB/s BenchmarkMemclrUnaligned/4_65536-4 52029 2192 ns/op 29894.39 MB/s BenchmarkMemclrUnaligned/7_5-4 7123849 16.74 ns/op 298.69 MB/s BenchmarkMemclrUnaligned/7_16-4 6950242 17.08 ns/op 937.01 MB/s BenchmarkMemclrUnaligned/7_64-4 6484882 17.59 ns/op 3637.76 MB/s BenchmarkMemclrUnaligned/7_256-4 6098222 19.31 ns/op 13257.53 MB/s BenchmarkMemclrUnaligned/7_4096-4 1339764 88.93 ns/op 46057.32 MB/s BenchmarkMemclrUnaligned/7_65536-4 60939 1960 ns/op 33431.80 MB/s BenchmarkMemclrUnaligned/0_1M-4 2769 37911 ns/op 27659.24 MB/s BenchmarkMemclrUnaligned/0_4M-4 686 171843 ns/op 24407.80 MB/s BenchmarkMemclrUnaligned/0_8M-4 315 373918 ns/op 22434.35 MB/s BenchmarkMemclrUnaligned/0_16M-4 98 1465730 ns/op 11446.32 MB/s BenchmarkMemclrUnaligned/0_64M-4 12 9708958 ns/op 6912.06 MB/s BenchmarkMemclrUnaligned/1_1M-4 3118 39428 ns/op 26594.91 MB/s BenchmarkMemclrUnaligned/1_4M-4 691 170685 ns/op 24573.35 MB/s BenchmarkMemclrUnaligned/1_8M-4 238 472042 ns/op 17770.91 MB/s BenchmarkMemclrUnaligned/1_16M-4 54 2026968 ns/op 8277.00 MB/s BenchmarkMemclrUnaligned/1_64M-4 12 9764066 ns/op 6873.04 MB/s BenchmarkMemclrUnaligned/4_1M-4 2683 39177 ns/op 26765.09 MB/s BenchmarkMemclrUnaligned/4_4M-4 687 170848 ns/op 24549.87 MB/s BenchmarkMemclrUnaligned/4_8M-4 264 455072 ns/op 18433.60 MB/s BenchmarkMemclrUnaligned/4_16M-4 94 1508500 ns/op 11121.79 MB/s BenchmarkMemclrUnaligned/4_64M-4 12 9817212 ns/op 6835.84 MB/s BenchmarkMemclrUnaligned/7_1M-4 2738 40519 ns/op 25878.91 MB/s BenchmarkMemclrUnaligned/7_4M-4 657 169392 ns/op 24760.95 MB/s BenchmarkMemclrUnaligned/7_8M-4 250 445805 ns/op 18816.77 MB/s BenchmarkMemclrUnaligned/7_16M-4 69 2087157 ns/op 8038.31 MB/s BenchmarkMemclrUnaligned/7_64M-4 12 9760245 ns/op 6875.74 MB/s BenchmarkGoMemclr/5-4 2189773 55.43 ns/op 90.21 MB/s BenchmarkGoMemclr/16-4 527074 223.9 ns/op 71.47 MB/s BenchmarkGoMemclr/64-4 140733 847.3 ns/op 75.53 MB/s BenchmarkGoMemclr/256-4 35875 3321 ns/op 77.09 MB/s BenchmarkMemclrRange/1K_2K-4 69243 1715 ns/op 55892.44 MB/s BenchmarkMemclrRange/2K_8K-4 30631 4000 ns/op 83386.15 MB/s BenchmarkMemclrRange/4K_16K-4 42652 2806 ns/op 115134.58 MB/s BenchmarkMemclrRange/160K_228K-4 2391 53486 ns/op 31089.63 MB/s BenchmarkClearFat7-4 6105393 19.81 ns/op BenchmarkClearFat8-4 7206195 16.97 ns/op BenchmarkClearFat11-4 6058130 19.58 ns/op BenchmarkClearFat12-4 6361117 18.59 ns/op BenchmarkClearFat13-4 6181308 20.13 ns/op BenchmarkClearFat14-4 5959020 19.36 ns/op BenchmarkClearFat15-4 6204932 19.45 ns/op BenchmarkClearFat16-4 6510931 18.34 ns/op BenchmarkClearFat24-4 6161902 19.29 ns/op BenchmarkClearFat32-4 6103665 19.70 ns/op BenchmarkClearFat40-4 5545580 21.74 ns/op BenchmarkClearFat48-4 5890642 20.43 ns/op BenchmarkClearFat56-4 5636804 21.18 ns/op BenchmarkClearFat64-4 5421940 22.47 ns/op BenchmarkClearFat72-4 5265433 22.81 ns/op BenchmarkClearFat128-4 3759570 32.31 ns/op BenchmarkClearFat256-4 2190618 54.76 ns/op BenchmarkClearFat512-4 1482934 79.99 ns/op BenchmarkClearFat1024-4 830926 138.9 ns/op BenchmarkClearFat1032-4 808292 147.3 ns/op BenchmarkClearFat1040-4 833170 142.8 ns/op BenchmarkCopyFat7-4 6186121 18.99 ns/op BenchmarkCopyFat8-4 6823153 17.48 ns/op BenchmarkCopyFat11-4 5998600 20.10 ns/op BenchmarkCopyFat12-4 6045898 19.26 ns/op BenchmarkCopyFat13-4 6047866 18.83 ns/op BenchmarkCopyFat14-4 6252050 19.48 ns/op BenchmarkCopyFat15-4 5990805 20.16 ns/op BenchmarkCopyFat16-4 6435730 18.18 ns/op BenchmarkCopyFat24-4 6085904 19.56 ns/op BenchmarkCopyFat32-4 6407625 19.07 ns/op BenchmarkCopyFat64-4 5259410 22.96 ns/op BenchmarkCopyFat72-4 5122303 23.10 ns/op BenchmarkCopyFat128-4 3713749 32.54 ns/op BenchmarkCopyFat256-4 2061620 57.03 ns/op BenchmarkCopyFat512-4 1388602 86.84 ns/op BenchmarkCopyFat520-4 1359844 88.90 ns/op BenchmarkCopyFat1024-4 811633 146.2 ns/op BenchmarkCopyFat1032-4 771759 152.6 ns/op BenchmarkCopyFat1040-4 778132 151.2 ns/op BenchmarkIssue18740/2byte-4 427 276257 ns/op BenchmarkIssue18740/4byte-4 727 164015 ns/op BenchmarkIssue18740/8byte-4 1017 116629 ns/op BenchmarkMemclrKnownSize1-4 9034218 13.29 ns/op 75.24 MB/s BenchmarkMemclrKnownSize2-4 5736680 20.17 ns/op 99.14 MB/s BenchmarkMemclrKnownSize4-4 3535810 34.09 ns/op 117.35 MB/s BenchmarkMemclrKnownSize8-4 1000000 112.2 ns/op 71.29 MB/s BenchmarkMemclrKnownSize16-4 519792 238.1 ns/op 67.19 MB/s BenchmarkMemclrKnownSize32-4 268090 431.5 ns/op 74.15 MB/s BenchmarkMemclrKnownSize64-4 144319 826.2 ns/op 77.47 MB/s BenchmarkMemclrKnownSize112-4 81027 1461 ns/op 76.66 MB/s BenchmarkMemclrKnownSize128-4 72528 1626 ns/op 78.74 MB/s BenchmarkMemclrKnownSize192-4 47286 2481 ns/op 77.39 MB/s BenchmarkMemclrKnownSize248-4 37156 3256 ns/op 76.17 MB/s BenchmarkMemclrKnownSize256-4 35973 3349 ns/op 76.45 MB/s BenchmarkMemclrKnownSize512-4 17925 6649 ns/op 77.00 MB/s BenchmarkMemclrKnownSize1024-4 8047 13237 ns/op 77.36 MB/s BenchmarkMemclrKnownSize4096-4 2214 53894 ns/op 76.00 MB/s BenchmarkMemclrKnownSize512KiB-4 16 7068658 ns/op 74.17 MB/s BenchmarkReadMetricsLatency-4 16852 4952 p50-ns 7294 p90-ns 16399 p99-ns BenchmarkFinalizer-4 178 638285 ns/op BenchmarkFinalizerRun-4 195709 849.2 ns/op BenchmarkPallocBitsSummarize/Unpacked00-4 7431862 15.29 ns/op BenchmarkPallocBitsSummarize/UnpackedFFFFFFFFFFFFFFFF-4 3109159 37.86 ns/op BenchmarkPallocBitsSummarize/UnpackedAA-4 2418216 48.69 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAAAAAAAAAA-4 2402475 49.10 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000AAAAAAAA-4 1296693 91.68 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAA00000001-4 1000000 102.9 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBBBBBBBBBB-4 2208361 52.27 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000BBBBBBBB-4 1254882 94.31 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBB00000001-4 1309945 90.79 ns/op BenchmarkPallocBitsSummarize/UnpackedCCCCCCCCCCCCCCCC-4 1915520 64.92 ns/op BenchmarkPallocBitsSummarize/Unpacked4444444444444444-4 1845780 64.27 ns/op BenchmarkPallocBitsSummarize/Unpacked4040404040404040-4 1701301 70.55 ns/op BenchmarkPallocBitsSummarize/Unpacked4000400040004000-4 1469758 81.56 ns/op BenchmarkPallocBitsSummarize/Unpacked1000404044CCAAFF-4 1339260 89.40 ns/op BenchmarkFindBitRange64/Pattern00Size2-4 6130585 19.45 ns/op BenchmarkFindBitRange64/Pattern00Size8-4 6499479 18.41 ns/op BenchmarkFindBitRange64/Pattern00Size32-4 6462734 18.42 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize2-4 6584487 18.24 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize8-4 5793567 20.65 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize32-4 5195802 23.18 ns/op BenchmarkFindBitRange64/PatternAASize2-4 6485986 18.23 ns/op BenchmarkFindBitRange64/PatternAASize8-4 6409090 18.39 ns/op BenchmarkFindBitRange64/PatternAASize32-4 6311578 18.31 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize2-4 6565599 18.20 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize8-4 6562676 18.47 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize32-4 6540178 18.44 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize2-4 6476050 18.41 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize8-4 6005566 19.54 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize32-4 6034832 19.60 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size2-4 5971194 20.09 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size8-4 6557235 18.27 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size32-4 6522366 18.35 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize2-4 6624105 18.27 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize8-4 6156172 19.55 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize32-4 6148623 19.36 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize2-4 6577904 18.22 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize8-4 6074119 19.56 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize32-4 6069710 19.52 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size2-4 6584768 18.28 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size8-4 6138762 19.54 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size32-4 6159768 19.68 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize2-4 6618871 18.32 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize8-4 6062930 19.76 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize32-4 6123950 19.66 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size2-4 6511117 18.22 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size8-4 6535718 18.26 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size32-4 6388950 18.37 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size2-4 6584672 18.29 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size8-4 6547287 18.27 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size32-4 6535718 18.30 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size2-4 6485350 18.29 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size8-4 6549990 18.29 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size32-4 6497258 18.29 ns/op BenchmarkNetpollBreak-4 3944 28073 ns/op BenchmarkPinnerPinUnpinBatch-4 994 115029 ns/op BenchmarkPinnerPinUnpinBatchDouble-4 226 538296 ns/op BenchmarkPinnerPinUnpinBatchTiny-4 1047 109179 ns/op BenchmarkPinnerPinUnpin-4 1000000 103.9 ns/op BenchmarkPinnerPinUnpinTiny-4 1000000 104.8 ns/op BenchmarkPinnerPinUnpinDouble-4 444999 273.3 ns/op BenchmarkPinnerPinUnpinParallel-4 3289640 36.93 ns/op BenchmarkPinnerPinUnpinParallelTiny-4 3032754 33.65 ns/op BenchmarkPinnerPinUnpinParallelDouble-4 220899 573.7 ns/op BenchmarkPinnerIsPinnedOnPinned-4 5490932 20.21 ns/op BenchmarkPinnerIsPinnedOnUnpinned-4 5828700 19.94 ns/op BenchmarkPinnerIsPinnedOnPinnedParallel-4 9045180 12.37 ns/op BenchmarkPinnerIsPinnedOnUnpinnedParallel-4 8076604 12.78 ns/op BenchmarkPingPongHog-4 338 417801 ns/op BenchmarkStackGrowth-4 113114 973.4 ns/op BenchmarkStackGrowthDeep-4 1324 87774 ns/op BenchmarkCreateGoroutines-4 56078 2322 ns/op BenchmarkCreateGoroutinesParallel-4 44715 2671 ns/op BenchmarkCreateGoroutinesCapture-4 9768 13898 ns/op 144 B/op 5 allocs/op BenchmarkCreateGoroutinesSingle-4 42458 2759 ns/op BenchmarkClosureCall-4 18628101 6.490 ns/op BenchmarkWakeupParallelSpinning/0s-4 9366 18924 ns/op BenchmarkWakeupParallelSpinning/1µs-4 5433 21310 ns/op BenchmarkWakeupParallelSpinning/2µs-4 5658 23006 ns/op BenchmarkWakeupParallelSpinning/5µs-4 3657 36275 ns/op BenchmarkWakeupParallelSpinning/10µs-4 2128 56662 ns/op BenchmarkWakeupParallelSpinning/20µs-4 1291 95307 ns/op BenchmarkWakeupParallelSpinning/50µs-4 613 190689 ns/op BenchmarkWakeupParallelSpinning/100µs-4 345 329789 ns/op BenchmarkWakeupParallelSyscall/0s-4 745 153493 ns/op BenchmarkWakeupParallelSyscall/1µs-4 758 156982 ns/op BenchmarkWakeupParallelSyscall/2µs-4 777 159490 ns/op BenchmarkWakeupParallelSyscall/5µs-4 706 172607 ns/op BenchmarkWakeupParallelSyscall/10µs-4 646 177977 ns/op BenchmarkWakeupParallelSyscall/20µs-4 604 198653 ns/op BenchmarkWakeupParallelSyscall/50µs-4 468 262241 ns/op BenchmarkWakeupParallelSyscall/100µs-4 328 375554 ns/op BenchmarkMatmult-4 3746055 36.35 ns/op BenchmarkFastrand-4 13300134 8.914 ns/op BenchmarkFastrand64-4 12395521 9.762 ns/op BenchmarkFastrandHashiter-4 4697288 28.56 ns/op BenchmarkFastrandn/2-4 6017406 19.92 ns/op BenchmarkFastrandn/3-4 6111165 19.61 ns/op BenchmarkFastrandn/4-4 6093086 19.52 ns/op BenchmarkFastrandn/5-4 6139804 19.70 ns/op BenchmarkIfaceCmp100-4 103654 1159 ns/op BenchmarkIfaceCmpNil100-4 146059 835.8 ns/op BenchmarkEfaceCmpDiff-4 39852 3027 ns/op BenchmarkEfaceCmpDiffIndirect-4 30327 3955 ns/op BenchmarkDefer-4 1618179 75.18 ns/op BenchmarkDefer10-4 815090 155.7 ns/op BenchmarkDeferMany-4 438081 446.5 ns/op BenchmarkPanicRecover-4 175819 655.7 ns/op BenchmarkGoroutineProfile/small-nil/idle-4 7380 16281 ns/op 14934 p50-ns 20674 p90-ns 38399 p99-ns BenchmarkGoroutineProfile/small-nil/loaded-4 6672 23459 ns/op 15286 p50-ns 20433 p90-ns 137516 p99-ns BenchmarkGoroutineProfile/small/idle-4 2806 39459 ns/op 36494 p50-ns 41943 p90-ns 93021 p99-ns BenchmarkGoroutineProfile/small/loaded-4 482 473590 ns/op 144342 p50-ns 378474 p90-ns 6851871 p99-ns BenchmarkGoroutineProfile/large-nil/idle-4 7713 16360 ns/op 14968 p50-ns 20615 p90-ns 46751 p99-ns BenchmarkGoroutineProfile/large-nil/loaded-4 6088 19661 ns/op 15203 p50-ns 22130 p90-ns 170969 p99-ns BenchmarkGoroutineProfile/large/idle-4 12 8474244 ns/op 8426784 p50-ns 8663701 p90-ns 9094880 p99-ns BenchmarkGoroutineProfile/large/loaded-4 7 15283905 ns/op 15601079 p50-ns 24036322 p90-ns 24036322 p99-ns BenchmarkGoroutineProfile/sparse-nil/idle-4 8020 16821 ns/op 15034 p50-ns 22214 p90-ns 40391 p99-ns BenchmarkGoroutineProfile/sparse-nil/loaded-4 6348 26846 ns/op 16060 p50-ns 28436 p90-ns 212913 p99-ns BenchmarkGoroutineProfile/sparse/idle-4 853 140849 ns/op 127329 p50-ns 179470 p90-ns 308133 p99-ns BenchmarkGoroutineProfile/sparse/loaded-4 268 417631 ns/op 263877 p50-ns 468029 p90-ns 4716481 p99-ns BenchmarkRWMutexUncontended-4 3081463 39.28 ns/op BenchmarkRWMutexWrite100-4 521748 248.6 ns/op BenchmarkRWMutexWrite10-4 218911 1196 ns/op BenchmarkRWMutexWorkWrite100-4 562011 223.8 ns/op BenchmarkRWMutexWorkWrite10-4 91825 1533 ns/op BenchmarkSemTable/OneAddrCollision/n=1000-4 1761 66921 ns/op BenchmarkSemTable/ManyAddrCollision/n=1000-4 882 134513 ns/op BenchmarkSemTable/OneAddrCollision/n=2000-4 937 125675 ns/op BenchmarkSemTable/ManyAddrCollision/n=2000-4 421 284733 ns/op BenchmarkSemTable/OneAddrCollision/n=4000-4 474 255571 ns/op BenchmarkSemTable/ManyAddrCollision/n=4000-4 199 587356 ns/op BenchmarkSemTable/OneAddrCollision/n=8000-4 229 508505 ns/op BenchmarkSemTable/ManyAddrCollision/n=8000-4 92 1224200 ns/op BenchmarkMakeSliceCopy/mallocmove/Byte-4 279796 384.3 ns/op BenchmarkMakeSliceCopy/mallocmove/Int-4 313224 394.6 ns/op BenchmarkMakeSliceCopy/mallocmove/Ptr-4 276643 440.3 ns/op BenchmarkMakeSliceCopy/makecopy/Byte-4 276314 377.6 ns/op BenchmarkMakeSliceCopy/makecopy/Int-4 310824 393.2 ns/op BenchmarkMakeSliceCopy/makecopy/Ptr-4 223819 449.8 ns/op BenchmarkMakeSliceCopy/nilappend/Byte-4 259460 413.7 ns/op BenchmarkMakeSliceCopy/nilappend/Int-4 302709 429.8 ns/op BenchmarkMakeSliceCopy/nilappend/Ptr-4 206766 495.5 ns/op BenchmarkMakeSlice/Byte-4 2045773 58.18 ns/op BenchmarkMakeSlice/Int16-4 2017807 58.43 ns/op BenchmarkMakeSlice/Int-4 1518462 76.47 ns/op BenchmarkMakeSlice/Ptr-4 1000000 101.6 ns/op BenchmarkMakeSlice/Struct/24-4 905224 124.6 ns/op BenchmarkMakeSlice/Struct/32-4 820608 153.5 ns/op BenchmarkMakeSlice/Struct/40-4 644132 171.1 ns/op BenchmarkGrowSlice/Byte-4 884460 145.1 ns/op BenchmarkGrowSlice/Int16-4 785553 160.5 ns/op BenchmarkGrowSlice/Int-4 694496 210.7 ns/op BenchmarkGrowSlice/Ptr-4 461022 253.1 ns/op BenchmarkGrowSlice/Struct/24-4 274407 411.5 ns/op BenchmarkGrowSlice/Struct/32-4 278934 424.4 ns/op BenchmarkGrowSlice/Struct/40-4 218458 562.8 ns/op BenchmarkExtendSlice/IntSlice-4 535674 258.3 ns/op BenchmarkExtendSlice/PointerSlice-4 437324 309.4 ns/op BenchmarkExtendSlice/NoGrow-4 844850 139.1 ns/op BenchmarkAppend-4 798064 152.0 ns/op BenchmarkAppendGrowByte-4 3 33637379 ns/op BenchmarkAppendGrowString-4 1 401515728 ns/op BenchmarkAppendSlice/1Bytes-4 1894065 60.95 ns/op BenchmarkAppendSlice/4Bytes-4 1830351 63.63 ns/op BenchmarkAppendSlice/7Bytes-4 1839952 63.17 ns/op BenchmarkAppendSlice/8Bytes-4 1879749 63.69 ns/op BenchmarkAppendSlice/15Bytes-4 1770108 66.74 ns/op BenchmarkAppendSlice/16Bytes-4 1769307 64.01 ns/op BenchmarkAppendSlice/32Bytes-4 1714788 65.60 ns/op BenchmarkAppendSliceLarge/1024Bytes-4 87084 1338 ns/op BenchmarkAppendSliceLarge/4096Bytes-4 25477 4515 ns/op BenchmarkAppendSliceLarge/16384Bytes-4 7046 17537 ns/op BenchmarkAppendSliceLarge/65536Bytes-4 1802 72362 ns/op BenchmarkAppendSliceLarge/262144Bytes-4 91 1269365 ns/op BenchmarkAppendSliceLarge/1048576Bytes-4 20 5429542 ns/op BenchmarkAppendStr/1Bytes-4 1423443 82.20 ns/op BenchmarkAppendStr/4Bytes-4 1468203 78.70 ns/op BenchmarkAppendStr/8Bytes-4 1480680 81.21 ns/op BenchmarkAppendStr/16Bytes-4 1431669 82.02 ns/op BenchmarkAppendStr/32Bytes-4 1418198 83.55 ns/op BenchmarkAppendSpecialCase-4 753658 158.8 ns/op BenchmarkCopy/1Byte-4 2008476 59.85 ns/op 16.71 MB/s BenchmarkCopy/1String-4 1922706 61.59 ns/op 16.24 MB/s BenchmarkCopy/2Byte-4 1902084 61.45 ns/op 32.55 MB/s BenchmarkCopy/2String-4 1950282 61.98 ns/op 32.27 MB/s BenchmarkCopy/4Byte-4 1848598 63.62 ns/op 62.87 MB/s BenchmarkCopy/4String-4 1929405 61.90 ns/op 64.62 MB/s BenchmarkCopy/8Byte-4 1958932 62.10 ns/op 128.83 MB/s BenchmarkCopy/8String-4 1909206 62.01 ns/op 129.02 MB/s BenchmarkCopy/12Byte-4 1790863 65.15 ns/op 184.18 MB/s BenchmarkCopy/12String-4 1816436 63.51 ns/op 188.94 MB/s BenchmarkCopy/16Byte-4 1884657 61.90 ns/op 258.49 MB/s BenchmarkCopy/16String-4 1884204 63.81 ns/op 250.76 MB/s BenchmarkCopy/32Byte-4 1795724 66.22 ns/op 483.22 MB/s BenchmarkCopy/32String-4 1764871 69.48 ns/op 460.55 MB/s BenchmarkCopy/128Byte-4 1345965 88.84 ns/op 1440.85 MB/s BenchmarkCopy/128String-4 1000000 102.0 ns/op 1255.42 MB/s BenchmarkCopy/1024Byte-4 408966 287.4 ns/op 3562.69 MB/s BenchmarkCopy/1024String-4 337494 336.3 ns/op 3044.69 MB/s BenchmarkAppendInPlace/NoGrow/Byte-4 28471 4079 ns/op BenchmarkAppendInPlace/NoGrow/1Ptr-4 19185 6119 ns/op BenchmarkAppendInPlace/NoGrow/2Ptr-4 12806 9768 ns/op BenchmarkAppendInPlace/NoGrow/3Ptr-4 10000 12737 ns/op BenchmarkAppendInPlace/NoGrow/4Ptr-4 10000 16074 ns/op BenchmarkAppendInPlace/Grow/Byte-4 138252 839.6 ns/op BenchmarkAppendInPlace/Grow/1Ptr-4 132842 837.6 ns/op BenchmarkAppendInPlace/Grow/2Ptr-4 114571 1106 ns/op BenchmarkAppendInPlace/Grow/3Ptr-4 85486 1325 ns/op BenchmarkAppendInPlace/Grow/4Ptr-4 74401 1546 ns/op BenchmarkStackCopyPtr-4 1 174264917 ns/op BenchmarkStackCopy-4 1 111726130 ns/op BenchmarkStackCopyNoCache-4 19 5587573 ns/op BenchmarkStackCopyWithStkobj-4 1 125507249 ns/op BenchmarkIssue18138-4 590 229357 ns/op BenchmarkCompareStringEqual-4 11139722 10.61 ns/op BenchmarkCompareStringIdentical-4 14930102 7.580 ns/op BenchmarkCompareStringSameLength-4 12695185 9.110 ns/op BenchmarkCompareStringDifferentLength-4 18629953 6.469 ns/op BenchmarkCompareStringBigUnaligned-4 1096 95251 ns/op 11008.71 MB/s BenchmarkCompareStringBig-4 1273 88362 ns/op 11866.98 MB/s BenchmarkConcatStringAndBytes-4 2145465 56.12 ns/op BenchmarkSliceByteToString/1-4 2212954 53.73 ns/op BenchmarkSliceByteToString/2-4 1000000 107.3 ns/op BenchmarkSliceByteToString/4-4 1140588 105.1 ns/op BenchmarkSliceByteToString/8-4 1000000 112.3 ns/op BenchmarkSliceByteToString/16-4 1000000 110.8 ns/op BenchmarkSliceByteToString/32-4 1000000 129.0 ns/op BenchmarkSliceByteToString/64-4 938688 148.7 ns/op BenchmarkSliceByteToString/128-4 573265 197.0 ns/op BenchmarkRuneCount/lenruneslice/ASCII-4 2295484 52.06 ns/op BenchmarkRuneCount/lenruneslice/Japanese-4 796456 138.8 ns/op BenchmarkRuneCount/lenruneslice/MixedLength-4 1000000 119.0 ns/op BenchmarkRuneCount/rangeloop/ASCII-4 3240622 37.09 ns/op BenchmarkRuneCount/rangeloop/Japanese-4 1632320 73.69 ns/op BenchmarkRuneCount/rangeloop/MixedLength-4 1819586 65.24 ns/op BenchmarkRuneCount/utf8.RuneCountInString/ASCII-4 2265001 53.10 ns/op BenchmarkRuneCount/utf8.RuneCountInString/Japanese-4 438182 273.3 ns/op BenchmarkRuneCount/utf8.RuneCountInString/MixedLength-4 554973 213.6 ns/op BenchmarkRuneIterate/range/ASCII-4 5595940 20.88 ns/op BenchmarkRuneIterate/range/Japanese-4 2042889 58.75 ns/op BenchmarkRuneIterate/range/MixedLength-4 2257597 52.22 ns/op BenchmarkRuneIterate/range1/ASCII-4 5635587 20.93 ns/op BenchmarkRuneIterate/range1/Japanese-4 2037123 58.08 ns/op BenchmarkRuneIterate/range1/MixedLength-4 2149006 55.14 ns/op BenchmarkRuneIterate/range2/ASCII-4 5612247 20.82 ns/op BenchmarkRuneIterate/range2/Japanese-4 2042680 58.09 ns/op BenchmarkRuneIterate/range2/MixedLength-4 2222620 52.22 ns/op BenchmarkArrayEqual-4 16642024 6.985 ns/op BenchmarkFunc/Name-4 2681287 44.84 ns/op BenchmarkFunc/Entry-4 10453767 11.39 ns/op BenchmarkFunc/FileLine-4 1536332 77.91 ns/op PASS ok runtime 150.774s ##### 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 35649 3002 ns/op BenchmarkHandle/concurrent-4 23157 5456 ns/op PASS ok runtime/cgo 1.339s goos: linux goarch: amd64 pkg: runtime/internal/atomic cpu: AMD EPYC 7B12 BenchmarkAtomicLoad64-4 23478044 4.991 ns/op BenchmarkAtomicStore64-4 23746862 5.043 ns/op BenchmarkAtomicLoad-4 24006825 5.072 ns/op BenchmarkAtomicStore-4 22045089 5.011 ns/op BenchmarkAnd8-4 23499373 4.996 ns/op BenchmarkAnd-4 23687523 5.043 ns/op BenchmarkAnd8Parallel-4 3928670 35.77 ns/op BenchmarkAndParallel-4 3450529 36.51 ns/op BenchmarkOr8-4 22906975 5.027 ns/op BenchmarkOr-4 23221210 5.378 ns/op BenchmarkOr8Parallel-4 3885699 30.69 ns/op BenchmarkOrParallel-4 4432350 34.07 ns/op BenchmarkXadd-4 3288684 33.37 ns/op BenchmarkXadd64-4 3675783 31.08 ns/op BenchmarkCas-4 2873278 38.03 ns/op BenchmarkCas64-4 2973850 35.33 ns/op BenchmarkXchg-4 3691141 36.70 ns/op BenchmarkXchg64-4 4272573 33.49 ns/op PASS ok runtime/internal/atomic 3.733s goos: linux goarch: amd64 pkg: runtime/internal/math cpu: AMD EPYC 7B12 BenchmarkMulUintptr/small-4 5210227 23.12 ns/op BenchmarkMulUintptr/large-4 4433923 26.85 ns/op PASS ok runtime/internal/math 1.306s goos: linux goarch: amd64 pkg: runtime/pprof cpu: AMD EPYC 7B12 BenchmarkGoroutine/Profile.WriteTo_idle_50-4 37 3633145 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_50-4 13 9105225 ns/op 779.0 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_50-4 1039 125225 ns/op 4.276 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_500-4 15 8175740 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_500-4 7 15233611 ns/op 1185 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_500-4 225 604766 ns/op 42.83 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_5000-4 2 52720270 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_5000-4 2 71055130 ns/op 5630 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_5000-4 24 4908393 ns/op 422.4 concurrent_launches/op PASS ok runtime/pprof 2.722s goos: linux goarch: amd64 pkg: runtime/race cpu: AMD EPYC 7B12 BenchmarkSyncLeak-4 40 2637225 ns/op BenchmarkStackLeak-4 23421 5220 ns/op PASS ok runtime/race 1.444s goos: linux goarch: amd64 pkg: runtime/trace cpu: AMD EPYC 7B12 BenchmarkStartRegion-4 5936595 20.49 ns/op 0 B/op 0 allocs/op BenchmarkNewTask-4 212326 558.8 ns/op 64 B/op 2 allocs/op PASS ok runtime/trace 1.385s goos: linux goarch: amd64 pkg: slices cpu: AMD EPYC 7B12 BenchmarkEqualFunc_Large-4 64 2031790 ns/op BenchmarkIndex_Large-4 29982 3967 ns/op BenchmarkIndexFunc_Large-4 157 803261 ns/op BenchmarkCompact/nil-4 9319428 12.61 ns/op BenchmarkCompact/one-4 2469096 49.09 ns/op BenchmarkCompact/sorted-4 1546401 77.90 ns/op BenchmarkCompact/1_item-4 1344334 84.00 ns/op BenchmarkCompact/unsorted-4 1513297 73.09 ns/op BenchmarkCompact/many-4 900333 133.0 ns/op BenchmarkCompact_Large-4 1316 83457 ns/op BenchmarkCompactFunc_Large-4 104 1155417 ns/op BenchmarkReplace/naive-fast-4 108074 926.0 ns/op BenchmarkReplace/optimized-fast-4 159120 797.0 ns/op BenchmarkReplace/naive-slow-4 43598 2692 ns/op BenchmarkReplace/optimized-slow-4 49756 2486 ns/op BenchmarkSortInts-4 2 77790258 ns/op BenchmarkSlicesSortInts-4 3 46023787 ns/op BenchmarkSlicesSortInts_Sorted-4 75 1777374 ns/op BenchmarkSlicesSortInts_Reversed-4 45 2774125 ns/op BenchmarkSortStrings-4 1 111849167 ns/op BenchmarkSlicesSortStrings-4 2 68218180 ns/op BenchmarkSortStructs-4 1 143563119 ns/op BenchmarkSortFuncStructs-4 1 120264176 ns/op BenchmarkBinarySearchFloats/Size16-4 1553078 78.05 ns/op BenchmarkBinarySearchFloats/Size32-4 1326262 89.92 ns/op BenchmarkBinarySearchFloats/Size64-4 1000000 101.8 ns/op BenchmarkBinarySearchFloats/Size128-4 958696 113.2 ns/op BenchmarkBinarySearchFloats/Size512-4 836184 136.8 ns/op BenchmarkBinarySearchFloats/Size1024-4 785925 148.2 ns/op BenchmarkBinarySearchFuncStruct/Size16-4 752294 160.5 ns/op BenchmarkBinarySearchFuncStruct/Size32-4 593938 189.2 ns/op BenchmarkBinarySearchFuncStruct/Size64-4 555355 215.7 ns/op BenchmarkBinarySearchFuncStruct/Size128-4 475473 268.8 ns/op BenchmarkBinarySearchFuncStruct/Size512-4 386960 319.4 ns/op BenchmarkBinarySearchFuncStruct/Size1024-4 368451 331.8 ns/op PASS ok slices 15.518s ##### 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 163476 699.0 ns/op BenchmarkSortString1K-4 172 683568 ns/op BenchmarkSortString1K_Slice-4 200 632793 ns/op BenchmarkStableString1K-4 93 1188779 ns/op BenchmarkSortInt1K-4 216 559850 ns/op BenchmarkSortInt1K_Sorted-4 3109 38155 ns/op BenchmarkSortInt1K_Reversed-4 1934 66604 ns/op BenchmarkSortInt1K_Mod8-4 532 217958 ns/op BenchmarkStableInt1K-4 134 860440 ns/op BenchmarkStableInt1K_Slice-4 164 741956 ns/op BenchmarkSortInt64K-4 2 53107484 ns/op BenchmarkSortInt64K_Slice-4 3 46522492 ns/op BenchmarkStableInt64K-4 2 73242452 ns/op BenchmarkSort1e2-4 451 276359 ns/op BenchmarkStable1e2-4 100 1097011 ns/op BenchmarkSort1e4-4 2 53389433 ns/op BenchmarkStable1e4-4 1 229429099 ns/op PASS ok sort 4.424s goos: linux goarch: amd64 pkg: strconv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAtof64Decimal-4 844923 142.5 ns/op BenchmarkAtof64Float-4 728545 164.5 ns/op BenchmarkAtof64FloatExp-4 563886 195.0 ns/op BenchmarkAtof64Big-4 435328 271.5 ns/op BenchmarkAtof64RandomBits-4 381024 297.1 ns/op BenchmarkAtof64RandomFloats-4 440678 265.3 ns/op BenchmarkAtof64RandomLongFloats-4 395058 310.7 ns/op BenchmarkAtof32Decimal-4 813842 141.9 ns/op BenchmarkAtof32Float-4 719828 164.8 ns/op BenchmarkAtof32FloatExp-4 572253 204.5 ns/op BenchmarkAtof32Random-4 347972 347.8 ns/op BenchmarkAtof32RandomLong-4 147086 812.6 ns/op BenchmarkParseInt/Pos/7bit-4 1303909 89.72 ns/op BenchmarkParseInt/Pos/26bit-4 543069 202.8 ns/op BenchmarkParseInt/Pos/31bit-4 553561 214.9 ns/op BenchmarkParseInt/Pos/56bit-4 354328 330.2 ns/op BenchmarkParseInt/Pos/63bit-4 328921 350.7 ns/op BenchmarkParseInt/Neg/7bit-4 1265977 94.56 ns/op BenchmarkParseInt/Neg/26bit-4 566584 203.4 ns/op BenchmarkParseInt/Neg/31bit-4 499434 219.0 ns/op BenchmarkParseInt/Neg/56bit-4 351374 325.4 ns/op BenchmarkParseInt/Neg/63bit-4 332078 347.8 ns/op BenchmarkAtoi/Pos/7bit-4 1942030 59.84 ns/op BenchmarkAtoi/Pos/26bit-4 800643 145.9 ns/op BenchmarkAtoi/Pos/31bit-4 685981 163.8 ns/op BenchmarkAtoi/Pos/56bit-4 411843 278.5 ns/op BenchmarkAtoi/Pos/63bit-4 313677 365.4 ns/op BenchmarkAtoi/Neg/7bit-4 1964840 62.03 ns/op BenchmarkAtoi/Neg/26bit-4 768103 145.7 ns/op BenchmarkAtoi/Neg/31bit-4 711462 163.6 ns/op BenchmarkAtoi/Neg/56bit-4 428856 278.0 ns/op BenchmarkAtoi/Neg/63bit-4 325822 360.8 ns/op BenchmarkFormatFloat/Decimal-4 111121 1138 ns/op BenchmarkFormatFloat/Float-4 101722 1209 ns/op BenchmarkFormatFloat/Exp-4 109936 1090 ns/op BenchmarkFormatFloat/NegExp-4 107954 1074 ns/op BenchmarkFormatFloat/LongExp-4 92004 1295 ns/op BenchmarkFormatFloat/Big-4 90169 1352 ns/op BenchmarkFormatFloat/BinaryExp-4 203929 577.6 ns/op BenchmarkFormatFloat/32Integer-4 113097 1078 ns/op BenchmarkFormatFloat/32ExactFraction-4 114726 1024 ns/op BenchmarkFormatFloat/32Point-4 96129 1191 ns/op BenchmarkFormatFloat/32Exp-4 109140 1064 ns/op BenchmarkFormatFloat/32NegExp-4 115965 1084 ns/op BenchmarkFormatFloat/32Shortest-4 114967 1053 ns/op BenchmarkFormatFloat/32Fixed8Hard-4 128607 916.4 ns/op BenchmarkFormatFloat/32Fixed9Hard-4 122323 932.6 ns/op BenchmarkFormatFloat/64Fixed1-4 150141 813.2 ns/op BenchmarkFormatFloat/64Fixed2-4 138814 805.3 ns/op BenchmarkFormatFloat/64Fixed3-4 138294 812.3 ns/op BenchmarkFormatFloat/64Fixed4-4 143390 811.2 ns/op BenchmarkFormatFloat/64Fixed12-4 84582 1452 ns/op BenchmarkFormatFloat/64Fixed16-4 106814 1108 ns/op BenchmarkFormatFloat/64Fixed12Hard-4 106178 1090 ns/op BenchmarkFormatFloat/64Fixed17Hard-4 99980 1210 ns/op BenchmarkFormatFloat/64Fixed18Hard-4 2168 51343 ns/op BenchmarkFormatFloat/Slowpath64-4 93442 1305 ns/op BenchmarkFormatFloat/SlowpathDenormal64-4 91232 1293 ns/op BenchmarkAppendFloat/Decimal-4 133432 890.0 ns/op BenchmarkAppendFloat/Float-4 113812 988.5 ns/op BenchmarkAppendFloat/Exp-4 136680 879.5 ns/op BenchmarkAppendFloat/NegExp-4 131720 874.1 ns/op BenchmarkAppendFloat/LongExp-4 107800 1077 ns/op BenchmarkAppendFloat/Big-4 98469 1119 ns/op BenchmarkAppendFloat/BinaryExp-4 317434 368.4 ns/op BenchmarkAppendFloat/32Integer-4 133746 881.1 ns/op BenchmarkAppendFloat/32ExactFraction-4 132357 895.9 ns/op BenchmarkAppendFloat/32Point-4 122802 963.1 ns/op BenchmarkAppendFloat/32Exp-4 130076 893.9 ns/op BenchmarkAppendFloat/32NegExp-4 135042 889.6 ns/op BenchmarkAppendFloat/32Shortest-4 149125 778.7 ns/op BenchmarkAppendFloat/32Fixed8Hard-4 168968 700.7 ns/op BenchmarkAppendFloat/32Fixed9Hard-4 162267 721.2 ns/op BenchmarkAppendFloat/64Fixed1-4 173599 621.6 ns/op BenchmarkAppendFloat/64Fixed2-4 188115 637.5 ns/op BenchmarkAppendFloat/64Fixed3-4 189937 622.4 ns/op BenchmarkAppendFloat/64Fixed4-4 190920 617.5 ns/op BenchmarkAppendFloat/64Fixed12-4 100598 1162 ns/op BenchmarkAppendFloat/64Fixed16-4 132705 882.8 ns/op BenchmarkAppendFloat/64Fixed12Hard-4 145051 812.1 ns/op BenchmarkAppendFloat/64Fixed17Hard-4 122217 951.2 ns/op BenchmarkAppendFloat/64Fixed18Hard-4 2331 49954 ns/op BenchmarkAppendFloat/Slowpath64-4 109887 1078 ns/op BenchmarkAppendFloat/SlowpathDenormal64-4 110325 1058 ns/op BenchmarkFormatInt-4 14402 7935 ns/op BenchmarkAppendInt-4 16597 7558 ns/op BenchmarkFormatUint-4 73118 1524 ns/op BenchmarkAppendUint-4 91944 1312 ns/op BenchmarkFormatIntSmall/7-4 2581854 47.64 ns/op BenchmarkFormatIntSmall/42-4 2748238 43.01 ns/op BenchmarkAppendIntSmall-4 1335733 90.01 ns/op BenchmarkAppendUintVarlen/1-4 1264804 93.03 ns/op BenchmarkAppendUintVarlen/12-4 1261536 96.52 ns/op BenchmarkAppendUintVarlen/123-4 901248 123.3 ns/op BenchmarkAppendUintVarlen/1234-4 927592 127.0 ns/op BenchmarkAppendUintVarlen/12345-4 882499 128.3 ns/op BenchmarkAppendUintVarlen/123456-4 856340 139.2 ns/op BenchmarkAppendUintVarlen/1234567-4 829054 134.2 ns/op BenchmarkAppendUintVarlen/12345678-4 876922 130.2 ns/op BenchmarkAppendUintVarlen/123456789-4 851514 133.9 ns/op BenchmarkAppendUintVarlen/1234567890-4 819475 136.1 ns/op BenchmarkAppendUintVarlen/12345678901-4 745977 141.2 ns/op BenchmarkAppendUintVarlen/123456789012-4 799495 139.0 ns/op BenchmarkAppendUintVarlen/1234567890123-4 714768 145.8 ns/op BenchmarkAppendUintVarlen/12345678901234-4 757086 142.6 ns/op BenchmarkAppendUintVarlen/123456789012345-4 782305 148.0 ns/op BenchmarkAppendUintVarlen/1234567890123456-4 823312 144.5 ns/op BenchmarkAppendUintVarlen/12345678901234567-4 757080 151.0 ns/op BenchmarkAppendUintVarlen/123456789012345678-4 715257 150.4 ns/op BenchmarkAppendUintVarlen/1234567890123456789-4 730620 161.0 ns/op BenchmarkAppendUintVarlen/12345678901234567890-4 643398 157.3 ns/op BenchmarkQuote-4 42975 2725 ns/op BenchmarkQuoteRune-4 390496 261.5 ns/op BenchmarkAppendQuote-4 53145 2239 ns/op BenchmarkAppendQuoteRune-4 727258 143.9 ns/op BenchmarkUnquoteEasy-4 1360681 87.65 ns/op BenchmarkUnquoteHard-4 46665 2414 ns/op PASS ok strconv 17.014s goos: linux goarch: amd64 pkg: strings cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkBuildString_Builder/1Write_NoGrow-4 439653 266.0 ns/op 48 B/op 1 allocs/op BenchmarkBuildString_Builder/3Write_NoGrow-4 119874 838.0 ns/op 336 B/op 3 allocs/op BenchmarkBuildString_Builder/3Write_Grow-4 173834 645.8 ns/op 112 B/op 1 allocs/op BenchmarkBuildString_ByteBuffer/1Write_NoGrow-4 273045 404.3 ns/op 112 B/op 2 allocs/op BenchmarkBuildString_ByteBuffer/3Write_NoGrow-4 94053 1269 ns/op 432 B/op 4 allocs/op BenchmarkBuildString_ByteBuffer/3Write_Grow-4 90380 1117 ns/op 336 B/op 3 allocs/op BenchmarkClone-4 644028 180.2 ns/op 48 B/op 1 allocs/op BenchmarkGenericNoMatch-4 21190 5784 ns/op BenchmarkGenericMatch1-4 1970 52724 ns/op BenchmarkGenericMatch2-4 436 274616 ns/op BenchmarkSingleMaxSkipping-4 7755 14697 ns/op 680.43 MB/s BenchmarkSingleLongSuffixFail-4 14266 8344 ns/op 120.08 MB/s BenchmarkSingleMatch-4 248 467141 ns/op 32.11 MB/s BenchmarkByteByteNoMatch-4 73082 1654 ns/op BenchmarkByteByteMatch-4 18561 6295 ns/op BenchmarkByteStringMatch-4 22022 5318 ns/op BenchmarkHTMLEscapeNew-4 70628 1690 ns/op BenchmarkHTMLEscapeOld-4 85844 1338 ns/op BenchmarkByteStringReplacerWriteString-4 1377 80084 ns/op BenchmarkByteReplacerWriteString-4 1566 75095 ns/op BenchmarkByteByteReplaces-4 3523 33437 ns/op BenchmarkByteByteMap-4 9783 11442 ns/op BenchmarkMap/identity/ASCII-4 656156 179.3 ns/op BenchmarkMap/identity/Greek-4 482666 249.9 ns/op BenchmarkMap/change/ASCII-4 38313 3081 ns/op BenchmarkMap/change/Greek-4 29364 4115 ns/op BenchmarkIndexRune-4 2055298 57.63 ns/op BenchmarkIndexRuneLongString-4 1768470 67.78 ns/op BenchmarkIndexRuneFastPath-4 4597740 26.24 ns/op BenchmarkIndex-4 4420696 27.64 ns/op BenchmarkLastIndex-4 5015360 23.63 ns/op BenchmarkIndexByte-4 10244563 11.60 ns/op BenchmarkToUpper/#00-4 3040503 36.41 ns/op BenchmarkToUpper/ONLYUPPER-4 2485102 46.81 ns/op BenchmarkToUpper/abc-4 338594 365.6 ns/op BenchmarkToUpper/AbC123-4 243300 471.3 ns/op BenchmarkToUpper/azAZ09_-4 275062 429.7 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 55146 2192 ns/op BenchmarkToUpper/RENAN_BASTOS_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 72126 1649 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 33747 3475 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 55026 2120 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 115789 942.1 ns/op BenchmarkToLower/#00-4 3182554 37.38 ns/op BenchmarkToLower/abc-4 2768170 41.87 ns/op BenchmarkToLower/AbC123-4 216715 509.7 ns/op BenchmarkToLower/azAZ09_-4 222397 519.4 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 94507 1239 ns/op BenchmarkToLower/renan_bastos_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 67573 1804 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 35311 3412 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 79419 1509 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 111542 1003 ns/op BenchmarkMapNoChanges-4 908654 121.2 ns/op BenchmarkTrim-4 37750 3185 ns/op 0 B/op 0 allocs/op BenchmarkToValidUTF8/Valid-4 3265180 35.67 ns/op BenchmarkToValidUTF8/InvalidASCII-4 196729 613.2 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 131401 924.0 ns/op BenchmarkEqualFold/Tests-4 53485 2236 ns/op BenchmarkEqualFold/ASCII-4 3675778 32.55 ns/op BenchmarkEqualFold/UnicodePrefix-4 107294 1098 ns/op BenchmarkEqualFold/UnicodeSuffix-4 120332 1007 ns/op BenchmarkIndexHard1-4 831 144371 ns/op BenchmarkIndexHard2-4 596 200173 ns/op BenchmarkIndexHard3-4 148 800213 ns/op BenchmarkIndexHard4-4 182 659549 ns/op BenchmarkLastIndexHard1-4 58 1978460 ns/op BenchmarkLastIndexHard2-4 57 1980633 ns/op BenchmarkLastIndexHard3-4 58 2006605 ns/op BenchmarkCountHard1-4 838 144015 ns/op BenchmarkCountHard2-4 600 199299 ns/op BenchmarkCountHard3-4 150 807867 ns/op BenchmarkIndexTorture-4 7773 15635 ns/op BenchmarkCountTorture-4 7570 15652 ns/op BenchmarkCountTortureOverlapping-4 670 169992 ns/op BenchmarkCountByte/10-4 4286235 26.22 ns/op 381.37 MB/s BenchmarkCountByte/32-4 4001920 28.79 ns/op 1111.62 MB/s BenchmarkCountByte/4096-4 854720 136.2 ns/op 30068.45 MB/s BenchmarkCountByte/4194304-4 678 173053 ns/op 24237.12 MB/s BenchmarkCountByte/67108864-4 19 5980034 ns/op 11222.15 MB/s BenchmarkFields/ASCII/16-4 298917 415.9 ns/op 38.47 MB/s 16 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 20024 5841 ns/op 43.83 MB/s 352 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 1226 92884 ns/op 44.10 MB/s 6528 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 68 1726140 ns/op 37.97 MB/s 98304 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 4 27848109 ns/op 37.65 MB/s 1515520 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 225460 508.5 ns/op 31.47 MB/s 64 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 10000 11115 ns/op 23.03 MB/s 384 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 550 206365 ns/op 19.85 MB/s 21504 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 28 4198173 ns/op 15.61 MB/s 463104 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 2 86209534 ns/op 12.16 MB/s 10457344 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 257114 481.5 ns/op 33.23 MB/s 16 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 18645 5998 ns/op 42.68 MB/s 352 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 915 122350 ns/op 33.48 MB/s 21888 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 40 2914994 ns/op 22.48 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 65458587 ns/op 16.02 MB/s 10457344 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 166226 682.1 ns/op 23.46 MB/s 64 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 14322 8087 ns/op 31.65 MB/s 384 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 724 159153 ns/op 25.74 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 33 3509222 ns/op 18.68 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 2 75594712 ns/op 13.87 MB/s 10457344 B/op 24 allocs/op BenchmarkSplitEmptySeparator-4 1 104543583 ns/op BenchmarkSplitSingleByteSeparator-4 14 8162100 ns/op BenchmarkSplitMultiByteSeparator-4 30 3828901 ns/op BenchmarkSplitNSingleByteSeparator-4 210430 544.0 ns/op BenchmarkSplitNMultiByteSeparator-4 173227 711.0 ns/op BenchmarkRepeat/5x0-4 3261999 35.04 ns/op BenchmarkRepeat/5x1-4 3181352 34.93 ns/op BenchmarkRepeat/5x2-4 265458 475.6 ns/op BenchmarkRepeat/5x6-4 161422 756.6 ns/op BenchmarkRepeat/10x0-4 3319470 34.29 ns/op BenchmarkRepeat/10x1-4 3220038 34.44 ns/op BenchmarkRepeat/10x2-4 256063 480.4 ns/op BenchmarkRepeat/10x6-4 155296 763.7 ns/op BenchmarkRepeatLarge/256/1-4 72330 1551 ns/op 165.07 MB/s BenchmarkRepeatLarge/256/16-4 111583 983.4 ns/op 260.32 MB/s BenchmarkRepeatLarge/512/1-4 53498 1988 ns/op 257.51 MB/s BenchmarkRepeatLarge/512/16-4 73682 1393 ns/op 367.64 MB/s BenchmarkRepeatLarge/1024/1-4 43478 2556 ns/op 400.55 MB/s BenchmarkRepeatLarge/1024/16-4 59335 1848 ns/op 554.12 MB/s BenchmarkRepeatLarge/2048/1-4 31262 3503 ns/op 584.62 MB/s BenchmarkRepeatLarge/2048/16-4 39045 2891 ns/op 708.32 MB/s BenchmarkRepeatLarge/4096/1-4 20970 5639 ns/op 726.32 MB/s BenchmarkRepeatLarge/4096/16-4 24378 4691 ns/op 873.16 MB/s BenchmarkRepeatLarge/8192/1-4 13417 8728 ns/op 938.61 MB/s BenchmarkRepeatLarge/8192/16-4 14498 8308 ns/op 986.01 MB/s BenchmarkRepeatLarge/8192/4097-4 5333041 22.08 ns/op 185533.69 MB/s BenchmarkRepeatLarge/16384/1-4 7556 15614 ns/op 1049.33 MB/s BenchmarkRepeatLarge/16384/16-4 8112 16262 ns/op 1007.53 MB/s BenchmarkRepeatLarge/16384/4097-4 10000 11480 ns/op 1070.65 MB/s BenchmarkRepeatLarge/32768/1-4 4254 28152 ns/op 1163.98 MB/s BenchmarkRepeatLarge/32768/16-4 4252 27518 ns/op 1190.80 MB/s BenchmarkRepeatLarge/32768/4097-4 4948 25160 ns/op 1139.87 MB/s BenchmarkRepeatLarge/65536/1-4 2325 52256 ns/op 1254.14 MB/s BenchmarkRepeatLarge/65536/16-4 2287 51406 ns/op 1274.86 MB/s BenchmarkRepeatLarge/65536/4097-4 2311 53025 ns/op 1158.98 MB/s BenchmarkRepeatLarge/131072/1-4 210 546549 ns/op 239.82 MB/s BenchmarkRepeatLarge/131072/16-4 212 554346 ns/op 236.44 MB/s BenchmarkRepeatLarge/131072/4097-4 220 540807 ns/op 234.85 MB/s BenchmarkRepeatLarge/262144/1-4 100 1101714 ns/op 237.94 MB/s BenchmarkRepeatLarge/262144/16-4 100 1057479 ns/op 247.90 MB/s BenchmarkRepeatLarge/262144/4097-4 100 1073740 ns/op 240.38 MB/s BenchmarkRepeatLarge/524288/1-4 50 2086023 ns/op 251.33 MB/s BenchmarkRepeatLarge/524288/16-4 58 2059088 ns/op 254.62 MB/s BenchmarkRepeatLarge/524288/4097-4 49 2111618 ns/op 246.41 MB/s BenchmarkRepeatLarge/1048576/1-4 30 4193063 ns/op 250.07 MB/s BenchmarkRepeatLarge/1048576/16-4 30 4207174 ns/op 249.24 MB/s BenchmarkRepeatLarge/1048576/4097-4 30 4148406 ns/op 251.84 MB/s BenchmarkRepeatLarge/2097152/1-4 14 7843572 ns/op 267.37 MB/s BenchmarkRepeatLarge/2097152/16-4 14 7992885 ns/op 262.38 MB/s BenchmarkRepeatLarge/2097152/4097-4 15 7969908 ns/op 262.68 MB/s BenchmarkRepeatLarge/4194304/1-4 7 15725850 ns/op 266.71 MB/s BenchmarkRepeatLarge/4194304/16-4 7 15580783 ns/op 269.20 MB/s BenchmarkRepeatLarge/4194304/4097-4 7 15956801 ns/op 262.66 MB/s BenchmarkRepeatLarge/8388608/1-4 4 31135208 ns/op 269.43 MB/s BenchmarkRepeatLarge/8388608/16-4 4 31297781 ns/op 268.03 MB/s BenchmarkRepeatLarge/8388608/4097-4 4 31824216 ns/op 263.53 MB/s BenchmarkRepeatLarge/16777216/1-4 2 61463802 ns/op 272.96 MB/s BenchmarkRepeatLarge/16777216/16-4 2 59912610 ns/op 280.03 MB/s BenchmarkRepeatLarge/16777216/4097-4 2 63785544 ns/op 263.03 MB/s BenchmarkRepeatLarge/33554432/1-4 1 119045364 ns/op 281.86 MB/s BenchmarkRepeatLarge/33554432/16-4 1 126199239 ns/op 265.88 MB/s BenchmarkRepeatLarge/33554432/4097-4 1 121499879 ns/op 276.17 MB/s BenchmarkRepeatLarge/67108864/1-4 1 239439774 ns/op 280.27 MB/s BenchmarkRepeatLarge/67108864/16-4 1 232850441 ns/op 288.21 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 245128620 ns/op 273.77 MB/s BenchmarkRepeatLarge/134217728/1-4 1 474047364 ns/op 283.13 MB/s BenchmarkRepeatLarge/134217728/16-4 1 475421992 ns/op 282.31 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 475765814 ns/op 282.11 MB/s BenchmarkRepeatLarge/268435456/1-4 1 943556638 ns/op 284.49 MB/s BenchmarkRepeatLarge/268435456/16-4 1 935981806 ns/op 286.80 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 913255714 ns/op 293.93 MB/s BenchmarkRepeatLarge/536870912/1-4 1 1873821685 ns/op 286.51 MB/s BenchmarkRepeatLarge/536870912/16-4 1 1844713851 ns/op 291.03 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 1865508570 ns/op 287.79 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 3719598672 ns/op 288.67 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 3634174378 ns/op 295.46 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 3707244831 ns/op 289.63 MB/s BenchmarkIndexAnyASCII/1:1-4 1989361 56.48 ns/op BenchmarkIndexAnyASCII/1:2-4 2108926 53.79 ns/op BenchmarkIndexAnyASCII/1:4-4 2164446 54.20 ns/op BenchmarkIndexAnyASCII/1:8-4 2149268 54.01 ns/op BenchmarkIndexAnyASCII/1:16-4 2105110 54.53 ns/op BenchmarkIndexAnyASCII/1:32-4 2077718 54.12 ns/op BenchmarkIndexAnyASCII/1:64-4 2082696 54.69 ns/op BenchmarkIndexAnyASCII/16:1-4 2107311 54.28 ns/op BenchmarkIndexAnyASCII/16:2-4 768256 153.5 ns/op BenchmarkIndexAnyASCII/16:4-4 752942 157.2 ns/op BenchmarkIndexAnyASCII/16:8-4 691884 163.3 ns/op BenchmarkIndexAnyASCII/16:16-4 664006 174.4 ns/op BenchmarkIndexAnyASCII/16:32-4 566880 200.7 ns/op BenchmarkIndexAnyASCII/16:64-4 488281 244.3 ns/op BenchmarkIndexAnyASCII/256:1-4 1803688 65.19 ns/op BenchmarkIndexAnyASCII/256:2-4 73160 1628 ns/op BenchmarkIndexAnyASCII/256:4-4 73491 1629 ns/op BenchmarkIndexAnyASCII/256:8-4 71329 1627 ns/op BenchmarkIndexAnyASCII/256:16-4 72622 1644 ns/op BenchmarkIndexAnyASCII/256:32-4 71300 1667 ns/op BenchmarkIndexAnyASCII/256:64-4 68064 1729 ns/op BenchmarkIndexAnyUTF8/1:1-4 2048992 55.63 ns/op BenchmarkIndexAnyUTF8/1:2-4 2125053 54.31 ns/op BenchmarkIndexAnyUTF8/1:4-4 2102210 54.90 ns/op BenchmarkIndexAnyUTF8/1:8-4 2082733 53.43 ns/op BenchmarkIndexAnyUTF8/1:16-4 2044573 54.49 ns/op BenchmarkIndexAnyUTF8/1:32-4 2073066 55.32 ns/op BenchmarkIndexAnyUTF8/1:64-4 2051642 56.48 ns/op BenchmarkIndexAnyUTF8/16:1-4 1661109 70.11 ns/op BenchmarkIndexAnyUTF8/16:2-4 325579 365.3 ns/op BenchmarkIndexAnyUTF8/16:4-4 328351 365.8 ns/op BenchmarkIndexAnyUTF8/16:8-4 322215 360.1 ns/op BenchmarkIndexAnyUTF8/16:16-4 316971 369.0 ns/op BenchmarkIndexAnyUTF8/16:32-4 312121 385.2 ns/op BenchmarkIndexAnyUTF8/16:64-4 306728 383.0 ns/op BenchmarkIndexAnyUTF8/256:1-4 369530 314.0 ns/op BenchmarkIndexAnyUTF8/256:2-4 23682 5120 ns/op BenchmarkIndexAnyUTF8/256:4-4 23296 5107 ns/op BenchmarkIndexAnyUTF8/256:8-4 23382 4949 ns/op BenchmarkIndexAnyUTF8/256:16-4 23347 5112 ns/op BenchmarkIndexAnyUTF8/256:32-4 21938 5371 ns/op BenchmarkIndexAnyUTF8/256:64-4 22442 5376 ns/op BenchmarkLastIndexAnyASCII/1:1-4 1999774 58.32 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2104110 53.13 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2107591 54.71 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2050576 53.71 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2110345 53.52 ns/op BenchmarkLastIndexAnyASCII/1:32-4 1968171 57.66 ns/op BenchmarkLastIndexAnyASCII/1:64-4 1994808 58.11 ns/op BenchmarkLastIndexAnyASCII/16:1-4 794182 148.5 ns/op BenchmarkLastIndexAnyASCII/16:2-4 793286 147.0 ns/op BenchmarkLastIndexAnyASCII/16:4-4 727362 151.9 ns/op BenchmarkLastIndexAnyASCII/16:8-4 747363 159.8 ns/op BenchmarkLastIndexAnyASCII/16:16-4 667298 173.3 ns/op BenchmarkLastIndexAnyASCII/16:32-4 589902 199.1 ns/op BenchmarkLastIndexAnyASCII/16:64-4 488904 244.1 ns/op BenchmarkLastIndexAnyASCII/256:1-4 76940 1539 ns/op BenchmarkLastIndexAnyASCII/256:2-4 77040 1556 ns/op BenchmarkLastIndexAnyASCII/256:4-4 74881 1570 ns/op BenchmarkLastIndexAnyASCII/256:8-4 74179 1579 ns/op BenchmarkLastIndexAnyASCII/256:16-4 75428 1589 ns/op BenchmarkLastIndexAnyASCII/256:32-4 73638 1589 ns/op BenchmarkLastIndexAnyASCII/256:64-4 72289 1644 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2035174 58.35 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2052085 57.90 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2089851 58.11 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2087185 58.46 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2027088 59.49 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2010122 59.89 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2072386 54.82 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 377880 312.3 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 177952 625.8 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 189052 643.8 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 188113 632.3 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 182856 660.8 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 170746 679.8 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 161150 703.9 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 28273 4394 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 12556 9194 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 13147 8969 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 13052 9198 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 12398 9839 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 10000 10173 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 10000 10436 ns/op BenchmarkTrimASCII/1:1-4 3179900 37.87 ns/op BenchmarkTrimASCII/1:2-4 2370026 49.88 ns/op BenchmarkTrimASCII/1:4-4 2258612 50.74 ns/op BenchmarkTrimASCII/1:8-4 2090307 57.82 ns/op BenchmarkTrimASCII/1:16-4 1726035 68.13 ns/op BenchmarkTrimASCII/16:1-4 2726054 43.86 ns/op BenchmarkTrimASCII/16:2-4 800487 147.3 ns/op BenchmarkTrimASCII/16:4-4 758222 150.1 ns/op BenchmarkTrimASCII/16:8-4 695094 157.6 ns/op BenchmarkTrimASCII/16:16-4 709110 171.1 ns/op BenchmarkTrimASCII/256:1-4 804928 147.5 ns/op BenchmarkTrimASCII/256:2-4 77793 1528 ns/op BenchmarkTrimASCII/256:4-4 77656 1530 ns/op BenchmarkTrimASCII/256:8-4 77673 1550 ns/op BenchmarkTrimASCII/256:16-4 76878 1562 ns/op BenchmarkTrimASCII/4096:1-4 72837 1598 ns/op BenchmarkTrimASCII/4096:2-4 4786 23667 ns/op BenchmarkTrimASCII/4096:4-4 5050 23928 ns/op BenchmarkTrimASCII/4096:8-4 4840 23879 ns/op BenchmarkTrimASCII/4096:16-4 4640 24076 ns/op BenchmarkTrimByte-4 4278686 27.23 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 13344 9052 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 13215 8994 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 1101 108343 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 2226 53223 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 4243 26699 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 7597 15136 ns/op BenchmarkJoin/0-4 5081336 21.93 ns/op 0 B/op 0 allocs/op BenchmarkJoin/1-4 4016733 29.57 ns/op 0 B/op 0 allocs/op BenchmarkJoin/2-4 194841 594.6 ns/op 16 B/op 1 allocs/op BenchmarkJoin/3-4 134985 868.1 ns/op 24 B/op 1 allocs/op BenchmarkJoin/4-4 102117 1167 ns/op 48 B/op 1 allocs/op BenchmarkJoin/5-4 81968 1435 ns/op 48 B/op 1 allocs/op BenchmarkJoin/6-4 70038 1685 ns/op 64 B/op 1 allocs/op BenchmarkJoin/7-4 58746 1956 ns/op 64 B/op 1 allocs/op BenchmarkTrimSpace/NoTrim-4 2617510 46.02 ns/op BenchmarkTrimSpace/ASCII-4 1526534 77.88 ns/op BenchmarkTrimSpace/SomeNonASCII-4 134624 839.8 ns/op BenchmarkTrimSpace/JustNonASCII-4 74632 1605 ns/op BenchmarkReplaceAll-4 118786 994.7 ns/op 16 B/op 1 allocs/op PASS ok strings 67.427s goos: linux goarch: amd64 pkg: sync cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCond1-4 52428 2176 ns/op BenchmarkCond2-4 31045 4044 ns/op BenchmarkCond4-4 15367 7291 ns/op BenchmarkCond8-4 7260 14122 ns/op BenchmarkCond16-4 3454 31033 ns/op BenchmarkCond32-4 1909 75738 ns/op BenchmarkLoadMostlyHits/*sync_test.DeepCopyMap-4 442056 268.4 ns/op BenchmarkLoadMostlyHits/*sync_test.RWMutexMap-4 265783 437.0 ns/op BenchmarkLoadMostlyHits/*sync.Map-4 446553 229.4 ns/op BenchmarkLoadMostlyMisses/*sync_test.DeepCopyMap-4 414824 258.9 ns/op BenchmarkLoadMostlyMisses/*sync_test.RWMutexMap-4 278796 498.5 ns/op BenchmarkLoadMostlyMisses/*sync.Map-4 607420 201.7 ns/op BenchmarkLoadOrStoreBalanced/*sync_test.RWMutexMap-4 71659 2057 ns/op BenchmarkLoadOrStoreBalanced/*sync.Map-4 61983 2143 ns/op BenchmarkLoadOrStoreUnique/*sync_test.RWMutexMap-4 51056 2702 ns/op BenchmarkLoadOrStoreUnique/*sync.Map-4 40033 3231 ns/op BenchmarkLoadOrStoreCollision/*sync_test.DeepCopyMap-4 516687 237.7 ns/op BenchmarkLoadOrStoreCollision/*sync_test.RWMutexMap-4 155566 800.3 ns/op BenchmarkLoadOrStoreCollision/*sync.Map-4 463167 253.7 ns/op BenchmarkLoadAndDeleteBalanced/*sync_test.RWMutexMap-4 124863 984.1 ns/op BenchmarkLoadAndDeleteBalanced/*sync.Map-4 478056 231.3 ns/op BenchmarkLoadAndDeleteUnique/*sync_test.RWMutexMap-4 163844 801.7 ns/op BenchmarkLoadAndDeleteUnique/*sync.Map-4 1715373 63.50 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.DeepCopyMap-4 34077 3043 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.RWMutexMap-4 98012 1199 ns/op BenchmarkLoadAndDeleteCollision/*sync.Map-4 358832 514.2 ns/op BenchmarkRange/*sync_test.DeepCopyMap-4 5814 17281 ns/op BenchmarkRange/*sync_test.RWMutexMap-4 266 439657 ns/op BenchmarkRange/*sync.Map-4 1268 91179 ns/op BenchmarkAdversarialAlloc/*sync_test.DeepCopyMap-4 87397 1527 ns/op BenchmarkAdversarialAlloc/*sync_test.RWMutexMap-4 159522 678.5 ns/op BenchmarkAdversarialAlloc/*sync.Map-4 60607 2137 ns/op BenchmarkAdversarialDelete/*sync_test.DeepCopyMap-4 98119 1195 ns/op BenchmarkAdversarialDelete/*sync_test.RWMutexMap-4 241090 537.7 ns/op BenchmarkAdversarialDelete/*sync.Map-4 128875 1015 ns/op BenchmarkDeleteCollision/*sync_test.DeepCopyMap-4 65413 2129 ns/op BenchmarkDeleteCollision/*sync_test.RWMutexMap-4 147664 756.3 ns/op BenchmarkDeleteCollision/*sync.Map-4 630637 244.2 ns/op BenchmarkSwapCollision/*sync_test.DeepCopyMap-4 44544 2584 ns/op BenchmarkSwapCollision/*sync_test.RWMutexMap-4 138267 959.6 ns/op BenchmarkSwapCollision/*sync.Map-4 59823 1899 ns/op BenchmarkSwapMostlyHits/*sync_test.DeepCopyMap-4 234 502285 ns/op BenchmarkSwapMostlyHits/*sync_test.RWMutexMap-4 92400 1372 ns/op BenchmarkSwapMostlyHits/*sync.Map-4 269020 429.1 ns/op BenchmarkSwapMostlyMisses/*sync_test.DeepCopyMap-4 19712 6107 ns/op BenchmarkSwapMostlyMisses/*sync_test.RWMutexMap-4 51560 2208 ns/op BenchmarkSwapMostlyMisses/*sync.Map-4 19182 6243 ns/op BenchmarkCompareAndSwapCollision/*sync_test.DeepCopyMap-4 347344 380.3 ns/op BenchmarkCompareAndSwapCollision/*sync_test.RWMutexMap-4 83248 1358 ns/op BenchmarkCompareAndSwapCollision/*sync.Map-4 142951 859.6 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.DeepCopyMap-4 1646040 72.50 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.RWMutexMap-4 143878 803.8 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync.Map-4 1984604 63.31 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.DeepCopyMap-4 420201 253.5 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.RWMutexMap-4 123061 921.2 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync.Map-4 454575 275.0 ns/op BenchmarkCompareAndSwapMostlyHits/*sync_test.RWMutexMap-4 78171 1485 ns/op BenchmarkCompareAndSwapMostlyHits/*sync.Map-4 269049 427.1 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.DeepCopyMap-4 344373 374.0 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.RWMutexMap-4 93866 1306 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync.Map-4 491594 250.1 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.DeepCopyMap-4 155330 809.5 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.RWMutexMap-4 84150 1285 ns/op BenchmarkCompareAndDeleteCollision/*sync.Map-4 152902 744.6 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync_test.RWMutexMap-4 49851 2613 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync.Map-4 161977 690.6 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.DeepCopyMap-4 402324 300.1 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.RWMutexMap-4 104876 1194 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync.Map-4 519819 236.7 ns/op BenchmarkUncontendedSemaphore-4 3349683 35.70 ns/op BenchmarkContendedSemaphore-4 3109086 39.52 ns/op BenchmarkMutexUncontended-4 623617 162.5 ns/op BenchmarkMutex-4 141531 946.8 ns/op BenchmarkMutexSlack-4 119926 983.6 ns/op BenchmarkMutexWork-4 111834 1059 ns/op BenchmarkMutexWorkSlack-4 116187 1038 ns/op BenchmarkMutexNoSpin-4 51763 2326 ns/op BenchmarkMutexSpin-4 61339 2097 ns/op BenchmarkOnce-4 649208 207.5 ns/op BenchmarkOnceFunc/v=Once-4 1000000 107.8 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Global-4 909684 132.1 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Local-4 898266 129.4 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Once-4 996541 113.2 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Global-4 800584 143.0 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Local-4 776805 140.0 ns/op 0 B/op 0 allocs/op BenchmarkSemaUncontended-4 5103400 20.96 ns/op BenchmarkSemaSyntNonblock-4 1319167 111.9 ns/op BenchmarkSemaSyntBlock-4 942210 108.4 ns/op BenchmarkSemaWorkNonblock-4 807670 145.0 ns/op BenchmarkSemaWorkBlock-4 728050 149.9 ns/op BenchmarkRWMutexUncontended-4 378536 347.0 ns/op BenchmarkRWMutexWrite100-4 239646 462.0 ns/op BenchmarkRWMutexWrite10-4 218750 564.2 ns/op BenchmarkRWMutexWorkWrite100-4 207391 550.7 ns/op BenchmarkRWMutexWorkWrite10-4 177255 722.2 ns/op BenchmarkWaitGroupUncontended-4 742590 147.4 ns/op BenchmarkWaitGroupAddDone-4 405772 381.4 ns/op BenchmarkWaitGroupAddDoneWork-4 342231 368.3 ns/op BenchmarkWaitGroupWait-4 4247361 29.32 ns/op BenchmarkWaitGroupWaitWork-4 2976412 40.11 ns/op BenchmarkWaitGroupActuallyWait-4 37143 3440 ns/op 32 B/op 2 allocs/op PASS ok sync 19.989s ##### 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 504534 260.3 ns/op PASS ok sync/atomic 1.147s ##### 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.018s ##### 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: testing cpu: AMD EPYC 7B12 BenchmarkTBHelper-4 143673 787.4 ns/op 0 B/op 0 allocs/op PASS ok testing 1.135s ##### 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: text/tabwriter cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkTable/1x10/new-4 7378 14656 ns/op 1520 B/op 21 allocs/op BenchmarkTable/1x10/reuse-4 11300 10648 ns/op 0 B/op 0 allocs/op BenchmarkTable/1x1000/new-4 94 1257286 ns/op 129392 B/op 1025 allocs/op BenchmarkTable/1x1000/reuse-4 117 1005526 ns/op 1105 B/op 8 allocs/op BenchmarkTable/1x100000/new-4 1 194721924 ns/op 19393008 B/op 100057 allocs/op BenchmarkTable/1x100000/reuse-4 1 195221290 ns/op 19393008 B/op 100057 allocs/op BenchmarkTable/10x10/new-4 1549 67872 ns/op 5056 B/op 31 allocs/op BenchmarkTable/10x10/reuse-4 2043 56881 ns/op 2 B/op 0 allocs/op BenchmarkTable/10x1000/new-4 18 6388090 ns/op 413568 B/op 1039 allocs/op BenchmarkTable/10x1000/reuse-4 18 5824998 ns/op 22976 B/op 57 allocs/op BenchmarkTable/10x100000/new-4 1 764961652 ns/op 48120808 B/op 100075 allocs/op BenchmarkTable/10x100000/reuse-4 1 755815189 ns/op 48120800 B/op 100074 allocs/op BenchmarkTable/100x10/new-4 208 580592 ns/op 39296 B/op 41 allocs/op BenchmarkTable/100x10/reuse-4 230 525258 ns/op 170 B/op 0 allocs/op BenchmarkTable/100x1000/new-4 2 66124694 ns/op 3288960 B/op 1053 allocs/op BenchmarkTable/100x1000/reuse-4 2 62425792 ns/op 1644480 B/op 526 allocs/op BenchmarkTable/100x100000/new-4 1 7315757450 ns/op 335149952 B/op 100089 allocs/op BenchmarkTable/100x100000/reuse-4 1 7235307542 ns/op 335149952 B/op 100089 allocs/op BenchmarkPyramid/10-4 2630 44385 ns/op 4872 B/op 35 allocs/op BenchmarkPyramid/100-4 37 3142850 ns/op 409128 B/op 230 allocs/op BenchmarkPyramid/1000-4 1 346785782 ns/op 35625256 B/op 2055 allocs/op BenchmarkRagged/10-4 2486 49551 ns/op 4512 B/op 34 allocs/op BenchmarkRagged/100-4 259 453855 ns/op 41008 B/op 188 allocs/op BenchmarkRagged/1000-4 26 4636756 ns/op 427424 B/op 1661 allocs/op BenchmarkCode-4 7704 15438 ns/op 624 B/op 13 allocs/op PASS ok text/tabwriter 20.882s ##### 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 55242554 ns/op BenchmarkVariableString-4 132711 848.6 ns/op 80 B/op 3 allocs/op BenchmarkListString-4 2797 39669 ns/op 2518 B/op 39 allocs/op PASS ok text/template/parse 1.424s ##### 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 34 3284319 ns/op BenchmarkAfter-4 117 1098180 ns/op BenchmarkStop-4 169 673738 ns/op BenchmarkSimultaneousAfterFunc-4 26 4286467 ns/op BenchmarkStartStop-4 204 613982 ns/op BenchmarkReset-4 2547 51813 ns/op BenchmarkSleep-4 32 3717213 ns/op BenchmarkParallelTimerLatency-4 48 290336 avg-late-ns 4786243 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=1-4 36 312547 avg-late-ns 837325 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=2-4 33 351557 avg-late-ns 1050811 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=3-4 34 411917 avg-late-ns 1376188 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=4-4 33 394969 avg-late-ns 1998108 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=5-4 31 343988 avg-late-ns 1625314 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=6-4 32 301019 avg-late-ns 1481321 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=7-4 30 174030 avg-late-ns 1356955 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=8-4 27 223684 avg-late-ns 1843589 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=9-4 26 214138 avg-late-ns 1800127 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=10-4 26 892396 avg-late-ns 4718172 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=2ms/tickers-per-P=1-4 34 315638 avg-late-ns 825465 max-late-ns BenchmarkTicker-4 343 377853 ns/op BenchmarkTickerReset-4 4116 29427 ns/op BenchmarkTickerResetNaive-4 154 675925 ns/op BenchmarkNow-4 1000000 102.9 ns/op BenchmarkNowUnixNano-4 1000000 102.7 ns/op BenchmarkNowUnixMilli-4 1000000 105.1 ns/op BenchmarkNowUnixMicro-4 1000000 103.0 ns/op BenchmarkFormat-4 57152 2094 ns/op BenchmarkFormatRFC3339-4 79453 1506 ns/op BenchmarkFormatRFC3339Nano-4 76305 1565 ns/op BenchmarkFormatNow-4 81880 1520 ns/op BenchmarkMarshalJSON-4 105256 1150 ns/op BenchmarkMarshalText-4 109857 1113 ns/op BenchmarkParse-4 138512 844.8 ns/op BenchmarkParseRFC3339UTC-4 331903 361.8 ns/op BenchmarkParseRFC3339UTCBytes-4 216607 551.3 ns/op BenchmarkParseRFC3339TZ-4 101496 1189 ns/op BenchmarkParseRFC3339TZBytes-4 79717 1556 ns/op BenchmarkParseDuration-4 515949 227.3 ns/op BenchmarkHour-4 850658 138.7 ns/op BenchmarkSecond-4 868627 136.8 ns/op BenchmarkYear-4 618807 182.2 ns/op BenchmarkDay-4 579481 202.2 ns/op BenchmarkISOWeek-4 621411 187.6 ns/op BenchmarkGoString-4 75216 1602 ns/op BenchmarkUnmarshalText-4 67491 1750 ns/op PASS ok time 12.655s goos: linux goarch: amd64 pkg: unicode/utf16 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecodeValidASCII-4 608419 179.3 ns/op BenchmarkDecodeValidJapaneseChars-4 719150 150.9 ns/op BenchmarkDecodeRune-4 1645146 72.09 ns/op BenchmarkEncodeValidASCII-4 526648 205.1 ns/op BenchmarkEncodeValidJapaneseChars-4 832506 141.3 ns/op BenchmarkAppendRuneValidASCII-4 1588166 75.77 ns/op BenchmarkAppendRuneValidJapaneseChars-4 2411349 49.61 ns/op BenchmarkEncodeRune-4 2893226 40.60 ns/op PASS ok unicode/utf16 2.227s goos: linux goarch: amd64 pkg: unicode/utf8 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRuneCountTenASCIIChars-4 821646 144.9 ns/op BenchmarkRuneCountTenJapaneseChars-4 164359 685.6 ns/op BenchmarkRuneCountInStringTenASCIIChars-4 3684796 32.19 ns/op BenchmarkRuneCountInStringTenJapaneseChars-4 413617 282.3 ns/op BenchmarkValidTenASCIIChars-4 820741 138.4 ns/op BenchmarkValid100KASCIIChars-4 91 1311472 ns/op BenchmarkValidTenJapaneseChars-4 152600 776.2 ns/op BenchmarkValidLongMostlyASCII-4 82 1599757 ns/op BenchmarkValidLongJapanese-4 48 2241225 ns/op BenchmarkValidStringTenASCIIChars-4 4451904 26.79 ns/op BenchmarkValidString100KASCIIChars-4 9291 12634 ns/op BenchmarkValidStringTenJapaneseChars-4 401137 264.8 ns/op BenchmarkValidStringLongMostlyASCII-4 1228 98991 ns/op BenchmarkValidStringLongJapanese-4 152 770030 ns/op BenchmarkEncodeASCIIRune-4 4369573 27.74 ns/op BenchmarkEncodeJapaneseRune-4 2457207 49.58 ns/op BenchmarkAppendASCIIRune-4 8782476 12.62 ns/op BenchmarkAppendJapaneseRune-4 2869591 41.91 ns/op BenchmarkDecodeASCIIRune-4 2836772 41.31 ns/op BenchmarkDecodeJapaneseRune-4 1908764 62.73 ns/op BenchmarkFullRune/ASCII-4 3368851 35.44 ns/op BenchmarkFullRune/Incomplete-4 1561348 77.22 ns/op BenchmarkFullRune/Japanese-4 3414145 34.89 ns/op PASS ok unicode/utf8 4.628s goos: linux goarch: amd64 pkg: cmd/api cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAll-4 1 70801421664 ns/op PASS ok cmd/api 71.970s goos: linux goarch: amd64 pkg: cmd/cgo/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCgoCall/add-int-4 353629 312.3 ns/op BenchmarkCgoCall/one-pointer-4 276836 375.0 ns/op BenchmarkCgoCall/eight-pointers-4 172808 684.3 ns/op BenchmarkCgoCall/eight-pointers-nil-4 325256 383.9 ns/op BenchmarkCgoCall/eight-pointers-array-4 15400 7345 ns/op BenchmarkCgoCall/eight-pointers-slice-4 32002 3679 ns/op BenchmarkGoString-4 1082012 105.9 ns/op BenchmarkCGoCallback-4 46075 2508 ns/op BenchmarkCGoInCThread-4 270645 413.4 ns/op PASS ok cmd/cgo/internal/test 2.329s goos: linux goarch: amd64 pkg: cmd/compile/internal/reflectdata cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEqArrayOfStrings5-4 1201119 97.31 ns/op BenchmarkEqArrayOfStrings64-4 153062 761.0 ns/op BenchmarkEqArrayOfStrings1024-4 9315 11344 ns/op BenchmarkEqArrayOfFloats5-4 1384059 85.93 ns/op BenchmarkEqArrayOfFloats64-4 141550 849.8 ns/op BenchmarkEqArrayOfFloats1024-4 8708 12646 ns/op BenchmarkEqArrayOfStructsEq-4 2685 43842 ns/op BenchmarkEqArrayOfStructsNotEq-4 4688 24042 ns/op BenchmarkEqStruct-4 17176600 6.850 ns/op PASS ok cmd/compile/internal/reflectdata 2.316s goos: linux goarch: amd64 pkg: cmd/compile/internal/ssa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPhioptPass-4 10000 61560 ns/op BenchmarkCopyElim1-4 673 172047 ns/op BenchmarkCopyElim10-4 669 195986 ns/op BenchmarkCopyElim100-4 297 403540 ns/op BenchmarkCopyElim1000-4 49 2273783 ns/op BenchmarkCopyElim10000-4 3 44321601 ns/op BenchmarkCopyElim100000-4 1 725341196 ns/op BenchmarkDeadCode/1-4 537 211685 ns/op BenchmarkDeadCode/10-4 478 234559 ns/op BenchmarkDeadCode/100-4 230 491386 ns/op BenchmarkDeadCode/1000-4 48 2751558 ns/op BenchmarkDeadCode/10000-4 3 37456404 ns/op BenchmarkDeadCode/100000-4 1 469888830 ns/op BenchmarkDeadCode/200000-4 1 940673165 ns/op BenchmarkDominatorsLinear-4 12 10208196 ns/op 0.98 MB/s BenchmarkDominatorsFwdBack-4 8 15303271 ns/op 0.65 MB/s BenchmarkDominatorsManyPred-4 8 14243624 ns/op 0.70 MB/s BenchmarkDominatorsMaxPred-4 9 14542986 ns/op 0.69 MB/s BenchmarkDominatorsMaxPredVal-4 8 14522778 ns/op 0.69 MB/s BenchmarkFuse/1-4 426 235324 ns/op BenchmarkFuse/10-4 400 267084 ns/op BenchmarkFuse/100-4 132 880012 ns/op BenchmarkFuse/1000-4 18 6687383 ns/op BenchmarkFuse/10000-4 2 83454595 ns/op BenchmarkNilCheckDeep1-4 12472 9912 ns/op 0.10 MB/s 234 B/op 4 allocs/op BenchmarkNilCheckDeep10-4 4833 22938 ns/op 0.44 MB/s 235 B/op 4 allocs/op BenchmarkNilCheckDeep100-4 770 154628 ns/op 0.65 MB/s 668 B/op 4 allocs/op BenchmarkNilCheckDeep1000-4 72 1504184 ns/op 0.66 MB/s 4792 B/op 4 allocs/op BenchmarkNilCheckDeep10000-4 6 19771686 ns/op 0.51 MB/s 148101 B/op 8 allocs/op BenchmarkDSEPass-4 31 3635980 ns/op 57318 B/op 7 allocs/op BenchmarkDSEPassBlock-4 1 123274571 ns/op 4252992 B/op 108444 allocs/op BenchmarkCSEPass-4 7 15962425 ns/op 131532 B/op 9 allocs/op BenchmarkCSEPassBlock-4 1 152930977 ns/op 5648584 B/op 97350 allocs/op BenchmarkDeadcodePass-4 180 647361 ns/op 101404 B/op 3 allocs/op BenchmarkDeadcodePassBlock-4 1 133629728 ns/op 4043600 B/op 44949 allocs/op BenchmarkMultiPass-4 63 1776556 ns/op 255748 B/op 11 allocs/op BenchmarkMultiPassBlock-4 1 270957849 ns/op 11222440 B/op 150084 allocs/op BenchmarkCondRewrite/SoloJump-4 3086070 38.78 ns/op BenchmarkCondRewrite/CombJump-4 2865126 42.20 ns/op PASS ok cmd/compile/internal/ssa 16.314s goos: linux goarch: amd64 pkg: cmd/compile/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLoadAdd-4 10147 11659 ns/op BenchmarkExtShift-4 16064 7454 ns/op BenchmarkModify-4 9864 11721 ns/op BenchmarkMullImm-4 17088 7025 ns/op BenchmarkConstModify-4 9038 11620 ns/op BenchmarkBitSet-4 21014 5472 ns/op BenchmarkBitClear-4 21100 5445 ns/op BenchmarkBitToggle-4 21189 5545 ns/op BenchmarkBitSetConst-4 154226 757.9 ns/op BenchmarkBitClearConst-4 146042 748.6 ns/op BenchmarkBitToggleConst-4 159427 732.3 ns/op BenchmarkDivconstI64-4 10233043 11.72 ns/op BenchmarkModconstI64-4 8840829 11.82 ns/op BenchmarkDivisiblePow2constI64-4 8693284 11.53 ns/op BenchmarkDivisibleconstI64-4 10689591 11.16 ns/op BenchmarkDivisibleWDivconstI64-4 6968619 16.94 ns/op BenchmarkDivconstU64/3-4 8763436 11.46 ns/op BenchmarkDivconstU64/5-4 10171332 11.75 ns/op BenchmarkDivconstU64/37-4 10529019 11.42 ns/op BenchmarkDivconstU64/1234567-4 10948245 11.05 ns/op BenchmarkModconstU64-4 9267049 12.27 ns/op BenchmarkDivisibleconstU64-4 10773516 11.15 ns/op BenchmarkDivisibleWDivconstU64-4 6947236 17.34 ns/op BenchmarkDivconstI32-4 8548742 11.71 ns/op BenchmarkModconstI32-4 10646932 11.21 ns/op BenchmarkDivisiblePow2constI32-4 9220627 11.66 ns/op BenchmarkDivisibleconstI32-4 8749399 11.48 ns/op BenchmarkDivisibleWDivconstI32-4 6973471 16.95 ns/op BenchmarkDivconstU32-4 10575394 11.19 ns/op BenchmarkModconstU32-4 8336259 12.40 ns/op BenchmarkDivisibleconstU32-4 9101743 11.33 ns/op BenchmarkDivisibleWDivconstU32-4 7301632 16.49 ns/op BenchmarkDivconstI16-4 10639639 11.11 ns/op BenchmarkModconstI16-4 8479836 12.20 ns/op BenchmarkDivisiblePow2constI16-4 8877034 11.51 ns/op BenchmarkDivisibleconstI16-4 8808878 11.48 ns/op BenchmarkDivisibleWDivconstI16-4 6914629 17.01 ns/op BenchmarkDivconstU16-4 10578730 11.31 ns/op BenchmarkModconstU16-4 8773771 11.42 ns/op BenchmarkDivisibleconstU16-4 10714730 11.36 ns/op BenchmarkDivisibleWDivconstU16-4 6797961 17.29 ns/op BenchmarkDivconstI8-4 8779483 11.47 ns/op BenchmarkModconstI8-4 8339941 12.08 ns/op BenchmarkDivisiblePow2constI8-4 11259889 10.69 ns/op BenchmarkDivisibleconstI8-4 8733571 11.54 ns/op BenchmarkDivisibleWDivconstI8-4 7224208 16.48 ns/op BenchmarkDivconstU8-4 8983858 11.59 ns/op BenchmarkModconstU8-4 10472055 11.49 ns/op BenchmarkDivisibleconstU8-4 10769046 11.15 ns/op BenchmarkDivisibleWDivconstU8-4 6805610 17.96 ns/op BenchmarkMul2-4 164601 729.6 ns/op BenchmarkMulNeg2-4 161964 735.3 ns/op BenchmarkEfaceInteger-4 3684164 28.55 ns/op BenchmarkDiv64UnsignedSmall-4 6702086 15.64 ns/op BenchmarkDiv64Small-4 6161659 17.55 ns/op BenchmarkDiv64SmallNegDivisor-4 5812476 18.77 ns/op BenchmarkDiv64SmallNegDividend-4 6241045 17.45 ns/op BenchmarkDiv64SmallNegBoth-4 5904204 18.03 ns/op BenchmarkDiv64Unsigned-4 6827128 16.00 ns/op BenchmarkDiv64-4 5954571 19.10 ns/op BenchmarkDiv64NegDivisor-4 6050480 18.52 ns/op BenchmarkDiv64NegDividend-4 5987257 18.52 ns/op BenchmarkDiv64NegBoth-4 6032742 18.50 ns/op BenchmarkMod64UnsignedSmall-4 7050397 15.54 ns/op BenchmarkMod64Small-4 6263209 17.13 ns/op BenchmarkMod64SmallNegDivisor-4 5969922 18.41 ns/op BenchmarkMod64SmallNegDividend-4 6054342 17.36 ns/op BenchmarkMod64SmallNegBoth-4 5926209 17.53 ns/op BenchmarkMod64Unsigned-4 6784850 15.95 ns/op BenchmarkMod64-4 6000592 17.92 ns/op BenchmarkMod64NegDivisor-4 5986441 18.16 ns/op BenchmarkMod64NegDividend-4 5820123 18.01 ns/op BenchmarkMod64NegBoth-4 6132026 17.98 ns/op BenchmarkMulconstI32/3-4 20712786 5.763 ns/op BenchmarkMulconstI32/5-4 20370357 5.861 ns/op BenchmarkMulconstI32/12-4 20792733 5.767 ns/op BenchmarkMulconstI32/120-4 21051591 5.773 ns/op BenchmarkMulconstI32/-120-4 20833803 5.723 ns/op BenchmarkMulconstI32/65537-4 20914719 5.723 ns/op BenchmarkMulconstI32/65538-4 21086124 5.661 ns/op BenchmarkMulconstI64/3-4 20866357 5.750 ns/op BenchmarkMulconstI64/5-4 20587503 5.763 ns/op BenchmarkMulconstI64/12-4 20838619 5.730 ns/op BenchmarkMulconstI64/120-4 20909972 5.733 ns/op BenchmarkMulconstI64/-120-4 20894340 5.741 ns/op BenchmarkMulconstI64/65537-4 21162530 5.667 ns/op BenchmarkMulconstI64/65538-4 21205261 5.710 ns/op BenchmarkMulconstU32/3-4 20578005 5.781 ns/op BenchmarkMulconstU32/5-4 20724694 5.813 ns/op BenchmarkMulconstU32/12-4 20782628 5.729 ns/op BenchmarkMulconstU32/120-4 21035492 5.703 ns/op BenchmarkMulconstU32/65537-4 20964846 5.722 ns/op BenchmarkMulconstU32/65538-4 21103653 5.702 ns/op BenchmarkMulconstU64/3-4 20510186 5.849 ns/op BenchmarkMulconstU64/5-4 20854724 5.766 ns/op BenchmarkMulconstU64/12-4 20687050 5.836 ns/op BenchmarkMulconstU64/120-4 20821638 5.743 ns/op BenchmarkMulconstU64/65537-4 21001700 5.682 ns/op BenchmarkMulconstU64/65538-4 20853435 5.719 ns/op BenchmarkShiftArithmeticRight-4 19379563 6.150 ns/op BenchmarkSwitch8Predictable-4 12945271 9.291 ns/op BenchmarkSwitch8Unpredictable-4 5581311 21.19 ns/op BenchmarkSwitch32Predictable-4 8415058 14.47 ns/op BenchmarkSwitch32Unpredictable-4 5690034 21.01 ns/op BenchmarkSwitchStringPredictable-4 8133854 14.76 ns/op BenchmarkSwitchStringUnpredictable-4 4348765 27.80 ns/op PASS ok cmd/compile/internal/test 19.425s goos: linux goarch: amd64 pkg: cmd/compile/internal/types2 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLookupFieldOrMethod-4 132 943389 ns/op BenchmarkNamed/Underlying/nongeneric-4 807322 146.3 ns/op BenchmarkNamed/Underlying/generic-4 743679 149.2 ns/op BenchmarkNamed/Underlying/src_instance-4 810608 147.7 ns/op BenchmarkNamed/Underlying/user_instance-4 757060 146.2 ns/op BenchmarkCheck/http/funcbodies/info-4 1 593621267 ns/op 51533 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 378380173 ns/op 80837 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 176912294 ns/op 172859 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 147486820 ns/op 207301 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 465981705 ns/op 11124 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 2 95793911 ns/op 54095 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 3 39808647 ns/op 130166 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 3 36360995 ns/op 142509 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 148433455 ns/op 14615 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 3 43336247 ns/op 50045 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 5 23941748 ns/op 90580 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 5 22002336 ns/op 98584 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1237843945 ns/op 52776 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 632801320 ns/op 103231 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 175909906 ns/op 371213 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 129303657 ns/op 504955 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 440390238 ns/op 4545 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 67229412 ns/op 29763 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 3 41744899 ns/op 47933 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 3 40905565 ns/op 48910 lines/s PASS ok cmd/compile/internal/types2 17.546s goos: linux goarch: amd64 pkg: cmd/go cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExecGoEnv-4 134 852582 ns/op 2010963 sys-ns/op 1217343 user-ns/op PASS ok cmd/go 1.207s goos: linux goarch: amd64 pkg: cmd/internal/notsha256 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 66919 1756 ns/op 4.56 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 76861 1521 ns/op 5.26 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 14174 8449 ns/op 121.20 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 14659 8141 ns/op 125.79 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 2182 54379 ns/op 150.65 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 2197 54233 ns/op 151.05 MB/s 0 B/op 0 allocs/op PASS ok cmd/internal/notsha256 1.962s All tests passed.