linux-amd64-race at 70c7fb75e9768630ca23ff5cbf79c9b597bc068e :: Running /workdir/go/src/make.bash with args ["/workdir/go/src/make.bash" "-force"] and env ["HOSTNAME=buildlet-linux-amd64-bullseye-rn3efbc7e" "HOME=/root" "SHLVL=0" "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "DEBIAN_FRONTEND=noninteractive" "USER=root" "GO_STAGE0_NET_DELAY=1s" "GO_STAGE0_DL_DELAY=200ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-race" "GO_DISABLE_OUTBOUND_NETWORK=1" "GOBIN=" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache" "GOPLSCACHE=/workdir/goplscache" "PWD=/workdir/go/src"] in dir /workdir/go/src Building Go cmd/dist using /workdir/go1.4. (go1.20.6 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 ["HOSTNAME=buildlet-linux-amd64-bullseye-rn3efbc7e" "HOME=/root" "SHLVL=0" "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "DEBIAN_FRONTEND=noninteractive" "USER=root" "GO_STAGE0_NET_DELAY=1s" "GO_STAGE0_DL_DELAY=200ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-race" "GO_DISABLE_OUTBOUND_NETWORK=1" "GOBIN=" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache" "GOPLSCACHE=/workdir/goplscache" "PWD=/workdir/go/bin"] in dir /workdir/go/bin ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Testing packages. ok archive/tar 1.496s ok archive/zip 2.727s ok bufio 1.251s ok bytes 1.898s ok cmp 1.011s ok compress/bzip2 1.318s ok compress/flate 5.896s ok compress/gzip 9.692s ok compress/lzw 1.408s ok compress/zlib 4.586s ok container/heap 1.014s ok container/list 1.011s ok container/ring 1.012s ok context 1.034s ok crypto 1.010s ok crypto/aes 1.047s ok crypto/cipher 1.031s ok crypto/des 1.031s ok crypto/dsa 1.012s ok crypto/ecdh 1.172s ok crypto/ecdsa 1.113s ok crypto/ed25519 1.277s ok crypto/elliptic 1.029s ok crypto/hmac 1.012s ok crypto/internal/alias 1.010s ok crypto/internal/bigmod 3.292s ok crypto/internal/boring 1.010s ok crypto/internal/boring/bcache 1.327s ok crypto/internal/edwards25519 1.572s ok crypto/internal/edwards25519/field 1.047s ok crypto/internal/nistec 1.628s ok crypto/internal/nistec/fiat 1.010s [no tests to run] ok crypto/md5 1.016s ok crypto/rand 1.197s ok crypto/rc4 1.331s ok crypto/rsa 2.300s ok crypto/sha1 1.027s ok crypto/sha256 1.016s ok crypto/sha512 1.014s ok crypto/subtle 1.252s ok crypto/tls 3.146s ok crypto/x509 2.103s ok database/sql 1.537s ok database/sql/driver 1.010s ok debug/buildinfo 1.024s ok debug/dwarf 1.052s ok debug/elf 1.886s ok debug/gosym 1.222s ok debug/macho 1.019s ok debug/pe 1.035s ok debug/plan9obj 1.011s ok embed 1.010s [no tests to run] ok embed/internal/embedtest 1.012s ok encoding/ascii85 1.014s ok encoding/asn1 1.014s ok encoding/base32 1.042s ok encoding/base64 1.016s ok encoding/binary 1.014s ok encoding/csv 1.035s ok encoding/gob 17.683s ok encoding/hex 1.015s ok encoding/json 1.969s ok encoding/pem 2.648s ok encoding/xml 1.129s ok errors 1.015s ok expvar 1.012s ok flag 3.062s ok fmt 1.437s ok go/ast 1.018s ok go/build 4.257s ok go/build/constraint 1.016s ok go/constant 1.017s ok go/doc 1.174s ok go/doc/comment 2.544s ok go/format 1.031s ok go/importer 1.497s ok go/internal/gccgoimporter 1.032s ok go/internal/gcimporter 7.764s ok go/internal/srcimporter 10.803s ok go/parser 1.707s ok go/printer 2.084s ok go/scanner 1.016s ok go/token 1.083s ok go/types 28.420s ok go/version 1.010s ok hash 1.012s ok hash/adler32 1.029s ok hash/crc32 1.032s ok hash/crc64 1.018s ok hash/fnv 1.011s ok hash/maphash 1.013s ok html 1.011s ok html/template 1.165s ok image 1.288s ok image/color 1.023s ok image/draw 1.387s ok image/gif 1.658s ok image/jpeg 1.963s ok image/png 3.107s ok index/suffixarray 1.749s ok internal/abi 1.040s ok internal/buildcfg 1.010s ok internal/coverage/cformat 1.012s ok internal/coverage/cmerge 1.011s ok internal/coverage/pods 1.012s ok internal/coverage/slicereader 1.010s ok internal/coverage/slicewriter 1.010s ok internal/coverage/test 1.031s ok internal/cpu 3.030s ok internal/dag 1.011s ok internal/diff 1.012s ok internal/fmtsort 1.011s ok internal/fuzz 1.026s ok internal/godebug 17.539s ok internal/godebugs 1.010s ok internal/gover 1.012s ok internal/intern 1.216s ok internal/itoa 1.011s ok internal/platform 1.465s ok internal/poll 1.365s ok internal/profile 1.012s ok internal/reflectlite 1.013s ok internal/safefilepath 1.010s ok internal/saferio 1.243s ok internal/singleflight 1.082s ok internal/testenv 1.106s ok internal/trace 1.162s ok internal/trace/v2 5.833s ok internal/types/errors 1.263s ok internal/unsafeheader 1.011s ok internal/xcoff 1.022s ok internal/zstd 1.057s ok io 1.041s ok io/fs 1.196s ok io/ioutil 1.014s ok log 1.017s ok log/slog 1.101s ok log/slog/internal/benchmarks 1.011s ok log/slog/internal/buffer 1.011s ok log/syslog 2.227s ok maps 1.012s ok math 1.020s ok math/big 3.176s ok math/bits 1.017s ok math/cmplx 1.013s ok math/rand 3.527s ok math/rand/v2 2.231s ok mime 1.024s ok mime/multipart 4.599s ok mime/quotedprintable 1.042s ok net 39.555s ok net/http 7.240s ok net/http/cgi 27.347s ok net/http/cookiejar 1.018s ok net/http/fcgi 1.217s ok net/http/httptest 1.155s ok net/http/httptrace 1.011s ok net/http/httputil 1.620s ok net/http/internal 1.014s ok net/http/internal/ascii 1.010s ok net/http/pprof 6.140s ok net/internal/socktest 1.011s ok net/mail 1.015s ok net/netip 1.264s ok net/rpc 1.044s ok net/rpc/jsonrpc 1.018s ok net/smtp 1.052s ok net/textproto 1.034s ok net/url 1.019s ok os 7.097s ok os/exec 7.134s ok os/exec/internal/fdtest 1.010s ok os/signal 16.968s ok os/user 1.011s ok path 1.012s ok path/filepath 1.030s ok plugin 1.010s ok reflect 1.417s ok regexp 3.068s ok regexp/syntax 5.124s ok runtime 32.651s ok runtime/cgo 1.011s ok runtime/coverage 1.011s ok runtime/debug 2.056s ok runtime/internal/atomic 1.049s ok runtime/internal/math 1.010s ok runtime/internal/sys 1.011s ok runtime/internal/syscall 1.010s ok runtime/internal/wasitest 1.010s ok runtime/metrics 1.020s ok runtime/pprof 18.588s ok runtime/race 9.197s ok runtime/trace 1.117s ok slices 1.276s ok sort 1.321s ok strconv 2.501s ok strings 2.048s ok sync 1.350s ok sync/atomic 2.532s ok syscall 11.111s ok testing 3.032s ok testing/fstest 1.014s ok testing/iotest 1.011s ok testing/quick 1.112s ok testing/slogtest 1.014s ok text/scanner 1.020s ok text/tabwriter 1.013s ok text/template 1.056s ok text/template/parse 1.020s ok time 2.901s ok unicode 1.016s ok unicode/utf16 1.012s ok unicode/utf8 1.018s ok cmd/addr2line 4.019s ok cmd/api 1.374s ok cmd/asm/internal/asm 3.459s ok cmd/asm/internal/lex 1.013s ok cmd/cgo/internal/swig 1.500s ok cmd/cgo/internal/test 1.973s ok cmd/cgo/internal/testcarchive 16.880s ok cmd/cgo/internal/testcshared 4.268s ok cmd/cgo/internal/testerrors 7.325s ok cmd/cgo/internal/testfortran 1.882s ok cmd/cgo/internal/testgodefs 1.408s ok cmd/cgo/internal/testlife 1.415s ok cmd/cgo/internal/testnocgo 1.010s ok cmd/cgo/internal/testplugin 22.614s ok cmd/cgo/internal/testsanitizers 13.851s ok cmd/cgo/internal/testshared 29.623s ok cmd/cgo/internal/testso 2.003s ok cmd/cgo/internal/teststdio 1.906s ok cmd/cgo/internal/testtls 1.010s ok cmd/compile/internal/abt 1.030s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/amd64 61.294s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/base 1.011s ok cmd/compile/internal/compare 1.011s ok cmd/compile/internal/devirtualize 1.013s ok cmd/compile/internal/dwarfgen 1.329s ok cmd/compile/internal/importer 1.610s ok cmd/compile/internal/inline/inlheur 1.288s ok cmd/compile/internal/ir 1.012s ok cmd/compile/internal/logopt 1.159s ok cmd/compile/internal/loopvar 19.711s ok cmd/compile/internal/noder 1.013s ok cmd/compile/internal/reflectdata 1.011s [no tests to run] ok cmd/compile/internal/ssa 19.078s ok cmd/compile/internal/syntax 1.103s ok cmd/compile/internal/test 10.333s ok cmd/compile/internal/typecheck 1.159s ok cmd/compile/internal/types 1.011s ok cmd/compile/internal/types2 7.598s ok cmd/covdata 1.013s ok cmd/cover 16.550s ok cmd/dist 1.011s ok cmd/distpack 1.010s ok cmd/doc 1.310s ok cmd/fix 1.470s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Testing packages. ok cmd/go 164.271s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Testing packages. ok cmd/go/internal/auth 1.011s ok cmd/go/internal/cache 1.061s ok cmd/go/internal/cfg 1.011s [no tests to run] ok cmd/go/internal/envcmd 1.026s ok cmd/go/internal/fsys 1.027s ok cmd/go/internal/generate 1.018s ok cmd/go/internal/gover 1.011s ok cmd/go/internal/imports 1.019s ok cmd/go/internal/load 1.015s ok cmd/go/internal/lockedfile 2.116s ok cmd/go/internal/lockedfile/internal/filelock 2.042s ok cmd/go/internal/modfetch 1.020s ok cmd/go/internal/modfetch/codehost 1.281s ok cmd/go/internal/modfetch/zip_sum_test 1.014s ok cmd/go/internal/modindex 1.427s ok cmd/go/internal/modload 1.020s ok cmd/go/internal/mvs 1.027s ok cmd/go/internal/par 1.060s ok cmd/go/internal/str 1.010s ok cmd/go/internal/test 1.026s ok cmd/go/internal/toolchain 1.019s ok cmd/go/internal/vcs 1.015s ok cmd/go/internal/vcweb 1.016s ok cmd/go/internal/vcweb/vcstest 3.707s ok cmd/go/internal/web 1.011s ok cmd/go/internal/work 1.092s ok cmd/gofmt 1.134s ok cmd/internal/archive 1.283s ok cmd/internal/buildid 1.374s ok cmd/internal/cov 1.194s ok cmd/internal/dwarf 1.010s ok cmd/internal/edit 1.010s ok cmd/internal/bootstrap_test 1.010s ok cmd/internal/goobj 1.010s ok cmd/internal/moddeps 1.751s ok cmd/internal/notsha256 1.012s ok cmd/internal/obj 1.308s ok cmd/internal/obj/ppc64 1.072s ok cmd/internal/obj/riscv 1.033s ok cmd/internal/obj/s390x 1.010s ok cmd/internal/obj/x86 1.129s ok cmd/internal/objabi 1.030s ok cmd/internal/pkgpath 5.049s ok cmd/internal/pkgpattern 1.014s ok cmd/internal/quoted 1.012s ok cmd/internal/src 1.012s ok cmd/internal/test2json 1.525s ok cmd/link 9.311s ok cmd/link/internal/benchmark 1.013s ok cmd/link/internal/ld 5.127s ok cmd/link/internal/loader 1.028s ok cmd/nm 9.126s ok cmd/objdump 4.779s ok cmd/pack 7.222s ok cmd/pprof 3.342s ok cmd/trace 1.017s ok cmd/trace/v2 1.215s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Testing packages. ok cmd/vet 33.030s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: archive/tar cpu: AMD EPYC 7B12 Benchmark/Writer/USTAR-4 3561 29411 ns/op 1368 B/op 25 allocs/op Benchmark/Writer/GNU-4 2790 37854 ns/op 1854 B/op 36 allocs/op Benchmark/Writer/PAX-4 2212 56477 ns/op 2512 B/op 57 allocs/op Benchmark/Reader/USTAR-4 5071 19750 ns/op 5232 B/op 16 allocs/op Benchmark/Reader/GNU-4 8282 14112 ns/op 5132 B/op 15 allocs/op Benchmark/Reader/PAX-4 2684 40499 ns/op 8837 B/op 33 allocs/op PASS ok archive/tar 1.811s goos: linux goarch: amd64 pkg: archive/zip cpu: AMD EPYC 7B12 BenchmarkCompressedZipGarbage-4 1 257792534 ns/op 14880 B/op 66 allocs/op BenchmarkZip64Test-4 1 103015508 ns/op BenchmarkZip64TestSizes/4096-4 1849 54854 ns/op BenchmarkZip64TestSizes/1048576-4 254 494610 ns/op BenchmarkZip64TestSizes/67108864-4 1 100512367 ns/op PASS ok archive/zip 2.109s goos: linux goarch: amd64 pkg: bufio cpu: AMD EPYC 7B12 BenchmarkReaderCopyOptimal-4 318080 347.7 ns/op BenchmarkReaderCopyUnoptimal-4 204352 555.8 ns/op BenchmarkReaderCopyNoWriteTo-4 7654 14557 ns/op BenchmarkReaderWriteToOptimal-4 13638 8974 ns/op BenchmarkReaderReadString-4 175093 664.3 ns/op 144 B/op 1 allocs/op BenchmarkWriterCopyOptimal-4 310533 389.9 ns/op BenchmarkWriterCopyUnoptimal-4 322370 376.5 ns/op BenchmarkWriterCopyNoReadFrom-4 10000 14537 ns/op BenchmarkReaderEmpty-4 48400 2572 ns/op 4224 B/op 3 allocs/op BenchmarkWriterEmpty-4 38342 3134 ns/op 4096 B/op 1 allocs/op BenchmarkWriterFlush-4 739075 161.6 ns/op 0 B/op 0 allocs/op PASS ok bufio 2.656s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: bytes cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadString-4 4885 25931 ns/op 1263.65 MB/s BenchmarkWriteByte-4 474 245245 ns/op 16.70 MB/s BenchmarkWriteRune-4 267 443390 ns/op 27.71 MB/s BenchmarkBufferNotEmptyWriteRead-4 31 3768411 ns/op BenchmarkBufferFullSmallReads-4 100 1107544 ns/op BenchmarkBufferWriteBlock/N4096-4 7650 15738 ns/op 14336 B/op 6 allocs/op BenchmarkBufferWriteBlock/N65536-4 417 269256 ns/op 260097 B/op 14 allocs/op BenchmarkBufferWriteBlock/N1048576-4 5 24326036 ns/op 4192275 B/op 22 allocs/op BenchmarkBufferAppendNoCopy-4 1 161346897 ns/op 103.98 MB/s 33554432 B/op 2 allocs/op BenchmarkIndexByte/10-4 4955068 23.86 ns/op 419.18 MB/s BenchmarkIndexByte/32-4 4827435 24.80 ns/op 1290.19 MB/s BenchmarkIndexByte/4K-4 900584 132.7 ns/op 30861.00 MB/s BenchmarkIndexBytePortable/10-4 925932 120.0 ns/op 83.35 MB/s BenchmarkIndexBytePortable/32-4 304928 386.0 ns/op 82.91 MB/s BenchmarkIndexBytePortable/4K-4 2545 45588 ns/op 89.85 MB/s BenchmarkIndexRune/10-4 1233267 96.77 ns/op 103.34 MB/s BenchmarkIndexRune/32-4 1275345 93.46 ns/op 342.38 MB/s BenchmarkIndexRune/4K-4 394882 300.0 ns/op 13654.86 MB/s BenchmarkIndexRuneASCII/10-4 5050854 23.65 ns/op 422.82 MB/s BenchmarkIndexRuneASCII/32-4 4835768 24.74 ns/op 1293.66 MB/s BenchmarkIndexRuneASCII/4K-4 898563 131.4 ns/op 31179.67 MB/s BenchmarkEqual/0-4 7600784 15.84 ns/op BenchmarkEqual/1-4 1612938 74.04 ns/op 13.51 MB/s BenchmarkEqual/6-4 1592293 75.17 ns/op 79.81 MB/s BenchmarkEqual/9-4 1574547 75.56 ns/op 119.11 MB/s BenchmarkEqual/15-4 1551254 76.65 ns/op 195.70 MB/s BenchmarkEqual/16-4 1646901 72.94 ns/op 219.37 MB/s BenchmarkEqual/20-4 1514700 78.72 ns/op 254.07 MB/s BenchmarkEqual/32-4 1542978 77.56 ns/op 412.56 MB/s BenchmarkEqual/4K-4 110833 1085 ns/op 3775.85 MB/s BenchmarkEqualBothUnaligned/64_0-4 1727941 69.87 ns/op 916.02 MB/s BenchmarkEqualBothUnaligned/64_1-4 1418613 84.57 ns/op 756.80 MB/s BenchmarkEqualBothUnaligned/64_4-4 1648404 72.45 ns/op 883.35 MB/s BenchmarkEqualBothUnaligned/64_7-4 1642764 72.81 ns/op 879.03 MB/s BenchmarkEqualBothUnaligned/4096_0-4 101773 1110 ns/op 3689.07 MB/s BenchmarkEqualBothUnaligned/4096_1-4 68232 1773 ns/op 2310.42 MB/s BenchmarkEqualBothUnaligned/4096_4-4 119121 1008 ns/op 4064.02 MB/s BenchmarkEqualBothUnaligned/4096_7-4 117786 1011 ns/op 4051.64 MB/s BenchmarkIndex/10-4 3010647 39.72 ns/op 251.78 MB/s BenchmarkIndex/32-4 3207489 37.20 ns/op 860.19 MB/s BenchmarkIndex/4K-4 35562 3371 ns/op 1215.19 MB/s BenchmarkIndexEasy/10-4 3086326 38.64 ns/op 258.81 MB/s BenchmarkIndexEasy/32-4 3420187 35.35 ns/op 905.24 MB/s BenchmarkIndexEasy/4K-4 494485 240.0 ns/op 17068.93 MB/s BenchmarkCount/10-4 1678393 71.49 ns/op 139.87 MB/s BenchmarkCount/32-4 1679143 71.49 ns/op 447.59 MB/s BenchmarkCount/4K-4 34914 3423 ns/op 1196.73 MB/s BenchmarkCountEasy/10-4 1645266 72.77 ns/op 137.42 MB/s BenchmarkCountEasy/32-4 1649080 72.00 ns/op 444.42 MB/s BenchmarkCountEasy/4K-4 404410 276.6 ns/op 14806.81 MB/s BenchmarkCountSingle/10-4 3390439 35.54 ns/op 281.34 MB/s BenchmarkCountSingle/32-4 3191767 38.10 ns/op 839.97 MB/s BenchmarkCountSingle/4K-4 909192 127.2 ns/op 32196.92 MB/s BenchmarkToUpper/#00-4 2837936 42.75 ns/op BenchmarkToUpper/ONLYUPPER-4 314856 388.3 ns/op BenchmarkToUpper/abc-4 490648 244.9 ns/op BenchmarkToUpper/AbC123-4 297732 394.9 ns/op BenchmarkToUpper/azAZ09_-4 272160 431.1 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 87612 1378 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 41420 2834 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 58633 2053 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 133252 910.1 ns/op BenchmarkToLower/#00-4 2758166 43.61 ns/op BenchmarkToLower/abc-4 462237 254.0 ns/op BenchmarkToLower/AbC123-4 300019 386.3 ns/op BenchmarkToLower/azAZ09_-4 274755 424.6 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 85822 1374 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 43131 2783 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 72884 1646 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 131256 932.1 ns/op BenchmarkFields/ASCII/16-4 148833 821.1 ns/op 19.49 MB/s 48 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 9746 12123 ns/op 21.12 MB/s 704 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 622 187547 ns/op 21.84 MB/s 9472 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 30 3775495 ns/op 17.36 MB/s 147456 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 2 57247809 ns/op 18.32 MB/s 2277376 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 84969 1385 ns/op 11.55 MB/s 48 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 6654 17538 ns/op 14.60 MB/s 576 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 367 307585 ns/op 13.32 MB/s 24832 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 18 6271703 ns/op 10.45 MB/s 512256 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 1 129113347 ns/op 8.12 MB/s 11211008 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 160057 708.4 ns/op 22.59 MB/s 48 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 12430 9432 ns/op 27.14 MB/s 704 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 687 166068 ns/op 24.66 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 27 4010982 ns/op 16.34 MB/s 512256 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 88034900 ns/op 11.91 MB/s 11219200 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 112394 1071 ns/op 14.93 MB/s 48 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 8792 12564 ns/op 20.38 MB/s 576 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 520 218115 ns/op 18.78 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 25 4775397 ns/op 13.72 MB/s 512256 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 1 106539512 ns/op 9.84 MB/s 11211008 B/op 24 allocs/op BenchmarkTrimSpace/NoTrim-4 1993134 59.78 ns/op BenchmarkTrimSpace/ASCII-4 948470 122.7 ns/op BenchmarkTrimSpace/SomeNonASCII-4 116079 1010 ns/op BenchmarkTrimSpace/JustNonASCII-4 52317 2289 ns/op BenchmarkToValidUTF8/Valid-4 482624 232.6 ns/op BenchmarkToValidUTF8/InvalidASCII-4 307468 346.1 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 105091 1127 ns/op BenchmarkIndexHard1-4 853 137375 ns/op BenchmarkIndexHard2-4 615 193364 ns/op BenchmarkIndexHard3-4 152 789205 ns/op BenchmarkIndexHard4-4 132 907843 ns/op BenchmarkLastIndexHard1-4 6 20018429 ns/op BenchmarkLastIndexHard2-4 4 25674791 ns/op BenchmarkLastIndexHard3-4 4 28090748 ns/op BenchmarkCountHard1-4 862 137419 ns/op BenchmarkCountHard2-4 616 192880 ns/op BenchmarkCountHard3-4 152 788558 ns/op BenchmarkSplitEmptySeparator-4 1 199778742 ns/op BenchmarkSplitSingleByteSeparator-4 9 12636243 ns/op BenchmarkSplitMultiByteSeparator-4 10 10759062 ns/op BenchmarkSplitNSingleByteSeparator-4 186741 620.4 ns/op BenchmarkSplitNMultiByteSeparator-4 71438 1620 ns/op BenchmarkRepeat-4 203245 599.3 ns/op BenchmarkRepeatLarge/256/1-4 153858 836.9 ns/op 305.88 MB/s BenchmarkRepeatLarge/256/16-4 201006 535.3 ns/op 478.21 MB/s BenchmarkRepeatLarge/512/1-4 109050 1083 ns/op 472.94 MB/s BenchmarkRepeatLarge/512/16-4 148844 830.9 ns/op 616.18 MB/s BenchmarkRepeatLarge/1024/1-4 65928 1691 ns/op 605.51 MB/s BenchmarkRepeatLarge/1024/16-4 71007 1514 ns/op 676.55 MB/s BenchmarkRepeatLarge/2048/1-4 39057 2691 ns/op 761.18 MB/s BenchmarkRepeatLarge/2048/16-4 41712 2513 ns/op 814.88 MB/s BenchmarkRepeatLarge/4096/1-4 22774 4442 ns/op 922.14 MB/s BenchmarkRepeatLarge/4096/16-4 29114 3970 ns/op 1031.65 MB/s BenchmarkRepeatLarge/8192/1-4 13340 8357 ns/op 980.26 MB/s BenchmarkRepeatLarge/8192/16-4 15688 8880 ns/op 922.52 MB/s BenchmarkRepeatLarge/8192/4097-4 24631 4422 ns/op 926.58 MB/s BenchmarkRepeatLarge/16384/1-4 7693 16591 ns/op 987.52 MB/s BenchmarkRepeatLarge/16384/16-4 10000 14086 ns/op 1163.16 MB/s BenchmarkRepeatLarge/16384/4097-4 7928 12782 ns/op 961.62 MB/s BenchmarkRepeatLarge/32768/1-4 4683 28412 ns/op 1153.32 MB/s BenchmarkRepeatLarge/32768/16-4 3970 26185 ns/op 1251.40 MB/s BenchmarkRepeatLarge/32768/4097-4 4917 26350 ns/op 1088.41 MB/s BenchmarkRepeatLarge/65536/1-4 1944 54632 ns/op 1199.60 MB/s BenchmarkRepeatLarge/65536/16-4 2212 54335 ns/op 1206.15 MB/s BenchmarkRepeatLarge/65536/4097-4 2528 58928 ns/op 1042.87 MB/s BenchmarkRepeatLarge/131072/1-4 189 633230 ns/op 206.99 MB/s BenchmarkRepeatLarge/131072/16-4 181 644347 ns/op 203.42 MB/s BenchmarkRepeatLarge/131072/4097-4 178 647272 ns/op 196.22 MB/s BenchmarkRepeatLarge/262144/1-4 100 1258754 ns/op 208.26 MB/s BenchmarkRepeatLarge/262144/16-4 100 1204656 ns/op 217.61 MB/s BenchmarkRepeatLarge/262144/4097-4 100 1197393 ns/op 215.56 MB/s BenchmarkRepeatLarge/524288/1-4 44 2428530 ns/op 215.89 MB/s BenchmarkRepeatLarge/524288/16-4 43 2420488 ns/op 216.60 MB/s BenchmarkRepeatLarge/524288/4097-4 50 2502319 ns/op 207.93 MB/s BenchmarkRepeatLarge/1048576/1-4 22 4960314 ns/op 211.39 MB/s BenchmarkRepeatLarge/1048576/16-4 25 5001958 ns/op 209.63 MB/s BenchmarkRepeatLarge/1048576/4097-4 26 5025025 ns/op 207.91 MB/s BenchmarkRepeatLarge/2097152/1-4 13 8890906 ns/op 235.88 MB/s BenchmarkRepeatLarge/2097152/16-4 13 8788574 ns/op 238.62 MB/s BenchmarkRepeatLarge/2097152/4097-4 14 8986219 ns/op 232.98 MB/s BenchmarkRepeatLarge/4194304/1-4 6 18033156 ns/op 232.59 MB/s BenchmarkRepeatLarge/4194304/16-4 6 18982690 ns/op 220.95 MB/s BenchmarkRepeatLarge/4194304/4097-4 6 18055173 ns/op 232.13 MB/s BenchmarkRepeatLarge/8388608/1-4 3 38415848 ns/op 218.36 MB/s BenchmarkRepeatLarge/8388608/16-4 3 38481960 ns/op 217.99 MB/s BenchmarkRepeatLarge/8388608/4097-4 3 39178606 ns/op 214.06 MB/s BenchmarkRepeatLarge/16777216/1-4 2 73648623 ns/op 227.80 MB/s BenchmarkRepeatLarge/16777216/16-4 2 69000725 ns/op 243.15 MB/s BenchmarkRepeatLarge/16777216/4097-4 2 72214549 ns/op 232.32 MB/s BenchmarkRepeatLarge/33554432/1-4 1 139483973 ns/op 240.56 MB/s BenchmarkRepeatLarge/33554432/16-4 1 138076041 ns/op 243.01 MB/s BenchmarkRepeatLarge/33554432/4097-4 1 143098461 ns/op 234.48 MB/s BenchmarkRepeatLarge/67108864/1-4 1 289773496 ns/op 231.59 MB/s BenchmarkRepeatLarge/67108864/16-4 1 285963128 ns/op 234.68 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 285632361 ns/op 234.95 MB/s BenchmarkRepeatLarge/134217728/1-4 1 582968430 ns/op 230.23 MB/s BenchmarkRepeatLarge/134217728/16-4 1 563159140 ns/op 238.33 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 566302768 ns/op 237.01 MB/s BenchmarkRepeatLarge/268435456/1-4 1 1173859166 ns/op 228.68 MB/s BenchmarkRepeatLarge/268435456/16-4 1 1073958699 ns/op 249.95 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 1138268625 ns/op 235.83 MB/s BenchmarkRepeatLarge/536870912/1-4 1 2335717187 ns/op 229.85 MB/s BenchmarkRepeatLarge/536870912/16-4 1 2179620275 ns/op 246.31 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 2241622485 ns/op 239.50 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 4605996707 ns/op 233.12 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 4218073810 ns/op 254.56 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 4233247899 ns/op 253.64 MB/s BenchmarkBytesCompare/1-4 11623778 10.25 ns/op BenchmarkBytesCompare/2-4 11264157 10.19 ns/op BenchmarkBytesCompare/4-4 11704302 10.53 ns/op BenchmarkBytesCompare/8-4 11762890 10.17 ns/op BenchmarkBytesCompare/16-4 12117504 9.882 ns/op BenchmarkBytesCompare/32-4 9760407 10.91 ns/op BenchmarkBytesCompare/64-4 9690392 12.47 ns/op BenchmarkBytesCompare/128-4 8588854 13.24 ns/op BenchmarkBytesCompare/256-4 6698061 16.32 ns/op BenchmarkBytesCompare/512-4 5054722 22.53 ns/op BenchmarkBytesCompare/1024-4 3402188 36.04 ns/op BenchmarkBytesCompare/2048-4 1981485 61.51 ns/op BenchmarkIndexAnyASCII/1:1-4 2492289 48.89 ns/op BenchmarkIndexAnyASCII/1:2-4 2467038 49.17 ns/op BenchmarkIndexAnyASCII/1:4-4 2492901 49.39 ns/op BenchmarkIndexAnyASCII/1:8-4 2506269 47.96 ns/op BenchmarkIndexAnyASCII/1:16-4 2465353 47.95 ns/op BenchmarkIndexAnyASCII/1:32-4 2429137 49.04 ns/op BenchmarkIndexAnyASCII/1:64-4 2413366 49.37 ns/op BenchmarkIndexAnyASCII/16:1-4 2597304 45.87 ns/op BenchmarkIndexAnyASCII/16:2-4 355448 329.2 ns/op BenchmarkIndexAnyASCII/16:4-4 340306 335.6 ns/op BenchmarkIndexAnyASCII/16:8-4 350451 333.2 ns/op BenchmarkIndexAnyASCII/16:16-4 321357 343.5 ns/op BenchmarkIndexAnyASCII/16:32-4 315214 369.9 ns/op BenchmarkIndexAnyASCII/16:64-4 271850 422.5 ns/op BenchmarkIndexAnyASCII/256:1-4 2462646 49.15 ns/op BenchmarkIndexAnyASCII/256:2-4 26902 4436 ns/op BenchmarkIndexAnyASCII/256:4-4 26776 4429 ns/op BenchmarkIndexAnyASCII/256:8-4 26660 4449 ns/op BenchmarkIndexAnyASCII/256:16-4 26493 4418 ns/op BenchmarkIndexAnyASCII/256:32-4 26656 4472 ns/op BenchmarkIndexAnyASCII/256:64-4 26312 4505 ns/op BenchmarkIndexAnyUTF8/1:1-4 2558856 47.02 ns/op BenchmarkIndexAnyUTF8/1:2-4 2498982 48.07 ns/op BenchmarkIndexAnyUTF8/1:4-4 2452814 47.98 ns/op BenchmarkIndexAnyUTF8/1:8-4 2495454 47.90 ns/op BenchmarkIndexAnyUTF8/1:16-4 2509483 47.71 ns/op BenchmarkIndexAnyUTF8/1:32-4 2435824 49.05 ns/op BenchmarkIndexAnyUTF8/1:64-4 2416119 49.05 ns/op BenchmarkIndexAnyUTF8/16:1-4 156782 722.5 ns/op BenchmarkIndexAnyUTF8/16:2-4 294518 396.1 ns/op BenchmarkIndexAnyUTF8/16:4-4 302864 394.3 ns/op BenchmarkIndexAnyUTF8/16:8-4 304899 389.7 ns/op BenchmarkIndexAnyUTF8/16:16-4 305743 395.3 ns/op BenchmarkIndexAnyUTF8/16:32-4 286341 410.5 ns/op BenchmarkIndexAnyUTF8/16:64-4 288453 403.5 ns/op BenchmarkIndexAnyUTF8/256:1-4 10000 10578 ns/op BenchmarkIndexAnyUTF8/256:2-4 21043 5651 ns/op BenchmarkIndexAnyUTF8/256:4-4 21224 5617 ns/op BenchmarkIndexAnyUTF8/256:8-4 21147 5662 ns/op BenchmarkIndexAnyUTF8/256:16-4 21187 5668 ns/op BenchmarkIndexAnyUTF8/256:32-4 19984 6139 ns/op BenchmarkIndexAnyUTF8/256:64-4 20286 5885 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2499817 47.78 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2534090 47.06 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2557359 46.68 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2559598 48.72 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2610813 45.96 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2559592 46.72 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2536196 46.92 ns/op BenchmarkLastIndexAnyASCII/16:1-4 370758 319.4 ns/op BenchmarkLastIndexAnyASCII/16:2-4 371302 318.9 ns/op BenchmarkLastIndexAnyASCII/16:4-4 362204 323.4 ns/op BenchmarkLastIndexAnyASCII/16:8-4 333162 321.2 ns/op BenchmarkLastIndexAnyASCII/16:16-4 354514 332.5 ns/op BenchmarkLastIndexAnyASCII/16:32-4 326366 365.8 ns/op BenchmarkLastIndexAnyASCII/16:64-4 287832 416.8 ns/op BenchmarkLastIndexAnyASCII/256:1-4 26937 4476 ns/op BenchmarkLastIndexAnyASCII/256:2-4 27141 4384 ns/op BenchmarkLastIndexAnyASCII/256:4-4 27250 4369 ns/op BenchmarkLastIndexAnyASCII/256:8-4 27400 4359 ns/op BenchmarkLastIndexAnyASCII/256:16-4 27362 4382 ns/op BenchmarkLastIndexAnyASCII/256:32-4 26734 4448 ns/op BenchmarkLastIndexAnyASCII/256:64-4 26127 4491 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2476702 48.17 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2490648 47.34 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2529231 47.19 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2537661 47.40 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2540385 47.14 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2495994 47.59 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2507318 47.36 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 262801 446.8 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 280100 413.6 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 289262 410.3 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 289956 414.2 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 283130 414.9 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 282237 424.2 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 278257 424.0 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 18736 6425 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 20078 6033 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 19962 6143 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 20085 5963 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 20234 5884 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 19276 6183 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 19663 6147 ns/op BenchmarkTrimASCII/1:1-4 2997199 39.56 ns/op BenchmarkTrimASCII/1:2-4 2444646 49.84 ns/op BenchmarkTrimASCII/1:4-4 2306997 52.03 ns/op BenchmarkTrimASCII/1:8-4 2120816 56.57 ns/op BenchmarkTrimASCII/1:16-4 1764000 67.69 ns/op BenchmarkTrimASCII/16:1-4 498728 230.7 ns/op BenchmarkTrimASCII/16:2-4 363268 324.8 ns/op BenchmarkTrimASCII/16:4-4 366474 325.7 ns/op BenchmarkTrimASCII/16:8-4 360402 321.2 ns/op BenchmarkTrimASCII/16:16-4 335032 338.2 ns/op BenchmarkTrimASCII/256:1-4 38776 3114 ns/op BenchmarkTrimASCII/256:2-4 27213 4403 ns/op BenchmarkTrimASCII/256:4-4 27296 4371 ns/op BenchmarkTrimASCII/256:8-4 27416 4348 ns/op BenchmarkTrimASCII/256:16-4 24189 4431 ns/op BenchmarkTrimASCII/4096:1-4 2426 49068 ns/op BenchmarkTrimASCII/4096:2-4 1707 69177 ns/op BenchmarkTrimASCII/4096:4-4 1666 68726 ns/op BenchmarkTrimASCII/4096:8-4 1698 68398 ns/op BenchmarkTrimASCII/4096:16-4 1675 69142 ns/op BenchmarkTrimByte-4 2035108 59.03 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 13648 8764 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 13663 8747 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 643 182625 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 1263 91316 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 2366 45898 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 4408 23685 ns/op BenchmarkCompareBytesEqual-4 10430344 10.91 ns/op BenchmarkCompareBytesToNil-4 11749194 10.17 ns/op BenchmarkCompareBytesEmpty-4 11954413 9.459 ns/op BenchmarkCompareBytesIdentical-4 12230229 9.851 ns/op BenchmarkCompareBytesSameLength-4 10270690 11.65 ns/op BenchmarkCompareBytesDifferentLength-4 9878391 11.63 ns/op BenchmarkCompareBytesBigUnaligned/offset=1-4 1820 63916 ns/op 16405.76 MB/s BenchmarkCompareBytesBigUnaligned/offset=2-4 1886 62806 ns/op 16695.69 MB/s BenchmarkCompareBytesBigUnaligned/offset=3-4 1768 63012 ns/op 16640.94 MB/s BenchmarkCompareBytesBigUnaligned/offset=4-4 1885 63042 ns/op 16633.21 MB/s BenchmarkCompareBytesBigUnaligned/offset=5-4 1873 64084 ns/op 16362.72 MB/s BenchmarkCompareBytesBigUnaligned/offset=6-4 1824 62957 ns/op 16655.55 MB/s BenchmarkCompareBytesBigUnaligned/offset=7-4 1758 63078 ns/op 16623.60 MB/s BenchmarkCompareBytesBigBothUnaligned/offset=0-4 1885 62172 ns/op 16866.02 MB/s BenchmarkCompareBytesBigBothUnaligned/offset=1-4 1873 62952 ns/op 16657.01 MB/s BenchmarkCompareBytesBigBothUnaligned/offset=2-4 1879 62934 ns/op 16661.67 MB/s BenchmarkCompareBytesBigBothUnaligned/offset=3-4 1872 63676 ns/op 16467.39 MB/s BenchmarkCompareBytesBigBothUnaligned/offset=4-4 1862 63953 ns/op 16396.25 MB/s BenchmarkCompareBytesBigBothUnaligned/offset=5-4 1860 63552 ns/op 16499.57 MB/s BenchmarkCompareBytesBigBothUnaligned/offset=6-4 1858 63693 ns/op 16462.92 MB/s BenchmarkCompareBytesBigBothUnaligned/offset=7-4 1846 62818 ns/op 16692.36 MB/s BenchmarkCompareBytesBig-4 1854 62500 ns/op 16777.47 MB/s BenchmarkCompareBytesBigIdentical-4 13234641 9.083 ns/op 115445912.36 MB/s PASS ok bytes 77.387s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: compress/bzip2 cpu: AMD EPYC 7B12 BenchmarkDecodeDigits-4 2 58951408 ns/op 1.70 MB/s 3616376 B/op 52 allocs/op BenchmarkDecodeNewton-4 1 254454614 ns/op 2.23 MB/s 3629856 B/op 50 allocs/op BenchmarkDecodeRand-4 6 18611506 ns/op 0.88 MB/s 3647536 B/op 52 allocs/op PASS ok compress/bzip2 1.979s goos: linux goarch: amd64 pkg: compress/flate cpu: AMD EPYC 7B12 BenchmarkDecode/Digits/Huffman/1e4-4 78 1362246 ns/op 7.34 MB/s 42009 B/op 5 allocs/op BenchmarkDecode/Digits/Huffman/1e5-4 8 13169937 ns/op 7.59 MB/s 44701 B/op 6 allocs/op BenchmarkDecode/Digits/Huffman/1e6-4 1 136034807 ns/op 7.35 MB/s 49264 B/op 9 allocs/op BenchmarkDecode/Digits/Speed/1e4-4 84 1357739 ns/op 7.37 MB/s 42675 B/op 8 allocs/op BenchmarkDecode/Digits/Speed/1e5-4 8 13569064 ns/op 7.37 MB/s 44989 B/op 12 allocs/op BenchmarkDecode/Digits/Speed/1e6-4 1 136407657 ns/op 7.33 MB/s 53024 B/op 77 allocs/op BenchmarkDecode/Digits/Default/1e4-4 86 1342204 ns/op 7.45 MB/s 42777 B/op 7 allocs/op BenchmarkDecode/Digits/Default/1e5-4 8 12743751 ns/op 7.85 MB/s 43954 B/op 14 allocs/op BenchmarkDecode/Digits/Default/1e6-4 1 130444637 ns/op 7.67 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Digits/Compression/1e4-4 84 1334133 ns/op 7.50 MB/s 42243 B/op 7 allocs/op BenchmarkDecode/Digits/Compression/1e5-4 8 12745473 ns/op 7.85 MB/s 42927 B/op 13 allocs/op BenchmarkDecode/Digits/Compression/1e6-4 1 128027008 ns/op 7.81 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Newton/Huffman/1e4-4 76 1458446 ns/op 6.86 MB/s 42867 B/op 14 allocs/op BenchmarkDecode/Newton/Huffman/1e5-4 7 14739002 ns/op 6.78 MB/s 47429 B/op 23 allocs/op BenchmarkDecode/Newton/Huffman/1e6-4 1 149254786 ns/op 6.70 MB/s 88512 B/op 165 allocs/op BenchmarkDecode/Newton/Speed/1e4-4 88 1144401 ns/op 8.74 MB/s 42929 B/op 18 allocs/op BenchmarkDecode/Newton/Speed/1e5-4 12 9357906 ns/op 10.69 MB/s 47863 B/op 32 allocs/op BenchmarkDecode/Newton/Speed/1e6-4 2 97385698 ns/op 10.27 MB/s 85328 B/op 230 allocs/op BenchmarkDecode/Newton/Default/1e4-4 100 1014789 ns/op 9.85 MB/s 42940 B/op 15 allocs/op BenchmarkDecode/Newton/Default/1e5-4 14 7736852 ns/op 12.93 MB/s 45264 B/op 32 allocs/op BenchmarkDecode/Newton/Default/1e6-4 2 73795608 ns/op 13.55 MB/s 65952 B/op 160 allocs/op BenchmarkDecode/Newton/Compression/1e4-4 117 1014030 ns/op 9.86 MB/s 43647 B/op 15 allocs/op BenchmarkDecode/Newton/Compression/1e5-4 14 7780005 ns/op 12.85 MB/s 44090 B/op 32 allocs/op BenchmarkDecode/Newton/Compression/1e6-4 2 75455288 ns/op 13.25 MB/s 67752 B/op 152 allocs/op BenchmarkEncode/Digits/Huffman/1e4-4 138 867990 ns/op 11.52 MB/s BenchmarkEncode/Digits/Huffman/1e5-4 13 8175417 ns/op 12.23 MB/s BenchmarkEncode/Digits/Huffman/1e6-4 2 82784363 ns/op 12.08 MB/s BenchmarkEncode/Digits/Speed/1e4-4 73 1627110 ns/op 6.15 MB/s BenchmarkEncode/Digits/Speed/1e5-4 7 14678733 ns/op 6.81 MB/s BenchmarkEncode/Digits/Speed/1e6-4 1 144259567 ns/op 6.93 MB/s BenchmarkEncode/Digits/Default/1e4-4 24 4953900 ns/op 2.02 MB/s BenchmarkEncode/Digits/Default/1e5-4 2 54500018 ns/op 1.83 MB/s BenchmarkEncode/Digits/Default/1e6-4 1 575730237 ns/op 1.74 MB/s BenchmarkEncode/Digits/Compression/1e4-4 21 4843720 ns/op 2.06 MB/s BenchmarkEncode/Digits/Compression/1e5-4 2 57236969 ns/op 1.75 MB/s BenchmarkEncode/Digits/Compression/1e6-4 1 580941538 ns/op 1.72 MB/s BenchmarkEncode/Newton/Huffman/1e4-4 100 1052811 ns/op 9.50 MB/s BenchmarkEncode/Newton/Huffman/1e5-4 13 8875052 ns/op 11.27 MB/s BenchmarkEncode/Newton/Huffman/1e6-4 2 88191353 ns/op 11.34 MB/s BenchmarkEncode/Newton/Speed/1e4-4 74 1561550 ns/op 6.40 MB/s BenchmarkEncode/Newton/Speed/1e5-4 9 11832414 ns/op 8.45 MB/s BenchmarkEncode/Newton/Speed/1e6-4 1 114938827 ns/op 8.70 MB/s BenchmarkEncode/Newton/Default/1e4-4 24 4768593 ns/op 2.10 MB/s BenchmarkEncode/Newton/Default/1e5-4 2 53148188 ns/op 1.88 MB/s BenchmarkEncode/Newton/Default/1e6-4 1 531298269 ns/op 1.88 MB/s BenchmarkEncode/Newton/Compression/1e4-4 24 4792066 ns/op 2.09 MB/s BenchmarkEncode/Newton/Compression/1e5-4 2 64332354 ns/op 1.55 MB/s BenchmarkEncode/Newton/Compression/1e6-4 1 690989345 ns/op 1.45 MB/s PASS ok compress/flate 15.120s goos: linux goarch: amd64 pkg: compress/lzw cpu: AMD EPYC 7B12 BenchmarkDecoder/1e4-4 64 1697846 ns/op 5.89 MB/s BenchmarkDecoder/1e-Reuse4-4 69 1798803 ns/op 5.56 MB/s BenchmarkDecoder/1e5-4 6 16950470 ns/op 5.90 MB/s BenchmarkDecoder/1e-Reuse5-4 6 17074996 ns/op 5.86 MB/s BenchmarkDecoder/1e6-4 1 168933796 ns/op 5.92 MB/s BenchmarkDecoder/1e-Reuse6-4 1 169807776 ns/op 5.89 MB/s BenchmarkEncoder/1e4-4 67 1546183 ns/op 6.47 MB/s BenchmarkEncoder/1e-Reuse4-4 84 1406066 ns/op 7.11 MB/s BenchmarkEncoder/1e5-4 7 14547023 ns/op 6.87 MB/s BenchmarkEncoder/1e-Reuse5-4 7 14622298 ns/op 6.84 MB/s BenchmarkEncoder/1e6-4 1 148879646 ns/op 6.72 MB/s BenchmarkEncoder/1e-Reuse6-4 1 145201537 ns/op 6.89 MB/s PASS ok compress/lzw 3.069s goos: linux goarch: amd64 pkg: container/heap cpu: AMD EPYC 7B12 BenchmarkDup-4 32 3343542 ns/op PASS ok container/heap 1.123s goos: linux goarch: amd64 pkg: context cpu: AMD EPYC 7B12 BenchmarkCommonParentCancel-4 21750 4801 ns/op BenchmarkWithTimeout/concurrency=40-4 4897 21560 ns/op BenchmarkWithTimeout/concurrency=4000-4 4549 25845 ns/op BenchmarkWithTimeout/concurrency=400000-4 5935 23099 ns/op BenchmarkCancelTree/depth=1/Root=Background-4 492452 205.3 ns/op BenchmarkCancelTree/depth=1/Root=OpenCanceler-4 18726 6671 ns/op BenchmarkCancelTree/depth=1/Root=ClosedCanceler-4 21896 4993 ns/op BenchmarkCancelTree/depth=10/Root=Background-4 4107 27651 ns/op BenchmarkCancelTree/depth=10/Root=OpenCanceler-4 2625 44820 ns/op BenchmarkCancelTree/depth=10/Root=ClosedCanceler-4 3841 36982 ns/op BenchmarkCancelTree/depth=100/Root=Background-4 382 326706 ns/op BenchmarkCancelTree/depth=100/Root=OpenCanceler-4 265 463461 ns/op BenchmarkCancelTree/depth=100/Root=ClosedCanceler-4 380 291077 ns/op BenchmarkCancelTree/depth=1000/Root=Background-4 32 3408872 ns/op BenchmarkCancelTree/depth=1000/Root=OpenCanceler-4 21 5210447 ns/op BenchmarkCancelTree/depth=1000/Root=ClosedCanceler-4 37 3057641 ns/op BenchmarkCheckCanceled/Err-4 423045 280.6 ns/op BenchmarkCheckCanceled/Done-4 640162 186.0 ns/op BenchmarkContextCancelDone-4 649884 169.0 ns/op BenchmarkDeepValueNewGoRoutine/depth=10-4 25044 4727 ns/op BenchmarkDeepValueNewGoRoutine/depth=20-4 24808 5621 ns/op BenchmarkDeepValueNewGoRoutine/depth=30-4 18566 6229 ns/op BenchmarkDeepValueNewGoRoutine/depth=50-4 15062 7850 ns/op BenchmarkDeepValueNewGoRoutine/depth=100-4 10191 12595 ns/op BenchmarkDeepValueSameGoRoutine/depth=10-4 702220 205.5 ns/op BenchmarkDeepValueSameGoRoutine/depth=20-4 329859 329.1 ns/op BenchmarkDeepValueSameGoRoutine/depth=30-4 229179 526.6 ns/op BenchmarkDeepValueSameGoRoutine/depth=50-4 142447 765.9 ns/op BenchmarkDeepValueSameGoRoutine/depth=100-4 73304 1643 ns/op PASS ok context 10.140s goos: linux goarch: amd64 pkg: crypto/aes cpu: AMD EPYC 7B12 BenchmarkEncrypt-4 2471984 47.83 ns/op 334.54 MB/s BenchmarkDecrypt-4 2545758 48.60 ns/op 329.23 MB/s BenchmarkExpand-4 2016825 56.02 ns/op PASS ok crypto/aes 1.532s goos: linux goarch: amd64 pkg: crypto/cipher cpu: AMD EPYC 7B12 BenchmarkAESGCM/Open-128-64-4 251160 441.3 ns/op 145.04 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-64-4 567466 198.6 ns/op 322.25 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-64-4 272569 472.5 ns/op 135.45 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-64-4 568678 211.7 ns/op 302.26 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-1350-4 159124 763.5 ns/op 1768.28 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-1350-4 229960 510.3 ns/op 2645.35 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-1350-4 144024 817.0 ns/op 1652.36 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-1350-4 206862 575.8 ns/op 2344.69 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-8192-4 54759 2187 ns/op 3746.37 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-8192-4 60990 1973 ns/op 4151.99 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-8192-4 49092 2425 ns/op 3377.81 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-8192-4 53457 2228 ns/op 3676.72 MB/s 0 B/op 0 allocs/op BenchmarkAESCFBEncrypt1K-4 9099 12071 ns/op 84.42 MB/s BenchmarkAESCFBDecrypt1K-4 9008 11708 ns/op 87.03 MB/s BenchmarkAESCFBDecrypt8K-4 1230 93977 ns/op 87.12 MB/s BenchmarkAESOFB1K-4 14947 7986 ns/op 127.59 MB/s BenchmarkAESCTR1K-4 17882 6650 ns/op 153.24 MB/s BenchmarkAESCTR8K-4 2253 53510 ns/op 153.00 MB/s BenchmarkAESCBCEncrypt1K-4 18080 6741 ns/op 151.91 MB/s BenchmarkAESCBCDecrypt1K-4 25994 4566 ns/op 224.26 MB/s PASS ok crypto/cipher 3.826s goos: linux goarch: amd64 pkg: crypto/des cpu: AMD EPYC 7B12 BenchmarkEncrypt-4 109501 1216 ns/op 6.58 MB/s BenchmarkDecrypt-4 101684 1176 ns/op 6.80 MB/s BenchmarkTDESEncrypt-4 35826 3339 ns/op 2.40 MB/s BenchmarkTDESDecrypt-4 36442 3272 ns/op 2.45 MB/s PASS ok crypto/des 1.603s goos: linux goarch: amd64 pkg: crypto/ecdh cpu: AMD EPYC 7B12 BenchmarkECDH/P256-4 1290 91148 ns/op 759 B/op 12 allocs/op BenchmarkECDH/P384-4 18 6397235 ns/op 1091 B/op 21 allocs/op BenchmarkECDH/P521-4 7 16715678 ns/op 1537 B/op 21 allocs/op BenchmarkECDH/X25519-4 121 993157 ns/op 376 B/op 9 allocs/op PASS ok crypto/ecdh 1.695s goos: linux goarch: amd64 pkg: crypto/ecdsa cpu: AMD EPYC 7B12 BenchmarkSign/P256-4 2305 48143 ns/op 2511 B/op 33 allocs/op BenchmarkSign/P384-4 39 2894919 ns/op 2680 B/op 34 allocs/op BenchmarkSign/P521-4 16 6976324 ns/op 3065 B/op 35 allocs/op BenchmarkVerify/P256-4 1255 94204 ns/op 432 B/op 8 allocs/op BenchmarkVerify/P384-4 15 7421776 ns/op 592 B/op 12 allocs/op BenchmarkVerify/P521-4 6 18719174 ns/op 912 B/op 12 allocs/op BenchmarkGenerateKey/P256-4 5653 20336 ns/op 896 B/op 14 allocs/op BenchmarkGenerateKey/P384-4 73 1691303 ns/op 1095 B/op 17 allocs/op BenchmarkGenerateKey/P521-4 28 4131649 ns/op 1416 B/op 17 allocs/op PASS ok crypto/ecdsa 2.419s goos: linux goarch: amd64 pkg: crypto/ed25519 cpu: AMD EPYC 7B12 BenchmarkKeyGeneration-4 434 266769 ns/op BenchmarkNewKeyFromSeed-4 423 281665 ns/op BenchmarkSigning-4 409 288531 ns/op BenchmarkVerification-4 264 450820 ns/op PASS ok crypto/ed25519 1.614s goos: linux goarch: amd64 pkg: crypto/elliptic cpu: AMD EPYC 7B12 BenchmarkScalarBaseMult/P256-4 6871 16737 ns/op 368 B/op 6 allocs/op BenchmarkScalarBaseMult/P224-4 186 635031 ns/op 376 B/op 9 allocs/op BenchmarkScalarBaseMult/P384-4 69 1616871 ns/op 504 B/op 9 allocs/op BenchmarkScalarBaseMult/P521-4 28 4043934 ns/op 696 B/op 9 allocs/op BenchmarkScalarMult/P256-4 1824 64814 ns/op 448 B/op 7 allocs/op BenchmarkScalarMult/P224-4 74 1623700 ns/op 440 B/op 10 allocs/op BenchmarkScalarMult/P384-4 26 4441697 ns/op 616 B/op 10 allocs/op BenchmarkScalarMult/P521-4 9 11327706 ns/op 840 B/op 10 allocs/op BenchmarkMarshalUnmarshal/P256/Uncompressed-4 18014 6596 ns/op 544 B/op 8 allocs/op BenchmarkMarshalUnmarshal/P256/Compressed-4 8184 14139 ns/op 592 B/op 9 allocs/op BenchmarkMarshalUnmarshal/P224/Uncompressed-4 5161 20291 ns/op 560 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P224/Compressed-4 97 1107748 ns/op 592 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P384/Uncompressed-4 3344 32276 ns/op 784 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P384/Compressed-4 391 307586 ns/op 848 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P521/Uncompressed-4 2326 50612 ns/op 1104 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P521/Compressed-4 130 930818 ns/op 1184 B/op 15 allocs/op PASS ok crypto/elliptic 3.326s goos: linux goarch: amd64 pkg: crypto/hmac cpu: AMD EPYC 7B12 BenchmarkHMACSHA256_1K-4 32691 3661 ns/op 279.74 MB/s BenchmarkHMACSHA256_32-4 36031 3193 ns/op 10.02 MB/s BenchmarkNewWriteSum-4 18938 6090 ns/op 5.25 MB/s PASS ok crypto/hmac 1.507s goos: linux goarch: amd64 pkg: crypto/internal/bigmod cpu: AMD EPYC 7B12 BenchmarkModAdd-4 63838 1892 ns/op BenchmarkModSub-4 63885 1852 ns/op BenchmarkMontgomeryRepr-4 36075 3406 ns/op BenchmarkMontgomeryMul-4 35811 3304 ns/op BenchmarkModMul-4 17412 6853 ns/op BenchmarkExpBig-4 20 5337842 ns/op BenchmarkExp-4 7 14406231 ns/op PASS ok crypto/internal/bigmod 2.086s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519 cpu: AMD EPYC 7B12 BenchmarkEncodingDecoding-4 4743 25203 ns/op BenchmarkScalarBaseMult-4 460 252714 ns/op BenchmarkScalarMult-4 200 595026 ns/op BenchmarkVarTimeDoubleScalarBaseMult-4 283 419431 ns/op PASS ok crypto/internal/edwards25519 1.713s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519/field cpu: AMD EPYC 7B12 BenchmarkAdd-4 602415 189.8 ns/op BenchmarkMultiply-4 5852167 20.42 ns/op BenchmarkSquare-4 7797290 15.24 ns/op BenchmarkInvert-4 28506 4184 ns/op BenchmarkMult32-4 1685545 70.04 ns/op PASS ok crypto/internal/edwards25519/field 1.766s goos: linux goarch: amd64 pkg: crypto/internal/nistec cpu: AMD EPYC 7B12 BenchmarkScalarMult/P224-4 74 1661374 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P256-4 2077 56688 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P384-4 24 4298568 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P521-4 9 11488060 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P224-4 192 621702 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P256-4 10000 10882 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P384-4 79 1474974 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P521-4 28 3728861 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec 2.140s goos: linux goarch: amd64 pkg: crypto/internal/nistec/fiat cpu: AMD EPYC 7B12 BenchmarkMul/P224-4 644412 179.7 ns/op 0 B/op 0 allocs/op BenchmarkMul/P384-4 343303 332.7 ns/op 0 B/op 0 allocs/op BenchmarkMul/P521-4 144531 830.7 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P224-4 690201 174.8 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P384-4 354022 336.8 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P521-4 147122 820.0 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec/fiat 1.763s goos: linux goarch: amd64 pkg: crypto/md5 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes-4 159454 689.5 ns/op 11.60 MB/s BenchmarkHash64-4 209230 559.9 ns/op 114.31 MB/s BenchmarkHash128-4 178903 672.8 ns/op 190.26 MB/s BenchmarkHash256-4 140348 850.7 ns/op 300.91 MB/s BenchmarkHash512-4 99216 1227 ns/op 417.21 MB/s BenchmarkHash1K-4 61466 1938 ns/op 528.27 MB/s BenchmarkHash8K-4 9616 12058 ns/op 679.40 MB/s BenchmarkHash1M-4 72 1482617 ns/op 707.25 MB/s BenchmarkHash8M-4 9 11805892 ns/op 710.54 MB/s BenchmarkHash8BytesUnaligned-4 168828 689.3 ns/op 11.61 MB/s BenchmarkHash1KUnaligned-4 60901 1933 ns/op 529.81 MB/s BenchmarkHash8KUnaligned-4 9741 12146 ns/op 674.48 MB/s PASS ok crypto/md5 2.627s goos: linux goarch: amd64 pkg: crypto/rand cpu: AMD EPYC 7B12 BenchmarkPrime-4 3 76668163 ns/op PASS ok crypto/rand 1.359s goos: linux goarch: amd64 pkg: crypto/rc4 cpu: AMD EPYC 7B12 BenchmarkRC4_128-4 17972 6577 ns/op 19.46 MB/s BenchmarkRC4_1K-4 2191 52715 ns/op 19.43 MB/s BenchmarkRC4_8K-4 285 417195 ns/op 19.41 MB/s PASS ok crypto/rc4 1.486s goos: linux goarch: amd64 pkg: crypto/rsa cpu: AMD EPYC 7B12 BenchmarkDecryptPKCS1v15/2048-4 13 8339436 ns/op BenchmarkDecryptPKCS1v15/3072-4 6 18906649 ns/op BenchmarkDecryptPKCS1v15/4096-4 3 33859685 ns/op BenchmarkEncryptPKCS1v15/2048-4 43 2512546 ns/op BenchmarkDecryptOAEP/2048-4 13 8434568 ns/op BenchmarkEncryptOAEP/2048-4 45 2426012 ns/op BenchmarkSignPKCS1v15/2048-4 13 8362296 ns/op BenchmarkVerifyPKCS1v15/2048-4 46 2532399 ns/op BenchmarkSignPSS/2048-4 13 8456396 ns/op BenchmarkVerifyPSS/2048-4 46 2482630 ns/op PASS ok crypto/rsa 2.438s goos: linux goarch: amd64 pkg: crypto/sha1 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes/New-4 147001 826.1 ns/op 9.68 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum-4 165184 726.7 ns/op 11.01 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/New-4 105384 1141 ns/op 280.53 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/Sum-4 116124 1014 ns/op 315.55 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 70302 1689 ns/op 606.45 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum-4 76248 1583 ns/op 646.89 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 14929 8039 ns/op 1018.99 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum-4 15153 7931 ns/op 1032.92 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha1 2.321s goos: linux goarch: amd64 pkg: crypto/sha256 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes/New-4 135685 859.7 ns/op 9.31 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum224-4 156951 741.3 ns/op 10.79 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 154534 772.1 ns/op 10.36 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 90566 1320 ns/op 775.83 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum224-4 102721 1173 ns/op 872.89 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 102282 1171 ns/op 874.15 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 20414 5868 ns/op 1396.12 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum224-4 20832 5747 ns/op 1425.36 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 20919 5738 ns/op 1427.76 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 81850 1468 ns/op 5.45 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum384-4 100258 1193 ns/op 6.71 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum512-4 89876 1253 ns/op 6.38 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 42394 2845 ns/op 359.94 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum384-4 48232 2457 ns/op 416.72 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum512-4 46350 2617 ns/op 391.23 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 8712 13398 ns/op 611.42 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum384-4 8583 13076 ns/op 626.51 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum512-4 8634 13213 ns/op 620.00 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha512 2.214s goos: linux goarch: amd64 pkg: crypto/subtle cpu: AMD EPYC 7B12 BenchmarkConstantTimeByteEq-4 22304540 5.230 ns/op BenchmarkConstantTimeEq-4 20160104 5.685 ns/op BenchmarkConstantTimeLessOrEq-4 20079481 5.938 ns/op BenchmarkXORBytes/8Bytes-4 5871621 20.72 ns/op 386.10 MB/s BenchmarkXORBytes/128Bytes-4 5377108 22.96 ns/op 5574.35 MB/s BenchmarkXORBytes/2048Bytes-4 1791692 65.96 ns/op 31049.57 MB/s BenchmarkXORBytes/32768Bytes-4 106815 1018 ns/op 32194.57 MB/s PASS ok crypto/subtle 2.081s goos: linux goarch: amd64 pkg: crypto/tls cpu: AMD EPYC 7B12 BenchmarkCertCache/0-4 158 717736 ns/op BenchmarkCertCache/1-4 157 699186 ns/op BenchmarkCertCache/2-4 169 724786 ns/op BenchmarkCertCache/3-4 180 809612 ns/op BenchmarkHandshakeServer/RSA-4 19 6378984 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv13-4 18 6405814 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv12-4 19 6204370 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv13-4 152 752290 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv12-4 217 550214 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv13-4 68 1757530 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv12-4 70 1580969 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv13-4 4 26515521 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12-4 4 26828511 ns/op BenchmarkThroughput/MaxPacket/1MB/TLSv12-4 6 18827521 ns/op 55.69 MB/s BenchmarkThroughput/MaxPacket/1MB/TLSv13-4 5 22249389 ns/op 47.13 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv12-4 4 26568776 ns/op 78.93 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv13-4 3 37051341 ns/op 56.60 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv12-4 3 42616622 ns/op 98.42 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv13-4 2 61116822 ns/op 68.63 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv12-4 2 75413588 ns/op 111.23 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv13-4 2 100898920 ns/op 83.14 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv12-4 1 136044645 ns/op 123.32 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv13-4 1 197050939 ns/op 85.14 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv12-4 1 312229813 ns/op 107.47 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv13-4 1 435325568 ns/op 77.08 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv12-4 1 566301613 ns/op 118.50 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv13-4 1 798474933 ns/op 84.05 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv12-4 6 19311801 ns/op 54.30 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv13-4 5 22414973 ns/op 46.78 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv12-4 4 26804251 ns/op 78.24 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv13-4 3 33843778 ns/op 61.97 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv12-4 3 42562452 ns/op 98.54 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv13-4 2 59891088 ns/op 70.03 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv12-4 2 75662624 ns/op 110.87 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv13-4 1 106077484 ns/op 79.08 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv12-4 1 135629246 ns/op 123.70 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv13-4 1 208846238 ns/op 80.33 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv12-4 1 275487852 ns/op 121.80 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv13-4 1 391502375 ns/op 85.71 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv12-4 1 541963252 ns/op 123.83 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv13-4 1 743661870 ns/op 90.24 MB/s BenchmarkLatency/MaxPacket/200kbps/TLSv12-4 1 704505718 ns/op BenchmarkLatency/MaxPacket/200kbps/TLSv13-4 1 707743340 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv12-4 1 289614451 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv13-4 1 289598172 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv12-4 1 151615227 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv13-4 1 150518466 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv12-4 2 82687368 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv13-4 2 81051768 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv12-4 3 41435598 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv13-4 3 39586705 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv12-4 1 144881926 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv13-4 1 147171557 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv12-4 2 65642018 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv13-4 2 65528562 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv12-4 3 41314812 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv13-4 3 39263655 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv12-4 4 26474301 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv13-4 4 25253981 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv12-4 6 20371869 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv13-4 6 16975841 ns/op PASS ok crypto/tls 17.067s goos: linux goarch: amd64 pkg: crypto/x509 cpu: AMD EPYC 7B12 BenchmarkCreateCertificate/RSA_2048-4 10 11041775 ns/op BenchmarkCreateCertificate/ECDSA_P256-4 471 252543 ns/op BenchmarkParseCertificate/ecdsa_leaf-4 1539 79266 ns/op 12659 B/op 165 allocs/op BenchmarkParseCertificate/rsa_leaf-4 1422 82460 ns/op 14067 B/op 188 allocs/op PASS ok crypto/x509 1.822s goos: linux goarch: amd64 pkg: database/sql cpu: AMD EPYC 7B12 BenchmarkConcurrentDBExec-4 37 2793427 ns/op 280383 B/op 1637 allocs/op BenchmarkConcurrentStmtQuery-4 36 2869148 ns/op 262150 B/op 2016 allocs/op BenchmarkConcurrentStmtExec-4 58 1982389 ns/op 216950 B/op 650 allocs/op BenchmarkConcurrentTxQuery-4 46 2684511 ns/op 274151 B/op 2150 allocs/op BenchmarkConcurrentTxExec-4 69 1600744 ns/op 87833 B/op 1554 allocs/op BenchmarkConcurrentTxStmtQuery-4 61 2527823 ns/op 105273 B/op 2059 allocs/op BenchmarkConcurrentTxStmtExec-4 139 879191 ns/op 41205 B/op 381 allocs/op BenchmarkConcurrentRandom-4 39 2611670 ns/op 226619 B/op 1815 allocs/op BenchmarkManyConcurrentQueries-4 2714 43247 ns/op 3975 B/op 20 allocs/op BenchmarkGrabConn-4 239686 500.1 ns/op 0 B/op 0 allocs/op PASS ok database/sql 2.413s goos: linux goarch: amd64 pkg: debug/elf cpu: AMD EPYC 7B12 BenchmarkSymbols64-4 2289 46275 ns/op BenchmarkSymbols32-4 2865 41144 ns/op PASS ok debug/elf 1.253s goos: linux goarch: amd64 pkg: debug/gosym cpu: AMD EPYC 7B12 Benchmark115/NewLineTable-4 353732 339.0 ns/op 384 B/op 3 allocs/op Benchmark115/NewTable-4 120 980765 ns/op 180241 B/op 13 allocs/op Benchmark115/LineToPC-4 92 1123601 ns/op 0 B/op 0 allocs/op Benchmark115/PCToLine-4 24564 4999 ns/op 0 B/op 0 allocs/op PASS ok debug/gosym 1.714s goos: linux goarch: amd64 pkg: encoding/asn1 cpu: AMD EPYC 7B12 BenchmarkObjectIdentifierString-4 84542 1431 ns/op BenchmarkMarshal-4 1050 109517 ns/op 9528 B/op 363 allocs/op BenchmarkUnmarshal-4 3745 30624 ns/op 784 B/op 43 allocs/op PASS ok encoding/asn1 1.404s goos: linux goarch: amd64 pkg: encoding/base32 cpu: AMD EPYC 7B12 BenchmarkEncode-4 518 225416 ns/op 36.34 MB/s BenchmarkEncodeToString-4 468 244634 ns/op 33.49 MB/s BenchmarkDecode-4 201 594697 ns/op 22.05 MB/s BenchmarkDecodeString-4 199 590740 ns/op 22.20 MB/s PASS ok encoding/base32 1.659s goos: linux goarch: amd64 pkg: encoding/base64 cpu: AMD EPYC 7B12 BenchmarkEncodeToString-4 489 222527 ns/op 36.81 MB/s BenchmarkDecodeString/2-4 481965 238.7 ns/op 16.75 MB/s BenchmarkDecodeString/4-4 339187 340.4 ns/op 23.50 MB/s BenchmarkDecodeString/8-4 269665 435.4 ns/op 27.56 MB/s BenchmarkDecodeString/64-4 53394 2224 ns/op 39.57 MB/s BenchmarkDecodeString/8192-4 474 249892 ns/op 43.71 MB/s BenchmarkNewEncoding-4 85350 1379 ns/op 185.65 MB/s PASS ok encoding/base64 1.943s goos: linux goarch: amd64 pkg: encoding/binary cpu: AMD EPYC 7B12 BenchmarkReadSlice1000Int32s-4 1978 59251 ns/op 67.51 MB/s BenchmarkReadStruct-4 23018 5181 ns/op 14.48 MB/s BenchmarkWriteStruct-4 21886 5509 ns/op 13.61 MB/s BenchmarkReadInts-4 72294 1664 ns/op 18.03 MB/s BenchmarkWriteInts-4 66980 1807 ns/op 16.60 MB/s BenchmarkWriteSlice1000Int32s-4 1972 58891 ns/op 67.92 MB/s BenchmarkPutUint16-4 5021348 23.60 ns/op 84.73 MB/s BenchmarkAppendUint16-4 4876899 25.90 ns/op 77.23 MB/s BenchmarkPutUint32-4 3609200 33.14 ns/op 120.70 MB/s BenchmarkAppendUint32-4 3419560 36.57 ns/op 109.37 MB/s BenchmarkPutUint64-4 1799318 66.85 ns/op 119.66 MB/s BenchmarkAppendUint64-4 1652172 68.44 ns/op 116.88 MB/s BenchmarkLittleEndianPutUint16-4 4945279 23.58 ns/op 84.80 MB/s BenchmarkLittleEndianAppendUint16-4 4932718 26.27 ns/op 76.14 MB/s BenchmarkLittleEndianPutUint32-4 3596290 33.13 ns/op 120.75 MB/s BenchmarkLittleEndianAppendUint32-4 3802500 31.27 ns/op 127.91 MB/s BenchmarkLittleEndianPutUint64-4 1717272 68.51 ns/op 116.77 MB/s BenchmarkLittleEndianAppendUint64-4 1801815 66.83 ns/op 119.71 MB/s BenchmarkReadFloats-4 236569 521.9 ns/op 22.99 MB/s BenchmarkWriteFloats-4 234422 514.2 ns/op 23.34 MB/s BenchmarkReadSlice1000Float32s-4 1616 72014 ns/op 55.54 MB/s BenchmarkWriteSlice1000Float32s-4 1552 71569 ns/op 55.89 MB/s BenchmarkReadSlice1000Uint8s-4 104636 1035 ns/op 965.98 MB/s BenchmarkWriteSlice1000Uint8s-4 152222 788.3 ns/op 1268.51 MB/s BenchmarkPutUvarint32-4 1000000 113.4 ns/op 35.27 MB/s BenchmarkPutUvarint64-4 281486 392.3 ns/op 20.39 MB/s PASS ok encoding/binary 4.894s goos: linux goarch: amd64 pkg: encoding/csv cpu: AMD EPYC 7B12 BenchmarkRead-4 9772 11332 ns/op 736 B/op 16 allocs/op BenchmarkReadWithFieldsPerRecord-4 10400 11319 ns/op 736 B/op 16 allocs/op BenchmarkReadWithoutFieldsPerRecord-4 10417 11288 ns/op 736 B/op 16 allocs/op BenchmarkReadLargeFields-4 6436 18412 ns/op 3937 B/op 24 allocs/op BenchmarkReadReuseRecord-4 11268 10508 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithFieldsPerRecord-4 10000 10591 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithoutFieldsPerRecord-4 11346 10521 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordLargeFields-4 6846 17967 ns/op 2977 B/op 12 allocs/op BenchmarkWrite-4 17276 6573 ns/op PASS ok encoding/csv 2.718s goos: linux goarch: amd64 pkg: encoding/gob cpu: AMD EPYC 7B12 BenchmarkEndToEndPipe-4 14076 7867 ns/op 1812 B/op 2 allocs/op BenchmarkEndToEndByteBuffer-4 16993 6174 ns/op 1811 B/op 2 allocs/op BenchmarkEndToEndSliceByteBuffer-4 282 413462 ns/op 16694 B/op 330 allocs/op BenchmarkEncodeComplex128Slice-4 1022 121659 ns/op 480 B/op 0 allocs/op BenchmarkEncodeFloat64Slice-4 2000 55593 ns/op 43 B/op 0 allocs/op BenchmarkEncodeInt32Slice-4 1978 59438 ns/op 44 B/op 0 allocs/op BenchmarkEncodeStringSlice-4 2661 43815 ns/op 145 B/op 0 allocs/op BenchmarkEncodeInterfaceSlice-4 60 2009347 ns/op 35346 B/op 253 allocs/op BenchmarkDecodeComplex128Slice-4 614 176264 ns/op 25228 B/op 169 allocs/op BenchmarkDecodeFloat64Slice-4 1623 81461 ns/op 10788 B/op 169 allocs/op BenchmarkDecodeInt32Slice-4 1790 72732 ns/op 9754 B/op 169 allocs/op BenchmarkDecodeStringSlice-4 1075 126029 ns/op 39118 B/op 1169 allocs/op BenchmarkDecodeStringsSlice-4 358 294530 ns/op 66163 B/op 2199 allocs/op BenchmarkDecodeBytesSlice-4 826 146347 ns/op 23526 B/op 183 allocs/op BenchmarkDecodeInterfaceSlice-4 117 953847 ns/op 82906 B/op 3178 allocs/op BenchmarkDecodeMap-4 103 1120188 ns/op 54123 B/op 181 allocs/op PASS ok encoding/gob 3.639s goos: linux goarch: amd64 pkg: encoding/hex cpu: AMD EPYC 7B12 BenchmarkEncode/256-4 20418 5662 ns/op 45.22 MB/s BenchmarkEncode/1024-4 4963 23089 ns/op 44.35 MB/s BenchmarkEncode/4096-4 1274 92526 ns/op 44.27 MB/s BenchmarkEncode/16384-4 326 369658 ns/op 44.32 MB/s BenchmarkDecode/256-4 39390 2930 ns/op 87.36 MB/s BenchmarkDecode/1024-4 9957 11484 ns/op 89.16 MB/s BenchmarkDecode/4096-4 2342 48983 ns/op 83.62 MB/s BenchmarkDecode/16384-4 606 197226 ns/op 83.07 MB/s BenchmarkDump/256-4 1884 62947 ns/op 4.07 MB/s BenchmarkDump/1024-4 478 244689 ns/op 4.18 MB/s BenchmarkDump/4096-4 126 999945 ns/op 4.10 MB/s BenchmarkDump/16384-4 28 4014435 ns/op 4.08 MB/s PASS ok encoding/hex 2.934s goos: linux goarch: amd64 pkg: encoding/json cpu: AMD EPYC 7B12 BenchmarkCodeEncoder-4 2 86344874 ns/op 22.47 MB/s 8390428 B/op 50 allocs/op BenchmarkCodeEncoderError-4 2 96162044 ns/op 20.18 MB/s 8456040 B/op 69 allocs/op BenchmarkCodeMarshal-4 2 91651074 ns/op 21.17 MB/s 10331336 B/op 48 allocs/op BenchmarkCodeMarshalError-4 1 140536886 ns/op 13.81 MB/s 10467768 B/op 141 allocs/op BenchmarkMarshalBytes/32-4 29804 4034 ns/op BenchmarkMarshalBytes/256-4 7629 14387 ns/op BenchmarkMarshalBytes/4096-4 720 162985 ns/op BenchmarkMarshalBytesError/32-4 82 1428319 ns/op BenchmarkMarshalBytesError/256-4 79 1405173 ns/op BenchmarkMarshalBytesError/4096-4 70 1546930 ns/op BenchmarkMarshalMap-4 45669 2226 ns/op 300 B/op 8 allocs/op BenchmarkCodeDecoder-4 1 305387412 ns/op 6.35 MB/s 10097096 B/op 40033 allocs/op BenchmarkUnicodeDecoder-4 47293 2496 ns/op 5.61 MB/s 40 B/op 2 allocs/op BenchmarkDecoderStream-4 65892 1843 ns/op 16 B/op 1 allocs/op BenchmarkCodeUnmarshal-4 1 270676481 ns/op 7.17 MB/s 2020656 B/op 40005 allocs/op BenchmarkCodeUnmarshalReuse-4 1 257701201 ns/op 7.53 MB/s 2019480 B/op 40005 allocs/op BenchmarkUnmarshalString-4 65370 1832 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalFloat64-4 142579 910.0 ns/op 144 B/op 1 allocs/op BenchmarkUnmarshalInt64-4 363090 314.2 ns/op 144 B/op 1 allocs/op BenchmarkUnmarshalMap-4 22766 4968 ns/op 320 B/op 12 allocs/op BenchmarkIssue10335-4 65890 1601 ns/op 176 B/op 3 allocs/op BenchmarkIssue34127-4 77085 1355 ns/op 83 B/op 2 allocs/op BenchmarkUnmapped-4 24735 5406 ns/op 208 B/op 4 allocs/op BenchmarkTypeFieldsCache/MissTypes1-4 3792 28025 ns/op BenchmarkTypeFieldsCache/MissTypes10-4 882 118835 ns/op BenchmarkTypeFieldsCache/MissTypes100-4 127 912114 ns/op BenchmarkTypeFieldsCache/MissTypes1000-4 14 8957588 ns/op BenchmarkTypeFieldsCache/HitTypes1-4 569121 196.6 ns/op BenchmarkTypeFieldsCache/HitTypes10-4 652446 180.0 ns/op BenchmarkTypeFieldsCache/HitTypes100-4 535900 187.2 ns/op BenchmarkTypeFieldsCache/HitTypes1000-4 529412 194.4 ns/op BenchmarkEncodeMarshaler-4 72740 1731 ns/op 75 B/op 1 allocs/op BenchmarkEncoderEncode-4 70437 1513 ns/op 43 B/op 0 allocs/op BenchmarkNumberIsValid-4 5913700 19.50 ns/op BenchmarkNumberIsValidRegexp-4 27717 4390 ns/op PASS ok encoding/json 7.955s goos: linux goarch: amd64 pkg: encoding/pem cpu: AMD EPYC 7B12 BenchmarkEncode-4 66 1805296 ns/op 36.30 MB/s BenchmarkDecode-4 28 4125522 ns/op 21.52 MB/s PASS ok encoding/pem 1.320s goos: linux goarch: amd64 pkg: encoding/xml cpu: AMD EPYC 7B12 BenchmarkMarshal-4 3256 33670 ns/op 6280 B/op 24 allocs/op BenchmarkUnmarshal-4 1076 93334 ns/op 8218 B/op 185 allocs/op BenchmarkHTMLAutoClose-4 5179 19750 ns/op PASS ok encoding/xml 1.351s goos: linux goarch: amd64 pkg: errors cpu: AMD EPYC 7B12 BenchmarkIs-4 317774 334.2 ns/op BenchmarkAs-4 86918 1359 ns/op PASS ok errors 1.259s goos: linux goarch: amd64 pkg: expvar cpu: AMD EPYC 7B12 BenchmarkIntAdd-4 335842 337.9 ns/op BenchmarkIntSet-4 337808 402.4 ns/op BenchmarkFloatAdd-4 64620 1635 ns/op BenchmarkFloatSet-4 472466 424.5 ns/op BenchmarkStringSet-4 329476 497.8 ns/op BenchmarkMapSet-4 78996 2197 ns/op BenchmarkMapSetDifferent-4 62932 1997 ns/op BenchmarkMapSetDifferentRandom-4 370 308255 ns/op BenchmarkMapSetString-4 60129 2133 ns/op BenchmarkMapAddSame-4 32240 3455 ns/op BenchmarkMapAddDifferent-4 17810 7441 ns/op BenchmarkMapAddDifferentRandom-4 301 406480 ns/op BenchmarkMapAddSameSteadyState-4 296260 446.2 ns/op BenchmarkMapAddDifferentSteadyState-4 111705 907.8 ns/op BenchmarkMapString-4 10150 11876 ns/op 672 B/op 7 allocs/op BenchmarkRealworldExpvarUsage-4 28765 4776 ns/op PASS ok expvar 3.900s goos: linux goarch: amd64 pkg: fmt cpu: AMD EPYC 7B12 BenchmarkSprintfPadding-4 127711 1016 ns/op BenchmarkSprintfEmpty-4 440408 232.0 ns/op BenchmarkSprintfString-4 284506 354.8 ns/op BenchmarkSprintfTruncateString-4 348735 358.7 ns/op BenchmarkSprintfTruncateBytes-4 156892 758.8 ns/op BenchmarkSprintfSlowParsingPath-4 283722 357.4 ns/op BenchmarkSprintfQuoteString-4 41301 2492 ns/op BenchmarkSprintfInt-4 348676 353.9 ns/op BenchmarkSprintfIntInt-4 213522 493.1 ns/op BenchmarkSprintfPrefixedInt-4 259440 451.5 ns/op BenchmarkSprintfFloat-4 169784 758.0 ns/op BenchmarkSprintfComplex-4 82422 1592 ns/op BenchmarkSprintfBoolean-4 346758 353.0 ns/op BenchmarkSprintfHexString-4 149886 690.7 ns/op BenchmarkSprintfHexBytes-4 74720 1414 ns/op BenchmarkSprintfBytes-4 51165 2540 ns/op BenchmarkSprintfStringer-4 90224 1265 ns/op BenchmarkSprintfStructure-4 39804 2671 ns/op BenchmarkManyArgs-4 84198 1232 ns/op BenchmarkFprintInt-4 96882 1291 ns/op BenchmarkFprintfBytes-4 116372 1114 ns/op BenchmarkFprintIntNoAlloc-4 96816 1293 ns/op BenchmarkScanInts-4 50 2327548 ns/op BenchmarkScanRecursiveInt-4 1 304054684 ns/op BenchmarkScanRecursiveIntReaderWrapper-4 1 322427654 ns/op PASS ok fmt 5.153s goos: linux goarch: amd64 pkg: go/build cpu: AMD EPYC 7B12 BenchmarkImportVendor-4 945 114908 ns/op PASS ok go/build 1.139s goos: linux goarch: amd64 pkg: go/constant cpu: AMD EPYC 7B12 BenchmarkStringAdd/1-4 57507 1817 ns/op 160 B/op 2 allocs/op BenchmarkStringAdd/4-4 20114 6163 ns/op 832 B/op 9 allocs/op BenchmarkStringAdd/16-4 5356 19898 ns/op 3168 B/op 23 allocs/op BenchmarkStringAdd/64-4 1536 78292 ns/op 11872 B/op 73 allocs/op BenchmarkStringAdd/256-4 388 316593 ns/op 48992 B/op 267 allocs/op BenchmarkStringAdd/1024-4 82 1463772 ns/op 215520 B/op 1038 allocs/op BenchmarkStringAdd/4096-4 20 5765942 ns/op 846309 B/op 4113 allocs/op BenchmarkStringAdd/16384-4 5 21582711 ns/op 3615776 B/op 16406 allocs/op BenchmarkStringAdd/65536-4 2 90962839 ns/op 15239648 B/op 65564 allocs/op PASS ok go/constant 2.581s goos: linux goarch: amd64 pkg: go/format cpu: AMD EPYC 7B12 BenchmarkFormat/array1-10000-4 1 201579880 ns/op 0.32 MB/s 45591680 B/op 48904 allocs/op PASS ok go/format 1.231s goos: linux goarch: amd64 pkg: go/parser cpu: AMD EPYC 7B12 BenchmarkParse-4 7 15551196 ns/op 3.46 MB/s BenchmarkParseOnly-4 8 13489668 ns/op 3.99 MB/s BenchmarkResolve-4 62 1840594 ns/op 29.26 MB/s PASS ok go/parser 2.156s goos: linux goarch: amd64 pkg: go/printer cpu: AMD EPYC 7B12 BenchmarkPrintFile-4 1 109024218 ns/op 0.47 MB/s 4964864 B/op 27496 allocs/op BenchmarkPrintDecl-4 1084 106855 ns/op 0.30 MB/s 16262 B/op 51 allocs/op PASS ok go/printer 1.254s goos: linux goarch: amd64 pkg: go/scanner cpu: AMD EPYC 7B12 BenchmarkScan-4 385 308449 ns/op BenchmarkScanFiles/go/types/expr.go-4 18 6092181 ns/op 8.16 MB/s BenchmarkScanFiles/go/parser/parser.go-4 12 9463290 ns/op 7.75 MB/s BenchmarkScanFiles/net/http/server.go-4 7 14744688 ns/op 8.36 MB/s BenchmarkScanFiles/go/scanner/errors.go-4 288 407060 ns/op 7.61 MB/s PASS ok go/scanner 1.691s goos: linux goarch: amd64 pkg: go/token cpu: AMD EPYC 7B12 BenchmarkSearchInts-4 1367643 76.67 ns/op PASS ok go/token 1.209s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: go/types cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLookupFieldOrMethod-4 100 1114491 ns/op BenchmarkNamed/Underlying/nongeneric-4 810267 148.3 ns/op BenchmarkNamed/Underlying/generic-4 724447 150.3 ns/op BenchmarkNamed/Underlying/src_instance-4 789930 149.3 ns/op BenchmarkNamed/Underlying/user_instance-4 797769 149.9 ns/op BenchmarkNamed/NewMethodSet/nongeneric-4 17419 6750 ns/op BenchmarkNamed/NewMethodSet/generic-4 18176 6643 ns/op BenchmarkNamed/NewMethodSet/src_instance-4 17679 6852 ns/op BenchmarkNamed/NewMethodSet/user_instance-4 17497 6595 ns/op BenchmarkCheck/http/funcbodies/info-4 1 761154860 ns/op 44176 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 501959450 ns/op 66989 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 267436308 ns/op 125715 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 243092601 ns/op 138270 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 520381578 ns/op 9957 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 1 124204392 ns/op 41712 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 2 70598226 ns/op 73371 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 2 69134510 ns/op 74938 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 166073535 ns/op 13044 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 2 66670858 ns/op 32489 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 3 48558984 ns/op 44616 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 3 49311256 ns/op 43929 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1480876151 ns/op 46839 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 754193038 ns/op 91967 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 192100001 ns/op 360939 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 139602811 ns/op 496667 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 2804883149 ns/op 715.5 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 99964143 ns/op 20074 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 2 82107373 ns/op 24419 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 2 83694476 ns/op 23972 lines/s PASS ok go/types 23.715s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: hash/adler32 cpu: AMD EPYC 7B12 BenchmarkAdler32KB-4 13623 8566 ns/op 119.55 MB/s PASS ok hash/adler32 1.221s goos: linux goarch: amd64 pkg: hash/crc32 cpu: AMD EPYC 7B12 BenchmarkCRC32/poly=IEEE/size=15/align=0-4 270212 418.1 ns/op 35.87 MB/s BenchmarkCRC32/poly=IEEE/size=15/align=1-4 281268 406.0 ns/op 36.94 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=0-4 146926 778.0 ns/op 51.42 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=1-4 153460 710.6 ns/op 56.29 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=0-4 553611 210.0 ns/op 2438.27 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=1-4 573434 211.4 ns/op 2421.94 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=0-4 478964 248.6 ns/op 4119.00 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=1-4 474932 250.3 ns/op 4091.79 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=0-4 242251 489.1 ns/op 8373.74 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=1-4 246303 489.1 ns/op 8374.65 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=0-4 43744 2740 ns/op 11957.61 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=1-4 43466 2768 ns/op 11838.98 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=0-4 555675 200.0 ns/op 74.99 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=1-4 580717 201.2 ns/op 74.54 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=0-4 593344 197.1 ns/op 202.90 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=1-4 549832 201.7 ns/op 198.31 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=0-4 448666 269.5 ns/op 1899.80 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=1-4 440500 265.2 ns/op 1930.35 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=0-4 341552 342.4 ns/op 2991.05 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=1-4 350457 347.6 ns/op 2946.25 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=0-4 284864 415.8 ns/op 9851.16 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=1-4 291501 412.7 ns/op 9925.78 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=0-4 58976 2035 ns/op 16104.37 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=1-4 57771 2056 ns/op 15934.39 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=0-4 298501 397.8 ns/op 37.70 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=1-4 311148 390.0 ns/op 38.46 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=0-4 141781 790.6 ns/op 50.59 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=1-4 148797 806.6 ns/op 49.59 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=0-4 14535 8947 ns/op 57.23 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=1-4 12688 8281 ns/op 61.83 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=0-4 6195 17566 ns/op 58.30 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=1-4 6050 18573 ns/op 55.13 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=0-4 1387 83531 ns/op 49.04 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=1-4 1401 86159 ns/op 47.54 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=0-4 172 702102 ns/op 46.67 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=1-4 172 693254 ns/op 47.27 MB/s PASS ok hash/crc32 5.877s goos: linux goarch: amd64 pkg: hash/crc64 cpu: AMD EPYC 7B12 BenchmarkCrc64/ISO64KB-4 122 975234 ns/op 67.20 MB/s BenchmarkCrc64/ISO4KB-4 1509 69798 ns/op 58.68 MB/s BenchmarkCrc64/ISO1KB-4 6694 16735 ns/op 61.19 MB/s BenchmarkCrc64/ECMA64KB-4 122 964160 ns/op 67.97 MB/s BenchmarkCrc64/Random64KB-4 127 936230 ns/op 70.00 MB/s BenchmarkCrc64/Random16KB-4 490 246375 ns/op 66.50 MB/s PASS ok hash/crc64 2.049s goos: linux goarch: amd64 pkg: hash/fnv cpu: AMD EPYC 7B12 BenchmarkFnv32KB-4 13594 8838 ns/op 115.87 MB/s BenchmarkFnv32aKB-4 13508 8898 ns/op 115.08 MB/s BenchmarkFnv64KB-4 13498 8879 ns/op 115.33 MB/s BenchmarkFnv64aKB-4 13575 8871 ns/op 115.44 MB/s BenchmarkFnv128KB-4 2514 45850 ns/op 22.33 MB/s BenchmarkFnv128aKB-4 2588 45830 ns/op 22.34 MB/s PASS ok hash/fnv 2.108s goos: linux goarch: amd64 pkg: hash/maphash cpu: AMD EPYC 7B12 BenchmarkHash/n=4/Write-4 731590 150.9 ns/op 26.50 MB/s BenchmarkHash/n=4/Bytes-4 5717200 21.39 ns/op 187.04 MB/s BenchmarkHash/n=4/String-4 2321500 50.87 ns/op 78.63 MB/s BenchmarkHash/n=8/Write-4 713872 149.3 ns/op 53.60 MB/s BenchmarkHash/n=8/Bytes-4 5497641 21.91 ns/op 365.08 MB/s BenchmarkHash/n=8/String-4 2276011 51.98 ns/op 153.90 MB/s BenchmarkHash/n=16/Write-4 815316 147.0 ns/op 108.87 MB/s BenchmarkHash/n=16/Bytes-4 5318634 22.08 ns/op 724.73 MB/s BenchmarkHash/n=16/String-4 2329185 53.25 ns/op 300.48 MB/s BenchmarkHash/n=32/Write-4 657127 155.4 ns/op 205.93 MB/s BenchmarkHash/n=32/Bytes-4 5473945 21.36 ns/op 1497.78 MB/s BenchmarkHash/n=32/String-4 2261192 53.12 ns/op 602.38 MB/s BenchmarkHash/n=64/Write-4 754417 163.8 ns/op 390.61 MB/s BenchmarkHash/n=64/Bytes-4 5422446 22.89 ns/op 2795.42 MB/s BenchmarkHash/n=64/String-4 2296550 52.49 ns/op 1219.29 MB/s BenchmarkHash/n=256/Write-4 567280 210.8 ns/op 1214.35 MB/s BenchmarkHash/n=256/Bytes-4 4164192 27.60 ns/op 9276.39 MB/s BenchmarkHash/n=256/String-4 1365598 89.40 ns/op 2863.69 MB/s BenchmarkHash/n=320/Write-4 569259 212.1 ns/op 1508.42 MB/s BenchmarkHash/n=320/Bytes-4 3601725 33.37 ns/op 9589.04 MB/s BenchmarkHash/n=320/String-4 968436 122.9 ns/op 2603.12 MB/s BenchmarkHash/n=1024/Write-4 397597 306.9 ns/op 3336.28 MB/s BenchmarkHash/n=1024/Bytes-4 1372825 87.13 ns/op 11752.80 MB/s BenchmarkHash/n=1024/String-4 364389 297.8 ns/op 3437.98 MB/s BenchmarkHash/n=4096/Write-4 172539 671.6 ns/op 6098.69 MB/s BenchmarkHash/n=4096/Bytes-4 342560 349.4 ns/op 11722.98 MB/s BenchmarkHash/n=4096/String-4 105151 1153 ns/op 3551.83 MB/s BenchmarkHash/n=16384/Write-4 55671 2120 ns/op 7726.56 MB/s BenchmarkHash/n=16384/Bytes-4 85424 1409 ns/op 11624.73 MB/s BenchmarkHash/n=16384/String-4 26436 4492 ns/op 3647.27 MB/s PASS ok hash/maphash 5.384s goos: linux goarch: amd64 pkg: html cpu: AMD EPYC 7B12 BenchmarkEscape-4 1266 89335 ns/op BenchmarkEscapeNone-4 187813 632.8 ns/op BenchmarkUnescape-4 1192 98422 ns/op BenchmarkUnescapeNone-4 898424 131.9 ns/op BenchmarkUnescapeSparse-4 15802 7990 ns/op BenchmarkUnescapeDense-4 1744 68911 ns/op PASS ok html 1.860s goos: linux goarch: amd64 pkg: html/template cpu: AMD EPYC 7B12 BenchmarkCSSEscaper-4 12482 9375 ns/op BenchmarkCSSEscaperNoSpecials-4 54247 2175 ns/op BenchmarkDecodeCSS-4 37671 3037 ns/op BenchmarkDecodeCSSNoSpecials-4 5615644 22.29 ns/op BenchmarkCSSValueFilter-4 150020 769.9 ns/op BenchmarkCSSValueFilterOk-4 109881 1046 ns/op BenchmarkEscapedExecute-4 6129 19576 ns/op BenchmarkHTMLNospaceEscaper-4 15656 7529 ns/op BenchmarkHTMLNospaceEscaperNoSpecials-4 86179 1369 ns/op BenchmarkStripTags-4 27843 4045 ns/op BenchmarkStripTagsNoSpecials-4 424206 283.6 ns/op BenchmarkJSValEscaperWithNum-4 29960 4035 ns/op BenchmarkJSValEscaperWithStr-4 6952 15244 ns/op BenchmarkJSValEscaperWithStrNoSpecials-4 24236 5016 ns/op BenchmarkJSValEscaperWithObj-4 5995 17892 ns/op BenchmarkJSValEscaperWithObjNoSpecials-4 16987 6889 ns/op BenchmarkJSStrEscaperNoSpecials-4 72962 1630 ns/op BenchmarkJSStrEscaper-4 15576 7693 ns/op BenchmarkJSRegexpEscaperNoSpecials-4 65211 1808 ns/op BenchmarkJSRegexpEscaper-4 14584 8092 ns/op BenchmarkTemplateSpecialTags-4 134 881147 ns/op BenchmarkURLEscaper-4 5256 20044 ns/op BenchmarkURLEscaperNoSpecials-4 227406 508.0 ns/op BenchmarkURLNormalizer-4 7386 15191 ns/op BenchmarkURLNormalizerNoSpecials-4 212468 543.5 ns/op BenchmarkSrcsetFilter-4 24319 4955 ns/op BenchmarkSrcsetFilterNoSpecials-4 142238 831.9 ns/op PASS ok html/template 5.194s goos: linux goarch: amd64 pkg: image cpu: AMD EPYC 7B12 BenchmarkAt/rgba-4 893646 133.1 ns/op 16 B/op 1 allocs/op BenchmarkAt/rgba64-4 647782 169.2 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba-4 869085 130.7 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba64-4 600266 169.4 ns/op 16 B/op 1 allocs/op BenchmarkAt/alpha-4 2259894 53.12 ns/op 0 B/op 0 allocs/op BenchmarkAt/alpha16-4 1543603 77.65 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray-4 2390878 53.36 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray16-4 1472688 82.78 ns/op 0 B/op 0 allocs/op BenchmarkAt/paletted-4 1723104 69.16 ns/op 0 B/op 0 allocs/op BenchmarkSet/rgba-4 591345 190.8 ns/op 16 B/op 1 allocs/op BenchmarkSet/rgba64-4 542586 217.9 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba-4 587167 179.0 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba64-4 562252 211.8 ns/op 16 B/op 1 allocs/op BenchmarkSet/alpha-4 1000000 107.4 ns/op 0 B/op 0 allocs/op BenchmarkSet/alpha16-4 690241 160.2 ns/op 16 B/op 1 allocs/op BenchmarkSet/gray-4 1230074 93.01 ns/op 0 B/op 0 allocs/op BenchmarkSet/gray16-4 688732 159.2 ns/op 16 B/op 1 allocs/op BenchmarkSet/paletted-4 611610 202.5 ns/op 0 B/op 0 allocs/op BenchmarkRGBAAt-4 1708180 70.28 ns/op BenchmarkRGBASetRGBA-4 1730821 65.21 ns/op BenchmarkRGBA64At-4 933931 110.4 ns/op BenchmarkRGBA64SetRGBA64-4 1000000 102.4 ns/op BenchmarkNRGBAAt-4 1715995 70.42 ns/op BenchmarkNRGBASetNRGBA-4 1830433 65.66 ns/op BenchmarkNRGBA64At-4 894627 114.6 ns/op BenchmarkNRGBA64SetNRGBA64-4 1190932 99.55 ns/op BenchmarkAlphaAt-4 2925670 40.58 ns/op BenchmarkAlphaSetAlpha-4 2964698 39.39 ns/op BenchmarkAlpha16At-4 1895233 64.30 ns/op BenchmarkAlphaSetAlpha16-4 1957006 61.72 ns/op BenchmarkGrayAt-4 2819380 43.62 ns/op BenchmarkGraySetGray-4 2963076 40.17 ns/op BenchmarkGray16At-4 2054036 62.79 ns/op BenchmarkGraySetGray16-4 1938360 62.02 ns/op PASS ok image 6.417s goos: linux goarch: amd64 pkg: image/color cpu: AMD EPYC 7B12 BenchmarkYCbCrToRGB/0-4 5691829 21.25 ns/op BenchmarkYCbCrToRGB/128-4 5964727 21.48 ns/op BenchmarkYCbCrToRGB/255-4 5982118 20.40 ns/op BenchmarkRGBToYCbCr/0-4 5979883 19.25 ns/op BenchmarkRGBToYCbCr/Cb-4 5917010 20.04 ns/op BenchmarkRGBToYCbCr/Cr-4 5996137 20.08 ns/op BenchmarkYCbCrToRGBA/0-4 4924011 23.42 ns/op BenchmarkYCbCrToRGBA/128-4 4716813 25.34 ns/op BenchmarkYCbCrToRGBA/255-4 4301139 24.19 ns/op BenchmarkNYCbCrAToRGBA/0-4 4859416 24.46 ns/op BenchmarkNYCbCrAToRGBA/128-4 4292746 24.72 ns/op BenchmarkNYCbCrAToRGBA/255-4 4901823 24.44 ns/op PASS ok image/color 2.733s goos: linux goarch: amd64 pkg: image/draw cpu: AMD EPYC 7B12 BenchmarkFillOver-4 5 22031077 ns/op BenchmarkFillSrc-4 487 247049 ns/op BenchmarkCopyOver-4 9 11453665 ns/op BenchmarkCopySrc-4 688 168245 ns/op BenchmarkNRGBAOver-4 10 11017222 ns/op BenchmarkNRGBASrc-4 15 7490117 ns/op BenchmarkYCbCr-4 13 8657000 ns/op BenchmarkGray-4 26 4435569 ns/op BenchmarkCMYK-4 15 7375711 ns/op BenchmarkGlyphOver-4 30 3980518 ns/op BenchmarkRGBAMaskOver-4 5 20864795 ns/op BenchmarkGrayMaskOver-4 7 16031151 ns/op BenchmarkRGBA64ImageMaskOver-4 4 27245531 ns/op BenchmarkRGBA-4 6 17523514 ns/op BenchmarkPalettedFill-4 1417 87993 ns/op BenchmarkPalettedRGBA-4 6 18209579 ns/op BenchmarkGenericOver-4 3 39248942 ns/op BenchmarkGenericMaskOver-4 6 16692959 ns/op BenchmarkGenericSrc-4 4 25483551 ns/op BenchmarkGenericMaskSrc-4 5 22080571 ns/op PASS ok image/draw 5.695s goos: linux goarch: amd64 pkg: image/gif cpu: AMD EPYC 7B12 BenchmarkDecode-4 30 3814783 ns/op 4.05 MB/s 48617 B/op 267 allocs/op BenchmarkEncodeRandomPaletted-4 2 92822147 ns/op 3.31 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRandomRGBA-4 1 2071950947 ns/op 0.59 MB/s 417248 B/op 13 allocs/op BenchmarkEncodeRealisticPaletted-4 74 1525111 ns/op 10.13 MB/s 79985 B/op 7 allocs/op BenchmarkEncodeRealisticRGBA-4 1 103957785 ns/op 0.59 MB/s 105952 B/op 13 allocs/op PASS ok image/gif 4.138s goos: linux goarch: amd64 pkg: image/jpeg cpu: AMD EPYC 7B12 BenchmarkFDCT-4 5518 22261 ns/op BenchmarkIDCT-4 5536 20177 ns/op BenchmarkDecodeBaseline-4 12 9759861 ns/op 6.33 MB/s 63024 B/op 5 allocs/op BenchmarkDecodeProgressive-4 8 13265458 ns/op 4.66 MB/s 259712 B/op 13 allocs/op BenchmarkEncodeRGBA-4 1 121128456 ns/op 10.14 MB/s 4544 B/op 7 allocs/op BenchmarkEncodeYCbCr-4 1 152644147 ns/op 6.04 MB/s 4544 B/op 7 allocs/op PASS ok image/jpeg 2.207s goos: linux goarch: amd64 pkg: image/png cpu: AMD EPYC 7B12 BenchmarkPaeth-4 14377401 8.314 ns/op BenchmarkDecodeGray-4 16 6591872 ns/op 9.94 MB/s 137024 B/op 102 allocs/op BenchmarkDecodeNRGBAGradient-4 4 27973689 ns/op 9.37 MB/s 337328 B/op 188 allocs/op BenchmarkDecodeNRGBAOpaque-4 5 23890245 ns/op 10.97 MB/s 346592 B/op 152 allocs/op BenchmarkDecodePaletted-4 28 4087597 ns/op 16.03 MB/s 140352 B/op 309 allocs/op BenchmarkDecodeRGB-4 5 21898327 ns/op 11.97 MB/s 332128 B/op 157 allocs/op BenchmarkDecodeInterlacing-4 4 27494611 ns/op 9.53 MB/s 605216 B/op 268 allocs/op BenchmarkEncodeGray-4 3 44037419 ns/op 6.98 MB/s 852232 B/op 32 allocs/op BenchmarkEncodeGrayWithBufferPool-4 3 42860788 ns/op 7.17 MB/s 284101 B/op 12 allocs/op BenchmarkEncodeNRGBOpaque-4 1 151195937 ns/op 8.13 MB/s 860296 B/op 32 allocs/op BenchmarkEncodeNRGBA-4 1 159722107 ns/op 7.69 MB/s 864136 B/op 32 allocs/op BenchmarkEncodePaletted-4 5 21073841 ns/op 14.58 MB/s 848656 B/op 36 allocs/op BenchmarkEncodeRGBOpaque-4 1 144829677 ns/op 8.48 MB/s 860296 B/op 32 allocs/op BenchmarkEncodeRGBA-4 1 592055576 ns/op 2.08 MB/s 864200 B/op 36 allocs/op PASS ok image/png 4.304s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 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 53096390 ns/op 1.88 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=opticks/size=100K/bits=64-4 3 45017790 ns/op 2.22 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=32-4 1 290542962 ns/op 1.72 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=64-4 1 263856557 ns/op 1.89 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=32-4 2 52028137 ns/op 1.92 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=64-4 3 46734865 ns/op 2.14 MB/s 802901 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=32-4 1 270255188 ns/op 1.85 MB/s 2007128 B/op 3 allocs/op BenchmarkNew/text=go/size=500K/bits=64-4 1 244695278 ns/op 2.04 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=32-4 1 605846822 ns/op 1.65 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=64-4 1 567102004 ns/op 1.76 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=32-4 1 3702418684 ns/op 1.35 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=64-4 1 3759460500 ns/op 1.33 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=32-4 10 10005091 ns/op 9.99 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=64-4 9 11560582 ns/op 8.65 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=32-4 3 48265267 ns/op 10.36 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=64-4 2 55423025 ns/op 9.02 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=32-4 2 95349723 ns/op 10.49 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=64-4 1 116685453 ns/op 8.57 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=32-4 1 493722127 ns/op 10.13 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=64-4 1 557862922 ns/op 8.96 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=32-4 2 61258976 ns/op 1.63 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=64-4 2 54156618 ns/op 1.85 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=32-4 1 348919811 ns/op 1.43 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=64-4 1 344949904 ns/op 1.45 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=32-4 1 745902436 ns/op 1.34 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=64-4 1 805717159 ns/op 1.24 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=32-4 1 5825425844 ns/op 0.86 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=64-4 1 5925107301 ns/op 0.84 MB/s 40001616 B/op 2 allocs/op BenchmarkSaveRestore/bits=32-4 1 195321301 ns/op 21.40 MB/s 5275648 B/op 4 allocs/op BenchmarkSaveRestore/bits=64-4 1 203083903 ns/op 20.58 MB/s 9469952 B/op 4 allocs/op PASS ok index/suffixarray 45.217s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: internal/fuzz cpu: AMD EPYC 7B12 BenchmarkMarshalCorpusFile/1-4 50421 2288 ns/op 0.44 MB/s BenchmarkMarshalCorpusFile/2-4 49446 2414 ns/op 0.83 MB/s BenchmarkMarshalCorpusFile/4-4 44623 2664 ns/op 1.50 MB/s BenchmarkMarshalCorpusFile/8-4 38900 3081 ns/op 2.60 MB/s BenchmarkMarshalCorpusFile/16-4 30625 3865 ns/op 4.14 MB/s BenchmarkMarshalCorpusFile/32-4 20600 5709 ns/op 5.61 MB/s BenchmarkMarshalCorpusFile/64-4 15956 7390 ns/op 8.66 MB/s BenchmarkMarshalCorpusFile/128-4 12168 9938 ns/op 12.88 MB/s BenchmarkMarshalCorpusFile/256-4 4587 23277 ns/op 11.00 MB/s BenchmarkMarshalCorpusFile/512-4 2662 44421 ns/op 11.53 MB/s BenchmarkMarshalCorpusFile/1024-4 1327 84269 ns/op 12.15 MB/s BenchmarkMarshalCorpusFile/2048-4 667 170883 ns/op 11.98 MB/s BenchmarkMarshalCorpusFile/4096-4 355 330967 ns/op 12.38 MB/s BenchmarkMarshalCorpusFile/8192-4 186 660347 ns/op 12.41 MB/s BenchmarkMarshalCorpusFile/16384-4 97 1316324 ns/op 12.45 MB/s BenchmarkMarshalCorpusFile/32768-4 33 3144802 ns/op 10.42 MB/s BenchmarkMarshalCorpusFile/65536-4 16 6281352 ns/op 10.43 MB/s BenchmarkMarshalCorpusFile/131072-4 7 16017015 ns/op 8.18 MB/s BenchmarkMarshalCorpusFile/262144-4 4 25512059 ns/op 10.28 MB/s BenchmarkMarshalCorpusFile/524288-4 2 75202358 ns/op 6.97 MB/s BenchmarkMarshalCorpusFile/1048576-4 1 193300188 ns/op 5.42 MB/s BenchmarkUnmarshalCorpusFile/1-4 13269 9296 ns/op 0.11 MB/s BenchmarkUnmarshalCorpusFile/2-4 12656 9748 ns/op 0.21 MB/s BenchmarkUnmarshalCorpusFile/4-4 11251 10760 ns/op 0.37 MB/s BenchmarkUnmarshalCorpusFile/8-4 9858 12329 ns/op 0.65 MB/s BenchmarkUnmarshalCorpusFile/16-4 7767 14462 ns/op 1.11 MB/s BenchmarkUnmarshalCorpusFile/32-4 4998 20955 ns/op 1.53 MB/s BenchmarkUnmarshalCorpusFile/64-4 4645 24422 ns/op 2.62 MB/s BenchmarkUnmarshalCorpusFile/128-4 3613 31349 ns/op 4.08 MB/s BenchmarkUnmarshalCorpusFile/256-4 1428 81635 ns/op 3.14 MB/s BenchmarkUnmarshalCorpusFile/512-4 735 155617 ns/op 3.29 MB/s BenchmarkUnmarshalCorpusFile/1024-4 388 306913 ns/op 3.34 MB/s BenchmarkUnmarshalCorpusFile/2048-4 198 600742 ns/op 3.41 MB/s BenchmarkUnmarshalCorpusFile/4096-4 100 1191034 ns/op 3.44 MB/s BenchmarkUnmarshalCorpusFile/8192-4 48 2363121 ns/op 3.47 MB/s BenchmarkUnmarshalCorpusFile/16384-4 24 4690214 ns/op 3.49 MB/s BenchmarkUnmarshalCorpusFile/32768-4 12 9247590 ns/op 3.54 MB/s BenchmarkUnmarshalCorpusFile/65536-4 6 19234674 ns/op 3.41 MB/s BenchmarkUnmarshalCorpusFile/131072-4 3 37273122 ns/op 3.52 MB/s BenchmarkUnmarshalCorpusFile/262144-4 2 74036124 ns/op 3.54 MB/s BenchmarkUnmarshalCorpusFile/524288-4 1 149794146 ns/op 3.50 MB/s BenchmarkUnmarshalCorpusFile/1048576-4 1 299102364 ns/op 3.51 MB/s BenchmarkMutatorBytes/1-4 47886 2529 ns/op BenchmarkMutatorBytes/10-4 50379 2431 ns/op BenchmarkMutatorBytes/100-4 46418 2636 ns/op BenchmarkMutatorBytes/1000-4 32599 3906 ns/op BenchmarkMutatorBytes/10000-4 9334 15095 ns/op BenchmarkMutatorBytes/100000-4 1334 113411 ns/op BenchmarkMutatorString/1-4 45894 2644 ns/op BenchmarkMutatorString/10-4 47130 2600 ns/op BenchmarkMutatorString/100-4 42346 3026 ns/op BenchmarkMutatorString/1000-4 22411 5646 ns/op BenchmarkMutatorString/10000-4 5360 29382 ns/op BenchmarkMutatorString/100000-4 440 269518 ns/op BenchmarkMutatorAllBasicTypes/[]uint8-4 26559 4577 ns/op BenchmarkMutatorAllBasicTypes/string-4 25941 4680 ns/op BenchmarkMutatorAllBasicTypes/bool-4 84038 1457 ns/op BenchmarkMutatorAllBasicTypes/float32-4 74158 1658 ns/op BenchmarkMutatorAllBasicTypes/float64-4 72687 1645 ns/op BenchmarkMutatorAllBasicTypes/int-4 79422 1529 ns/op BenchmarkMutatorAllBasicTypes/int8-4 80569 1516 ns/op BenchmarkMutatorAllBasicTypes/int16-4 76473 1524 ns/op BenchmarkMutatorAllBasicTypes/int32-4 80233 1537 ns/op BenchmarkMutatorAllBasicTypes/int64-4 78348 1549 ns/op BenchmarkMutatorAllBasicTypes/uint8-4 77109 1601 ns/op BenchmarkMutatorAllBasicTypes/uint16-4 75290 1571 ns/op BenchmarkMutatorAllBasicTypes/uint32-4 77995 1563 ns/op BenchmarkMutatorAllBasicTypes/uint64-4 77234 1574 ns/op PASS ok internal/fuzz 12.416s goos: linux goarch: amd64 pkg: internal/intern cpu: AMD EPYC 7B12 BenchmarkStress-4 42848 2896 ns/op 0 B/op 0 allocs/op BenchmarkGetByString-4 179743 648.3 ns/op 0 B/op 0 allocs/op PASS ok internal/intern 1.357s goos: linux goarch: amd64 pkg: internal/poll cpu: AMD EPYC 7B12 BenchmarkSplicePipe/SplicePipeWithPool-4 77500 1687 ns/op BenchmarkSplicePipe/SplicePipeWithoutPool-4 25801 4248 ns/op BenchmarkSplicePipePoolParallel-4 148576 777.3 ns/op BenchmarkSplicePipeNativeParallel-4 35569 3219 ns/op PASS ok internal/poll 1.922s goos: linux goarch: amd64 pkg: internal/trace cpu: AMD EPYC 7B12 BenchmarkMMU-4 7 16473411 ns/op PASS ok internal/trace 2.972s PASS ok internal/zstd 1.042s goos: linux goarch: amd64 pkg: io cpu: AMD EPYC 7B12 BenchmarkCopyNSmall-4 23887 5180 ns/op BenchmarkCopyNLarge-4 268 425955 ns/op PASS ok io 1.471s goos: linux goarch: amd64 pkg: log cpu: AMD EPYC 7B12 BenchmarkItoa-4 283938 395.7 ns/op BenchmarkPrintln-4 30818 3965 ns/op 79 B/op 1 allocs/op BenchmarkPrintlnNoFlags-4 49188 2518 ns/op 66 B/op 1 allocs/op BenchmarkConcurrent-4 2872 46800 ns/op BenchmarkDiscard-4 1249330 96.37 ns/op 0 B/op 0 allocs/op PASS ok log 1.889s goos: linux goarch: amd64 pkg: log/slog cpu: AMD EPYC 7B12 BenchmarkWriteTime-4 124742 953.7 ns/op BenchmarkJSONHandler/defaults-4 8421 12160 ns/op 513 B/op 0 allocs/op BenchmarkJSONHandler/time_format-4 5386 20538 ns/op 791 B/op 6 allocs/op BenchmarkJSONHandler/time_unix-4 5839 18188 ns/op 775 B/op 5 allocs/op BenchmarkPreformatting/separate-4 9391 11825 ns/op 532 B/op 1 allocs/op BenchmarkPreformatting/struct-4 10008 12470 ns/op 521 B/op 0 allocs/op BenchmarkPreformatting/struct_file-4 6783 14915 ns/op 529 B/op 1 allocs/op BenchmarkJSONEncoding/json.Marshal-4 38324 3202 ns/op 79 B/op 2 allocs/op BenchmarkJSONEncoding/Encoder.Encode-4 35670 3359 ns/op 64 B/op 2 allocs/op BenchmarkNopLog/no_attrs-4 120591 1008 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-4 93152 1401 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-parallel-4 59967 1959 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/keys-values-4 87934 1449 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-4 94153 1403 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-parallel-4 65998 1962 ns/op 0 B/op 0 allocs/op BenchmarkPC/0-4 1397712 88.06 ns/op 0 B/op 0 allocs/op BenchmarkPC/1-4 842169 142.2 ns/op 0 B/op 0 allocs/op BenchmarkPC/2-4 731114 139.8 ns/op 0 B/op 0 allocs/op BenchmarkPC/3-4 631624 169.2 ns/op 0 B/op 0 allocs/op BenchmarkPC/4-4 546014 207.2 ns/op 0 B/op 0 allocs/op BenchmarkRecord-4 7788 14574 ns/op BenchmarkDispatch/switch-checked-4 263516 436.8 ns/op BenchmarkDispatch/As-4 256766 433.4 ns/op BenchmarkDispatch/Visit-4 252782 484.8 ns/op BenchmarkUnsafeStrings-4 24303 5008 ns/op 0 B/op 0 allocs/op --- BENCH: BenchmarkUnsafeStrings-4 value_test.go:263: Value size = 24 value_test.go:263: Value size = 24 value_test.go:263: Value size = 24 value_test.go:263: Value size = 24 PASS ok log/slog 4.539s goos: linux goarch: amd64 pkg: log/slog/internal/benchmarks cpu: AMD EPYC 7B12 BenchmarkAttrs/disabled/5_args-4 2085968 57.79 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/5_args_ctx-4 1884496 58.44 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/10_args-4 1238761 95.07 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/40_args-4 302960 330.3 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args-4 70574 1587 ns/op 264 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args_ctx-4 72878 1474 ns/op 261 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/10_args-4 44214 2349 ns/op 678 B/op 2 allocs/op BenchmarkAttrs/fastText_discard/40_args-4 18662 6282 ns/op 3457 B/op 2 allocs/op BenchmarkAttrs/Text_discard/5_args-4 18528 6910 ns/op 596 B/op 2 allocs/op BenchmarkAttrs/Text_discard/5_args_ctx-4 18236 6674 ns/op 594 B/op 2 allocs/op BenchmarkAttrs/Text_discard/10_args-4 10911 10286 ns/op 1090 B/op 6 allocs/op BenchmarkAttrs/Text_discard/40_args-4 3679 30688 ns/op 4310 B/op 15 allocs/op BenchmarkAttrs/JSON_discard/5_args-4 17545 7021 ns/op 529 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/5_args_ctx-4 18018 6378 ns/op 519 B/op 0 allocs/op BenchmarkAttrs/JSON_discard/10_args-4 12661 9106 ns/op 941 B/op 3 allocs/op BenchmarkAttrs/JSON_discard/40_args-4 4092 28305 ns/op 3716 B/op 3 allocs/op PASS ok log/slog/internal/benchmarks 3.615s goos: linux goarch: amd64 pkg: maps cpu: AMD EPYC 7B12 BenchmarkMapClone-4 4 29667952 ns/op PASS ok maps 2.288s goos: linux goarch: amd64 pkg: math cpu: AMD EPYC 7B12 BenchmarkAcos-4 4872535 24.45 ns/op BenchmarkAcosh-4 1403319 89.50 ns/op BenchmarkAsin-4 4960920 24.36 ns/op BenchmarkAsinh-4 1420928 90.09 ns/op BenchmarkAtan-4 5654352 20.82 ns/op BenchmarkAtanh-4 1351650 91.56 ns/op BenchmarkAtan2-4 3398274 35.31 ns/op BenchmarkCbrt-4 1659846 71.53 ns/op BenchmarkCeil-4 18754599 5.450 ns/op BenchmarkCopysign-4 2412628 46.09 ns/op BenchmarkCos-4 1426294 84.97 ns/op BenchmarkCosh-4 2008347 59.61 ns/op BenchmarkErf-4 5780134 20.81 ns/op BenchmarkErfc-4 5485760 22.73 ns/op BenchmarkErfinv-4 5612390 21.88 ns/op BenchmarkErfcinv-4 5531587 21.12 ns/op BenchmarkExp-4 7301689 16.32 ns/op BenchmarkExpGo-4 990760 106.5 ns/op BenchmarkExpm1-4 4732142 24.98 ns/op BenchmarkExp2-4 1237665 97.09 ns/op BenchmarkExp2Go-4 974080 103.4 ns/op BenchmarkAbs-4 3260422 33.66 ns/op BenchmarkDim-4 10279428 11.36 ns/op BenchmarkFloor-4 19033720 6.249 ns/op BenchmarkMax-4 14475218 8.131 ns/op BenchmarkMin-4 14009166 8.468 ns/op BenchmarkMod-4 300572 372.5 ns/op BenchmarkFrexp-4 1675938 69.35 ns/op BenchmarkGamma-4 721161 145.0 ns/op BenchmarkHypot-4 13296736 9.063 ns/op BenchmarkHypotGo-4 1654230 73.28 ns/op BenchmarkIlogb-4 2065720 57.20 ns/op BenchmarkJ0-4 302037 391.4 ns/op BenchmarkJ1-4 304953 346.3 ns/op BenchmarkJn-4 151809 797.8 ns/op BenchmarkLdexp-4 1748607 66.78 ns/op BenchmarkLgamma-4 1000000 104.7 ns/op BenchmarkLog-4 8517136 14.48 ns/op BenchmarkLogb-4 2206695 56.50 ns/op BenchmarkLog1p-4 1624867 72.47 ns/op BenchmarkLog10-4 8066721 14.90 ns/op BenchmarkLog2-4 1439857 78.48 ns/op BenchmarkModf-4 2757364 41.86 ns/op BenchmarkNextafter32-4 2566831 43.69 ns/op BenchmarkNextafter64-4 2740497 43.56 ns/op BenchmarkPowInt-4 542743 217.8 ns/op BenchmarkPowFrac-4 450382 260.9 ns/op BenchmarkPow10Pos-4 4783402 25.03 ns/op BenchmarkPow10Neg-4 4677621 25.33 ns/op BenchmarkRound-4 3141841 35.70 ns/op BenchmarkRoundToEven-4 9937854 11.91 ns/op BenchmarkRemainder-4 461218 257.7 ns/op BenchmarkSignbit-4 4827579 24.84 ns/op BenchmarkSin-4 1938888 61.40 ns/op BenchmarkSincos-4 1351209 89.72 ns/op BenchmarkSinh-4 3999494 30.19 ns/op BenchmarkSqrtIndirect-4 19073318 6.249 ns/op BenchmarkSqrtLatency-4 12766892 9.390 ns/op BenchmarkSqrtIndirectLatency-4 12807841 9.361 ns/op BenchmarkSqrtGoLatency-4 1688928 71.33 ns/op BenchmarkSqrtPrime-4 173559 689.9 ns/op BenchmarkTan-4 1745834 68.47 ns/op BenchmarkTanh-4 1988992 60.54 ns/op BenchmarkTrunc-4 21259707 6.253 ns/op BenchmarkY0-4 322015 368.1 ns/op BenchmarkY1-4 324632 367.9 ns/op BenchmarkYn-4 161018 753.0 ns/op BenchmarkFloat64bits-4 4851633 24.51 ns/op BenchmarkFloat64frombits-4 4808618 24.71 ns/op BenchmarkFloat32bits-4 4855483 23.09 ns/op BenchmarkFloat32frombits-4 4834090 24.54 ns/op BenchmarkFMA-4 18681752 6.241 ns/op PASS ok math 11.998s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 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 11739819 10.20 ns/op 6271.60 MB/s BenchmarkAddVV/2-4 10641506 11.25 ns/op 11380.48 MB/s BenchmarkAddVV/3-4 9762462 12.21 ns/op 15718.74 MB/s BenchmarkAddVV/4-4 10284602 11.75 ns/op 21788.02 MB/s BenchmarkAddVV/5-4 9207541 13.10 ns/op 24421.01 MB/s BenchmarkAddVV/10-4 7394802 16.23 ns/op 39436.20 MB/s BenchmarkAddVV/100-4 1824295 65.77 ns/op 97310.86 MB/s BenchmarkAddVV/1000-4 207860 574.8 ns/op 111334.31 MB/s BenchmarkSubVV/1-4 11803514 10.17 ns/op 6290.90 MB/s BenchmarkSubVV/2-4 10432690 11.45 ns/op 11181.51 MB/s BenchmarkSubVV/3-4 9255249 13.00 ns/op 14771.81 MB/s BenchmarkSubVV/4-4 10206747 11.80 ns/op 21699.11 MB/s BenchmarkSubVV/5-4 9170992 13.03 ns/op 24565.97 MB/s BenchmarkSubVV/10-4 7392554 16.18 ns/op 39562.03 MB/s BenchmarkSubVV/100-4 1820712 65.82 ns/op 97235.67 MB/s BenchmarkSubVV/1000-4 208356 573.1 ns/op 111666.40 MB/s BenchmarkAddVW/1-4 12271081 9.867 ns/op 810.81 MB/s BenchmarkAddVW/2-4 11168366 10.72 ns/op 1492.99 MB/s BenchmarkAddVW/3-4 10393742 11.58 ns/op 2072.24 MB/s BenchmarkAddVW/4-4 11197340 10.58 ns/op 3025.26 MB/s BenchmarkAddVW/5-4 10361220 11.73 ns/op 3409.64 MB/s BenchmarkAddVW/10-4 8729540 13.74 ns/op 5821.76 MB/s BenchmarkAddVW/100-4 312612 336.4 ns/op 2377.98 MB/s BenchmarkAddVW/1000-4 52842 2272 ns/op 3521.48 MB/s BenchmarkAddVWext/1-4 12118270 9.866 ns/op 810.88 MB/s BenchmarkAddVWext/2-4 11190285 10.80 ns/op 1481.10 MB/s BenchmarkAddVWext/3-4 10218618 11.59 ns/op 2071.07 MB/s BenchmarkAddVWext/4-4 11254948 10.66 ns/op 3001.57 MB/s BenchmarkAddVWext/5-4 10382442 11.62 ns/op 3440.87 MB/s BenchmarkAddVWext/10-4 8608395 13.74 ns/op 5820.88 MB/s BenchmarkAddVWext/100-4 85657 1412 ns/op 566.59 MB/s BenchmarkAddVWext/1000-4 8258 13578 ns/op 589.17 MB/s BenchmarkSubVW/1-4 12203535 9.835 ns/op 813.44 MB/s BenchmarkSubVW/2-4 11011294 10.96 ns/op 1460.15 MB/s BenchmarkSubVW/3-4 10111068 11.79 ns/op 2035.27 MB/s BenchmarkSubVW/4-4 11167196 10.66 ns/op 3002.63 MB/s BenchmarkSubVW/5-4 10271607 11.56 ns/op 3459.04 MB/s BenchmarkSubVW/10-4 8432206 14.45 ns/op 5537.32 MB/s BenchmarkSubVW/100-4 341038 342.8 ns/op 2333.67 MB/s BenchmarkSubVW/1000-4 52915 2245 ns/op 3562.90 MB/s BenchmarkSubVWext/1-4 11591685 10.28 ns/op 778.05 MB/s BenchmarkSubVWext/2-4 10351789 11.45 ns/op 1397.94 MB/s BenchmarkSubVWext/3-4 9772755 12.36 ns/op 1941.52 MB/s BenchmarkSubVWext/4-4 11413918 10.56 ns/op 3030.69 MB/s BenchmarkSubVWext/5-4 10552125 11.43 ns/op 3498.21 MB/s BenchmarkSubVWext/10-4 8391328 14.27 ns/op 5606.99 MB/s BenchmarkSubVWext/100-4 85076 1402 ns/op 570.46 MB/s BenchmarkSubVWext/1000-4 8610 13537 ns/op 590.97 MB/s BenchmarkMulAddVWW/1-4 10683534 11.26 ns/op 5683.01 MB/s BenchmarkMulAddVWW/2-4 9549198 12.51 ns/op 10230.60 MB/s BenchmarkMulAddVWW/3-4 9875828 12.10 ns/op 15872.44 MB/s BenchmarkMulAddVWW/4-4 9277692 12.88 ns/op 19870.75 MB/s BenchmarkMulAddVWW/5-4 8513818 14.11 ns/op 22685.98 MB/s BenchmarkMulAddVWW/10-4 6545596 18.32 ns/op 34929.62 MB/s BenchmarkMulAddVWW/100-4 1239513 96.72 ns/op 66170.28 MB/s BenchmarkMulAddVWW/1000-4 131540 904.9 ns/op 70723.87 MB/s BenchmarkAddMulVVW/1-4 11338651 10.66 ns/op 6002.75 MB/s BenchmarkAddMulVVW/2-4 10298210 11.61 ns/op 11023.62 MB/s BenchmarkAddMulVVW/3-4 9425485 12.72 ns/op 15096.54 MB/s BenchmarkAddMulVVW/4-4 8681959 13.83 ns/op 18517.13 MB/s BenchmarkAddMulVVW/5-4 7797880 15.38 ns/op 20805.62 MB/s BenchmarkAddMulVVW/10-4 6527022 18.25 ns/op 35074.31 MB/s BenchmarkAddMulVVW/100-4 1410670 85.04 ns/op 75255.08 MB/s BenchmarkAddMulVVW/1000-4 151472 785.7 ns/op 81456.02 MB/s BenchmarkDivWVW/1-4 3080334 38.90 ns/op 1645.43 MB/s BenchmarkDivWVW/2-4 1301184 93.18 ns/op 1373.69 MB/s BenchmarkDivWVW/3-4 996524 119.9 ns/op 1601.98 MB/s BenchmarkDivWVW/4-4 851518 139.5 ns/op 1835.09 MB/s BenchmarkDivWVW/5-4 802550 146.6 ns/op 2183.35 MB/s BenchmarkDivWVW/10-4 431991 278.3 ns/op 2299.33 MB/s BenchmarkDivWVW/100-4 55483 2182 ns/op 2932.47 MB/s BenchmarkDivWVW/1000-4 5611 21201 ns/op 3018.80 MB/s BenchmarkNonZeroShifts/1/shrVU-4 11757663 9.832 ns/op BenchmarkNonZeroShifts/1/shlVU-4 12081552 9.441 ns/op BenchmarkNonZeroShifts/2/shrVU-4 10632649 10.96 ns/op BenchmarkNonZeroShifts/2/shlVU-4 10875524 10.63 ns/op BenchmarkNonZeroShifts/3/shrVU-4 9996240 11.69 ns/op BenchmarkNonZeroShifts/3/shlVU-4 10144076 11.30 ns/op BenchmarkNonZeroShifts/4/shrVU-4 9422235 12.80 ns/op BenchmarkNonZeroShifts/4/shlVU-4 9636718 12.19 ns/op BenchmarkNonZeroShifts/5/shrVU-4 8682285 13.51 ns/op BenchmarkNonZeroShifts/5/shlVU-4 9024426 16.15 ns/op BenchmarkNonZeroShifts/10/shrVU-4 6736311 17.53 ns/op BenchmarkNonZeroShifts/10/shlVU-4 6940568 16.65 ns/op BenchmarkNonZeroShifts/100/shrVU-4 1000000 104.8 ns/op BenchmarkNonZeroShifts/100/shlVU-4 1322972 90.34 ns/op BenchmarkNonZeroShifts/1000/shrVU-4 130495 915.6 ns/op BenchmarkNonZeroShifts/1000/shlVU-4 159622 752.9 ns/op BenchmarkDecimalConversion-4 204 576947 ns/op BenchmarkFloatString/100-4 10000 10483 ns/op 392 B/op 8 allocs/op BenchmarkFloatString/1000-4 226 531353 ns/op 2920 B/op 10 allocs/op BenchmarkFloatString/10000-4 3 48065616 ns/op 60741 B/op 50 allocs/op BenchmarkFloatString/100000-4 1 4839933858 ns/op 843328 B/op 506 allocs/op BenchmarkFloatAdd/10-4 171933 686.8 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100-4 168458 702.3 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/1000-4 149986 781.1 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/10000-4 86076 1372 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100000-4 17422 6880 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10-4 227840 526.3 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100-4 218910 528.3 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/1000-4 218056 552.0 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10000-4 157521 754.8 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100000-4 45387 2658 ns/op 0 B/op 0 allocs/op BenchmarkParseFloatSmallExp-4 1904 62513 ns/op BenchmarkParseFloatLargeExp-4 435 270060 ns/op BenchmarkGCD10x10/WithoutXY-4 201756 602.8 ns/op BenchmarkGCD10x10/WithXY-4 58243 2044 ns/op BenchmarkGCD10x100/WithoutXY-4 94074 1226 ns/op BenchmarkGCD10x100/WithXY-4 16426 7325 ns/op BenchmarkGCD10x1000/WithoutXY-4 58149 1828 ns/op BenchmarkGCD10x1000/WithXY-4 13410 8807 ns/op BenchmarkGCD100x100/WithoutXY-4 23930 4813 ns/op BenchmarkGCD100x100/WithXY-4 9576 11988 ns/op BenchmarkGCD100x1000/WithoutXY-4 10000 10586 ns/op BenchmarkGCD100x1000/WithXY-4 5478 20062 ns/op BenchmarkGCD1000x1000/WithoutXY-4 2162 54348 ns/op BenchmarkGCD1000x1000/WithXY-4 1180 99422 ns/op BenchmarkHilbert-4 20 5584813 ns/op BenchmarkBinomial-4 13852 8542 ns/op BenchmarkQuoRem-4 19640 6165 ns/op BenchmarkExp-4 14 7724196 ns/op BenchmarkExpMont/Odd-4 124 949905 ns/op 2587 B/op 21 allocs/op BenchmarkExpMont/Even1-4 123 973210 ns/op 3361 B/op 38 allocs/op BenchmarkExpMont/Even2-4 100 1014252 ns/op 3875 B/op 54 allocs/op BenchmarkExpMont/Even3-4 100 1005698 ns/op 3845 B/op 53 allocs/op BenchmarkExpMont/Even4-4 100 1004998 ns/op 3850 B/op 53 allocs/op BenchmarkExpMont/Even8-4 100 1019741 ns/op 3842 B/op 53 allocs/op BenchmarkExpMont/Even32-4 100 1006994 ns/op 3847 B/op 53 allocs/op BenchmarkExpMont/Even64-4 140 847154 ns/op 3643 B/op 54 allocs/op BenchmarkExpMont/Even96-4 134 875190 ns/op 3761 B/op 51 allocs/op BenchmarkExpMont/Even128-4 147 806875 ns/op 3256 B/op 50 allocs/op BenchmarkExpMont/Even255-4 175 675979 ns/op 2945 B/op 47 allocs/op BenchmarkExpMont/SmallEven1-4 441 263636 ns/op 1312 B/op 34 allocs/op BenchmarkExpMont/SmallEven2-4 392 297850 ns/op 1729 B/op 46 allocs/op BenchmarkExpMont/SmallEven3-4 390 306201 ns/op 1748 B/op 47 allocs/op BenchmarkExpMont/SmallEven4-4 387 304625 ns/op 1722 B/op 47 allocs/op BenchmarkExp2-4 14 7701767 ns/op BenchmarkBitset-4 807074 141.3 ns/op BenchmarkBitsetNeg-4 422346 266.7 ns/op BenchmarkBitsetOrig-4 223558 513.7 ns/op BenchmarkBitsetNegOrig-4 133394 792.2 ns/op BenchmarkModSqrt225_Tonelli-4 100 1069247 ns/op BenchmarkModSqrt225_3Mod4-4 363 327164 ns/op BenchmarkModSqrt231_Tonelli-4 100 1130135 ns/op BenchmarkModSqrt231_5Mod8-4 306 389464 ns/op BenchmarkModInverse-4 10000 10169 ns/op BenchmarkSqrt-4 1455 74562 ns/op BenchmarkIntSqr/1-4 1326772 90.03 ns/op BenchmarkIntSqr/2-4 704248 166.3 ns/op BenchmarkIntSqr/3-4 584331 202.1 ns/op BenchmarkIntSqr/5-4 421584 284.1 ns/op BenchmarkIntSqr/8-4 300217 396.2 ns/op BenchmarkIntSqr/10-4 242686 493.8 ns/op BenchmarkIntSqr/20-4 48354 2529 ns/op BenchmarkIntSqr/30-4 36675 3338 ns/op BenchmarkIntSqr/50-4 22430 5323 ns/op BenchmarkIntSqr/80-4 13224 9011 ns/op BenchmarkIntSqr/100-4 10000 12124 ns/op BenchmarkIntSqr/200-4 3686 31406 ns/op BenchmarkIntSqr/300-4 1563 69451 ns/op BenchmarkIntSqr/500-4 826 156019 ns/op BenchmarkIntSqr/800-4 308 387668 ns/op BenchmarkIntSqr/1000-4 226 520047 ns/op BenchmarkDiv/20/10-4 417900 277.7 ns/op BenchmarkDiv/40/20-4 412687 277.0 ns/op BenchmarkDiv/100/50-4 369061 319.0 ns/op BenchmarkDiv/200/100-4 46440 2611 ns/op BenchmarkDiv/400/200-4 44168 2802 ns/op BenchmarkDiv/1000/500-4 37610 3400 ns/op BenchmarkDiv/2000/1000-4 28182 4432 ns/op BenchmarkDiv/20000/10000-4 1053 110805 ns/op BenchmarkDiv/200000/100000-4 25 4590829 ns/op BenchmarkDiv/2000000/1000000-4 1 129443881 ns/op BenchmarkDiv/20000000/10000000-4 1 3777172423 ns/op BenchmarkMul-4 4 25003573 ns/op BenchmarkNatMul/10-4 166195 668.9 ns/op BenchmarkNatMul/100-4 6163 20632 ns/op BenchmarkNatMul/1000-4 166 717359 ns/op BenchmarkZeroShifts/Shl-4 18193 5775 ns/op BenchmarkZeroShifts/ShlSame-4 5307445 22.20 ns/op BenchmarkZeroShifts/Shr-4 19027 6399 ns/op BenchmarkZeroShifts/ShrSame-4 5331349 22.26 ns/op BenchmarkExp3Power/0x10-4 184756 648.5 ns/op BenchmarkExp3Power/0x40-4 165349 764.2 ns/op BenchmarkExp3Power/0x100-4 84138 1214 ns/op BenchmarkExp3Power/0x400-4 42100 2803 ns/op BenchmarkExp3Power/0x1000-4 9100 12616 ns/op BenchmarkExp3Power/0x4000-4 1866 63551 ns/op BenchmarkExp3Power/0x10000-4 206 575202 ns/op BenchmarkExp3Power/0x40000-4 18 6654204 ns/op BenchmarkExp3Power/0x100000-4 2 61178454 ns/op BenchmarkExp3Power/0x400000-4 1 543682432 ns/op BenchmarkFibo-4 3 38810850 ns/op BenchmarkNatSqr/1-4 1000000 131.1 ns/op BenchmarkNatSqr/2-4 482419 232.7 ns/op BenchmarkNatSqr/3-4 431904 282.2 ns/op BenchmarkNatSqr/5-4 280360 403.9 ns/op BenchmarkNatSqr/8-4 191953 557.0 ns/op BenchmarkNatSqr/10-4 150274 676.6 ns/op BenchmarkNatSqr/20-4 41023 2677 ns/op BenchmarkNatSqr/30-4 31706 3688 ns/op BenchmarkNatSqr/50-4 19202 5846 ns/op BenchmarkNatSqr/80-4 10000 10130 ns/op BenchmarkNatSqr/100-4 8824 12938 ns/op BenchmarkNatSqr/200-4 3705 34668 ns/op BenchmarkNatSqr/300-4 1483 78296 ns/op BenchmarkNatSqr/500-4 704 156912 ns/op BenchmarkNatSqr/800-4 310 367571 ns/op BenchmarkNatSqr/1000-4 234 493551 ns/op BenchmarkNatSetBytes/8-4 810086 139.7 ns/op BenchmarkNatSetBytes/24-4 207672 531.3 ns/op BenchmarkNatSetBytes/128-4 49382 2323 ns/op BenchmarkNatSetBytes/7-4 865975 132.4 ns/op BenchmarkNatSetBytes/23-4 214125 517.2 ns/op BenchmarkNatSetBytes/127-4 52452 2249 ns/op BenchmarkScanPi-4 240 481443 ns/op BenchmarkStringPiParallel-4 602 206016 ns/op BenchmarkScan/10/Base2-4 43336 2795 ns/op BenchmarkScan/100/Base2-4 4429 24037 ns/op BenchmarkScan/1000/Base2-4 507 236768 ns/op BenchmarkScan/10/Base8-4 104190 1153 ns/op BenchmarkScan/100/Base8-4 14562 8313 ns/op BenchmarkScan/1000/Base8-4 1410 82171 ns/op BenchmarkScan/10/Base10-4 111673 1084 ns/op BenchmarkScan/100/Base10-4 15555 7728 ns/op BenchmarkScan/1000/Base10-4 1545 74670 ns/op BenchmarkScan/10/Base16-4 121262 974.5 ns/op BenchmarkScan/100/Base16-4 17352 6800 ns/op BenchmarkScan/1000/Base16-4 1702 66144 ns/op BenchmarkString/10/Base2-4 165930 723.0 ns/op BenchmarkString/100/Base2-4 24315 4842 ns/op BenchmarkString/1000/Base2-4 2511 46110 ns/op BenchmarkString/10/Base8-4 293227 377.2 ns/op BenchmarkString/100/Base8-4 61701 1817 ns/op BenchmarkString/1000/Base8-4 6139 16789 ns/op BenchmarkString/10/Base10-4 191838 614.8 ns/op BenchmarkString/100/Base10-4 37693 3116 ns/op BenchmarkString/1000/Base10-4 4270 24466 ns/op BenchmarkString/10/Base16-4 325848 344.1 ns/op BenchmarkString/100/Base16-4 79482 1414 ns/op BenchmarkString/1000/Base16-4 10000 12174 ns/op BenchmarkLeafSize/0-4 43 2761393 ns/op BenchmarkLeafSize/1-4 349 300326 ns/op BenchmarkLeafSize/2-4 380 287637 ns/op BenchmarkLeafSize/3-4 297 386890 ns/op BenchmarkLeafSize/4-4 400 274129 ns/op BenchmarkLeafSize/5-4 262 450673 ns/op BenchmarkLeafSize/6-4 296 373898 ns/op BenchmarkLeafSize/7-4 316 367274 ns/op BenchmarkLeafSize/8-4 415 272565 ns/op BenchmarkLeafSize/9-4 225 513893 ns/op BenchmarkLeafSize/10-4 273 429842 ns/op BenchmarkLeafSize/11-4 283 408777 ns/op BenchmarkLeafSize/12-4 312 383408 ns/op BenchmarkLeafSize/13-4 295 390729 ns/op BenchmarkLeafSize/14-4 309 358459 ns/op BenchmarkLeafSize/15-4 339 324916 ns/op BenchmarkLeafSize/16-4 400 272010 ns/op BenchmarkLeafSize/32-4 411 276442 ns/op BenchmarkLeafSize/64-4 384 293896 ns/op BenchmarkProbablyPrime/n=0-4 9 11861315 ns/op BenchmarkProbablyPrime/n=1-4 8 13504497 ns/op BenchmarkProbablyPrime/n=5-4 6 19473797 ns/op BenchmarkProbablyPrime/n=10-4 4 26802401 ns/op BenchmarkProbablyPrime/n=20-4 3 41899897 ns/op BenchmarkProbablyPrime/Lucas-4 10 10216160 ns/op BenchmarkProbablyPrime/MillerRabinBase2-4 74 1550000 ns/op BenchmarkRatCmp-4 197071 542.6 ns/op BenchmarkFloatPrecExact/1-4 140883 856.0 ns/op BenchmarkFloatPrecExact/10-4 44695 2656 ns/op BenchmarkFloatPrecExact/100-4 9793 10726 ns/op BenchmarkFloatPrecExact/1000-4 2209 56397 ns/op BenchmarkFloatPrecExact/10000-4 132 903297 ns/op BenchmarkFloatPrecExact/100000-4 3 38574457 ns/op BenchmarkFloatPrecExact/1000000-4 1 1824105532 ns/op BenchmarkFloatPrecMixed/1-4 124808 927.6 ns/op BenchmarkFloatPrecMixed/10-4 35785 3236 ns/op BenchmarkFloatPrecMixed/100-4 5348 22138 ns/op BenchmarkFloatPrecMixed/1000-4 452 261649 ns/op BenchmarkFloatPrecMixed/10000-4 12 9186650 ns/op BenchmarkFloatPrecMixed/100000-4 1 485033487 ns/op BenchmarkFloatPrecMixed/1000000-4 1 30667038235 ns/op BenchmarkFloatPrecInexact/1-4 204224 556.6 ns/op BenchmarkFloatPrecInexact/10-4 166118 670.9 ns/op BenchmarkFloatPrecInexact/100-4 110096 1009 ns/op BenchmarkFloatPrecInexact/1000-4 33234 3469 ns/op BenchmarkFloatPrecInexact/10000-4 4624 27097 ns/op BenchmarkFloatPrecInexact/100000-4 420 273985 ns/op BenchmarkFloatPrecInexact/1000000-4 19 6228711 ns/op BenchmarkFloatSqrt/64-4 22188 5339 ns/op 160 B/op 4 allocs/op BenchmarkFloatSqrt/128-4 13929 8348 ns/op 208 B/op 4 allocs/op BenchmarkFloatSqrt/256-4 8581 12209 ns/op 304 B/op 4 allocs/op BenchmarkFloatSqrt/1000-4 4800 24235 ns/op 1264 B/op 5 allocs/op BenchmarkFloatSqrt/10000-4 776 143280 ns/op 18052 B/op 9 allocs/op BenchmarkFloatSqrt/100000-4 58 1992183 ns/op 178851 B/op 21 allocs/op BenchmarkFloatSqrt/1000000-4 1 156784481 ns/op 3755032 B/op 605 allocs/op PASS ok math/big 87.474s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: math/bits cpu: AMD EPYC 7B12 BenchmarkLeadingZeros-4 10526989 11.31 ns/op BenchmarkLeadingZeros8-4 9800950 12.40 ns/op BenchmarkLeadingZeros16-4 10787418 11.41 ns/op BenchmarkLeadingZeros32-4 10713633 10.21 ns/op BenchmarkLeadingZeros64-4 10769584 11.01 ns/op BenchmarkTrailingZeros-4 10902537 11.00 ns/op BenchmarkTrailingZeros8-4 11217678 11.10 ns/op BenchmarkTrailingZeros16-4 11901242 10.07 ns/op BenchmarkTrailingZeros32-4 11119232 10.06 ns/op BenchmarkTrailingZeros64-4 10960845 11.00 ns/op BenchmarkOnesCount-4 11503364 9.651 ns/op BenchmarkOnesCount8-4 10722680 10.09 ns/op BenchmarkOnesCount16-4 11623772 10.92 ns/op BenchmarkOnesCount32-4 11965131 10.11 ns/op BenchmarkOnesCount64-4 11978175 10.35 ns/op BenchmarkRotateLeft-4 11560303 10.83 ns/op BenchmarkRotateLeft8-4 11938563 10.05 ns/op BenchmarkRotateLeft16-4 11739717 11.06 ns/op BenchmarkRotateLeft32-4 11934382 10.99 ns/op BenchmarkRotateLeft64-4 11863509 10.05 ns/op BenchmarkReverse-4 18380691 6.270 ns/op BenchmarkReverse8-4 19278343 5.930 ns/op BenchmarkReverse16-4 22555510 5.384 ns/op BenchmarkReverse32-4 18963816 6.249 ns/op BenchmarkReverse64-4 18755714 5.846 ns/op BenchmarkReverseBytes-4 19893404 5.939 ns/op BenchmarkReverseBytes16-4 23330955 5.149 ns/op BenchmarkReverseBytes32-4 19711586 5.941 ns/op BenchmarkReverseBytes64-4 20084552 5.944 ns/op BenchmarkAdd-4 11756151 10.04 ns/op BenchmarkAdd32-4 11775175 10.02 ns/op BenchmarkAdd64-4 11125862 10.37 ns/op BenchmarkAdd64multiple-4 20061391 5.940 ns/op BenchmarkSub-4 11751007 11.35 ns/op BenchmarkSub32-4 10905708 10.08 ns/op BenchmarkSub64-4 10307214 12.05 ns/op BenchmarkSub64multiple-4 20175760 7.359 ns/op BenchmarkMul-4 10662438 10.02 ns/op BenchmarkMul32-4 12370430 10.04 ns/op BenchmarkMul64-4 10822060 9.933 ns/op BenchmarkDiv-4 11498557 10.05 ns/op BenchmarkDiv32-4 11887683 9.662 ns/op BenchmarkDiv64-4 11760703 10.08 ns/op PASS ok math/bits 7.062s goos: linux goarch: amd64 pkg: math/cmplx cpu: AMD EPYC 7B12 BenchmarkAbs-4 14258714 10.42 ns/op BenchmarkAcos-4 611884 173.6 ns/op BenchmarkAcosh-4 614040 189.1 ns/op BenchmarkAsin-4 688281 173.3 ns/op BenchmarkAsinh-4 683888 175.0 ns/op BenchmarkAtan-4 1000000 106.8 ns/op BenchmarkAtanh-4 1000000 107.4 ns/op BenchmarkConj-4 18995787 6.245 ns/op BenchmarkCos-4 670783 152.9 ns/op BenchmarkCosh-4 721504 166.2 ns/op BenchmarkExp-4 931358 124.1 ns/op BenchmarkLog-4 1545007 78.68 ns/op BenchmarkLog10-4 1536486 77.79 ns/op BenchmarkPhase-4 3322323 36.18 ns/op BenchmarkPolar-4 2456970 51.46 ns/op BenchmarkPow-4 273142 434.3 ns/op BenchmarkRect-4 1230235 90.60 ns/op BenchmarkSin-4 671481 164.6 ns/op BenchmarkSinh-4 673630 153.2 ns/op BenchmarkSqrt-4 1000000 110.1 ns/op BenchmarkTan-4 446931 257.6 ns/op BenchmarkTanh-4 507618 229.0 ns/op PASS ok math/cmplx 4.092s goos: linux goarch: amd64 pkg: math/rand cpu: AMD EPYC 7B12 BenchmarkInt63Threadsafe-4 1135905 103.0 ns/op BenchmarkInt63ThreadsafeParallel-4 862645 139.8 ns/op BenchmarkInt63Unthreadsafe-4 1493338 80.03 ns/op BenchmarkIntn1000-4 1000000 105.9 ns/op BenchmarkInt63n1000-4 1283583 92.60 ns/op BenchmarkInt31n1000-4 1284705 91.45 ns/op BenchmarkFloat32-4 1279764 93.42 ns/op BenchmarkFloat64-4 1481786 81.09 ns/op BenchmarkPerm3-4 277089 426.1 ns/op BenchmarkPerm30-4 31588 3736 ns/op BenchmarkPerm30ViaShuffle-4 32107 3754 ns/op BenchmarkShuffleOverhead-4 22155 5411 ns/op BenchmarkRead3-4 1225396 98.62 ns/op BenchmarkRead64-4 102756 1118 ns/op BenchmarkRead1000-4 6921 17114 ns/op BenchmarkConcurrent-4 219212 590.1 ns/op PASS ok math/rand 3.941s goos: linux goarch: amd64 pkg: math/rand/v2 cpu: AMD EPYC 7B12 BenchmarkPCG_DXSM-4 4906760 24.43 ns/op BenchmarkSourceUint64-4 4849855 26.55 ns/op BenchmarkGlobalInt64-4 4929390 22.54 ns/op BenchmarkGlobalInt64Parallel-4 8340064 13.00 ns/op BenchmarkGlobalUint64-4 5329135 24.51 ns/op BenchmarkGlobalUint64Parallel-4 7902549 13.44 ns/op BenchmarkInt64-4 2916620 41.73 ns/op BenchmarkUint64-4 2897468 41.99 ns/op BenchmarkGlobalIntN1000-4 3345650 35.34 ns/op BenchmarkIntN1000-4 2110300 53.46 ns/op BenchmarkInt64N1000-4 2220648 53.35 ns/op BenchmarkInt64N1e8-4 2194976 54.73 ns/op BenchmarkInt64N1e9-4 2193098 55.04 ns/op BenchmarkInt64N2e9-4 2121120 56.92 ns/op BenchmarkInt64N1e18-4 2130201 55.09 ns/op BenchmarkInt64N2e18-4 2140657 55.88 ns/op BenchmarkInt64N4e18-4 1874894 64.89 ns/op BenchmarkInt32N1000-4 2251909 54.50 ns/op BenchmarkInt32N1e8-4 2235354 54.67 ns/op BenchmarkInt32N1e9-4 2263328 56.80 ns/op BenchmarkInt32N2e9-4 2217500 54.67 ns/op BenchmarkFloat32-4 2817598 40.99 ns/op BenchmarkFloat64-4 2719330 44.75 ns/op BenchmarkExpFloat64-4 1620388 72.13 ns/op BenchmarkNormFloat64-4 1648876 75.03 ns/op BenchmarkPerm3-4 437323 263.9 ns/op BenchmarkPerm30-4 43298 2778 ns/op BenchmarkPerm30ViaShuffle-4 45243 2677 ns/op BenchmarkShuffleOverhead-4 59482 2000 ns/op BenchmarkConcurrent-4 4981534 23.31 ns/op PASS ok math/rand/v2 6.118s goos: linux goarch: amd64 pkg: mime cpu: AMD EPYC 7B12 BenchmarkQEncodeWord-4 58474 2015 ns/op BenchmarkQDecodeWord-4 147146 803.2 ns/op BenchmarkQDecodeHeader-4 137850 864.4 ns/op BenchmarkTypeByExtension/.html-4 595244 195.4 ns/op BenchmarkTypeByExtension/.HTML-4 401535 270.2 ns/op BenchmarkTypeByExtension/.unused-4 445418 224.5 ns/op BenchmarkExtensionsByType/text/html-4 195141 532.3 ns/op BenchmarkExtensionsByType/text/html;_charset=utf-8-4 134448 877.7 ns/op BenchmarkExtensionsByType/application/octet-stream-4 160531 691.4 ns/op PASS ok mime 2.310s goos: linux goarch: amd64 pkg: mime/multipart cpu: AMD EPYC 7B12 BenchmarkReadForm/fields/maxMemory=0-4 825 128411 ns/op 47627 B/op 187 allocs/op BenchmarkReadForm/fields/maxMemory=1048576-4 930 125682 ns/op 48140 B/op 187 allocs/op BenchmarkReadForm/files/maxMemory=0-4 370 319209 ns/op 104264 B/op 271 allocs/op BenchmarkReadForm/files/maxMemory=1048576-4 717 169903 ns/op 49202 B/op 207 allocs/op PASS ok mime/multipart 1.567s goos: linux goarch: amd64 pkg: mime/quotedprintable cpu: AMD EPYC 7B12 BenchmarkWriter-4 1386 83844 ns/op PASS ok mime/quotedprintable 1.139s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: net cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkGoLookupIP-4 55 1927896 ns/op 8228 B/op 91 allocs/op BenchmarkGoLookupIPNoSuchHost-4 15 7835623 ns/op 19138 B/op 160 allocs/op BenchmarkGoLookupIPWithBrokenNameServer-4 1 5006800568 ns/op 159312 B/op 232 allocs/op BenchmarkDNSName-4 103938 1017 ns/op BenchmarkInterfaces-4 751 151420 ns/op 17236 B/op 42 allocs/op BenchmarkInterfaceByIndex-4 882 124814 ns/op 12677 B/op 25 allocs/op BenchmarkInterfaceByName-4 783 145441 ns/op 17384 B/op 43 allocs/op BenchmarkInterfaceAddrs-4 520 217070 ns/op 23249 B/op 106 allocs/op BenchmarkInterfacesAndAddrs-4 1710 64310 ns/op 3959 B/op 33 allocs/op BenchmarkInterfacesAndMulticastAddrs-4 396 265556 ns/op 137588 B/op 51 allocs/op BenchmarkParseIP-4 7166 17472 ns/op BenchmarkParseIPValidIPv4-4 364866 319.5 ns/op BenchmarkParseIPValidIPv6-4 184526 625.0 ns/op BenchmarkIPString/IPv4-4 118764 1041 ns/op 32 B/op 2 allocs/op BenchmarkIPString/IPv6-4 10411 11387 ns/op 216 B/op 11 allocs/op BenchmarkIPMaskString-4 44812 2666 ns/op BenchmarkIPEqual/IPv4-4 1205923 100.1 ns/op BenchmarkIPEqual/IPv6-4 1232354 96.22 ns/op BenchmarkSendFile/file-to-tcp/1024-4 1 1205528881 ns/op 0.00 MB/s 480 B/op 11 allocs/op BenchmarkSendFile/file-to-tcp/2048-4 1 1204832532 ns/op 0.00 MB/s 480 B/op 11 allocs/op BenchmarkSendFile/file-to-tcp/4096-4 1 1206125569 ns/op 0.00 MB/s 576 B/op 12 allocs/op BenchmarkSendFile/file-to-tcp/8192-4 1 1205608943 ns/op 0.01 MB/s 480 B/op 11 allocs/op BenchmarkSendFile/file-to-tcp/16384-4 1 1205214359 ns/op 0.01 MB/s 480 B/op 11 allocs/op BenchmarkSendFile/file-to-tcp/32768-4 1 1021505076 ns/op 0.03 MB/s 480 B/op 11 allocs/op BenchmarkSendFile/file-to-tcp/65536-4 1 1021424734 ns/op 0.06 MB/s 480 B/op 11 allocs/op BenchmarkSendFile/file-to-tcp/131072-4 1 1022190641 ns/op 0.13 MB/s 480 B/op 11 allocs/op BenchmarkSendFile/file-to-tcp/262144-4 1 1021869406 ns/op 0.26 MB/s 480 B/op 11 allocs/op BenchmarkSendFile/file-to-tcp/524288-4 1 1023962511 ns/op 0.51 MB/s 480 B/op 11 allocs/op BenchmarkSendFile/file-to-tcp/1048576-4 1 1026971795 ns/op 1.02 MB/s 480 B/op 11 allocs/op BenchmarkSendFile/file-to-unix/1024-4 1 1022298195 ns/op 0.00 MB/s 576 B/op 12 allocs/op BenchmarkSendFile/file-to-unix/2048-4 1 1022189864 ns/op 0.00 MB/s 480 B/op 11 allocs/op BenchmarkSendFile/file-to-unix/4096-4 1 1020714554 ns/op 0.00 MB/s 480 B/op 11 allocs/op BenchmarkSendFile/file-to-unix/8192-4 1 1021360985 ns/op 0.01 MB/s 480 B/op 11 allocs/op BenchmarkSendFile/file-to-unix/16384-4 1 1020619289 ns/op 0.02 MB/s 480 B/op 11 allocs/op BenchmarkSendFile/file-to-unix/32768-4 1 1021136854 ns/op 0.03 MB/s 544 B/op 12 allocs/op BenchmarkSendFile/file-to-unix/65536-4 1 1021638459 ns/op 0.06 MB/s 576 B/op 12 allocs/op BenchmarkSendFile/file-to-unix/131072-4 1 1021556345 ns/op 0.13 MB/s 480 B/op 11 allocs/op BenchmarkSendFile/file-to-unix/262144-4 1 1023007887 ns/op 0.26 MB/s 480 B/op 11 allocs/op BenchmarkSendFile/file-to-unix/524288-4 1 1023182022 ns/op 0.51 MB/s 480 B/op 11 allocs/op BenchmarkSendFile/file-to-unix/1048576-4 1 1023520293 ns/op 1.02 MB/s 480 B/op 11 allocs/op BenchmarkSendfileZeroBytes-4 1 201347729 ns/op 4002936 B/op 213932 allocs/op BenchmarkSplice/tcp-to-tcp/1024-4 1 1021058675 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/2048-4 1 1021590113 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/4096-4 1 1021836342 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/8192-4 1 1020778453 ns/op 0.01 MB/s BenchmarkSplice/tcp-to-tcp/16384-4 1 1020674215 ns/op 0.02 MB/s BenchmarkSplice/tcp-to-tcp/32768-4 1 1022199089 ns/op 0.03 MB/s BenchmarkSplice/tcp-to-tcp/65536-4 1 1021720167 ns/op 0.06 MB/s BenchmarkSplice/tcp-to-tcp/131072-4 1 1022254180 ns/op 0.13 MB/s BenchmarkSplice/tcp-to-tcp/262144-4 1 1021695822 ns/op 0.26 MB/s BenchmarkSplice/tcp-to-tcp/524288-4 1 1024469163 ns/op 0.51 MB/s BenchmarkSplice/tcp-to-tcp/1048576-4 1 1026098048 ns/op 1.02 MB/s BenchmarkSplice/unix-to-tcp/1024-4 1 1021975684 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/2048-4 1 1021632219 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/4096-4 1 1020924778 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/8192-4 1 1021453701 ns/op 0.01 MB/s BenchmarkSplice/unix-to-tcp/16384-4 1 1020987245 ns/op 0.02 MB/s BenchmarkSplice/unix-to-tcp/32768-4 1 1022299824 ns/op 0.03 MB/s BenchmarkSplice/unix-to-tcp/65536-4 1 1021936805 ns/op 0.06 MB/s BenchmarkSplice/unix-to-tcp/131072-4 1 1022305790 ns/op 0.13 MB/s BenchmarkSplice/unix-to-tcp/262144-4 1 1023123916 ns/op 0.26 MB/s BenchmarkSplice/unix-to-tcp/524288-4 1 1024840852 ns/op 0.51 MB/s BenchmarkSplice/unix-to-tcp/1048576-4 1 1026416745 ns/op 1.02 MB/s BenchmarkSplice/tcp-to-unix/1024-4 1 1021558551 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-unix/2048-4 1 1021271368 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-unix/4096-4 1 1021383178 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-unix/8192-4 1 1021438884 ns/op 0.01 MB/s BenchmarkSplice/tcp-to-unix/16384-4 1 1021463799 ns/op 0.02 MB/s BenchmarkSplice/tcp-to-unix/32768-4 1 1021886760 ns/op 0.03 MB/s BenchmarkSplice/tcp-to-unix/65536-4 1 1022301835 ns/op 0.06 MB/s BenchmarkSplice/tcp-to-unix/131072-4 1 1022474222 ns/op 0.13 MB/s BenchmarkSplice/tcp-to-unix/262144-4 1 1023053080 ns/op 0.26 MB/s BenchmarkSplice/tcp-to-unix/524288-4 1 1023507476 ns/op 0.51 MB/s BenchmarkSplice/tcp-to-unix/1048576-4 1 1026289123 ns/op 1.02 MB/s BenchmarkSpliceFile/tcp-to-file/1024-4 1 1021951522 ns/op 0.00 MB/s 952 B/op 10 allocs/op BenchmarkSpliceFile/tcp-to-file/2048-4 1 1020853354 ns/op 0.00 MB/s 952 B/op 10 allocs/op BenchmarkSpliceFile/tcp-to-file/4096-4 1 1021981065 ns/op 0.00 MB/s 904 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/8192-4 1 1021601868 ns/op 0.01 MB/s 904 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/16384-4 1 1021403800 ns/op 0.02 MB/s 952 B/op 10 allocs/op BenchmarkSpliceFile/tcp-to-file/32768-4 1 1021619333 ns/op 0.03 MB/s 952 B/op 10 allocs/op BenchmarkSpliceFile/tcp-to-file/65536-4 1 1021346799 ns/op 0.06 MB/s 952 B/op 10 allocs/op BenchmarkSpliceFile/tcp-to-file/131072-4 1 1022260716 ns/op 0.13 MB/s 952 B/op 10 allocs/op BenchmarkSpliceFile/tcp-to-file/262144-4 1 1022515226 ns/op 0.26 MB/s 952 B/op 10 allocs/op BenchmarkSpliceFile/tcp-to-file/524288-4 1 1024419412 ns/op 0.51 MB/s 904 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/1048576-4 1 1026604870 ns/op 1.02 MB/s 952 B/op 10 allocs/op BenchmarkSpliceFile/unix-to-file/1024-4 1 1020784859 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/2048-4 1 1021264931 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/4096-4 1 1020914661 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/8192-4 1 1021103085 ns/op 0.01 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/16384-4 1 1021864522 ns/op 0.02 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/32768-4 1 1021325057 ns/op 0.03 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/65536-4 1 1021852953 ns/op 0.06 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/131072-4 1 1022457363 ns/op 0.13 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/262144-4 1 1022745732 ns/op 0.26 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/524288-4 1 1023997447 ns/op 0.51 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/1048576-4 1 1025953312 ns/op 1.02 MB/s 944 B/op 9 allocs/op BenchmarkTCP4OneShot-4 1623 76295 ns/op BenchmarkTCP4OneShotTimeout-4 1209 88342 ns/op BenchmarkTCP4Persistent-4 8533 13539 ns/op BenchmarkTCP4PersistentTimeout-4 7550 15033 ns/op BenchmarkTCP6OneShot-4 1279 79900 ns/op BenchmarkTCP6OneShotTimeout-4 1296 77169 ns/op BenchmarkTCP6Persistent-4 7904 14598 ns/op BenchmarkTCP6PersistentTimeout-4 8877 13008 ns/op BenchmarkTCP4ConcurrentReadWrite-4 22340 6706 ns/op BenchmarkTCP6ConcurrentReadWrite-4 18464 6342 ns/op BenchmarkSetReadDeadline-4 116751 975.8 ns/op BenchmarkReadWriteMsgUDPAddrPort-4 5548 19797 ns/op 0 B/op 0 allocs/op BenchmarkWriteToReadFromUDP-4 6064 21763 ns/op 16 B/op 1 allocs/op BenchmarkWriteToReadFromUDPAddrPort-4 6024 19405 ns/op 0 B/op 0 allocs/op PASS ok net 91.092s goos: linux goarch: amd64 pkg: net/http cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCookieString-4 28719 3959 ns/op 176 B/op 1 allocs/op BenchmarkReadSetCookies-4 9904 10546 ns/op 1168 B/op 21 allocs/op BenchmarkReadCookies-4 14368 8392 ns/op 1840 B/op 11 allocs/op BenchmarkHeaderWriteSubset-4 17895 6773 ns/op 46 B/op 0 allocs/op BenchmarkCopyValues-4 33092 3382 ns/op 736 B/op 11 allocs/op BenchmarkHexEscapeNonASCII-4 51687 2283 ns/op 192 B/op 2 allocs/op BenchmarkFindChild/n=2/rep=linear-4 1583740 75.33 ns/op BenchmarkFindChild/n=2/rep=map-4 3569316 33.54 ns/op BenchmarkFindChild/n=2/rep=hybrid8-4 1386186 85.36 ns/op BenchmarkFindChild/n=4/rep=linear-4 804789 138.9 ns/op BenchmarkFindChild/n=4/rep=map-4 3327684 35.98 ns/op BenchmarkFindChild/n=4/rep=hybrid8-4 782175 147.6 ns/op BenchmarkFindChild/n=8/rep=linear-4 405124 281.3 ns/op BenchmarkFindChild/n=8/rep=map-4 3052562 39.28 ns/op BenchmarkFindChild/n=8/rep=hybrid8-4 410756 286.8 ns/op BenchmarkFindChild/n=16/rep=linear-4 211311 550.6 ns/op BenchmarkFindChild/n=16/rep=map-4 2860552 38.59 ns/op BenchmarkFindChild/n=16/rep=hybrid8-4 2188392 55.30 ns/op BenchmarkFindChild/n=32/rep=linear-4 104385 1133 ns/op BenchmarkFindChild/n=32/rep=map-4 3216025 41.37 ns/op BenchmarkFindChild/n=32/rep=hybrid8-4 2536813 48.11 ns/op BenchmarkMultiConflicts-4 1 169499959 ns/op BenchmarkServerMatch-4 17493 6656 ns/op BenchmarkReadRequestChrome-4 3272 33097 ns/op 18.46 MB/s 1508 B/op 14 allocs/op BenchmarkReadRequestCurl-4 9637 11793 ns/op 6.61 MB/s 956 B/op 9 allocs/op BenchmarkReadRequestApachebench-4 9360 12127 ns/op 6.76 MB/s 956 B/op 9 allocs/op BenchmarkReadRequestSiege-4 6037 17350 ns/op 8.70 MB/s 1052 B/op 11 allocs/op BenchmarkReadRequestWrk-4 15289 7582 ns/op 5.28 MB/s 892 B/op 7 allocs/op BenchmarkFileAndServer_1KB/h1-4 289 452987 ns/op 2.26 MB/s BenchmarkFileAndServer_1KB/https1-4 177 621367 ns/op 1.65 MB/s BenchmarkFileAndServer_1KB/h2-4 133 844801 ns/op 1.21 MB/s BenchmarkFileAndServer_16MB/h1-4 2 73451094 ns/op 228.41 MB/s BenchmarkFileAndServer_16MB/https1-4 1 126486732 ns/op 132.64 MB/s BenchmarkFileAndServer_16MB/h2-4 1 245178645 ns/op 68.43 MB/s BenchmarkFileAndServer_64MB/h1-4 1 209907284 ns/op 319.71 MB/s BenchmarkFileAndServer_64MB/https1-4 1 493572506 ns/op 135.97 MB/s BenchmarkFileAndServer_64MB/h2-4 1 926893035 ns/op 72.40 MB/s BenchmarkServeMux-4 204 639909 ns/op 17280 B/op 360 allocs/op BenchmarkServeMux_SkipServe-4 258 520112 ns/op 0 B/op 0 allocs/op BenchmarkClientServer/h1-4 333 402995 ns/op 5937 B/op 63 allocs/op BenchmarkClientServer/https1-4 212 558914 ns/op 6757 B/op 74 allocs/op BenchmarkClientServer/h2-4 145 719516 ns/op 10066 B/op 80 allocs/op BenchmarkClientServerParallel/4/h1-4 848 125121 ns/op 9030 B/op 75 allocs/op BenchmarkClientServerParallel/4/https1-4 30 4588014 ns/op 91973 B/op 1012 allocs/op --- BENCH: BenchmarkClientServerParallel/4/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54288: write tcp 127.0.0.1:40465->127.0.0.1:54288: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54298: write tcp 127.0.0.1:40465->127.0.0.1:54298: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54290: write tcp 127.0.0.1:40465->127.0.0.1:54290: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54314: write tcp 127.0.0.1:40465->127.0.0.1:54314: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:57274: read tcp 127.0.0.1:36309->127.0.0.1:57274: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:57300: read tcp 127.0.0.1:36309->127.0.0.1:57300: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:57508: read tcp 127.0.0.1:36309->127.0.0.1:57508: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:57344: read tcp 127.0.0.1:36309->127.0.0.1:57344: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:57234: write tcp 127.0.0.1:36309->127.0.0.1:57234: use of closed network connection BenchmarkClientServerParallel/4/h2-4 117 901815 ns/op 21120 B/op 225 allocs/op --- BENCH: BenchmarkClientServerParallel/4/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49610: write tcp 127.0.0.1:41607->127.0.0.1:49610: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49620: write tcp 127.0.0.1:41607->127.0.0.1:49620: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49662: read tcp 127.0.0.1:41763->127.0.0.1:49662: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49648: read tcp 127.0.0.1:41763->127.0.0.1:49648: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49636: read tcp 127.0.0.1:41763->127.0.0.1:49636: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42290: read tcp 127.0.0.1:44811->127.0.0.1:42290: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42332: read tcp 127.0.0.1:44811->127.0.0.1:42332: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42344: read tcp 127.0.0.1:44811->127.0.0.1:42344: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42320: read tcp 127.0.0.1:44811->127.0.0.1:42320: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42356: read tcp 127.0.0.1:44811->127.0.0.1:42356: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h1-4 432 272678 ns/op 19666 B/op 111 allocs/op BenchmarkClientServerParallel/64/https1-4 56 5245975 ns/op 101252 B/op 1116 allocs/op --- BENCH: BenchmarkClientServerParallel/64/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:44698: read tcp 127.0.0.1:42545->127.0.0.1:44698: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:44714: read tcp 127.0.0.1:42545->127.0.0.1:44714: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:44708: write tcp 127.0.0.1:42545->127.0.0.1:44708: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49338: read tcp 127.0.0.1:32781->127.0.0.1:49338: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49368: read tcp 127.0.0.1:32781->127.0.0.1:49368: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49242: read tcp 127.0.0.1:32781->127.0.0.1:49242: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49256: read tcp 127.0.0.1:32781->127.0.0.1:49256: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49266: read tcp 127.0.0.1:32781->127.0.0.1:49266: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49362: read tcp 127.0.0.1:32781->127.0.0.1:49362: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49282: read tcp 127.0.0.1:32781->127.0.0.1:49282: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h2-4 66 2761243 ns/op 58620 B/op 675 allocs/op --- BENCH: BenchmarkClientServerParallel/64/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:53738: read tcp 127.0.0.1:39053->127.0.0.1:53738: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:53722: write tcp 127.0.0.1:39053->127.0.0.1:53722: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:53716: write tcp 127.0.0.1:39053->127.0.0.1:53716: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42586: read tcp 127.0.0.1:35469->127.0.0.1:42586: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42708: read tcp 127.0.0.1:35469->127.0.0.1:42708: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42716: read tcp 127.0.0.1:35469->127.0.0.1:42716: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42648: write tcp 127.0.0.1:35469->127.0.0.1:42648: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42574: write tcp 127.0.0.1:35469->127.0.0.1:42574: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42600: write tcp 127.0.0.1:35469->127.0.0.1:42600: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42624: write tcp 127.0.0.1:35469->127.0.0.1:42624: use of closed network connection ... [output truncated] BenchmarkServer-4 1 1033957774 ns/op 29792 B/op 159 allocs/op BenchmarkClient-4 244 493650 ns/op 3762 B/op 44 allocs/op BenchmarkServerFakeConnNoKeepAlive-4 573 199124 ns/op 7432 B/op 54 allocs/op BenchmarkServerFakeConnWithKeepAlive-4 1148 101785 ns/op 3094 B/op 24 allocs/op BenchmarkServerFakeConnWithKeepAliveLite-4 1353 81342 ns/op 1925 B/op 14 allocs/op BenchmarkServerHandlerTypeLen-4 1209 90044 ns/op 2777 B/op 21 allocs/op BenchmarkServerHandlerNoLen-4 1442 87555 ns/op 2710 B/op 19 allocs/op BenchmarkServerHandlerNoType-4 1348 90460 ns/op 2743 B/op 20 allocs/op BenchmarkServerHandlerNoHeader-4 1434 85178 ns/op 1891 B/op 13 allocs/op BenchmarkServerHijack-4 823 139296 ns/op 16681 B/op 50 allocs/op BenchmarkCloseNotifier/h1-4 289 387926 ns/op 5723 B/op 52 allocs/op BenchmarkResponseStatusLine-4 548125 216.5 ns/op 0 B/op 0 allocs/op PASS ok net/http 18.509s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: net/http/httputil cpu: AMD EPYC 7B12 BenchmarkServeHTTP-4 6489 17863 ns/op 34137 B/op 12 allocs/op PASS ok net/http/httputil 1.205s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: net/netip cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkIPNextPrev-4 87704 1321 ns/op BenchmarkBinaryMarshalRoundTrip/ipv4-4 471121 214.0 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6-4 184070 627.2 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6+zone-4 63678 1897 ns/op BenchmarkStdIPv4-4 114600 994.3 ns/op 16 B/op 1 allocs/op BenchmarkIPv4-4 85200 1401 ns/op 0 B/op 0 allocs/op BenchmarkIPv4_inline-4 88528 1358 ns/op 0 B/op 0 allocs/op BenchmarkStdIPv6-4 78597 1536 ns/op 16 B/op 1 allocs/op BenchmarkIPv6-4 64057 1820 ns/op 0 B/op 0 allocs/op BenchmarkIPv4Contains-4 1569991 74.95 ns/op 0 B/op 0 allocs/op BenchmarkIPv6Contains-4 1415862 84.57 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v4-4 1365955 87.78 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6-4 271617 433.5 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_ellipsis-4 294463 392.1 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_v4-4 277420 427.7 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_zone-4 83724 1456 ns/op 0 B/op 0 allocs/op BenchmarkStdParseIP/v4-4 259381 435.3 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6-4 148045 803.7 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_ellipsis-4 158362 763.0 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_v4-4 144999 822.6 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_zone-4 74542 1563 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v4-4 352026 362.4 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v6-4 123597 953.3 ns/op 48 B/op 1 allocs/op BenchmarkIPString/v6_ellipsis-4 164250 707.0 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_v4-4 238092 497.5 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_zone-4 155362 754.4 ns/op 24 B/op 1 allocs/op BenchmarkIPStringExpanded/v4-4 313891 388.4 ns/op 16 B/op 1 allocs/op BenchmarkIPStringExpanded/v6-4 145765 810.1 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_ellipsis-4 147644 790.8 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_v4-4 142717 790.4 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_zone-4 116660 1040 ns/op 128 B/op 2 allocs/op BenchmarkIPMarshalText-4 439588 252.1 ns/op 16 B/op 1 allocs/op BenchmarkAddrPortString/v4-4 240316 510.4 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortString/v6-4 88614 1218 ns/op 96 B/op 2 allocs/op BenchmarkAddrPortString/v6_ellipsis-4 120440 996.1 ns/op 56 B/op 2 allocs/op BenchmarkAddrPortString/v6_v4-4 165628 677.3 ns/op 56 B/op 2 allocs/op BenchmarkAddrPortString/v6_zone-4 119710 989.3 ns/op 56 B/op 2 allocs/op BenchmarkAddrPortMarshalText/v4-4 264284 437.5 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6-4 118671 1012 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_ellipsis-4 133742 848.9 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_v4-4 186823 633.3 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_zone-4 129046 918.2 ns/op 64 B/op 1 allocs/op BenchmarkPrefixMasking/IPv4_/32-4 1000000 111.6 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/17-4 1000000 112.5 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/0-4 1000000 112.4 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/128-4 962694 118.2 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/65-4 944640 117.3 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/0-4 886105 118.1 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/128-4 1000000 117.3 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/65-4 946320 117.7 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/0-4 927066 117.8 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMarshalText-4 341443 344.7 ns/op 24 B/op 1 allocs/op BenchmarkParseAddrPort/v4-4 583807 205.9 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6-4 212916 548.0 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_ellipsis-4 226003 510.3 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_v4-4 214208 551.1 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_zone-4 75340 1629 ns/op 0 B/op 0 allocs/op BenchmarkAs16-4 519259 226.5 ns/op PASS ok net/netip 8.792s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Running benchmarks briefly. 2023/12/01 19:56:28 Test RPC server listening on 127.0.0.1:46475 2023/12/01 19:56:28 Test HTTP RPC server listening on 127.0.0.1:45019 goos: linux goarch: amd64 pkg: net/rpc cpu: AMD EPYC 7B12 BenchmarkEndToEnd-4 1611 75161 ns/op BenchmarkEndToEndHTTP-4 1435 74819 ns/op BenchmarkEndToEndAsync-4 3620 36596 ns/op BenchmarkEndToEndAsyncHTTP-4 3084 35856 ns/op PASS ok net/rpc 1.805s goos: linux goarch: amd64 pkg: net/textproto cpu: AMD EPYC 7B12 BenchmarkReadMIMEHeader/client_headers-4 4539 22898 ns/op BenchmarkReadMIMEHeader/server_headers-4 6836 15396 ns/op BenchmarkUncommon-4 36178 3214 ns/op 464 B/op 5 allocs/op PASS ok net/textproto 1.385s goos: linux goarch: amd64 pkg: net/url cpu: AMD EPYC 7B12 BenchmarkString-4 5758 17511 ns/op 1616 B/op 60 allocs/op BenchmarkResolvePath-4 141786 866.4 ns/op 32 B/op 2 allocs/op BenchmarkQueryEscape/#00-4 767512 143.2 ns/op 16 B/op 1 allocs/op BenchmarkQueryEscape/#01-4 142791 858.3 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#02-4 262653 468.5 ns/op 32 B/op 1 allocs/op BenchmarkQueryEscape/#03-4 124119 1009 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#04-4 20566 5560 ns/op 832 B/op 2 allocs/op BenchmarkPathEscape/#00-4 592279 198.3 ns/op 16 B/op 1 allocs/op BenchmarkPathEscape/#01-4 144003 879.2 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#02-4 243921 452.2 ns/op 32 B/op 1 allocs/op BenchmarkPathEscape/#03-4 128710 1003 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#04-4 23271 5179 ns/op 704 B/op 2 allocs/op BenchmarkQueryUnescape/#00-4 261994 473.1 ns/op 16 B/op 1 allocs/op BenchmarkQueryUnescape/#01-4 104134 1180 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#02-4 100363 1202 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#03-4 45271 2672 ns/op 64 B/op 1 allocs/op BenchmarkQueryUnescape/#04-4 7345 14517 ns/op 320 B/op 1 allocs/op BenchmarkPathUnescape/#00-4 247310 499.9 ns/op 16 B/op 1 allocs/op BenchmarkPathUnescape/#01-4 102146 1174 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#02-4 102955 1184 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#03-4 46028 2634 ns/op 64 B/op 1 allocs/op BenchmarkPathUnescape/#04-4 8499 14694 ns/op 320 B/op 1 allocs/op PASS ok net/url 4.014s goos: linux goarch: amd64 pkg: os cpu: AMD EPYC 7B12 BenchmarkExpand/noop-4 4362279 28.28 ns/op 0 B/op 0 allocs/op BenchmarkExpand/multiple-4 245572 458.4 ns/op 48 B/op 2 allocs/op BenchmarkReaddirname-4 1156 98142 ns/op --- BENCH: BenchmarkReaddirname-4 os_test.go:512: benchmarkReaddirname ".": 131 entries os_test.go:512: benchmarkReaddirname ".": 131 entries os_test.go:512: benchmarkReaddirname ".": 131 entries BenchmarkReaddir-4 367 314213 ns/op --- BENCH: BenchmarkReaddir-4 os_test.go:529: benchmarkReaddir ".": 131 entries os_test.go:529: benchmarkReaddir ".": 131 entries os_test.go:529: benchmarkReaddir ".": 131 entries BenchmarkReadDir-4 907 127923 ns/op --- BENCH: BenchmarkReadDir-4 os_test.go:546: benchmarkReadDir ".": 131 entries os_test.go:546: benchmarkReadDir ".": 131 entries os_test.go:546: benchmarkReadDir ".": 131 entries BenchmarkStatDot-4 95748 1219 ns/op BenchmarkStatFile-4 75871 1544 ns/op BenchmarkStatDir-4 80559 1481 ns/op BenchmarkLstatDot-4 98347 1227 ns/op BenchmarkLstatFile-4 71234 1555 ns/op BenchmarkLstatDir-4 78612 1497 ns/op PASS ok os 2.513s goos: linux goarch: amd64 pkg: os/exec cpu: AMD EPYC 7B12 BenchmarkExecHostname-4 232 499651 ns/op 7041 B/op 30 allocs/op PASS ok os/exec 1.184s goos: linux goarch: amd64 pkg: os/user cpu: AMD EPYC 7B12 BenchmarkCurrent-4 582584 195.0 ns/op PASS ok os/user 1.225s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: reflect cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkBool-4 3728583 31.90 ns/op BenchmarkString-4 2270107 52.72 ns/op BenchmarkBytes-4 2004052 59.84 ns/op BenchmarkNamedBytes-4 1000000 109.5 ns/op BenchmarkBytesArray-4 748910 156.6 ns/op BenchmarkSliceLen-4 2311188 51.12 ns/op BenchmarkMapLen-4 833110 140.1 ns/op BenchmarkStringLen-4 1897800 63.92 ns/op BenchmarkArrayLen-4 1308663 91.25 ns/op BenchmarkSliceCap-4 2417202 49.69 ns/op BenchmarkDeepEqual/int8-4 392324 286.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int8-4 91592 1300 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int16-4 343075 334.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int16-4 87360 1364 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int32-4 350113 337.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int32-4 86218 1352 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int64-4 346672 335.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int64-4 88286 1348 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int-4 354096 337.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int-4 87850 1343 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint8-4 397357 284.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8-4 115828 1001 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint16-4 355074 333.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint16-4 88686 1346 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint32-4 351112 335.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint32-4 86613 1390 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint64-4 352729 337.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint64-4 88216 1352 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint-4 353184 337.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint-4 87868 1352 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uintptr-4 331462 338.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uintptr-4 88254 1364 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float32-4 354994 333.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float32-4 88320 1359 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float64-4 330712 352.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float64-4 88411 1362 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex64-4 353102 336.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex64-4 87282 1358 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex128-4 349778 336.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex128-4 88578 1356 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/bool-4 416653 285.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]bool-4 92319 1308 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/string-4 355552 330.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]string-4 88010 1358 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8#01-4 117806 998.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][]uint8-4 58438 2048 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[6]uint8-4 46735 2560 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][6]uint8-4 32937 3619 ns/op 0 B/op 0 allocs/op BenchmarkMapsDeepEqual-4 33726 3616 ns/op BenchmarkIsZero/ArrayComparable-4 272226 434.4 ns/op BenchmarkIsZero/ArrayIncomparable-4 30350 3927 ns/op BenchmarkIsZero/StructComparable-4 590815 193.8 ns/op BenchmarkIsZero/StructIncomparable-4 132591 867.2 ns/op BenchmarkIsZero/ArrayInt_4-4 1233165 96.35 ns/op BenchmarkIsZero/ArrayInt_1024-4 16827 7103 ns/op BenchmarkIsZero/ArrayInt_1024_NoZero-4 32440 3703 ns/op BenchmarkIsZero/Struct4Int-4 1221268 98.04 ns/op BenchmarkIsZero/ArrayStruct4Int_1024-4 16815 7139 ns/op BenchmarkIsZero/ArrayChanInt_1024-4 16837 7150 ns/op BenchmarkIsZero/StructInt_512-4 32486 3673 ns/op BenchmarkSetZero/Bool/Direct-4 4251639 27.54 ns/op BenchmarkSetZero/Bool/CachedZero-4 800902 135.1 ns/op BenchmarkSetZero/Bool/NewZero-4 655202 182.2 ns/op BenchmarkSetZero/Int/Direct-4 2576210 46.36 ns/op BenchmarkSetZero/Int/CachedZero-4 854004 134.3 ns/op BenchmarkSetZero/Int/NewZero-4 654195 179.9 ns/op BenchmarkSetZero/Uint/Direct-4 2562675 46.47 ns/op BenchmarkSetZero/Uint/CachedZero-4 803310 135.4 ns/op BenchmarkSetZero/Uint/NewZero-4 639976 181.8 ns/op BenchmarkSetZero/Float/Direct-4 2564845 46.76 ns/op BenchmarkSetZero/Float/CachedZero-4 869109 134.2 ns/op BenchmarkSetZero/Float/NewZero-4 598950 182.5 ns/op BenchmarkSetZero/Complex/Direct-4 2560803 46.36 ns/op BenchmarkSetZero/Complex/CachedZero-4 828258 136.8 ns/op BenchmarkSetZero/Complex/NewZero-4 653067 180.5 ns/op BenchmarkSetZero/Array/Direct-4 2264462 52.62 ns/op BenchmarkSetZero/Array/CachedZero-4 836704 135.1 ns/op BenchmarkSetZero/Array/NewZero-4 631239 181.5 ns/op BenchmarkSetZero/Chan/Direct-4 2560584 47.25 ns/op BenchmarkSetZero/Chan/CachedZero-4 862959 137.1 ns/op BenchmarkSetZero/Chan/NewZero-4 656648 181.0 ns/op BenchmarkSetZero/Func/Direct-4 2576604 46.77 ns/op BenchmarkSetZero/Func/CachedZero-4 864633 135.2 ns/op BenchmarkSetZero/Func/NewZero-4 648885 179.9 ns/op BenchmarkSetZero/Interface/Direct-4 2360762 50.05 ns/op BenchmarkSetZero/Interface/CachedZero-4 858645 136.9 ns/op BenchmarkSetZero/Interface/NewZero-4 624760 181.6 ns/op BenchmarkSetZero/Map/Direct-4 2580048 46.69 ns/op BenchmarkSetZero/Map/CachedZero-4 880654 134.7 ns/op BenchmarkSetZero/Map/NewZero-4 650136 179.9 ns/op BenchmarkSetZero/Pointer/Direct-4 2558367 47.27 ns/op BenchmarkSetZero/Pointer/CachedZero-4 866652 136.3 ns/op BenchmarkSetZero/Pointer/NewZero-4 607068 179.8 ns/op BenchmarkSetZero/Slice/Direct-4 2308992 52.01 ns/op BenchmarkSetZero/Slice/CachedZero-4 858260 135.7 ns/op BenchmarkSetZero/Slice/NewZero-4 652670 181.6 ns/op BenchmarkSetZero/String/Direct-4 2580250 46.55 ns/op BenchmarkSetZero/String/CachedZero-4 863973 135.5 ns/op BenchmarkSetZero/String/NewZero-4 629787 179.6 ns/op BenchmarkSetZero/Struct/Direct-4 2269101 51.75 ns/op BenchmarkSetZero/Struct/CachedZero-4 886960 133.9 ns/op BenchmarkSetZero/Struct/NewZero-4 654132 182.4 ns/op BenchmarkSelect/1-4 134445 815.8 ns/op 80 B/op 5 allocs/op BenchmarkSelect/4-4 60506 1828 ns/op 208 B/op 8 allocs/op BenchmarkSelect/8-4 29383 3921 ns/op 672 B/op 13 allocs/op BenchmarkCall-4 232956 514.3 ns/op 0 B/op 0 allocs/op BenchmarkCallMethod-4 162832 747.7 ns/op 0 B/op 0 allocs/op BenchmarkCallArgCopy/size=128-4 127507 965.1 ns/op 132.63 MB/s BenchmarkCallArgCopy/size=256-4 114772 1049 ns/op 244.07 MB/s BenchmarkCallArgCopy/size=1024-4 79743 1289 ns/op 794.32 MB/s BenchmarkCallArgCopy/size=4096-4 38649 3443 ns/op 1189.68 MB/s BenchmarkCallArgCopy/size=65536-4 2964 36400 ns/op 1800.42 MB/s BenchmarkFieldByName1-4 1195113 108.0 ns/op BenchmarkFieldByName2-4 68997 1706 ns/op BenchmarkFieldByName3-4 11893 11137 ns/op BenchmarkInterfaceBig-4 3986970 28.64 ns/op BenchmarkInterfaceSmall-4 4032027 32.49 ns/op BenchmarkNew-4 2243724 64.82 ns/op BenchmarkMap/StringKeys/MapIndex-4 2259 51842 ns/op 0 B/op 0 allocs/op BenchmarkMap/StringKeys/SetMapIndex-4 1881 63696 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/MapIndex-4 2216 52915 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/SetMapIndex-4 1924 62592 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/MapIndex-4 2280 52091 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/SetMapIndex-4 1854 63267 ns/op 0 B/op 0 allocs/op BenchmarkMapIterNext-4 215950 533.6 ns/op PASS ok reflect 19.408s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: regexp cpu: AMD EPYC 7B12 BenchmarkFind-4 16378 8082 ns/op 9329 B/op 1 allocs/op BenchmarkFindAllNoMatches-4 19128 5691 ns/op 9219 B/op 1 allocs/op BenchmarkFindString-4 14338 8005 ns/op 9280 B/op 1 allocs/op BenchmarkFindSubmatch-4 14671 7775 ns/op 9374 B/op 2 allocs/op BenchmarkFindStringSubmatch-4 15243 7942 ns/op 9212 B/op 2 allocs/op BenchmarkLiteral-4 25687 5460 ns/op BenchmarkNotLiteral-4 5031 21521 ns/op BenchmarkMatchClass-4 4429 28162 ns/op BenchmarkMatchClass_InRange-4 4068 27361 ns/op BenchmarkReplaceAll-4 3056 35106 ns/op BenchmarkAnchoredLiteralShortNonMatch-4 22934 5315 ns/op BenchmarkAnchoredLiteralLongNonMatch-4 54078 2455 ns/op BenchmarkAnchoredShortMatch-4 19261 6191 ns/op BenchmarkAnchoredLongMatch-4 26360 4573 ns/op BenchmarkOnePassShortA-4 25166 4745 ns/op BenchmarkNotOnePassShortA-4 9330 11600 ns/op BenchmarkOnePassShortB-4 32811 3660 ns/op BenchmarkNotOnePassShortB-4 12415 9175 ns/op BenchmarkOnePassLongPrefix-4 109899 1122 ns/op BenchmarkOnePassLongNotPrefix-4 37521 3168 ns/op BenchmarkMatchParallelShared-4 21030 5374 ns/op BenchmarkMatchParallelCopied-4 23276 4823 ns/op BenchmarkQuoteMetaAll-4 217881 513.5 ns/op 27.27 MB/s BenchmarkQuoteMetaNone-4 410209 277.0 ns/op 93.87 MB/s BenchmarkCompile/Onepass-4 5422 20542 ns/op 4272 B/op 52 allocs/op BenchmarkCompile/Medium-4 2372 50115 ns/op 10152 B/op 112 allocs/op BenchmarkCompile/Hard-4 253 470115 ns/op 90712 B/op 424 allocs/op BenchmarkMatch/Easy0/16-4 4452254 26.72 ns/op 598.85 MB/s BenchmarkMatch/Easy0/32-4 25060 4946 ns/op 6.47 MB/s BenchmarkMatch/Easy0/1K-4 23388 5411 ns/op 189.23 MB/s BenchmarkMatch/Easy0i/16-4 4469106 26.77 ns/op 597.74 MB/s BenchmarkMatch/Easy0i/32-4 6577 15945 ns/op 2.01 MB/s BenchmarkMatch/Easy0i/1K-4 326 346013 ns/op 2.96 MB/s BenchmarkMatch/Easy1/16-4 4473748 25.21 ns/op 634.76 MB/s BenchmarkMatch/Easy1/32-4 23834 4900 ns/op 6.53 MB/s BenchmarkMatch/Easy1/1K-4 9567 12176 ns/op 84.10 MB/s BenchmarkMatch/Medium/16-4 4462500 27.18 ns/op 588.74 MB/s BenchmarkMatch/Medium/32-4 9018 14421 ns/op 2.22 MB/s BenchmarkMatch/Medium/1K-4 372 318813 ns/op 3.21 MB/s BenchmarkMatch/Hard/16-4 4496494 25.50 ns/op 627.45 MB/s BenchmarkMatch/Hard/32-4 4510 22595 ns/op 1.42 MB/s BenchmarkMatch/Hard/1K-4 211 556852 ns/op 1.84 MB/s BenchmarkMatch/Hard1/16-4 1837 63863 ns/op 0.25 MB/s BenchmarkMatch/Hard1/32-4 985 118979 ns/op 0.27 MB/s BenchmarkMatch/Hard1/1K-4 32 3271224 ns/op 0.31 MB/s BenchmarkMatch_onepass_regex/16-4 37172 3196 ns/op 5.01 MB/s 24 B/op 0 allocs/op BenchmarkMatch_onepass_regex/32-4 22086 5420 ns/op 5.90 MB/s 24 B/op 0 allocs/op BenchmarkMatch_onepass_regex/1K-4 820 145668 ns/op 7.03 MB/s 24 B/op 0 allocs/op PASS ok regexp 8.503s goos: linux goarch: amd64 pkg: regexp/syntax cpu: AMD EPYC 7B12 BenchmarkEmptyOpContext-4 904090 132.8 ns/op BenchmarkIsWordChar-4 263358 497.7 ns/op PASS ok regexp/syntax 2.035s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: runtime cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCallers/cached-4 72468 1688 ns/op BenchmarkCallers/inlined-4 67126 1757 ns/op BenchmarkCallers/no-cache-4 15510 7718 ns/op BenchmarkFPCallers/cached-4 2719233 44.37 ns/op BenchmarkMakeChan/Byte-4 901387 116.1 ns/op BenchmarkMakeChan/Int-4 760988 151.7 ns/op BenchmarkMakeChan/Ptr-4 635757 246.0 ns/op BenchmarkMakeChan/Struct/0-4 728010 144.2 ns/op BenchmarkMakeChan/Struct/32-4 389812 300.3 ns/op BenchmarkMakeChan/Struct/40-4 377241 333.9 ns/op BenchmarkChanNonblocking-4 9965958 10.88 ns/op BenchmarkSelectUncontended-4 892561 121.7 ns/op BenchmarkSelectSyncContended-4 21624 5846 ns/op BenchmarkSelectAsyncContended-4 85614 1241 ns/op BenchmarkSelectNonblock-4 6116846 20.21 ns/op BenchmarkChanUncontended-4 8902 12883 ns/op BenchmarkChanContended-4 1206 115029 ns/op BenchmarkChanSync-4 147040 792.1 ns/op BenchmarkChanSyncWork-4 48172 2548 ns/op BenchmarkChanProdCons0-4 61191 1802 ns/op BenchmarkChanProdCons10-4 79614 1479 ns/op BenchmarkChanProdCons100-4 92559 1305 ns/op BenchmarkChanProdConsWork0-4 62527 1624 ns/op BenchmarkChanProdConsWork10-4 78345 1598 ns/op BenchmarkChanProdConsWork100-4 75277 1515 ns/op BenchmarkSelectProdCons-4 62992 1716 ns/op BenchmarkReceiveDataFromClosedChan-4 629412 192.4 ns/op BenchmarkChanCreation-4 213804 491.1 ns/op BenchmarkChanSem-4 120459 1018 ns/op BenchmarkChanPopular-4 106 1389645 ns/op BenchmarkChanClosed-4 700182 189.3 ns/op BenchmarkCallClosure-4 6118304 18.57 ns/op BenchmarkCallClosure1-4 6503008 18.55 ns/op BenchmarkCallClosure2-4 1249834 96.63 ns/op BenchmarkCallClosure3-4 1389176 79.37 ns/op BenchmarkCallClosure4-4 1338010 93.06 ns/op BenchmarkComplex128DivNormal-4 10596044 11.29 ns/op BenchmarkComplex128DivNisNaN-4 8246098 14.55 ns/op BenchmarkComplex128DivDisNaN-4 8200096 14.76 ns/op BenchmarkComplex128DivNisInf-4 11007706 10.94 ns/op BenchmarkComplex128DivDisInf-4 5954932 20.42 ns/op BenchmarkAllocation-4 2709 49033 ns/op BenchmarkReadMemStats-4 4554 27197 ns/op BenchmarkReadMemStatsLatency-4 1 78940 p50-ns 78940 p90-ns 78940 p99-ns BenchmarkWriteBarrier-4 2811759 48.88 ns/op BenchmarkBulkWriteBarrier-4 5447596 20.63 ns/op BenchmarkScanStackNoLocals-4 3 53020714 ns/op BenchmarkMSpanCountAlloc/bits=64-4 10972780 10.25 ns/op BenchmarkMSpanCountAlloc/bits=128-4 10090603 11.29 ns/op BenchmarkMSpanCountAlloc/bits=256-4 9113590 12.98 ns/op BenchmarkMSpanCountAlloc/bits=512-4 6912416 17.13 ns/op BenchmarkMSpanCountAlloc/bits=1024-4 4858156 25.48 ns/op BenchmarkHash5-4 6130291 18.61 ns/op 268.72 MB/s BenchmarkHash16-4 6071745 19.98 ns/op 800.84 MB/s BenchmarkHash64-4 5755869 20.85 ns/op 3069.09 MB/s BenchmarkHash1024-4 1881859 63.55 ns/op 16112.50 MB/s BenchmarkHash65536-4 39615 3006 ns/op 21803.73 MB/s BenchmarkAlignedLoad-4 7262551 15.29 ns/op BenchmarkUnalignedLoad-4 7090291 16.20 ns/op BenchmarkEqEfaceConcrete-4 6174146 19.22 ns/op BenchmarkEqIfaceConcrete-4 6250562 19.06 ns/op BenchmarkNeEfaceConcrete-4 6111543 19.61 ns/op BenchmarkNeIfaceConcrete-4 6107089 19.53 ns/op BenchmarkConvT2EByteSized/bool-4 6257757 19.10 ns/op BenchmarkConvT2EByteSized/uint8-4 6242608 19.10 ns/op BenchmarkConvT2ESmall-4 5753967 20.69 ns/op BenchmarkConvT2EUintptr-4 5495601 22.04 ns/op BenchmarkConvT2ELarge-4 1000000 109.8 ns/op BenchmarkConvT2ISmall-4 5731746 20.87 ns/op BenchmarkConvT2IUintptr-4 5335386 22.23 ns/op BenchmarkConvT2ILarge-4 1000000 113.9 ns/op BenchmarkConvI2E-4 4613360 24.89 ns/op BenchmarkConvI2I-4 4909194 23.43 ns/op BenchmarkAssertE2T-4 4490350 26.68 ns/op BenchmarkAssertE2TLarge-4 2483466 47.41 ns/op BenchmarkAssertE2I-4 5430373 21.11 ns/op BenchmarkAssertI2T-4 4354060 27.42 ns/op BenchmarkAssertI2I-4 5383737 21.25 ns/op BenchmarkAssertI2E-4 5688159 20.91 ns/op BenchmarkAssertE2E-4 5536078 20.38 ns/op BenchmarkAssertE2T2-4 3504434 33.85 ns/op BenchmarkAssertE2T2Blank-4 4150866 28.55 ns/op BenchmarkAssertI2E2-4 4374375 27.38 ns/op BenchmarkAssertI2E2Blank-4 5769351 19.74 ns/op BenchmarkAssertE2E2-4 4365880 27.19 ns/op BenchmarkAssertE2E2Blank-4 5837250 19.27 ns/op BenchmarkConvT2Ezero/zero/16-4 5495502 21.65 ns/op BenchmarkConvT2Ezero/zero/32-4 5352577 22.31 ns/op BenchmarkConvT2Ezero/zero/64-4 5512059 21.97 ns/op BenchmarkConvT2Ezero/zero/str-4 5161569 23.20 ns/op BenchmarkConvT2Ezero/zero/slice-4 5380543 22.36 ns/op BenchmarkConvT2Ezero/zero/big-4 185796 599.6 ns/op BenchmarkConvT2Ezero/nonzero/str-4 1242766 88.68 ns/op BenchmarkConvT2Ezero/nonzero/slice-4 1202523 97.50 ns/op BenchmarkConvT2Ezero/nonzero/big-4 206994 605.4 ns/op BenchmarkConvT2Ezero/smallint/16-4 5447605 21.87 ns/op BenchmarkConvT2Ezero/smallint/32-4 5457819 22.10 ns/op BenchmarkConvT2Ezero/smallint/64-4 5500256 21.92 ns/op BenchmarkConvT2Ezero/largeint/16-4 1576612 74.45 ns/op BenchmarkConvT2Ezero/largeint/32-4 1503204 76.21 ns/op BenchmarkConvT2Ezero/largeint/64-4 1475272 73.90 ns/op BenchmarkMalloc8-4 1832382 62.11 ns/op BenchmarkMalloc16-4 1592966 67.29 ns/op BenchmarkMallocTypeInfo8-4 1527853 75.40 ns/op BenchmarkMallocTypeInfo16-4 1398088 79.72 ns/op BenchmarkMallocLargeStruct-4 138174 943.5 ns/op BenchmarkGoroutineSelect-4 57 1915231 ns/op BenchmarkGoroutineBlocking-4 68 1771602 ns/op BenchmarkGoroutineForRange-4 67 1749262 ns/op BenchmarkGoroutineIdle-4 100 1390014 ns/op BenchmarkHashStringSpeed-4 2337819 50.71 ns/op BenchmarkHashBytesSpeed-4 1373089 85.82 ns/op BenchmarkHashInt32Speed-4 2679034 41.52 ns/op BenchmarkHashInt64Speed-4 2637583 38.36 ns/op BenchmarkHashStringArraySpeed-4 560715 213.1 ns/op BenchmarkMegMap-4 3111234 38.59 ns/op BenchmarkMegOneMap-4 3990828 29.73 ns/op BenchmarkMegEqMap-4 1909 62778 ns/op BenchmarkMegEmptyMap-4 4563248 26.48 ns/op BenchmarkMegEmptyMapWithInterfaceKey-4 2650777 46.97 ns/op BenchmarkSmallStrMap-4 3212701 36.68 ns/op BenchmarkMapStringKeysEight_16-4 3144589 37.41 ns/op BenchmarkMapStringKeysEight_32-4 3150825 38.32 ns/op BenchmarkMapStringKeysEight_64-4 3164762 38.43 ns/op BenchmarkMapStringKeysEight_1M-4 3157964 38.12 ns/op BenchmarkIntMap-4 3491629 34.29 ns/op BenchmarkMapFirst/1-4 4537425 26.16 ns/op BenchmarkMapFirst/2-4 4522344 27.28 ns/op BenchmarkMapFirst/3-4 4564867 26.45 ns/op BenchmarkMapFirst/4-4 4586130 28.13 ns/op BenchmarkMapFirst/5-4 4040277 28.04 ns/op BenchmarkMapFirst/6-4 4116218 28.46 ns/op BenchmarkMapFirst/7-4 3882865 28.42 ns/op BenchmarkMapFirst/8-4 4152721 26.39 ns/op BenchmarkMapFirst/9-4 3731474 32.22 ns/op BenchmarkMapFirst/10-4 3478922 33.37 ns/op BenchmarkMapFirst/11-4 3798768 33.30 ns/op BenchmarkMapFirst/12-4 3351780 35.71 ns/op BenchmarkMapFirst/13-4 3491298 34.40 ns/op BenchmarkMapFirst/14-4 3325232 35.85 ns/op BenchmarkMapFirst/15-4 3863256 31.39 ns/op BenchmarkMapFirst/16-4 3396735 30.74 ns/op BenchmarkMapMid/1-4 4441448 26.81 ns/op BenchmarkMapMid/2-4 3918399 28.11 ns/op BenchmarkMapMid/3-4 4286796 28.58 ns/op BenchmarkMapMid/4-4 3957771 30.20 ns/op BenchmarkMapMid/5-4 3991882 29.77 ns/op BenchmarkMapMid/6-4 4068054 31.23 ns/op BenchmarkMapMid/7-4 3837216 28.83 ns/op BenchmarkMapMid/8-4 3734077 31.90 ns/op BenchmarkMapMid/9-4 3299000 35.09 ns/op BenchmarkMapMid/10-4 3281227 36.36 ns/op BenchmarkMapMid/11-4 3240250 37.03 ns/op BenchmarkMapMid/12-4 3155985 37.60 ns/op BenchmarkMapMid/13-4 3220351 36.77 ns/op BenchmarkMapMid/14-4 3292261 34.85 ns/op BenchmarkMapMid/15-4 3387747 37.11 ns/op BenchmarkMapMid/16-4 3275221 35.64 ns/op BenchmarkMapLast/1-4 4409664 26.68 ns/op BenchmarkMapLast/2-4 4298094 27.92 ns/op BenchmarkMapLast/3-4 4133293 28.91 ns/op BenchmarkMapLast/4-4 3943756 31.03 ns/op BenchmarkMapLast/5-4 3817479 29.02 ns/op BenchmarkMapLast/6-4 3970357 31.17 ns/op BenchmarkMapLast/7-4 3925125 29.68 ns/op BenchmarkMapLast/8-4 3644134 32.23 ns/op BenchmarkMapLast/9-4 3395253 33.31 ns/op BenchmarkMapLast/10-4 3081374 34.45 ns/op BenchmarkMapLast/11-4 3269250 34.98 ns/op BenchmarkMapLast/12-4 3344373 39.92 ns/op BenchmarkMapLast/13-4 3157293 38.05 ns/op BenchmarkMapLast/14-4 3398841 33.16 ns/op BenchmarkMapLast/15-4 3316936 34.73 ns/op BenchmarkMapLast/16-4 3723423 36.04 ns/op BenchmarkMapCycle-4 2103706 56.29 ns/op BenchmarkRepeatedLookupStrMapKey32-4 3138238 38.87 ns/op BenchmarkRepeatedLookupStrMapKey1M-4 2140 49535 ns/op BenchmarkMakeMap/[Byte]Byte-4 494113 243.2 ns/op BenchmarkMakeMap/[Int]Int-4 292317 473.0 ns/op BenchmarkNewEmptyMap-4 5115451 22.82 ns/op 0 B/op 0 allocs/op BenchmarkNewSmallMap-4 1417189 83.70 ns/op 0 B/op 0 allocs/op BenchmarkMapIter-4 468315 263.0 ns/op BenchmarkMapIterEmpty-4 5198476 24.62 ns/op BenchmarkSameLengthMap-4 4505134 27.06 ns/op BenchmarkBigKeyMap-4 1640238 72.91 ns/op BenchmarkBigValMap-4 1482916 79.27 ns/op BenchmarkSmallKeyMap-4 2725748 44.06 ns/op BenchmarkMapPopulate/1-4 2255757 51.56 ns/op 0 B/op 0 allocs/op BenchmarkMapPopulate/10-4 122946 933.2 ns/op 179 B/op 1 allocs/op BenchmarkMapPopulate/100-4 9001 14861 ns/op 3345 B/op 17 allocs/op BenchmarkMapPopulate/1000-4 675 173303 ns/op 53305 B/op 72 allocs/op BenchmarkMapPopulate/10000-4 40 2893808 ns/op 427497 B/op 319 allocs/op BenchmarkMapPopulate/100000-4 4 31166537 ns/op 3609560 B/op 4004 allocs/op BenchmarkComplexAlgMap-4 447844 253.2 ns/op BenchmarkGoMapClear/Reflexive/1-4 1666286 72.78 ns/op BenchmarkGoMapClear/Reflexive/10-4 1507665 79.79 ns/op BenchmarkGoMapClear/Reflexive/100-4 475744 255.9 ns/op BenchmarkGoMapClear/Reflexive/1000-4 41245 2894 ns/op BenchmarkGoMapClear/Reflexive/10000-4 4207 28189 ns/op BenchmarkGoMapClear/NonReflexive/1-4 1328113 90.08 ns/op BenchmarkGoMapClear/NonReflexive/10-4 1237322 98.50 ns/op BenchmarkGoMapClear/NonReflexive/100-4 421080 277.8 ns/op BenchmarkGoMapClear/NonReflexive/1000-4 38923 3007 ns/op BenchmarkGoMapClear/NonReflexive/10000-4 4360 28472 ns/op BenchmarkMapStringConversion/32/simple-4 1719072 71.59 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/struct-4 1563818 76.11 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/array-4 1530514 78.29 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/simple-4 1585815 74.91 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/struct-4 1432347 81.64 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/array-4 1454918 83.41 ns/op 0 B/op 0 allocs/op BenchmarkMapInterfaceString-4 1851001 65.30 ns/op BenchmarkMapInterfacePtr-4 1853326 64.41 ns/op BenchmarkNewEmptyMapHintLessThan8-4 3387368 35.12 ns/op 0 B/op 0 allocs/op BenchmarkNewEmptyMapHintGreaterThan8-4 88392 1259 ns/op 1152 B/op 1 allocs/op BenchmarkMapPop100-4 4897 24479 ns/op BenchmarkMapPop1000-4 343 344698 ns/op BenchmarkMapPop10000-4 20 6830052 ns/op BenchmarkMapAssign/Int32/256-4 2372554 52.68 ns/op BenchmarkMapAssign/Int32/65536-4 973622 109.9 ns/op BenchmarkMapAssign/Int64/256-4 2297738 51.14 ns/op BenchmarkMapAssign/Int64/65536-4 807402 133.0 ns/op BenchmarkMapAssign/Str/256-4 1827511 66.61 ns/op BenchmarkMapAssign/Str/65536-4 390193 291.7 ns/op BenchmarkMapOperatorAssign/Int32/256-4 1450166 83.09 ns/op BenchmarkMapOperatorAssign/Int32/65536-4 653648 173.7 ns/op BenchmarkMapOperatorAssign/Int64/256-4 1444125 83.45 ns/op BenchmarkMapOperatorAssign/Int64/65536-4 516392 208.9 ns/op BenchmarkMapOperatorAssign/Str/256-4 409832 2397 ns/op BenchmarkMapOperatorAssign/Str/65536-4 114555 1008 ns/op BenchmarkMapAppendAssign/Int32/256-4 965556 165.2 ns/op 34 B/op 0 allocs/op BenchmarkMapAppendAssign/Int32/65536-4 146980 726.7 ns/op 78 B/op 1 allocs/op BenchmarkMapAppendAssign/Int64/256-4 903344 164.7 ns/op 36 B/op 0 allocs/op BenchmarkMapAppendAssign/Int64/65536-4 114862 896.3 ns/op 104 B/op 1 allocs/op BenchmarkMapAppendAssign/Str/256-4 565938 214.3 ns/op 45 B/op 0 allocs/op BenchmarkMapAppendAssign/Str/65536-4 87825 1435 ns/op 163 B/op 1 allocs/op BenchmarkMapDelete/Int32/100-4 1797261 71.58 ns/op BenchmarkMapDelete/Int32/1000-4 1888527 62.35 ns/op BenchmarkMapDelete/Int32/10000-4 1713692 69.69 ns/op BenchmarkMapDelete/Int64/100-4 1758800 78.60 ns/op BenchmarkMapDelete/Int64/1000-4 1863934 64.07 ns/op BenchmarkMapDelete/Int64/10000-4 1605393 73.40 ns/op BenchmarkMapDelete/Str/100-4 1267369 118.1 ns/op BenchmarkMapDelete/Str/1000-4 1495692 79.55 ns/op BenchmarkMapDelete/Str/10000-4 1000000 100.1 ns/op BenchmarkMapDelete/Pointer/100-4 1442913 102.4 ns/op BenchmarkMapDelete/Pointer/1000-4 1650436 75.18 ns/op BenchmarkMapDelete/Pointer/10000-4 1324798 90.64 ns/op BenchmarkMemmove/0-4 12586968 8.894 ns/op BenchmarkMemmove/1-4 1967204 60.67 ns/op 16.48 MB/s BenchmarkMemmove/2-4 1890499 61.24 ns/op 32.66 MB/s BenchmarkMemmove/3-4 1925740 63.37 ns/op 47.34 MB/s BenchmarkMemmove/4-4 1890757 62.91 ns/op 63.58 MB/s BenchmarkMemmove/5-4 1919264 62.35 ns/op 80.19 MB/s BenchmarkMemmove/6-4 1905488 63.01 ns/op 95.23 MB/s BenchmarkMemmove/7-4 1684425 69.16 ns/op 101.22 MB/s BenchmarkMemmove/8-4 1911334 63.50 ns/op 125.98 MB/s BenchmarkMemmove/9-4 1766658 67.19 ns/op 133.95 MB/s BenchmarkMemmove/10-4 1874802 65.10 ns/op 153.62 MB/s BenchmarkMemmove/11-4 1903382 62.88 ns/op 174.94 MB/s BenchmarkMemmove/12-4 1899606 63.82 ns/op 188.02 MB/s BenchmarkMemmove/13-4 1905108 65.05 ns/op 199.84 MB/s BenchmarkMemmove/14-4 1875426 62.54 ns/op 223.86 MB/s BenchmarkMemmove/15-4 1898737 64.96 ns/op 230.91 MB/s BenchmarkMemmove/16-4 1916851 62.93 ns/op 254.25 MB/s BenchmarkMemmove/32-4 1862509 64.42 ns/op 496.70 MB/s BenchmarkMemmove/64-4 1704056 70.46 ns/op 908.38 MB/s BenchmarkMemmove/128-4 1283859 90.45 ns/op 1415.14 MB/s BenchmarkMemmove/256-4 879532 135.0 ns/op 1896.45 MB/s BenchmarkMemmove/512-4 632350 184.5 ns/op 2775.44 MB/s BenchmarkMemmove/1024-4 421155 287.1 ns/op 3566.44 MB/s BenchmarkMemmove/2048-4 240597 492.2 ns/op 4161.27 MB/s BenchmarkMemmove/4096-4 133780 896.1 ns/op 4570.68 MB/s BenchmarkMemmoveOverlap/32-4 1815584 65.22 ns/op 490.63 MB/s BenchmarkMemmoveOverlap/64-4 1713612 70.44 ns/op 908.62 MB/s BenchmarkMemmoveOverlap/128-4 1451434 83.46 ns/op 1533.65 MB/s BenchmarkMemmoveOverlap/256-4 902730 129.0 ns/op 1984.91 MB/s BenchmarkMemmoveOverlap/512-4 633062 180.5 ns/op 2836.19 MB/s BenchmarkMemmoveOverlap/1024-4 438272 275.3 ns/op 3719.19 MB/s BenchmarkMemmoveOverlap/2048-4 241575 502.0 ns/op 4079.59 MB/s BenchmarkMemmoveOverlap/4096-4 131348 905.5 ns/op 4523.40 MB/s BenchmarkMemmoveUnalignedDst/0-4 12134568 9.404 ns/op BenchmarkMemmoveUnalignedDst/1-4 1754382 64.75 ns/op 15.44 MB/s BenchmarkMemmoveUnalignedDst/2-4 1896781 62.50 ns/op 32.00 MB/s BenchmarkMemmoveUnalignedDst/3-4 1897026 63.44 ns/op 47.29 MB/s BenchmarkMemmoveUnalignedDst/4-4 1860462 63.59 ns/op 62.90 MB/s BenchmarkMemmoveUnalignedDst/5-4 1857864 62.28 ns/op 80.29 MB/s BenchmarkMemmoveUnalignedDst/6-4 1909066 61.65 ns/op 97.33 MB/s BenchmarkMemmoveUnalignedDst/7-4 1923572 62.99 ns/op 111.13 MB/s BenchmarkMemmoveUnalignedDst/8-4 2042428 58.21 ns/op 137.43 MB/s BenchmarkMemmoveUnalignedDst/9-4 1833817 65.91 ns/op 136.56 MB/s BenchmarkMemmoveUnalignedDst/10-4 1825959 64.35 ns/op 155.41 MB/s BenchmarkMemmoveUnalignedDst/11-4 1882309 63.91 ns/op 172.11 MB/s BenchmarkMemmoveUnalignedDst/12-4 1867210 63.34 ns/op 189.45 MB/s BenchmarkMemmoveUnalignedDst/13-4 1896320 63.21 ns/op 205.65 MB/s BenchmarkMemmoveUnalignedDst/14-4 1859402 64.13 ns/op 218.32 MB/s BenchmarkMemmoveUnalignedDst/15-4 1849515 63.37 ns/op 236.69 MB/s BenchmarkMemmoveUnalignedDst/16-4 1843124 64.01 ns/op 249.98 MB/s BenchmarkMemmoveUnalignedDst/32-4 1761019 68.91 ns/op 464.39 MB/s BenchmarkMemmoveUnalignedDst/64-4 1611934 73.70 ns/op 868.37 MB/s BenchmarkMemmoveUnalignedDst/128-4 1382637 86.21 ns/op 1484.83 MB/s BenchmarkMemmoveUnalignedDst/256-4 869173 128.9 ns/op 1986.18 MB/s BenchmarkMemmoveUnalignedDst/512-4 652128 183.6 ns/op 2787.92 MB/s BenchmarkMemmoveUnalignedDst/1024-4 412330 289.2 ns/op 3541.01 MB/s BenchmarkMemmoveUnalignedDst/2048-4 235923 502.1 ns/op 4078.50 MB/s BenchmarkMemmoveUnalignedDst/4096-4 128390 927.4 ns/op 4416.69 MB/s BenchmarkMemmoveUnalignedDstOverlap/32-4 1725543 68.66 ns/op 466.08 MB/s BenchmarkMemmoveUnalignedDstOverlap/64-4 1627234 75.76 ns/op 844.80 MB/s BenchmarkMemmoveUnalignedDstOverlap/128-4 1378495 86.15 ns/op 1485.80 MB/s BenchmarkMemmoveUnalignedDstOverlap/256-4 831681 131.4 ns/op 1947.53 MB/s BenchmarkMemmoveUnalignedDstOverlap/512-4 619288 193.6 ns/op 2644.72 MB/s BenchmarkMemmoveUnalignedDstOverlap/1024-4 404024 291.4 ns/op 3514.24 MB/s BenchmarkMemmoveUnalignedDstOverlap/2048-4 232454 515.6 ns/op 3971.89 MB/s BenchmarkMemmoveUnalignedDstOverlap/4096-4 130665 919.1 ns/op 4456.64 MB/s BenchmarkMemmoveUnalignedSrc/0-4 12324404 9.307 ns/op BenchmarkMemmoveUnalignedSrc/1-4 1934539 61.85 ns/op 16.17 MB/s BenchmarkMemmoveUnalignedSrc/2-4 1873282 64.33 ns/op 31.09 MB/s BenchmarkMemmoveUnalignedSrc/3-4 1837411 66.06 ns/op 45.41 MB/s BenchmarkMemmoveUnalignedSrc/4-4 1887290 63.40 ns/op 63.09 MB/s BenchmarkMemmoveUnalignedSrc/5-4 1826542 63.23 ns/op 79.08 MB/s BenchmarkMemmoveUnalignedSrc/6-4 1810902 64.64 ns/op 92.83 MB/s BenchmarkMemmoveUnalignedSrc/7-4 1879347 64.93 ns/op 107.80 MB/s BenchmarkMemmoveUnalignedSrc/8-4 2021374 60.54 ns/op 132.14 MB/s BenchmarkMemmoveUnalignedSrc/9-4 1847215 65.32 ns/op 137.78 MB/s BenchmarkMemmoveUnalignedSrc/10-4 1849266 65.13 ns/op 153.55 MB/s BenchmarkMemmoveUnalignedSrc/11-4 1857831 64.38 ns/op 170.85 MB/s BenchmarkMemmoveUnalignedSrc/12-4 1850085 64.46 ns/op 186.16 MB/s BenchmarkMemmoveUnalignedSrc/13-4 1899577 64.75 ns/op 200.76 MB/s BenchmarkMemmoveUnalignedSrc/14-4 1874349 64.71 ns/op 216.34 MB/s BenchmarkMemmoveUnalignedSrc/15-4 1840606 65.07 ns/op 230.51 MB/s BenchmarkMemmoveUnalignedSrc/16-4 1852443 64.88 ns/op 246.62 MB/s BenchmarkMemmoveUnalignedSrc/32-4 1765730 68.89 ns/op 464.53 MB/s BenchmarkMemmoveUnalignedSrc/64-4 1615575 74.27 ns/op 861.66 MB/s BenchmarkMemmoveUnalignedSrc/128-4 1375852 86.51 ns/op 1479.67 MB/s BenchmarkMemmoveUnalignedSrc/256-4 882555 125.5 ns/op 2040.08 MB/s BenchmarkMemmoveUnalignedSrc/512-4 655984 183.2 ns/op 2795.40 MB/s BenchmarkMemmoveUnalignedSrc/1024-4 421280 281.8 ns/op 3634.32 MB/s BenchmarkMemmoveUnalignedSrc/2048-4 234712 506.0 ns/op 4047.76 MB/s BenchmarkMemmoveUnalignedSrc/4096-4 128886 933.3 ns/op 4388.84 MB/s BenchmarkMemmoveUnalignedSrcDst/f_16_0-4 1544614 79.20 ns/op 202.02 MB/s BenchmarkMemmoveUnalignedSrcDst/b_16_0-4 1591508 77.82 ns/op 205.60 MB/s BenchmarkMemmoveUnalignedSrcDst/f_16_1-4 1485590 81.86 ns/op 195.47 MB/s BenchmarkMemmoveUnalignedSrcDst/b_16_1-4 1487468 79.86 ns/op 200.35 MB/s BenchmarkMemmoveUnalignedSrcDst/f_16_4-4 1489549 81.12 ns/op 197.24 MB/s BenchmarkMemmoveUnalignedSrcDst/b_16_4-4 1541241 77.35 ns/op 206.85 MB/s BenchmarkMemmoveUnalignedSrcDst/f_16_7-4 1529989 80.06 ns/op 199.84 MB/s BenchmarkMemmoveUnalignedSrcDst/b_16_7-4 1528920 78.21 ns/op 204.56 MB/s BenchmarkMemmoveUnalignedSrcDst/f_64_0-4 1378425 87.09 ns/op 734.86 MB/s BenchmarkMemmoveUnalignedSrcDst/b_64_0-4 1321209 89.34 ns/op 716.38 MB/s BenchmarkMemmoveUnalignedSrcDst/f_64_1-4 1343760 90.56 ns/op 706.74 MB/s BenchmarkMemmoveUnalignedSrcDst/b_64_1-4 1359435 89.48 ns/op 715.28 MB/s BenchmarkMemmoveUnalignedSrcDst/f_64_4-4 1349060 87.37 ns/op 732.51 MB/s BenchmarkMemmoveUnalignedSrcDst/b_64_4-4 1365638 87.64 ns/op 730.30 MB/s BenchmarkMemmoveUnalignedSrcDst/f_64_7-4 1356030 88.32 ns/op 724.65 MB/s BenchmarkMemmoveUnalignedSrcDst/b_64_7-4 1373845 87.63 ns/op 730.35 MB/s BenchmarkMemmoveUnalignedSrcDst/f_256_0-4 797150 147.8 ns/op 1731.67 MB/s BenchmarkMemmoveUnalignedSrcDst/b_256_0-4 679142 173.3 ns/op 1476.80 MB/s BenchmarkMemmoveUnalignedSrcDst/f_256_1-4 773730 135.4 ns/op 1890.97 MB/s BenchmarkMemmoveUnalignedSrcDst/b_256_1-4 820221 141.2 ns/op 1812.61 MB/s BenchmarkMemmoveUnalignedSrcDst/f_256_4-4 801003 131.4 ns/op 1947.85 MB/s BenchmarkMemmoveUnalignedSrcDst/b_256_4-4 752883 135.2 ns/op 1893.97 MB/s BenchmarkMemmoveUnalignedSrcDst/f_256_7-4 830779 129.2 ns/op 1980.95 MB/s BenchmarkMemmoveUnalignedSrcDst/b_256_7-4 800964 139.9 ns/op 1829.35 MB/s BenchmarkMemmoveUnalignedSrcDst/f_4096_0-4 119090 998.1 ns/op 4103.74 MB/s BenchmarkMemmoveUnalignedSrcDst/b_4096_0-4 80680 1490 ns/op 2748.86 MB/s BenchmarkMemmoveUnalignedSrcDst/f_4096_1-4 126973 939.3 ns/op 4360.81 MB/s BenchmarkMemmoveUnalignedSrcDst/b_4096_1-4 126746 952.9 ns/op 4298.58 MB/s BenchmarkMemmoveUnalignedSrcDst/f_4096_4-4 129004 925.2 ns/op 4427.00 MB/s BenchmarkMemmoveUnalignedSrcDst/b_4096_4-4 124197 946.3 ns/op 4328.44 MB/s BenchmarkMemmoveUnalignedSrcDst/f_4096_7-4 129081 926.2 ns/op 4422.60 MB/s BenchmarkMemmoveUnalignedSrcDst/b_4096_7-4 128282 935.3 ns/op 4379.49 MB/s BenchmarkMemmoveUnalignedSrcDst/f_65536_0-4 5845 19172 ns/op 3418.25 MB/s BenchmarkMemmoveUnalignedSrcDst/b_65536_0-4 4347 26168 ns/op 2504.39 MB/s BenchmarkMemmoveUnalignedSrcDst/f_65536_1-4 6153 17980 ns/op 3644.99 MB/s BenchmarkMemmoveUnalignedSrcDst/b_65536_1-4 6128 17537 ns/op 3737.04 MB/s BenchmarkMemmoveUnalignedSrcDst/f_65536_4-4 6349 17929 ns/op 3655.24 MB/s BenchmarkMemmoveUnalignedSrcDst/b_65536_4-4 6324 18002 ns/op 3640.45 MB/s BenchmarkMemmoveUnalignedSrcDst/f_65536_7-4 5863 17560 ns/op 3732.20 MB/s BenchmarkMemmoveUnalignedSrcDst/b_65536_7-4 6367 17622 ns/op 3719.01 MB/s BenchmarkMemmoveUnalignedSrcOverlap/32-4 1730194 70.43 ns/op 454.38 MB/s BenchmarkMemmoveUnalignedSrcOverlap/64-4 1615011 73.88 ns/op 866.25 MB/s BenchmarkMemmoveUnalignedSrcOverlap/128-4 1377736 87.75 ns/op 1458.65 MB/s BenchmarkMemmoveUnalignedSrcOverlap/256-4 908242 130.1 ns/op 1967.83 MB/s BenchmarkMemmoveUnalignedSrcOverlap/512-4 649429 182.7 ns/op 2802.36 MB/s BenchmarkMemmoveUnalignedSrcOverlap/1024-4 420975 286.6 ns/op 3573.45 MB/s BenchmarkMemmoveUnalignedSrcOverlap/2048-4 237860 500.3 ns/op 4093.47 MB/s BenchmarkMemmoveUnalignedSrcOverlap/4096-4 133453 915.8 ns/op 4472.60 MB/s BenchmarkMemclr/5-4 11912518 10.20 ns/op 490.24 MB/s BenchmarkMemclr/16-4 11663139 10.25 ns/op 1560.41 MB/s BenchmarkMemclr/64-4 10858923 10.92 ns/op 5862.77 MB/s BenchmarkMemclr/256-4 9364474 12.72 ns/op 20118.08 MB/s BenchmarkMemclr/4096-4 1662958 71.92 ns/op 56948.73 MB/s BenchmarkMemclr/65536-4 41196 2927 ns/op 22386.53 MB/s BenchmarkMemclr/1M-4 2556 50795 ns/op 20643.35 MB/s BenchmarkMemclr/4M-4 579 189645 ns/op 22116.59 MB/s BenchmarkMemclr/8M-4 291 394599 ns/op 21258.57 MB/s BenchmarkMemclr/16M-4 117 966642 ns/op 17356.18 MB/s BenchmarkMemclr/64M-4 25 4473458 ns/op 15001.56 MB/s BenchmarkMemclrUnaligned/0_5-4 7167242 16.70 ns/op 299.44 MB/s BenchmarkMemclrUnaligned/0_16-4 7279858 16.49 ns/op 970.30 MB/s BenchmarkMemclrUnaligned/0_64-4 7088542 16.86 ns/op 3796.28 MB/s BenchmarkMemclrUnaligned/0_256-4 6513399 18.35 ns/op 13953.24 MB/s BenchmarkMemclrUnaligned/0_4096-4 1632417 73.50 ns/op 55727.56 MB/s BenchmarkMemclrUnaligned/0_65536-4 44652 2691 ns/op 24353.00 MB/s BenchmarkMemclrUnaligned/1_5-4 7232539 16.61 ns/op 301.06 MB/s BenchmarkMemclrUnaligned/1_16-4 7232092 16.46 ns/op 972.04 MB/s BenchmarkMemclrUnaligned/1_64-4 7037553 16.77 ns/op 3816.02 MB/s BenchmarkMemclrUnaligned/1_256-4 6058716 19.65 ns/op 13030.43 MB/s BenchmarkMemclrUnaligned/1_4096-4 898873 124.1 ns/op 33017.20 MB/s BenchmarkMemclrUnaligned/1_65536-4 43258 2752 ns/op 23818.27 MB/s BenchmarkMemclrUnaligned/4_5-4 7151542 16.99 ns/op 294.37 MB/s BenchmarkMemclrUnaligned/4_16-4 7190928 16.52 ns/op 968.63 MB/s BenchmarkMemclrUnaligned/4_64-4 7099924 16.77 ns/op 3816.29 MB/s BenchmarkMemclrUnaligned/4_256-4 6254136 19.28 ns/op 13275.84 MB/s BenchmarkMemclrUnaligned/4_4096-4 956676 124.8 ns/op 32808.16 MB/s BenchmarkMemclrUnaligned/4_65536-4 43688 2734 ns/op 23973.81 MB/s BenchmarkMemclrUnaligned/7_5-4 7138143 16.48 ns/op 303.43 MB/s BenchmarkMemclrUnaligned/7_16-4 7118286 16.57 ns/op 965.85 MB/s BenchmarkMemclrUnaligned/7_64-4 7121518 16.93 ns/op 3779.30 MB/s BenchmarkMemclrUnaligned/7_256-4 6118652 18.21 ns/op 14059.35 MB/s BenchmarkMemclrUnaligned/7_4096-4 962992 124.7 ns/op 32839.21 MB/s BenchmarkMemclrUnaligned/7_65536-4 44868 2709 ns/op 24193.32 MB/s BenchmarkMemclrUnaligned/0_1M-4 2541 46679 ns/op 22463.37 MB/s BenchmarkMemclrUnaligned/0_4M-4 628 190793 ns/op 21983.57 MB/s BenchmarkMemclrUnaligned/0_8M-4 298 396310 ns/op 21166.76 MB/s BenchmarkMemclrUnaligned/0_16M-4 129 938822 ns/op 17870.49 MB/s BenchmarkMemclrUnaligned/0_64M-4 24 4691453 ns/op 14304.49 MB/s BenchmarkMemclrUnaligned/1_1M-4 2464 47408 ns/op 22118.19 MB/s BenchmarkMemclrUnaligned/1_4M-4 596 197300 ns/op 21258.55 MB/s BenchmarkMemclrUnaligned/1_8M-4 279 416738 ns/op 20129.21 MB/s BenchmarkMemclrUnaligned/1_16M-4 115 1049099 ns/op 15992.02 MB/s BenchmarkMemclrUnaligned/1_64M-4 22 4793477 ns/op 14000.04 MB/s BenchmarkMemclrUnaligned/4_1M-4 2499 46855 ns/op 22379.08 MB/s BenchmarkMemclrUnaligned/4_4M-4 586 190787 ns/op 21984.22 MB/s BenchmarkMemclrUnaligned/4_8M-4 291 420819 ns/op 19934.02 MB/s BenchmarkMemclrUnaligned/4_16M-4 97 1156288 ns/op 14509.55 MB/s BenchmarkMemclrUnaligned/4_64M-4 24 4620886 ns/op 14522.94 MB/s BenchmarkMemclrUnaligned/7_1M-4 2492 46864 ns/op 22374.69 MB/s BenchmarkMemclrUnaligned/7_4M-4 559 193811 ns/op 21641.24 MB/s BenchmarkMemclrUnaligned/7_8M-4 282 409233 ns/op 20498.34 MB/s BenchmarkMemclrUnaligned/7_16M-4 116 1023182 ns/op 16397.09 MB/s BenchmarkMemclrUnaligned/7_64M-4 24 4546727 ns/op 14759.82 MB/s BenchmarkGoMemclr/5-4 2288563 52.54 ns/op 95.17 MB/s BenchmarkGoMemclr/16-4 544072 213.7 ns/op 74.87 MB/s BenchmarkGoMemclr/64-4 150199 792.2 ns/op 80.78 MB/s BenchmarkGoMemclr/256-4 38361 3141 ns/op 81.50 MB/s BenchmarkMemclrRange/1K_2K-4 62917 1921 ns/op 49900.91 MB/s BenchmarkMemclrRange/2K_8K-4 21441 5626 ns/op 59279.59 MB/s BenchmarkMemclrRange/4K_16K-4 26168 4578 ns/op 70563.29 MB/s BenchmarkMemclrRange/160K_228K-4 1521 77594 ns/op 21430.24 MB/s BenchmarkClearFat7-4 6362371 18.01 ns/op BenchmarkClearFat8-4 6969993 16.26 ns/op BenchmarkClearFat11-4 6031321 18.60 ns/op BenchmarkClearFat12-4 6116308 18.72 ns/op BenchmarkClearFat13-4 6156453 18.53 ns/op BenchmarkClearFat14-4 6142586 18.90 ns/op BenchmarkClearFat15-4 6116224 18.69 ns/op BenchmarkClearFat16-4 6631148 17.35 ns/op BenchmarkClearFat24-4 6289350 18.84 ns/op BenchmarkClearFat32-4 6029924 18.77 ns/op BenchmarkClearFat40-4 5778649 19.96 ns/op BenchmarkClearFat48-4 5776180 20.42 ns/op BenchmarkClearFat56-4 5447571 21.25 ns/op BenchmarkClearFat64-4 5195722 22.31 ns/op BenchmarkClearFat72-4 5029648 23.25 ns/op BenchmarkClearFat128-4 3834735 30.59 ns/op BenchmarkClearFat256-4 2283538 53.66 ns/op BenchmarkClearFat512-4 1551895 76.44 ns/op BenchmarkClearFat1024-4 856839 138.2 ns/op BenchmarkClearFat1032-4 737653 145.2 ns/op BenchmarkClearFat1040-4 823090 144.9 ns/op BenchmarkCopyFat7-4 6215114 19.32 ns/op BenchmarkCopyFat8-4 6719480 16.39 ns/op BenchmarkCopyFat11-4 6049934 18.65 ns/op BenchmarkCopyFat12-4 6057055 18.72 ns/op BenchmarkCopyFat13-4 5976448 18.83 ns/op BenchmarkCopyFat14-4 6027391 18.65 ns/op BenchmarkCopyFat15-4 6132541 18.28 ns/op BenchmarkCopyFat16-4 6841792 17.51 ns/op BenchmarkCopyFat24-4 6177006 18.26 ns/op BenchmarkCopyFat32-4 6133191 19.10 ns/op BenchmarkCopyFat64-4 5302273 21.90 ns/op BenchmarkCopyFat72-4 4967894 23.53 ns/op BenchmarkCopyFat128-4 3743302 31.33 ns/op BenchmarkCopyFat256-4 2177074 55.37 ns/op BenchmarkCopyFat512-4 1405903 84.69 ns/op BenchmarkCopyFat520-4 1389921 87.14 ns/op BenchmarkCopyFat1024-4 840775 144.0 ns/op BenchmarkCopyFat1032-4 811605 145.3 ns/op BenchmarkCopyFat1040-4 804249 149.9 ns/op BenchmarkIssue18740/2byte-4 481 253452 ns/op BenchmarkIssue18740/4byte-4 760 153746 ns/op BenchmarkIssue18740/8byte-4 1154 103728 ns/op BenchmarkMemclrKnownSize1-4 9047434 12.90 ns/op 77.54 MB/s BenchmarkMemclrKnownSize2-4 5393930 22.18 ns/op 90.18 MB/s BenchmarkMemclrKnownSize4-4 3330079 35.87 ns/op 111.50 MB/s BenchmarkMemclrKnownSize8-4 1000000 101.1 ns/op 79.11 MB/s BenchmarkMemclrKnownSize16-4 575727 205.0 ns/op 78.04 MB/s BenchmarkMemclrKnownSize32-4 296262 393.3 ns/op 81.37 MB/s BenchmarkMemclrKnownSize64-4 150980 761.5 ns/op 84.05 MB/s BenchmarkMemclrKnownSize112-4 91065 1345 ns/op 83.30 MB/s BenchmarkMemclrKnownSize128-4 77080 1535 ns/op 83.38 MB/s BenchmarkMemclrKnownSize192-4 50893 2286 ns/op 83.97 MB/s BenchmarkMemclrKnownSize248-4 41029 2968 ns/op 83.56 MB/s BenchmarkMemclrKnownSize256-4 39164 3050 ns/op 83.94 MB/s BenchmarkMemclrKnownSize512-4 19690 6094 ns/op 84.02 MB/s BenchmarkMemclrKnownSize1024-4 9297 12081 ns/op 84.76 MB/s BenchmarkMemclrKnownSize4096-4 2440 48254 ns/op 84.88 MB/s BenchmarkMemclrKnownSize512KiB-4 18 6519871 ns/op 80.41 MB/s BenchmarkReadMetricsLatency-4 10000 6400 p50-ns 10772 p90-ns 25177 p99-ns BenchmarkFinalizer-4 199 582644 ns/op BenchmarkFinalizerRun-4 216516 758.5 ns/op BenchmarkPallocBitsSummarize/Unpacked00-4 6613947 18.11 ns/op BenchmarkPallocBitsSummarize/UnpackedFFFFFFFFFFFFFFFF-4 2997691 40.68 ns/op BenchmarkPallocBitsSummarize/UnpackedAA-4 2199165 55.10 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAAAAAAAAAA-4 2089579 57.61 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000AAAAAAAA-4 1318840 90.65 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAA00000001-4 1208197 99.91 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBBBBBBBBBB-4 1991059 60.49 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000BBBBBBBB-4 1260374 93.72 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBB00000001-4 1296063 91.38 ns/op BenchmarkPallocBitsSummarize/UnpackedCCCCCCCCCCCCCCCC-4 1791806 66.29 ns/op BenchmarkPallocBitsSummarize/Unpacked4444444444444444-4 1808103 66.24 ns/op BenchmarkPallocBitsSummarize/Unpacked4040404040404040-4 1600527 74.95 ns/op BenchmarkPallocBitsSummarize/Unpacked4000400040004000-4 1426555 83.71 ns/op BenchmarkPallocBitsSummarize/Unpacked1000404044CCAAFF-4 1351791 89.01 ns/op BenchmarkFindBitRange64/Pattern00Size2-4 7844647 15.27 ns/op BenchmarkFindBitRange64/Pattern00Size8-4 7860078 14.95 ns/op BenchmarkFindBitRange64/Pattern00Size32-4 7909077 14.88 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize2-4 7902871 15.11 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize8-4 6914475 16.89 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize32-4 6283220 18.87 ns/op BenchmarkFindBitRange64/PatternAASize2-4 7984915 15.25 ns/op BenchmarkFindBitRange64/PatternAASize8-4 7993212 15.05 ns/op BenchmarkFindBitRange64/PatternAASize32-4 7997588 14.90 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize2-4 7837316 15.10 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize8-4 8038898 14.81 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize32-4 8057199 14.94 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize2-4 7912051 15.13 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize8-4 7917408 14.93 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize32-4 8096020 14.97 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size2-4 7878066 15.14 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size8-4 8042210 14.89 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size32-4 8048778 14.84 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize2-4 7894102 15.24 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize8-4 7470055 15.90 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize32-4 7487208 16.07 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize2-4 7859019 15.09 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize8-4 7482496 16.13 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize32-4 7436150 16.16 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size2-4 7883761 15.13 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size8-4 7365854 16.00 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size32-4 7444194 16.00 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize2-4 7900915 15.11 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize8-4 7397886 16.02 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize32-4 7295602 16.04 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size2-4 7770559 15.20 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size8-4 8001321 15.09 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size32-4 7913078 14.91 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size2-4 7931136 15.08 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size8-4 8073304 14.86 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size32-4 7926206 14.83 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size2-4 7848976 15.26 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size8-4 8046693 14.84 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size32-4 8095821 14.86 ns/op BenchmarkNetpollBreak-4 3453 32007 ns/op BenchmarkPinnerPinUnpinBatch-4 859 123953 ns/op BenchmarkPinnerPinUnpinBatchDouble-4 214 551008 ns/op BenchmarkPinnerPinUnpinBatchTiny-4 992 120548 ns/op BenchmarkPinnerPinUnpin-4 1000000 104.5 ns/op BenchmarkPinnerPinUnpinTiny-4 1000000 104.8 ns/op BenchmarkPinnerPinUnpinDouble-4 418953 283.0 ns/op BenchmarkPinnerPinUnpinParallel-4 3419778 35.16 ns/op BenchmarkPinnerPinUnpinParallelTiny-4 3113674 38.69 ns/op BenchmarkPinnerPinUnpinParallelDouble-4 250954 508.8 ns/op BenchmarkPinnerIsPinnedOnPinned-4 5732988 21.14 ns/op BenchmarkPinnerIsPinnedOnUnpinned-4 5800369 20.79 ns/op BenchmarkPinnerIsPinnedOnPinnedParallel-4 8995364 12.38 ns/op BenchmarkPinnerIsPinnedOnUnpinnedParallel-4 9501525 13.72 ns/op BenchmarkPingPongHog-4 338 355976 ns/op BenchmarkStackGrowth-4 106827 1042 ns/op BenchmarkStackGrowthDeep-4 980 114984 ns/op BenchmarkCreateGoroutines-4 48966 2773 ns/op BenchmarkCreateGoroutinesParallel-4 45220 2878 ns/op BenchmarkCreateGoroutinesCapture-4 6530 17139 ns/op 144 B/op 5 allocs/op BenchmarkCreateGoroutinesSingle-4 36942 3271 ns/op BenchmarkClosureCall-4 18069031 6.183 ns/op BenchmarkWakeupParallelSpinning/0s-4 7548 16614 ns/op BenchmarkWakeupParallelSpinning/1µs-4 6537 22271 ns/op BenchmarkWakeupParallelSpinning/2µs-4 5248 29969 ns/op BenchmarkWakeupParallelSpinning/5µs-4 3320 37777 ns/op BenchmarkWakeupParallelSpinning/10µs-4 2151 57750 ns/op BenchmarkWakeupParallelSpinning/20µs-4 1279 97344 ns/op BenchmarkWakeupParallelSpinning/50µs-4 607 199246 ns/op BenchmarkWakeupParallelSpinning/100µs-4 378 374109 ns/op BenchmarkWakeupParallelSyscall/0s-4 687 164481 ns/op BenchmarkWakeupParallelSyscall/1µs-4 591 172793 ns/op BenchmarkWakeupParallelSyscall/2µs-4 673 177247 ns/op BenchmarkWakeupParallelSyscall/5µs-4 712 181439 ns/op BenchmarkWakeupParallelSyscall/10µs-4 567 188847 ns/op BenchmarkWakeupParallelSyscall/20µs-4 565 217928 ns/op BenchmarkWakeupParallelSyscall/50µs-4 424 310612 ns/op BenchmarkWakeupParallelSyscall/100µs-4 304 402570 ns/op BenchmarkMatmult-4 3507152 41.55 ns/op BenchmarkFastrand-4 12548601 9.227 ns/op BenchmarkFastrand64-4 11878138 9.160 ns/op BenchmarkFastrandHashiter-4 4422352 29.16 ns/op BenchmarkFastrandn/2-4 7770854 15.38 ns/op BenchmarkFastrandn/3-4 7620634 15.65 ns/op BenchmarkFastrandn/4-4 7813951 15.21 ns/op BenchmarkFastrandn/5-4 7806373 15.37 ns/op BenchmarkIfaceCmp100-4 92697 1292 ns/op BenchmarkIfaceCmpNil100-4 153283 784.7 ns/op BenchmarkEfaceCmpDiff-4 35464 3416 ns/op BenchmarkEfaceCmpDiffIndirect-4 30928 3877 ns/op BenchmarkDefer-4 1222610 96.97 ns/op BenchmarkDefer10-4 797973 162.4 ns/op BenchmarkDeferMany-4 426303 417.0 ns/op BenchmarkPanicRecover-4 568600 211.5 ns/op BenchmarkGoroutineProfile/small-nil/idle-4 5035 26859 ns/op 25872 p50-ns 33377 p90-ns 60954 p99-ns BenchmarkGoroutineProfile/small-nil/loaded-4 4993 32175 ns/op 22470 p50-ns 35521 p90-ns 186906 p99-ns BenchmarkGoroutineProfile/small/idle-4 2035 50794 ns/op 46595 p50-ns 57108 p90-ns 117821 p99-ns BenchmarkGoroutineProfile/small/loaded-4 404 355044 ns/op 180333 p50-ns 416762 p90-ns 3351286 p99-ns BenchmarkGoroutineProfile/large-nil/idle-4 5233 22627 ns/op 22050 p50-ns 25752 p90-ns 37775 p99-ns BenchmarkGoroutineProfile/large-nil/loaded-4 5352 29366 ns/op 22927 p50-ns 32458 p90-ns 160573 p99-ns BenchmarkGoroutineProfile/large/idle-4 28 4226512 ns/op 4191334 p50-ns 4545258 p90-ns 4660017 p99-ns BenchmarkGoroutineProfile/large/loaded-4 25 6044592 ns/op 5318673 p50-ns 7133018 p90-ns 15877966 p99-ns BenchmarkGoroutineProfile/sparse-nil/idle-4 5312 24086 ns/op 22180 p50-ns 27644 p90-ns 65846 p99-ns BenchmarkGoroutineProfile/sparse-nil/loaded-4 4299 29651 ns/op 22311 p50-ns 29083 p90-ns 179678 p99-ns BenchmarkGoroutineProfile/sparse/idle-4 786 128181 ns/op 123280 p50-ns 134108 p90-ns 203172 p99-ns BenchmarkGoroutineProfile/sparse/loaded-4 336 565273 ns/op 233117 p50-ns 438750 p90-ns 12741010 p99-ns BenchmarkRWMutexUncontended-4 2727806 46.18 ns/op BenchmarkRWMutexWrite100-4 630454 204.3 ns/op BenchmarkRWMutexWrite10-4 196129 653.2 ns/op BenchmarkRWMutexWorkWrite100-4 493600 234.2 ns/op BenchmarkRWMutexWorkWrite10-4 83751 1212 ns/op BenchmarkSemTable/OneAddrCollision/n=1000-4 2433 46812 ns/op BenchmarkSemTable/ManyAddrCollision/n=1000-4 978 123527 ns/op BenchmarkSemTable/OneAddrCollision/n=2000-4 1162 100684 ns/op BenchmarkSemTable/ManyAddrCollision/n=2000-4 445 257472 ns/op BenchmarkSemTable/OneAddrCollision/n=4000-4 580 198710 ns/op BenchmarkSemTable/ManyAddrCollision/n=4000-4 205 563179 ns/op BenchmarkSemTable/OneAddrCollision/n=8000-4 294 453959 ns/op BenchmarkSemTable/ManyAddrCollision/n=8000-4 100 1131450 ns/op BenchmarkMakeSliceCopy/mallocmove/Byte-4 272931 483.4 ns/op BenchmarkMakeSliceCopy/mallocmove/Int-4 241106 446.9 ns/op BenchmarkMakeSliceCopy/mallocmove/Ptr-4 258243 537.8 ns/op BenchmarkMakeSliceCopy/makecopy/Byte-4 237844 440.9 ns/op BenchmarkMakeSliceCopy/makecopy/Int-4 325680 409.4 ns/op BenchmarkMakeSliceCopy/makecopy/Ptr-4 282337 476.4 ns/op BenchmarkMakeSliceCopy/nilappend/Byte-4 207733 486.2 ns/op BenchmarkMakeSliceCopy/nilappend/Int-4 215656 474.8 ns/op BenchmarkMakeSliceCopy/nilappend/Ptr-4 192296 531.1 ns/op BenchmarkMakeSlice/Byte-4 1745431 66.48 ns/op BenchmarkMakeSlice/Int16-4 1860123 66.89 ns/op BenchmarkMakeSlice/Int-4 1321420 93.11 ns/op BenchmarkMakeSlice/Ptr-4 1000000 101.5 ns/op BenchmarkMakeSlice/Struct/24-4 774579 150.5 ns/op BenchmarkMakeSlice/Struct/32-4 661830 183.6 ns/op BenchmarkMakeSlice/Struct/40-4 578061 228.1 ns/op BenchmarkGrowSlice/Byte-4 769120 170.5 ns/op BenchmarkGrowSlice/Int16-4 753384 173.9 ns/op BenchmarkGrowSlice/Int-4 613458 252.7 ns/op BenchmarkGrowSlice/Ptr-4 443880 265.4 ns/op BenchmarkGrowSlice/Struct/24-4 266353 435.2 ns/op BenchmarkGrowSlice/Struct/32-4 238473 505.4 ns/op BenchmarkGrowSlice/Struct/40-4 172244 703.9 ns/op BenchmarkExtendSlice/IntSlice-4 437518 283.0 ns/op BenchmarkExtendSlice/PointerSlice-4 463804 328.2 ns/op BenchmarkExtendSlice/NoGrow-4 864338 168.8 ns/op BenchmarkAppend-4 700322 148.2 ns/op BenchmarkAppendGrowByte-4 3 37553572 ns/op BenchmarkAppendGrowString-4 1 451203931 ns/op BenchmarkAppendSlice/1Bytes-4 1889926 62.35 ns/op BenchmarkAppendSlice/4Bytes-4 1920255 62.15 ns/op BenchmarkAppendSlice/7Bytes-4 1878484 62.91 ns/op BenchmarkAppendSlice/8Bytes-4 1901314 63.09 ns/op BenchmarkAppendSlice/15Bytes-4 1804420 66.00 ns/op BenchmarkAppendSlice/16Bytes-4 1825441 65.77 ns/op BenchmarkAppendSlice/32Bytes-4 1806488 64.94 ns/op BenchmarkAppendSliceLarge/1024Bytes-4 71216 1618 ns/op BenchmarkAppendSliceLarge/4096Bytes-4 18127 5660 ns/op BenchmarkAppendSliceLarge/16384Bytes-4 8448 21851 ns/op BenchmarkAppendSliceLarge/65536Bytes-4 1359 87408 ns/op BenchmarkAppendSliceLarge/262144Bytes-4 75 1466602 ns/op BenchmarkAppendSliceLarge/1048576Bytes-4 15 6835821 ns/op BenchmarkAppendStr/1Bytes-4 2226948 51.54 ns/op BenchmarkAppendStr/4Bytes-4 2203140 54.10 ns/op BenchmarkAppendStr/8Bytes-4 2219787 55.31 ns/op BenchmarkAppendStr/16Bytes-4 2114610 55.23 ns/op BenchmarkAppendStr/32Bytes-4 2156467 54.84 ns/op BenchmarkAppendSpecialCase-4 736386 162.7 ns/op BenchmarkCopy/1Byte-4 2013321 58.82 ns/op 17.00 MB/s BenchmarkCopy/1String-4 1994967 59.47 ns/op 16.82 MB/s BenchmarkCopy/2Byte-4 1953364 61.11 ns/op 32.73 MB/s BenchmarkCopy/2String-4 1951593 60.12 ns/op 33.27 MB/s BenchmarkCopy/4Byte-4 1949979 60.60 ns/op 66.00 MB/s BenchmarkCopy/4String-4 1961667 58.82 ns/op 68.01 MB/s BenchmarkCopy/8Byte-4 2039598 57.98 ns/op 137.97 MB/s BenchmarkCopy/8String-4 2019480 58.94 ns/op 135.73 MB/s BenchmarkCopy/12Byte-4 1917970 60.50 ns/op 198.35 MB/s BenchmarkCopy/12String-4 1915868 61.63 ns/op 194.72 MB/s BenchmarkCopy/16Byte-4 1998140 61.04 ns/op 262.14 MB/s BenchmarkCopy/16String-4 1931952 60.15 ns/op 266.00 MB/s BenchmarkCopy/32Byte-4 1831004 64.50 ns/op 496.14 MB/s BenchmarkCopy/32String-4 1862992 63.81 ns/op 501.45 MB/s BenchmarkCopy/128Byte-4 1462681 82.50 ns/op 1551.49 MB/s BenchmarkCopy/128String-4 1368739 86.16 ns/op 1485.58 MB/s BenchmarkCopy/1024Byte-4 413391 279.7 ns/op 3660.53 MB/s BenchmarkCopy/1024String-4 368773 320.7 ns/op 3193.35 MB/s BenchmarkAppendInPlace/NoGrow/Byte-4 27847 4023 ns/op BenchmarkAppendInPlace/NoGrow/1Ptr-4 17190 7105 ns/op BenchmarkAppendInPlace/NoGrow/2Ptr-4 10000 10925 ns/op BenchmarkAppendInPlace/NoGrow/3Ptr-4 10000 14126 ns/op BenchmarkAppendInPlace/NoGrow/4Ptr-4 9688 17300 ns/op BenchmarkAppendInPlace/Grow/Byte-4 117486 1025 ns/op BenchmarkAppendInPlace/Grow/1Ptr-4 130484 1042 ns/op BenchmarkAppendInPlace/Grow/2Ptr-4 82333 1358 ns/op BenchmarkAppendInPlace/Grow/3Ptr-4 70576 1638 ns/op BenchmarkAppendInPlace/Grow/4Ptr-4 57896 1753 ns/op BenchmarkStackCopyPtr-4 1 206603503 ns/op BenchmarkStackCopy-4 1 122221200 ns/op BenchmarkStackCopyNoCache-4 18 6410203 ns/op BenchmarkStackCopyWithStkobj-4 1 132775848 ns/op BenchmarkIssue18138-4 452 228311 ns/op BenchmarkCompareStringEqual-4 10936664 11.17 ns/op BenchmarkCompareStringIdentical-4 18015590 6.181 ns/op BenchmarkCompareStringSameLength-4 11865741 10.15 ns/op BenchmarkCompareStringDifferentLength-4 18339168 6.189 ns/op BenchmarkCompareStringBigUnaligned-4 1353 84484 ns/op 12411.61 MB/s BenchmarkCompareStringBig-4 1138 95679 ns/op 10959.45 MB/s BenchmarkConcatStringAndBytes-4 2522253 47.96 ns/op BenchmarkSliceByteToString/1-4 2230273 53.98 ns/op BenchmarkSliceByteToString/2-4 1000000 121.3 ns/op BenchmarkSliceByteToString/4-4 963075 114.3 ns/op BenchmarkSliceByteToString/8-4 1043144 116.8 ns/op BenchmarkSliceByteToString/16-4 1000000 119.9 ns/op BenchmarkSliceByteToString/32-4 801206 151.9 ns/op BenchmarkSliceByteToString/64-4 883420 173.1 ns/op BenchmarkSliceByteToString/128-4 709335 242.1 ns/op BenchmarkRuneCount/lenruneslice/ASCII-4 2464242 47.49 ns/op BenchmarkRuneCount/lenruneslice/Japanese-4 909859 127.4 ns/op BenchmarkRuneCount/lenruneslice/MixedLength-4 1000000 113.2 ns/op BenchmarkRuneCount/rangeloop/ASCII-4 4045082 29.27 ns/op BenchmarkRuneCount/rangeloop/Japanese-4 1687808 70.94 ns/op BenchmarkRuneCount/rangeloop/MixedLength-4 1915476 63.78 ns/op BenchmarkRuneCount/utf8.RuneCountInString/ASCII-4 2396894 49.71 ns/op BenchmarkRuneCount/utf8.RuneCountInString/Japanese-4 435423 258.0 ns/op BenchmarkRuneCount/utf8.RuneCountInString/MixedLength-4 541035 209.0 ns/op BenchmarkRuneIterate/range/ASCII-4 8023360 14.54 ns/op BenchmarkRuneIterate/range/Japanese-4 2249988 52.91 ns/op BenchmarkRuneIterate/range/MixedLength-4 2514260 47.53 ns/op BenchmarkRuneIterate/range1/ASCII-4 7958212 14.61 ns/op BenchmarkRuneIterate/range1/Japanese-4 2260438 53.17 ns/op BenchmarkRuneIterate/range1/MixedLength-4 2535704 46.97 ns/op BenchmarkRuneIterate/range2/ASCII-4 7899687 14.69 ns/op BenchmarkRuneIterate/range2/Japanese-4 2262837 52.54 ns/op BenchmarkRuneIterate/range2/MixedLength-4 2538908 46.80 ns/op BenchmarkArrayEqual-4 16690317 6.542 ns/op BenchmarkFunc/Name-4 2766848 42.97 ns/op BenchmarkFunc/Entry-4 9937678 11.71 ns/op BenchmarkFunc/FileLine-4 2472678 49.91 ns/op PASS ok runtime 153.603s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: runtime/cgo cpu: AMD EPYC 7B12 BenchmarkHandle/non-concurrent-4 33994 3222 ns/op BenchmarkHandle/concurrent-4 18970 6177 ns/op PASS ok runtime/cgo 1.352s goos: linux goarch: amd64 pkg: runtime/internal/atomic cpu: AMD EPYC 7B12 BenchmarkAnd32-4 15802466 7.192 ns/op BenchmarkAnd32Parallel-4 2552335 41.76 ns/op BenchmarkAnd64-4 16618978 8.276 ns/op BenchmarkAnd64Parallel-4 2845252 39.67 ns/op BenchmarkOr32-4 15247987 7.524 ns/op BenchmarkOr32Parallel-4 2971562 46.46 ns/op BenchmarkOr64-4 16650316 7.204 ns/op BenchmarkOr64Parallel-4 2474298 48.58 ns/op BenchmarkAtomicLoad64-4 19856335 5.934 ns/op BenchmarkAtomicStore64-4 20172338 5.686 ns/op BenchmarkAtomicLoad-4 22182662 5.495 ns/op BenchmarkAtomicStore-4 20216041 5.043 ns/op BenchmarkAnd8-4 19950986 5.657 ns/op BenchmarkAnd-4 19996899 5.023 ns/op BenchmarkAnd8Parallel-4 3185650 32.76 ns/op BenchmarkAndParallel-4 3180134 37.93 ns/op BenchmarkOr8-4 19860610 5.935 ns/op BenchmarkOr-4 20197596 5.942 ns/op BenchmarkOr8Parallel-4 3718543 36.64 ns/op BenchmarkOrParallel-4 3331328 34.41 ns/op BenchmarkXadd-4 6133927 31.74 ns/op BenchmarkXadd64-4 3788193 32.31 ns/op BenchmarkCas-4 2905986 39.96 ns/op BenchmarkCas64-4 3163930 40.54 ns/op BenchmarkXchg-4 3191442 37.13 ns/op BenchmarkXchg64-4 3187512 34.34 ns/op PASS ok runtime/internal/atomic 4.833s goos: linux goarch: amd64 pkg: runtime/internal/math cpu: AMD EPYC 7B12 BenchmarkMulUintptr/small-4 4843261 22.82 ns/op BenchmarkMulUintptr/large-4 4449225 27.54 ns/op PASS ok runtime/internal/math 1.302s goos: linux goarch: amd64 pkg: runtime/pprof cpu: AMD EPYC 7B12 BenchmarkGoroutine/Profile.WriteTo_idle_50-4 33 3790340 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_50-4 13 9871212 ns/op 879.2 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_50-4 1033 111956 ns/op 1.074 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_500-4 15 9111836 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_500-4 6 20540430 ns/op 1467 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_500-4 447 318833 ns/op 18.53 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_5000-4 2 52733814 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_5000-4 2 77034266 ns/op 5736 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_5000-4 62 1982193 ns/op 145.0 concurrent_launches/op PASS ok runtime/pprof 2.724s goos: linux goarch: amd64 pkg: runtime/race cpu: AMD EPYC 7B12 BenchmarkSyncLeak-4 37 2715863 ns/op BenchmarkStackLeak-4 23167 4848 ns/op PASS ok runtime/race 1.412s goos: linux goarch: amd64 pkg: runtime/trace cpu: AMD EPYC 7B12 BenchmarkStartRegion-4 6431432 18.61 ns/op 0 B/op 0 allocs/op BenchmarkNewTask-4 205369 575.3 ns/op 64 B/op 2 allocs/op PASS ok runtime/trace 1.381s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: slices cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEqualFunc_Large-4 20 5256138 ns/op BenchmarkIndex_Large-4 14202 8386 ns/op BenchmarkIndexFunc_Large-4 129 959863 ns/op BenchmarkCompact/nil-4 7032795 16.56 ns/op BenchmarkCompact/one-4 1907263 62.03 ns/op BenchmarkCompact/sorted-4 1256676 95.34 ns/op BenchmarkCompact/1_item-4 963316 109.9 ns/op BenchmarkCompact/unsorted-4 1241342 95.09 ns/op BenchmarkCompact/many-4 659494 173.2 ns/op BenchmarkCompact_Large-4 283 381890 ns/op BenchmarkCompactFunc_Large-4 38 2667166 ns/op BenchmarkReplace/naive-fast-4 80545 1571 ns/op BenchmarkReplace/optimized-fast-4 78550 1274 ns/op BenchmarkReplace/naive-slow-4 30847 4312 ns/op BenchmarkReplace/optimized-slow-4 30043 3736 ns/op BenchmarkBinarySearchFloats/Size16-4 1227466 98.74 ns/op BenchmarkBinarySearchFloats/Size32-4 1000000 113.3 ns/op BenchmarkBinarySearchFloats/Size64-4 928946 128.6 ns/op BenchmarkBinarySearchFloats/Size128-4 785449 149.3 ns/op BenchmarkBinarySearchFloats/Size512-4 674152 176.3 ns/op BenchmarkBinarySearchFloats/Size1024-4 630214 190.4 ns/op BenchmarkBinarySearchFuncStruct/Size16-4 576776 196.6 ns/op BenchmarkBinarySearchFuncStruct/Size32-4 478587 240.3 ns/op BenchmarkBinarySearchFuncStruct/Size64-4 437004 271.2 ns/op BenchmarkBinarySearchFuncStruct/Size128-4 374044 308.0 ns/op BenchmarkBinarySearchFuncStruct/Size512-4 320362 372.7 ns/op BenchmarkBinarySearchFuncStruct/Size1024-4 286041 410.2 ns/op PASS ok slices 5.577s goos: linux goarch: amd64 pkg: sort cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSearchWrappers-4 150250 760.2 ns/op BenchmarkSortInts-4 2 92456068 ns/op BenchmarkSlicesSortInts-4 2 60850909 ns/op BenchmarkSortIsSorted-4 36 3266740 ns/op BenchmarkSlicesIsSorted-4 62 1903180 ns/op BenchmarkSortStrings-4 1 133897533 ns/op BenchmarkSlicesSortStrings-4 2 97787890 ns/op BenchmarkSortStrings_Sorted-4 27 4164839 ns/op BenchmarkSlicesSortStrings_Sorted-4 42 2687736 ns/op BenchmarkSortStructs-4 1 160182302 ns/op BenchmarkSortFuncStructs-4 1 136488034 ns/op BenchmarkSortString1K-4 248 451519 ns/op BenchmarkSortString1K_Slice-4 208 571783 ns/op BenchmarkStableString1K-4 100 1115455 ns/op BenchmarkSortInt1K-4 333 352800 ns/op BenchmarkSortInt1K_Sorted-4 5341 25404 ns/op BenchmarkSortInt1K_Reversed-4 3415 35100 ns/op BenchmarkSortInt1K_Mod8-4 853 138338 ns/op BenchmarkStableInt1K-4 145 823396 ns/op BenchmarkStableInt1K_Slice-4 171 728495 ns/op BenchmarkSortInt64K-4 3 33844504 ns/op BenchmarkSortInt64K_Slice-4 3 45706538 ns/op BenchmarkStableInt64K-4 2 74020396 ns/op BenchmarkSort1e2-4 414 363807 ns/op BenchmarkStable1e2-4 180 800135 ns/op BenchmarkSort1e4-4 2 51035020 ns/op BenchmarkStable1e4-4 1 220566716 ns/op PASS ok sort 19.327s goos: linux goarch: amd64 pkg: strconv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAtof64Decimal-4 863414 138.8 ns/op BenchmarkAtof64Float-4 752016 157.3 ns/op BenchmarkAtof64FloatExp-4 577255 188.1 ns/op BenchmarkAtof64Big-4 425782 273.7 ns/op BenchmarkAtof64RandomBits-4 422251 277.0 ns/op BenchmarkAtof64RandomFloats-4 446145 259.0 ns/op BenchmarkAtof64RandomLongFloats-4 383756 311.0 ns/op BenchmarkAtof32Decimal-4 828465 132.6 ns/op BenchmarkAtof32Float-4 768747 153.0 ns/op BenchmarkAtof32FloatExp-4 594819 195.1 ns/op BenchmarkAtof32Random-4 356283 326.2 ns/op BenchmarkAtof32RandomLong-4 150404 780.9 ns/op BenchmarkParseInt/Pos/7bit-4 1365052 88.84 ns/op BenchmarkParseInt/Pos/26bit-4 657158 178.9 ns/op BenchmarkParseInt/Pos/31bit-4 590464 199.3 ns/op BenchmarkParseInt/Pos/56bit-4 381138 303.0 ns/op BenchmarkParseInt/Pos/63bit-4 365563 325.6 ns/op BenchmarkParseInt/Neg/7bit-4 1334017 91.07 ns/op BenchmarkParseInt/Neg/26bit-4 584787 182.7 ns/op BenchmarkParseInt/Neg/31bit-4 570530 203.2 ns/op BenchmarkParseInt/Neg/56bit-4 384375 301.5 ns/op BenchmarkParseInt/Neg/63bit-4 366854 321.5 ns/op BenchmarkAtoi/Pos/7bit-4 1953184 61.57 ns/op BenchmarkAtoi/Pos/26bit-4 860743 132.5 ns/op BenchmarkAtoi/Pos/31bit-4 802302 148.1 ns/op BenchmarkAtoi/Pos/56bit-4 457530 249.9 ns/op BenchmarkAtoi/Pos/63bit-4 345985 340.6 ns/op BenchmarkAtoi/Neg/7bit-4 1971584 61.76 ns/op BenchmarkAtoi/Neg/26bit-4 871154 132.3 ns/op BenchmarkAtoi/Neg/31bit-4 721142 149.5 ns/op BenchmarkAtoi/Neg/56bit-4 472939 246.5 ns/op BenchmarkAtoi/Neg/63bit-4 347258 337.5 ns/op BenchmarkFormatFloat/Decimal-4 124004 987.1 ns/op BenchmarkFormatFloat/Float-4 114931 1038 ns/op BenchmarkFormatFloat/Exp-4 118576 1013 ns/op BenchmarkFormatFloat/NegExp-4 118656 1013 ns/op BenchmarkFormatFloat/LongExp-4 96466 1185 ns/op BenchmarkFormatFloat/Big-4 93408 1269 ns/op BenchmarkFormatFloat/BinaryExp-4 231042 509.5 ns/op BenchmarkFormatFloat/32Integer-4 125742 938.9 ns/op BenchmarkFormatFloat/32ExactFraction-4 137227 855.0 ns/op BenchmarkFormatFloat/32Point-4 119895 998.0 ns/op BenchmarkFormatFloat/32Exp-4 123564 990.0 ns/op BenchmarkFormatFloat/32NegExp-4 119970 956.8 ns/op BenchmarkFormatFloat/32Shortest-4 132886 904.4 ns/op BenchmarkFormatFloat/32Fixed8Hard-4 134732 866.1 ns/op BenchmarkFormatFloat/32Fixed9Hard-4 136861 883.0 ns/op BenchmarkFormatFloat/64Fixed1-4 162258 730.6 ns/op BenchmarkFormatFloat/64Fixed2-4 169292 731.9 ns/op BenchmarkFormatFloat/64Fixed3-4 168662 748.0 ns/op BenchmarkFormatFloat/64Fixed4-4 162865 752.5 ns/op BenchmarkFormatFloat/64Fixed12-4 94056 1243 ns/op BenchmarkFormatFloat/64Fixed16-4 111769 1051 ns/op BenchmarkFormatFloat/64Fixed12Hard-4 122120 995.3 ns/op BenchmarkFormatFloat/64Fixed17Hard-4 102096 1139 ns/op BenchmarkFormatFloat/64Fixed18Hard-4 2413 48009 ns/op BenchmarkFormatFloat/Slowpath64-4 101596 1189 ns/op BenchmarkFormatFloat/SlowpathDenormal64-4 99212 1181 ns/op BenchmarkAppendFloat/Decimal-4 143414 815.7 ns/op BenchmarkAppendFloat/Float-4 128437 925.3 ns/op BenchmarkAppendFloat/Exp-4 138723 851.9 ns/op BenchmarkAppendFloat/NegExp-4 135789 850.3 ns/op BenchmarkAppendFloat/LongExp-4 108714 1062 ns/op BenchmarkAppendFloat/Big-4 103230 1152 ns/op BenchmarkAppendFloat/BinaryExp-4 319968 359.2 ns/op BenchmarkAppendFloat/32Integer-4 142569 816.0 ns/op BenchmarkAppendFloat/32ExactFraction-4 162652 745.2 ns/op BenchmarkAppendFloat/32Point-4 138106 871.0 ns/op BenchmarkAppendFloat/32Exp-4 138967 847.2 ns/op BenchmarkAppendFloat/32NegExp-4 141478 829.8 ns/op BenchmarkAppendFloat/32Shortest-4 173659 684.6 ns/op BenchmarkAppendFloat/32Fixed8Hard-4 155248 768.4 ns/op BenchmarkAppendFloat/32Fixed9Hard-4 155328 776.1 ns/op BenchmarkAppendFloat/64Fixed1-4 195216 613.2 ns/op BenchmarkAppendFloat/64Fixed2-4 194642 608.1 ns/op BenchmarkAppendFloat/64Fixed3-4 196510 607.1 ns/op BenchmarkAppendFloat/64Fixed4-4 192534 607.3 ns/op BenchmarkAppendFloat/64Fixed12-4 108286 1097 ns/op BenchmarkAppendFloat/64Fixed16-4 125127 951.1 ns/op BenchmarkAppendFloat/64Fixed12Hard-4 156232 754.8 ns/op BenchmarkAppendFloat/64Fixed17Hard-4 118108 1012 ns/op BenchmarkAppendFloat/64Fixed18Hard-4 2374 48677 ns/op BenchmarkAppendFloat/Slowpath64-4 113702 1057 ns/op BenchmarkAppendFloat/SlowpathDenormal64-4 114535 1030 ns/op BenchmarkFormatInt-4 15232 7542 ns/op BenchmarkAppendInt-4 17846 6749 ns/op BenchmarkFormatUint-4 78008 1430 ns/op BenchmarkAppendUint-4 99054 1200 ns/op BenchmarkFormatIntSmall/7-4 3519658 34.20 ns/op BenchmarkFormatIntSmall/42-4 3551194 33.77 ns/op BenchmarkAppendIntSmall-4 1431217 83.66 ns/op BenchmarkAppendUintVarlen/1-4 1540351 77.65 ns/op BenchmarkAppendUintVarlen/12-4 1516036 79.52 ns/op BenchmarkAppendUintVarlen/123-4 1000000 112.2 ns/op BenchmarkAppendUintVarlen/1234-4 996854 114.4 ns/op BenchmarkAppendUintVarlen/12345-4 914982 116.2 ns/op BenchmarkAppendUintVarlen/123456-4 959566 116.4 ns/op BenchmarkAppendUintVarlen/1234567-4 857973 121.8 ns/op BenchmarkAppendUintVarlen/12345678-4 968820 119.9 ns/op BenchmarkAppendUintVarlen/123456789-4 908058 124.2 ns/op BenchmarkAppendUintVarlen/1234567890-4 917931 124.8 ns/op BenchmarkAppendUintVarlen/12345678901-4 878097 127.6 ns/op BenchmarkAppendUintVarlen/123456789012-4 893725 128.8 ns/op BenchmarkAppendUintVarlen/1234567890123-4 837859 131.5 ns/op BenchmarkAppendUintVarlen/12345678901234-4 924658 130.0 ns/op BenchmarkAppendUintVarlen/123456789012345-4 836126 136.8 ns/op BenchmarkAppendUintVarlen/1234567890123456-4 831362 133.6 ns/op BenchmarkAppendUintVarlen/12345678901234567-4 823515 138.6 ns/op BenchmarkAppendUintVarlen/123456789012345678-4 830238 140.2 ns/op BenchmarkAppendUintVarlen/1234567890123456789-4 837396 141.4 ns/op BenchmarkAppendUintVarlen/12345678901234567890-4 766066 143.2 ns/op BenchmarkQuote-4 46316 2553 ns/op BenchmarkQuoteRune-4 412749 251.2 ns/op BenchmarkAppendQuote-4 57092 2082 ns/op BenchmarkAppendQuoteRune-4 872325 130.0 ns/op BenchmarkUnquoteEasy-4 1480182 79.91 ns/op BenchmarkUnquoteHard-4 49291 2301 ns/op PASS ok strconv 16.936s goos: linux goarch: amd64 pkg: strings cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkBuildString_Builder/1Write_NoGrow-4 403207 291.2 ns/op 48 B/op 1 allocs/op BenchmarkBuildString_Builder/3Write_NoGrow-4 98472 1018 ns/op 336 B/op 3 allocs/op BenchmarkBuildString_Builder/3Write_Grow-4 176482 671.8 ns/op 112 B/op 1 allocs/op BenchmarkBuildString_WriteString/1Write_NoGrow-4 376315 283.0 ns/op 48 B/op 1 allocs/op BenchmarkBuildString_WriteString/3Write_NoGrow-4 126408 917.1 ns/op 336 B/op 3 allocs/op BenchmarkBuildString_WriteString/3Write_Grow-4 176092 633.0 ns/op 112 B/op 1 allocs/op BenchmarkBuildString_ByteBuffer/1Write_NoGrow-4 254714 423.4 ns/op 112 B/op 2 allocs/op BenchmarkBuildString_ByteBuffer/3Write_NoGrow-4 88801 1413 ns/op 432 B/op 4 allocs/op BenchmarkBuildString_ByteBuffer/3Write_Grow-4 96706 1139 ns/op 336 B/op 3 allocs/op BenchmarkClone-4 635728 185.3 ns/op 48 B/op 1 allocs/op BenchmarkGenericNoMatch-4 19899 5740 ns/op BenchmarkGenericMatch1-4 2077 52053 ns/op BenchmarkGenericMatch2-4 400 271534 ns/op BenchmarkSingleMaxSkipping-4 8148 14576 ns/op 686.04 MB/s BenchmarkSingleLongSuffixFail-4 14292 8404 ns/op 119.23 MB/s BenchmarkSingleMatch-4 249 459711 ns/op 32.63 MB/s BenchmarkByteByteNoMatch-4 66370 1792 ns/op BenchmarkByteByteMatch-4 18651 6230 ns/op BenchmarkByteStringMatch-4 22641 5103 ns/op BenchmarkHTMLEscapeNew-4 72453 1639 ns/op BenchmarkHTMLEscapeOld-4 86241 1340 ns/op BenchmarkByteStringReplacerWriteString-4 1419 82501 ns/op BenchmarkByteReplacerWriteString-4 1651 72333 ns/op BenchmarkByteByteReplaces-4 3592 32793 ns/op BenchmarkByteByteMap-4 10000 11302 ns/op BenchmarkMap/identity/ASCII-4 608059 190.8 ns/op BenchmarkMap/identity/Greek-4 437504 277.5 ns/op BenchmarkMap/change/ASCII-4 38764 3107 ns/op BenchmarkMap/change/Greek-4 27934 4264 ns/op BenchmarkIndexRune-4 2072698 57.50 ns/op BenchmarkIndexRuneLongString-4 1650906 71.87 ns/op BenchmarkIndexRuneFastPath-4 4663324 25.66 ns/op BenchmarkIndex-4 4482645 26.38 ns/op BenchmarkLastIndex-4 4732692 25.44 ns/op BenchmarkIndexByte-4 11068538 10.23 ns/op BenchmarkToUpper/#00-4 5072757 23.56 ns/op BenchmarkToUpper/ONLYUPPER-4 3113222 38.58 ns/op BenchmarkToUpper/abc-4 322839 374.0 ns/op BenchmarkToUpper/AbC123-4 255141 462.7 ns/op BenchmarkToUpper/azAZ09_-4 274718 444.4 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 53361 2136 ns/op BenchmarkToUpper/RENAN_BASTOS_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 73533 1652 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 34106 3547 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 56919 2117 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 121557 969.8 ns/op BenchmarkToLower/#00-4 5093725 23.29 ns/op BenchmarkToLower/abc-4 4183818 28.15 ns/op BenchmarkToLower/AbC123-4 231640 518.2 ns/op BenchmarkToLower/azAZ09_-4 216204 515.7 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 97374 1193 ns/op BenchmarkToLower/renan_bastos_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 66256 1809 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 35118 3403 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 75655 1596 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 113018 1003 ns/op BenchmarkMapNoChanges-4 829166 141.7 ns/op BenchmarkTrim-4 39782 3027 ns/op 0 B/op 0 allocs/op BenchmarkToValidUTF8/Valid-4 3008463 39.45 ns/op BenchmarkToValidUTF8/InvalidASCII-4 193388 627.6 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 124958 916.3 ns/op BenchmarkEqualFold/Tests-4 56118 2087 ns/op BenchmarkEqualFold/ASCII-4 3296938 36.61 ns/op BenchmarkEqualFold/UnicodePrefix-4 113544 1051 ns/op BenchmarkEqualFold/UnicodeSuffix-4 119960 1004 ns/op BenchmarkIndexHard1-4 868 136995 ns/op BenchmarkIndexHard2-4 625 192673 ns/op BenchmarkIndexHard3-4 148 802308 ns/op BenchmarkIndexHard4-4 129 915486 ns/op BenchmarkLastIndexHard1-4 61 1918919 ns/op BenchmarkLastIndexHard2-4 60 1929856 ns/op BenchmarkLastIndexHard3-4 61 1915384 ns/op BenchmarkCountHard1-4 872 136554 ns/op BenchmarkCountHard2-4 626 193579 ns/op BenchmarkCountHard3-4 150 797781 ns/op BenchmarkIndexTorture-4 7797 14964 ns/op BenchmarkCountTorture-4 7848 14950 ns/op BenchmarkCountTortureOverlapping-4 666 156752 ns/op BenchmarkCountByte/10-4 4426364 26.87 ns/op 372.15 MB/s BenchmarkCountByte/32-4 4271402 27.98 ns/op 1143.53 MB/s BenchmarkCountByte/4096-4 1000000 119.9 ns/op 34170.32 MB/s BenchmarkCountByte/4194304-4 763 158037 ns/op 26539.99 MB/s BenchmarkCountByte/67108864-4 15 7536107 ns/op 8904.98 MB/s BenchmarkFields/ASCII/16-4 285946 431.3 ns/op 37.10 MB/s 32 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 17940 5932 ns/op 43.16 MB/s 448 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 1353 85468 ns/op 47.92 MB/s 6144 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 62 1775446 ns/op 36.91 MB/s 98304 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 4 27639018 ns/op 37.94 MB/s 1515520 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 314456 386.0 ns/op 41.45 MB/s 16 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 10000 10328 ns/op 24.79 MB/s 448 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 595 190797 ns/op 21.47 MB/s 21888 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 28 4389411 ns/op 14.93 MB/s 463107 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 2 91777060 ns/op 11.43 MB/s 10449152 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 206457 527.2 ns/op 30.35 MB/s 32 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 18104 6444 ns/op 39.73 MB/s 448 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 895 116226 ns/op 35.24 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 40 3068350 ns/op 21.36 MB/s 463106 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 73026186 ns/op 14.36 MB/s 10457344 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 262846 452.4 ns/op 35.37 MB/s 16 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 14872 8025 ns/op 31.90 MB/s 448 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 765 157380 ns/op 26.03 MB/s 21888 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 28 3692999 ns/op 17.75 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 2 83910999 ns/op 12.50 MB/s 10449152 B/op 24 allocs/op BenchmarkSplitEmptySeparator-4 1 130302492 ns/op BenchmarkSplitSingleByteSeparator-4 12 9135988 ns/op BenchmarkSplitMultiByteSeparator-4 26 4345531 ns/op BenchmarkSplitNSingleByteSeparator-4 235266 496.1 ns/op BenchmarkSplitNMultiByteSeparator-4 169341 737.6 ns/op BenchmarkRepeat/5x0-4 4342694 27.47 ns/op BenchmarkRepeat/5x1-4 4160388 28.06 ns/op BenchmarkRepeat/5x2-4 241586 511.1 ns/op BenchmarkRepeat/5x6-4 132897 895.8 ns/op BenchmarkRepeat/10x0-4 3935415 27.40 ns/op BenchmarkRepeat/10x1-4 4235654 27.93 ns/op BenchmarkRepeat/10x2-4 244809 514.1 ns/op BenchmarkRepeat/10x6-4 133224 898.7 ns/op BenchmarkRepeatLarge/256/1-4 59238 1910 ns/op 134.06 MB/s BenchmarkRepeatLarge/256/16-4 91522 1181 ns/op 216.70 MB/s BenchmarkRepeatLarge/512/1-4 45859 2332 ns/op 219.51 MB/s BenchmarkRepeatLarge/512/16-4 66044 1639 ns/op 312.45 MB/s BenchmarkRepeatLarge/1024/1-4 38001 2959 ns/op 346.01 MB/s BenchmarkRepeatLarge/1024/16-4 49309 2192 ns/op 467.22 MB/s BenchmarkRepeatLarge/2048/1-4 28228 4260 ns/op 480.73 MB/s BenchmarkRepeatLarge/2048/16-4 33709 3536 ns/op 579.17 MB/s BenchmarkRepeatLarge/4096/1-4 18664 6811 ns/op 601.41 MB/s BenchmarkRepeatLarge/4096/16-4 21848 5454 ns/op 751.04 MB/s BenchmarkRepeatLarge/8192/1-4 12223 10415 ns/op 786.57 MB/s BenchmarkRepeatLarge/8192/16-4 12806 9121 ns/op 898.14 MB/s BenchmarkRepeatLarge/8192/4097-4 5433295 21.13 ns/op 193849.78 MB/s BenchmarkRepeatLarge/16384/1-4 6866 19944 ns/op 821.49 MB/s BenchmarkRepeatLarge/16384/16-4 8113 18549 ns/op 883.29 MB/s BenchmarkRepeatLarge/16384/4097-4 10000 12701 ns/op 967.73 MB/s BenchmarkRepeatLarge/32768/1-4 3662 33205 ns/op 986.84 MB/s BenchmarkRepeatLarge/32768/16-4 3324 33302 ns/op 983.96 MB/s BenchmarkRepeatLarge/32768/4097-4 3662 28003 ns/op 1024.12 MB/s BenchmarkRepeatLarge/65536/1-4 2032 61301 ns/op 1069.08 MB/s BenchmarkRepeatLarge/65536/16-4 1992 62062 ns/op 1055.98 MB/s BenchmarkRepeatLarge/65536/4097-4 2138 60110 ns/op 1022.38 MB/s BenchmarkRepeatLarge/131072/1-4 180 648079 ns/op 202.25 MB/s BenchmarkRepeatLarge/131072/16-4 183 635370 ns/op 206.29 MB/s BenchmarkRepeatLarge/131072/4097-4 183 634550 ns/op 200.15 MB/s BenchmarkRepeatLarge/262144/1-4 97 1236922 ns/op 211.93 MB/s BenchmarkRepeatLarge/262144/16-4 100 1241758 ns/op 211.11 MB/s BenchmarkRepeatLarge/262144/4097-4 100 1239553 ns/op 208.23 MB/s BenchmarkRepeatLarge/524288/1-4 50 2482098 ns/op 211.23 MB/s BenchmarkRepeatLarge/524288/16-4 51 2444952 ns/op 214.44 MB/s BenchmarkRepeatLarge/524288/4097-4 49 2503825 ns/op 207.81 MB/s BenchmarkRepeatLarge/1048576/1-4 26 4911987 ns/op 213.47 MB/s BenchmarkRepeatLarge/1048576/16-4 21 4772973 ns/op 219.69 MB/s BenchmarkRepeatLarge/1048576/4097-4 25 4957422 ns/op 210.74 MB/s BenchmarkRepeatLarge/2097152/1-4 14 9053059 ns/op 231.65 MB/s BenchmarkRepeatLarge/2097152/16-4 13 9052966 ns/op 231.65 MB/s BenchmarkRepeatLarge/2097152/4097-4 13 9059151 ns/op 231.10 MB/s BenchmarkRepeatLarge/4194304/1-4 6 18322628 ns/op 228.91 MB/s BenchmarkRepeatLarge/4194304/16-4 6 17801953 ns/op 235.61 MB/s BenchmarkRepeatLarge/4194304/4097-4 6 18860891 ns/op 222.22 MB/s BenchmarkRepeatLarge/8388608/1-4 3 37404923 ns/op 224.26 MB/s BenchmarkRepeatLarge/8388608/16-4 3 38521937 ns/op 217.76 MB/s BenchmarkRepeatLarge/8388608/4097-4 3 37254865 ns/op 225.11 MB/s BenchmarkRepeatLarge/16777216/1-4 2 75920432 ns/op 220.98 MB/s BenchmarkRepeatLarge/16777216/16-4 2 74808298 ns/op 224.27 MB/s BenchmarkRepeatLarge/16777216/4097-4 2 73346540 ns/op 228.74 MB/s BenchmarkRepeatLarge/33554432/1-4 1 136017337 ns/op 246.69 MB/s BenchmarkRepeatLarge/33554432/16-4 1 144831194 ns/op 231.68 MB/s BenchmarkRepeatLarge/33554432/4097-4 1 143207347 ns/op 234.31 MB/s BenchmarkRepeatLarge/67108864/1-4 1 311675751 ns/op 215.32 MB/s BenchmarkRepeatLarge/67108864/16-4 1 286997343 ns/op 233.83 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 271858206 ns/op 246.85 MB/s BenchmarkRepeatLarge/134217728/1-4 1 593210125 ns/op 226.26 MB/s BenchmarkRepeatLarge/134217728/16-4 1 550416029 ns/op 243.85 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 564642264 ns/op 237.70 MB/s BenchmarkRepeatLarge/268435456/1-4 1 1151235745 ns/op 233.17 MB/s BenchmarkRepeatLarge/268435456/16-4 1 1122221198 ns/op 239.20 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 1126469714 ns/op 238.30 MB/s BenchmarkRepeatLarge/536870912/1-4 1 2348705167 ns/op 228.58 MB/s BenchmarkRepeatLarge/536870912/16-4 1 2161636390 ns/op 248.36 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 2167933795 ns/op 247.64 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 4533597892 ns/op 236.84 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 4439977973 ns/op 241.83 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 4488274516 ns/op 239.23 MB/s BenchmarkIndexAnyASCII/1:1-4 2535508 48.61 ns/op BenchmarkIndexAnyASCII/1:2-4 2457295 49.07 ns/op BenchmarkIndexAnyASCII/1:4-4 2409391 48.09 ns/op BenchmarkIndexAnyASCII/1:8-4 2451432 48.01 ns/op BenchmarkIndexAnyASCII/1:16-4 2495856 48.52 ns/op BenchmarkIndexAnyASCII/1:32-4 2353113 49.25 ns/op BenchmarkIndexAnyASCII/1:64-4 2397350 49.90 ns/op BenchmarkIndexAnyASCII/16:1-4 2505543 46.03 ns/op BenchmarkIndexAnyASCII/16:2-4 716143 159.0 ns/op BenchmarkIndexAnyASCII/16:4-4 732096 161.2 ns/op BenchmarkIndexAnyASCII/16:8-4 733795 160.5 ns/op BenchmarkIndexAnyASCII/16:16-4 697314 169.2 ns/op BenchmarkIndexAnyASCII/16:32-4 595518 198.5 ns/op BenchmarkIndexAnyASCII/16:64-4 466770 250.5 ns/op BenchmarkIndexAnyASCII/256:1-4 2348275 51.75 ns/op BenchmarkIndexAnyASCII/256:2-4 65190 1831 ns/op BenchmarkIndexAnyASCII/256:4-4 64620 1832 ns/op BenchmarkIndexAnyASCII/256:8-4 60258 1864 ns/op BenchmarkIndexAnyASCII/256:16-4 62052 1874 ns/op BenchmarkIndexAnyASCII/256:32-4 63180 1891 ns/op BenchmarkIndexAnyASCII/256:64-4 62607 1919 ns/op BenchmarkIndexAnyUTF8/1:1-4 2470146 45.60 ns/op BenchmarkIndexAnyUTF8/1:2-4 2306629 49.81 ns/op BenchmarkIndexAnyUTF8/1:4-4 2266530 50.80 ns/op BenchmarkIndexAnyUTF8/1:8-4 2401279 49.74 ns/op BenchmarkIndexAnyUTF8/1:16-4 2264390 50.24 ns/op BenchmarkIndexAnyUTF8/1:32-4 2354380 50.54 ns/op BenchmarkIndexAnyUTF8/1:64-4 2390354 49.98 ns/op BenchmarkIndexAnyUTF8/16:1-4 1896594 63.97 ns/op BenchmarkIndexAnyUTF8/16:2-4 333024 353.0 ns/op BenchmarkIndexAnyUTF8/16:4-4 335557 352.5 ns/op BenchmarkIndexAnyUTF8/16:8-4 334705 357.5 ns/op BenchmarkIndexAnyUTF8/16:16-4 325622 358.8 ns/op BenchmarkIndexAnyUTF8/16:32-4 316083 371.9 ns/op BenchmarkIndexAnyUTF8/16:64-4 316784 367.6 ns/op BenchmarkIndexAnyUTF8/256:1-4 477085 254.1 ns/op BenchmarkIndexAnyUTF8/256:2-4 24037 4970 ns/op BenchmarkIndexAnyUTF8/256:4-4 22550 4956 ns/op BenchmarkIndexAnyUTF8/256:8-4 23928 4952 ns/op BenchmarkIndexAnyUTF8/256:16-4 22540 5006 ns/op BenchmarkIndexAnyUTF8/256:32-4 22491 5326 ns/op BenchmarkIndexAnyUTF8/256:64-4 22744 5199 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2274396 49.72 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2295951 49.19 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2423042 49.36 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2245983 49.59 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2429533 50.04 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2214218 50.78 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2410471 50.28 ns/op BenchmarkLastIndexAnyASCII/16:1-4 780399 151.6 ns/op BenchmarkLastIndexAnyASCII/16:2-4 786102 152.7 ns/op BenchmarkLastIndexAnyASCII/16:4-4 778795 154.0 ns/op BenchmarkLastIndexAnyASCII/16:8-4 766256 157.3 ns/op BenchmarkLastIndexAnyASCII/16:16-4 700214 167.1 ns/op BenchmarkLastIndexAnyASCII/16:32-4 606246 197.1 ns/op BenchmarkLastIndexAnyASCII/16:64-4 474409 247.9 ns/op BenchmarkLastIndexAnyASCII/256:1-4 69292 1733 ns/op BenchmarkLastIndexAnyASCII/256:2-4 69463 1734 ns/op BenchmarkLastIndexAnyASCII/256:4-4 69523 1743 ns/op BenchmarkLastIndexAnyASCII/256:8-4 69484 1739 ns/op BenchmarkLastIndexAnyASCII/256:16-4 68666 1734 ns/op BenchmarkLastIndexAnyASCII/256:32-4 66463 1765 ns/op BenchmarkLastIndexAnyASCII/256:64-4 65944 1813 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2507602 47.16 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2524183 47.09 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2504708 46.94 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2523843 46.84 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2499999 49.46 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2434357 50.70 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2496470 48.45 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 375146 293.4 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 195579 607.3 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 192697 600.6 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 202857 595.0 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 198093 592.9 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 187441 620.0 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 196165 616.0 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 30886 4201 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 13819 8995 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 13636 9468 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 13665 8793 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 13431 8914 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 13347 8957 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 13298 9024 ns/op BenchmarkTrimASCII/1:1-4 3937094 30.86 ns/op BenchmarkTrimASCII/1:2-4 2836921 41.32 ns/op BenchmarkTrimASCII/1:4-4 2800315 42.89 ns/op BenchmarkTrimASCII/1:8-4 2316955 51.23 ns/op BenchmarkTrimASCII/1:16-4 1963256 61.46 ns/op BenchmarkTrimASCII/16:1-4 2787832 44.04 ns/op BenchmarkTrimASCII/16:2-4 768133 153.8 ns/op BenchmarkTrimASCII/16:4-4 760472 154.0 ns/op BenchmarkTrimASCII/16:8-4 743820 157.3 ns/op BenchmarkTrimASCII/16:16-4 716043 167.4 ns/op BenchmarkTrimASCII/256:1-4 820717 143.5 ns/op BenchmarkTrimASCII/256:2-4 69279 1735 ns/op BenchmarkTrimASCII/256:4-4 69386 1750 ns/op BenchmarkTrimASCII/256:8-4 69150 1757 ns/op BenchmarkTrimASCII/256:16-4 66316 1743 ns/op BenchmarkTrimASCII/4096:1-4 77517 1549 ns/op BenchmarkTrimASCII/4096:2-4 4438 26968 ns/op BenchmarkTrimASCII/4096:4-4 4419 27089 ns/op BenchmarkTrimASCII/4096:8-4 4363 27381 ns/op BenchmarkTrimASCII/4096:16-4 4207 27026 ns/op BenchmarkTrimByte-4 4094168 29.68 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 13868 8649 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 13813 8628 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 1000 115942 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 2048 57882 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 4051 28982 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 7387 15751 ns/op BenchmarkJoin/0-4 5558312 21.68 ns/op 0 B/op 0 allocs/op BenchmarkJoin/1-4 4435424 27.51 ns/op 0 B/op 0 allocs/op BenchmarkJoin/2-4 195470 627.3 ns/op 16 B/op 1 allocs/op BenchmarkJoin/3-4 129097 896.1 ns/op 24 B/op 1 allocs/op BenchmarkJoin/4-4 105948 1160 ns/op 48 B/op 1 allocs/op BenchmarkJoin/5-4 84048 1450 ns/op 48 B/op 1 allocs/op BenchmarkJoin/6-4 68698 1750 ns/op 64 B/op 1 allocs/op BenchmarkJoin/7-4 59296 1960 ns/op 64 B/op 1 allocs/op BenchmarkTrimSpace/NoTrim-4 3126978 38.59 ns/op BenchmarkTrimSpace/ASCII-4 1711119 69.67 ns/op BenchmarkTrimSpace/SomeNonASCII-4 142930 776.1 ns/op BenchmarkTrimSpace/JustNonASCII-4 75850 1601 ns/op BenchmarkReplaceAll-4 122221 977.8 ns/op 16 B/op 1 allocs/op PASS ok strings 72.830s goos: linux goarch: amd64 pkg: sync cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCond1-4 54216 2197 ns/op BenchmarkCond2-4 13897 8817 ns/op BenchmarkCond4-4 15657 7772 ns/op BenchmarkCond8-4 8271 14836 ns/op BenchmarkCond16-4 3658 32708 ns/op BenchmarkCond32-4 1602 80085 ns/op BenchmarkLoadMostlyHits/*sync_test.DeepCopyMap-4 514884 246.5 ns/op BenchmarkLoadMostlyHits/*sync_test.RWMutexMap-4 359808 370.6 ns/op BenchmarkLoadMostlyHits/*sync.Map-4 490635 223.4 ns/op BenchmarkLoadMostlyMisses/*sync_test.DeepCopyMap-4 479113 286.5 ns/op BenchmarkLoadMostlyMisses/*sync_test.RWMutexMap-4 277768 378.5 ns/op BenchmarkLoadMostlyMisses/*sync.Map-4 572965 188.3 ns/op BenchmarkLoadOrStoreBalanced/*sync_test.RWMutexMap-4 55561 1963 ns/op BenchmarkLoadOrStoreBalanced/*sync.Map-4 61332 2271 ns/op BenchmarkLoadOrStoreUnique/*sync_test.RWMutexMap-4 47972 2322 ns/op BenchmarkLoadOrStoreUnique/*sync.Map-4 44005 3236 ns/op BenchmarkLoadOrStoreCollision/*sync_test.DeepCopyMap-4 549921 297.6 ns/op BenchmarkLoadOrStoreCollision/*sync_test.RWMutexMap-4 173605 896.0 ns/op BenchmarkLoadOrStoreCollision/*sync.Map-4 541719 219.6 ns/op BenchmarkLoadAndDeleteBalanced/*sync_test.RWMutexMap-4 148759 1069 ns/op BenchmarkLoadAndDeleteBalanced/*sync.Map-4 540780 206.2 ns/op BenchmarkLoadAndDeleteUnique/*sync_test.RWMutexMap-4 168220 875.4 ns/op BenchmarkLoadAndDeleteUnique/*sync.Map-4 2148374 65.04 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.DeepCopyMap-4 38476 3304 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.RWMutexMap-4 94274 1249 ns/op BenchmarkLoadAndDeleteCollision/*sync.Map-4 472291 335.2 ns/op BenchmarkRange/*sync_test.DeepCopyMap-4 3493 31100 ns/op BenchmarkRange/*sync_test.RWMutexMap-4 288 390838 ns/op BenchmarkRange/*sync.Map-4 922 115724 ns/op BenchmarkAdversarialAlloc/*sync_test.DeepCopyMap-4 58813 1786 ns/op BenchmarkAdversarialAlloc/*sync_test.RWMutexMap-4 210672 583.5 ns/op BenchmarkAdversarialAlloc/*sync.Map-4 55735 2150 ns/op BenchmarkAdversarialDelete/*sync_test.DeepCopyMap-4 89622 1376 ns/op BenchmarkAdversarialDelete/*sync_test.RWMutexMap-4 213483 509.1 ns/op BenchmarkAdversarialDelete/*sync.Map-4 159801 1059 ns/op BenchmarkDeleteCollision/*sync_test.DeepCopyMap-4 65728 1592 ns/op BenchmarkDeleteCollision/*sync_test.RWMutexMap-4 175425 808.2 ns/op BenchmarkDeleteCollision/*sync.Map-4 679765 191.0 ns/op BenchmarkSwapCollision/*sync_test.DeepCopyMap-4 51523 2763 ns/op BenchmarkSwapCollision/*sync_test.RWMutexMap-4 140983 833.5 ns/op BenchmarkSwapCollision/*sync.Map-4 59389 2211 ns/op BenchmarkSwapMostlyHits/*sync_test.DeepCopyMap-4 194 611368 ns/op BenchmarkSwapMostlyHits/*sync_test.RWMutexMap-4 82456 1385 ns/op BenchmarkSwapMostlyHits/*sync.Map-4 270283 390.7 ns/op BenchmarkSwapMostlyMisses/*sync_test.DeepCopyMap-4 17882 6040 ns/op BenchmarkSwapMostlyMisses/*sync_test.RWMutexMap-4 50266 2424 ns/op BenchmarkSwapMostlyMisses/*sync.Map-4 15776 7175 ns/op BenchmarkCompareAndSwapCollision/*sync_test.DeepCopyMap-4 335959 401.3 ns/op BenchmarkCompareAndSwapCollision/*sync_test.RWMutexMap-4 93634 1492 ns/op BenchmarkCompareAndSwapCollision/*sync.Map-4 156286 663.2 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.DeepCopyMap-4 1888927 70.70 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.RWMutexMap-4 127839 874.9 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync.Map-4 2161551 80.59 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.DeepCopyMap-4 557517 218.3 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.RWMutexMap-4 146436 1022 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync.Map-4 555921 199.0 ns/op BenchmarkCompareAndSwapMostlyHits/*sync_test.RWMutexMap-4 86677 1609 ns/op BenchmarkCompareAndSwapMostlyHits/*sync.Map-4 283512 461.4 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.DeepCopyMap-4 430004 266.2 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.RWMutexMap-4 79386 1470 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync.Map-4 445600 255.7 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.DeepCopyMap-4 238989 519.0 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.RWMutexMap-4 82794 1406 ns/op BenchmarkCompareAndDeleteCollision/*sync.Map-4 189745 686.7 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync_test.RWMutexMap-4 51661 2506 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync.Map-4 175219 637.8 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.DeepCopyMap-4 399667 265.7 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.RWMutexMap-4 86172 1735 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync.Map-4 546174 197.9 ns/op BenchmarkUncontendedSemaphore-4 3501668 34.50 ns/op BenchmarkContendedSemaphore-4 1850690 70.62 ns/op BenchmarkMutexUncontended-4 803295 150.7 ns/op BenchmarkMutex-4 138306 1108 ns/op BenchmarkMutexSlack-4 103654 1095 ns/op BenchmarkMutexWork-4 122888 1146 ns/op BenchmarkMutexWorkSlack-4 115272 1094 ns/op BenchmarkMutexNoSpin-4 46185 2427 ns/op BenchmarkMutexSpin-4 50083 2903 ns/op BenchmarkOnce-4 585326 191.0 ns/op BenchmarkOnceFunc/v=Once-4 999715 120.6 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Global-4 793168 141.2 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Local-4 850540 135.4 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Once-4 880570 127.8 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Global-4 771973 141.1 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Local-4 886069 135.8 ns/op 0 B/op 0 allocs/op BenchmarkSemaUncontended-4 6894620 18.32 ns/op BenchmarkSemaSyntNonblock-4 1293500 92.66 ns/op BenchmarkSemaSyntBlock-4 1249000 95.17 ns/op BenchmarkSemaWorkNonblock-4 852183 120.7 ns/op BenchmarkSemaWorkBlock-4 900613 143.3 ns/op BenchmarkRWMutexUncontended-4 413277 344.1 ns/op BenchmarkRWMutexWrite100-4 277279 415.5 ns/op BenchmarkRWMutexWrite10-4 266247 548.9 ns/op BenchmarkRWMutexWorkWrite100-4 209227 562.3 ns/op BenchmarkRWMutexWorkWrite10-4 182463 731.0 ns/op BenchmarkWaitGroupUncontended-4 772118 141.9 ns/op BenchmarkWaitGroupAddDone-4 422179 351.4 ns/op BenchmarkWaitGroupAddDoneWork-4 370584 281.9 ns/op BenchmarkWaitGroupWait-4 4257900 28.02 ns/op BenchmarkWaitGroupWaitWork-4 2803522 42.97 ns/op BenchmarkWaitGroupActuallyWait-4 42529 3121 ns/op 32 B/op 2 allocs/op PASS ok sync 21.588s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: sync/atomic cpu: AMD EPYC 7B12 BenchmarkValueRead-4 731470 137.6 ns/op PASS ok sync/atomic 1.117s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Running benchmarks briefly. PASS ok syscall 1.024s goos: linux goarch: amd64 pkg: testing cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkTBHelper-4 126150 914.5 ns/op 0 B/op 0 allocs/op PASS ok testing 1.153s goos: linux goarch: amd64 pkg: text/tabwriter cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkTable/1x10/new-4 7220 15246 ns/op 1520 B/op 21 allocs/op BenchmarkTable/1x10/reuse-4 11194 10613 ns/op 0 B/op 0 allocs/op BenchmarkTable/1x1000/new-4 92 1220983 ns/op 110960 B/op 1024 allocs/op BenchmarkTable/1x1000/reuse-4 120 998305 ns/op 924 B/op 8 allocs/op BenchmarkTable/1x100000/new-4 1 214289264 ns/op 18285040 B/op 100056 allocs/op BenchmarkTable/1x100000/reuse-4 1 207525414 ns/op 18285040 B/op 100056 allocs/op BenchmarkTable/10x10/new-4 1635 67487 ns/op 5056 B/op 31 allocs/op BenchmarkTable/10x10/reuse-4 2037 54892 ns/op 2 B/op 0 allocs/op BenchmarkTable/10x1000/new-4 18 5943705 ns/op 395136 B/op 1038 allocs/op BenchmarkTable/10x1000/reuse-4 21 5317208 ns/op 18816 B/op 49 allocs/op BenchmarkTable/10x100000/new-4 1 761939976 ns/op 47012736 B/op 100072 allocs/op BenchmarkTable/10x100000/reuse-4 1 744512823 ns/op 47012736 B/op 100072 allocs/op BenchmarkTable/100x10/new-4 213 542437 ns/op 39296 B/op 41 allocs/op BenchmarkTable/100x10/reuse-4 242 486922 ns/op 162 B/op 0 allocs/op BenchmarkTable/100x1000/new-4 2 60415046 ns/op 3270528 B/op 1052 allocs/op BenchmarkTable/100x1000/reuse-4 2 56740870 ns/op 1635264 B/op 526 allocs/op BenchmarkTable/100x100000/new-4 1 7332567658 ns/op 334041984 B/op 100088 allocs/op BenchmarkTable/100x100000/reuse-4 1 6925228063 ns/op 334042000 B/op 100090 allocs/op BenchmarkPyramid/10-4 2518 45491 ns/op 4872 B/op 35 allocs/op BenchmarkPyramid/100-4 38 2983347 ns/op 410536 B/op 230 allocs/op BenchmarkPyramid/1000-4 1 315739738 ns/op 35607016 B/op 2056 allocs/op BenchmarkRagged/10-4 2317 49174 ns/op 4512 B/op 34 allocs/op BenchmarkRagged/100-4 248 453990 ns/op 42416 B/op 188 allocs/op BenchmarkRagged/1000-4 25 4489690 ns/op 408992 B/op 1660 allocs/op BenchmarkCode-4 8211 14313 ns/op 624 B/op 13 allocs/op PASS ok text/tabwriter 20.767s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: text/template/parse cpu: AMD EPYC 7B12 BenchmarkParseLarge-4 2 56245894 ns/op BenchmarkVariableString-4 140550 863.4 ns/op 80 B/op 3 allocs/op BenchmarkListString-4 2895 39159 ns/op 2524 B/op 39 allocs/op PASS ok text/template/parse 1.447s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: time cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAfterFunc-4 34 3227240 ns/op BenchmarkAfter-4 93 1413130 ns/op BenchmarkStop-4 184 635808 ns/op BenchmarkSimultaneousAfterFunc-4 26 4728836 ns/op BenchmarkStartStop-4 225 506671 ns/op BenchmarkReset-4 2614 63068 ns/op BenchmarkSleep-4 28 3970235 ns/op BenchmarkParallelTimerLatency-4 50 218111 avg-late-ns 1018660 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=1-4 37 351427 avg-late-ns 891969 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=2-4 32 354524 avg-late-ns 862848 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=3-4 34 404451 avg-late-ns 1242347 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=4-4 33 330516 avg-late-ns 1351985 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=5-4 31 322768 avg-late-ns 2236922 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=6-4 31 323894 avg-late-ns 1736907 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=7-4 28 160213 avg-late-ns 1461593 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=8-4 27 175725 avg-late-ns 1052161 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=9-4 25 246662 avg-late-ns 2048095 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=10-4 26 865387 avg-late-ns 2898765 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=2ms/tickers-per-P=1-4 34 309501 avg-late-ns 1017393 max-late-ns BenchmarkTicker-4 356 354088 ns/op BenchmarkTickerReset-4 3793 31448 ns/op BenchmarkTickerResetNaive-4 168 634572 ns/op BenchmarkNow-4 1318016 91.89 ns/op BenchmarkNowUnixNano-4 1000000 103.5 ns/op BenchmarkNowUnixMilli-4 1000000 104.3 ns/op BenchmarkNowUnixMicro-4 1000000 103.1 ns/op BenchmarkFormat-4 54352 2175 ns/op BenchmarkFormatRFC3339-4 73788 1636 ns/op BenchmarkFormatRFC3339Nano-4 74246 1676 ns/op BenchmarkFormatNow-4 80882 1534 ns/op BenchmarkMarshalJSON-4 105766 1214 ns/op BenchmarkMarshalText-4 100508 1198 ns/op BenchmarkParse-4 136665 842.9 ns/op BenchmarkParseRFC3339UTC-4 288764 403.8 ns/op BenchmarkParseRFC3339UTCBytes-4 210746 571.0 ns/op BenchmarkParseRFC3339TZ-4 95112 1265 ns/op BenchmarkParseRFC3339TZBytes-4 74330 1618 ns/op BenchmarkParseDuration-4 508812 236.1 ns/op BenchmarkHour-4 697497 162.7 ns/op BenchmarkSecond-4 731283 161.7 ns/op BenchmarkYear-4 579164 204.2 ns/op BenchmarkDay-4 534667 221.9 ns/op BenchmarkISOWeek-4 532994 208.6 ns/op BenchmarkGoString-4 73044 1643 ns/op BenchmarkUnmarshalText-4 82568 1386 ns/op PASS ok time 12.440s goos: linux goarch: amd64 pkg: unicode/utf16 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecodeValidASCII-4 600676 188.3 ns/op BenchmarkDecodeValidJapaneseChars-4 685840 159.6 ns/op BenchmarkDecodeRune-4 1676773 71.59 ns/op BenchmarkEncodeValidASCII-4 475654 210.7 ns/op BenchmarkEncodeValidJapaneseChars-4 783343 153.7 ns/op BenchmarkAppendRuneValidASCII-4 1410493 85.01 ns/op BenchmarkAppendRuneValidJapaneseChars-4 2337697 51.81 ns/op BenchmarkEncodeRune-4 1747012 68.92 ns/op PASS ok unicode/utf16 2.357s goos: linux goarch: amd64 pkg: unicode/utf8 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRuneCountTenASCIIChars-4 1925193 61.80 ns/op BenchmarkRuneCountTenJapaneseChars-4 320353 345.2 ns/op BenchmarkRuneCountInStringTenASCIIChars-4 3654363 32.63 ns/op BenchmarkRuneCountInStringTenJapaneseChars-4 447606 265.7 ns/op BenchmarkValidTenASCIIChars-4 2006437 59.29 ns/op BenchmarkValid100KASCIIChars-4 91 1162795 ns/op BenchmarkValidTenJapaneseChars-4 328027 361.8 ns/op BenchmarkValidLongMostlyASCII-4 100 1174284 ns/op BenchmarkValidLongJapanese-4 54 2029090 ns/op BenchmarkValidStringTenASCIIChars-4 4369476 27.41 ns/op BenchmarkValidString100KASCIIChars-4 9780 12349 ns/op BenchmarkValidStringTenJapaneseChars-4 409980 245.9 ns/op BenchmarkValidStringLongMostlyASCII-4 1255 96339 ns/op BenchmarkValidStringLongJapanese-4 160 748955 ns/op BenchmarkEncodeASCIIRune-4 4475125 26.76 ns/op BenchmarkEncodeJapaneseRune-4 2553963 46.96 ns/op BenchmarkAppendASCIIRune-4 10115943 11.87 ns/op BenchmarkAppendJapaneseRune-4 3093564 38.25 ns/op BenchmarkDecodeASCIIRune-4 2730724 43.40 ns/op BenchmarkDecodeJapaneseRune-4 2259402 53.69 ns/op BenchmarkFullRune/ASCII-4 3427384 35.10 ns/op BenchmarkFullRune/Incomplete-4 1594771 75.16 ns/op BenchmarkFullRune/Japanese-4 3488367 34.49 ns/op PASS ok unicode/utf8 4.534s goos: linux goarch: amd64 pkg: cmd/api cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAll-4 1 79898151631 ns/op PASS ok cmd/api 81.433s goos: linux goarch: amd64 pkg: cmd/cgo/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCgoCall/add-int-4 405338 267.1 ns/op BenchmarkCgoCall/one-pointer-4 324440 353.9 ns/op BenchmarkCgoCall/string-pointer-escape-4 282502 443.0 ns/op BenchmarkCgoCall/string-pointer-noescape-4 282634 413.2 ns/op BenchmarkCgoCall/eight-pointers-4 176558 642.4 ns/op BenchmarkCgoCall/eight-pointers-nil-4 354823 323.8 ns/op BenchmarkCgoCall/eight-pointers-array-4 31668 4126 ns/op BenchmarkCgoCall/eight-pointers-slice-4 41274 2919 ns/op BenchmarkGoString-4 1015435 109.7 ns/op BenchmarkCGoCallback-4 45303 2609 ns/op BenchmarkCGoInCThread-4 293889 396.7 ns/op PASS ok cmd/cgo/internal/test 2.580s goos: linux goarch: amd64 pkg: cmd/compile/internal/reflectdata cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEqArrayOfStrings5-4 1000000 103.7 ns/op BenchmarkEqArrayOfStrings64-4 139938 842.8 ns/op BenchmarkEqArrayOfStrings1024-4 8895 11960 ns/op BenchmarkEqArrayOfFloats5-4 1403324 85.35 ns/op BenchmarkEqArrayOfFloats64-4 137560 879.2 ns/op BenchmarkEqArrayOfFloats1024-4 8997 12844 ns/op BenchmarkEqArrayOfStructsEq-4 2713 44476 ns/op BenchmarkEqArrayOfStructsNotEq-4 4730 25053 ns/op BenchmarkEqStruct-4 17325151 6.589 ns/op PASS ok cmd/compile/internal/reflectdata 2.227s goos: linux goarch: amd64 pkg: cmd/compile/internal/ssa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPhioptPass-4 10000 54723 ns/op BenchmarkInvertLessThanNoov-4 15015799 7.639 ns/op BenchmarkCopyElim1-4 748 158593 ns/op BenchmarkCopyElim10-4 592 191853 ns/op BenchmarkCopyElim100-4 307 368826 ns/op BenchmarkCopyElim1000-4 46 2483252 ns/op BenchmarkCopyElim10000-4 2 52971000 ns/op BenchmarkCopyElim100000-4 1 749636513 ns/op BenchmarkDeadCode/1-4 577 210940 ns/op BenchmarkDeadCode/10-4 436 267830 ns/op BenchmarkDeadCode/100-4 194 583340 ns/op BenchmarkDeadCode/1000-4 49 2815133 ns/op BenchmarkDeadCode/10000-4 4 33670074 ns/op BenchmarkDeadCode/100000-4 1 466692710 ns/op BenchmarkDeadCode/200000-4 1 994758404 ns/op BenchmarkDominatorsLinear-4 14 8714390 ns/op 1.15 MB/s BenchmarkDominatorsFwdBack-4 9 11730717 ns/op 0.85 MB/s BenchmarkDominatorsManyPred-4 10 11955137 ns/op 0.84 MB/s BenchmarkDominatorsMaxPred-4 10 12533868 ns/op 0.80 MB/s BenchmarkDominatorsMaxPredVal-4 10 11800264 ns/op 0.85 MB/s BenchmarkFuse/1-4 561 233948 ns/op BenchmarkFuse/10-4 362 294407 ns/op BenchmarkFuse/100-4 135 917638 ns/op BenchmarkFuse/1000-4 20 6115934 ns/op BenchmarkFuse/10000-4 2 80670960 ns/op BenchmarkNilCheckDeep1-4 10000 10041 ns/op 0.10 MB/s 236 B/op 4 allocs/op BenchmarkNilCheckDeep10-4 4030 24919 ns/op 0.40 MB/s 238 B/op 4 allocs/op BenchmarkNilCheckDeep100-4 681 171015 ns/op 0.58 MB/s 1190 B/op 4 allocs/op BenchmarkNilCheckDeep1000-4 64 1651507 ns/op 0.61 MB/s 6756 B/op 4 allocs/op BenchmarkNilCheckDeep10000-4 6 19658541 ns/op 0.51 MB/s 240936 B/op 8 allocs/op BenchmarkDSEPass-4 33 3522058 ns/op 53853 B/op 7 allocs/op BenchmarkDSEPassBlock-4 1 125231711 ns/op 4257296 B/op 108463 allocs/op BenchmarkCSEPass-4 7 14677601 ns/op 75347 B/op 8 allocs/op BenchmarkCSEPassBlock-4 1 157998418 ns/op 5681800 B/op 97588 allocs/op BenchmarkDeadcodePass-4 162 687832 ns/op 95449 B/op 3 allocs/op BenchmarkDeadcodePassBlock-4 1 142762737 ns/op 4062608 B/op 45113 allocs/op BenchmarkMultiPass-4 62 1856768 ns/op 263834 B/op 11 allocs/op BenchmarkMultiPassBlock-4 1 291913903 ns/op 11235600 B/op 150126 allocs/op BenchmarkCondRewrite/SoloJump-4 3032535 38.97 ns/op BenchmarkCondRewrite/CombJump-4 2923106 40.87 ns/op PASS ok cmd/compile/internal/ssa 15.914s goos: linux goarch: amd64 pkg: cmd/compile/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLoadAdd-4 8427 12377 ns/op BenchmarkExtShift-4 17487 6932 ns/op BenchmarkModify-4 9722 12041 ns/op BenchmarkMullImm-4 16449 7278 ns/op BenchmarkConstModify-4 9206 12353 ns/op BenchmarkBitSet-4 19514 6155 ns/op BenchmarkBitClear-4 19390 6176 ns/op BenchmarkBitToggle-4 19389 6211 ns/op BenchmarkBitSetConst-4 155923 778.2 ns/op BenchmarkBitClearConst-4 156108 804.1 ns/op BenchmarkBitToggleConst-4 153934 778.1 ns/op BenchmarkDivconstI64-4 9636182 12.53 ns/op BenchmarkModconstI64-4 8860261 13.44 ns/op BenchmarkDivisiblePow2constI64-4 8665972 13.46 ns/op BenchmarkDivisibleconstI64-4 9713784 12.42 ns/op BenchmarkDivisibleWDivconstI64-4 6424564 18.76 ns/op BenchmarkDivconstU64/3-4 9196674 13.07 ns/op BenchmarkDivconstU64/5-4 8953276 13.41 ns/op BenchmarkDivconstU64/37-4 9012020 13.25 ns/op BenchmarkDivconstU64/1234567-4 9351213 12.82 ns/op BenchmarkModconstU64-4 8892007 13.49 ns/op BenchmarkDivisibleconstU64-4 9037026 13.09 ns/op BenchmarkDivisibleWDivconstU64-4 6445101 18.61 ns/op BenchmarkDivconstI32-4 9554902 12.47 ns/op BenchmarkModconstI32-4 8591334 14.03 ns/op BenchmarkDivisiblePow2constI32-4 9653265 12.74 ns/op BenchmarkDivisibleconstI32-4 9487719 12.51 ns/op BenchmarkDivisibleWDivconstI32-4 6319573 18.68 ns/op BenchmarkDivconstU32-4 9647299 12.45 ns/op BenchmarkModconstU32-4 8334873 14.16 ns/op BenchmarkDivisibleconstU32-4 9400652 12.67 ns/op BenchmarkDivisibleWDivconstU32-4 6330561 19.12 ns/op BenchmarkDivconstI16-4 9059233 13.09 ns/op BenchmarkModconstI16-4 9208063 13.07 ns/op BenchmarkDivisiblePow2constI16-4 9417734 12.50 ns/op BenchmarkDivisibleconstI16-4 9294025 13.09 ns/op BenchmarkDivisibleWDivconstI16-4 6371514 18.63 ns/op BenchmarkDivconstU16-4 9329137 12.72 ns/op BenchmarkModconstU16-4 9638394 12.46 ns/op BenchmarkDivisibleconstU16-4 9351927 12.72 ns/op BenchmarkDivisibleWDivconstU16-4 6526291 18.42 ns/op BenchmarkDivconstI8-4 9652418 12.55 ns/op BenchmarkModconstI8-4 8894830 13.45 ns/op BenchmarkDivisiblePow2constI8-4 9275491 13.51 ns/op BenchmarkDivisibleconstI8-4 9446362 12.60 ns/op BenchmarkDivisibleWDivconstI8-4 6663386 18.07 ns/op BenchmarkDivconstU8-4 9377085 12.69 ns/op BenchmarkModconstU8-4 9100231 12.94 ns/op BenchmarkDivisibleconstU8-4 8655748 13.34 ns/op BenchmarkDivisibleWDivconstU8-4 6348831 18.90 ns/op BenchmarkMul2-4 220578 538.9 ns/op BenchmarkMulNeg2-4 223410 539.6 ns/op BenchmarkEfaceInteger-4 3676087 28.18 ns/op BenchmarkTypeAssert-4 14121472 8.450 ns/op BenchmarkDiv64UnsignedSmall-4 7030752 17.04 ns/op BenchmarkDiv64Small-4 6282021 18.99 ns/op BenchmarkDiv64SmallNegDivisor-4 6246220 19.36 ns/op BenchmarkDiv64SmallNegDividend-4 6389702 18.83 ns/op BenchmarkDiv64SmallNegBoth-4 6244893 19.18 ns/op BenchmarkDiv64Unsigned-4 6640180 17.44 ns/op BenchmarkDiv64-4 5719263 20.78 ns/op BenchmarkDiv64NegDivisor-4 5747313 20.62 ns/op BenchmarkDiv64NegDividend-4 5738564 20.84 ns/op BenchmarkDiv64NegBoth-4 5711068 20.66 ns/op BenchmarkMod64UnsignedSmall-4 7282934 16.40 ns/op BenchmarkMod64Small-4 6259959 18.96 ns/op BenchmarkMod64SmallNegDivisor-4 6365444 18.82 ns/op BenchmarkMod64SmallNegDividend-4 6414859 18.76 ns/op BenchmarkMod64SmallNegBoth-4 6354440 19.05 ns/op BenchmarkMod64Unsigned-4 6802411 17.81 ns/op BenchmarkMod64-4 5759049 20.75 ns/op BenchmarkMod64NegDivisor-4 5689106 20.67 ns/op BenchmarkMod64NegDividend-4 5735172 20.58 ns/op BenchmarkMod64NegBoth-4 5754751 20.88 ns/op BenchmarkMulconstI32/3-4 17966664 6.542 ns/op BenchmarkMulconstI32/5-4 18125001 6.536 ns/op BenchmarkMulconstI32/12-4 17001698 6.930 ns/op BenchmarkMulconstI32/120-4 18275947 6.532 ns/op BenchmarkMulconstI32/-120-4 18379252 6.558 ns/op BenchmarkMulconstI32/65537-4 17222362 6.899 ns/op BenchmarkMulconstI32/65538-4 17435361 6.892 ns/op BenchmarkMulconstI64/3-4 16502938 7.211 ns/op BenchmarkMulconstI64/5-4 16781390 7.173 ns/op BenchmarkMulconstI64/12-4 18196957 6.564 ns/op BenchmarkMulconstI64/120-4 16480136 7.193 ns/op BenchmarkMulconstI64/-120-4 16395220 7.187 ns/op BenchmarkMulconstI64/65537-4 18288211 6.545 ns/op BenchmarkMulconstI64/65538-4 18026434 6.578 ns/op BenchmarkMulconstU32/3-4 18320109 6.532 ns/op BenchmarkMulconstU32/5-4 18309352 6.545 ns/op BenchmarkMulconstU32/12-4 17187753 6.938 ns/op BenchmarkMulconstU32/120-4 18304245 6.586 ns/op BenchmarkMulconstU32/65537-4 16686819 6.957 ns/op BenchmarkMulconstU32/65538-4 17347060 6.938 ns/op BenchmarkMulconstU64/3-4 16012809 7.216 ns/op BenchmarkMulconstU64/5-4 16791292 7.193 ns/op BenchmarkMulconstU64/12-4 18332922 6.533 ns/op BenchmarkMulconstU64/120-4 16554129 7.167 ns/op BenchmarkMulconstU64/65537-4 18405076 6.573 ns/op BenchmarkMulconstU64/65538-4 18253923 6.572 ns/op BenchmarkShiftArithmeticRight-4 18412628 6.530 ns/op BenchmarkSwitch8Predictable-4 13667414 8.596 ns/op BenchmarkSwitch8Unpredictable-4 6483150 18.07 ns/op BenchmarkSwitch32Predictable-4 8253502 14.18 ns/op BenchmarkSwitch32Unpredictable-4 6486304 18.05 ns/op BenchmarkSwitchStringPredictable-4 7630558 15.76 ns/op BenchmarkSwitchStringUnpredictable-4 4729729 25.33 ns/op BenchmarkSwitchTypePredictable-4 5650317 21.19 ns/op BenchmarkSwitchTypeUnpredictable-4 3348069 35.99 ns/op BenchmarkSwitchInterfaceTypePredictable-4 5945965 17.01 ns/op BenchmarkSwitchInterfaceTypeUnpredictable-4 4182541 28.29 ns/op PASS ok cmd/compile/internal/test 16.601s goos: linux goarch: amd64 pkg: cmd/compile/internal/types2 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLookupFieldOrMethod-4 92 1139425 ns/op BenchmarkNamed/Underlying/nongeneric-4 699452 157.7 ns/op BenchmarkNamed/Underlying/generic-4 705205 154.5 ns/op BenchmarkNamed/Underlying/src_instance-4 721106 153.9 ns/op BenchmarkNamed/Underlying/user_instance-4 695264 154.7 ns/op BenchmarkCheck/http/funcbodies/info-4 1 695775149 ns/op 48393 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 451440771 ns/op 74592 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 192279692 ns/op 175049 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 158822662 ns/op 211932 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 504675405 ns/op 10283 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 1 101229125 ns/op 51243 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 3 39602698 ns/op 130990 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 3 38450319 ns/op 134916 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 143118493 ns/op 15156 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 3 44725308 ns/op 48498 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 5 22070748 ns/op 98258 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 5 21072926 ns/op 102928 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1426142907 ns/op 48758 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 718605462 ns/op 96761 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 200666223 ns/op 346430 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 146755631 ns/op 473638 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 593073229 ns/op 3392 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 70042138 ns/op 28713 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 3 40725122 ns/op 49390 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 3 40108383 ns/op 50151 lines/s PASS ok cmd/compile/internal/types2 18.376s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: cmd/go cpu: AMD EPYC 7B12 BenchmarkExecGoEnv-4 183 610480 ns/op 1515962 sys-ns/op 684956 user-ns/op PASS ok cmd/go 1.187s goos: linux goarch: amd64 pkg: cmd/go/internal/cfg cpu: AMD EPYC 7B12 BenchmarkLookPath-4 350552 321.7 ns/op PASS ok cmd/go/internal/cfg 1.131s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.133+ #1 SMP Sun Nov 19 11:08:25 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: cmd/internal/notsha256 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 67843 1732 ns/op 4.62 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 75050 1565 ns/op 5.11 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 14604 8267 ns/op 123.86 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 14900 8113 ns/op 126.21 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 2263 52345 ns/op 156.50 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 2268 51953 ns/op 157.68 MB/s 0 B/op 0 allocs/op PASS ok cmd/internal/notsha256 1.961s All tests passed.