linux-amd64-race at 1596d71255f3c19a27600e751592079dae46bf40 :: Running /workdir/go/src/make.bash with args ["/workdir/go/src/make.bash"] and env ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "HOSTNAME=buildlet-linux-amd64-bullseye-rnc4b3ed9" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=9s" "GO_STAGE0_DL_DELAY=100ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-race" "GO_DISABLE_OUTBOUND_NETWORK=1" "GOBIN=" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache" "PWD=/workdir/go/src"] in dir /workdir/go/src Building Go cmd/dist using /workdir/go1.4. (go1.17.13 linux/amd64) Building Go toolchain1 using /workdir/go1.4. Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. Building Go toolchain2 using go_bootstrap and Go toolchain1. Building Go toolchain3 using go_bootstrap and Go toolchain2. Building packages and commands for linux/amd64. --- Installed Go for linux/amd64 in /workdir/go Installed commands in /workdir/go/bin :: Running /workdir/go/bin/go with args ["/workdir/go/bin/go" "install" "-race" "std"] and env ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "HOSTNAME=buildlet-linux-amd64-bullseye-rnc4b3ed9" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=9s" "GO_STAGE0_DL_DELAY=100ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-race" "GO_DISABLE_OUTBOUND_NETWORK=1" "GOBIN=" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache" "PWD=/workdir/go/bin"] in dir /workdir/go/bin ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Testing packages. ok archive/tar 1.272s ok archive/zip 2.470s ok bufio 0.359s ok bytes 3.290s ok compress/bzip2 0.484s ok compress/flate 6.103s ok compress/gzip 11.739s ok compress/lzw 0.591s ok compress/zlib 5.196s ok container/heap 0.042s ok container/list 0.032s ok container/ring 0.042s ok context 0.045s ok crypto 0.033s ok crypto/aes 0.074s ok crypto/cipher 0.063s ok crypto/des 0.062s ok crypto/dsa 0.031s ok crypto/ecdh 0.236s ok crypto/ecdsa 0.143s ok crypto/ed25519 0.396s ok crypto/elliptic 0.062s ok crypto/hmac 0.041s ok crypto/internal/alias 0.030s ok crypto/internal/bigmod 2.402s ok crypto/internal/boring 0.031s ok crypto/internal/boring/bcache 0.459s ok crypto/internal/edwards25519 36.075s ok crypto/internal/edwards25519/field 12.809s ok crypto/internal/nistec 0.835s ok crypto/internal/nistec/fiat 0.031s [no tests to run] ok crypto/md5 0.043s ok crypto/rand 0.333s ok crypto/rc4 0.457s ok crypto/rsa 1.383s ok crypto/sha1 0.072s ok crypto/sha256 0.043s ok crypto/sha512 0.041s ok crypto/subtle 0.444s ok crypto/tls 1.608s ok crypto/x509 1.162s ok database/sql 0.376s ok database/sql/driver 0.030s ok debug/buildinfo 0.051s ok debug/dwarf 0.094s ok debug/elf 1.388s ok debug/gosym 0.372s ok debug/macho 0.052s ok debug/pe 0.062s ok debug/plan9obj 0.030s ok embed 0.031s [no tests to run] ok embed/internal/embedtest 0.031s ok encoding/ascii85 0.041s ok encoding/asn1 0.042s ok encoding/base32 0.084s ok encoding/base64 0.042s ok encoding/binary 0.043s ok encoding/csv 0.085s ok encoding/gob 18.450s ok encoding/hex 0.042s ok encoding/json 1.334s ok encoding/pem 2.444s ok encoding/xml 0.249s ok errors 0.041s ok expvar 0.031s ok flag 0.150s ok fmt 0.551s ok go/ast 0.052s ok go/build 4.231s ok go/build/constraint 0.041s ok go/constant 0.044s ok go/doc 0.278s ok go/doc/comment 2.273s ok go/format 0.072s ok go/importer 0.218s ok go/internal/gccgoimporter 0.063s ok go/internal/gcimporter 1.304s ok go/internal/srcimporter 14.226s ok go/parser 0.924s ok go/printer 1.340s ok go/scanner 0.041s ok go/token 0.136s ok go/types 34.620s ok hash 0.032s ok hash/adler32 0.061s ok hash/crc32 0.072s ok hash/crc64 0.042s ok hash/fnv 0.030s ok hash/maphash 0.030s ok html 0.036s ok html/template 0.235s ok image 0.428s ok image/color 0.054s ok image/draw 0.601s ok image/gif 0.967s ok image/jpeg 1.315s ok image/png 3.162s ok index/suffixarray 1.001s ok internal/abi 0.072s ok internal/buildcfg 0.027s ok internal/coverage/cformat 0.033s ok internal/coverage/cmerge 0.033s ok internal/coverage/pods 0.031s ok internal/coverage/slicereader 0.032s ok internal/coverage/slicewriter 0.031s ok internal/coverage/test 0.064s ok internal/cpu 0.091s ok internal/dag 0.031s ok internal/diff 0.034s ok internal/fmtsort 0.030s ok internal/fuzz 0.062s ok internal/godebug 0.033s ok internal/intern 0.320s ok internal/itoa 0.033s ok internal/poll 0.534s ok internal/profile 0.033s ok internal/reflectlite 0.297s ok internal/safefilepath 0.033s ok internal/saferio 0.320s ok internal/singleflight 0.116s ok internal/testenv 0.030s ok internal/trace 0.186s ok internal/types/errors 0.397s ok internal/unsafeheader 0.030s ok internal/xcoff 0.051s ok io 0.071s ok io/fs 0.275s ok io/ioutil 0.034s ok log 0.040s ok log/slog 0.054s ok log/slog/internal/buffer 0.030s ok log/syslog 1.263s ok maps 0.033s ok math 0.052s ok math/big 3.074s ok math/bits 0.044s ok math/cmplx 0.042s ok math/rand 2.130s ok mime 0.060s ok mime/multipart 7.006s ok mime/quotedprintable 0.083s ok net 17.122s ok net/http 6.938s ok net/http/cgi 0.587s ok net/http/cookiejar 0.053s ok net/http/fcgi 0.156s ok net/http/httptest 0.194s ok net/http/httptrace 0.031s ok net/http/httputil 0.700s ok net/http/internal 0.042s ok net/http/internal/ascii 0.035s ok net/http/pprof 5.219s ok net/internal/socktest 0.031s ok net/mail 0.041s ok net/netip 0.402s ok net/rpc 0.080s ok net/rpc/jsonrpc 0.047s ok net/smtp 0.073s ok net/textproto 0.042s ok net/url 0.054s ok os 0.751s ok os/exec 0.266s ok os/exec/internal/fdtest 0.034s ok os/signal 2.370s ok os/user 0.047s ok path 0.042s ok path/filepath 0.090s ok plugin 0.030s ok reflect 0.592s ok regexp 3.218s ok regexp/syntax 4.528s ok runtime 36.696s ok runtime/cgo 0.032s ok runtime/coverage 0.033s ok runtime/debug 0.137s ok runtime/internal/atomic 0.089s ok runtime/internal/math 0.029s ok runtime/internal/sys 0.032s ok runtime/internal/syscall 0.033s ok runtime/metrics 0.031s ok runtime/pprof 7.914s ok runtime/race 10.416s ok runtime/trace 3.674s ok slices 0.035s ok sort 0.427s ok strconv 2.348s ok strings 1.616s ok sync 0.567s ok sync/atomic 2.212s ok syscall 4.494s ok testing 0.884s ok testing/fstest 0.034s ok testing/iotest 0.032s ok testing/quick 0.189s ok text/scanner 0.053s ok text/tabwriter 0.043s ok text/template 0.104s ok text/template/parse 0.052s ok time 2.363s ok unicode 0.043s ok unicode/utf16 0.032s ok unicode/utf8 0.053s ok cmd/addr2line 1.485s ok cmd/api 7.995s ok cmd/asm/internal/asm 3.356s ok cmd/asm/internal/lex 0.031s ok cmd/compile/internal/abt 0.061s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/amd64 49.478s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/base 0.030s ok cmd/compile/internal/compare 0.030s ok cmd/compile/internal/dwarfgen 0.462s ok cmd/compile/internal/importer 0.979s ok cmd/compile/internal/ir 0.033s ok cmd/compile/internal/logopt 0.264s ok cmd/compile/internal/loopvar 20.342s ok cmd/compile/internal/noder 0.041s ok cmd/compile/internal/reflectdata 0.031s [no tests to run] ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/ssa 18.019s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/syntax 0.154s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/test 10.300s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/typecheck 0.302s ok cmd/compile/internal/types 0.026s ok cmd/compile/internal/types2 9.008s ok cmd/covdata 0.030s ok cmd/cover 1.762s ok cmd/dist 0.032s ok cmd/doc 0.863s ok cmd/fix 0.976s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Testing packages. ok cmd/go 32.213s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Testing packages. ok cmd/go/internal/auth 0.032s ok cmd/go/internal/cache 0.134s ok cmd/go/internal/fsys 0.063s ok cmd/go/internal/generate 0.040s ok cmd/go/internal/get 0.031s ok cmd/go/internal/imports 0.042s ok cmd/go/internal/load 0.044s ok cmd/go/internal/lockedfile 0.187s ok cmd/go/internal/lockedfile/internal/filelock 0.090s ok cmd/go/internal/modconv 0.051s ok cmd/go/internal/modfetch 0.042s ok cmd/go/internal/modfetch/codehost 0.042s ok cmd/go/internal/modfetch/zip_sum_test 0.042s ok cmd/go/internal/modindex 0.590s ok cmd/go/internal/modload 0.044s ok cmd/go/internal/mvs 0.062s ok cmd/go/internal/par 0.135s ok cmd/go/internal/str 0.035s ok cmd/go/internal/test 0.057s ok cmd/go/internal/vcs 0.047s ok cmd/go/internal/vcweb 0.047s ok cmd/go/internal/vcweb/vcstest 4.571s ok cmd/go/internal/web 0.042s ok cmd/go/internal/work 0.147s ok cmd/gofmt 0.260s ok cmd/internal/archive 0.511s ok cmd/internal/buildid 0.633s ok cmd/internal/cov 0.352s ok cmd/internal/dwarf 0.033s ok cmd/internal/edit 0.033s ok cmd/internal/goobj 0.036s ok cmd/internal/moddeps 1.130s ok cmd/internal/notsha256 0.037s ok cmd/internal/obj 0.601s ok cmd/internal/obj/ppc64 0.127s ok cmd/internal/obj/riscv 0.053s ok cmd/internal/obj/s390x 0.035s ok cmd/internal/obj/x86 0.207s ok cmd/internal/objabi 0.031s ok cmd/internal/pkgpath 0.165s ok cmd/internal/pkgpattern 0.043s ok cmd/internal/quoted 0.031s ok cmd/internal/src 0.031s ok cmd/internal/test2json 0.747s ok cmd/link 3.731s ok cmd/link/internal/benchmark 0.036s ok cmd/link/internal/ld 3.073s ok cmd/link/internal/loader 0.076s ok cmd/nm 1.010s ok cmd/objdump 1.471s ok cmd/pack 0.608s ok cmd/pprof 1.532s ok cmd/trace 0.317s ok cmd/vet 11.814s ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: archive/tar cpu: Intel(R) Xeon(R) CPU @ 2.20GHz Benchmark/Writer/USTAR-4 2676 42484 ns/op 1368 B/op 25 allocs/op Benchmark/Writer/GNU-4 2094 51780 ns/op 1858 B/op 37 allocs/op Benchmark/Writer/PAX-4 1447 79101 ns/op 2560 B/op 59 allocs/op Benchmark/Reader/USTAR-4 3267 31842 ns/op 5109 B/op 15 allocs/op Benchmark/Reader/GNU-4 5160 22203 ns/op 5233 B/op 15 allocs/op Benchmark/Reader/PAX-4 1942 63713 ns/op 9011 B/op 33 allocs/op PASS ok archive/tar 0.774s goos: linux goarch: amd64 pkg: archive/zip cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCompressedZipGarbage-4 1 354922071 ns/op 14784 B/op 65 allocs/op BenchmarkZip64Test-4 1 166590290 ns/op BenchmarkZip64TestSizes/4096-4 1431 79129 ns/op BenchmarkZip64TestSizes/1048576-4 157 715536 ns/op BenchmarkZip64TestSizes/67108864-4 1 144781751 ns/op PASS ok archive/zip 1.440s goos: linux goarch: amd64 pkg: bufio cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReaderCopyOptimal-4 222242 489.8 ns/op BenchmarkReaderCopyUnoptimal-4 130665 803.4 ns/op BenchmarkReaderCopyNoWriteTo-4 6672 17890 ns/op BenchmarkReaderWriteToOptimal-4 7360 15541 ns/op BenchmarkReaderReadString-4 129002 872.5 ns/op 144 B/op 1 allocs/op BenchmarkWriterCopyOptimal-4 221292 530.6 ns/op BenchmarkWriterCopyUnoptimal-4 203059 560.6 ns/op BenchmarkWriterCopyNoReadFrom-4 5589 21124 ns/op BenchmarkReaderEmpty-4 31945 3750 ns/op 4224 B/op 3 allocs/op BenchmarkWriterEmpty-4 27954 4007 ns/op 4096 B/op 1 allocs/op BenchmarkWriterFlush-4 567354 184.5 ns/op 0 B/op 0 allocs/op PASS ok bufio 1.578s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: bytes cpu: AMD EPYC 7B12 BenchmarkReadString-4 6973 18407 ns/op 1780.22 MB/s BenchmarkWriteByte-4 480 218218 ns/op 18.77 MB/s BenchmarkWriteRune-4 259 427519 ns/op 28.74 MB/s BenchmarkBufferNotEmptyWriteRead-4 32 3481708 ns/op BenchmarkBufferFullSmallReads-4 100 1027149 ns/op BenchmarkBufferWriteBlock/N4096-4 8619 12803 ns/op 14336 B/op 6 allocs/op BenchmarkBufferWriteBlock/N65536-4 566 207346 ns/op 260096 B/op 14 allocs/op BenchmarkBufferWriteBlock/N1048576-4 10 10728337 ns/op 4192265 B/op 22 allocs/op BenchmarkBufferAppendNoCopy-4 10 10395470 ns/op 1613.90 MB/s 3355443 B/op 0 allocs/op BenchmarkIndexByte/10-4 5686089 20.38 ns/op 490.78 MB/s BenchmarkIndexByte/32-4 5671089 22.74 ns/op 1406.97 MB/s BenchmarkIndexByte/4K-4 985885 114.7 ns/op 35710.60 MB/s BenchmarkIndexBytePortable/10-4 1000000 113.7 ns/op 87.93 MB/s BenchmarkIndexBytePortable/32-4 391345 302.5 ns/op 105.79 MB/s BenchmarkIndexBytePortable/4K-4 3212 36757 ns/op 111.43 MB/s BenchmarkIndexRune/10-4 1000000 103.7 ns/op 96.43 MB/s BenchmarkIndexRune/32-4 1222719 96.76 ns/op 330.72 MB/s BenchmarkIndexRune/4K-4 421864 286.7 ns/op 14288.55 MB/s BenchmarkIndexRuneASCII/10-4 5043546 23.05 ns/op 433.78 MB/s BenchmarkIndexRuneASCII/32-4 5082348 23.28 ns/op 1374.40 MB/s BenchmarkIndexRuneASCII/4K-4 1000000 114.8 ns/op 35664.19 MB/s BenchmarkEqual/0-4 10198719 12.37 ns/op BenchmarkEqual/1-4 1609261 75.04 ns/op 13.33 MB/s BenchmarkEqual/6-4 1595570 75.61 ns/op 79.36 MB/s BenchmarkEqual/9-4 1569268 78.00 ns/op 115.39 MB/s BenchmarkEqual/15-4 1573146 77.47 ns/op 193.61 MB/s BenchmarkEqual/16-4 1563554 76.67 ns/op 208.68 MB/s BenchmarkEqual/20-4 1506820 83.06 ns/op 240.80 MB/s BenchmarkEqual/32-4 1529023 79.21 ns/op 403.99 MB/s BenchmarkEqual/4K-4 135616 887.9 ns/op 4613.21 MB/s BenchmarkIndex/10-4 3622014 33.39 ns/op 299.48 MB/s BenchmarkIndex/32-4 4115719 29.03 ns/op 1102.21 MB/s BenchmarkIndex/4K-4 27411 4373 ns/op 936.73 MB/s BenchmarkIndexEasy/10-4 3737778 33.02 ns/op 302.80 MB/s BenchmarkIndexEasy/32-4 4045030 29.47 ns/op 1085.68 MB/s BenchmarkIndexEasy/4K-4 564129 210.7 ns/op 19436.44 MB/s BenchmarkCount/10-4 1528212 73.51 ns/op 136.03 MB/s BenchmarkCount/32-4 1835582 65.23 ns/op 490.61 MB/s BenchmarkCount/4K-4 27138 4426 ns/op 925.39 MB/s BenchmarkCountEasy/10-4 1514431 72.60 ns/op 137.75 MB/s BenchmarkCountEasy/32-4 1720413 68.48 ns/op 467.26 MB/s BenchmarkCountEasy/4K-4 472410 242.4 ns/op 16896.31 MB/s BenchmarkCountSingle/10-4 3812146 27.98 ns/op 357.40 MB/s BenchmarkCountSingle/32-4 4034926 29.50 ns/op 1084.68 MB/s BenchmarkCountSingle/4K-4 980097 130.7 ns/op 31331.31 MB/s BenchmarkToUpper/#00-4 2817068 42.36 ns/op BenchmarkToUpper/ONLYUPPER-4 330542 363.3 ns/op BenchmarkToUpper/abc-4 502794 247.1 ns/op BenchmarkToUpper/AbC123-4 315567 389.3 ns/op BenchmarkToUpper/azAZ09_-4 294133 413.3 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 101636 1180 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 44959 2460 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 71563 1778 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 148220 845.0 ns/op BenchmarkToLower/#00-4 2697937 43.98 ns/op BenchmarkToLower/abc-4 485259 259.9 ns/op BenchmarkToLower/AbC123-4 319860 372.8 ns/op BenchmarkToLower/azAZ09_-4 298696 416.5 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 99811 1210 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 46636 2729 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 78870 1508 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 139040 854.3 ns/op BenchmarkFields/ASCII/16-4 176472 670.6 ns/op 23.86 MB/s 48 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 13082 9284 ns/op 27.57 MB/s 704 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 768 149179 ns/op 27.46 MB/s 9472 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 46 2680909 ns/op 24.45 MB/s 139264 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 3 40143464 ns/op 26.12 MB/s 2269184 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 90751 1287 ns/op 12.43 MB/s 80 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 7504 16725 ns/op 15.31 MB/s 576 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 445 259693 ns/op 15.77 MB/s 24832 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 27 4566945 ns/op 14.35 MB/s 512256 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 2 76641948 ns/op 13.68 MB/s 11211056 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 176689 642.8 ns/op 24.89 MB/s 48 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 13578 8354 ns/op 30.64 MB/s 704 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 762 148399 ns/op 27.60 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 44 2734894 ns/op 23.96 MB/s 504064 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 3 50346052 ns/op 20.83 MB/s 11211008 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 115737 960.2 ns/op 16.66 MB/s 80 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 10422 11342 ns/op 22.57 MB/s 576 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 622 193624 ns/op 21.15 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 32 3543790 ns/op 18.49 MB/s 512256 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 2 61583022 ns/op 17.03 MB/s 11211008 B/op 24 allocs/op BenchmarkTrimSpace/NoTrim-4 2367930 51.41 ns/op BenchmarkTrimSpace/ASCII-4 1245271 94.19 ns/op BenchmarkTrimSpace/SomeNonASCII-4 123334 964.1 ns/op BenchmarkTrimSpace/JustNonASCII-4 58657 2054 ns/op BenchmarkToValidUTF8/Valid-4 501169 214.5 ns/op BenchmarkToValidUTF8/InvalidASCII-4 364106 326.4 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 106154 1117 ns/op BenchmarkIndexHard1-4 1185 99658 ns/op BenchmarkIndexHard2-4 858 140377 ns/op BenchmarkIndexHard3-4 208 573853 ns/op BenchmarkIndexHard4-4 207 552771 ns/op BenchmarkLastIndexHard1-4 7 15884079 ns/op BenchmarkLastIndexHard2-4 6 19338715 ns/op BenchmarkLastIndexHard3-4 5 21484412 ns/op BenchmarkCountHard1-4 1194 99756 ns/op BenchmarkCountHard2-4 859 139672 ns/op BenchmarkCountHard3-4 206 574829 ns/op BenchmarkSplitEmptySeparator-4 2 90069790 ns/op BenchmarkSplitSingleByteSeparator-4 19 5870728 ns/op BenchmarkSplitMultiByteSeparator-4 13 7912217 ns/op BenchmarkSplitNSingleByteSeparator-4 241978 490.6 ns/op BenchmarkSplitNMultiByteSeparator-4 80709 1473 ns/op BenchmarkRepeat-4 208633 562.4 ns/op BenchmarkRepeatLarge/256/1-4 162152 713.0 ns/op 359.07 MB/s BenchmarkRepeatLarge/256/16-4 259909 442.5 ns/op 578.54 MB/s BenchmarkRepeatLarge/512/1-4 122419 922.4 ns/op 555.08 MB/s BenchmarkRepeatLarge/512/16-4 180025 628.3 ns/op 814.85 MB/s BenchmarkRepeatLarge/1024/1-4 85293 1325 ns/op 772.92 MB/s BenchmarkRepeatLarge/1024/16-4 112826 1049 ns/op 976.33 MB/s BenchmarkRepeatLarge/2048/1-4 56565 2037 ns/op 1005.33 MB/s BenchmarkRepeatLarge/2048/16-4 68034 1731 ns/op 1183.31 MB/s BenchmarkRepeatLarge/4096/1-4 34152 3399 ns/op 1205.01 MB/s BenchmarkRepeatLarge/4096/16-4 35900 3237 ns/op 1265.18 MB/s BenchmarkRepeatLarge/8192/1-4 17952 6548 ns/op 1251.15 MB/s BenchmarkRepeatLarge/8192/16-4 18933 6309 ns/op 1298.43 MB/s BenchmarkRepeatLarge/8192/4097-4 33298 3512 ns/op 1166.52 MB/s BenchmarkRepeatLarge/16384/1-4 9727 12147 ns/op 1348.83 MB/s BenchmarkRepeatLarge/16384/16-4 10255 11646 ns/op 1406.89 MB/s BenchmarkRepeatLarge/16384/4097-4 12936 9228 ns/op 1331.95 MB/s BenchmarkRepeatLarge/32768/1-4 4762 23092 ns/op 1419.01 MB/s BenchmarkRepeatLarge/32768/16-4 4790 22439 ns/op 1460.34 MB/s BenchmarkRepeatLarge/32768/4097-4 5037 21310 ns/op 1345.79 MB/s BenchmarkRepeatLarge/65536/1-4 2985 44429 ns/op 1475.08 MB/s BenchmarkRepeatLarge/65536/16-4 2352 44975 ns/op 1457.18 MB/s BenchmarkRepeatLarge/65536/4097-4 3007 41059 ns/op 1496.73 MB/s BenchmarkRepeatLarge/131072/1-4 522 228488 ns/op 573.65 MB/s BenchmarkRepeatLarge/131072/16-4 499 224579 ns/op 583.63 MB/s BenchmarkRepeatLarge/131072/4097-4 501 225729 ns/op 562.65 MB/s BenchmarkRepeatLarge/262144/1-4 264 450031 ns/op 582.50 MB/s BenchmarkRepeatLarge/262144/16-4 264 453090 ns/op 578.57 MB/s BenchmarkRepeatLarge/262144/4097-4 264 456615 ns/op 565.27 MB/s BenchmarkRepeatLarge/524288/1-4 136 871313 ns/op 601.72 MB/s BenchmarkRepeatLarge/524288/16-4 135 877438 ns/op 597.52 MB/s BenchmarkRepeatLarge/524288/4097-4 130 889751 ns/op 584.79 MB/s BenchmarkRepeatLarge/1048576/1-4 82 1711466 ns/op 612.68 MB/s BenchmarkRepeatLarge/1048576/16-4 86 1765424 ns/op 593.95 MB/s BenchmarkRepeatLarge/1048576/4097-4 62 1785231 ns/op 585.21 MB/s BenchmarkRepeatLarge/2097152/1-4 38 3198385 ns/op 655.69 MB/s BenchmarkRepeatLarge/2097152/16-4 37 3158068 ns/op 664.06 MB/s BenchmarkRepeatLarge/2097152/4097-4 43 3197193 ns/op 654.81 MB/s BenchmarkRepeatLarge/4194304/1-4 18 6281623 ns/op 667.71 MB/s BenchmarkRepeatLarge/4194304/16-4 18 6113572 ns/op 686.06 MB/s BenchmarkRepeatLarge/4194304/4097-4 18 6110832 ns/op 685.87 MB/s BenchmarkRepeatLarge/8388608/1-4 9 12740760 ns/op 658.41 MB/s BenchmarkRepeatLarge/8388608/16-4 8 12547871 ns/op 668.53 MB/s BenchmarkRepeatLarge/8388608/4097-4 9 12663868 ns/op 662.24 MB/s BenchmarkRepeatLarge/16777216/1-4 5 24794939 ns/op 676.64 MB/s BenchmarkRepeatLarge/16777216/16-4 5 24317389 ns/op 689.93 MB/s BenchmarkRepeatLarge/16777216/4097-4 5 25092817 ns/op 668.61 MB/s BenchmarkRepeatLarge/33554432/1-4 3 46108052 ns/op 727.73 MB/s BenchmarkRepeatLarge/33554432/16-4 3 45520658 ns/op 737.13 MB/s BenchmarkRepeatLarge/33554432/4097-4 3 48007502 ns/op 698.94 MB/s BenchmarkRepeatLarge/67108864/1-4 2 85287299 ns/op 786.86 MB/s BenchmarkRepeatLarge/67108864/16-4 2 84714969 ns/op 792.17 MB/s BenchmarkRepeatLarge/67108864/4097-4 2 85197639 ns/op 787.68 MB/s BenchmarkRepeatLarge/134217728/1-4 1 164524008 ns/op 815.79 MB/s BenchmarkRepeatLarge/134217728/16-4 1 167512498 ns/op 801.24 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 167174978 ns/op 802.86 MB/s BenchmarkRepeatLarge/268435456/1-4 1 321298445 ns/op 835.47 MB/s BenchmarkRepeatLarge/268435456/16-4 1 323218795 ns/op 830.51 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 324862495 ns/op 826.30 MB/s BenchmarkRepeatLarge/536870912/1-4 1 645191480 ns/op 832.11 MB/s BenchmarkRepeatLarge/536870912/16-4 1 637554290 ns/op 842.08 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 651805301 ns/op 823.67 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 1310412412 ns/op 819.39 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 1293838131 ns/op 829.89 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 1253156717 ns/op 856.83 MB/s BenchmarkBytesCompare/1-4 12605318 8.634 ns/op BenchmarkBytesCompare/2-4 13051035 9.516 ns/op BenchmarkBytesCompare/4-4 13475012 8.848 ns/op BenchmarkBytesCompare/8-4 13397191 8.525 ns/op BenchmarkBytesCompare/16-4 13454782 8.911 ns/op BenchmarkBytesCompare/32-4 12507907 9.511 ns/op BenchmarkBytesCompare/64-4 12146178 9.846 ns/op BenchmarkBytesCompare/128-4 11093944 10.47 ns/op BenchmarkBytesCompare/256-4 9527990 12.35 ns/op BenchmarkBytesCompare/512-4 6742530 17.23 ns/op BenchmarkBytesCompare/1024-4 4384005 26.54 ns/op BenchmarkBytesCompare/2048-4 2557204 45.41 ns/op BenchmarkIndexAnyASCII/1:1-4 2616094 41.83 ns/op BenchmarkIndexAnyASCII/1:2-4 2674396 45.57 ns/op BenchmarkIndexAnyASCII/1:4-4 2559836 45.74 ns/op BenchmarkIndexAnyASCII/1:8-4 2608072 45.92 ns/op BenchmarkIndexAnyASCII/1:16-4 2632136 45.14 ns/op BenchmarkIndexAnyASCII/1:32-4 2597698 44.29 ns/op BenchmarkIndexAnyASCII/1:64-4 2612772 45.10 ns/op BenchmarkIndexAnyASCII/16:1-4 2498432 47.87 ns/op BenchmarkIndexAnyASCII/16:2-4 623862 189.0 ns/op BenchmarkIndexAnyASCII/16:4-4 593476 195.2 ns/op BenchmarkIndexAnyASCII/16:8-4 580219 210.6 ns/op BenchmarkIndexAnyASCII/16:16-4 530107 216.6 ns/op BenchmarkIndexAnyASCII/16:32-4 445666 257.1 ns/op BenchmarkIndexAnyASCII/16:64-4 362456 324.5 ns/op BenchmarkIndexAnyASCII/256:1-4 2261776 52.69 ns/op BenchmarkIndexAnyASCII/256:2-4 47754 2399 ns/op BenchmarkIndexAnyASCII/256:4-4 48258 2370 ns/op BenchmarkIndexAnyASCII/256:8-4 49765 2223 ns/op BenchmarkIndexAnyASCII/256:16-4 46911 2366 ns/op BenchmarkIndexAnyASCII/256:32-4 48801 2416 ns/op BenchmarkIndexAnyASCII/256:64-4 45696 2645 ns/op BenchmarkIndexAnyUTF8/1:1-4 2527482 43.29 ns/op BenchmarkIndexAnyUTF8/1:2-4 2753020 46.46 ns/op BenchmarkIndexAnyUTF8/1:4-4 2572214 45.04 ns/op BenchmarkIndexAnyUTF8/1:8-4 2565388 45.94 ns/op BenchmarkIndexAnyUTF8/1:16-4 2591002 44.23 ns/op BenchmarkIndexAnyUTF8/1:32-4 2687070 45.77 ns/op BenchmarkIndexAnyUTF8/1:64-4 2619676 45.38 ns/op BenchmarkIndexAnyUTF8/16:1-4 175164 626.7 ns/op BenchmarkIndexAnyUTF8/16:2-4 342205 345.5 ns/op BenchmarkIndexAnyUTF8/16:4-4 308515 340.1 ns/op BenchmarkIndexAnyUTF8/16:8-4 345630 346.3 ns/op BenchmarkIndexAnyUTF8/16:16-4 347943 340.5 ns/op BenchmarkIndexAnyUTF8/16:32-4 332221 358.0 ns/op BenchmarkIndexAnyUTF8/16:64-4 345934 338.0 ns/op BenchmarkIndexAnyUTF8/256:1-4 12964 9373 ns/op BenchmarkIndexAnyUTF8/256:2-4 24652 4757 ns/op BenchmarkIndexAnyUTF8/256:4-4 22834 4616 ns/op BenchmarkIndexAnyUTF8/256:8-4 25503 4654 ns/op BenchmarkIndexAnyUTF8/256:16-4 25164 4593 ns/op BenchmarkIndexAnyUTF8/256:32-4 24495 4872 ns/op BenchmarkIndexAnyUTF8/256:64-4 25088 4745 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2569180 45.99 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2640760 44.84 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2641545 46.66 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2610997 45.37 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2584449 45.58 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2521448 45.85 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2556112 45.81 ns/op BenchmarkLastIndexAnyASCII/16:1-4 450946 259.6 ns/op BenchmarkLastIndexAnyASCII/16:2-4 448605 256.9 ns/op BenchmarkLastIndexAnyASCII/16:4-4 468858 260.4 ns/op BenchmarkLastIndexAnyASCII/16:8-4 405415 272.0 ns/op BenchmarkLastIndexAnyASCII/16:16-4 393109 280.4 ns/op BenchmarkLastIndexAnyASCII/16:32-4 355520 326.9 ns/op BenchmarkLastIndexAnyASCII/16:64-4 300776 387.2 ns/op BenchmarkLastIndexAnyASCII/256:1-4 34395 3394 ns/op BenchmarkLastIndexAnyASCII/256:2-4 30601 3872 ns/op BenchmarkLastIndexAnyASCII/256:4-4 31083 3365 ns/op BenchmarkLastIndexAnyASCII/256:8-4 33651 3531 ns/op BenchmarkLastIndexAnyASCII/256:16-4 35217 3398 ns/op BenchmarkLastIndexAnyASCII/256:32-4 33398 3343 ns/op BenchmarkLastIndexAnyASCII/256:64-4 34422 3497 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2663218 45.13 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2647179 43.96 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2619036 45.14 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2650724 41.84 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2627322 44.02 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2674831 44.17 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2628415 43.82 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 253849 468.3 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 325449 335.2 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 349399 331.1 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 323096 369.5 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 330982 332.6 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 321684 350.5 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 346761 332.7 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 19752 6525 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 24976 4677 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 24566 4710 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 22807 4746 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 25597 4612 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 24528 4884 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 25315 4619 ns/op BenchmarkTrimASCII/1:1-4 3040632 38.70 ns/op BenchmarkTrimASCII/1:2-4 2557665 46.27 ns/op BenchmarkTrimASCII/1:4-4 2557222 47.12 ns/op BenchmarkTrimASCII/1:8-4 2202688 54.36 ns/op BenchmarkTrimASCII/1:16-4 1869432 65.82 ns/op BenchmarkTrimASCII/16:1-4 617295 191.6 ns/op BenchmarkTrimASCII/16:2-4 427215 256.8 ns/op BenchmarkTrimASCII/16:4-4 459682 257.0 ns/op BenchmarkTrimASCII/16:8-4 406678 269.9 ns/op BenchmarkTrimASCII/16:16-4 419275 277.7 ns/op BenchmarkTrimASCII/256:1-4 47320 2351 ns/op BenchmarkTrimASCII/256:2-4 35246 3365 ns/op BenchmarkTrimASCII/256:4-4 34378 3272 ns/op BenchmarkTrimASCII/256:8-4 35535 3376 ns/op BenchmarkTrimASCII/256:16-4 35307 3378 ns/op BenchmarkTrimASCII/4096:1-4 2743 37091 ns/op BenchmarkTrimASCII/4096:2-4 2217 52863 ns/op BenchmarkTrimASCII/4096:4-4 2228 52858 ns/op BenchmarkTrimASCII/4096:8-4 2041 58342 ns/op BenchmarkTrimASCII/4096:16-4 1990 58308 ns/op BenchmarkTrimByte-4 1634040 72.84 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 19029 6269 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 18936 6305 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 742 156075 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 1482 78630 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 2918 39127 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 5606 19678 ns/op BenchmarkCompareBytesEqual-4 13555904 8.564 ns/op BenchmarkCompareBytesToNil-4 15794001 7.215 ns/op BenchmarkCompareBytesEmpty-4 13920045 8.303 ns/op BenchmarkCompareBytesIdentical-4 15341070 6.877 ns/op BenchmarkCompareBytesSameLength-4 13025552 8.560 ns/op BenchmarkCompareBytesDifferentLength-4 12542040 8.881 ns/op BenchmarkCompareBytesBigUnaligned/offset=1-4 3969 30360 ns/op 34538.94 MB/s BenchmarkCompareBytesBigUnaligned/offset=2-4 4022 30399 ns/op 34494.32 MB/s BenchmarkCompareBytesBigUnaligned/offset=3-4 4021 30715 ns/op 34139.26 MB/s BenchmarkCompareBytesBigUnaligned/offset=4-4 3346 30617 ns/op 34248.30 MB/s BenchmarkCompareBytesBigUnaligned/offset=5-4 4060 30092 ns/op 34846.37 MB/s BenchmarkCompareBytesBigUnaligned/offset=6-4 4390 30913 ns/op 33920.10 MB/s BenchmarkCompareBytesBigUnaligned/offset=7-4 3963 30036 ns/op 34910.76 MB/s BenchmarkCompareBytesBig-4 3476 30644 ns/op 34218.52 MB/s BenchmarkCompareBytesBigIdentical-4 15890964 7.208 ns/op 145480978.18 MB/s PASS ok bytes 55.376s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: compress/bzip2 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecodeDigits-4 2 82102998 ns/op 1.22 MB/s 3612272 B/op 51 allocs/op BenchmarkDecodeNewton-4 1 331149203 ns/op 1.71 MB/s 3629856 B/op 50 allocs/op BenchmarkDecodeRand-4 5 24684548 ns/op 0.66 MB/s 3646662 B/op 51 allocs/op PASS ok compress/bzip2 1.546s goos: linux goarch: amd64 pkg: compress/flate cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecode/Digits/Huffman/1e4-4 57 1876038 ns/op 5.33 MB/s 41978 B/op 5 allocs/op BenchmarkDecode/Digits/Huffman/1e5-4 6 17533703 ns/op 5.70 MB/s 43353 B/op 6 allocs/op BenchmarkDecode/Digits/Huffman/1e6-4 1 176454052 ns/op 5.67 MB/s 49264 B/op 9 allocs/op BenchmarkDecode/Digits/Speed/1e4-4 63 1801002 ns/op 5.55 MB/s 43354 B/op 8 allocs/op BenchmarkDecode/Digits/Speed/1e5-4 6 17836373 ns/op 5.61 MB/s 42272 B/op 11 allocs/op BenchmarkDecode/Digits/Speed/1e6-4 1 186839935 ns/op 5.35 MB/s 53024 B/op 77 allocs/op BenchmarkDecode/Digits/Default/1e4-4 64 1766746 ns/op 5.66 MB/s 42886 B/op 7 allocs/op BenchmarkDecode/Digits/Default/1e5-4 6 17301846 ns/op 5.78 MB/s 45002 B/op 14 allocs/op BenchmarkDecode/Digits/Default/1e6-4 1 172611170 ns/op 5.79 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Digits/Compression/1e4-4 60 1796705 ns/op 5.57 MB/s 42082 B/op 7 allocs/op BenchmarkDecode/Digits/Compression/1e5-4 6 17050782 ns/op 5.86 MB/s 43633 B/op 14 allocs/op BenchmarkDecode/Digits/Compression/1e6-4 1 172427268 ns/op 5.80 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Newton/Huffman/1e4-4 56 1924547 ns/op 5.20 MB/s 43735 B/op 14 allocs/op BenchmarkDecode/Newton/Huffman/1e5-4 6 19459170 ns/op 5.14 MB/s 47833 B/op 24 allocs/op BenchmarkDecode/Newton/Huffman/1e6-4 1 193657824 ns/op 5.16 MB/s 88512 B/op 165 allocs/op BenchmarkDecode/Newton/Speed/1e4-4 74 1574895 ns/op 6.35 MB/s 43378 B/op 18 allocs/op BenchmarkDecode/Newton/Speed/1e5-4 8 12860197 ns/op 7.78 MB/s 46858 B/op 32 allocs/op BenchmarkDecode/Newton/Speed/1e6-4 1 130575267 ns/op 7.66 MB/s 89696 B/op 232 allocs/op BenchmarkDecode/Newton/Default/1e4-4 80 1382748 ns/op 7.23 MB/s 43825 B/op 15 allocs/op BenchmarkDecode/Newton/Default/1e5-4 10 10462210 ns/op 9.56 MB/s 45396 B/op 32 allocs/op BenchmarkDecode/Newton/Default/1e6-4 1 107383665 ns/op 9.31 MB/s 70320 B/op 162 allocs/op BenchmarkDecode/Newton/Compression/1e4-4 82 1408392 ns/op 7.10 MB/s 43157 B/op 15 allocs/op BenchmarkDecode/Newton/Compression/1e5-4 10 10307503 ns/op 9.70 MB/s 46218 B/op 33 allocs/op BenchmarkDecode/Newton/Compression/1e6-4 1 105277241 ns/op 9.50 MB/s 72120 B/op 154 allocs/op BenchmarkEncode/Digits/Huffman/1e4-4 93 1222095 ns/op 8.18 MB/s BenchmarkEncode/Digits/Huffman/1e5-4 9 12102763 ns/op 8.26 MB/s BenchmarkEncode/Digits/Huffman/1e6-4 1 119582409 ns/op 8.36 MB/s BenchmarkEncode/Digits/Speed/1e4-4 44 2392218 ns/op 4.18 MB/s BenchmarkEncode/Digits/Speed/1e5-4 5 21208578 ns/op 4.72 MB/s BenchmarkEncode/Digits/Speed/1e6-4 1 219122467 ns/op 4.56 MB/s BenchmarkEncode/Digits/Default/1e4-4 16 7089672 ns/op 1.41 MB/s BenchmarkEncode/Digits/Default/1e5-4 2 84451489 ns/op 1.18 MB/s BenchmarkEncode/Digits/Default/1e6-4 1 887525941 ns/op 1.13 MB/s BenchmarkEncode/Digits/Compression/1e4-4 14 7384524 ns/op 1.35 MB/s BenchmarkEncode/Digits/Compression/1e5-4 2 85952480 ns/op 1.16 MB/s BenchmarkEncode/Digits/Compression/1e6-4 1 884192082 ns/op 1.13 MB/s BenchmarkEncode/Newton/Huffman/1e4-4 69 1491512 ns/op 6.70 MB/s BenchmarkEncode/Newton/Huffman/1e5-4 8 12908618 ns/op 7.75 MB/s BenchmarkEncode/Newton/Huffman/1e6-4 1 127101138 ns/op 7.87 MB/s BenchmarkEncode/Newton/Speed/1e4-4 46 2292242 ns/op 4.36 MB/s BenchmarkEncode/Newton/Speed/1e5-4 6 17016729 ns/op 5.88 MB/s BenchmarkEncode/Newton/Speed/1e6-4 1 178816469 ns/op 5.59 MB/s BenchmarkEncode/Newton/Default/1e4-4 16 7129503 ns/op 1.40 MB/s BenchmarkEncode/Newton/Default/1e5-4 2 75495621 ns/op 1.32 MB/s BenchmarkEncode/Newton/Default/1e6-4 1 796946089 ns/op 1.25 MB/s BenchmarkEncode/Newton/Compression/1e4-4 16 7049651 ns/op 1.42 MB/s BenchmarkEncode/Newton/Compression/1e5-4 2 95072358 ns/op 1.05 MB/s BenchmarkEncode/Newton/Compression/1e6-4 1 1021804160 ns/op 0.98 MB/s PASS ok compress/flate 15.725s goos: linux goarch: amd64 pkg: compress/lzw cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecoder/1e4-4 49 2293247 ns/op 4.36 MB/s BenchmarkDecoder/1e-Reuse4-4 50 2389819 ns/op 4.18 MB/s BenchmarkDecoder/1e5-4 5 23699837 ns/op 4.22 MB/s BenchmarkDecoder/1e-Reuse5-4 5 22631809 ns/op 4.42 MB/s BenchmarkDecoder/1e6-4 1 228147877 ns/op 4.38 MB/s BenchmarkDecoder/1e-Reuse6-4 1 232654423 ns/op 4.30 MB/s BenchmarkEncoder/1e4-4 51 2174349 ns/op 4.60 MB/s BenchmarkEncoder/1e-Reuse4-4 55 1847805 ns/op 5.41 MB/s BenchmarkEncoder/1e5-4 6 19887582 ns/op 5.03 MB/s BenchmarkEncoder/1e-Reuse5-4 6 19335857 ns/op 5.17 MB/s BenchmarkEncoder/1e6-4 1 193437893 ns/op 5.17 MB/s BenchmarkEncoder/1e-Reuse6-4 1 192493590 ns/op 5.19 MB/s PASS ok compress/lzw 2.715s goos: linux goarch: amd64 pkg: container/heap cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDup-4 30 3904846 ns/op PASS ok container/heap 0.243s goos: linux goarch: amd64 pkg: context cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCommonParentCancel-4 18100 6207 ns/op BenchmarkWithTimeout/concurrency=40-4 4290 24305 ns/op BenchmarkWithTimeout/concurrency=4000-4 3950 26792 ns/op BenchmarkWithTimeout/concurrency=400000-4 5155 21217 ns/op BenchmarkCancelTree/depth=1/Root=Background-4 321892 312.5 ns/op BenchmarkCancelTree/depth=1/Root=OpenCanceler-4 12586 10383 ns/op BenchmarkCancelTree/depth=1/Root=ClosedCanceler-4 14924 7579 ns/op BenchmarkCancelTree/depth=10/Root=Background-4 2742 46322 ns/op BenchmarkCancelTree/depth=10/Root=OpenCanceler-4 1755 70447 ns/op BenchmarkCancelTree/depth=10/Root=ClosedCanceler-4 2224 49969 ns/op BenchmarkCancelTree/depth=100/Root=Background-4 225 527753 ns/op BenchmarkCancelTree/depth=100/Root=OpenCanceler-4 162 735397 ns/op BenchmarkCancelTree/depth=100/Root=ClosedCanceler-4 226 510565 ns/op BenchmarkCancelTree/depth=1000/Root=Background-4 20 5530567 ns/op BenchmarkCancelTree/depth=1000/Root=OpenCanceler-4 10 13568672 ns/op BenchmarkCancelTree/depth=1000/Root=ClosedCanceler-4 26 4630604 ns/op BenchmarkCheckCanceled/Err-4 262647 448.7 ns/op BenchmarkCheckCanceled/Done-4 409981 285.0 ns/op BenchmarkContextCancelDone-4 424357 246.7 ns/op BenchmarkDeepValueNewGoRoutine/depth=10-4 25438 5672 ns/op BenchmarkDeepValueNewGoRoutine/depth=20-4 19399 6089 ns/op BenchmarkDeepValueNewGoRoutine/depth=30-4 18180 6485 ns/op BenchmarkDeepValueNewGoRoutine/depth=50-4 14490 8540 ns/op BenchmarkDeepValueNewGoRoutine/depth=100-4 9114 13139 ns/op BenchmarkDeepValueSameGoRoutine/depth=10-4 531936 225.8 ns/op BenchmarkDeepValueSameGoRoutine/depth=20-4 285926 397.0 ns/op BenchmarkDeepValueSameGoRoutine/depth=30-4 216243 578.0 ns/op BenchmarkDeepValueSameGoRoutine/depth=50-4 132651 908.0 ns/op BenchmarkDeepValueSameGoRoutine/depth=100-4 68568 1754 ns/op PASS ok context 11.376s goos: linux goarch: amd64 pkg: crypto/aes cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncrypt-4 1628678 69.30 ns/op 230.87 MB/s BenchmarkDecrypt-4 1691899 68.87 ns/op 232.31 MB/s BenchmarkExpand-4 985196 119.6 ns/op PASS ok crypto/aes 0.533s goos: linux goarch: amd64 pkg: crypto/cipher cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAESGCM/Open-128-64-4 169726 658.9 ns/op 97.14 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-64-4 360572 296.0 ns/op 216.23 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-64-4 167757 680.5 ns/op 94.05 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-64-4 357620 308.5 ns/op 207.48 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-1350-4 116220 1035 ns/op 1303.95 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-1350-4 178899 668.2 ns/op 2020.44 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-1350-4 104005 1168 ns/op 1156.22 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-1350-4 145462 831.3 ns/op 1623.89 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-8192-4 41061 2921 ns/op 2804.45 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-8192-4 52101 2297 ns/op 3566.00 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-8192-4 34440 3504 ns/op 2337.71 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-8192-4 38614 3091 ns/op 2649.86 MB/s 0 B/op 0 allocs/op BenchmarkAESCFBEncrypt1K-4 6722 17115 ns/op 59.54 MB/s BenchmarkAESCFBDecrypt1K-4 7064 17195 ns/op 59.26 MB/s BenchmarkAESCFBDecrypt8K-4 896 132076 ns/op 61.99 MB/s BenchmarkAESOFB1K-4 10000 11414 ns/op 89.28 MB/s BenchmarkAESCTR1K-4 13857 8468 ns/op 120.34 MB/s BenchmarkAESCTR8K-4 1784 68858 ns/op 118.90 MB/s BenchmarkAESCBCEncrypt1K-4 13989 8623 ns/op 118.75 MB/s BenchmarkAESCBCDecrypt1K-4 17577 6682 ns/op 153.24 MB/s PASS ok crypto/cipher 2.895s goos: linux goarch: amd64 pkg: crypto/des cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncrypt-4 74769 1610 ns/op 4.97 MB/s BenchmarkDecrypt-4 77727 1479 ns/op 5.41 MB/s BenchmarkTDESEncrypt-4 30775 3972 ns/op 2.01 MB/s BenchmarkTDESDecrypt-4 30432 3898 ns/op 2.05 MB/s PASS ok crypto/des 0.635s goos: linux goarch: amd64 pkg: crypto/ecdh cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkECDH/P256-4 846 125387 ns/op 759 B/op 12 allocs/op BenchmarkECDH/P384-4 15 7764297 ns/op 1086 B/op 21 allocs/op BenchmarkECDH/P521-4 5 20911319 ns/op 1537 B/op 21 allocs/op BenchmarkECDH/X25519-4 88 1288662 ns/op 376 B/op 9 allocs/op PASS ok crypto/ecdh 0.707s goos: linux goarch: amd64 pkg: crypto/ecdsa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSign/P256-4 1624 70126 ns/op 2544 B/op 33 allocs/op BenchmarkSign/P384-4 46 2510991 ns/op 2714 B/op 34 allocs/op BenchmarkSign/P521-4 20 6091596 ns/op 3094 B/op 35 allocs/op BenchmarkVerify/P256-4 919 128385 ns/op 480 B/op 10 allocs/op BenchmarkVerify/P384-4 15 7799570 ns/op 640 B/op 14 allocs/op BenchmarkVerify/P521-4 6 20023227 ns/op 960 B/op 14 allocs/op BenchmarkGenerateKey/P256-4 3906 30356 ns/op 928 B/op 14 allocs/op BenchmarkGenerateKey/P384-4 63 1857458 ns/op 1126 B/op 17 allocs/op BenchmarkGenerateKey/P521-4 20 5029903 ns/op 1448 B/op 17 allocs/op PASS ok crypto/ecdsa 1.372s goos: linux goarch: amd64 pkg: crypto/ed25519 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkKeyGeneration-4 307 374082 ns/op BenchmarkNewKeyFromSeed-4 322 376982 ns/op BenchmarkSigning-4 302 391421 ns/op BenchmarkVerification-4 210 564552 ns/op PASS ok crypto/ed25519 0.670s goos: linux goarch: amd64 pkg: crypto/elliptic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScalarBaseMult/P256-4 4789 24056 ns/op 368 B/op 6 allocs/op BenchmarkScalarBaseMult/P224-4 153 781938 ns/op 376 B/op 9 allocs/op BenchmarkScalarBaseMult/P384-4 58 2068183 ns/op 504 B/op 9 allocs/op BenchmarkScalarBaseMult/P521-4 22 5271170 ns/op 696 B/op 9 allocs/op BenchmarkScalarMult/P256-4 1366 87829 ns/op 448 B/op 7 allocs/op BenchmarkScalarMult/P224-4 60 1962456 ns/op 440 B/op 10 allocs/op BenchmarkScalarMult/P384-4 21 5399143 ns/op 616 B/op 10 allocs/op BenchmarkScalarMult/P521-4 7 14543630 ns/op 840 B/op 10 allocs/op BenchmarkMarshalUnmarshal/P256/Uncompressed-4 12517 9063 ns/op 544 B/op 8 allocs/op BenchmarkMarshalUnmarshal/P256/Compressed-4 5832 20258 ns/op 592 B/op 9 allocs/op BenchmarkMarshalUnmarshal/P224/Uncompressed-4 3529 30959 ns/op 560 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P224/Compressed-4 88 1347884 ns/op 592 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P384/Uncompressed-4 2424 48205 ns/op 784 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P384/Compressed-4 295 390435 ns/op 848 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P521/Uncompressed-4 1496 77631 ns/op 1104 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P521/Compressed-4 92 1240731 ns/op 1184 B/op 15 allocs/op PASS ok crypto/elliptic 2.448s goos: linux goarch: amd64 pkg: crypto/hmac cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHMACSHA256_1K-4 14606 8268 ns/op 123.85 MB/s BenchmarkHMACSHA256_32-4 23073 5029 ns/op 6.36 MB/s BenchmarkNewWriteSum-4 10000 10349 ns/op 3.09 MB/s PASS ok crypto/hmac 0.525s goos: linux goarch: amd64 pkg: crypto/internal/bigmod cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkModAdd-4 58273 2006 ns/op BenchmarkModSub-4 70995 1635 ns/op BenchmarkMontgomeryRepr-4 28560 4184 ns/op BenchmarkMontgomeryMul-4 29997 4109 ns/op BenchmarkModMul-4 14192 8374 ns/op BenchmarkExpBig-4 15 7242556 ns/op BenchmarkExp-4 7 15049572 ns/op PASS ok crypto/internal/bigmod 1.139s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncodingDecoding-4 3106 35747 ns/op BenchmarkScalarBaseMult-4 338 345421 ns/op BenchmarkScalarMult-4 148 784824 ns/op BenchmarkVarTimeDoubleScalarBaseMult-4 225 527071 ns/op PASS ok crypto/internal/edwards25519 0.661s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519/field cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAdd-4 571864 201.5 ns/op BenchmarkMultiply-4 4360423 28.01 ns/op BenchmarkSquare-4 5282974 22.86 ns/op BenchmarkInvert-4 24470 4839 ns/op BenchmarkMult32-4 1508080 77.62 ns/op PASS ok crypto/internal/edwards25519/field 0.891s goos: linux goarch: amd64 pkg: crypto/internal/nistec cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScalarMult/P224-4 55 1845403 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P256-4 1597 75074 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P384-4 21 5152027 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P521-4 8 14233848 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P224-4 169 664638 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P256-4 7560 14882 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P384-4 67 1711995 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P521-4 25 4378067 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec 1.193s goos: linux goarch: amd64 pkg: crypto/internal/nistec/fiat cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMul/P224-4 633259 175.8 ns/op 0 B/op 0 allocs/op BenchmarkMul/P384-4 308780 370.7 ns/op 0 B/op 0 allocs/op BenchmarkMul/P521-4 116350 1041 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P224-4 681750 182.2 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P384-4 324032 371.7 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P521-4 114955 1035 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec/fiat 0.799s goos: linux goarch: amd64 pkg: crypto/md5 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes-4 117002 978.4 ns/op 8.18 MB/s BenchmarkHash64-4 121606 916.6 ns/op 69.82 MB/s BenchmarkHash128-4 116451 1019 ns/op 125.66 MB/s BenchmarkHash256-4 95731 1266 ns/op 202.26 MB/s BenchmarkHash512-4 68817 1758 ns/op 291.25 MB/s BenchmarkHash1K-4 43250 2775 ns/op 369.07 MB/s BenchmarkHash8K-4 7380 16557 ns/op 494.78 MB/s BenchmarkHash1M-4 56 1986589 ns/op 527.83 MB/s BenchmarkHash8M-4 7 16001769 ns/op 524.23 MB/s BenchmarkHash8BytesUnaligned-4 118027 1010 ns/op 7.92 MB/s BenchmarkHash1KUnaligned-4 44050 2776 ns/op 368.91 MB/s BenchmarkHash8KUnaligned-4 7335 16180 ns/op 506.30 MB/s PASS ok crypto/md5 1.627s goos: linux goarch: amd64 pkg: crypto/rand cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPrime-4 2 118125618 ns/op PASS ok crypto/rand 0.360s goos: linux goarch: amd64 pkg: crypto/rc4 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRC4_128-4 12588 9273 ns/op 13.80 MB/s BenchmarkRC4_1K-4 1542 74925 ns/op 13.67 MB/s BenchmarkRC4_8K-4 196 599736 ns/op 13.50 MB/s PASS ok crypto/rc4 0.553s goos: linux goarch: amd64 pkg: crypto/rsa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecryptPKCS1v15/2048-4 13 8770978 ns/op BenchmarkDecryptPKCS1v15/3072-4 6 20124932 ns/op BenchmarkDecryptPKCS1v15/4096-4 3 38372470 ns/op BenchmarkEncryptPKCS1v15/2048-4 42 2539186 ns/op BenchmarkDecryptOAEP/2048-4 13 8658912 ns/op BenchmarkEncryptOAEP/2048-4 43 2569652 ns/op BenchmarkSignPKCS1v15/2048-4 12 8952022 ns/op BenchmarkVerifyPKCS1v15/2048-4 44 2721078 ns/op BenchmarkSignPSS/2048-4 12 9090712 ns/op BenchmarkVerifyPSS/2048-4 42 2765657 ns/op PASS ok crypto/rsa 1.486s goos: linux goarch: amd64 pkg: crypto/sha1 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 107065 1088 ns/op 7.36 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum-4 126357 921.3 ns/op 8.68 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/New-4 75538 1567 ns/op 204.19 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/Sum-4 87504 1385 ns/op 231.03 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 47151 2486 ns/op 411.82 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum-4 52404 2295 ns/op 446.27 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 9873 11956 ns/op 685.19 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum-4 10000 11525 ns/op 710.81 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha1 1.087s goos: linux goarch: amd64 pkg: crypto/sha256 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 81504 1441 ns/op 5.55 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum224-4 89918 1269 ns/op 6.31 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 92492 1314 ns/op 6.09 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 25154 4743 ns/op 215.88 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum224-4 26203 4511 ns/op 226.99 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 26248 4519 ns/op 226.61 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 4234 28219 ns/op 290.30 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum224-4 4258 28339 ns/op 289.07 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 4246 28280 ns/op 289.67 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha256 1.315s goos: linux goarch: amd64 pkg: crypto/sha512 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 56518 2082 ns/op 3.84 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum384-4 74176 1620 ns/op 4.94 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum512-4 66565 1835 ns/op 4.36 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 28574 4203 ns/op 243.66 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum384-4 32082 3740 ns/op 273.81 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum512-4 28864 4101 ns/op 249.68 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 5326 20357 ns/op 402.42 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum384-4 5958 19982 ns/op 409.97 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum512-4 6003 20420 ns/op 401.18 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha512 1.311s goos: linux goarch: amd64 pkg: crypto/subtle cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkConstantTimeByteEq-4 14814690 7.593 ns/op BenchmarkConstantTimeEq-4 16657867 7.169 ns/op BenchmarkConstantTimeLessOrEq-4 15958916 7.689 ns/op BenchmarkXORBytes/8Bytes-4 4387316 27.25 ns/op 293.61 MB/s BenchmarkXORBytes/128Bytes-4 4060740 29.96 ns/op 4272.92 MB/s BenchmarkXORBytes/2048Bytes-4 875642 130.9 ns/op 15640.12 MB/s BenchmarkXORBytes/32768Bytes-4 61038 1904 ns/op 17206.29 MB/s PASS ok crypto/subtle 0.990s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: crypto/tls cpu: AMD EPYC 7B12 BenchmarkCertCache/0-4 176 721681 ns/op BenchmarkCertCache/1-4 169 724578 ns/op BenchmarkCertCache/2-4 162 663191 ns/op BenchmarkCertCache/3-4 136 812871 ns/op BenchmarkHandshakeServer/RSA-4 43 2728459 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv13-4 36 3359836 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv12-4 40 3039005 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv13-4 128 927320 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv12-4 190 655249 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv13-4 50 2073368 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv12-4 76 1694483 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv13-4 4 28117824 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12-4 4 27376176 ns/op BenchmarkThroughput/MaxPacket/1MB/TLSv12-4 6 17471168 ns/op 60.02 MB/s BenchmarkThroughput/MaxPacket/1MB/TLSv13-4 5 24424625 ns/op 42.93 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv12-4 4 28375967 ns/op 73.91 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv13-4 3 36973015 ns/op 56.72 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv12-4 3 46416758 ns/op 90.36 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv13-4 2 67443888 ns/op 62.19 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv12-4 2 82481937 ns/op 101.70 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv13-4 1 110455416 ns/op 75.95 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv12-4 1 159436214 ns/op 105.23 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv13-4 1 196941453 ns/op 85.19 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv12-4 1 332583218 ns/op 100.89 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv13-4 1 446343984 ns/op 75.18 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv12-4 1 632086618 ns/op 106.17 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv13-4 1 967260746 ns/op 69.38 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv12-4 6 18528589 ns/op 56.59 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv13-4 5 24484919 ns/op 42.83 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv12-4 4 28404536 ns/op 73.83 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv13-4 3 37328055 ns/op 56.18 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv12-4 3 48807538 ns/op 85.94 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv13-4 2 56382852 ns/op 74.39 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv12-4 2 80534792 ns/op 104.16 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv13-4 1 124118376 ns/op 67.59 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv12-4 1 161697134 ns/op 103.76 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv13-4 1 266523571 ns/op 62.95 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv12-4 1 315264319 ns/op 106.43 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv13-4 1 463279654 ns/op 72.43 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv12-4 1 703386344 ns/op 95.41 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv13-4 1 903901748 ns/op 74.24 MB/s BenchmarkLatency/MaxPacket/200kbps/TLSv12-4 1 702140284 ns/op BenchmarkLatency/MaxPacket/200kbps/TLSv13-4 1 705002205 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv12-4 1 287061440 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv13-4 1 286993810 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv12-4 1 149313334 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv13-4 1 148660145 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv12-4 2 79496982 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv13-4 2 79418842 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv12-4 3 38787529 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv13-4 3 37609235 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv12-4 1 141605424 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv13-4 1 144358024 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv12-4 2 62740693 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv13-4 2 62995798 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv12-4 3 36388449 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv13-4 3 35866182 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv12-4 5 23736921 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv13-4 5 23005265 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv12-4 7 16484804 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv13-4 7 15073914 ns/op PASS ok crypto/tls 17.004s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: crypto/x509 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCreateCertificate/RSA_2048-4 9 12521431 ns/op BenchmarkCreateCertificate/ECDSA_P256-4 285 409959 ns/op BenchmarkParseCertificate/ecdsa_leaf-4 1006 113699 ns/op 13187 B/op 238 allocs/op BenchmarkParseCertificate/rsa_leaf-4 910 118878 ns/op 14611 B/op 262 allocs/op PASS ok crypto/x509 0.968s goos: linux goarch: amd64 pkg: database/sql cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkConcurrentDBExec-4 31 3337631 ns/op 280722 B/op 1635 allocs/op BenchmarkConcurrentStmtQuery-4 32 3485951 ns/op 259698 B/op 2011 allocs/op BenchmarkConcurrentStmtExec-4 63 2472126 ns/op 216894 B/op 646 allocs/op BenchmarkConcurrentTxQuery-4 36 3315296 ns/op 267109 B/op 2152 allocs/op BenchmarkConcurrentTxExec-4 55 2146142 ns/op 87765 B/op 1554 allocs/op BenchmarkConcurrentTxStmtQuery-4 36 3353427 ns/op 104161 B/op 2067 allocs/op BenchmarkConcurrentTxStmtExec-4 96 1108232 ns/op 41696 B/op 381 allocs/op BenchmarkConcurrentRandom-4 33 3521916 ns/op 226369 B/op 1822 allocs/op BenchmarkManyConcurrentQueries-4 2010 51465 ns/op 3984 B/op 20 allocs/op BenchmarkGrabConn-4 210500 543.6 ns/op 0 B/op 0 allocs/op PASS ok database/sql 1.630s goos: linux goarch: amd64 pkg: debug/gosym cpu: Intel(R) Xeon(R) CPU @ 2.20GHz Benchmark115/NewLineTable-4 219024 489.9 ns/op 384 B/op 3 allocs/op Benchmark115/NewTable-4 69 1646984 ns/op 188233 B/op 13 allocs/op Benchmark115/LineToPC-4 75 1640599 ns/op 0 B/op 0 allocs/op Benchmark115/PCToLine-4 16672 7058 ns/op 0 B/op 0 allocs/op PASS ok debug/gosym 0.769s goos: linux goarch: amd64 pkg: encoding/asn1 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMarshal-4 675 165462 ns/op 9528 B/op 363 allocs/op BenchmarkUnmarshal-4 3027 40109 ns/op 784 B/op 43 allocs/op PASS ok encoding/asn1 0.404s goos: linux goarch: amd64 pkg: encoding/base32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode-4 256 465356 ns/op 17.60 MB/s BenchmarkEncodeToString-4 207 524133 ns/op 15.63 MB/s BenchmarkDecode-4 135 863090 ns/op 15.19 MB/s BenchmarkDecodeString-4 139 837403 ns/op 15.66 MB/s PASS ok encoding/base32 0.771s goos: linux goarch: amd64 pkg: encoding/base64 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncodeToString-4 289 357579 ns/op 22.91 MB/s BenchmarkDecodeString/2-4 255067 426.7 ns/op 9.37 MB/s BenchmarkDecodeString/4-4 228470 534.2 ns/op 14.98 MB/s BenchmarkDecodeString/8-4 181191 653.9 ns/op 18.35 MB/s BenchmarkDecodeString/64-4 32967 3524 ns/op 24.97 MB/s BenchmarkDecodeString/8192-4 289 383053 ns/op 28.52 MB/s BenchmarkNewEncoding-4 82642 1419 ns/op 180.45 MB/s PASS ok encoding/base64 1.023s goos: linux goarch: amd64 pkg: encoding/binary cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadSlice1000Int32s-4 1322 88360 ns/op 45.27 MB/s BenchmarkReadStruct-4 17054 6913 ns/op 10.85 MB/s BenchmarkWriteStruct-4 17565 6557 ns/op 11.44 MB/s BenchmarkReadInts-4 46944 2503 ns/op 11.98 MB/s BenchmarkWriteInts-4 38191 2959 ns/op 10.14 MB/s BenchmarkWriteSlice1000Int32s-4 1278 91422 ns/op 43.75 MB/s BenchmarkPutUint16-4 3224324 36.80 ns/op 54.35 MB/s BenchmarkAppendUint16-4 3346516 36.31 ns/op 55.08 MB/s BenchmarkPutUint32-4 2380992 48.09 ns/op 83.18 MB/s BenchmarkAppendUint32-4 2400910 49.09 ns/op 81.49 MB/s BenchmarkPutUint64-4 1073620 111.6 ns/op 71.71 MB/s BenchmarkAppendUint64-4 1000000 111.1 ns/op 71.99 MB/s BenchmarkLittleEndianPutUint16-4 3316006 36.86 ns/op 54.26 MB/s BenchmarkLittleEndianAppendUint16-4 3316591 36.26 ns/op 55.15 MB/s BenchmarkLittleEndianPutUint32-4 2458074 48.22 ns/op 82.95 MB/s BenchmarkLittleEndianAppendUint32-4 2417078 48.32 ns/op 82.79 MB/s BenchmarkLittleEndianPutUint64-4 1000000 110.1 ns/op 72.68 MB/s BenchmarkLittleEndianAppendUint64-4 1000000 111.7 ns/op 71.61 MB/s BenchmarkReadFloats-4 168180 759.1 ns/op 15.81 MB/s BenchmarkWriteFloats-4 131587 934.6 ns/op 12.84 MB/s BenchmarkReadSlice1000Float32s-4 1192 99878 ns/op 40.05 MB/s BenchmarkWriteSlice1000Float32s-4 986 106191 ns/op 37.67 MB/s BenchmarkReadSlice1000Uint8s-4 69649 1621 ns/op 616.75 MB/s BenchmarkWriteSlice1000Uint8s-4 98090 1220 ns/op 819.37 MB/s BenchmarkPutUvarint32-4 751598 151.5 ns/op 26.41 MB/s BenchmarkPutUvarint64-4 207918 595.5 ns/op 13.44 MB/s PASS ok encoding/binary 4.118s goos: linux goarch: amd64 pkg: encoding/csv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRead-4 5592 17996 ns/op 736 B/op 16 allocs/op BenchmarkReadWithFieldsPerRecord-4 6697 17725 ns/op 736 B/op 16 allocs/op BenchmarkReadWithoutFieldsPerRecord-4 6822 17430 ns/op 736 B/op 16 allocs/op BenchmarkReadLargeFields-4 3796 28973 ns/op 3938 B/op 24 allocs/op BenchmarkReadReuseRecord-4 7900 15198 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithFieldsPerRecord-4 7873 15562 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithoutFieldsPerRecord-4 6781 16071 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordLargeFields-4 3873 26361 ns/op 2978 B/op 12 allocs/op BenchmarkWrite-4 12115 9780 ns/op PASS ok encoding/csv 1.565s goos: linux goarch: amd64 pkg: encoding/gob cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEndToEndPipe-4 9867 10249 ns/op BenchmarkEndToEndByteBuffer-4 11767 9703 ns/op BenchmarkEndToEndSliceByteBuffer-4 231 455318 ns/op BenchmarkEncodeComplex128Slice-4 738 142700 ns/op BenchmarkEncodeFloat64Slice-4 1563 66044 ns/op BenchmarkEncodeInt32Slice-4 1264 79817 ns/op BenchmarkEncodeStringSlice-4 2404 52813 ns/op BenchmarkEncodeInterfaceSlice-4 64 1743494 ns/op BenchmarkDecodeComplex128Slice-4 519 223143 ns/op BenchmarkDecodeFloat64Slice-4 1366 88980 ns/op BenchmarkDecodeInt32Slice-4 1322 103099 ns/op BenchmarkDecodeStringSlice-4 976 147493 ns/op BenchmarkDecodeStringsSlice-4 345 416842 ns/op BenchmarkDecodeBytesSlice-4 637 239081 ns/op BenchmarkDecodeInterfaceSlice-4 105 1177535 ns/op BenchmarkDecodeMap-4 82 1355889 ns/op PASS ok encoding/gob 2.737s goos: linux goarch: amd64 pkg: encoding/hex cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode/256-4 12336 9431 ns/op 27.14 MB/s BenchmarkEncode/1024-4 2890 38837 ns/op 26.37 MB/s BenchmarkEncode/4096-4 790 148890 ns/op 27.51 MB/s BenchmarkEncode/16384-4 199 586059 ns/op 27.96 MB/s BenchmarkDecode/256-4 23292 4922 ns/op 52.01 MB/s BenchmarkDecode/1024-4 5798 19910 ns/op 51.43 MB/s BenchmarkDecode/4096-4 1420 78352 ns/op 52.28 MB/s BenchmarkDecode/16384-4 390 306796 ns/op 53.40 MB/s BenchmarkDump/256-4 1306 91065 ns/op 2.81 MB/s BenchmarkDump/1024-4 334 351321 ns/op 2.91 MB/s BenchmarkDump/4096-4 81 1403178 ns/op 2.92 MB/s BenchmarkDump/16384-4 19 5961721 ns/op 2.75 MB/s PASS ok encoding/hex 1.778s goos: linux goarch: amd64 pkg: encoding/json cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCodeEncoder-4 1 110404915 ns/op 17.58 MB/s 2144 B/op 17 allocs/op BenchmarkCodeEncoderError-4 1 122070505 ns/op 15.90 MB/s 5584 B/op 75 allocs/op BenchmarkCodeMarshal-4 1 129901617 ns/op 14.94 MB/s 1942928 B/op 18 allocs/op BenchmarkCodeMarshalError-4 1 134207399 ns/op 14.46 MB/s 1946296 B/op 68 allocs/op BenchmarkMarshalBytes/32-4 21219 5782 ns/op BenchmarkMarshalBytes/256-4 5239 22728 ns/op BenchmarkMarshalBytes/4096-4 434 258831 ns/op BenchmarkMarshalBytesError/32-4 55 2065768 ns/op BenchmarkMarshalBytesError/256-4 60 1986109 ns/op BenchmarkMarshalBytesError/4096-4 51 2180342 ns/op BenchmarkCodeDecoder-4 1 440009089 ns/op 4.41 MB/s 11017088 B/op 91358 allocs/op BenchmarkUnicodeDecoder-4 37053 3349 ns/op 4.18 MB/s 40 B/op 2 allocs/op BenchmarkDecoderStream-4 48756 2194 ns/op 16 B/op 1 allocs/op BenchmarkCodeUnmarshal-4 1 383781180 ns/op 5.06 MB/s 2939400 B/op 91327 allocs/op BenchmarkCodeUnmarshalReuse-4 1 363696589 ns/op 5.34 MB/s 2939472 B/op 91330 allocs/op BenchmarkUnmarshalString-4 57334 2206 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalFloat64-4 134302 883.7 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalInt64-4 301459 459.5 ns/op 144 B/op 1 allocs/op BenchmarkIssue10335-4 56427 2063 ns/op 176 B/op 3 allocs/op BenchmarkIssue34127-4 66514 1549 ns/op 83 B/op 2 allocs/op BenchmarkUnmapped-4 15058 7704 ns/op 208 B/op 4 allocs/op BenchmarkTypeFieldsCache/MissTypes1-4 4801 30197 ns/op BenchmarkTypeFieldsCache/MissTypes10-4 891 141292 ns/op BenchmarkTypeFieldsCache/MissTypes100-4 100 1115077 ns/op BenchmarkTypeFieldsCache/MissTypes1000-4 10 10542611 ns/op BenchmarkTypeFieldsCache/HitTypes1-4 407487 257.2 ns/op BenchmarkTypeFieldsCache/HitTypes10-4 449221 240.3 ns/op BenchmarkTypeFieldsCache/HitTypes100-4 477572 287.0 ns/op BenchmarkTypeFieldsCache/HitTypes1000-4 437674 264.3 ns/op BenchmarkEncodeMarshaler-4 58879 1760 ns/op 76 B/op 2 allocs/op BenchmarkEncoderEncode-4 78782 1421 ns/op 43 B/op 0 allocs/op BenchmarkNumberIsValid-4 4108486 28.44 ns/op BenchmarkNumberIsValidRegexp-4 21447 5673 ns/op PASS ok encoding/json 7.249s goos: linux goarch: amd64 pkg: encoding/pem cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode-4 46 2490817 ns/op 26.31 MB/s BenchmarkDecode-4 22 5234382 ns/op 16.96 MB/s PASS ok encoding/pem 0.380s goos: linux goarch: amd64 pkg: encoding/xml cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMarshal-4 2290 44694 ns/op 6280 B/op 24 allocs/op BenchmarkUnmarshal-4 974 123328 ns/op 8289 B/op 188 allocs/op BenchmarkHTMLAutoClose-4 4312 28305 ns/op PASS ok encoding/xml 0.593s goos: linux goarch: amd64 pkg: expvar cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkIntAdd-4 328282 497.9 ns/op BenchmarkIntSet-4 261750 406.1 ns/op BenchmarkFloatAdd-4 55174 2110 ns/op BenchmarkFloatSet-4 338517 398.4 ns/op BenchmarkStringSet-4 315124 437.9 ns/op BenchmarkMapSet-4 69919 1869 ns/op BenchmarkMapSetDifferent-4 50916 2179 ns/op BenchmarkMapSetDifferentRandom-4 230 466315 ns/op BenchmarkMapSetString-4 79952 1804 ns/op BenchmarkMapAddSame-4 31153 3395 ns/op BenchmarkMapAddDifferent-4 15534 8158 ns/op BenchmarkMapAddDifferentRandom-4 195 603976 ns/op BenchmarkMapAddSameSteadyState-4 232324 554.1 ns/op BenchmarkMapAddDifferentSteadyState-4 89246 1283 ns/op BenchmarkRealworldExpvarUsage-4 21381 6292 ns/op PASS ok expvar 2.545s goos: linux goarch: amd64 pkg: fmt cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSprintfPadding-4 105462 1191 ns/op BenchmarkSprintfEmpty-4 438376 327.6 ns/op BenchmarkSprintfString-4 267290 391.4 ns/op BenchmarkSprintfTruncateString-4 228768 454.5 ns/op BenchmarkSprintfTruncateBytes-4 158265 784.0 ns/op BenchmarkSprintfSlowParsingPath-4 271880 497.8 ns/op BenchmarkSprintfQuoteString-4 37527 3488 ns/op BenchmarkSprintfInt-4 232165 487.6 ns/op BenchmarkSprintfIntInt-4 194692 575.8 ns/op BenchmarkSprintfPrefixedInt-4 205899 541.1 ns/op BenchmarkSprintfFloat-4 118234 856.2 ns/op BenchmarkSprintfComplex-4 58274 1993 ns/op BenchmarkSprintfBoolean-4 276841 453.4 ns/op BenchmarkSprintfHexString-4 112710 1161 ns/op BenchmarkSprintfHexBytes-4 77331 1531 ns/op BenchmarkSprintfBytes-4 50762 2580 ns/op BenchmarkSprintfStringer-4 76082 1385 ns/op BenchmarkSprintfStructure-4 40465 3459 ns/op BenchmarkManyArgs-4 66282 1869 ns/op BenchmarkFprintInt-4 73617 1603 ns/op BenchmarkFprintfBytes-4 81734 1540 ns/op BenchmarkFprintIntNoAlloc-4 75592 1641 ns/op BenchmarkScanInts-4 36 3287067 ns/op BenchmarkScanRecursiveInt-4 1 330652626 ns/op BenchmarkScanRecursiveIntReaderWrapper-4 1 367430882 ns/op PASS ok fmt 4.560s goos: linux goarch: amd64 pkg: go/build cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkImportVendor-4 584 193223 ns/op PASS ok go/build 0.172s goos: linux goarch: amd64 pkg: go/constant cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStringAdd/1-4 48229 2267 ns/op 160 B/op 2 allocs/op BenchmarkStringAdd/4-4 13012 9301 ns/op 832 B/op 9 allocs/op BenchmarkStringAdd/16-4 3843 33518 ns/op 3168 B/op 23 allocs/op BenchmarkStringAdd/64-4 891 117135 ns/op 11744 B/op 73 allocs/op BenchmarkStringAdd/256-4 249 492215 ns/op 47840 B/op 267 allocs/op BenchmarkStringAdd/1024-4 52 2329058 ns/op 206176 B/op 1038 allocs/op BenchmarkStringAdd/4096-4 12 9918714 ns/op 865632 B/op 4114 allocs/op BenchmarkStringAdd/16384-4 3 40878212 ns/op 3634528 B/op 16407 allocs/op BenchmarkStringAdd/65536-4 1 182772268 ns/op 15258976 B/op 65565 allocs/op PASS ok go/constant 1.614s goos: linux goarch: amd64 pkg: go/format cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFormat/array1-10000-4 1 280765011 ns/op 0.23 MB/s 48747456 B/op 49350 allocs/op PASS ok go/format 0.342s goos: linux goarch: amd64 pkg: go/parser cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkParse-4 5 20123348 ns/op 2.68 MB/s BenchmarkParseOnly-4 6 17086565 ns/op 3.15 MB/s BenchmarkResolve-4 45 2606964 ns/op 20.66 MB/s PASS ok go/parser 1.907s goos: linux goarch: amd64 pkg: go/printer cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPrintFile-4 1 157572534 ns/op 0.33 MB/s 5218544 B/op 27628 allocs/op BenchmarkPrintDecl-4 674 154469 ns/op 0.21 MB/s 16735 B/op 51 allocs/op PASS ok go/printer 0.320s goos: linux goarch: amd64 pkg: go/scanner cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScan-4 256 460705 ns/op BenchmarkScanFiles/go/types/expr.go-4 12 8943850 ns/op 6.22 MB/s BenchmarkScanFiles/go/parser/parser.go-4 9 12635796 ns/op 5.69 MB/s BenchmarkScanFiles/net/http/server.go-4 6 17712943 ns/op 6.39 MB/s BenchmarkScanFiles/go/scanner/errors.go-4 212 542769 ns/op 5.67 MB/s PASS ok go/scanner 0.858s goos: linux goarch: amd64 pkg: go/token cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSearchInts-4 1225714 97.26 ns/op PASS ok go/token 0.262s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: go/types cpu: AMD EPYC 7B12 BenchmarkLookupFieldOrMethod-4 172 712883 ns/op BenchmarkNamed/Underlying/nongeneric-4 1000000 102.9 ns/op BenchmarkNamed/Underlying/generic-4 1000000 107.8 ns/op BenchmarkNamed/Underlying/src_instance-4 1000000 101.9 ns/op BenchmarkNamed/Underlying/user_instance-4 1000000 108.3 ns/op BenchmarkNamed/NewMethodSet/nongeneric-4 23053 5110 ns/op BenchmarkNamed/NewMethodSet/generic-4 22688 5077 ns/op BenchmarkNamed/NewMethodSet/src_instance-4 23107 5183 ns/op BenchmarkNamed/NewMethodSet/user_instance-4 22431 5165 ns/op BenchmarkCheck/http/funcbodies/info-4 1 467236448 ns/op 65328 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 362594932 ns/op 84181 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 208089211 ns/op 146672 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 191755968 ns/op 159161 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 355968972 ns/op 14387 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 1 103050745 ns/op 49680 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 2 63310744 ns/op 80881 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 2 63437844 ns/op 80716 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 137052050 ns/op 15808 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 2 59134938 ns/op 36628 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 3 45646423 ns/op 47459 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 3 45552983 ns/op 47563 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 842190034 ns/op 75268 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 507952134 ns/op 124793 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 130661239 ns/op 485019 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 103099905 ns/op 614521 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 1570246190 ns/op 1269 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 93188824 ns/op 21380 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 2 78110082 ns/op 25510 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 2 78953636 ns/op 25238 lines/s PASS ok go/types 17.170s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: hash/adler32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAdler32KB-4 8854 13601 ns/op 75.29 MB/s PASS ok hash/adler32 0.252s goos: linux goarch: amd64 pkg: hash/crc32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCRC32/poly=IEEE/size=15/align=0-4 203192 544.5 ns/op 27.55 MB/s BenchmarkCRC32/poly=IEEE/size=15/align=1-4 208789 535.6 ns/op 28.01 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=0-4 108067 1074 ns/op 37.23 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=1-4 114410 1063 ns/op 37.64 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=0-4 478784 245.1 ns/op 2089.18 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=1-4 467166 259.7 ns/op 1971.77 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=0-4 407296 290.8 ns/op 3521.56 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=1-4 416913 286.3 ns/op 3576.05 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=0-4 224506 498.7 ns/op 8213.88 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=1-4 243676 490.8 ns/op 8346.28 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=0-4 51546 2338 ns/op 14014.88 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=1-4 52261 2322 ns/op 14112.65 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=0-4 462631 266.4 ns/op 56.31 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=1-4 470396 262.6 ns/op 57.13 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=0-4 431420 261.6 ns/op 152.89 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=1-4 448842 258.2 ns/op 154.94 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=0-4 325777 364.9 ns/op 1402.99 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=1-4 325297 368.3 ns/op 1390.01 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=0-4 256526 437.5 ns/op 2340.56 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=1-4 260172 456.0 ns/op 2245.42 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=0-4 226804 523.3 ns/op 7827.01 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=1-4 225846 543.3 ns/op 7539.35 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=0-4 44976 2641 ns/op 12407.55 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=1-4 46428 2656 ns/op 12336.71 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=0-4 216249 537.0 ns/op 27.93 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=1-4 219595 550.2 ns/op 27.26 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=0-4 103285 1199 ns/op 33.36 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=1-4 108523 1125 ns/op 35.55 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=0-4 7213 16124 ns/op 31.75 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=1-4 7096 16884 ns/op 30.32 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=0-4 3560 34491 ns/op 29.69 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=1-4 3291 34410 ns/op 29.76 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=0-4 888 136510 ns/op 30.01 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=1-4 873 137723 ns/op 29.74 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=0-4 100 1110138 ns/op 29.52 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=1-4 100 1065414 ns/op 30.76 MB/s PASS ok hash/crc32 4.683s goos: linux goarch: amd64 pkg: hash/crc64 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCrc64/ISO64KB-4 84 1408071 ns/op 46.54 MB/s BenchmarkCrc64/ISO4KB-4 957 120913 ns/op 33.88 MB/s BenchmarkCrc64/ISO1KB-4 4195 25837 ns/op 39.63 MB/s BenchmarkCrc64/ECMA64KB-4 84 1435508 ns/op 45.65 MB/s BenchmarkCrc64/Random64KB-4 79 1289741 ns/op 50.81 MB/s BenchmarkCrc64/Random16KB-4 368 325229 ns/op 50.38 MB/s PASS ok hash/crc64 0.790s goos: linux goarch: amd64 pkg: hash/fnv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFnv32KB-4 8193 14249 ns/op 71.87 MB/s BenchmarkFnv32aKB-4 7194 14661 ns/op 69.84 MB/s BenchmarkFnv64KB-4 8337 14630 ns/op 69.99 MB/s BenchmarkFnv64aKB-4 8338 14704 ns/op 69.64 MB/s BenchmarkFnv128KB-4 1808 63739 ns/op 16.07 MB/s BenchmarkFnv128aKB-4 1933 61347 ns/op 16.69 MB/s PASS ok hash/fnv 0.861s goos: linux goarch: amd64 pkg: hash/maphash cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash/n=4/Write-4 586592 198.4 ns/op 20.16 MB/s BenchmarkHash/n=4/Bytes-4 3980844 29.85 ns/op 134.02 MB/s BenchmarkHash/n=4/String-4 1705456 70.45 ns/op 56.78 MB/s BenchmarkHash/n=8/Write-4 559686 193.7 ns/op 41.30 MB/s BenchmarkHash/n=8/Bytes-4 4194333 28.75 ns/op 278.26 MB/s BenchmarkHash/n=8/String-4 1759568 69.39 ns/op 115.29 MB/s BenchmarkHash/n=16/Write-4 581438 203.8 ns/op 78.51 MB/s BenchmarkHash/n=16/Bytes-4 3932772 26.67 ns/op 599.95 MB/s BenchmarkHash/n=16/String-4 1706126 69.76 ns/op 229.34 MB/s BenchmarkHash/n=32/Write-4 546220 211.7 ns/op 151.15 MB/s BenchmarkHash/n=32/Bytes-4 4113267 28.14 ns/op 1137.09 MB/s BenchmarkHash/n=32/String-4 1763899 66.81 ns/op 478.94 MB/s BenchmarkHash/n=64/Write-4 540219 215.7 ns/op 296.65 MB/s BenchmarkHash/n=64/Bytes-4 3885044 30.92 ns/op 2069.63 MB/s BenchmarkHash/n=64/String-4 1679713 73.00 ns/op 876.72 MB/s BenchmarkHash/n=256/Write-4 389408 310.7 ns/op 823.81 MB/s BenchmarkHash/n=256/Bytes-4 2087248 56.68 ns/op 4516.72 MB/s BenchmarkHash/n=256/String-4 779175 136.0 ns/op 1882.36 MB/s BenchmarkHash/n=320/Write-4 405735 289.4 ns/op 1105.82 MB/s BenchmarkHash/n=320/Bytes-4 1757029 68.61 ns/op 4664.09 MB/s BenchmarkHash/n=320/String-4 586596 178.4 ns/op 1794.15 MB/s BenchmarkHash/n=1024/Write-4 270502 435.4 ns/op 2351.61 MB/s BenchmarkHash/n=1024/Bytes-4 739586 160.9 ns/op 6365.74 MB/s BenchmarkHash/n=1024/String-4 256528 474.5 ns/op 2158.12 MB/s BenchmarkHash/n=4096/Write-4 120326 996.8 ns/op 4109.06 MB/s BenchmarkHash/n=4096/Bytes-4 197649 589.9 ns/op 6943.75 MB/s BenchmarkHash/n=4096/String-4 67017 1792 ns/op 2285.51 MB/s BenchmarkHash/n=16384/Write-4 39386 3232 ns/op 5069.24 MB/s BenchmarkHash/n=16384/Bytes-4 52917 2263 ns/op 7241.30 MB/s BenchmarkHash/n=16384/String-4 17085 6968 ns/op 2351.18 MB/s PASS ok hash/maphash 4.562s goos: linux goarch: amd64 pkg: html cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEscape-4 686 149137 ns/op BenchmarkEscapeNone-4 109993 1009 ns/op BenchmarkUnescape-4 728 153359 ns/op BenchmarkUnescapeNone-4 509871 217.5 ns/op BenchmarkUnescapeSparse-4 10291 11407 ns/op BenchmarkUnescapeDense-4 1111 107123 ns/op PASS ok html 0.876s goos: linux goarch: amd64 pkg: html/template cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCSSEscaper-4 9291 12636 ns/op BenchmarkCSSEscaperNoSpecials-4 44750 2696 ns/op BenchmarkDecodeCSS-4 24747 4698 ns/op BenchmarkDecodeCSSNoSpecials-4 4183328 26.73 ns/op BenchmarkCSSValueFilter-4 109956 1022 ns/op BenchmarkCSSValueFilterOk-4 78142 1507 ns/op BenchmarkEscapedExecute-4 4198 25169 ns/op BenchmarkHTMLNospaceEscaper-4 10000 10577 ns/op BenchmarkHTMLNospaceEscaperNoSpecials-4 66464 1747 ns/op BenchmarkStripTags-4 20112 5614 ns/op BenchmarkStripTagsNoSpecials-4 294170 412.4 ns/op BenchmarkJSValEscaperWithNum-4 23096 5040 ns/op BenchmarkJSValEscaperWithStr-4 5192 22297 ns/op BenchmarkJSValEscaperWithStrNoSpecials-4 17842 6463 ns/op BenchmarkJSValEscaperWithObj-4 3859 26069 ns/op BenchmarkJSValEscaperWithObjNoSpecials-4 13603 8624 ns/op BenchmarkJSStrEscaperNoSpecials-4 60196 1966 ns/op BenchmarkJSStrEscaper-4 10000 10279 ns/op BenchmarkJSRegexpEscaperNoSpecials-4 53947 2175 ns/op BenchmarkJSRegexpEscaper-4 10000 11558 ns/op BenchmarkTemplateSpecialTags-4 91 1310220 ns/op BenchmarkURLEscaper-4 4264 25664 ns/op BenchmarkURLEscaperNoSpecials-4 180159 664.8 ns/op BenchmarkURLNormalizer-4 6088 18693 ns/op BenchmarkURLNormalizerNoSpecials-4 178435 672.6 ns/op BenchmarkSrcsetFilter-4 19666 5911 ns/op BenchmarkSrcsetFilterNoSpecials-4 111073 1028 ns/op PASS ok html/template 4.164s goos: linux goarch: amd64 pkg: image cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAt/rgba-4 609834 188.6 ns/op 16 B/op 1 allocs/op BenchmarkAt/rgba64-4 438172 284.9 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba-4 584007 198.9 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba64-4 394279 276.5 ns/op 16 B/op 1 allocs/op BenchmarkAt/alpha-4 1818639 65.27 ns/op 0 B/op 0 allocs/op BenchmarkAt/alpha16-4 1219720 98.80 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray-4 1891116 64.12 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray16-4 1208056 103.3 ns/op 0 B/op 0 allocs/op BenchmarkAt/paletted-4 1421384 84.85 ns/op 0 B/op 0 allocs/op BenchmarkSet/rgba-4 444320 285.4 ns/op 16 B/op 1 allocs/op BenchmarkSet/rgba64-4 345682 331.6 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba-4 379381 272.9 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba64-4 316594 329.9 ns/op 16 B/op 1 allocs/op BenchmarkSet/alpha-4 832048 148.3 ns/op 0 B/op 0 allocs/op BenchmarkSet/alpha16-4 544138 215.1 ns/op 16 B/op 1 allocs/op BenchmarkSet/gray-4 898394 127.2 ns/op 0 B/op 0 allocs/op BenchmarkSet/gray16-4 541436 221.6 ns/op 16 B/op 1 allocs/op BenchmarkSet/paletted-4 383059 287.9 ns/op 0 B/op 0 allocs/op BenchmarkRGBAAt-4 1367494 88.34 ns/op BenchmarkRGBASetRGBA-4 1381212 83.94 ns/op BenchmarkRGBA64At-4 660014 162.5 ns/op BenchmarkRGBA64SetRGBA64-4 768496 149.7 ns/op BenchmarkNRGBAAt-4 1405551 87.82 ns/op BenchmarkNRGBASetNRGBA-4 1384758 84.97 ns/op BenchmarkNRGBA64At-4 717704 164.6 ns/op BenchmarkNRGBA64SetNRGBA64-4 826633 147.6 ns/op BenchmarkAlphaAt-4 2364486 50.98 ns/op BenchmarkAlphaSetAlpha-4 2245047 53.01 ns/op BenchmarkAlpha16At-4 1456092 80.95 ns/op BenchmarkAlphaSetAlpha16-4 1495795 79.61 ns/op BenchmarkGrayAt-4 2238826 53.45 ns/op BenchmarkGraySetGray-4 2266652 52.74 ns/op BenchmarkGray16At-4 1530026 77.33 ns/op BenchmarkGraySetGray16-4 1562066 77.49 ns/op PASS ok image 6.065s goos: linux goarch: amd64 pkg: image/color cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkYCbCrToRGB/0-4 4491949 26.82 ns/op BenchmarkYCbCrToRGB/128-4 4291002 28.06 ns/op BenchmarkYCbCrToRGB/255-4 4286851 27.88 ns/op BenchmarkRGBToYCbCr/0-4 4310887 27.08 ns/op BenchmarkRGBToYCbCr/Cb-4 4321144 27.69 ns/op BenchmarkRGBToYCbCr/Cr-4 4380810 27.02 ns/op BenchmarkYCbCrToRGBA/0-4 3582355 33.39 ns/op BenchmarkYCbCrToRGBA/128-4 3403456 34.94 ns/op BenchmarkYCbCrToRGBA/255-4 3726960 33.59 ns/op BenchmarkNYCbCrAToRGBA/0-4 3634197 33.31 ns/op BenchmarkNYCbCrAToRGBA/128-4 3630145 33.58 ns/op BenchmarkNYCbCrAToRGBA/255-4 3538246 33.79 ns/op PASS ok image/color 1.891s goos: linux goarch: amd64 pkg: image/draw cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFillOver-4 3 33710039 ns/op BenchmarkFillSrc-4 292 400379 ns/op BenchmarkCopyOver-4 6 17480965 ns/op BenchmarkCopySrc-4 379 302892 ns/op BenchmarkNRGBAOver-4 6 18896582 ns/op BenchmarkNRGBASrc-4 9 12455962 ns/op BenchmarkYCbCr-4 8 13641818 ns/op BenchmarkGray-4 15 7311959 ns/op BenchmarkCMYK-4 9 12521900 ns/op BenchmarkGlyphOver-4 19 6073040 ns/op BenchmarkRGBAMaskOver-4 4 31494675 ns/op BenchmarkGrayMaskOver-4 5 23512572 ns/op BenchmarkRGBA64ImageMaskOver-4 3 39524460 ns/op BenchmarkRGBA-4 4 25220700 ns/op BenchmarkPalettedFill-4 885 136817 ns/op BenchmarkPalettedRGBA-4 4 25487312 ns/op BenchmarkGenericOver-4 2 55511336 ns/op BenchmarkGenericMaskOver-4 5 22801017 ns/op BenchmarkGenericSrc-4 3 36832373 ns/op BenchmarkGenericMaskSrc-4 4 30349610 ns/op PASS ok image/draw 6.370s goos: linux goarch: amd64 pkg: image/gif cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecode-4 24 4743286 ns/op 3.26 MB/s 47848 B/op 267 allocs/op BenchmarkEncodeRandomPaletted-4 1 117896234 ns/op 2.61 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRandomRGBA-4 1 3232919992 ns/op 0.38 MB/s 417248 B/op 13 allocs/op BenchmarkEncodeRealisticPaletted-4 54 2091234 ns/op 7.39 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRealisticRGBA-4 1 149426755 ns/op 0.41 MB/s 105952 B/op 13 allocs/op PASS ok image/gif 4.416s goos: linux goarch: amd64 pkg: image/jpeg cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFDCT-4 3577 30304 ns/op BenchmarkIDCT-4 3577 28663 ns/op BenchmarkDecodeBaseline-4 8 12870266 ns/op 4.80 MB/s 63024 B/op 5 allocs/op BenchmarkDecodeProgressive-4 6 17852848 ns/op 3.46 MB/s 259713 B/op 13 allocs/op BenchmarkEncodeRGBA-4 1 157780044 ns/op 7.79 MB/s 4400 B/op 4 allocs/op BenchmarkEncodeYCbCr-4 1 200506418 ns/op 4.60 MB/s 4400 B/op 4 allocs/op PASS ok image/jpeg 1.280s goos: linux goarch: amd64 pkg: image/png cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPaeth-4 12084190 8.532 ns/op BenchmarkDecodeGray-4 12 9185427 ns/op 7.13 MB/s 137024 B/op 102 allocs/op BenchmarkDecodeNRGBAGradient-4 3 39088297 ns/op 6.71 MB/s 337328 B/op 188 allocs/op BenchmarkDecodeNRGBAOpaque-4 3 35619338 ns/op 7.36 MB/s 346592 B/op 152 allocs/op BenchmarkDecodePaletted-4 21 5469832 ns/op 11.98 MB/s 139456 B/op 309 allocs/op BenchmarkDecodeRGB-4 3 34585194 ns/op 7.58 MB/s 332000 B/op 157 allocs/op BenchmarkDecodeInterlacing-4 3 41714047 ns/op 6.28 MB/s 605216 B/op 268 allocs/op BenchmarkEncodeGray-4 2 62588149 ns/op 4.91 MB/s 852184 B/op 29 allocs/op BenchmarkEncodeGrayWithBufferPool-4 2 62135612 ns/op 4.94 MB/s 426080 B/op 14 allocs/op BenchmarkEncodeNRGBOpaque-4 1 207124262 ns/op 5.93 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeNRGBA-4 1 216189305 ns/op 5.68 MB/s 864088 B/op 29 allocs/op BenchmarkEncodePaletted-4 4 30563674 ns/op 10.05 MB/s 848592 B/op 32 allocs/op BenchmarkEncodeRGBOpaque-4 1 197589453 ns/op 6.22 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeRGBA-4 1 839357297 ns/op 1.46 MB/s 864088 B/op 29 allocs/op PASS ok image/png 3.745s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: index/suffixarray cpu: AMD EPYC 7B12 BenchmarkNew/text=opticks/size=100K/bits=32-4 3 45707445 ns/op 2.19 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=opticks/size=100K/bits=64-4 3 37540542 ns/op 2.66 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=32-4 1 227965242 ns/op 2.19 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=64-4 1 199390959 ns/op 2.51 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=32-4 3 42019510 ns/op 2.38 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=64-4 3 36977403 ns/op 2.70 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=32-4 1 223893685 ns/op 2.23 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=64-4 1 192828772 ns/op 2.59 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=32-4 1 439734424 ns/op 2.27 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=64-4 1 425938932 ns/op 2.35 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=32-4 1 3007241856 ns/op 1.66 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=64-4 1 2849721884 ns/op 1.75 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=32-4 14 7695495 ns/op 12.99 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=64-4 14 7910356 ns/op 12.64 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=32-4 3 36570183 ns/op 13.67 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=64-4 3 37197319 ns/op 13.44 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=32-4 2 67011302 ns/op 14.92 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=64-4 2 73834994 ns/op 13.54 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=32-4 1 339493981 ns/op 14.73 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=64-4 1 382122896 ns/op 13.08 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=32-4 2 50577732 ns/op 1.98 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=64-4 3 38705652 ns/op 2.58 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=32-4 1 264972772 ns/op 1.89 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=64-4 1 236026098 ns/op 2.12 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=32-4 1 626653589 ns/op 1.60 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=64-4 1 595262046 ns/op 1.68 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=32-4 1 5254614268 ns/op 0.95 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=64-4 1 5146368888 ns/op 0.97 MB/s 40001616 B/op 2 allocs/op BenchmarkSaveRestore/bits=32-4 1 136056924 ns/op 30.72 MB/s 5275648 B/op 4 allocs/op BenchmarkSaveRestore/bits=64-4 1 139639181 ns/op 29.93 MB/s 9469952 B/op 4 allocs/op PASS ok index/suffixarray 35.530s goos: linux goarch: amd64 pkg: internal/fuzz cpu: AMD EPYC 7B12 BenchmarkMarshalCorpusFile/1-4 37695 2987 ns/op 0.33 MB/s BenchmarkMarshalCorpusFile/2-4 37159 3178 ns/op 0.63 MB/s BenchmarkMarshalCorpusFile/4-4 34087 3602 ns/op 1.11 MB/s BenchmarkMarshalCorpusFile/8-4 28714 4108 ns/op 1.95 MB/s BenchmarkMarshalCorpusFile/16-4 22196 5225 ns/op 3.06 MB/s BenchmarkMarshalCorpusFile/32-4 15266 7879 ns/op 4.06 MB/s BenchmarkMarshalCorpusFile/64-4 9732 12213 ns/op 5.24 MB/s BenchmarkMarshalCorpusFile/128-4 5577 20003 ns/op 6.40 MB/s BenchmarkMarshalCorpusFile/256-4 3132 37396 ns/op 6.85 MB/s BenchmarkMarshalCorpusFile/512-4 1564 73108 ns/op 7.00 MB/s BenchmarkMarshalCorpusFile/1024-4 810 143623 ns/op 7.13 MB/s BenchmarkMarshalCorpusFile/2048-4 404 281041 ns/op 7.29 MB/s BenchmarkMarshalCorpusFile/4096-4 217 563884 ns/op 7.26 MB/s BenchmarkMarshalCorpusFile/8192-4 98 1137963 ns/op 7.20 MB/s BenchmarkMarshalCorpusFile/16384-4 52 2224127 ns/op 7.37 MB/s BenchmarkMarshalCorpusFile/32768-4 21 5202054 ns/op 6.30 MB/s BenchmarkMarshalCorpusFile/65536-4 12 9814255 ns/op 6.68 MB/s BenchmarkMarshalCorpusFile/131072-4 5 22712195 ns/op 5.77 MB/s BenchmarkMarshalCorpusFile/262144-4 3 46659037 ns/op 5.62 MB/s BenchmarkMarshalCorpusFile/524288-4 1 121759793 ns/op 4.31 MB/s BenchmarkMarshalCorpusFile/1048576-4 1 212840968 ns/op 4.93 MB/s BenchmarkUnmarshalCorpusFile/1-4 9855 11357 ns/op 0.09 MB/s BenchmarkUnmarshalCorpusFile/2-4 8989 11606 ns/op 0.17 MB/s BenchmarkUnmarshalCorpusFile/4-4 9375 12502 ns/op 0.32 MB/s BenchmarkUnmarshalCorpusFile/8-4 7352 14532 ns/op 0.55 MB/s BenchmarkUnmarshalCorpusFile/16-4 6674 17186 ns/op 0.93 MB/s BenchmarkUnmarshalCorpusFile/32-4 4168 25108 ns/op 1.27 MB/s BenchmarkUnmarshalCorpusFile/64-4 3752 28950 ns/op 2.21 MB/s BenchmarkUnmarshalCorpusFile/128-4 2898 38261 ns/op 3.35 MB/s BenchmarkUnmarshalCorpusFile/256-4 1101 99663 ns/op 2.57 MB/s BenchmarkUnmarshalCorpusFile/512-4 584 187165 ns/op 2.74 MB/s BenchmarkUnmarshalCorpusFile/1024-4 310 366758 ns/op 2.79 MB/s BenchmarkUnmarshalCorpusFile/2048-4 166 717866 ns/op 2.85 MB/s BenchmarkUnmarshalCorpusFile/4096-4 76 1506947 ns/op 2.72 MB/s BenchmarkUnmarshalCorpusFile/8192-4 38 2794273 ns/op 2.93 MB/s BenchmarkUnmarshalCorpusFile/16384-4 19 5881306 ns/op 2.79 MB/s BenchmarkUnmarshalCorpusFile/32768-4 10 10800887 ns/op 3.03 MB/s BenchmarkUnmarshalCorpusFile/65536-4 5 21602759 ns/op 3.03 MB/s BenchmarkUnmarshalCorpusFile/131072-4 3 43317207 ns/op 3.03 MB/s BenchmarkUnmarshalCorpusFile/262144-4 2 89447670 ns/op 2.93 MB/s BenchmarkUnmarshalCorpusFile/524288-4 1 179183050 ns/op 2.93 MB/s BenchmarkUnmarshalCorpusFile/1048576-4 1 356048889 ns/op 2.95 MB/s BenchmarkMutatorBytes/1-4 37591 3230 ns/op BenchmarkMutatorBytes/10-4 38836 3082 ns/op BenchmarkMutatorBytes/100-4 37059 3328 ns/op BenchmarkMutatorBytes/1000-4 25573 4897 ns/op BenchmarkMutatorBytes/10000-4 7653 19120 ns/op BenchmarkMutatorBytes/100000-4 1106 122067 ns/op BenchmarkMutatorString/1-4 33145 3361 ns/op BenchmarkMutatorString/10-4 36452 3294 ns/op BenchmarkMutatorString/100-4 32065 3787 ns/op BenchmarkMutatorString/1000-4 17686 6710 ns/op BenchmarkMutatorString/10000-4 4284 37695 ns/op BenchmarkMutatorString/100000-4 409 311031 ns/op BenchmarkMutatorAllBasicTypes/[]uint8-4 19000 5755 ns/op BenchmarkMutatorAllBasicTypes/string-4 20185 5948 ns/op BenchmarkMutatorAllBasicTypes/bool-4 64083 1889 ns/op BenchmarkMutatorAllBasicTypes/float32-4 54046 2110 ns/op BenchmarkMutatorAllBasicTypes/float64-4 56678 2138 ns/op BenchmarkMutatorAllBasicTypes/int-4 59407 1991 ns/op BenchmarkMutatorAllBasicTypes/int8-4 60708 1983 ns/op BenchmarkMutatorAllBasicTypes/int16-4 60426 1994 ns/op BenchmarkMutatorAllBasicTypes/int32-4 58027 1968 ns/op BenchmarkMutatorAllBasicTypes/int64-4 58383 1984 ns/op BenchmarkMutatorAllBasicTypes/uint8-4 58549 2070 ns/op BenchmarkMutatorAllBasicTypes/uint16-4 58281 2057 ns/op BenchmarkMutatorAllBasicTypes/uint32-4 58142 2061 ns/op BenchmarkMutatorAllBasicTypes/uint64-4 58063 2054 ns/op PASS ok internal/fuzz 11.502s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: internal/intern cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStress-4 31784 3325 ns/op 0 B/op 0 allocs/op BenchmarkGetByString-4 129586 942.8 ns/op 0 B/op 0 allocs/op PASS ok internal/intern 0.293s goos: linux goarch: amd64 pkg: internal/poll cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSplicePipe/SplicePipeWithPool-4 32970 3142 ns/op BenchmarkSplicePipe/SplicePipeWithoutPool-4 11835 9371 ns/op BenchmarkSplicePipePoolParallel-4 105597 1139 ns/op BenchmarkSplicePipeNativeParallel-4 29770 4148 ns/op PASS ok internal/poll 0.840s goos: linux goarch: amd64 pkg: internal/trace cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMMU-4 4 26623736 ns/op PASS ok internal/trace 2.068s goos: linux goarch: amd64 pkg: io cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCopyNSmall-4 10000 16430 ns/op BenchmarkCopyNLarge-4 175 875878 ns/op PASS ok io 0.550s goos: linux goarch: amd64 pkg: log cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkItoa-4 219162 563.6 ns/op BenchmarkPrintln-4 24481 5265 ns/op 77 B/op 1 allocs/op BenchmarkPrintlnNoFlags-4 35882 3398 ns/op 65 B/op 0 allocs/op BenchmarkConcurrent-4 2287 47435 ns/op BenchmarkDiscard-4 874586 126.4 ns/op 0 B/op 0 allocs/op PASS ok log 0.919s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: log/slog cpu: AMD EPYC 7B12 BenchmarkWriteTime-4 84336 1379 ns/op BenchmarkJSONHandler/defaults-4 6781 15125 ns/op 516 B/op 0 allocs/op BenchmarkJSONHandler/time_format-4 4396 24325 ns/op 797 B/op 6 allocs/op BenchmarkJSONHandler/time_unix-4 5023 22482 ns/op 775 B/op 5 allocs/op BenchmarkPreformatting/separate-4 7490 14684 ns/op 518 B/op 0 allocs/op BenchmarkPreformatting/struct-4 8163 15208 ns/op 529 B/op 1 allocs/op BenchmarkPreformatting/struct_file-4 5914 18181 ns/op 516 B/op 0 allocs/op BenchmarkJSONEncoding/json.Marshal-4 32982 3686 ns/op 79 B/op 2 allocs/op BenchmarkJSONEncoding/Encoder.Encode-4 32772 3723 ns/op 63 B/op 1 allocs/op BenchmarkNopLog/no_attrs-4 73274 1686 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-4 48438 2505 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-parallel-4 52742 2114 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/keys-values-4 53731 2378 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-4 49442 2513 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-parallel-4 54493 2189 ns/op 0 B/op 0 allocs/op BenchmarkPC/0-4 500598 239.3 ns/op 0 B/op 0 allocs/op BenchmarkPC/1-4 369200 301.5 ns/op 0 B/op 0 allocs/op BenchmarkPC/2-4 277218 453.7 ns/op 0 B/op 0 allocs/op BenchmarkPC/3-4 196651 641.4 ns/op 0 B/op 0 allocs/op BenchmarkPC/4-4 152721 768.3 ns/op 0 B/op 0 allocs/op BenchmarkSourceLine/alone-4 372048 311.9 ns/op BenchmarkSourceLine/stringifying-4 79340 1420 ns/op BenchmarkRecord-4 4593 23590 ns/op BenchmarkDispatch/switch-checked-4 189584 635.7 ns/op BenchmarkDispatch/As-4 189477 626.7 ns/op BenchmarkDispatch/Visit-4 174480 660.2 ns/op BenchmarkUnsafeStrings-4 18787 6253 ns/op 0 B/op 0 allocs/op --- BENCH: BenchmarkUnsafeStrings-4 value_test.go:213: Value size = 24 value_test.go:213: Value size = 24 value_test.go:213: Value size = 24 value_test.go:213: Value size = 24 PASS ok log/slog 3.731s goos: linux goarch: amd64 pkg: math cpu: AMD EPYC 7B12 BenchmarkAcos-4 3441195 33.51 ns/op BenchmarkAcosh-4 1460361 83.20 ns/op BenchmarkAsin-4 3567367 33.52 ns/op BenchmarkAsinh-4 1452811 84.17 ns/op BenchmarkAtan-4 5291475 22.46 ns/op BenchmarkAtanh-4 1388577 86.38 ns/op BenchmarkAtan2-4 3029054 39.62 ns/op BenchmarkCbrt-4 2019253 61.25 ns/op BenchmarkCeil-4 21122520 5.557 ns/op BenchmarkCompare-4 4257867 26.23 ns/op BenchmarkCompare32-4 5549096 21.00 ns/op BenchmarkCopysign-4 3493129 35.38 ns/op BenchmarkCos-4 1509477 80.49 ns/op BenchmarkCosh-4 1949115 61.63 ns/op BenchmarkErf-4 4968427 22.14 ns/op BenchmarkErfc-4 5100830 23.42 ns/op BenchmarkErfinv-4 4290054 28.11 ns/op BenchmarkErfcinv-4 4284745 28.05 ns/op BenchmarkExp-4 6945356 17.13 ns/op BenchmarkExpGo-4 1000000 110.1 ns/op BenchmarkExpm1-4 3624775 34.00 ns/op BenchmarkExp2-4 1249794 92.44 ns/op BenchmarkExp2Go-4 1000000 105.1 ns/op BenchmarkAbs-4 4461010 26.81 ns/op BenchmarkDim-4 10532515 11.10 ns/op BenchmarkFloor-4 21174106 5.583 ns/op BenchmarkMax-4 14031690 7.867 ns/op BenchmarkMin-4 14580643 7.487 ns/op BenchmarkMod-4 376068 301.2 ns/op BenchmarkFrexp-4 2407365 50.13 ns/op BenchmarkGamma-4 814563 146.3 ns/op BenchmarkHypot-4 11209588 10.25 ns/op BenchmarkHypotGo-4 1895727 63.22 ns/op BenchmarkIlogb-4 2524882 45.16 ns/op BenchmarkJ0-4 284688 413.9 ns/op BenchmarkJ1-4 280357 428.6 ns/op BenchmarkJn-4 131401 910.0 ns/op BenchmarkLdexp-4 2192146 57.42 ns/op BenchmarkLgamma-4 960176 117.1 ns/op BenchmarkLog-4 7297956 16.38 ns/op BenchmarkLogb-4 2669794 44.95 ns/op BenchmarkLog1p-4 1857072 65.08 ns/op BenchmarkLog10-4 6795004 17.39 ns/op BenchmarkLog2-4 1694152 70.34 ns/op BenchmarkModf-4 3112132 36.74 ns/op BenchmarkNextafter32-4 2996900 37.47 ns/op BenchmarkNextafter64-4 3207858 36.02 ns/op BenchmarkPowInt-4 668697 186.6 ns/op BenchmarkPowFrac-4 488133 247.7 ns/op BenchmarkPow10Pos-4 5435292 23.99 ns/op BenchmarkPow10Neg-4 5036619 22.79 ns/op BenchmarkRound-4 3872397 31.52 ns/op BenchmarkRoundToEven-4 9466208 11.78 ns/op BenchmarkRemainder-4 522745 222.8 ns/op BenchmarkSignbit-4 5696390 19.73 ns/op BenchmarkSin-4 1849668 64.95 ns/op BenchmarkSincos-4 1000000 101.5 ns/op BenchmarkSinh-4 2552265 47.25 ns/op BenchmarkSqrtIndirect-4 21016501 5.604 ns/op BenchmarkSqrtLatency-4 13047506 9.200 ns/op BenchmarkSqrtIndirectLatency-4 12991455 9.193 ns/op BenchmarkSqrtGoLatency-4 1434184 84.43 ns/op BenchmarkSqrtPrime-4 62589 1915 ns/op BenchmarkTan-4 1605536 74.33 ns/op BenchmarkTanh-4 1802506 66.88 ns/op BenchmarkTrunc-4 21362955 5.589 ns/op BenchmarkY0-4 277816 415.5 ns/op BenchmarkY1-4 293818 422.5 ns/op BenchmarkYn-4 129291 912.8 ns/op BenchmarkFloat64bits-4 6664618 18.14 ns/op BenchmarkFloat64frombits-4 6332647 18.78 ns/op BenchmarkFloat32bits-4 6079039 19.76 ns/op BenchmarkFloat32frombits-4 6475275 18.99 ns/op BenchmarkFMA-4 20801917 6.550 ns/op PASS ok math 11.190s goos: linux goarch: amd64 pkg: math/big cpu: AMD EPYC 7B12 BenchmarkAddVV/1-4 14530059 8.229 ns/op 7777.46 MB/s BenchmarkAddVV/2-4 12116290 9.723 ns/op 13165.02 MB/s BenchmarkAddVV/3-4 12481652 9.390 ns/op 20447.11 MB/s BenchmarkAddVV/4-4 12418026 9.575 ns/op 26735.51 MB/s BenchmarkAddVV/5-4 11755887 10.09 ns/op 31712.89 MB/s BenchmarkAddVV/10-4 9095523 13.09 ns/op 48901.66 MB/s BenchmarkAddVV/100-4 2086808 57.46 ns/op 111380.81 MB/s BenchmarkAddVV/1000-4 231914 483.9 ns/op 132246.53 MB/s BenchmarkSubVV/1-4 14468043 8.216 ns/op 7789.51 MB/s BenchmarkSubVV/2-4 13212422 8.968 ns/op 14272.69 MB/s BenchmarkSubVV/3-4 12727746 9.477 ns/op 20259.60 MB/s BenchmarkSubVV/4-4 12506538 9.575 ns/op 26735.74 MB/s BenchmarkSubVV/5-4 11638044 10.09 ns/op 31715.87 MB/s BenchmarkSubVV/10-4 9010353 13.18 ns/op 48557.41 MB/s BenchmarkSubVV/100-4 2214121 57.43 ns/op 111444.42 MB/s BenchmarkSubVV/1000-4 247302 511.6 ns/op 125106.66 MB/s BenchmarkAddVW/1-4 15540819 7.287 ns/op 1097.87 MB/s BenchmarkAddVW/2-4 15200607 7.908 ns/op 2023.24 MB/s BenchmarkAddVW/3-4 12978807 8.528 ns/op 2814.24 MB/s BenchmarkAddVW/4-4 14175748 8.567 ns/op 3735.42 MB/s BenchmarkAddVW/5-4 12891094 9.101 ns/op 4395.24 MB/s BenchmarkAddVW/10-4 11131982 10.78 ns/op 7420.87 MB/s BenchmarkAddVW/100-4 334096 344.2 ns/op 2324.34 MB/s BenchmarkAddVW/1000-4 52866 2247 ns/op 3560.44 MB/s BenchmarkAddVWext/1-4 15739436 7.582 ns/op 1055.12 MB/s BenchmarkAddVWext/2-4 12666510 9.206 ns/op 1738.07 MB/s BenchmarkAddVWext/3-4 13461771 9.044 ns/op 2653.80 MB/s BenchmarkAddVWext/4-4 14220418 8.358 ns/op 3828.75 MB/s BenchmarkAddVWext/5-4 13128669 9.028 ns/op 4430.47 MB/s BenchmarkAddVWext/10-4 10891316 10.86 ns/op 7365.52 MB/s BenchmarkAddVWext/100-4 107654 1171 ns/op 683.36 MB/s BenchmarkAddVWext/1000-4 9619 11870 ns/op 673.98 MB/s BenchmarkSubVW/1-4 16424359 7.274 ns/op 1099.78 MB/s BenchmarkSubVW/2-4 15008253 7.613 ns/op 2101.80 MB/s BenchmarkSubVW/3-4 14078490 8.528 ns/op 2814.41 MB/s BenchmarkSubVW/4-4 14073289 8.538 ns/op 3747.75 MB/s BenchmarkSubVW/5-4 13175619 9.052 ns/op 4418.98 MB/s BenchmarkSubVW/10-4 10925547 10.96 ns/op 7298.53 MB/s BenchmarkSubVW/100-4 332457 344.4 ns/op 2323.20 MB/s BenchmarkSubVW/1000-4 52096 2259 ns/op 3541.80 MB/s BenchmarkSubVWext/1-4 14597542 7.538 ns/op 1061.29 MB/s BenchmarkSubVWext/2-4 14763740 7.910 ns/op 2022.87 MB/s BenchmarkSubVWext/3-4 13556103 8.499 ns/op 2823.89 MB/s BenchmarkSubVWext/4-4 13760803 8.461 ns/op 3781.96 MB/s BenchmarkSubVWext/5-4 13010257 9.231 ns/op 4333.40 MB/s BenchmarkSubVWext/10-4 11513970 11.05 ns/op 7239.48 MB/s BenchmarkSubVWext/100-4 96040 1163 ns/op 688.02 MB/s BenchmarkSubVWext/1000-4 9330 10861 ns/op 736.57 MB/s BenchmarkMulAddVWW/1-4 13538532 8.880 ns/op 7207.60 MB/s BenchmarkMulAddVWW/2-4 11866922 9.900 ns/op 12929.02 MB/s BenchmarkMulAddVWW/3-4 13355888 9.254 ns/op 20748.01 MB/s BenchmarkMulAddVWW/4-4 12308182 9.719 ns/op 26339.51 MB/s BenchmarkMulAddVWW/5-4 11308420 10.36 ns/op 30881.44 MB/s BenchmarkMulAddVWW/10-4 8423355 14.25 ns/op 44906.98 MB/s BenchmarkMulAddVWW/100-4 1346245 88.37 ns/op 72421.64 MB/s BenchmarkMulAddVWW/1000-4 139412 863.7 ns/op 74099.28 MB/s BenchmarkAddMulVVW/1-4 15319660 7.457 ns/op 8582.64 MB/s BenchmarkAddMulVVW/2-4 14260670 8.227 ns/op 15557.59 MB/s BenchmarkAddMulVVW/3-4 11440882 8.897 ns/op 21579.76 MB/s BenchmarkAddMulVVW/4-4 11789311 9.678 ns/op 26453.05 MB/s BenchmarkAddMulVVW/5-4 9562375 10.57 ns/op 30284.18 MB/s BenchmarkAddMulVVW/10-4 9150588 12.97 ns/op 49345.44 MB/s BenchmarkAddMulVVW/100-4 1693803 70.51 ns/op 90764.65 MB/s BenchmarkAddMulVVW/1000-4 181360 647.3 ns/op 98876.83 MB/s BenchmarkDivWVW/1-4 3508898 33.95 ns/op 1884.90 MB/s BenchmarkDivWVW/2-4 2194600 55.45 ns/op 2308.51 MB/s BenchmarkDivWVW/3-4 1585792 70.91 ns/op 2707.69 MB/s BenchmarkDivWVW/4-4 1322342 85.17 ns/op 3005.76 MB/s BenchmarkDivWVW/5-4 1251474 97.76 ns/op 3273.28 MB/s BenchmarkDivWVW/10-4 586860 199.5 ns/op 3208.45 MB/s BenchmarkDivWVW/100-4 72093 1657 ns/op 3863.56 MB/s BenchmarkDivWVW/1000-4 7264 16100 ns/op 3975.08 MB/s BenchmarkNonZeroShifts/1/shrVU-4 14001188 8.172 ns/op BenchmarkNonZeroShifts/1/shlVU-4 14259942 7.411 ns/op BenchmarkNonZeroShifts/2/shrVU-4 12015498 8.958 ns/op BenchmarkNonZeroShifts/2/shlVU-4 12823333 8.385 ns/op BenchmarkNonZeroShifts/3/shrVU-4 11092365 9.906 ns/op BenchmarkNonZeroShifts/3/shlVU-4 12308511 9.108 ns/op BenchmarkNonZeroShifts/4/shrVU-4 10171239 11.22 ns/op BenchmarkNonZeroShifts/4/shlVU-4 10197376 11.01 ns/op BenchmarkNonZeroShifts/5/shrVU-4 9360642 11.89 ns/op BenchmarkNonZeroShifts/5/shlVU-4 9692347 12.21 ns/op BenchmarkNonZeroShifts/10/shrVU-4 6773578 16.77 ns/op BenchmarkNonZeroShifts/10/shlVU-4 6829705 16.89 ns/op BenchmarkNonZeroShifts/100/shrVU-4 1000000 113.0 ns/op BenchmarkNonZeroShifts/100/shlVU-4 1000000 114.1 ns/op BenchmarkNonZeroShifts/1000/shrVU-4 119320 1004 ns/op BenchmarkNonZeroShifts/1000/shlVU-4 118686 1006 ns/op BenchmarkDecimalConversion-4 223 511708 ns/op BenchmarkFloatString/100-4 13396 8940 ns/op 392 B/op 8 allocs/op BenchmarkFloatString/1000-4 242 482973 ns/op 2918 B/op 10 allocs/op BenchmarkFloatString/10000-4 3 41778061 ns/op 60914 B/op 50 allocs/op BenchmarkFloatString/100000-4 1 4030269254 ns/op 830248 B/op 495 allocs/op BenchmarkFloatAdd/10-4 174487 675.0 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100-4 178455 685.6 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/1000-4 160231 742.9 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/10000-4 91816 1291 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100000-4 17188 7040 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10-4 237912 504.1 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100-4 241777 496.7 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/1000-4 217179 503.9 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10000-4 154664 731.8 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100000-4 42228 2840 ns/op 0 B/op 0 allocs/op BenchmarkParseFloatSmallExp-4 1933 59644 ns/op BenchmarkParseFloatLargeExp-4 462 256403 ns/op BenchmarkGCD10x10/WithoutXY-4 200611 572.8 ns/op BenchmarkGCD10x10/WithXY-4 60740 1964 ns/op BenchmarkGCD10x100/WithoutXY-4 112436 1059 ns/op BenchmarkGCD10x100/WithXY-4 18627 6604 ns/op BenchmarkGCD10x1000/WithoutXY-4 78033 1508 ns/op BenchmarkGCD10x1000/WithXY-4 15734 7962 ns/op BenchmarkGCD100x100/WithoutXY-4 29906 3900 ns/op BenchmarkGCD100x100/WithXY-4 11498 10336 ns/op BenchmarkGCD100x1000/WithoutXY-4 14007 8516 ns/op BenchmarkGCD100x1000/WithXY-4 6981 17587 ns/op BenchmarkGCD1000x1000/WithoutXY-4 2496 45458 ns/op BenchmarkGCD1000x1000/WithXY-4 1269 82900 ns/op BenchmarkHilbert-4 21 5120686 ns/op BenchmarkBinomial-4 15261 7697 ns/op BenchmarkQuoRem-4 25736 5754 ns/op BenchmarkExp-4 18 6332096 ns/op BenchmarkExpMont/Odd-4 145 784703 ns/op 2592 B/op 22 allocs/op BenchmarkExpMont/Even1-4 147 802555 ns/op 3360 B/op 38 allocs/op BenchmarkExpMont/Even2-4 135 831327 ns/op 3856 B/op 53 allocs/op BenchmarkExpMont/Even3-4 141 819549 ns/op 3858 B/op 53 allocs/op BenchmarkExpMont/Even4-4 100 1033185 ns/op 3863 B/op 53 allocs/op BenchmarkExpMont/Even8-4 133 831169 ns/op 3850 B/op 53 allocs/op BenchmarkExpMont/Even32-4 132 859066 ns/op 3858 B/op 53 allocs/op BenchmarkExpMont/Even64-4 156 716992 ns/op 3643 B/op 54 allocs/op BenchmarkExpMont/Even96-4 156 736006 ns/op 3763 B/op 51 allocs/op BenchmarkExpMont/Even128-4 178 659461 ns/op 3251 B/op 50 allocs/op BenchmarkExpMont/Even255-4 186 598814 ns/op 2931 B/op 47 allocs/op BenchmarkExpMont/SmallEven1-4 446 253340 ns/op 1312 B/op 34 allocs/op BenchmarkExpMont/SmallEven2-4 394 301284 ns/op 1731 B/op 46 allocs/op BenchmarkExpMont/SmallEven3-4 393 281762 ns/op 1732 B/op 47 allocs/op BenchmarkExpMont/SmallEven4-4 396 286083 ns/op 1748 B/op 47 allocs/op BenchmarkExp2-4 16 6359022 ns/op BenchmarkBitset-4 801789 135.3 ns/op BenchmarkBitsetNeg-4 456194 249.8 ns/op BenchmarkBitsetOrig-4 245451 475.8 ns/op BenchmarkBitsetNegOrig-4 170944 708.6 ns/op BenchmarkModSqrt225_Tonelli-4 134 870285 ns/op BenchmarkModSqrt225_3Mod4-4 439 264788 ns/op BenchmarkModSqrt231_Tonelli-4 129 900809 ns/op BenchmarkModSqrt231_5Mod8-4 366 321179 ns/op BenchmarkModInverse-4 13743 8997 ns/op BenchmarkSqrt-4 1898 62308 ns/op BenchmarkIntSqr/1-4 1453485 82.92 ns/op BenchmarkIntSqr/2-4 761604 147.6 ns/op BenchmarkIntSqr/3-4 637971 187.2 ns/op BenchmarkIntSqr/5-4 498476 236.4 ns/op BenchmarkIntSqr/8-4 339902 336.0 ns/op BenchmarkIntSqr/10-4 287409 402.0 ns/op BenchmarkIntSqr/20-4 61470 2111 ns/op BenchmarkIntSqr/30-4 45876 2776 ns/op BenchmarkIntSqr/50-4 28983 4259 ns/op BenchmarkIntSqr/80-4 16998 7106 ns/op BenchmarkIntSqr/100-4 13170 9090 ns/op BenchmarkIntSqr/200-4 4291 24324 ns/op BenchmarkIntSqr/300-4 2104 64562 ns/op BenchmarkIntSqr/500-4 909 128039 ns/op BenchmarkIntSqr/800-4 356 340213 ns/op BenchmarkIntSqr/1000-4 270 417879 ns/op BenchmarkDiv/20/10-4 450879 256.3 ns/op BenchmarkDiv/40/20-4 449658 260.2 ns/op BenchmarkDiv/100/50-4 435247 291.5 ns/op BenchmarkDiv/200/100-4 57884 2134 ns/op BenchmarkDiv/400/200-4 58429 2231 ns/op BenchmarkDiv/1000/500-4 47799 2792 ns/op BenchmarkDiv/2000/1000-4 36042 3894 ns/op BenchmarkDiv/20000/10000-4 1318 91455 ns/op BenchmarkDiv/200000/100000-4 31 3928836 ns/op BenchmarkDiv/2000000/1000000-4 1 106801700 ns/op BenchmarkDiv/20000000/10000000-4 1 3057882124 ns/op BenchmarkMul-4 6 18878498 ns/op BenchmarkNatMul/10-4 214974 534.5 ns/op BenchmarkNatMul/100-4 6620 16226 ns/op BenchmarkNatMul/1000-4 219 547049 ns/op BenchmarkZeroShifts/Shl-4 22287 5248 ns/op BenchmarkZeroShifts/ShlSame-4 5003528 21.87 ns/op BenchmarkZeroShifts/Shr-4 22524 5233 ns/op BenchmarkZeroShifts/ShrSame-4 5581212 21.70 ns/op BenchmarkExp3Power/0x10-4 187206 623.0 ns/op BenchmarkExp3Power/0x40-4 174012 729.6 ns/op BenchmarkExp3Power/0x100-4 104282 1169 ns/op BenchmarkExp3Power/0x400-4 51955 2347 ns/op BenchmarkExp3Power/0x1000-4 12075 10202 ns/op BenchmarkExp3Power/0x4000-4 2296 48635 ns/op BenchmarkExp3Power/0x10000-4 273 421767 ns/op BenchmarkExp3Power/0x40000-4 26 4566125 ns/op BenchmarkExp3Power/0x100000-4 3 48242688 ns/op BenchmarkExp3Power/0x400000-4 1 457307582 ns/op BenchmarkFibo-4 3 33505127 ns/op BenchmarkNatSqr/1-4 1000000 119.9 ns/op BenchmarkNatSqr/2-4 560571 205.0 ns/op BenchmarkNatSqr/3-4 478431 236.8 ns/op BenchmarkNatSqr/5-4 335940 331.0 ns/op BenchmarkNatSqr/8-4 279646 441.9 ns/op BenchmarkNatSqr/10-4 227865 534.6 ns/op BenchmarkNatSqr/20-4 57368 2129 ns/op BenchmarkNatSqr/30-4 43122 2771 ns/op BenchmarkNatSqr/50-4 26510 4620 ns/op BenchmarkNatSqr/80-4 15891 7712 ns/op BenchmarkNatSqr/100-4 11918 10053 ns/op BenchmarkNatSqr/200-4 4551 26165 ns/op BenchmarkNatSqr/300-4 1922 59400 ns/op BenchmarkNatSqr/500-4 956 122494 ns/op BenchmarkNatSqr/800-4 411 283620 ns/op BenchmarkNatSqr/1000-4 303 391084 ns/op BenchmarkNatSetBytes/8-4 950931 124.6 ns/op BenchmarkNatSetBytes/24-4 271909 401.3 ns/op BenchmarkNatSetBytes/128-4 71710 1676 ns/op BenchmarkNatSetBytes/7-4 955275 114.8 ns/op BenchmarkNatSetBytes/23-4 288349 397.3 ns/op BenchmarkNatSetBytes/127-4 72051 1684 ns/op BenchmarkScanPi-4 270 435708 ns/op BenchmarkStringPiParallel-4 826 139625 ns/op BenchmarkScan/10/Base2-4 43516 2795 ns/op BenchmarkScan/100/Base2-4 5362 22400 ns/op BenchmarkScan/1000/Base2-4 508 221616 ns/op BenchmarkScan/10/Base8-4 112705 1060 ns/op BenchmarkScan/100/Base8-4 13924 7800 ns/op BenchmarkScan/1000/Base8-4 1388 85966 ns/op BenchmarkScan/10/Base10-4 108390 995.3 ns/op BenchmarkScan/100/Base10-4 16756 7166 ns/op BenchmarkScan/1000/Base10-4 1528 70190 ns/op BenchmarkScan/10/Base16-4 132007 887.5 ns/op BenchmarkScan/100/Base16-4 18820 6360 ns/op BenchmarkScan/1000/Base16-4 1731 61294 ns/op BenchmarkString/10/Base2-4 212054 550.8 ns/op BenchmarkString/100/Base2-4 31288 3794 ns/op BenchmarkString/1000/Base2-4 2978 36833 ns/op BenchmarkString/10/Base8-4 393283 298.8 ns/op BenchmarkString/100/Base8-4 82521 1441 ns/op BenchmarkString/1000/Base8-4 9248 12938 ns/op BenchmarkString/10/Base10-4 223089 513.4 ns/op BenchmarkString/100/Base10-4 49671 2344 ns/op BenchmarkString/1000/Base10-4 5676 19851 ns/op BenchmarkString/10/Base16-4 407588 281.0 ns/op BenchmarkString/100/Base16-4 103256 1148 ns/op BenchmarkString/1000/Base16-4 12667 9324 ns/op BenchmarkLeafSize/0-4 55 2151605 ns/op BenchmarkLeafSize/1-4 487 222131 ns/op BenchmarkLeafSize/2-4 480 230220 ns/op BenchmarkLeafSize/3-4 367 307317 ns/op BenchmarkLeafSize/4-4 493 220238 ns/op BenchmarkLeafSize/5-4 328 349757 ns/op BenchmarkLeafSize/6-4 364 304547 ns/op BenchmarkLeafSize/7-4 363 284957 ns/op BenchmarkLeafSize/8-4 519 213460 ns/op BenchmarkLeafSize/9-4 282 423659 ns/op BenchmarkLeafSize/10-4 324 346944 ns/op BenchmarkLeafSize/11-4 345 340721 ns/op BenchmarkLeafSize/12-4 376 310614 ns/op BenchmarkLeafSize/13-4 350 336569 ns/op BenchmarkLeafSize/14-4 385 288069 ns/op BenchmarkLeafSize/15-4 445 263500 ns/op BenchmarkLeafSize/16-4 504 223096 ns/op BenchmarkLeafSize/32-4 499 218441 ns/op BenchmarkLeafSize/64-4 483 235977 ns/op BenchmarkProbablyPrime/n=0-4 12 9639350 ns/op BenchmarkProbablyPrime/n=1-4 10 11109463 ns/op BenchmarkProbablyPrime/n=5-4 7 16064008 ns/op BenchmarkProbablyPrime/n=10-4 5 21841590 ns/op BenchmarkProbablyPrime/n=20-4 3 34083356 ns/op BenchmarkProbablyPrime/Lucas-4 13 8466878 ns/op BenchmarkProbablyPrime/MillerRabinBase2-4 87 1294105 ns/op BenchmarkRatCmp-4 224940 532.8 ns/op BenchmarkFloatSqrt/64-4 22863 5267 ns/op 208 B/op 5 allocs/op BenchmarkFloatSqrt/128-4 14275 8355 ns/op 256 B/op 5 allocs/op BenchmarkFloatSqrt/256-4 10124 11815 ns/op 352 B/op 5 allocs/op BenchmarkFloatSqrt/1000-4 5248 22624 ns/op 1312 B/op 6 allocs/op BenchmarkFloatSqrt/10000-4 952 120367 ns/op 18159 B/op 10 allocs/op BenchmarkFloatSqrt/100000-4 73 1590605 ns/op 175560 B/op 20 allocs/op BenchmarkFloatSqrt/1000000-4 1 124309389 ns/op 3823880 B/op 652 allocs/op PASS ok math/big 48.405s goos: linux goarch: amd64 pkg: math/bits cpu: AMD EPYC 7B12 BenchmarkLeadingZeros-4 10785129 11.22 ns/op BenchmarkLeadingZeros8-4 10740475 11.31 ns/op BenchmarkLeadingZeros16-4 11935845 9.868 ns/op BenchmarkLeadingZeros32-4 11707179 10.17 ns/op BenchmarkLeadingZeros64-4 11546211 10.19 ns/op BenchmarkTrailingZeros-4 11384886 9.526 ns/op BenchmarkTrailingZeros8-4 8680178 12.90 ns/op BenchmarkTrailingZeros16-4 10713913 10.73 ns/op BenchmarkTrailingZeros32-4 11213558 9.926 ns/op BenchmarkTrailingZeros64-4 11247549 9.826 ns/op BenchmarkOnesCount-4 10820822 9.518 ns/op BenchmarkOnesCount8-4 12602707 9.550 ns/op BenchmarkOnesCount16-4 12956096 9.205 ns/op BenchmarkOnesCount32-4 12826050 9.178 ns/op BenchmarkOnesCount64-4 12918560 9.281 ns/op BenchmarkRotateLeft-4 12925881 9.228 ns/op BenchmarkRotateLeft8-4 12153991 9.502 ns/op BenchmarkRotateLeft16-4 12998942 9.192 ns/op BenchmarkRotateLeft32-4 12211714 10.14 ns/op BenchmarkRotateLeft64-4 12637378 9.570 ns/op BenchmarkReverse-4 18253450 6.550 ns/op BenchmarkReverse8-4 22113867 5.238 ns/op BenchmarkReverse16-4 21165886 5.344 ns/op BenchmarkReverse32-4 19593883 5.638 ns/op BenchmarkReverse64-4 18301219 6.250 ns/op BenchmarkReverseBytes-4 22627761 5.282 ns/op BenchmarkReverseBytes16-4 20295364 5.896 ns/op BenchmarkReverseBytes32-4 22407750 5.270 ns/op BenchmarkReverseBytes64-4 22511198 5.243 ns/op BenchmarkAdd-4 12931620 9.207 ns/op BenchmarkAdd32-4 12615710 9.579 ns/op BenchmarkAdd64-4 12965095 9.455 ns/op BenchmarkAdd64multiple-4 20000966 5.268 ns/op BenchmarkSub-4 12914432 9.185 ns/op BenchmarkSub32-4 11055812 9.678 ns/op BenchmarkSub64-4 12778532 9.197 ns/op BenchmarkSub64multiple-4 20373759 5.251 ns/op BenchmarkMul-4 11300445 10.06 ns/op BenchmarkMul32-4 11702089 9.635 ns/op BenchmarkMul64-4 11351210 10.52 ns/op BenchmarkDiv-4 12368787 9.506 ns/op BenchmarkDiv32-4 10986907 9.524 ns/op BenchmarkDiv64-4 11833922 10.71 ns/op PASS ok math/bits 5.635s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: math/cmplx cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAbs-4 10117272 10.68 ns/op BenchmarkAcos-4 383976 266.9 ns/op BenchmarkAcosh-4 407024 285.5 ns/op BenchmarkAsin-4 432315 268.1 ns/op BenchmarkAsinh-4 460897 263.5 ns/op BenchmarkAtan-4 713274 169.3 ns/op BenchmarkAtanh-4 730999 163.8 ns/op BenchmarkConj-4 16768072 6.016 ns/op BenchmarkCos-4 530835 206.7 ns/op BenchmarkCosh-4 580029 207.8 ns/op BenchmarkExp-4 755992 157.7 ns/op BenchmarkLog-4 756987 143.8 ns/op BenchmarkLog10-4 795718 147.1 ns/op BenchmarkPhase-4 1744784 70.08 ns/op BenchmarkPolar-4 1000000 103.0 ns/op BenchmarkPow-4 222843 521.8 ns/op BenchmarkRect-4 971166 116.0 ns/op BenchmarkSin-4 564704 208.8 ns/op BenchmarkSinh-4 554001 207.4 ns/op BenchmarkSqrt-4 1000000 114.9 ns/op BenchmarkTan-4 359344 332.2 ns/op BenchmarkTanh-4 386074 302.3 ns/op PASS ok math/cmplx 2.755s goos: linux goarch: amd64 pkg: math/rand cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkInt63Threadsafe-4 715106 159.2 ns/op BenchmarkInt63ThreadsafeParallel-4 466040 250.1 ns/op BenchmarkInt63Unthreadsafe-4 1208748 99.86 ns/op BenchmarkIntn1000-4 819067 139.3 ns/op BenchmarkInt63n1000-4 886106 131.5 ns/op BenchmarkInt31n1000-4 950853 121.3 ns/op BenchmarkFloat32-4 972747 121.7 ns/op BenchmarkFloat64-4 1000000 101.3 ns/op BenchmarkPerm3-4 185775 674.6 ns/op BenchmarkPerm30-4 21766 5246 ns/op BenchmarkPerm30ViaShuffle-4 25476 4741 ns/op BenchmarkShuffleOverhead-4 17712 6735 ns/op BenchmarkRead3-4 844975 132.9 ns/op BenchmarkRead64-4 74298 1580 ns/op BenchmarkRead1000-4 5096 23245 ns/op BenchmarkConcurrent-4 135828 1132 ns/op PASS ok math/rand 2.411s goos: linux goarch: amd64 pkg: mime cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkQEncodeWord-4 38826 2758 ns/op BenchmarkQDecodeWord-4 100868 1173 ns/op BenchmarkQDecodeHeader-4 101745 1197 ns/op BenchmarkTypeByExtension/.html-4 333048 305.4 ns/op BenchmarkTypeByExtension/.HTML-4 244443 417.2 ns/op BenchmarkTypeByExtension/.unused-4 297489 346.2 ns/op BenchmarkExtensionsByType/text/html-4 166310 773.7 ns/op BenchmarkExtensionsByType/text/html;_charset=utf-8-4 98727 1396 ns/op BenchmarkExtensionsByType/application/octet-stream-4 129619 909.5 ns/op PASS ok mime 1.402s goos: linux goarch: amd64 pkg: mime/quotedprintable cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkWriter-4 951 122188 ns/op PASS ok mime/quotedprintable 0.167s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: net cpu: AMD EPYC 7B12 BenchmarkGoLookupIP-4 135 909639 ns/op 8456 B/op 91 allocs/op BenchmarkGoLookupIPNoSuchHost-4 16 6615292 ns/op 19344 B/op 160 allocs/op BenchmarkGoLookupIPWithBrokenNameServer-4 1 5008804798 ns/op 158784 B/op 231 allocs/op BenchmarkDNSName-4 105802 954.4 ns/op BenchmarkInterfaces-4 1840 63137 ns/op BenchmarkInterfaceByIndex-4 2503 45738 ns/op BenchmarkInterfaceByName-4 1929 61125 ns/op BenchmarkInterfaceAddrs-4 1255 92550 ns/op BenchmarkInterfacesAndAddrs-4 4515 24606 ns/op BenchmarkInterfacesAndMulticastAddrs-4 662 166022 ns/op BenchmarkParseIP-4 6435 15911 ns/op BenchmarkParseIPValidIPv4-4 450735 251.2 ns/op BenchmarkParseIPValidIPv6-4 211666 566.7 ns/op BenchmarkIPString/IPv4-4 122727 975.9 ns/op 32 B/op 2 allocs/op BenchmarkIPString/IPv6-4 10000 10249 ns/op 216 B/op 11 allocs/op BenchmarkIPMaskString-4 60556 1983 ns/op BenchmarkIPEqual/IPv4-4 1219515 91.29 ns/op BenchmarkIPEqual/IPv6-4 1212430 98.34 ns/op BenchmarkSendFile/1024-4 1 223857008 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/2048-4 1 222782697 ns/op 0.01 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/4096-4 1 221719294 ns/op 0.02 MB/s 616 B/op 12 allocs/op BenchmarkSendFile/8192-4 1 222700544 ns/op 0.04 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/16384-4 1 222760803 ns/op 0.07 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/32768-4 5514 23000 ns/op 1424.69 MB/s 0 B/op 0 allocs/op BenchmarkSendFile/65536-4 2373 44373 ns/op 1476.95 MB/s 0 B/op 0 allocs/op BenchmarkSendFile/131072-4 1284 87514 ns/op 1497.73 MB/s 0 B/op 0 allocs/op BenchmarkSendFile/262144-4 512 202226 ns/op 1296.29 MB/s 1 B/op 0 allocs/op BenchmarkSendFile/524288-4 322 318632 ns/op 1645.43 MB/s 1 B/op 0 allocs/op BenchmarkSendFile/1048576-4 138 807502 ns/op 1298.54 MB/s 3 B/op 0 allocs/op BenchmarkSplice/tcp-to-tcp/1024-4 11436 8964 ns/op 114.23 MB/s BenchmarkSplice/tcp-to-tcp/2048-4 10068 11175 ns/op 183.27 MB/s BenchmarkSplice/tcp-to-tcp/4096-4 10214 10132 ns/op 404.28 MB/s BenchmarkSplice/tcp-to-tcp/8192-4 8184 14070 ns/op 582.24 MB/s BenchmarkSplice/tcp-to-tcp/16384-4 5724 19523 ns/op 839.20 MB/s BenchmarkSplice/tcp-to-tcp/32768-4 3520 30677 ns/op 1068.16 MB/s BenchmarkSplice/tcp-to-tcp/65536-4 2251 50185 ns/op 1305.88 MB/s BenchmarkSplice/tcp-to-tcp/131072-4 1195 95209 ns/op 1376.67 MB/s BenchmarkSplice/tcp-to-tcp/262144-4 601 174904 ns/op 1498.79 MB/s BenchmarkSplice/tcp-to-tcp/524288-4 340 324843 ns/op 1613.97 MB/s BenchmarkSplice/tcp-to-tcp/1048576-4 150 675177 ns/op 1553.04 MB/s BenchmarkSplice/unix-to-tcp/1024-4 22924 4615 ns/op 221.91 MB/s BenchmarkSplice/unix-to-tcp/2048-4 21291 5301 ns/op 386.32 MB/s BenchmarkSplice/unix-to-tcp/4096-4 16064 7050 ns/op 581.01 MB/s BenchmarkSplice/unix-to-tcp/8192-4 12826 8178 ns/op 1001.67 MB/s BenchmarkSplice/unix-to-tcp/16384-4 9078 14366 ns/op 1140.51 MB/s BenchmarkSplice/unix-to-tcp/32768-4 4698 28946 ns/op 1132.04 MB/s BenchmarkSplice/unix-to-tcp/65536-4 2266 46349 ns/op 1413.98 MB/s BenchmarkSplice/unix-to-tcp/131072-4 1465 87755 ns/op 1493.62 MB/s BenchmarkSplice/unix-to-tcp/262144-4 706 161207 ns/op 1626.14 MB/s BenchmarkSplice/unix-to-tcp/524288-4 348 305061 ns/op 1718.64 MB/s BenchmarkSplice/unix-to-tcp/1048576-4 186 588819 ns/op 1780.81 MB/s BenchmarkSpliceFile/tcp-to-file/1024-4 9936 10373 ns/op 98.72 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/2048-4 10443 11022 ns/op 185.81 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/4096-4 10054 16461 ns/op 248.84 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/8192-4 6370 16125 ns/op 508.04 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/16384-4 5311 21278 ns/op 770.01 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/32768-4 3932 29116 ns/op 1125.43 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/65536-4 2179 50034 ns/op 1309.82 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/131072-4 1605 74125 ns/op 1768.27 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/262144-4 758 202226 ns/op 1296.29 MB/s 1 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/524288-4 416 298464 ns/op 1756.62 MB/s 2 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/1048576-4 198 550857 ns/op 1903.54 MB/s 4 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/1024-4 30475 4464 ns/op 229.40 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/2048-4 24414 4892 ns/op 418.62 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/4096-4 18225 6793 ns/op 602.99 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/8192-4 10208 10187 ns/op 804.17 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/16384-4 7346 14798 ns/op 1107.15 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/32768-4 4502 25193 ns/op 1300.68 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/65536-4 1858 60789 ns/op 1078.09 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/131072-4 1489 80243 ns/op 1633.44 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/262144-4 823 156387 ns/op 1676.25 MB/s 1 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/524288-4 355 297535 ns/op 1762.11 MB/s 2 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/1048576-4 182 603131 ns/op 1738.56 MB/s 5 B/op 0 allocs/op BenchmarkTCP4OneShot-4 2248 49313 ns/op BenchmarkTCP4OneShotTimeout-4 1968 52948 ns/op BenchmarkTCP4Persistent-4 14295 7899 ns/op BenchmarkTCP4PersistentTimeout-4 14092 8172 ns/op BenchmarkTCP6OneShot-4 2590 45788 ns/op BenchmarkTCP6OneShotTimeout-4 2432 45434 ns/op BenchmarkTCP6Persistent-4 15571 7408 ns/op BenchmarkTCP6PersistentTimeout-4 16154 8043 ns/op BenchmarkTCP4ConcurrentReadWrite-4 42051 6106 ns/op BenchmarkTCP6ConcurrentReadWrite-4 24672 4228 ns/op BenchmarkSetReadDeadline-4 154303 784.3 ns/op BenchmarkReadWriteMsgUDPAddrPort-4 10000 10852 ns/op 0 B/op 0 allocs/op BenchmarkWriteToReadFromUDP-4 10000 14912 ns/op 16 B/op 1 allocs/op BenchmarkWriteToReadFromUDPAddrPort-4 12212 10027 ns/op 0 B/op 0 allocs/op PASS ok net 31.658s goos: linux goarch: amd64 pkg: net/http cpu: AMD EPYC 7B12 BenchmarkCookieString-4 30314 3898 ns/op 176 B/op 1 allocs/op BenchmarkReadSetCookies-4 11835 9987 ns/op 1168 B/op 21 allocs/op BenchmarkReadCookies-4 16098 7130 ns/op 1840 B/op 11 allocs/op BenchmarkHeaderWriteSubset-4 18284 6031 ns/op 45 B/op 0 allocs/op BenchmarkCopyValues-4 37315 3172 ns/op 736 B/op 11 allocs/op BenchmarkHexEscapeNonASCII-4 53595 2243 ns/op 192 B/op 2 allocs/op BenchmarkServerMatch-4 961724 113.3 ns/op BenchmarkReadRequestChrome-4 3915 27610 ns/op 22.13 MB/s 1844 B/op 14 allocs/op BenchmarkReadRequestCurl-4 11828 10043 ns/op 7.77 MB/s 939 B/op 9 allocs/op BenchmarkReadRequestApachebench-4 11281 10445 ns/op 7.85 MB/s 939 B/op 9 allocs/op BenchmarkReadRequestSiege-4 7260 14878 ns/op 10.15 MB/s 1036 B/op 11 allocs/op BenchmarkReadRequestWrk-4 17564 6803 ns/op 5.88 MB/s 876 B/op 7 allocs/op BenchmarkFileAndServer_1KB/h1-4 369 283905 ns/op 3.61 MB/s BenchmarkFileAndServer_1KB/https1-4 254 429982 ns/op 2.38 MB/s BenchmarkFileAndServer_1KB/h2-4 180 604359 ns/op 1.69 MB/s BenchmarkFileAndServer_16MB/h1-4 3 39402379 ns/op 425.79 MB/s BenchmarkFileAndServer_16MB/https1-4 2 84872742 ns/op 197.67 MB/s BenchmarkFileAndServer_16MB/h2-4 1 186440221 ns/op 89.99 MB/s BenchmarkFileAndServer_64MB/h1-4 1 140302042 ns/op 478.32 MB/s BenchmarkFileAndServer_64MB/https1-4 1 338514869 ns/op 198.24 MB/s BenchmarkFileAndServer_64MB/h2-4 1 804261896 ns/op 83.44 MB/s BenchmarkServeMux-4 267 456301 ns/op 17280 B/op 360 allocs/op BenchmarkServeMux_SkipServe-4 358 338665 ns/op 0 B/op 0 allocs/op BenchmarkClientServer/h1-4 435 265616 ns/op 5885 B/op 64 allocs/op BenchmarkClientServer/https1-4 303 373931 ns/op 6636 B/op 73 allocs/op BenchmarkClientServer/h2-4 210 511152 ns/op 9809 B/op 80 allocs/op BenchmarkClientServerParallel/4/h1-4 1347 90060 ns/op 10307 B/op 80 allocs/op BenchmarkClientServerParallel/4/https1-4 38 3589649 ns/op 88560 B/op 973 allocs/op --- BENCH: BenchmarkClientServerParallel/4/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:57196: read tcp 127.0.0.1:32809->127.0.0.1:57196: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:57218: write tcp 127.0.0.1:32809->127.0.0.1:57218: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:57208: write tcp 127.0.0.1:32809->127.0.0.1:57208: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35106: read tcp 127.0.0.1:40713->127.0.0.1:35106: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35282: read tcp 127.0.0.1:40713->127.0.0.1:35282: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35250: read tcp 127.0.0.1:40713->127.0.0.1:35250: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:34966: read tcp 127.0.0.1:40713->127.0.0.1:34966: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35268: write tcp 127.0.0.1:40713->127.0.0.1:35268: use of closed network connection BenchmarkClientServerParallel/4/h2-4 261 405067 ns/op 14556 B/op 144 allocs/op --- BENCH: BenchmarkClientServerParallel/4/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:52278: read tcp 127.0.0.1:36329->127.0.0.1:52278: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:52262: write tcp 127.0.0.1:36329->127.0.0.1:52262: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46116: read tcp 127.0.0.1:43915->127.0.0.1:46116: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46044: write tcp 127.0.0.1:43915->127.0.0.1:46044: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46146: read tcp 127.0.0.1:43915->127.0.0.1:46146: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46140: read tcp 127.0.0.1:43915->127.0.0.1:46140: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46160: read tcp 127.0.0.1:43915->127.0.0.1:46160: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46102: read tcp 127.0.0.1:43915->127.0.0.1:46102: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46094: write tcp 127.0.0.1:43915->127.0.0.1:46094: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46128: write tcp 127.0.0.1:43915->127.0.0.1:46128: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h1-4 834 131972 ns/op 15300 B/op 100 allocs/op BenchmarkClientServerParallel/64/https1-4 37 3972607 ns/op 91986 B/op 1005 allocs/op --- BENCH: BenchmarkClientServerParallel/64/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42824: read tcp 127.0.0.1:38187->127.0.0.1:42824: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42838: write tcp 127.0.0.1:38187->127.0.0.1:42838: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42844: write tcp 127.0.0.1:38187->127.0.0.1:42844: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42632: read tcp 127.0.0.1:42935->127.0.0.1:42632: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42646: read tcp 127.0.0.1:42935->127.0.0.1:42646: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42698: read tcp 127.0.0.1:42935->127.0.0.1:42698: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42706: read tcp 127.0.0.1:42935->127.0.0.1:42706: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42728: read tcp 127.0.0.1:42935->127.0.0.1:42728: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42654: read tcp 127.0.0.1:42935->127.0.0.1:42654: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42660: read tcp 127.0.0.1:42935->127.0.0.1:42660: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h2-4 28 3981970 ns/op 92271 B/op 1063 allocs/op --- BENCH: BenchmarkClientServerParallel/64/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41574: read tcp 127.0.0.1:35153->127.0.0.1:41574: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41562: write tcp 127.0.0.1:35153->127.0.0.1:41562: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41594: write tcp 127.0.0.1:35153->127.0.0.1:41594: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51404: read tcp 127.0.0.1:33629->127.0.0.1:51404: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51370: read tcp 127.0.0.1:33629->127.0.0.1:51370: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51420: read tcp 127.0.0.1:33629->127.0.0.1:51420: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51348: read tcp 127.0.0.1:33629->127.0.0.1:51348: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51372: read tcp 127.0.0.1:33629->127.0.0.1:51372: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51436: write tcp 127.0.0.1:33629->127.0.0.1:51436: use of closed network connection BenchmarkServer-4 194 530554 ns/op 2927 B/op 22 allocs/op BenchmarkClient-4 392 347459 ns/op 3763 B/op 45 allocs/op BenchmarkServerFakeConnNoKeepAlive-4 828 154393 ns/op 7360 B/op 54 allocs/op BenchmarkServerFakeConnWithKeepAlive-4 1318 76324 ns/op 3119 B/op 24 allocs/op BenchmarkServerFakeConnWithKeepAliveLite-4 1610 71615 ns/op 1930 B/op 14 allocs/op BenchmarkServerHandlerTypeLen-4 1431 76111 ns/op 2775 B/op 21 allocs/op BenchmarkServerHandlerNoLen-4 1454 70637 ns/op 2717 B/op 19 allocs/op BenchmarkServerHandlerNoType-4 1734 64395 ns/op 2758 B/op 20 allocs/op BenchmarkServerHandlerNoHeader-4 1599 67175 ns/op 1923 B/op 14 allocs/op BenchmarkServerHijack-4 1155 96680 ns/op 16704 B/op 50 allocs/op BenchmarkCloseNotifier/h1-4 414 281477 ns/op 6095 B/op 52 allocs/op BenchmarkResponseStatusLine-4 532482 205.5 ns/op 0 B/op 0 allocs/op PASS ok net/http 10.074s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: net/http/httputil cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkServeHTTP-4 4603 25989 ns/op 34073 B/op 12 allocs/op PASS ok net/http/httputil 0.220s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: net/netip cpu: AMD EPYC 7B12 BenchmarkIPNextPrev-4 106240 1165 ns/op BenchmarkBinaryMarshalRoundTrip/ipv4-4 530820 198.6 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6-4 221728 533.6 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6+zone-4 68952 1780 ns/op BenchmarkStdIPv4-4 143506 803.8 ns/op 16 B/op 1 allocs/op BenchmarkIPv4-4 123889 1004 ns/op 0 B/op 0 allocs/op BenchmarkIPv4_inline-4 119246 983.3 ns/op 0 B/op 0 allocs/op BenchmarkStdIPv6-4 81001 1341 ns/op 16 B/op 1 allocs/op BenchmarkIPv6-4 82768 1438 ns/op 0 B/op 0 allocs/op BenchmarkIPv4Contains-4 1779331 61.44 ns/op 0 B/op 0 allocs/op BenchmarkIPv6Contains-4 1785454 69.46 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v4-4 1462462 83.12 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6-4 294735 408.0 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_ellipsis-4 328324 374.7 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_v4-4 282139 397.7 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_zone-4 84939 1410 ns/op 0 B/op 0 allocs/op BenchmarkStdParseIP/v4-4 331562 358.8 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6-4 148458 788.4 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_ellipsis-4 155071 752.1 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_v4-4 147846 784.5 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_zone-4 75421 1588 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v4-4 381763 307.9 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v6-4 134073 889.5 ns/op 48 B/op 1 allocs/op BenchmarkIPString/v6_ellipsis-4 170892 694.8 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_v4-4 281194 443.9 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_zone-4 160917 722.1 ns/op 24 B/op 1 allocs/op BenchmarkIPStringExpanded/v4-4 319114 370.8 ns/op 16 B/op 1 allocs/op BenchmarkIPStringExpanded/v6-4 184972 644.9 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_ellipsis-4 172654 628.5 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_v4-4 183141 656.8 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_zone-4 137718 855.7 ns/op 128 B/op 2 allocs/op BenchmarkIPMarshalText-4 491212 231.8 ns/op 16 B/op 1 allocs/op BenchmarkAddrPortString/v4-4 163188 731.2 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortString/v6-4 100560 1178 ns/op 112 B/op 3 allocs/op BenchmarkAddrPortString/v6_ellipsis-4 121309 975.9 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_v4-4 161246 721.4 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_zone-4 114811 1024 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortMarshalText/v4-4 275358 423.1 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6-4 122463 971.0 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_ellipsis-4 150696 791.3 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_v4-4 186535 577.2 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_zone-4 136963 853.8 ns/op 64 B/op 1 allocs/op BenchmarkPrefixMasking/IPv4_/32-4 1202565 96.32 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/17-4 1000000 100.5 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/0-4 1229145 103.2 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/128-4 1000000 103.3 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/65-4 992900 117.9 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/0-4 1000000 102.8 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/128-4 1000000 102.6 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/65-4 976029 102.6 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/0-4 1000000 101.4 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMarshalText-4 369105 307.2 ns/op 24 B/op 1 allocs/op BenchmarkParseAddrPort/v4-4 611794 187.9 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6-4 214152 524.8 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_ellipsis-4 241375 495.9 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_v4-4 228211 511.7 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_zone-4 75153 1564 ns/op 0 B/op 0 allocs/op BenchmarkAs16-4 602360 193.9 ns/op PASS ok net/netip 7.737s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. 2023/03/23 17:50:58 Test RPC server listening on 127.0.0.1:36359 2023/03/23 17:50:58 Test HTTP RPC server listening on 127.0.0.1:33643 goos: linux goarch: amd64 pkg: net/rpc cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEndToEnd-4 1328 78772 ns/op BenchmarkEndToEndHTTP-4 1269 81507 ns/op BenchmarkEndToEndAsync-4 3086 33100 ns/op BenchmarkEndToEndAsyncHTTP-4 3516 35604 ns/op PASS ok net/rpc 0.761s goos: linux goarch: amd64 pkg: net/textproto cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadMIMEHeader/client_headers-4 3333 31760 ns/op BenchmarkReadMIMEHeader/server_headers-4 4927 21946 ns/op BenchmarkUncommon-4 25800 4540 ns/op 480 B/op 5 allocs/op PASS ok net/textproto 0.513s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: net/url cpu: AMD EPYC 7B12 BenchmarkString-4 4760 24463 ns/op 1616 B/op 60 allocs/op BenchmarkResolvePath-4 98547 1182 ns/op 32 B/op 2 allocs/op BenchmarkQueryEscape/#00-4 543268 212.6 ns/op 16 B/op 1 allocs/op BenchmarkQueryEscape/#01-4 108840 1120 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#02-4 186943 610.5 ns/op 32 B/op 1 allocs/op BenchmarkQueryEscape/#03-4 95541 1265 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#04-4 18156 6726 ns/op 832 B/op 2 allocs/op BenchmarkPathEscape/#00-4 395478 291.5 ns/op 16 B/op 1 allocs/op BenchmarkPathEscape/#01-4 106220 1170 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#02-4 188962 620.6 ns/op 32 B/op 1 allocs/op BenchmarkPathEscape/#03-4 94394 1287 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#04-4 19372 6054 ns/op 704 B/op 2 allocs/op BenchmarkQueryUnescape/#00-4 201970 598.5 ns/op 16 B/op 1 allocs/op BenchmarkQueryUnescape/#01-4 82682 1411 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#02-4 81598 1446 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#03-4 37848 3162 ns/op 64 B/op 1 allocs/op BenchmarkQueryUnescape/#04-4 6261 17170 ns/op 320 B/op 1 allocs/op BenchmarkPathUnescape/#00-4 198487 592.7 ns/op 16 B/op 1 allocs/op BenchmarkPathUnescape/#01-4 83389 1414 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#02-4 82568 1449 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#03-4 37790 3582 ns/op 64 B/op 1 allocs/op BenchmarkPathUnescape/#04-4 6234 17348 ns/op 320 B/op 1 allocs/op PASS ok net/url 3.174s goos: linux goarch: amd64 pkg: os cpu: AMD EPYC 7B12 BenchmarkExpand/noop-4 3244773 35.63 ns/op 0 B/op 0 allocs/op BenchmarkExpand/multiple-4 176887 657.7 ns/op 48 B/op 2 allocs/op BenchmarkReaddirname-4 970 117951 ns/op --- BENCH: BenchmarkReaddirname-4 os_test.go:501: benchmarkReaddirname ".": 122 entries os_test.go:501: benchmarkReaddirname ".": 122 entries os_test.go:501: benchmarkReaddirname ".": 122 entries BenchmarkReaddir-4 334 350654 ns/op --- BENCH: BenchmarkReaddir-4 os_test.go:518: benchmarkReaddir ".": 122 entries os_test.go:518: benchmarkReaddir ".": 122 entries os_test.go:518: benchmarkReaddir ".": 122 entries BenchmarkReadDir-4 778 149921 ns/op --- BENCH: BenchmarkReadDir-4 os_test.go:535: benchmarkReadDir ".": 122 entries os_test.go:535: benchmarkReadDir ".": 122 entries os_test.go:535: benchmarkReadDir ".": 122 entries BenchmarkStatDot-4 82928 1398 ns/op BenchmarkStatFile-4 64983 1771 ns/op BenchmarkStatDir-4 68806 1700 ns/op BenchmarkLstatDot-4 81609 1406 ns/op BenchmarkLstatFile-4 64210 1777 ns/op BenchmarkLstatDir-4 68925 1696 ns/op PASS ok os 1.549s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: os/exec cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExecHostname-4 126 915550 ns/op 6561 B/op 29 allocs/op PASS ok os/exec 0.246s goos: linux goarch: amd64 pkg: os/user cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCurrent-4 384910 292.1 ns/op PASS ok os/user 0.237s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: reflect cpu: AMD EPYC 7B12 BenchmarkBool-4 4098064 28.54 ns/op BenchmarkString-4 2439352 46.50 ns/op BenchmarkBytes-4 2019808 60.96 ns/op BenchmarkNamedBytes-4 762489 144.2 ns/op BenchmarkBytesArray-4 681740 174.6 ns/op BenchmarkSliceLen-4 2698088 44.64 ns/op BenchmarkMapLen-4 1367972 86.29 ns/op BenchmarkStringLen-4 1687335 70.86 ns/op BenchmarkArrayLen-4 1581589 76.31 ns/op BenchmarkSliceCap-4 2605665 43.63 ns/op BenchmarkDeepEqual/int8-4 668552 181.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int8-4 124189 1023 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int16-4 501798 227.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int16-4 111847 1077 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int32-4 479308 236.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int32-4 112142 1057 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int64-4 508928 233.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int64-4 110266 1059 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int-4 487605 227.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int-4 118060 1095 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint8-4 701323 170.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8-4 131101 858.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint16-4 501562 233.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint16-4 105030 1087 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint32-4 488300 223.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint32-4 111518 1081 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint64-4 499599 229.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint64-4 106767 1069 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint-4 513315 226.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint-4 106485 1096 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uintptr-4 503066 237.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uintptr-4 106071 1124 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float32-4 489073 234.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float32-4 108016 1074 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float64-4 515526 235.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float64-4 108825 1072 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex64-4 505820 234.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex64-4 110635 1055 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex128-4 543886 225.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex128-4 111783 1064 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/bool-4 614228 180.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]bool-4 110684 1068 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/string-4 533712 220.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]string-4 110878 1069 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8#01-4 138738 847.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][]uint8-4 66349 1718 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[6]uint8-4 70383 1612 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][6]uint8-4 48308 2512 ns/op 0 B/op 0 allocs/op BenchmarkIsZero/ArrayComparable-4 264691 423.4 ns/op BenchmarkIsZero/ArrayIncomparable-4 43515 2740 ns/op BenchmarkIsZero/StructComparable-4 869823 133.4 ns/op BenchmarkIsZero/StructIncomparable-4 181450 624.3 ns/op BenchmarkSetZero/Bool/Direct-4 4220169 28.75 ns/op BenchmarkSetZero/Bool/CachedZero-4 1568095 72.71 ns/op BenchmarkSetZero/Bool/NewZero-4 1247733 96.19 ns/op BenchmarkSetZero/Int/Direct-4 2343147 51.02 ns/op BenchmarkSetZero/Int/CachedZero-4 1683723 71.59 ns/op BenchmarkSetZero/Int/NewZero-4 1253112 92.57 ns/op BenchmarkSetZero/Uint/Direct-4 2218669 51.00 ns/op BenchmarkSetZero/Uint/CachedZero-4 1668604 71.64 ns/op BenchmarkSetZero/Uint/NewZero-4 1257838 96.32 ns/op BenchmarkSetZero/Float/Direct-4 2362857 50.72 ns/op BenchmarkSetZero/Float/CachedZero-4 1660687 71.38 ns/op BenchmarkSetZero/Float/NewZero-4 1277715 95.06 ns/op BenchmarkSetZero/Complex/Direct-4 2257255 53.81 ns/op BenchmarkSetZero/Complex/CachedZero-4 1658869 71.64 ns/op BenchmarkSetZero/Complex/NewZero-4 1268569 98.50 ns/op BenchmarkSetZero/Array/Direct-4 3897459 30.88 ns/op BenchmarkSetZero/Array/CachedZero-4 1613282 71.14 ns/op BenchmarkSetZero/Array/NewZero-4 1289018 93.51 ns/op BenchmarkSetZero/Chan/Direct-4 2294486 49.11 ns/op BenchmarkSetZero/Chan/CachedZero-4 1300572 93.39 ns/op BenchmarkSetZero/Chan/NewZero-4 1000000 113.2 ns/op BenchmarkSetZero/Func/Direct-4 2437420 48.83 ns/op BenchmarkSetZero/Func/CachedZero-4 1276118 93.37 ns/op BenchmarkSetZero/Func/NewZero-4 974444 123.3 ns/op BenchmarkSetZero/Interface/Direct-4 2026370 56.25 ns/op BenchmarkSetZero/Interface/CachedZero-4 1659088 71.19 ns/op BenchmarkSetZero/Interface/NewZero-4 1259060 96.30 ns/op BenchmarkSetZero/Map/Direct-4 2433231 49.27 ns/op BenchmarkSetZero/Map/CachedZero-4 1210249 96.96 ns/op BenchmarkSetZero/Map/NewZero-4 989568 113.2 ns/op BenchmarkSetZero/Pointer/Direct-4 2412180 49.27 ns/op BenchmarkSetZero/Pointer/CachedZero-4 1284466 91.13 ns/op BenchmarkSetZero/Pointer/NewZero-4 1000000 113.4 ns/op BenchmarkSetZero/Slice/Direct-4 1919832 60.03 ns/op BenchmarkSetZero/Slice/CachedZero-4 1675966 71.64 ns/op BenchmarkSetZero/Slice/NewZero-4 1211530 95.05 ns/op BenchmarkSetZero/String/Direct-4 2397405 50.31 ns/op BenchmarkSetZero/String/CachedZero-4 1675688 72.52 ns/op BenchmarkSetZero/String/NewZero-4 1285471 95.92 ns/op BenchmarkSetZero/Struct/Direct-4 3731563 31.25 ns/op BenchmarkSetZero/Struct/CachedZero-4 1553554 71.43 ns/op BenchmarkSetZero/Struct/NewZero-4 1325079 90.39 ns/op BenchmarkSelect/1-4 184977 633.1 ns/op 80 B/op 5 allocs/op BenchmarkSelect/4-4 103924 1164 ns/op 208 B/op 8 allocs/op BenchmarkSelect/8-4 53060 2224 ns/op 672 B/op 13 allocs/op BenchmarkCall-4 177582 655.2 ns/op 0 B/op 0 allocs/op BenchmarkCallMethod-4 159778 748.1 ns/op 0 B/op 0 allocs/op BenchmarkCallArgCopy/size=128-4 80682 1304 ns/op 98.14 MB/s BenchmarkCallArgCopy/size=256-4 94603 1359 ns/op 188.32 MB/s BenchmarkCallArgCopy/size=1024-4 77026 1421 ns/op 720.78 MB/s BenchmarkCallArgCopy/size=4096-4 43425 3047 ns/op 1344.19 MB/s BenchmarkCallArgCopy/size=65536-4 4580 25091 ns/op 2611.95 MB/s BenchmarkPtrTo-4 537544 247.7 ns/op BenchmarkFieldByName1-4 831574 141.1 ns/op BenchmarkFieldByName2-4 77841 1549 ns/op BenchmarkFieldByName3-4 10297 12166 ns/op BenchmarkInterfaceBig-4 4863266 24.27 ns/op BenchmarkInterfaceSmall-4 4895391 23.94 ns/op BenchmarkNew-4 2142660 58.42 ns/op BenchmarkMap/StringKeys/MapIndex-4 3355 34158 ns/op 0 B/op 0 allocs/op BenchmarkMap/StringKeys/SetMapIndex-4 3213 35969 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/MapIndex-4 3339 34766 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/SetMapIndex-4 3110 36928 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/MapIndex-4 3579 33410 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/SetMapIndex-4 3295 35837 ns/op 0 B/op 0 allocs/op BenchmarkMapIterNext-4 256162 443.3 ns/op PASS ok reflect 18.513s goos: linux goarch: amd64 pkg: regexp cpu: AMD EPYC 7B12 BenchmarkFind-4 12572 8833 ns/op 9431 B/op 1 allocs/op BenchmarkFindAllNoMatches-4 19083 6469 ns/op 9349 B/op 1 allocs/op BenchmarkFindString-4 13216 9305 ns/op 9230 B/op 1 allocs/op BenchmarkFindSubmatch-4 12378 9473 ns/op 9174 B/op 2 allocs/op BenchmarkFindStringSubmatch-4 12405 9049 ns/op 9530 B/op 2 allocs/op BenchmarkLiteral-4 19076 5937 ns/op BenchmarkNotLiteral-4 4100 25968 ns/op BenchmarkMatchClass-4 3169 32782 ns/op BenchmarkMatchClass_InRange-4 3270 32658 ns/op BenchmarkReplaceAll-4 2962 38420 ns/op BenchmarkAnchoredLiteralShortNonMatch-4 20424 5478 ns/op BenchmarkAnchoredLiteralLongNonMatch-4 42216 2894 ns/op BenchmarkAnchoredShortMatch-4 18187 7095 ns/op BenchmarkAnchoredLongMatch-4 20940 5799 ns/op BenchmarkOnePassShortA-4 21158 5732 ns/op BenchmarkNotOnePassShortA-4 9315 13243 ns/op BenchmarkOnePassShortB-4 28753 4216 ns/op BenchmarkNotOnePassShortB-4 10000 10279 ns/op BenchmarkOnePassLongPrefix-4 89479 1399 ns/op BenchmarkOnePassLongNotPrefix-4 31887 3968 ns/op BenchmarkMatchParallelShared-4 23035 5325 ns/op BenchmarkMatchParallelCopied-4 22766 4973 ns/op BenchmarkQuoteMetaAll-4 177014 645.4 ns/op 21.69 MB/s BenchmarkQuoteMetaNone-4 338258 320.1 ns/op 81.24 MB/s BenchmarkCompile/Onepass-4 4192 27112 ns/op 4144 B/op 52 allocs/op BenchmarkCompile/Medium-4 1678 67671 ns/op 9704 B/op 112 allocs/op BenchmarkCompile/Hard-4 193 610673 ns/op 84760 B/op 424 allocs/op BenchmarkMatch/Easy0/16-4 4330718 28.35 ns/op 564.46 MB/s BenchmarkMatch/Easy0/32-4 22092 5702 ns/op 5.61 MB/s BenchmarkMatch/Easy0/1K-4 8060 15671 ns/op 65.34 MB/s BenchmarkMatch/Easy0i/16-4 4639375 26.19 ns/op 610.85 MB/s BenchmarkMatch/Easy0i/32-4 5522 19250 ns/op 1.66 MB/s BenchmarkMatch/Easy0i/1K-4 260 426509 ns/op 2.40 MB/s BenchmarkMatch/Easy1/16-4 4360351 27.36 ns/op 584.88 MB/s BenchmarkMatch/Easy1/32-4 20776 5532 ns/op 5.78 MB/s BenchmarkMatch/Easy1/1K-4 4953 22640 ns/op 45.23 MB/s BenchmarkMatch/Medium/16-4 4365849 27.25 ns/op 587.06 MB/s BenchmarkMatch/Medium/32-4 6297 17470 ns/op 1.83 MB/s BenchmarkMatch/Medium/1K-4 300 392879 ns/op 2.61 MB/s BenchmarkMatch/Hard/16-4 4332274 28.51 ns/op 561.16 MB/s BenchmarkMatch/Hard/32-4 3951 27319 ns/op 1.17 MB/s BenchmarkMatch/Hard/1K-4 181 636433 ns/op 1.61 MB/s BenchmarkMatch/Hard1/16-4 1651 74563 ns/op 0.21 MB/s BenchmarkMatch/Hard1/32-4 867 139539 ns/op 0.23 MB/s BenchmarkMatch/Hard1/1K-4 24 4250416 ns/op 0.24 MB/s BenchmarkMatch_onepass_regex/16-4 32376 3713 ns/op 4.31 MB/s 24 B/op 0 allocs/op BenchmarkMatch_onepass_regex/32-4 18856 6298 ns/op 5.08 MB/s 23 B/op 0 allocs/op BenchmarkMatch_onepass_regex/1K-4 652 167126 ns/op 6.13 MB/s 23 B/op 0 allocs/op PASS ok regexp 7.521s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: regexp/syntax cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEmptyOpContext-4 709434 167.2 ns/op BenchmarkIsWordChar-4 176125 669.6 ns/op PASS ok regexp/syntax 1.320s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: runtime cpu: AMD EPYC 7B12 BenchmarkCallers/cached-4 69930 1657 ns/op BenchmarkCallers/inlined-4 62838 1925 ns/op BenchmarkCallers/no-cache-4 14858 8026 ns/op BenchmarkMakeChan/Byte-4 1000000 100.9 ns/op BenchmarkMakeChan/Int-4 1000000 120.1 ns/op BenchmarkMakeChan/Ptr-4 604884 189.8 ns/op BenchmarkMakeChan/Struct/0-4 1367169 93.44 ns/op BenchmarkMakeChan/Struct/32-4 633308 208.2 ns/op BenchmarkMakeChan/Struct/40-4 466183 251.1 ns/op BenchmarkChanNonblocking-4 11924301 9.174 ns/op BenchmarkSelectUncontended-4 1390954 108.8 ns/op BenchmarkSelectSyncContended-4 47877 2372 ns/op BenchmarkSelectAsyncContended-4 139116 953.8 ns/op BenchmarkSelectNonblock-4 7494805 15.30 ns/op BenchmarkChanUncontended-4 15920 15155 ns/op BenchmarkChanContended-4 1123 106002 ns/op BenchmarkChanSync-4 208736 717.0 ns/op BenchmarkChanSyncWork-4 10000 12134 ns/op BenchmarkChanProdCons0-4 75501 1509 ns/op BenchmarkChanProdCons10-4 132333 1122 ns/op BenchmarkChanProdCons100-4 137964 981.4 ns/op BenchmarkChanProdConsWork0-4 71038 1826 ns/op BenchmarkChanProdConsWork10-4 74842 1454 ns/op BenchmarkChanProdConsWork100-4 105706 1219 ns/op BenchmarkSelectProdCons-4 61130 1925 ns/op BenchmarkReceiveDataFromClosedChan-4 934978 119.4 ns/op BenchmarkChanCreation-4 269019 509.3 ns/op BenchmarkChanSem-4 130605 1006 ns/op BenchmarkChanPopular-4 99 1108149 ns/op BenchmarkChanClosed-4 1000000 106.0 ns/op BenchmarkCallClosure-4 7775901 15.19 ns/op BenchmarkCallClosure1-4 8247040 15.08 ns/op BenchmarkCallClosure2-4 1466564 84.76 ns/op BenchmarkCallClosure3-4 1720486 72.13 ns/op BenchmarkCallClosure4-4 1425100 83.00 ns/op BenchmarkComplex128DivNormal-4 12247017 9.761 ns/op BenchmarkComplex128DivNisNaN-4 10084852 12.71 ns/op BenchmarkComplex128DivDisNaN-4 9071389 13.00 ns/op BenchmarkComplex128DivNisInf-4 12987726 9.827 ns/op BenchmarkComplex128DivDisInf-4 7040350 16.90 ns/op BenchmarkSetTypePtr-4 43617789 2.668 ns/op 2998.25 MB/s BenchmarkSetTypePtr8-4 13048339 9.180 ns/op 6971.93 MB/s BenchmarkSetTypePtr16-4 13019106 9.229 ns/op 13869.30 MB/s BenchmarkSetTypePtr32-4 12362299 9.228 ns/op 27741.00 MB/s BenchmarkSetTypePtr64-4 11247136 9.190 ns/op 55711.36 MB/s BenchmarkSetTypePtr126-4 8208937 14.62 ns/op 68952.01 MB/s BenchmarkSetTypePtr128-4 8497858 13.96 ns/op 73355.35 MB/s BenchmarkSetTypePtrSlice-4 1000000 102.8 ns/op 79720.97 MB/s BenchmarkSetTypeNode1-4 12955112 9.212 ns/op 2605.17 MB/s BenchmarkSetTypeNode1Slice-4 5643716 21.35 ns/op 35976.53 MB/s BenchmarkSetTypeNode8-4 13047105 9.168 ns/op 8725.64 MB/s BenchmarkSetTypeNode8Slice-4 2696774 44.63 ns/op 57355.50 MB/s BenchmarkSetTypeNode64-4 8267706 14.72 ns/op 35878.15 MB/s BenchmarkSetTypeNode64Slice-4 316537 384.1 ns/op 43987.34 MB/s BenchmarkSetTypeNode64Dead-4 10352696 11.60 ns/op 45499.77 MB/s BenchmarkSetTypeNode64DeadSlice-4 348664 331.8 ns/op 50923.08 MB/s BenchmarkSetTypeNode124-4 8149276 14.77 ns/op 68267.01 MB/s BenchmarkSetTypeNode124Slice-4 250196 466.5 ns/op 69144.60 MB/s BenchmarkSetTypeNode126-4 8413390 14.06 ns/op 72851.22 MB/s BenchmarkSetTypeNode126Slice-4 252871 472.3 ns/op 69384.27 MB/s BenchmarkSetTypeNode128-4 5899892 20.23 ns/op 51417.42 MB/s BenchmarkSetTypeNode128Slice-4 177920 609.0 ns/op 54650.01 MB/s BenchmarkSetTypeNode130-4 5875272 20.36 ns/op 51874.60 MB/s BenchmarkSetTypeNode130Slice-4 193167 618.9 ns/op 54597.62 MB/s BenchmarkSetTypeNode1024-4 1000000 104.1 ns/op 78875.80 MB/s BenchmarkSetTypeNode1024Slice-4 34930 3433 ns/op 76503.39 MB/s BenchmarkAllocation-4 4304 29724 ns/op BenchmarkReadMemStats-4 4710 27059 ns/op BenchmarkReadMemStatsLatency-4 1 65109 p50-ns 65109 p90-ns 65109 p99-ns BenchmarkWriteBarrier-4 3306174 37.74 ns/op BenchmarkBulkWriteBarrier-4 10490553 12.01 ns/op BenchmarkScanStackNoLocals-4 3 35946900 ns/op BenchmarkMSpanCountAlloc/bits=64-4 15174865 8.380 ns/op BenchmarkMSpanCountAlloc/bits=128-4 13478599 10.18 ns/op BenchmarkMSpanCountAlloc/bits=256-4 11485394 10.85 ns/op BenchmarkMSpanCountAlloc/bits=512-4 8418925 14.61 ns/op BenchmarkMSpanCountAlloc/bits=1024-4 6276457 19.80 ns/op BenchmarkHash5-4 7991098 14.26 ns/op 350.65 MB/s BenchmarkHash16-4 8422477 14.25 ns/op 1122.42 MB/s BenchmarkHash64-4 8571318 15.26 ns/op 4192.79 MB/s BenchmarkHash1024-4 3648674 32.77 ns/op 31250.96 MB/s BenchmarkHash65536-4 86842 1428 ns/op 45898.43 MB/s BenchmarkAlignedLoad-4 10344790 11.27 ns/op BenchmarkUnalignedLoad-4 9821252 10.67 ns/op BenchmarkEqEfaceConcrete-4 8642824 13.46 ns/op BenchmarkEqIfaceConcrete-4 7705749 14.29 ns/op BenchmarkNeEfaceConcrete-4 8181850 14.90 ns/op BenchmarkNeIfaceConcrete-4 8459402 13.84 ns/op BenchmarkConvT2EByteSized/bool-4 8273625 14.39 ns/op BenchmarkConvT2EByteSized/uint8-4 7888520 15.01 ns/op BenchmarkConvT2ESmall-4 7152054 15.98 ns/op BenchmarkConvT2EUintptr-4 6414818 17.01 ns/op BenchmarkConvT2ELarge-4 1000000 101.4 ns/op BenchmarkConvT2ISmall-4 6851908 17.48 ns/op BenchmarkConvT2IUintptr-4 6227475 19.09 ns/op BenchmarkConvT2ILarge-4 1242866 96.88 ns/op BenchmarkConvI2E-4 6878203 18.89 ns/op BenchmarkConvI2I-4 5390270 23.54 ns/op BenchmarkAssertE2T-4 5312540 20.78 ns/op BenchmarkAssertE2TLarge-4 3187671 35.58 ns/op BenchmarkAssertE2I-4 5281568 20.79 ns/op BenchmarkAssertI2T-4 6214076 19.80 ns/op BenchmarkAssertI2I-4 5587028 21.83 ns/op BenchmarkAssertI2E-4 7610930 15.15 ns/op BenchmarkAssertE2E-4 7794967 14.56 ns/op BenchmarkAssertE2T2-4 4477986 26.27 ns/op BenchmarkAssertE2T2Blank-4 5484615 20.93 ns/op BenchmarkAssertI2E2-4 5560706 20.69 ns/op BenchmarkAssertI2E2Blank-4 7563663 14.71 ns/op BenchmarkAssertE2E2-4 5977630 20.35 ns/op BenchmarkAssertE2E2Blank-4 8097795 14.40 ns/op BenchmarkConvT2Ezero/zero/16-4 7222359 16.10 ns/op BenchmarkConvT2Ezero/zero/32-4 6503995 19.01 ns/op BenchmarkConvT2Ezero/zero/64-4 7202774 16.64 ns/op BenchmarkConvT2Ezero/zero/str-4 6907537 17.19 ns/op BenchmarkConvT2Ezero/zero/slice-4 7084399 16.90 ns/op BenchmarkConvT2Ezero/zero/big-4 272685 432.1 ns/op BenchmarkConvT2Ezero/nonzero/str-4 1381777 85.14 ns/op BenchmarkConvT2Ezero/nonzero/slice-4 1396587 88.35 ns/op BenchmarkConvT2Ezero/nonzero/big-4 301647 409.2 ns/op BenchmarkConvT2Ezero/smallint/16-4 6533511 16.19 ns/op BenchmarkConvT2Ezero/smallint/32-4 7193978 16.37 ns/op BenchmarkConvT2Ezero/smallint/64-4 7118671 17.43 ns/op BenchmarkConvT2Ezero/largeint/16-4 1754893 65.32 ns/op BenchmarkConvT2Ezero/largeint/32-4 1865922 67.26 ns/op BenchmarkConvT2Ezero/largeint/64-4 1848210 64.30 ns/op BenchmarkMalloc8-4 1445828 79.97 ns/op BenchmarkMalloc16-4 1474713 83.28 ns/op BenchmarkMallocTypeInfo8-4 1398088 86.06 ns/op BenchmarkMallocTypeInfo16-4 1269530 93.93 ns/op BenchmarkMallocLargeStruct-4 274447 514.5 ns/op BenchmarkGoroutineSelect-4 87 1760692 ns/op BenchmarkGoroutineBlocking-4 78 1583993 ns/op BenchmarkGoroutineForRange-4 100 1593548 ns/op BenchmarkGoroutineIdle-4 100 1222741 ns/op BenchmarkHashStringSpeed-4 3147350 39.18 ns/op BenchmarkHashBytesSpeed-4 1482782 80.61 ns/op BenchmarkHashInt32Speed-4 3864781 32.36 ns/op BenchmarkHashInt64Speed-4 3911210 32.94 ns/op BenchmarkHashStringArraySpeed-4 707630 174.2 ns/op BenchmarkMegMap-4 4202443 30.50 ns/op BenchmarkMegOneMap-4 5173218 23.40 ns/op BenchmarkMegEqMap-4 3526 29301 ns/op BenchmarkMegEmptyMap-4 6143504 19.36 ns/op BenchmarkSmallStrMap-4 3936032 28.53 ns/op BenchmarkMapStringKeysEight_16-4 4153610 28.82 ns/op BenchmarkMapStringKeysEight_32-4 4315530 27.73 ns/op BenchmarkMapStringKeysEight_64-4 4205733 28.25 ns/op BenchmarkMapStringKeysEight_1M-4 4240567 28.04 ns/op BenchmarkIntMap-4 4915272 24.45 ns/op BenchmarkMapFirst/1-4 6088352 19.77 ns/op BenchmarkMapFirst/2-4 5934576 20.49 ns/op BenchmarkMapFirst/3-4 6079906 20.02 ns/op BenchmarkMapFirst/4-4 5868781 19.88 ns/op BenchmarkMapFirst/5-4 5860718 19.95 ns/op BenchmarkMapFirst/6-4 5844320 20.75 ns/op BenchmarkMapFirst/7-4 5703626 19.68 ns/op BenchmarkMapFirst/8-4 5306626 21.37 ns/op BenchmarkMapFirst/9-4 5208603 23.66 ns/op BenchmarkMapFirst/10-4 4565371 26.19 ns/op BenchmarkMapFirst/11-4 4943487 23.83 ns/op BenchmarkMapFirst/12-4 5260923 23.45 ns/op BenchmarkMapFirst/13-4 5155903 22.37 ns/op BenchmarkMapFirst/14-4 4861044 23.61 ns/op BenchmarkMapFirst/15-4 4583497 24.99 ns/op BenchmarkMapFirst/16-4 4755226 24.40 ns/op BenchmarkMapMid/1-4 4930299 23.94 ns/op BenchmarkMapMid/2-4 4776831 25.38 ns/op BenchmarkMapMid/3-4 4823672 25.06 ns/op BenchmarkMapMid/4-4 4601168 25.43 ns/op BenchmarkMapMid/5-4 4698710 25.04 ns/op BenchmarkMapMid/6-4 4231300 25.91 ns/op BenchmarkMapMid/7-4 4352025 26.36 ns/op BenchmarkMapMid/8-4 4175475 25.64 ns/op BenchmarkMapMid/9-4 3755037 29.60 ns/op BenchmarkMapMid/10-4 3843445 32.01 ns/op BenchmarkMapMid/11-4 3701680 30.24 ns/op BenchmarkMapMid/12-4 3783992 31.18 ns/op BenchmarkMapMid/13-4 3875955 32.54 ns/op BenchmarkMapMid/14-4 3737156 30.70 ns/op BenchmarkMapMid/15-4 4134582 31.88 ns/op BenchmarkMapMid/16-4 3782391 29.31 ns/op BenchmarkMapLast/1-4 4861617 24.68 ns/op BenchmarkMapLast/2-4 4397630 27.50 ns/op BenchmarkMapLast/3-4 4652713 25.61 ns/op BenchmarkMapLast/4-4 4493733 26.26 ns/op BenchmarkMapLast/5-4 4741000 26.87 ns/op BenchmarkMapLast/6-4 4173132 27.86 ns/op BenchmarkMapLast/7-4 4271284 28.30 ns/op BenchmarkMapLast/8-4 4063449 28.03 ns/op BenchmarkMapLast/9-4 3630134 32.53 ns/op BenchmarkMapLast/10-4 3696589 31.72 ns/op BenchmarkMapLast/11-4 3470938 29.08 ns/op BenchmarkMapLast/12-4 3801043 33.59 ns/op BenchmarkMapLast/13-4 4236588 32.61 ns/op BenchmarkMapLast/14-4 3728124 30.69 ns/op BenchmarkMapLast/15-4 3660747 30.72 ns/op BenchmarkMapLast/16-4 3474724 34.75 ns/op BenchmarkMapCycle-4 2552674 46.36 ns/op BenchmarkRepeatedLookupStrMapKey32-4 3961095 28.40 ns/op BenchmarkRepeatedLookupStrMapKey1M-4 4658 22584 ns/op BenchmarkMakeMap/[Byte]Byte-4 721604 173.7 ns/op BenchmarkMakeMap/[Int]Int-4 416551 303.5 ns/op BenchmarkNewEmptyMap-4 14612631 8.258 ns/op 0 B/op 0 allocs/op BenchmarkNewSmallMap-4 1991548 59.93 ns/op 0 B/op 0 allocs/op BenchmarkMapIter-4 590307 191.2 ns/op BenchmarkMapIterEmpty-4 6819837 17.62 ns/op BenchmarkSameLengthMap-4 5666424 21.16 ns/op BenchmarkBigKeyMap-4 1592510 75.78 ns/op BenchmarkBigValMap-4 1536543 77.86 ns/op BenchmarkSmallKeyMap-4 3373899 34.71 ns/op BenchmarkMapPopulate/1-4 2630128 45.57 ns/op 0 B/op 0 allocs/op BenchmarkMapPopulate/10-4 151969 792.5 ns/op 179 B/op 1 allocs/op BenchmarkMapPopulate/100-4 8535 14353 ns/op 6272 B/op 15 allocs/op BenchmarkMapPopulate/1000-4 933 133565 ns/op 51771 B/op 55 allocs/op BenchmarkMapPopulate/10000-4 78 1573622 ns/op 416222 B/op 200 allocs/op BenchmarkMapPopulate/100000-4 5 21155142 ns/op 6534766 B/op 2915 allocs/op BenchmarkComplexAlgMap-4 503596 213.1 ns/op BenchmarkGoMapClear/Reflexive/1-4 812832 146.8 ns/op BenchmarkGoMapClear/Reflexive/10-4 697791 164.6 ns/op BenchmarkGoMapClear/Reflexive/100-4 243307 472.9 ns/op BenchmarkGoMapClear/Reflexive/1000-4 46844 2595 ns/op BenchmarkGoMapClear/Reflexive/10000-4 5349 19254 ns/op BenchmarkGoMapClear/NonReflexive/1-4 561566 205.9 ns/op BenchmarkGoMapClear/NonReflexive/10-4 520242 227.1 ns/op BenchmarkGoMapClear/NonReflexive/100-4 224920 529.3 ns/op BenchmarkGoMapClear/NonReflexive/1000-4 46060 2609 ns/op BenchmarkGoMapClear/NonReflexive/10000-4 5226 20065 ns/op BenchmarkMapStringConversion/32/simple-4 1844241 64.61 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/struct-4 1831942 63.92 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/array-4 1481374 71.93 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/simple-4 1701966 69.26 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/struct-4 1720611 69.64 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/array-4 1564998 77.35 ns/op 0 B/op 0 allocs/op BenchmarkMapInterfaceString-4 2333446 50.69 ns/op BenchmarkMapInterfacePtr-4 2455238 45.74 ns/op BenchmarkNewEmptyMapHintLessThan8-4 5886301 20.06 ns/op 0 B/op 0 allocs/op BenchmarkNewEmptyMapHintGreaterThan8-4 168196 788.3 ns/op 1152 B/op 1 allocs/op BenchmarkMapPop100-4 6454 19022 ns/op BenchmarkMapPop1000-4 453 269713 ns/op BenchmarkMapPop10000-4 24 4642772 ns/op BenchmarkMapAssign/Int32/256-4 2759172 44.20 ns/op BenchmarkMapAssign/Int32/65536-4 1646604 65.02 ns/op BenchmarkMapAssign/Int64/256-4 2733046 41.96 ns/op BenchmarkMapAssign/Int64/65536-4 1521433 75.98 ns/op BenchmarkMapAssign/Str/256-4 2142907 55.11 ns/op BenchmarkMapAssign/Str/65536-4 648404 161.3 ns/op BenchmarkMapOperatorAssign/Int32/256-4 1779548 67.50 ns/op BenchmarkMapOperatorAssign/Int32/65536-4 1178215 105.8 ns/op BenchmarkMapOperatorAssign/Int64/256-4 1798525 64.90 ns/op BenchmarkMapOperatorAssign/Int64/65536-4 1112456 102.8 ns/op BenchmarkMapOperatorAssign/Str/256-4 553742 2335 ns/op BenchmarkMapOperatorAssign/Str/65536-4 320938 327.0 ns/op BenchmarkMapAppendAssign/Int32/256-4 879320 115.8 ns/op 37 B/op 0 allocs/op BenchmarkMapAppendAssign/Int32/65536-4 368154 311.5 ns/op 46 B/op 0 allocs/op BenchmarkMapAppendAssign/Int64/256-4 972613 107.2 ns/op 33 B/op 0 allocs/op BenchmarkMapAppendAssign/Int64/65536-4 318387 359.7 ns/op 55 B/op 0 allocs/op BenchmarkMapAppendAssign/Str/256-4 737680 166.6 ns/op 61 B/op 0 allocs/op BenchmarkMapAppendAssign/Str/65536-4 189456 545.1 ns/op 100 B/op 1 allocs/op BenchmarkMapDelete/Int32/100-4 1582560 65.00 ns/op BenchmarkMapDelete/Int32/1000-4 2099178 55.46 ns/op BenchmarkMapDelete/Int32/10000-4 2095790 57.92 ns/op BenchmarkMapDelete/Int64/100-4 2143165 59.97 ns/op BenchmarkMapDelete/Int64/1000-4 2158702 54.87 ns/op BenchmarkMapDelete/Int64/10000-4 2112586 54.77 ns/op BenchmarkMapDelete/Str/100-4 1769912 67.95 ns/op BenchmarkMapDelete/Str/1000-4 1775878 67.11 ns/op BenchmarkMapDelete/Str/10000-4 1666432 71.46 ns/op BenchmarkMapDelete/Pointer/100-4 1918112 70.70 ns/op BenchmarkMapDelete/Pointer/1000-4 1950609 59.89 ns/op BenchmarkMapDelete/Pointer/10000-4 1944663 61.61 ns/op BenchmarkMemmove/0-4 17094128 6.896 ns/op BenchmarkMemmove/1-4 2081066 57.26 ns/op 17.47 MB/s BenchmarkMemmove/2-4 1975906 60.68 ns/op 32.96 MB/s BenchmarkMemmove/3-4 2022296 60.83 ns/op 49.32 MB/s BenchmarkMemmove/4-4 2010848 59.63 ns/op 67.08 MB/s BenchmarkMemmove/5-4 1954339 60.53 ns/op 82.61 MB/s BenchmarkMemmove/6-4 1927096 61.69 ns/op 97.26 MB/s BenchmarkMemmove/7-4 1982010 60.04 ns/op 116.59 MB/s BenchmarkMemmove/8-4 2125327 53.42 ns/op 149.75 MB/s BenchmarkMemmove/9-4 1949050 62.00 ns/op 145.16 MB/s BenchmarkMemmove/10-4 1958503 60.52 ns/op 165.22 MB/s BenchmarkMemmove/11-4 1924118 60.37 ns/op 182.20 MB/s BenchmarkMemmove/12-4 1937167 60.25 ns/op 199.16 MB/s BenchmarkMemmove/13-4 1954345 60.06 ns/op 216.44 MB/s BenchmarkMemmove/14-4 1958520 60.39 ns/op 231.83 MB/s BenchmarkMemmove/15-4 1972306 61.68 ns/op 243.19 MB/s BenchmarkMemmove/16-4 2081683 55.75 ns/op 287.00 MB/s BenchmarkMemmove/32-4 1910956 61.96 ns/op 516.46 MB/s BenchmarkMemmove/64-4 1763979 68.67 ns/op 931.99 MB/s BenchmarkMemmove/128-4 1487880 75.91 ns/op 1686.23 MB/s BenchmarkMemmove/256-4 1000000 101.2 ns/op 2528.84 MB/s BenchmarkMemmove/512-4 704238 170.5 ns/op 3002.41 MB/s BenchmarkMemmove/1024-4 478611 248.9 ns/op 4114.10 MB/s BenchmarkMemmove/2048-4 278606 421.7 ns/op 4857.11 MB/s BenchmarkMemmove/4096-4 163238 778.9 ns/op 5258.57 MB/s BenchmarkMemmoveOverlap/32-4 1942202 62.06 ns/op 515.61 MB/s BenchmarkMemmoveOverlap/64-4 1706416 68.39 ns/op 935.81 MB/s BenchmarkMemmoveOverlap/128-4 1484209 81.01 ns/op 1580.02 MB/s BenchmarkMemmoveOverlap/256-4 1000000 107.9 ns/op 2372.69 MB/s BenchmarkMemmoveOverlap/512-4 647846 188.4 ns/op 2717.45 MB/s BenchmarkMemmoveOverlap/1024-4 480896 248.0 ns/op 4129.42 MB/s BenchmarkMemmoveOverlap/2048-4 281404 422.0 ns/op 4853.12 MB/s BenchmarkMemmoveOverlap/4096-4 152384 784.0 ns/op 5224.43 MB/s BenchmarkMemmoveUnalignedDst/0-4 18273753 6.574 ns/op BenchmarkMemmoveUnalignedDst/1-4 2087530 57.92 ns/op 17.27 MB/s BenchmarkMemmoveUnalignedDst/2-4 1962468 60.85 ns/op 32.87 MB/s BenchmarkMemmoveUnalignedDst/3-4 1937730 59.91 ns/op 50.07 MB/s BenchmarkMemmoveUnalignedDst/4-4 1992366 62.65 ns/op 63.84 MB/s BenchmarkMemmoveUnalignedDst/5-4 1974135 62.70 ns/op 79.75 MB/s BenchmarkMemmoveUnalignedDst/6-4 1885270 62.94 ns/op 95.33 MB/s BenchmarkMemmoveUnalignedDst/7-4 1923426 62.98 ns/op 111.16 MB/s BenchmarkMemmoveUnalignedDst/8-4 2121418 55.41 ns/op 144.37 MB/s BenchmarkMemmoveUnalignedDst/9-4 1972378 60.96 ns/op 147.64 MB/s BenchmarkMemmoveUnalignedDst/10-4 1973862 61.47 ns/op 162.68 MB/s BenchmarkMemmoveUnalignedDst/11-4 1977481 60.60 ns/op 181.51 MB/s BenchmarkMemmoveUnalignedDst/12-4 1975850 60.89 ns/op 197.08 MB/s BenchmarkMemmoveUnalignedDst/13-4 1966398 61.50 ns/op 211.39 MB/s BenchmarkMemmoveUnalignedDst/14-4 1937604 61.53 ns/op 227.52 MB/s BenchmarkMemmoveUnalignedDst/15-4 1886516 63.16 ns/op 237.49 MB/s BenchmarkMemmoveUnalignedDst/16-4 1964067 61.74 ns/op 259.14 MB/s BenchmarkMemmoveUnalignedDst/32-4 1776381 65.78 ns/op 486.50 MB/s BenchmarkMemmoveUnalignedDst/64-4 1638258 75.41 ns/op 848.70 MB/s BenchmarkMemmoveUnalignedDst/128-4 1428285 84.24 ns/op 1519.40 MB/s BenchmarkMemmoveUnalignedDst/256-4 1000000 106.7 ns/op 2399.79 MB/s BenchmarkMemmoveUnalignedDst/512-4 656415 182.9 ns/op 2799.46 MB/s BenchmarkMemmoveUnalignedDst/1024-4 474726 253.9 ns/op 4033.31 MB/s BenchmarkMemmoveUnalignedDst/2048-4 275850 426.5 ns/op 4801.31 MB/s BenchmarkMemmoveUnalignedDst/4096-4 149058 810.1 ns/op 5056.10 MB/s BenchmarkMemmoveUnalignedDstOverlap/32-4 1769542 67.08 ns/op 477.07 MB/s BenchmarkMemmoveUnalignedDstOverlap/64-4 1564452 76.50 ns/op 836.56 MB/s BenchmarkMemmoveUnalignedDstOverlap/128-4 1352156 86.60 ns/op 1478.12 MB/s BenchmarkMemmoveUnalignedDstOverlap/256-4 1000000 108.0 ns/op 2369.62 MB/s BenchmarkMemmoveUnalignedDstOverlap/512-4 671839 173.8 ns/op 2945.74 MB/s BenchmarkMemmoveUnalignedDstOverlap/1024-4 464737 253.7 ns/op 4036.24 MB/s BenchmarkMemmoveUnalignedDstOverlap/2048-4 274185 434.9 ns/op 4708.97 MB/s BenchmarkMemmoveUnalignedDstOverlap/4096-4 152402 793.5 ns/op 5161.65 MB/s BenchmarkMemmoveUnalignedSrc/0-4 17174816 6.872 ns/op BenchmarkMemmoveUnalignedSrc/1-4 2100109 57.91 ns/op 17.27 MB/s BenchmarkMemmoveUnalignedSrc/2-4 1990952 61.78 ns/op 32.37 MB/s BenchmarkMemmoveUnalignedSrc/3-4 1939893 59.63 ns/op 50.31 MB/s BenchmarkMemmoveUnalignedSrc/4-4 1956984 59.40 ns/op 67.34 MB/s BenchmarkMemmoveUnalignedSrc/5-4 1913316 64.09 ns/op 78.01 MB/s BenchmarkMemmoveUnalignedSrc/6-4 1940961 61.44 ns/op 97.66 MB/s BenchmarkMemmoveUnalignedSrc/7-4 1941450 60.78 ns/op 115.17 MB/s BenchmarkMemmoveUnalignedSrc/8-4 2189354 54.09 ns/op 147.91 MB/s BenchmarkMemmoveUnalignedSrc/9-4 1949091 60.93 ns/op 147.72 MB/s BenchmarkMemmoveUnalignedSrc/10-4 1950754 60.58 ns/op 165.08 MB/s BenchmarkMemmoveUnalignedSrc/11-4 1924722 60.56 ns/op 181.65 MB/s BenchmarkMemmoveUnalignedSrc/12-4 1950482 60.52 ns/op 198.27 MB/s BenchmarkMemmoveUnalignedSrc/13-4 1982074 60.79 ns/op 213.87 MB/s BenchmarkMemmoveUnalignedSrc/14-4 1971291 60.64 ns/op 230.85 MB/s BenchmarkMemmoveUnalignedSrc/15-4 1934296 61.36 ns/op 244.46 MB/s BenchmarkMemmoveUnalignedSrc/16-4 1875801 63.50 ns/op 251.98 MB/s BenchmarkMemmoveUnalignedSrc/32-4 1762477 67.45 ns/op 474.42 MB/s BenchmarkMemmoveUnalignedSrc/64-4 1586667 75.68 ns/op 845.70 MB/s BenchmarkMemmoveUnalignedSrc/128-4 1385816 86.70 ns/op 1476.28 MB/s BenchmarkMemmoveUnalignedSrc/256-4 1000000 111.5 ns/op 2296.93 MB/s BenchmarkMemmoveUnalignedSrc/512-4 634531 177.5 ns/op 2884.82 MB/s BenchmarkMemmoveUnalignedSrc/1024-4 455556 255.1 ns/op 4013.39 MB/s BenchmarkMemmoveUnalignedSrc/2048-4 273925 428.4 ns/op 4781.05 MB/s BenchmarkMemmoveUnalignedSrc/4096-4 151573 788.8 ns/op 5192.91 MB/s BenchmarkMemmoveUnalignedSrcOverlap/32-4 1754860 68.45 ns/op 467.49 MB/s BenchmarkMemmoveUnalignedSrcOverlap/64-4 1592161 75.79 ns/op 844.40 MB/s BenchmarkMemmoveUnalignedSrcOverlap/128-4 1388469 87.84 ns/op 1457.18 MB/s BenchmarkMemmoveUnalignedSrcOverlap/256-4 1000000 103.4 ns/op 2475.93 MB/s BenchmarkMemmoveUnalignedSrcOverlap/512-4 636142 183.0 ns/op 2797.99 MB/s BenchmarkMemmoveUnalignedSrcOverlap/1024-4 487935 255.8 ns/op 4003.16 MB/s BenchmarkMemmoveUnalignedSrcOverlap/2048-4 274278 430.2 ns/op 4760.90 MB/s BenchmarkMemmoveUnalignedSrcOverlap/4096-4 151958 782.6 ns/op 5233.53 MB/s BenchmarkMemclr/5-4 15706120 7.532 ns/op 663.80 MB/s BenchmarkMemclr/16-4 15630793 7.592 ns/op 2107.62 MB/s BenchmarkMemclr/64-4 15057175 8.182 ns/op 7822.19 MB/s BenchmarkMemclr/256-4 14081511 8.578 ns/op 29844.96 MB/s BenchmarkMemclr/4096-4 2597899 46.20 ns/op 88667.20 MB/s BenchmarkMemclr/65536-4 165280 729.4 ns/op 89844.75 MB/s BenchmarkMemclr/1M-4 7390 16577 ns/op 63255.87 MB/s BenchmarkMemclr/4M-4 1579 72000 ns/op 58254.24 MB/s BenchmarkMemclr/8M-4 690 179182 ns/op 46816.13 MB/s BenchmarkMemclr/16M-4 118 932028 ns/op 18000.76 MB/s BenchmarkMemclr/64M-4 38 3068197 ns/op 21872.41 MB/s BenchmarkGoMemclr/5-4 2631691 45.36 ns/op 110.22 MB/s BenchmarkGoMemclr/16-4 823411 146.6 ns/op 109.15 MB/s BenchmarkGoMemclr/64-4 228366 531.2 ns/op 120.48 MB/s BenchmarkGoMemclr/256-4 56401 2073 ns/op 123.50 MB/s BenchmarkMemclrRange/1K_2K-4 80287 1474 ns/op 65065.02 MB/s BenchmarkMemclrRange/2K_8K-4 28488 4209 ns/op 79246.89 MB/s BenchmarkMemclrRange/4K_16K-4 32716 3665 ns/op 88161.77 MB/s BenchmarkMemclrRange/160K_228K-4 6631 18004 ns/op 92361.77 MB/s BenchmarkClearFat7-4 9201540 13.02 ns/op BenchmarkClearFat8-4 10479594 11.36 ns/op BenchmarkClearFat11-4 9170774 13.14 ns/op BenchmarkClearFat12-4 9322498 12.65 ns/op BenchmarkClearFat13-4 9225613 13.00 ns/op BenchmarkClearFat14-4 9421210 12.77 ns/op BenchmarkClearFat15-4 8963541 14.49 ns/op BenchmarkClearFat16-4 9910561 12.00 ns/op BenchmarkClearFat24-4 8378199 12.99 ns/op BenchmarkClearFat32-4 8139916 13.31 ns/op BenchmarkClearFat40-4 7420444 16.03 ns/op BenchmarkClearFat48-4 8019033 15.03 ns/op BenchmarkClearFat56-4 7270812 15.97 ns/op BenchmarkClearFat64-4 7274002 16.32 ns/op BenchmarkClearFat72-4 6262718 19.14 ns/op BenchmarkClearFat128-4 4946229 24.31 ns/op BenchmarkClearFat256-4 3375002 35.67 ns/op BenchmarkClearFat512-4 1696857 65.42 ns/op BenchmarkClearFat1024-4 994760 116.7 ns/op BenchmarkClearFat1032-4 969562 120.6 ns/op BenchmarkClearFat1040-4 826645 138.9 ns/op BenchmarkCopyFat7-4 9322948 12.68 ns/op BenchmarkCopyFat8-4 10287038 11.70 ns/op BenchmarkCopyFat11-4 9166039 12.99 ns/op BenchmarkCopyFat12-4 9259520 12.95 ns/op BenchmarkCopyFat13-4 9210628 13.04 ns/op BenchmarkCopyFat14-4 9133369 13.10 ns/op BenchmarkCopyFat15-4 9245295 13.07 ns/op BenchmarkCopyFat16-4 9859466 12.02 ns/op BenchmarkCopyFat24-4 9169261 13.01 ns/op BenchmarkCopyFat32-4 9028294 13.30 ns/op BenchmarkCopyFat64-4 7175022 16.27 ns/op BenchmarkCopyFat72-4 6254188 19.44 ns/op BenchmarkCopyFat128-4 4892340 25.24 ns/op BenchmarkCopyFat256-4 3389646 35.41 ns/op BenchmarkCopyFat512-4 1552717 77.08 ns/op BenchmarkCopyFat520-4 1488194 75.68 ns/op BenchmarkCopyFat1024-4 933837 127.5 ns/op BenchmarkCopyFat1032-4 870858 128.7 ns/op BenchmarkCopyFat1040-4 831495 140.1 ns/op BenchmarkIssue18740/2byte-4 462 257180 ns/op BenchmarkIssue18740/4byte-4 733 165738 ns/op BenchmarkIssue18740/8byte-4 1228 97100 ns/op BenchmarkMemclrKnownSize1-4 10695002 10.85 ns/op 92.15 MB/s BenchmarkMemclrKnownSize2-4 7232380 16.34 ns/op 122.40 MB/s BenchmarkMemclrKnownSize4-4 3989828 29.61 ns/op 135.09 MB/s BenchmarkMemclrKnownSize8-4 1779073 68.13 ns/op 117.43 MB/s BenchmarkMemclrKnownSize16-4 815959 145.5 ns/op 109.98 MB/s BenchmarkMemclrKnownSize32-4 429796 263.6 ns/op 121.39 MB/s BenchmarkMemclrKnownSize64-4 221965 528.9 ns/op 121.01 MB/s BenchmarkMemclrKnownSize112-4 134316 884.1 ns/op 126.68 MB/s BenchmarkMemclrKnownSize128-4 114789 1041 ns/op 123.01 MB/s BenchmarkMemclrKnownSize192-4 77516 1552 ns/op 123.70 MB/s BenchmarkMemclrKnownSize248-4 61633 1943 ns/op 127.62 MB/s BenchmarkMemclrKnownSize256-4 60108 2017 ns/op 126.93 MB/s BenchmarkMemclrKnownSize512-4 30103 3740 ns/op 136.89 MB/s BenchmarkMemclrKnownSize1024-4 15044 7925 ns/op 129.21 MB/s BenchmarkMemclrKnownSize4096-4 3900 30782 ns/op 133.06 MB/s BenchmarkMemclrKnownSize512KiB-4 24 4286056 ns/op 122.32 MB/s BenchmarkReadMetricsLatency-4 21483 3810 p50-ns 5060 p90-ns 19810 p99-ns BenchmarkFinalizer-4 163 828018 ns/op BenchmarkFinalizerRun-4 295254 679.3 ns/op BenchmarkPallocBitsSummarize/Unpacked00-4 8129036 14.20 ns/op BenchmarkPallocBitsSummarize/UnpackedFFFFFFFFFFFFFFFF-4 2514878 48.01 ns/op BenchmarkPallocBitsSummarize/UnpackedAA-4 2053669 58.07 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAAAAAAAAAA-4 2044600 58.40 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000AAAAAAAA-4 1378136 87.17 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAA00000001-4 1256180 95.58 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBBBBBBBBBB-4 1957867 61.06 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000BBBBBBBB-4 1310198 91.52 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBB00000001-4 1360252 88.05 ns/op BenchmarkPallocBitsSummarize/UnpackedCCCCCCCCCCCCCCCC-4 1821352 65.92 ns/op BenchmarkPallocBitsSummarize/Unpacked4444444444444444-4 1809108 65.84 ns/op BenchmarkPallocBitsSummarize/Unpacked4040404040404040-4 1629748 73.93 ns/op BenchmarkPallocBitsSummarize/Unpacked4000400040004000-4 1484766 80.63 ns/op BenchmarkPallocBitsSummarize/Unpacked1000404044CCAAFF-4 1391652 86.64 ns/op BenchmarkFindBitRange64/Pattern00Size2-4 7374260 15.45 ns/op BenchmarkFindBitRange64/Pattern00Size8-4 7752159 15.72 ns/op BenchmarkFindBitRange64/Pattern00Size32-4 6566060 15.41 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize2-4 6969338 15.22 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize8-4 7164112 17.62 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize32-4 5723066 18.66 ns/op BenchmarkFindBitRange64/PatternAASize2-4 7793358 15.12 ns/op BenchmarkFindBitRange64/PatternAASize8-4 7675516 15.41 ns/op BenchmarkFindBitRange64/PatternAASize32-4 7783677 15.50 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize2-4 7959868 15.33 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize8-4 7594842 15.50 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize32-4 7717792 15.42 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize2-4 7953337 15.08 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize8-4 7786642 15.47 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize32-4 7763343 15.45 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size2-4 7965003 15.07 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size8-4 7738143 15.40 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size32-4 7623081 15.83 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize2-4 7295096 15.07 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize8-4 6809384 15.13 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize32-4 7479274 16.11 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize2-4 7611056 15.10 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize8-4 7414508 16.11 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize32-4 7462173 16.05 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size2-4 7763520 15.11 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size8-4 7063815 16.70 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size32-4 7427610 15.28 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize2-4 8486073 14.14 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize8-4 7461388 16.30 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize32-4 7462905 16.06 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size2-4 7339971 15.13 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size8-4 7797262 15.47 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size32-4 7783446 15.44 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size2-4 6833520 15.23 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size8-4 7760598 15.54 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size32-4 7715708 16.06 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size2-4 7967002 15.11 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size8-4 7814262 15.46 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size32-4 7631948 15.52 ns/op BenchmarkNetpollBreak-4 3339 30796 ns/op BenchmarkPingPongHog-4 387 360740 ns/op BenchmarkStackGrowth-4 168124 755.2 ns/op BenchmarkStackGrowthDeep-4 1344 75362 ns/op BenchmarkCreateGoroutines-4 55704 2400 ns/op BenchmarkCreateGoroutinesParallel-4 50556 2789 ns/op BenchmarkCreateGoroutinesCapture-4 7321 15989 ns/op 144 B/op 5 allocs/op BenchmarkCreateGoroutinesSingle-4 38282 2991 ns/op BenchmarkClosureCall-4 22843602 4.407 ns/op BenchmarkWakeupParallelSpinning/0s-4 4758 22813 ns/op BenchmarkWakeupParallelSpinning/1µs-4 4891 27638 ns/op BenchmarkWakeupParallelSpinning/2µs-4 5073 30962 ns/op BenchmarkWakeupParallelSpinning/5µs-4 3216 41647 ns/op BenchmarkWakeupParallelSpinning/10µs-4 1798 60196 ns/op BenchmarkWakeupParallelSpinning/20µs-4 1184 99242 ns/op BenchmarkWakeupParallelSpinning/50µs-4 616 196769 ns/op BenchmarkWakeupParallelSpinning/100µs-4 339 353320 ns/op BenchmarkWakeupParallelSyscall/0s-4 712 163901 ns/op BenchmarkWakeupParallelSyscall/1µs-4 733 160588 ns/op BenchmarkWakeupParallelSyscall/2µs-4 753 177350 ns/op BenchmarkWakeupParallelSyscall/5µs-4 673 173077 ns/op BenchmarkWakeupParallelSyscall/10µs-4 656 185589 ns/op BenchmarkWakeupParallelSyscall/20µs-4 590 206724 ns/op BenchmarkWakeupParallelSyscall/50µs-4 433 276336 ns/op BenchmarkWakeupParallelSyscall/100µs-4 315 397981 ns/op BenchmarkMatmult-4 4073810 30.91 ns/op BenchmarkFastrand-4 14072253 8.378 ns/op BenchmarkFastrand64-4 14786479 8.661 ns/op BenchmarkFastrandHashiter-4 4546845 22.24 ns/op BenchmarkFastrandn/2-4 6921518 16.06 ns/op BenchmarkFastrandn/3-4 7230132 15.57 ns/op BenchmarkFastrandn/4-4 7690200 15.54 ns/op BenchmarkFastrandn/5-4 7027531 16.89 ns/op BenchmarkIfaceCmp100-4 119733 1005 ns/op BenchmarkIfaceCmpNil100-4 220516 542.3 ns/op BenchmarkEfaceCmpDiff-4 48662 2684 ns/op BenchmarkEfaceCmpDiffIndirect-4 34556 2944 ns/op BenchmarkDefer-4 1860175 64.78 ns/op BenchmarkDefer10-4 913638 132.7 ns/op BenchmarkDeferMany-4 439950 337.0 ns/op BenchmarkPanicRecover-4 204169 580.1 ns/op BenchmarkGoroutineProfile/small-nil/idle-4 4690 23846 ns/op 23760 p50-ns 33050 p90-ns 51980 p99-ns BenchmarkGoroutineProfile/small-nil/loaded-4 4827 27825 ns/op 23960 p50-ns 31050 p90-ns 67600 p99-ns BenchmarkGoroutineProfile/small/idle-4 3504 37790 ns/op 36240 p50-ns 39170 p90-ns 57530 p99-ns BenchmarkGoroutineProfile/small/loaded-4 579 289281 ns/op 233600 p50-ns 418100 p90-ns 1733550 p99-ns BenchmarkGoroutineProfile/large-nil/idle-4 4780 25131 ns/op 25250 p50-ns 33290 p90-ns 52880 p99-ns BenchmarkGoroutineProfile/large-nil/loaded-4 4902 29405 ns/op 25250 p50-ns 34140 p90-ns 89711 p99-ns BenchmarkGoroutineProfile/large/idle-4 19 6103255 ns/op 6034142 p50-ns 6393322 p90-ns 6576242 p99-ns BenchmarkGoroutineProfile/large/loaded-4 14 7210484 ns/op 6779562 p50-ns 10448183 p90-ns 11437443 p99-ns BenchmarkGoroutineProfile/sparse-nil/idle-4 4533 26997 ns/op 24650 p50-ns 34320 p90-ns 46049 p99-ns BenchmarkGoroutineProfile/sparse-nil/loaded-4 4875 29670 ns/op 24590 p50-ns 34150 p90-ns 192110 p99-ns BenchmarkGoroutineProfile/sparse/idle-4 1405 86525 ns/op 84690 p50-ns 91550 p90-ns 119330 p99-ns BenchmarkGoroutineProfile/sparse/loaded-4 558 274735 ns/op 175250 p50-ns 359740 p90-ns 2337611 p99-ns BenchmarkRWMutexUncontended-4 5036943 22.66 ns/op BenchmarkRWMutexWrite100-4 499107 202.9 ns/op BenchmarkRWMutexWrite10-4 330702 436.5 ns/op BenchmarkRWMutexWorkWrite100-4 436488 251.4 ns/op BenchmarkRWMutexWorkWrite10-4 64867 1584 ns/op BenchmarkSemTable/OneAddrCollision/n=1000-4 1908 60540 ns/op BenchmarkSemTable/ManyAddrCollision/n=1000-4 1144 111261 ns/op BenchmarkSemTable/OneAddrCollision/n=2000-4 1054 117974 ns/op BenchmarkSemTable/ManyAddrCollision/n=2000-4 516 229129 ns/op BenchmarkSemTable/OneAddrCollision/n=4000-4 498 235375 ns/op BenchmarkSemTable/ManyAddrCollision/n=4000-4 232 482848 ns/op BenchmarkSemTable/OneAddrCollision/n=8000-4 248 477669 ns/op BenchmarkSemTable/ManyAddrCollision/n=8000-4 115 995144 ns/op BenchmarkMakeSliceCopy/mallocmove/Byte-4 432092 324.0 ns/op BenchmarkMakeSliceCopy/mallocmove/Int-4 373353 331.5 ns/op BenchmarkMakeSliceCopy/mallocmove/Ptr-4 316209 379.7 ns/op BenchmarkMakeSliceCopy/makecopy/Byte-4 360072 344.5 ns/op BenchmarkMakeSliceCopy/makecopy/Int-4 345260 344.4 ns/op BenchmarkMakeSliceCopy/makecopy/Ptr-4 305290 387.4 ns/op BenchmarkMakeSliceCopy/nilappend/Byte-4 314707 363.0 ns/op BenchmarkMakeSliceCopy/nilappend/Int-4 327540 355.0 ns/op BenchmarkMakeSliceCopy/nilappend/Ptr-4 273144 420.4 ns/op BenchmarkMakeSlice/Byte-4 2157894 54.98 ns/op BenchmarkMakeSlice/Int16-4 2202392 53.93 ns/op BenchmarkMakeSlice/Int-4 1725768 68.42 ns/op BenchmarkMakeSlice/Ptr-4 1341285 85.99 ns/op BenchmarkMakeSlice/Struct/24-4 1000000 112.5 ns/op BenchmarkMakeSlice/Struct/32-4 1000000 127.1 ns/op BenchmarkMakeSlice/Struct/40-4 1000000 143.5 ns/op BenchmarkGrowSlice/Byte-4 808760 146.9 ns/op BenchmarkGrowSlice/Int16-4 818787 148.9 ns/op BenchmarkGrowSlice/Int-4 628327 198.0 ns/op BenchmarkGrowSlice/Ptr-4 596895 228.1 ns/op BenchmarkGrowSlice/Struct/24-4 406123 329.9 ns/op BenchmarkGrowSlice/Struct/32-4 310886 372.6 ns/op BenchmarkGrowSlice/Struct/40-4 263365 435.3 ns/op BenchmarkExtendSlice/IntSlice-4 570966 220.7 ns/op BenchmarkExtendSlice/PointerSlice-4 480855 273.9 ns/op BenchmarkExtendSlice/NoGrow-4 908986 127.6 ns/op BenchmarkAppend-4 952077 123.3 ns/op BenchmarkAppendGrowByte-4 7 18116930 ns/op BenchmarkAppendGrowString-4 1 244565279 ns/op BenchmarkAppendSlice/1Bytes-4 2068627 58.10 ns/op BenchmarkAppendSlice/4Bytes-4 2009428 57.23 ns/op BenchmarkAppendSlice/7Bytes-4 1910739 64.62 ns/op BenchmarkAppendSlice/8Bytes-4 2010892 55.65 ns/op BenchmarkAppendSlice/15Bytes-4 1915569 62.70 ns/op BenchmarkAppendSlice/16Bytes-4 1920403 62.53 ns/op BenchmarkAppendSlice/32Bytes-4 1951557 63.33 ns/op BenchmarkAppendSliceLarge/1024Bytes-4 104485 1044 ns/op BenchmarkAppendSliceLarge/4096Bytes-4 31354 3793 ns/op BenchmarkAppendSliceLarge/16384Bytes-4 10000 15645 ns/op BenchmarkAppendSliceLarge/65536Bytes-4 2179 58490 ns/op BenchmarkAppendSliceLarge/262144Bytes-4 171 686219 ns/op BenchmarkAppendSliceLarge/1048576Bytes-4 44 3187032 ns/op BenchmarkAppendStr/1Bytes-4 1731260 68.90 ns/op BenchmarkAppendStr/4Bytes-4 1629531 73.21 ns/op BenchmarkAppendStr/8Bytes-4 1603528 78.51 ns/op BenchmarkAppendStr/16Bytes-4 1565082 76.47 ns/op BenchmarkAppendStr/32Bytes-4 1627347 73.97 ns/op BenchmarkAppendSpecialCase-4 932145 123.7 ns/op BenchmarkCopy/1Byte-4 2141337 55.83 ns/op 17.91 MB/s BenchmarkCopy/1String-4 2115592 59.73 ns/op 16.74 MB/s BenchmarkCopy/2Byte-4 1979936 58.83 ns/op 34.00 MB/s BenchmarkCopy/2String-4 1866625 60.71 ns/op 32.94 MB/s BenchmarkCopy/4Byte-4 2002399 58.36 ns/op 68.54 MB/s BenchmarkCopy/4String-4 1964016 61.29 ns/op 65.27 MB/s BenchmarkCopy/8Byte-4 2265315 55.08 ns/op 145.25 MB/s BenchmarkCopy/8String-4 2251774 51.86 ns/op 154.26 MB/s BenchmarkCopy/12Byte-4 2154847 59.29 ns/op 202.40 MB/s BenchmarkCopy/12String-4 1904185 62.12 ns/op 193.19 MB/s BenchmarkCopy/16Byte-4 2094260 59.61 ns/op 268.43 MB/s BenchmarkCopy/16String-4 2061049 58.65 ns/op 272.83 MB/s BenchmarkCopy/32Byte-4 1950970 62.41 ns/op 512.76 MB/s BenchmarkCopy/32String-4 1833980 63.78 ns/op 501.70 MB/s BenchmarkCopy/128Byte-4 1443504 79.19 ns/op 1616.35 MB/s BenchmarkCopy/128String-4 1456875 81.08 ns/op 1578.64 MB/s BenchmarkCopy/1024Byte-4 484957 247.8 ns/op 4131.81 MB/s BenchmarkCopy/1024String-4 397858 292.1 ns/op 3505.74 MB/s BenchmarkAppendInPlace/NoGrow/Byte-4 36171 2888 ns/op BenchmarkAppendInPlace/NoGrow/1Ptr-4 26284 4576 ns/op BenchmarkAppendInPlace/NoGrow/2Ptr-4 16632 7128 ns/op BenchmarkAppendInPlace/NoGrow/3Ptr-4 14212 8631 ns/op BenchmarkAppendInPlace/NoGrow/4Ptr-4 10000 11548 ns/op BenchmarkAppendInPlace/Grow/Byte-4 153943 774.8 ns/op BenchmarkAppendInPlace/Grow/1Ptr-4 151125 750.2 ns/op BenchmarkAppendInPlace/Grow/2Ptr-4 123664 924.3 ns/op BenchmarkAppendInPlace/Grow/3Ptr-4 99625 1115 ns/op BenchmarkAppendInPlace/Grow/4Ptr-4 93313 1283 ns/op BenchmarkStackCopyPtr-4 1 129747233 ns/op BenchmarkStackCopy-4 2 83892022 ns/op BenchmarkStackCopyNoCache-4 28 4054421 ns/op BenchmarkStackCopyWithStkobj-4 2 55100738 ns/op BenchmarkIssue18138-4 504 218682 ns/op BenchmarkCompareStringEqual-4 13522051 7.903 ns/op BenchmarkCompareStringIdentical-4 17637896 6.054 ns/op BenchmarkCompareStringSameLength-4 16450339 6.913 ns/op BenchmarkCompareStringDifferentLength-4 23828098 4.594 ns/op BenchmarkCompareStringBigUnaligned-4 3139 35445 ns/op 29583.12 MB/s BenchmarkCompareStringBig-4 2918 36525 ns/op 28709.11 MB/s BenchmarkConcatStringAndBytes-4 2242059 52.97 ns/op BenchmarkSliceByteToString/1-4 2469573 48.90 ns/op BenchmarkSliceByteToString/2-4 1000000 107.1 ns/op BenchmarkSliceByteToString/4-4 1000000 106.1 ns/op BenchmarkSliceByteToString/8-4 1000000 105.0 ns/op BenchmarkSliceByteToString/16-4 1000000 107.1 ns/op BenchmarkSliceByteToString/32-4 1000000 118.6 ns/op BenchmarkSliceByteToString/64-4 963482 140.7 ns/op BenchmarkSliceByteToString/128-4 818296 184.4 ns/op BenchmarkRuneCount/lenruneslice/ASCII-4 2526250 48.56 ns/op BenchmarkRuneCount/lenruneslice/Japanese-4 1000000 106.3 ns/op BenchmarkRuneCount/lenruneslice/MixedLength-4 1274984 93.92 ns/op BenchmarkRuneCount/rangeloop/ASCII-4 4173936 28.94 ns/op BenchmarkRuneCount/rangeloop/Japanese-4 2087230 57.04 ns/op BenchmarkRuneCount/rangeloop/MixedLength-4 2246817 52.12 ns/op BenchmarkRuneCount/utf8.RuneCountInString/ASCII-4 2786862 44.33 ns/op BenchmarkRuneCount/utf8.RuneCountInString/Japanese-4 535120 223.5 ns/op BenchmarkRuneCount/utf8.RuneCountInString/MixedLength-4 572149 195.8 ns/op BenchmarkRuneIterate/range/ASCII-4 7756725 15.20 ns/op BenchmarkRuneIterate/range/Japanese-4 2473092 47.53 ns/op BenchmarkRuneIterate/range/MixedLength-4 2953770 40.99 ns/op BenchmarkRuneIterate/range1/ASCII-4 7282093 15.17 ns/op BenchmarkRuneIterate/range1/Japanese-4 2528089 47.37 ns/op BenchmarkRuneIterate/range1/MixedLength-4 2990713 40.22 ns/op BenchmarkRuneIterate/range2/ASCII-4 8299497 15.25 ns/op BenchmarkRuneIterate/range2/Japanese-4 2509165 47.91 ns/op BenchmarkRuneIterate/range2/MixedLength-4 2809946 43.04 ns/op BenchmarkArrayEqual-4 22584994 4.951 ns/op BenchmarkFunc/Name-4 5858617 19.69 ns/op BenchmarkFunc/Entry-4 12569968 8.666 ns/op BenchmarkFunc/FileLine-4 1860946 67.74 ns/op PASS ok runtime 131.818s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: runtime/cgo cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHandle/non-concurrent-4 28531 4499 ns/op BenchmarkHandle/concurrent-4 16155 7375 ns/op PASS ok runtime/cgo 0.516s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: runtime/internal/atomic cpu: AMD EPYC 7B12 BenchmarkAtomicLoad64-4 22808788 5.244 ns/op BenchmarkAtomicStore64-4 18919744 6.082 ns/op BenchmarkAtomicLoad-4 21288900 5.251 ns/op BenchmarkAtomicStore-4 19001652 6.031 ns/op BenchmarkAnd8-4 17393900 6.889 ns/op BenchmarkAnd-4 19287304 6.254 ns/op BenchmarkAnd8Parallel-4 2937459 41.41 ns/op BenchmarkAndParallel-4 2952651 41.22 ns/op BenchmarkOr8-4 17444445 6.877 ns/op BenchmarkOr-4 19159045 6.258 ns/op BenchmarkOr8Parallel-4 4440156 35.70 ns/op BenchmarkOrParallel-4 4198417 35.78 ns/op BenchmarkXadd-4 3144428 42.83 ns/op BenchmarkXadd64-4 2763422 41.21 ns/op BenchmarkCas-4 3190426 44.22 ns/op BenchmarkCas64-4 2850464 41.86 ns/op BenchmarkXchg-4 4118893 26.39 ns/op BenchmarkXchg64-4 2799547 38.11 ns/op PASS ok runtime/internal/atomic 3.030s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: runtime/internal/math cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMulUintptr/small-4 4411648 27.96 ns/op BenchmarkMulUintptr/large-4 3369469 33.71 ns/op PASS ok runtime/internal/math 0.342s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: runtime/pprof cpu: AMD EPYC 7B12 BenchmarkGoroutine/Profile.WriteTo_idle_50-4 27 6254106 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_50-4 12 10477184 ns/op 825.8 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_50-4 878 156855 ns/op 5.425 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_500-4 10 11695073 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_500-4 6 19035900 ns/op 1379 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_500-4 151 702785 ns/op 56.89 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_5000-4 2 73920860 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_5000-4 1 114690574 ns/op 9377 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_5000-4 15 7731477 ns/op 539.1 concurrent_launches/op PASS ok runtime/pprof 1.652s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: runtime/race cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSyncLeak-4 25 4675151 ns/op BenchmarkStackLeak-4 18583 5988 ns/op PASS ok runtime/race 0.387s goos: linux goarch: amd64 pkg: runtime/trace cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStartRegion-4 5346078 21.21 ns/op 0 B/op 0 allocs/op BenchmarkNewTask-4 234015 539.5 ns/op 64 B/op 2 allocs/op PASS ok runtime/trace 0.399s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: slices cpu: AMD EPYC 7B12 BenchmarkCompact/nil-4 8604494 13.81 ns/op BenchmarkCompact/one-4 1781709 64.23 ns/op BenchmarkCompact/sorted-4 998768 113.1 ns/op BenchmarkCompact/1_item-4 1000000 105.4 ns/op BenchmarkCompact/unsorted-4 1000000 118.4 ns/op BenchmarkCompact/many-4 752581 146.5 ns/op BenchmarkReplace/naive-fast-4 95991 1221 ns/op BenchmarkReplace/optimized-fast-4 134082 930.5 ns/op BenchmarkReplace/naive-slow-4 63175 2010 ns/op BenchmarkReplace/optimized-slow-4 74821 1536 ns/op PASS ok slices 1.470s goos: linux goarch: amd64 pkg: sort cpu: AMD EPYC 7B12 BenchmarkSearchWrappers-4 150489 768.3 ns/op BenchmarkSortString1K-4 182 643151 ns/op BenchmarkSortString1K_Slice-4 199 572391 ns/op BenchmarkStableString1K-4 96 1121857 ns/op BenchmarkSortInt1K-4 224 520823 ns/op BenchmarkSortInt1K_Sorted-4 2760 37439 ns/op BenchmarkSortInt1K_Reversed-4 2026 67333 ns/op BenchmarkSortInt1K_Mod8-4 567 239461 ns/op BenchmarkStableInt1K-4 140 800323 ns/op BenchmarkStableInt1K_Slice-4 174 685042 ns/op BenchmarkSortInt64K-4 2 55466622 ns/op BenchmarkSortInt64K_Slice-4 3 44329424 ns/op BenchmarkStableInt64K-4 2 71357721 ns/op BenchmarkSort1e2-4 468 253708 ns/op BenchmarkStable1e2-4 175 685739 ns/op BenchmarkSort1e4-4 2 53008802 ns/op BenchmarkStable1e4-4 1 212678987 ns/op PASS ok sort 3.833s goos: linux goarch: amd64 pkg: strconv cpu: AMD EPYC 7B12 BenchmarkAtof64Decimal-4 736590 138.4 ns/op BenchmarkAtof64Float-4 729572 153.3 ns/op BenchmarkAtof64FloatExp-4 585315 185.8 ns/op BenchmarkAtof64Big-4 435243 256.7 ns/op BenchmarkAtof64RandomBits-4 242870 450.1 ns/op BenchmarkAtof64RandomFloats-4 486728 238.8 ns/op BenchmarkAtof64RandomLongFloats-4 426570 277.5 ns/op BenchmarkAtof32Decimal-4 786546 146.8 ns/op BenchmarkAtof32Float-4 757854 154.1 ns/op BenchmarkAtof32FloatExp-4 631729 192.5 ns/op BenchmarkAtof32Random-4 382167 304.2 ns/op BenchmarkAtof32RandomLong-4 161568 706.0 ns/op BenchmarkParseInt/Pos/7bit-4 1525388 78.48 ns/op BenchmarkParseInt/Pos/26bit-4 762340 150.0 ns/op BenchmarkParseInt/Pos/31bit-4 691273 166.1 ns/op BenchmarkParseInt/Pos/56bit-4 460706 236.7 ns/op BenchmarkParseInt/Pos/63bit-4 471531 253.1 ns/op BenchmarkParseInt/Neg/7bit-4 1534124 78.72 ns/op BenchmarkParseInt/Neg/26bit-4 762094 149.6 ns/op BenchmarkParseInt/Neg/31bit-4 710156 164.3 ns/op BenchmarkParseInt/Neg/56bit-4 489145 237.8 ns/op BenchmarkParseInt/Neg/63bit-4 465054 251.4 ns/op BenchmarkAtoi/Pos/7bit-4 2486568 47.53 ns/op BenchmarkAtoi/Pos/26bit-4 1000000 111.1 ns/op BenchmarkAtoi/Pos/31bit-4 935206 124.3 ns/op BenchmarkAtoi/Pos/56bit-4 567342 203.9 ns/op BenchmarkAtoi/Pos/63bit-4 428164 268.5 ns/op BenchmarkAtoi/Neg/7bit-4 2151482 55.16 ns/op BenchmarkAtoi/Neg/26bit-4 953631 105.9 ns/op BenchmarkAtoi/Neg/31bit-4 932032 121.8 ns/op BenchmarkAtoi/Neg/56bit-4 542587 200.4 ns/op BenchmarkAtoi/Neg/63bit-4 430846 268.5 ns/op BenchmarkFormatFloat/Decimal-4 117986 994.8 ns/op BenchmarkFormatFloat/Float-4 111902 1077 ns/op BenchmarkFormatFloat/Exp-4 112509 1033 ns/op BenchmarkFormatFloat/NegExp-4 115920 1029 ns/op BenchmarkFormatFloat/LongExp-4 101566 1267 ns/op BenchmarkFormatFloat/Big-4 97954 1227 ns/op BenchmarkFormatFloat/BinaryExp-4 207418 579.7 ns/op BenchmarkFormatFloat/32Integer-4 125490 959.6 ns/op BenchmarkFormatFloat/32ExactFraction-4 121393 988.5 ns/op BenchmarkFormatFloat/32Point-4 114616 1062 ns/op BenchmarkFormatFloat/32Exp-4 116452 1039 ns/op BenchmarkFormatFloat/32NegExp-4 116762 1037 ns/op BenchmarkFormatFloat/32Shortest-4 121839 999.8 ns/op BenchmarkFormatFloat/32Fixed8Hard-4 141064 867.6 ns/op BenchmarkFormatFloat/32Fixed9Hard-4 131242 872.1 ns/op BenchmarkFormatFloat/64Fixed1-4 156316 760.1 ns/op BenchmarkFormatFloat/64Fixed2-4 149178 790.4 ns/op BenchmarkFormatFloat/64Fixed3-4 156718 769.8 ns/op BenchmarkFormatFloat/64Fixed4-4 157311 768.1 ns/op BenchmarkFormatFloat/64Fixed12-4 92116 1290 ns/op BenchmarkFormatFloat/64Fixed16-4 118059 992.1 ns/op BenchmarkFormatFloat/64Fixed12Hard-4 119443 1030 ns/op BenchmarkFormatFloat/64Fixed17Hard-4 110536 1081 ns/op BenchmarkFormatFloat/64Fixed18Hard-4 2682 38976 ns/op BenchmarkFormatFloat/Slowpath64-4 95445 1195 ns/op BenchmarkFormatFloat/SlowpathDenormal64-4 99873 1186 ns/op BenchmarkAppendFloat/Decimal-4 153334 777.0 ns/op BenchmarkAppendFloat/Float-4 133327 898.4 ns/op BenchmarkAppendFloat/Exp-4 146372 820.0 ns/op BenchmarkAppendFloat/NegExp-4 136815 859.5 ns/op BenchmarkAppendFloat/LongExp-4 120181 981.8 ns/op BenchmarkAppendFloat/Big-4 117793 1013 ns/op BenchmarkAppendFloat/BinaryExp-4 327340 363.4 ns/op BenchmarkAppendFloat/32Integer-4 155530 771.5 ns/op BenchmarkAppendFloat/32ExactFraction-4 147946 806.7 ns/op BenchmarkAppendFloat/32Point-4 130033 916.1 ns/op BenchmarkAppendFloat/32Exp-4 143044 825.5 ns/op BenchmarkAppendFloat/32NegExp-4 143402 827.8 ns/op BenchmarkAppendFloat/32Shortest-4 151731 728.4 ns/op BenchmarkAppendFloat/32Fixed8Hard-4 173144 646.5 ns/op BenchmarkAppendFloat/32Fixed9Hard-4 166923 669.6 ns/op BenchmarkAppendFloat/64Fixed1-4 200193 590.4 ns/op BenchmarkAppendFloat/64Fixed2-4 200121 590.1 ns/op BenchmarkAppendFloat/64Fixed3-4 201247 593.1 ns/op BenchmarkAppendFloat/64Fixed4-4 189295 596.0 ns/op BenchmarkAppendFloat/64Fixed12-4 116616 965.8 ns/op BenchmarkAppendFloat/64Fixed16-4 145731 808.6 ns/op BenchmarkAppendFloat/64Fixed12Hard-4 146433 772.6 ns/op BenchmarkAppendFloat/64Fixed17Hard-4 129418 876.4 ns/op BenchmarkAppendFloat/64Fixed18Hard-4 2884 38414 ns/op BenchmarkAppendFloat/Slowpath64-4 120858 973.6 ns/op BenchmarkAppendFloat/SlowpathDenormal64-4 123954 959.6 ns/op BenchmarkFormatInt-4 15964 7453 ns/op BenchmarkAppendInt-4 17830 6690 ns/op BenchmarkFormatUint-4 84651 1356 ns/op BenchmarkAppendUint-4 101226 1180 ns/op BenchmarkFormatIntSmall/7-4 3099366 37.39 ns/op BenchmarkFormatIntSmall/42-4 3178174 37.12 ns/op BenchmarkAppendIntSmall-4 1360358 90.39 ns/op BenchmarkAppendUintVarlen/1-4 1381246 87.16 ns/op BenchmarkAppendUintVarlen/12-4 1294202 93.14 ns/op BenchmarkAppendUintVarlen/123-4 915820 128.9 ns/op BenchmarkAppendUintVarlen/1234-4 879384 131.7 ns/op BenchmarkAppendUintVarlen/12345-4 840300 131.8 ns/op BenchmarkAppendUintVarlen/123456-4 890960 133.4 ns/op BenchmarkAppendUintVarlen/1234567-4 865944 135.5 ns/op BenchmarkAppendUintVarlen/12345678-4 879513 127.8 ns/op BenchmarkAppendUintVarlen/123456789-4 849153 133.7 ns/op BenchmarkAppendUintVarlen/1234567890-4 842388 133.5 ns/op BenchmarkAppendUintVarlen/12345678901-4 833796 140.0 ns/op BenchmarkAppendUintVarlen/123456789012-4 785396 142.5 ns/op BenchmarkAppendUintVarlen/1234567890123-4 812764 142.9 ns/op BenchmarkAppendUintVarlen/12345678901234-4 782233 142.9 ns/op BenchmarkAppendUintVarlen/123456789012345-4 800960 144.3 ns/op BenchmarkAppendUintVarlen/1234567890123456-4 871801 135.8 ns/op BenchmarkAppendUintVarlen/12345678901234567-4 771991 149.1 ns/op BenchmarkAppendUintVarlen/123456789012345678-4 782272 150.0 ns/op BenchmarkAppendUintVarlen/1234567890123456789-4 773080 151.9 ns/op BenchmarkAppendUintVarlen/12345678901234567890-4 746073 153.8 ns/op BenchmarkQuote-4 45420 2610 ns/op BenchmarkQuoteRune-4 399273 269.4 ns/op BenchmarkAppendQuote-4 53901 2215 ns/op BenchmarkAppendQuoteRune-4 833049 140.7 ns/op BenchmarkUnquoteEasy-4 1406851 85.45 ns/op BenchmarkUnquoteHard-4 48295 2524 ns/op PASS ok strconv 15.654s goos: linux goarch: amd64 pkg: strings cpu: AMD EPYC 7B12 BenchmarkBuildString_Builder/1Write_NoGrow-4 406102 276.9 ns/op 48 B/op 1 allocs/op BenchmarkBuildString_Builder/3Write_NoGrow-4 139521 822.1 ns/op 336 B/op 3 allocs/op BenchmarkBuildString_Builder/3Write_Grow-4 193080 628.7 ns/op 112 B/op 1 allocs/op BenchmarkBuildString_ByteBuffer/1Write_NoGrow-4 301158 394.9 ns/op 112 B/op 2 allocs/op BenchmarkBuildString_ByteBuffer/3Write_NoGrow-4 88392 1301 ns/op 432 B/op 4 allocs/op BenchmarkBuildString_ByteBuffer/3Write_Grow-4 105705 1121 ns/op 336 B/op 3 allocs/op BenchmarkClone-4 622483 177.4 ns/op 48 B/op 1 allocs/op BenchmarkGenericNoMatch-4 24748 4581 ns/op BenchmarkGenericMatch1-4 2199 55024 ns/op BenchmarkGenericMatch2-4 441 247528 ns/op BenchmarkSingleMaxSkipping-4 8486 13801 ns/op 724.60 MB/s BenchmarkSingleLongSuffixFail-4 16693 6665 ns/op 150.34 MB/s BenchmarkSingleMatch-4 242 479085 ns/op 31.31 MB/s BenchmarkByteByteNoMatch-4 85600 1315 ns/op BenchmarkByteByteMatch-4 22704 5181 ns/op BenchmarkByteStringMatch-4 27495 4149 ns/op BenchmarkHTMLEscapeNew-4 83878 1431 ns/op BenchmarkHTMLEscapeOld-4 89662 1348 ns/op BenchmarkByteStringReplacerWriteString-4 1400 80571 ns/op BenchmarkByteReplacerWriteString-4 1656 72945 ns/op BenchmarkByteByteReplaces-4 3187 35181 ns/op BenchmarkByteByteMap-4 9844 10706 ns/op BenchmarkMap/identity/ASCII-4 800991 139.8 ns/op BenchmarkMap/identity/Greek-4 566565 207.4 ns/op BenchmarkMap/change/ASCII-4 40713 2975 ns/op BenchmarkMap/change/Greek-4 28292 4180 ns/op BenchmarkIndexRune-4 2023111 59.72 ns/op BenchmarkIndexRuneLongString-4 1591552 74.66 ns/op BenchmarkIndexRuneFastPath-4 5039151 23.65 ns/op BenchmarkIndex-4 4904180 24.51 ns/op BenchmarkLastIndex-4 5333278 22.46 ns/op BenchmarkIndexByte-4 11826814 9.447 ns/op BenchmarkToUpper/#00-4 3300376 36.87 ns/op BenchmarkToUpper/ONLYUPPER-4 2271330 48.78 ns/op BenchmarkToUpper/abc-4 314468 379.6 ns/op BenchmarkToUpper/AbC123-4 227200 502.3 ns/op BenchmarkToUpper/azAZ09_-4 265995 449.4 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 56586 2138 ns/op BenchmarkToUpper/RENAN_BASTOS_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 72723 1603 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 35252 3436 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 59364 1853 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 121764 941.9 ns/op BenchmarkToLower/#00-4 2959317 37.67 ns/op BenchmarkToLower/abc-4 3032270 39.89 ns/op BenchmarkToLower/AbC123-4 220797 549.1 ns/op BenchmarkToLower/azAZ09_-4 216492 555.8 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 92120 1243 ns/op BenchmarkToLower/renan_bastos_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 67347 1656 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 35816 3270 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 73124 1613 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 116054 1010 ns/op BenchmarkMapNoChanges-4 1000000 102.4 ns/op BenchmarkTrim-4 36667 3202 ns/op 0 B/op 0 allocs/op BenchmarkToValidUTF8/Valid-4 3473212 34.43 ns/op BenchmarkToValidUTF8/InvalidASCII-4 182698 648.4 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 122677 903.1 ns/op BenchmarkEqualFold/Tests-4 53038 2169 ns/op BenchmarkEqualFold/ASCII-4 4123876 29.20 ns/op BenchmarkEqualFold/UnicodePrefix-4 111841 1060 ns/op BenchmarkEqualFold/UnicodeSuffix-4 117729 1011 ns/op BenchmarkIndexHard1-4 1208 99260 ns/op BenchmarkIndexHard2-4 858 139309 ns/op BenchmarkIndexHard3-4 217 568771 ns/op BenchmarkIndexHard4-4 207 571347 ns/op BenchmarkLastIndexHard1-4 66 1770942 ns/op BenchmarkLastIndexHard2-4 68 1730464 ns/op BenchmarkLastIndexHard3-4 67 1727151 ns/op BenchmarkCountHard1-4 1209 100614 ns/op BenchmarkCountHard2-4 852 140006 ns/op BenchmarkCountHard3-4 208 570450 ns/op BenchmarkIndexTorture-4 8692 13443 ns/op BenchmarkCountTorture-4 8556 13407 ns/op BenchmarkCountTortureOverlapping-4 1234 88926 ns/op BenchmarkCountByte/10-4 4886940 24.44 ns/op 409.23 MB/s BenchmarkCountByte/32-4 4553518 25.52 ns/op 1254.00 MB/s BenchmarkCountByte/4096-4 877262 131.9 ns/op 31062.13 MB/s BenchmarkCountByte/4194304-4 1159 98874 ns/op 42420.63 MB/s BenchmarkCountByte/67108864-4 28 4077907 ns/op 16456.69 MB/s BenchmarkFields/ASCII/16-4 277785 434.2 ns/op 36.85 MB/s 48 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 23139 4727 ns/op 54.15 MB/s 512 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 1591 74963 ns/op 54.64 MB/s 5376 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 82 1296697 ns/op 50.54 MB/s 98305 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 5 20147148 ns/op 52.05 MB/s 1507328 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 130522 975.6 ns/op 16.40 MB/s 32 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 9552 11611 ns/op 22.05 MB/s 384 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 640 174038 ns/op 23.54 MB/s 21888 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 36 3200188 ns/op 20.48 MB/s 463104 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 2 56362076 ns/op 18.60 MB/s 10457344 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 219469 549.5 ns/op 29.12 MB/s 48 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 19404 6175 ns/op 41.45 MB/s 512 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 1184 101631 ns/op 40.30 MB/s 20736 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 61 1950630 ns/op 33.60 MB/s 463105 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 3 37182668 ns/op 28.20 MB/s 10449184 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 148546 783.2 ns/op 20.43 MB/s 32 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 13275 8878 ns/op 28.83 MB/s 384 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 834 140469 ns/op 29.16 MB/s 21888 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 46 2563827 ns/op 25.56 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 3 47204122 ns/op 22.21 MB/s 10457344 B/op 24 allocs/op BenchmarkSplitEmptySeparator-4 2 63358034 ns/op BenchmarkSplitSingleByteSeparator-4 30 4419975 ns/op BenchmarkSplitMultiByteSeparator-4 39 2837824 ns/op BenchmarkSplitNSingleByteSeparator-4 274544 433.4 ns/op BenchmarkSplitNMultiByteSeparator-4 191980 630.6 ns/op BenchmarkRepeat/5x0-4 3682508 34.17 ns/op BenchmarkRepeat/5x1-4 3636345 32.33 ns/op BenchmarkRepeat/5x2-4 257742 463.6 ns/op BenchmarkRepeat/5x6-4 155608 753.3 ns/op BenchmarkRepeat/10x0-4 3628257 33.71 ns/op BenchmarkRepeat/10x1-4 3792565 31.68 ns/op BenchmarkRepeat/10x2-4 261724 470.4 ns/op BenchmarkRepeat/10x6-4 162020 742.8 ns/op BenchmarkRepeatLarge/256/1-4 75775 1575 ns/op 162.50 MB/s BenchmarkRepeatLarge/256/16-4 123026 961.8 ns/op 266.18 MB/s BenchmarkRepeatLarge/512/1-4 62332 1866 ns/op 274.32 MB/s BenchmarkRepeatLarge/512/16-4 93884 1282 ns/op 399.34 MB/s BenchmarkRepeatLarge/1024/1-4 49126 2410 ns/op 424.89 MB/s BenchmarkRepeatLarge/1024/16-4 66574 1779 ns/op 575.68 MB/s BenchmarkRepeatLarge/2048/1-4 36135 3333 ns/op 614.52 MB/s BenchmarkRepeatLarge/2048/16-4 44830 2652 ns/op 772.35 MB/s BenchmarkRepeatLarge/4096/1-4 24960 4899 ns/op 836.08 MB/s BenchmarkRepeatLarge/4096/16-4 28114 4287 ns/op 955.48 MB/s BenchmarkRepeatLarge/8192/1-4 14529 8090 ns/op 1012.59 MB/s BenchmarkRepeatLarge/8192/16-4 16201 7230 ns/op 1133.01 MB/s BenchmarkRepeatLarge/8192/4097-4 5853613 20.48 ns/op 200055.80 MB/s BenchmarkRepeatLarge/16384/1-4 8108 13501 ns/op 1213.51 MB/s BenchmarkRepeatLarge/16384/16-4 8510 13280 ns/op 1233.72 MB/s BenchmarkRepeatLarge/16384/4097-4 12151 10039 ns/op 1224.31 MB/s BenchmarkRepeatLarge/32768/1-4 4413 24545 ns/op 1335.00 MB/s BenchmarkRepeatLarge/32768/16-4 4872 21977 ns/op 1490.99 MB/s BenchmarkRepeatLarge/32768/4097-4 6376 22489 ns/op 1275.23 MB/s BenchmarkRepeatLarge/65536/1-4 2401 45280 ns/op 1447.36 MB/s BenchmarkRepeatLarge/65536/16-4 2278 44396 ns/op 1476.17 MB/s BenchmarkRepeatLarge/65536/4097-4 2260 44258 ns/op 1388.57 MB/s BenchmarkRepeatLarge/131072/1-4 499 232597 ns/op 563.52 MB/s BenchmarkRepeatLarge/131072/16-4 482 235102 ns/op 557.51 MB/s BenchmarkRepeatLarge/131072/4097-4 513 222333 ns/op 571.25 MB/s BenchmarkRepeatLarge/262144/1-4 256 458879 ns/op 571.27 MB/s BenchmarkRepeatLarge/262144/16-4 261 449675 ns/op 582.96 MB/s BenchmarkRepeatLarge/262144/4097-4 259 451262 ns/op 571.98 MB/s BenchmarkRepeatLarge/524288/1-4 129 873179 ns/op 600.44 MB/s BenchmarkRepeatLarge/524288/16-4 135 882076 ns/op 594.38 MB/s BenchmarkRepeatLarge/524288/4097-4 132 898364 ns/op 579.19 MB/s BenchmarkRepeatLarge/1048576/1-4 63 1777359 ns/op 589.96 MB/s BenchmarkRepeatLarge/1048576/16-4 72 1844115 ns/op 568.61 MB/s BenchmarkRepeatLarge/1048576/4097-4 72 1815469 ns/op 575.46 MB/s BenchmarkRepeatLarge/2097152/1-4 45 3166496 ns/op 662.29 MB/s BenchmarkRepeatLarge/2097152/16-4 39 3268579 ns/op 641.61 MB/s BenchmarkRepeatLarge/2097152/4097-4 46 3333538 ns/op 628.03 MB/s BenchmarkRepeatLarge/4194304/1-4 19 6504028 ns/op 644.88 MB/s BenchmarkRepeatLarge/4194304/16-4 18 6377305 ns/op 657.69 MB/s BenchmarkRepeatLarge/4194304/4097-4 18 6439638 ns/op 650.85 MB/s BenchmarkRepeatLarge/8388608/1-4 9 12966364 ns/op 646.95 MB/s BenchmarkRepeatLarge/8388608/16-4 9 12822985 ns/op 654.19 MB/s BenchmarkRepeatLarge/8388608/4097-4 8 13061580 ns/op 642.08 MB/s BenchmarkRepeatLarge/16777216/1-4 5 24210565 ns/op 692.97 MB/s BenchmarkRepeatLarge/16777216/16-4 5 24981674 ns/op 671.58 MB/s BenchmarkRepeatLarge/16777216/4097-4 5 24711109 ns/op 678.93 MB/s BenchmarkRepeatLarge/33554432/1-4 3 45531031 ns/op 736.96 MB/s BenchmarkRepeatLarge/33554432/16-4 3 45790961 ns/op 732.77 MB/s BenchmarkRepeatLarge/33554432/4097-4 3 46345221 ns/op 724.01 MB/s BenchmarkRepeatLarge/67108864/1-4 2 84736678 ns/op 791.97 MB/s BenchmarkRepeatLarge/67108864/16-4 2 85996528 ns/op 780.37 MB/s BenchmarkRepeatLarge/67108864/4097-4 2 87828144 ns/op 764.09 MB/s BenchmarkRepeatLarge/134217728/1-4 1 165607624 ns/op 810.46 MB/s BenchmarkRepeatLarge/134217728/16-4 1 170416265 ns/op 787.59 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 173993607 ns/op 771.39 MB/s BenchmarkRepeatLarge/268435456/1-4 1 321489903 ns/op 834.97 MB/s BenchmarkRepeatLarge/268435456/16-4 1 335040578 ns/op 801.20 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 329523357 ns/op 814.62 MB/s BenchmarkRepeatLarge/536870912/1-4 1 643809437 ns/op 833.90 MB/s BenchmarkRepeatLarge/536870912/16-4 1 654367062 ns/op 820.44 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 656982273 ns/op 817.18 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 1280452462 ns/op 838.56 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 1294712288 ns/op 829.33 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 1310576624 ns/op 819.29 MB/s BenchmarkIndexAnyASCII/1:1-4 2344316 50.30 ns/op BenchmarkIndexAnyASCII/1:2-4 2199591 53.83 ns/op BenchmarkIndexAnyASCII/1:4-4 2238741 53.59 ns/op BenchmarkIndexAnyASCII/1:8-4 2213858 53.91 ns/op BenchmarkIndexAnyASCII/1:16-4 2205822 52.89 ns/op BenchmarkIndexAnyASCII/1:32-4 2173461 54.08 ns/op BenchmarkIndexAnyASCII/1:64-4 2252096 54.14 ns/op BenchmarkIndexAnyASCII/16:1-4 2384890 50.28 ns/op BenchmarkIndexAnyASCII/16:2-4 920480 129.2 ns/op BenchmarkIndexAnyASCII/16:4-4 901244 140.0 ns/op BenchmarkIndexAnyASCII/16:8-4 802878 146.5 ns/op BenchmarkIndexAnyASCII/16:16-4 756414 152.2 ns/op BenchmarkIndexAnyASCII/16:32-4 586798 192.9 ns/op BenchmarkIndexAnyASCII/16:64-4 432884 259.8 ns/op BenchmarkIndexAnyASCII/256:1-4 2110896 55.97 ns/op BenchmarkIndexAnyASCII/256:2-4 86035 1401 ns/op BenchmarkIndexAnyASCII/256:4-4 86006 1407 ns/op BenchmarkIndexAnyASCII/256:8-4 85364 1400 ns/op BenchmarkIndexAnyASCII/256:16-4 84525 1409 ns/op BenchmarkIndexAnyASCII/256:32-4 82416 1454 ns/op BenchmarkIndexAnyASCII/256:64-4 78243 1522 ns/op BenchmarkIndexAnyUTF8/1:1-4 2500663 47.97 ns/op BenchmarkIndexAnyUTF8/1:2-4 2140970 56.48 ns/op BenchmarkIndexAnyUTF8/1:4-4 2274013 56.15 ns/op BenchmarkIndexAnyUTF8/1:8-4 2105612 56.36 ns/op BenchmarkIndexAnyUTF8/1:16-4 2140742 56.30 ns/op BenchmarkIndexAnyUTF8/1:32-4 2255934 52.90 ns/op BenchmarkIndexAnyUTF8/1:64-4 2273455 55.71 ns/op BenchmarkIndexAnyUTF8/16:1-4 1978935 60.63 ns/op BenchmarkIndexAnyUTF8/16:2-4 342364 340.8 ns/op BenchmarkIndexAnyUTF8/16:4-4 337718 343.7 ns/op BenchmarkIndexAnyUTF8/16:8-4 337840 342.6 ns/op BenchmarkIndexAnyUTF8/16:16-4 343234 340.6 ns/op BenchmarkIndexAnyUTF8/16:32-4 337676 347.4 ns/op BenchmarkIndexAnyUTF8/16:64-4 349005 343.0 ns/op BenchmarkIndexAnyUTF8/256:1-4 392817 304.3 ns/op BenchmarkIndexAnyUTF8/256:2-4 25441 4733 ns/op BenchmarkIndexAnyUTF8/256:4-4 25440 4742 ns/op BenchmarkIndexAnyUTF8/256:8-4 25320 4775 ns/op BenchmarkIndexAnyUTF8/256:16-4 25158 4755 ns/op BenchmarkIndexAnyUTF8/256:32-4 24788 4817 ns/op BenchmarkIndexAnyUTF8/256:64-4 25474 4706 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2356052 50.63 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2336205 50.88 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2331415 51.74 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2303974 51.05 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2344712 51.12 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2381145 51.35 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2363788 52.17 ns/op BenchmarkLastIndexAnyASCII/16:1-4 870801 128.6 ns/op BenchmarkLastIndexAnyASCII/16:2-4 823540 129.9 ns/op BenchmarkLastIndexAnyASCII/16:4-4 877699 131.9 ns/op BenchmarkLastIndexAnyASCII/16:8-4 790882 144.7 ns/op BenchmarkLastIndexAnyASCII/16:16-4 778941 151.2 ns/op BenchmarkLastIndexAnyASCII/16:32-4 613951 194.4 ns/op BenchmarkLastIndexAnyASCII/16:64-4 434498 260.5 ns/op BenchmarkLastIndexAnyASCII/256:1-4 83023 1387 ns/op BenchmarkLastIndexAnyASCII/256:2-4 84957 1395 ns/op BenchmarkLastIndexAnyASCII/256:4-4 83935 1401 ns/op BenchmarkLastIndexAnyASCII/256:8-4 85078 1403 ns/op BenchmarkLastIndexAnyASCII/256:16-4 85240 1447 ns/op BenchmarkLastIndexAnyASCII/256:32-4 82694 1381 ns/op BenchmarkLastIndexAnyASCII/256:64-4 78604 1524 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2316068 51.41 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2318794 52.58 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2374918 51.17 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2317491 52.22 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2297190 51.53 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2275556 51.18 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2449720 48.85 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 392967 282.5 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 218931 577.3 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 208156 547.7 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 203618 575.3 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 205058 575.7 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 204147 582.8 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 202784 577.7 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 29023 4106 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 14096 8520 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 13102 8511 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 14202 8457 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 14170 8461 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 13688 8563 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 13966 8547 ns/op BenchmarkTrimASCII/1:1-4 3208725 36.36 ns/op BenchmarkTrimASCII/1:2-4 2711680 43.81 ns/op BenchmarkTrimASCII/1:4-4 2603002 45.28 ns/op BenchmarkTrimASCII/1:8-4 2285528 50.60 ns/op BenchmarkTrimASCII/1:16-4 1943365 60.69 ns/op BenchmarkTrimASCII/16:1-4 3054070 39.46 ns/op BenchmarkTrimASCII/16:2-4 884472 131.4 ns/op BenchmarkTrimASCII/16:4-4 851612 133.4 ns/op BenchmarkTrimASCII/16:8-4 793555 142.8 ns/op BenchmarkTrimASCII/16:16-4 755266 156.4 ns/op BenchmarkTrimASCII/256:1-4 903913 128.1 ns/op BenchmarkTrimASCII/256:2-4 83546 1338 ns/op BenchmarkTrimASCII/256:4-4 91305 1406 ns/op BenchmarkTrimASCII/256:8-4 91268 1400 ns/op BenchmarkTrimASCII/256:16-4 84508 1419 ns/op BenchmarkTrimASCII/4096:1-4 86526 1388 ns/op BenchmarkTrimASCII/4096:2-4 5472 21613 ns/op BenchmarkTrimASCII/4096:4-4 5463 21892 ns/op BenchmarkTrimASCII/4096:8-4 5566 21553 ns/op BenchmarkTrimASCII/4096:16-4 5446 21651 ns/op BenchmarkTrimByte-4 4717296 25.24 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 19306 6205 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 19318 6224 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 1214 97922 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 2422 48693 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 4780 24360 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 9034 12885 ns/op BenchmarkJoin/0-4 5670214 21.19 ns/op 0 B/op 0 allocs/op BenchmarkJoin/1-4 3947826 30.35 ns/op 0 B/op 0 allocs/op BenchmarkJoin/2-4 200000 590.5 ns/op 16 B/op 1 allocs/op BenchmarkJoin/3-4 138681 864.6 ns/op 24 B/op 1 allocs/op BenchmarkJoin/4-4 104540 1138 ns/op 48 B/op 1 allocs/op BenchmarkJoin/5-4 81024 1410 ns/op 48 B/op 1 allocs/op BenchmarkJoin/6-4 72794 1649 ns/op 64 B/op 1 allocs/op BenchmarkJoin/7-4 61330 1933 ns/op 64 B/op 1 allocs/op BenchmarkTrimSpace/NoTrim-4 2816108 41.33 ns/op BenchmarkTrimSpace/ASCII-4 1734616 69.53 ns/op BenchmarkTrimSpace/SomeNonASCII-4 145224 803.0 ns/op BenchmarkTrimSpace/JustNonASCII-4 78724 1502 ns/op BenchmarkReplaceAll-4 123482 979.8 ns/op 16 B/op 1 allocs/op PASS ok strings 52.382s goos: linux goarch: amd64 pkg: sync cpu: AMD EPYC 7B12 BenchmarkCond1-4 55178 2228 ns/op BenchmarkCond2-4 19957 7085 ns/op BenchmarkCond4-4 11284 10746 ns/op BenchmarkCond8-4 10000 14960 ns/op BenchmarkCond16-4 3673 32902 ns/op BenchmarkCond32-4 1916 74746 ns/op BenchmarkLoadMostlyHits/*sync_test.DeepCopyMap-4 602887 188.0 ns/op BenchmarkLoadMostlyHits/*sync_test.RWMutexMap-4 236151 493.4 ns/op BenchmarkLoadMostlyHits/*sync.Map-4 593847 201.0 ns/op BenchmarkLoadMostlyMisses/*sync_test.DeepCopyMap-4 667552 176.4 ns/op BenchmarkLoadMostlyMisses/*sync_test.RWMutexMap-4 313544 419.4 ns/op BenchmarkLoadMostlyMisses/*sync.Map-4 737544 189.6 ns/op BenchmarkLoadOrStoreBalanced/*sync_test.RWMutexMap-4 82129 1460 ns/op BenchmarkLoadOrStoreBalanced/*sync.Map-4 80468 1644 ns/op BenchmarkLoadOrStoreUnique/*sync_test.RWMutexMap-4 76287 2034 ns/op BenchmarkLoadOrStoreUnique/*sync.Map-4 51021 2892 ns/op BenchmarkLoadOrStoreCollision/*sync_test.DeepCopyMap-4 660342 265.9 ns/op BenchmarkLoadOrStoreCollision/*sync_test.RWMutexMap-4 155630 777.5 ns/op BenchmarkLoadOrStoreCollision/*sync.Map-4 581445 231.6 ns/op BenchmarkLoadAndDeleteBalanced/*sync_test.RWMutexMap-4 142843 873.6 ns/op BenchmarkLoadAndDeleteBalanced/*sync.Map-4 654498 178.7 ns/op BenchmarkLoadAndDeleteUnique/*sync_test.RWMutexMap-4 157981 725.5 ns/op BenchmarkLoadAndDeleteUnique/*sync.Map-4 2257270 47.97 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.DeepCopyMap-4 49677 2441 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.RWMutexMap-4 133382 860.3 ns/op BenchmarkLoadAndDeleteCollision/*sync.Map-4 249313 457.7 ns/op BenchmarkRange/*sync_test.DeepCopyMap-4 6748 16521 ns/op BenchmarkRange/*sync_test.RWMutexMap-4 249 404862 ns/op BenchmarkRange/*sync.Map-4 1510 75299 ns/op BenchmarkAdversarialAlloc/*sync_test.DeepCopyMap-4 96710 1233 ns/op BenchmarkAdversarialAlloc/*sync_test.RWMutexMap-4 189151 655.8 ns/op BenchmarkAdversarialAlloc/*sync.Map-4 75312 1746 ns/op BenchmarkAdversarialDelete/*sync_test.DeepCopyMap-4 107774 976.5 ns/op BenchmarkAdversarialDelete/*sync_test.RWMutexMap-4 215068 555.4 ns/op BenchmarkAdversarialDelete/*sync.Map-4 212265 739.1 ns/op BenchmarkDeleteCollision/*sync_test.DeepCopyMap-4 70302 1566 ns/op BenchmarkDeleteCollision/*sync_test.RWMutexMap-4 194937 628.3 ns/op BenchmarkDeleteCollision/*sync.Map-4 852666 168.3 ns/op BenchmarkSwapCollision/*sync_test.DeepCopyMap-4 58686 2132 ns/op BenchmarkSwapCollision/*sync_test.RWMutexMap-4 126204 897.0 ns/op BenchmarkSwapCollision/*sync.Map-4 68378 1746 ns/op BenchmarkSwapMostlyHits/*sync_test.DeepCopyMap-4 415 301571 ns/op BenchmarkSwapMostlyHits/*sync_test.RWMutexMap-4 102586 1204 ns/op BenchmarkSwapMostlyHits/*sync.Map-4 322142 374.8 ns/op BenchmarkSwapMostlyMisses/*sync_test.DeepCopyMap-4 24074 4871 ns/op BenchmarkSwapMostlyMisses/*sync_test.RWMutexMap-4 63990 1933 ns/op BenchmarkSwapMostlyMisses/*sync.Map-4 23106 5087 ns/op BenchmarkCompareAndSwapCollision/*sync_test.DeepCopyMap-4 370780 412.3 ns/op BenchmarkCompareAndSwapCollision/*sync_test.RWMutexMap-4 111630 1199 ns/op BenchmarkCompareAndSwapCollision/*sync.Map-4 153492 796.7 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.DeepCopyMap-4 2048080 58.43 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.RWMutexMap-4 161044 712.8 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync.Map-4 2094060 81.07 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.DeepCopyMap-4 702072 176.1 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.RWMutexMap-4 142123 812.6 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync.Map-4 726372 207.1 ns/op BenchmarkCompareAndSwapMostlyHits/*sync_test.RWMutexMap-4 94999 1231 ns/op BenchmarkCompareAndSwapMostlyHits/*sync.Map-4 304819 363.7 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.DeepCopyMap-4 499701 285.6 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.RWMutexMap-4 116515 1035 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync.Map-4 687189 165.3 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.DeepCopyMap-4 179023 987.4 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.RWMutexMap-4 88786 1183 ns/op BenchmarkCompareAndDeleteCollision/*sync.Map-4 155032 771.7 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync_test.RWMutexMap-4 57108 2141 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync.Map-4 180093 595.5 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.DeepCopyMap-4 618936 204.4 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.RWMutexMap-4 121356 1005 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync.Map-4 777694 151.1 ns/op BenchmarkUncontendedSemaphore-4 6482868 18.33 ns/op BenchmarkContendedSemaphore-4 5250736 32.71 ns/op BenchmarkMutexUncontended-4 920365 130.3 ns/op BenchmarkMutex-4 165118 687.4 ns/op BenchmarkMutexSlack-4 156560 730.7 ns/op BenchmarkMutexWork-4 167991 832.6 ns/op BenchmarkMutexWorkSlack-4 141841 846.3 ns/op BenchmarkMutexNoSpin-4 41427 2704 ns/op BenchmarkMutexSpin-4 71758 1697 ns/op BenchmarkOnce-4 798444 135.0 ns/op BenchmarkSemaUncontended-4 7771628 15.18 ns/op BenchmarkSemaSyntNonblock-4 1867537 61.07 ns/op BenchmarkSemaSyntBlock-4 1725451 70.69 ns/op BenchmarkSemaWorkNonblock-4 817861 127.3 ns/op BenchmarkSemaWorkBlock-4 769956 146.5 ns/op BenchmarkRWMutexUncontended-4 471399 218.1 ns/op BenchmarkRWMutexWrite100-4 370454 386.2 ns/op BenchmarkRWMutexWrite10-4 334154 412.5 ns/op BenchmarkRWMutexWorkWrite100-4 251060 514.5 ns/op BenchmarkRWMutexWorkWrite10-4 198454 552.2 ns/op BenchmarkWaitGroupUncontended-4 1032066 119.4 ns/op BenchmarkWaitGroupAddDone-4 323160 387.3 ns/op BenchmarkWaitGroupAddDoneWork-4 313878 324.2 ns/op BenchmarkWaitGroupWait-4 4190074 28.07 ns/op BenchmarkWaitGroupWaitWork-4 2561491 40.65 ns/op BenchmarkWaitGroupActuallyWait-4 27260 3860 ns/op 32 B/op 2 allocs/op PASS ok sync 16.949s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: sync/atomic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkValueRead-4 615024 257.9 ns/op PASS ok sync/atomic 0.270s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: testing cpu: AMD EPYC 7B12 BenchmarkTBHelper-4 104239 1110 ns/op 0 B/op 0 allocs/op PASS ok testing 0.164s goos: linux goarch: amd64 pkg: text/tabwriter cpu: AMD EPYC 7B12 BenchmarkTable/1x10/new-4 8160 14377 ns/op 1520 B/op 21 allocs/op BenchmarkTable/1x10/reuse-4 11415 10477 ns/op 0 B/op 0 allocs/op BenchmarkTable/1x1000/new-4 96 1188268 ns/op 129392 B/op 1025 allocs/op BenchmarkTable/1x1000/reuse-4 121 978089 ns/op 1069 B/op 8 allocs/op BenchmarkTable/1x100000/new-4 1 146973525 ns/op 19393008 B/op 100057 allocs/op BenchmarkTable/1x100000/reuse-4 1 142607685 ns/op 19393112 B/op 100059 allocs/op BenchmarkTable/10x10/new-4 1605 63022 ns/op 5056 B/op 31 allocs/op BenchmarkTable/10x10/reuse-4 1861 54395 ns/op 2 B/op 0 allocs/op BenchmarkTable/10x1000/new-4 19 5802912 ns/op 413568 B/op 1039 allocs/op BenchmarkTable/10x1000/reuse-4 19 5701288 ns/op 21766 B/op 54 allocs/op BenchmarkTable/10x100000/new-4 1 614592291 ns/op 48120704 B/op 100073 allocs/op BenchmarkTable/10x100000/reuse-4 1 613647161 ns/op 48120704 B/op 100073 allocs/op BenchmarkTable/100x10/new-4 213 558922 ns/op 39296 B/op 41 allocs/op BenchmarkTable/100x10/reuse-4 237 486818 ns/op 165 B/op 0 allocs/op BenchmarkTable/100x1000/new-4 2 53713968 ns/op 3288960 B/op 1053 allocs/op BenchmarkTable/100x1000/reuse-4 2 52510298 ns/op 1644480 B/op 526 allocs/op BenchmarkTable/100x100000/new-4 1 6161539085 ns/op 335149952 B/op 100089 allocs/op BenchmarkTable/100x100000/reuse-4 1 6123156257 ns/op 335149968 B/op 100091 allocs/op BenchmarkPyramid/10-4 2916 39756 ns/op 4872 B/op 35 allocs/op BenchmarkPyramid/100-4 43 2890545 ns/op 409128 B/op 230 allocs/op BenchmarkPyramid/1000-4 1 284418991 ns/op 35625256 B/op 2055 allocs/op BenchmarkRagged/10-4 2584 44386 ns/op 4512 B/op 34 allocs/op BenchmarkRagged/100-4 272 432112 ns/op 41008 B/op 188 allocs/op BenchmarkRagged/1000-4 27 4201938 ns/op 427424 B/op 1661 allocs/op BenchmarkCode-4 7736 15610 ns/op 624 B/op 13 allocs/op PASS ok text/tabwriter 16.950s goos: linux goarch: amd64 pkg: text/template/parse cpu: AMD EPYC 7B12 BenchmarkParseLarge-4 2 77821096 ns/op BenchmarkVariableString-4 91413 1259 ns/op 80 B/op 3 allocs/op BenchmarkListString-4 1930 55543 ns/op 2501 B/op 39 allocs/op PASS ok text/template/parse 0.516s goos: linux goarch: amd64 pkg: time cpu: AMD EPYC 7B12 BenchmarkAfterFunc-4 26 4252580 ns/op BenchmarkAfter-4 116 1113165 ns/op BenchmarkStop-4 216 582465 ns/op BenchmarkSimultaneousAfterFunc-4 28 3968386 ns/op BenchmarkStartStop-4 230 516197 ns/op BenchmarkReset-4 3373 38880 ns/op BenchmarkSleep-4 32 3207830 ns/op BenchmarkParallelTimerLatency-4 45 231247 avg-late-ns 2035510 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=1-4 37 300070 avg-late-ns 878225 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=2-4 33 363046 avg-late-ns 1053129 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=3-4 34 358656 avg-late-ns 1301220 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=4-4 33 363239 avg-late-ns 2129386 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=5-4 31 378198 avg-late-ns 2669308 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=6-4 31 302762 avg-late-ns 3317849 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=7-4 30 201315 avg-late-ns 1733916 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=8-4 27 183367 avg-late-ns 1246776 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=9-4 26 177249 avg-late-ns 1275206 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=10-4 26 882986 avg-late-ns 5155188 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=2ms/tickers-per-P=1-4 34 298634 avg-late-ns 846108 max-late-ns BenchmarkTicker-4 290 348167 ns/op BenchmarkTickerReset-4 4514 24075 ns/op BenchmarkTickerResetNaive-4 213 561169 ns/op BenchmarkNow-4 1245805 94.20 ns/op BenchmarkNowUnixNano-4 1000000 102.3 ns/op BenchmarkNowUnixMilli-4 1285671 93.55 ns/op BenchmarkNowUnixMicro-4 1300684 92.41 ns/op BenchmarkFormat-4 59455 2016 ns/op BenchmarkFormatRFC3339-4 81348 1398 ns/op BenchmarkFormatRFC3339Nano-4 83284 1424 ns/op BenchmarkFormatNow-4 81952 1487 ns/op BenchmarkMarshalJSON-4 115096 1015 ns/op BenchmarkMarshalText-4 116640 995.6 ns/op BenchmarkParse-4 133269 859.9 ns/op BenchmarkParseRFC3339UTC-4 327092 347.0 ns/op BenchmarkParseRFC3339UTCBytes-4 210332 544.7 ns/op BenchmarkParseRFC3339TZ-4 104485 1142 ns/op BenchmarkParseRFC3339TZBytes-4 81916 1470 ns/op BenchmarkParseDuration-4 623023 190.7 ns/op BenchmarkHour-4 985342 110.5 ns/op BenchmarkSecond-4 1000000 109.8 ns/op BenchmarkYear-4 763698 145.2 ns/op BenchmarkDay-4 696091 164.1 ns/op BenchmarkISOWeek-4 821343 144.7 ns/op BenchmarkGoString-4 81441 1464 ns/op BenchmarkUnmarshalText-4 70918 1659 ns/op PASS ok time 11.044s goos: linux goarch: amd64 pkg: unicode/utf16 cpu: AMD EPYC 7B12 BenchmarkDecodeValidASCII-4 661262 168.5 ns/op BenchmarkDecodeValidJapaneseChars-4 727039 149.7 ns/op BenchmarkDecodeRune-4 1920981 61.96 ns/op BenchmarkEncodeValidASCII-4 544064 201.6 ns/op BenchmarkEncodeValidJapaneseChars-4 768028 154.1 ns/op BenchmarkAppendRuneValidASCII-4 1431580 77.37 ns/op BenchmarkAppendRuneValidJapaneseChars-4 2648766 44.68 ns/op BenchmarkEncodeRune-4 3406695 35.19 ns/op PASS ok unicode/utf16 1.194s goos: linux goarch: amd64 pkg: unicode/utf8 cpu: AMD EPYC 7B12 BenchmarkRuneCountTenASCIIChars-4 901929 114.6 ns/op BenchmarkRuneCountTenJapaneseChars-4 210958 554.3 ns/op BenchmarkRuneCountInStringTenASCIIChars-4 4307704 27.80 ns/op BenchmarkRuneCountInStringTenJapaneseChars-4 552058 215.8 ns/op BenchmarkValidTenASCIIChars-4 1000000 108.3 ns/op BenchmarkValid100KASCIIChars-4 136 845027 ns/op BenchmarkValidTenJapaneseChars-4 190755 593.0 ns/op BenchmarkValidLongMostlyASCII-4 133 898258 ns/op BenchmarkValidLongJapanese-4 63 1888187 ns/op BenchmarkValidStringTenASCIIChars-4 4660074 23.63 ns/op BenchmarkValidString100KASCIIChars-4 12450 10314 ns/op BenchmarkValidStringTenJapaneseChars-4 524042 202.7 ns/op BenchmarkValidStringLongMostlyASCII-4 1159 101391 ns/op BenchmarkValidStringLongJapanese-4 207 571020 ns/op BenchmarkEncodeASCIIRune-4 4732904 25.01 ns/op BenchmarkEncodeJapaneseRune-4 2736026 43.95 ns/op BenchmarkAppendASCIIRune-4 9651290 10.89 ns/op BenchmarkAppendJapaneseRune-4 2854399 36.60 ns/op BenchmarkDecodeASCIIRune-4 3260095 38.19 ns/op BenchmarkDecodeJapaneseRune-4 2137893 56.70 ns/op BenchmarkFullRune/ASCII-4 3722106 28.83 ns/op BenchmarkFullRune/Incomplete-4 1559332 71.43 ns/op BenchmarkFullRune/Japanese-4 4044417 28.86 ns/op PASS ok unicode/utf8 3.513s goos: linux goarch: amd64 pkg: cmd/api cpu: AMD EPYC 7B12 BenchmarkAll-4 1 48445001421 ns/op PASS ok cmd/api 54.082s goos: linux goarch: amd64 pkg: cmd/compile/internal/reflectdata cpu: AMD EPYC 7B12 BenchmarkEqArrayOfStrings5-4 1000000 101.3 ns/op BenchmarkEqArrayOfStrings64-4 131584 819.0 ns/op BenchmarkEqArrayOfStrings1024-4 8710 13510 ns/op BenchmarkEqArrayOfFloats5-4 1322150 86.31 ns/op BenchmarkEqArrayOfFloats64-4 147633 812.1 ns/op BenchmarkEqArrayOfFloats1024-4 8364 12610 ns/op BenchmarkEqStruct-4 18126285 6.236 ns/op PASS ok cmd/compile/internal/reflectdata 0.953s goos: linux goarch: amd64 pkg: cmd/compile/internal/ssa cpu: AMD EPYC 7B12 BenchmarkPhioptPass-4 10000 55346 ns/op BenchmarkCopyElim1-4 777 137243 ns/op BenchmarkCopyElim10-4 746 139551 ns/op BenchmarkCopyElim100-4 435 278544 ns/op BenchmarkCopyElim1000-4 73 1558396 ns/op BenchmarkCopyElim10000-4 4 26637268 ns/op BenchmarkCopyElim100000-4 1 497696231 ns/op BenchmarkDeadCode/1-4 721 153765 ns/op BenchmarkDeadCode/10-4 592 187774 ns/op BenchmarkDeadCode/100-4 277 390086 ns/op BenchmarkDeadCode/1000-4 57 2288137 ns/op BenchmarkDeadCode/10000-4 4 26829235 ns/op BenchmarkDeadCode/100000-4 1 346877078 ns/op BenchmarkDeadCode/200000-4 1 688018016 ns/op BenchmarkDominatorsLinear-4 13 8835006 ns/op 1.13 MB/s BenchmarkDominatorsFwdBack-4 12 11414579 ns/op 0.88 MB/s BenchmarkDominatorsManyPred-4 10 11457709 ns/op 0.87 MB/s BenchmarkDominatorsMaxPred-4 10 11169369 ns/op 0.90 MB/s BenchmarkDominatorsMaxPredVal-4 10 10584306 ns/op 0.94 MB/s BenchmarkFuse/1-4 652 160994 ns/op BenchmarkFuse/10-4 546 216259 ns/op BenchmarkFuse/100-4 182 683438 ns/op BenchmarkFuse/1000-4 25 5006787 ns/op BenchmarkFuse/10000-4 2 58358978 ns/op BenchmarkNilCheckDeep1-4 12424 9998 ns/op 0.10 MB/s 233 B/op 4 allocs/op BenchmarkNilCheckDeep10-4 4804 23349 ns/op 0.43 MB/s 232 B/op 4 allocs/op BenchmarkNilCheckDeep100-4 733 164162 ns/op 0.61 MB/s 650 B/op 4 allocs/op BenchmarkNilCheckDeep1000-4 69 1554637 ns/op 0.64 MB/s 6432 B/op 5 allocs/op BenchmarkNilCheckDeep10000-4 6 18994291 ns/op 0.53 MB/s 54958 B/op 5 allocs/op BenchmarkDSEPass-4 32 3909988 ns/op 43226 B/op 6 allocs/op BenchmarkDSEPassBlock-4 1 126955716 ns/op 4259312 B/op 108515 allocs/op BenchmarkCSEPass-4 7 14685974 ns/op 112803 B/op 9 allocs/op BenchmarkCSEPassBlock-4 1 156858654 ns/op 5668184 B/op 97490 allocs/op BenchmarkDeadcodePass-4 200 549971 ns/op 95382 B/op 3 allocs/op BenchmarkDeadcodePassBlock-4 1 124307986 ns/op 4031112 B/op 44891 allocs/op BenchmarkMultiPass-4 84 1306885 ns/op 223126 B/op 10 allocs/op BenchmarkMultiPassBlock-4 1 241990861 ns/op 11150056 B/op 149330 allocs/op BenchmarkCondRewrite/SoloJump-4 2942446 40.82 ns/op BenchmarkCondRewrite/CombJump-4 3008000 36.86 ns/op PASS ok cmd/compile/internal/ssa 13.014s goos: linux goarch: amd64 pkg: cmd/compile/internal/test cpu: AMD EPYC 7B12 BenchmarkLoadAdd-4 8336 12703 ns/op BenchmarkExtShift-4 18172 6565 ns/op BenchmarkModify-4 8656 13224 ns/op BenchmarkMullImm-4 18175 6562 ns/op BenchmarkConstModify-4 8736 11808 ns/op BenchmarkBitSet-4 19533 6513 ns/op BenchmarkBitClear-4 19777 6075 ns/op BenchmarkBitToggle-4 19999 6128 ns/op BenchmarkBitSetConst-4 158703 805.7 ns/op BenchmarkBitClearConst-4 149254 804.7 ns/op BenchmarkBitToggleConst-4 157969 750.3 ns/op BenchmarkDivconstI64-4 9759468 12.07 ns/op BenchmarkModconstI64-4 9324336 12.53 ns/op BenchmarkDivisiblePow2constI64-4 8867973 13.35 ns/op BenchmarkDivisibleconstI64-4 10040925 12.00 ns/op BenchmarkDivisibleWDivconstI64-4 7490416 16.17 ns/op BenchmarkDivconstU64/3-4 8792677 12.46 ns/op BenchmarkDivconstU64/5-4 9370074 13.25 ns/op BenchmarkDivconstU64/37-4 9749448 13.57 ns/op BenchmarkDivconstU64/1234567-4 9815589 12.13 ns/op BenchmarkModconstU64-4 8899720 12.35 ns/op BenchmarkDivisibleconstU64-4 8812131 12.31 ns/op BenchmarkDivisibleWDivconstU64-4 6461895 16.84 ns/op BenchmarkDivconstI32-4 9758620 12.08 ns/op BenchmarkModconstI32-4 9487710 12.58 ns/op BenchmarkDivisiblePow2constI32-4 8999596 12.11 ns/op BenchmarkDivisibleconstI32-4 9942211 11.83 ns/op BenchmarkDivisibleWDivconstI32-4 6303775 16.39 ns/op BenchmarkDivconstU32-4 8796757 13.46 ns/op BenchmarkModconstU32-4 8508417 13.59 ns/op BenchmarkDivisibleconstU32-4 10087941 11.82 ns/op BenchmarkDivisibleWDivconstU32-4 7495933 16.53 ns/op BenchmarkDivconstI16-4 9314065 12.69 ns/op BenchmarkModconstI16-4 9675757 12.10 ns/op BenchmarkDivisiblePow2constI16-4 9844562 11.74 ns/op BenchmarkDivisibleconstI16-4 10113711 11.80 ns/op BenchmarkDivisibleWDivconstI16-4 6927634 16.16 ns/op BenchmarkDivconstU16-4 10134853 11.78 ns/op BenchmarkModconstU16-4 9754201 12.04 ns/op BenchmarkDivisibleconstU16-4 10112440 11.83 ns/op BenchmarkDivisibleWDivconstU16-4 6603939 15.88 ns/op BenchmarkDivconstI8-4 9951891 12.00 ns/op BenchmarkModconstI8-4 10063686 11.99 ns/op BenchmarkDivisiblePow2constI8-4 9253447 13.23 ns/op BenchmarkDivisibleconstI8-4 8794134 11.87 ns/op BenchmarkDivisibleWDivconstI8-4 7312021 15.87 ns/op BenchmarkDivconstU8-4 10024057 12.04 ns/op BenchmarkModconstU8-4 10008022 11.85 ns/op BenchmarkDivisibleconstU8-4 10148686 11.90 ns/op BenchmarkDivisibleWDivconstU8-4 7364716 16.85 ns/op BenchmarkMul2-4 246093 488.2 ns/op BenchmarkMulNeg2-4 247422 490.0 ns/op BenchmarkEfaceInteger-4 3849763 29.37 ns/op BenchmarkMulconstI32/3-4 17696686 6.582 ns/op BenchmarkMulconstI32/5-4 15820886 6.616 ns/op BenchmarkMulconstI32/12-4 18088688 6.546 ns/op BenchmarkMulconstI32/120-4 18115178 6.581 ns/op BenchmarkMulconstI32/-120-4 18322456 6.163 ns/op BenchmarkMulconstI32/65537-4 18259558 6.547 ns/op BenchmarkMulconstI32/65538-4 17890207 6.563 ns/op BenchmarkMulconstI64/3-4 18303231 6.593 ns/op BenchmarkMulconstI64/5-4 18147313 6.582 ns/op BenchmarkMulconstI64/12-4 18133077 6.599 ns/op BenchmarkMulconstI64/120-4 17918658 6.571 ns/op BenchmarkMulconstI64/-120-4 18176064 6.731 ns/op BenchmarkMulconstI64/65537-4 16630059 6.550 ns/op BenchmarkMulconstI64/65538-4 16566096 6.586 ns/op BenchmarkMulconstU32/3-4 18265951 6.552 ns/op BenchmarkMulconstU32/5-4 17957917 6.582 ns/op BenchmarkMulconstU32/12-4 18270067 6.554 ns/op BenchmarkMulconstU32/120-4 18285271 6.549 ns/op BenchmarkMulconstU32/65537-4 18103782 6.557 ns/op BenchmarkMulconstU32/65538-4 16976414 6.576 ns/op BenchmarkMulconstU64/3-4 18047174 6.557 ns/op BenchmarkMulconstU64/5-4 17759886 6.566 ns/op BenchmarkMulconstU64/12-4 18251979 6.587 ns/op BenchmarkMulconstU64/120-4 16642903 6.543 ns/op BenchmarkMulconstU64/65537-4 18360361 6.554 ns/op BenchmarkMulconstU64/65538-4 16606605 6.558 ns/op BenchmarkShiftArithmeticRight-4 18136150 6.562 ns/op BenchmarkSwitch8Predictable-4 13218522 8.752 ns/op BenchmarkSwitch8Unpredictable-4 6754101 17.31 ns/op BenchmarkSwitch32Predictable-4 11252474 10.28 ns/op BenchmarkSwitch32Unpredictable-4 6726472 17.29 ns/op BenchmarkSwitchStringPredictable-4 5345799 20.47 ns/op BenchmarkSwitchStringUnpredictable-4 4676774 24.12 ns/op PASS ok cmd/compile/internal/test 11.941s goos: linux goarch: amd64 pkg: cmd/compile/internal/types2 cpu: AMD EPYC 7B12 BenchmarkLookupFieldOrMethod-4 164 723951 ns/op BenchmarkNamed/Underlying/nongeneric-4 1000000 102.1 ns/op BenchmarkNamed/Underlying/generic-4 990589 108.5 ns/op BenchmarkNamed/Underlying/src_instance-4 1000000 106.6 ns/op BenchmarkNamed/Underlying/user_instance-4 1203627 100.6 ns/op BenchmarkCheck/http/funcbodies/info-4 1 417384481 ns/op 73217 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 323177927 ns/op 94560 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 128137329 ns/op 238428 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 118008857 ns/op 258919 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 327812088 ns/op 15647 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 2 80778382 ns/op 63492 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 4 29253250 ns/op 175292 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 4 28305919 ns/op 181157 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 119178208 ns/op 18204 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 3 35975499 ns/op 60302 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 6 19345876 ns/op 112133 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 6 18810338 ns/op 115308 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 831015042 ns/op 76464 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 526400107 ns/op 120708 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 124429828 ns/op 510496 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 102041315 ns/op 622498 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 381907706 ns/op 5231 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 58891904 ns/op 33916 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 3 34978322 ns/op 57093 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 3 34311478 ns/op 58200 lines/s PASS ok cmd/compile/internal/types2 14.116s goos: linux goarch: amd64 pkg: cmd/go cpu: AMD EPYC 7B12 BenchmarkExecGoEnv-4 188 618878 ns/op 1464681 sys-ns/op 767277 user-ns/op PASS ok cmd/go 0.199s goos: linux goarch: amd64 pkg: cmd/internal/notsha256 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes/New-4 73894 1598 ns/op 5.01 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 84480 1373 ns/op 5.83 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 19725 6062 ns/op 168.92 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 20478 5844 ns/op 175.23 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 3146 38045 ns/op 215.33 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 3144 37764 ns/op 216.93 MB/s 0 B/op 0 allocs/op PASS ok cmd/internal/notsha256 0.910s All tests passed.