linux-amd64-race at 08458804fb6591397fe1c58f4e04fd490e70fbcb :: 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-rnd1eca86" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=2s" "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" "GOPLSCACHE=/workdir/goplscache" "PWD=/workdir/go/src"] in dir /workdir/go/src Building Go cmd/dist using /workdir/go1.4. (go1.17.13 linux/amd64) Building Go toolchain1 using /workdir/go1.4. Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. Building Go toolchain2 using go_bootstrap and Go toolchain1. Building Go toolchain3 using go_bootstrap and Go toolchain2. Building packages and commands for linux/amd64. --- Installed Go for linux/amd64 in /workdir/go Installed commands in /workdir/go/bin *** You need to add /workdir/go/bin to your PATH. :: Running /workdir/go/bin/go with args ["/workdir/go/bin/go" "install" "-race" "std"] and env ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "HOSTNAME=buildlet-linux-amd64-bullseye-rnd1eca86" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=2s" "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" "GOPLSCACHE=/workdir/goplscache" "PWD=/workdir/go/bin"] in dir /workdir/go/bin ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Testing packages. ok archive/tar 1.746s ok archive/zip 2.526s ok bufio 1.215s ok bytes 2.587s ok cmp 1.008s ok compress/bzip2 1.313s ok compress/flate 5.413s ok compress/gzip 9.989s ok compress/lzw 1.395s ok compress/zlib 4.264s ok container/heap 1.013s ok container/list 1.010s ok container/ring 1.011s ok context 1.030s ok crypto 1.009s ok crypto/aes 1.033s ok crypto/cipher 1.027s ok crypto/des 1.031s ok crypto/dsa 1.010s ok crypto/ecdh 1.155s ok crypto/ecdsa 1.094s ok crypto/ed25519 1.287s ok crypto/elliptic 1.025s ok crypto/hmac 1.010s ok crypto/internal/alias 1.008s ok crypto/internal/bigmod 3.354s ok crypto/internal/boring 1.009s ok crypto/internal/boring/bcache 1.240s ok crypto/internal/edwards25519 27.581s ok crypto/internal/edwards25519/field 10.015s ok crypto/internal/nistec 1.605s ok crypto/internal/nistec/fiat 1.008s [no tests to run] ok crypto/md5 1.013s ok crypto/rand 1.176s ok crypto/rc4 1.323s ok crypto/rsa 2.252s ok crypto/sha1 1.023s ok crypto/sha256 1.012s ok crypto/sha512 1.013s ok crypto/subtle 1.248s ok crypto/tls 2.843s ok crypto/x509 2.018s ok database/sql 1.309s ok database/sql/driver 1.009s ok debug/buildinfo 1.023s ok debug/dwarf 1.052s ok debug/elf 1.843s ok debug/gosym 1.199s ok debug/macho 1.017s ok debug/pe 1.029s ok debug/plan9obj 1.009s ok embed 1.009s [no tests to run] ok embed/internal/embedtest 1.010s ok encoding/ascii85 1.012s ok encoding/asn1 1.015s ok encoding/base32 1.036s ok encoding/base64 1.015s ok encoding/binary 1.014s ok encoding/csv 1.036s ok encoding/gob 16.013s ok encoding/hex 1.014s ok encoding/json 1.799s ok encoding/pem 2.177s ok encoding/xml 1.117s ok errors 1.013s ok expvar 1.010s ok flag 3.054s ok fmt 1.422s ok go/ast 1.015s ok go/build 3.928s ok go/build/constraint 1.013s ok go/constant 1.014s ok go/doc 1.159s ok go/doc/comment 2.434s ok go/format 1.037s ok go/importer 1.108s ok go/internal/gccgoimporter 1.029s ok go/internal/gcimporter 1.776s ok go/internal/srcimporter 9.998s ok go/parser 1.607s ok go/printer 1.993s ok go/scanner 1.015s ok go/token 1.075s ok go/types 22.524s ok hash 1.011s ok hash/adler32 1.026s ok hash/crc32 1.031s ok hash/crc64 1.017s ok hash/fnv 1.010s ok hash/maphash 1.010s ok html 1.010s ok html/template 1.148s ok image 1.303s ok image/color 1.023s ok image/draw 1.398s ok image/gif 1.635s ok image/jpeg 1.912s ok image/png 3.031s ok index/suffixarray 1.764s ok internal/abi 1.037s ok internal/buildcfg 1.011s ok internal/coverage/cformat 1.012s ok internal/coverage/cmerge 1.011s ok internal/coverage/pods 1.012s ok internal/coverage/slicereader 1.011s ok internal/coverage/slicewriter 1.010s ok internal/coverage/test 1.029s ok internal/cpu 3.031s ok internal/dag 1.011s ok internal/diff 1.011s ok internal/fmtsort 1.011s ok internal/fuzz 1.024s ok internal/godebug 13.463s ok internal/godebugs 1.010s ok internal/intern 1.228s ok internal/itoa 1.010s ok internal/poll 1.399s ok internal/profile 1.011s ok internal/reflectlite 1.012s ok internal/safefilepath 1.010s ok internal/saferio 1.071s ok internal/singleflight 1.077s ok internal/testenv 1.098s ok internal/trace 1.116s ok internal/types/errors 1.239s ok internal/unsafeheader 1.010s ok internal/xcoff 1.020s ok internal/zstd 1.012s ok io 1.041s ok io/fs 1.190s ok io/ioutil 1.014s ok log 1.018s ok log/slog 1.029s ok log/slog/internal/benchmarks 1.010s ok log/slog/internal/buffer 1.010s ok log/syslog 2.227s ok maps 1.011s ok math 1.019s ok math/big 3.107s ok math/bits 1.016s ok math/cmplx 1.011s ok math/rand 3.527s ok mime 1.022s ok mime/multipart 4.587s ok mime/quotedprintable 1.035s ok net 39.608s ok net/http 6.920s ok net/http/cgi 12.254s ok net/http/cookiejar 1.015s ok net/http/fcgi 1.116s ok net/http/httptest 1.138s ok net/http/httptrace 1.009s ok net/http/httputil 1.614s ok net/http/internal 1.011s ok net/http/internal/ascii 1.010s ok net/http/pprof 6.152s ok net/internal/socktest 1.009s ok net/mail 1.013s ok net/netip 1.213s ok net/rpc 1.038s ok net/rpc/jsonrpc 1.015s ok net/smtp 1.046s ok net/textproto 1.030s ok net/url 1.018s ok os 6.239s ok os/exec 4.072s ok os/exec/internal/fdtest 1.008s ok os/signal 15.908s ok os/user 1.010s ok path 1.011s ok path/filepath 1.035s ok plugin 1.009s ok reflect 1.384s ok regexp 2.997s ok regexp/syntax 3.956s ok runtime 27.115s ok runtime/cgo 1.010s ok runtime/coverage 1.010s ok runtime/debug 2.058s ok runtime/internal/atomic 1.054s ok runtime/internal/math 1.010s ok runtime/internal/sys 1.010s ok runtime/internal/syscall 1.009s ok runtime/metrics 1.016s ok runtime/pprof 17.074s ok runtime/race 8.703s ok runtime/trace 3.520s ok slices 1.310s ok sort 1.322s ok strconv 2.581s ok strings 1.997s ok sync 1.298s ok sync/atomic 2.372s ok syscall 10.003s ok testing 2.812s ok testing/fstest 1.013s ok testing/iotest 1.011s ok testing/quick 1.105s ok testing/slogtest 1.012s ok text/scanner 1.018s ok text/tabwriter 1.012s ok text/template 1.052s ok text/template/parse 1.019s ok time 2.966s ok unicode 1.013s ok unicode/utf16 1.010s ok unicode/utf8 1.020s ok cmd/addr2line 3.856s ok cmd/api 9.337s ok cmd/asm/internal/asm 3.365s ok cmd/asm/internal/lex 1.010s ok cmd/cgo/internal/swig 1.414s ok cmd/cgo/internal/test 2.011s ok cmd/cgo/internal/testcarchive 15.212s ok cmd/cgo/internal/testcshared 3.721s ok cmd/cgo/internal/testerrors 6.690s ok cmd/cgo/internal/testfortran 1.753s ok cmd/cgo/internal/testgodefs 1.356s ok cmd/cgo/internal/testlife 1.355s ok cmd/cgo/internal/testnocgo 1.009s ok cmd/cgo/internal/testplugin 18.742s ok cmd/cgo/internal/testsanitizers 12.413s ok cmd/cgo/internal/testshared 25.114s ok cmd/cgo/internal/testso 1.836s ok cmd/cgo/internal/teststdio 1.787s ok cmd/cgo/internal/testtls 1.009s ok cmd/compile/internal/abt 1.029s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/amd64 58.422s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/base 1.010s ok cmd/compile/internal/compare 1.010s ok cmd/compile/internal/dwarfgen 1.295s ok cmd/compile/internal/importer 1.496s ok cmd/compile/internal/ir 1.009s ok cmd/compile/internal/logopt 1.131s ok cmd/compile/internal/loopvar 17.514s ok cmd/compile/internal/noder 1.012s ok cmd/compile/internal/reflectdata 1.010s [no tests to run] ok cmd/compile/internal/ssa 17.842s ok cmd/compile/internal/syntax 1.093s ok cmd/compile/internal/test 9.191s ok cmd/compile/internal/typecheck 1.137s ok cmd/compile/internal/types 1.009s ok cmd/compile/internal/types2 6.043s ok cmd/covdata 1.012s ok cmd/cover 15.423s ok cmd/dist 1.011s ok cmd/distpack 1.009s ok cmd/doc 1.467s ok cmd/fix 1.455s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Testing packages. ok cmd/go 230.026s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Testing packages. ok cmd/go/internal/auth 1.009s ok cmd/go/internal/cache 1.060s ok cmd/go/internal/envcmd 1.022s ok cmd/go/internal/fsys 1.025s ok cmd/go/internal/generate 1.017s ok cmd/go/internal/get 1.016s ok cmd/go/internal/gover 1.010s ok cmd/go/internal/imports 1.017s ok cmd/go/internal/load 1.016s ok cmd/go/internal/lockedfile 2.106s ok cmd/go/internal/lockedfile/internal/filelock 2.039s ok cmd/go/internal/modconv 1.019s ok cmd/go/internal/modfetch 1.018s ok cmd/go/internal/modfetch/codehost 1.298s ok cmd/go/internal/modfetch/zip_sum_test 1.011s ok cmd/go/internal/modindex 1.383s ok cmd/go/internal/modload 1.017s ok cmd/go/internal/mvs 1.028s ok cmd/go/internal/par 1.055s ok cmd/go/internal/str 1.010s ok cmd/go/internal/test 1.024s ok cmd/go/internal/vcs 1.013s ok cmd/go/internal/vcweb 1.013s ok cmd/go/internal/vcweb/vcstest 3.509s ok cmd/go/internal/web 1.011s ok cmd/go/internal/work 1.078s ok cmd/gofmt 1.124s ok cmd/internal/archive 1.243s ok cmd/internal/buildid 1.376s ok cmd/internal/cov 1.174s ok cmd/internal/dwarf 1.009s ok cmd/internal/edit 1.009s ok cmd/internal/bootstrap_test 1.009s ok cmd/internal/goobj 1.009s ok cmd/internal/moddeps 1.674s ok cmd/internal/notsha256 1.012s ok cmd/internal/obj 1.284s ok cmd/internal/obj/ppc64 1.061s ok cmd/internal/obj/riscv 1.025s ok cmd/internal/obj/s390x 1.010s ok cmd/internal/obj/x86 1.095s ok cmd/internal/objabi 1.010s ok cmd/internal/pkgpath 5.045s ok cmd/internal/pkgpattern 1.011s ok cmd/internal/quoted 1.010s ok cmd/internal/src 1.010s ok cmd/internal/test2json 1.512s ok cmd/link 8.847s ok cmd/link/internal/benchmark 1.010s ok cmd/link/internal/ld 3.091s ok cmd/link/internal/loader 1.024s ok cmd/nm 9.112s ok cmd/objdump 4.666s ok cmd/pack 7.197s ok cmd/pprof 3.318s ok cmd/trace 1.245s ok cmd/vet 27.385s ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: archive/tar cpu: AMD EPYC 7B12 Benchmark/Writer/USTAR-4 4688 24710 ns/op 1368 B/op 25 allocs/op Benchmark/Writer/GNU-4 3424 33702 ns/op 1859 B/op 37 allocs/op Benchmark/Writer/PAX-4 2238 48986 ns/op 2560 B/op 59 allocs/op Benchmark/Reader/USTAR-4 6079 18293 ns/op 5199 B/op 16 allocs/op Benchmark/Reader/GNU-4 9084 12677 ns/op 5092 B/op 14 allocs/op Benchmark/Reader/PAX-4 3222 37511 ns/op 8981 B/op 33 allocs/op PASS ok archive/tar 1.914s goos: linux goarch: amd64 pkg: archive/zip cpu: AMD EPYC 7B12 BenchmarkCompressedZipGarbage-4 1 273869502 ns/op 14880 B/op 66 allocs/op BenchmarkZip64Test-4 1 111649652 ns/op BenchmarkZip64TestSizes/4096-4 1872 63824 ns/op BenchmarkZip64TestSizes/1048576-4 238 503151 ns/op BenchmarkZip64TestSizes/67108864-4 1 104161162 ns/op PASS ok archive/zip 2.155s goos: linux goarch: amd64 pkg: bufio cpu: AMD EPYC 7B12 BenchmarkReaderCopyOptimal-4 319293 350.7 ns/op BenchmarkReaderCopyUnoptimal-4 204808 578.3 ns/op BenchmarkReaderCopyNoWriteTo-4 11284 11611 ns/op BenchmarkReaderWriteToOptimal-4 13722 8947 ns/op BenchmarkReaderReadString-4 191816 638.9 ns/op 144 B/op 1 allocs/op BenchmarkWriterCopyOptimal-4 302626 399.0 ns/op BenchmarkWriterCopyUnoptimal-4 314144 390.6 ns/op BenchmarkWriterCopyNoReadFrom-4 10396 11736 ns/op BenchmarkReaderEmpty-4 53504 2163 ns/op 4224 B/op 3 allocs/op BenchmarkWriterEmpty-4 42094 2685 ns/op 4096 B/op 1 allocs/op BenchmarkWriterFlush-4 672524 152.3 ns/op 0 B/op 0 allocs/op PASS ok bufio 2.693s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: bytes cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadString-4 4248 25313 ns/op 1294.51 MB/s BenchmarkWriteByte-4 458 252269 ns/op 16.24 MB/s BenchmarkWriteRune-4 246 468784 ns/op 26.21 MB/s BenchmarkBufferNotEmptyWriteRead-4 31 3852023 ns/op BenchmarkBufferFullSmallReads-4 100 1102500 ns/op BenchmarkBufferWriteBlock/N4096-4 5356 18747 ns/op 14336 B/op 6 allocs/op BenchmarkBufferWriteBlock/N65536-4 370 322272 ns/op 260096 B/op 14 allocs/op BenchmarkBufferWriteBlock/N1048576-4 6 21115597 ns/op 4192256 B/op 22 allocs/op BenchmarkBufferAppendNoCopy-4 1 139362489 ns/op 120.39 MB/s 33554432 B/op 2 allocs/op BenchmarkIndexByte/10-4 4478205 27.26 ns/op 366.86 MB/s BenchmarkIndexByte/32-4 4181230 27.56 ns/op 1160.97 MB/s BenchmarkIndexByte/4K-4 893762 134.6 ns/op 30435.85 MB/s BenchmarkIndexBytePortable/10-4 795672 143.9 ns/op 69.50 MB/s BenchmarkIndexBytePortable/32-4 253903 454.6 ns/op 70.39 MB/s BenchmarkIndexBytePortable/4K-4 2218 53175 ns/op 77.03 MB/s BenchmarkIndexRune/10-4 1000000 104.4 ns/op 95.78 MB/s BenchmarkIndexRune/32-4 1000000 106.4 ns/op 300.74 MB/s BenchmarkIndexRune/4K-4 369760 312.0 ns/op 13127.05 MB/s BenchmarkIndexRuneASCII/10-4 4288501 26.59 ns/op 376.10 MB/s BenchmarkIndexRuneASCII/32-4 4109784 27.97 ns/op 1143.93 MB/s BenchmarkIndexRuneASCII/4K-4 848005 134.3 ns/op 30492.90 MB/s BenchmarkEqual/0-4 7077004 17.18 ns/op BenchmarkEqual/1-4 1468731 81.83 ns/op 12.22 MB/s BenchmarkEqual/6-4 1422915 85.76 ns/op 69.97 MB/s BenchmarkEqual/9-4 1407966 85.54 ns/op 105.21 MB/s BenchmarkEqual/15-4 1359372 85.31 ns/op 175.84 MB/s BenchmarkEqual/16-4 1466490 83.20 ns/op 192.32 MB/s BenchmarkEqual/20-4 1356739 88.61 ns/op 225.70 MB/s BenchmarkEqual/32-4 1323723 89.47 ns/op 357.65 MB/s BenchmarkEqual/4K-4 105585 1116 ns/op 3671.04 MB/s BenchmarkIndex/10-4 2996162 40.65 ns/op 246.01 MB/s BenchmarkIndex/32-4 3023482 39.20 ns/op 816.35 MB/s BenchmarkIndex/4K-4 18282 6627 ns/op 618.09 MB/s BenchmarkIndexEasy/10-4 2848500 41.69 ns/op 239.84 MB/s BenchmarkIndexEasy/32-4 2991075 39.55 ns/op 809.15 MB/s BenchmarkIndexEasy/4K-4 483672 243.2 ns/op 16843.49 MB/s BenchmarkCount/10-4 1416424 85.04 ns/op 117.59 MB/s BenchmarkCount/32-4 1480752 81.02 ns/op 394.96 MB/s BenchmarkCount/4K-4 18080 6676 ns/op 613.56 MB/s BenchmarkCountEasy/10-4 1441173 79.86 ns/op 125.23 MB/s BenchmarkCountEasy/32-4 1449704 84.56 ns/op 378.44 MB/s BenchmarkCountEasy/4K-4 409298 287.4 ns/op 14250.14 MB/s BenchmarkCountSingle/10-4 3759891 31.43 ns/op 318.19 MB/s BenchmarkCountSingle/32-4 3532658 33.46 ns/op 956.49 MB/s BenchmarkCountSingle/4K-4 806455 142.5 ns/op 28751.21 MB/s BenchmarkToUpper/#00-4 2895268 42.26 ns/op BenchmarkToUpper/ONLYUPPER-4 291300 421.4 ns/op BenchmarkToUpper/abc-4 504068 243.5 ns/op BenchmarkToUpper/AbC123-4 281690 425.0 ns/op BenchmarkToUpper/azAZ09_-4 253902 462.5 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 78394 1527 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 39652 3019 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 55362 2181 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 123920 935.5 ns/op BenchmarkToLower/#00-4 2779792 43.57 ns/op BenchmarkToLower/abc-4 437588 261.2 ns/op BenchmarkToLower/AbC123-4 279217 413.8 ns/op BenchmarkToLower/azAZ09_-4 269521 439.2 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 76762 1532 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 40536 2931 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 70030 1710 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 119191 976.4 ns/op BenchmarkFields/ASCII/16-4 121064 1002 ns/op 15.97 MB/s 80 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 8731 13648 ns/op 18.76 MB/s 576 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 547 212305 ns/op 19.29 MB/s 9472 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 31 3902735 ns/op 16.79 MB/s 147456 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 2 61395972 ns/op 17.08 MB/s 2269232 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 90950 1306 ns/op 12.25 MB/s 48 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 6116 19300 ns/op 13.26 MB/s 576 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 336 337750 ns/op 12.13 MB/s 24832 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 16 6638308 ns/op 9.87 MB/s 512256 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 1 126216249 ns/op 8.31 MB/s 11202816 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 133720 859.8 ns/op 18.61 MB/s 80 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 10000 10077 ns/op 25.40 MB/s 576 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 633 175555 ns/op 23.33 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 28 3997143 ns/op 16.40 MB/s 512256 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 86409312 ns/op 12.13 MB/s 11211056 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 124668 940.1 ns/op 17.02 MB/s 48 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 8642 13735 ns/op 18.64 MB/s 576 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 470 240175 ns/op 17.05 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 24 5146797 ns/op 12.73 MB/s 512256 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 1 110004201 ns/op 9.53 MB/s 11202816 B/op 24 allocs/op BenchmarkTrimSpace/NoTrim-4 1842102 63.80 ns/op BenchmarkTrimSpace/ASCII-4 923809 127.6 ns/op BenchmarkTrimSpace/SomeNonASCII-4 100345 1136 ns/op BenchmarkTrimSpace/JustNonASCII-4 48864 2442 ns/op BenchmarkToValidUTF8/Valid-4 459770 256.9 ns/op BenchmarkToValidUTF8/InvalidASCII-4 274195 374.6 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 91876 1271 ns/op BenchmarkIndexHard1-4 807 145344 ns/op BenchmarkIndexHard2-4 592 200502 ns/op BenchmarkIndexHard3-4 150 800215 ns/op BenchmarkIndexHard4-4 175 662863 ns/op BenchmarkLastIndexHard1-4 5 22167219 ns/op BenchmarkLastIndexHard2-4 4 28719920 ns/op BenchmarkLastIndexHard3-4 4 31399765 ns/op BenchmarkCountHard1-4 811 143912 ns/op BenchmarkCountHard2-4 589 200783 ns/op BenchmarkCountHard3-4 150 797664 ns/op BenchmarkSplitEmptySeparator-4 1 175520909 ns/op BenchmarkSplitSingleByteSeparator-4 10 11242384 ns/op BenchmarkSplitMultiByteSeparator-4 10 10350500 ns/op BenchmarkSplitNSingleByteSeparator-4 168602 616.6 ns/op BenchmarkSplitNMultiByteSeparator-4 68797 1653 ns/op BenchmarkRepeat-4 175940 625.9 ns/op BenchmarkRepeatLarge/256/1-4 129294 809.0 ns/op 316.46 MB/s BenchmarkRepeatLarge/256/16-4 190588 544.8 ns/op 469.89 MB/s BenchmarkRepeatLarge/512/1-4 91630 1163 ns/op 440.33 MB/s BenchmarkRepeatLarge/512/16-4 121623 832.3 ns/op 615.18 MB/s BenchmarkRepeatLarge/1024/1-4 64440 1641 ns/op 623.89 MB/s BenchmarkRepeatLarge/1024/16-4 78985 1384 ns/op 739.97 MB/s BenchmarkRepeatLarge/2048/1-4 41080 2741 ns/op 747.11 MB/s BenchmarkRepeatLarge/2048/16-4 48921 2261 ns/op 905.83 MB/s BenchmarkRepeatLarge/4096/1-4 26374 4431 ns/op 924.48 MB/s BenchmarkRepeatLarge/4096/16-4 27735 4242 ns/op 965.50 MB/s BenchmarkRepeatLarge/8192/1-4 13808 8416 ns/op 973.36 MB/s BenchmarkRepeatLarge/8192/16-4 14184 7981 ns/op 1026.40 MB/s BenchmarkRepeatLarge/8192/4097-4 24241 4909 ns/op 834.63 MB/s BenchmarkRepeatLarge/16384/1-4 6630 16222 ns/op 1009.96 MB/s BenchmarkRepeatLarge/16384/16-4 7068 14630 ns/op 1119.91 MB/s BenchmarkRepeatLarge/16384/4097-4 10059 12479 ns/op 984.97 MB/s BenchmarkRepeatLarge/32768/1-4 3919 30575 ns/op 1071.74 MB/s BenchmarkRepeatLarge/32768/16-4 3259 30857 ns/op 1061.93 MB/s BenchmarkRepeatLarge/32768/4097-4 4423 27489 ns/op 1043.27 MB/s BenchmarkRepeatLarge/65536/1-4 2178 55568 ns/op 1179.39 MB/s BenchmarkRepeatLarge/65536/16-4 2179 52915 ns/op 1238.53 MB/s BenchmarkRepeatLarge/65536/4097-4 2176 57813 ns/op 1063.00 MB/s BenchmarkRepeatLarge/131072/1-4 229 519402 ns/op 252.35 MB/s BenchmarkRepeatLarge/131072/16-4 230 530189 ns/op 247.22 MB/s BenchmarkRepeatLarge/131072/4097-4 232 508577 ns/op 249.73 MB/s BenchmarkRepeatLarge/262144/1-4 100 1018493 ns/op 257.38 MB/s BenchmarkRepeatLarge/262144/16-4 100 1026050 ns/op 255.49 MB/s BenchmarkRepeatLarge/262144/4097-4 100 1055576 ns/op 244.52 MB/s BenchmarkRepeatLarge/524288/1-4 52 2149362 ns/op 243.93 MB/s BenchmarkRepeatLarge/524288/16-4 62 2025136 ns/op 258.89 MB/s BenchmarkRepeatLarge/524288/4097-4 56 2044688 ns/op 254.47 MB/s BenchmarkRepeatLarge/1048576/1-4 30 4028928 ns/op 260.26 MB/s BenchmarkRepeatLarge/1048576/16-4 31 3997929 ns/op 262.28 MB/s BenchmarkRepeatLarge/1048576/4097-4 27 4142252 ns/op 252.21 MB/s BenchmarkRepeatLarge/2097152/1-4 13 7842126 ns/op 267.42 MB/s BenchmarkRepeatLarge/2097152/16-4 13 7926709 ns/op 264.57 MB/s BenchmarkRepeatLarge/2097152/4097-4 14 8010511 ns/op 261.35 MB/s BenchmarkRepeatLarge/4194304/1-4 7 15693669 ns/op 267.26 MB/s BenchmarkRepeatLarge/4194304/16-4 7 15819795 ns/op 265.13 MB/s BenchmarkRepeatLarge/4194304/4097-4 7 15937352 ns/op 262.98 MB/s BenchmarkRepeatLarge/8388608/1-4 4 30760342 ns/op 272.71 MB/s BenchmarkRepeatLarge/8388608/16-4 4 31267863 ns/op 268.28 MB/s BenchmarkRepeatLarge/8388608/4097-4 4 31434159 ns/op 266.80 MB/s BenchmarkRepeatLarge/16777216/1-4 2 59854694 ns/op 280.30 MB/s BenchmarkRepeatLarge/16777216/16-4 2 60006043 ns/op 279.59 MB/s BenchmarkRepeatLarge/16777216/4097-4 2 60110914 ns/op 279.10 MB/s BenchmarkRepeatLarge/33554432/1-4 1 133075380 ns/op 252.15 MB/s BenchmarkRepeatLarge/33554432/16-4 1 114046518 ns/op 294.22 MB/s BenchmarkRepeatLarge/33554432/4097-4 1 119227436 ns/op 281.43 MB/s BenchmarkRepeatLarge/67108864/1-4 1 235270007 ns/op 285.24 MB/s BenchmarkRepeatLarge/67108864/16-4 1 237389569 ns/op 282.70 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 239385986 ns/op 280.34 MB/s BenchmarkRepeatLarge/134217728/1-4 1 467811290 ns/op 286.91 MB/s BenchmarkRepeatLarge/134217728/16-4 1 458699451 ns/op 292.60 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 463905097 ns/op 289.32 MB/s BenchmarkRepeatLarge/268435456/1-4 1 964297739 ns/op 278.37 MB/s BenchmarkRepeatLarge/268435456/16-4 1 925564861 ns/op 290.02 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 916628081 ns/op 292.85 MB/s BenchmarkRepeatLarge/536870912/1-4 1 1857165562 ns/op 289.08 MB/s BenchmarkRepeatLarge/536870912/16-4 1 1809951269 ns/op 296.62 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 1814670990 ns/op 295.85 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 3746173366 ns/op 286.62 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 3653295817 ns/op 293.91 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 3604029742 ns/op 297.93 MB/s BenchmarkBytesCompare/1-4 8864654 13.30 ns/op BenchmarkBytesCompare/2-4 8873366 12.23 ns/op BenchmarkBytesCompare/4-4 8999463 12.23 ns/op BenchmarkBytesCompare/8-4 9770565 11.29 ns/op BenchmarkBytesCompare/16-4 9671898 11.28 ns/op BenchmarkBytesCompare/32-4 9167859 12.79 ns/op BenchmarkBytesCompare/64-4 8508040 13.89 ns/op BenchmarkBytesCompare/128-4 7548471 15.71 ns/op BenchmarkBytesCompare/256-4 5436418 22.05 ns/op BenchmarkBytesCompare/512-4 3846457 29.15 ns/op BenchmarkBytesCompare/1024-4 2436314 46.96 ns/op BenchmarkBytesCompare/2048-4 1409797 85.31 ns/op BenchmarkIndexAnyASCII/1:1-4 2314542 52.93 ns/op BenchmarkIndexAnyASCII/1:2-4 2307862 51.79 ns/op BenchmarkIndexAnyASCII/1:4-4 2339400 50.22 ns/op BenchmarkIndexAnyASCII/1:8-4 2382535 49.75 ns/op BenchmarkIndexAnyASCII/1:16-4 2394378 50.14 ns/op BenchmarkIndexAnyASCII/1:32-4 2340693 50.66 ns/op BenchmarkIndexAnyASCII/1:64-4 2375042 50.35 ns/op BenchmarkIndexAnyASCII/16:1-4 1999203 58.41 ns/op BenchmarkIndexAnyASCII/16:2-4 417608 275.5 ns/op BenchmarkIndexAnyASCII/16:4-4 418224 278.6 ns/op BenchmarkIndexAnyASCII/16:8-4 420026 283.2 ns/op BenchmarkIndexAnyASCII/16:16-4 385532 300.7 ns/op BenchmarkIndexAnyASCII/16:32-4 357092 324.7 ns/op BenchmarkIndexAnyASCII/16:64-4 314403 373.9 ns/op BenchmarkIndexAnyASCII/256:1-4 1817803 64.68 ns/op BenchmarkIndexAnyASCII/256:2-4 33321 3624 ns/op BenchmarkIndexAnyASCII/256:4-4 33069 3612 ns/op BenchmarkIndexAnyASCII/256:8-4 33255 3597 ns/op BenchmarkIndexAnyASCII/256:16-4 32727 3631 ns/op BenchmarkIndexAnyASCII/256:32-4 32599 3656 ns/op BenchmarkIndexAnyASCII/256:64-4 32404 3706 ns/op BenchmarkIndexAnyUTF8/1:1-4 2285833 51.97 ns/op BenchmarkIndexAnyUTF8/1:2-4 2321738 51.49 ns/op BenchmarkIndexAnyUTF8/1:4-4 2320552 51.46 ns/op BenchmarkIndexAnyUTF8/1:8-4 2319192 51.47 ns/op BenchmarkIndexAnyUTF8/1:16-4 2364958 51.31 ns/op BenchmarkIndexAnyUTF8/1:32-4 2377185 50.90 ns/op BenchmarkIndexAnyUTF8/1:64-4 2307010 51.91 ns/op BenchmarkIndexAnyUTF8/16:1-4 145825 804.2 ns/op BenchmarkIndexAnyUTF8/16:2-4 269990 435.0 ns/op BenchmarkIndexAnyUTF8/16:4-4 270198 434.8 ns/op BenchmarkIndexAnyUTF8/16:8-4 270100 435.2 ns/op BenchmarkIndexAnyUTF8/16:16-4 266182 441.5 ns/op BenchmarkIndexAnyUTF8/16:32-4 258324 450.6 ns/op BenchmarkIndexAnyUTF8/16:64-4 259189 453.4 ns/op BenchmarkIndexAnyUTF8/256:1-4 9638 11714 ns/op BenchmarkIndexAnyUTF8/256:2-4 19467 6195 ns/op BenchmarkIndexAnyUTF8/256:4-4 19266 6196 ns/op BenchmarkIndexAnyUTF8/256:8-4 19088 6248 ns/op BenchmarkIndexAnyUTF8/256:16-4 19238 6261 ns/op BenchmarkIndexAnyUTF8/256:32-4 18520 6433 ns/op BenchmarkIndexAnyUTF8/256:64-4 18633 6415 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2293630 52.65 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2335448 51.21 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2319578 51.39 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2347216 51.36 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2366042 50.59 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2353672 50.79 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2366821 51.13 ns/op BenchmarkLastIndexAnyASCII/16:1-4 309282 362.6 ns/op BenchmarkLastIndexAnyASCII/16:2-4 320458 363.7 ns/op BenchmarkLastIndexAnyASCII/16:4-4 316285 368.0 ns/op BenchmarkLastIndexAnyASCII/16:8-4 312720 366.9 ns/op BenchmarkLastIndexAnyASCII/16:16-4 295378 385.3 ns/op BenchmarkLastIndexAnyASCII/16:32-4 285567 414.5 ns/op BenchmarkLastIndexAnyASCII/16:64-4 257545 458.3 ns/op BenchmarkLastIndexAnyASCII/256:1-4 24015 4961 ns/op BenchmarkLastIndexAnyASCII/256:2-4 24334 4927 ns/op BenchmarkLastIndexAnyASCII/256:4-4 24022 4966 ns/op BenchmarkLastIndexAnyASCII/256:8-4 24262 4950 ns/op BenchmarkLastIndexAnyASCII/256:16-4 24108 4949 ns/op BenchmarkLastIndexAnyASCII/256:32-4 24163 4974 ns/op BenchmarkLastIndexAnyASCII/256:64-4 23487 5016 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2286873 52.49 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2339679 51.25 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2327901 51.76 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2321460 51.43 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2340664 51.23 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2329257 51.52 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2316181 51.82 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 225168 509.3 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 266055 435.9 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 265082 438.4 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 264708 440.2 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 263499 445.5 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 257889 457.9 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 257450 458.6 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 16374 7254 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 19023 6193 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 19353 6182 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 19389 6205 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 18916 6294 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 18510 6478 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 18576 6439 ns/op BenchmarkTrimASCII/1:1-4 2561269 46.89 ns/op BenchmarkTrimASCII/1:2-4 2181280 55.36 ns/op BenchmarkTrimASCII/1:4-4 2111431 56.45 ns/op BenchmarkTrimASCII/1:8-4 1929921 61.96 ns/op BenchmarkTrimASCII/1:16-4 1652952 72.57 ns/op BenchmarkTrimASCII/16:1-4 413839 278.3 ns/op BenchmarkTrimASCII/16:2-4 312116 373.0 ns/op BenchmarkTrimASCII/16:4-4 313022 372.7 ns/op BenchmarkTrimASCII/16:8-4 314076 381.4 ns/op BenchmarkTrimASCII/16:16-4 298162 395.1 ns/op BenchmarkTrimASCII/256:1-4 32320 3708 ns/op BenchmarkTrimASCII/256:2-4 23467 5100 ns/op BenchmarkTrimASCII/256:4-4 23535 5087 ns/op BenchmarkTrimASCII/256:8-4 23360 5070 ns/op BenchmarkTrimASCII/256:16-4 23586 5109 ns/op BenchmarkTrimASCII/4096:1-4 2014 58930 ns/op BenchmarkTrimASCII/4096:2-4 1447 80177 ns/op BenchmarkTrimASCII/4096:4-4 1461 80156 ns/op BenchmarkTrimASCII/4096:8-4 1464 80013 ns/op BenchmarkTrimASCII/4096:16-4 1459 80553 ns/op BenchmarkTrimByte-4 1447314 82.70 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 13011 9085 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 13084 9148 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 675 173077 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 1317 86449 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 2538 43741 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 4306 23603 ns/op BenchmarkCompareBytesEqual-4 9982377 12.23 ns/op BenchmarkCompareBytesToNil-4 11722605 10.18 ns/op BenchmarkCompareBytesEmpty-4 11710023 10.26 ns/op BenchmarkCompareBytesIdentical-4 11604208 10.47 ns/op BenchmarkCompareBytesSameLength-4 8783564 11.55 ns/op BenchmarkCompareBytesDifferentLength-4 9974156 11.90 ns/op BenchmarkCompareBytesBigUnaligned/offset=1-4 1383 86215 ns/op 12162.50 MB/s BenchmarkCompareBytesBigUnaligned/offset=2-4 1353 81749 ns/op 12826.83 MB/s BenchmarkCompareBytesBigUnaligned/offset=3-4 1362 76554 ns/op 13697.27 MB/s BenchmarkCompareBytesBigUnaligned/offset=4-4 1671 71404 ns/op 14685.35 MB/s BenchmarkCompareBytesBigUnaligned/offset=5-4 1328 77469 ns/op 13535.64 MB/s BenchmarkCompareBytesBigUnaligned/offset=6-4 1357 87035 ns/op 12047.91 MB/s BenchmarkCompareBytesBigUnaligned/offset=7-4 1702 86298 ns/op 12150.77 MB/s BenchmarkCompareBytesBig-4 1350 83470 ns/op 12562.50 MB/s BenchmarkCompareBytesBigIdentical-4 12245445 9.901 ns/op 105912259.38 MB/s PASS ok bytes 69.919s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: compress/bzip2 cpu: AMD EPYC 7B12 BenchmarkDecodeDigits-4 2 57328552 ns/op 1.74 MB/s 3616636 B/op 53 allocs/op BenchmarkDecodeNewton-4 1 216991455 ns/op 2.61 MB/s 3638592 B/op 54 allocs/op BenchmarkDecodeRand-4 6 18104350 ns/op 0.90 MB/s 3647622 B/op 52 allocs/op PASS ok compress/bzip2 1.908s goos: linux goarch: amd64 pkg: compress/flate cpu: AMD EPYC 7B12 BenchmarkDecode/Digits/Huffman/1e4-4 86 1331826 ns/op 7.51 MB/s 42259 B/op 5 allocs/op BenchmarkDecode/Digits/Huffman/1e5-4 8 12983601 ns/op 7.70 MB/s 42647 B/op 5 allocs/op BenchmarkDecode/Digits/Huffman/1e6-4 1 127526404 ns/op 7.84 MB/s 49264 B/op 9 allocs/op BenchmarkDecode/Digits/Speed/1e4-4 86 1315379 ns/op 7.60 MB/s 42244 B/op 8 allocs/op BenchmarkDecode/Digits/Speed/1e5-4 8 12874833 ns/op 7.77 MB/s 42935 B/op 11 allocs/op BenchmarkDecode/Digits/Speed/1e6-4 1 134146513 ns/op 7.45 MB/s 53024 B/op 77 allocs/op BenchmarkDecode/Digits/Default/1e4-4 80 1285344 ns/op 7.78 MB/s 42936 B/op 7 allocs/op BenchmarkDecode/Digits/Default/1e5-4 9 12327425 ns/op 8.11 MB/s 42691 B/op 13 allocs/op BenchmarkDecode/Digits/Default/1e6-4 1 125450163 ns/op 7.97 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Digits/Compression/1e4-4 90 1230406 ns/op 8.13 MB/s 42131 B/op 7 allocs/op BenchmarkDecode/Digits/Compression/1e5-4 8 12500450 ns/op 8.00 MB/s 43954 B/op 14 allocs/op BenchmarkDecode/Digits/Compression/1e6-4 1 125727011 ns/op 7.95 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Newton/Huffman/1e4-4 73 1390902 ns/op 7.19 MB/s 43384 B/op 14 allocs/op BenchmarkDecode/Newton/Huffman/1e5-4 8 14141688 ns/op 7.07 MB/s 49181 B/op 24 allocs/op BenchmarkDecode/Newton/Huffman/1e6-4 1 144983360 ns/op 6.90 MB/s 88512 B/op 165 allocs/op BenchmarkDecode/Newton/Speed/1e4-4 100 1104253 ns/op 9.06 MB/s 44113 B/op 18 allocs/op BenchmarkDecode/Newton/Speed/1e5-4 12 9397935 ns/op 10.64 MB/s 46494 B/op 31 allocs/op BenchmarkDecode/Newton/Speed/1e6-4 2 94414698 ns/op 10.59 MB/s 85328 B/op 230 allocs/op BenchmarkDecode/Newton/Default/1e4-4 121 975956 ns/op 10.25 MB/s 43560 B/op 15 allocs/op BenchmarkDecode/Newton/Default/1e5-4 14 7585825 ns/op 13.18 MB/s 45851 B/op 32 allocs/op BenchmarkDecode/Newton/Default/1e6-4 2 74806254 ns/op 13.37 MB/s 65952 B/op 160 allocs/op BenchmarkDecode/Newton/Compression/1e4-4 121 989007 ns/op 10.11 MB/s 42814 B/op 15 allocs/op BenchmarkDecode/Newton/Compression/1e5-4 14 7527921 ns/op 13.28 MB/s 45264 B/op 32 allocs/op BenchmarkDecode/Newton/Compression/1e6-4 2 73556525 ns/op 13.59 MB/s 67752 B/op 152 allocs/op BenchmarkEncode/Digits/Huffman/1e4-4 140 861895 ns/op 11.60 MB/s BenchmarkEncode/Digits/Huffman/1e5-4 14 8453624 ns/op 11.83 MB/s BenchmarkEncode/Digits/Huffman/1e6-4 2 85434184 ns/op 11.70 MB/s BenchmarkEncode/Digits/Speed/1e4-4 73 1605284 ns/op 6.23 MB/s BenchmarkEncode/Digits/Speed/1e5-4 7 14408859 ns/op 6.94 MB/s BenchmarkEncode/Digits/Speed/1e6-4 1 144656640 ns/op 6.91 MB/s BenchmarkEncode/Digits/Default/1e4-4 24 5021889 ns/op 1.99 MB/s BenchmarkEncode/Digits/Default/1e5-4 2 52935826 ns/op 1.89 MB/s BenchmarkEncode/Digits/Default/1e6-4 1 572734621 ns/op 1.75 MB/s BenchmarkEncode/Digits/Compression/1e4-4 22 4803828 ns/op 2.08 MB/s BenchmarkEncode/Digits/Compression/1e5-4 2 56585531 ns/op 1.77 MB/s BenchmarkEncode/Digits/Compression/1e6-4 1 584241379 ns/op 1.71 MB/s BenchmarkEncode/Newton/Huffman/1e4-4 100 1013726 ns/op 9.86 MB/s BenchmarkEncode/Newton/Huffman/1e5-4 13 8791591 ns/op 11.37 MB/s BenchmarkEncode/Newton/Huffman/1e6-4 2 86985784 ns/op 11.50 MB/s BenchmarkEncode/Newton/Speed/1e4-4 78 1502683 ns/op 6.65 MB/s BenchmarkEncode/Newton/Speed/1e5-4 9 11417316 ns/op 8.76 MB/s BenchmarkEncode/Newton/Speed/1e6-4 1 112262822 ns/op 8.91 MB/s BenchmarkEncode/Newton/Default/1e4-4 25 4700935 ns/op 2.13 MB/s BenchmarkEncode/Newton/Default/1e5-4 2 51746016 ns/op 1.93 MB/s BenchmarkEncode/Newton/Default/1e6-4 1 521887684 ns/op 1.92 MB/s BenchmarkEncode/Newton/Compression/1e4-4 25 4732439 ns/op 2.11 MB/s BenchmarkEncode/Newton/Compression/1e5-4 2 61005036 ns/op 1.64 MB/s BenchmarkEncode/Newton/Compression/1e6-4 1 667355444 ns/op 1.50 MB/s PASS ok compress/flate 15.140s goos: linux goarch: amd64 pkg: compress/lzw cpu: AMD EPYC 7B12 BenchmarkDecoder/1e4-4 67 1640643 ns/op 6.10 MB/s BenchmarkDecoder/1e-Reuse4-4 67 1795432 ns/op 5.57 MB/s BenchmarkDecoder/1e5-4 6 17403090 ns/op 5.75 MB/s BenchmarkDecoder/1e-Reuse5-4 6 17467449 ns/op 5.72 MB/s BenchmarkDecoder/1e6-4 1 170835668 ns/op 5.85 MB/s BenchmarkDecoder/1e-Reuse6-4 1 173903118 ns/op 5.75 MB/s BenchmarkEncoder/1e4-4 76 1477852 ns/op 6.77 MB/s BenchmarkEncoder/1e-Reuse4-4 88 1416439 ns/op 7.06 MB/s BenchmarkEncoder/1e5-4 8 14337332 ns/op 6.97 MB/s BenchmarkEncoder/1e-Reuse5-4 8 14228298 ns/op 7.03 MB/s BenchmarkEncoder/1e6-4 1 151881230 ns/op 6.58 MB/s BenchmarkEncoder/1e-Reuse6-4 1 142288660 ns/op 7.03 MB/s PASS ok compress/lzw 3.303s goos: linux goarch: amd64 pkg: container/heap cpu: AMD EPYC 7B12 BenchmarkDup-4 33 3152253 ns/op PASS ok container/heap 1.119s goos: linux goarch: amd64 pkg: context cpu: AMD EPYC 7B12 BenchmarkCommonParentCancel-4 20454 5559 ns/op BenchmarkWithTimeout/concurrency=40-4 5190 23428 ns/op BenchmarkWithTimeout/concurrency=4000-4 4912 23853 ns/op BenchmarkWithTimeout/concurrency=400000-4 8395 17648 ns/op BenchmarkCancelTree/depth=1/Root=Background-4 659090 186.4 ns/op BenchmarkCancelTree/depth=1/Root=OpenCanceler-4 20420 5960 ns/op BenchmarkCancelTree/depth=1/Root=ClosedCanceler-4 22671 4775 ns/op BenchmarkCancelTree/depth=10/Root=Background-4 4032 29337 ns/op BenchmarkCancelTree/depth=10/Root=OpenCanceler-4 2578 53622 ns/op BenchmarkCancelTree/depth=10/Root=ClosedCanceler-4 4862 26889 ns/op BenchmarkCancelTree/depth=100/Root=Background-4 352 295826 ns/op BenchmarkCancelTree/depth=100/Root=OpenCanceler-4 279 420955 ns/op BenchmarkCancelTree/depth=100/Root=ClosedCanceler-4 408 280942 ns/op BenchmarkCancelTree/depth=1000/Root=Background-4 34 3111583 ns/op BenchmarkCancelTree/depth=1000/Root=OpenCanceler-4 20 5020529 ns/op BenchmarkCancelTree/depth=1000/Root=ClosedCanceler-4 50 2885570 ns/op BenchmarkCheckCanceled/Err-4 466323 287.2 ns/op BenchmarkCheckCanceled/Done-4 1000000 111.9 ns/op BenchmarkContextCancelDone-4 648150 173.0 ns/op BenchmarkDeepValueNewGoRoutine/depth=10-4 26331 4918 ns/op BenchmarkDeepValueNewGoRoutine/depth=20-4 20559 6109 ns/op BenchmarkDeepValueNewGoRoutine/depth=30-4 21643 5987 ns/op BenchmarkDeepValueNewGoRoutine/depth=50-4 13946 8100 ns/op BenchmarkDeepValueNewGoRoutine/depth=100-4 10000 12060 ns/op BenchmarkDeepValueSameGoRoutine/depth=10-4 702132 165.7 ns/op BenchmarkDeepValueSameGoRoutine/depth=20-4 403735 296.0 ns/op BenchmarkDeepValueSameGoRoutine/depth=30-4 267640 482.7 ns/op BenchmarkDeepValueSameGoRoutine/depth=50-4 174934 684.0 ns/op BenchmarkDeepValueSameGoRoutine/depth=100-4 90732 1330 ns/op PASS ok context 9.469s goos: linux goarch: amd64 pkg: crypto/aes cpu: AMD EPYC 7B12 BenchmarkEncrypt-4 2679523 47.26 ns/op 338.59 MB/s BenchmarkDecrypt-4 2679696 47.52 ns/op 336.71 MB/s BenchmarkExpand-4 2224590 54.12 ns/op PASS ok crypto/aes 1.538s goos: linux goarch: amd64 pkg: crypto/cipher cpu: AMD EPYC 7B12 BenchmarkAESGCM/Open-128-64-4 270614 426.2 ns/op 150.15 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-64-4 568647 201.2 ns/op 318.10 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-64-4 250952 466.3 ns/op 137.24 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-64-4 537518 213.4 ns/op 299.86 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-1350-4 158246 756.2 ns/op 1785.19 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-1350-4 226939 521.1 ns/op 2590.56 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-1350-4 152944 802.1 ns/op 1683.06 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-1350-4 211167 565.2 ns/op 2388.54 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-8192-4 55446 2173 ns/op 3769.51 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-8192-4 61084 1961 ns/op 4178.17 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-8192-4 49936 2428 ns/op 3373.92 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-8192-4 54741 2197 ns/op 3729.30 MB/s 0 B/op 0 allocs/op BenchmarkAESCFBEncrypt1K-4 9145 11855 ns/op 85.95 MB/s BenchmarkAESCFBDecrypt1K-4 9122 11535 ns/op 88.34 MB/s BenchmarkAESCFBDecrypt8K-4 1328 92551 ns/op 88.46 MB/s BenchmarkAESOFB1K-4 15424 8251 ns/op 123.50 MB/s BenchmarkAESCTR1K-4 19687 6692 ns/op 152.26 MB/s BenchmarkAESCTR8K-4 2486 48463 ns/op 168.93 MB/s BenchmarkAESCBCEncrypt1K-4 19448 6156 ns/op 166.34 MB/s BenchmarkAESCBCDecrypt1K-4 26215 4398 ns/op 232.85 MB/s PASS ok crypto/cipher 3.825s goos: linux goarch: amd64 pkg: crypto/des cpu: AMD EPYC 7B12 BenchmarkEncrypt-4 95032 1225 ns/op 6.53 MB/s BenchmarkDecrypt-4 112298 1054 ns/op 7.59 MB/s BenchmarkTDESEncrypt-4 38794 3335 ns/op 2.40 MB/s BenchmarkTDESDecrypt-4 41719 3269 ns/op 2.45 MB/s PASS ok crypto/des 1.602s goos: linux goarch: amd64 pkg: crypto/ecdh cpu: AMD EPYC 7B12 BenchmarkECDH/P256-4 1300 89588 ns/op 759 B/op 12 allocs/op BenchmarkECDH/P384-4 20 5590577 ns/op 1088 B/op 21 allocs/op BenchmarkECDH/P521-4 7 15045928 ns/op 1537 B/op 21 allocs/op BenchmarkECDH/X25519-4 132 906048 ns/op 375 B/op 9 allocs/op PASS ok crypto/ecdh 1.663s goos: linux goarch: amd64 pkg: crypto/ecdsa cpu: AMD EPYC 7B12 BenchmarkSign/P256-4 2440 47398 ns/op 2512 B/op 33 allocs/op BenchmarkSign/P384-4 43 2500404 ns/op 2680 B/op 34 allocs/op BenchmarkSign/P521-4 19 6339270 ns/op 3064 B/op 35 allocs/op BenchmarkVerify/P256-4 1263 93510 ns/op 432 B/op 8 allocs/op BenchmarkVerify/P384-4 18 6881804 ns/op 592 B/op 12 allocs/op BenchmarkVerify/P521-4 7 16421255 ns/op 912 B/op 12 allocs/op BenchmarkGenerateKey/P256-4 5438 20247 ns/op 895 B/op 14 allocs/op BenchmarkGenerateKey/P384-4 86 1382267 ns/op 1096 B/op 17 allocs/op BenchmarkGenerateKey/P521-4 28 3642667 ns/op 1416 B/op 17 allocs/op PASS ok crypto/ecdsa 2.405s goos: linux goarch: amd64 pkg: crypto/ed25519 cpu: AMD EPYC 7B12 BenchmarkKeyGeneration-4 462 263939 ns/op BenchmarkNewKeyFromSeed-4 465 262376 ns/op BenchmarkSigning-4 436 277519 ns/op BenchmarkVerification-4 288 454202 ns/op PASS ok crypto/ed25519 1.629s goos: linux goarch: amd64 pkg: crypto/elliptic cpu: AMD EPYC 7B12 BenchmarkScalarBaseMult/P256-4 6786 16733 ns/op 368 B/op 6 allocs/op BenchmarkScalarBaseMult/P224-4 217 587351 ns/op 376 B/op 9 allocs/op BenchmarkScalarBaseMult/P384-4 81 1454975 ns/op 504 B/op 9 allocs/op BenchmarkScalarBaseMult/P521-4 31 3721759 ns/op 696 B/op 9 allocs/op BenchmarkScalarMult/P256-4 1838 64376 ns/op 448 B/op 7 allocs/op BenchmarkScalarMult/P224-4 85 1486212 ns/op 440 B/op 10 allocs/op BenchmarkScalarMult/P384-4 31 3916089 ns/op 616 B/op 10 allocs/op BenchmarkScalarMult/P521-4 9 11254498 ns/op 840 B/op 10 allocs/op BenchmarkMarshalUnmarshal/P256/Uncompressed-4 18748 6300 ns/op 544 B/op 8 allocs/op BenchmarkMarshalUnmarshal/P256/Compressed-4 7546 14035 ns/op 592 B/op 9 allocs/op BenchmarkMarshalUnmarshal/P224/Uncompressed-4 5516 19920 ns/op 560 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P224/Compressed-4 121 938713 ns/op 592 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P384/Uncompressed-4 3825 31476 ns/op 784 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P384/Compressed-4 415 302091 ns/op 848 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P521/Uncompressed-4 2368 49798 ns/op 1104 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P521/Compressed-4 130 943942 ns/op 1184 B/op 15 allocs/op PASS ok crypto/elliptic 3.522s goos: linux goarch: amd64 pkg: crypto/hmac cpu: AMD EPYC 7B12 BenchmarkHMACSHA256_1K-4 33226 3620 ns/op 282.90 MB/s BenchmarkHMACSHA256_32-4 37953 3059 ns/op 10.46 MB/s BenchmarkNewWriteSum-4 19834 5663 ns/op 5.65 MB/s PASS ok crypto/hmac 1.495s goos: linux goarch: amd64 pkg: crypto/internal/bigmod cpu: AMD EPYC 7B12 BenchmarkModAdd-4 69243 1720 ns/op BenchmarkModSub-4 65024 1922 ns/op BenchmarkMontgomeryRepr-4 37546 3154 ns/op BenchmarkMontgomeryMul-4 38259 3164 ns/op BenchmarkModMul-4 18736 6434 ns/op BenchmarkExpBig-4 21 5241337 ns/op BenchmarkExp-4 8 13300108 ns/op PASS ok crypto/internal/bigmod 2.080s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519 cpu: AMD EPYC 7B12 BenchmarkEncodingDecoding-4 4520 24351 ns/op BenchmarkScalarBaseMult-4 471 246176 ns/op BenchmarkScalarMult-4 216 585974 ns/op BenchmarkVarTimeDoubleScalarBaseMult-4 307 391215 ns/op PASS ok crypto/internal/edwards25519 1.605s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519/field cpu: AMD EPYC 7B12 BenchmarkAdd-4 667159 183.6 ns/op BenchmarkMultiply-4 5915888 20.22 ns/op BenchmarkSquare-4 8021486 15.09 ns/op BenchmarkInvert-4 28626 4219 ns/op BenchmarkMult32-4 1787055 67.60 ns/op PASS ok crypto/internal/edwards25519/field 1.777s goos: linux goarch: amd64 pkg: crypto/internal/nistec cpu: AMD EPYC 7B12 BenchmarkScalarMult/P224-4 75 1442384 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P256-4 2096 56672 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P384-4 30 3808016 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P521-4 10 10660718 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P224-4 222 490755 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P256-4 10000 11080 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P384-4 92 1258541 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P521-4 34 3205364 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec 2.040s goos: linux goarch: amd64 pkg: crypto/internal/nistec/fiat cpu: AMD EPYC 7B12 BenchmarkMul/P224-4 727078 158.2 ns/op 0 B/op 0 allocs/op BenchmarkMul/P384-4 366355 314.7 ns/op 0 B/op 0 allocs/op BenchmarkMul/P521-4 144308 838.2 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P224-4 741243 141.0 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P384-4 425623 280.1 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P521-4 151857 755.9 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec/fiat 1.823s goos: linux goarch: amd64 pkg: crypto/md5 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes-4 157126 713.7 ns/op 11.21 MB/s BenchmarkHash64-4 177433 655.5 ns/op 97.63 MB/s BenchmarkHash128-4 162440 743.1 ns/op 172.26 MB/s BenchmarkHash256-4 126265 936.9 ns/op 273.23 MB/s BenchmarkHash512-4 90734 1304 ns/op 392.57 MB/s BenchmarkHash1K-4 58119 2069 ns/op 495.00 MB/s BenchmarkHash8K-4 9337 12722 ns/op 643.91 MB/s BenchmarkHash1M-4 70 1560228 ns/op 672.07 MB/s BenchmarkHash8M-4 8 12505936 ns/op 670.77 MB/s BenchmarkHash8BytesUnaligned-4 166312 712.5 ns/op 11.23 MB/s BenchmarkHash1KUnaligned-4 57277 2067 ns/op 495.42 MB/s BenchmarkHash8KUnaligned-4 9154 12739 ns/op 643.06 MB/s PASS ok crypto/md5 2.535s goos: linux goarch: amd64 pkg: crypto/rand cpu: AMD EPYC 7B12 BenchmarkPrime-4 3 110511204 ns/op PASS ok crypto/rand 1.522s goos: linux goarch: amd64 pkg: crypto/rc4 cpu: AMD EPYC 7B12 BenchmarkRC4_128-4 18184 6599 ns/op 19.40 MB/s BenchmarkRC4_1K-4 2200 52454 ns/op 19.52 MB/s BenchmarkRC4_8K-4 286 412944 ns/op 19.61 MB/s PASS ok crypto/rc4 1.480s goos: linux goarch: amd64 pkg: crypto/rsa cpu: AMD EPYC 7B12 BenchmarkDecryptPKCS1v15/2048-4 14 7826568 ns/op BenchmarkDecryptPKCS1v15/3072-4 6 17605352 ns/op BenchmarkDecryptPKCS1v15/4096-4 4 31604592 ns/op BenchmarkEncryptPKCS1v15/2048-4 48 2332448 ns/op BenchmarkDecryptOAEP/2048-4 14 7854209 ns/op BenchmarkEncryptOAEP/2048-4 44 2334561 ns/op BenchmarkSignPKCS1v15/2048-4 14 7833087 ns/op BenchmarkVerifyPKCS1v15/2048-4 51 2457817 ns/op BenchmarkSignPSS/2048-4 14 7848786 ns/op BenchmarkVerifyPSS/2048-4 50 2403971 ns/op PASS ok crypto/rsa 2.475s goos: linux goarch: amd64 pkg: crypto/sha1 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes/New-4 144565 812.4 ns/op 9.85 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum-4 179310 656.4 ns/op 12.19 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/New-4 102501 1161 ns/op 275.51 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/Sum-4 119169 1000 ns/op 319.86 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 69229 1739 ns/op 588.94 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum-4 75960 1567 ns/op 653.52 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 14898 8047 ns/op 1018.06 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum-4 15211 7902 ns/op 1036.65 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha1 2.209s goos: linux goarch: amd64 pkg: crypto/sha256 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes/New-4 132612 874.7 ns/op 9.15 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum224-4 158253 760.5 ns/op 10.52 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 147645 795.5 ns/op 10.06 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 86125 1384 ns/op 739.65 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum224-4 96774 1211 ns/op 845.72 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 95106 1278 ns/op 801.03 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 20380 5886 ns/op 1391.83 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum224-4 20910 5744 ns/op 1426.09 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 20724 5790 ns/op 1414.86 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha256 2.343s goos: linux goarch: amd64 pkg: crypto/sha512 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes/New-4 85129 1400 ns/op 5.72 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum384-4 105752 1132 ns/op 7.07 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum512-4 93128 1305 ns/op 6.13 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 43292 2769 ns/op 369.84 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum384-4 49039 2487 ns/op 411.73 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum512-4 45938 2574 ns/op 397.88 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 8620 13321 ns/op 614.98 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum384-4 9128 12998 ns/op 630.25 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum512-4 8449 13144 ns/op 623.24 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha512 2.215s goos: linux goarch: amd64 pkg: crypto/subtle cpu: AMD EPYC 7B12 BenchmarkConstantTimeByteEq-4 24049092 5.008 ns/op BenchmarkConstantTimeEq-4 22302432 4.985 ns/op BenchmarkConstantTimeLessOrEq-4 21470480 4.989 ns/op BenchmarkXORBytes/8Bytes-4 5974515 20.22 ns/op 395.58 MB/s BenchmarkXORBytes/128Bytes-4 5422503 22.52 ns/op 5683.79 MB/s BenchmarkXORBytes/2048Bytes-4 1761163 67.08 ns/op 30530.05 MB/s BenchmarkXORBytes/32768Bytes-4 110544 1011 ns/op 32426.46 MB/s PASS ok crypto/subtle 2.076s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: crypto/tls cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCertCache/0-4 145 703697 ns/op BenchmarkCertCache/1-4 187 751268 ns/op BenchmarkCertCache/2-4 166 810992 ns/op BenchmarkCertCache/3-4 147 812347 ns/op BenchmarkHandshakeServer/RSA-4 15 7439895 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv13-4 14 7993723 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv12-4 15 7707561 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv13-4 102 1145768 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv12-4 150 771165 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv13-4 49 2435895 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv12-4 57 2026803 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv13-4 4 32499774 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12-4 4 32335627 ns/op BenchmarkThroughput/MaxPacket/1MB/TLSv12-4 5 24822031 ns/op 42.24 MB/s BenchmarkThroughput/MaxPacket/1MB/TLSv13-4 4 29752511 ns/op 35.24 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv12-4 3 37935900 ns/op 55.28 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv13-4 3 45956512 ns/op 45.63 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv12-4 2 66361178 ns/op 63.20 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv13-4 1 104181887 ns/op 40.26 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv12-4 1 120866507 ns/op 69.40 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv13-4 1 157292285 ns/op 53.33 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv12-4 1 221309134 ns/op 75.81 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv13-4 1 270726134 ns/op 61.97 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv12-4 1 407601527 ns/op 82.32 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv13-4 1 551164766 ns/op 60.88 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv12-4 1 839877884 ns/op 79.90 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv13-4 1 1075727560 ns/op 62.38 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv12-4 4 25607294 ns/op 40.95 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv13-4 4 31060178 ns/op 33.76 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv12-4 3 40226673 ns/op 52.13 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv13-4 2 54084418 ns/op 38.78 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv12-4 2 59917744 ns/op 70.00 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv13-4 2 85621884 ns/op 48.99 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv12-4 1 110474710 ns/op 75.93 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv13-4 1 147099116 ns/op 57.03 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv12-4 1 196136422 ns/op 85.54 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv13-4 1 284191201 ns/op 59.03 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv12-4 1 433159489 ns/op 77.46 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv13-4 1 574730051 ns/op 58.38 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv12-4 1 865829925 ns/op 77.51 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv13-4 1 1139719608 ns/op 58.88 MB/s BenchmarkLatency/MaxPacket/200kbps/TLSv12-4 1 707049282 ns/op BenchmarkLatency/MaxPacket/200kbps/TLSv13-4 1 709474404 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv12-4 1 290976521 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv13-4 1 291547309 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv12-4 1 152963969 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv13-4 1 153752000 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv12-4 2 84743810 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv13-4 2 83921038 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv12-4 3 42805830 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv13-4 3 42141324 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv12-4 1 147218430 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv13-4 1 148960479 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv12-4 2 67832767 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv13-4 2 67881958 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv12-4 3 41047536 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv13-4 3 41036674 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv12-4 4 28437488 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv13-4 4 27943949 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv12-4 5 20388772 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv13-4 5 20226145 ns/op PASS ok crypto/tls 19.761s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: crypto/x509 cpu: AMD EPYC 7B12 BenchmarkCreateCertificate/RSA_2048-4 10 10202298 ns/op BenchmarkCreateCertificate/ECDSA_P256-4 498 238657 ns/op BenchmarkParseCertificate/ecdsa_leaf-4 1647 69750 ns/op 12100 B/op 164 allocs/op BenchmarkParseCertificate/rsa_leaf-4 1546 80135 ns/op 13506 B/op 187 allocs/op PASS ok crypto/x509 1.853s goos: linux goarch: amd64 pkg: database/sql cpu: AMD EPYC 7B12 BenchmarkConcurrentDBExec-4 49 2309215 ns/op 279365 B/op 1635 allocs/op BenchmarkConcurrentStmtQuery-4 36 2835385 ns/op 263393 B/op 2017 allocs/op BenchmarkConcurrentStmtExec-4 78 1680264 ns/op 215510 B/op 650 allocs/op BenchmarkConcurrentTxQuery-4 57 2468681 ns/op 277479 B/op 2157 allocs/op BenchmarkConcurrentTxExec-4 88 1336517 ns/op 87744 B/op 1554 allocs/op BenchmarkConcurrentTxStmtQuery-4 49 2084167 ns/op 105765 B/op 2118 allocs/op BenchmarkConcurrentTxStmtExec-4 160 737314 ns/op 40101 B/op 381 allocs/op BenchmarkConcurrentRandom-4 52 2275130 ns/op 229515 B/op 1832 allocs/op BenchmarkManyConcurrentQueries-4 3424 35951 ns/op 4055 B/op 20 allocs/op BenchmarkGrabConn-4 327188 377.3 ns/op 0 B/op 0 allocs/op PASS ok database/sql 2.596s goos: linux goarch: amd64 pkg: debug/gosym cpu: AMD EPYC 7B12 Benchmark115/NewLineTable-4 384788 310.7 ns/op 384 B/op 3 allocs/op Benchmark115/NewTable-4 128 923075 ns/op 188267 B/op 14 allocs/op Benchmark115/LineToPC-4 111 1059073 ns/op 0 B/op 0 allocs/op Benchmark115/PCToLine-4 26115 4660 ns/op 0 B/op 0 allocs/op PASS ok debug/gosym 1.828s goos: linux goarch: amd64 pkg: encoding/asn1 cpu: AMD EPYC 7B12 BenchmarkObjectIdentifierString-4 85993 1414 ns/op BenchmarkMarshal-4 1045 110751 ns/op 9528 B/op 363 allocs/op BenchmarkUnmarshal-4 3782 31086 ns/op 784 B/op 43 allocs/op PASS ok encoding/asn1 1.403s goos: linux goarch: amd64 pkg: encoding/base32 cpu: AMD EPYC 7B12 BenchmarkEncode-4 403 289018 ns/op 28.34 MB/s BenchmarkEncodeToString-4 374 313091 ns/op 26.16 MB/s BenchmarkDecode-4 219 543081 ns/op 24.14 MB/s BenchmarkDecodeString-4 220 555035 ns/op 23.62 MB/s PASS ok encoding/base32 1.664s goos: linux goarch: amd64 pkg: encoding/base64 cpu: AMD EPYC 7B12 BenchmarkEncodeToString-4 519 219135 ns/op 37.38 MB/s BenchmarkDecodeString/2-4 437670 244.2 ns/op 16.38 MB/s BenchmarkDecodeString/4-4 347635 331.2 ns/op 24.15 MB/s BenchmarkDecodeString/8-4 292087 419.0 ns/op 28.64 MB/s BenchmarkDecodeString/64-4 53942 2202 ns/op 39.97 MB/s BenchmarkDecodeString/8192-4 487 242666 ns/op 45.02 MB/s BenchmarkNewEncoding-4 119232 998.2 ns/op 256.47 MB/s PASS ok encoding/base64 1.937s goos: linux goarch: amd64 pkg: encoding/binary cpu: AMD EPYC 7B12 BenchmarkReadSlice1000Int32s-4 1951 60012 ns/op 66.65 MB/s BenchmarkReadStruct-4 23461 5212 ns/op 14.39 MB/s BenchmarkWriteStruct-4 22572 5194 ns/op 14.44 MB/s BenchmarkReadInts-4 74379 1625 ns/op 18.46 MB/s BenchmarkWriteInts-4 68293 1787 ns/op 16.79 MB/s BenchmarkWriteSlice1000Int32s-4 1887 61350 ns/op 65.20 MB/s BenchmarkPutUint16-4 4516442 26.15 ns/op 76.49 MB/s BenchmarkAppendUint16-4 4358599 26.84 ns/op 74.52 MB/s BenchmarkPutUint32-4 3167991 38.29 ns/op 104.46 MB/s BenchmarkAppendUint32-4 3152446 37.80 ns/op 105.81 MB/s BenchmarkPutUint64-4 1586544 75.59 ns/op 105.84 MB/s BenchmarkAppendUint64-4 1556017 76.65 ns/op 104.37 MB/s BenchmarkLittleEndianPutUint16-4 4533237 26.21 ns/op 76.31 MB/s BenchmarkLittleEndianAppendUint16-4 4276993 27.71 ns/op 72.18 MB/s BenchmarkLittleEndianPutUint32-4 3147841 39.33 ns/op 101.70 MB/s BenchmarkLittleEndianAppendUint32-4 3135066 38.27 ns/op 104.51 MB/s BenchmarkLittleEndianPutUint64-4 1580772 72.47 ns/op 110.40 MB/s BenchmarkLittleEndianAppendUint64-4 1573490 71.67 ns/op 111.62 MB/s BenchmarkReadFloats-4 237375 482.6 ns/op 24.86 MB/s BenchmarkWriteFloats-4 232683 520.3 ns/op 23.06 MB/s BenchmarkReadSlice1000Float32s-4 1724 64642 ns/op 61.88 MB/s BenchmarkWriteSlice1000Float32s-4 1670 68325 ns/op 58.54 MB/s BenchmarkReadSlice1000Uint8s-4 120243 926.6 ns/op 1079.23 MB/s BenchmarkWriteSlice1000Uint8s-4 172950 674.6 ns/op 1482.25 MB/s BenchmarkPutUvarint32-4 1036336 112.4 ns/op 35.60 MB/s BenchmarkPutUvarint64-4 297120 404.4 ns/op 19.78 MB/s PASS ok encoding/binary 5.010s goos: linux goarch: amd64 pkg: encoding/csv cpu: AMD EPYC 7B12 BenchmarkRead-4 8930 11999 ns/op 736 B/op 16 allocs/op BenchmarkReadWithFieldsPerRecord-4 10332 11832 ns/op 736 B/op 16 allocs/op BenchmarkReadWithoutFieldsPerRecord-4 10466 11425 ns/op 736 B/op 16 allocs/op BenchmarkReadLargeFields-4 5419 19073 ns/op 3937 B/op 24 allocs/op BenchmarkReadReuseRecord-4 10000 11150 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithFieldsPerRecord-4 10000 10637 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithoutFieldsPerRecord-4 10000 11050 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordLargeFields-4 6182 18019 ns/op 2977 B/op 12 allocs/op BenchmarkWrite-4 18222 6362 ns/op PASS ok encoding/csv 2.306s goos: linux goarch: amd64 pkg: encoding/gob cpu: AMD EPYC 7B12 BenchmarkEndToEndPipe-4 16557 6636 ns/op 1812 B/op 2 allocs/op BenchmarkEndToEndByteBuffer-4 18166 5511 ns/op 1811 B/op 2 allocs/op BenchmarkEndToEndSliceByteBuffer-4 344 347093 ns/op 16588 B/op 329 allocs/op BenchmarkEncodeComplex128Slice-4 1029 111724 ns/op 476 B/op 0 allocs/op BenchmarkEncodeFloat64Slice-4 1996 53833 ns/op 44 B/op 0 allocs/op BenchmarkEncodeInt32Slice-4 2044 57592 ns/op 43 B/op 0 allocs/op BenchmarkEncodeStringSlice-4 2515 40933 ns/op 154 B/op 0 allocs/op BenchmarkEncodeInterfaceSlice-4 61 1869746 ns/op 34977 B/op 251 allocs/op BenchmarkDecodeComplex128Slice-4 912 148850 ns/op 25195 B/op 169 allocs/op BenchmarkDecodeFloat64Slice-4 1790 65986 ns/op 10787 B/op 169 allocs/op BenchmarkDecodeInt32Slice-4 1693 64214 ns/op 9754 B/op 169 allocs/op BenchmarkDecodeStringSlice-4 1311 94976 ns/op 39107 B/op 1169 allocs/op BenchmarkDecodeStringsSlice-4 415 264100 ns/op 66064 B/op 2196 allocs/op BenchmarkDecodeBytesSlice-4 708 142398 ns/op 23599 B/op 185 allocs/op BenchmarkDecodeInterfaceSlice-4 136 872178 ns/op 82841 B/op 3178 allocs/op BenchmarkDecodeMap-4 100 1105262 ns/op 54134 B/op 181 allocs/op PASS ok encoding/gob 3.448s goos: linux goarch: amd64 pkg: encoding/hex cpu: AMD EPYC 7B12 BenchmarkEncode/256-4 21121 5649 ns/op 45.32 MB/s BenchmarkEncode/1024-4 4320 24014 ns/op 42.64 MB/s BenchmarkEncode/4096-4 1221 96475 ns/op 42.46 MB/s BenchmarkEncode/16384-4 310 382628 ns/op 42.82 MB/s BenchmarkDecode/256-4 41690 2917 ns/op 87.75 MB/s BenchmarkDecode/1024-4 9144 11661 ns/op 87.82 MB/s BenchmarkDecode/4096-4 2337 50550 ns/op 81.03 MB/s BenchmarkDecode/16384-4 660 187556 ns/op 87.36 MB/s BenchmarkDump/256-4 1875 63814 ns/op 4.01 MB/s BenchmarkDump/1024-4 453 250280 ns/op 4.09 MB/s BenchmarkDump/4096-4 120 993648 ns/op 4.12 MB/s BenchmarkDump/16384-4 30 4062428 ns/op 4.03 MB/s PASS ok encoding/hex 2.746s goos: linux goarch: amd64 pkg: encoding/json cpu: AMD EPYC 7B12 BenchmarkCodeEncoder-4 1 122626510 ns/op 15.82 MB/s 8391840 B/op 59 allocs/op BenchmarkCodeEncoderError-4 2 64858650 ns/op 29.92 MB/s 4195808 B/op 36 allocs/op BenchmarkCodeMarshal-4 2 93652062 ns/op 20.72 MB/s 10330872 B/op 47 allocs/op BenchmarkCodeMarshalError-4 2 86575028 ns/op 22.41 MB/s 10397956 B/op 71 allocs/op BenchmarkMarshalBytes/32-4 30460 3919 ns/op BenchmarkMarshalBytes/256-4 7911 14377 ns/op BenchmarkMarshalBytes/4096-4 714 168444 ns/op BenchmarkMarshalBytesError/32-4 85 1427478 ns/op BenchmarkMarshalBytesError/256-4 82 1402291 ns/op BenchmarkMarshalBytesError/4096-4 75 1557838 ns/op BenchmarkCodeDecoder-4 1 303811504 ns/op 6.39 MB/s 11017184 B/op 91359 allocs/op BenchmarkUnicodeDecoder-4 50950 2375 ns/op 5.90 MB/s 40 B/op 2 allocs/op BenchmarkDecoderStream-4 57183 1839 ns/op 16 B/op 1 allocs/op BenchmarkCodeUnmarshal-4 1 272102777 ns/op 7.13 MB/s 2938248 B/op 91325 allocs/op BenchmarkCodeUnmarshalReuse-4 1 276105187 ns/op 7.03 MB/s 2938224 B/op 91327 allocs/op BenchmarkUnmarshalString-4 58424 2155 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalFloat64-4 145446 823.2 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalInt64-4 443001 345.9 ns/op 144 B/op 1 allocs/op BenchmarkIssue10335-4 75399 1486 ns/op 176 B/op 3 allocs/op BenchmarkIssue34127-4 86050 1370 ns/op 84 B/op 2 allocs/op BenchmarkUnmapped-4 23629 5097 ns/op 208 B/op 4 allocs/op BenchmarkTypeFieldsCache/MissTypes1-4 5708 24427 ns/op BenchmarkTypeFieldsCache/MissTypes10-4 994 114688 ns/op BenchmarkTypeFieldsCache/MissTypes100-4 123 897620 ns/op BenchmarkTypeFieldsCache/MissTypes1000-4 15 8165977 ns/op BenchmarkTypeFieldsCache/HitTypes1-4 493274 205.4 ns/op BenchmarkTypeFieldsCache/HitTypes10-4 779196 189.7 ns/op BenchmarkTypeFieldsCache/HitTypes100-4 717284 164.0 ns/op BenchmarkTypeFieldsCache/HitTypes1000-4 670809 167.3 ns/op BenchmarkEncodeMarshaler-4 69062 1571 ns/op 76 B/op 2 allocs/op BenchmarkEncoderEncode-4 80754 1359 ns/op 43 B/op 0 allocs/op BenchmarkNumberIsValid-4 6178057 19.37 ns/op BenchmarkNumberIsValidRegexp-4 28978 4209 ns/op PASS ok encoding/json 7.704s goos: linux goarch: amd64 pkg: encoding/pem cpu: AMD EPYC 7B12 BenchmarkEncode-4 70 1660260 ns/op 39.47 MB/s BenchmarkDecode-4 36 3329345 ns/op 26.67 MB/s PASS ok encoding/pem 1.354s goos: linux goarch: amd64 pkg: encoding/xml cpu: AMD EPYC 7B12 BenchmarkMarshal-4 3418 30056 ns/op 6280 B/op 24 allocs/op BenchmarkUnmarshal-4 1336 84128 ns/op 8216 B/op 185 allocs/op BenchmarkHTMLAutoClose-4 5526 20422 ns/op PASS ok encoding/xml 1.441s goos: linux goarch: amd64 pkg: expvar cpu: AMD EPYC 7B12 BenchmarkIntAdd-4 886563 201.5 ns/op BenchmarkIntSet-4 519354 241.3 ns/op BenchmarkFloatAdd-4 73406 1644 ns/op BenchmarkFloatSet-4 536200 241.9 ns/op BenchmarkStringSet-4 403683 356.6 ns/op BenchmarkMapSet-4 153873 1222 ns/op BenchmarkMapSetDifferent-4 67896 1774 ns/op BenchmarkMapSetDifferentRandom-4 378 306219 ns/op BenchmarkMapSetString-4 71518 1943 ns/op BenchmarkMapAddSame-4 41190 3089 ns/op BenchmarkMapAddDifferent-4 17937 6536 ns/op BenchmarkMapAddDifferentRandom-4 297 391496 ns/op BenchmarkMapAddSameSteadyState-4 214395 529.6 ns/op BenchmarkMapAddDifferentSteadyState-4 135111 828.6 ns/op BenchmarkRealworldExpvarUsage-4 36768 3888 ns/op PASS ok expvar 3.830s goos: linux goarch: amd64 pkg: fmt cpu: AMD EPYC 7B12 BenchmarkSprintfPadding-4 111570 904.7 ns/op BenchmarkSprintfEmpty-4 538690 233.1 ns/op BenchmarkSprintfString-4 404496 343.2 ns/op BenchmarkSprintfTruncateString-4 281518 377.5 ns/op BenchmarkSprintfTruncateBytes-4 158012 741.8 ns/op BenchmarkSprintfSlowParsingPath-4 286687 352.5 ns/op BenchmarkSprintfQuoteString-4 42523 2841 ns/op BenchmarkSprintfInt-4 304316 331.4 ns/op BenchmarkSprintfIntInt-4 226812 472.1 ns/op BenchmarkSprintfPrefixedInt-4 260998 431.5 ns/op BenchmarkSprintfFloat-4 151520 742.2 ns/op BenchmarkSprintfComplex-4 81054 1578 ns/op BenchmarkSprintfBoolean-4 276068 382.2 ns/op BenchmarkSprintfHexString-4 190432 664.1 ns/op BenchmarkSprintfHexBytes-4 97081 1378 ns/op BenchmarkSprintfBytes-4 62864 1997 ns/op BenchmarkSprintfStringer-4 104037 1118 ns/op BenchmarkSprintfStructure-4 49027 2682 ns/op BenchmarkManyArgs-4 102150 1225 ns/op BenchmarkFprintInt-4 99267 1206 ns/op BenchmarkFprintfBytes-4 114058 1086 ns/op BenchmarkFprintIntNoAlloc-4 100479 1209 ns/op BenchmarkScanInts-4 52 2306475 ns/op BenchmarkScanRecursiveInt-4 1 279989357 ns/op BenchmarkScanRecursiveIntReaderWrapper-4 1 291423695 ns/op PASS ok fmt 4.892s goos: linux goarch: amd64 pkg: go/build cpu: AMD EPYC 7B12 BenchmarkImportVendor-4 996 105742 ns/op PASS ok go/build 1.133s goos: linux goarch: amd64 pkg: go/constant cpu: AMD EPYC 7B12 BenchmarkStringAdd/1-4 66313 1637 ns/op 160 B/op 2 allocs/op BenchmarkStringAdd/4-4 20557 6042 ns/op 832 B/op 9 allocs/op BenchmarkStringAdd/16-4 5876 18180 ns/op 3168 B/op 23 allocs/op BenchmarkStringAdd/64-4 1742 74103 ns/op 11744 B/op 73 allocs/op BenchmarkStringAdd/256-4 382 316404 ns/op 47840 B/op 267 allocs/op BenchmarkStringAdd/1024-4 81 1405536 ns/op 206177 B/op 1038 allocs/op BenchmarkStringAdd/4096-4 25 5395980 ns/op 865632 B/op 4114 allocs/op BenchmarkStringAdd/16384-4 5 20424934 ns/op 3634528 B/op 16407 allocs/op BenchmarkStringAdd/65536-4 2 90301558 ns/op 15258976 B/op 65565 allocs/op PASS ok go/constant 2.493s goos: linux goarch: amd64 pkg: go/format cpu: AMD EPYC 7B12 BenchmarkFormat/array1-10000-4 1 189601204 ns/op 0.34 MB/s 45609408 B/op 48821 allocs/op PASS ok go/format 1.217s goos: linux goarch: amd64 pkg: go/parser cpu: AMD EPYC 7B12 BenchmarkParse-4 8 14437601 ns/op 3.73 MB/s BenchmarkParseOnly-4 9 12820238 ns/op 4.20 MB/s BenchmarkResolve-4 75 1651583 ns/op 32.61 MB/s PASS ok go/parser 2.411s goos: linux goarch: amd64 pkg: go/printer cpu: AMD EPYC 7B12 BenchmarkPrintFile-4 1 100622455 ns/op 0.52 MB/s 5118232 B/op 27624 allocs/op BenchmarkPrintDecl-4 1201 95197 ns/op 0.34 MB/s 15935 B/op 51 allocs/op PASS ok go/printer 1.246s goos: linux goarch: amd64 pkg: go/scanner cpu: AMD EPYC 7B12 BenchmarkScan-4 378 318004 ns/op BenchmarkScanFiles/go/types/expr.go-4 20 6031300 ns/op 8.22 MB/s BenchmarkScanFiles/go/parser/parser.go-4 12 9427575 ns/op 7.69 MB/s BenchmarkScanFiles/net/http/server.go-4 8 13640495 ns/op 8.31 MB/s BenchmarkScanFiles/go/scanner/errors.go-4 286 396370 ns/op 7.76 MB/s PASS ok go/scanner 1.705s goos: linux goarch: amd64 pkg: go/token cpu: AMD EPYC 7B12 BenchmarkSearchInts-4 1697247 83.79 ns/op PASS ok go/token 1.227s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: go/types cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLookupFieldOrMethod-4 103 1163113 ns/op BenchmarkNamed/Underlying/nongeneric-4 756232 139.3 ns/op BenchmarkNamed/Underlying/generic-4 863920 134.8 ns/op BenchmarkNamed/Underlying/src_instance-4 822583 136.5 ns/op BenchmarkNamed/Underlying/user_instance-4 805809 142.2 ns/op BenchmarkNamed/NewMethodSet/nongeneric-4 20348 5789 ns/op BenchmarkNamed/NewMethodSet/generic-4 20451 5771 ns/op BenchmarkNamed/NewMethodSet/src_instance-4 20863 5754 ns/op BenchmarkNamed/NewMethodSet/user_instance-4 20450 5734 ns/op BenchmarkCheck/http/funcbodies/info-4 1 674940644 ns/op 45269 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 468055891 ns/op 65274 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 251109245 ns/op 121611 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 224750035 ns/op 135872 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 526528531 ns/op 9829 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 1 129595303 ns/op 39923 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 2 74139940 ns/op 69778 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 2 67903736 ns/op 76191 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 181564849 ns/op 11932 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 2 67271452 ns/op 32194 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 3 48755159 ns/op 44422 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 3 48089031 ns/op 45040 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1209543464 ns/op 53867 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 640618694 ns/op 101699 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 175219300 ns/op 371698 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 132969985 ns/op 489788 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 1972523037 ns/op 1012 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 103265035 ns/op 19332 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 2 80563320 ns/op 24777 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 2 79524572 ns/op 25102 lines/s PASS ok go/types 21.655s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: hash/adler32 cpu: AMD EPYC 7B12 BenchmarkAdler32KB-4 16039 7447 ns/op 137.51 MB/s PASS ok hash/adler32 1.210s goos: linux goarch: amd64 pkg: hash/crc32 cpu: AMD EPYC 7B12 BenchmarkCRC32/poly=IEEE/size=15/align=0-4 310440 367.9 ns/op 40.77 MB/s BenchmarkCRC32/poly=IEEE/size=15/align=1-4 320326 356.2 ns/op 42.11 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=0-4 175999 674.4 ns/op 59.31 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=1-4 183351 649.8 ns/op 61.55 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=0-4 620426 194.9 ns/op 2626.32 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=1-4 601687 193.5 ns/op 2646.35 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=0-4 501279 235.9 ns/op 4341.66 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=1-4 505221 234.9 ns/op 4358.46 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=0-4 254545 474.7 ns/op 8627.78 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=1-4 254493 473.2 ns/op 8655.71 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=0-4 44218 2715 ns/op 12070.78 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=1-4 44209 2714 ns/op 12073.10 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=0-4 680557 172.5 ns/op 86.97 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=1-4 655844 175.5 ns/op 85.47 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=0-4 686852 177.4 ns/op 225.52 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=1-4 680071 179.3 ns/op 223.14 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=0-4 474124 255.3 ns/op 2005.78 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=1-4 461919 251.7 ns/op 2034.14 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=0-4 383370 314.6 ns/op 3254.91 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=1-4 344241 315.2 ns/op 3249.12 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=0-4 300280 385.5 ns/op 10625.89 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=1-4 307467 391.4 ns/op 10464.07 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=0-4 60669 1977 ns/op 16571.64 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=1-4 60830 1980 ns/op 16553.52 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=0-4 340485 342.5 ns/op 43.79 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=1-4 332724 359.2 ns/op 41.76 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=0-4 154692 752.1 ns/op 53.19 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=1-4 176179 718.2 ns/op 55.70 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=0-4 14323 8533 ns/op 60.00 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=1-4 14126 8382 ns/op 61.08 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=0-4 6308 18644 ns/op 54.92 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=1-4 6358 18279 ns/op 56.02 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=0-4 1525 79757 ns/op 51.36 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=1-4 1467 83371 ns/op 49.13 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=0-4 175 657799 ns/op 49.81 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=1-4 182 653094 ns/op 50.17 MB/s PASS ok hash/crc32 5.888s goos: linux goarch: amd64 pkg: hash/crc64 cpu: AMD EPYC 7B12 BenchmarkCrc64/ISO64KB-4 128 826278 ns/op 79.31 MB/s BenchmarkCrc64/ISO4KB-4 1772 70909 ns/op 57.76 MB/s BenchmarkCrc64/ISO1KB-4 7742 14710 ns/op 69.61 MB/s BenchmarkCrc64/ECMA64KB-4 136 910553 ns/op 71.97 MB/s BenchmarkCrc64/Random64KB-4 156 763321 ns/op 85.86 MB/s BenchmarkCrc64/Random16KB-4 595 219576 ns/op 74.62 MB/s PASS ok hash/crc64 2.032s goos: linux goarch: amd64 pkg: hash/fnv cpu: AMD EPYC 7B12 BenchmarkFnv32KB-4 15948 7840 ns/op 130.62 MB/s BenchmarkFnv32aKB-4 15955 8515 ns/op 120.25 MB/s BenchmarkFnv64KB-4 15346 7607 ns/op 134.62 MB/s BenchmarkFnv64aKB-4 15776 7610 ns/op 134.56 MB/s BenchmarkFnv128KB-4 2871 40925 ns/op 25.02 MB/s BenchmarkFnv128aKB-4 2894 45021 ns/op 22.75 MB/s PASS ok hash/fnv 2.090s goos: linux goarch: amd64 pkg: hash/maphash cpu: AMD EPYC 7B12 BenchmarkHash/n=4/Write-4 670016 151.1 ns/op 26.47 MB/s BenchmarkHash/n=4/Bytes-4 5762880 21.28 ns/op 187.94 MB/s BenchmarkHash/n=4/String-4 2343298 51.23 ns/op 78.08 MB/s BenchmarkHash/n=8/Write-4 735820 156.2 ns/op 51.20 MB/s BenchmarkHash/n=8/Bytes-4 5577810 21.61 ns/op 370.16 MB/s BenchmarkHash/n=8/String-4 2318457 52.49 ns/op 152.42 MB/s BenchmarkHash/n=16/Write-4 679351 152.5 ns/op 104.91 MB/s BenchmarkHash/n=16/Bytes-4 5778033 20.81 ns/op 769.03 MB/s BenchmarkHash/n=16/String-4 2243484 52.53 ns/op 304.59 MB/s BenchmarkHash/n=32/Write-4 729984 163.3 ns/op 195.91 MB/s BenchmarkHash/n=32/Bytes-4 5800099 21.03 ns/op 1521.93 MB/s BenchmarkHash/n=32/String-4 2356526 50.60 ns/op 632.43 MB/s BenchmarkHash/n=64/Write-4 723885 168.2 ns/op 380.61 MB/s BenchmarkHash/n=64/Bytes-4 5680632 21.39 ns/op 2992.53 MB/s BenchmarkHash/n=64/String-4 2261628 52.02 ns/op 1230.38 MB/s BenchmarkHash/n=256/Write-4 552742 222.8 ns/op 1149.23 MB/s BenchmarkHash/n=256/Bytes-4 4372526 27.83 ns/op 9197.98 MB/s BenchmarkHash/n=256/String-4 1379508 87.75 ns/op 2917.40 MB/s BenchmarkHash/n=320/Write-4 563215 221.9 ns/op 1441.88 MB/s BenchmarkHash/n=320/Bytes-4 3713598 32.16 ns/op 9950.93 MB/s BenchmarkHash/n=320/String-4 848817 120.4 ns/op 2657.86 MB/s BenchmarkHash/n=1024/Write-4 383102 312.7 ns/op 3274.88 MB/s BenchmarkHash/n=1024/Bytes-4 1391049 86.54 ns/op 11832.19 MB/s BenchmarkHash/n=1024/String-4 395166 303.5 ns/op 3374.07 MB/s BenchmarkHash/n=4096/Write-4 179145 668.9 ns/op 6123.69 MB/s BenchmarkHash/n=4096/Bytes-4 341424 347.3 ns/op 11794.07 MB/s BenchmarkHash/n=4096/String-4 105384 1133 ns/op 3615.23 MB/s BenchmarkHash/n=16384/Write-4 56223 2117 ns/op 7740.38 MB/s BenchmarkHash/n=16384/Bytes-4 85960 1396 ns/op 11738.27 MB/s BenchmarkHash/n=16384/String-4 26841 4487 ns/op 3651.26 MB/s PASS ok hash/maphash 5.383s goos: linux goarch: amd64 pkg: html cpu: AMD EPYC 7B12 BenchmarkEscape-4 1293 86204 ns/op BenchmarkEscapeNone-4 144816 813.8 ns/op BenchmarkUnescape-4 1177 99943 ns/op BenchmarkUnescapeNone-4 720162 148.8 ns/op BenchmarkUnescapeSparse-4 16633 7571 ns/op BenchmarkUnescapeDense-4 1682 68829 ns/op PASS ok html 1.831s goos: linux goarch: amd64 pkg: html/template cpu: AMD EPYC 7B12 BenchmarkCSSEscaper-4 13760 8754 ns/op BenchmarkCSSEscaperNoSpecials-4 64888 1845 ns/op BenchmarkDecodeCSS-4 41660 2900 ns/op BenchmarkDecodeCSSNoSpecials-4 5550468 20.37 ns/op BenchmarkCSSValueFilter-4 159373 712.3 ns/op BenchmarkCSSValueFilterOk-4 116467 1010 ns/op BenchmarkEscapedExecute-4 5697 18131 ns/op BenchmarkHTMLNospaceEscaper-4 16482 7168 ns/op BenchmarkHTMLNospaceEscaperNoSpecials-4 90640 1276 ns/op BenchmarkStripTags-4 31783 3694 ns/op BenchmarkStripTagsNoSpecials-4 446180 250.5 ns/op BenchmarkJSValEscaperWithNum-4 33528 3594 ns/op BenchmarkJSValEscaperWithStr-4 7359 14219 ns/op BenchmarkJSValEscaperWithStrNoSpecials-4 26883 4560 ns/op BenchmarkJSValEscaperWithObj-4 5967 16849 ns/op BenchmarkJSValEscaperWithObjNoSpecials-4 19080 6353 ns/op BenchmarkJSStrEscaperNoSpecials-4 82146 1450 ns/op BenchmarkJSStrEscaper-4 17688 6951 ns/op BenchmarkJSRegexpEscaperNoSpecials-4 73458 1655 ns/op BenchmarkJSRegexpEscaper-4 15596 7567 ns/op BenchmarkTemplateSpecialTags-4 145 800772 ns/op BenchmarkURLEscaper-4 5358 19306 ns/op BenchmarkURLEscaperNoSpecials-4 232828 474.3 ns/op BenchmarkURLNormalizer-4 8374 14548 ns/op BenchmarkURLNormalizerNoSpecials-4 238460 503.1 ns/op BenchmarkSrcsetFilter-4 26485 4581 ns/op BenchmarkSrcsetFilterNoSpecials-4 157600 773.2 ns/op PASS ok html/template 5.113s goos: linux goarch: amd64 pkg: image cpu: AMD EPYC 7B12 BenchmarkAt/rgba-4 794586 136.3 ns/op 16 B/op 1 allocs/op BenchmarkAt/rgba64-4 659452 172.7 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba-4 936262 129.4 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba64-4 638834 179.0 ns/op 16 B/op 1 allocs/op BenchmarkAt/alpha-4 2370568 55.43 ns/op 0 B/op 0 allocs/op BenchmarkAt/alpha16-4 1576888 75.60 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray-4 2355562 49.78 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray16-4 1592599 74.02 ns/op 0 B/op 0 allocs/op BenchmarkAt/paletted-4 1861512 64.30 ns/op 0 B/op 0 allocs/op BenchmarkSet/rgba-4 615399 188.5 ns/op 16 B/op 1 allocs/op BenchmarkSet/rgba64-4 506940 222.0 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba-4 642424 196.9 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba64-4 525193 228.6 ns/op 16 B/op 1 allocs/op BenchmarkSet/alpha-4 987117 111.1 ns/op 0 B/op 0 allocs/op BenchmarkSet/alpha16-4 733998 154.7 ns/op 16 B/op 1 allocs/op BenchmarkSet/gray-4 1229125 104.9 ns/op 0 B/op 0 allocs/op BenchmarkSet/gray16-4 754597 153.9 ns/op 16 B/op 1 allocs/op BenchmarkSet/paletted-4 508971 211.6 ns/op 0 B/op 0 allocs/op BenchmarkRGBAAt-4 1657089 65.52 ns/op BenchmarkRGBASetRGBA-4 1781037 67.13 ns/op BenchmarkRGBA64At-4 1000000 103.1 ns/op BenchmarkRGBA64SetRGBA64-4 1156268 103.9 ns/op BenchmarkNRGBAAt-4 1649865 65.29 ns/op BenchmarkNRGBASetNRGBA-4 1796625 67.32 ns/op BenchmarkNRGBA64At-4 1000000 109.2 ns/op BenchmarkNRGBA64SetNRGBA64-4 1000000 103.6 ns/op BenchmarkAlphaAt-4 2857495 37.03 ns/op BenchmarkAlphaSetAlpha-4 2876736 41.59 ns/op BenchmarkAlpha16At-4 1989064 59.87 ns/op BenchmarkAlphaSetAlpha16-4 1947536 65.07 ns/op BenchmarkGrayAt-4 3221784 40.59 ns/op BenchmarkGraySetGray-4 3125973 39.06 ns/op BenchmarkGray16At-4 2003438 59.46 ns/op BenchmarkGraySetGray16-4 1963195 61.69 ns/op PASS ok image 6.318s goos: linux goarch: amd64 pkg: image/color cpu: AMD EPYC 7B12 BenchmarkYCbCrToRGB/0-4 5140960 24.65 ns/op BenchmarkYCbCrToRGB/128-4 4996899 23.65 ns/op BenchmarkYCbCrToRGB/255-4 4963142 23.67 ns/op BenchmarkRGBToYCbCr/0-4 4999876 23.68 ns/op BenchmarkRGBToYCbCr/Cb-4 4980399 23.68 ns/op BenchmarkRGBToYCbCr/Cr-4 4991238 23.67 ns/op BenchmarkYCbCrToRGBA/0-4 4022655 29.03 ns/op BenchmarkYCbCrToRGBA/128-4 3881868 30.56 ns/op BenchmarkYCbCrToRGBA/255-4 4048428 29.30 ns/op BenchmarkNYCbCrAToRGBA/0-4 3964378 29.96 ns/op BenchmarkNYCbCrAToRGBA/128-4 3945870 29.95 ns/op BenchmarkNYCbCrAToRGBA/255-4 4015078 29.60 ns/op PASS ok image/color 2.798s goos: linux goarch: amd64 pkg: image/draw cpu: AMD EPYC 7B12 BenchmarkFillOver-4 5 22747466 ns/op BenchmarkFillSrc-4 480 238059 ns/op BenchmarkCopyOver-4 10 10587642 ns/op BenchmarkCopySrc-4 711 156411 ns/op BenchmarkNRGBAOver-4 10 11369701 ns/op BenchmarkNRGBASrc-4 14 7202230 ns/op BenchmarkYCbCr-4 14 8144306 ns/op BenchmarkGray-4 27 4597087 ns/op BenchmarkCMYK-4 15 7344450 ns/op BenchmarkGlyphOver-4 31 3734437 ns/op BenchmarkRGBAMaskOver-4 6 18952502 ns/op BenchmarkGrayMaskOver-4 7 16037653 ns/op BenchmarkRGBA64ImageMaskOver-4 4 25433661 ns/op BenchmarkRGBA-4 7 16383703 ns/op BenchmarkPalettedFill-4 1392 85049 ns/op BenchmarkPalettedRGBA-4 6 17454697 ns/op BenchmarkGenericOver-4 3 38570877 ns/op BenchmarkGenericMaskOver-4 7 16217090 ns/op BenchmarkGenericSrc-4 4 25181374 ns/op BenchmarkGenericMaskSrc-4 5 22161290 ns/op PASS ok image/draw 5.778s goos: linux goarch: amd64 pkg: image/gif cpu: AMD EPYC 7B12 BenchmarkDecode-4 30 3389077 ns/op 4.56 MB/s 47848 B/op 267 allocs/op BenchmarkEncodeRandomPaletted-4 2 84048076 ns/op 3.66 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRandomRGBA-4 1 2086184752 ns/op 0.59 MB/s 417248 B/op 13 allocs/op BenchmarkEncodeRealisticPaletted-4 81 1395148 ns/op 11.07 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRealisticRGBA-4 1 104045204 ns/op 0.59 MB/s 105952 B/op 13 allocs/op PASS ok image/gif 4.094s goos: linux goarch: amd64 pkg: image/jpeg cpu: AMD EPYC 7B12 BenchmarkFDCT-4 5676 19776 ns/op BenchmarkIDCT-4 5902 17855 ns/op BenchmarkDecodeBaseline-4 13 8753189 ns/op 7.06 MB/s 63024 B/op 5 allocs/op BenchmarkDecodeProgressive-4 9 12071478 ns/op 5.12 MB/s 259712 B/op 13 allocs/op BenchmarkEncodeRGBA-4 1 113008162 ns/op 10.87 MB/s 4400 B/op 4 allocs/op BenchmarkEncodeYCbCr-4 1 136920401 ns/op 6.73 MB/s 4400 B/op 4 allocs/op PASS ok image/jpeg 2.012s goos: linux goarch: amd64 pkg: image/png cpu: AMD EPYC 7B12 BenchmarkPaeth-4 15083032 7.037 ns/op BenchmarkDecodeGray-4 18 6187076 ns/op 10.59 MB/s 137024 B/op 102 allocs/op BenchmarkDecodeNRGBAGradient-4 4 25644006 ns/op 10.22 MB/s 337328 B/op 188 allocs/op BenchmarkDecodeNRGBAOpaque-4 5 22110991 ns/op 11.86 MB/s 346592 B/op 152 allocs/op BenchmarkDecodePaletted-4 33 3670650 ns/op 17.85 MB/s 139456 B/op 309 allocs/op BenchmarkDecodeRGB-4 5 20961511 ns/op 12.51 MB/s 332000 B/op 157 allocs/op BenchmarkDecodeInterlacing-4 4 25591621 ns/op 10.24 MB/s 605216 B/op 268 allocs/op BenchmarkEncodeGray-4 3 38645964 ns/op 7.95 MB/s 852184 B/op 29 allocs/op BenchmarkEncodeGrayWithBufferPool-4 3 38825748 ns/op 7.91 MB/s 284053 B/op 9 allocs/op BenchmarkEncodeNRGBOpaque-4 1 141213330 ns/op 8.70 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeNRGBA-4 1 138058871 ns/op 8.90 MB/s 864088 B/op 29 allocs/op BenchmarkEncodePaletted-4 6 19911590 ns/op 15.43 MB/s 848592 B/op 32 allocs/op BenchmarkEncodeRGBOpaque-4 1 141484640 ns/op 8.69 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeRGBA-4 1 548244214 ns/op 2.24 MB/s 864088 B/op 29 allocs/op PASS ok image/png 4.090s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: index/suffixarray cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkNew/text=opticks/size=100K/bits=32-4 2 54051538 ns/op 1.85 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=opticks/size=100K/bits=64-4 3 45329851 ns/op 2.21 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=32-4 1 328659056 ns/op 1.52 MB/s 2007128 B/op 3 allocs/op BenchmarkNew/text=opticks/size=500K/bits=64-4 1 328677200 ns/op 1.52 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=32-4 2 54278312 ns/op 1.84 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=64-4 3 45056236 ns/op 2.22 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=32-4 1 315693447 ns/op 1.58 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=64-4 1 309974240 ns/op 1.61 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=32-4 1 725071484 ns/op 1.38 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=64-4 1 702264159 ns/op 1.42 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=32-4 1 4237112501 ns/op 1.18 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=64-4 1 4114463846 ns/op 1.22 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=32-4 10 10219607 ns/op 9.79 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=64-4 9 11626049 ns/op 8.60 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=32-4 3 50384298 ns/op 9.92 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=64-4 2 58166082 ns/op 8.60 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=32-4 2 98406042 ns/op 10.16 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=64-4 1 112111613 ns/op 8.92 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=32-4 1 509257179 ns/op 9.82 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=64-4 1 555733341 ns/op 9.00 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=32-4 2 62591055 ns/op 1.60 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=64-4 2 55780913 ns/op 1.79 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=32-4 1 411333544 ns/op 1.22 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=64-4 1 442062101 ns/op 1.13 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=32-4 1 990933928 ns/op 1.01 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=64-4 1 1026742809 ns/op 0.97 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=32-4 1 6186717774 ns/op 0.81 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=64-4 1 5966677774 ns/op 0.84 MB/s 40001616 B/op 2 allocs/op BenchmarkSaveRestore/bits=32-4 1 188161852 ns/op 22.21 MB/s 5275648 B/op 4 allocs/op BenchmarkSaveRestore/bits=64-4 1 190693729 ns/op 21.92 MB/s 9469952 B/op 4 allocs/op PASS ok index/suffixarray 47.978s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: internal/fuzz cpu: AMD EPYC 7B12 BenchmarkMarshalCorpusFile/1-4 47214 2213 ns/op 0.45 MB/s BenchmarkMarshalCorpusFile/2-4 50928 2320 ns/op 0.86 MB/s BenchmarkMarshalCorpusFile/4-4 46125 2583 ns/op 1.55 MB/s BenchmarkMarshalCorpusFile/8-4 39117 2989 ns/op 2.68 MB/s BenchmarkMarshalCorpusFile/16-4 31384 3793 ns/op 4.22 MB/s BenchmarkMarshalCorpusFile/32-4 20551 5746 ns/op 5.57 MB/s BenchmarkMarshalCorpusFile/64-4 13382 8900 ns/op 7.19 MB/s BenchmarkMarshalCorpusFile/128-4 8416 14431 ns/op 8.87 MB/s BenchmarkMarshalCorpusFile/256-4 4056 27036 ns/op 9.47 MB/s BenchmarkMarshalCorpusFile/512-4 2107 52718 ns/op 9.71 MB/s BenchmarkMarshalCorpusFile/1024-4 1143 100452 ns/op 10.19 MB/s BenchmarkMarshalCorpusFile/2048-4 586 199335 ns/op 10.27 MB/s BenchmarkMarshalCorpusFile/4096-4 296 398884 ns/op 10.27 MB/s BenchmarkMarshalCorpusFile/8192-4 152 778285 ns/op 10.53 MB/s BenchmarkMarshalCorpusFile/16384-4 76 1591395 ns/op 10.30 MB/s BenchmarkMarshalCorpusFile/32768-4 33 3645210 ns/op 8.99 MB/s BenchmarkMarshalCorpusFile/65536-4 14 7273936 ns/op 9.01 MB/s BenchmarkMarshalCorpusFile/131072-4 7 16726087 ns/op 7.84 MB/s BenchmarkMarshalCorpusFile/262144-4 4 29138593 ns/op 9.00 MB/s BenchmarkMarshalCorpusFile/524288-4 2 69318606 ns/op 7.56 MB/s BenchmarkMarshalCorpusFile/1048576-4 1 119506572 ns/op 8.77 MB/s BenchmarkUnmarshalCorpusFile/1-4 14352 7934 ns/op 0.13 MB/s BenchmarkUnmarshalCorpusFile/2-4 14214 8427 ns/op 0.24 MB/s BenchmarkUnmarshalCorpusFile/4-4 12394 9771 ns/op 0.41 MB/s BenchmarkUnmarshalCorpusFile/8-4 10000 11251 ns/op 0.71 MB/s BenchmarkUnmarshalCorpusFile/16-4 8826 13554 ns/op 1.18 MB/s BenchmarkUnmarshalCorpusFile/32-4 5648 19019 ns/op 1.68 MB/s BenchmarkUnmarshalCorpusFile/64-4 5288 23730 ns/op 2.70 MB/s BenchmarkUnmarshalCorpusFile/128-4 3834 31469 ns/op 4.07 MB/s BenchmarkUnmarshalCorpusFile/256-4 1464 78574 ns/op 3.26 MB/s BenchmarkUnmarshalCorpusFile/512-4 822 152244 ns/op 3.36 MB/s BenchmarkUnmarshalCorpusFile/1024-4 414 295254 ns/op 3.47 MB/s BenchmarkUnmarshalCorpusFile/2048-4 201 581213 ns/op 3.52 MB/s BenchmarkUnmarshalCorpusFile/4096-4 98 1122445 ns/op 3.65 MB/s BenchmarkUnmarshalCorpusFile/8192-4 48 2236872 ns/op 3.66 MB/s BenchmarkUnmarshalCorpusFile/16384-4 27 4499240 ns/op 3.64 MB/s BenchmarkUnmarshalCorpusFile/32768-4 13 9343088 ns/op 3.51 MB/s BenchmarkUnmarshalCorpusFile/65536-4 6 18361870 ns/op 3.57 MB/s BenchmarkUnmarshalCorpusFile/131072-4 3 35553098 ns/op 3.69 MB/s BenchmarkUnmarshalCorpusFile/262144-4 2 72922286 ns/op 3.59 MB/s BenchmarkUnmarshalCorpusFile/524288-4 1 144274881 ns/op 3.63 MB/s BenchmarkUnmarshalCorpusFile/1048576-4 1 290530391 ns/op 3.61 MB/s BenchmarkMutatorBytes/1-4 51439 2382 ns/op BenchmarkMutatorBytes/10-4 54348 2230 ns/op BenchmarkMutatorBytes/100-4 50770 2416 ns/op BenchmarkMutatorBytes/1000-4 34707 3744 ns/op BenchmarkMutatorBytes/10000-4 8757 15093 ns/op BenchmarkMutatorBytes/100000-4 1292 103467 ns/op BenchmarkMutatorString/1-4 51625 2459 ns/op BenchmarkMutatorString/10-4 50970 2371 ns/op BenchmarkMutatorString/100-4 45164 2771 ns/op BenchmarkMutatorString/1000-4 23492 5249 ns/op BenchmarkMutatorString/10000-4 5788 29153 ns/op BenchmarkMutatorString/100000-4 474 253139 ns/op BenchmarkMutatorAllBasicTypes/[]uint8-4 27357 4285 ns/op BenchmarkMutatorAllBasicTypes/string-4 27492 4336 ns/op BenchmarkMutatorAllBasicTypes/bool-4 92299 1319 ns/op BenchmarkMutatorAllBasicTypes/float32-4 80652 1482 ns/op BenchmarkMutatorAllBasicTypes/float64-4 80490 1481 ns/op BenchmarkMutatorAllBasicTypes/int-4 85665 1414 ns/op BenchmarkMutatorAllBasicTypes/int8-4 86311 1397 ns/op BenchmarkMutatorAllBasicTypes/int16-4 85472 1410 ns/op BenchmarkMutatorAllBasicTypes/int32-4 85672 1390 ns/op BenchmarkMutatorAllBasicTypes/int64-4 85092 1412 ns/op BenchmarkMutatorAllBasicTypes/uint8-4 82233 1456 ns/op BenchmarkMutatorAllBasicTypes/uint16-4 83290 1455 ns/op BenchmarkMutatorAllBasicTypes/uint32-4 83358 1460 ns/op BenchmarkMutatorAllBasicTypes/uint64-4 83480 1438 ns/op PASS ok internal/fuzz 12.083s goos: linux goarch: amd64 pkg: internal/intern cpu: AMD EPYC 7B12 BenchmarkStress-4 41578 2532 ns/op 0 B/op 0 allocs/op BenchmarkGetByString-4 198352 618.2 ns/op 0 B/op 0 allocs/op PASS ok internal/intern 1.269s goos: linux goarch: amd64 pkg: internal/poll cpu: AMD EPYC 7B12 BenchmarkSplicePipe/SplicePipeWithPool-4 86998 1608 ns/op BenchmarkSplicePipe/SplicePipeWithoutPool-4 27512 3973 ns/op BenchmarkSplicePipePoolParallel-4 170162 692.0 ns/op BenchmarkSplicePipeNativeParallel-4 52447 2865 ns/op PASS ok internal/poll 1.938s goos: linux goarch: amd64 pkg: internal/trace cpu: AMD EPYC 7B12 BenchmarkMMU-4 7 16237665 ns/op PASS ok internal/trace 2.270s PASS ok internal/zstd 1.013s goos: linux goarch: amd64 pkg: io cpu: AMD EPYC 7B12 BenchmarkCopyNSmall-4 19434 5855 ns/op BenchmarkCopyNLarge-4 294 342226 ns/op PASS ok io 1.341s goos: linux goarch: amd64 pkg: log cpu: AMD EPYC 7B12 BenchmarkItoa-4 314841 393.3 ns/op BenchmarkPrintln-4 32198 3813 ns/op 78 B/op 1 allocs/op BenchmarkPrintlnNoFlags-4 49371 2453 ns/op 66 B/op 1 allocs/op BenchmarkConcurrent-4 3003 47188 ns/op BenchmarkDiscard-4 1807273 65.42 ns/op 0 B/op 0 allocs/op PASS ok log 1.971s goos: linux goarch: amd64 pkg: log/slog cpu: AMD EPYC 7B12 BenchmarkWriteTime-4 126966 935.4 ns/op BenchmarkJSONHandler/defaults-4 9512 10966 ns/op 529 B/op 1 allocs/op BenchmarkJSONHandler/time_format-4 6164 18136 ns/op 778 B/op 6 allocs/op BenchmarkJSONHandler/time_unix-4 7189 16007 ns/op 753 B/op 5 allocs/op BenchmarkPreformatting/separate-4 10000 10768 ns/op 514 B/op 0 allocs/op BenchmarkPreformatting/struct-4 10000 10703 ns/op 531 B/op 1 allocs/op BenchmarkPreformatting/struct_file-4 8096 13594 ns/op 515 B/op 0 allocs/op BenchmarkJSONEncoding/json.Marshal-4 42712 2833 ns/op 79 B/op 2 allocs/op BenchmarkJSONEncoding/Encoder.Encode-4 42458 2826 ns/op 63 B/op 1 allocs/op BenchmarkNopLog/no_attrs-4 97135 1262 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-4 82298 1573 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-parallel-4 61813 1903 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/keys-values-4 74941 1642 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-4 81270 1582 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-parallel-4 65906 2004 ns/op 0 B/op 0 allocs/op BenchmarkPC/0-4 656343 181.6 ns/op 0 B/op 0 allocs/op BenchmarkPC/1-4 427066 239.9 ns/op 0 B/op 0 allocs/op BenchmarkPC/2-4 324960 359.4 ns/op 0 B/op 0 allocs/op BenchmarkPC/3-4 232378 499.6 ns/op 0 B/op 0 allocs/op BenchmarkPC/4-4 189937 615.5 ns/op 0 B/op 0 allocs/op BenchmarkRecord-4 10000 11500 ns/op BenchmarkDispatch/switch-checked-4 285289 414.8 ns/op BenchmarkDispatch/As-4 272851 434.7 ns/op BenchmarkDispatch/Visit-4 260068 449.9 ns/op BenchmarkUnsafeStrings-4 25353 4735 ns/op 0 B/op 0 allocs/op --- BENCH: BenchmarkUnsafeStrings-4 value_test.go:251: Value size = 24 value_test.go:251: Value size = 24 value_test.go:251: Value size = 24 value_test.go:251: Value size = 24 PASS ok log/slog 4.251s goos: linux goarch: amd64 pkg: log/slog/internal/benchmarks cpu: AMD EPYC 7B12 BenchmarkAttrs/disabled/5_args-4 2987132 40.23 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/5_args_ctx-4 1520386 74.11 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/10_args-4 1984274 64.50 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/40_args-4 566668 208.4 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args-4 69618 1482 ns/op 263 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args_ctx-4 86583 1520 ns/op 258 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/10_args-4 63808 2084 ns/op 469 B/op 1 allocs/op BenchmarkAttrs/fastText_discard/40_args-4 20328 5764 ns/op 2059 B/op 1 allocs/op BenchmarkAttrs/Text_discard/5_args-4 17158 6786 ns/op 624 B/op 3 allocs/op BenchmarkAttrs/Text_discard/5_args_ctx-4 18010 6670 ns/op 607 B/op 3 allocs/op BenchmarkAttrs/Text_discard/10_args-4 11278 9715 ns/op 906 B/op 7 allocs/op BenchmarkAttrs/Text_discard/40_args-4 3772 27247 ns/op 3012 B/op 22 allocs/op BenchmarkAttrs/JSON_discard/5_args-4 20368 5633 ns/op 525 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/5_args_ctx-4 20666 6113 ns/op 526 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/10_args-4 14126 8485 ns/op 732 B/op 2 allocs/op BenchmarkAttrs/JSON_discard/40_args-4 5071 23318 ns/op 2309 B/op 2 allocs/op PASS ok log/slog/internal/benchmarks 3.727s goos: linux goarch: amd64 pkg: maps cpu: AMD EPYC 7B12 BenchmarkMapClone-4 4 27300538 ns/op BenchmarkKeys-4 10 10626851 ns/op BenchmarkValues-4 10 10159686 ns/op PASS ok maps 3.064s goos: linux goarch: amd64 pkg: math cpu: AMD EPYC 7B12 BenchmarkAcos-4 5033461 23.55 ns/op BenchmarkAcosh-4 1791567 67.93 ns/op BenchmarkAsin-4 5097651 23.45 ns/op BenchmarkAsinh-4 1797285 67.66 ns/op BenchmarkAtan-4 6064078 20.22 ns/op BenchmarkAtanh-4 1655451 72.45 ns/op BenchmarkAtan2-4 3332774 36.30 ns/op BenchmarkCbrt-4 2334506 51.34 ns/op BenchmarkCeil-4 22674669 5.000 ns/op BenchmarkCompare-4 4905092 24.38 ns/op BenchmarkCompare32-4 6108847 20.26 ns/op BenchmarkCopysign-4 3675417 32.71 ns/op BenchmarkCos-4 1773853 73.74 ns/op BenchmarkCosh-4 2249955 54.18 ns/op BenchmarkErf-4 6074953 20.17 ns/op BenchmarkErfc-4 5776026 21.70 ns/op BenchmarkErfinv-4 5919508 20.16 ns/op BenchmarkErfcinv-4 5958616 20.23 ns/op BenchmarkExp-4 7255617 14.35 ns/op BenchmarkExpGo-4 1413146 85.22 ns/op BenchmarkExpm1-4 4945170 24.21 ns/op BenchmarkExp2-4 1556932 76.03 ns/op BenchmarkExp2Go-4 1453561 82.67 ns/op BenchmarkAbs-4 4629094 24.09 ns/op BenchmarkDim-4 11639444 10.32 ns/op BenchmarkFloor-4 21617340 5.004 ns/op BenchmarkMax-4 14225239 8.120 ns/op BenchmarkMin-4 14681288 7.816 ns/op BenchmarkMod-4 466813 253.5 ns/op BenchmarkFrexp-4 2576176 46.51 ns/op BenchmarkGamma-4 919095 127.4 ns/op BenchmarkHypot-4 13585771 8.120 ns/op BenchmarkHypotGo-4 2264768 54.88 ns/op BenchmarkIlogb-4 2908963 41.03 ns/op BenchmarkJ0-4 349578 346.6 ns/op BenchmarkJ1-4 368455 326.6 ns/op BenchmarkJn-4 158546 678.7 ns/op BenchmarkLdexp-4 2487804 48.67 ns/op BenchmarkLgamma-4 1000000 104.9 ns/op BenchmarkLog-4 8319651 13.84 ns/op BenchmarkLogb-4 2994000 41.07 ns/op BenchmarkLog1p-4 2150564 55.70 ns/op BenchmarkLog10-4 8068567 14.57 ns/op BenchmarkLog2-4 1999188 59.15 ns/op BenchmarkModf-4 3754719 31.99 ns/op BenchmarkNextafter32-4 3616785 34.90 ns/op BenchmarkNextafter64-4 3549792 32.88 ns/op BenchmarkPowInt-4 766890 150.8 ns/op BenchmarkPowFrac-4 596853 196.6 ns/op BenchmarkPow10Pos-4 5740380 21.21 ns/op BenchmarkPow10Neg-4 4750812 21.24 ns/op BenchmarkRound-4 4459538 25.05 ns/op BenchmarkRoundToEven-4 11626532 10.20 ns/op BenchmarkRemainder-4 657019 178.2 ns/op BenchmarkSignbit-4 6315446 17.15 ns/op BenchmarkSin-4 2053279 58.91 ns/op BenchmarkSincos-4 1390568 84.66 ns/op BenchmarkSinh-4 3862956 31.01 ns/op BenchmarkSqrtIndirect-4 22656598 4.996 ns/op BenchmarkSqrtLatency-4 12849026 9.319 ns/op BenchmarkSqrtIndirectLatency-4 12796411 9.310 ns/op BenchmarkSqrtGoLatency-4 2011748 59.87 ns/op BenchmarkSqrtPrime-4 172250 687.5 ns/op BenchmarkTan-4 1830270 66.22 ns/op BenchmarkTanh-4 2178076 55.18 ns/op BenchmarkTrunc-4 22281891 5.922 ns/op BenchmarkY0-4 379904 316.1 ns/op BenchmarkY1-4 375112 352.0 ns/op BenchmarkYn-4 167392 720.9 ns/op BenchmarkFloat64bits-4 6209299 17.45 ns/op BenchmarkFloat64frombits-4 6311726 17.12 ns/op BenchmarkFloat32bits-4 6748354 17.40 ns/op BenchmarkFloat32frombits-4 6924548 17.98 ns/op BenchmarkFMA-4 22552359 5.311 ns/op PASS ok math 12.241s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: math/big cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAddVV/1-4 12674230 9.414 ns/op 6798.51 MB/s BenchmarkAddVV/2-4 10764337 11.11 ns/op 11521.23 MB/s BenchmarkAddVV/3-4 10000174 11.99 ns/op 16009.01 MB/s BenchmarkAddVV/4-4 10804220 11.04 ns/op 23185.97 MB/s BenchmarkAddVV/5-4 9555854 12.49 ns/op 25618.69 MB/s BenchmarkAddVV/10-4 7894780 15.16 ns/op 42212.81 MB/s BenchmarkAddVV/100-4 1681638 71.38 ns/op 89661.36 MB/s BenchmarkAddVV/1000-4 199392 582.9 ns/op 109788.95 MB/s BenchmarkSubVV/1-4 12682635 9.452 ns/op 6771.31 MB/s BenchmarkSubVV/2-4 11484864 10.45 ns/op 12244.73 MB/s BenchmarkSubVV/3-4 9673018 12.34 ns/op 15556.52 MB/s BenchmarkSubVV/4-4 10703774 11.09 ns/op 23084.69 MB/s BenchmarkSubVV/5-4 9590419 12.50 ns/op 25601.94 MB/s BenchmarkSubVV/10-4 7887343 15.18 ns/op 42149.87 MB/s BenchmarkSubVV/100-4 1668777 71.13 ns/op 89975.24 MB/s BenchmarkSubVV/1000-4 203928 581.4 ns/op 110078.81 MB/s BenchmarkAddVW/1-4 13820866 8.647 ns/op 925.13 MB/s BenchmarkAddVW/2-4 12807339 9.378 ns/op 1706.09 MB/s BenchmarkAddVW/3-4 11131377 10.95 ns/op 2190.80 MB/s BenchmarkAddVW/4-4 11977610 9.932 ns/op 3222.04 MB/s BenchmarkAddVW/5-4 10965469 10.83 ns/op 3694.29 MB/s BenchmarkAddVW/10-4 9141801 13.04 ns/op 6133.60 MB/s BenchmarkAddVW/100-4 240996 445.5 ns/op 1795.64 MB/s BenchmarkAddVW/1000-4 35100 3390 ns/op 2359.64 MB/s BenchmarkAddVWext/1-4 14459364 8.300 ns/op 963.90 MB/s BenchmarkAddVWext/2-4 12916660 9.108 ns/op 1756.74 MB/s BenchmarkAddVWext/3-4 12473803 9.597 ns/op 2500.72 MB/s BenchmarkAddVWext/4-4 12039106 9.928 ns/op 3223.25 MB/s BenchmarkAddVWext/5-4 11047824 10.83 ns/op 3693.47 MB/s BenchmarkAddVWext/10-4 9092742 13.03 ns/op 6138.86 MB/s BenchmarkAddVWext/100-4 80763 1461 ns/op 547.46 MB/s BenchmarkAddVWext/1000-4 8392 14178 ns/op 564.26 MB/s BenchmarkSubVW/1-4 13755766 8.655 ns/op 924.33 MB/s BenchmarkSubVW/2-4 11916673 10.05 ns/op 1591.47 MB/s BenchmarkSubVW/3-4 10209900 11.65 ns/op 2060.52 MB/s BenchmarkSubVW/4-4 11972323 9.884 ns/op 3237.70 MB/s BenchmarkSubVW/5-4 11055056 10.76 ns/op 3716.74 MB/s BenchmarkSubVW/10-4 9051068 13.11 ns/op 6104.21 MB/s BenchmarkSubVW/100-4 258560 454.5 ns/op 1760.04 MB/s BenchmarkSubVW/1000-4 33648 3394 ns/op 2357.03 MB/s BenchmarkSubVWext/1-4 13814757 8.673 ns/op 922.45 MB/s BenchmarkSubVWext/2-4 13028865 9.055 ns/op 1766.91 MB/s BenchmarkSubVWext/3-4 11712068 10.21 ns/op 2350.27 MB/s BenchmarkSubVWext/4-4 11916296 9.930 ns/op 3222.47 MB/s BenchmarkSubVWext/5-4 10880602 10.81 ns/op 3701.92 MB/s BenchmarkSubVWext/10-4 9132988 13.15 ns/op 6084.45 MB/s BenchmarkSubVWext/100-4 80870 1461 ns/op 547.56 MB/s BenchmarkSubVWext/1000-4 8116 14221 ns/op 562.56 MB/s BenchmarkMulAddVWW/1-4 11717769 10.20 ns/op 6272.74 MB/s BenchmarkMulAddVWW/2-4 10715883 10.96 ns/op 11680.76 MB/s BenchmarkMulAddVWW/3-4 10295421 11.65 ns/op 16484.74 MB/s BenchmarkMulAddVWW/4-4 9558584 12.68 ns/op 20189.47 MB/s BenchmarkMulAddVWW/5-4 8550604 13.96 ns/op 22917.84 MB/s BenchmarkMulAddVWW/10-4 6569299 18.09 ns/op 35377.36 MB/s BenchmarkMulAddVWW/100-4 1000000 107.0 ns/op 59835.33 MB/s BenchmarkMulAddVWW/1000-4 127806 931.7 ns/op 68690.51 MB/s BenchmarkAddMulVVW/1-4 12019694 9.828 ns/op 6511.68 MB/s BenchmarkAddMulVVW/2-4 11223954 10.69 ns/op 11973.87 MB/s BenchmarkAddMulVVW/3-4 8917144 11.77 ns/op 16315.13 MB/s BenchmarkAddMulVVW/4-4 9244383 12.95 ns/op 19762.63 MB/s BenchmarkAddMulVVW/5-4 8430584 14.12 ns/op 22662.51 MB/s BenchmarkAddMulVVW/10-4 7090962 16.89 ns/op 37897.77 MB/s BenchmarkAddMulVVW/100-4 1482984 80.64 ns/op 79369.40 MB/s BenchmarkAddMulVVW/1000-4 165356 715.7 ns/op 89418.05 MB/s BenchmarkDivWVW/1-4 2647270 45.31 ns/op 1412.59 MB/s BenchmarkDivWVW/2-4 1254433 95.57 ns/op 1339.31 MB/s BenchmarkDivWVW/3-4 866652 124.3 ns/op 1544.85 MB/s BenchmarkDivWVW/4-4 777526 145.6 ns/op 1758.67 MB/s BenchmarkDivWVW/5-4 761275 151.2 ns/op 2116.61 MB/s BenchmarkDivWVW/10-4 418122 282.4 ns/op 2266.16 MB/s BenchmarkDivWVW/100-4 55436 2167 ns/op 2953.90 MB/s BenchmarkDivWVW/1000-4 5517 21002 ns/op 3047.37 MB/s BenchmarkNonZeroShifts/1/shrVU-4 11574576 10.36 ns/op BenchmarkNonZeroShifts/1/shlVU-4 11794228 10.10 ns/op BenchmarkNonZeroShifts/2/shrVU-4 10650349 11.23 ns/op BenchmarkNonZeroShifts/2/shlVU-4 10847564 11.11 ns/op BenchmarkNonZeroShifts/3/shrVU-4 9665061 12.30 ns/op BenchmarkNonZeroShifts/3/shlVU-4 9985953 11.88 ns/op BenchmarkNonZeroShifts/4/shrVU-4 9000033 13.40 ns/op BenchmarkNonZeroShifts/4/shlVU-4 9540464 12.61 ns/op BenchmarkNonZeroShifts/5/shrVU-4 8295979 14.33 ns/op BenchmarkNonZeroShifts/5/shlVU-4 8939428 13.31 ns/op BenchmarkNonZeroShifts/10/shrVU-4 6321937 18.95 ns/op BenchmarkNonZeroShifts/10/shlVU-4 6968814 17.06 ns/op BenchmarkNonZeroShifts/100/shrVU-4 1000000 112.6 ns/op BenchmarkNonZeroShifts/100/shlVU-4 1262115 94.92 ns/op BenchmarkNonZeroShifts/1000/shrVU-4 127341 932.2 ns/op BenchmarkNonZeroShifts/1000/shlVU-4 154630 776.2 ns/op BenchmarkDecimalConversion-4 202 551649 ns/op BenchmarkFloatString/100-4 10000 10257 ns/op 392 B/op 8 allocs/op BenchmarkFloatString/1000-4 220 534066 ns/op 2911 B/op 10 allocs/op BenchmarkFloatString/10000-4 3 49352838 ns/op 61677 B/op 56 allocs/op BenchmarkFloatString/100000-4 1 4908017140 ns/op 840168 B/op 520 allocs/op BenchmarkFloatAdd/10-4 170998 687.3 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100-4 167148 705.8 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/1000-4 151594 772.4 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/10000-4 85414 1412 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100000-4 17282 6926 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10-4 221842 525.5 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100-4 230132 509.6 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/1000-4 222100 533.9 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10000-4 157520 751.0 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100000-4 45302 2637 ns/op 0 B/op 0 allocs/op BenchmarkParseFloatSmallExp-4 1963 59377 ns/op BenchmarkParseFloatLargeExp-4 435 255874 ns/op BenchmarkGCD10x10/WithoutXY-4 202515 594.2 ns/op BenchmarkGCD10x10/WithXY-4 59160 1975 ns/op BenchmarkGCD10x100/WithoutXY-4 97556 1171 ns/op BenchmarkGCD10x100/WithXY-4 16712 7274 ns/op BenchmarkGCD10x1000/WithoutXY-4 60708 1805 ns/op BenchmarkGCD10x1000/WithXY-4 14125 8620 ns/op BenchmarkGCD100x100/WithoutXY-4 24466 4721 ns/op BenchmarkGCD100x100/WithXY-4 10564 11533 ns/op BenchmarkGCD100x1000/WithoutXY-4 12187 10041 ns/op BenchmarkGCD100x1000/WithXY-4 5952 19745 ns/op BenchmarkGCD1000x1000/WithoutXY-4 2214 54130 ns/op BenchmarkGCD1000x1000/WithXY-4 1194 97034 ns/op BenchmarkHilbert-4 22 4974070 ns/op BenchmarkBinomial-4 14773 8054 ns/op BenchmarkQuoRem-4 20578 6097 ns/op BenchmarkExp-4 15 7438228 ns/op BenchmarkExpMont/Odd-4 129 920028 ns/op 2590 B/op 22 allocs/op BenchmarkExpMont/Even1-4 128 932756 ns/op 3370 B/op 38 allocs/op BenchmarkExpMont/Even2-4 124 958902 ns/op 3862 B/op 53 allocs/op BenchmarkExpMont/Even3-4 123 958038 ns/op 3827 B/op 52 allocs/op BenchmarkExpMont/Even4-4 122 962450 ns/op 3858 B/op 53 allocs/op BenchmarkExpMont/Even8-4 123 973296 ns/op 3871 B/op 54 allocs/op BenchmarkExpMont/Even32-4 123 966901 ns/op 3828 B/op 52 allocs/op BenchmarkExpMont/Even64-4 148 800599 ns/op 3660 B/op 54 allocs/op BenchmarkExpMont/Even96-4 142 834550 ns/op 3758 B/op 51 allocs/op BenchmarkExpMont/Even128-4 164 723651 ns/op 3282 B/op 51 allocs/op BenchmarkExpMont/Even255-4 186 631830 ns/op 2938 B/op 47 allocs/op BenchmarkExpMont/SmallEven1-4 454 266753 ns/op 1312 B/op 34 allocs/op BenchmarkExpMont/SmallEven2-4 393 306670 ns/op 1726 B/op 46 allocs/op BenchmarkExpMont/SmallEven3-4 393 306742 ns/op 1738 B/op 47 allocs/op BenchmarkExpMont/SmallEven4-4 378 301666 ns/op 1744 B/op 47 allocs/op BenchmarkExp2-4 14 7510665 ns/op BenchmarkBitset-4 797018 141.4 ns/op BenchmarkBitsetNeg-4 444157 261.3 ns/op BenchmarkBitsetOrig-4 238626 490.0 ns/op BenchmarkBitsetNegOrig-4 144070 754.3 ns/op BenchmarkModSqrt225_Tonelli-4 100 1017763 ns/op BenchmarkModSqrt225_3Mod4-4 381 310333 ns/op BenchmarkModSqrt231_Tonelli-4 100 1046483 ns/op BenchmarkModSqrt231_5Mod8-4 322 363661 ns/op BenchmarkModInverse-4 12284 9891 ns/op BenchmarkSqrt-4 1516 73741 ns/op BenchmarkIntSqr/1-4 1465372 80.84 ns/op BenchmarkIntSqr/2-4 759958 151.0 ns/op BenchmarkIntSqr/3-4 642325 177.9 ns/op BenchmarkIntSqr/5-4 433083 268.4 ns/op BenchmarkIntSqr/8-4 323511 365.8 ns/op BenchmarkIntSqr/10-4 256678 459.1 ns/op BenchmarkIntSqr/20-4 48072 2581 ns/op BenchmarkIntSqr/30-4 35281 3495 ns/op BenchmarkIntSqr/50-4 21728 5532 ns/op BenchmarkIntSqr/80-4 13075 9077 ns/op BenchmarkIntSqr/100-4 9240 12027 ns/op BenchmarkIntSqr/200-4 3793 30685 ns/op BenchmarkIntSqr/300-4 1489 72562 ns/op BenchmarkIntSqr/500-4 794 156449 ns/op BenchmarkIntSqr/800-4 297 399588 ns/op BenchmarkIntSqr/1000-4 219 535498 ns/op BenchmarkDiv/20/10-4 429062 271.4 ns/op BenchmarkDiv/40/20-4 431353 271.4 ns/op BenchmarkDiv/100/50-4 368203 317.5 ns/op BenchmarkDiv/200/100-4 48110 2557 ns/op BenchmarkDiv/400/200-4 46586 2639 ns/op BenchmarkDiv/1000/500-4 38211 3271 ns/op BenchmarkDiv/2000/1000-4 29056 4325 ns/op BenchmarkDiv/20000/10000-4 1015 112424 ns/op BenchmarkDiv/200000/100000-4 26 4717214 ns/op BenchmarkDiv/2000000/1000000-4 1 127284295 ns/op BenchmarkDiv/20000000/10000000-4 1 3691739536 ns/op BenchmarkMul-4 5 23125836 ns/op BenchmarkNatMul/10-4 180573 672.5 ns/op BenchmarkNatMul/100-4 5773 21467 ns/op BenchmarkNatMul/1000-4 172 671992 ns/op BenchmarkZeroShifts/Shl-4 16105 7511 ns/op BenchmarkZeroShifts/ShlSame-4 5106057 22.60 ns/op BenchmarkZeroShifts/Shr-4 16018 8466 ns/op BenchmarkZeroShifts/ShrSame-4 5343799 22.25 ns/op BenchmarkExp3Power/0x10-4 173188 630.1 ns/op BenchmarkExp3Power/0x40-4 161702 758.1 ns/op BenchmarkExp3Power/0x100-4 90481 1209 ns/op BenchmarkExp3Power/0x400-4 42266 2637 ns/op BenchmarkExp3Power/0x1000-4 8163 12786 ns/op BenchmarkExp3Power/0x4000-4 1881 62837 ns/op BenchmarkExp3Power/0x10000-4 202 574764 ns/op BenchmarkExp3Power/0x40000-4 18 6676269 ns/op BenchmarkExp3Power/0x100000-4 2 61456957 ns/op BenchmarkExp3Power/0x400000-4 1 561078952 ns/op BenchmarkFibo-4 3 39130096 ns/op BenchmarkNatSqr/1-4 869313 125.4 ns/op BenchmarkNatSqr/2-4 577778 232.2 ns/op BenchmarkNatSqr/3-4 395503 265.7 ns/op BenchmarkNatSqr/5-4 313852 386.7 ns/op BenchmarkNatSqr/8-4 201571 549.5 ns/op BenchmarkNatSqr/10-4 155107 683.6 ns/op BenchmarkNatSqr/20-4 41980 2741 ns/op BenchmarkNatSqr/30-4 30894 3672 ns/op BenchmarkNatSqr/50-4 19377 6051 ns/op BenchmarkNatSqr/80-4 12072 9926 ns/op BenchmarkNatSqr/100-4 8230 13111 ns/op BenchmarkNatSqr/200-4 3523 34275 ns/op BenchmarkNatSqr/300-4 1342 79812 ns/op BenchmarkNatSqr/500-4 686 156522 ns/op BenchmarkNatSqr/800-4 307 380724 ns/op BenchmarkNatSqr/1000-4 224 499871 ns/op BenchmarkNatSetBytes/8-4 691837 169.8 ns/op BenchmarkNatSetBytes/24-4 198374 579.7 ns/op BenchmarkNatSetBytes/128-4 45081 2519 ns/op BenchmarkNatSetBytes/7-4 752661 151.4 ns/op BenchmarkNatSetBytes/23-4 205616 561.2 ns/op BenchmarkNatSetBytes/127-4 45630 2499 ns/op BenchmarkScanPi-4 246 470408 ns/op BenchmarkStringPiParallel-4 696 187068 ns/op BenchmarkScan/10/Base2-4 41598 2852 ns/op BenchmarkScan/100/Base2-4 4232 24892 ns/op BenchmarkScan/1000/Base2-4 489 244810 ns/op BenchmarkScan/10/Base8-4 99036 1190 ns/op BenchmarkScan/100/Base8-4 13586 8741 ns/op BenchmarkScan/1000/Base8-4 1365 84889 ns/op BenchmarkScan/10/Base10-4 107278 1098 ns/op BenchmarkScan/100/Base10-4 14860 8005 ns/op BenchmarkScan/1000/Base10-4 1472 77171 ns/op BenchmarkScan/10/Base16-4 114332 1017 ns/op BenchmarkScan/100/Base16-4 16532 7203 ns/op BenchmarkScan/1000/Base16-4 1668 69273 ns/op BenchmarkString/10/Base2-4 166498 689.4 ns/op BenchmarkString/100/Base2-4 23377 5051 ns/op BenchmarkString/1000/Base2-4 2523 47603 ns/op BenchmarkString/10/Base8-4 328462 349.5 ns/op BenchmarkString/100/Base8-4 63349 1863 ns/op BenchmarkString/1000/Base8-4 7224 17027 ns/op BenchmarkString/10/Base10-4 192632 588.9 ns/op BenchmarkString/100/Base10-4 37773 3080 ns/op BenchmarkString/1000/Base10-4 4074 24934 ns/op BenchmarkString/10/Base16-4 359523 312.9 ns/op BenchmarkString/100/Base16-4 81354 1434 ns/op BenchmarkString/1000/Base16-4 9294 12437 ns/op BenchmarkLeafSize/0-4 42 2733788 ns/op BenchmarkLeafSize/1-4 386 290173 ns/op BenchmarkLeafSize/2-4 388 292026 ns/op BenchmarkLeafSize/3-4 288 393313 ns/op BenchmarkLeafSize/4-4 402 287426 ns/op BenchmarkLeafSize/5-4 258 451167 ns/op BenchmarkLeafSize/6-4 294 395125 ns/op BenchmarkLeafSize/7-4 308 368488 ns/op BenchmarkLeafSize/8-4 405 281938 ns/op BenchmarkLeafSize/9-4 208 533388 ns/op BenchmarkLeafSize/10-4 260 447957 ns/op BenchmarkLeafSize/11-4 270 434470 ns/op BenchmarkLeafSize/12-4 292 390978 ns/op BenchmarkLeafSize/13-4 254 427194 ns/op BenchmarkLeafSize/14-4 297 367259 ns/op BenchmarkLeafSize/15-4 332 347901 ns/op BenchmarkLeafSize/16-4 403 280821 ns/op BenchmarkLeafSize/32-4 400 294057 ns/op BenchmarkLeafSize/64-4 372 304027 ns/op BenchmarkProbablyPrime/n=0-4 9 11977429 ns/op BenchmarkProbablyPrime/n=1-4 8 13488020 ns/op BenchmarkProbablyPrime/n=5-4 6 19333574 ns/op BenchmarkProbablyPrime/n=10-4 4 26613522 ns/op BenchmarkProbablyPrime/n=20-4 3 41371269 ns/op BenchmarkProbablyPrime/Lucas-4 10 10412187 ns/op BenchmarkProbablyPrime/MillerRabinBase2-4 76 1524475 ns/op BenchmarkRatCmp-4 211286 532.2 ns/op BenchmarkFloatSqrt/64-4 22238 5246 ns/op 208 B/op 5 allocs/op BenchmarkFloatSqrt/128-4 14275 8314 ns/op 256 B/op 5 allocs/op BenchmarkFloatSqrt/256-4 9450 11927 ns/op 352 B/op 5 allocs/op BenchmarkFloatSqrt/1000-4 4678 24075 ns/op 1312 B/op 6 allocs/op BenchmarkFloatSqrt/10000-4 766 145564 ns/op 18076 B/op 9 allocs/op BenchmarkFloatSqrt/100000-4 61 1917667 ns/op 174965 B/op 20 allocs/op BenchmarkFloatSqrt/1000000-4 1 150685279 ns/op 3749616 B/op 594 allocs/op PASS ok math/big 51.294s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: math/bits cpu: AMD EPYC 7B12 BenchmarkLeadingZeros-4 12560881 9.406 ns/op BenchmarkLeadingZeros8-4 10333798 12.16 ns/op BenchmarkLeadingZeros16-4 11942175 9.964 ns/op BenchmarkLeadingZeros32-4 12789646 9.266 ns/op BenchmarkLeadingZeros64-4 11918287 10.09 ns/op BenchmarkTrailingZeros-4 12993764 11.20 ns/op BenchmarkTrailingZeros8-4 11039599 11.45 ns/op BenchmarkTrailingZeros16-4 11977830 9.963 ns/op BenchmarkTrailingZeros32-4 9895128 10.86 ns/op BenchmarkTrailingZeros64-4 13032133 9.159 ns/op BenchmarkOnesCount-4 12891661 9.231 ns/op BenchmarkOnesCount8-4 12932050 9.342 ns/op BenchmarkOnesCount16-4 13123474 9.339 ns/op BenchmarkOnesCount32-4 13074345 9.118 ns/op BenchmarkOnesCount64-4 13091233 9.462 ns/op BenchmarkRotateLeft-4 9807127 12.47 ns/op BenchmarkRotateLeft8-4 13019209 9.140 ns/op BenchmarkRotateLeft16-4 11711671 12.82 ns/op BenchmarkRotateLeft32-4 13099191 9.135 ns/op BenchmarkRotateLeft64-4 13018503 9.146 ns/op BenchmarkReverse-4 21092856 5.301 ns/op BenchmarkReverse8-4 24070670 4.688 ns/op BenchmarkReverse16-4 22891327 4.678 ns/op BenchmarkReverse32-4 23927557 4.988 ns/op BenchmarkReverse64-4 21184645 5.296 ns/op BenchmarkReverseBytes-4 24065312 4.684 ns/op BenchmarkReverseBytes16-4 23537902 4.671 ns/op BenchmarkReverseBytes32-4 23706793 4.691 ns/op BenchmarkReverseBytes64-4 25523034 4.680 ns/op BenchmarkAdd-4 13085408 9.161 ns/op BenchmarkAdd32-4 12103608 10.89 ns/op BenchmarkAdd64-4 13153826 10.04 ns/op BenchmarkAdd64multiple-4 23845860 4.991 ns/op BenchmarkSub-4 13122771 9.163 ns/op BenchmarkSub32-4 9918937 11.32 ns/op BenchmarkSub64-4 11862279 9.160 ns/op BenchmarkSub64multiple-4 23709792 5.108 ns/op BenchmarkMul-4 11958945 9.436 ns/op BenchmarkMul32-4 13186928 9.344 ns/op BenchmarkMul64-4 13142647 10.08 ns/op BenchmarkDiv-4 13091218 9.161 ns/op BenchmarkDiv32-4 12734811 9.193 ns/op BenchmarkDiv64-4 12639816 9.162 ns/op PASS ok math/bits 7.037s goos: linux goarch: amd64 pkg: math/cmplx cpu: AMD EPYC 7B12 BenchmarkAbs-4 13638085 8.728 ns/op BenchmarkAcos-4 669210 160.3 ns/op BenchmarkAcosh-4 674187 171.5 ns/op BenchmarkAsin-4 684578 160.7 ns/op BenchmarkAsinh-4 714723 164.7 ns/op BenchmarkAtan-4 1206511 98.59 ns/op BenchmarkAtanh-4 1205002 97.97 ns/op BenchmarkConj-4 21747876 5.304 ns/op BenchmarkCos-4 773918 146.7 ns/op BenchmarkCosh-4 748101 146.2 ns/op BenchmarkExp-4 928260 116.5 ns/op BenchmarkLog-4 1508088 79.29 ns/op BenchmarkLog10-4 1494500 80.06 ns/op BenchmarkPhase-4 3214704 38.21 ns/op BenchmarkPolar-4 2290827 50.62 ns/op BenchmarkPow-4 327248 369.3 ns/op BenchmarkRect-4 1420059 97.47 ns/op BenchmarkSin-4 815671 146.5 ns/op BenchmarkSinh-4 778365 148.6 ns/op BenchmarkSqrt-4 1540488 77.78 ns/op BenchmarkTan-4 534782 222.9 ns/op BenchmarkTanh-4 540859 213.5 ns/op PASS ok math/cmplx 4.294s goos: linux goarch: amd64 pkg: math/rand cpu: AMD EPYC 7B12 BenchmarkInt63Threadsafe-4 963793 106.2 ns/op BenchmarkInt63ThreadsafeParallel-4 1283402 112.5 ns/op BenchmarkInt63Unthreadsafe-4 1548590 77.67 ns/op BenchmarkIntn1000-4 1000000 104.0 ns/op BenchmarkInt63n1000-4 1330905 90.40 ns/op BenchmarkInt31n1000-4 1231066 97.50 ns/op BenchmarkFloat32-4 1264149 91.53 ns/op BenchmarkFloat64-4 1422652 77.70 ns/op BenchmarkPerm3-4 282847 431.9 ns/op BenchmarkPerm30-4 31628 3729 ns/op BenchmarkPerm30ViaShuffle-4 31034 3782 ns/op BenchmarkShuffleOverhead-4 22453 5343 ns/op BenchmarkRead3-4 1000000 101.2 ns/op BenchmarkRead64-4 104389 1135 ns/op BenchmarkRead1000-4 6523 17158 ns/op BenchmarkConcurrent-4 271219 521.8 ns/op PASS ok math/rand 3.621s goos: linux goarch: amd64 pkg: mime cpu: AMD EPYC 7B12 BenchmarkQEncodeWord-4 60975 1969 ns/op BenchmarkQDecodeWord-4 146877 778.3 ns/op BenchmarkQDecodeHeader-4 141384 847.1 ns/op BenchmarkTypeByExtension/.html-4 498414 203.6 ns/op BenchmarkTypeByExtension/.HTML-4 419059 264.8 ns/op BenchmarkTypeByExtension/.unused-4 497314 222.5 ns/op BenchmarkExtensionsByType/text/html-4 215361 528.5 ns/op BenchmarkExtensionsByType/text/html;_charset=utf-8-4 83625 1200 ns/op BenchmarkExtensionsByType/application/octet-stream-4 134374 772.2 ns/op PASS ok mime 2.373s goos: linux goarch: amd64 pkg: mime/multipart cpu: AMD EPYC 7B12 BenchmarkReadForm/fields/maxMemory=0-4 879 125898 ns/op 48097 B/op 187 allocs/op BenchmarkReadForm/fields/maxMemory=1048576-4 975 118625 ns/op 47507 B/op 186 allocs/op BenchmarkReadForm/files/maxMemory=0-4 414 297098 ns/op 103975 B/op 271 allocs/op BenchmarkReadForm/files/maxMemory=1048576-4 775 155806 ns/op 49336 B/op 207 allocs/op PASS ok mime/multipart 1.568s goos: linux goarch: amd64 pkg: mime/quotedprintable cpu: AMD EPYC 7B12 BenchmarkWriter-4 1406 82575 ns/op PASS ok mime/quotedprintable 1.137s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: net cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkGoLookupIP-4 26 4024921 ns/op 8708 B/op 91 allocs/op BenchmarkGoLookupIPNoSuchHost-4 20 5729021 ns/op 19424 B/op 160 allocs/op BenchmarkGoLookupIPWithBrokenNameServer-4 1 5017424695 ns/op 158752 B/op 230 allocs/op BenchmarkDNSName-4 106785 978.6 ns/op BenchmarkInterfaces-4 1222 88901 ns/op 16806 B/op 42 allocs/op BenchmarkInterfaceByIndex-4 1638 68861 ns/op 12309 B/op 25 allocs/op BenchmarkInterfaceByName-4 1209 86074 ns/op 16969 B/op 43 allocs/op BenchmarkInterfaceAddrs-4 814 139300 ns/op 22670 B/op 102 allocs/op BenchmarkInterfacesAndAddrs-4 2702 40947 ns/op 3995 B/op 33 allocs/op BenchmarkInterfacesAndMulticastAddrs-4 434 241553 ns/op 137583 B/op 51 allocs/op BenchmarkParseIP-4 6520 19102 ns/op BenchmarkParseIPValidIPv4-4 330087 351.3 ns/op BenchmarkParseIPValidIPv6-4 165874 705.6 ns/op BenchmarkIPString/IPv4-4 115050 1040 ns/op 32 B/op 2 allocs/op BenchmarkIPString/IPv6-4 9501 12011 ns/op 216 B/op 11 allocs/op BenchmarkIPMaskString-4 43920 2716 ns/op BenchmarkIPEqual/IPv4-4 1092063 112.6 ns/op BenchmarkIPEqual/IPv6-4 1097404 110.5 ns/op BenchmarkSendFile/1024-4 1 1208738021 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/2048-4 1 1206289120 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/4096-4 1 1206225759 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/8192-4 1 1206669337 ns/op 0.01 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/16384-4 1 1205816916 ns/op 0.01 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/32768-4 1 1017290144 ns/op 0.03 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/65536-4 1 1016717859 ns/op 0.06 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/131072-4 1 1018157113 ns/op 0.13 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/262144-4 1 1018944410 ns/op 0.26 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/524288-4 1 1017797471 ns/op 0.52 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/1048576-4 1 1020568515 ns/op 1.03 MB/s 520 B/op 11 allocs/op BenchmarkSplice/tcp-to-tcp/1024-4 1 1016580420 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/2048-4 1 1016533650 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/4096-4 1 1016175865 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/8192-4 1 1016457627 ns/op 0.01 MB/s BenchmarkSplice/tcp-to-tcp/16384-4 1 1017219157 ns/op 0.02 MB/s BenchmarkSplice/tcp-to-tcp/32768-4 1 1016556137 ns/op 0.03 MB/s BenchmarkSplice/tcp-to-tcp/65536-4 1 1016345577 ns/op 0.06 MB/s BenchmarkSplice/tcp-to-tcp/131072-4 1 1016600583 ns/op 0.13 MB/s BenchmarkSplice/tcp-to-tcp/262144-4 1 1017603615 ns/op 0.26 MB/s BenchmarkSplice/tcp-to-tcp/524288-4 1 1019472753 ns/op 0.51 MB/s BenchmarkSplice/tcp-to-tcp/1048576-4 1 1021383631 ns/op 1.03 MB/s BenchmarkSplice/unix-to-tcp/1024-4 1 1016880653 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/2048-4 1 1017349202 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/4096-4 1 1016563035 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/8192-4 1 1016935264 ns/op 0.01 MB/s BenchmarkSplice/unix-to-tcp/16384-4 1 1016066791 ns/op 0.02 MB/s BenchmarkSplice/unix-to-tcp/32768-4 1 1016581175 ns/op 0.03 MB/s BenchmarkSplice/unix-to-tcp/65536-4 1 1017542748 ns/op 0.06 MB/s BenchmarkSplice/unix-to-tcp/131072-4 1 1016650418 ns/op 0.13 MB/s BenchmarkSplice/unix-to-tcp/262144-4 1 1017394633 ns/op 0.26 MB/s BenchmarkSplice/unix-to-tcp/524288-4 1 1018027035 ns/op 0.52 MB/s BenchmarkSplice/unix-to-tcp/1048576-4 1 1019788291 ns/op 1.03 MB/s BenchmarkSpliceFile/tcp-to-file/1024-4 1 1016656972 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/2048-4 1 1016194901 ns/op 0.00 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/tcp-to-file/4096-4 1 1016885524 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/8192-4 1 1016445040 ns/op 0.01 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/16384-4 1 1016589348 ns/op 0.02 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/32768-4 1 1016521746 ns/op 0.03 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/65536-4 1 1016313159 ns/op 0.06 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/131072-4 1 1016837343 ns/op 0.13 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/tcp-to-file/262144-4 1 1017191742 ns/op 0.26 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/524288-4 1 1018313936 ns/op 0.51 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/1048576-4 1 1020382331 ns/op 1.03 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/1024-4 1 1015956352 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/2048-4 1 1015970905 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/4096-4 1 1016011355 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/8192-4 1 1016601818 ns/op 0.01 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/16384-4 1 1016451607 ns/op 0.02 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/32768-4 1 1015976314 ns/op 0.03 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/65536-4 1 1016208235 ns/op 0.06 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/131072-4 1 1016420975 ns/op 0.13 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/262144-4 1 1017132924 ns/op 0.26 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/524288-4 1 1017839096 ns/op 0.52 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/1048576-4 1 1019714000 ns/op 1.03 MB/s 896 B/op 8 allocs/op BenchmarkTCP4OneShot-4 2140 51557 ns/op BenchmarkTCP4OneShotTimeout-4 1941 61161 ns/op BenchmarkTCP4Persistent-4 11844 10469 ns/op BenchmarkTCP4PersistentTimeout-4 10563 10170 ns/op BenchmarkTCP6OneShot-4 2005 58324 ns/op BenchmarkTCP6OneShotTimeout-4 2212 55631 ns/op BenchmarkTCP6Persistent-4 12468 10335 ns/op BenchmarkTCP6PersistentTimeout-4 11334 9087 ns/op BenchmarkTCP4ConcurrentReadWrite-4 22000 5548 ns/op BenchmarkTCP6ConcurrentReadWrite-4 24298 5971 ns/op BenchmarkSetReadDeadline-4 123536 940.5 ns/op BenchmarkReadWriteMsgUDPAddrPort-4 8853 12940 ns/op 0 B/op 0 allocs/op BenchmarkWriteToReadFromUDP-4 6661 18312 ns/op 16 B/op 1 allocs/op BenchmarkWriteToReadFromUDPAddrPort-4 9214 13553 ns/op 0 B/op 0 allocs/op PASS ok net 68.227s goos: linux goarch: amd64 pkg: net/http cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCookieString-4 29565 3923 ns/op 176 B/op 1 allocs/op BenchmarkReadSetCookies-4 11019 10364 ns/op 1168 B/op 21 allocs/op BenchmarkReadCookies-4 14390 8214 ns/op 1840 B/op 11 allocs/op BenchmarkHeaderWriteSubset-4 18313 6569 ns/op 46 B/op 0 allocs/op BenchmarkCopyValues-4 33058 3439 ns/op 736 B/op 11 allocs/op BenchmarkHexEscapeNonASCII-4 49332 2355 ns/op 192 B/op 2 allocs/op BenchmarkServerMatch-4 917950 128.4 ns/op BenchmarkReadRequestChrome-4 3474 32111 ns/op 19.03 MB/s 1476 B/op 14 allocs/op BenchmarkReadRequestCurl-4 10675 11272 ns/op 6.92 MB/s 924 B/op 9 allocs/op BenchmarkReadRequestApachebench-4 10797 10963 ns/op 7.48 MB/s 924 B/op 9 allocs/op BenchmarkReadRequestSiege-4 7095 16294 ns/op 9.27 MB/s 1020 B/op 11 allocs/op BenchmarkReadRequestWrk-4 16510 6991 ns/op 5.72 MB/s 860 B/op 7 allocs/op BenchmarkFileAndServer_1KB/h1-4 300 366167 ns/op 2.80 MB/s BenchmarkFileAndServer_1KB/https1-4 212 517888 ns/op 1.98 MB/s BenchmarkFileAndServer_1KB/h2-4 134 781032 ns/op 1.31 MB/s BenchmarkFileAndServer_16MB/h1-4 2 51122054 ns/op 328.18 MB/s BenchmarkFileAndServer_16MB/https1-4 1 125038249 ns/op 134.18 MB/s BenchmarkFileAndServer_16MB/h2-4 1 233190179 ns/op 71.95 MB/s BenchmarkFileAndServer_64MB/h1-4 1 195810993 ns/op 342.72 MB/s BenchmarkFileAndServer_64MB/https1-4 1 452903822 ns/op 148.17 MB/s BenchmarkFileAndServer_64MB/h2-4 1 928376489 ns/op 72.29 MB/s BenchmarkServeMux-4 258 472757 ns/op 17280 B/op 360 allocs/op BenchmarkServeMux_SkipServe-4 336 371983 ns/op 0 B/op 0 allocs/op BenchmarkClientServer/h1-4 333 323478 ns/op 5860 B/op 64 allocs/op BenchmarkClientServer/https1-4 211 495801 ns/op 6662 B/op 75 allocs/op BenchmarkClientServer/h2-4 164 645030 ns/op 10487 B/op 83 allocs/op BenchmarkClientServerParallel/4/h1-4 927 120136 ns/op 10380 B/op 80 allocs/op BenchmarkClientServerParallel/4/https1-4 27 4331070 ns/op 89770 B/op 968 allocs/op --- BENCH: BenchmarkClientServerParallel/4/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:36350: read tcp 127.0.0.1:46569->127.0.0.1:36350: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:36368: read tcp 127.0.0.1:46569->127.0.0.1:36368: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:36378: write tcp 127.0.0.1:46569->127.0.0.1:36378: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54434: read tcp 127.0.0.1:39023->127.0.0.1:54434: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54454: read tcp 127.0.0.1:39023->127.0.0.1:54454: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54462: read tcp 127.0.0.1:39023->127.0.0.1:54462: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54486: read tcp 127.0.0.1:39023->127.0.0.1:54486: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54450: write tcp 127.0.0.1:39023->127.0.0.1:54450: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54470: write tcp 127.0.0.1:39023->127.0.0.1:54470: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54428: write tcp 127.0.0.1:39023->127.0.0.1:54428: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/4/h2-4 103 979817 ns/op 24147 B/op 257 allocs/op --- BENCH: BenchmarkClientServerParallel/4/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:36208: read tcp 127.0.0.1:37351->127.0.0.1:36208: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:40826: read tcp 127.0.0.1:40465->127.0.0.1:40826: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:40810: write tcp 127.0.0.1:40465->127.0.0.1:40810: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:40838: write tcp 127.0.0.1:40465->127.0.0.1:40838: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49644: write tcp 127.0.0.1:46215->127.0.0.1:49644: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49698: read tcp 127.0.0.1:46215->127.0.0.1:49698: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49720: read tcp 127.0.0.1:46215->127.0.0.1:49720: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49730: read tcp 127.0.0.1:46215->127.0.0.1:49730: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49740: read tcp 127.0.0.1:46215->127.0.0.1:49740: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49658: write tcp 127.0.0.1:46215->127.0.0.1:49658: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h1-4 690 173623 ns/op 18157 B/op 110 allocs/op BenchmarkClientServerParallel/64/https1-4 22 5684361 ns/op 107359 B/op 1152 allocs/op --- BENCH: BenchmarkClientServerParallel/64/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:34460: read tcp 127.0.0.1:43303->127.0.0.1:34460: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:34426: read tcp 127.0.0.1:43303->127.0.0.1:34426: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:34464: read tcp 127.0.0.1:43303->127.0.0.1:34464: use of closed network connection BenchmarkClientServerParallel/64/h2-4 50 3967970 ns/op 76978 B/op 885 allocs/op --- BENCH: BenchmarkClientServerParallel/64/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:53402: write tcp 127.0.0.1:41525->127.0.0.1:53402: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:53430: write tcp 127.0.0.1:41525->127.0.0.1:53430: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:53878: read tcp 127.0.0.1:38855->127.0.0.1:53878: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:53882: read tcp 127.0.0.1:38855->127.0.0.1:53882: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:53816: read tcp 127.0.0.1:38855->127.0.0.1:53816: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:53936: read tcp 127.0.0.1:38855->127.0.0.1:53936: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:53912: read tcp 127.0.0.1:38855->127.0.0.1:53912: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:53862: read tcp 127.0.0.1:38855->127.0.0.1:53862: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:53922: read tcp 127.0.0.1:38855->127.0.0.1:53922: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:53946: read tcp 127.0.0.1:38855->127.0.0.1:53946: use of closed network connection ... [output truncated] BenchmarkServer-4 1 1032935086 ns/op 28440 B/op 144 allocs/op BenchmarkClient-4 268 516675 ns/op 3746 B/op 45 allocs/op BenchmarkServerFakeConnNoKeepAlive-4 510 196603 ns/op 7401 B/op 54 allocs/op BenchmarkServerFakeConnWithKeepAlive-4 1021 120136 ns/op 3007 B/op 24 allocs/op BenchmarkServerFakeConnWithKeepAliveLite-4 1374 88756 ns/op 1895 B/op 14 allocs/op BenchmarkServerHandlerTypeLen-4 1344 97970 ns/op 2711 B/op 21 allocs/op BenchmarkServerHandlerNoLen-4 1394 91301 ns/op 2711 B/op 19 allocs/op BenchmarkServerHandlerNoType-4 1304 94244 ns/op 2726 B/op 20 allocs/op BenchmarkServerHandlerNoHeader-4 1448 80216 ns/op 1860 B/op 14 allocs/op BenchmarkServerHijack-4 834 133972 ns/op 16685 B/op 50 allocs/op BenchmarkCloseNotifier/h1-4 314 397803 ns/op 6076 B/op 52 allocs/op BenchmarkResponseStatusLine-4 506320 247.0 ns/op 0 B/op 0 allocs/op PASS ok net/http 15.495s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: net/http/httputil cpu: AMD EPYC 7B12 BenchmarkServeHTTP-4 8622 14359 ns/op 34072 B/op 12 allocs/op PASS ok net/http/httputil 1.210s goos: linux goarch: amd64 pkg: net/netip cpu: AMD EPYC 7B12 BenchmarkIPNextPrev-4 125478 961.3 ns/op BenchmarkBinaryMarshalRoundTrip/ipv4-4 757016 134.2 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6-4 295950 407.9 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6+zone-4 99802 1236 ns/op BenchmarkStdIPv4-4 159117 744.1 ns/op 16 B/op 1 allocs/op BenchmarkIPv4-4 132991 885.8 ns/op 0 B/op 0 allocs/op BenchmarkIPv4_inline-4 125978 912.2 ns/op 0 B/op 0 allocs/op BenchmarkStdIPv6-4 105622 1127 ns/op 16 B/op 1 allocs/op BenchmarkIPv6-4 103119 1179 ns/op 0 B/op 0 allocs/op BenchmarkIPv4Contains-4 2388067 50.17 ns/op 0 B/op 0 allocs/op BenchmarkIPv6Contains-4 2139811 55.92 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v4-4 1630923 73.42 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6-4 356148 332.9 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_ellipsis-4 393980 299.4 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_v4-4 373393 302.0 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_zone-4 122866 993.1 ns/op 0 B/op 0 allocs/op BenchmarkStdParseIP/v4-4 422594 275.1 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6-4 216547 547.1 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_ellipsis-4 226711 520.5 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_v4-4 203995 559.2 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_zone-4 111184 1075 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v4-4 528510 228.7 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v6-4 187197 640.7 ns/op 48 B/op 1 allocs/op BenchmarkIPString/v6_ellipsis-4 244330 479.0 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_v4-4 379923 316.1 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_zone-4 229713 525.3 ns/op 24 B/op 1 allocs/op BenchmarkIPStringExpanded/v4-4 478399 246.0 ns/op 16 B/op 1 allocs/op BenchmarkIPStringExpanded/v6-4 231532 522.3 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_ellipsis-4 222792 526.3 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_v4-4 208462 527.9 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_zone-4 166857 664.2 ns/op 128 B/op 2 allocs/op BenchmarkIPMarshalText-4 616351 162.6 ns/op 16 B/op 1 allocs/op BenchmarkAddrPortString/v4-4 234364 518.4 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortString/v6-4 137630 841.8 ns/op 112 B/op 3 allocs/op BenchmarkAddrPortString/v6_ellipsis-4 176636 656.8 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_v4-4 250646 478.8 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_zone-4 156726 742.5 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortMarshalText/v4-4 407889 285.1 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6-4 175694 656.2 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_ellipsis-4 210891 570.9 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_v4-4 303306 404.2 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_zone-4 202342 597.3 ns/op 64 B/op 1 allocs/op BenchmarkPrefixMasking/IPv4_/32-4 1538197 73.67 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/17-4 1505235 82.60 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/0-4 1476624 77.24 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/128-4 1393956 85.84 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/65-4 1370067 87.03 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/0-4 1355780 82.09 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/128-4 1479019 86.92 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/65-4 1469192 86.74 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/0-4 1396291 86.40 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMarshalText-4 548962 212.1 ns/op 24 B/op 1 allocs/op BenchmarkParseAddrPort/v4-4 860788 140.9 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6-4 297597 395.1 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_ellipsis-4 304921 368.5 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_v4-4 293852 392.2 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_zone-4 113137 1081 ns/op 0 B/op 0 allocs/op BenchmarkAs16-4 725403 170.9 ns/op PASS ok net/netip 9.235s 2023/05/24 23:48:46 Test RPC server listening on 127.0.0.1:42051 2023/05/24 23:48:46 Test HTTP RPC server listening on 127.0.0.1:41663 goos: linux goarch: amd64 pkg: net/rpc cpu: AMD EPYC 7B12 BenchmarkEndToEnd-4 1663 74475 ns/op BenchmarkEndToEndHTTP-4 1980 70306 ns/op BenchmarkEndToEndAsync-4 3220 31914 ns/op BenchmarkEndToEndAsyncHTTP-4 3628 32628 ns/op PASS ok net/rpc 1.813s goos: linux goarch: amd64 pkg: net/textproto cpu: AMD EPYC 7B12 BenchmarkReadMIMEHeader/client_headers-4 4903 22014 ns/op BenchmarkReadMIMEHeader/server_headers-4 8157 14798 ns/op BenchmarkUncommon-4 36235 3081 ns/op 464 B/op 5 allocs/op PASS ok net/textproto 1.492s goos: linux goarch: amd64 pkg: net/url cpu: AMD EPYC 7B12 BenchmarkString-4 6249 16504 ns/op 1616 B/op 60 allocs/op BenchmarkResolvePath-4 139240 851.2 ns/op 32 B/op 2 allocs/op BenchmarkQueryEscape/#00-4 847429 136.8 ns/op 16 B/op 1 allocs/op BenchmarkQueryEscape/#01-4 133695 883.4 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#02-4 246937 470.9 ns/op 32 B/op 1 allocs/op BenchmarkQueryEscape/#03-4 118519 1008 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#04-4 21056 5544 ns/op 832 B/op 2 allocs/op BenchmarkPathEscape/#00-4 569432 211.0 ns/op 16 B/op 1 allocs/op BenchmarkPathEscape/#01-4 129696 914.2 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#02-4 255590 471.2 ns/op 32 B/op 1 allocs/op BenchmarkPathEscape/#03-4 118827 1003 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#04-4 22594 5177 ns/op 704 B/op 2 allocs/op BenchmarkQueryUnescape/#00-4 280394 441.0 ns/op 16 B/op 1 allocs/op BenchmarkQueryUnescape/#01-4 110750 1085 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#02-4 105384 1126 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#03-4 47720 2552 ns/op 64 B/op 1 allocs/op BenchmarkQueryUnescape/#04-4 8413 14168 ns/op 320 B/op 1 allocs/op BenchmarkPathUnescape/#00-4 273987 445.3 ns/op 16 B/op 1 allocs/op BenchmarkPathUnescape/#01-4 112608 1084 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#02-4 102825 1164 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#03-4 47655 2522 ns/op 64 B/op 1 allocs/op BenchmarkPathUnescape/#04-4 7501 13871 ns/op 320 B/op 1 allocs/op PASS ok net/url 4.027s goos: linux goarch: amd64 pkg: os cpu: AMD EPYC 7B12 BenchmarkExpand/noop-4 4543958 26.32 ns/op 0 B/op 0 allocs/op BenchmarkExpand/multiple-4 254850 436.9 ns/op 48 B/op 2 allocs/op BenchmarkReaddirname-4 1170 98822 ns/op --- BENCH: BenchmarkReaddirname-4 os_test.go:512: benchmarkReaddirname ".": 129 entries os_test.go:512: benchmarkReaddirname ".": 129 entries os_test.go:512: benchmarkReaddirname ".": 129 entries BenchmarkReaddir-4 394 289984 ns/op --- BENCH: BenchmarkReaddir-4 os_test.go:529: benchmarkReaddir ".": 129 entries os_test.go:529: benchmarkReaddir ".": 129 entries os_test.go:529: benchmarkReaddir ".": 129 entries BenchmarkReadDir-4 921 130163 ns/op --- BENCH: BenchmarkReadDir-4 os_test.go:546: benchmarkReadDir ".": 129 entries os_test.go:546: benchmarkReadDir ".": 129 entries os_test.go:546: benchmarkReadDir ".": 129 entries BenchmarkStatDot-4 104316 1104 ns/op BenchmarkStatFile-4 82490 1412 ns/op BenchmarkStatDir-4 87002 1331 ns/op BenchmarkLstatDot-4 104718 1097 ns/op BenchmarkLstatFile-4 83695 1409 ns/op BenchmarkLstatDir-4 87097 1324 ns/op PASS ok os 2.486s goos: linux goarch: amd64 pkg: os/exec cpu: AMD EPYC 7B12 BenchmarkExecHostname-4 268 428074 ns/op 6755 B/op 30 allocs/op PASS ok os/exec 1.174s goos: linux goarch: amd64 pkg: os/user cpu: AMD EPYC 7B12 BenchmarkCurrent-4 681562 172.3 ns/op PASS ok os/user 1.231s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: reflect cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkBool-4 3494652 32.24 ns/op BenchmarkString-4 2308413 51.78 ns/op BenchmarkBytes-4 1934790 61.74 ns/op BenchmarkNamedBytes-4 1000000 106.0 ns/op BenchmarkBytesArray-4 730274 160.1 ns/op BenchmarkSliceLen-4 2262735 53.13 ns/op BenchmarkMapLen-4 827728 125.5 ns/op BenchmarkStringLen-4 1899020 61.56 ns/op BenchmarkArrayLen-4 1356391 88.39 ns/op BenchmarkSliceCap-4 2527520 46.98 ns/op BenchmarkDeepEqual/int8-4 463496 252.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int8-4 92965 1275 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int16-4 390514 289.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int16-4 89521 1321 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int32-4 399184 293.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int32-4 89314 1326 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int64-4 386193 298.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int64-4 89595 1330 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int-4 408312 292.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int-4 89462 1326 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint8-4 451069 251.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8-4 122270 966.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint16-4 401110 293.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint16-4 89698 1325 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint32-4 390493 298.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint32-4 88560 1317 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint64-4 383106 298.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint64-4 87248 1320 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint-4 393753 299.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint-4 89186 1329 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uintptr-4 400479 295.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uintptr-4 88158 1325 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float32-4 401190 299.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float32-4 88341 1333 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float64-4 394406 298.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float64-4 89198 1313 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex64-4 401986 292.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex64-4 88750 1312 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex128-4 403734 294.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex128-4 89966 1309 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/bool-4 472196 242.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]bool-4 92116 1277 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/string-4 411998 287.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]string-4 85207 1326 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8#01-4 122247 967.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][]uint8-4 58677 2011 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[6]uint8-4 46491 2652 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][6]uint8-4 32600 3678 ns/op 0 B/op 0 allocs/op BenchmarkIsZero/ArrayComparable-4 274972 433.8 ns/op BenchmarkIsZero/ArrayIncomparable-4 29925 4013 ns/op BenchmarkIsZero/StructComparable-4 550335 206.8 ns/op BenchmarkIsZero/StructIncomparable-4 135463 869.7 ns/op BenchmarkSetZero/Bool/Direct-4 4273848 27.83 ns/op BenchmarkSetZero/Bool/CachedZero-4 829197 136.5 ns/op BenchmarkSetZero/Bool/NewZero-4 646324 179.1 ns/op BenchmarkSetZero/Int/Direct-4 2535229 47.35 ns/op BenchmarkSetZero/Int/CachedZero-4 834282 138.1 ns/op BenchmarkSetZero/Int/NewZero-4 629238 179.7 ns/op BenchmarkSetZero/Uint/Direct-4 2528992 47.72 ns/op BenchmarkSetZero/Uint/CachedZero-4 837296 138.6 ns/op BenchmarkSetZero/Uint/NewZero-4 634704 181.3 ns/op BenchmarkSetZero/Float/Direct-4 2531306 48.14 ns/op BenchmarkSetZero/Float/CachedZero-4 823402 137.9 ns/op BenchmarkSetZero/Float/NewZero-4 644440 181.1 ns/op BenchmarkSetZero/Complex/Direct-4 2507112 47.69 ns/op BenchmarkSetZero/Complex/CachedZero-4 847245 139.0 ns/op BenchmarkSetZero/Complex/NewZero-4 646588 178.7 ns/op BenchmarkSetZero/Array/Direct-4 2233773 53.37 ns/op BenchmarkSetZero/Array/CachedZero-4 866725 138.1 ns/op BenchmarkSetZero/Array/NewZero-4 652960 179.8 ns/op BenchmarkSetZero/Chan/Direct-4 2515951 47.54 ns/op BenchmarkSetZero/Chan/CachedZero-4 833846 140.8 ns/op BenchmarkSetZero/Chan/NewZero-4 625536 178.6 ns/op BenchmarkSetZero/Func/Direct-4 2467768 47.62 ns/op BenchmarkSetZero/Func/CachedZero-4 826184 140.7 ns/op BenchmarkSetZero/Func/NewZero-4 630451 178.9 ns/op BenchmarkSetZero/Interface/Direct-4 2260317 53.09 ns/op BenchmarkSetZero/Interface/CachedZero-4 836892 138.0 ns/op BenchmarkSetZero/Interface/NewZero-4 659463 179.5 ns/op BenchmarkSetZero/Map/Direct-4 2520306 47.91 ns/op BenchmarkSetZero/Map/CachedZero-4 827422 139.6 ns/op BenchmarkSetZero/Map/NewZero-4 641713 180.9 ns/op BenchmarkSetZero/Pointer/Direct-4 2453733 48.53 ns/op BenchmarkSetZero/Pointer/CachedZero-4 836563 140.0 ns/op BenchmarkSetZero/Pointer/NewZero-4 658861 181.6 ns/op BenchmarkSetZero/Slice/Direct-4 2191137 54.50 ns/op BenchmarkSetZero/Slice/CachedZero-4 820660 138.3 ns/op BenchmarkSetZero/Slice/NewZero-4 625987 180.2 ns/op BenchmarkSetZero/String/Direct-4 2500387 47.86 ns/op BenchmarkSetZero/String/CachedZero-4 798271 137.0 ns/op BenchmarkSetZero/String/NewZero-4 632778 178.2 ns/op BenchmarkSetZero/Struct/Direct-4 2245918 55.36 ns/op BenchmarkSetZero/Struct/CachedZero-4 846405 140.2 ns/op BenchmarkSetZero/Struct/NewZero-4 650461 178.8 ns/op BenchmarkSelect/1-4 146310 798.7 ns/op 80 B/op 5 allocs/op BenchmarkSelect/4-4 67834 1687 ns/op 208 B/op 8 allocs/op BenchmarkSelect/8-4 34665 3308 ns/op 672 B/op 13 allocs/op BenchmarkCall-4 221425 546.1 ns/op 0 B/op 0 allocs/op BenchmarkCallMethod-4 156374 757.3 ns/op 0 B/op 0 allocs/op BenchmarkCallArgCopy/size=128-4 122876 1197 ns/op 106.97 MB/s BenchmarkCallArgCopy/size=256-4 79288 1305 ns/op 196.15 MB/s BenchmarkCallArgCopy/size=1024-4 56218 1942 ns/op 527.24 MB/s BenchmarkCallArgCopy/size=4096-4 30558 3969 ns/op 1031.90 MB/s BenchmarkCallArgCopy/size=65536-4 2865 46090 ns/op 1421.92 MB/s BenchmarkFieldByName1-4 1000000 112.3 ns/op BenchmarkFieldByName2-4 76767 1571 ns/op BenchmarkFieldByName3-4 9877 10770 ns/op BenchmarkInterfaceBig-4 3635649 31.67 ns/op BenchmarkInterfaceSmall-4 3681050 31.67 ns/op BenchmarkNew-4 1837239 71.25 ns/op BenchmarkMap/StringKeys/MapIndex-4 2300 51873 ns/op 0 B/op 0 allocs/op BenchmarkMap/StringKeys/SetMapIndex-4 1852 61691 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/MapIndex-4 2247 52369 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/SetMapIndex-4 1894 62707 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/MapIndex-4 2251 50935 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/SetMapIndex-4 1911 60856 ns/op 0 B/op 0 allocs/op BenchmarkMapIterNext-4 208544 550.8 ns/op PASS ok reflect 17.477s goos: linux goarch: amd64 pkg: regexp cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFind-4 9811 10729 ns/op 9255 B/op 1 allocs/op BenchmarkFindAllNoMatches-4 14505 7902 ns/op 9245 B/op 1 allocs/op BenchmarkFindString-4 11113 10320 ns/op 9281 B/op 1 allocs/op BenchmarkFindSubmatch-4 10412 11248 ns/op 9197 B/op 2 allocs/op BenchmarkFindStringSubmatch-4 10680 11212 ns/op 9479 B/op 2 allocs/op BenchmarkLiteral-4 15093 7041 ns/op BenchmarkNotLiteral-4 4162 27679 ns/op BenchmarkMatchClass-4 3308 34666 ns/op BenchmarkMatchClass_InRange-4 2977 35596 ns/op BenchmarkReplaceAll-4 2556 51054 ns/op BenchmarkAnchoredLiteralShortNonMatch-4 15642 8497 ns/op BenchmarkAnchoredLiteralLongNonMatch-4 37212 3194 ns/op BenchmarkAnchoredShortMatch-4 14806 8533 ns/op BenchmarkAnchoredLongMatch-4 19690 6203 ns/op BenchmarkOnePassShortA-4 19532 5983 ns/op BenchmarkNotOnePassShortA-4 6933 15796 ns/op BenchmarkOnePassShortB-4 26529 4561 ns/op BenchmarkNotOnePassShortB-4 8634 12947 ns/op BenchmarkOnePassLongPrefix-4 82612 1504 ns/op BenchmarkOnePassLongNotPrefix-4 27684 4391 ns/op BenchmarkMatchParallelShared-4 19179 6075 ns/op BenchmarkMatchParallelCopied-4 23401 5389 ns/op BenchmarkQuoteMetaAll-4 139572 827.0 ns/op 16.93 MB/s BenchmarkQuoteMetaNone-4 260839 460.5 ns/op 56.46 MB/s BenchmarkCompile/Onepass-4 3770 27981 ns/op 4144 B/op 52 allocs/op BenchmarkCompile/Medium-4 1515 72275 ns/op 9704 B/op 112 allocs/op BenchmarkCompile/Hard-4 187 621159 ns/op 84760 B/op 424 allocs/op BenchmarkMatch/Easy0/16-4 3682556 32.00 ns/op 499.92 MB/s BenchmarkMatch/Easy0/32-4 15306 7582 ns/op 4.22 MB/s BenchmarkMatch/Easy0/1K-4 6199 19794 ns/op 51.73 MB/s BenchmarkMatch/Easy0i/16-4 3677539 32.12 ns/op 498.10 MB/s BenchmarkMatch/Easy0i/32-4 5556 21678 ns/op 1.48 MB/s BenchmarkMatch/Easy0i/1K-4 268 435766 ns/op 2.35 MB/s BenchmarkMatch/Easy1/16-4 3750314 32.07 ns/op 498.94 MB/s BenchmarkMatch/Easy1/32-4 16182 7386 ns/op 4.33 MB/s BenchmarkMatch/Easy1/1K-4 4768 25572 ns/op 40.04 MB/s BenchmarkMatch/Medium/16-4 3727202 32.63 ns/op 490.39 MB/s BenchmarkMatch/Medium/32-4 5010 20485 ns/op 1.56 MB/s BenchmarkMatch/Medium/1K-4 300 397845 ns/op 2.57 MB/s BenchmarkMatch/Hard/16-4 3690573 32.10 ns/op 498.45 MB/s BenchmarkMatch/Hard/32-4 4035 29963 ns/op 1.07 MB/s BenchmarkMatch/Hard/1K-4 166 706590 ns/op 1.45 MB/s BenchmarkMatch/Hard1/16-4 1348 83553 ns/op 0.19 MB/s BenchmarkMatch/Hard1/32-4 722 157027 ns/op 0.20 MB/s BenchmarkMatch/Hard1/1K-4 25 4616063 ns/op 0.22 MB/s BenchmarkMatch_onepass_regex/16-4 28988 4130 ns/op 3.87 MB/s 23 B/op 0 allocs/op BenchmarkMatch_onepass_regex/32-4 17659 6899 ns/op 4.64 MB/s 24 B/op 0 allocs/op BenchmarkMatch_onepass_regex/1K-4 676 179329 ns/op 5.71 MB/s 24 B/op 0 allocs/op PASS ok regexp 9.143s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: regexp/syntax cpu: AMD EPYC 7B12 BenchmarkEmptyOpContext-4 920696 130.8 ns/op BenchmarkIsWordChar-4 227828 517.1 ns/op PASS ok regexp/syntax 2.036s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: runtime cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCallers/cached-4 70051 1686 ns/op BenchmarkCallers/inlined-4 52696 2249 ns/op BenchmarkCallers/no-cache-4 10000 10095 ns/op BenchmarkFPCallers/cached-4 2866054 42.37 ns/op BenchmarkMakeChan/Byte-4 1068531 116.3 ns/op BenchmarkMakeChan/Int-4 839379 140.1 ns/op BenchmarkMakeChan/Ptr-4 618513 212.7 ns/op BenchmarkMakeChan/Struct/0-4 1229042 97.69 ns/op BenchmarkMakeChan/Struct/32-4 482727 262.7 ns/op BenchmarkMakeChan/Struct/40-4 445669 266.6 ns/op BenchmarkChanNonblocking-4 11559326 9.649 ns/op BenchmarkSelectUncontended-4 764816 132.2 ns/op BenchmarkSelectSyncContended-4 29392 3971 ns/op BenchmarkSelectAsyncContended-4 112338 1099 ns/op BenchmarkSelectNonblock-4 6059820 17.91 ns/op BenchmarkChanUncontended-4 9151 13490 ns/op BenchmarkChanContended-4 1196 101917 ns/op BenchmarkChanSync-4 189734 665.2 ns/op BenchmarkChanSyncWork-4 10000 35274 ns/op BenchmarkChanProdCons0-4 80088 1551 ns/op BenchmarkChanProdCons10-4 108181 1216 ns/op BenchmarkChanProdCons100-4 106364 1112 ns/op BenchmarkChanProdConsWork0-4 74432 1638 ns/op BenchmarkChanProdConsWork10-4 83282 1484 ns/op BenchmarkChanProdConsWork100-4 85759 1404 ns/op BenchmarkSelectProdCons-4 60292 1997 ns/op BenchmarkReceiveDataFromClosedChan-4 629911 187.6 ns/op BenchmarkChanCreation-4 207182 533.7 ns/op BenchmarkChanSem-4 123265 947.4 ns/op BenchmarkChanPopular-4 91 1287064 ns/op BenchmarkChanClosed-4 494156 216.5 ns/op BenchmarkCallClosure-4 6603882 18.22 ns/op BenchmarkCallClosure1-4 6787160 17.75 ns/op BenchmarkCallClosure2-4 1274719 88.89 ns/op BenchmarkCallClosure3-4 1590465 77.98 ns/op BenchmarkCallClosure4-4 1339302 93.01 ns/op BenchmarkComplex128DivNormal-4 10022526 11.36 ns/op BenchmarkComplex128DivNisNaN-4 7470511 14.78 ns/op BenchmarkComplex128DivDisNaN-4 7499560 15.02 ns/op BenchmarkComplex128DivNisInf-4 9663585 11.81 ns/op BenchmarkComplex128DivDisInf-4 5804719 19.90 ns/op BenchmarkSetTypePtr-4 44741311 2.645 ns/op 3024.27 MB/s BenchmarkSetTypePtr8-4 9634856 12.44 ns/op 5143.83 MB/s BenchmarkSetTypePtr16-4 9596096 12.43 ns/op 10299.88 MB/s BenchmarkSetTypePtr32-4 9632155 12.43 ns/op 20595.27 MB/s BenchmarkSetTypePtr64-4 9636174 12.41 ns/op 41255.50 MB/s BenchmarkSetTypePtr126-4 5656035 21.10 ns/op 47762.55 MB/s BenchmarkSetTypePtr128-4 5886904 20.31 ns/op 50417.46 MB/s BenchmarkSetTypePtrSlice-4 726043 163.6 ns/op 50088.58 MB/s BenchmarkSetTypeNode1-4 9631962 12.41 ns/op 1933.92 MB/s BenchmarkSetTypeNode1Slice-4 2955998 40.51 ns/op 18958.55 MB/s BenchmarkSetTypeNode8-4 9639368 12.41 ns/op 6448.59 MB/s BenchmarkSetTypeNode8Slice-4 1540910 77.61 ns/op 32986.49 MB/s BenchmarkSetTypeNode64-4 5659863 21.07 ns/op 25060.29 MB/s BenchmarkSetTypeNode64Slice-4 228366 521.9 ns/op 32375.86 MB/s BenchmarkSetTypeNode64Dead-4 7571749 15.83 ns/op 33357.50 MB/s BenchmarkSetTypeNode64DeadSlice-4 257497 469.4 ns/op 35991.10 MB/s BenchmarkSetTypeNode124-4 5682847 21.24 ns/op 47455.08 MB/s BenchmarkSetTypeNode124Slice-4 179600 663.0 ns/op 48652.60 MB/s BenchmarkSetTypeNode126-4 5858599 20.32 ns/op 50393.11 MB/s BenchmarkSetTypeNode126Slice-4 179100 664.7 ns/op 49298.46 MB/s BenchmarkSetTypeNode128-4 4063342 29.70 ns/op 35014.47 MB/s BenchmarkSetTypeNode128Slice-4 141620 840.2 ns/op 39610.67 MB/s BenchmarkSetTypeNode130-4 4058125 29.58 ns/op 35702.25 MB/s BenchmarkSetTypeNode130Slice-4 140577 850.1 ns/op 39749.16 MB/s BenchmarkSetTypeNode1024-4 769962 155.7 ns/op 52718.20 MB/s BenchmarkSetTypeNode1024Slice-4 24500 4897 ns/op 53633.21 MB/s BenchmarkAllocation-4 2860 36957 ns/op BenchmarkReadMemStats-4 5768 21024 ns/op BenchmarkReadMemStatsLatency-4 1 94139 p50-ns 94139 p90-ns 94139 p99-ns BenchmarkWriteBarrier-4 3051418 45.75 ns/op BenchmarkBulkWriteBarrier-4 7184503 19.32 ns/op BenchmarkScanStackNoLocals-4 3 40393707 ns/op BenchmarkMSpanCountAlloc/bits=64-4 11106949 9.969 ns/op BenchmarkMSpanCountAlloc/bits=128-4 10788794 10.68 ns/op BenchmarkMSpanCountAlloc/bits=256-4 9712406 12.61 ns/op BenchmarkMSpanCountAlloc/bits=512-4 7128778 16.33 ns/op BenchmarkMSpanCountAlloc/bits=1024-4 4437651 25.20 ns/op BenchmarkHash5-4 6094717 19.69 ns/op 253.93 MB/s BenchmarkHash16-4 6545643 17.18 ns/op 931.57 MB/s BenchmarkHash64-4 5992618 19.23 ns/op 3328.45 MB/s BenchmarkHash1024-4 1934024 61.59 ns/op 16625.94 MB/s BenchmarkHash65536-4 38343 3102 ns/op 21125.98 MB/s BenchmarkAlignedLoad-4 8563179 13.91 ns/op BenchmarkUnalignedLoad-4 8084415 15.11 ns/op BenchmarkEqEfaceConcrete-4 6060448 19.79 ns/op BenchmarkEqIfaceConcrete-4 6774583 17.69 ns/op BenchmarkNeEfaceConcrete-4 6706712 17.82 ns/op BenchmarkNeIfaceConcrete-4 6463336 18.46 ns/op BenchmarkConvT2EByteSized/bool-4 6634854 17.78 ns/op BenchmarkConvT2EByteSized/uint8-4 6716428 17.86 ns/op BenchmarkConvT2ESmall-4 5918457 20.26 ns/op BenchmarkConvT2EUintptr-4 5732208 20.84 ns/op BenchmarkConvT2ELarge-4 1237455 98.68 ns/op BenchmarkConvT2ISmall-4 5883975 20.28 ns/op BenchmarkConvT2IUintptr-4 5701842 21.08 ns/op BenchmarkConvT2ILarge-4 1000000 100.7 ns/op BenchmarkConvI2E-4 5165192 23.20 ns/op BenchmarkConvI2I-4 4214685 28.53 ns/op BenchmarkAssertE2T-4 5027390 23.81 ns/op BenchmarkAssertE2TLarge-4 2336318 50.66 ns/op BenchmarkAssertE2I-4 4285840 27.79 ns/op BenchmarkAssertI2T-4 4974463 24.03 ns/op BenchmarkAssertI2I-4 4340121 27.26 ns/op BenchmarkAssertI2E-4 5972065 20.20 ns/op BenchmarkAssertE2E-4 6139597 19.10 ns/op BenchmarkAssertE2T2-4 3943920 29.79 ns/op BenchmarkAssertE2T2Blank-4 4652181 25.68 ns/op BenchmarkAssertI2E2-4 4583936 26.23 ns/op BenchmarkAssertI2E2Blank-4 5991666 20.12 ns/op BenchmarkAssertE2E2-4 4535216 26.24 ns/op BenchmarkAssertE2E2Blank-4 5946669 20.04 ns/op BenchmarkConvT2Ezero/zero/16-4 5946106 20.29 ns/op BenchmarkConvT2Ezero/zero/32-4 5841625 20.23 ns/op BenchmarkConvT2Ezero/zero/64-4 5687758 20.83 ns/op BenchmarkConvT2Ezero/zero/str-4 5893549 20.35 ns/op BenchmarkConvT2Ezero/zero/slice-4 5292488 21.31 ns/op BenchmarkConvT2Ezero/zero/big-4 212366 513.5 ns/op BenchmarkConvT2Ezero/nonzero/str-4 1342195 84.67 ns/op BenchmarkConvT2Ezero/nonzero/slice-4 1227496 91.89 ns/op BenchmarkConvT2Ezero/nonzero/big-4 207016 507.3 ns/op BenchmarkConvT2Ezero/smallint/16-4 5836833 20.34 ns/op BenchmarkConvT2Ezero/smallint/32-4 5849725 20.28 ns/op BenchmarkConvT2Ezero/smallint/64-4 5849322 20.31 ns/op BenchmarkConvT2Ezero/largeint/16-4 1750153 70.74 ns/op BenchmarkConvT2Ezero/largeint/32-4 1749954 68.13 ns/op BenchmarkConvT2Ezero/largeint/64-4 1741178 76.31 ns/op BenchmarkMalloc8-4 1555251 77.83 ns/op BenchmarkMalloc16-4 1387093 81.22 ns/op BenchmarkMallocTypeInfo8-4 1489546 83.22 ns/op BenchmarkMallocTypeInfo16-4 1242033 98.58 ns/op BenchmarkMallocLargeStruct-4 169262 698.6 ns/op BenchmarkGoroutineSelect-4 78 1908820 ns/op BenchmarkGoroutineBlocking-4 69 2028090 ns/op BenchmarkGoroutineForRange-4 63 1776071 ns/op BenchmarkGoroutineIdle-4 74 1905093 ns/op BenchmarkHashStringSpeed-4 2618773 49.27 ns/op BenchmarkHashBytesSpeed-4 1444716 79.97 ns/op BenchmarkHashInt32Speed-4 3400042 35.34 ns/op BenchmarkHashInt64Speed-4 3165531 34.73 ns/op BenchmarkHashStringArraySpeed-4 621109 191.0 ns/op BenchmarkMegMap-4 3205710 38.26 ns/op BenchmarkMegOneMap-4 4119314 28.62 ns/op BenchmarkMegEqMap-4 1420 85591 ns/op BenchmarkMegEmptyMap-4 4638289 25.15 ns/op BenchmarkSmallStrMap-4 3465168 34.91 ns/op BenchmarkMapStringKeysEight_16-4 3609176 33.17 ns/op BenchmarkMapStringKeysEight_32-4 3590702 33.48 ns/op BenchmarkMapStringKeysEight_64-4 3447382 34.62 ns/op BenchmarkMapStringKeysEight_1M-4 3418278 34.85 ns/op BenchmarkIntMap-4 4129206 29.58 ns/op BenchmarkMapFirst/1-4 4956096 24.17 ns/op BenchmarkMapFirst/2-4 4789353 23.98 ns/op BenchmarkMapFirst/3-4 4972236 24.13 ns/op BenchmarkMapFirst/4-4 4779128 25.12 ns/op BenchmarkMapFirst/5-4 4608457 24.84 ns/op BenchmarkMapFirst/6-4 4672144 25.38 ns/op BenchmarkMapFirst/7-4 4742791 25.01 ns/op BenchmarkMapFirst/8-4 4430376 24.85 ns/op BenchmarkMapFirst/9-4 4244882 28.55 ns/op BenchmarkMapFirst/10-4 4055010 28.77 ns/op BenchmarkMapFirst/11-4 4189113 28.99 ns/op BenchmarkMapFirst/12-4 3987470 28.38 ns/op BenchmarkMapFirst/13-4 4113168 28.11 ns/op BenchmarkMapFirst/14-4 4228591 28.29 ns/op BenchmarkMapFirst/15-4 4265298 28.45 ns/op BenchmarkMapFirst/16-4 4106769 28.34 ns/op BenchmarkMapMid/1-4 3929842 30.07 ns/op BenchmarkMapMid/2-4 3913636 30.16 ns/op BenchmarkMapMid/3-4 3980312 30.10 ns/op BenchmarkMapMid/4-4 3849948 31.31 ns/op BenchmarkMapMid/5-4 3919872 30.75 ns/op BenchmarkMapMid/6-4 3674211 31.76 ns/op BenchmarkMapMid/7-4 3799054 31.61 ns/op BenchmarkMapMid/8-4 3682179 32.57 ns/op BenchmarkMapMid/9-4 3308710 34.91 ns/op BenchmarkMapMid/10-4 3374388 36.66 ns/op BenchmarkMapMid/11-4 3232225 34.11 ns/op BenchmarkMapMid/12-4 3233168 35.87 ns/op BenchmarkMapMid/13-4 3378448 35.25 ns/op BenchmarkMapMid/14-4 3454060 35.33 ns/op BenchmarkMapMid/15-4 3432936 34.61 ns/op BenchmarkMapMid/16-4 3172095 33.66 ns/op BenchmarkMapLast/1-4 3950962 30.12 ns/op BenchmarkMapLast/2-4 3926239 29.84 ns/op BenchmarkMapLast/3-4 3931657 30.74 ns/op BenchmarkMapLast/4-4 3687460 32.70 ns/op BenchmarkMapLast/5-4 3859294 31.10 ns/op BenchmarkMapLast/6-4 3689046 33.18 ns/op BenchmarkMapLast/7-4 3658458 32.18 ns/op BenchmarkMapLast/8-4 3478888 34.64 ns/op BenchmarkMapLast/9-4 3385998 34.56 ns/op BenchmarkMapLast/10-4 2930181 40.07 ns/op BenchmarkMapLast/11-4 3271581 36.62 ns/op BenchmarkMapLast/12-4 2932092 40.18 ns/op BenchmarkMapLast/13-4 3364472 34.68 ns/op BenchmarkMapLast/14-4 3364638 33.68 ns/op BenchmarkMapLast/15-4 3270129 34.06 ns/op BenchmarkMapLast/16-4 3175695 36.06 ns/op BenchmarkMapCycle-4 2086924 56.44 ns/op BenchmarkRepeatedLookupStrMapKey32-4 3493614 33.68 ns/op BenchmarkRepeatedLookupStrMapKey1M-4 2367 50059 ns/op BenchmarkMakeMap/[Byte]Byte-4 548952 202.0 ns/op BenchmarkMakeMap/[Int]Int-4 360957 364.0 ns/op BenchmarkNewEmptyMap-4 13993086 8.446 ns/op 0 B/op 0 allocs/op BenchmarkNewSmallMap-4 1722679 69.87 ns/op 0 B/op 0 allocs/op BenchmarkMapIter-4 479456 246.8 ns/op BenchmarkMapIterEmpty-4 5687955 21.29 ns/op BenchmarkSameLengthMap-4 4937028 24.44 ns/op BenchmarkBigKeyMap-4 1725772 70.30 ns/op BenchmarkBigValMap-4 1509850 79.81 ns/op BenchmarkSmallKeyMap-4 2985231 40.15 ns/op BenchmarkMapPopulate/1-4 2355763 50.94 ns/op 0 B/op 0 allocs/op BenchmarkMapPopulate/10-4 128587 868.3 ns/op 179 B/op 1 allocs/op BenchmarkMapPopulate/100-4 7914 17144 ns/op 6274 B/op 15 allocs/op BenchmarkMapPopulate/1000-4 706 158337 ns/op 51769 B/op 55 allocs/op BenchmarkMapPopulate/10000-4 52 2386733 ns/op 416474 B/op 204 allocs/op BenchmarkMapPopulate/100000-4 3 39319006 ns/op 6542813 B/op 2913 allocs/op BenchmarkComplexAlgMap-4 451226 235.2 ns/op BenchmarkGoMapClear/Reflexive/1-4 682543 163.2 ns/op BenchmarkGoMapClear/Reflexive/10-4 625371 181.4 ns/op BenchmarkGoMapClear/Reflexive/100-4 226020 514.6 ns/op BenchmarkGoMapClear/Reflexive/1000-4 41470 2911 ns/op BenchmarkGoMapClear/Reflexive/10000-4 5425 22120 ns/op BenchmarkGoMapClear/NonReflexive/1-4 535701 216.2 ns/op BenchmarkGoMapClear/NonReflexive/10-4 477462 242.4 ns/op BenchmarkGoMapClear/NonReflexive/100-4 206163 567.5 ns/op BenchmarkGoMapClear/NonReflexive/1000-4 39703 3024 ns/op BenchmarkGoMapClear/NonReflexive/10000-4 5384 22308 ns/op BenchmarkMapStringConversion/32/simple-4 1852542 65.50 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/struct-4 1756178 68.07 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/array-4 1619128 78.16 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/simple-4 1699201 70.43 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/struct-4 1638416 73.81 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/array-4 1442959 83.81 ns/op 0 B/op 0 allocs/op BenchmarkMapInterfaceString-4 1870761 62.35 ns/op BenchmarkMapInterfacePtr-4 2003416 57.08 ns/op BenchmarkNewEmptyMapHintLessThan8-4 5054991 23.65 ns/op 0 B/op 0 allocs/op BenchmarkNewEmptyMapHintGreaterThan8-4 122180 933.9 ns/op 1152 B/op 1 allocs/op BenchmarkMapPop100-4 5083 22234 ns/op BenchmarkMapPop1000-4 370 318878 ns/op BenchmarkMapPop10000-4 18 5958562 ns/op BenchmarkMapAssign/Int32/256-4 2324042 50.23 ns/op BenchmarkMapAssign/Int32/65536-4 767992 146.0 ns/op BenchmarkMapAssign/Int64/256-4 2209484 55.55 ns/op BenchmarkMapAssign/Int64/65536-4 704152 158.3 ns/op BenchmarkMapAssign/Str/256-4 1940635 62.81 ns/op BenchmarkMapAssign/Str/65536-4 379299 283.4 ns/op BenchmarkMapOperatorAssign/Int32/256-4 1529508 78.29 ns/op BenchmarkMapOperatorAssign/Int32/65536-4 532813 205.6 ns/op BenchmarkMapOperatorAssign/Int64/256-4 1492834 81.86 ns/op BenchmarkMapOperatorAssign/Int64/65536-4 447830 232.9 ns/op BenchmarkMapOperatorAssign/Str/256-4 479136 2395 ns/op BenchmarkMapOperatorAssign/Str/65536-4 135392 742.0 ns/op BenchmarkMapAppendAssign/Int32/256-4 732922 168.7 ns/op 30 B/op 0 allocs/op BenchmarkMapAppendAssign/Int32/65536-4 161834 622.5 ns/op 72 B/op 1 allocs/op BenchmarkMapAppendAssign/Int64/256-4 836133 163.6 ns/op 26 B/op 0 allocs/op BenchmarkMapAppendAssign/Int64/65536-4 161544 683.5 ns/op 80 B/op 1 allocs/op BenchmarkMapAppendAssign/Str/256-4 560862 254.7 ns/op 54 B/op 0 allocs/op BenchmarkMapAppendAssign/Str/65536-4 99840 1154 ns/op 143 B/op 1 allocs/op BenchmarkMapDelete/Int32/100-4 1616170 67.20 ns/op BenchmarkMapDelete/Int32/1000-4 1905517 62.70 ns/op BenchmarkMapDelete/Int32/10000-4 1838973 64.03 ns/op BenchmarkMapDelete/Int64/100-4 1828039 65.26 ns/op BenchmarkMapDelete/Int64/1000-4 1926373 63.65 ns/op BenchmarkMapDelete/Int64/10000-4 1855036 64.53 ns/op BenchmarkMapDelete/Str/100-4 1306772 82.13 ns/op BenchmarkMapDelete/Str/1000-4 1507672 84.41 ns/op BenchmarkMapDelete/Str/10000-4 1324932 87.39 ns/op BenchmarkMapDelete/Pointer/100-4 1555830 71.39 ns/op BenchmarkMapDelete/Pointer/1000-4 1729390 71.72 ns/op BenchmarkMapDelete/Pointer/10000-4 1637350 74.67 ns/op BenchmarkMemmove/0-4 16130752 7.292 ns/op BenchmarkMemmove/1-4 2005105 61.23 ns/op 16.33 MB/s BenchmarkMemmove/2-4 1891638 63.03 ns/op 31.73 MB/s BenchmarkMemmove/3-4 1928295 62.69 ns/op 47.86 MB/s BenchmarkMemmove/4-4 1902543 62.91 ns/op 63.58 MB/s BenchmarkMemmove/5-4 1870579 62.82 ns/op 79.60 MB/s BenchmarkMemmove/6-4 1896195 62.49 ns/op 96.01 MB/s BenchmarkMemmove/7-4 1921928 62.67 ns/op 111.70 MB/s BenchmarkMemmove/8-4 1950274 61.66 ns/op 129.75 MB/s BenchmarkMemmove/9-4 1849281 65.35 ns/op 137.73 MB/s BenchmarkMemmove/10-4 1848448 63.90 ns/op 156.50 MB/s BenchmarkMemmove/11-4 1824759 64.04 ns/op 171.77 MB/s BenchmarkMemmove/12-4 1823990 64.72 ns/op 185.42 MB/s BenchmarkMemmove/13-4 1836285 64.80 ns/op 200.63 MB/s BenchmarkMemmove/14-4 1845164 65.77 ns/op 212.86 MB/s BenchmarkMemmove/15-4 1861410 64.18 ns/op 233.72 MB/s BenchmarkMemmove/16-4 1907469 62.23 ns/op 257.10 MB/s BenchmarkMemmove/32-4 1841474 64.74 ns/op 494.30 MB/s BenchmarkMemmove/64-4 1702154 71.01 ns/op 901.23 MB/s BenchmarkMemmove/128-4 1392573 85.64 ns/op 1494.62 MB/s BenchmarkMemmove/256-4 909290 130.1 ns/op 1968.16 MB/s BenchmarkMemmove/512-4 639348 183.8 ns/op 2785.14 MB/s BenchmarkMemmove/1024-4 409112 284.7 ns/op 3596.22 MB/s BenchmarkMemmove/2048-4 239956 491.0 ns/op 4171.26 MB/s BenchmarkMemmove/4096-4 131414 913.7 ns/op 4482.84 MB/s BenchmarkMemmoveOverlap/32-4 1823542 65.43 ns/op 489.07 MB/s BenchmarkMemmoveOverlap/64-4 1653066 72.04 ns/op 888.45 MB/s BenchmarkMemmoveOverlap/128-4 1401012 85.06 ns/op 1504.75 MB/s BenchmarkMemmoveOverlap/256-4 888002 132.4 ns/op 1933.66 MB/s BenchmarkMemmoveOverlap/512-4 634776 181.7 ns/op 2817.32 MB/s BenchmarkMemmoveOverlap/1024-4 419944 283.4 ns/op 3612.94 MB/s BenchmarkMemmoveOverlap/2048-4 242610 492.1 ns/op 4161.76 MB/s BenchmarkMemmoveOverlap/4096-4 131124 908.2 ns/op 4509.80 MB/s BenchmarkMemmoveUnalignedDst/0-4 15543172 7.723 ns/op BenchmarkMemmoveUnalignedDst/1-4 1959700 61.43 ns/op 16.28 MB/s BenchmarkMemmoveUnalignedDst/2-4 1897244 63.20 ns/op 31.64 MB/s BenchmarkMemmoveUnalignedDst/3-4 1896186 63.13 ns/op 47.52 MB/s BenchmarkMemmoveUnalignedDst/4-4 1876298 63.36 ns/op 63.13 MB/s BenchmarkMemmoveUnalignedDst/5-4 1899420 67.02 ns/op 74.60 MB/s BenchmarkMemmoveUnalignedDst/6-4 1845078 62.27 ns/op 96.36 MB/s BenchmarkMemmoveUnalignedDst/7-4 1892264 63.00 ns/op 111.11 MB/s BenchmarkMemmoveUnalignedDst/8-4 1966350 61.59 ns/op 129.89 MB/s BenchmarkMemmoveUnalignedDst/9-4 1844283 64.82 ns/op 138.85 MB/s BenchmarkMemmoveUnalignedDst/10-4 1847970 65.17 ns/op 153.45 MB/s BenchmarkMemmoveUnalignedDst/11-4 1883559 65.43 ns/op 168.12 MB/s BenchmarkMemmoveUnalignedDst/12-4 1870202 63.56 ns/op 188.79 MB/s BenchmarkMemmoveUnalignedDst/13-4 1814468 65.81 ns/op 197.55 MB/s BenchmarkMemmoveUnalignedDst/14-4 1845801 65.50 ns/op 213.76 MB/s BenchmarkMemmoveUnalignedDst/15-4 1846003 65.24 ns/op 229.92 MB/s BenchmarkMemmoveUnalignedDst/16-4 1870558 64.10 ns/op 249.62 MB/s BenchmarkMemmoveUnalignedDst/32-4 1746373 68.23 ns/op 469.02 MB/s BenchmarkMemmoveUnalignedDst/64-4 1572807 75.84 ns/op 843.94 MB/s BenchmarkMemmoveUnalignedDst/128-4 1341192 89.73 ns/op 1426.57 MB/s BenchmarkMemmoveUnalignedDst/256-4 859068 135.5 ns/op 1888.98 MB/s BenchmarkMemmoveUnalignedDst/512-4 585378 188.6 ns/op 2714.94 MB/s BenchmarkMemmoveUnalignedDst/1024-4 386226 303.0 ns/op 3380.07 MB/s BenchmarkMemmoveUnalignedDst/2048-4 240156 500.2 ns/op 4094.15 MB/s BenchmarkMemmoveUnalignedDst/4096-4 127354 939.4 ns/op 4360.33 MB/s BenchmarkMemmoveUnalignedDstOverlap/32-4 1723992 69.20 ns/op 462.41 MB/s BenchmarkMemmoveUnalignedDstOverlap/64-4 1584640 77.58 ns/op 824.92 MB/s BenchmarkMemmoveUnalignedDstOverlap/128-4 1310594 90.90 ns/op 1408.09 MB/s BenchmarkMemmoveUnalignedDstOverlap/256-4 861498 135.4 ns/op 1890.65 MB/s BenchmarkMemmoveUnalignedDstOverlap/512-4 615211 188.0 ns/op 2723.56 MB/s BenchmarkMemmoveUnalignedDstOverlap/1024-4 408547 288.6 ns/op 3547.80 MB/s BenchmarkMemmoveUnalignedDstOverlap/2048-4 240078 499.0 ns/op 4103.81 MB/s BenchmarkMemmoveUnalignedDstOverlap/4096-4 130514 912.0 ns/op 4491.47 MB/s BenchmarkMemmoveUnalignedSrc/0-4 15761324 7.590 ns/op BenchmarkMemmoveUnalignedSrc/1-4 1928698 60.99 ns/op 16.40 MB/s BenchmarkMemmoveUnalignedSrc/2-4 1906749 64.18 ns/op 31.16 MB/s BenchmarkMemmoveUnalignedSrc/3-4 1844426 64.19 ns/op 46.74 MB/s BenchmarkMemmoveUnalignedSrc/4-4 1878272 63.69 ns/op 62.80 MB/s BenchmarkMemmoveUnalignedSrc/5-4 1856373 64.44 ns/op 77.60 MB/s BenchmarkMemmoveUnalignedSrc/6-4 1865317 63.86 ns/op 93.96 MB/s BenchmarkMemmoveUnalignedSrc/7-4 1858566 64.02 ns/op 109.34 MB/s BenchmarkMemmoveUnalignedSrc/8-4 1936540 61.13 ns/op 130.88 MB/s BenchmarkMemmoveUnalignedSrc/9-4 1817029 66.36 ns/op 135.62 MB/s BenchmarkMemmoveUnalignedSrc/10-4 1847576 65.33 ns/op 153.08 MB/s BenchmarkMemmoveUnalignedSrc/11-4 1816869 65.95 ns/op 166.78 MB/s BenchmarkMemmoveUnalignedSrc/12-4 1769793 65.46 ns/op 183.32 MB/s BenchmarkMemmoveUnalignedSrc/13-4 1811238 66.08 ns/op 196.72 MB/s BenchmarkMemmoveUnalignedSrc/14-4 1811235 67.55 ns/op 207.25 MB/s BenchmarkMemmoveUnalignedSrc/15-4 1822243 65.04 ns/op 230.63 MB/s BenchmarkMemmoveUnalignedSrc/16-4 1842633 67.22 ns/op 238.01 MB/s BenchmarkMemmoveUnalignedSrc/32-4 1738489 68.35 ns/op 468.18 MB/s BenchmarkMemmoveUnalignedSrc/64-4 1617040 74.04 ns/op 864.41 MB/s BenchmarkMemmoveUnalignedSrc/128-4 1322701 89.61 ns/op 1428.36 MB/s BenchmarkMemmoveUnalignedSrc/256-4 868246 135.5 ns/op 1888.85 MB/s BenchmarkMemmoveUnalignedSrc/512-4 603135 188.7 ns/op 2713.73 MB/s BenchmarkMemmoveUnalignedSrc/1024-4 409320 289.5 ns/op 3537.52 MB/s BenchmarkMemmoveUnalignedSrc/2048-4 239299 495.5 ns/op 4132.86 MB/s BenchmarkMemmoveUnalignedSrc/4096-4 125859 927.7 ns/op 4415.37 MB/s BenchmarkMemmoveUnalignedSrcOverlap/32-4 1756662 68.93 ns/op 464.27 MB/s BenchmarkMemmoveUnalignedSrcOverlap/64-4 1590691 76.45 ns/op 837.11 MB/s BenchmarkMemmoveUnalignedSrcOverlap/128-4 1334805 89.62 ns/op 1428.17 MB/s BenchmarkMemmoveUnalignedSrcOverlap/256-4 866401 134.9 ns/op 1898.18 MB/s BenchmarkMemmoveUnalignedSrcOverlap/512-4 633897 185.5 ns/op 2759.93 MB/s BenchmarkMemmoveUnalignedSrcOverlap/1024-4 405888 288.0 ns/op 3556.06 MB/s BenchmarkMemmoveUnalignedSrcOverlap/2048-4 236468 497.4 ns/op 4117.73 MB/s BenchmarkMemmoveUnalignedSrcOverlap/4096-4 129698 919.4 ns/op 4454.92 MB/s BenchmarkMemclr/5-4 12934195 9.278 ns/op 538.91 MB/s BenchmarkMemclr/16-4 12823798 9.220 ns/op 1735.45 MB/s BenchmarkMemclr/64-4 11911138 9.995 ns/op 6403.40 MB/s BenchmarkMemclr/256-4 10188422 11.52 ns/op 22227.05 MB/s BenchmarkMemclr/4096-4 2417253 49.44 ns/op 82849.88 MB/s BenchmarkMemclr/65536-4 79497 1455 ns/op 45053.77 MB/s BenchmarkMemclr/1M-4 2754 39432 ns/op 26592.04 MB/s BenchmarkMemclr/4M-4 672 169839 ns/op 24695.79 MB/s BenchmarkMemclr/8M-4 238 488624 ns/op 17167.82 MB/s BenchmarkMemclr/16M-4 48 2301653 ns/op 7289.20 MB/s BenchmarkMemclr/64M-4 12 9691750 ns/op 6924.33 MB/s BenchmarkMemclrUnaligned/0_5-4 7219039 16.64 ns/op 300.43 MB/s BenchmarkMemclrUnaligned/0_16-4 7051712 16.97 ns/op 942.62 MB/s BenchmarkMemclrUnaligned/0_64-4 6636355 18.03 ns/op 3549.40 MB/s BenchmarkMemclrUnaligned/0_256-4 6277279 19.17 ns/op 13353.25 MB/s BenchmarkMemclrUnaligned/0_4096-4 2199315 55.02 ns/op 74447.43 MB/s BenchmarkMemclrUnaligned/0_65536-4 81610 1420 ns/op 46166.83 MB/s BenchmarkMemclrUnaligned/1_5-4 7197510 16.59 ns/op 301.40 MB/s BenchmarkMemclrUnaligned/1_16-4 7052260 16.94 ns/op 944.64 MB/s BenchmarkMemclrUnaligned/1_64-4 6861176 17.52 ns/op 3653.37 MB/s BenchmarkMemclrUnaligned/1_256-4 6178567 19.43 ns/op 13178.78 MB/s BenchmarkMemclrUnaligned/1_4096-4 1343145 89.55 ns/op 45738.71 MB/s BenchmarkMemclrUnaligned/1_65536-4 53776 2014 ns/op 32542.17 MB/s BenchmarkMemclrUnaligned/4_5-4 7232622 16.61 ns/op 301.02 MB/s BenchmarkMemclrUnaligned/4_16-4 7079708 16.95 ns/op 944.21 MB/s BenchmarkMemclrUnaligned/4_64-4 6871528 18.51 ns/op 3457.94 MB/s BenchmarkMemclrUnaligned/4_256-4 6180003 19.45 ns/op 13159.91 MB/s BenchmarkMemclrUnaligned/4_4096-4 1348892 89.35 ns/op 45840.77 MB/s BenchmarkMemclrUnaligned/4_65536-4 54598 1882 ns/op 34819.10 MB/s BenchmarkMemclrUnaligned/7_5-4 7226306 16.61 ns/op 300.97 MB/s BenchmarkMemclrUnaligned/7_16-4 6998764 16.96 ns/op 943.46 MB/s BenchmarkMemclrUnaligned/7_64-4 6289023 18.90 ns/op 3386.07 MB/s BenchmarkMemclrUnaligned/7_256-4 5946620 21.17 ns/op 12094.26 MB/s BenchmarkMemclrUnaligned/7_4096-4 1347661 89.16 ns/op 45937.98 MB/s BenchmarkMemclrUnaligned/7_65536-4 52282 2033 ns/op 32239.18 MB/s BenchmarkMemclrUnaligned/0_1M-4 2736 39516 ns/op 26535.46 MB/s BenchmarkMemclrUnaligned/0_4M-4 670 169943 ns/op 24680.69 MB/s BenchmarkMemclrUnaligned/0_8M-4 234 520510 ns/op 16116.12 MB/s BenchmarkMemclrUnaligned/0_16M-4 48 2302685 ns/op 7285.94 MB/s BenchmarkMemclrUnaligned/0_64M-4 12 9894941 ns/op 6782.14 MB/s BenchmarkMemclrUnaligned/1_1M-4 2716 39217 ns/op 26737.76 MB/s BenchmarkMemclrUnaligned/1_4M-4 661 174397 ns/op 24050.37 MB/s BenchmarkMemclrUnaligned/1_8M-4 152 682857 ns/op 12284.58 MB/s BenchmarkMemclrUnaligned/1_16M-4 48 2474201 ns/op 6780.86 MB/s BenchmarkMemclrUnaligned/1_64M-4 12 9743540 ns/op 6887.52 MB/s BenchmarkMemclrUnaligned/4_1M-4 2721 39238 ns/op 26723.64 MB/s BenchmarkMemclrUnaligned/4_4M-4 670 170739 ns/op 24565.59 MB/s BenchmarkMemclrUnaligned/4_8M-4 147 853223 ns/op 9831.67 MB/s BenchmarkMemclrUnaligned/4_16M-4 40 2507790 ns/op 6690.04 MB/s BenchmarkMemclrUnaligned/4_64M-4 12 9819779 ns/op 6834.05 MB/s BenchmarkMemclrUnaligned/7_1M-4 2691 42639 ns/op 24591.90 MB/s BenchmarkMemclrUnaligned/7_4M-4 625 182945 ns/op 22926.53 MB/s BenchmarkMemclrUnaligned/7_8M-4 121 932442 ns/op 8996.38 MB/s BenchmarkMemclrUnaligned/7_16M-4 40 2557436 ns/op 6560.17 MB/s BenchmarkMemclrUnaligned/7_64M-4 12 9972331 ns/op 6729.51 MB/s BenchmarkGoMemclr/5-4 2148104 55.95 ns/op 89.37 MB/s BenchmarkGoMemclr/16-4 494905 231.0 ns/op 69.25 MB/s BenchmarkGoMemclr/64-4 137277 865.1 ns/op 73.98 MB/s BenchmarkGoMemclr/256-4 35139 3413 ns/op 75.00 MB/s BenchmarkMemclrRange/1K_2K-4 63573 1789 ns/op 53589.60 MB/s BenchmarkMemclrRange/2K_8K-4 30567 3933 ns/op 84796.05 MB/s BenchmarkMemclrRange/4K_16K-4 42111 2823 ns/op 114457.81 MB/s BenchmarkMemclrRange/160K_228K-4 2437 45136 ns/op 36841.28 MB/s BenchmarkClearFat7-4 6310736 18.89 ns/op BenchmarkClearFat8-4 7062513 16.95 ns/op BenchmarkClearFat11-4 6361717 18.87 ns/op BenchmarkClearFat12-4 6138002 19.68 ns/op BenchmarkClearFat13-4 6467521 19.20 ns/op BenchmarkClearFat14-4 6056864 19.51 ns/op BenchmarkClearFat15-4 6256333 19.07 ns/op BenchmarkClearFat16-4 6566564 18.47 ns/op BenchmarkClearFat24-4 6270039 19.14 ns/op BenchmarkClearFat32-4 6026862 19.89 ns/op BenchmarkClearFat40-4 5935399 20.25 ns/op BenchmarkClearFat48-4 5378103 22.11 ns/op BenchmarkClearFat56-4 5491167 21.77 ns/op BenchmarkClearFat64-4 5460841 21.98 ns/op BenchmarkClearFat72-4 5057289 23.43 ns/op BenchmarkClearFat128-4 3815038 31.43 ns/op BenchmarkClearFat256-4 2217790 54.09 ns/op BenchmarkClearFat512-4 1472306 80.34 ns/op BenchmarkClearFat1024-4 849741 137.1 ns/op BenchmarkClearFat1032-4 825670 149.4 ns/op BenchmarkClearFat1040-4 818743 143.5 ns/op BenchmarkCopyFat7-4 6082096 19.38 ns/op BenchmarkCopyFat8-4 6799053 17.39 ns/op BenchmarkCopyFat11-4 5683413 20.81 ns/op BenchmarkCopyFat12-4 5844997 20.68 ns/op BenchmarkCopyFat13-4 5849414 20.53 ns/op BenchmarkCopyFat14-4 5919948 20.72 ns/op BenchmarkCopyFat15-4 5777484 20.51 ns/op BenchmarkCopyFat16-4 6669349 18.36 ns/op BenchmarkCopyFat24-4 6342205 19.28 ns/op BenchmarkCopyFat32-4 6096325 19.66 ns/op BenchmarkCopyFat64-4 5538116 21.55 ns/op BenchmarkCopyFat72-4 5125446 23.48 ns/op BenchmarkCopyFat128-4 3648536 32.63 ns/op BenchmarkCopyFat256-4 2115424 56.15 ns/op BenchmarkCopyFat512-4 1375804 87.15 ns/op BenchmarkCopyFat520-4 1375443 87.14 ns/op BenchmarkCopyFat1024-4 802156 145.8 ns/op BenchmarkCopyFat1032-4 791288 149.7 ns/op BenchmarkCopyFat1040-4 789241 149.4 ns/op BenchmarkIssue18740/2byte-4 435 276178 ns/op BenchmarkIssue18740/4byte-4 735 161656 ns/op BenchmarkIssue18740/8byte-4 993 116627 ns/op BenchmarkMemclrKnownSize1-4 8938723 13.29 ns/op 75.26 MB/s BenchmarkMemclrKnownSize2-4 5693828 20.43 ns/op 97.90 MB/s BenchmarkMemclrKnownSize4-4 3576747 33.53 ns/op 119.28 MB/s BenchmarkMemclrKnownSize8-4 1000000 111.6 ns/op 71.70 MB/s BenchmarkMemclrKnownSize16-4 521479 227.8 ns/op 70.23 MB/s BenchmarkMemclrKnownSize32-4 273490 435.2 ns/op 73.53 MB/s BenchmarkMemclrKnownSize64-4 139711 872.2 ns/op 73.38 MB/s BenchmarkMemclrKnownSize112-4 80796 1483 ns/op 75.53 MB/s BenchmarkMemclrKnownSize128-4 71436 1673 ns/op 76.51 MB/s BenchmarkMemclrKnownSize192-4 46768 2541 ns/op 75.55 MB/s BenchmarkMemclrKnownSize248-4 36958 3263 ns/op 76.01 MB/s BenchmarkMemclrKnownSize256-4 36474 3252 ns/op 78.72 MB/s BenchmarkMemclrKnownSize512-4 18510 6524 ns/op 78.47 MB/s BenchmarkMemclrKnownSize1024-4 9138 13158 ns/op 77.82 MB/s BenchmarkMemclrKnownSize4096-4 2247 52318 ns/op 78.29 MB/s BenchmarkMemclrKnownSize512KiB-4 16 6919977 ns/op 75.76 MB/s BenchmarkReadMetricsLatency-4 19670 4884 p50-ns 5456 p90-ns 19009 p99-ns BenchmarkFinalizer-4 169 677912 ns/op BenchmarkFinalizerRun-4 196394 863.4 ns/op BenchmarkPallocBitsSummarize/Unpacked00-4 7539814 14.72 ns/op BenchmarkPallocBitsSummarize/UnpackedFFFFFFFFFFFFFFFF-4 3079179 38.28 ns/op BenchmarkPallocBitsSummarize/UnpackedAA-4 2459900 48.21 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAAAAAAAAAA-4 2391439 48.75 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000AAAAAAAA-4 1300806 90.96 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAA00000001-4 1000000 102.0 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBBBBBBBBBB-4 2249972 52.47 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000BBBBBBBB-4 1262847 93.62 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBB00000001-4 1311314 91.04 ns/op BenchmarkPallocBitsSummarize/UnpackedCCCCCCCCCCCCCCCC-4 1808125 64.44 ns/op BenchmarkPallocBitsSummarize/Unpacked4444444444444444-4 1829193 63.14 ns/op BenchmarkPallocBitsSummarize/Unpacked4040404040404040-4 1691674 70.28 ns/op BenchmarkPallocBitsSummarize/Unpacked4000400040004000-4 1448354 81.33 ns/op BenchmarkPallocBitsSummarize/Unpacked1000404044CCAAFF-4 1337427 88.77 ns/op BenchmarkFindBitRange64/Pattern00Size2-4 6129271 19.53 ns/op BenchmarkFindBitRange64/Pattern00Size8-4 6222170 19.13 ns/op BenchmarkFindBitRange64/Pattern00Size32-4 6272588 19.20 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize2-4 6216424 19.31 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize8-4 5640885 21.28 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize32-4 4985094 24.28 ns/op BenchmarkFindBitRange64/PatternAASize2-4 6163366 19.29 ns/op BenchmarkFindBitRange64/PatternAASize8-4 6254221 19.25 ns/op BenchmarkFindBitRange64/PatternAASize32-4 6229669 19.46 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize2-4 6190917 19.42 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize8-4 6253975 19.19 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize32-4 6250774 19.13 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize2-4 6193654 19.44 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize8-4 6284644 19.10 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize32-4 6296791 19.15 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size2-4 6137916 19.45 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size8-4 6261242 19.15 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size32-4 6263978 19.15 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize2-4 6191971 19.30 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize8-4 5932453 20.27 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize32-4 5923248 20.14 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize2-4 6196100 19.28 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize8-4 5956819 20.12 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize32-4 5930180 20.03 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size2-4 6166850 19.29 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size8-4 5941509 20.34 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size32-4 5920951 20.17 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize2-4 6202232 19.31 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize8-4 5900943 20.25 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize32-4 5928283 20.20 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size2-4 6219254 19.30 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size8-4 6247489 19.14 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size32-4 6274528 19.19 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size2-4 6164433 19.28 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size8-4 6255040 19.17 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size32-4 6252363 19.18 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size2-4 6184490 19.36 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size8-4 6279238 19.15 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size32-4 6181310 19.23 ns/op BenchmarkNetpollBreak-4 3948 30050 ns/op BenchmarkPinnerPinUnpinBatch-4 961 112660 ns/op BenchmarkPinnerPinUnpinBatchDouble-4 223 526497 ns/op BenchmarkPinnerPinUnpinBatchTiny-4 1096 108619 ns/op BenchmarkPinnerPinUnpin-4 965653 103.9 ns/op BenchmarkPinnerPinUnpinTiny-4 1000000 103.8 ns/op BenchmarkPinnerPinUnpinDouble-4 439070 270.1 ns/op BenchmarkPinnerPinUnpinParallel-4 3443964 33.72 ns/op BenchmarkPinnerPinUnpinParallelTiny-4 3591669 37.12 ns/op BenchmarkPinnerPinUnpinParallelDouble-4 208748 537.9 ns/op BenchmarkPinnerIsPinnedOnPinned-4 5488435 20.64 ns/op BenchmarkPinnerIsPinnedOnUnpinned-4 5828913 19.48 ns/op BenchmarkPinnerIsPinnedOnPinnedParallel-4 7904965 12.81 ns/op BenchmarkPinnerIsPinnedOnUnpinnedParallel-4 7851781 14.19 ns/op BenchmarkPingPongHog-4 351 341888 ns/op BenchmarkStackGrowth-4 98792 1051 ns/op BenchmarkStackGrowthDeep-4 961 110240 ns/op BenchmarkCreateGoroutines-4 54639 2524 ns/op BenchmarkCreateGoroutinesParallel-4 45448 2698 ns/op BenchmarkCreateGoroutinesCapture-4 7988 13919 ns/op 144 B/op 5 allocs/op BenchmarkCreateGoroutinesSingle-4 36423 2959 ns/op BenchmarkClosureCall-4 18718783 6.495 ns/op BenchmarkWakeupParallelSpinning/0s-4 7690 17883 ns/op BenchmarkWakeupParallelSpinning/1µs-4 5060 20753 ns/op BenchmarkWakeupParallelSpinning/2µs-4 5419 24156 ns/op BenchmarkWakeupParallelSpinning/5µs-4 3409 35829 ns/op BenchmarkWakeupParallelSpinning/10µs-4 2028 57189 ns/op BenchmarkWakeupParallelSpinning/20µs-4 1255 95464 ns/op BenchmarkWakeupParallelSpinning/50µs-4 597 194993 ns/op BenchmarkWakeupParallelSpinning/100µs-4 363 335979 ns/op BenchmarkWakeupParallelSyscall/0s-4 765 155071 ns/op BenchmarkWakeupParallelSyscall/1µs-4 702 160825 ns/op BenchmarkWakeupParallelSyscall/2µs-4 744 158732 ns/op BenchmarkWakeupParallelSyscall/5µs-4 720 168839 ns/op BenchmarkWakeupParallelSyscall/10µs-4 661 180175 ns/op BenchmarkWakeupParallelSyscall/20µs-4 574 204296 ns/op BenchmarkWakeupParallelSyscall/50µs-4 457 274862 ns/op BenchmarkWakeupParallelSyscall/100µs-4 318 376635 ns/op BenchmarkMatmult-4 3850908 35.65 ns/op BenchmarkFastrand-4 13537094 8.870 ns/op BenchmarkFastrand64-4 11907327 9.849 ns/op BenchmarkFastrandHashiter-4 4635318 25.53 ns/op BenchmarkFastrandn/2-4 5868144 20.51 ns/op BenchmarkFastrandn/3-4 6088084 19.67 ns/op BenchmarkFastrandn/4-4 6235593 19.27 ns/op BenchmarkFastrandn/5-4 6158826 19.36 ns/op BenchmarkIfaceCmp100-4 105397 1109 ns/op BenchmarkIfaceCmpNil100-4 152266 790.6 ns/op BenchmarkEfaceCmpDiff-4 40881 2951 ns/op BenchmarkEfaceCmpDiffIndirect-4 30466 3963 ns/op BenchmarkDefer-4 1630398 72.97 ns/op BenchmarkDefer10-4 794401 155.3 ns/op BenchmarkDeferMany-4 440552 445.6 ns/op BenchmarkPanicRecover-4 179665 654.9 ns/op BenchmarkGoroutineProfile/small-nil/idle-4 6936 15364 ns/op 14836 p50-ns 18941 p90-ns 26808 p99-ns BenchmarkGoroutineProfile/small-nil/loaded-4 7116 19177 ns/op 15215 p50-ns 20885 p90-ns 89698 p99-ns BenchmarkGoroutineProfile/small/idle-4 3084 39455 ns/op 36911 p50-ns 43953 p90-ns 66197 p99-ns BenchmarkGoroutineProfile/small/loaded-4 534 413429 ns/op 121667 p50-ns 310749 p90-ns 7074455 p99-ns BenchmarkGoroutineProfile/large-nil/idle-4 7467 15556 ns/op 14085 p50-ns 19326 p90-ns 32388 p99-ns BenchmarkGoroutineProfile/large-nil/loaded-4 7353 19417 ns/op 15078 p50-ns 20932 p90-ns 176235 p99-ns BenchmarkGoroutineProfile/large/idle-4 13 8575973 ns/op 8547013 p50-ns 8678686 p90-ns 8733228 p99-ns BenchmarkGoroutineProfile/large/loaded-4 10 15380461 ns/op 11186077 p50-ns 31352860 p90-ns 31352860 p99-ns BenchmarkGoroutineProfile/sparse-nil/idle-4 7365 18012 ns/op 16715 p50-ns 22063 p90-ns 36824 p99-ns BenchmarkGoroutineProfile/sparse-nil/loaded-4 5883 20451 ns/op 15920 p50-ns 21763 p90-ns 172805 p99-ns BenchmarkGoroutineProfile/sparse/idle-4 865 132723 ns/op 125665 p50-ns 151916 p90-ns 217403 p99-ns BenchmarkGoroutineProfile/sparse/loaded-4 278 530008 ns/op 255489 p50-ns 395144 p90-ns 14922741 p99-ns BenchmarkRWMutexUncontended-4 2562986 39.12 ns/op BenchmarkRWMutexWrite100-4 605094 197.6 ns/op BenchmarkRWMutexWrite10-4 107562 1309 ns/op BenchmarkRWMutexWorkWrite100-4 458287 248.9 ns/op BenchmarkRWMutexWorkWrite10-4 88231 1411 ns/op BenchmarkSemTable/OneAddrCollision/n=1000-4 1818 65064 ns/op BenchmarkSemTable/ManyAddrCollision/n=1000-4 849 140268 ns/op BenchmarkSemTable/OneAddrCollision/n=2000-4 950 122775 ns/op BenchmarkSemTable/ManyAddrCollision/n=2000-4 423 289067 ns/op BenchmarkSemTable/OneAddrCollision/n=4000-4 469 247663 ns/op BenchmarkSemTable/ManyAddrCollision/n=4000-4 187 588083 ns/op BenchmarkSemTable/OneAddrCollision/n=8000-4 234 495679 ns/op BenchmarkSemTable/ManyAddrCollision/n=8000-4 86 1225416 ns/op BenchmarkMakeSliceCopy/mallocmove/Byte-4 289178 374.9 ns/op BenchmarkMakeSliceCopy/mallocmove/Int-4 324096 390.6 ns/op BenchmarkMakeSliceCopy/mallocmove/Ptr-4 221482 491.5 ns/op BenchmarkMakeSliceCopy/makecopy/Byte-4 270390 427.4 ns/op BenchmarkMakeSliceCopy/makecopy/Int-4 298941 425.1 ns/op BenchmarkMakeSliceCopy/makecopy/Ptr-4 257822 443.1 ns/op BenchmarkMakeSliceCopy/nilappend/Byte-4 303387 427.6 ns/op BenchmarkMakeSliceCopy/nilappend/Int-4 276837 462.7 ns/op BenchmarkMakeSliceCopy/nilappend/Ptr-4 254904 474.5 ns/op BenchmarkMakeSlice/Byte-4 1801232 58.58 ns/op BenchmarkMakeSlice/Int16-4 1993887 56.95 ns/op BenchmarkMakeSlice/Int-4 1531106 71.71 ns/op BenchmarkMakeSlice/Ptr-4 1000000 101.0 ns/op BenchmarkMakeSlice/Struct/24-4 1000000 115.9 ns/op BenchmarkMakeSlice/Struct/32-4 779967 144.4 ns/op BenchmarkMakeSlice/Struct/40-4 637958 169.0 ns/op BenchmarkGrowSlice/Byte-4 851406 150.0 ns/op BenchmarkGrowSlice/Int16-4 792048 164.8 ns/op BenchmarkGrowSlice/Int-4 677220 201.5 ns/op BenchmarkGrowSlice/Ptr-4 484556 260.7 ns/op BenchmarkGrowSlice/Struct/24-4 285817 389.5 ns/op BenchmarkGrowSlice/Struct/32-4 270392 413.8 ns/op BenchmarkGrowSlice/Struct/40-4 228264 508.0 ns/op BenchmarkExtendSlice/IntSlice-4 546426 234.8 ns/op BenchmarkExtendSlice/PointerSlice-4 408187 320.9 ns/op BenchmarkExtendSlice/NoGrow-4 989532 139.9 ns/op BenchmarkAppend-4 802348 146.3 ns/op BenchmarkAppendGrowByte-4 3 34194141 ns/op BenchmarkAppendGrowString-4 1 375457480 ns/op BenchmarkAppendSlice/1Bytes-4 1877373 60.59 ns/op BenchmarkAppendSlice/4Bytes-4 1887196 63.87 ns/op BenchmarkAppendSlice/7Bytes-4 1835344 65.44 ns/op BenchmarkAppendSlice/8Bytes-4 1848229 63.09 ns/op BenchmarkAppendSlice/15Bytes-4 1775480 66.10 ns/op BenchmarkAppendSlice/16Bytes-4 1837932 63.72 ns/op BenchmarkAppendSlice/32Bytes-4 1812606 65.30 ns/op BenchmarkAppendSliceLarge/1024Bytes-4 93986 1217 ns/op BenchmarkAppendSliceLarge/4096Bytes-4 23148 4672 ns/op BenchmarkAppendSliceLarge/16384Bytes-4 9594 17158 ns/op BenchmarkAppendSliceLarge/65536Bytes-4 1574 68335 ns/op BenchmarkAppendSliceLarge/262144Bytes-4 102 1136863 ns/op BenchmarkAppendSliceLarge/1048576Bytes-4 20 5318451 ns/op BenchmarkAppendStr/1Bytes-4 1392624 85.49 ns/op BenchmarkAppendStr/4Bytes-4 1515361 79.43 ns/op BenchmarkAppendStr/8Bytes-4 1478449 81.09 ns/op BenchmarkAppendStr/16Bytes-4 1452061 81.19 ns/op BenchmarkAppendStr/32Bytes-4 1461255 82.24 ns/op BenchmarkAppendSpecialCase-4 763692 154.2 ns/op BenchmarkCopy/1Byte-4 1985511 59.80 ns/op 16.72 MB/s BenchmarkCopy/1String-4 1958943 61.18 ns/op 16.34 MB/s BenchmarkCopy/2Byte-4 1928706 63.85 ns/op 31.32 MB/s BenchmarkCopy/2String-4 1954083 61.29 ns/op 32.63 MB/s BenchmarkCopy/4Byte-4 1894605 62.40 ns/op 64.10 MB/s BenchmarkCopy/4String-4 1971351 61.74 ns/op 64.79 MB/s BenchmarkCopy/8Byte-4 1928992 60.03 ns/op 133.27 MB/s BenchmarkCopy/8String-4 1923625 61.76 ns/op 129.54 MB/s BenchmarkCopy/12Byte-4 1881780 64.70 ns/op 185.48 MB/s BenchmarkCopy/12String-4 1854156 64.41 ns/op 186.29 MB/s BenchmarkCopy/16Byte-4 1918161 62.05 ns/op 257.87 MB/s BenchmarkCopy/16String-4 1896742 61.64 ns/op 259.55 MB/s BenchmarkCopy/32Byte-4 1808388 64.74 ns/op 494.30 MB/s BenchmarkCopy/32String-4 1815212 65.79 ns/op 486.43 MB/s BenchmarkCopy/128Byte-4 1361648 87.77 ns/op 1458.28 MB/s BenchmarkCopy/128String-4 1000000 101.4 ns/op 1262.01 MB/s BenchmarkCopy/1024Byte-4 411998 287.0 ns/op 3567.58 MB/s BenchmarkCopy/1024String-4 353514 336.3 ns/op 3044.85 MB/s BenchmarkAppendInPlace/NoGrow/Byte-4 26844 4159 ns/op BenchmarkAppendInPlace/NoGrow/1Ptr-4 19884 5934 ns/op BenchmarkAppendInPlace/NoGrow/2Ptr-4 12548 9580 ns/op BenchmarkAppendInPlace/NoGrow/3Ptr-4 10000 12124 ns/op BenchmarkAppendInPlace/NoGrow/4Ptr-4 9278 15350 ns/op BenchmarkAppendInPlace/Grow/Byte-4 132936 856.4 ns/op BenchmarkAppendInPlace/Grow/1Ptr-4 133821 838.4 ns/op BenchmarkAppendInPlace/Grow/2Ptr-4 99333 1111 ns/op BenchmarkAppendInPlace/Grow/3Ptr-4 90422 1306 ns/op BenchmarkAppendInPlace/Grow/4Ptr-4 79052 1446 ns/op BenchmarkStackCopyPtr-4 1 173143474 ns/op BenchmarkStackCopy-4 1 116917765 ns/op BenchmarkStackCopyNoCache-4 20 5566575 ns/op BenchmarkStackCopyWithStkobj-4 1 128873121 ns/op BenchmarkIssue18138-4 700 219079 ns/op BenchmarkCompareStringEqual-4 11362662 10.43 ns/op BenchmarkCompareStringIdentical-4 15746553 7.717 ns/op BenchmarkCompareStringSameLength-4 13080759 9.123 ns/op BenchmarkCompareStringDifferentLength-4 18355766 6.406 ns/op BenchmarkCompareStringBigUnaligned-4 1191 100700 ns/op 10412.92 MB/s BenchmarkCompareStringBig-4 1348 89355 ns/op 11734.99 MB/s BenchmarkConcatStringAndBytes-4 2163154 55.03 ns/op BenchmarkSliceByteToString/1-4 2188569 54.26 ns/op BenchmarkSliceByteToString/2-4 1000000 110.8 ns/op BenchmarkSliceByteToString/4-4 1000000 107.7 ns/op BenchmarkSliceByteToString/8-4 1000000 105.4 ns/op BenchmarkSliceByteToString/16-4 1000000 114.0 ns/op BenchmarkSliceByteToString/32-4 1000000 121.3 ns/op BenchmarkSliceByteToString/64-4 993417 153.2 ns/op BenchmarkSliceByteToString/128-4 664089 204.6 ns/op BenchmarkRuneCount/lenruneslice/ASCII-4 2255244 53.15 ns/op BenchmarkRuneCount/lenruneslice/Japanese-4 834273 138.6 ns/op BenchmarkRuneCount/lenruneslice/MixedLength-4 1000000 118.9 ns/op BenchmarkRuneCount/rangeloop/ASCII-4 3420715 35.31 ns/op BenchmarkRuneCount/rangeloop/Japanese-4 1597497 74.27 ns/op BenchmarkRuneCount/rangeloop/MixedLength-4 1850906 64.85 ns/op BenchmarkRuneCount/utf8.RuneCountInString/ASCII-4 2245111 53.13 ns/op BenchmarkRuneCount/utf8.RuneCountInString/Japanese-4 459746 257.8 ns/op BenchmarkRuneCount/utf8.RuneCountInString/MixedLength-4 547701 212.6 ns/op BenchmarkRuneIterate/range/ASCII-4 5677099 20.22 ns/op BenchmarkRuneIterate/range/Japanese-4 2044816 57.68 ns/op BenchmarkRuneIterate/range/MixedLength-4 2251893 51.67 ns/op BenchmarkRuneIterate/range1/ASCII-4 5601160 20.27 ns/op BenchmarkRuneIterate/range1/Japanese-4 2051427 58.07 ns/op BenchmarkRuneIterate/range1/MixedLength-4 2223734 52.81 ns/op BenchmarkRuneIterate/range2/ASCII-4 5643858 20.75 ns/op BenchmarkRuneIterate/range2/Japanese-4 2021613 58.26 ns/op BenchmarkRuneIterate/range2/MixedLength-4 2258612 51.84 ns/op BenchmarkArrayEqual-4 17579676 6.806 ns/op BenchmarkFunc/Name-4 2627444 45.11 ns/op BenchmarkFunc/Entry-4 10187200 11.69 ns/op BenchmarkFunc/FileLine-4 1566871 76.65 ns/op PASS ok runtime 147.883s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: runtime/cgo cpu: AMD EPYC 7B12 BenchmarkHandle/non-concurrent-4 36318 3016 ns/op BenchmarkHandle/concurrent-4 21918 5990 ns/op PASS ok runtime/cgo 1.349s goos: linux goarch: amd64 pkg: runtime/internal/atomic cpu: AMD EPYC 7B12 BenchmarkAtomicLoad64-4 24007393 4.988 ns/op BenchmarkAtomicStore64-4 20168815 5.919 ns/op BenchmarkAtomicLoad-4 23876272 5.010 ns/op BenchmarkAtomicStore-4 23906624 4.987 ns/op BenchmarkAnd8-4 20130478 4.992 ns/op BenchmarkAnd-4 23337812 5.917 ns/op BenchmarkAnd8Parallel-4 3859896 33.39 ns/op BenchmarkAndParallel-4 3734126 33.56 ns/op BenchmarkOr8-4 20236462 5.912 ns/op BenchmarkOr-4 23870288 5.180 ns/op BenchmarkOr8Parallel-4 4192066 29.07 ns/op BenchmarkOrParallel-4 3722242 32.07 ns/op BenchmarkXadd-4 3592130 34.35 ns/op BenchmarkXadd64-4 3825724 30.76 ns/op BenchmarkCas-4 3301939 36.15 ns/op BenchmarkCas64-4 3395379 38.66 ns/op BenchmarkXchg-4 3370292 31.44 ns/op BenchmarkXchg64-4 5039990 26.45 ns/op PASS ok runtime/internal/atomic 3.604s goos: linux goarch: amd64 pkg: runtime/internal/math cpu: AMD EPYC 7B12 BenchmarkMulUintptr/small-4 5254977 21.17 ns/op BenchmarkMulUintptr/large-4 4313888 28.11 ns/op PASS ok runtime/internal/math 1.298s goos: linux goarch: amd64 pkg: runtime/pprof cpu: AMD EPYC 7B12 BenchmarkGoroutine/Profile.WriteTo_idle_50-4 36 4253533 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_50-4 18 9061296 ns/op 792.4 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_50-4 818 127435 ns/op 3.269 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_500-4 15 8508167 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_500-4 6 17696481 ns/op 1400 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_500-4 229 534662 ns/op 38.21 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_5000-4 2 53139942 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_5000-4 2 78229520 ns/op 6197 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_5000-4 25 4465389 ns/op 382.2 concurrent_launches/op PASS ok runtime/pprof 2.746s goos: linux goarch: amd64 pkg: runtime/race cpu: AMD EPYC 7B12 BenchmarkSyncLeak-4 48 2709769 ns/op BenchmarkStackLeak-4 22449 5201 ns/op PASS ok runtime/race 1.444s goos: linux goarch: amd64 pkg: runtime/trace cpu: AMD EPYC 7B12 BenchmarkStartRegion-4 6067282 19.66 ns/op 0 B/op 0 allocs/op BenchmarkNewTask-4 239173 476.7 ns/op 64 B/op 2 allocs/op PASS ok runtime/trace 1.373s goos: linux goarch: amd64 pkg: slices cpu: AMD EPYC 7B12 BenchmarkEqualFunc_Large-4 69 1662605 ns/op BenchmarkIndex_Large-4 30340 3855 ns/op BenchmarkIndexFunc_Large-4 158 634047 ns/op BenchmarkCompact/nil-4 9376354 12.63 ns/op BenchmarkCompact/one-4 2420808 49.37 ns/op BenchmarkCompact/sorted-4 1637391 74.36 ns/op BenchmarkCompact/1_item-4 1438647 82.60 ns/op BenchmarkCompact/unsorted-4 1626382 78.09 ns/op BenchmarkCompact/many-4 855980 131.5 ns/op BenchmarkCompact_Large-4 1562 80622 ns/op BenchmarkCompactFunc_Large-4 86 1194379 ns/op BenchmarkReplace/naive-fast-4 129465 891.6 ns/op BenchmarkReplace/optimized-fast-4 148399 758.3 ns/op BenchmarkReplace/naive-slow-4 46999 2730 ns/op BenchmarkReplace/optimized-slow-4 49524 2074 ns/op BenchmarkSortInts-4 2 80087090 ns/op BenchmarkSlicesSortInts-4 3 45885934 ns/op BenchmarkSlicesSortInts_Sorted-4 76 1743318 ns/op BenchmarkSlicesSortInts_Reversed-4 43 2758592 ns/op BenchmarkSortStrings-4 1 103253544 ns/op BenchmarkSlicesSortStrings-4 2 73213476 ns/op BenchmarkSortStructs-4 1 120521272 ns/op BenchmarkSortFuncStructs-4 1 126387273 ns/op BenchmarkBinarySearchFloats/Size16-4 1551020 77.08 ns/op BenchmarkBinarySearchFloats/Size32-4 1328991 89.34 ns/op BenchmarkBinarySearchFloats/Size64-4 1000000 103.1 ns/op BenchmarkBinarySearchFloats/Size128-4 1000000 113.0 ns/op BenchmarkBinarySearchFloats/Size512-4 755929 136.5 ns/op BenchmarkBinarySearchFloats/Size1024-4 782686 159.0 ns/op BenchmarkBinarySearchFuncStruct/Size16-4 769990 159.3 ns/op BenchmarkBinarySearchFuncStruct/Size32-4 607299 189.0 ns/op BenchmarkBinarySearchFuncStruct/Size64-4 550321 236.1 ns/op BenchmarkBinarySearchFuncStruct/Size128-4 507992 244.5 ns/op BenchmarkBinarySearchFuncStruct/Size512-4 403705 297.3 ns/op BenchmarkBinarySearchFuncStruct/Size1024-4 371994 332.4 ns/op PASS ok slices 15.386s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: sort cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSearchWrappers-4 169291 694.6 ns/op BenchmarkSortString1K-4 164 686034 ns/op BenchmarkSortString1K_Slice-4 196 621226 ns/op BenchmarkStableString1K-4 98 1135484 ns/op BenchmarkSortInt1K-4 212 550294 ns/op BenchmarkSortInt1K_Sorted-4 3223 37647 ns/op BenchmarkSortInt1K_Reversed-4 1905 60388 ns/op BenchmarkSortInt1K_Mod8-4 540 223362 ns/op BenchmarkStableInt1K-4 135 847972 ns/op BenchmarkStableInt1K_Slice-4 158 736998 ns/op BenchmarkSortInt64K-4 2 53248156 ns/op BenchmarkSortInt64K_Slice-4 3 45612842 ns/op BenchmarkStableInt64K-4 2 74073072 ns/op BenchmarkSort1e2-4 423 311483 ns/op BenchmarkStable1e2-4 172 810769 ns/op BenchmarkSort1e4-4 2 52973882 ns/op BenchmarkStable1e4-4 1 234940992 ns/op PASS ok sort 4.643s goos: linux goarch: amd64 pkg: strconv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAtof64Decimal-4 851056 141.5 ns/op BenchmarkAtof64Float-4 737460 161.7 ns/op BenchmarkAtof64FloatExp-4 600920 192.1 ns/op BenchmarkAtof64Big-4 437055 272.5 ns/op BenchmarkAtof64RandomBits-4 413698 280.1 ns/op BenchmarkAtof64RandomFloats-4 435300 268.6 ns/op BenchmarkAtof64RandomLongFloats-4 306908 384.3 ns/op BenchmarkAtof32Decimal-4 823596 141.3 ns/op BenchmarkAtof32Float-4 697046 161.2 ns/op BenchmarkAtof32FloatExp-4 595762 195.8 ns/op BenchmarkAtof32Random-4 352086 332.4 ns/op BenchmarkAtof32RandomLong-4 148065 794.0 ns/op BenchmarkParseInt/Pos/7bit-4 1338834 88.75 ns/op BenchmarkParseInt/Pos/26bit-4 573974 198.9 ns/op BenchmarkParseInt/Pos/31bit-4 528511 212.1 ns/op BenchmarkParseInt/Pos/56bit-4 354354 330.1 ns/op BenchmarkParseInt/Pos/63bit-4 332031 344.2 ns/op BenchmarkParseInt/Neg/7bit-4 1328714 89.74 ns/op BenchmarkParseInt/Neg/26bit-4 566611 201.3 ns/op BenchmarkParseInt/Neg/31bit-4 521394 213.6 ns/op BenchmarkParseInt/Neg/56bit-4 360782 319.8 ns/op BenchmarkParseInt/Neg/63bit-4 343014 341.5 ns/op BenchmarkAtoi/Pos/7bit-4 1959128 60.99 ns/op BenchmarkAtoi/Pos/26bit-4 795601 146.3 ns/op BenchmarkAtoi/Pos/31bit-4 743031 161.7 ns/op BenchmarkAtoi/Pos/56bit-4 415947 276.7 ns/op BenchmarkAtoi/Pos/63bit-4 316843 363.3 ns/op BenchmarkAtoi/Neg/7bit-4 1934373 62.93 ns/op BenchmarkAtoi/Neg/26bit-4 779511 145.7 ns/op BenchmarkAtoi/Neg/31bit-4 695072 163.0 ns/op BenchmarkAtoi/Neg/56bit-4 432422 273.2 ns/op BenchmarkAtoi/Neg/63bit-4 321852 365.4 ns/op BenchmarkFormatFloat/Decimal-4 111064 1091 ns/op BenchmarkFormatFloat/Float-4 100826 1158 ns/op BenchmarkFormatFloat/Exp-4 110606 1079 ns/op BenchmarkFormatFloat/NegExp-4 109597 1084 ns/op BenchmarkFormatFloat/LongExp-4 92622 1277 ns/op BenchmarkFormatFloat/Big-4 90186 1336 ns/op BenchmarkFormatFloat/BinaryExp-4 208635 593.5 ns/op BenchmarkFormatFloat/32Integer-4 113416 1076 ns/op BenchmarkFormatFloat/32ExactFraction-4 113287 1022 ns/op BenchmarkFormatFloat/32Point-4 108709 1113 ns/op BenchmarkFormatFloat/32Exp-4 108566 1070 ns/op BenchmarkFormatFloat/32NegExp-4 113028 1044 ns/op BenchmarkFormatFloat/32Shortest-4 117390 1015 ns/op BenchmarkFormatFloat/32Fixed8Hard-4 134884 901.4 ns/op BenchmarkFormatFloat/32Fixed9Hard-4 132973 935.2 ns/op BenchmarkFormatFloat/64Fixed1-4 144856 815.4 ns/op BenchmarkFormatFloat/64Fixed2-4 143665 815.0 ns/op BenchmarkFormatFloat/64Fixed3-4 150512 790.1 ns/op BenchmarkFormatFloat/64Fixed4-4 144693 789.1 ns/op BenchmarkFormatFloat/64Fixed12-4 85742 1393 ns/op BenchmarkFormatFloat/64Fixed16-4 109924 1091 ns/op BenchmarkFormatFloat/64Fixed12Hard-4 111934 1063 ns/op BenchmarkFormatFloat/64Fixed17Hard-4 104150 1164 ns/op BenchmarkFormatFloat/64Fixed18Hard-4 2155 49511 ns/op BenchmarkFormatFloat/Slowpath64-4 93920 1296 ns/op BenchmarkFormatFloat/SlowpathDenormal64-4 92414 1281 ns/op BenchmarkAppendFloat/Decimal-4 135516 870.7 ns/op BenchmarkAppendFloat/Float-4 120402 973.7 ns/op BenchmarkAppendFloat/Exp-4 137077 882.2 ns/op BenchmarkAppendFloat/NegExp-4 134830 863.7 ns/op BenchmarkAppendFloat/LongExp-4 109734 1065 ns/op BenchmarkAppendFloat/Big-4 105812 1103 ns/op BenchmarkAppendFloat/BinaryExp-4 309939 364.4 ns/op BenchmarkAppendFloat/32Integer-4 136034 871.6 ns/op BenchmarkAppendFloat/32ExactFraction-4 135187 865.1 ns/op BenchmarkAppendFloat/32Point-4 126400 920.5 ns/op BenchmarkAppendFloat/32Exp-4 136243 862.9 ns/op BenchmarkAppendFloat/32NegExp-4 138018 855.7 ns/op BenchmarkAppendFloat/32Shortest-4 152426 771.5 ns/op BenchmarkAppendFloat/32Fixed8Hard-4 171085 680.8 ns/op BenchmarkAppendFloat/32Fixed9Hard-4 164460 703.9 ns/op BenchmarkAppendFloat/64Fixed1-4 190746 612.7 ns/op BenchmarkAppendFloat/64Fixed2-4 190983 611.8 ns/op BenchmarkAppendFloat/64Fixed3-4 193374 615.2 ns/op BenchmarkAppendFloat/64Fixed4-4 193820 611.7 ns/op BenchmarkAppendFloat/64Fixed12-4 102979 1150 ns/op BenchmarkAppendFloat/64Fixed16-4 134774 873.3 ns/op BenchmarkAppendFloat/64Fixed12Hard-4 144976 807.5 ns/op BenchmarkAppendFloat/64Fixed17Hard-4 123657 945.7 ns/op BenchmarkAppendFloat/64Fixed18Hard-4 2380 49111 ns/op BenchmarkAppendFloat/Slowpath64-4 111687 1058 ns/op BenchmarkAppendFloat/SlowpathDenormal64-4 114224 1038 ns/op BenchmarkFormatInt-4 15051 7755 ns/op BenchmarkAppendInt-4 16840 7083 ns/op BenchmarkFormatUint-4 78730 1463 ns/op BenchmarkAppendUint-4 93118 1261 ns/op BenchmarkFormatIntSmall/7-4 2628573 45.39 ns/op BenchmarkFormatIntSmall/42-4 2855110 41.93 ns/op BenchmarkAppendIntSmall-4 1366550 86.41 ns/op BenchmarkAppendUintVarlen/1-4 1294057 92.82 ns/op BenchmarkAppendUintVarlen/12-4 1282194 93.27 ns/op BenchmarkAppendUintVarlen/123-4 898324 123.0 ns/op BenchmarkAppendUintVarlen/1234-4 956949 122.6 ns/op BenchmarkAppendUintVarlen/12345-4 905157 125.2 ns/op BenchmarkAppendUintVarlen/123456-4 911972 125.7 ns/op BenchmarkAppendUintVarlen/1234567-4 884989 128.9 ns/op BenchmarkAppendUintVarlen/12345678-4 916556 128.6 ns/op BenchmarkAppendUintVarlen/123456789-4 827715 133.5 ns/op BenchmarkAppendUintVarlen/1234567890-4 851004 133.4 ns/op BenchmarkAppendUintVarlen/12345678901-4 851671 135.9 ns/op BenchmarkAppendUintVarlen/123456789012-4 847173 136.0 ns/op BenchmarkAppendUintVarlen/1234567890123-4 812616 139.1 ns/op BenchmarkAppendUintVarlen/12345678901234-4 829483 139.2 ns/op BenchmarkAppendUintVarlen/123456789012345-4 761244 142.2 ns/op BenchmarkAppendUintVarlen/1234567890123456-4 793125 141.7 ns/op BenchmarkAppendUintVarlen/12345678901234567-4 789606 146.5 ns/op BenchmarkAppendUintVarlen/123456789012345678-4 778094 147.3 ns/op BenchmarkAppendUintVarlen/1234567890123456789-4 753892 148.9 ns/op BenchmarkAppendUintVarlen/12345678901234567890-4 773746 149.7 ns/op BenchmarkQuote-4 43779 2682 ns/op BenchmarkQuoteRune-4 430136 259.7 ns/op BenchmarkAppendQuote-4 51411 2282 ns/op BenchmarkAppendQuoteRune-4 816762 141.8 ns/op BenchmarkUnquoteEasy-4 1373121 87.81 ns/op BenchmarkUnquoteHard-4 47341 2447 ns/op PASS ok strconv 17.163s goos: linux goarch: amd64 pkg: strings cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkBuildString_Builder/1Write_NoGrow-4 365256 278.0 ns/op 48 B/op 1 allocs/op BenchmarkBuildString_Builder/3Write_NoGrow-4 140320 850.2 ns/op 336 B/op 3 allocs/op BenchmarkBuildString_Builder/3Write_Grow-4 176650 625.9 ns/op 112 B/op 1 allocs/op BenchmarkBuildString_ByteBuffer/1Write_NoGrow-4 272698 413.3 ns/op 112 B/op 2 allocs/op BenchmarkBuildString_ByteBuffer/3Write_NoGrow-4 82270 1291 ns/op 432 B/op 4 allocs/op BenchmarkBuildString_ByteBuffer/3Write_Grow-4 94580 1140 ns/op 336 B/op 3 allocs/op BenchmarkClone-4 613496 179.5 ns/op 48 B/op 1 allocs/op BenchmarkGenericNoMatch-4 21032 5784 ns/op BenchmarkGenericMatch1-4 2088 51825 ns/op BenchmarkGenericMatch2-4 433 275592 ns/op BenchmarkSingleMaxSkipping-4 8307 14407 ns/op 694.10 MB/s BenchmarkSingleLongSuffixFail-4 14114 8440 ns/op 118.72 MB/s BenchmarkSingleMatch-4 247 471441 ns/op 31.82 MB/s BenchmarkByteByteNoMatch-4 73448 1619 ns/op BenchmarkByteByteMatch-4 18733 6300 ns/op BenchmarkByteStringMatch-4 21760 5320 ns/op BenchmarkHTMLEscapeNew-4 71757 1666 ns/op BenchmarkHTMLEscapeOld-4 86132 1328 ns/op BenchmarkByteStringReplacerWriteString-4 1387 79822 ns/op BenchmarkByteReplacerWriteString-4 1569 74811 ns/op BenchmarkByteByteReplaces-4 3595 32800 ns/op BenchmarkByteByteMap-4 9795 11251 ns/op BenchmarkMap/identity/ASCII-4 662907 177.0 ns/op BenchmarkMap/identity/Greek-4 480398 243.5 ns/op BenchmarkMap/change/ASCII-4 39213 3058 ns/op BenchmarkMap/change/Greek-4 29461 4080 ns/op BenchmarkIndexRune-4 2069564 57.32 ns/op BenchmarkIndexRuneLongString-4 1803312 66.59 ns/op BenchmarkIndexRuneFastPath-4 4629170 25.81 ns/op BenchmarkIndex-4 4556866 26.11 ns/op BenchmarkLastIndex-4 5183410 23.08 ns/op BenchmarkIndexByte-4 10334265 11.50 ns/op BenchmarkToUpper/#00-4 3292671 36.23 ns/op BenchmarkToUpper/ONLYUPPER-4 2494790 46.73 ns/op BenchmarkToUpper/abc-4 320577 365.1 ns/op BenchmarkToUpper/AbC123-4 252723 467.4 ns/op BenchmarkToUpper/azAZ09_-4 282498 430.6 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 56308 2141 ns/op BenchmarkToUpper/RENAN_BASTOS_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 72607 1650 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 34692 3451 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 57105 2118 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 122413 948.6 ns/op BenchmarkToLower/#00-4 3229188 37.40 ns/op BenchmarkToLower/abc-4 2827126 41.42 ns/op BenchmarkToLower/AbC123-4 230448 514.0 ns/op BenchmarkToLower/azAZ09_-4 233059 515.2 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 98409 1203 ns/op BenchmarkToLower/renan_bastos_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 64357 1803 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 35589 3407 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 78912 1508 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 120962 989.9 ns/op BenchmarkMapNoChanges-4 934045 119.4 ns/op BenchmarkTrim-4 37866 3104 ns/op 0 B/op 0 allocs/op BenchmarkToValidUTF8/Valid-4 3300963 36.15 ns/op BenchmarkToValidUTF8/InvalidASCII-4 198296 608.3 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 132900 910.7 ns/op BenchmarkEqualFold/Tests-4 53430 2222 ns/op BenchmarkEqualFold/ASCII-4 3745185 32.08 ns/op BenchmarkEqualFold/UnicodePrefix-4 108817 1094 ns/op BenchmarkEqualFold/UnicodeSuffix-4 118112 988.8 ns/op BenchmarkIndexHard1-4 832 143291 ns/op BenchmarkIndexHard2-4 592 199615 ns/op BenchmarkIndexHard3-4 150 795787 ns/op BenchmarkIndexHard4-4 182 651998 ns/op BenchmarkLastIndexHard1-4 58 1977841 ns/op BenchmarkLastIndexHard2-4 60 1980618 ns/op BenchmarkLastIndexHard3-4 58 1986628 ns/op BenchmarkCountHard1-4 840 142084 ns/op BenchmarkCountHard2-4 600 199459 ns/op BenchmarkCountHard3-4 150 796827 ns/op BenchmarkIndexTorture-4 7528 15546 ns/op BenchmarkCountTorture-4 7580 15520 ns/op BenchmarkCountTortureOverlapping-4 634 170417 ns/op BenchmarkCountByte/10-4 4323310 26.60 ns/op 375.91 MB/s BenchmarkCountByte/32-4 4211545 26.89 ns/op 1190.23 MB/s BenchmarkCountByte/4096-4 877443 135.5 ns/op 30218.18 MB/s BenchmarkCountByte/4194304-4 673 169984 ns/op 24674.73 MB/s BenchmarkCountByte/67108864-4 20 5839172 ns/op 11492.87 MB/s BenchmarkFields/ASCII/16-4 290004 415.2 ns/op 38.53 MB/s 16 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 19833 5967 ns/op 42.90 MB/s 416 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 1300 90808 ns/op 45.11 MB/s 6144 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 66 1754364 ns/op 37.36 MB/s 98304 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 4 27670281 ns/op 37.90 MB/s 1507328 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 246117 491.4 ns/op 32.56 MB/s 48 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 10551 11154 ns/op 22.95 MB/s 384 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 529 212819 ns/op 19.25 MB/s 21504 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 28 4193716 ns/op 15.63 MB/s 463107 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 2 88697321 ns/op 11.82 MB/s 10449152 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 250621 473.0 ns/op 33.82 MB/s 16 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 17606 6613 ns/op 38.71 MB/s 416 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 930 119540 ns/op 34.26 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 40 2911634 ns/op 22.51 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 67030380 ns/op 15.64 MB/s 10449152 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 192860 608.7 ns/op 26.29 MB/s 48 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 13617 8518 ns/op 30.05 MB/s 384 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 715 165923 ns/op 24.69 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 34 3487064 ns/op 18.79 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 2 77897788 ns/op 13.46 MB/s 10449152 B/op 24 allocs/op BenchmarkSplitEmptySeparator-4 1 107031475 ns/op BenchmarkSplitSingleByteSeparator-4 14 8154390 ns/op BenchmarkSplitMultiByteSeparator-4 27 3955165 ns/op BenchmarkSplitNSingleByteSeparator-4 211825 515.5 ns/op BenchmarkSplitNMultiByteSeparator-4 160195 685.2 ns/op BenchmarkRepeat/5x0-4 3415210 34.25 ns/op BenchmarkRepeat/5x1-4 3490702 32.04 ns/op BenchmarkRepeat/5x2-4 262666 449.2 ns/op BenchmarkRepeat/5x6-4 157237 745.1 ns/op BenchmarkRepeat/10x0-4 3485554 31.83 ns/op BenchmarkRepeat/10x1-4 3482608 31.74 ns/op BenchmarkRepeat/10x2-4 264205 457.1 ns/op BenchmarkRepeat/10x6-4 160032 761.0 ns/op BenchmarkRepeatLarge/256/1-4 69525 1569 ns/op 163.17 MB/s BenchmarkRepeatLarge/256/16-4 118750 978.5 ns/op 261.61 MB/s BenchmarkRepeatLarge/512/1-4 52058 2059 ns/op 248.72 MB/s BenchmarkRepeatLarge/512/16-4 77266 1372 ns/op 373.31 MB/s BenchmarkRepeatLarge/1024/1-4 45111 2538 ns/op 403.41 MB/s BenchmarkRepeatLarge/1024/16-4 58671 1908 ns/op 536.60 MB/s BenchmarkRepeatLarge/2048/1-4 32888 3597 ns/op 569.41 MB/s BenchmarkRepeatLarge/2048/16-4 37488 2884 ns/op 710.23 MB/s BenchmarkRepeatLarge/4096/1-4 20785 5579 ns/op 734.17 MB/s BenchmarkRepeatLarge/4096/16-4 22558 4790 ns/op 855.16 MB/s BenchmarkRepeatLarge/8192/1-4 12504 9221 ns/op 888.36 MB/s BenchmarkRepeatLarge/8192/16-4 13198 9013 ns/op 908.88 MB/s BenchmarkRepeatLarge/8192/4097-4 5504228 21.41 ns/op 191356.17 MB/s BenchmarkRepeatLarge/16384/1-4 7159 15706 ns/op 1043.15 MB/s BenchmarkRepeatLarge/16384/16-4 7634 15223 ns/op 1076.27 MB/s BenchmarkRepeatLarge/16384/4097-4 9877 11933 ns/op 1029.97 MB/s BenchmarkRepeatLarge/32768/1-4 4164 28857 ns/op 1135.54 MB/s BenchmarkRepeatLarge/32768/16-4 4190 28440 ns/op 1152.18 MB/s BenchmarkRepeatLarge/32768/4097-4 4048 28154 ns/op 1018.65 MB/s BenchmarkRepeatLarge/65536/1-4 1846 56503 ns/op 1159.86 MB/s BenchmarkRepeatLarge/65536/16-4 1891 55059 ns/op 1190.28 MB/s BenchmarkRepeatLarge/65536/4097-4 2234 55542 ns/op 1106.47 MB/s BenchmarkRepeatLarge/131072/1-4 224 510816 ns/op 256.59 MB/s BenchmarkRepeatLarge/131072/16-4 228 513127 ns/op 255.44 MB/s BenchmarkRepeatLarge/131072/4097-4 226 529311 ns/op 239.95 MB/s BenchmarkRepeatLarge/262144/1-4 100 1021536 ns/op 256.62 MB/s BenchmarkRepeatLarge/262144/16-4 100 1029809 ns/op 254.56 MB/s BenchmarkRepeatLarge/262144/4097-4 117 1013209 ns/op 254.75 MB/s BenchmarkRepeatLarge/524288/1-4 61 2027546 ns/op 258.58 MB/s BenchmarkRepeatLarge/524288/16-4 60 2082386 ns/op 251.77 MB/s BenchmarkRepeatLarge/524288/4097-4 61 2040879 ns/op 254.95 MB/s BenchmarkRepeatLarge/1048576/1-4 30 4097717 ns/op 255.89 MB/s BenchmarkRepeatLarge/1048576/16-4 25 4095833 ns/op 256.01 MB/s BenchmarkRepeatLarge/1048576/4097-4 30 4087906 ns/op 255.57 MB/s BenchmarkRepeatLarge/2097152/1-4 14 7922769 ns/op 264.70 MB/s BenchmarkRepeatLarge/2097152/16-4 15 7764538 ns/op 270.09 MB/s BenchmarkRepeatLarge/2097152/4097-4 15 7873076 ns/op 265.91 MB/s BenchmarkRepeatLarge/4194304/1-4 7 15700404 ns/op 267.15 MB/s BenchmarkRepeatLarge/4194304/16-4 7 15595982 ns/op 268.93 MB/s BenchmarkRepeatLarge/4194304/4097-4 7 15781088 ns/op 265.59 MB/s BenchmarkRepeatLarge/8388608/1-4 4 31767214 ns/op 264.06 MB/s BenchmarkRepeatLarge/8388608/16-4 4 31223906 ns/op 268.66 MB/s BenchmarkRepeatLarge/8388608/4097-4 4 31498487 ns/op 266.25 MB/s BenchmarkRepeatLarge/16777216/1-4 2 61640676 ns/op 272.18 MB/s BenchmarkRepeatLarge/16777216/16-4 2 62686839 ns/op 267.64 MB/s BenchmarkRepeatLarge/16777216/4097-4 2 63125627 ns/op 265.78 MB/s BenchmarkRepeatLarge/33554432/1-4 1 122004079 ns/op 275.03 MB/s BenchmarkRepeatLarge/33554432/16-4 1 132711064 ns/op 252.84 MB/s BenchmarkRepeatLarge/33554432/4097-4 1 121183447 ns/op 276.89 MB/s BenchmarkRepeatLarge/67108864/1-4 1 245645358 ns/op 273.19 MB/s BenchmarkRepeatLarge/67108864/16-4 1 236688310 ns/op 283.53 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 236530119 ns/op 283.72 MB/s BenchmarkRepeatLarge/134217728/1-4 1 468413755 ns/op 286.54 MB/s BenchmarkRepeatLarge/134217728/16-4 1 457396815 ns/op 293.44 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 467946116 ns/op 286.82 MB/s BenchmarkRepeatLarge/268435456/1-4 1 936177740 ns/op 286.74 MB/s BenchmarkRepeatLarge/268435456/16-4 1 933973990 ns/op 287.41 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 960805084 ns/op 279.39 MB/s BenchmarkRepeatLarge/536870912/1-4 1 1898595985 ns/op 282.77 MB/s BenchmarkRepeatLarge/536870912/16-4 1 1826103875 ns/op 294.00 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 1840049396 ns/op 291.77 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 3712071068 ns/op 289.26 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 3608518163 ns/op 297.56 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 3671118903 ns/op 292.48 MB/s BenchmarkIndexAnyASCII/1:1-4 2071700 56.71 ns/op BenchmarkIndexAnyASCII/1:2-4 2111522 53.72 ns/op BenchmarkIndexAnyASCII/1:4-4 2149758 54.44 ns/op BenchmarkIndexAnyASCII/1:8-4 2147358 53.02 ns/op BenchmarkIndexAnyASCII/1:16-4 2148319 53.29 ns/op BenchmarkIndexAnyASCII/1:32-4 2094702 54.73 ns/op BenchmarkIndexAnyASCII/1:64-4 2099978 55.06 ns/op BenchmarkIndexAnyASCII/16:1-4 2117716 54.47 ns/op BenchmarkIndexAnyASCII/16:2-4 777048 150.5 ns/op BenchmarkIndexAnyASCII/16:4-4 771624 154.2 ns/op BenchmarkIndexAnyASCII/16:8-4 723908 161.5 ns/op BenchmarkIndexAnyASCII/16:16-4 686858 171.7 ns/op BenchmarkIndexAnyASCII/16:32-4 583824 197.6 ns/op BenchmarkIndexAnyASCII/16:64-4 470474 244.2 ns/op BenchmarkIndexAnyASCII/256:1-4 1898725 60.17 ns/op BenchmarkIndexAnyASCII/256:2-4 73686 1617 ns/op BenchmarkIndexAnyASCII/256:4-4 73983 1616 ns/op BenchmarkIndexAnyASCII/256:8-4 73720 1624 ns/op BenchmarkIndexAnyASCII/256:16-4 72604 1630 ns/op BenchmarkIndexAnyASCII/256:32-4 71988 1659 ns/op BenchmarkIndexAnyASCII/256:64-4 69519 1713 ns/op BenchmarkIndexAnyUTF8/1:1-4 2062773 56.14 ns/op BenchmarkIndexAnyUTF8/1:2-4 2099282 55.58 ns/op BenchmarkIndexAnyUTF8/1:4-4 2082078 55.61 ns/op BenchmarkIndexAnyUTF8/1:8-4 2088304 55.71 ns/op BenchmarkIndexAnyUTF8/1:16-4 2096067 53.45 ns/op BenchmarkIndexAnyUTF8/1:32-4 2048920 54.86 ns/op BenchmarkIndexAnyUTF8/1:64-4 2067366 55.06 ns/op BenchmarkIndexAnyUTF8/16:1-4 1671589 67.95 ns/op BenchmarkIndexAnyUTF8/16:2-4 319378 364.4 ns/op BenchmarkIndexAnyUTF8/16:4-4 325170 357.3 ns/op BenchmarkIndexAnyUTF8/16:8-4 326251 364.3 ns/op BenchmarkIndexAnyUTF8/16:16-4 311251 375.3 ns/op BenchmarkIndexAnyUTF8/16:32-4 314222 367.9 ns/op BenchmarkIndexAnyUTF8/16:64-4 306202 389.3 ns/op BenchmarkIndexAnyUTF8/256:1-4 374554 310.4 ns/op BenchmarkIndexAnyUTF8/256:2-4 24038 4957 ns/op BenchmarkIndexAnyUTF8/256:4-4 24897 4903 ns/op BenchmarkIndexAnyUTF8/256:8-4 24350 4935 ns/op BenchmarkIndexAnyUTF8/256:16-4 23725 5142 ns/op BenchmarkIndexAnyUTF8/256:32-4 23049 5192 ns/op BenchmarkIndexAnyUTF8/256:64-4 22096 5412 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2006158 57.60 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2083280 53.92 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2092452 53.63 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2073687 53.82 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2077026 53.39 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2069864 54.91 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2063163 54.03 ns/op BenchmarkLastIndexAnyASCII/16:1-4 812950 145.7 ns/op BenchmarkLastIndexAnyASCII/16:2-4 806780 145.6 ns/op BenchmarkLastIndexAnyASCII/16:4-4 787934 151.5 ns/op BenchmarkLastIndexAnyASCII/16:8-4 752192 157.9 ns/op BenchmarkLastIndexAnyASCII/16:16-4 711632 168.2 ns/op BenchmarkLastIndexAnyASCII/16:32-4 608838 195.4 ns/op BenchmarkLastIndexAnyASCII/16:64-4 483380 241.9 ns/op BenchmarkLastIndexAnyASCII/256:1-4 78200 1532 ns/op BenchmarkLastIndexAnyASCII/256:2-4 77702 1535 ns/op BenchmarkLastIndexAnyASCII/256:4-4 77554 1544 ns/op BenchmarkLastIndexAnyASCII/256:8-4 77109 1553 ns/op BenchmarkLastIndexAnyASCII/256:16-4 76963 1556 ns/op BenchmarkLastIndexAnyASCII/256:32-4 75441 1582 ns/op BenchmarkLastIndexAnyASCII/256:64-4 73332 1645 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2068968 57.57 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2126089 53.79 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2120454 54.21 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2127064 54.52 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2137768 54.73 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2114768 55.73 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2113356 54.96 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 369606 315.1 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 185294 647.6 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 182320 625.2 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 182179 629.3 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 178353 663.6 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 176294 681.7 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 168628 696.7 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 28089 4205 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 13206 9607 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 12330 9082 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 13099 9144 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 12244 9797 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 10000 10094 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 10000 10287 ns/op BenchmarkTrimASCII/1:1-4 3194835 37.61 ns/op BenchmarkTrimASCII/1:2-4 2463681 47.91 ns/op BenchmarkTrimASCII/1:4-4 2377263 50.08 ns/op BenchmarkTrimASCII/1:8-4 2114665 56.06 ns/op BenchmarkTrimASCII/1:16-4 1741960 67.65 ns/op BenchmarkTrimASCII/16:1-4 2729539 43.79 ns/op BenchmarkTrimASCII/16:2-4 796099 145.9 ns/op BenchmarkTrimASCII/16:4-4 776520 149.0 ns/op BenchmarkTrimASCII/16:8-4 738267 157.0 ns/op BenchmarkTrimASCII/16:16-4 678094 169.1 ns/op BenchmarkTrimASCII/256:1-4 813864 145.6 ns/op BenchmarkTrimASCII/256:2-4 77430 1526 ns/op BenchmarkTrimASCII/256:4-4 77619 1530 ns/op BenchmarkTrimASCII/256:8-4 77274 1540 ns/op BenchmarkTrimASCII/256:16-4 77077 1555 ns/op BenchmarkTrimASCII/4096:1-4 75279 1592 ns/op BenchmarkTrimASCII/4096:2-4 5010 23532 ns/op BenchmarkTrimASCII/4096:4-4 5000 23552 ns/op BenchmarkTrimASCII/4096:8-4 5022 23514 ns/op BenchmarkTrimASCII/4096:16-4 4983 23588 ns/op BenchmarkTrimByte-4 4516893 26.39 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 13317 8958 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 13393 8960 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 1110 107440 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 2216 52748 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 4448 26302 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 7598 14845 ns/op BenchmarkJoin/0-4 4869946 23.04 ns/op 0 B/op 0 allocs/op BenchmarkJoin/1-4 3857547 31.25 ns/op 0 B/op 0 allocs/op BenchmarkJoin/2-4 201532 592.6 ns/op 16 B/op 1 allocs/op BenchmarkJoin/3-4 135346 879.0 ns/op 24 B/op 1 allocs/op BenchmarkJoin/4-4 101232 1197 ns/op 48 B/op 1 allocs/op BenchmarkJoin/5-4 80875 1451 ns/op 48 B/op 1 allocs/op BenchmarkJoin/6-4 72106 1671 ns/op 64 B/op 1 allocs/op BenchmarkJoin/7-4 59156 2013 ns/op 64 B/op 1 allocs/op BenchmarkTrimSpace/NoTrim-4 2648967 45.43 ns/op BenchmarkTrimSpace/ASCII-4 1547738 77.36 ns/op BenchmarkTrimSpace/SomeNonASCII-4 135220 825.5 ns/op BenchmarkTrimSpace/JustNonASCII-4 74673 1563 ns/op BenchmarkReplaceAll-4 118975 979.5 ns/op 16 B/op 1 allocs/op PASS ok strings 67.187s goos: linux goarch: amd64 pkg: sync cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCond1-4 52267 2155 ns/op BenchmarkCond2-4 22861 4411 ns/op BenchmarkCond4-4 16142 7211 ns/op BenchmarkCond8-4 9559 14848 ns/op BenchmarkCond16-4 3946 34186 ns/op BenchmarkCond32-4 1663 80515 ns/op BenchmarkLoadMostlyHits/*sync_test.DeepCopyMap-4 374522 338.6 ns/op BenchmarkLoadMostlyHits/*sync_test.RWMutexMap-4 286514 411.9 ns/op BenchmarkLoadMostlyHits/*sync.Map-4 524029 235.3 ns/op BenchmarkLoadMostlyMisses/*sync_test.DeepCopyMap-4 430214 344.6 ns/op BenchmarkLoadMostlyMisses/*sync_test.RWMutexMap-4 259989 426.3 ns/op BenchmarkLoadMostlyMisses/*sync.Map-4 476858 215.2 ns/op BenchmarkLoadOrStoreBalanced/*sync_test.RWMutexMap-4 72951 1852 ns/op BenchmarkLoadOrStoreBalanced/*sync.Map-4 71224 2066 ns/op BenchmarkLoadOrStoreUnique/*sync_test.RWMutexMap-4 57087 2994 ns/op BenchmarkLoadOrStoreUnique/*sync.Map-4 44002 3171 ns/op BenchmarkLoadOrStoreCollision/*sync_test.DeepCopyMap-4 510541 268.4 ns/op BenchmarkLoadOrStoreCollision/*sync_test.RWMutexMap-4 149018 800.6 ns/op BenchmarkLoadOrStoreCollision/*sync.Map-4 400629 369.4 ns/op BenchmarkLoadAndDeleteBalanced/*sync_test.RWMutexMap-4 139132 967.1 ns/op BenchmarkLoadAndDeleteBalanced/*sync.Map-4 456171 234.9 ns/op BenchmarkLoadAndDeleteUnique/*sync_test.RWMutexMap-4 157574 782.1 ns/op BenchmarkLoadAndDeleteUnique/*sync.Map-4 1628040 62.89 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.DeepCopyMap-4 36721 2974 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.RWMutexMap-4 109332 1197 ns/op BenchmarkLoadAndDeleteCollision/*sync.Map-4 476094 466.5 ns/op BenchmarkRange/*sync_test.DeepCopyMap-4 6488 16023 ns/op BenchmarkRange/*sync_test.RWMutexMap-4 285 385114 ns/op BenchmarkRange/*sync.Map-4 1261 97681 ns/op BenchmarkAdversarialAlloc/*sync_test.DeepCopyMap-4 77094 1355 ns/op BenchmarkAdversarialAlloc/*sync_test.RWMutexMap-4 194996 619.6 ns/op BenchmarkAdversarialAlloc/*sync.Map-4 64165 2066 ns/op BenchmarkAdversarialDelete/*sync_test.DeepCopyMap-4 88651 1179 ns/op BenchmarkAdversarialDelete/*sync_test.RWMutexMap-4 195903 576.3 ns/op BenchmarkAdversarialDelete/*sync.Map-4 121864 1166 ns/op BenchmarkDeleteCollision/*sync_test.DeepCopyMap-4 63973 1731 ns/op BenchmarkDeleteCollision/*sync_test.RWMutexMap-4 137547 813.4 ns/op BenchmarkDeleteCollision/*sync.Map-4 481512 235.9 ns/op BenchmarkSwapCollision/*sync_test.DeepCopyMap-4 38640 2764 ns/op BenchmarkSwapCollision/*sync_test.RWMutexMap-4 125068 983.1 ns/op BenchmarkSwapCollision/*sync.Map-4 66949 1851 ns/op BenchmarkSwapMostlyHits/*sync_test.DeepCopyMap-4 234 489800 ns/op BenchmarkSwapMostlyHits/*sync_test.RWMutexMap-4 98754 1368 ns/op BenchmarkSwapMostlyHits/*sync.Map-4 282364 393.3 ns/op BenchmarkSwapMostlyMisses/*sync_test.DeepCopyMap-4 20911 5978 ns/op BenchmarkSwapMostlyMisses/*sync_test.RWMutexMap-4 48662 2286 ns/op BenchmarkSwapMostlyMisses/*sync.Map-4 20469 6073 ns/op BenchmarkCompareAndSwapCollision/*sync_test.DeepCopyMap-4 343896 404.3 ns/op BenchmarkCompareAndSwapCollision/*sync_test.RWMutexMap-4 72621 1460 ns/op BenchmarkCompareAndSwapCollision/*sync.Map-4 151063 876.7 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.DeepCopyMap-4 1267412 82.04 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.RWMutexMap-4 157112 791.9 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync.Map-4 1968867 70.91 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.DeepCopyMap-4 427064 254.1 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.RWMutexMap-4 135112 878.8 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync.Map-4 444337 260.5 ns/op BenchmarkCompareAndSwapMostlyHits/*sync_test.RWMutexMap-4 75798 1360 ns/op BenchmarkCompareAndSwapMostlyHits/*sync.Map-4 269208 400.5 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.DeepCopyMap-4 379627 293.3 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.RWMutexMap-4 108688 1174 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync.Map-4 492121 249.2 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.DeepCopyMap-4 245493 554.7 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.RWMutexMap-4 92040 1210 ns/op BenchmarkCompareAndDeleteCollision/*sync.Map-4 177908 795.2 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync_test.RWMutexMap-4 51088 2311 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync.Map-4 194996 695.9 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.DeepCopyMap-4 371574 281.7 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.RWMutexMap-4 113256 1070 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync.Map-4 568030 238.8 ns/op BenchmarkUncontendedSemaphore-4 3336712 35.42 ns/op BenchmarkContendedSemaphore-4 3038845 39.09 ns/op BenchmarkMutexUncontended-4 776538 153.8 ns/op BenchmarkMutex-4 147996 943.7 ns/op BenchmarkMutexSlack-4 124573 941.6 ns/op BenchmarkMutexWork-4 106747 1024 ns/op BenchmarkMutexWorkSlack-4 110042 1015 ns/op BenchmarkMutexNoSpin-4 51115 2315 ns/op BenchmarkMutexSpin-4 65432 2009 ns/op BenchmarkOnce-4 623989 239.9 ns/op BenchmarkOnceFunc/v=Once-4 1000000 105.8 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Global-4 842066 130.5 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Local-4 892825 127.3 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Once-4 1000000 111.1 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Global-4 806574 141.9 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Local-4 819326 139.3 ns/op 0 B/op 0 allocs/op BenchmarkSemaUncontended-4 6578538 17.50 ns/op BenchmarkSemaSyntNonblock-4 1000000 100.9 ns/op BenchmarkSemaSyntBlock-4 1000000 110.2 ns/op BenchmarkSemaWorkNonblock-4 1000000 126.5 ns/op BenchmarkSemaWorkBlock-4 888766 148.8 ns/op BenchmarkRWMutexUncontended-4 415204 397.6 ns/op BenchmarkRWMutexWrite100-4 273135 464.5 ns/op BenchmarkRWMutexWrite10-4 221962 523.0 ns/op BenchmarkRWMutexWorkWrite100-4 210475 558.0 ns/op BenchmarkRWMutexWorkWrite10-4 184028 677.8 ns/op BenchmarkWaitGroupUncontended-4 769760 135.8 ns/op BenchmarkWaitGroupAddDone-4 339600 355.3 ns/op BenchmarkWaitGroupAddDoneWork-4 303558 330.3 ns/op BenchmarkWaitGroupWait-4 4382328 28.90 ns/op BenchmarkWaitGroupWaitWork-4 3037000 41.16 ns/op BenchmarkWaitGroupActuallyWait-4 38860 3060 ns/op 32 B/op 2 allocs/op PASS ok sync 19.584s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: sync/atomic cpu: AMD EPYC 7B12 BenchmarkValueRead-4 728035 147.4 ns/op PASS ok sync/atomic 1.122s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. PASS ok syscall 1.018s goos: linux goarch: amd64 pkg: testing cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkTBHelper-4 91910 1268 ns/op 0 B/op 0 allocs/op PASS ok testing 1.150s goos: linux goarch: amd64 pkg: text/tabwriter cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkTable/1x10/new-4 7875 14676 ns/op 1520 B/op 21 allocs/op BenchmarkTable/1x10/reuse-4 11433 10460 ns/op 0 B/op 0 allocs/op BenchmarkTable/1x1000/new-4 92 1231029 ns/op 129393 B/op 1025 allocs/op BenchmarkTable/1x1000/reuse-4 122 970592 ns/op 1060 B/op 8 allocs/op BenchmarkTable/1x100000/new-4 1 179833220 ns/op 19393008 B/op 100057 allocs/op BenchmarkTable/1x100000/reuse-4 1 186213042 ns/op 19393016 B/op 100058 allocs/op BenchmarkTable/10x10/new-4 1740 67038 ns/op 5056 B/op 31 allocs/op BenchmarkTable/10x10/reuse-4 1984 55701 ns/op 2 B/op 0 allocs/op BenchmarkTable/10x1000/new-4 18 6200322 ns/op 413568 B/op 1039 allocs/op BenchmarkTable/10x1000/reuse-4 21 5495933 ns/op 19693 B/op 49 allocs/op BenchmarkTable/10x100000/new-4 1 755087496 ns/op 48120800 B/op 100074 allocs/op BenchmarkTable/10x100000/reuse-4 1 744008565 ns/op 48120704 B/op 100073 allocs/op BenchmarkTable/100x10/new-4 214 567889 ns/op 39296 B/op 41 allocs/op BenchmarkTable/100x10/reuse-4 238 503236 ns/op 165 B/op 0 allocs/op BenchmarkTable/100x1000/new-4 2 63263737 ns/op 3288960 B/op 1053 allocs/op BenchmarkTable/100x1000/reuse-4 2 60369262 ns/op 1644480 B/op 526 allocs/op BenchmarkTable/100x100000/new-4 1 7261694829 ns/op 335150048 B/op 100090 allocs/op BenchmarkTable/100x100000/reuse-4 1 7195574517 ns/op 335150048 B/op 100090 allocs/op BenchmarkPyramid/10-4 2559 44409 ns/op 4872 B/op 35 allocs/op BenchmarkPyramid/100-4 37 3173961 ns/op 409128 B/op 230 allocs/op BenchmarkPyramid/1000-4 1 347308272 ns/op 35625256 B/op 2055 allocs/op BenchmarkRagged/10-4 2259 47280 ns/op 4512 B/op 34 allocs/op BenchmarkRagged/100-4 260 444331 ns/op 41008 B/op 188 allocs/op BenchmarkRagged/1000-4 26 4557029 ns/op 427424 B/op 1661 allocs/op BenchmarkCode-4 7569 15828 ns/op 624 B/op 13 allocs/op PASS ok text/tabwriter 20.756s goos: linux goarch: amd64 pkg: text/template/parse cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkParseLarge-4 2 79129451 ns/op BenchmarkVariableString-4 95778 1209 ns/op 80 B/op 3 allocs/op BenchmarkListString-4 1969 57227 ns/op 2496 B/op 39 allocs/op PASS ok text/template/parse 1.520s goos: linux goarch: amd64 pkg: time cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAfterFunc-4 28 4236495 ns/op BenchmarkAfter-4 72 1411023 ns/op BenchmarkStop-4 146 731985 ns/op BenchmarkSimultaneousAfterFunc-4 18 5919523 ns/op BenchmarkStartStop-4 183 645168 ns/op BenchmarkReset-4 2599 51911 ns/op BenchmarkSleep-4 33 3614532 ns/op BenchmarkParallelTimerLatency-4 45 260825 avg-late-ns 3099062 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=1-4 37 354165 avg-late-ns 1112312 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=2-4 32 343529 avg-late-ns 1328326 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=3-4 34 386624 avg-late-ns 1483351 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=4-4 33 346470 avg-late-ns 1354605 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=5-4 31 330994 avg-late-ns 1775451 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=6-4 32 281557 avg-late-ns 1734495 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=7-4 28 194806 avg-late-ns 1365008 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=8-4 27 154397 avg-late-ns 1485691 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=9-4 25 193297 avg-late-ns 1535099 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=10-4 26 1206750 avg-late-ns 5529920 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=2ms/tickers-per-P=1-4 34 323733 avg-late-ns 1034412 max-late-ns BenchmarkTicker-4 378 383552 ns/op BenchmarkTickerReset-4 3038 35226 ns/op BenchmarkTickerResetNaive-4 168 630372 ns/op BenchmarkNow-4 1000000 102.1 ns/op BenchmarkNowUnixNano-4 1000000 102.3 ns/op BenchmarkNowUnixMilli-4 1000000 102.8 ns/op BenchmarkNowUnixMicro-4 1000000 102.7 ns/op BenchmarkFormat-4 59088 2022 ns/op BenchmarkFormatRFC3339-4 79338 1501 ns/op BenchmarkFormatRFC3339Nano-4 77958 1528 ns/op BenchmarkFormatNow-4 79437 1467 ns/op BenchmarkMarshalJSON-4 108148 1187 ns/op BenchmarkMarshalText-4 108420 1105 ns/op BenchmarkParse-4 139903 833.2 ns/op BenchmarkParseRFC3339UTC-4 338671 356.0 ns/op BenchmarkParseRFC3339UTCBytes-4 215461 545.9 ns/op BenchmarkParseRFC3339TZ-4 102418 1164 ns/op BenchmarkParseRFC3339TZBytes-4 79191 1530 ns/op BenchmarkParseDuration-4 531266 224.6 ns/op BenchmarkHour-4 823904 137.5 ns/op BenchmarkSecond-4 857655 136.4 ns/op BenchmarkYear-4 646431 180.1 ns/op BenchmarkDay-4 602046 198.8 ns/op BenchmarkISOWeek-4 607881 187.8 ns/op BenchmarkGoString-4 79249 1535 ns/op BenchmarkUnmarshalText-4 68682 1742 ns/op PASS ok time 12.432s goos: linux goarch: amd64 pkg: unicode/utf16 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecodeValidASCII-4 605307 176.5 ns/op BenchmarkDecodeValidJapaneseChars-4 722791 150.9 ns/op BenchmarkDecodeRune-4 1668348 71.35 ns/op BenchmarkEncodeValidASCII-4 544599 200.5 ns/op BenchmarkEncodeValidJapaneseChars-4 811498 142.6 ns/op BenchmarkAppendRuneValidASCII-4 1599154 75.41 ns/op BenchmarkAppendRuneValidJapaneseChars-4 2385157 49.78 ns/op BenchmarkEncodeRune-4 2893111 40.25 ns/op PASS ok unicode/utf16 2.203s goos: linux goarch: amd64 pkg: unicode/utf8 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRuneCountTenASCIIChars-4 839379 142.7 ns/op BenchmarkRuneCountTenJapaneseChars-4 167947 679.6 ns/op BenchmarkRuneCountInStringTenASCIIChars-4 3637338 32.45 ns/op BenchmarkRuneCountInStringTenJapaneseChars-4 411692 282.4 ns/op BenchmarkValidTenASCIIChars-4 851421 137.1 ns/op BenchmarkValid100KASCIIChars-4 91 1298685 ns/op BenchmarkValidTenJapaneseChars-4 152954 763.6 ns/op BenchmarkValidLongMostlyASCII-4 85 1403405 ns/op BenchmarkValidLongJapanese-4 46 2228621 ns/op BenchmarkValidStringTenASCIIChars-4 4456874 27.13 ns/op BenchmarkValidString100KASCIIChars-4 9285 12669 ns/op BenchmarkValidStringTenJapaneseChars-4 401594 263.1 ns/op BenchmarkValidStringLongMostlyASCII-4 1222 98445 ns/op BenchmarkValidStringLongJapanese-4 153 780151 ns/op BenchmarkEncodeASCIIRune-4 4359558 27.31 ns/op BenchmarkEncodeJapaneseRune-4 2478471 48.41 ns/op BenchmarkAppendASCIIRune-4 8730544 13.00 ns/op BenchmarkAppendJapaneseRune-4 2873004 41.68 ns/op BenchmarkDecodeASCIIRune-4 2847028 41.23 ns/op BenchmarkDecodeJapaneseRune-4 1927431 61.88 ns/op BenchmarkFullRune/ASCII-4 3372901 35.62 ns/op BenchmarkFullRune/Incomplete-4 1557672 77.30 ns/op BenchmarkFullRune/Japanese-4 3466323 34.47 ns/op PASS ok unicode/utf8 4.612s goos: linux goarch: amd64 pkg: cmd/api cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAll-4 1 75022507936 ns/op PASS ok cmd/api 76.230s goos: linux goarch: amd64 pkg: cmd/cgo/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCgoCall/add-int-4 396067 301.3 ns/op BenchmarkCgoCall/one-pointer-4 296487 382.2 ns/op BenchmarkCgoCall/eight-pointers-4 172750 685.5 ns/op BenchmarkCgoCall/eight-pointers-nil-4 324813 372.8 ns/op BenchmarkCgoCall/eight-pointers-array-4 15216 7187 ns/op BenchmarkCgoCall/eight-pointers-slice-4 31850 3687 ns/op BenchmarkGoString-4 890527 116.6 ns/op BenchmarkCGoCallback-4 41529 2570 ns/op BenchmarkCGoInCThread-4 274674 406.7 ns/op PASS ok cmd/cgo/internal/test 2.309s goos: linux goarch: amd64 pkg: cmd/compile/internal/reflectdata cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEqArrayOfStrings5-4 1209218 99.45 ns/op BenchmarkEqArrayOfStrings64-4 150154 775.8 ns/op BenchmarkEqArrayOfStrings1024-4 10000 11152 ns/op BenchmarkEqArrayOfFloats5-4 1398098 83.35 ns/op BenchmarkEqArrayOfFloats64-4 149967 799.8 ns/op BenchmarkEqArrayOfFloats1024-4 9068 12930 ns/op BenchmarkEqArrayOfStructsEq-4 2788 42503 ns/op BenchmarkEqArrayOfStructsNotEq-4 4947 23436 ns/op BenchmarkEqStruct-4 17592008 6.784 ns/op PASS ok cmd/compile/internal/reflectdata 2.303s goos: linux goarch: amd64 pkg: cmd/compile/internal/ssa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPhioptPass-4 10000 60694 ns/op BenchmarkCopyElim1-4 681 170724 ns/op BenchmarkCopyElim10-4 639 179340 ns/op BenchmarkCopyElim100-4 327 350097 ns/op BenchmarkCopyElim1000-4 54 2184810 ns/op BenchmarkCopyElim10000-4 3 44443025 ns/op BenchmarkCopyElim100000-4 1 718499289 ns/op BenchmarkDeadCode/1-4 494 204606 ns/op BenchmarkDeadCode/10-4 465 259349 ns/op BenchmarkDeadCode/100-4 210 545514 ns/op BenchmarkDeadCode/1000-4 48 2878201 ns/op BenchmarkDeadCode/10000-4 3 38060185 ns/op BenchmarkDeadCode/100000-4 1 452922925 ns/op BenchmarkDeadCode/200000-4 1 948929024 ns/op BenchmarkDominatorsLinear-4 10 11476298 ns/op 0.87 MB/s BenchmarkDominatorsFwdBack-4 7 17358509 ns/op 0.58 MB/s BenchmarkDominatorsManyPred-4 8 15603344 ns/op 0.64 MB/s BenchmarkDominatorsMaxPred-4 7 15276273 ns/op 0.65 MB/s BenchmarkDominatorsMaxPredVal-4 8 15871155 ns/op 0.63 MB/s BenchmarkFuse/1-4 435 236332 ns/op BenchmarkFuse/10-4 444 283339 ns/op BenchmarkFuse/100-4 135 875784 ns/op BenchmarkFuse/1000-4 19 6502846 ns/op BenchmarkFuse/10000-4 2 86928122 ns/op BenchmarkNilCheckDeep1-4 12403 9944 ns/op 0.10 MB/s 234 B/op 4 allocs/op BenchmarkNilCheckDeep10-4 4993 22493 ns/op 0.44 MB/s 238 B/op 4 allocs/op BenchmarkNilCheckDeep100-4 771 155625 ns/op 0.64 MB/s 657 B/op 4 allocs/op BenchmarkNilCheckDeep1000-4 69 1496294 ns/op 0.67 MB/s 4522 B/op 4 allocs/op BenchmarkNilCheckDeep10000-4 6 19463300 ns/op 0.51 MB/s 125977 B/op 7 allocs/op BenchmarkDSEPass-4 31 3742067 ns/op 53082 B/op 7 allocs/op BenchmarkDSEPassBlock-4 1 121059415 ns/op 4245648 B/op 108243 allocs/op BenchmarkCSEPass-4 7 16035776 ns/op 131531 B/op 9 allocs/op BenchmarkCSEPassBlock-4 1 155564080 ns/op 5699824 B/op 97716 allocs/op BenchmarkDeadcodePass-4 165 689247 ns/op 99006 B/op 3 allocs/op BenchmarkDeadcodePassBlock-4 1 132181036 ns/op 4065336 B/op 45157 allocs/op BenchmarkMultiPass-4 63 1742500 ns/op 240144 B/op 11 allocs/op BenchmarkMultiPassBlock-4 1 271418369 ns/op 11188840 B/op 149662 allocs/op BenchmarkCondRewrite/SoloJump-4 3168948 38.15 ns/op BenchmarkCondRewrite/CombJump-4 2800164 42.96 ns/op PASS ok cmd/compile/internal/ssa 16.345s goos: linux goarch: amd64 pkg: cmd/compile/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLoadAdd-4 11227 10712 ns/op BenchmarkExtShift-4 16682 7173 ns/op BenchmarkModify-4 9589 11934 ns/op BenchmarkMullImm-4 17708 6792 ns/op BenchmarkConstModify-4 9610 12048 ns/op BenchmarkBitSet-4 21062 5628 ns/op BenchmarkBitClear-4 21210 5663 ns/op BenchmarkBitToggle-4 21044 5619 ns/op BenchmarkBitSetConst-4 166011 666.5 ns/op BenchmarkBitClearConst-4 163683 707.9 ns/op BenchmarkBitToggleConst-4 165835 667.1 ns/op BenchmarkDivconstI64-4 10722507 11.23 ns/op BenchmarkModconstI64-4 8293495 12.32 ns/op BenchmarkDivisiblePow2constI64-4 10675561 11.26 ns/op BenchmarkDivisibleconstI64-4 10855459 11.01 ns/op BenchmarkDivisibleWDivconstI64-4 6932554 17.26 ns/op BenchmarkDivconstU64/3-4 10921318 10.94 ns/op BenchmarkDivconstU64/5-4 10299075 11.62 ns/op BenchmarkDivconstU64/37-4 10909396 10.92 ns/op BenchmarkDivconstU64/1234567-4 10516657 11.31 ns/op BenchmarkModconstU64-4 11339304 10.57 ns/op BenchmarkDivisibleconstU64-4 10724428 11.21 ns/op BenchmarkDivisibleWDivconstU64-4 6901449 17.34 ns/op BenchmarkDivconstI32-4 10341296 11.66 ns/op BenchmarkModconstI32-4 8773638 11.41 ns/op BenchmarkDivisiblePow2constI32-4 10791992 11.16 ns/op BenchmarkDivisibleconstI32-4 10810100 11.27 ns/op BenchmarkDivisibleWDivconstI32-4 6869714 16.99 ns/op BenchmarkDivconstU32-4 10669959 11.19 ns/op BenchmarkModconstU32-4 8461614 12.29 ns/op BenchmarkDivisibleconstU32-4 10793276 11.06 ns/op BenchmarkDivisibleWDivconstU32-4 7459434 16.15 ns/op BenchmarkDivconstI16-4 10574991 11.38 ns/op BenchmarkModconstI16-4 8421782 11.93 ns/op BenchmarkDivisiblePow2constI16-4 10878512 11.11 ns/op BenchmarkDivisibleconstI16-4 10888094 11.09 ns/op BenchmarkDivisibleWDivconstI16-4 7003725 17.04 ns/op BenchmarkDivconstU16-4 10546388 11.37 ns/op BenchmarkModconstU16-4 10762258 11.17 ns/op BenchmarkDivisibleconstU16-4 9414847 12.02 ns/op BenchmarkDivisibleWDivconstU16-4 7568515 15.81 ns/op BenchmarkDivconstI8-4 10872547 11.02 ns/op BenchmarkModconstI8-4 8628792 11.98 ns/op BenchmarkDivisiblePow2constI8-4 9296064 10.84 ns/op BenchmarkDivisibleconstI8-4 10907088 11.06 ns/op BenchmarkDivisibleWDivconstI8-4 7226396 16.28 ns/op BenchmarkDivconstU8-4 10554493 11.34 ns/op BenchmarkModconstU8-4 10688331 11.18 ns/op BenchmarkDivisibleconstU8-4 9333385 11.33 ns/op BenchmarkDivisibleWDivconstU8-4 7416688 16.15 ns/op BenchmarkMul2-4 165297 732.8 ns/op BenchmarkMulNeg2-4 162867 735.2 ns/op BenchmarkEfaceInteger-4 4191505 28.53 ns/op BenchmarkDiv64UnsignedSmall-4 6882048 15.75 ns/op BenchmarkDiv64Small-4 6053706 17.97 ns/op BenchmarkDiv64SmallNegDivisor-4 5807509 18.36 ns/op BenchmarkDiv64SmallNegDividend-4 6157874 17.74 ns/op BenchmarkDiv64SmallNegBoth-4 6125830 18.25 ns/op BenchmarkDiv64Unsigned-4 6549792 16.22 ns/op BenchmarkDiv64-4 6108118 19.04 ns/op BenchmarkDiv64NegDivisor-4 6053978 18.53 ns/op BenchmarkDiv64NegDividend-4 6025096 18.52 ns/op BenchmarkDiv64NegBoth-4 6087522 18.37 ns/op BenchmarkMod64UnsignedSmall-4 7060090 15.60 ns/op BenchmarkMod64Small-4 6062737 17.53 ns/op BenchmarkMod64SmallNegDivisor-4 5972389 18.56 ns/op BenchmarkMod64SmallNegDividend-4 5974248 17.34 ns/op BenchmarkMod64SmallNegBoth-4 6038791 17.47 ns/op BenchmarkMod64Unsigned-4 6939688 15.70 ns/op BenchmarkMod64-4 6226747 17.86 ns/op BenchmarkMod64NegDivisor-4 6064396 17.81 ns/op BenchmarkMod64NegDividend-4 5933077 17.95 ns/op BenchmarkMod64NegBoth-4 6205302 17.92 ns/op BenchmarkMulconstI32/3-4 22553889 5.335 ns/op BenchmarkMulconstI32/5-4 22744509 5.328 ns/op BenchmarkMulconstI32/12-4 21003726 5.707 ns/op BenchmarkMulconstI32/120-4 22517446 5.311 ns/op BenchmarkMulconstI32/-120-4 22569210 5.315 ns/op BenchmarkMulconstI32/65537-4 21099619 5.683 ns/op BenchmarkMulconstI32/65538-4 21109304 5.678 ns/op BenchmarkMulconstI64/3-4 22504206 5.340 ns/op BenchmarkMulconstI64/5-4 22637208 5.318 ns/op BenchmarkMulconstI64/12-4 20989066 5.721 ns/op BenchmarkMulconstI64/120-4 22578002 5.310 ns/op BenchmarkMulconstI64/-120-4 22620033 5.288 ns/op BenchmarkMulconstI64/65537-4 21101275 5.678 ns/op BenchmarkMulconstI64/65538-4 21141607 5.662 ns/op BenchmarkMulconstU32/3-4 22423971 5.316 ns/op BenchmarkMulconstU32/5-4 21037712 5.671 ns/op BenchmarkMulconstU32/12-4 21043030 5.695 ns/op BenchmarkMulconstU32/120-4 22487498 5.297 ns/op BenchmarkMulconstU32/65537-4 21003906 5.702 ns/op BenchmarkMulconstU32/65538-4 20993196 5.683 ns/op BenchmarkMulconstU64/3-4 22538804 5.287 ns/op BenchmarkMulconstU64/5-4 22641079 5.321 ns/op BenchmarkMulconstU64/12-4 21045626 5.706 ns/op BenchmarkMulconstU64/120-4 22677514 5.310 ns/op BenchmarkMulconstU64/65537-4 21106038 5.695 ns/op BenchmarkMulconstU64/65538-4 21055243 5.678 ns/op BenchmarkShiftArithmeticRight-4 20616240 5.760 ns/op BenchmarkSwitch8Predictable-4 13379526 9.009 ns/op BenchmarkSwitch8Unpredictable-4 5356610 21.36 ns/op BenchmarkSwitch32Predictable-4 8463762 14.19 ns/op BenchmarkSwitch32Unpredictable-4 5654029 21.22 ns/op BenchmarkSwitchStringPredictable-4 7770826 15.95 ns/op BenchmarkSwitchStringUnpredictable-4 4271414 28.01 ns/op PASS ok cmd/compile/internal/test 20.557s goos: linux goarch: amd64 pkg: cmd/compile/internal/types2 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLookupFieldOrMethod-4 123 971671 ns/op BenchmarkNamed/Underlying/nongeneric-4 880450 135.1 ns/op BenchmarkNamed/Underlying/generic-4 889436 133.9 ns/op BenchmarkNamed/Underlying/src_instance-4 876576 134.8 ns/op BenchmarkNamed/Underlying/user_instance-4 866700 134.2 ns/op BenchmarkCheck/http/funcbodies/info-4 1 576452092 ns/op 53067 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 371052692 ns/op 82436 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 179869925 ns/op 170009 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 149030939 ns/op 205145 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 421815666 ns/op 12288 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 2 93716905 ns/op 55293 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 3 37759215 ns/op 137235 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 3 35802536 ns/op 144701 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 144503757 ns/op 15011 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 3 43681888 ns/op 49658 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 5 22383816 ns/op 96904 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 5 21510812 ns/op 100846 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1212201661 ns/op 53878 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 646235802 ns/op 101059 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 175121897 ns/op 372793 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 123631062 ns/op 527880 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 426284349 ns/op 4696 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 69381694 ns/op 28841 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 3 40776209 ns/op 49067 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 3 40885939 ns/op 48937 lines/s PASS ok cmd/compile/internal/types2 17.320s goos: linux goarch: amd64 pkg: cmd/go cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExecGoEnv-4 140 876582 ns/op 1960957 sys-ns/op 1311593 user-ns/op PASS ok cmd/go 1.215s goos: linux goarch: amd64 pkg: cmd/internal/notsha256 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 66592 1730 ns/op 4.63 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 77605 1508 ns/op 5.31 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 14322 8336 ns/op 122.85 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 14750 8108 ns/op 126.29 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 2196 53788 ns/op 152.30 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 2223 53694 ns/op 152.57 MB/s 0 B/op 0 allocs/op PASS ok cmd/internal/notsha256 1.957s All tests passed.