linux-amd64-race at 558301a5cb8c87dab8a82db096b4ed5c12610a7d :: 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-rnaabf1bc" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=3s" "GO_STAGE0_DL_DELAY=200ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-race" "GO_DISABLE_OUTBOUND_NETWORK=1" "GOBIN=" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache" "GOPLSCACHE=/workdir/goplscache" "PWD=/workdir/go/src"] in dir /workdir/go/src Building Go cmd/dist using /workdir/go1.4. (go1.17.13 linux/amd64) Building Go toolchain1 using /workdir/go1.4. Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. Building Go toolchain2 using go_bootstrap and Go toolchain1. Building Go toolchain3 using go_bootstrap and Go toolchain2. Building packages and commands for linux/amd64. --- Installed Go for linux/amd64 in /workdir/go Installed commands in /workdir/go/bin *** You need to add /workdir/go/bin to your PATH. :: Running /workdir/go/bin/go with args ["/workdir/go/bin/go" "install" "-race" "std"] and env ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "HOSTNAME=buildlet-linux-amd64-bullseye-rnaabf1bc" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=3s" "GO_STAGE0_DL_DELAY=200ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-race" "GO_DISABLE_OUTBOUND_NETWORK=1" "GOBIN=" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache" "GOPLSCACHE=/workdir/goplscache" "PWD=/workdir/go/bin"] in dir /workdir/go/bin ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Testing packages. ok archive/tar 1.780s ok archive/zip 2.590s ok bufio 1.225s ok bytes 2.600s ok cmp 1.012s ok compress/bzip2 1.302s ok compress/flate 5.496s ok compress/gzip 9.906s ok compress/lzw 1.397s ok compress/zlib 4.494s ok container/heap 1.013s ok container/list 1.010s ok container/ring 1.011s ok context 1.030s ok crypto 1.012s ok crypto/aes 1.036s ok crypto/cipher 1.030s ok crypto/des 1.030s ok crypto/dsa 1.011s ok crypto/ecdh 1.157s ok crypto/ecdsa 1.093s ok crypto/ed25519 1.278s ok crypto/elliptic 1.024s ok crypto/hmac 1.011s ok crypto/internal/alias 1.009s ok crypto/internal/bigmod 3.374s ok crypto/internal/boring 1.010s ok crypto/internal/boring/bcache 1.299s ok crypto/internal/edwards25519 27.636s ok crypto/internal/edwards25519/field 10.031s ok crypto/internal/nistec 1.626s ok crypto/internal/nistec/fiat 1.009s [no tests to run] ok crypto/md5 1.015s ok crypto/rand 1.178s ok crypto/rc4 1.326s ok crypto/rsa 2.252s ok crypto/sha1 1.025s ok crypto/sha256 1.013s ok crypto/sha512 1.013s ok crypto/subtle 1.251s ok crypto/tls 3.016s ok crypto/x509 2.019s ok database/sql 1.297s ok database/sql/driver 1.009s ok debug/buildinfo 1.021s ok debug/dwarf 1.047s ok debug/elf 1.840s ok debug/gosym 1.196s ok debug/macho 1.019s ok debug/pe 1.029s ok debug/plan9obj 1.009s ok embed 1.010s [no tests to run] ok embed/internal/embedtest 1.010s ok encoding/ascii85 1.015s ok encoding/asn1 1.012s ok encoding/base32 1.036s ok encoding/base64 1.014s ok encoding/binary 1.016s ok encoding/csv 1.035s ok encoding/gob 16.029s ok encoding/hex 1.014s ok encoding/json 1.832s ok encoding/pem 2.221s ok encoding/xml 1.114s ok errors 1.015s ok expvar 1.010s ok flag 3.055s ok fmt 1.430s ok go/ast 1.015s ok go/build 3.970s ok go/build/constraint 1.014s ok go/constant 1.015s ok go/doc 1.161s ok go/doc/comment 2.385s ok go/format 1.031s ok go/importer 1.115s ok go/internal/gccgoimporter 1.029s ok go/internal/gcimporter 1.719s ok go/internal/srcimporter 10.090s ok go/parser 1.579s ok go/printer 1.907s ok go/scanner 1.014s ok go/token 1.079s ok go/types 22.617s ok hash 1.012s ok hash/adler32 1.026s ok hash/crc32 1.032s ok hash/crc64 1.017s ok hash/fnv 1.010s ok hash/maphash 1.010s ok html 1.010s ok html/template 1.146s ok image 1.306s ok image/color 1.023s ok image/draw 1.394s ok image/gif 1.612s ok image/jpeg 1.893s ok image/png 3.028s ok index/suffixarray 1.747s ok internal/abi 1.034s ok internal/buildcfg 1.010s ok internal/coverage/cformat 1.010s ok internal/coverage/cmerge 1.009s ok internal/coverage/pods 1.010s ok internal/coverage/slicereader 1.009s ok internal/coverage/slicewriter 1.010s ok internal/coverage/test 1.029s ok internal/cpu 3.026s ok internal/dag 1.010s ok internal/diff 1.010s ok internal/fmtsort 1.010s ok internal/fuzz 1.023s ok internal/godebug 13.472s ok internal/godebugs 1.010s ok internal/intern 1.193s ok internal/itoa 1.010s ok internal/poll 1.346s ok internal/profile 1.010s ok internal/reflectlite 1.011s ok internal/safefilepath 1.009s ok internal/saferio 1.223s ok internal/singleflight 1.082s ok internal/testenv 1.094s ok internal/trace 1.116s ok internal/types/errors 1.226s ok internal/unsafeheader 1.009s ok internal/xcoff 1.019s ok internal/zstd 1.012s ok io 1.039s ok io/fs 1.193s ok io/ioutil 1.013s ok log 1.017s ok log/slog 1.026s ok log/slog/internal/benchmarks 1.009s ok log/slog/internal/buffer 1.009s ok log/syslog 2.223s ok maps 1.010s ok math 1.017s ok math/big 3.056s ok math/bits 1.015s ok math/cmplx 1.009s ok math/rand 3.559s ok mime 1.025s ok mime/multipart 4.280s ok mime/quotedprintable 1.039s ok net 39.732s ok net/http 6.528s ok net/http/cgi 12.266s ok net/http/cookiejar 1.016s ok net/http/fcgi 1.115s ok net/http/httptest 1.140s ok net/http/httptrace 1.009s ok net/http/httputil 1.611s ok net/http/internal 1.012s ok net/http/internal/ascii 1.009s ok net/http/pprof 6.148s ok net/internal/socktest 1.010s ok net/mail 1.015s ok net/netip 1.231s ok net/rpc 1.039s ok net/rpc/jsonrpc 1.015s ok net/smtp 1.048s ok net/textproto 1.026s ok net/url 1.017s ok os 6.243s ok os/exec 4.062s ok os/exec/internal/fdtest 1.009s ok os/signal 16.936s ok os/user 1.011s ok path 1.013s ok path/filepath 1.038s ok plugin 1.010s ok reflect 1.472s ok regexp 3.001s ok regexp/syntax 4.037s ok runtime 27.346s ok runtime/cgo 1.010s ok runtime/coverage 1.013s ok runtime/debug 2.063s ok runtime/internal/atomic 1.047s ok runtime/internal/math 1.010s ok runtime/internal/sys 1.011s ok runtime/internal/syscall 1.009s ok runtime/metrics 1.017s ok runtime/pprof 17.582s ok runtime/race 9.108s ok runtime/trace 3.358s ok slices 1.296s ok sort 1.315s ok strconv 2.577s ok strings 2.007s ok sync 1.312s ok sync/atomic 2.241s ok syscall 11.074s ok testing 2.852s ok testing/fstest 1.013s ok testing/iotest 1.011s ok testing/quick 1.114s ok testing/slogtest 1.016s ok text/scanner 1.018s ok text/tabwriter 1.013s ok text/template 1.053s ok text/template/parse 1.019s ok time 2.973s ok unicode 1.014s ok unicode/utf16 1.010s ok unicode/utf8 1.018s ok cmd/addr2line 3.846s ok cmd/api 9.416s ok cmd/asm/internal/asm 3.396s ok cmd/asm/internal/lex 1.011s ok cmd/cgo/internal/swig 1.431s ok cmd/cgo/internal/test 2.032s ok cmd/cgo/internal/testcarchive 15.872s ok cmd/cgo/internal/testcshared 3.895s ok cmd/cgo/internal/testerrors 6.942s ok cmd/cgo/internal/testfortran 1.804s ok cmd/cgo/internal/testgodefs 1.374s ok cmd/cgo/internal/testlife 1.364s ok cmd/cgo/internal/testnocgo 1.009s ok cmd/cgo/internal/testplugin 19.316s ok cmd/cgo/internal/testsanitizers 12.608s ok cmd/cgo/internal/testshared 25.436s ok cmd/cgo/internal/testso 1.859s ok cmd/cgo/internal/teststdio 1.782s ok cmd/cgo/internal/testtls 1.009s ok cmd/compile/internal/abt 1.030s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/amd64 56.554s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/base 1.011s ok cmd/compile/internal/compare 1.011s ok cmd/compile/internal/dwarfgen 1.294s ok cmd/compile/internal/importer 1.510s ok cmd/compile/internal/ir 1.010s ok cmd/compile/internal/logopt 1.140s ok cmd/compile/internal/loopvar 17.384s ok cmd/compile/internal/noder 1.012s ok cmd/compile/internal/reflectdata 1.009s [no tests to run] ok cmd/compile/internal/ssa 17.609s ok cmd/compile/internal/syntax 1.095s ok cmd/compile/internal/test 8.997s ok cmd/compile/internal/typecheck 1.140s ok cmd/compile/internal/types 1.009s ok cmd/compile/internal/types2 6.015s ok cmd/covdata 1.012s ok cmd/cover 14.511s ok cmd/dist 1.010s ok cmd/distpack 1.009s ok cmd/doc 1.448s ok cmd/fix 1.450s ##### 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 210.045s ##### 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.011s ok cmd/go/internal/cache 1.060s ok cmd/go/internal/envcmd 1.022s ok cmd/go/internal/fsys 1.027s ok cmd/go/internal/generate 1.017s ok cmd/go/internal/get 1.016s ok cmd/go/internal/gover 1.013s ok cmd/go/internal/imports 1.017s ok cmd/go/internal/load 1.014s ok cmd/go/internal/lockedfile 2.097s ok cmd/go/internal/lockedfile/internal/filelock 2.040s ok cmd/go/internal/modconv 1.020s ok cmd/go/internal/modfetch 1.017s ok cmd/go/internal/modfetch/codehost 1.264s ok cmd/go/internal/modfetch/zip_sum_test 1.011s ok cmd/go/internal/modindex 1.380s ok cmd/go/internal/modload 1.017s ok cmd/go/internal/mvs 1.025s ok cmd/go/internal/par 1.058s ok cmd/go/internal/str 1.009s ok cmd/go/internal/test 1.023s ok cmd/go/internal/vcs 1.013s ok cmd/go/internal/vcweb 1.015s ok cmd/go/internal/vcweb/vcstest 3.557s ok cmd/go/internal/web 1.011s ok cmd/go/internal/work 1.080s ok cmd/gofmt 1.138s ok cmd/internal/archive 1.216s ok cmd/internal/bootstrap_test 1.009s ok cmd/internal/buildid 1.352s ok cmd/internal/cov 1.150s ok cmd/internal/dwarf 1.010s ok cmd/internal/edit 1.009s ok cmd/internal/goobj 1.009s ok cmd/internal/moddeps 1.676s ok cmd/internal/notsha256 1.010s ok cmd/internal/obj 1.311s ok cmd/internal/obj/ppc64 1.053s ok cmd/internal/obj/riscv 1.022s ok cmd/internal/obj/s390x 1.009s ok cmd/internal/obj/x86 1.095s ok cmd/internal/objabi 1.009s ok cmd/internal/pkgpath 5.046s ok cmd/internal/pkgpattern 1.012s ok cmd/internal/quoted 1.011s ok cmd/internal/src 1.010s ok cmd/internal/test2json 1.524s ok cmd/link 8.838s ok cmd/link/internal/benchmark 1.012s ok cmd/link/internal/ld 3.009s ok cmd/link/internal/loader 1.023s ok cmd/nm 9.114s ok cmd/objdump 4.678s ok cmd/pack 7.188s ok cmd/pprof 3.316s ok cmd/trace 1.245s ok cmd/vet 27.300s ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: archive/tar cpu: AMD EPYC 7B12 Benchmark/Writer/USTAR-4 4450 25676 ns/op 1368 B/op 25 allocs/op Benchmark/Writer/GNU-4 3597 33360 ns/op 1858 B/op 37 allocs/op Benchmark/Writer/PAX-4 2252 49085 ns/op 2560 B/op 59 allocs/op Benchmark/Reader/USTAR-4 5968 17603 ns/op 5146 B/op 16 allocs/op Benchmark/Reader/GNU-4 8028 12794 ns/op 5198 B/op 15 allocs/op Benchmark/Reader/PAX-4 3016 36513 ns/op 8773 B/op 33 allocs/op PASS ok archive/tar 1.806s goos: linux goarch: amd64 pkg: archive/zip cpu: AMD EPYC 7B12 BenchmarkCompressedZipGarbage-4 1 267228481 ns/op 828576 B/op 82 allocs/op BenchmarkZip64Test-4 1 110127327 ns/op BenchmarkZip64TestSizes/4096-4 1821 59079 ns/op BenchmarkZip64TestSizes/1048576-4 241 522409 ns/op BenchmarkZip64TestSizes/67108864-4 1 103083027 ns/op PASS ok archive/zip 2.133s goos: linux goarch: amd64 pkg: bufio cpu: AMD EPYC 7B12 BenchmarkReaderCopyOptimal-4 311900 350.8 ns/op BenchmarkReaderCopyUnoptimal-4 198157 572.6 ns/op BenchmarkReaderCopyNoWriteTo-4 9817 11895 ns/op BenchmarkReaderWriteToOptimal-4 13686 9079 ns/op BenchmarkReaderReadString-4 188320 649.6 ns/op 144 B/op 1 allocs/op BenchmarkWriterCopyOptimal-4 295911 398.0 ns/op BenchmarkWriterCopyUnoptimal-4 299612 382.0 ns/op BenchmarkWriterCopyNoReadFrom-4 12295 9716 ns/op BenchmarkReaderEmpty-4 70111 1707 ns/op 4224 B/op 3 allocs/op BenchmarkWriterEmpty-4 46833 2519 ns/op 4096 B/op 1 allocs/op BenchmarkWriterFlush-4 653210 153.8 ns/op 0 B/op 0 allocs/op PASS ok bufio 2.571s ##### 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 6217 17871 ns/op 1833.60 MB/s BenchmarkWriteByte-4 474 245796 ns/op 16.66 MB/s BenchmarkWriteRune-4 260 462125 ns/op 26.59 MB/s BenchmarkBufferNotEmptyWriteRead-4 30 3752252 ns/op BenchmarkBufferFullSmallReads-4 100 1038832 ns/op BenchmarkBufferWriteBlock/N4096-4 7428 15283 ns/op 14336 B/op 6 allocs/op BenchmarkBufferWriteBlock/N65536-4 436 253406 ns/op 260096 B/op 14 allocs/op BenchmarkBufferWriteBlock/N1048576-4 6 19340978 ns/op 4192256 B/op 22 allocs/op BenchmarkBufferAppendNoCopy-4 1 129801429 ns/op 129.25 MB/s 33554432 B/op 2 allocs/op BenchmarkIndexByte/10-4 4599561 25.80 ns/op 387.62 MB/s BenchmarkIndexByte/32-4 4224763 28.98 ns/op 1104.25 MB/s BenchmarkIndexByte/4K-4 887302 132.4 ns/op 30936.98 MB/s BenchmarkIndexBytePortable/10-4 813945 142.3 ns/op 70.27 MB/s BenchmarkIndexBytePortable/32-4 264228 459.4 ns/op 69.65 MB/s BenchmarkIndexBytePortable/4K-4 2233 53382 ns/op 76.73 MB/s BenchmarkIndexRune/10-4 1000000 102.9 ns/op 97.17 MB/s BenchmarkIndexRune/32-4 1000000 105.4 ns/op 303.53 MB/s BenchmarkIndexRune/4K-4 367238 317.6 ns/op 12896.81 MB/s BenchmarkIndexRuneASCII/10-4 4506042 26.52 ns/op 377.13 MB/s BenchmarkIndexRuneASCII/32-4 4119631 28.94 ns/op 1105.72 MB/s BenchmarkIndexRuneASCII/4K-4 872889 134.7 ns/op 30405.00 MB/s BenchmarkEqual/0-4 7128472 16.97 ns/op BenchmarkEqual/1-4 1444275 82.27 ns/op 12.16 MB/s BenchmarkEqual/6-4 1411250 84.82 ns/op 70.73 MB/s BenchmarkEqual/9-4 1430714 84.15 ns/op 106.95 MB/s BenchmarkEqual/15-4 1415119 84.54 ns/op 177.44 MB/s BenchmarkEqual/16-4 1506192 79.96 ns/op 200.10 MB/s BenchmarkEqual/20-4 1382152 85.20 ns/op 234.73 MB/s BenchmarkEqual/32-4 1374771 86.72 ns/op 369.01 MB/s BenchmarkEqual/4K-4 106874 1113 ns/op 3681.08 MB/s BenchmarkIndex/10-4 3005896 40.29 ns/op 248.18 MB/s BenchmarkIndex/32-4 3072072 39.45 ns/op 811.17 MB/s BenchmarkIndex/4K-4 18178 6563 ns/op 624.14 MB/s BenchmarkIndexEasy/10-4 2848974 41.84 ns/op 239.02 MB/s BenchmarkIndexEasy/32-4 2816290 42.76 ns/op 748.37 MB/s BenchmarkIndexEasy/4K-4 478224 255.8 ns/op 16013.08 MB/s BenchmarkCount/10-4 1475634 83.35 ns/op 119.97 MB/s BenchmarkCount/32-4 1426638 84.00 ns/op 380.95 MB/s BenchmarkCount/4K-4 16549 7068 ns/op 579.47 MB/s BenchmarkCountEasy/10-4 1398064 88.25 ns/op 113.31 MB/s BenchmarkCountEasy/32-4 1400296 83.35 ns/op 383.93 MB/s BenchmarkCountEasy/4K-4 417716 278.3 ns/op 14717.20 MB/s BenchmarkCountSingle/10-4 3635517 31.14 ns/op 321.14 MB/s BenchmarkCountSingle/32-4 3564620 33.52 ns/op 954.60 MB/s BenchmarkCountSingle/4K-4 781503 143.5 ns/op 28546.00 MB/s BenchmarkToUpper/#00-4 2902262 41.48 ns/op BenchmarkToUpper/ONLYUPPER-4 301302 395.8 ns/op BenchmarkToUpper/abc-4 480150 250.9 ns/op BenchmarkToUpper/AbC123-4 288224 413.8 ns/op BenchmarkToUpper/azAZ09_-4 263114 458.5 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 78685 1503 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 40320 2954 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 55354 2148 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 125016 941.1 ns/op BenchmarkToLower/#00-4 2767749 43.21 ns/op BenchmarkToLower/abc-4 484470 257.5 ns/op BenchmarkToLower/AbC123-4 302430 411.4 ns/op BenchmarkToLower/azAZ09_-4 272606 442.4 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 80298 1494 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 40700 2899 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 70059 1686 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 123278 980.6 ns/op BenchmarkFields/ASCII/16-4 141710 845.0 ns/op 18.94 MB/s 24 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 8278 13125 ns/op 19.51 MB/s 480 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 566 209760 ns/op 19.53 MB/s 9472 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 31 3825035 ns/op 17.13 MB/s 147456 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 2 60703576 ns/op 17.27 MB/s 2277376 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 128949 900.7 ns/op 17.76 MB/s 24 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 5533 20432 ns/op 12.53 MB/s 640 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 342 342514 ns/op 11.96 MB/s 24832 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 18 6438550 ns/op 10.18 MB/s 512256 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 1 126600310 ns/op 8.28 MB/s 11211008 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 169107 692.2 ns/op 23.12 MB/s 24 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 12291 9711 ns/op 26.36 MB/s 480 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 625 175366 ns/op 23.36 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 31 4030454 ns/op 16.26 MB/s 512256 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 86462172 ns/op 12.13 MB/s 11219200 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 172653 664.2 ns/op 24.09 MB/s 24 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 7416 14087 ns/op 18.17 MB/s 640 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 470 246517 ns/op 16.62 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 21 4861323 ns/op 13.48 MB/s 512260 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 1 101567897 ns/op 10.32 MB/s 11211008 B/op 24 allocs/op BenchmarkTrimSpace/NoTrim-4 1870666 61.42 ns/op BenchmarkTrimSpace/ASCII-4 944059 126.4 ns/op BenchmarkTrimSpace/SomeNonASCII-4 109830 1098 ns/op BenchmarkTrimSpace/JustNonASCII-4 47203 2408 ns/op BenchmarkToValidUTF8/Valid-4 487400 253.1 ns/op BenchmarkToValidUTF8/InvalidASCII-4 344875 349.8 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 99508 1241 ns/op BenchmarkIndexHard1-4 804 143933 ns/op BenchmarkIndexHard2-4 585 202673 ns/op BenchmarkIndexHard3-4 148 798946 ns/op BenchmarkIndexHard4-4 178 658357 ns/op BenchmarkLastIndexHard1-4 5 22047891 ns/op BenchmarkLastIndexHard2-4 4 28976651 ns/op BenchmarkLastIndexHard3-4 4 31502786 ns/op BenchmarkCountHard1-4 819 143944 ns/op BenchmarkCountHard2-4 597 201431 ns/op BenchmarkCountHard3-4 148 797483 ns/op BenchmarkSplitEmptySeparator-4 1 181261756 ns/op BenchmarkSplitSingleByteSeparator-4 9 11169251 ns/op BenchmarkSplitMultiByteSeparator-4 10 10873207 ns/op BenchmarkSplitNSingleByteSeparator-4 186451 627.6 ns/op BenchmarkSplitNMultiByteSeparator-4 67563 1635 ns/op BenchmarkRepeat-4 184568 602.5 ns/op BenchmarkRepeatLarge/256/1-4 135345 776.6 ns/op 329.66 MB/s BenchmarkRepeatLarge/256/16-4 229734 511.8 ns/op 500.18 MB/s BenchmarkRepeatLarge/512/1-4 101337 1064 ns/op 481.29 MB/s BenchmarkRepeatLarge/512/16-4 154978 777.4 ns/op 658.59 MB/s BenchmarkRepeatLarge/1024/1-4 71090 1533 ns/op 667.86 MB/s BenchmarkRepeatLarge/1024/16-4 81789 1225 ns/op 836.00 MB/s BenchmarkRepeatLarge/2048/1-4 43604 2522 ns/op 812.02 MB/s BenchmarkRepeatLarge/2048/16-4 52347 2067 ns/op 990.94 MB/s BenchmarkRepeatLarge/4096/1-4 28341 4063 ns/op 1008.23 MB/s BenchmarkRepeatLarge/4096/16-4 31125 3742 ns/op 1094.53 MB/s BenchmarkRepeatLarge/8192/1-4 15626 7624 ns/op 1074.56 MB/s BenchmarkRepeatLarge/8192/16-4 16071 7053 ns/op 1161.49 MB/s BenchmarkRepeatLarge/8192/4097-4 26580 4236 ns/op 967.15 MB/s BenchmarkRepeatLarge/16384/1-4 9546 14803 ns/op 1106.83 MB/s BenchmarkRepeatLarge/16384/16-4 9223 13025 ns/op 1257.85 MB/s BenchmarkRepeatLarge/16384/4097-4 11427 10627 ns/op 1156.54 MB/s BenchmarkRepeatLarge/32768/1-4 4623 25936 ns/op 1263.43 MB/s BenchmarkRepeatLarge/32768/16-4 4939 24644 ns/op 1329.65 MB/s BenchmarkRepeatLarge/32768/4097-4 4856 23240 ns/op 1234.04 MB/s BenchmarkRepeatLarge/65536/1-4 2650 47500 ns/op 1379.70 MB/s BenchmarkRepeatLarge/65536/16-4 2614 48586 ns/op 1348.85 MB/s BenchmarkRepeatLarge/65536/4097-4 2422 48093 ns/op 1277.85 MB/s BenchmarkRepeatLarge/131072/1-4 229 509191 ns/op 257.41 MB/s BenchmarkRepeatLarge/131072/16-4 228 503931 ns/op 260.10 MB/s BenchmarkRepeatLarge/131072/4097-4 240 509438 ns/op 249.31 MB/s BenchmarkRepeatLarge/262144/1-4 100 1054635 ns/op 248.56 MB/s BenchmarkRepeatLarge/262144/16-4 100 1013674 ns/op 258.61 MB/s BenchmarkRepeatLarge/262144/4097-4 100 1014321 ns/op 254.47 MB/s BenchmarkRepeatLarge/524288/1-4 62 2018317 ns/op 259.76 MB/s BenchmarkRepeatLarge/524288/16-4 58 2037274 ns/op 257.35 MB/s BenchmarkRepeatLarge/524288/4097-4 62 2024209 ns/op 257.05 MB/s BenchmarkRepeatLarge/1048576/1-4 31 4045916 ns/op 259.17 MB/s BenchmarkRepeatLarge/1048576/16-4 27 3988618 ns/op 262.89 MB/s BenchmarkRepeatLarge/1048576/4097-4 28 4233490 ns/op 246.78 MB/s BenchmarkRepeatLarge/2097152/1-4 15 7826505 ns/op 267.96 MB/s BenchmarkRepeatLarge/2097152/16-4 14 7758728 ns/op 270.30 MB/s BenchmarkRepeatLarge/2097152/4097-4 14 8073923 ns/op 259.30 MB/s BenchmarkRepeatLarge/4194304/1-4 7 15628006 ns/op 268.38 MB/s BenchmarkRepeatLarge/4194304/16-4 7 16617564 ns/op 252.40 MB/s BenchmarkRepeatLarge/4194304/4097-4 7 16010891 ns/op 261.77 MB/s BenchmarkRepeatLarge/8388608/1-4 4 31493329 ns/op 266.36 MB/s BenchmarkRepeatLarge/8388608/16-4 3 33609195 ns/op 249.59 MB/s BenchmarkRepeatLarge/8388608/4097-4 4 30935655 ns/op 271.10 MB/s BenchmarkRepeatLarge/16777216/1-4 2 61088138 ns/op 274.64 MB/s BenchmarkRepeatLarge/16777216/16-4 2 59520815 ns/op 281.87 MB/s BenchmarkRepeatLarge/16777216/4097-4 2 59278451 ns/op 283.02 MB/s BenchmarkRepeatLarge/33554432/1-4 1 117630148 ns/op 285.25 MB/s BenchmarkRepeatLarge/33554432/16-4 1 120091782 ns/op 279.41 MB/s BenchmarkRepeatLarge/33554432/4097-4 1 120442351 ns/op 278.59 MB/s BenchmarkRepeatLarge/67108864/1-4 1 233438809 ns/op 287.48 MB/s BenchmarkRepeatLarge/67108864/16-4 1 240912987 ns/op 278.56 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 260344334 ns/op 257.77 MB/s BenchmarkRepeatLarge/134217728/1-4 1 470421197 ns/op 285.31 MB/s BenchmarkRepeatLarge/134217728/16-4 1 488119752 ns/op 274.97 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 470499174 ns/op 285.27 MB/s BenchmarkRepeatLarge/268435456/1-4 1 931927581 ns/op 288.04 MB/s BenchmarkRepeatLarge/268435456/16-4 1 923842591 ns/op 290.56 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 923590793 ns/op 290.64 MB/s BenchmarkRepeatLarge/536870912/1-4 1 1844104183 ns/op 291.13 MB/s BenchmarkRepeatLarge/536870912/16-4 1 1768388198 ns/op 303.59 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 1830438547 ns/op 293.30 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 3783730313 ns/op 283.78 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 3600739978 ns/op 298.20 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 3654800615 ns/op 293.79 MB/s BenchmarkBytesCompare/1-4 8554867 12.35 ns/op BenchmarkBytesCompare/2-4 9063844 12.22 ns/op BenchmarkBytesCompare/4-4 9102142 12.28 ns/op BenchmarkBytesCompare/8-4 9765829 11.22 ns/op BenchmarkBytesCompare/16-4 9672696 11.16 ns/op BenchmarkBytesCompare/32-4 9155926 12.80 ns/op BenchmarkBytesCompare/64-4 8521110 13.72 ns/op BenchmarkBytesCompare/128-4 7449001 16.07 ns/op BenchmarkBytesCompare/256-4 5410921 22.30 ns/op BenchmarkBytesCompare/512-4 3850519 29.47 ns/op BenchmarkBytesCompare/1024-4 2408758 47.11 ns/op BenchmarkBytesCompare/2048-4 1400616 83.23 ns/op BenchmarkIndexAnyASCII/1:1-4 2305309 51.62 ns/op BenchmarkIndexAnyASCII/1:2-4 2397886 49.47 ns/op BenchmarkIndexAnyASCII/1:4-4 2373139 50.21 ns/op BenchmarkIndexAnyASCII/1:8-4 2414274 49.82 ns/op BenchmarkIndexAnyASCII/1:16-4 2375347 49.62 ns/op BenchmarkIndexAnyASCII/1:32-4 2355876 50.45 ns/op BenchmarkIndexAnyASCII/1:64-4 2324738 50.07 ns/op BenchmarkIndexAnyASCII/16:1-4 2069570 56.20 ns/op BenchmarkIndexAnyASCII/16:2-4 417453 273.9 ns/op BenchmarkIndexAnyASCII/16:4-4 426433 275.1 ns/op BenchmarkIndexAnyASCII/16:8-4 422286 280.5 ns/op BenchmarkIndexAnyASCII/16:16-4 393118 296.3 ns/op BenchmarkIndexAnyASCII/16:32-4 357980 325.3 ns/op BenchmarkIndexAnyASCII/16:64-4 315608 370.8 ns/op BenchmarkIndexAnyASCII/256:1-4 1839166 63.08 ns/op BenchmarkIndexAnyASCII/256:2-4 33439 3585 ns/op BenchmarkIndexAnyASCII/256:4-4 33616 3575 ns/op BenchmarkIndexAnyASCII/256:8-4 33423 3573 ns/op BenchmarkIndexAnyASCII/256:16-4 33074 3630 ns/op BenchmarkIndexAnyASCII/256:32-4 33145 3628 ns/op BenchmarkIndexAnyASCII/256:64-4 32185 3701 ns/op BenchmarkIndexAnyUTF8/1:1-4 2321556 52.63 ns/op BenchmarkIndexAnyUTF8/1:2-4 2347070 52.33 ns/op BenchmarkIndexAnyUTF8/1:4-4 2296065 51.21 ns/op BenchmarkIndexAnyUTF8/1:8-4 2270834 51.69 ns/op BenchmarkIndexAnyUTF8/1:16-4 2334902 51.13 ns/op BenchmarkIndexAnyUTF8/1:32-4 2366518 50.80 ns/op BenchmarkIndexAnyUTF8/1:64-4 2269050 51.81 ns/op BenchmarkIndexAnyUTF8/16:1-4 148645 800.4 ns/op BenchmarkIndexAnyUTF8/16:2-4 270555 436.7 ns/op BenchmarkIndexAnyUTF8/16:4-4 267570 433.2 ns/op BenchmarkIndexAnyUTF8/16:8-4 271704 435.6 ns/op BenchmarkIndexAnyUTF8/16:16-4 264096 439.6 ns/op BenchmarkIndexAnyUTF8/16:32-4 260942 452.5 ns/op BenchmarkIndexAnyUTF8/16:64-4 256713 452.2 ns/op BenchmarkIndexAnyUTF8/256:1-4 10000 11633 ns/op BenchmarkIndexAnyUTF8/256:2-4 19278 6191 ns/op BenchmarkIndexAnyUTF8/256:4-4 19568 6226 ns/op BenchmarkIndexAnyUTF8/256:8-4 19137 6184 ns/op BenchmarkIndexAnyUTF8/256:16-4 18799 6277 ns/op BenchmarkIndexAnyUTF8/256:32-4 18405 6497 ns/op BenchmarkIndexAnyUTF8/256:64-4 18628 6453 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2314388 51.83 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2347736 51.06 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2299420 51.99 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2271283 51.50 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2378449 53.85 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2270529 53.67 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2215947 53.64 ns/op BenchmarkLastIndexAnyASCII/16:1-4 321675 388.9 ns/op BenchmarkLastIndexAnyASCII/16:2-4 307040 388.7 ns/op BenchmarkLastIndexAnyASCII/16:4-4 304755 370.8 ns/op BenchmarkLastIndexAnyASCII/16:8-4 302946 376.6 ns/op BenchmarkLastIndexAnyASCII/16:16-4 298984 389.5 ns/op BenchmarkLastIndexAnyASCII/16:32-4 280448 416.0 ns/op BenchmarkLastIndexAnyASCII/16:64-4 259747 454.6 ns/op BenchmarkLastIndexAnyASCII/256:1-4 24532 4912 ns/op BenchmarkLastIndexAnyASCII/256:2-4 24138 4975 ns/op BenchmarkLastIndexAnyASCII/256:4-4 24060 4958 ns/op BenchmarkLastIndexAnyASCII/256:8-4 24116 4966 ns/op BenchmarkLastIndexAnyASCII/256:16-4 24150 4976 ns/op BenchmarkLastIndexAnyASCII/256:32-4 24126 4956 ns/op BenchmarkLastIndexAnyASCII/256:64-4 23246 5017 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2305528 52.45 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2326744 51.33 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2343128 51.85 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2319642 51.11 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2357355 50.64 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2335404 51.13 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2302284 51.60 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 234638 505.8 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 271533 440.8 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 269145 434.9 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 270046 433.5 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 271161 437.3 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 260356 453.5 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 254810 464.3 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 16743 7216 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 19186 6222 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 19339 6140 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 19491 6129 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 19275 6197 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 18337 6578 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 18483 6396 ns/op BenchmarkTrimASCII/1:1-4 2512300 46.50 ns/op BenchmarkTrimASCII/1:2-4 2108812 54.48 ns/op BenchmarkTrimASCII/1:4-4 2135260 55.98 ns/op BenchmarkTrimASCII/1:8-4 1952302 62.51 ns/op BenchmarkTrimASCII/1:16-4 1649545 73.19 ns/op BenchmarkTrimASCII/16:1-4 415165 276.5 ns/op BenchmarkTrimASCII/16:2-4 313875 375.7 ns/op BenchmarkTrimASCII/16:4-4 315032 371.6 ns/op BenchmarkTrimASCII/16:8-4 309804 374.4 ns/op BenchmarkTrimASCII/16:16-4 300811 391.3 ns/op BenchmarkTrimASCII/256:1-4 32748 3731 ns/op BenchmarkTrimASCII/256:2-4 23509 5076 ns/op BenchmarkTrimASCII/256:4-4 23142 5144 ns/op BenchmarkTrimASCII/256:8-4 23589 5105 ns/op BenchmarkTrimASCII/256:16-4 23322 5109 ns/op BenchmarkTrimASCII/4096:1-4 2046 57739 ns/op BenchmarkTrimASCII/4096:2-4 1496 79435 ns/op BenchmarkTrimASCII/4096:4-4 1456 80449 ns/op BenchmarkTrimASCII/4096:8-4 1494 79374 ns/op BenchmarkTrimASCII/4096:16-4 1496 79839 ns/op BenchmarkTrimByte-4 1448366 82.30 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 13039 9062 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 13093 9156 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 667 174734 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 1321 88180 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 2458 47223 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 4513 25014 ns/op BenchmarkCompareBytesEqual-4 9687476 12.45 ns/op BenchmarkCompareBytesToNil-4 11382908 10.54 ns/op BenchmarkCompareBytesEmpty-4 11339728 10.65 ns/op BenchmarkCompareBytesIdentical-4 11398869 10.51 ns/op BenchmarkCompareBytesSameLength-4 10538060 11.31 ns/op BenchmarkCompareBytesDifferentLength-4 10022946 11.99 ns/op BenchmarkCompareBytesBigUnaligned/offset=1-4 1764 86024 ns/op 12189.46 MB/s BenchmarkCompareBytesBigUnaligned/offset=2-4 1398 85198 ns/op 12307.67 MB/s BenchmarkCompareBytesBigUnaligned/offset=3-4 1358 82150 ns/op 12764.24 MB/s BenchmarkCompareBytesBigUnaligned/offset=4-4 1366 86152 ns/op 12171.28 MB/s BenchmarkCompareBytesBigUnaligned/offset=5-4 1396 81904 ns/op 12802.57 MB/s BenchmarkCompareBytesBigUnaligned/offset=6-4 1388 85097 ns/op 12322.22 MB/s BenchmarkCompareBytesBigUnaligned/offset=7-4 1392 85084 ns/op 12324.13 MB/s BenchmarkCompareBytesBig-4 1806 66931 ns/op 15666.65 MB/s BenchmarkCompareBytesBigIdentical-4 11896656 9.842 ns/op 106540592.98 MB/s PASS ok bytes 69.891s ##### 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 57521058 ns/op 1.74 MB/s 3620748 B/op 54 allocs/op BenchmarkDecodeNewton-4 1 219271473 ns/op 2.59 MB/s 3638592 B/op 54 allocs/op BenchmarkDecodeRand-4 6 18539263 ns/op 0.88 MB/s 3647622 B/op 52 allocs/op PASS ok compress/bzip2 1.912s goos: linux goarch: amd64 pkg: compress/flate cpu: AMD EPYC 7B12 BenchmarkDecode/Digits/Huffman/1e4-4 85 1335743 ns/op 7.49 MB/s 42763 B/op 5 allocs/op BenchmarkDecode/Digits/Huffman/1e5-4 8 13115903 ns/op 7.62 MB/s 42647 B/op 5 allocs/op BenchmarkDecode/Digits/Huffman/1e6-4 1 132169975 ns/op 7.57 MB/s 49264 B/op 9 allocs/op BenchmarkDecode/Digits/Speed/1e4-4 78 1313004 ns/op 7.62 MB/s 42300 B/op 8 allocs/op BenchmarkDecode/Digits/Speed/1e5-4 8 13301712 ns/op 7.52 MB/s 42935 B/op 11 allocs/op BenchmarkDecode/Digits/Speed/1e6-4 1 132970974 ns/op 7.52 MB/s 53024 B/op 77 allocs/op BenchmarkDecode/Digits/Default/1e4-4 78 1283595 ns/op 7.79 MB/s 42786 B/op 7 allocs/op BenchmarkDecode/Digits/Default/1e5-4 9 12104339 ns/op 8.26 MB/s 43604 B/op 13 allocs/op BenchmarkDecode/Digits/Default/1e6-4 1 129378606 ns/op 7.73 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Digits/Compression/1e4-4 86 1287646 ns/op 7.77 MB/s 42777 B/op 7 allocs/op BenchmarkDecode/Digits/Compression/1e5-4 8 12533427 ns/op 7.98 MB/s 43954 B/op 14 allocs/op BenchmarkDecode/Digits/Compression/1e6-4 1 125347926 ns/op 7.98 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Newton/Huffman/1e4-4 72 1459207 ns/op 6.85 MB/s 43985 B/op 14 allocs/op BenchmarkDecode/Newton/Huffman/1e5-4 8 14247918 ns/op 7.02 MB/s 48154 B/op 24 allocs/op BenchmarkDecode/Newton/Huffman/1e6-4 1 142938005 ns/op 7.00 MB/s 88512 B/op 165 allocs/op BenchmarkDecode/Newton/Speed/1e4-4 100 1087238 ns/op 9.20 MB/s 43701 B/op 18 allocs/op BenchmarkDecode/Newton/Speed/1e5-4 12 9390060 ns/op 10.65 MB/s 47863 B/op 32 allocs/op BenchmarkDecode/Newton/Speed/1e6-4 2 94769492 ns/op 10.55 MB/s 85328 B/op 230 allocs/op BenchmarkDecode/Newton/Default/1e4-4 121 965635 ns/op 10.36 MB/s 43714 B/op 15 allocs/op BenchmarkDecode/Newton/Default/1e5-4 14 7541841 ns/op 13.26 MB/s 44677 B/op 32 allocs/op BenchmarkDecode/Newton/Default/1e6-4 2 74874722 ns/op 13.36 MB/s 65952 B/op 160 allocs/op BenchmarkDecode/Newton/Compression/1e4-4 122 984555 ns/op 10.16 MB/s 43472 B/op 15 allocs/op BenchmarkDecode/Newton/Compression/1e5-4 15 7482085 ns/op 13.37 MB/s 44557 B/op 32 allocs/op BenchmarkDecode/Newton/Compression/1e6-4 2 73840528 ns/op 13.54 MB/s 71860 B/op 153 allocs/op BenchmarkEncode/Digits/Huffman/1e4-4 139 826624 ns/op 12.10 MB/s BenchmarkEncode/Digits/Huffman/1e5-4 14 8174306 ns/op 12.23 MB/s BenchmarkEncode/Digits/Huffman/1e6-4 2 81801418 ns/op 12.22 MB/s BenchmarkEncode/Digits/Speed/1e4-4 68 1604555 ns/op 6.23 MB/s BenchmarkEncode/Digits/Speed/1e5-4 7 14573752 ns/op 6.86 MB/s BenchmarkEncode/Digits/Speed/1e6-4 1 145374217 ns/op 6.88 MB/s BenchmarkEncode/Digits/Default/1e4-4 21 4817174 ns/op 2.08 MB/s BenchmarkEncode/Digits/Default/1e5-4 2 55489593 ns/op 1.80 MB/s BenchmarkEncode/Digits/Default/1e6-4 1 572109613 ns/op 1.75 MB/s BenchmarkEncode/Digits/Compression/1e4-4 24 4781880 ns/op 2.09 MB/s BenchmarkEncode/Digits/Compression/1e5-4 2 54842368 ns/op 1.82 MB/s BenchmarkEncode/Digits/Compression/1e6-4 1 577281901 ns/op 1.73 MB/s BenchmarkEncode/Newton/Huffman/1e4-4 100 1042237 ns/op 9.59 MB/s BenchmarkEncode/Newton/Huffman/1e5-4 13 8751507 ns/op 11.43 MB/s BenchmarkEncode/Newton/Huffman/1e6-4 2 90198582 ns/op 11.09 MB/s BenchmarkEncode/Newton/Speed/1e4-4 75 1510308 ns/op 6.62 MB/s BenchmarkEncode/Newton/Speed/1e5-4 9 11370003 ns/op 8.80 MB/s BenchmarkEncode/Newton/Speed/1e6-4 1 113707916 ns/op 8.79 MB/s BenchmarkEncode/Newton/Default/1e4-4 25 4708548 ns/op 2.12 MB/s BenchmarkEncode/Newton/Default/1e5-4 2 51958918 ns/op 1.92 MB/s BenchmarkEncode/Newton/Default/1e6-4 1 528702572 ns/op 1.89 MB/s BenchmarkEncode/Newton/Compression/1e4-4 22 4719469 ns/op 2.12 MB/s BenchmarkEncode/Newton/Compression/1e5-4 2 66919588 ns/op 1.49 MB/s BenchmarkEncode/Newton/Compression/1e6-4 1 664874309 ns/op 1.50 MB/s PASS ok compress/flate 15.036s goos: linux goarch: amd64 pkg: compress/lzw cpu: AMD EPYC 7B12 BenchmarkDecoder/1e4-4 69 1737642 ns/op 5.75 MB/s BenchmarkDecoder/1e-Reuse4-4 61 1824240 ns/op 5.48 MB/s BenchmarkDecoder/1e5-4 6 17381606 ns/op 5.75 MB/s BenchmarkDecoder/1e-Reuse5-4 6 17616423 ns/op 5.68 MB/s BenchmarkDecoder/1e6-4 1 175298934 ns/op 5.70 MB/s BenchmarkDecoder/1e-Reuse6-4 1 169114185 ns/op 5.91 MB/s BenchmarkEncoder/1e4-4 75 1444068 ns/op 6.92 MB/s BenchmarkEncoder/1e-Reuse4-4 88 1351207 ns/op 7.40 MB/s BenchmarkEncoder/1e5-4 7 14385798 ns/op 6.95 MB/s BenchmarkEncoder/1e-Reuse5-4 8 14265402 ns/op 7.01 MB/s BenchmarkEncoder/1e6-4 1 145362225 ns/op 6.88 MB/s BenchmarkEncoder/1e-Reuse6-4 1 149746725 ns/op 6.68 MB/s PASS ok compress/lzw 3.264s goos: linux goarch: amd64 pkg: container/heap cpu: AMD EPYC 7B12 BenchmarkDup-4 34 3151700 ns/op PASS ok container/heap 1.121s goos: linux goarch: amd64 pkg: context cpu: AMD EPYC 7B12 BenchmarkCommonParentCancel-4 31940 4059 ns/op BenchmarkWithTimeout/concurrency=40-4 9152 14851 ns/op BenchmarkWithTimeout/concurrency=4000-4 4915 23237 ns/op BenchmarkWithTimeout/concurrency=400000-4 10866 20111 ns/op BenchmarkCancelTree/depth=1/Root=Background-4 694930 169.6 ns/op BenchmarkCancelTree/depth=1/Root=OpenCanceler-4 20965 6548 ns/op BenchmarkCancelTree/depth=1/Root=ClosedCanceler-4 25176 4561 ns/op BenchmarkCancelTree/depth=10/Root=Background-4 5280 26861 ns/op BenchmarkCancelTree/depth=10/Root=OpenCanceler-4 3087 46250 ns/op BenchmarkCancelTree/depth=10/Root=ClosedCanceler-4 3974 32222 ns/op BenchmarkCancelTree/depth=100/Root=Background-4 376 302165 ns/op BenchmarkCancelTree/depth=100/Root=OpenCanceler-4 271 501738 ns/op BenchmarkCancelTree/depth=100/Root=ClosedCanceler-4 402 259413 ns/op BenchmarkCancelTree/depth=1000/Root=Background-4 39 3263107 ns/op BenchmarkCancelTree/depth=1000/Root=OpenCanceler-4 26 4651981 ns/op BenchmarkCancelTree/depth=1000/Root=ClosedCanceler-4 51 2773188 ns/op BenchmarkCheckCanceled/Err-4 441590 270.0 ns/op BenchmarkCheckCanceled/Done-4 777649 155.2 ns/op BenchmarkContextCancelDone-4 1340702 94.27 ns/op BenchmarkDeepValueNewGoRoutine/depth=10-4 29637 3932 ns/op BenchmarkDeepValueNewGoRoutine/depth=20-4 22941 6244 ns/op BenchmarkDeepValueNewGoRoutine/depth=30-4 19698 5659 ns/op BenchmarkDeepValueNewGoRoutine/depth=50-4 15314 9537 ns/op BenchmarkDeepValueNewGoRoutine/depth=100-4 11056 11791 ns/op BenchmarkDeepValueSameGoRoutine/depth=10-4 748904 173.5 ns/op BenchmarkDeepValueSameGoRoutine/depth=20-4 380367 296.3 ns/op BenchmarkDeepValueSameGoRoutine/depth=30-4 283237 428.0 ns/op BenchmarkDeepValueSameGoRoutine/depth=50-4 176595 682.6 ns/op BenchmarkDeepValueSameGoRoutine/depth=100-4 89104 1336 ns/op PASS ok context 11.107s goos: linux goarch: amd64 pkg: crypto/aes cpu: AMD EPYC 7B12 BenchmarkEncrypt-4 2668434 46.65 ns/op 343.01 MB/s BenchmarkDecrypt-4 2593178 47.52 ns/op 336.69 MB/s BenchmarkExpand-4 2041350 53.65 ns/op PASS ok crypto/aes 1.530s goos: linux goarch: amd64 pkg: crypto/cipher cpu: AMD EPYC 7B12 BenchmarkAESGCM/Open-128-64-4 272192 427.9 ns/op 149.55 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-64-4 554661 203.8 ns/op 313.97 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-64-4 266886 445.0 ns/op 143.83 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-64-4 562176 217.8 ns/op 293.87 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-1350-4 161640 748.8 ns/op 1803.00 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-1350-4 231700 516.6 ns/op 2613.00 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-1350-4 151543 770.8 ns/op 1751.53 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-1350-4 214330 562.2 ns/op 2401.31 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-8192-4 54550 2158 ns/op 3796.72 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-8192-4 61398 1953 ns/op 4195.43 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-8192-4 49650 2408 ns/op 3402.20 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-8192-4 54162 2203 ns/op 3718.70 MB/s 0 B/op 0 allocs/op BenchmarkAESCFBEncrypt1K-4 9358 11572 ns/op 88.05 MB/s BenchmarkAESCFBDecrypt1K-4 9224 11814 ns/op 86.26 MB/s BenchmarkAESCFBDecrypt8K-4 1354 93999 ns/op 87.10 MB/s BenchmarkAESOFB1K-4 14473 8272 ns/op 123.18 MB/s BenchmarkAESCTR1K-4 20034 6013 ns/op 169.48 MB/s BenchmarkAESCTR8K-4 2430 49308 ns/op 166.04 MB/s BenchmarkAESCBCEncrypt1K-4 19969 6072 ns/op 168.66 MB/s BenchmarkAESCBCDecrypt1K-4 28561 4199 ns/op 243.89 MB/s PASS ok crypto/cipher 3.811s goos: linux goarch: amd64 pkg: crypto/des cpu: AMD EPYC 7B12 BenchmarkEncrypt-4 110924 1090 ns/op 7.34 MB/s BenchmarkDecrypt-4 112059 1095 ns/op 7.31 MB/s BenchmarkTDESEncrypt-4 40756 3007 ns/op 2.66 MB/s BenchmarkTDESDecrypt-4 41661 2854 ns/op 2.80 MB/s PASS ok crypto/des 1.682s goos: linux goarch: amd64 pkg: crypto/ecdh cpu: AMD EPYC 7B12 BenchmarkECDH/P256-4 1292 88840 ns/op 759 B/op 12 allocs/op BenchmarkECDH/P384-4 22 5387026 ns/op 1089 B/op 21 allocs/op BenchmarkECDH/P521-4 7 15068828 ns/op 1534 B/op 21 allocs/op BenchmarkECDH/X25519-4 130 903047 ns/op 376 B/op 9 allocs/op PASS ok crypto/ecdh 1.659s goos: linux goarch: amd64 pkg: crypto/ecdsa cpu: AMD EPYC 7B12 BenchmarkSign/P256-4 2438 47107 ns/op 2511 B/op 33 allocs/op BenchmarkSign/P384-4 46 2522836 ns/op 2679 B/op 34 allocs/op BenchmarkSign/P521-4 19 6226263 ns/op 3065 B/op 35 allocs/op BenchmarkVerify/P256-4 1269 93749 ns/op 432 B/op 8 allocs/op BenchmarkVerify/P384-4 18 6238937 ns/op 592 B/op 12 allocs/op BenchmarkVerify/P521-4 7 16515027 ns/op 912 B/op 12 allocs/op BenchmarkGenerateKey/P256-4 5667 20303 ns/op 896 B/op 14 allocs/op BenchmarkGenerateKey/P384-4 85 1393852 ns/op 1096 B/op 17 allocs/op BenchmarkGenerateKey/P521-4 33 3719632 ns/op 1413 B/op 17 allocs/op PASS ok crypto/ecdsa 2.426s goos: linux goarch: amd64 pkg: crypto/ed25519 cpu: AMD EPYC 7B12 BenchmarkKeyGeneration-4 444 267237 ns/op BenchmarkNewKeyFromSeed-4 448 264812 ns/op BenchmarkSigning-4 433 281593 ns/op BenchmarkVerification-4 283 412953 ns/op PASS ok crypto/ed25519 1.609s goos: linux goarch: amd64 pkg: crypto/elliptic cpu: AMD EPYC 7B12 BenchmarkScalarBaseMult/P256-4 6494 17025 ns/op 368 B/op 6 allocs/op BenchmarkScalarBaseMult/P224-4 186 661145 ns/op 376 B/op 9 allocs/op BenchmarkScalarBaseMult/P384-4 62 1831906 ns/op 504 B/op 9 allocs/op BenchmarkScalarBaseMult/P521-4 28 3831108 ns/op 696 B/op 9 allocs/op BenchmarkScalarMult/P256-4 1825 65367 ns/op 448 B/op 7 allocs/op BenchmarkScalarMult/P224-4 75 1558156 ns/op 440 B/op 10 allocs/op BenchmarkScalarMult/P384-4 21 5175815 ns/op 616 B/op 10 allocs/op BenchmarkScalarMult/P521-4 9 11572935 ns/op 840 B/op 10 allocs/op BenchmarkMarshalUnmarshal/P256/Uncompressed-4 17602 6693 ns/op 544 B/op 8 allocs/op BenchmarkMarshalUnmarshal/P256/Compressed-4 7089 14497 ns/op 592 B/op 9 allocs/op BenchmarkMarshalUnmarshal/P224/Uncompressed-4 5314 19992 ns/op 560 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P224/Compressed-4 100 1054001 ns/op 592 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P384/Uncompressed-4 3638 31151 ns/op 784 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P384/Compressed-4 333 353455 ns/op 848 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P521/Uncompressed-4 2355 51290 ns/op 1104 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P521/Compressed-4 126 946935 ns/op 1184 B/op 15 allocs/op PASS ok crypto/elliptic 3.285s goos: linux goarch: amd64 pkg: crypto/hmac cpu: AMD EPYC 7B12 BenchmarkHMACSHA256_1K-4 33039 3593 ns/op 284.98 MB/s BenchmarkHMACSHA256_32-4 38936 3111 ns/op 10.29 MB/s BenchmarkNewWriteSum-4 20115 5718 ns/op 5.60 MB/s PASS ok crypto/hmac 1.501s goos: linux goarch: amd64 pkg: crypto/internal/bigmod cpu: AMD EPYC 7B12 BenchmarkModAdd-4 61407 1890 ns/op BenchmarkModSub-4 69324 1705 ns/op BenchmarkMontgomeryRepr-4 38235 3142 ns/op BenchmarkMontgomeryMul-4 37754 3159 ns/op BenchmarkModMul-4 18568 6474 ns/op BenchmarkExpBig-4 20 5270044 ns/op BenchmarkExp-4 8 13189838 ns/op PASS ok crypto/internal/bigmod 2.070s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519 cpu: AMD EPYC 7B12 BenchmarkEncodingDecoding-4 4534 24299 ns/op BenchmarkScalarBaseMult-4 490 249240 ns/op BenchmarkScalarMult-4 216 556526 ns/op BenchmarkVarTimeDoubleScalarBaseMult-4 294 389895 ns/op PASS ok crypto/internal/edwards25519 1.598s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519/field cpu: AMD EPYC 7B12 BenchmarkAdd-4 625644 183.7 ns/op BenchmarkMultiply-4 5911554 20.27 ns/op BenchmarkSquare-4 7833832 14.96 ns/op BenchmarkInvert-4 28432 4219 ns/op BenchmarkMult32-4 1756621 67.48 ns/op PASS ok crypto/internal/edwards25519/field 1.758s goos: linux goarch: amd64 pkg: crypto/internal/nistec cpu: AMD EPYC 7B12 BenchmarkScalarMult/P224-4 78 1336826 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P256-4 2119 56240 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P384-4 31 3681658 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P521-4 10 10705563 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P224-4 237 491740 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P256-4 10000 11099 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P384-4 91 1268047 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P521-4 33 3178605 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec 2.028s goos: linux goarch: amd64 pkg: crypto/internal/nistec/fiat cpu: AMD EPYC 7B12 BenchmarkMul/P224-4 798274 142.1 ns/op 0 B/op 0 allocs/op BenchmarkMul/P384-4 359025 308.2 ns/op 0 B/op 0 allocs/op BenchmarkMul/P521-4 153798 771.7 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P224-4 750351 141.7 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P384-4 420558 278.2 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P521-4 142617 817.0 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec/fiat 1.731s goos: linux goarch: amd64 pkg: crypto/md5 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes-4 166519 714.6 ns/op 11.20 MB/s BenchmarkHash64-4 178724 657.1 ns/op 97.40 MB/s BenchmarkHash128-4 162153 748.3 ns/op 171.04 MB/s BenchmarkHash256-4 128115 928.9 ns/op 275.61 MB/s BenchmarkHash512-4 91212 1314 ns/op 389.59 MB/s BenchmarkHash1K-4 57939 2071 ns/op 494.35 MB/s BenchmarkHash8K-4 9327 12712 ns/op 644.44 MB/s BenchmarkHash1M-4 73 1559541 ns/op 672.36 MB/s BenchmarkHash8M-4 9 12474897 ns/op 672.44 MB/s BenchmarkHash8BytesUnaligned-4 165302 718.3 ns/op 11.14 MB/s BenchmarkHash1KUnaligned-4 57565 2067 ns/op 495.47 MB/s BenchmarkHash8KUnaligned-4 9243 12709 ns/op 644.56 MB/s PASS ok crypto/md5 2.557s goos: linux goarch: amd64 pkg: crypto/rand cpu: AMD EPYC 7B12 BenchmarkPrime-4 1 102702567 ns/op PASS ok crypto/rand 1.112s goos: linux goarch: amd64 pkg: crypto/rc4 cpu: AMD EPYC 7B12 BenchmarkRC4_128-4 18146 6606 ns/op 19.38 MB/s BenchmarkRC4_1K-4 2232 52108 ns/op 19.65 MB/s BenchmarkRC4_8K-4 289 414518 ns/op 19.53 MB/s PASS ok crypto/rc4 1.485s goos: linux goarch: amd64 pkg: crypto/rsa cpu: AMD EPYC 7B12 BenchmarkDecryptPKCS1v15/2048-4 14 7860840 ns/op BenchmarkDecryptPKCS1v15/3072-4 6 19657708 ns/op BenchmarkDecryptPKCS1v15/4096-4 4 31744744 ns/op BenchmarkEncryptPKCS1v15/2048-4 45 2464413 ns/op BenchmarkDecryptOAEP/2048-4 14 8351875 ns/op BenchmarkEncryptOAEP/2048-4 48 2335341 ns/op BenchmarkSignPKCS1v15/2048-4 14 8061598 ns/op BenchmarkVerifyPKCS1v15/2048-4 51 2318678 ns/op BenchmarkSignPSS/2048-4 14 8119674 ns/op BenchmarkVerifyPSS/2048-4 50 2330738 ns/op PASS ok crypto/rsa 2.503s goos: linux goarch: amd64 pkg: crypto/sha1 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes/New-4 137948 808.1 ns/op 9.90 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum-4 178023 663.3 ns/op 12.06 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/New-4 100806 1160 ns/op 275.97 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/Sum-4 119676 1004 ns/op 318.81 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 69162 1727 ns/op 593.00 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum-4 75650 1577 ns/op 649.24 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 14872 8041 ns/op 1018.79 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum-4 15184 7913 ns/op 1035.22 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha1 2.203s goos: linux goarch: amd64 pkg: crypto/sha256 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes/New-4 133064 880.8 ns/op 9.08 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum224-4 155268 761.7 ns/op 10.50 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 147976 803.7 ns/op 9.95 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 86590 1378 ns/op 742.99 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum224-4 95241 1233 ns/op 830.28 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 92055 1302 ns/op 786.78 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 20288 5910 ns/op 1386.17 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum224-4 20744 5758 ns/op 1422.83 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 20528 5811 ns/op 1409.68 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 80719 1422 ns/op 5.63 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum384-4 102092 1167 ns/op 6.86 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum512-4 91909 1304 ns/op 6.14 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 42633 2803 ns/op 365.36 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum384-4 47480 2513 ns/op 407.50 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum512-4 44401 2665 ns/op 384.25 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 8881 13381 ns/op 612.19 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum384-4 9063 13042 ns/op 628.11 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum512-4 8898 13198 ns/op 620.69 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha512 2.217s goos: linux goarch: amd64 pkg: crypto/subtle cpu: AMD EPYC 7B12 BenchmarkConstantTimeByteEq-4 21742911 4.999 ns/op BenchmarkConstantTimeEq-4 21914209 4.989 ns/op BenchmarkConstantTimeLessOrEq-4 21143775 5.014 ns/op BenchmarkXORBytes/8Bytes-4 5885257 20.79 ns/op 384.77 MB/s BenchmarkXORBytes/128Bytes-4 5377354 22.30 ns/op 5741.00 MB/s BenchmarkXORBytes/2048Bytes-4 1802860 67.18 ns/op 30486.14 MB/s BenchmarkXORBytes/32768Bytes-4 118086 1010 ns/op 32444.31 MB/s PASS ok crypto/subtle 1.969s ##### 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 154 860132 ns/op BenchmarkCertCache/1-4 150 715207 ns/op BenchmarkCertCache/2-4 164 738270 ns/op BenchmarkCertCache/3-4 168 795211 ns/op BenchmarkHandshakeServer/RSA-4 16 7396268 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv13-4 14 7948886 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv12-4 15 7633019 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv13-4 98 1141137 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv12-4 157 743896 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv13-4 50 2385380 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv12-4 61 1969253 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv13-4 4 32671902 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12-4 4 32647299 ns/op BenchmarkThroughput/MaxPacket/1MB/TLSv12-4 5 24832348 ns/op 42.23 MB/s BenchmarkThroughput/MaxPacket/1MB/TLSv13-4 4 29665870 ns/op 35.35 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv12-4 3 36765653 ns/op 57.04 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv13-4 2 52126000 ns/op 40.23 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv12-4 2 60167208 ns/op 69.71 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv13-4 2 98421580 ns/op 42.62 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv12-4 1 125684467 ns/op 66.74 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv13-4 1 190067438 ns/op 44.13 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv12-4 1 249647563 ns/op 67.20 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv13-4 1 349849579 ns/op 47.96 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv12-4 1 454680187 ns/op 73.80 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv13-4 1 558070630 ns/op 60.13 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv12-4 1 814490029 ns/op 82.39 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv13-4 1 1146811323 ns/op 58.52 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv12-4 4 26127662 ns/op 40.13 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv13-4 3 33794485 ns/op 31.03 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv12-4 3 38161510 ns/op 54.95 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv13-4 3 50823633 ns/op 41.26 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv12-4 2 60092012 ns/op 69.80 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv13-4 2 92060336 ns/op 45.56 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv12-4 1 103276708 ns/op 81.22 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv13-4 1 144909586 ns/op 57.89 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv12-4 1 227502747 ns/op 73.75 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv13-4 1 278434832 ns/op 60.26 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv12-4 1 428582008 ns/op 78.29 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv13-4 1 612814869 ns/op 54.75 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv12-4 1 871120192 ns/op 77.04 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv13-4 1 1080587076 ns/op 62.10 MB/s BenchmarkLatency/MaxPacket/200kbps/TLSv12-4 1 706550470 ns/op BenchmarkLatency/MaxPacket/200kbps/TLSv13-4 1 709900059 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv12-4 1 292462859 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv13-4 1 291740019 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv12-4 1 155273272 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv13-4 1 154030337 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv12-4 2 85380924 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv13-4 2 84084710 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv12-4 3 43315832 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv13-4 3 42433025 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv12-4 1 146451276 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv13-4 1 148693847 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv12-4 2 67541362 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv13-4 2 67442582 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv12-4 3 41332032 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv13-4 3 40795617 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv12-4 4 28340842 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv13-4 4 27201789 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv12-4 5 20604586 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv13-4 6 20059597 ns/op PASS ok crypto/tls 19.804s ##### 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 10439964 ns/op BenchmarkCreateCertificate/ECDSA_P256-4 488 243163 ns/op BenchmarkParseCertificate/ecdsa_leaf-4 1682 70595 ns/op 12099 B/op 164 allocs/op BenchmarkParseCertificate/rsa_leaf-4 1504 78026 ns/op 13507 B/op 187 allocs/op PASS ok crypto/x509 1.851s goos: linux goarch: amd64 pkg: database/sql cpu: AMD EPYC 7B12 BenchmarkConcurrentDBExec-4 56 2318128 ns/op 278832 B/op 1631 allocs/op BenchmarkConcurrentStmtQuery-4 43 2354136 ns/op 261198 B/op 1998 allocs/op BenchmarkConcurrentStmtExec-4 67 1675977 ns/op 215000 B/op 636 allocs/op BenchmarkConcurrentTxQuery-4 56 2461584 ns/op 276998 B/op 2150 allocs/op BenchmarkConcurrentTxExec-4 100 1326167 ns/op 87798 B/op 1554 allocs/op BenchmarkConcurrentTxStmtQuery-4 56 1944026 ns/op 106110 B/op 2122 allocs/op BenchmarkConcurrentTxStmtExec-4 165 687128 ns/op 40104 B/op 381 allocs/op BenchmarkConcurrentRandom-4 57 2215984 ns/op 233635 B/op 1825 allocs/op BenchmarkManyConcurrentQueries-4 3877 33948 ns/op 3968 B/op 20 allocs/op BenchmarkGrabConn-4 323017 391.8 ns/op 0 B/op 0 allocs/op PASS ok database/sql 2.603s goos: linux goarch: amd64 pkg: debug/gosym cpu: AMD EPYC 7B12 Benchmark115/NewLineTable-4 409395 298.7 ns/op 384 B/op 3 allocs/op Benchmark115/NewTable-4 132 895884 ns/op 188237 B/op 13 allocs/op Benchmark115/LineToPC-4 97 1050800 ns/op 0 B/op 0 allocs/op Benchmark115/PCToLine-4 26395 4655 ns/op 0 B/op 0 allocs/op PASS ok debug/gosym 1.721s goos: linux goarch: amd64 pkg: encoding/asn1 cpu: AMD EPYC 7B12 BenchmarkObjectIdentifierString-4 87068 1410 ns/op BenchmarkMarshal-4 1071 109009 ns/op 9528 B/op 363 allocs/op BenchmarkUnmarshal-4 3480 30720 ns/op 784 B/op 43 allocs/op PASS ok encoding/asn1 1.391s goos: linux goarch: amd64 pkg: encoding/base32 cpu: AMD EPYC 7B12 BenchmarkEncode-4 408 289255 ns/op 28.32 MB/s BenchmarkEncodeToString-4 372 317961 ns/op 25.76 MB/s BenchmarkDecode-4 210 544550 ns/op 24.08 MB/s BenchmarkDecodeString-4 219 570680 ns/op 22.98 MB/s PASS ok encoding/base32 1.668s goos: linux goarch: amd64 pkg: encoding/base64 cpu: AMD EPYC 7B12 BenchmarkEncodeToString-4 505 226250 ns/op 36.21 MB/s BenchmarkDecodeString/2-4 471523 247.2 ns/op 16.18 MB/s BenchmarkDecodeString/4-4 339186 336.1 ns/op 23.80 MB/s BenchmarkDecodeString/8-4 267487 411.7 ns/op 29.15 MB/s BenchmarkDecodeString/64-4 53926 2209 ns/op 39.84 MB/s BenchmarkDecodeString/8192-4 462 250281 ns/op 43.65 MB/s BenchmarkNewEncoding-4 115166 1002 ns/op 255.42 MB/s PASS ok encoding/base64 1.930s goos: linux goarch: amd64 pkg: encoding/binary cpu: AMD EPYC 7B12 BenchmarkReadSlice1000Int32s-4 1940 60500 ns/op 66.12 MB/s BenchmarkReadStruct-4 23389 5162 ns/op 14.53 MB/s BenchmarkWriteStruct-4 22573 5209 ns/op 14.40 MB/s BenchmarkReadInts-4 73363 1620 ns/op 18.52 MB/s BenchmarkWriteInts-4 67294 1872 ns/op 16.03 MB/s BenchmarkWriteSlice1000Int32s-4 1927 60972 ns/op 65.60 MB/s BenchmarkPutUint16-4 4332259 27.02 ns/op 74.01 MB/s BenchmarkAppendUint16-4 4396905 27.36 ns/op 73.10 MB/s BenchmarkPutUint32-4 3155134 38.06 ns/op 105.11 MB/s BenchmarkAppendUint32-4 3251086 39.06 ns/op 102.41 MB/s BenchmarkPutUint64-4 1548681 75.79 ns/op 105.56 MB/s BenchmarkAppendUint64-4 1555960 77.04 ns/op 103.84 MB/s BenchmarkLittleEndianPutUint16-4 4506087 26.21 ns/op 76.30 MB/s BenchmarkLittleEndianAppendUint16-4 4227924 27.85 ns/op 71.81 MB/s BenchmarkLittleEndianPutUint32-4 3110505 37.35 ns/op 107.10 MB/s BenchmarkLittleEndianAppendUint32-4 3130782 38.34 ns/op 104.32 MB/s BenchmarkLittleEndianPutUint64-4 1578277 76.01 ns/op 105.25 MB/s BenchmarkLittleEndianAppendUint64-4 1553011 82.08 ns/op 97.47 MB/s BenchmarkReadFloats-4 238052 498.3 ns/op 24.08 MB/s BenchmarkWriteFloats-4 230791 517.9 ns/op 23.17 MB/s BenchmarkReadSlice1000Float32s-4 1794 66366 ns/op 60.27 MB/s BenchmarkWriteSlice1000Float32s-4 1718 68422 ns/op 58.46 MB/s BenchmarkReadSlice1000Uint8s-4 115934 918.0 ns/op 1089.27 MB/s BenchmarkWriteSlice1000Uint8s-4 168106 660.4 ns/op 1514.21 MB/s BenchmarkPutUvarint32-4 890530 116.6 ns/op 34.31 MB/s BenchmarkPutUvarint64-4 283389 407.9 ns/op 19.61 MB/s PASS ok encoding/binary 4.930s goos: linux goarch: amd64 pkg: encoding/csv cpu: AMD EPYC 7B12 BenchmarkRead-4 10082 11792 ns/op 736 B/op 16 allocs/op BenchmarkReadWithFieldsPerRecord-4 10330 11706 ns/op 736 B/op 16 allocs/op BenchmarkReadWithoutFieldsPerRecord-4 10000 11862 ns/op 736 B/op 16 allocs/op BenchmarkReadLargeFields-4 5768 19272 ns/op 3937 B/op 24 allocs/op BenchmarkReadReuseRecord-4 10000 10806 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithFieldsPerRecord-4 10000 10847 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithoutFieldsPerRecord-4 10000 11133 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordLargeFields-4 6748 17731 ns/op 2977 B/op 12 allocs/op BenchmarkWrite-4 18855 6108 ns/op PASS ok encoding/csv 2.326s goos: linux goarch: amd64 pkg: encoding/gob cpu: AMD EPYC 7B12 BenchmarkEndToEndPipe-4 17942 5797 ns/op 1811 B/op 2 allocs/op BenchmarkEndToEndByteBuffer-4 27058 4461 ns/op 1810 B/op 2 allocs/op BenchmarkEndToEndSliceByteBuffer-4 435 276209 ns/op 16500 B/op 329 allocs/op BenchmarkEncodeComplex128Slice-4 1260 92651 ns/op 390 B/op 0 allocs/op BenchmarkEncodeFloat64Slice-4 2361 53229 ns/op 36 B/op 0 allocs/op BenchmarkEncodeInt32Slice-4 2074 54151 ns/op 42 B/op 0 allocs/op BenchmarkEncodeStringSlice-4 3248 39395 ns/op 119 B/op 0 allocs/op BenchmarkEncodeInterfaceSlice-4 63 1918742 ns/op 34856 B/op 253 allocs/op BenchmarkDecodeComplex128Slice-4 896 146444 ns/op 25195 B/op 169 allocs/op BenchmarkDecodeFloat64Slice-4 1851 73040 ns/op 10787 B/op 169 allocs/op BenchmarkDecodeInt32Slice-4 1632 62271 ns/op 9755 B/op 169 allocs/op BenchmarkDecodeStringSlice-4 1381 96705 ns/op 39105 B/op 1169 allocs/op BenchmarkDecodeStringsSlice-4 444 286943 ns/op 66026 B/op 2195 allocs/op BenchmarkDecodeBytesSlice-4 883 134960 ns/op 23498 B/op 182 allocs/op BenchmarkDecodeInterfaceSlice-4 124 834560 ns/op 82874 B/op 3178 allocs/op BenchmarkDecodeMap-4 100 1075443 ns/op 54133 B/op 181 allocs/op PASS ok encoding/gob 3.897s goos: linux goarch: amd64 pkg: encoding/hex cpu: AMD EPYC 7B12 BenchmarkEncode/256-4 20911 5880 ns/op 43.54 MB/s BenchmarkEncode/1024-4 4321 23954 ns/op 42.75 MB/s BenchmarkEncode/4096-4 1238 96657 ns/op 42.38 MB/s BenchmarkEncode/16384-4 314 383126 ns/op 42.76 MB/s BenchmarkDecode/256-4 41588 2950 ns/op 86.77 MB/s BenchmarkDecode/1024-4 10168 11879 ns/op 86.21 MB/s BenchmarkDecode/4096-4 2373 47781 ns/op 85.72 MB/s BenchmarkDecode/16384-4 649 195660 ns/op 83.74 MB/s BenchmarkDump/256-4 1891 64871 ns/op 3.95 MB/s BenchmarkDump/1024-4 472 248661 ns/op 4.12 MB/s BenchmarkDump/4096-4 121 993116 ns/op 4.12 MB/s BenchmarkDump/16384-4 30 4085530 ns/op 4.01 MB/s PASS ok encoding/hex 2.857s goos: linux goarch: amd64 pkg: encoding/json cpu: AMD EPYC 7B12 BenchmarkCodeEncoder-4 1 117969726 ns/op 16.45 MB/s 8391416 B/op 58 allocs/op BenchmarkCodeEncoderError-4 2 84865452 ns/op 22.87 MB/s 8391136 B/op 58 allocs/op BenchmarkCodeMarshal-4 2 81199362 ns/op 23.90 MB/s 10331128 B/op 48 allocs/op BenchmarkCodeMarshalError-4 2 69742998 ns/op 27.82 MB/s 6137728 B/op 38 allocs/op BenchmarkMarshalBytes/32-4 30747 3949 ns/op BenchmarkMarshalBytes/256-4 7725 14570 ns/op BenchmarkMarshalBytes/4096-4 706 168887 ns/op BenchmarkMarshalBytesError/32-4 85 1406289 ns/op BenchmarkMarshalBytesError/256-4 82 1395749 ns/op BenchmarkMarshalBytesError/4096-4 74 1573890 ns/op BenchmarkCodeDecoder-4 1 311837411 ns/op 6.22 MB/s 11016672 B/op 91357 allocs/op BenchmarkUnicodeDecoder-4 49551 2471 ns/op 5.67 MB/s 40 B/op 2 allocs/op BenchmarkDecoderStream-4 56024 1802 ns/op 16 B/op 1 allocs/op BenchmarkCodeUnmarshal-4 1 273669411 ns/op 7.09 MB/s 2938152 B/op 91324 allocs/op BenchmarkCodeUnmarshalReuse-4 1 264767152 ns/op 7.33 MB/s 2938224 B/op 91327 allocs/op BenchmarkUnmarshalString-4 86964 1537 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalFloat64-4 232309 527.0 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalInt64-4 433015 286.4 ns/op 144 B/op 1 allocs/op BenchmarkIssue10335-4 137356 946.2 ns/op 176 B/op 3 allocs/op BenchmarkIssue34127-4 145100 902.5 ns/op 84 B/op 2 allocs/op BenchmarkUnmapped-4 36428 4138 ns/op 208 B/op 4 allocs/op BenchmarkTypeFieldsCache/MissTypes1-4 5846 21096 ns/op BenchmarkTypeFieldsCache/MissTypes10-4 1332 99012 ns/op BenchmarkTypeFieldsCache/MissTypes100-4 162 701191 ns/op BenchmarkTypeFieldsCache/MissTypes1000-4 18 6502547 ns/op BenchmarkTypeFieldsCache/HitTypes1-4 688563 175.5 ns/op BenchmarkTypeFieldsCache/HitTypes10-4 672306 164.8 ns/op BenchmarkTypeFieldsCache/HitTypes100-4 860095 168.1 ns/op BenchmarkTypeFieldsCache/HitTypes1000-4 707896 155.0 ns/op BenchmarkEncodeMarshaler-4 74569 1610 ns/op 76 B/op 2 allocs/op BenchmarkEncoderEncode-4 78212 1444 ns/op 43 B/op 0 allocs/op BenchmarkNumberIsValid-4 5787294 19.62 ns/op BenchmarkNumberIsValidRegexp-4 29179 4256 ns/op PASS ok encoding/json 7.690s goos: linux goarch: amd64 pkg: encoding/pem cpu: AMD EPYC 7B12 BenchmarkEncode-4 61 1829281 ns/op 35.83 MB/s BenchmarkDecode-4 36 3329050 ns/op 26.67 MB/s PASS ok encoding/pem 1.259s goos: linux goarch: amd64 pkg: encoding/xml cpu: AMD EPYC 7B12 BenchmarkMarshal-4 3842 30869 ns/op 6280 B/op 24 allocs/op BenchmarkUnmarshal-4 1182 88178 ns/op 8216 B/op 185 allocs/op BenchmarkHTMLAutoClose-4 6039 18416 ns/op PASS ok encoding/xml 1.442s goos: linux goarch: amd64 pkg: expvar cpu: AMD EPYC 7B12 BenchmarkIntAdd-4 687808 175.5 ns/op BenchmarkIntSet-4 652716 179.2 ns/op BenchmarkFloatAdd-4 105336 1346 ns/op BenchmarkFloatSet-4 511813 255.6 ns/op BenchmarkStringSet-4 278412 421.8 ns/op BenchmarkMapSet-4 64639 1820 ns/op BenchmarkMapSetDifferent-4 59292 1952 ns/op BenchmarkMapSetDifferentRandom-4 376 303593 ns/op BenchmarkMapSetString-4 87320 1361 ns/op BenchmarkMapAddSame-4 43155 2725 ns/op BenchmarkMapAddDifferent-4 17268 5799 ns/op BenchmarkMapAddDifferentRandom-4 325 362533 ns/op BenchmarkMapAddSameSteadyState-4 622425 199.0 ns/op BenchmarkMapAddDifferentSteadyState-4 240778 514.0 ns/op BenchmarkRealworldExpvarUsage-4 52826 4140 ns/op PASS ok expvar 3.498s goos: linux goarch: amd64 pkg: fmt cpu: AMD EPYC 7B12 BenchmarkSprintfPadding-4 134200 833.6 ns/op BenchmarkSprintfEmpty-4 470211 228.1 ns/op BenchmarkSprintfString-4 389839 311.4 ns/op BenchmarkSprintfTruncateString-4 348181 340.6 ns/op BenchmarkSprintfTruncateBytes-4 188436 623.4 ns/op BenchmarkSprintfSlowParsingPath-4 360212 330.0 ns/op BenchmarkSprintfQuoteString-4 59906 2496 ns/op BenchmarkSprintfInt-4 356745 348.4 ns/op BenchmarkSprintfIntInt-4 268766 470.7 ns/op BenchmarkSprintfPrefixedInt-4 289784 449.9 ns/op BenchmarkSprintfFloat-4 155625 686.8 ns/op BenchmarkSprintfComplex-4 83704 1473 ns/op BenchmarkSprintfBoolean-4 328386 322.4 ns/op BenchmarkSprintfHexString-4 168540 604.1 ns/op BenchmarkSprintfHexBytes-4 144472 1106 ns/op BenchmarkSprintfBytes-4 62695 1904 ns/op BenchmarkSprintfStringer-4 131362 896.5 ns/op BenchmarkSprintfStructure-4 56574 2213 ns/op BenchmarkManyArgs-4 106086 1144 ns/op BenchmarkFprintInt-4 99201 1228 ns/op BenchmarkFprintfBytes-4 113176 1115 ns/op BenchmarkFprintIntNoAlloc-4 100435 1221 ns/op BenchmarkScanInts-4 54 2216990 ns/op BenchmarkScanRecursiveInt-4 1 295525621 ns/op BenchmarkScanRecursiveIntReaderWrapper-4 1 300412002 ns/op PASS ok fmt 5.155s goos: linux goarch: amd64 pkg: go/build cpu: AMD EPYC 7B12 BenchmarkImportVendor-4 1066 102770 ns/op PASS ok go/build 1.138s goos: linux goarch: amd64 pkg: go/constant cpu: AMD EPYC 7B12 BenchmarkStringAdd/1-4 67534 1652 ns/op 160 B/op 2 allocs/op BenchmarkStringAdd/4-4 20632 5703 ns/op 832 B/op 9 allocs/op BenchmarkStringAdd/16-4 6172 19737 ns/op 3168 B/op 23 allocs/op BenchmarkStringAdd/64-4 1372 74982 ns/op 11744 B/op 73 allocs/op BenchmarkStringAdd/256-4 404 292670 ns/op 47840 B/op 267 allocs/op BenchmarkStringAdd/1024-4 88 1202472 ns/op 206176 B/op 1038 allocs/op BenchmarkStringAdd/4096-4 25 4950862 ns/op 865632 B/op 4114 allocs/op BenchmarkStringAdd/16384-4 5 21665207 ns/op 3634547 B/op 16407 allocs/op BenchmarkStringAdd/65536-4 2 84338787 ns/op 15258976 B/op 65565 allocs/op PASS ok go/constant 2.441s goos: linux goarch: amd64 pkg: go/format cpu: AMD EPYC 7B12 BenchmarkFormat/array1-10000-4 1 184258449 ns/op 0.35 MB/s 46682984 B/op 49001 allocs/op PASS ok go/format 1.212s goos: linux goarch: amd64 pkg: go/parser cpu: AMD EPYC 7B12 BenchmarkParse-4 8 14297347 ns/op 3.77 MB/s BenchmarkParseOnly-4 9 12543434 ns/op 4.29 MB/s BenchmarkResolve-4 80 1590226 ns/op 33.87 MB/s PASS ok go/parser 2.452s goos: linux goarch: amd64 pkg: go/printer cpu: AMD EPYC 7B12 BenchmarkPrintFile-4 3 43304211 ns/op 1.20 MB/s 1962592 B/op 2748 allocs/op BenchmarkPrintDecl-4 1221 93426 ns/op 0.34 MB/s 15873 B/op 51 allocs/op PASS ok go/printer 1.454s goos: linux goarch: amd64 pkg: go/scanner cpu: AMD EPYC 7B12 BenchmarkScan-4 394 305429 ns/op BenchmarkScanFiles/go/types/expr.go-4 19 5659114 ns/op 8.76 MB/s BenchmarkScanFiles/go/parser/parser.go-4 13 9046769 ns/op 8.01 MB/s BenchmarkScanFiles/net/http/server.go-4 8 12800198 ns/op 8.85 MB/s BenchmarkScanFiles/go/scanner/errors.go-4 307 394541 ns/op 7.80 MB/s PASS ok go/scanner 1.688s goos: linux goarch: amd64 pkg: go/token cpu: AMD EPYC 7B12 BenchmarkSearchInts-4 1685715 71.34 ns/op PASS ok go/token 1.207s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: go/types cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLookupFieldOrMethod-4 140 988428 ns/op BenchmarkNamed/Underlying/nongeneric-4 858847 138.6 ns/op BenchmarkNamed/Underlying/generic-4 862587 140.1 ns/op BenchmarkNamed/Underlying/src_instance-4 843699 140.9 ns/op BenchmarkNamed/Underlying/user_instance-4 759374 138.6 ns/op BenchmarkNamed/NewMethodSet/nongeneric-4 20812 5521 ns/op BenchmarkNamed/NewMethodSet/generic-4 21878 5232 ns/op BenchmarkNamed/NewMethodSet/src_instance-4 21903 5334 ns/op BenchmarkNamed/NewMethodSet/user_instance-4 21591 5333 ns/op BenchmarkCheck/http/funcbodies/info-4 1 617395895 ns/op 49487 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 415519188 ns/op 73526 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 236212854 ns/op 129281 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 217124382 ns/op 140656 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 463570547 ns/op 11164 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 1 118210092 ns/op 43771 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 2 66583598 ns/op 77661 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 2 63476431 ns/op 81503 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 164348401 ns/op 13182 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 2 64410910 ns/op 33625 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 3 46854238 ns/op 46230 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 3 46674494 ns/op 46418 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1164112377 ns/op 55970 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 623262378 ns/op 104531 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 208140617 ns/op 312932 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 142332884 ns/op 457450 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 1991911917 ns/op 1003 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 97138917 ns/op 20551 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 2 80131528 ns/op 24913 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 2 79142687 ns/op 25220 lines/s PASS ok go/types 20.976s ##### 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 16087 7460 ns/op 137.26 MB/s PASS ok hash/adler32 1.211s goos: linux goarch: amd64 pkg: hash/crc32 cpu: AMD EPYC 7B12 BenchmarkCRC32/poly=IEEE/size=15/align=0-4 290868 365.6 ns/op 41.02 MB/s BenchmarkCRC32/poly=IEEE/size=15/align=1-4 313296 357.2 ns/op 41.99 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=0-4 161484 694.4 ns/op 57.60 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=1-4 173013 664.2 ns/op 60.22 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=0-4 588708 195.2 ns/op 2622.54 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=1-4 612678 195.3 ns/op 2621.73 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=0-4 513360 234.2 ns/op 4371.61 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=1-4 517332 231.3 ns/op 4427.19 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=0-4 254575 476.1 ns/op 8602.62 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=1-4 252294 471.8 ns/op 8681.42 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=0-4 44088 2715 ns/op 12067.44 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=1-4 44192 2725 ns/op 12024.34 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=0-4 600306 174.5 ns/op 85.98 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=1-4 633010 170.5 ns/op 87.96 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=0-4 683966 173.7 ns/op 230.29 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=1-4 685416 175.8 ns/op 227.54 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=0-4 416338 253.9 ns/op 2016.44 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=1-4 467769 256.0 ns/op 1999.68 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=0-4 368648 314.4 ns/op 3257.00 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=1-4 364981 330.0 ns/op 3102.96 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=0-4 308060 386.5 ns/op 10596.45 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=1-4 304822 394.7 ns/op 10377.67 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=0-4 61488 1966 ns/op 16665.87 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=1-4 61364 1991 ns/op 16457.92 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=0-4 336330 370.1 ns/op 40.53 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=1-4 334202 367.1 ns/op 40.87 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=0-4 166168 722.2 ns/op 55.39 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=1-4 180501 666.2 ns/op 60.04 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=0-4 14371 8378 ns/op 61.11 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=1-4 14172 8087 ns/op 63.31 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=0-4 6643 18601 ns/op 55.05 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=1-4 7264 15930 ns/op 64.28 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=0-4 1524 79946 ns/op 51.23 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=1-4 1503 80644 ns/op 50.79 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=0-4 175 655583 ns/op 49.98 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=1-4 176 654178 ns/op 50.09 MB/s PASS ok hash/crc32 5.934s goos: linux goarch: amd64 pkg: hash/crc64 cpu: AMD EPYC 7B12 BenchmarkCrc64/ISO64KB-4 146 908603 ns/op 72.13 MB/s BenchmarkCrc64/ISO4KB-4 1729 71334 ns/op 57.42 MB/s BenchmarkCrc64/ISO1KB-4 6956 15455 ns/op 66.26 MB/s BenchmarkCrc64/ECMA64KB-4 142 868685 ns/op 75.44 MB/s BenchmarkCrc64/Random64KB-4 152 865475 ns/op 75.72 MB/s BenchmarkCrc64/Random16KB-4 549 231056 ns/op 70.91 MB/s PASS ok hash/crc64 2.053s goos: linux goarch: amd64 pkg: hash/fnv cpu: AMD EPYC 7B12 BenchmarkFnv32KB-4 15900 7550 ns/op 135.62 MB/s BenchmarkFnv32aKB-4 14715 8475 ns/op 120.82 MB/s BenchmarkFnv64KB-4 14276 8625 ns/op 118.73 MB/s BenchmarkFnv64aKB-4 14071 8237 ns/op 124.32 MB/s BenchmarkFnv128KB-4 2752 42190 ns/op 24.27 MB/s BenchmarkFnv128aKB-4 2800 41291 ns/op 24.80 MB/s PASS ok hash/fnv 2.076s goos: linux goarch: amd64 pkg: hash/maphash cpu: AMD EPYC 7B12 BenchmarkHash/n=4/Write-4 675477 149.1 ns/op 26.83 MB/s BenchmarkHash/n=4/Bytes-4 5748136 21.43 ns/op 186.65 MB/s BenchmarkHash/n=4/String-4 2356016 52.39 ns/op 76.35 MB/s BenchmarkHash/n=8/Write-4 746607 157.2 ns/op 50.88 MB/s BenchmarkHash/n=8/Bytes-4 5760332 20.75 ns/op 385.63 MB/s BenchmarkHash/n=8/String-4 2279571 53.28 ns/op 150.16 MB/s BenchmarkHash/n=16/Write-4 691255 155.1 ns/op 103.17 MB/s BenchmarkHash/n=16/Bytes-4 5767904 21.49 ns/op 744.61 MB/s BenchmarkHash/n=16/String-4 2299893 50.85 ns/op 314.67 MB/s BenchmarkHash/n=32/Write-4 733396 162.4 ns/op 197.04 MB/s BenchmarkHash/n=32/Bytes-4 5509527 20.81 ns/op 1537.97 MB/s BenchmarkHash/n=32/String-4 2285677 51.46 ns/op 621.80 MB/s BenchmarkHash/n=64/Write-4 735217 167.8 ns/op 381.36 MB/s BenchmarkHash/n=64/Bytes-4 5448985 22.71 ns/op 2817.65 MB/s BenchmarkHash/n=64/String-4 2292498 52.59 ns/op 1216.90 MB/s BenchmarkHash/n=256/Write-4 539551 223.6 ns/op 1144.93 MB/s BenchmarkHash/n=256/Bytes-4 4348012 28.52 ns/op 8975.75 MB/s BenchmarkHash/n=256/String-4 1335015 90.48 ns/op 2829.42 MB/s BenchmarkHash/n=320/Write-4 521223 217.0 ns/op 1474.74 MB/s BenchmarkHash/n=320/Bytes-4 3681559 32.30 ns/op 9905.76 MB/s BenchmarkHash/n=320/String-4 817327 122.4 ns/op 2615.24 MB/s BenchmarkHash/n=1024/Write-4 391480 312.0 ns/op 3282.02 MB/s BenchmarkHash/n=1024/Bytes-4 1363482 86.94 ns/op 11777.87 MB/s BenchmarkHash/n=1024/String-4 392442 304.4 ns/op 3364.09 MB/s BenchmarkHash/n=4096/Write-4 179587 676.1 ns/op 6058.62 MB/s BenchmarkHash/n=4096/Bytes-4 343668 347.2 ns/op 11796.70 MB/s BenchmarkHash/n=4096/String-4 105514 1146 ns/op 3575.36 MB/s BenchmarkHash/n=16384/Write-4 55210 2137 ns/op 7667.72 MB/s BenchmarkHash/n=16384/Bytes-4 84691 1399 ns/op 11708.16 MB/s BenchmarkHash/n=16384/String-4 26896 4476 ns/op 3660.48 MB/s PASS ok hash/maphash 5.362s goos: linux goarch: amd64 pkg: html cpu: AMD EPYC 7B12 BenchmarkEscape-4 1381 85525 ns/op BenchmarkEscapeNone-4 143840 817.1 ns/op BenchmarkUnescape-4 1186 98398 ns/op BenchmarkUnescapeNone-4 809712 147.4 ns/op BenchmarkUnescapeSparse-4 19264 5983 ns/op BenchmarkUnescapeDense-4 1707 68730 ns/op PASS ok html 2.017s goos: linux goarch: amd64 pkg: html/template cpu: AMD EPYC 7B12 BenchmarkCSSEscaper-4 14070 8702 ns/op BenchmarkCSSEscaperNoSpecials-4 64538 1973 ns/op BenchmarkDecodeCSS-4 41510 2886 ns/op BenchmarkDecodeCSSNoSpecials-4 5816329 20.67 ns/op BenchmarkCSSValueFilter-4 164083 722.4 ns/op BenchmarkCSSValueFilterOk-4 118017 1004 ns/op BenchmarkEscapedExecute-4 6304 18260 ns/op BenchmarkHTMLNospaceEscaper-4 17067 7161 ns/op BenchmarkHTMLNospaceEscaperNoSpecials-4 92830 1323 ns/op BenchmarkStripTags-4 32238 3766 ns/op BenchmarkStripTagsNoSpecials-4 452918 251.1 ns/op BenchmarkJSValEscaperWithNum-4 32910 3620 ns/op BenchmarkJSValEscaperWithStr-4 7540 14606 ns/op BenchmarkJSValEscaperWithStrNoSpecials-4 26893 4472 ns/op BenchmarkJSValEscaperWithObj-4 6981 16974 ns/op BenchmarkJSValEscaperWithObjNoSpecials-4 18994 6318 ns/op BenchmarkJSStrEscaperNoSpecials-4 87614 1399 ns/op BenchmarkJSStrEscaper-4 17608 7038 ns/op BenchmarkJSRegexpEscaperNoSpecials-4 78658 1549 ns/op BenchmarkJSRegexpEscaper-4 15382 7440 ns/op BenchmarkTemplateSpecialTags-4 148 802169 ns/op BenchmarkURLEscaper-4 6208 19495 ns/op BenchmarkURLEscaperNoSpecials-4 255256 462.0 ns/op BenchmarkURLNormalizer-4 8035 14372 ns/op BenchmarkURLNormalizerNoSpecials-4 241500 505.8 ns/op BenchmarkSrcsetFilter-4 26085 4652 ns/op BenchmarkSrcsetFilterNoSpecials-4 157238 763.0 ns/op PASS ok html/template 5.182s goos: linux goarch: amd64 pkg: image cpu: AMD EPYC 7B12 BenchmarkAt/rgba-4 765037 141.5 ns/op 16 B/op 1 allocs/op BenchmarkAt/rgba64-4 577369 178.7 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba-4 836155 135.5 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba64-4 657724 188.2 ns/op 16 B/op 1 allocs/op BenchmarkAt/alpha-4 2398872 50.43 ns/op 0 B/op 0 allocs/op BenchmarkAt/alpha16-4 1594249 74.89 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray-4 2159307 50.00 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray16-4 1456849 75.42 ns/op 0 B/op 0 allocs/op BenchmarkAt/paletted-4 1876797 66.39 ns/op 0 B/op 0 allocs/op BenchmarkSet/rgba-4 581276 199.8 ns/op 16 B/op 1 allocs/op BenchmarkSet/rgba64-4 544305 230.1 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba-4 588496 208.7 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba64-4 493680 231.8 ns/op 16 B/op 1 allocs/op BenchmarkSet/alpha-4 1000000 108.8 ns/op 0 B/op 0 allocs/op BenchmarkSet/alpha16-4 804730 159.8 ns/op 16 B/op 1 allocs/op BenchmarkSet/gray-4 1234080 100.6 ns/op 0 B/op 0 allocs/op BenchmarkSet/gray16-4 738043 154.3 ns/op 16 B/op 1 allocs/op BenchmarkSet/paletted-4 556012 207.2 ns/op 0 B/op 0 allocs/op BenchmarkRGBAAt-4 1835454 68.05 ns/op BenchmarkRGBASetRGBA-4 1803500 66.69 ns/op BenchmarkRGBA64At-4 1000000 113.3 ns/op BenchmarkRGBA64SetRGBA64-4 1000000 104.7 ns/op BenchmarkNRGBAAt-4 1822585 65.38 ns/op BenchmarkNRGBASetNRGBA-4 1781462 67.00 ns/op BenchmarkNRGBA64At-4 986192 116.8 ns/op BenchmarkNRGBA64SetNRGBA64-4 956785 106.2 ns/op BenchmarkAlphaAt-4 3219472 41.35 ns/op BenchmarkAlphaSetAlpha-4 3160279 37.92 ns/op BenchmarkAlpha16At-4 1982935 59.92 ns/op BenchmarkAlphaSetAlpha16-4 1883870 61.41 ns/op BenchmarkGrayAt-4 2870695 41.49 ns/op BenchmarkGraySetGray-4 3159651 38.22 ns/op BenchmarkGray16At-4 2004064 60.44 ns/op BenchmarkGraySetGray16-4 1859007 61.33 ns/op PASS ok image 6.214s goos: linux goarch: amd64 pkg: image/color cpu: AMD EPYC 7B12 BenchmarkYCbCrToRGB/0-4 4759038 24.65 ns/op BenchmarkYCbCrToRGB/128-4 4977255 23.73 ns/op BenchmarkYCbCrToRGB/255-4 4984916 23.67 ns/op BenchmarkRGBToYCbCr/0-4 5344185 21.90 ns/op BenchmarkRGBToYCbCr/Cb-4 4973253 23.71 ns/op BenchmarkRGBToYCbCr/Cr-4 4944198 23.73 ns/op BenchmarkYCbCrToRGBA/0-4 4029476 29.35 ns/op BenchmarkYCbCrToRGBA/128-4 3867852 30.63 ns/op BenchmarkYCbCrToRGBA/255-4 4037178 29.39 ns/op BenchmarkNYCbCrAToRGBA/0-4 3962217 29.98 ns/op BenchmarkNYCbCrAToRGBA/128-4 3942408 27.29 ns/op BenchmarkNYCbCrAToRGBA/255-4 3995385 29.72 ns/op PASS ok image/color 2.777s goos: linux goarch: amd64 pkg: image/draw cpu: AMD EPYC 7B12 BenchmarkFillOver-4 5 22948711 ns/op BenchmarkFillSrc-4 457 241873 ns/op BenchmarkCopyOver-4 10 11303394 ns/op BenchmarkCopySrc-4 740 161437 ns/op BenchmarkNRGBAOver-4 9 11579879 ns/op BenchmarkNRGBASrc-4 15 7467726 ns/op BenchmarkYCbCr-4 13 9483357 ns/op BenchmarkGray-4 24 4682339 ns/op BenchmarkCMYK-4 15 7263345 ns/op BenchmarkGlyphOver-4 28 3732292 ns/op BenchmarkRGBAMaskOver-4 6 20962069 ns/op BenchmarkGrayMaskOver-4 7 16183274 ns/op BenchmarkRGBA64ImageMaskOver-4 4 25675462 ns/op BenchmarkRGBA-4 6 16909171 ns/op BenchmarkPalettedFill-4 1399 84124 ns/op BenchmarkPalettedRGBA-4 6 18086539 ns/op BenchmarkGenericOver-4 3 38186145 ns/op BenchmarkGenericMaskOver-4 7 15192307 ns/op BenchmarkGenericSrc-4 4 25514817 ns/op BenchmarkGenericMaskSrc-4 5 22243427 ns/op PASS ok image/draw 5.809s goos: linux goarch: amd64 pkg: image/gif cpu: AMD EPYC 7B12 BenchmarkDecode-4 34 3361067 ns/op 4.60 MB/s 47848 B/op 267 allocs/op BenchmarkEncodeRandomPaletted-4 2 87880882 ns/op 3.50 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRandomRGBA-4 1 2126885504 ns/op 0.58 MB/s 417248 B/op 13 allocs/op BenchmarkEncodeRealisticPaletted-4 80 1833783 ns/op 8.43 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRealisticRGBA-4 1 104641177 ns/op 0.59 MB/s 105952 B/op 13 allocs/op PASS ok image/gif 4.277s goos: linux goarch: amd64 pkg: image/jpeg cpu: AMD EPYC 7B12 BenchmarkFDCT-4 5144 20214 ns/op BenchmarkIDCT-4 5925 19178 ns/op BenchmarkDecodeBaseline-4 13 8778483 ns/op 7.04 MB/s 63024 B/op 5 allocs/op BenchmarkDecodeProgressive-4 9 11931146 ns/op 5.18 MB/s 259712 B/op 13 allocs/op BenchmarkEncodeRGBA-4 1 110213526 ns/op 11.15 MB/s 4400 B/op 4 allocs/op BenchmarkEncodeYCbCr-4 1 143067826 ns/op 6.44 MB/s 4400 B/op 4 allocs/op PASS ok image/jpeg 2.007s goos: linux goarch: amd64 pkg: image/png cpu: AMD EPYC 7B12 BenchmarkPaeth-4 13828484 7.951 ns/op BenchmarkDecodeGray-4 18 5998464 ns/op 10.93 MB/s 137024 B/op 102 allocs/op BenchmarkDecodeNRGBAGradient-4 4 26752087 ns/op 9.80 MB/s 337328 B/op 188 allocs/op BenchmarkDecodeNRGBAOpaque-4 5 22304799 ns/op 11.75 MB/s 346592 B/op 152 allocs/op BenchmarkDecodePaletted-4 31 3644903 ns/op 17.98 MB/s 139456 B/op 309 allocs/op BenchmarkDecodeRGB-4 5 20900471 ns/op 12.54 MB/s 332000 B/op 157 allocs/op BenchmarkDecodeInterlacing-4 4 25877252 ns/op 10.13 MB/s 605216 B/op 268 allocs/op BenchmarkEncodeGray-4 3 43006145 ns/op 7.14 MB/s 852184 B/op 29 allocs/op BenchmarkEncodeGrayWithBufferPool-4 3 38723056 ns/op 7.93 MB/s 284053 B/op 9 allocs/op BenchmarkEncodeNRGBOpaque-4 1 140202076 ns/op 8.76 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeNRGBA-4 1 139510926 ns/op 8.81 MB/s 864088 B/op 29 allocs/op BenchmarkEncodePaletted-4 6 19834410 ns/op 15.49 MB/s 848592 B/op 32 allocs/op BenchmarkEncodeRGBOpaque-4 1 140780305 ns/op 8.73 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeRGBA-4 1 561139733 ns/op 2.19 MB/s 864184 B/op 30 allocs/op PASS ok image/png 4.121s ##### 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 53933356 ns/op 1.85 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=opticks/size=100K/bits=64-4 3 44894659 ns/op 2.23 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=32-4 1 316104326 ns/op 1.58 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=64-4 1 307219461 ns/op 1.63 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=32-4 2 53494116 ns/op 1.87 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=64-4 3 44636253 ns/op 2.24 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=32-4 1 299948511 ns/op 1.67 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=64-4 1 275049333 ns/op 1.82 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=32-4 1 657448943 ns/op 1.52 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=64-4 1 656922044 ns/op 1.52 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=32-4 1 4227713568 ns/op 1.18 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=64-4 1 3975753441 ns/op 1.26 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=32-4 10 10194543 ns/op 9.81 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=64-4 9 11564814 ns/op 8.65 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=32-4 3 51200985 ns/op 9.77 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=64-4 2 56230992 ns/op 8.89 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=32-4 1 101157792 ns/op 9.89 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=64-4 1 115396387 ns/op 8.67 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=32-4 1 499338296 ns/op 10.01 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=64-4 1 565764091 ns/op 8.84 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=32-4 2 60535542 ns/op 1.65 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=64-4 2 52870904 ns/op 1.89 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=32-4 1 374982721 ns/op 1.33 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=64-4 1 398032193 ns/op 1.26 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=32-4 1 858488319 ns/op 1.16 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=64-4 1 940990119 ns/op 1.06 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=32-4 1 5926027489 ns/op 0.84 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=64-4 1 5839359890 ns/op 0.86 MB/s 40001616 B/op 2 allocs/op BenchmarkSaveRestore/bits=32-4 1 188750484 ns/op 22.14 MB/s 5275648 B/op 4 allocs/op BenchmarkSaveRestore/bits=64-4 1 189084023 ns/op 22.11 MB/s 9469952 B/op 4 allocs/op PASS ok index/suffixarray 46.887s ##### 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 52059 2195 ns/op 0.46 MB/s BenchmarkMarshalCorpusFile/2-4 51884 2372 ns/op 0.84 MB/s BenchmarkMarshalCorpusFile/4-4 46194 2559 ns/op 1.56 MB/s BenchmarkMarshalCorpusFile/8-4 40508 2984 ns/op 2.68 MB/s BenchmarkMarshalCorpusFile/16-4 30788 3809 ns/op 4.20 MB/s BenchmarkMarshalCorpusFile/32-4 21228 5555 ns/op 5.76 MB/s BenchmarkMarshalCorpusFile/64-4 13572 8634 ns/op 7.41 MB/s BenchmarkMarshalCorpusFile/128-4 7297 14155 ns/op 9.04 MB/s BenchmarkMarshalCorpusFile/256-4 3920 27054 ns/op 9.46 MB/s BenchmarkMarshalCorpusFile/512-4 2376 52594 ns/op 9.73 MB/s BenchmarkMarshalCorpusFile/1024-4 1123 101408 ns/op 10.10 MB/s BenchmarkMarshalCorpusFile/2048-4 562 201237 ns/op 10.18 MB/s BenchmarkMarshalCorpusFile/4096-4 296 403989 ns/op 10.14 MB/s BenchmarkMarshalCorpusFile/8192-4 156 785280 ns/op 10.43 MB/s BenchmarkMarshalCorpusFile/16384-4 67 1556333 ns/op 10.53 MB/s BenchmarkMarshalCorpusFile/32768-4 32 3621077 ns/op 9.05 MB/s BenchmarkMarshalCorpusFile/65536-4 15 7095559 ns/op 9.24 MB/s BenchmarkMarshalCorpusFile/131072-4 6 17097874 ns/op 7.67 MB/s BenchmarkMarshalCorpusFile/262144-4 4 29122432 ns/op 9.00 MB/s BenchmarkMarshalCorpusFile/524288-4 2 69726302 ns/op 7.52 MB/s BenchmarkMarshalCorpusFile/1048576-4 1 116335066 ns/op 9.01 MB/s BenchmarkUnmarshalCorpusFile/1-4 14169 8831 ns/op 0.11 MB/s BenchmarkUnmarshalCorpusFile/2-4 13945 8740 ns/op 0.23 MB/s BenchmarkUnmarshalCorpusFile/4-4 12556 9717 ns/op 0.41 MB/s BenchmarkUnmarshalCorpusFile/8-4 9908 10654 ns/op 0.75 MB/s BenchmarkUnmarshalCorpusFile/16-4 8215 12953 ns/op 1.24 MB/s BenchmarkUnmarshalCorpusFile/32-4 6481 19079 ns/op 1.68 MB/s BenchmarkUnmarshalCorpusFile/64-4 4954 23305 ns/op 2.75 MB/s BenchmarkUnmarshalCorpusFile/128-4 3868 30288 ns/op 4.23 MB/s BenchmarkUnmarshalCorpusFile/256-4 1569 77749 ns/op 3.29 MB/s BenchmarkUnmarshalCorpusFile/512-4 798 150353 ns/op 3.41 MB/s BenchmarkUnmarshalCorpusFile/1024-4 423 292026 ns/op 3.51 MB/s BenchmarkUnmarshalCorpusFile/2048-4 211 565642 ns/op 3.62 MB/s BenchmarkUnmarshalCorpusFile/4096-4 100 1135782 ns/op 3.61 MB/s BenchmarkUnmarshalCorpusFile/8192-4 48 2343892 ns/op 3.50 MB/s BenchmarkUnmarshalCorpusFile/16384-4 26 4653749 ns/op 3.52 MB/s BenchmarkUnmarshalCorpusFile/32768-4 13 8974411 ns/op 3.65 MB/s BenchmarkUnmarshalCorpusFile/65536-4 6 17892206 ns/op 3.66 MB/s BenchmarkUnmarshalCorpusFile/131072-4 3 35259709 ns/op 3.72 MB/s BenchmarkUnmarshalCorpusFile/262144-4 2 72890413 ns/op 3.60 MB/s BenchmarkUnmarshalCorpusFile/524288-4 1 139467396 ns/op 3.76 MB/s BenchmarkUnmarshalCorpusFile/1048576-4 1 280766861 ns/op 3.73 MB/s BenchmarkMutatorBytes/1-4 54931 2349 ns/op BenchmarkMutatorBytes/10-4 53791 2232 ns/op BenchmarkMutatorBytes/100-4 50059 2442 ns/op BenchmarkMutatorBytes/1000-4 34466 3781 ns/op BenchmarkMutatorBytes/10000-4 9302 15433 ns/op BenchmarkMutatorBytes/100000-4 1207 104378 ns/op BenchmarkMutatorString/1-4 49816 2404 ns/op BenchmarkMutatorString/10-4 51327 2409 ns/op BenchmarkMutatorString/100-4 46045 2782 ns/op BenchmarkMutatorString/1000-4 24136 5299 ns/op BenchmarkMutatorString/10000-4 5433 28137 ns/op BenchmarkMutatorString/100000-4 463 263200 ns/op BenchmarkMutatorAllBasicTypes/[]uint8-4 27531 4287 ns/op BenchmarkMutatorAllBasicTypes/string-4 27660 4382 ns/op BenchmarkMutatorAllBasicTypes/bool-4 91000 1328 ns/op BenchmarkMutatorAllBasicTypes/float32-4 80188 1490 ns/op BenchmarkMutatorAllBasicTypes/float64-4 81294 1483 ns/op BenchmarkMutatorAllBasicTypes/int-4 85729 1398 ns/op BenchmarkMutatorAllBasicTypes/int8-4 87513 1392 ns/op BenchmarkMutatorAllBasicTypes/int16-4 84073 1395 ns/op BenchmarkMutatorAllBasicTypes/int32-4 85699 1398 ns/op BenchmarkMutatorAllBasicTypes/int64-4 86113 1412 ns/op BenchmarkMutatorAllBasicTypes/uint8-4 81120 1462 ns/op BenchmarkMutatorAllBasicTypes/uint16-4 82615 1434 ns/op BenchmarkMutatorAllBasicTypes/uint32-4 83329 1455 ns/op BenchmarkMutatorAllBasicTypes/uint64-4 83000 1434 ns/op PASS ok internal/fuzz 11.688s goos: linux goarch: amd64 pkg: internal/intern cpu: AMD EPYC 7B12 BenchmarkStress-4 45729 2661 ns/op 0 B/op 0 allocs/op BenchmarkGetByString-4 200188 621.7 ns/op 0 B/op 0 allocs/op PASS ok internal/intern 1.284s goos: linux goarch: amd64 pkg: internal/poll cpu: AMD EPYC 7B12 BenchmarkSplicePipe/SplicePipeWithPool-4 74104 1461 ns/op BenchmarkSplicePipe/SplicePipeWithoutPool-4 26778 4253 ns/op BenchmarkSplicePipePoolParallel-4 167948 620.1 ns/op BenchmarkSplicePipeNativeParallel-4 44796 2726 ns/op PASS ok internal/poll 1.672s goos: linux goarch: amd64 pkg: internal/trace cpu: AMD EPYC 7B12 BenchmarkMMU-4 7 16406859 ns/op PASS ok internal/trace 2.265s PASS ok internal/zstd 1.011s goos: linux goarch: amd64 pkg: io cpu: AMD EPYC 7B12 BenchmarkCopyNSmall-4 18631 5636 ns/op BenchmarkCopyNLarge-4 349 309951 ns/op PASS ok io 1.337s goos: linux goarch: amd64 pkg: log cpu: AMD EPYC 7B12 BenchmarkItoa-4 300086 397.4 ns/op BenchmarkPrintln-4 31749 3796 ns/op 77 B/op 1 allocs/op BenchmarkPrintlnNoFlags-4 49172 2487 ns/op 65 B/op 0 allocs/op BenchmarkConcurrent-4 3684 35392 ns/op BenchmarkDiscard-4 1828057 67.02 ns/op 0 B/op 0 allocs/op PASS ok log 1.961s goos: linux goarch: amd64 pkg: log/slog cpu: AMD EPYC 7B12 BenchmarkWriteTime-4 117999 959.9 ns/op BenchmarkJSONHandler/defaults-4 9318 10946 ns/op 519 B/op 0 allocs/op BenchmarkJSONHandler/time_format-4 6392 18836 ns/op 780 B/op 6 allocs/op BenchmarkJSONHandler/time_unix-4 6018 16685 ns/op 760 B/op 5 allocs/op BenchmarkPreformatting/separate-4 9552 10762 ns/op 523 B/op 0 allocs/op BenchmarkPreformatting/struct-4 9326 10960 ns/op 523 B/op 0 allocs/op BenchmarkPreformatting/struct_file-4 8912 13467 ns/op 524 B/op 1 allocs/op BenchmarkJSONEncoding/json.Marshal-4 41962 2937 ns/op 79 B/op 2 allocs/op BenchmarkJSONEncoding/Encoder.Encode-4 42048 2962 ns/op 63 B/op 1 allocs/op BenchmarkNopLog/no_attrs-4 94590 1282 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-4 80073 1604 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-parallel-4 71854 1721 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/keys-values-4 75026 1678 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-4 80324 1609 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-parallel-4 106896 1139 ns/op 0 B/op 0 allocs/op BenchmarkPC/0-4 662701 178.6 ns/op 0 B/op 0 allocs/op BenchmarkPC/1-4 445123 240.2 ns/op 0 B/op 0 allocs/op BenchmarkPC/2-4 296836 362.5 ns/op 0 B/op 0 allocs/op BenchmarkPC/3-4 235770 498.7 ns/op 0 B/op 0 allocs/op BenchmarkPC/4-4 194479 618.1 ns/op 0 B/op 0 allocs/op BenchmarkRecord-4 8815 11691 ns/op BenchmarkDispatch/switch-checked-4 269521 423.8 ns/op BenchmarkDispatch/As-4 260421 443.3 ns/op BenchmarkDispatch/Visit-4 258015 460.2 ns/op BenchmarkUnsafeStrings-4 24909 4738 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.402s goos: linux goarch: amd64 pkg: log/slog/internal/benchmarks cpu: AMD EPYC 7B12 BenchmarkAttrs/disabled/5_args-4 2583708 43.21 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/5_args_ctx-4 1989796 66.56 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/10_args-4 1969485 60.34 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/40_args-4 565594 195.0 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args-4 66916 1495 ns/op 259 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args_ctx-4 98338 1033 ns/op 260 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/10_args-4 69382 1694 ns/op 471 B/op 1 allocs/op BenchmarkAttrs/fastText_discard/40_args-4 26518 5037 ns/op 2056 B/op 1 allocs/op BenchmarkAttrs/Text_discard/5_args-4 19228 5465 ns/op 609 B/op 3 allocs/op BenchmarkAttrs/Text_discard/5_args_ctx-4 21412 5596 ns/op 619 B/op 3 allocs/op BenchmarkAttrs/Text_discard/10_args-4 15001 8850 ns/op 912 B/op 7 allocs/op BenchmarkAttrs/Text_discard/40_args-4 4450 26324 ns/op 2993 B/op 22 allocs/op BenchmarkAttrs/JSON_discard/5_args-4 19070 5838 ns/op 520 B/op 0 allocs/op BenchmarkAttrs/JSON_discard/5_args_ctx-4 20060 6263 ns/op 521 B/op 0 allocs/op BenchmarkAttrs/JSON_discard/10_args-4 13958 8628 ns/op 727 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/40_args-4 6135 19955 ns/op 2307 B/op 2 allocs/op PASS ok log/slog/internal/benchmarks 3.715s goos: linux goarch: amd64 pkg: maps cpu: AMD EPYC 7B12 BenchmarkMapClone-4 4 27605764 ns/op BenchmarkKeys-4 10 10570494 ns/op BenchmarkValues-4 10 10156432 ns/op PASS ok maps 3.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: math cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAcos-4 2158606 54.40 ns/op BenchmarkAcosh-4 948110 112.0 ns/op BenchmarkAsin-4 2187996 54.14 ns/op BenchmarkAsinh-4 970279 118.8 ns/op BenchmarkAtan-4 2921097 41.72 ns/op BenchmarkAtanh-4 960544 112.4 ns/op BenchmarkAtan2-4 2122335 56.96 ns/op BenchmarkCbrt-4 1403048 85.00 ns/op BenchmarkCeil-4 21052921 5.661 ns/op BenchmarkCompare-4 3652147 32.86 ns/op BenchmarkCompare32-4 5012992 24.00 ns/op BenchmarkCopysign-4 2935201 41.35 ns/op BenchmarkCos-4 1340132 89.13 ns/op BenchmarkCosh-4 1477044 81.00 ns/op BenchmarkErf-4 2757693 42.71 ns/op BenchmarkErfc-4 2666077 44.32 ns/op BenchmarkErfinv-4 2454272 48.68 ns/op BenchmarkErfcinv-4 2433422 49.41 ns/op BenchmarkExp-4 5871724 19.39 ns/op BenchmarkExpGo-4 790556 129.3 ns/op BenchmarkExpm1-4 2014186 59.22 ns/op BenchmarkExp2-4 929841 120.5 ns/op BenchmarkExp2Go-4 906985 126.4 ns/op BenchmarkAbs-4 3719661 32.45 ns/op BenchmarkDim-4 7953601 15.05 ns/op BenchmarkFloor-4 21184644 5.658 ns/op BenchmarkMax-4 14190229 8.768 ns/op BenchmarkMin-4 13140196 9.029 ns/op BenchmarkMod-4 327736 376.9 ns/op BenchmarkFrexp-4 1907320 68.04 ns/op BenchmarkGamma-4 511322 207.1 ns/op BenchmarkHypot-4 8788202 12.49 ns/op BenchmarkHypotGo-4 1321708 94.79 ns/op BenchmarkIlogb-4 2116998 54.09 ns/op BenchmarkJ0-4 241324 500.8 ns/op BenchmarkJ1-4 239359 482.5 ns/op BenchmarkJn-4 112999 1062 ns/op BenchmarkLdexp-4 1937907 61.17 ns/op BenchmarkLgamma-4 858553 138.9 ns/op BenchmarkLog-4 5086348 21.57 ns/op BenchmarkLogb-4 2370332 50.29 ns/op BenchmarkLog1p-4 1302572 91.57 ns/op BenchmarkLog10-4 4849388 23.05 ns/op BenchmarkLog2-4 1524264 79.61 ns/op BenchmarkModf-4 2945844 40.36 ns/op BenchmarkNextafter32-4 2883058 41.69 ns/op BenchmarkNextafter64-4 2892927 41.69 ns/op BenchmarkPowInt-4 600819 197.8 ns/op BenchmarkPowFrac-4 427346 271.4 ns/op BenchmarkPow10Pos-4 4252584 28.36 ns/op BenchmarkPow10Neg-4 4028059 30.23 ns/op BenchmarkRound-4 3637743 32.85 ns/op BenchmarkRoundToEven-4 8021224 14.87 ns/op BenchmarkRemainder-4 493438 230.7 ns/op BenchmarkSignbit-4 5017708 23.70 ns/op BenchmarkSin-4 1639111 74.08 ns/op BenchmarkSincos-4 996014 120.5 ns/op BenchmarkSinh-4 1767790 67.64 ns/op BenchmarkSqrtIndirect-4 16423030 6.540 ns/op BenchmarkSqrtLatency-4 16221608 6.837 ns/op BenchmarkSqrtIndirectLatency-4 15696806 6.849 ns/op BenchmarkSqrtGoLatency-4 952737 105.4 ns/op BenchmarkSqrtPrime-4 32233 3762 ns/op BenchmarkTan-4 1470740 81.30 ns/op BenchmarkTanh-4 1340545 89.34 ns/op BenchmarkTrunc-4 16539100 6.147 ns/op BenchmarkY0-4 249314 479.9 ns/op BenchmarkY1-4 241642 476.3 ns/op BenchmarkYn-4 118648 998.6 ns/op BenchmarkFloat64bits-4 5678518 20.92 ns/op BenchmarkFloat64frombits-4 5043285 23.44 ns/op BenchmarkFloat32bits-4 5133013 23.48 ns/op BenchmarkFloat32frombits-4 4797130 24.96 ns/op BenchmarkFMA-4 19646024 6.082 ns/op PASS ok math 12.692s goos: linux goarch: amd64 pkg: math/big cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAddVV/1-4 12283675 9.537 ns/op 6710.42 MB/s BenchmarkAddVV/2-4 11426794 10.50 ns/op 12193.57 MB/s BenchmarkAddVV/3-4 9692604 12.43 ns/op 15450.88 MB/s BenchmarkAddVV/4-4 10189682 11.70 ns/op 21874.94 MB/s BenchmarkAddVV/5-4 9568080 12.65 ns/op 25296.54 MB/s BenchmarkAddVV/10-4 7870212 15.31 ns/op 41805.84 MB/s BenchmarkAddVV/100-4 1658744 71.37 ns/op 89673.19 MB/s BenchmarkAddVV/1000-4 201984 584.1 ns/op 109574.09 MB/s BenchmarkSubVV/1-4 12610429 9.508 ns/op 6731.36 MB/s BenchmarkSubVV/2-4 11343238 10.47 ns/op 12220.13 MB/s BenchmarkSubVV/3-4 9670418 11.60 ns/op 16554.19 MB/s BenchmarkSubVV/4-4 10166374 11.63 ns/op 22020.50 MB/s BenchmarkSubVV/5-4 9554512 12.67 ns/op 25256.46 MB/s BenchmarkSubVV/10-4 7883077 15.19 ns/op 42120.72 MB/s BenchmarkSubVV/100-4 1666413 71.95 ns/op 88947.74 MB/s BenchmarkSubVV/1000-4 204897 587.7 ns/op 108906.13 MB/s BenchmarkAddVW/1-4 13691056 8.826 ns/op 906.45 MB/s BenchmarkAddVW/2-4 12500205 9.486 ns/op 1686.76 MB/s BenchmarkAddVW/3-4 10802671 10.90 ns/op 2201.65 MB/s BenchmarkAddVW/4-4 12133119 9.961 ns/op 3212.40 MB/s BenchmarkAddVW/5-4 10934176 10.88 ns/op 3677.57 MB/s BenchmarkAddVW/10-4 9178263 13.06 ns/op 6123.86 MB/s BenchmarkAddVW/100-4 249378 443.3 ns/op 1804.68 MB/s BenchmarkAddVW/1000-4 35293 3394 ns/op 2357.03 MB/s BenchmarkAddVWext/1-4 14374081 8.390 ns/op 953.55 MB/s BenchmarkAddVWext/2-4 13087681 9.258 ns/op 1728.20 MB/s BenchmarkAddVWext/3-4 12417280 9.699 ns/op 2474.39 MB/s BenchmarkAddVWext/4-4 12070574 10.06 ns/op 3181.04 MB/s BenchmarkAddVWext/5-4 10960784 10.93 ns/op 3660.64 MB/s BenchmarkAddVWext/10-4 9090195 13.05 ns/op 6128.75 MB/s BenchmarkAddVWext/100-4 80986 1473 ns/op 543.25 MB/s BenchmarkAddVWext/1000-4 8253 14262 ns/op 560.92 MB/s BenchmarkSubVW/1-4 13519328 8.747 ns/op 914.63 MB/s BenchmarkSubVW/2-4 11746063 10.20 ns/op 1568.19 MB/s BenchmarkSubVW/3-4 10225316 11.74 ns/op 2044.50 MB/s BenchmarkSubVW/4-4 11714124 10.09 ns/op 3170.52 MB/s BenchmarkSubVW/5-4 10917546 10.88 ns/op 3675.70 MB/s BenchmarkSubVW/10-4 9027621 13.12 ns/op 6099.17 MB/s BenchmarkSubVW/100-4 257059 451.5 ns/op 1771.68 MB/s BenchmarkSubVW/1000-4 35070 3420 ns/op 2339.00 MB/s BenchmarkSubVWext/1-4 13531588 8.700 ns/op 919.57 MB/s BenchmarkSubVWext/2-4 13010678 9.126 ns/op 1753.26 MB/s BenchmarkSubVWext/3-4 11711913 10.18 ns/op 2358.65 MB/s BenchmarkSubVWext/4-4 11891118 10.10 ns/op 3168.52 MB/s BenchmarkSubVWext/5-4 10917146 10.85 ns/op 3685.82 MB/s BenchmarkSubVWext/10-4 8909836 13.11 ns/op 6102.46 MB/s BenchmarkSubVWext/100-4 82020 1464 ns/op 546.56 MB/s BenchmarkSubVWext/1000-4 8400 14190 ns/op 563.79 MB/s BenchmarkMulAddVWW/1-4 11677989 10.25 ns/op 6245.28 MB/s BenchmarkMulAddVWW/2-4 10720928 11.11 ns/op 11517.83 MB/s BenchmarkMulAddVWW/3-4 10299188 11.67 ns/op 16457.19 MB/s BenchmarkMulAddVWW/4-4 9469592 12.53 ns/op 20427.64 MB/s BenchmarkMulAddVWW/5-4 8458156 14.25 ns/op 22453.33 MB/s BenchmarkMulAddVWW/10-4 6599116 18.14 ns/op 35279.26 MB/s BenchmarkMulAddVWW/100-4 1000000 108.3 ns/op 59090.02 MB/s BenchmarkMulAddVWW/1000-4 125701 931.6 ns/op 68701.57 MB/s BenchmarkAddMulVVW/1-4 12128312 10.20 ns/op 6276.45 MB/s BenchmarkAddMulVVW/2-4 9709507 11.09 ns/op 11540.94 MB/s BenchmarkAddMulVVW/3-4 9315874 12.45 ns/op 15417.91 MB/s BenchmarkAddMulVVW/4-4 8664433 13.44 ns/op 19052.74 MB/s BenchmarkAddMulVVW/5-4 7800710 14.75 ns/op 21696.05 MB/s BenchmarkAddMulVVW/10-4 6422728 17.88 ns/op 35787.75 MB/s BenchmarkAddMulVVW/100-4 1373002 86.32 ns/op 74144.67 MB/s BenchmarkAddMulVVW/1000-4 164302 722.4 ns/op 88595.48 MB/s BenchmarkDivWVW/1-4 2582130 46.17 ns/op 1386.25 MB/s BenchmarkDivWVW/2-4 1242177 96.83 ns/op 1321.91 MB/s BenchmarkDivWVW/3-4 904759 125.7 ns/op 1527.93 MB/s BenchmarkDivWVW/4-4 804490 147.4 ns/op 1736.42 MB/s BenchmarkDivWVW/5-4 761109 151.5 ns/op 2112.64 MB/s BenchmarkDivWVW/10-4 418555 282.3 ns/op 2266.78 MB/s BenchmarkDivWVW/100-4 55548 2159 ns/op 2964.56 MB/s BenchmarkDivWVW/1000-4 5450 21159 ns/op 3024.67 MB/s BenchmarkNonZeroShifts/1/shrVU-4 11365440 10.39 ns/op BenchmarkNonZeroShifts/1/shlVU-4 11857807 10.22 ns/op BenchmarkNonZeroShifts/2/shrVU-4 10406449 11.36 ns/op BenchmarkNonZeroShifts/2/shlVU-4 10727368 11.07 ns/op BenchmarkNonZeroShifts/3/shrVU-4 9615394 12.39 ns/op BenchmarkNonZeroShifts/3/shlVU-4 9735525 12.02 ns/op BenchmarkNonZeroShifts/4/shrVU-4 8757105 13.55 ns/op BenchmarkNonZeroShifts/4/shlVU-4 9408660 12.68 ns/op BenchmarkNonZeroShifts/5/shrVU-4 8347941 14.48 ns/op BenchmarkNonZeroShifts/5/shlVU-4 9035912 13.29 ns/op BenchmarkNonZeroShifts/10/shrVU-4 6191461 18.98 ns/op BenchmarkNonZeroShifts/10/shlVU-4 6859478 17.42 ns/op BenchmarkNonZeroShifts/100/shrVU-4 1000000 113.1 ns/op BenchmarkNonZeroShifts/100/shlVU-4 1255129 96.34 ns/op BenchmarkNonZeroShifts/1000/shrVU-4 128269 933.1 ns/op BenchmarkNonZeroShifts/1000/shlVU-4 154248 772.8 ns/op BenchmarkDecimalConversion-4 206 548886 ns/op BenchmarkFloatString/100-4 10000 10399 ns/op 392 B/op 8 allocs/op BenchmarkFloatString/1000-4 222 543337 ns/op 2908 B/op 9 allocs/op BenchmarkFloatString/10000-4 2 50415860 ns/op 60564 B/op 48 allocs/op BenchmarkFloatString/100000-4 1 4923314631 ns/op 843000 B/op 500 allocs/op BenchmarkFloatAdd/10-4 168414 700.5 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100-4 167742 711.5 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/1000-4 153424 771.9 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/10000-4 85398 1501 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100000-4 15606 7756 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10-4 191341 574.6 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100-4 221202 576.4 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/1000-4 200995 572.9 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10000-4 141428 904.4 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100000-4 42172 2693 ns/op 0 B/op 0 allocs/op BenchmarkParseFloatSmallExp-4 1818 61544 ns/op BenchmarkParseFloatLargeExp-4 445 262972 ns/op BenchmarkGCD10x10/WithoutXY-4 206520 589.9 ns/op BenchmarkGCD10x10/WithXY-4 58765 2048 ns/op BenchmarkGCD10x100/WithoutXY-4 95500 1193 ns/op BenchmarkGCD10x100/WithXY-4 16579 7143 ns/op BenchmarkGCD10x1000/WithoutXY-4 61311 1833 ns/op BenchmarkGCD10x1000/WithXY-4 14014 8771 ns/op BenchmarkGCD100x100/WithoutXY-4 24796 4702 ns/op BenchmarkGCD100x100/WithXY-4 10000 11399 ns/op BenchmarkGCD100x1000/WithoutXY-4 10000 10081 ns/op BenchmarkGCD100x1000/WithXY-4 5743 19916 ns/op BenchmarkGCD1000x1000/WithoutXY-4 2150 54380 ns/op BenchmarkGCD1000x1000/WithXY-4 1215 96759 ns/op BenchmarkHilbert-4 24 4993700 ns/op BenchmarkBinomial-4 14578 7973 ns/op BenchmarkQuoRem-4 20530 6182 ns/op BenchmarkExp-4 15 7481021 ns/op BenchmarkExpMont/Odd-4 126 943451 ns/op 2593 B/op 22 allocs/op BenchmarkExpMont/Even1-4 123 978854 ns/op 3366 B/op 38 allocs/op BenchmarkExpMont/Even2-4 120 990922 ns/op 3832 B/op 53 allocs/op BenchmarkExpMont/Even3-4 100 1019796 ns/op 3844 B/op 53 allocs/op BenchmarkExpMont/Even4-4 100 1018896 ns/op 3843 B/op 53 allocs/op BenchmarkExpMont/Even8-4 100 1009169 ns/op 3830 B/op 52 allocs/op BenchmarkExpMont/Even32-4 120 991783 ns/op 3861 B/op 53 allocs/op BenchmarkExpMont/Even64-4 141 842890 ns/op 3652 B/op 54 allocs/op BenchmarkExpMont/Even96-4 138 864403 ns/op 3798 B/op 52 allocs/op BenchmarkExpMont/Even128-4 158 743793 ns/op 3250 B/op 50 allocs/op BenchmarkExpMont/Even255-4 178 660485 ns/op 2947 B/op 47 allocs/op BenchmarkExpMont/SmallEven1-4 428 276353 ns/op 1312 B/op 34 allocs/op BenchmarkExpMont/SmallEven2-4 380 308227 ns/op 1721 B/op 46 allocs/op BenchmarkExpMont/SmallEven3-4 392 306514 ns/op 1746 B/op 47 allocs/op BenchmarkExpMont/SmallEven4-4 388 311793 ns/op 1736 B/op 47 allocs/op BenchmarkExp2-4 15 7612287 ns/op BenchmarkBitset-4 755324 142.2 ns/op BenchmarkBitsetNeg-4 462945 258.7 ns/op BenchmarkBitsetOrig-4 246472 476.5 ns/op BenchmarkBitsetNegOrig-4 141512 733.7 ns/op BenchmarkModSqrt225_Tonelli-4 100 1029287 ns/op BenchmarkModSqrt225_3Mod4-4 385 310368 ns/op BenchmarkModSqrt231_Tonelli-4 100 1052163 ns/op BenchmarkModSqrt231_5Mod8-4 325 367099 ns/op BenchmarkModInverse-4 12391 9980 ns/op BenchmarkSqrt-4 1590 74892 ns/op BenchmarkIntSqr/1-4 1484830 79.70 ns/op BenchmarkIntSqr/2-4 746644 151.2 ns/op BenchmarkIntSqr/3-4 663324 180.4 ns/op BenchmarkIntSqr/5-4 448509 267.1 ns/op BenchmarkIntSqr/8-4 324898 372.3 ns/op BenchmarkIntSqr/10-4 259423 471.2 ns/op BenchmarkIntSqr/20-4 47481 2620 ns/op BenchmarkIntSqr/30-4 34807 3495 ns/op BenchmarkIntSqr/50-4 21397 5534 ns/op BenchmarkIntSqr/80-4 13300 9218 ns/op BenchmarkIntSqr/100-4 9723 12106 ns/op BenchmarkIntSqr/200-4 3777 31169 ns/op BenchmarkIntSqr/300-4 1456 73223 ns/op BenchmarkIntSqr/500-4 776 161241 ns/op BenchmarkIntSqr/800-4 296 403482 ns/op BenchmarkIntSqr/1000-4 218 532820 ns/op BenchmarkDiv/20/10-4 420788 270.9 ns/op BenchmarkDiv/40/20-4 422588 273.2 ns/op BenchmarkDiv/100/50-4 371306 316.4 ns/op BenchmarkDiv/200/100-4 47196 2552 ns/op BenchmarkDiv/400/200-4 45210 2644 ns/op BenchmarkDiv/1000/500-4 38355 3466 ns/op BenchmarkDiv/2000/1000-4 28074 4645 ns/op BenchmarkDiv/20000/10000-4 979 122144 ns/op BenchmarkDiv/200000/100000-4 25 5114102 ns/op BenchmarkDiv/2000000/1000000-4 1 138112636 ns/op BenchmarkDiv/20000000/10000000-4 1 3692597013 ns/op BenchmarkMul-4 5 22881889 ns/op BenchmarkNatMul/10-4 152424 665.5 ns/op BenchmarkNatMul/100-4 5848 21269 ns/op BenchmarkNatMul/1000-4 172 670397 ns/op BenchmarkZeroShifts/Shl-4 15872 6434 ns/op BenchmarkZeroShifts/ShlSame-4 5370399 22.40 ns/op BenchmarkZeroShifts/Shr-4 16664 6784 ns/op BenchmarkZeroShifts/ShrSame-4 5379835 21.56 ns/op BenchmarkExp3Power/0x10-4 179108 642.9 ns/op BenchmarkExp3Power/0x40-4 158374 738.9 ns/op BenchmarkExp3Power/0x100-4 91008 1230 ns/op BenchmarkExp3Power/0x400-4 42699 2659 ns/op BenchmarkExp3Power/0x1000-4 9862 12452 ns/op BenchmarkExp3Power/0x4000-4 2025 63618 ns/op BenchmarkExp3Power/0x10000-4 205 572531 ns/op BenchmarkExp3Power/0x40000-4 18 6540842 ns/op BenchmarkExp3Power/0x100000-4 2 61097574 ns/op BenchmarkExp3Power/0x400000-4 1 567452734 ns/op BenchmarkFibo-4 3 39312139 ns/op BenchmarkNatSqr/1-4 799210 127.7 ns/op BenchmarkNatSqr/2-4 452232 222.8 ns/op BenchmarkNatSqr/3-4 387189 270.2 ns/op BenchmarkNatSqr/5-4 310387 376.8 ns/op BenchmarkNatSqr/8-4 188130 545.8 ns/op BenchmarkNatSqr/10-4 158703 682.8 ns/op BenchmarkNatSqr/20-4 41965 2685 ns/op BenchmarkNatSqr/30-4 30649 3614 ns/op BenchmarkNatSqr/50-4 19813 6015 ns/op BenchmarkNatSqr/80-4 12188 9869 ns/op BenchmarkNatSqr/100-4 8476 12933 ns/op BenchmarkNatSqr/200-4 3390 35102 ns/op BenchmarkNatSqr/300-4 1372 80020 ns/op BenchmarkNatSqr/500-4 687 163054 ns/op BenchmarkNatSqr/800-4 294 403968 ns/op BenchmarkNatSqr/1000-4 218 569233 ns/op BenchmarkNatSetBytes/8-4 572235 183.0 ns/op BenchmarkNatSetBytes/24-4 195152 636.7 ns/op BenchmarkNatSetBytes/128-4 44160 2849 ns/op BenchmarkNatSetBytes/7-4 758352 155.6 ns/op BenchmarkNatSetBytes/23-4 201805 568.7 ns/op BenchmarkNatSetBytes/127-4 46678 2556 ns/op BenchmarkScanPi-4 249 462482 ns/op BenchmarkStringPiParallel-4 705 184370 ns/op BenchmarkScan/10/Base2-4 41376 2891 ns/op BenchmarkScan/100/Base2-4 4638 24805 ns/op BenchmarkScan/1000/Base2-4 486 247459 ns/op BenchmarkScan/10/Base8-4 100874 1180 ns/op BenchmarkScan/100/Base8-4 13554 8788 ns/op BenchmarkScan/1000/Base8-4 1386 85306 ns/op BenchmarkScan/10/Base10-4 108091 1090 ns/op BenchmarkScan/100/Base10-4 14676 8012 ns/op BenchmarkScan/1000/Base10-4 1479 77208 ns/op BenchmarkScan/10/Base16-4 117660 1008 ns/op BenchmarkScan/100/Base16-4 16585 7126 ns/op BenchmarkScan/1000/Base16-4 1704 68667 ns/op BenchmarkString/10/Base2-4 171552 698.9 ns/op BenchmarkString/100/Base2-4 23552 4965 ns/op BenchmarkString/1000/Base2-4 2352 47620 ns/op BenchmarkString/10/Base8-4 341194 356.6 ns/op BenchmarkString/100/Base8-4 63158 1843 ns/op BenchmarkString/1000/Base8-4 5972 16952 ns/op BenchmarkString/10/Base10-4 187648 583.4 ns/op BenchmarkString/100/Base10-4 37790 3071 ns/op BenchmarkString/1000/Base10-4 4660 24945 ns/op BenchmarkString/10/Base16-4 356661 311.0 ns/op BenchmarkString/100/Base16-4 80160 1399 ns/op BenchmarkString/1000/Base16-4 9691 11945 ns/op BenchmarkLeafSize/0-4 40 2749070 ns/op BenchmarkLeafSize/1-4 390 296376 ns/op BenchmarkLeafSize/2-4 387 287487 ns/op BenchmarkLeafSize/3-4 294 406785 ns/op BenchmarkLeafSize/4-4 390 284304 ns/op BenchmarkLeafSize/5-4 260 450158 ns/op BenchmarkLeafSize/6-4 295 392686 ns/op BenchmarkLeafSize/7-4 304 378433 ns/op BenchmarkLeafSize/8-4 400 288644 ns/op BenchmarkLeafSize/9-4 218 544670 ns/op BenchmarkLeafSize/10-4 256 443993 ns/op BenchmarkLeafSize/11-4 268 434050 ns/op BenchmarkLeafSize/12-4 296 381029 ns/op BenchmarkLeafSize/13-4 267 427167 ns/op BenchmarkLeafSize/14-4 316 366692 ns/op BenchmarkLeafSize/15-4 331 339529 ns/op BenchmarkLeafSize/16-4 400 278915 ns/op BenchmarkLeafSize/32-4 391 280690 ns/op BenchmarkLeafSize/64-4 373 303658 ns/op BenchmarkProbablyPrime/n=0-4 9 11819524 ns/op BenchmarkProbablyPrime/n=1-4 8 13488330 ns/op BenchmarkProbablyPrime/n=5-4 6 20063898 ns/op BenchmarkProbablyPrime/n=10-4 4 29394700 ns/op BenchmarkProbablyPrime/n=20-4 3 44529867 ns/op BenchmarkProbablyPrime/Lucas-4 9 11575078 ns/op BenchmarkProbablyPrime/MillerRabinBase2-4 64 1732279 ns/op BenchmarkRatCmp-4 203031 652.2 ns/op BenchmarkFloatSqrt/64-4 19836 5794 ns/op 208 B/op 5 allocs/op BenchmarkFloatSqrt/128-4 13698 8376 ns/op 256 B/op 5 allocs/op BenchmarkFloatSqrt/256-4 9940 12008 ns/op 352 B/op 5 allocs/op BenchmarkFloatSqrt/1000-4 4731 24622 ns/op 1312 B/op 6 allocs/op BenchmarkFloatSqrt/10000-4 798 150681 ns/op 18069 B/op 9 allocs/op BenchmarkFloatSqrt/100000-4 61 2002047 ns/op 176005 B/op 21 allocs/op BenchmarkFloatSqrt/1000000-4 1 151130649 ns/op 3765752 B/op 612 allocs/op PASS ok math/big 50.771s ##### 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 10894700 9.442 ns/op BenchmarkLeadingZeros8-4 9645674 11.45 ns/op BenchmarkLeadingZeros16-4 11773732 10.01 ns/op BenchmarkLeadingZeros32-4 12923779 9.288 ns/op BenchmarkLeadingZeros64-4 11858761 9.165 ns/op BenchmarkTrailingZeros-4 13134204 10.05 ns/op BenchmarkTrailingZeros8-4 11090574 10.83 ns/op BenchmarkTrailingZeros16-4 10931838 10.13 ns/op BenchmarkTrailingZeros32-4 12326085 10.96 ns/op BenchmarkTrailingZeros64-4 12857353 9.201 ns/op BenchmarkOnesCount-4 12919675 9.271 ns/op BenchmarkOnesCount8-4 12367170 10.78 ns/op BenchmarkOnesCount16-4 11866818 9.158 ns/op BenchmarkOnesCount32-4 12742966 9.228 ns/op BenchmarkOnesCount64-4 12735042 9.188 ns/op BenchmarkRotateLeft-4 13179948 10.40 ns/op BenchmarkRotateLeft8-4 13035430 9.197 ns/op BenchmarkRotateLeft16-4 11869812 10.87 ns/op BenchmarkRotateLeft32-4 11860390 10.04 ns/op BenchmarkRotateLeft64-4 12968724 10.35 ns/op BenchmarkReverse-4 21199015 5.320 ns/op BenchmarkReverse8-4 23440658 4.685 ns/op BenchmarkReverse16-4 22267747 4.789 ns/op BenchmarkReverse32-4 22633352 4.993 ns/op BenchmarkReverse64-4 20931960 5.320 ns/op BenchmarkReverseBytes-4 23217836 4.701 ns/op BenchmarkReverseBytes16-4 23118802 4.690 ns/op BenchmarkReverseBytes32-4 23945499 4.691 ns/op BenchmarkReverseBytes64-4 23574433 4.678 ns/op BenchmarkAdd-4 13030038 9.110 ns/op BenchmarkAdd32-4 13046868 10.07 ns/op BenchmarkAdd64-4 12846205 9.300 ns/op BenchmarkAdd64multiple-4 23940483 5.068 ns/op BenchmarkSub-4 12919104 10.14 ns/op BenchmarkSub32-4 11526291 10.97 ns/op BenchmarkSub64-4 13010894 10.14 ns/op BenchmarkSub64multiple-4 24019414 5.012 ns/op BenchmarkMul-4 13244462 9.152 ns/op BenchmarkMul32-4 11435388 10.22 ns/op BenchmarkMul64-4 12867100 9.228 ns/op BenchmarkDiv-4 11830258 10.04 ns/op BenchmarkDiv32-4 13061707 9.168 ns/op BenchmarkDiv64-4 13048796 9.178 ns/op PASS ok math/bits 6.728s goos: linux goarch: amd64 pkg: math/cmplx cpu: AMD EPYC 7B12 BenchmarkAbs-4 13569488 8.778 ns/op BenchmarkAcos-4 674460 159.0 ns/op BenchmarkAcosh-4 676368 175.7 ns/op BenchmarkAsin-4 727161 159.8 ns/op BenchmarkAsinh-4 723082 166.7 ns/op BenchmarkAtan-4 1201161 98.37 ns/op BenchmarkAtanh-4 1000000 100.8 ns/op BenchmarkConj-4 21929427 5.342 ns/op BenchmarkCos-4 745179 146.1 ns/op BenchmarkCosh-4 806158 146.6 ns/op BenchmarkExp-4 990278 116.0 ns/op BenchmarkLog-4 1506333 79.29 ns/op BenchmarkLog10-4 1487221 79.92 ns/op BenchmarkPhase-4 3372702 37.32 ns/op BenchmarkPolar-4 2299470 51.58 ns/op BenchmarkPow-4 317043 368.8 ns/op BenchmarkRect-4 1411456 85.77 ns/op BenchmarkSin-4 772717 147.9 ns/op BenchmarkSinh-4 807585 145.7 ns/op BenchmarkSqrt-4 1541311 78.74 ns/op BenchmarkTan-4 507822 222.5 ns/op BenchmarkTanh-4 554887 215.7 ns/op PASS ok math/cmplx 4.172s goos: linux goarch: amd64 pkg: math/rand cpu: AMD EPYC 7B12 BenchmarkInt63Threadsafe-4 1000000 102.2 ns/op BenchmarkInt63ThreadsafeParallel-4 858374 134.0 ns/op BenchmarkInt63Unthreadsafe-4 1485642 78.31 ns/op BenchmarkIntn1000-4 1000000 103.3 ns/op BenchmarkInt63n1000-4 1317130 92.91 ns/op BenchmarkInt31n1000-4 1305112 90.43 ns/op BenchmarkFloat32-4 1331341 98.47 ns/op BenchmarkFloat64-4 1543014 83.82 ns/op BenchmarkPerm3-4 273306 432.0 ns/op BenchmarkPerm30-4 30469 3863 ns/op BenchmarkPerm30ViaShuffle-4 31689 3807 ns/op BenchmarkShuffleOverhead-4 22784 5323 ns/op BenchmarkRead3-4 1000000 100.8 ns/op BenchmarkRead64-4 105152 1164 ns/op BenchmarkRead1000-4 6100 17040 ns/op BenchmarkConcurrent-4 426424 279.5 ns/op PASS ok math/rand 3.506s goos: linux goarch: amd64 pkg: mime cpu: AMD EPYC 7B12 BenchmarkQEncodeWord-4 62299 1932 ns/op BenchmarkQDecodeWord-4 148394 785.1 ns/op BenchmarkQDecodeHeader-4 141518 849.2 ns/op BenchmarkTypeByExtension/.html-4 505440 212.3 ns/op BenchmarkTypeByExtension/.HTML-4 383692 292.3 ns/op BenchmarkTypeByExtension/.unused-4 481764 226.2 ns/op BenchmarkExtensionsByType/text/html-4 211461 566.8 ns/op BenchmarkExtensionsByType/text/html;_charset=utf-8-4 125419 902.3 ns/op BenchmarkExtensionsByType/application/octet-stream-4 174910 709.9 ns/op PASS ok mime 2.221s goos: linux goarch: amd64 pkg: mime/multipart cpu: AMD EPYC 7B12 BenchmarkReadForm/fields/maxMemory=0-4 873 121985 ns/op 47818 B/op 187 allocs/op BenchmarkReadForm/fields/maxMemory=1048576-4 991 119724 ns/op 47937 B/op 187 allocs/op BenchmarkReadForm/files/maxMemory=0-4 392 278305 ns/op 103582 B/op 270 allocs/op BenchmarkReadForm/files/maxMemory=1048576-4 727 157965 ns/op 49302 B/op 207 allocs/op PASS ok mime/multipart 1.548s goos: linux goarch: amd64 pkg: mime/quotedprintable cpu: AMD EPYC 7B12 BenchmarkWriter-4 1407 84936 ns/op PASS ok mime/quotedprintable 1.140s ##### 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 90 1397473 ns/op 8531 B/op 91 allocs/op BenchmarkGoLookupIPNoSuchHost-4 13 9179103 ns/op 19427 B/op 160 allocs/op BenchmarkGoLookupIPWithBrokenNameServer-4 1 5013336987 ns/op 158752 B/op 230 allocs/op BenchmarkDNSName-4 121410 946.3 ns/op BenchmarkInterfaces-4 1190 85848 ns/op 16936 B/op 42 allocs/op BenchmarkInterfaceByIndex-4 1765 66978 ns/op 12394 B/op 25 allocs/op BenchmarkInterfaceByName-4 1299 82623 ns/op 16873 B/op 43 allocs/op BenchmarkInterfaceAddrs-4 866 128798 ns/op 22830 B/op 103 allocs/op BenchmarkInterfacesAndAddrs-4 2707 40649 ns/op 3983 B/op 33 allocs/op BenchmarkInterfacesAndMulticastAddrs-4 556 247920 ns/op 137576 B/op 51 allocs/op BenchmarkParseIP-4 6681 17777 ns/op BenchmarkParseIPValidIPv4-4 338827 349.4 ns/op BenchmarkParseIPValidIPv6-4 170353 701.4 ns/op BenchmarkIPString/IPv4-4 113976 1046 ns/op 32 B/op 2 allocs/op BenchmarkIPString/IPv6-4 9766 11961 ns/op 216 B/op 11 allocs/op BenchmarkIPMaskString-4 44323 2694 ns/op BenchmarkIPEqual/IPv4-4 1069453 113.1 ns/op BenchmarkIPEqual/IPv6-4 1061257 106.4 ns/op BenchmarkSendFile/1024-4 1 1217456621 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/2048-4 1 1214394046 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/4096-4 1 1213919638 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/8192-4 1 1206398152 ns/op 0.01 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/16384-4 1 1206219755 ns/op 0.01 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/32768-4 1 1015713856 ns/op 0.03 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/65536-4 1 1015889942 ns/op 0.06 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/131072-4 1 1016593475 ns/op 0.13 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/262144-4 1 1016554151 ns/op 0.26 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/524288-4 1 1017616882 ns/op 0.52 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/1048576-4 1 1020502344 ns/op 1.03 MB/s 520 B/op 11 allocs/op BenchmarkSplice/tcp-to-tcp/1024-4 1 1016488455 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/2048-4 1 1016130990 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/4096-4 1 1016328955 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/8192-4 1 1015976831 ns/op 0.01 MB/s BenchmarkSplice/tcp-to-tcp/16384-4 1 1016019182 ns/op 0.02 MB/s BenchmarkSplice/tcp-to-tcp/32768-4 1 1016741863 ns/op 0.03 MB/s BenchmarkSplice/tcp-to-tcp/65536-4 1 1015835057 ns/op 0.06 MB/s BenchmarkSplice/tcp-to-tcp/131072-4 1 1016505956 ns/op 0.13 MB/s BenchmarkSplice/tcp-to-tcp/262144-4 1 1017013018 ns/op 0.26 MB/s BenchmarkSplice/tcp-to-tcp/524288-4 1 1018335536 ns/op 0.51 MB/s BenchmarkSplice/tcp-to-tcp/1048576-4 1 1021096520 ns/op 1.03 MB/s BenchmarkSplice/unix-to-tcp/1024-4 1 1016315948 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/2048-4 1 1016020519 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/4096-4 1 1015938965 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/8192-4 1 1016246023 ns/op 0.01 MB/s BenchmarkSplice/unix-to-tcp/16384-4 1 1016483966 ns/op 0.02 MB/s BenchmarkSplice/unix-to-tcp/32768-4 1 1015899375 ns/op 0.03 MB/s BenchmarkSplice/unix-to-tcp/65536-4 1 1015983887 ns/op 0.06 MB/s BenchmarkSplice/unix-to-tcp/131072-4 1 1016723821 ns/op 0.13 MB/s BenchmarkSplice/unix-to-tcp/262144-4 1 1017430474 ns/op 0.26 MB/s BenchmarkSplice/unix-to-tcp/524288-4 1 1018649245 ns/op 0.51 MB/s BenchmarkSplice/unix-to-tcp/1048576-4 1 1019647544 ns/op 1.03 MB/s BenchmarkSpliceFile/tcp-to-file/1024-4 1 1016130577 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/2048-4 1 1016392325 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/4096-4 1 1016162192 ns/op 0.00 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/tcp-to-file/8192-4 1 1015857609 ns/op 0.01 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/tcp-to-file/16384-4 1 1016340435 ns/op 0.02 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/32768-4 1 1016720349 ns/op 0.03 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/65536-4 1 1016515210 ns/op 0.06 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/131072-4 1 1017101097 ns/op 0.13 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/262144-4 1 1017990190 ns/op 0.26 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/tcp-to-file/524288-4 1 1018009383 ns/op 0.52 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/1048576-4 1 1019818786 ns/op 1.03 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/1024-4 1 1015719414 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/2048-4 1 1015776201 ns/op 0.00 MB/s 1136 B/op 11 allocs/op BenchmarkSpliceFile/unix-to-file/4096-4 1 1015655892 ns/op 0.00 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/8192-4 1 1015770620 ns/op 0.01 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/16384-4 1 1015823032 ns/op 0.02 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/32768-4 1 1015681898 ns/op 0.03 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/65536-4 1 1016661652 ns/op 0.06 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/131072-4 1 1017870780 ns/op 0.13 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/262144-4 1 1017151828 ns/op 0.26 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/524288-4 1 1017822329 ns/op 0.52 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/1048576-4 1 1019831868 ns/op 1.03 MB/s 944 B/op 9 allocs/op BenchmarkTCP4OneShot-4 2157 48222 ns/op BenchmarkTCP4OneShotTimeout-4 2067 52970 ns/op BenchmarkTCP4Persistent-4 12427 10271 ns/op BenchmarkTCP4PersistentTimeout-4 10928 9996 ns/op BenchmarkTCP6OneShot-4 1945 57744 ns/op BenchmarkTCP6OneShotTimeout-4 1926 55340 ns/op BenchmarkTCP6Persistent-4 10845 9947 ns/op BenchmarkTCP6PersistentTimeout-4 12534 9698 ns/op BenchmarkTCP4ConcurrentReadWrite-4 18096 5801 ns/op BenchmarkTCP6ConcurrentReadWrite-4 22665 5416 ns/op BenchmarkSetReadDeadline-4 117115 939.9 ns/op BenchmarkReadWriteMsgUDPAddrPort-4 9166 14326 ns/op 0 B/op 0 allocs/op BenchmarkWriteToReadFromUDP-4 9402 12411 ns/op 16 B/op 1 allocs/op BenchmarkWriteToReadFromUDPAddrPort-4 9531 12004 ns/op 0 B/op 0 allocs/op PASS ok net 67.989s goos: linux goarch: amd64 pkg: net/http cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCookieString-4 29488 3933 ns/op 176 B/op 1 allocs/op BenchmarkReadSetCookies-4 10911 10591 ns/op 1168 B/op 21 allocs/op BenchmarkReadCookies-4 14313 8294 ns/op 1840 B/op 11 allocs/op BenchmarkHeaderWriteSubset-4 18321 6463 ns/op 45 B/op 0 allocs/op BenchmarkCopyValues-4 33734 3369 ns/op 736 B/op 11 allocs/op BenchmarkHexEscapeNonASCII-4 49988 2321 ns/op 192 B/op 2 allocs/op BenchmarkServerMatch-4 815890 128.6 ns/op BenchmarkReadRequestChrome-4 3402 31813 ns/op 19.21 MB/s 1476 B/op 14 allocs/op BenchmarkReadRequestCurl-4 10825 10992 ns/op 7.10 MB/s 923 B/op 9 allocs/op BenchmarkReadRequestApachebench-4 9975 10995 ns/op 7.46 MB/s 924 B/op 9 allocs/op BenchmarkReadRequestSiege-4 6505 16282 ns/op 9.27 MB/s 1020 B/op 11 allocs/op BenchmarkReadRequestWrk-4 17502 6841 ns/op 5.85 MB/s 860 B/op 7 allocs/op BenchmarkFileAndServer_1KB/h1-4 280 371800 ns/op 2.75 MB/s BenchmarkFileAndServer_1KB/https1-4 210 560668 ns/op 1.83 MB/s BenchmarkFileAndServer_1KB/h2-4 142 719060 ns/op 1.42 MB/s BenchmarkFileAndServer_16MB/h1-4 3 48311811 ns/op 347.27 MB/s BenchmarkFileAndServer_16MB/https1-4 1 139066398 ns/op 120.64 MB/s BenchmarkFileAndServer_16MB/h2-4 1 227585631 ns/op 73.72 MB/s BenchmarkFileAndServer_64MB/h1-4 1 189808940 ns/op 353.56 MB/s BenchmarkFileAndServer_64MB/https1-4 1 425793658 ns/op 157.61 MB/s BenchmarkFileAndServer_64MB/h2-4 1 910993237 ns/op 73.67 MB/s BenchmarkServeMux-4 267 467048 ns/op 17280 B/op 360 allocs/op BenchmarkServeMux_SkipServe-4 348 371549 ns/op 0 B/op 0 allocs/op BenchmarkClientServer/h1-4 382 318865 ns/op 5964 B/op 64 allocs/op BenchmarkClientServer/https1-4 210 477815 ns/op 6565 B/op 75 allocs/op BenchmarkClientServer/h2-4 166 615383 ns/op 10423 B/op 82 allocs/op BenchmarkClientServerParallel/4/h1-4 1131 140959 ns/op 10055 B/op 79 allocs/op BenchmarkClientServerParallel/4/https1-4 30 3678470 ns/op 80576 B/op 875 allocs/op --- BENCH: BenchmarkClientServerParallel/4/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54224: read tcp 127.0.0.1:44633->127.0.0.1:54224: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54258: read tcp 127.0.0.1:44633->127.0.0.1:54258: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54230: read tcp 127.0.0.1:44633->127.0.0.1:54230: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54236: read tcp 127.0.0.1:44633->127.0.0.1:54236: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54242: write tcp 127.0.0.1:44633->127.0.0.1:54242: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:52440: read tcp 127.0.0.1:43551->127.0.0.1:52440: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:52486: read tcp 127.0.0.1:43551->127.0.0.1:52486: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:52454: read tcp 127.0.0.1:43551->127.0.0.1:52454: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:52500: read tcp 127.0.0.1:43551->127.0.0.1:52500: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:52472: read tcp 127.0.0.1:43551->127.0.0.1:52472: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/4/h2-4 92 1141679 ns/op 26223 B/op 284 allocs/op --- BENCH: BenchmarkClientServerParallel/4/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:48646: write tcp 127.0.0.1:33937->127.0.0.1:48646: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:48642: write tcp 127.0.0.1:33937->127.0.0.1:48642: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:47240: write tcp 127.0.0.1:39437->127.0.0.1:47240: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:47200: write tcp 127.0.0.1:39437->127.0.0.1:47200: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:47250: write tcp 127.0.0.1:39437->127.0.0.1:47250: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:44070: read tcp 127.0.0.1:43351->127.0.0.1:44070: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49436: write tcp 127.0.0.1:45147->127.0.0.1:49436: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49478: write tcp 127.0.0.1:45147->127.0.0.1:49478: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:58516: read tcp 127.0.0.1:40383->127.0.0.1:58516: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:58514: write tcp 127.0.0.1:40383->127.0.0.1:58514: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h1-4 393 336055 ns/op 25843 B/op 123 allocs/op BenchmarkClientServerParallel/64/https1-4 33 4672818 ns/op 93454 B/op 1025 allocs/op --- BENCH: BenchmarkClientServerParallel/64/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:33822: read tcp 127.0.0.1:36921->127.0.0.1:33822: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:33878: read tcp 127.0.0.1:36921->127.0.0.1:33878: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:33902: read tcp 127.0.0.1:36921->127.0.0.1:33902: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:33888: write tcp 127.0.0.1:36921->127.0.0.1:33888: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:33890: write tcp 127.0.0.1:36921->127.0.0.1:33890: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:43108: write tcp 127.0.0.1:46315->127.0.0.1:43108: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:43126: write tcp 127.0.0.1:46315->127.0.0.1:43126: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:43162: read tcp 127.0.0.1:46315->127.0.0.1:43162: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:43204: read tcp 127.0.0.1:46315->127.0.0.1:43204: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:43036: read tcp 127.0.0.1:46315->127.0.0.1:43036: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h2-4 66 2602805 ns/op 62220 B/op 705 allocs/op --- BENCH: BenchmarkClientServerParallel/64/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54590: write tcp 127.0.0.1:33827->127.0.0.1:54590: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54656: write tcp 127.0.0.1:33827->127.0.0.1:54656: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54624: write tcp 127.0.0.1:33827->127.0.0.1:54624: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54620: write tcp 127.0.0.1:33827->127.0.0.1:54620: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54696: write tcp 127.0.0.1:33827->127.0.0.1:54696: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54704: write tcp 127.0.0.1:33827->127.0.0.1:54704: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54674: write tcp 127.0.0.1:33827->127.0.0.1:54674: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54678: write tcp 127.0.0.1:33827->127.0.0.1:54678: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54644: write tcp 127.0.0.1:33827->127.0.0.1:54644: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54724: write tcp 127.0.0.1:33827->127.0.0.1:54724: use of closed network connection ... [output truncated] BenchmarkServer-4 1 1033199657 ns/op 28664 B/op 145 allocs/op BenchmarkClient-4 288 415734 ns/op 3743 B/op 45 allocs/op BenchmarkServerFakeConnNoKeepAlive-4 667 186122 ns/op 7409 B/op 54 allocs/op BenchmarkServerFakeConnWithKeepAlive-4 1180 103232 ns/op 3035 B/op 24 allocs/op BenchmarkServerFakeConnWithKeepAliveLite-4 1640 88767 ns/op 1946 B/op 14 allocs/op BenchmarkServerHandlerTypeLen-4 1413 80901 ns/op 2736 B/op 21 allocs/op BenchmarkServerHandlerNoLen-4 1656 75949 ns/op 2699 B/op 19 allocs/op BenchmarkServerHandlerNoType-4 1561 76351 ns/op 2710 B/op 20 allocs/op BenchmarkServerHandlerNoHeader-4 1461 70183 ns/op 1949 B/op 14 allocs/op BenchmarkServerHijack-4 1056 116311 ns/op 16743 B/op 50 allocs/op BenchmarkCloseNotifier/h1-4 384 344063 ns/op 5633 B/op 52 allocs/op BenchmarkResponseStatusLine-4 495723 235.1 ns/op 0 B/op 0 allocs/op PASS ok net/http 15.203s ##### 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 8689 13111 ns/op 34072 B/op 12 allocs/op PASS ok net/http/httputil 1.201s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: net/netip cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkIPNextPrev-4 85971 1346 ns/op BenchmarkBinaryMarshalRoundTrip/ipv4-4 496278 205.8 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6-4 185569 650.6 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6+zone-4 67044 1834 ns/op BenchmarkStdIPv4-4 129638 906.2 ns/op 16 B/op 1 allocs/op BenchmarkIPv4-4 91231 1293 ns/op 0 B/op 0 allocs/op BenchmarkIPv4_inline-4 94330 1329 ns/op 0 B/op 0 allocs/op BenchmarkStdIPv6-4 76054 1641 ns/op 16 B/op 1 allocs/op BenchmarkIPv6-4 62388 1824 ns/op 0 B/op 0 allocs/op BenchmarkIPv4Contains-4 1565524 77.11 ns/op 0 B/op 0 allocs/op BenchmarkIPv6Contains-4 1380181 88.51 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v4-4 1000000 101.5 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6-4 227113 527.5 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_ellipsis-4 255723 495.1 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_v4-4 246592 499.5 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_zone-4 76214 1506 ns/op 0 B/op 0 allocs/op BenchmarkStdParseIP/v4-4 281593 422.0 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6-4 142242 816.4 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_ellipsis-4 144204 784.2 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_v4-4 139598 815.7 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_zone-4 75495 1574 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v4-4 368446 327.2 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v6-4 122047 970.5 ns/op 48 B/op 1 allocs/op BenchmarkIPString/v6_ellipsis-4 169171 706.1 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_v4-4 262072 455.2 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_zone-4 157710 763.0 ns/op 24 B/op 1 allocs/op BenchmarkIPStringExpanded/v4-4 316880 364.8 ns/op 16 B/op 1 allocs/op BenchmarkIPStringExpanded/v6-4 146673 792.6 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_ellipsis-4 148500 792.9 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_v4-4 144148 787.2 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_zone-4 107679 1023 ns/op 128 B/op 2 allocs/op BenchmarkIPMarshalText-4 396888 255.4 ns/op 16 B/op 1 allocs/op BenchmarkAddrPortString/v4-4 159021 749.8 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortString/v6-4 88664 1306 ns/op 112 B/op 3 allocs/op BenchmarkAddrPortString/v6_ellipsis-4 113114 1019 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_v4-4 165500 740.5 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_zone-4 106744 1096 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortMarshalText/v4-4 274716 439.2 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6-4 114415 991.4 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_ellipsis-4 135042 851.4 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_v4-4 191877 634.9 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_zone-4 136648 891.5 ns/op 64 B/op 1 allocs/op BenchmarkPrefixMasking/IPv4_/32-4 1000000 107.7 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/17-4 1000000 110.6 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/0-4 1000000 109.4 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/128-4 991222 116.5 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/65-4 1000000 115.7 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/0-4 999418 114.8 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/128-4 1000000 115.2 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/65-4 1000000 115.1 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/0-4 1000000 117.0 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMarshalText-4 350388 345.0 ns/op 24 B/op 1 allocs/op BenchmarkParseAddrPort/v4-4 565921 200.4 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6-4 198163 589.1 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_ellipsis-4 206712 576.0 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_v4-4 199843 593.3 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_zone-4 75596 1593 ns/op 0 B/op 0 allocs/op BenchmarkAs16-4 491082 225.0 ns/op PASS ok net/netip 8.567s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. 2023/05/25 01:11:55 Test RPC server listening on 127.0.0.1:35531 2023/05/25 01:11:55 Test HTTP RPC server listening on 127.0.0.1:38497 goos: linux goarch: amd64 pkg: net/rpc cpu: AMD EPYC 7B12 BenchmarkEndToEnd-4 1544 68929 ns/op BenchmarkEndToEndHTTP-4 1465 72301 ns/op BenchmarkEndToEndAsync-4 3949 33911 ns/op BenchmarkEndToEndAsyncHTTP-4 2941 35135 ns/op PASS ok net/rpc 1.594s goos: linux goarch: amd64 pkg: net/textproto cpu: AMD EPYC 7B12 BenchmarkReadMIMEHeader/client_headers-4 4920 22014 ns/op BenchmarkReadMIMEHeader/server_headers-4 7984 14846 ns/op BenchmarkUncommon-4 37203 3233 ns/op 464 B/op 5 allocs/op PASS ok net/textproto 1.495s goos: linux goarch: amd64 pkg: net/url cpu: AMD EPYC 7B12 BenchmarkString-4 5972 17103 ns/op 1616 B/op 60 allocs/op BenchmarkResolvePath-4 143911 839.1 ns/op 32 B/op 2 allocs/op BenchmarkQueryEscape/#00-4 798646 132.8 ns/op 16 B/op 1 allocs/op BenchmarkQueryEscape/#01-4 135445 883.0 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#02-4 249732 475.8 ns/op 32 B/op 1 allocs/op BenchmarkQueryEscape/#03-4 118214 1008 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#04-4 20929 5611 ns/op 832 B/op 2 allocs/op BenchmarkPathEscape/#00-4 569037 201.6 ns/op 16 B/op 1 allocs/op BenchmarkPathEscape/#01-4 132810 914.1 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#02-4 252244 477.2 ns/op 32 B/op 1 allocs/op BenchmarkPathEscape/#03-4 117271 1006 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#04-4 22536 5191 ns/op 704 B/op 2 allocs/op BenchmarkQueryUnescape/#00-4 267386 442.1 ns/op 16 B/op 1 allocs/op BenchmarkQueryUnescape/#01-4 110000 1097 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#02-4 101503 1175 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#03-4 46675 2585 ns/op 64 B/op 1 allocs/op BenchmarkQueryUnescape/#04-4 8367 13965 ns/op 320 B/op 1 allocs/op BenchmarkPathUnescape/#00-4 256782 441.8 ns/op 16 B/op 1 allocs/op BenchmarkPathUnescape/#01-4 111328 1093 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#02-4 99243 1133 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#03-4 47764 2569 ns/op 64 B/op 1 allocs/op BenchmarkPathUnescape/#04-4 8685 13949 ns/op 320 B/op 1 allocs/op PASS ok net/url 4.035s goos: linux goarch: amd64 pkg: os cpu: AMD EPYC 7B12 BenchmarkExpand/noop-4 4464074 28.20 ns/op 0 B/op 0 allocs/op BenchmarkExpand/multiple-4 259404 431.0 ns/op 48 B/op 2 allocs/op BenchmarkReaddirname-4 1185 98445 ns/op --- BENCH: BenchmarkReaddirname-4 os_test.go:512: benchmarkReaddirname ".": 130 entries os_test.go:512: benchmarkReaddirname ".": 130 entries os_test.go:512: benchmarkReaddirname ".": 130 entries BenchmarkReaddir-4 388 296716 ns/op --- BENCH: BenchmarkReaddir-4 os_test.go:529: benchmarkReaddir ".": 130 entries os_test.go:529: benchmarkReaddir ".": 130 entries os_test.go:529: benchmarkReaddir ".": 130 entries BenchmarkReadDir-4 944 126652 ns/op --- BENCH: BenchmarkReadDir-4 os_test.go:546: benchmarkReadDir ".": 130 entries os_test.go:546: benchmarkReadDir ".": 130 entries os_test.go:546: benchmarkReadDir ".": 130 entries BenchmarkStatDot-4 105910 1118 ns/op BenchmarkStatFile-4 80476 1399 ns/op BenchmarkStatDir-4 88632 1332 ns/op BenchmarkLstatDot-4 108942 1090 ns/op BenchmarkLstatFile-4 83138 1440 ns/op BenchmarkLstatDir-4 86590 1370 ns/op PASS ok os 2.503s goos: linux goarch: amd64 pkg: os/exec cpu: AMD EPYC 7B12 BenchmarkExecHostname-4 273 434150 ns/op 6752 B/op 30 allocs/op PASS ok os/exec 1.176s goos: linux goarch: amd64 pkg: os/user cpu: AMD EPYC 7B12 BenchmarkCurrent-4 696062 173.6 ns/op PASS ok os/user 1.230s ##### 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 3606554 32.55 ns/op BenchmarkString-4 2305350 51.67 ns/op BenchmarkBytes-4 1944430 61.92 ns/op BenchmarkNamedBytes-4 1000000 107.8 ns/op BenchmarkBytesArray-4 732519 163.8 ns/op BenchmarkSliceLen-4 2278196 52.53 ns/op BenchmarkMapLen-4 931004 127.7 ns/op BenchmarkStringLen-4 1845028 63.10 ns/op BenchmarkArrayLen-4 1357981 88.78 ns/op BenchmarkSliceCap-4 2502674 47.22 ns/op BenchmarkDeepEqual/int8-4 455374 252.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int8-4 92728 1284 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int16-4 411745 295.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int16-4 90889 1308 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int32-4 396008 296.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int32-4 89958 1345 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int64-4 397777 297.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int64-4 88918 1342 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int-4 388050 290.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int-4 88552 1345 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint8-4 458198 251.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8-4 117854 975.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint16-4 402136 294.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint16-4 88072 1332 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint32-4 400356 300.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint32-4 90012 1339 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint64-4 401233 296.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint64-4 86077 1554 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint-4 389842 299.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint-4 90550 1319 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uintptr-4 398121 296.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uintptr-4 86964 1336 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float32-4 396508 305.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float32-4 88730 1325 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float64-4 400480 301.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float64-4 87254 1331 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex64-4 410580 288.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex64-4 87346 1332 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex128-4 395821 295.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex128-4 90776 1392 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/bool-4 472532 263.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]bool-4 88916 1343 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/string-4 365461 308.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]string-4 82885 1678 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8#01-4 106644 1031 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][]uint8-4 54258 2291 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[6]uint8-4 43027 2828 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][6]uint8-4 31981 3875 ns/op 0 B/op 0 allocs/op BenchmarkIsZero/ArrayComparable-4 272446 446.3 ns/op BenchmarkIsZero/ArrayIncomparable-4 30750 3850 ns/op BenchmarkIsZero/StructComparable-4 582241 207.1 ns/op BenchmarkIsZero/StructIncomparable-4 138564 838.9 ns/op BenchmarkSetZero/Bool/Direct-4 4297893 27.96 ns/op BenchmarkSetZero/Bool/CachedZero-4 857318 136.6 ns/op BenchmarkSetZero/Bool/NewZero-4 653914 179.0 ns/op BenchmarkSetZero/Int/Direct-4 2480758 47.35 ns/op BenchmarkSetZero/Int/CachedZero-4 847623 137.0 ns/op BenchmarkSetZero/Int/NewZero-4 653281 179.9 ns/op BenchmarkSetZero/Uint/Direct-4 2517656 48.39 ns/op BenchmarkSetZero/Uint/CachedZero-4 834447 140.2 ns/op BenchmarkSetZero/Uint/NewZero-4 635156 176.7 ns/op BenchmarkSetZero/Float/Direct-4 2464470 47.84 ns/op BenchmarkSetZero/Float/CachedZero-4 841485 136.3 ns/op BenchmarkSetZero/Float/NewZero-4 658940 178.4 ns/op BenchmarkSetZero/Complex/Direct-4 2482340 47.74 ns/op BenchmarkSetZero/Complex/CachedZero-4 851984 137.2 ns/op BenchmarkSetZero/Complex/NewZero-4 661490 177.9 ns/op BenchmarkSetZero/Array/Direct-4 2248672 53.81 ns/op BenchmarkSetZero/Array/CachedZero-4 829329 134.8 ns/op BenchmarkSetZero/Array/NewZero-4 654888 178.6 ns/op BenchmarkSetZero/Chan/Direct-4 2528215 48.83 ns/op BenchmarkSetZero/Chan/CachedZero-4 756471 145.3 ns/op BenchmarkSetZero/Chan/NewZero-4 635818 182.3 ns/op BenchmarkSetZero/Func/Direct-4 2470225 48.14 ns/op BenchmarkSetZero/Func/CachedZero-4 832135 145.2 ns/op BenchmarkSetZero/Func/NewZero-4 646312 183.1 ns/op BenchmarkSetZero/Interface/Direct-4 2245291 53.52 ns/op BenchmarkSetZero/Interface/CachedZero-4 860785 134.2 ns/op BenchmarkSetZero/Interface/NewZero-4 640876 183.4 ns/op BenchmarkSetZero/Map/Direct-4 2472140 48.54 ns/op BenchmarkSetZero/Map/CachedZero-4 826413 142.1 ns/op BenchmarkSetZero/Map/NewZero-4 647101 185.0 ns/op BenchmarkSetZero/Pointer/Direct-4 2428296 53.71 ns/op BenchmarkSetZero/Pointer/CachedZero-4 816206 142.5 ns/op BenchmarkSetZero/Pointer/NewZero-4 645819 180.7 ns/op BenchmarkSetZero/Slice/Direct-4 2169526 53.92 ns/op BenchmarkSetZero/Slice/CachedZero-4 853088 139.6 ns/op BenchmarkSetZero/Slice/NewZero-4 636793 182.5 ns/op BenchmarkSetZero/String/Direct-4 2472679 48.08 ns/op BenchmarkSetZero/String/CachedZero-4 857230 139.0 ns/op BenchmarkSetZero/String/NewZero-4 633789 181.1 ns/op BenchmarkSetZero/Struct/Direct-4 2192548 54.48 ns/op BenchmarkSetZero/Struct/CachedZero-4 839317 137.4 ns/op BenchmarkSetZero/Struct/NewZero-4 650385 179.8 ns/op BenchmarkSelect/1-4 140971 762.6 ns/op 80 B/op 5 allocs/op BenchmarkSelect/4-4 67602 1756 ns/op 208 B/op 8 allocs/op BenchmarkSelect/8-4 32641 3673 ns/op 672 B/op 13 allocs/op BenchmarkCall-4 199038 614.5 ns/op 0 B/op 0 allocs/op BenchmarkCallMethod-4 155600 786.5 ns/op 0 B/op 0 allocs/op BenchmarkCallArgCopy/size=128-4 127710 962.0 ns/op 133.05 MB/s BenchmarkCallArgCopy/size=256-4 119950 1079 ns/op 237.18 MB/s BenchmarkCallArgCopy/size=1024-4 69398 1593 ns/op 642.93 MB/s BenchmarkCallArgCopy/size=4096-4 38022 3335 ns/op 1228.34 MB/s BenchmarkCallArgCopy/size=65536-4 2646 45333 ns/op 1445.66 MB/s BenchmarkFieldByName1-4 1360680 105.8 ns/op BenchmarkFieldByName2-4 78735 1522 ns/op BenchmarkFieldByName3-4 10398 10449 ns/op BenchmarkInterfaceBig-4 3914595 29.94 ns/op BenchmarkInterfaceSmall-4 3067672 36.80 ns/op BenchmarkNew-4 1544514 78.83 ns/op BenchmarkMap/StringKeys/MapIndex-4 2241 55599 ns/op 0 B/op 0 allocs/op BenchmarkMap/StringKeys/SetMapIndex-4 1740 67074 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/MapIndex-4 2131 60933 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/SetMapIndex-4 1735 72295 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/MapIndex-4 2002 56442 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/SetMapIndex-4 1870 66238 ns/op 0 B/op 0 allocs/op BenchmarkMapIterNext-4 209086 554.8 ns/op PASS ok reflect 17.748s goos: linux goarch: amd64 pkg: regexp cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFind-4 10065 10604 ns/op 9566 B/op 1 allocs/op BenchmarkFindAllNoMatches-4 15531 7328 ns/op 9315 B/op 1 allocs/op BenchmarkFindString-4 9453 11678 ns/op 9460 B/op 1 allocs/op BenchmarkFindSubmatch-4 10000 11480 ns/op 9414 B/op 2 allocs/op BenchmarkFindStringSubmatch-4 10924 11284 ns/op 9455 B/op 2 allocs/op BenchmarkLiteral-4 16669 7146 ns/op BenchmarkNotLiteral-4 3630 29652 ns/op BenchmarkMatchClass-4 2781 38245 ns/op BenchmarkMatchClass_InRange-4 3002 37284 ns/op BenchmarkReplaceAll-4 1935 60955 ns/op BenchmarkAnchoredLiteralShortNonMatch-4 13100 9179 ns/op BenchmarkAnchoredLiteralLongNonMatch-4 32514 3789 ns/op BenchmarkAnchoredShortMatch-4 10000 10454 ns/op BenchmarkAnchoredLongMatch-4 17610 6763 ns/op BenchmarkOnePassShortA-4 18969 6122 ns/op BenchmarkNotOnePassShortA-4 6540 16479 ns/op BenchmarkOnePassShortB-4 25321 4739 ns/op BenchmarkNotOnePassShortB-4 9439 12267 ns/op BenchmarkOnePassLongPrefix-4 80638 1506 ns/op BenchmarkOnePassLongNotPrefix-4 27247 4454 ns/op BenchmarkMatchParallelShared-4 22705 6254 ns/op BenchmarkMatchParallelCopied-4 23394 4907 ns/op BenchmarkQuoteMetaAll-4 140281 828.4 ns/op 16.90 MB/s BenchmarkQuoteMetaNone-4 257529 459.6 ns/op 56.57 MB/s BenchmarkCompile/Onepass-4 3817 29032 ns/op 4144 B/op 52 allocs/op BenchmarkCompile/Medium-4 1567 73141 ns/op 9704 B/op 112 allocs/op BenchmarkCompile/Hard-4 184 632252 ns/op 84760 B/op 424 allocs/op BenchmarkMatch/Easy0/16-4 3698581 32.30 ns/op 495.41 MB/s BenchmarkMatch/Easy0/32-4 15886 7081 ns/op 4.52 MB/s BenchmarkMatch/Easy0/1K-4 6770 19576 ns/op 52.31 MB/s BenchmarkMatch/Easy0i/16-4 3667730 32.60 ns/op 490.75 MB/s BenchmarkMatch/Easy0i/32-4 4592 22096 ns/op 1.45 MB/s BenchmarkMatch/Easy0i/1K-4 264 441170 ns/op 2.32 MB/s BenchmarkMatch/Easy1/16-4 3715752 32.45 ns/op 493.07 MB/s BenchmarkMatch/Easy1/32-4 17646 7196 ns/op 4.45 MB/s BenchmarkMatch/Easy1/1K-4 4192 25558 ns/op 40.07 MB/s BenchmarkMatch/Medium/16-4 3747286 32.76 ns/op 488.39 MB/s BenchmarkMatch/Medium/32-4 6052 19483 ns/op 1.64 MB/s BenchmarkMatch/Medium/1K-4 292 397923 ns/op 2.57 MB/s BenchmarkMatch/Hard/16-4 3663586 32.22 ns/op 496.63 MB/s BenchmarkMatch/Hard/32-4 3495 30210 ns/op 1.06 MB/s BenchmarkMatch/Hard/1K-4 168 715582 ns/op 1.43 MB/s BenchmarkMatch/Hard1/16-4 1374 83398 ns/op 0.19 MB/s BenchmarkMatch/Hard1/32-4 742 155845 ns/op 0.21 MB/s BenchmarkMatch/Hard1/1K-4 25 4546146 ns/op 0.23 MB/s BenchmarkMatch_onepass_regex/16-4 28434 4099 ns/op 3.90 MB/s 24 B/op 0 allocs/op BenchmarkMatch_onepass_regex/32-4 17698 6805 ns/op 4.70 MB/s 23 B/op 0 allocs/op BenchmarkMatch_onepass_regex/1K-4 669 178883 ns/op 5.72 MB/s 24 B/op 0 allocs/op PASS ok regexp 8.659s ##### 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 880029 130.7 ns/op BenchmarkIsWordChar-4 228559 517.2 ns/op PASS ok regexp/syntax 2.037s ##### 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 69925 1716 ns/op BenchmarkCallers/inlined-4 51762 2278 ns/op BenchmarkCallers/no-cache-4 10000 10098 ns/op BenchmarkFPCallers/cached-4 2848854 41.85 ns/op BenchmarkMakeChan/Byte-4 1161505 98.25 ns/op BenchmarkMakeChan/Int-4 998197 120.1 ns/op BenchmarkMakeChan/Ptr-4 616165 202.7 ns/op BenchmarkMakeChan/Struct/0-4 1205236 108.0 ns/op BenchmarkMakeChan/Struct/32-4 313924 350.4 ns/op BenchmarkMakeChan/Struct/40-4 484370 236.5 ns/op BenchmarkChanNonblocking-4 11606292 9.469 ns/op BenchmarkSelectUncontended-4 1069851 124.1 ns/op BenchmarkSelectSyncContended-4 33583 3823 ns/op BenchmarkSelectAsyncContended-4 107292 1131 ns/op BenchmarkSelectNonblock-4 5620156 20.22 ns/op BenchmarkChanUncontended-4 7374 15337 ns/op BenchmarkChanContended-4 1156 104420 ns/op BenchmarkChanSync-4 174811 697.4 ns/op BenchmarkChanSyncWork-4 10000 35359 ns/op BenchmarkChanProdCons0-4 86211 1587 ns/op BenchmarkChanProdCons10-4 100737 1245 ns/op BenchmarkChanProdCons100-4 102270 1219 ns/op BenchmarkChanProdConsWork0-4 70149 1601 ns/op BenchmarkChanProdConsWork10-4 87853 1483 ns/op BenchmarkChanProdConsWork100-4 87112 1431 ns/op BenchmarkSelectProdCons-4 63426 1955 ns/op BenchmarkReceiveDataFromClosedChan-4 628180 187.5 ns/op BenchmarkChanCreation-4 197769 571.3 ns/op BenchmarkChanSem-4 128553 897.9 ns/op BenchmarkChanPopular-4 93 1158972 ns/op BenchmarkChanClosed-4 479026 227.2 ns/op BenchmarkCallClosure-4 6468388 18.56 ns/op BenchmarkCallClosure1-4 6883072 17.49 ns/op BenchmarkCallClosure2-4 1328524 83.18 ns/op BenchmarkCallClosure3-4 1628228 76.74 ns/op BenchmarkCallClosure4-4 1398230 89.25 ns/op BenchmarkComplex128DivNormal-4 9994254 11.31 ns/op BenchmarkComplex128DivNisNaN-4 7588311 14.69 ns/op BenchmarkComplex128DivDisNaN-4 7558023 14.93 ns/op BenchmarkComplex128DivNisInf-4 9758354 11.74 ns/op BenchmarkComplex128DivDisInf-4 5744128 20.05 ns/op BenchmarkSetTypePtr-4 45550822 2.662 ns/op 3005.52 MB/s BenchmarkSetTypePtr8-4 9592705 12.50 ns/op 5118.70 MB/s BenchmarkSetTypePtr16-4 9647260 12.56 ns/op 10191.88 MB/s BenchmarkSetTypePtr32-4 9447898 12.51 ns/op 20457.61 MB/s BenchmarkSetTypePtr64-4 9358003 12.70 ns/op 40317.71 MB/s BenchmarkSetTypePtr126-4 5669700 21.09 ns/op 47803.34 MB/s BenchmarkSetTypePtr128-4 5873228 20.51 ns/op 49926.32 MB/s BenchmarkSetTypePtrSlice-4 723904 165.7 ns/op 49428.18 MB/s BenchmarkSetTypeNode1-4 9515595 12.52 ns/op 1917.36 MB/s BenchmarkSetTypeNode1Slice-4 2953268 40.04 ns/op 19179.23 MB/s BenchmarkSetTypeNode8-4 9597326 12.49 ns/op 6404.59 MB/s BenchmarkSetTypeNode8Slice-4 1545814 77.93 ns/op 32849.24 MB/s BenchmarkSetTypeNode64-4 5548642 21.14 ns/op 24978.87 MB/s BenchmarkSetTypeNode64Slice-4 228015 522.6 ns/op 32331.31 MB/s BenchmarkSetTypeNode64Dead-4 7567936 15.94 ns/op 33116.10 MB/s BenchmarkSetTypeNode64DeadSlice-4 252523 462.5 ns/op 36534.64 MB/s BenchmarkSetTypeNode124-4 5642798 21.16 ns/op 47638.61 MB/s BenchmarkSetTypeNode124Slice-4 180177 661.4 ns/op 48766.77 MB/s BenchmarkSetTypeNode126-4 5877772 20.35 ns/op 50323.20 MB/s BenchmarkSetTypeNode126Slice-4 180342 664.2 ns/op 49333.51 MB/s BenchmarkSetTypeNode128-4 3992922 29.87 ns/op 34813.56 MB/s BenchmarkSetTypeNode128Slice-4 142232 839.1 ns/op 39661.82 MB/s BenchmarkSetTypeNode130-4 4067973 29.91 ns/op 35303.47 MB/s BenchmarkSetTypeNode130Slice-4 138224 851.8 ns/op 39670.68 MB/s BenchmarkSetTypeNode1024-4 755366 155.9 ns/op 52636.39 MB/s BenchmarkSetTypeNode1024Slice-4 24512 4928 ns/op 53295.60 MB/s BenchmarkAllocation-4 3560 37911 ns/op BenchmarkReadMemStats-4 5394 19697 ns/op BenchmarkReadMemStatsLatency-4 1 80383 p50-ns 80383 p90-ns 80383 p99-ns BenchmarkWriteBarrier-4 2832412 51.73 ns/op BenchmarkBulkWriteBarrier-4 6780213 19.96 ns/op BenchmarkScanStackNoLocals-4 3 48412000 ns/op BenchmarkMSpanCountAlloc/bits=64-4 10941105 10.24 ns/op BenchmarkMSpanCountAlloc/bits=128-4 10478672 11.13 ns/op BenchmarkMSpanCountAlloc/bits=256-4 9578042 12.78 ns/op BenchmarkMSpanCountAlloc/bits=512-4 7064241 16.80 ns/op BenchmarkMSpanCountAlloc/bits=1024-4 4447096 25.25 ns/op BenchmarkHash5-4 6374044 18.69 ns/op 267.49 MB/s BenchmarkHash16-4 6475938 17.74 ns/op 902.16 MB/s BenchmarkHash64-4 6176968 18.37 ns/op 3484.32 MB/s BenchmarkHash1024-4 1933149 62.07 ns/op 16497.50 MB/s BenchmarkHash65536-4 38484 3112 ns/op 21060.77 MB/s BenchmarkAlignedLoad-4 8854576 13.36 ns/op BenchmarkUnalignedLoad-4 7848424 15.08 ns/op BenchmarkEqEfaceConcrete-4 6233394 18.88 ns/op BenchmarkEqIfaceConcrete-4 6899071 17.28 ns/op BenchmarkNeEfaceConcrete-4 6471200 18.14 ns/op BenchmarkNeIfaceConcrete-4 6538921 17.78 ns/op BenchmarkConvT2EByteSized/bool-4 6407922 18.65 ns/op BenchmarkConvT2EByteSized/uint8-4 6494356 18.55 ns/op BenchmarkConvT2ESmall-4 5717858 21.06 ns/op BenchmarkConvT2EUintptr-4 5578274 21.42 ns/op BenchmarkConvT2ELarge-4 1000000 103.7 ns/op BenchmarkConvT2ISmall-4 5794674 20.70 ns/op BenchmarkConvT2IUintptr-4 5564718 21.62 ns/op BenchmarkConvT2ILarge-4 1208233 100.6 ns/op BenchmarkConvI2E-4 4954741 23.98 ns/op BenchmarkConvI2I-4 4152154 28.86 ns/op BenchmarkAssertE2T-4 5140435 23.62 ns/op BenchmarkAssertE2TLarge-4 2324688 51.36 ns/op BenchmarkAssertE2I-4 4346289 27.50 ns/op BenchmarkAssertI2T-4 4849964 24.58 ns/op BenchmarkAssertI2I-4 4254818 27.72 ns/op BenchmarkAssertI2E-4 5916146 20.40 ns/op BenchmarkAssertE2E-4 6229629 19.00 ns/op BenchmarkAssertE2T2-4 3847887 30.95 ns/op BenchmarkAssertE2T2Blank-4 4751508 25.18 ns/op BenchmarkAssertI2E2-4 4663238 25.82 ns/op BenchmarkAssertI2E2Blank-4 6020522 20.07 ns/op BenchmarkAssertE2E2-4 4590758 25.82 ns/op BenchmarkAssertE2E2Blank-4 5951784 20.21 ns/op BenchmarkConvT2Ezero/zero/16-4 5764942 20.89 ns/op BenchmarkConvT2Ezero/zero/32-4 5753696 20.91 ns/op BenchmarkConvT2Ezero/zero/64-4 5580920 21.62 ns/op BenchmarkConvT2Ezero/zero/str-4 5627115 21.16 ns/op BenchmarkConvT2Ezero/zero/slice-4 5811906 20.59 ns/op BenchmarkConvT2Ezero/zero/big-4 202489 503.7 ns/op BenchmarkConvT2Ezero/nonzero/str-4 1277132 90.47 ns/op BenchmarkConvT2Ezero/nonzero/slice-4 1248086 93.74 ns/op BenchmarkConvT2Ezero/nonzero/big-4 211875 487.9 ns/op BenchmarkConvT2Ezero/smallint/16-4 5682902 21.02 ns/op BenchmarkConvT2Ezero/smallint/32-4 5671887 21.09 ns/op BenchmarkConvT2Ezero/smallint/64-4 5616204 21.07 ns/op BenchmarkConvT2Ezero/largeint/16-4 1515208 69.07 ns/op BenchmarkConvT2Ezero/largeint/32-4 1610389 70.47 ns/op BenchmarkConvT2Ezero/largeint/64-4 1624176 70.22 ns/op BenchmarkMalloc8-4 1441544 85.18 ns/op BenchmarkMalloc16-4 1418214 88.00 ns/op BenchmarkMallocTypeInfo8-4 1469452 89.60 ns/op BenchmarkMallocTypeInfo16-4 1000000 103.2 ns/op BenchmarkMallocLargeStruct-4 216046 609.4 ns/op BenchmarkGoroutineSelect-4 58 2174859 ns/op BenchmarkGoroutineBlocking-4 64 1911411 ns/op BenchmarkGoroutineForRange-4 66 1920222 ns/op BenchmarkGoroutineIdle-4 62 2013302 ns/op BenchmarkHashStringSpeed-4 2534676 44.98 ns/op BenchmarkHashBytesSpeed-4 1503170 84.65 ns/op BenchmarkHashInt32Speed-4 2958580 35.73 ns/op BenchmarkHashInt64Speed-4 3464960 38.34 ns/op BenchmarkHashStringArraySpeed-4 609291 194.5 ns/op BenchmarkMegMap-4 3282789 36.80 ns/op BenchmarkMegOneMap-4 4201194 29.00 ns/op BenchmarkMegEqMap-4 1398 86249 ns/op BenchmarkMegEmptyMap-4 4901103 24.66 ns/op BenchmarkSmallStrMap-4 3447525 35.79 ns/op BenchmarkMapStringKeysEight_16-4 3477544 34.67 ns/op BenchmarkMapStringKeysEight_32-4 3379068 34.91 ns/op BenchmarkMapStringKeysEight_64-4 3279618 35.21 ns/op BenchmarkMapStringKeysEight_1M-4 3427281 35.12 ns/op BenchmarkIntMap-4 4066525 29.93 ns/op BenchmarkMapFirst/1-4 4845302 24.47 ns/op BenchmarkMapFirst/2-4 4651094 24.43 ns/op BenchmarkMapFirst/3-4 4946583 24.48 ns/op BenchmarkMapFirst/4-4 4837207 24.83 ns/op BenchmarkMapFirst/5-4 4558314 25.55 ns/op BenchmarkMapFirst/6-4 4603801 26.54 ns/op BenchmarkMapFirst/7-4 4769085 25.66 ns/op BenchmarkMapFirst/8-4 4126141 25.59 ns/op BenchmarkMapFirst/9-4 3970611 29.77 ns/op BenchmarkMapFirst/10-4 3967311 30.71 ns/op BenchmarkMapFirst/11-4 4139229 28.94 ns/op BenchmarkMapFirst/12-4 4025600 29.24 ns/op BenchmarkMapFirst/13-4 4115708 28.55 ns/op BenchmarkMapFirst/14-4 4101326 28.33 ns/op BenchmarkMapFirst/15-4 4210323 29.35 ns/op BenchmarkMapFirst/16-4 4170242 28.66 ns/op BenchmarkMapMid/1-4 3959332 30.30 ns/op BenchmarkMapMid/2-4 3772014 31.04 ns/op BenchmarkMapMid/3-4 3865168 30.65 ns/op BenchmarkMapMid/4-4 3749472 32.23 ns/op BenchmarkMapMid/5-4 3884203 30.64 ns/op BenchmarkMapMid/6-4 3623290 32.42 ns/op BenchmarkMapMid/7-4 3797138 32.21 ns/op BenchmarkMapMid/8-4 3650112 33.61 ns/op BenchmarkMapMid/9-4 3535028 34.75 ns/op BenchmarkMapMid/10-4 3299330 35.40 ns/op BenchmarkMapMid/11-4 3307767 35.03 ns/op BenchmarkMapMid/12-4 3261644 36.79 ns/op BenchmarkMapMid/13-4 3457461 33.40 ns/op BenchmarkMapMid/14-4 3305409 35.32 ns/op BenchmarkMapMid/15-4 3549655 34.23 ns/op BenchmarkMapMid/16-4 3341722 34.58 ns/op BenchmarkMapLast/1-4 3994364 30.47 ns/op BenchmarkMapLast/2-4 3846576 30.55 ns/op BenchmarkMapLast/3-4 3804668 31.28 ns/op BenchmarkMapLast/4-4 3676323 33.23 ns/op BenchmarkMapLast/5-4 3881738 31.40 ns/op BenchmarkMapLast/6-4 3568614 33.08 ns/op BenchmarkMapLast/7-4 3622972 32.50 ns/op BenchmarkMapLast/8-4 3454254 34.85 ns/op BenchmarkMapLast/9-4 3457785 34.28 ns/op BenchmarkMapLast/10-4 3291213 36.11 ns/op BenchmarkMapLast/11-4 2848303 38.96 ns/op BenchmarkMapLast/12-4 3121930 39.42 ns/op BenchmarkMapLast/13-4 3556597 33.87 ns/op BenchmarkMapLast/14-4 3527442 35.02 ns/op BenchmarkMapLast/15-4 3246242 37.21 ns/op BenchmarkMapLast/16-4 2864170 38.74 ns/op BenchmarkMapCycle-4 2056866 60.81 ns/op BenchmarkRepeatedLookupStrMapKey32-4 3294729 36.58 ns/op BenchmarkRepeatedLookupStrMapKey1M-4 2313 51079 ns/op BenchmarkMakeMap/[Byte]Byte-4 635164 209.4 ns/op BenchmarkMakeMap/[Int]Int-4 366352 329.8 ns/op BenchmarkNewEmptyMap-4 12096888 8.527 ns/op 0 B/op 0 allocs/op BenchmarkNewSmallMap-4 1666647 71.97 ns/op 0 B/op 0 allocs/op BenchmarkMapIter-4 457834 250.5 ns/op BenchmarkMapIterEmpty-4 5366755 21.95 ns/op BenchmarkSameLengthMap-4 4556899 26.02 ns/op BenchmarkBigKeyMap-4 1662244 71.66 ns/op BenchmarkBigValMap-4 1474740 82.85 ns/op BenchmarkSmallKeyMap-4 2931294 40.98 ns/op BenchmarkMapPopulate/1-4 2260485 50.98 ns/op 0 B/op 0 allocs/op BenchmarkMapPopulate/10-4 127569 867.4 ns/op 179 B/op 1 allocs/op BenchmarkMapPopulate/100-4 7024 15999 ns/op 6274 B/op 15 allocs/op BenchmarkMapPopulate/1000-4 729 151249 ns/op 51789 B/op 56 allocs/op BenchmarkMapPopulate/10000-4 52 2349628 ns/op 416100 B/op 200 allocs/op BenchmarkMapPopulate/100000-4 3 35724754 ns/op 6528034 B/op 2906 allocs/op BenchmarkComplexAlgMap-4 424119 241.0 ns/op BenchmarkGoMapClear/Reflexive/1-4 714970 167.8 ns/op BenchmarkGoMapClear/Reflexive/10-4 651157 180.1 ns/op BenchmarkGoMapClear/Reflexive/100-4 231249 510.2 ns/op BenchmarkGoMapClear/Reflexive/1000-4 41746 2838 ns/op BenchmarkGoMapClear/Reflexive/10000-4 5371 22105 ns/op BenchmarkGoMapClear/NonReflexive/1-4 551760 214.7 ns/op BenchmarkGoMapClear/NonReflexive/10-4 495543 238.2 ns/op BenchmarkGoMapClear/NonReflexive/100-4 196447 560.2 ns/op BenchmarkGoMapClear/NonReflexive/1000-4 39669 2936 ns/op BenchmarkGoMapClear/NonReflexive/10000-4 4437 22621 ns/op BenchmarkMapStringConversion/32/simple-4 1798550 67.22 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/struct-4 1747765 69.10 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/array-4 1543656 74.99 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/simple-4 1701594 71.32 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/struct-4 1633665 74.93 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/array-4 1486822 80.08 ns/op 0 B/op 0 allocs/op BenchmarkMapInterfaceString-4 1933254 68.94 ns/op BenchmarkMapInterfacePtr-4 2025199 60.90 ns/op BenchmarkNewEmptyMapHintLessThan8-4 4830367 25.12 ns/op 0 B/op 0 allocs/op BenchmarkNewEmptyMapHintGreaterThan8-4 134989 806.7 ns/op 1152 B/op 1 allocs/op BenchmarkMapPop100-4 4891 21944 ns/op BenchmarkMapPop1000-4 372 314365 ns/op BenchmarkMapPop10000-4 21 5840095 ns/op BenchmarkMapAssign/Int32/256-4 2295553 52.45 ns/op BenchmarkMapAssign/Int32/65536-4 1068058 104.2 ns/op BenchmarkMapAssign/Int64/256-4 2257988 52.40 ns/op BenchmarkMapAssign/Int64/65536-4 956131 112.4 ns/op BenchmarkMapAssign/Str/256-4 1899415 62.62 ns/op BenchmarkMapAssign/Str/65536-4 521686 211.0 ns/op BenchmarkMapOperatorAssign/Int32/256-4 1501190 80.98 ns/op BenchmarkMapOperatorAssign/Int32/65536-4 742059 154.3 ns/op BenchmarkMapOperatorAssign/Int64/256-4 1541228 85.91 ns/op BenchmarkMapOperatorAssign/Int64/65536-4 646778 189.5 ns/op BenchmarkMapOperatorAssign/Str/256-4 482042 2214 ns/op BenchmarkMapOperatorAssign/Str/65536-4 169713 632.0 ns/op BenchmarkMapAppendAssign/Int32/256-4 819655 158.2 ns/op 27 B/op 0 allocs/op BenchmarkMapAppendAssign/Int32/65536-4 182449 594.5 ns/op 68 B/op 1 allocs/op BenchmarkMapAppendAssign/Int64/256-4 897734 171.6 ns/op 36 B/op 0 allocs/op BenchmarkMapAppendAssign/Int64/65536-4 167146 634.3 ns/op 78 B/op 1 allocs/op BenchmarkMapAppendAssign/Str/256-4 643141 231.9 ns/op 47 B/op 0 allocs/op BenchmarkMapAppendAssign/Str/65536-4 95574 1122 ns/op 148 B/op 1 allocs/op BenchmarkMapDelete/Int32/100-4 1835256 73.82 ns/op BenchmarkMapDelete/Int32/1000-4 1729722 66.72 ns/op BenchmarkMapDelete/Int32/10000-4 1907916 63.28 ns/op BenchmarkMapDelete/Int64/100-4 1727054 65.41 ns/op BenchmarkMapDelete/Int64/1000-4 1853017 62.28 ns/op BenchmarkMapDelete/Int64/10000-4 1845458 64.04 ns/op BenchmarkMapDelete/Str/100-4 1455405 81.22 ns/op BenchmarkMapDelete/Str/1000-4 1503256 78.89 ns/op BenchmarkMapDelete/Str/10000-4 1428612 87.27 ns/op BenchmarkMapDelete/Pointer/100-4 1672489 73.61 ns/op BenchmarkMapDelete/Pointer/1000-4 1783131 67.37 ns/op BenchmarkMapDelete/Pointer/10000-4 1646182 69.88 ns/op BenchmarkMemmove/0-4 15598050 7.720 ns/op BenchmarkMemmove/1-4 1989184 61.33 ns/op 16.31 MB/s BenchmarkMemmove/2-4 1884608 63.41 ns/op 31.54 MB/s BenchmarkMemmove/3-4 1893339 61.94 ns/op 48.43 MB/s BenchmarkMemmove/4-4 1884296 63.79 ns/op 62.71 MB/s BenchmarkMemmove/5-4 1905468 63.62 ns/op 78.59 MB/s BenchmarkMemmove/6-4 1894386 63.96 ns/op 93.81 MB/s BenchmarkMemmove/7-4 1867693 63.33 ns/op 110.53 MB/s BenchmarkMemmove/8-4 1957766 61.09 ns/op 130.96 MB/s BenchmarkMemmove/9-4 1872860 64.63 ns/op 139.26 MB/s BenchmarkMemmove/10-4 1859065 64.70 ns/op 154.55 MB/s BenchmarkMemmove/11-4 1858346 63.87 ns/op 172.22 MB/s BenchmarkMemmove/12-4 1867023 64.47 ns/op 186.15 MB/s BenchmarkMemmove/13-4 1786652 65.62 ns/op 198.10 MB/s BenchmarkMemmove/14-4 1869608 64.36 ns/op 217.53 MB/s BenchmarkMemmove/15-4 1824027 64.90 ns/op 231.12 MB/s BenchmarkMemmove/16-4 1909665 62.70 ns/op 255.19 MB/s BenchmarkMemmove/32-4 1817272 64.60 ns/op 495.33 MB/s BenchmarkMemmove/64-4 1699555 70.88 ns/op 902.92 MB/s BenchmarkMemmove/128-4 1374696 84.78 ns/op 1509.72 MB/s BenchmarkMemmove/256-4 920767 130.4 ns/op 1963.87 MB/s BenchmarkMemmove/512-4 627878 184.2 ns/op 2779.28 MB/s BenchmarkMemmove/1024-4 411200 286.2 ns/op 3577.42 MB/s BenchmarkMemmove/2048-4 239404 520.7 ns/op 3932.86 MB/s BenchmarkMemmove/4096-4 122786 934.6 ns/op 4382.66 MB/s BenchmarkMemmoveOverlap/32-4 1741705 67.15 ns/op 476.58 MB/s BenchmarkMemmoveOverlap/64-4 1643203 74.07 ns/op 864.06 MB/s BenchmarkMemmoveOverlap/128-4 1361497 87.48 ns/op 1463.12 MB/s BenchmarkMemmoveOverlap/256-4 895534 130.3 ns/op 1964.68 MB/s BenchmarkMemmoveOverlap/512-4 632178 182.9 ns/op 2799.17 MB/s BenchmarkMemmoveOverlap/1024-4 420826 282.6 ns/op 3622.92 MB/s BenchmarkMemmoveOverlap/2048-4 244461 489.0 ns/op 4188.32 MB/s BenchmarkMemmoveOverlap/4096-4 131781 913.2 ns/op 4485.25 MB/s BenchmarkMemmoveUnalignedDst/0-4 15719360 7.557 ns/op BenchmarkMemmoveUnalignedDst/1-4 1954605 61.61 ns/op 16.23 MB/s BenchmarkMemmoveUnalignedDst/2-4 1879941 64.45 ns/op 31.03 MB/s BenchmarkMemmoveUnalignedDst/3-4 1901575 62.90 ns/op 47.69 MB/s BenchmarkMemmoveUnalignedDst/4-4 1912072 62.92 ns/op 63.57 MB/s BenchmarkMemmoveUnalignedDst/5-4 1883244 63.22 ns/op 79.09 MB/s BenchmarkMemmoveUnalignedDst/6-4 1863938 63.06 ns/op 95.14 MB/s BenchmarkMemmoveUnalignedDst/7-4 1868584 62.67 ns/op 111.70 MB/s BenchmarkMemmoveUnalignedDst/8-4 1914428 61.97 ns/op 129.10 MB/s BenchmarkMemmoveUnalignedDst/9-4 1834878 66.03 ns/op 136.30 MB/s BenchmarkMemmoveUnalignedDst/10-4 1824830 65.04 ns/op 153.75 MB/s BenchmarkMemmoveUnalignedDst/11-4 1858399 66.23 ns/op 166.09 MB/s BenchmarkMemmoveUnalignedDst/12-4 1831446 65.20 ns/op 184.05 MB/s BenchmarkMemmoveUnalignedDst/13-4 1838614 64.49 ns/op 201.57 MB/s BenchmarkMemmoveUnalignedDst/14-4 1870056 64.78 ns/op 216.12 MB/s BenchmarkMemmoveUnalignedDst/15-4 1865462 64.21 ns/op 233.61 MB/s BenchmarkMemmoveUnalignedDst/16-4 1894130 64.30 ns/op 248.82 MB/s BenchmarkMemmoveUnalignedDst/32-4 1772344 68.56 ns/op 466.75 MB/s BenchmarkMemmoveUnalignedDst/64-4 1556985 76.66 ns/op 834.83 MB/s BenchmarkMemmoveUnalignedDst/128-4 1357548 89.16 ns/op 1435.62 MB/s BenchmarkMemmoveUnalignedDst/256-4 815066 135.6 ns/op 1887.23 MB/s BenchmarkMemmoveUnalignedDst/512-4 628012 189.4 ns/op 2703.13 MB/s BenchmarkMemmoveUnalignedDst/1024-4 388956 302.3 ns/op 3387.03 MB/s BenchmarkMemmoveUnalignedDst/2048-4 238773 496.7 ns/op 4123.16 MB/s BenchmarkMemmoveUnalignedDst/4096-4 126423 947.5 ns/op 4322.90 MB/s BenchmarkMemmoveUnalignedDstOverlap/32-4 1725807 70.72 ns/op 452.46 MB/s BenchmarkMemmoveUnalignedDstOverlap/64-4 1598290 75.40 ns/op 848.77 MB/s BenchmarkMemmoveUnalignedDstOverlap/128-4 1336437 89.24 ns/op 1434.33 MB/s BenchmarkMemmoveUnalignedDstOverlap/256-4 871132 136.0 ns/op 1882.15 MB/s BenchmarkMemmoveUnalignedDstOverlap/512-4 633880 186.4 ns/op 2746.30 MB/s BenchmarkMemmoveUnalignedDstOverlap/1024-4 393847 285.8 ns/op 3583.40 MB/s BenchmarkMemmoveUnalignedDstOverlap/2048-4 239992 498.3 ns/op 4109.86 MB/s BenchmarkMemmoveUnalignedDstOverlap/4096-4 131460 910.5 ns/op 4498.46 MB/s BenchmarkMemmoveUnalignedSrc/0-4 15582866 7.739 ns/op BenchmarkMemmoveUnalignedSrc/1-4 1975687 60.83 ns/op 16.44 MB/s BenchmarkMemmoveUnalignedSrc/2-4 1908585 64.07 ns/op 31.22 MB/s BenchmarkMemmoveUnalignedSrc/3-4 1920021 62.52 ns/op 47.98 MB/s BenchmarkMemmoveUnalignedSrc/4-4 1914530 63.79 ns/op 62.70 MB/s BenchmarkMemmoveUnalignedSrc/5-4 1914784 63.41 ns/op 78.85 MB/s BenchmarkMemmoveUnalignedSrc/6-4 1903195 62.76 ns/op 95.60 MB/s BenchmarkMemmoveUnalignedSrc/7-4 1879566 63.63 ns/op 110.02 MB/s BenchmarkMemmoveUnalignedSrc/8-4 1887912 62.31 ns/op 128.39 MB/s BenchmarkMemmoveUnalignedSrc/9-4 1854562 64.85 ns/op 138.77 MB/s BenchmarkMemmoveUnalignedSrc/10-4 1872398 65.06 ns/op 153.71 MB/s BenchmarkMemmoveUnalignedSrc/11-4 1848909 64.20 ns/op 171.34 MB/s BenchmarkMemmoveUnalignedSrc/12-4 1857442 64.27 ns/op 186.72 MB/s BenchmarkMemmoveUnalignedSrc/13-4 1827759 64.90 ns/op 200.32 MB/s BenchmarkMemmoveUnalignedSrc/14-4 1834158 65.03 ns/op 215.29 MB/s BenchmarkMemmoveUnalignedSrc/15-4 1811673 66.95 ns/op 224.05 MB/s BenchmarkMemmoveUnalignedSrc/16-4 1793047 67.86 ns/op 235.79 MB/s BenchmarkMemmoveUnalignedSrc/32-4 1743867 69.06 ns/op 463.35 MB/s BenchmarkMemmoveUnalignedSrc/64-4 1617016 74.12 ns/op 863.47 MB/s BenchmarkMemmoveUnalignedSrc/128-4 1339473 88.86 ns/op 1440.46 MB/s BenchmarkMemmoveUnalignedSrc/256-4 874074 135.0 ns/op 1896.84 MB/s BenchmarkMemmoveUnalignedSrc/512-4 609382 187.8 ns/op 2725.63 MB/s BenchmarkMemmoveUnalignedSrc/1024-4 403616 288.6 ns/op 3547.91 MB/s BenchmarkMemmoveUnalignedSrc/2048-4 239710 497.9 ns/op 4113.66 MB/s BenchmarkMemmoveUnalignedSrc/4096-4 129500 931.4 ns/op 4397.55 MB/s BenchmarkMemmoveUnalignedSrcOverlap/32-4 1760329 67.68 ns/op 472.80 MB/s BenchmarkMemmoveUnalignedSrcOverlap/64-4 1583622 76.02 ns/op 841.92 MB/s BenchmarkMemmoveUnalignedSrcOverlap/128-4 1339860 89.73 ns/op 1426.50 MB/s BenchmarkMemmoveUnalignedSrcOverlap/256-4 855740 134.5 ns/op 1903.28 MB/s BenchmarkMemmoveUnalignedSrcOverlap/512-4 621741 188.3 ns/op 2718.87 MB/s BenchmarkMemmoveUnalignedSrcOverlap/1024-4 414750 285.8 ns/op 3583.46 MB/s BenchmarkMemmoveUnalignedSrcOverlap/2048-4 241423 498.2 ns/op 4110.56 MB/s BenchmarkMemmoveUnalignedSrcOverlap/4096-4 130605 917.9 ns/op 4462.54 MB/s BenchmarkMemclr/5-4 12155870 9.975 ns/op 501.24 MB/s BenchmarkMemclr/16-4 12165607 9.916 ns/op 1613.49 MB/s BenchmarkMemclr/64-4 11406849 10.56 ns/op 6062.90 MB/s BenchmarkMemclr/256-4 10214475 11.71 ns/op 21868.89 MB/s BenchmarkMemclr/4096-4 2357137 51.14 ns/op 80096.52 MB/s BenchmarkMemclr/65536-4 69026 1830 ns/op 35806.60 MB/s BenchmarkMemclr/1M-4 2785 39594 ns/op 26483.53 MB/s BenchmarkMemclr/4M-4 680 170393 ns/op 24615.52 MB/s BenchmarkMemclr/8M-4 316 378681 ns/op 22152.15 MB/s BenchmarkMemclr/16M-4 121 1246202 ns/op 13462.68 MB/s BenchmarkMemclr/64M-4 12 9715321 ns/op 6907.53 MB/s BenchmarkMemclrUnaligned/0_5-4 7045489 17.14 ns/op 291.70 MB/s BenchmarkMemclrUnaligned/0_16-4 6974040 17.17 ns/op 932.07 MB/s BenchmarkMemclrUnaligned/0_64-4 6828748 17.48 ns/op 3661.63 MB/s BenchmarkMemclrUnaligned/0_256-4 6222990 19.21 ns/op 13326.29 MB/s BenchmarkMemclrUnaligned/0_4096-4 2184404 55.44 ns/op 73884.77 MB/s BenchmarkMemclrUnaligned/0_65536-4 70399 1638 ns/op 40009.45 MB/s BenchmarkMemclrUnaligned/1_5-4 7125903 16.66 ns/op 300.17 MB/s BenchmarkMemclrUnaligned/1_16-4 6809102 17.07 ns/op 937.38 MB/s BenchmarkMemclrUnaligned/1_64-4 6783198 17.98 ns/op 3559.88 MB/s BenchmarkMemclrUnaligned/1_256-4 6148974 19.36 ns/op 13220.37 MB/s BenchmarkMemclrUnaligned/1_4096-4 1301179 89.78 ns/op 45622.66 MB/s BenchmarkMemclrUnaligned/1_65536-4 51591 2096 ns/op 31270.47 MB/s BenchmarkMemclrUnaligned/4_5-4 7138236 16.85 ns/op 296.67 MB/s BenchmarkMemclrUnaligned/4_16-4 7060610 16.94 ns/op 944.75 MB/s BenchmarkMemclrUnaligned/4_64-4 6722070 17.60 ns/op 3635.89 MB/s BenchmarkMemclrUnaligned/4_256-4 6088053 19.23 ns/op 13311.53 MB/s BenchmarkMemclrUnaligned/4_4096-4 1286827 89.21 ns/op 45914.88 MB/s BenchmarkMemclrUnaligned/4_65536-4 63895 2152 ns/op 30456.75 MB/s BenchmarkMemclrUnaligned/7_5-4 7107663 16.84 ns/op 296.98 MB/s BenchmarkMemclrUnaligned/7_16-4 7030533 17.20 ns/op 930.17 MB/s BenchmarkMemclrUnaligned/7_64-4 6715924 18.05 ns/op 3546.47 MB/s BenchmarkMemclrUnaligned/7_256-4 6129218 19.38 ns/op 13207.47 MB/s BenchmarkMemclrUnaligned/7_4096-4 1350362 88.98 ns/op 46033.67 MB/s BenchmarkMemclrUnaligned/7_65536-4 61710 2258 ns/op 29021.98 MB/s BenchmarkMemclrUnaligned/0_1M-4 2779 40352 ns/op 25985.66 MB/s BenchmarkMemclrUnaligned/0_4M-4 688 171974 ns/op 24389.16 MB/s BenchmarkMemclrUnaligned/0_8M-4 308 384488 ns/op 21817.62 MB/s BenchmarkMemclrUnaligned/0_16M-4 91 1150994 ns/op 14576.28 MB/s BenchmarkMemclrUnaligned/0_64M-4 12 9774660 ns/op 6865.60 MB/s BenchmarkMemclrUnaligned/1_1M-4 2764 41616 ns/op 25196.41 MB/s BenchmarkMemclrUnaligned/1_4M-4 670 174721 ns/op 24005.78 MB/s BenchmarkMemclrUnaligned/1_8M-4 253 720383 ns/op 11644.65 MB/s BenchmarkMemclrUnaligned/1_16M-4 43 2705479 ns/op 6201.20 MB/s BenchmarkMemclrUnaligned/1_64M-4 12 9777824 ns/op 6863.37 MB/s BenchmarkMemclrUnaligned/4_1M-4 2785 39373 ns/op 26631.55 MB/s BenchmarkMemclrUnaligned/4_4M-4 654 167373 ns/op 25059.57 MB/s BenchmarkMemclrUnaligned/4_8M-4 248 457841 ns/op 18322.09 MB/s BenchmarkMemclrUnaligned/4_16M-4 76 1342272 ns/op 12499.11 MB/s BenchmarkMemclrUnaligned/4_64M-4 12 9608601 ns/op 6984.25 MB/s BenchmarkMemclrUnaligned/7_1M-4 2570 40103 ns/op 26146.98 MB/s BenchmarkMemclrUnaligned/7_4M-4 676 166516 ns/op 25188.65 MB/s BenchmarkMemclrUnaligned/7_8M-4 247 458208 ns/op 18307.42 MB/s BenchmarkMemclrUnaligned/7_16M-4 73 2134971 ns/op 7858.29 MB/s BenchmarkMemclrUnaligned/7_64M-4 12 9816405 ns/op 6836.40 MB/s BenchmarkGoMemclr/5-4 2166121 54.31 ns/op 92.07 MB/s BenchmarkGoMemclr/16-4 519314 225.6 ns/op 70.91 MB/s BenchmarkGoMemclr/64-4 136878 848.2 ns/op 75.46 MB/s BenchmarkGoMemclr/256-4 35737 3312 ns/op 77.29 MB/s BenchmarkMemclrRange/1K_2K-4 70118 1703 ns/op 56294.84 MB/s BenchmarkMemclrRange/2K_8K-4 30547 3984 ns/op 83708.08 MB/s BenchmarkMemclrRange/4K_16K-4 41599 2812 ns/op 114873.46 MB/s BenchmarkMemclrRange/160K_228K-4 1838 60085 ns/op 27674.98 MB/s BenchmarkClearFat7-4 6020382 20.16 ns/op BenchmarkClearFat8-4 7090212 16.68 ns/op BenchmarkClearFat11-4 6241860 19.54 ns/op BenchmarkClearFat12-4 6246105 18.50 ns/op BenchmarkClearFat13-4 6078494 19.20 ns/op BenchmarkClearFat14-4 6129740 19.35 ns/op BenchmarkClearFat15-4 6043972 19.61 ns/op BenchmarkClearFat16-4 6468898 18.12 ns/op BenchmarkClearFat24-4 6335932 19.30 ns/op BenchmarkClearFat32-4 6158697 19.65 ns/op BenchmarkClearFat40-4 5586265 21.82 ns/op BenchmarkClearFat48-4 5960162 20.20 ns/op BenchmarkClearFat56-4 5671741 21.50 ns/op BenchmarkClearFat64-4 5397807 22.31 ns/op BenchmarkClearFat72-4 5328391 22.86 ns/op BenchmarkClearFat128-4 3759450 32.35 ns/op BenchmarkClearFat256-4 2200204 54.27 ns/op BenchmarkClearFat512-4 1492602 81.16 ns/op BenchmarkClearFat1024-4 852256 139.2 ns/op BenchmarkClearFat1032-4 809416 147.2 ns/op BenchmarkClearFat1040-4 833968 143.0 ns/op BenchmarkCopyFat7-4 6325425 19.50 ns/op BenchmarkCopyFat8-4 6801668 17.37 ns/op BenchmarkCopyFat11-4 6035641 19.38 ns/op BenchmarkCopyFat12-4 6233036 18.80 ns/op BenchmarkCopyFat13-4 6049239 18.98 ns/op BenchmarkCopyFat14-4 6337795 18.71 ns/op BenchmarkCopyFat15-4 6129652 19.76 ns/op BenchmarkCopyFat16-4 6354409 18.53 ns/op BenchmarkCopyFat24-4 6180960 19.64 ns/op BenchmarkCopyFat32-4 6248366 19.10 ns/op BenchmarkCopyFat64-4 5366232 22.35 ns/op BenchmarkCopyFat72-4 5078767 23.50 ns/op BenchmarkCopyFat128-4 3742826 32.49 ns/op BenchmarkCopyFat256-4 2089963 57.50 ns/op BenchmarkCopyFat512-4 1376307 85.99 ns/op BenchmarkCopyFat520-4 1378982 87.60 ns/op BenchmarkCopyFat1024-4 806199 145.8 ns/op BenchmarkCopyFat1032-4 788463 149.8 ns/op BenchmarkCopyFat1040-4 755204 149.9 ns/op BenchmarkIssue18740/2byte-4 430 280235 ns/op BenchmarkIssue18740/4byte-4 648 176566 ns/op BenchmarkIssue18740/8byte-4 987 122616 ns/op BenchmarkMemclrKnownSize1-4 8873265 13.84 ns/op 72.24 MB/s BenchmarkMemclrKnownSize2-4 5579992 20.23 ns/op 98.86 MB/s BenchmarkMemclrKnownSize4-4 3512959 34.25 ns/op 116.78 MB/s BenchmarkMemclrKnownSize8-4 1000000 111.6 ns/op 71.68 MB/s BenchmarkMemclrKnownSize16-4 520604 227.8 ns/op 70.23 MB/s BenchmarkMemclrKnownSize32-4 274824 432.6 ns/op 73.97 MB/s BenchmarkMemclrKnownSize64-4 141146 819.9 ns/op 78.05 MB/s BenchmarkMemclrKnownSize112-4 82539 1459 ns/op 76.78 MB/s BenchmarkMemclrKnownSize128-4 70965 1617 ns/op 79.16 MB/s BenchmarkMemclrKnownSize192-4 47882 2433 ns/op 78.90 MB/s BenchmarkMemclrKnownSize248-4 37274 3265 ns/op 75.96 MB/s BenchmarkMemclrKnownSize256-4 36199 3324 ns/op 77.01 MB/s BenchmarkMemclrKnownSize512-4 17790 6600 ns/op 77.58 MB/s BenchmarkMemclrKnownSize1024-4 8737 13242 ns/op 77.33 MB/s BenchmarkMemclrKnownSize4096-4 2254 53570 ns/op 76.46 MB/s BenchmarkMemclrKnownSize512KiB-4 16 7042046 ns/op 74.45 MB/s BenchmarkReadMetricsLatency-4 19450 5058 p50-ns 7826 p90-ns 17476 p99-ns BenchmarkFinalizer-4 163 674728 ns/op BenchmarkFinalizerRun-4 154861 1108 ns/op BenchmarkPallocBitsSummarize/Unpacked00-4 7441434 15.41 ns/op BenchmarkPallocBitsSummarize/UnpackedFFFFFFFFFFFFFFFF-4 3114120 37.72 ns/op BenchmarkPallocBitsSummarize/UnpackedAA-4 2432728 48.21 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAAAAAAAAAA-4 2403162 49.02 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000AAAAAAAA-4 1302074 91.03 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAA00000001-4 1000000 102.1 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBBBBBBBBBB-4 2227563 52.42 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000BBBBBBBB-4 1255651 93.91 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBB00000001-4 1315939 90.30 ns/op BenchmarkPallocBitsSummarize/UnpackedCCCCCCCCCCCCCCCC-4 1800734 62.84 ns/op BenchmarkPallocBitsSummarize/Unpacked4444444444444444-4 1846406 66.26 ns/op BenchmarkPallocBitsSummarize/Unpacked4040404040404040-4 1703120 69.46 ns/op BenchmarkPallocBitsSummarize/Unpacked4000400040004000-4 1462753 81.53 ns/op BenchmarkPallocBitsSummarize/Unpacked1000404044CCAAFF-4 1329252 88.85 ns/op BenchmarkFindBitRange64/Pattern00Size2-4 6205276 19.37 ns/op BenchmarkFindBitRange64/Pattern00Size8-4 6555642 18.22 ns/op BenchmarkFindBitRange64/Pattern00Size32-4 6534759 18.25 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize2-4 6566818 18.12 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize8-4 5875658 20.35 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize32-4 5217549 23.06 ns/op BenchmarkFindBitRange64/PatternAASize2-4 6458835 18.36 ns/op BenchmarkFindBitRange64/PatternAASize8-4 6494556 18.29 ns/op BenchmarkFindBitRange64/PatternAASize32-4 6529597 18.39 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize2-4 6526234 18.38 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize8-4 6596149 18.35 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize32-4 6573040 18.26 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize2-4 6582697 18.38 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize8-4 6505792 18.39 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize32-4 6472934 18.30 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size2-4 5878234 18.34 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size8-4 6523929 18.53 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size32-4 6424257 18.67 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize2-4 6399664 19.11 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize8-4 6076960 19.69 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize32-4 6084613 19.46 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize2-4 6475683 18.20 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize8-4 6163546 19.45 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize32-4 6187846 19.62 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size2-4 6550296 18.18 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size8-4 6081232 19.72 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size32-4 6087705 19.62 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize2-4 6501267 18.26 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize8-4 6114556 19.57 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize32-4 6082582 19.66 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size2-4 6538756 18.50 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size8-4 6517454 18.38 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size32-4 6497304 18.47 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size2-4 6582054 18.23 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size8-4 6476275 18.31 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size32-4 6537819 18.32 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size2-4 6021160 18.26 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size8-4 6538226 18.23 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size32-4 6522326 18.26 ns/op BenchmarkNetpollBreak-4 3368 30162 ns/op BenchmarkPinnerPinUnpinBatch-4 962 110367 ns/op BenchmarkPinnerPinUnpinBatchDouble-4 220 519657 ns/op BenchmarkPinnerPinUnpinBatchTiny-4 1184 109739 ns/op BenchmarkPinnerPinUnpin-4 1000000 103.9 ns/op BenchmarkPinnerPinUnpinTiny-4 1000000 104.5 ns/op BenchmarkPinnerPinUnpinDouble-4 433516 269.5 ns/op BenchmarkPinnerPinUnpinParallel-4 2806575 37.44 ns/op BenchmarkPinnerPinUnpinParallelTiny-4 3441652 32.90 ns/op BenchmarkPinnerPinUnpinParallelDouble-4 266096 545.9 ns/op BenchmarkPinnerIsPinnedOnPinned-4 5393698 20.47 ns/op BenchmarkPinnerIsPinnedOnUnpinned-4 5797984 19.81 ns/op BenchmarkPinnerIsPinnedOnPinnedParallel-4 9581712 13.73 ns/op BenchmarkPinnerIsPinnedOnUnpinnedParallel-4 7972520 12.72 ns/op BenchmarkPingPongHog-4 410 341631 ns/op BenchmarkStackGrowth-4 105945 1017 ns/op BenchmarkStackGrowthDeep-4 1300 88116 ns/op BenchmarkCreateGoroutines-4 48117 2367 ns/op BenchmarkCreateGoroutinesParallel-4 46322 2879 ns/op BenchmarkCreateGoroutinesCapture-4 9344 13860 ns/op 144 B/op 5 allocs/op BenchmarkCreateGoroutinesSingle-4 40195 2846 ns/op BenchmarkClosureCall-4 18418563 6.411 ns/op BenchmarkWakeupParallelSpinning/0s-4 7500 17929 ns/op BenchmarkWakeupParallelSpinning/1µs-4 5054 21935 ns/op BenchmarkWakeupParallelSpinning/2µs-4 5198 23789 ns/op BenchmarkWakeupParallelSpinning/5µs-4 3420 35701 ns/op BenchmarkWakeupParallelSpinning/10µs-4 2071 56768 ns/op BenchmarkWakeupParallelSpinning/20µs-4 1280 94467 ns/op BenchmarkWakeupParallelSpinning/50µs-4 603 195536 ns/op BenchmarkWakeupParallelSpinning/100µs-4 316 338636 ns/op BenchmarkWakeupParallelSyscall/0s-4 730 155851 ns/op BenchmarkWakeupParallelSyscall/1µs-4 709 162232 ns/op BenchmarkWakeupParallelSyscall/2µs-4 760 160766 ns/op BenchmarkWakeupParallelSyscall/5µs-4 726 167826 ns/op BenchmarkWakeupParallelSyscall/10µs-4 692 178249 ns/op BenchmarkWakeupParallelSyscall/20µs-4 562 201229 ns/op BenchmarkWakeupParallelSyscall/50µs-4 373 293443 ns/op BenchmarkWakeupParallelSyscall/100µs-4 319 381296 ns/op BenchmarkMatmult-4 3175096 39.06 ns/op BenchmarkFastrand-4 10650213 9.832 ns/op BenchmarkFastrand64-4 10337143 10.93 ns/op BenchmarkFastrandHashiter-4 4353164 28.68 ns/op BenchmarkFastrandn/2-4 5814914 20.06 ns/op BenchmarkFastrandn/3-4 6106995 19.58 ns/op BenchmarkFastrandn/4-4 6211485 19.21 ns/op BenchmarkFastrandn/5-4 6158600 19.52 ns/op BenchmarkIfaceCmp100-4 102966 1146 ns/op BenchmarkIfaceCmpNil100-4 146512 830.3 ns/op BenchmarkEfaceCmpDiff-4 39106 2992 ns/op BenchmarkEfaceCmpDiffIndirect-4 30277 3965 ns/op BenchmarkDefer-4 1679856 71.71 ns/op BenchmarkDefer10-4 809665 149.6 ns/op BenchmarkDeferMany-4 417296 452.9 ns/op BenchmarkPanicRecover-4 178604 649.8 ns/op BenchmarkGoroutineProfile/small-nil/idle-4 6519 15854 ns/op 14192 p50-ns 20061 p90-ns 33417 p99-ns BenchmarkGoroutineProfile/small-nil/loaded-4 6538 19548 ns/op 15201 p50-ns 20902 p90-ns 64574 p99-ns BenchmarkGoroutineProfile/small/idle-4 3081 40170 ns/op 37397 p50-ns 45442 p90-ns 74875 p99-ns BenchmarkGoroutineProfile/small/loaded-4 396 319635 ns/op 126013 p50-ns 303347 p90-ns 3765589 p99-ns BenchmarkGoroutineProfile/large-nil/idle-4 6988 16921 ns/op 16047 p50-ns 21182 p90-ns 35535 p99-ns BenchmarkGoroutineProfile/large-nil/loaded-4 5348 19096 ns/op 15210 p50-ns 20750 p90-ns 74174 p99-ns BenchmarkGoroutineProfile/large/idle-4 12 8354962 ns/op 8337634 p50-ns 8409658 p90-ns 8706960 p99-ns BenchmarkGoroutineProfile/large/loaded-4 9 12706673 ns/op 9726627 p50-ns 30134635 p90-ns 30134635 p99-ns BenchmarkGoroutineProfile/sparse-nil/idle-4 7444 17204 ns/op 15906 p50-ns 21272 p90-ns 48150 p99-ns BenchmarkGoroutineProfile/sparse-nil/loaded-4 5997 22149 ns/op 15701 p50-ns 25237 p90-ns 184435 p99-ns BenchmarkGoroutineProfile/sparse/idle-4 873 127917 ns/op 121952 p50-ns 146955 p90-ns 188692 p99-ns BenchmarkGoroutineProfile/sparse/loaded-4 222 569431 ns/op 259070 p50-ns 523835 p90-ns 4793499 p99-ns BenchmarkRWMutexUncontended-4 2986099 39.19 ns/op BenchmarkRWMutexWrite100-4 808508 183.2 ns/op BenchmarkRWMutexWrite10-4 106134 1366 ns/op BenchmarkRWMutexWorkWrite100-4 508008 225.1 ns/op BenchmarkRWMutexWorkWrite10-4 183820 1381 ns/op BenchmarkSemTable/OneAddrCollision/n=1000-4 1767 65968 ns/op BenchmarkSemTable/ManyAddrCollision/n=1000-4 817 133439 ns/op BenchmarkSemTable/OneAddrCollision/n=2000-4 936 124331 ns/op BenchmarkSemTable/ManyAddrCollision/n=2000-4 400 280677 ns/op BenchmarkSemTable/OneAddrCollision/n=4000-4 466 250333 ns/op BenchmarkSemTable/ManyAddrCollision/n=4000-4 200 585423 ns/op BenchmarkSemTable/OneAddrCollision/n=8000-4 231 513094 ns/op BenchmarkSemTable/ManyAddrCollision/n=8000-4 93 1219270 ns/op BenchmarkMakeSliceCopy/mallocmove/Byte-4 284967 385.8 ns/op BenchmarkMakeSliceCopy/mallocmove/Int-4 312705 370.7 ns/op BenchmarkMakeSliceCopy/mallocmove/Ptr-4 292785 404.5 ns/op BenchmarkMakeSliceCopy/makecopy/Byte-4 317007 389.5 ns/op BenchmarkMakeSliceCopy/makecopy/Int-4 305230 383.3 ns/op BenchmarkMakeSliceCopy/makecopy/Ptr-4 286328 433.2 ns/op BenchmarkMakeSliceCopy/nilappend/Byte-4 270859 401.3 ns/op BenchmarkMakeSliceCopy/nilappend/Int-4 307299 399.2 ns/op BenchmarkMakeSliceCopy/nilappend/Ptr-4 256572 464.2 ns/op BenchmarkMakeSlice/Byte-4 1946408 60.54 ns/op BenchmarkMakeSlice/Int16-4 1913584 60.15 ns/op BenchmarkMakeSlice/Int-4 1606686 73.61 ns/op BenchmarkMakeSlice/Ptr-4 1000000 101.5 ns/op BenchmarkMakeSlice/Struct/24-4 950566 112.5 ns/op BenchmarkMakeSlice/Struct/32-4 1000000 139.0 ns/op BenchmarkMakeSlice/Struct/40-4 885513 161.5 ns/op BenchmarkGrowSlice/Byte-4 908076 153.8 ns/op BenchmarkGrowSlice/Int16-4 778581 160.5 ns/op BenchmarkGrowSlice/Int-4 623266 200.4 ns/op BenchmarkGrowSlice/Ptr-4 501088 248.4 ns/op BenchmarkGrowSlice/Struct/24-4 274402 375.7 ns/op BenchmarkGrowSlice/Struct/32-4 296589 411.4 ns/op BenchmarkGrowSlice/Struct/40-4 205410 512.3 ns/op BenchmarkExtendSlice/IntSlice-4 523528 228.6 ns/op BenchmarkExtendSlice/PointerSlice-4 397203 298.8 ns/op BenchmarkExtendSlice/NoGrow-4 997155 137.0 ns/op BenchmarkAppend-4 792630 149.9 ns/op BenchmarkAppendGrowByte-4 4 32786619 ns/op BenchmarkAppendGrowString-4 1 411420044 ns/op BenchmarkAppendSlice/1Bytes-4 1901923 61.47 ns/op BenchmarkAppendSlice/4Bytes-4 1861258 62.70 ns/op BenchmarkAppendSlice/7Bytes-4 1846821 63.32 ns/op BenchmarkAppendSlice/8Bytes-4 1890688 64.35 ns/op BenchmarkAppendSlice/15Bytes-4 1743505 65.60 ns/op BenchmarkAppendSlice/16Bytes-4 1802834 64.12 ns/op BenchmarkAppendSlice/32Bytes-4 1780018 66.72 ns/op BenchmarkAppendSliceLarge/1024Bytes-4 95407 1274 ns/op BenchmarkAppendSliceLarge/4096Bytes-4 20524 5424 ns/op BenchmarkAppendSliceLarge/16384Bytes-4 9157 21272 ns/op BenchmarkAppendSliceLarge/65536Bytes-4 1384 80357 ns/op BenchmarkAppendSliceLarge/262144Bytes-4 96 1229140 ns/op BenchmarkAppendSliceLarge/1048576Bytes-4 22 5402461 ns/op BenchmarkAppendStr/1Bytes-4 1448498 81.28 ns/op BenchmarkAppendStr/4Bytes-4 1485580 80.27 ns/op BenchmarkAppendStr/8Bytes-4 1454820 80.91 ns/op BenchmarkAppendStr/16Bytes-4 1429687 82.70 ns/op BenchmarkAppendStr/32Bytes-4 1459759 83.15 ns/op BenchmarkAppendSpecialCase-4 748113 160.9 ns/op BenchmarkCopy/1Byte-4 2007157 61.24 ns/op 16.33 MB/s BenchmarkCopy/1String-4 1949144 61.59 ns/op 16.24 MB/s BenchmarkCopy/2Byte-4 1902459 62.79 ns/op 31.85 MB/s BenchmarkCopy/2String-4 1908762 62.35 ns/op 32.07 MB/s BenchmarkCopy/4Byte-4 1891876 62.32 ns/op 64.19 MB/s BenchmarkCopy/4String-4 1933402 62.55 ns/op 63.95 MB/s BenchmarkCopy/8Byte-4 1948765 60.69 ns/op 131.83 MB/s BenchmarkCopy/8String-4 1957104 61.13 ns/op 130.88 MB/s BenchmarkCopy/12Byte-4 1856762 64.43 ns/op 186.25 MB/s BenchmarkCopy/12String-4 1899718 66.33 ns/op 180.92 MB/s BenchmarkCopy/16Byte-4 1867515 63.79 ns/op 250.83 MB/s BenchmarkCopy/16String-4 1892696 63.18 ns/op 253.25 MB/s BenchmarkCopy/32Byte-4 1829887 64.98 ns/op 492.43 MB/s BenchmarkCopy/32String-4 1799372 67.59 ns/op 473.43 MB/s BenchmarkCopy/128Byte-4 1333753 87.29 ns/op 1466.38 MB/s BenchmarkCopy/128String-4 1000000 101.5 ns/op 1260.95 MB/s BenchmarkCopy/1024Byte-4 418233 285.8 ns/op 3583.44 MB/s BenchmarkCopy/1024String-4 344112 335.2 ns/op 3054.92 MB/s BenchmarkAppendInPlace/NoGrow/Byte-4 28646 4115 ns/op BenchmarkAppendInPlace/NoGrow/1Ptr-4 18915 5921 ns/op BenchmarkAppendInPlace/NoGrow/2Ptr-4 13212 9030 ns/op BenchmarkAppendInPlace/NoGrow/3Ptr-4 10000 11726 ns/op BenchmarkAppendInPlace/NoGrow/4Ptr-4 10000 14665 ns/op BenchmarkAppendInPlace/Grow/Byte-4 139342 810.2 ns/op BenchmarkAppendInPlace/Grow/1Ptr-4 135338 882.7 ns/op BenchmarkAppendInPlace/Grow/2Ptr-4 99930 1052 ns/op BenchmarkAppendInPlace/Grow/3Ptr-4 79737 1302 ns/op BenchmarkAppendInPlace/Grow/4Ptr-4 80125 1340 ns/op BenchmarkStackCopyPtr-4 1 171520926 ns/op BenchmarkStackCopy-4 1 110950481 ns/op BenchmarkStackCopyNoCache-4 21 5374825 ns/op BenchmarkStackCopyWithStkobj-4 1 138250299 ns/op BenchmarkIssue18138-4 693 154823 ns/op BenchmarkCompareStringEqual-4 10790377 10.62 ns/op BenchmarkCompareStringIdentical-4 15851288 7.554 ns/op BenchmarkCompareStringSameLength-4 13168472 9.065 ns/op BenchmarkCompareStringDifferentLength-4 18675156 6.448 ns/op BenchmarkCompareStringBigUnaligned-4 1036 121122 ns/op 8657.29 MB/s BenchmarkCompareStringBig-4 1237 101812 ns/op 10299.27 MB/s BenchmarkConcatStringAndBytes-4 2190963 54.77 ns/op BenchmarkSliceByteToString/1-4 2221845 53.44 ns/op BenchmarkSliceByteToString/2-4 1000000 113.1 ns/op BenchmarkSliceByteToString/4-4 1000000 116.1 ns/op BenchmarkSliceByteToString/8-4 1000000 109.3 ns/op BenchmarkSliceByteToString/16-4 1000000 111.5 ns/op BenchmarkSliceByteToString/32-4 1000000 118.5 ns/op BenchmarkSliceByteToString/64-4 782716 146.5 ns/op BenchmarkSliceByteToString/128-4 630936 196.5 ns/op BenchmarkRuneCount/lenruneslice/ASCII-4 2293226 52.24 ns/op BenchmarkRuneCount/lenruneslice/Japanese-4 851588 137.5 ns/op BenchmarkRuneCount/lenruneslice/MixedLength-4 980673 119.7 ns/op BenchmarkRuneCount/rangeloop/ASCII-4 3228832 36.92 ns/op BenchmarkRuneCount/rangeloop/Japanese-4 1628184 73.89 ns/op BenchmarkRuneCount/rangeloop/MixedLength-4 1856131 64.97 ns/op BenchmarkRuneCount/utf8.RuneCountInString/ASCII-4 2237170 52.85 ns/op BenchmarkRuneCount/utf8.RuneCountInString/Japanese-4 440065 271.0 ns/op BenchmarkRuneCount/utf8.RuneCountInString/MixedLength-4 550393 212.3 ns/op BenchmarkRuneIterate/range/ASCII-4 5665328 20.72 ns/op BenchmarkRuneIterate/range/Japanese-4 2029022 58.01 ns/op BenchmarkRuneIterate/range/MixedLength-4 2243944 52.31 ns/op BenchmarkRuneIterate/range1/ASCII-4 5578378 20.87 ns/op BenchmarkRuneIterate/range1/Japanese-4 2052195 57.94 ns/op BenchmarkRuneIterate/range1/MixedLength-4 2150976 54.49 ns/op BenchmarkRuneIterate/range2/ASCII-4 5620802 20.78 ns/op BenchmarkRuneIterate/range2/Japanese-4 2035756 57.83 ns/op BenchmarkRuneIterate/range2/MixedLength-4 2248422 52.01 ns/op BenchmarkArrayEqual-4 17178081 6.986 ns/op BenchmarkFunc/Name-4 2670952 44.85 ns/op BenchmarkFunc/Entry-4 10415298 11.49 ns/op BenchmarkFunc/FileLine-4 1556292 76.59 ns/op PASS ok runtime 149.743s ##### 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 37312 3033 ns/op BenchmarkHandle/concurrent-4 22006 5416 ns/op PASS ok runtime/cgo 1.343s goos: linux goarch: amd64 pkg: runtime/internal/atomic cpu: AMD EPYC 7B12 BenchmarkAtomicLoad64-4 20080758 5.014 ns/op BenchmarkAtomicStore64-4 23592468 4.992 ns/op BenchmarkAtomicLoad-4 23298618 5.051 ns/op BenchmarkAtomicStore-4 23542891 5.006 ns/op BenchmarkAnd8-4 20066251 5.005 ns/op BenchmarkAnd-4 23848513 5.001 ns/op BenchmarkAnd8Parallel-4 3654673 30.94 ns/op BenchmarkAndParallel-4 5902005 22.44 ns/op BenchmarkOr8-4 23805465 5.012 ns/op BenchmarkOr-4 23526781 5.017 ns/op BenchmarkOr8Parallel-4 4437825 31.49 ns/op BenchmarkOrParallel-4 3948334 31.15 ns/op BenchmarkXadd-4 4175815 25.59 ns/op BenchmarkXadd64-4 4171585 28.12 ns/op BenchmarkCas-4 3493057 29.23 ns/op BenchmarkCas64-4 3812630 30.59 ns/op BenchmarkXchg-4 5611070 28.14 ns/op BenchmarkXchg64-4 4220071 32.61 ns/op PASS ok runtime/internal/atomic 3.538s goos: linux goarch: amd64 pkg: runtime/internal/math cpu: AMD EPYC 7B12 BenchmarkMulUintptr/small-4 5262693 22.83 ns/op BenchmarkMulUintptr/large-4 4466708 27.02 ns/op PASS ok runtime/internal/math 1.306s goos: linux goarch: amd64 pkg: runtime/pprof cpu: AMD EPYC 7B12 BenchmarkGoroutine/Profile.WriteTo_idle_50-4 36 3542268 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_50-4 43 9254268 ns/op 810.4 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_50-4 974 114418 ns/op 4.027 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_500-4 14 7938576 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_500-4 7 17187418 ns/op 1227 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_500-4 212 580584 ns/op 45.62 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_5000-4 2 52632058 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_5000-4 2 77681462 ns/op 6904 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_5000-4 26 4859741 ns/op 355.6 concurrent_launches/op PASS ok runtime/pprof 2.969s goos: linux goarch: amd64 pkg: runtime/race cpu: AMD EPYC 7B12 BenchmarkSyncLeak-4 50 2176832 ns/op BenchmarkStackLeak-4 23058 4713 ns/op PASS ok runtime/race 1.404s goos: linux goarch: amd64 pkg: runtime/trace cpu: AMD EPYC 7B12 BenchmarkStartRegion-4 5834454 20.51 ns/op 0 B/op 0 allocs/op BenchmarkNewTask-4 235544 463.9 ns/op 64 B/op 2 allocs/op PASS ok runtime/trace 1.375s goos: linux goarch: amd64 pkg: slices cpu: AMD EPYC 7B12 BenchmarkEqualFunc_Large-4 67 2007459 ns/op BenchmarkIndex_Large-4 29004 3983 ns/op BenchmarkIndexFunc_Large-4 213 638900 ns/op BenchmarkCompact/nil-4 9343146 12.52 ns/op BenchmarkCompact/one-4 2356018 47.66 ns/op BenchmarkCompact/sorted-4 1489978 75.05 ns/op BenchmarkCompact/1_item-4 1320765 85.56 ns/op BenchmarkCompact/unsorted-4 1595436 72.99 ns/op BenchmarkCompact/many-4 775990 133.6 ns/op BenchmarkCompact_Large-4 1455 77461 ns/op BenchmarkCompactFunc_Large-4 99 1150257 ns/op BenchmarkReplace/naive-fast-4 133792 905.2 ns/op BenchmarkReplace/optimized-fast-4 134422 745.2 ns/op BenchmarkReplace/naive-slow-4 44696 2664 ns/op BenchmarkReplace/optimized-slow-4 52138 2352 ns/op BenchmarkSortInts-4 2 78506058 ns/op BenchmarkSlicesSortInts-4 3 46055282 ns/op BenchmarkSlicesSortInts_Sorted-4 76 1752247 ns/op BenchmarkSlicesSortInts_Reversed-4 45 2791775 ns/op BenchmarkSortStrings-4 1 118562426 ns/op BenchmarkSlicesSortStrings-4 2 74185677 ns/op BenchmarkSortStructs-4 1 136177885 ns/op BenchmarkSortFuncStructs-4 1 129495665 ns/op BenchmarkBinarySearchFloats/Size16-4 1542656 77.16 ns/op BenchmarkBinarySearchFloats/Size32-4 1332751 89.89 ns/op BenchmarkBinarySearchFloats/Size64-4 1000000 102.0 ns/op BenchmarkBinarySearchFloats/Size128-4 1000000 113.7 ns/op BenchmarkBinarySearchFloats/Size512-4 810049 137.2 ns/op BenchmarkBinarySearchFloats/Size1024-4 729278 148.6 ns/op BenchmarkBinarySearchFuncStruct/Size16-4 728371 179.0 ns/op BenchmarkBinarySearchFuncStruct/Size32-4 623936 188.5 ns/op BenchmarkBinarySearchFuncStruct/Size64-4 557563 216.4 ns/op BenchmarkBinarySearchFuncStruct/Size128-4 485934 267.7 ns/op BenchmarkBinarySearchFuncStruct/Size512-4 385120 302.4 ns/op BenchmarkBinarySearchFuncStruct/Size1024-4 360504 327.9 ns/op PASS ok slices 15.460s ##### 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 149149 729.0 ns/op BenchmarkSortString1K-4 153 727336 ns/op BenchmarkSortString1K_Slice-4 195 715333 ns/op BenchmarkStableString1K-4 84 1373723 ns/op BenchmarkSortInt1K-4 206 752353 ns/op BenchmarkSortInt1K_Sorted-4 2056 53246 ns/op BenchmarkSortInt1K_Reversed-4 1677 92813 ns/op BenchmarkSortInt1K_Mod8-4 519 239117 ns/op BenchmarkStableInt1K-4 128 891741 ns/op BenchmarkStableInt1K_Slice-4 160 759823 ns/op BenchmarkSortInt64K-4 2 54021445 ns/op BenchmarkSortInt64K_Slice-4 3 45957067 ns/op BenchmarkStableInt64K-4 2 74399914 ns/op BenchmarkSort1e2-4 442 469203 ns/op BenchmarkStable1e2-4 160 804797 ns/op BenchmarkSort1e4-4 2 53063752 ns/op BenchmarkStable1e4-4 1 233786608 ns/op PASS ok sort 5.356s goos: linux goarch: amd64 pkg: strconv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAtof64Decimal-4 843776 141.1 ns/op BenchmarkAtof64Float-4 738928 162.6 ns/op BenchmarkAtof64FloatExp-4 615825 195.0 ns/op BenchmarkAtof64Big-4 438830 273.7 ns/op BenchmarkAtof64RandomBits-4 382663 305.1 ns/op BenchmarkAtof64RandomFloats-4 439879 269.1 ns/op BenchmarkAtof64RandomLongFloats-4 267319 451.6 ns/op BenchmarkAtof32Decimal-4 831888 141.8 ns/op BenchmarkAtof32Float-4 722594 161.8 ns/op BenchmarkAtof32FloatExp-4 602354 199.6 ns/op BenchmarkAtof32Random-4 347378 355.7 ns/op BenchmarkAtof32RandomLong-4 142800 817.6 ns/op BenchmarkParseInt/Pos/7bit-4 1296214 95.74 ns/op BenchmarkParseInt/Pos/26bit-4 554326 221.2 ns/op BenchmarkParseInt/Pos/31bit-4 542791 218.3 ns/op BenchmarkParseInt/Pos/56bit-4 323655 341.4 ns/op BenchmarkParseInt/Pos/63bit-4 325014 352.0 ns/op BenchmarkParseInt/Neg/7bit-4 1332832 91.16 ns/op BenchmarkParseInt/Neg/26bit-4 534514 201.2 ns/op BenchmarkParseInt/Neg/31bit-4 542654 218.2 ns/op BenchmarkParseInt/Neg/56bit-4 364942 319.6 ns/op BenchmarkParseInt/Neg/63bit-4 342994 349.5 ns/op BenchmarkAtoi/Pos/7bit-4 1908402 60.70 ns/op BenchmarkAtoi/Pos/26bit-4 753704 145.2 ns/op BenchmarkAtoi/Pos/31bit-4 686031 162.0 ns/op BenchmarkAtoi/Pos/56bit-4 391531 285.8 ns/op BenchmarkAtoi/Pos/63bit-4 328382 368.5 ns/op BenchmarkAtoi/Neg/7bit-4 1936791 63.28 ns/op BenchmarkAtoi/Neg/26bit-4 757422 146.1 ns/op BenchmarkAtoi/Neg/31bit-4 707671 160.9 ns/op BenchmarkAtoi/Neg/56bit-4 434908 274.3 ns/op BenchmarkAtoi/Neg/63bit-4 329936 360.3 ns/op BenchmarkFormatFloat/Decimal-4 113245 1126 ns/op BenchmarkFormatFloat/Float-4 105135 1153 ns/op BenchmarkFormatFloat/Exp-4 108796 1102 ns/op BenchmarkFormatFloat/NegExp-4 110718 1079 ns/op BenchmarkFormatFloat/LongExp-4 96800 1299 ns/op BenchmarkFormatFloat/Big-4 88699 1314 ns/op BenchmarkFormatFloat/BinaryExp-4 211828 572.4 ns/op BenchmarkFormatFloat/32Integer-4 113790 1059 ns/op BenchmarkFormatFloat/32ExactFraction-4 114530 1003 ns/op BenchmarkFormatFloat/32Point-4 109401 1148 ns/op BenchmarkFormatFloat/32Exp-4 115036 1072 ns/op BenchmarkFormatFloat/32NegExp-4 111987 1053 ns/op BenchmarkFormatFloat/32Shortest-4 112870 1027 ns/op BenchmarkFormatFloat/32Fixed8Hard-4 132105 901.7 ns/op BenchmarkFormatFloat/32Fixed9Hard-4 126363 917.7 ns/op BenchmarkFormatFloat/64Fixed1-4 146978 799.9 ns/op BenchmarkFormatFloat/64Fixed2-4 147193 786.7 ns/op BenchmarkFormatFloat/64Fixed3-4 151290 785.9 ns/op BenchmarkFormatFloat/64Fixed4-4 148334 819.5 ns/op BenchmarkFormatFloat/64Fixed12-4 82688 1419 ns/op BenchmarkFormatFloat/64Fixed16-4 108950 1122 ns/op BenchmarkFormatFloat/64Fixed12Hard-4 105489 1104 ns/op BenchmarkFormatFloat/64Fixed17Hard-4 99559 1181 ns/op BenchmarkFormatFloat/64Fixed18Hard-4 2187 50183 ns/op BenchmarkFormatFloat/Slowpath64-4 93106 1272 ns/op BenchmarkFormatFloat/SlowpathDenormal64-4 95856 1287 ns/op BenchmarkAppendFloat/Decimal-4 131556 877.3 ns/op BenchmarkAppendFloat/Float-4 120994 978.4 ns/op BenchmarkAppendFloat/Exp-4 135457 892.6 ns/op BenchmarkAppendFloat/NegExp-4 137296 865.0 ns/op BenchmarkAppendFloat/LongExp-4 111624 1060 ns/op BenchmarkAppendFloat/Big-4 107798 1108 ns/op BenchmarkAppendFloat/BinaryExp-4 329120 364.2 ns/op BenchmarkAppendFloat/32Integer-4 137584 881.6 ns/op BenchmarkAppendFloat/32ExactFraction-4 136756 871.3 ns/op BenchmarkAppendFloat/32Point-4 129388 920.4 ns/op BenchmarkAppendFloat/32Exp-4 136308 886.3 ns/op BenchmarkAppendFloat/32NegExp-4 137938 856.1 ns/op BenchmarkAppendFloat/32Shortest-4 151767 779.8 ns/op BenchmarkAppendFloat/32Fixed8Hard-4 171019 680.1 ns/op BenchmarkAppendFloat/32Fixed9Hard-4 167982 707.8 ns/op BenchmarkAppendFloat/64Fixed1-4 190112 607.1 ns/op BenchmarkAppendFloat/64Fixed2-4 197668 608.0 ns/op BenchmarkAppendFloat/64Fixed3-4 194886 613.0 ns/op BenchmarkAppendFloat/64Fixed4-4 194974 608.0 ns/op BenchmarkAppendFloat/64Fixed12-4 102376 1158 ns/op BenchmarkAppendFloat/64Fixed16-4 136029 868.8 ns/op BenchmarkAppendFloat/64Fixed12Hard-4 147478 814.6 ns/op BenchmarkAppendFloat/64Fixed17Hard-4 126692 946.1 ns/op BenchmarkAppendFloat/64Fixed18Hard-4 2343 49066 ns/op BenchmarkAppendFloat/Slowpath64-4 109664 1067 ns/op BenchmarkAppendFloat/SlowpathDenormal64-4 112828 1058 ns/op BenchmarkFormatInt-4 14869 7959 ns/op BenchmarkAppendInt-4 16524 7175 ns/op BenchmarkFormatUint-4 80576 1467 ns/op BenchmarkAppendUint-4 94068 1249 ns/op BenchmarkFormatIntSmall/7-4 2643236 45.82 ns/op BenchmarkFormatIntSmall/42-4 2829849 42.28 ns/op BenchmarkAppendIntSmall-4 1376919 87.87 ns/op BenchmarkAppendUintVarlen/1-4 1000000 102.2 ns/op BenchmarkAppendUintVarlen/12-4 1218120 97.57 ns/op BenchmarkAppendUintVarlen/123-4 889206 132.5 ns/op BenchmarkAppendUintVarlen/1234-4 800512 130.9 ns/op BenchmarkAppendUintVarlen/12345-4 911977 143.0 ns/op BenchmarkAppendUintVarlen/123456-4 878114 136.0 ns/op BenchmarkAppendUintVarlen/1234567-4 815106 132.6 ns/op BenchmarkAppendUintVarlen/12345678-4 850744 130.2 ns/op BenchmarkAppendUintVarlen/123456789-4 852402 133.4 ns/op BenchmarkAppendUintVarlen/1234567890-4 839926 135.7 ns/op BenchmarkAppendUintVarlen/12345678901-4 809002 136.2 ns/op BenchmarkAppendUintVarlen/123456789012-4 856651 136.5 ns/op BenchmarkAppendUintVarlen/1234567890123-4 832669 138.7 ns/op BenchmarkAppendUintVarlen/12345678901234-4 825942 138.7 ns/op BenchmarkAppendUintVarlen/123456789012345-4 805177 143.6 ns/op BenchmarkAppendUintVarlen/1234567890123456-4 841233 142.0 ns/op BenchmarkAppendUintVarlen/12345678901234567-4 788659 147.1 ns/op BenchmarkAppendUintVarlen/123456789012345678-4 793844 148.3 ns/op BenchmarkAppendUintVarlen/1234567890123456789-4 766411 154.2 ns/op BenchmarkAppendUintVarlen/12345678901234567890-4 769780 150.8 ns/op BenchmarkQuote-4 43728 2641 ns/op BenchmarkQuoteRune-4 455059 254.8 ns/op BenchmarkAppendQuote-4 54518 2170 ns/op BenchmarkAppendQuoteRune-4 838336 141.3 ns/op BenchmarkUnquoteEasy-4 1362810 87.00 ns/op BenchmarkUnquoteHard-4 47547 2395 ns/op PASS ok strconv 17.121s goos: linux goarch: amd64 pkg: strings cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkBuildString_Builder/1Write_NoGrow-4 355134 293.5 ns/op 48 B/op 1 allocs/op BenchmarkBuildString_Builder/3Write_NoGrow-4 137355 886.2 ns/op 336 B/op 3 allocs/op BenchmarkBuildString_Builder/3Write_Grow-4 176073 632.3 ns/op 112 B/op 1 allocs/op BenchmarkBuildString_ByteBuffer/1Write_NoGrow-4 271764 389.4 ns/op 112 B/op 2 allocs/op BenchmarkBuildString_ByteBuffer/3Write_NoGrow-4 82309 1252 ns/op 432 B/op 4 allocs/op BenchmarkBuildString_ByteBuffer/3Write_Grow-4 99043 1091 ns/op 336 B/op 3 allocs/op BenchmarkClone-4 642462 178.6 ns/op 48 B/op 1 allocs/op BenchmarkGenericNoMatch-4 21506 5742 ns/op BenchmarkGenericMatch1-4 2125 52006 ns/op BenchmarkGenericMatch2-4 432 276427 ns/op BenchmarkSingleMaxSkipping-4 8109 14510 ns/op 689.16 MB/s BenchmarkSingleLongSuffixFail-4 14368 8421 ns/op 118.99 MB/s BenchmarkSingleMatch-4 250 462704 ns/op 32.42 MB/s BenchmarkByteByteNoMatch-4 72349 1640 ns/op BenchmarkByteByteMatch-4 19069 6195 ns/op BenchmarkByteStringMatch-4 22426 5171 ns/op BenchmarkHTMLEscapeNew-4 73861 1634 ns/op BenchmarkHTMLEscapeOld-4 86594 1322 ns/op BenchmarkByteStringReplacerWriteString-4 1420 79246 ns/op BenchmarkByteReplacerWriteString-4 1584 74515 ns/op BenchmarkByteByteReplaces-4 3429 32882 ns/op BenchmarkByteByteMap-4 10000 11828 ns/op BenchmarkMap/identity/ASCII-4 663552 176.1 ns/op BenchmarkMap/identity/Greek-4 485804 242.8 ns/op BenchmarkMap/change/ASCII-4 39466 3037 ns/op BenchmarkMap/change/Greek-4 30207 4071 ns/op BenchmarkIndexRune-4 2043122 57.58 ns/op BenchmarkIndexRuneLongString-4 1783873 66.15 ns/op BenchmarkIndexRuneFastPath-4 4659183 26.01 ns/op BenchmarkIndex-4 4426386 27.36 ns/op BenchmarkLastIndex-4 5140345 23.15 ns/op BenchmarkIndexByte-4 10401146 11.67 ns/op BenchmarkToUpper/#00-4 3291246 36.22 ns/op BenchmarkToUpper/ONLYUPPER-4 2448072 47.22 ns/op BenchmarkToUpper/abc-4 335156 377.9 ns/op BenchmarkToUpper/AbC123-4 252920 466.5 ns/op BenchmarkToUpper/azAZ09_-4 277639 441.3 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 56143 2157 ns/op BenchmarkToUpper/RENAN_BASTOS_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 73294 1660 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 33778 3494 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 56452 2119 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 123858 953.6 ns/op BenchmarkToLower/#00-4 3166638 37.04 ns/op BenchmarkToLower/abc-4 2784306 41.48 ns/op BenchmarkToLower/AbC123-4 226344 515.0 ns/op BenchmarkToLower/azAZ09_-4 213447 537.3 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 98198 1208 ns/op BenchmarkToLower/renan_bastos_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 66667 1825 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 35256 3429 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 79996 1514 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 120549 980.9 ns/op BenchmarkMapNoChanges-4 866848 120.5 ns/op BenchmarkTrim-4 37531 3142 ns/op 0 B/op 0 allocs/op BenchmarkToValidUTF8/Valid-4 3278274 35.64 ns/op BenchmarkToValidUTF8/InvalidASCII-4 199978 602.1 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 133184 921.2 ns/op BenchmarkEqualFold/Tests-4 53042 2227 ns/op BenchmarkEqualFold/ASCII-4 3607777 33.90 ns/op BenchmarkEqualFold/UnicodePrefix-4 107109 1118 ns/op BenchmarkEqualFold/UnicodeSuffix-4 116277 1129 ns/op BenchmarkIndexHard1-4 828 143948 ns/op BenchmarkIndexHard2-4 591 203547 ns/op BenchmarkIndexHard3-4 145 811091 ns/op BenchmarkIndexHard4-4 177 670166 ns/op BenchmarkLastIndexHard1-4 57 2049386 ns/op BenchmarkLastIndexHard2-4 60 2037370 ns/op BenchmarkLastIndexHard3-4 60 1982095 ns/op BenchmarkCountHard1-4 831 143910 ns/op BenchmarkCountHard2-4 598 200230 ns/op BenchmarkCountHard3-4 150 796738 ns/op BenchmarkIndexTorture-4 7665 15529 ns/op BenchmarkCountTorture-4 7707 15638 ns/op BenchmarkCountTortureOverlapping-4 670 159268 ns/op BenchmarkCountByte/10-4 4316253 27.20 ns/op 367.62 MB/s BenchmarkCountByte/32-4 4276088 27.01 ns/op 1184.74 MB/s BenchmarkCountByte/4096-4 871321 136.3 ns/op 30055.74 MB/s BenchmarkCountByte/4194304-4 704 160407 ns/op 26147.82 MB/s BenchmarkCountByte/67108864-4 20 5847810 ns/op 11475.90 MB/s BenchmarkFields/ASCII/16-4 257696 452.1 ns/op 35.39 MB/s 32 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 19102 6142 ns/op 41.68 MB/s 448 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 1308 89457 ns/op 45.79 MB/s 6144 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 66 1744364 ns/op 37.57 MB/s 98304 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 4 27775378 ns/op 37.75 MB/s 1523712 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 124072 963.4 ns/op 16.61 MB/s 16 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 9708 12566 ns/op 20.37 MB/s 352 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 564 206829 ns/op 19.80 MB/s 21504 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 27 4257258 ns/op 15.39 MB/s 463104 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 2 87232244 ns/op 12.02 MB/s 10457344 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 220418 523.3 ns/op 30.58 MB/s 32 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 18031 6524 ns/op 39.24 MB/s 448 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 946 113802 ns/op 35.99 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 44 2829407 ns/op 23.16 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 65950284 ns/op 15.90 MB/s 10465536 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 148663 770.1 ns/op 20.78 MB/s 16 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 13609 8595 ns/op 29.78 MB/s 352 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 756 152823 ns/op 26.80 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 34 3575566 ns/op 18.33 MB/s 463106 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 2 75730032 ns/op 13.85 MB/s 10457344 B/op 24 allocs/op BenchmarkSplitEmptySeparator-4 1 103918966 ns/op BenchmarkSplitSingleByteSeparator-4 14 7999035 ns/op BenchmarkSplitMultiByteSeparator-4 27 3841820 ns/op BenchmarkSplitNSingleByteSeparator-4 214603 507.8 ns/op BenchmarkSplitNMultiByteSeparator-4 165771 657.9 ns/op BenchmarkRepeat/5x0-4 3419911 33.85 ns/op BenchmarkRepeat/5x1-4 3393057 31.41 ns/op BenchmarkRepeat/5x2-4 269845 454.1 ns/op BenchmarkRepeat/5x6-4 163918 734.1 ns/op BenchmarkRepeat/10x0-4 3516754 31.38 ns/op BenchmarkRepeat/10x1-4 3467697 31.42 ns/op BenchmarkRepeat/10x2-4 266806 454.9 ns/op BenchmarkRepeat/10x6-4 156666 748.9 ns/op BenchmarkRepeatLarge/256/1-4 71995 1541 ns/op 166.14 MB/s BenchmarkRepeatLarge/256/16-4 111440 957.8 ns/op 267.27 MB/s BenchmarkRepeatLarge/512/1-4 56878 1922 ns/op 266.40 MB/s BenchmarkRepeatLarge/512/16-4 79310 1312 ns/op 390.14 MB/s BenchmarkRepeatLarge/1024/1-4 43136 2416 ns/op 423.77 MB/s BenchmarkRepeatLarge/1024/16-4 58651 1820 ns/op 562.65 MB/s BenchmarkRepeatLarge/2048/1-4 32917 3615 ns/op 566.54 MB/s BenchmarkRepeatLarge/2048/16-4 40747 2929 ns/op 699.15 MB/s BenchmarkRepeatLarge/4096/1-4 21277 5450 ns/op 751.56 MB/s BenchmarkRepeatLarge/4096/16-4 24559 4762 ns/op 860.20 MB/s BenchmarkRepeatLarge/8192/1-4 13437 8720 ns/op 939.49 MB/s BenchmarkRepeatLarge/8192/16-4 14402 8048 ns/op 1017.90 MB/s BenchmarkRepeatLarge/8192/4097-4 5676608 20.64 ns/op 198477.13 MB/s BenchmarkRepeatLarge/16384/1-4 8158 14205 ns/op 1153.41 MB/s BenchmarkRepeatLarge/16384/16-4 9897 14009 ns/op 1169.55 MB/s BenchmarkRepeatLarge/16384/4097-4 9076 12521 ns/op 981.65 MB/s BenchmarkRepeatLarge/32768/1-4 4125 31219 ns/op 1049.63 MB/s BenchmarkRepeatLarge/32768/16-4 3777 30227 ns/op 1084.07 MB/s BenchmarkRepeatLarge/32768/4097-4 4898 30088 ns/op 953.19 MB/s BenchmarkRepeatLarge/65536/1-4 1750 58191 ns/op 1126.23 MB/s BenchmarkRepeatLarge/65536/16-4 2196 51678 ns/op 1268.16 MB/s BenchmarkRepeatLarge/65536/4097-4 2576 50687 ns/op 1212.44 MB/s BenchmarkRepeatLarge/131072/1-4 223 506644 ns/op 258.71 MB/s BenchmarkRepeatLarge/131072/16-4 230 520206 ns/op 251.96 MB/s BenchmarkRepeatLarge/131072/4097-4 230 514387 ns/op 246.91 MB/s BenchmarkRepeatLarge/262144/1-4 100 1017004 ns/op 257.76 MB/s BenchmarkRepeatLarge/262144/16-4 112 1031084 ns/op 254.24 MB/s BenchmarkRepeatLarge/262144/4097-4 100 1061505 ns/op 243.16 MB/s BenchmarkRepeatLarge/524288/1-4 64 2016668 ns/op 259.98 MB/s BenchmarkRepeatLarge/524288/16-4 63 2041953 ns/op 256.76 MB/s BenchmarkRepeatLarge/524288/4097-4 61 2024489 ns/op 257.01 MB/s BenchmarkRepeatLarge/1048576/1-4 31 4349139 ns/op 241.10 MB/s BenchmarkRepeatLarge/1048576/16-4 28 4000777 ns/op 262.09 MB/s BenchmarkRepeatLarge/1048576/4097-4 30 4184369 ns/op 249.68 MB/s BenchmarkRepeatLarge/2097152/1-4 14 7716039 ns/op 271.79 MB/s BenchmarkRepeatLarge/2097152/16-4 15 7660836 ns/op 273.75 MB/s BenchmarkRepeatLarge/2097152/4097-4 15 8380705 ns/op 249.81 MB/s BenchmarkRepeatLarge/4194304/1-4 7 15571593 ns/op 269.36 MB/s BenchmarkRepeatLarge/4194304/16-4 7 15492422 ns/op 270.73 MB/s BenchmarkRepeatLarge/4194304/4097-4 7 15802136 ns/op 265.23 MB/s BenchmarkRepeatLarge/8388608/1-4 4 31984864 ns/op 262.27 MB/s BenchmarkRepeatLarge/8388608/16-4 4 31861732 ns/op 263.28 MB/s BenchmarkRepeatLarge/8388608/4097-4 4 31151304 ns/op 269.22 MB/s BenchmarkRepeatLarge/16777216/1-4 2 61723748 ns/op 271.81 MB/s BenchmarkRepeatLarge/16777216/16-4 2 60390747 ns/op 277.81 MB/s BenchmarkRepeatLarge/16777216/4097-4 2 61901926 ns/op 271.03 MB/s BenchmarkRepeatLarge/33554432/1-4 1 119370677 ns/op 281.09 MB/s BenchmarkRepeatLarge/33554432/16-4 1 120282306 ns/op 278.96 MB/s BenchmarkRepeatLarge/33554432/4097-4 1 120548210 ns/op 278.35 MB/s BenchmarkRepeatLarge/67108864/1-4 1 241170100 ns/op 278.26 MB/s BenchmarkRepeatLarge/67108864/16-4 1 241038204 ns/op 278.42 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 236646746 ns/op 283.58 MB/s BenchmarkRepeatLarge/134217728/1-4 1 480464062 ns/op 279.35 MB/s BenchmarkRepeatLarge/134217728/16-4 1 467114192 ns/op 287.33 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 463902617 ns/op 289.32 MB/s BenchmarkRepeatLarge/268435456/1-4 1 953080954 ns/op 281.65 MB/s BenchmarkRepeatLarge/268435456/16-4 1 945110180 ns/op 284.03 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 1027710339 ns/op 261.20 MB/s BenchmarkRepeatLarge/536870912/1-4 1 1900646389 ns/op 282.47 MB/s BenchmarkRepeatLarge/536870912/16-4 1 1840474987 ns/op 291.70 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 1842266137 ns/op 291.42 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 3763908528 ns/op 285.27 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 3643221660 ns/op 294.72 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 3696252517 ns/op 290.49 MB/s BenchmarkIndexAnyASCII/1:1-4 2032696 56.96 ns/op BenchmarkIndexAnyASCII/1:2-4 2139082 53.63 ns/op BenchmarkIndexAnyASCII/1:4-4 2163687 52.20 ns/op BenchmarkIndexAnyASCII/1:8-4 2123578 52.77 ns/op BenchmarkIndexAnyASCII/1:16-4 2128185 53.74 ns/op BenchmarkIndexAnyASCII/1:32-4 2059190 54.58 ns/op BenchmarkIndexAnyASCII/1:64-4 2093100 54.48 ns/op BenchmarkIndexAnyASCII/16:1-4 2121591 52.60 ns/op BenchmarkIndexAnyASCII/16:2-4 760374 151.0 ns/op BenchmarkIndexAnyASCII/16:4-4 746817 153.5 ns/op BenchmarkIndexAnyASCII/16:8-4 722835 163.4 ns/op BenchmarkIndexAnyASCII/16:16-4 663994 172.6 ns/op BenchmarkIndexAnyASCII/16:32-4 585795 200.0 ns/op BenchmarkIndexAnyASCII/16:64-4 492763 243.4 ns/op BenchmarkIndexAnyASCII/256:1-4 1875867 60.10 ns/op BenchmarkIndexAnyASCII/256:2-4 74326 1645 ns/op BenchmarkIndexAnyASCII/256:4-4 72562 1644 ns/op BenchmarkIndexAnyASCII/256:8-4 70005 1687 ns/op BenchmarkIndexAnyASCII/256:16-4 69516 1703 ns/op BenchmarkIndexAnyASCII/256:32-4 69637 1738 ns/op BenchmarkIndexAnyASCII/256:64-4 64916 1770 ns/op BenchmarkIndexAnyUTF8/1:1-4 2029172 56.31 ns/op BenchmarkIndexAnyUTF8/1:2-4 2095459 52.77 ns/op BenchmarkIndexAnyUTF8/1:4-4 2080248 52.12 ns/op BenchmarkIndexAnyUTF8/1:8-4 2144320 52.75 ns/op BenchmarkIndexAnyUTF8/1:16-4 2118001 53.64 ns/op BenchmarkIndexAnyUTF8/1:32-4 2080843 53.32 ns/op BenchmarkIndexAnyUTF8/1:64-4 2104244 53.70 ns/op BenchmarkIndexAnyUTF8/16:1-4 1652124 67.96 ns/op BenchmarkIndexAnyUTF8/16:2-4 326478 360.5 ns/op BenchmarkIndexAnyUTF8/16:4-4 318201 361.6 ns/op BenchmarkIndexAnyUTF8/16:8-4 331594 355.3 ns/op BenchmarkIndexAnyUTF8/16:16-4 313015 365.5 ns/op BenchmarkIndexAnyUTF8/16:32-4 308298 383.2 ns/op BenchmarkIndexAnyUTF8/16:64-4 310606 378.1 ns/op BenchmarkIndexAnyUTF8/256:1-4 378877 310.2 ns/op BenchmarkIndexAnyUTF8/256:2-4 25132 4791 ns/op BenchmarkIndexAnyUTF8/256:4-4 25561 4783 ns/op BenchmarkIndexAnyUTF8/256:8-4 24571 4713 ns/op BenchmarkIndexAnyUTF8/256:16-4 24213 4990 ns/op BenchmarkIndexAnyUTF8/256:32-4 23259 5204 ns/op BenchmarkIndexAnyUTF8/256:64-4 23248 5252 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2011414 56.71 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2100672 53.87 ns/op BenchmarkLastIndexAnyASCII/1:4-4 1985616 53.87 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2044744 53.32 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2029494 54.10 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2005714 54.27 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2054847 54.06 ns/op BenchmarkLastIndexAnyASCII/16:1-4 821162 146.2 ns/op BenchmarkLastIndexAnyASCII/16:2-4 785115 145.8 ns/op BenchmarkLastIndexAnyASCII/16:4-4 784522 151.4 ns/op BenchmarkLastIndexAnyASCII/16:8-4 749091 157.4 ns/op BenchmarkLastIndexAnyASCII/16:16-4 703077 171.7 ns/op BenchmarkLastIndexAnyASCII/16:32-4 584679 195.8 ns/op BenchmarkLastIndexAnyASCII/16:64-4 487723 245.9 ns/op BenchmarkLastIndexAnyASCII/256:1-4 76550 1536 ns/op BenchmarkLastIndexAnyASCII/256:2-4 77304 1560 ns/op BenchmarkLastIndexAnyASCII/256:4-4 77190 1553 ns/op BenchmarkLastIndexAnyASCII/256:8-4 76360 1563 ns/op BenchmarkLastIndexAnyASCII/256:16-4 76752 1570 ns/op BenchmarkLastIndexAnyASCII/256:32-4 75208 1590 ns/op BenchmarkLastIndexAnyASCII/256:64-4 73526 1653 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2009798 58.40 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2108269 53.32 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2105560 54.07 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2111158 54.03 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2035864 54.05 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2085848 56.40 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2117730 54.53 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 364942 313.7 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 191091 623.7 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 185600 629.4 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 186832 650.5 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 175272 655.5 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 168958 674.6 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 173396 690.8 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 29336 4094 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 13023 9037 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 13118 9832 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 12146 9476 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 10000 10546 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 10380 11378 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 10000 11171 ns/op BenchmarkTrimASCII/1:1-4 3130116 37.85 ns/op BenchmarkTrimASCII/1:2-4 2461966 48.37 ns/op BenchmarkTrimASCII/1:4-4 2309685 50.98 ns/op BenchmarkTrimASCII/1:8-4 2078758 56.40 ns/op BenchmarkTrimASCII/1:16-4 1760239 68.22 ns/op BenchmarkTrimASCII/16:1-4 2705936 43.84 ns/op BenchmarkTrimASCII/16:2-4 793844 146.5 ns/op BenchmarkTrimASCII/16:4-4 764842 152.6 ns/op BenchmarkTrimASCII/16:8-4 704452 157.3 ns/op BenchmarkTrimASCII/16:16-4 688141 168.9 ns/op BenchmarkTrimASCII/256:1-4 803438 147.4 ns/op BenchmarkTrimASCII/256:2-4 77964 1535 ns/op BenchmarkTrimASCII/256:4-4 76291 1546 ns/op BenchmarkTrimASCII/256:8-4 77084 1553 ns/op BenchmarkTrimASCII/256:16-4 77108 1561 ns/op BenchmarkTrimASCII/4096:1-4 75057 1592 ns/op BenchmarkTrimASCII/4096:2-4 5061 23879 ns/op BenchmarkTrimASCII/4096:4-4 5007 23883 ns/op BenchmarkTrimASCII/4096:8-4 5004 23542 ns/op BenchmarkTrimASCII/4096:16-4 4903 23975 ns/op BenchmarkTrimByte-4 4388790 26.42 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 13353 9101 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 13245 9014 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 1101 107826 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 2247 53179 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 4396 26732 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 7695 14896 ns/op BenchmarkJoin/0-4 5072104 21.07 ns/op 0 B/op 0 allocs/op BenchmarkJoin/1-4 4031203 29.72 ns/op 0 B/op 0 allocs/op BenchmarkJoin/2-4 201765 598.9 ns/op 16 B/op 1 allocs/op BenchmarkJoin/3-4 133707 860.2 ns/op 24 B/op 1 allocs/op BenchmarkJoin/4-4 103080 1167 ns/op 48 B/op 1 allocs/op BenchmarkJoin/5-4 85456 1428 ns/op 48 B/op 1 allocs/op BenchmarkJoin/6-4 71647 1668 ns/op 64 B/op 1 allocs/op BenchmarkJoin/7-4 61242 1975 ns/op 64 B/op 1 allocs/op BenchmarkTrimSpace/NoTrim-4 2626617 45.86 ns/op BenchmarkTrimSpace/ASCII-4 1535371 78.47 ns/op BenchmarkTrimSpace/SomeNonASCII-4 139297 820.2 ns/op BenchmarkTrimSpace/JustNonASCII-4 74058 1570 ns/op BenchmarkReplaceAll-4 122310 980.5 ns/op 16 B/op 1 allocs/op PASS ok strings 67.075s goos: linux goarch: amd64 pkg: sync cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCond1-4 54390 2180 ns/op BenchmarkCond2-4 29814 4455 ns/op BenchmarkCond4-4 16430 7539 ns/op BenchmarkCond8-4 10000 14314 ns/op BenchmarkCond16-4 3769 28911 ns/op BenchmarkCond32-4 1760 74097 ns/op BenchmarkLoadMostlyHits/*sync_test.DeepCopyMap-4 421381 253.6 ns/op BenchmarkLoadMostlyHits/*sync_test.RWMutexMap-4 271244 397.3 ns/op BenchmarkLoadMostlyHits/*sync.Map-4 438738 247.1 ns/op BenchmarkLoadMostlyMisses/*sync_test.DeepCopyMap-4 330942 354.3 ns/op BenchmarkLoadMostlyMisses/*sync_test.RWMutexMap-4 292270 394.2 ns/op BenchmarkLoadMostlyMisses/*sync.Map-4 525342 224.0 ns/op BenchmarkLoadOrStoreBalanced/*sync_test.RWMutexMap-4 78381 1814 ns/op BenchmarkLoadOrStoreBalanced/*sync.Map-4 69393 2031 ns/op BenchmarkLoadOrStoreUnique/*sync_test.RWMutexMap-4 49348 2245 ns/op BenchmarkLoadOrStoreUnique/*sync.Map-4 43388 3116 ns/op BenchmarkLoadOrStoreCollision/*sync_test.DeepCopyMap-4 472561 356.7 ns/op BenchmarkLoadOrStoreCollision/*sync_test.RWMutexMap-4 148608 761.0 ns/op BenchmarkLoadOrStoreCollision/*sync.Map-4 419324 256.7 ns/op BenchmarkLoadAndDeleteBalanced/*sync_test.RWMutexMap-4 105926 1078 ns/op BenchmarkLoadAndDeleteBalanced/*sync.Map-4 450373 234.7 ns/op BenchmarkLoadAndDeleteUnique/*sync_test.RWMutexMap-4 130692 929.6 ns/op BenchmarkLoadAndDeleteUnique/*sync.Map-4 1780326 75.19 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.DeepCopyMap-4 40434 3500 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.RWMutexMap-4 116472 1149 ns/op BenchmarkLoadAndDeleteCollision/*sync.Map-4 470487 462.4 ns/op BenchmarkRange/*sync_test.DeepCopyMap-4 6846 15801 ns/op BenchmarkRange/*sync_test.RWMutexMap-4 286 404514 ns/op BenchmarkRange/*sync.Map-4 1262 87482 ns/op BenchmarkAdversarialAlloc/*sync_test.DeepCopyMap-4 105590 1696 ns/op BenchmarkAdversarialAlloc/*sync_test.RWMutexMap-4 198805 594.4 ns/op BenchmarkAdversarialAlloc/*sync.Map-4 64191 2062 ns/op BenchmarkAdversarialDelete/*sync_test.DeepCopyMap-4 106020 1205 ns/op BenchmarkAdversarialDelete/*sync_test.RWMutexMap-4 238642 553.9 ns/op BenchmarkAdversarialDelete/*sync.Map-4 142077 981.9 ns/op BenchmarkDeleteCollision/*sync_test.DeepCopyMap-4 74928 1904 ns/op BenchmarkDeleteCollision/*sync_test.RWMutexMap-4 174488 731.8 ns/op BenchmarkDeleteCollision/*sync.Map-4 488191 237.6 ns/op BenchmarkSwapCollision/*sync_test.DeepCopyMap-4 44248 2497 ns/op BenchmarkSwapCollision/*sync_test.RWMutexMap-4 131138 952.4 ns/op BenchmarkSwapCollision/*sync.Map-4 65748 1822 ns/op BenchmarkSwapMostlyHits/*sync_test.DeepCopyMap-4 249 482701 ns/op BenchmarkSwapMostlyHits/*sync_test.RWMutexMap-4 96766 1356 ns/op BenchmarkSwapMostlyHits/*sync.Map-4 291658 387.8 ns/op BenchmarkSwapMostlyMisses/*sync_test.DeepCopyMap-4 19734 6257 ns/op BenchmarkSwapMostlyMisses/*sync_test.RWMutexMap-4 50144 2166 ns/op BenchmarkSwapMostlyMisses/*sync.Map-4 19600 5779 ns/op BenchmarkCompareAndSwapCollision/*sync_test.DeepCopyMap-4 300134 433.2 ns/op BenchmarkCompareAndSwapCollision/*sync_test.RWMutexMap-4 93127 1276 ns/op BenchmarkCompareAndSwapCollision/*sync.Map-4 142856 817.1 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.DeepCopyMap-4 1672569 67.86 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.RWMutexMap-4 146160 751.4 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync.Map-4 1932200 65.17 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.DeepCopyMap-4 466898 343.5 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.RWMutexMap-4 149178 907.6 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync.Map-4 408536 260.2 ns/op BenchmarkCompareAndSwapMostlyHits/*sync_test.RWMutexMap-4 77716 1486 ns/op BenchmarkCompareAndSwapMostlyHits/*sync.Map-4 290187 389.9 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.DeepCopyMap-4 362322 303.9 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.RWMutexMap-4 103526 1186 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync.Map-4 473470 241.3 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.DeepCopyMap-4 113534 881.2 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.RWMutexMap-4 96549 1303 ns/op BenchmarkCompareAndDeleteCollision/*sync.Map-4 153873 803.1 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync_test.RWMutexMap-4 50466 2378 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync.Map-4 200054 658.7 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.DeepCopyMap-4 399223 278.0 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.RWMutexMap-4 104130 1060 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync.Map-4 473162 238.6 ns/op BenchmarkUncontendedSemaphore-4 3317302 36.28 ns/op BenchmarkContendedSemaphore-4 2998092 45.13 ns/op BenchmarkMutexUncontended-4 712393 181.8 ns/op BenchmarkMutex-4 108364 930.2 ns/op BenchmarkMutexSlack-4 139008 970.7 ns/op BenchmarkMutexWork-4 124359 1023 ns/op BenchmarkMutexWorkSlack-4 117187 1105 ns/op BenchmarkMutexNoSpin-4 45955 2543 ns/op BenchmarkMutexSpin-4 50016 2603 ns/op BenchmarkOnce-4 585079 198.4 ns/op BenchmarkOnceFunc/v=Once-4 923072 117.4 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Global-4 775708 134.0 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Local-4 902570 134.5 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Once-4 1000000 116.7 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Global-4 780250 157.7 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Local-4 681567 154.2 ns/op 0 B/op 0 allocs/op BenchmarkSemaUncontended-4 5994060 21.97 ns/op BenchmarkSemaSyntNonblock-4 1000000 106.5 ns/op BenchmarkSemaSyntBlock-4 955069 109.3 ns/op BenchmarkSemaWorkNonblock-4 728787 143.5 ns/op BenchmarkSemaWorkBlock-4 786349 151.4 ns/op BenchmarkRWMutexUncontended-4 294165 365.8 ns/op BenchmarkRWMutexWrite100-4 243380 453.8 ns/op BenchmarkRWMutexWrite10-4 231252 545.2 ns/op BenchmarkRWMutexWorkWrite100-4 208435 587.2 ns/op BenchmarkRWMutexWorkWrite10-4 192771 672.2 ns/op BenchmarkWaitGroupUncontended-4 692209 154.0 ns/op BenchmarkWaitGroupAddDone-4 339945 375.9 ns/op BenchmarkWaitGroupAddDoneWork-4 343666 382.1 ns/op BenchmarkWaitGroupWait-4 4501365 26.36 ns/op BenchmarkWaitGroupWaitWork-4 3064147 44.13 ns/op BenchmarkWaitGroupActuallyWait-4 38650 3041 ns/op 32 B/op 2 allocs/op PASS ok sync 19.544s ##### 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 896823 118.6 ns/op PASS ok sync/atomic 1.189s ##### 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.020s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: testing cpu: AMD EPYC 7B12 BenchmarkTBHelper-4 146948 788.0 ns/op 0 B/op 0 allocs/op PASS ok testing 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: text/tabwriter cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkTable/1x10/new-4 7066 14509 ns/op 1520 B/op 21 allocs/op BenchmarkTable/1x10/reuse-4 11292 10474 ns/op 0 B/op 0 allocs/op BenchmarkTable/1x1000/new-4 86 1235327 ns/op 129392 B/op 1025 allocs/op BenchmarkTable/1x1000/reuse-4 122 971783 ns/op 1060 B/op 8 allocs/op BenchmarkTable/1x100000/new-4 1 190255823 ns/op 19393104 B/op 100058 allocs/op BenchmarkTable/1x100000/reuse-4 1 192673678 ns/op 19393008 B/op 100057 allocs/op BenchmarkTable/10x10/new-4 1698 66606 ns/op 5056 B/op 31 allocs/op BenchmarkTable/10x10/reuse-4 2000 55931 ns/op 2 B/op 0 allocs/op BenchmarkTable/10x1000/new-4 18 6124315 ns/op 413568 B/op 1039 allocs/op BenchmarkTable/10x1000/reuse-4 21 5418150 ns/op 19693 B/op 49 allocs/op BenchmarkTable/10x100000/new-4 1 748890177 ns/op 48120704 B/op 100073 allocs/op BenchmarkTable/10x100000/reuse-4 1 739004339 ns/op 48120704 B/op 100073 allocs/op BenchmarkTable/100x10/new-4 211 561834 ns/op 39296 B/op 41 allocs/op BenchmarkTable/100x10/reuse-4 236 505826 ns/op 166 B/op 0 allocs/op BenchmarkTable/100x1000/new-4 2 60762799 ns/op 3288960 B/op 1053 allocs/op BenchmarkTable/100x1000/reuse-4 2 59615590 ns/op 1644528 B/op 527 allocs/op BenchmarkTable/100x100000/new-4 1 7210712464 ns/op 335149952 B/op 100089 allocs/op BenchmarkTable/100x100000/reuse-4 1 7183218965 ns/op 335150048 B/op 100090 allocs/op BenchmarkPyramid/10-4 2660 43843 ns/op 4872 B/op 35 allocs/op BenchmarkPyramid/100-4 38 3106699 ns/op 409128 B/op 230 allocs/op BenchmarkPyramid/1000-4 1 344566455 ns/op 35625256 B/op 2055 allocs/op BenchmarkRagged/10-4 2476 47566 ns/op 4512 B/op 34 allocs/op BenchmarkRagged/100-4 255 458282 ns/op 41008 B/op 188 allocs/op BenchmarkRagged/1000-4 26 4596546 ns/op 427424 B/op 1661 allocs/op BenchmarkCode-4 7609 15833 ns/op 624 B/op 13 allocs/op PASS ok text/tabwriter 20.747s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: text/template/parse cpu: AMD EPYC 7B12 BenchmarkParseLarge-4 2 53408553 ns/op BenchmarkVariableString-4 138566 847.0 ns/op 80 B/op 3 allocs/op BenchmarkListString-4 3037 38949 ns/op 2508 B/op 39 allocs/op PASS ok text/template/parse 1.536s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: time cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAfterFunc-4 34 3235230 ns/op BenchmarkAfter-4 116 1139772 ns/op BenchmarkStop-4 182 630240 ns/op BenchmarkSimultaneousAfterFunc-4 30 4301530 ns/op BenchmarkStartStop-4 204 645291 ns/op BenchmarkReset-4 2052 59634 ns/op BenchmarkSleep-4 30 3736827 ns/op BenchmarkParallelTimerLatency-4 49 350399 avg-late-ns 7062506 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=1-4 37 361312 avg-late-ns 880174 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=2-4 37 381420 avg-late-ns 1376077 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=3-4 34 413222 avg-late-ns 1470974 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=4-4 33 350945 avg-late-ns 1585471 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=5-4 31 296681 avg-late-ns 1504369 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=6-4 32 207042 avg-late-ns 2218109 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=7-4 30 204325 avg-late-ns 1933637 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=8-4 27 165177 avg-late-ns 1306695 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=9-4 26 174267 avg-late-ns 1275637 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=10-4 26 866328 avg-late-ns 4264288 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=2ms/tickers-per-P=1-4 34 337234 avg-late-ns 1231294 max-late-ns BenchmarkTicker-4 387 342924 ns/op BenchmarkTickerReset-4 3685 36522 ns/op BenchmarkTickerResetNaive-4 172 704365 ns/op BenchmarkNow-4 1134740 107.9 ns/op BenchmarkNowUnixNano-4 1000000 104.0 ns/op BenchmarkNowUnixMilli-4 1000000 103.9 ns/op BenchmarkNowUnixMicro-4 1000000 103.7 ns/op BenchmarkFormat-4 58903 2053 ns/op BenchmarkFormatRFC3339-4 79764 1506 ns/op BenchmarkFormatRFC3339Nano-4 76604 1535 ns/op BenchmarkFormatNow-4 81590 1502 ns/op BenchmarkMarshalJSON-4 105172 1143 ns/op BenchmarkMarshalText-4 106386 1112 ns/op BenchmarkParse-4 139948 836.4 ns/op BenchmarkParseRFC3339UTC-4 340188 361.8 ns/op BenchmarkParseRFC3339UTCBytes-4 212746 546.8 ns/op BenchmarkParseRFC3339TZ-4 101536 1183 ns/op BenchmarkParseRFC3339TZBytes-4 78100 1530 ns/op BenchmarkParseDuration-4 526327 228.7 ns/op BenchmarkHour-4 815836 136.3 ns/op BenchmarkSecond-4 855015 138.5 ns/op BenchmarkYear-4 646476 181.6 ns/op BenchmarkDay-4 585685 200.2 ns/op BenchmarkISOWeek-4 636304 189.2 ns/op BenchmarkGoString-4 78193 1545 ns/op BenchmarkUnmarshalText-4 68208 1750 ns/op PASS ok time 12.870s goos: linux goarch: amd64 pkg: unicode/utf16 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecodeValidASCII-4 606138 185.4 ns/op BenchmarkDecodeValidJapaneseChars-4 699844 151.7 ns/op BenchmarkDecodeRune-4 1656610 71.76 ns/op BenchmarkEncodeValidASCII-4 533835 207.7 ns/op BenchmarkEncodeValidJapaneseChars-4 833997 144.1 ns/op BenchmarkAppendRuneValidASCII-4 1591909 75.32 ns/op BenchmarkAppendRuneValidJapaneseChars-4 2401190 49.57 ns/op BenchmarkEncodeRune-4 2883375 41.39 ns/op PASS ok unicode/utf16 2.227s goos: linux goarch: amd64 pkg: unicode/utf8 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRuneCountTenASCIIChars-4 841227 142.7 ns/op BenchmarkRuneCountTenJapaneseChars-4 167127 681.3 ns/op BenchmarkRuneCountInStringTenASCIIChars-4 3663637 32.57 ns/op BenchmarkRuneCountInStringTenJapaneseChars-4 419554 283.3 ns/op BenchmarkValidTenASCIIChars-4 838431 137.5 ns/op BenchmarkValid100KASCIIChars-4 91 1332043 ns/op BenchmarkValidTenJapaneseChars-4 152530 764.2 ns/op BenchmarkValidLongMostlyASCII-4 84 1412642 ns/op BenchmarkValidLongJapanese-4 46 2253820 ns/op BenchmarkValidStringTenASCIIChars-4 4482711 27.09 ns/op BenchmarkValidString100KASCIIChars-4 9460 12802 ns/op BenchmarkValidStringTenJapaneseChars-4 401556 261.4 ns/op BenchmarkValidStringLongMostlyASCII-4 1220 98078 ns/op BenchmarkValidStringLongJapanese-4 154 767698 ns/op BenchmarkEncodeASCIIRune-4 4269798 27.64 ns/op BenchmarkEncodeJapaneseRune-4 2458236 48.61 ns/op BenchmarkAppendASCIIRune-4 8767026 12.65 ns/op BenchmarkAppendJapaneseRune-4 2875845 42.11 ns/op BenchmarkDecodeASCIIRune-4 2809227 41.04 ns/op BenchmarkDecodeJapaneseRune-4 1933267 61.78 ns/op BenchmarkFullRune/ASCII-4 3359595 35.69 ns/op BenchmarkFullRune/Incomplete-4 1540826 77.60 ns/op BenchmarkFullRune/Japanese-4 3475084 34.80 ns/op PASS ok unicode/utf8 4.613s goos: linux goarch: amd64 pkg: cmd/api cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAll-4 1 70416311562 ns/op PASS ok cmd/api 71.584s goos: linux goarch: amd64 pkg: cmd/cgo/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCgoCall/add-int-4 349424 301.9 ns/op BenchmarkCgoCall/one-pointer-4 309873 362.7 ns/op BenchmarkCgoCall/eight-pointers-4 176001 697.2 ns/op BenchmarkCgoCall/eight-pointers-nil-4 326685 365.7 ns/op BenchmarkCgoCall/eight-pointers-array-4 15814 7170 ns/op BenchmarkCgoCall/eight-pointers-slice-4 31039 3809 ns/op BenchmarkGoString-4 976087 115.4 ns/op BenchmarkCGoCallback-4 46375 2520 ns/op BenchmarkCGoInCThread-4 264706 402.9 ns/op PASS ok cmd/cgo/internal/test 2.237s goos: linux goarch: amd64 pkg: cmd/compile/internal/reflectdata cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEqArrayOfStrings5-4 1159168 105.5 ns/op BenchmarkEqArrayOfStrings64-4 142698 807.7 ns/op BenchmarkEqArrayOfStrings1024-4 10000 12038 ns/op BenchmarkEqArrayOfFloats5-4 1288842 95.25 ns/op BenchmarkEqArrayOfFloats64-4 137610 882.2 ns/op BenchmarkEqArrayOfFloats1024-4 9018 12725 ns/op BenchmarkEqArrayOfStructsEq-4 2715 43305 ns/op BenchmarkEqArrayOfStructsNotEq-4 4959 23914 ns/op BenchmarkEqStruct-4 17235507 6.889 ns/op PASS ok cmd/compile/internal/reflectdata 2.338s goos: linux goarch: amd64 pkg: cmd/compile/internal/ssa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPhioptPass-4 10000 61493 ns/op BenchmarkCopyElim1-4 771 158227 ns/op BenchmarkCopyElim10-4 775 168581 ns/op BenchmarkCopyElim100-4 320 338453 ns/op BenchmarkCopyElim1000-4 52 2147493 ns/op BenchmarkCopyElim10000-4 3 42272044 ns/op BenchmarkCopyElim100000-4 1 713437202 ns/op BenchmarkDeadCode/1-4 482 222319 ns/op BenchmarkDeadCode/10-4 445 237786 ns/op BenchmarkDeadCode/100-4 224 508722 ns/op BenchmarkDeadCode/1000-4 46 2627101 ns/op BenchmarkDeadCode/10000-4 3 35566136 ns/op BenchmarkDeadCode/100000-4 1 456235689 ns/op BenchmarkDeadCode/200000-4 1 945108706 ns/op BenchmarkDominatorsLinear-4 13 9229465 ns/op 1.08 MB/s BenchmarkDominatorsFwdBack-4 8 13338103 ns/op 0.75 MB/s BenchmarkDominatorsManyPred-4 9 12754292 ns/op 0.78 MB/s BenchmarkDominatorsMaxPred-4 7 16412961 ns/op 0.61 MB/s BenchmarkDominatorsMaxPredVal-4 7 17857270 ns/op 0.56 MB/s BenchmarkFuse/1-4 462 246529 ns/op BenchmarkFuse/10-4 370 289597 ns/op BenchmarkFuse/100-4 136 847135 ns/op BenchmarkFuse/1000-4 18 6198701 ns/op BenchmarkFuse/10000-4 2 83175114 ns/op BenchmarkNilCheckDeep1-4 12276 9928 ns/op 0.10 MB/s 235 B/op 4 allocs/op BenchmarkNilCheckDeep10-4 5103 23348 ns/op 0.43 MB/s 239 B/op 4 allocs/op BenchmarkNilCheckDeep100-4 740 156555 ns/op 0.64 MB/s 619 B/op 4 allocs/op BenchmarkNilCheckDeep1000-4 72 1486973 ns/op 0.67 MB/s 4650 B/op 4 allocs/op BenchmarkNilCheckDeep10000-4 6 18871721 ns/op 0.53 MB/s 120514 B/op 6 allocs/op BenchmarkDSEPass-4 32 3609530 ns/op 45276 B/op 7 allocs/op BenchmarkDSEPassBlock-4 1 124322966 ns/op 4262112 B/op 108583 allocs/op BenchmarkCSEPass-4 7 15073718 ns/op 75347 B/op 8 allocs/op BenchmarkCSEPassBlock-4 1 153643212 ns/op 5604344 B/op 97034 allocs/op BenchmarkDeadcodePass-4 176 628610 ns/op 101452 B/op 3 allocs/op BenchmarkDeadcodePassBlock-4 1 134195683 ns/op 4084976 B/op 45249 allocs/op BenchmarkMultiPass-4 68 1613724 ns/op 232219 B/op 11 allocs/op BenchmarkMultiPassBlock-4 1 270293081 ns/op 11272192 B/op 150374 allocs/op BenchmarkCondRewrite/SoloJump-4 3112855 38.58 ns/op BenchmarkCondRewrite/CombJump-4 2819198 41.96 ns/op PASS ok cmd/compile/internal/ssa 15.766s goos: linux goarch: amd64 pkg: cmd/compile/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLoadAdd-4 9390 11573 ns/op BenchmarkExtShift-4 16284 7429 ns/op BenchmarkModify-4 9751 11550 ns/op BenchmarkMullImm-4 17559 7045 ns/op BenchmarkConstModify-4 9834 11548 ns/op BenchmarkBitSet-4 21442 5380 ns/op BenchmarkBitClear-4 21451 5307 ns/op BenchmarkBitToggle-4 21388 5329 ns/op BenchmarkBitSetConst-4 158326 759.5 ns/op BenchmarkBitClearConst-4 160202 741.8 ns/op BenchmarkBitToggleConst-4 161580 730.8 ns/op BenchmarkDivconstI64-4 8776116 11.61 ns/op BenchmarkModconstI64-4 8703211 11.70 ns/op BenchmarkDivisiblePow2constI64-4 8850856 11.50 ns/op BenchmarkDivisibleconstI64-4 10655350 11.23 ns/op BenchmarkDivisibleWDivconstI64-4 6994512 17.02 ns/op BenchmarkDivconstU64/3-4 10531635 11.39 ns/op BenchmarkDivconstU64/5-4 10283014 11.66 ns/op BenchmarkDivconstU64/37-4 10571244 11.37 ns/op BenchmarkDivconstU64/1234567-4 10976954 10.99 ns/op BenchmarkModconstU64-4 9344763 12.12 ns/op BenchmarkDivisibleconstU64-4 10793208 11.14 ns/op BenchmarkDivisibleWDivconstU64-4 7022737 17.08 ns/op BenchmarkDivconstI32-4 10333893 11.74 ns/op BenchmarkModconstI32-4 10806682 11.11 ns/op BenchmarkDivisiblePow2constI32-4 8995435 11.49 ns/op BenchmarkDivisibleconstI32-4 8752159 11.47 ns/op BenchmarkDivisibleWDivconstI32-4 7041006 16.85 ns/op BenchmarkDivconstU32-4 10757746 11.13 ns/op BenchmarkModconstU32-4 8388198 12.34 ns/op BenchmarkDivisibleconstU32-4 9102534 11.12 ns/op BenchmarkDivisibleWDivconstU32-4 7349773 16.58 ns/op BenchmarkDivconstI16-4 10806769 11.29 ns/op BenchmarkModconstI16-4 8598271 12.03 ns/op BenchmarkDivisiblePow2constI16-4 9002161 11.55 ns/op BenchmarkDivisibleconstI16-4 10427298 11.51 ns/op BenchmarkDivisibleWDivconstI16-4 7025425 17.01 ns/op BenchmarkDivconstU16-4 8769583 11.43 ns/op BenchmarkModconstU16-4 8768414 11.46 ns/op BenchmarkDivisibleconstU16-4 10690092 11.15 ns/op BenchmarkDivisibleWDivconstU16-4 6731365 17.26 ns/op BenchmarkDivconstI8-4 10536879 11.39 ns/op BenchmarkModconstI8-4 8389862 12.17 ns/op BenchmarkDivisiblePow2constI8-4 11278414 10.64 ns/op BenchmarkDivisibleconstI8-4 8848742 11.78 ns/op BenchmarkDivisibleWDivconstI8-4 7291874 16.39 ns/op BenchmarkDivconstU8-4 8905405 11.56 ns/op BenchmarkModconstU8-4 10488913 11.44 ns/op BenchmarkDivisibleconstU8-4 10665003 11.09 ns/op BenchmarkDivisibleWDivconstU8-4 6629877 19.48 ns/op BenchmarkMul2-4 147202 840.5 ns/op BenchmarkMulNeg2-4 155444 781.8 ns/op BenchmarkEfaceInteger-4 3492601 30.63 ns/op BenchmarkDiv64UnsignedSmall-4 6257349 16.82 ns/op BenchmarkDiv64Small-4 5875491 18.99 ns/op BenchmarkDiv64SmallNegDivisor-4 5437258 21.28 ns/op BenchmarkDiv64SmallNegDividend-4 5977344 21.08 ns/op BenchmarkDiv64SmallNegBoth-4 6010785 18.89 ns/op BenchmarkDiv64Unsigned-4 6495031 16.13 ns/op BenchmarkDiv64-4 6157496 18.75 ns/op BenchmarkDiv64NegDivisor-4 5927733 18.19 ns/op BenchmarkDiv64NegDividend-4 6030172 18.41 ns/op BenchmarkDiv64NegBoth-4 6081178 18.25 ns/op BenchmarkMod64UnsignedSmall-4 7088721 15.30 ns/op BenchmarkMod64Small-4 6087877 17.26 ns/op BenchmarkMod64SmallNegDivisor-4 5960602 18.61 ns/op BenchmarkMod64SmallNegDividend-4 5839209 17.33 ns/op BenchmarkMod64SmallNegBoth-4 6087528 17.76 ns/op BenchmarkMod64Unsigned-4 6707098 16.04 ns/op BenchmarkMod64-4 6195348 17.97 ns/op BenchmarkMod64NegDivisor-4 5887783 17.93 ns/op BenchmarkMod64NegDividend-4 6061548 17.94 ns/op BenchmarkMod64NegBoth-4 6101895 17.95 ns/op BenchmarkMulconstI32/3-4 20956882 5.771 ns/op BenchmarkMulconstI32/5-4 20776212 5.736 ns/op BenchmarkMulconstI32/12-4 21037094 5.710 ns/op BenchmarkMulconstI32/120-4 21011712 5.709 ns/op BenchmarkMulconstI32/-120-4 21054685 5.707 ns/op BenchmarkMulconstI32/65537-4 21134452 5.688 ns/op BenchmarkMulconstI32/65538-4 20911724 5.713 ns/op BenchmarkMulconstI64/3-4 20914946 5.736 ns/op BenchmarkMulconstI64/5-4 20944045 5.758 ns/op BenchmarkMulconstI64/12-4 20735714 5.737 ns/op BenchmarkMulconstI64/120-4 20906797 5.708 ns/op BenchmarkMulconstI64/-120-4 21076969 5.726 ns/op BenchmarkMulconstI64/65537-4 21088645 5.667 ns/op BenchmarkMulconstI64/65538-4 21161577 5.707 ns/op BenchmarkMulconstU32/3-4 20869366 5.779 ns/op BenchmarkMulconstU32/5-4 20763830 5.754 ns/op BenchmarkMulconstU32/12-4 20877306 5.719 ns/op BenchmarkMulconstU32/120-4 20838608 5.721 ns/op BenchmarkMulconstU32/65537-4 21077994 5.659 ns/op BenchmarkMulconstU32/65538-4 20951202 5.668 ns/op BenchmarkMulconstU64/3-4 20579586 5.788 ns/op BenchmarkMulconstU64/5-4 20795119 5.729 ns/op BenchmarkMulconstU64/12-4 20494956 5.716 ns/op BenchmarkMulconstU64/120-4 20930239 5.736 ns/op BenchmarkMulconstU64/65537-4 21188132 5.670 ns/op BenchmarkMulconstU64/65538-4 21023666 5.684 ns/op BenchmarkShiftArithmeticRight-4 19498812 6.034 ns/op BenchmarkSwitch8Predictable-4 13151412 9.140 ns/op BenchmarkSwitch8Unpredictable-4 5721966 21.15 ns/op BenchmarkSwitch32Predictable-4 8248352 14.55 ns/op BenchmarkSwitch32Unpredictable-4 5688609 21.02 ns/op BenchmarkSwitchStringPredictable-4 7976949 15.01 ns/op BenchmarkSwitchStringUnpredictable-4 4028566 29.78 ns/op PASS ok cmd/compile/internal/test 19.544s goos: linux goarch: amd64 pkg: cmd/compile/internal/types2 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLookupFieldOrMethod-4 136 919521 ns/op BenchmarkNamed/Underlying/nongeneric-4 804468 147.5 ns/op BenchmarkNamed/Underlying/generic-4 795306 144.8 ns/op BenchmarkNamed/Underlying/src_instance-4 810801 142.8 ns/op BenchmarkNamed/Underlying/user_instance-4 778069 143.1 ns/op BenchmarkCheck/http/funcbodies/info-4 1 558393336 ns/op 54783 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 385123542 ns/op 79428 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 171329814 ns/op 178495 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 147186626 ns/op 207748 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 449419399 ns/op 11533 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 1 100964590 ns/op 51309 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 3 39879301 ns/op 129895 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 3 39511812 ns/op 131121 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 155484883 ns/op 13950 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 3 41624935 ns/op 52108 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 5 22827139 ns/op 95017 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 5 21078262 ns/op 102881 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1212041091 ns/op 53885 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 617050252 ns/op 105822 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 163969966 ns/op 398115 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 124234384 ns/op 525428 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 414484079 ns/op 4830 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 68539884 ns/op 29192 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 3 41381737 ns/op 48356 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 3 40988180 ns/op 48833 lines/s PASS ok cmd/compile/internal/types2 16.943s goos: linux goarch: amd64 pkg: cmd/go cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExecGoEnv-4 132 795626 ns/op 1826379 sys-ns/op 1209364 user-ns/op PASS ok cmd/go 1.197s goos: linux goarch: amd64 pkg: cmd/internal/notsha256 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 66381 1770 ns/op 4.52 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 77924 1501 ns/op 5.33 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 14318 8358 ns/op 122.52 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 14583 8273 ns/op 123.78 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 2218 53769 ns/op 152.36 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 2208 54211 ns/op 151.11 MB/s 0 B/op 0 allocs/op PASS ok cmd/internal/notsha256 1.957s All tests passed.