linux-amd64-race at a17de43ef12250cd9a0ffdd8ff2d05fb18fcf322 :: 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-rn80a08a8" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=0s" "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-rn80a08a8" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=0s" "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.786s ok archive/zip 2.630s ok bufio 1.212s ok bytes 2.613s ok cmp 1.010s ok compress/bzip2 1.303s ok compress/flate 5.542s ok compress/gzip 9.933s ok compress/lzw 1.385s ok compress/zlib 4.516s ok container/heap 1.013s ok container/list 1.011s ok container/ring 1.011s ok context 1.032s ok crypto 1.009s ok crypto/aes 1.048s ok crypto/cipher 1.029s ok crypto/des 1.030s ok crypto/dsa 1.011s ok crypto/ecdh 1.150s ok crypto/ecdsa 1.096s ok crypto/ed25519 1.269s ok crypto/elliptic 1.026s ok crypto/hmac 1.012s ok crypto/internal/alias 1.009s ok crypto/internal/bigmod 3.388s ok crypto/internal/boring 1.010s ok crypto/internal/boring/bcache 1.312s ok crypto/internal/edwards25519 27.631s ok crypto/internal/edwards25519/field 10.092s ok crypto/internal/nistec 1.585s ok crypto/internal/nistec/fiat 1.010s [no tests to run] ok crypto/md5 1.015s ok crypto/rand 1.185s ok crypto/rc4 1.328s ok crypto/rsa 2.278s ok crypto/sha1 1.025s ok crypto/sha256 1.014s ok crypto/sha512 1.014s ok crypto/subtle 1.249s ok crypto/tls 3.000s ok crypto/x509 2.051s ok database/sql 1.313s ok database/sql/driver 1.010s ok debug/buildinfo 1.033s ok debug/dwarf 1.050s ok debug/elf 1.844s ok debug/gosym 1.204s ok debug/macho 1.018s ok debug/pe 1.028s ok debug/plan9obj 1.010s ok embed 1.009s [no tests to run] ok embed/internal/embedtest 1.010s ok encoding/ascii85 1.013s ok encoding/asn1 1.014s ok encoding/base32 1.038s ok encoding/base64 1.017s ok encoding/binary 1.014s ok encoding/csv 1.034s ok encoding/gob 16.691s ok encoding/hex 1.015s ok encoding/json 1.817s ok encoding/pem 2.214s ok encoding/xml 1.124s ok errors 1.015s ok expvar 1.011s ok flag 3.056s ok fmt 1.432s ok go/ast 1.018s ok go/build 3.976s ok go/build/constraint 1.014s ok go/constant 1.015s ok go/doc 1.171s ok go/doc/comment 2.465s ok go/format 1.028s ok go/importer 1.111s ok go/internal/gccgoimporter 1.029s ok go/internal/gcimporter 1.783s ok go/internal/srcimporter 10.023s ok go/parser 1.574s ok go/printer 2.009s ok go/scanner 1.014s ok go/token 1.078s ok go/types 22.647s ok hash 1.011s ok hash/adler32 1.027s ok hash/crc32 1.031s ok hash/crc64 1.018s ok hash/fnv 1.010s ok hash/maphash 1.010s ok html 1.010s ok html/template 1.145s ok image 1.302s ok image/color 1.032s ok image/draw 1.379s ok image/gif 1.630s ok image/jpeg 1.884s ok image/png 3.014s ok index/suffixarray 1.767s ok internal/abi 1.037s ok internal/buildcfg 1.010s ok internal/coverage/cformat 1.010s ok internal/coverage/cmerge 1.010s ok internal/coverage/pods 1.011s ok internal/coverage/slicereader 1.009s ok internal/coverage/slicewriter 1.009s ok internal/coverage/test 1.030s ok internal/cpu 3.028s ok internal/dag 1.010s ok internal/diff 1.010s ok internal/fmtsort 1.010s ok internal/fuzz 1.023s ok internal/godebug 13.458s ok internal/godebugs 1.009s ok internal/intern 1.210s ok internal/itoa 1.010s ok internal/poll 1.373s ok internal/profile 1.010s ok internal/reflectlite 1.010s ok internal/safefilepath 1.009s ok internal/saferio 1.203s ok internal/singleflight 1.068s ok internal/testenv 1.089s ok internal/trace 1.111s ok internal/types/errors 1.239s ok internal/unsafeheader 1.009s ok internal/xcoff 1.019s ok internal/zstd 1.011s ok io 1.038s ok io/fs 1.202s ok io/ioutil 1.012s ok log 1.016s ok log/slog 1.026s ok log/slog/internal/benchmarks 1.010s ok log/slog/internal/buffer 1.009s ok log/syslog 2.224s ok maps 1.010s ok math 1.019s ok math/big 3.069s ok math/bits 1.015s ok math/cmplx 1.011s ok math/rand 3.556s ok mime 1.024s ok mime/multipart 4.203s ok mime/quotedprintable 1.036s ok net 39.456s ok net/http 6.142s ok net/http/cgi 12.258s ok net/http/cookiejar 1.016s ok net/http/fcgi 1.114s ok net/http/httptest 1.133s ok net/http/httptrace 1.009s ok net/http/httputil 1.609s ok net/http/internal 1.013s ok net/http/internal/ascii 1.009s ok net/http/pprof 6.144s ok net/internal/socktest 1.013s ok net/mail 1.013s ok net/netip 1.219s ok net/rpc 1.040s ok net/rpc/jsonrpc 1.016s ok net/smtp 1.048s ok net/textproto 1.029s ok net/url 1.019s ok os 6.240s ok os/exec 4.070s ok os/exec/internal/fdtest 1.009s ok os/signal 16.919s ok os/user 1.009s ok path 1.011s ok path/filepath 1.036s ok plugin 1.010s ok reflect 1.395s ok regexp 2.973s ok regexp/syntax 3.963s ok runtime 27.956s ok runtime/cgo 1.011s ok runtime/coverage 1.011s ok runtime/debug 2.049s ok runtime/internal/atomic 1.031s ok runtime/internal/math 1.009s ok runtime/internal/sys 1.010s ok runtime/internal/syscall 1.009s ok runtime/metrics 1.017s ok runtime/pprof 17.432s ok runtime/race 8.820s ok runtime/trace 3.754s ok slices 1.290s ok sort 1.316s ok strconv 2.627s ok strings 2.025s ok sync 1.296s ok sync/atomic 2.376s ok syscall 10.008s ok testing 2.823s ok testing/fstest 1.013s ok testing/iotest 1.011s ok testing/quick 1.109s ok testing/slogtest 1.012s ok text/scanner 1.020s ok text/tabwriter 1.011s ok text/template 1.055s ok text/template/parse 1.019s ok time 2.969s ok unicode 1.014s ok unicode/utf16 1.010s ok unicode/utf8 1.018s ok cmd/addr2line 3.855s ok cmd/api 9.305s ok cmd/asm/internal/asm 3.379s ok cmd/asm/internal/lex 1.011s ok cmd/cgo/internal/swig 1.418s ok cmd/cgo/internal/test 2.033s ok cmd/cgo/internal/testcarchive 15.410s ok cmd/cgo/internal/testcshared 3.793s ok cmd/cgo/internal/testerrors 6.802s ok cmd/cgo/internal/testfortran 1.770s ok cmd/cgo/internal/testgodefs 1.358s ok cmd/cgo/internal/testlife 1.383s ok cmd/cgo/internal/testnocgo 1.009s ok cmd/cgo/internal/testplugin 18.999s ok cmd/cgo/internal/testsanitizers 12.637s ok cmd/cgo/internal/testshared 24.984s ok cmd/cgo/internal/testso 1.864s ok cmd/cgo/internal/teststdio 1.791s ok cmd/cgo/internal/testtls 1.009s ok cmd/compile/internal/abt 1.029s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/amd64 57.486s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/base 1.010s ok cmd/compile/internal/compare 1.011s ok cmd/compile/internal/dwarfgen 1.301s ok cmd/compile/internal/importer 1.504s ok cmd/compile/internal/ir 1.009s ok cmd/compile/internal/logopt 1.136s ok cmd/compile/internal/loopvar 17.557s ok cmd/compile/internal/noder 1.012s ok cmd/compile/internal/reflectdata 1.009s [no tests to run] ok cmd/compile/internal/ssa 18.027s ok cmd/compile/internal/syntax 1.095s ok cmd/compile/internal/test 9.244s ok cmd/compile/internal/typecheck 1.134s ok cmd/compile/internal/types 1.010s ok cmd/compile/internal/types2 6.105s ok cmd/covdata 1.012s ok cmd/cover 15.511s ok cmd/dist 1.010s ok cmd/distpack 1.009s ok cmd/doc 1.486s ok cmd/fix 1.469s ##### 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 225.241s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Testing packages. ok cmd/go/internal/auth 1.009s ok cmd/go/internal/cache 1.060s ok cmd/go/internal/envcmd 1.022s ok cmd/go/internal/fsys 1.025s ok cmd/go/internal/generate 1.016s ok cmd/go/internal/get 1.016s ok cmd/go/internal/gover 1.009s ok cmd/go/internal/imports 1.016s ok cmd/go/internal/load 1.014s ok cmd/go/internal/lockedfile 2.105s ok cmd/go/internal/lockedfile/internal/filelock 2.039s ok cmd/go/internal/modconv 1.020s ok cmd/go/internal/modfetch 1.017s ok cmd/go/internal/modfetch/codehost 1.295s ok cmd/go/internal/modfetch/zip_sum_test 1.011s ok cmd/go/internal/modindex 1.401s ok cmd/go/internal/modload 1.018s ok cmd/go/internal/mvs 1.024s ok cmd/go/internal/par 1.066s ok cmd/go/internal/str 1.009s ok cmd/go/internal/test 1.022s ok cmd/go/internal/vcs 1.013s ok cmd/go/internal/vcweb 1.014s ok cmd/go/internal/vcweb/vcstest 3.590s ok cmd/go/internal/web 1.011s ok cmd/go/internal/work 1.082s ok cmd/gofmt 1.137s ok cmd/internal/archive 1.221s ok cmd/internal/bootstrap_test 1.009s ok cmd/internal/buildid 1.354s ok cmd/internal/cov 1.152s ok cmd/internal/dwarf 1.010s ok cmd/internal/edit 1.009s ok cmd/internal/goobj 1.008s ok cmd/internal/moddeps 1.712s ok cmd/internal/notsha256 1.010s ok cmd/internal/obj 1.312s ok cmd/internal/obj/ppc64 1.058s ok cmd/internal/obj/riscv 1.024s ok cmd/internal/obj/s390x 1.010s ok cmd/internal/obj/x86 1.091s ok cmd/internal/objabi 1.009s ok cmd/internal/pkgpath 5.045s ok cmd/internal/pkgpattern 1.012s ok cmd/internal/quoted 1.009s ok cmd/internal/src 1.010s ok cmd/internal/test2json 1.516s ok cmd/link 8.822s ok cmd/link/internal/benchmark 1.012s ok cmd/link/internal/ld 3.038s ok cmd/link/internal/loader 1.026s ok cmd/nm 9.111s ok cmd/objdump 4.670s ok cmd/pack 7.198s ok cmd/pprof 3.329s ok cmd/trace 1.245s ok cmd/vet 27.240s ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: archive/tar cpu: AMD EPYC 7B12 Benchmark/Writer/USTAR-4 4299 25163 ns/op 1368 B/op 25 allocs/op Benchmark/Writer/GNU-4 3078 33439 ns/op 1855 B/op 36 allocs/op Benchmark/Writer/PAX-4 2277 50273 ns/op 2560 B/op 59 allocs/op Benchmark/Reader/USTAR-4 5815 18510 ns/op 5119 B/op 15 allocs/op Benchmark/Reader/GNU-4 9212 13227 ns/op 5089 B/op 14 allocs/op Benchmark/Reader/PAX-4 3121 37526 ns/op 8835 B/op 33 allocs/op PASS ok archive/tar 1.814s goos: linux goarch: amd64 pkg: archive/zip cpu: AMD EPYC 7B12 BenchmarkCompressedZipGarbage-4 1 267715286 ns/op 829192 B/op 85 allocs/op BenchmarkZip64Test-4 1 109739504 ns/op BenchmarkZip64TestSizes/4096-4 2368 60754 ns/op BenchmarkZip64TestSizes/1048576-4 236 497227 ns/op BenchmarkZip64TestSizes/67108864-4 1 103857215 ns/op PASS ok archive/zip 2.070s goos: linux goarch: amd64 pkg: bufio cpu: AMD EPYC 7B12 BenchmarkReaderCopyOptimal-4 317520 351.9 ns/op BenchmarkReaderCopyUnoptimal-4 208304 581.1 ns/op BenchmarkReaderCopyNoWriteTo-4 10392 11647 ns/op BenchmarkReaderWriteToOptimal-4 13618 8920 ns/op BenchmarkReaderReadString-4 190530 649.6 ns/op 144 B/op 1 allocs/op BenchmarkWriterCopyOptimal-4 295117 397.7 ns/op BenchmarkWriterCopyUnoptimal-4 309540 388.9 ns/op BenchmarkWriterCopyNoReadFrom-4 10000 10561 ns/op BenchmarkReaderEmpty-4 63606 1996 ns/op 4224 B/op 3 allocs/op BenchmarkWriterEmpty-4 49128 2488 ns/op 4096 B/op 1 allocs/op BenchmarkWriterFlush-4 751521 152.6 ns/op 0 B/op 0 allocs/op PASS ok bufio 2.702s ##### 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 4974 22563 ns/op 1452.32 MB/s BenchmarkWriteByte-4 470 248882 ns/op 16.46 MB/s BenchmarkWriteRune-4 255 463942 ns/op 26.49 MB/s BenchmarkBufferNotEmptyWriteRead-4 30 3713215 ns/op BenchmarkBufferFullSmallReads-4 100 1040101 ns/op BenchmarkBufferWriteBlock/N4096-4 7262 16208 ns/op 14336 B/op 6 allocs/op BenchmarkBufferWriteBlock/N65536-4 387 276278 ns/op 260096 B/op 14 allocs/op BenchmarkBufferWriteBlock/N1048576-4 5 21142320 ns/op 4192256 B/op 22 allocs/op BenchmarkBufferAppendNoCopy-4 1 132710307 ns/op 126.42 MB/s 33554432 B/op 2 allocs/op BenchmarkIndexByte/10-4 4528868 25.63 ns/op 390.21 MB/s BenchmarkIndexByte/32-4 4413088 27.05 ns/op 1182.79 MB/s BenchmarkIndexByte/4K-4 884887 134.5 ns/op 30452.96 MB/s BenchmarkIndexBytePortable/10-4 788692 144.0 ns/op 69.44 MB/s BenchmarkIndexBytePortable/32-4 255820 453.8 ns/op 70.52 MB/s BenchmarkIndexBytePortable/4K-4 2181 53096 ns/op 77.14 MB/s BenchmarkIndexRune/10-4 1000000 105.7 ns/op 94.59 MB/s BenchmarkIndexRune/32-4 1000000 106.2 ns/op 301.27 MB/s BenchmarkIndexRune/4K-4 374623 312.3 ns/op 13115.25 MB/s BenchmarkIndexRuneASCII/10-4 4450732 27.59 ns/op 362.47 MB/s BenchmarkIndexRuneASCII/32-4 4109706 28.05 ns/op 1140.92 MB/s BenchmarkIndexRuneASCII/4K-4 820755 135.0 ns/op 30350.41 MB/s BenchmarkEqual/0-4 7060800 16.83 ns/op BenchmarkEqual/1-4 1414363 85.84 ns/op 11.65 MB/s BenchmarkEqual/6-4 1347486 88.85 ns/op 67.53 MB/s BenchmarkEqual/9-4 1360758 87.72 ns/op 102.60 MB/s BenchmarkEqual/15-4 1335981 87.46 ns/op 171.50 MB/s BenchmarkEqual/16-4 1394054 86.09 ns/op 185.84 MB/s BenchmarkEqual/20-4 1323578 89.94 ns/op 222.36 MB/s BenchmarkEqual/32-4 1338682 90.92 ns/op 351.97 MB/s BenchmarkEqual/4K-4 107132 1110 ns/op 3689.11 MB/s BenchmarkIndex/10-4 2965576 40.09 ns/op 249.46 MB/s BenchmarkIndex/32-4 3084320 38.89 ns/op 822.82 MB/s BenchmarkIndex/4K-4 18144 6601 ns/op 620.55 MB/s BenchmarkIndexEasy/10-4 2818418 42.13 ns/op 237.35 MB/s BenchmarkIndexEasy/32-4 3002728 40.10 ns/op 797.91 MB/s BenchmarkIndexEasy/4K-4 484568 244.4 ns/op 16760.71 MB/s BenchmarkCount/10-4 1391466 87.26 ns/op 114.61 MB/s BenchmarkCount/32-4 1410014 88.86 ns/op 360.13 MB/s BenchmarkCount/4K-4 17851 6747 ns/op 607.06 MB/s BenchmarkCountEasy/10-4 1516354 79.47 ns/op 125.84 MB/s BenchmarkCountEasy/32-4 1444131 82.71 ns/op 386.91 MB/s BenchmarkCountEasy/4K-4 409804 283.1 ns/op 14468.21 MB/s BenchmarkCountSingle/10-4 3804067 31.29 ns/op 319.59 MB/s BenchmarkCountSingle/32-4 3587569 34.08 ns/op 938.87 MB/s BenchmarkCountSingle/4K-4 784682 143.8 ns/op 28493.58 MB/s BenchmarkToUpper/#00-4 2852360 41.83 ns/op BenchmarkToUpper/ONLYUPPER-4 289089 405.4 ns/op BenchmarkToUpper/abc-4 479390 240.5 ns/op BenchmarkToUpper/AbC123-4 287358 417.4 ns/op BenchmarkToUpper/azAZ09_-4 249100 470.2 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 77950 1527 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 40382 2985 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 54141 2194 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 123019 957.6 ns/op BenchmarkToLower/#00-4 2753034 43.24 ns/op BenchmarkToLower/abc-4 449462 268.9 ns/op BenchmarkToLower/AbC123-4 274276 411.7 ns/op BenchmarkToLower/azAZ09_-4 262000 448.2 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 81442 1514 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 41014 2944 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 70231 1737 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 116809 983.7 ns/op BenchmarkFields/ASCII/16-4 122220 976.5 ns/op 16.39 MB/s 80 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 9225 12994 ns/op 19.70 MB/s 416 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 556 211198 ns/op 19.39 MB/s 9472 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 30 3853251 ns/op 17.01 MB/s 147456 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 2 61112274 ns/op 17.16 MB/s 2269184 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 86815 1361 ns/op 11.76 MB/s 48 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 6012 19440 ns/op 13.17 MB/s 704 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 352 329501 ns/op 12.43 MB/s 24832 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 18 6490134 ns/op 10.10 MB/s 512261 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 1 123292585 ns/op 8.50 MB/s 11219200 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 135816 855.8 ns/op 18.70 MB/s 80 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 12414 9688 ns/op 26.42 MB/s 416 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 657 179744 ns/op 22.79 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 30 4036184 ns/op 16.24 MB/s 512259 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 85291198 ns/op 12.29 MB/s 11211056 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 126205 943.1 ns/op 16.96 MB/s 48 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 8472 14030 ns/op 18.25 MB/s 704 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 486 236930 ns/op 17.29 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 24 4936214 ns/op 13.28 MB/s 512256 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 1 101569425 ns/op 10.32 MB/s 11219200 B/op 24 allocs/op BenchmarkTrimSpace/NoTrim-4 1884178 62.28 ns/op BenchmarkTrimSpace/ASCII-4 938252 123.9 ns/op BenchmarkTrimSpace/SomeNonASCII-4 109761 1078 ns/op BenchmarkTrimSpace/JustNonASCII-4 49653 2444 ns/op BenchmarkToValidUTF8/Valid-4 475365 252.6 ns/op BenchmarkToValidUTF8/InvalidASCII-4 323596 373.9 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 96310 1232 ns/op BenchmarkIndexHard1-4 819 143361 ns/op BenchmarkIndexHard2-4 586 200957 ns/op BenchmarkIndexHard3-4 148 796372 ns/op BenchmarkIndexHard4-4 180 656788 ns/op BenchmarkLastIndexHard1-4 5 22694168 ns/op BenchmarkLastIndexHard2-4 4 28629495 ns/op BenchmarkLastIndexHard3-4 4 31539364 ns/op BenchmarkCountHard1-4 835 143330 ns/op BenchmarkCountHard2-4 595 200401 ns/op BenchmarkCountHard3-4 147 798237 ns/op BenchmarkSplitEmptySeparator-4 1 171582633 ns/op BenchmarkSplitSingleByteSeparator-4 10 11184032 ns/op BenchmarkSplitMultiByteSeparator-4 10 10488934 ns/op BenchmarkSplitNSingleByteSeparator-4 172855 619.5 ns/op BenchmarkSplitNMultiByteSeparator-4 68173 1662 ns/op BenchmarkRepeat-4 183591 635.7 ns/op BenchmarkRepeatLarge/256/1-4 138536 785.3 ns/op 325.98 MB/s BenchmarkRepeatLarge/256/16-4 202450 529.6 ns/op 483.40 MB/s BenchmarkRepeatLarge/512/1-4 108067 1114 ns/op 459.70 MB/s BenchmarkRepeatLarge/512/16-4 152888 827.4 ns/op 618.82 MB/s BenchmarkRepeatLarge/1024/1-4 64512 1670 ns/op 613.04 MB/s BenchmarkRepeatLarge/1024/16-4 81692 1299 ns/op 788.08 MB/s BenchmarkRepeatLarge/2048/1-4 42098 2621 ns/op 781.39 MB/s BenchmarkRepeatLarge/2048/16-4 52600 2312 ns/op 885.92 MB/s BenchmarkRepeatLarge/4096/1-4 25785 4521 ns/op 906.03 MB/s BenchmarkRepeatLarge/4096/16-4 27271 4195 ns/op 976.37 MB/s BenchmarkRepeatLarge/8192/1-4 14432 8319 ns/op 984.70 MB/s BenchmarkRepeatLarge/8192/16-4 14052 7711 ns/op 1062.32 MB/s BenchmarkRepeatLarge/8192/4097-4 24960 4578 ns/op 894.93 MB/s BenchmarkRepeatLarge/16384/1-4 8002 14751 ns/op 1110.69 MB/s BenchmarkRepeatLarge/16384/16-4 7502 14680 ns/op 1116.07 MB/s BenchmarkRepeatLarge/16384/4097-4 10000 12357 ns/op 994.69 MB/s BenchmarkRepeatLarge/32768/1-4 4179 27683 ns/op 1183.70 MB/s BenchmarkRepeatLarge/32768/16-4 3770 27246 ns/op 1202.66 MB/s BenchmarkRepeatLarge/32768/4097-4 4615 27950 ns/op 1026.10 MB/s BenchmarkRepeatLarge/65536/1-4 2224 56815 ns/op 1153.49 MB/s BenchmarkRepeatLarge/65536/16-4 2202 53375 ns/op 1227.84 MB/s BenchmarkRepeatLarge/65536/4097-4 1933 55526 ns/op 1106.78 MB/s BenchmarkRepeatLarge/131072/1-4 222 508673 ns/op 257.67 MB/s BenchmarkRepeatLarge/131072/16-4 223 515756 ns/op 254.14 MB/s BenchmarkRepeatLarge/131072/4097-4 231 509300 ns/op 249.38 MB/s BenchmarkRepeatLarge/262144/1-4 100 1008610 ns/op 259.91 MB/s BenchmarkRepeatLarge/262144/16-4 100 1022180 ns/op 256.46 MB/s BenchmarkRepeatLarge/262144/4097-4 100 1028838 ns/op 250.88 MB/s BenchmarkRepeatLarge/524288/1-4 58 2014214 ns/op 260.29 MB/s BenchmarkRepeatLarge/524288/16-4 52 2037685 ns/op 257.30 MB/s BenchmarkRepeatLarge/524288/4097-4 52 2019112 ns/op 257.70 MB/s BenchmarkRepeatLarge/1048576/1-4 28 4032994 ns/op 260.00 MB/s BenchmarkRepeatLarge/1048576/16-4 30 4056194 ns/op 258.51 MB/s BenchmarkRepeatLarge/1048576/4097-4 26 4119362 ns/op 253.62 MB/s BenchmarkRepeatLarge/2097152/1-4 14 7853005 ns/op 267.05 MB/s BenchmarkRepeatLarge/2097152/16-4 14 7727171 ns/op 271.40 MB/s BenchmarkRepeatLarge/2097152/4097-4 14 7958222 ns/op 263.07 MB/s BenchmarkRepeatLarge/4194304/1-4 7 15507422 ns/op 270.47 MB/s BenchmarkRepeatLarge/4194304/16-4 7 15428569 ns/op 271.85 MB/s BenchmarkRepeatLarge/4194304/4097-4 7 15933060 ns/op 263.05 MB/s BenchmarkRepeatLarge/8388608/1-4 4 32633824 ns/op 257.05 MB/s BenchmarkRepeatLarge/8388608/16-4 4 30377408 ns/op 276.15 MB/s BenchmarkRepeatLarge/8388608/4097-4 4 33135048 ns/op 253.10 MB/s BenchmarkRepeatLarge/16777216/1-4 2 59781456 ns/op 280.64 MB/s BenchmarkRepeatLarge/16777216/16-4 2 60137228 ns/op 278.98 MB/s BenchmarkRepeatLarge/16777216/4097-4 2 60034205 ns/op 279.46 MB/s BenchmarkRepeatLarge/33554432/1-4 1 118437892 ns/op 283.31 MB/s BenchmarkRepeatLarge/33554432/16-4 1 117444140 ns/op 285.71 MB/s BenchmarkRepeatLarge/33554432/4097-4 1 117537665 ns/op 285.48 MB/s BenchmarkRepeatLarge/67108864/1-4 1 234471206 ns/op 286.21 MB/s BenchmarkRepeatLarge/67108864/16-4 1 234904811 ns/op 285.69 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 233478542 ns/op 287.43 MB/s BenchmarkRepeatLarge/134217728/1-4 1 463685023 ns/op 289.46 MB/s BenchmarkRepeatLarge/134217728/16-4 1 464016873 ns/op 289.25 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 465034434 ns/op 288.62 MB/s BenchmarkRepeatLarge/268435456/1-4 1 985884485 ns/op 272.28 MB/s BenchmarkRepeatLarge/268435456/16-4 1 912040581 ns/op 294.32 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 922491734 ns/op 290.99 MB/s BenchmarkRepeatLarge/536870912/1-4 1 1835337551 ns/op 292.52 MB/s BenchmarkRepeatLarge/536870912/16-4 1 1813336295 ns/op 296.07 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 1872804269 ns/op 286.67 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 3740783892 ns/op 287.04 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 3596338375 ns/op 298.57 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 3651108862 ns/op 294.09 MB/s BenchmarkBytesCompare/1-4 8931909 12.96 ns/op BenchmarkBytesCompare/2-4 9088608 12.31 ns/op BenchmarkBytesCompare/4-4 9107025 12.31 ns/op BenchmarkBytesCompare/8-4 9684568 11.27 ns/op BenchmarkBytesCompare/16-4 9602154 11.27 ns/op BenchmarkBytesCompare/32-4 9130707 12.88 ns/op BenchmarkBytesCompare/64-4 8603138 13.92 ns/op BenchmarkBytesCompare/128-4 7439079 16.16 ns/op BenchmarkBytesCompare/256-4 5299382 22.33 ns/op BenchmarkBytesCompare/512-4 3875056 29.15 ns/op BenchmarkBytesCompare/1024-4 2415182 47.24 ns/op BenchmarkBytesCompare/2048-4 1401628 83.44 ns/op BenchmarkIndexAnyASCII/1:1-4 2329477 52.12 ns/op BenchmarkIndexAnyASCII/1:2-4 2373786 51.03 ns/op BenchmarkIndexAnyASCII/1:4-4 2363558 51.33 ns/op BenchmarkIndexAnyASCII/1:8-4 2360533 50.75 ns/op BenchmarkIndexAnyASCII/1:16-4 2371041 50.32 ns/op BenchmarkIndexAnyASCII/1:32-4 2374530 50.59 ns/op BenchmarkIndexAnyASCII/1:64-4 2361145 51.38 ns/op BenchmarkIndexAnyASCII/16:1-4 1947645 61.18 ns/op BenchmarkIndexAnyASCII/16:2-4 398947 289.1 ns/op BenchmarkIndexAnyASCII/16:4-4 410565 281.3 ns/op BenchmarkIndexAnyASCII/16:8-4 411637 284.8 ns/op BenchmarkIndexAnyASCII/16:16-4 373282 302.0 ns/op BenchmarkIndexAnyASCII/16:32-4 354070 325.9 ns/op BenchmarkIndexAnyASCII/16:64-4 306051 374.9 ns/op BenchmarkIndexAnyASCII/256:1-4 1807952 64.97 ns/op BenchmarkIndexAnyASCII/256:2-4 32995 3639 ns/op BenchmarkIndexAnyASCII/256:4-4 32947 3621 ns/op BenchmarkIndexAnyASCII/256:8-4 32796 3628 ns/op BenchmarkIndexAnyASCII/256:16-4 32851 3671 ns/op BenchmarkIndexAnyASCII/256:32-4 32592 3710 ns/op BenchmarkIndexAnyASCII/256:64-4 32235 3743 ns/op BenchmarkIndexAnyUTF8/1:1-4 2277529 52.26 ns/op BenchmarkIndexAnyUTF8/1:2-4 2305336 52.18 ns/op BenchmarkIndexAnyUTF8/1:4-4 2323233 52.19 ns/op BenchmarkIndexAnyUTF8/1:8-4 2295712 52.34 ns/op BenchmarkIndexAnyUTF8/1:16-4 2278246 51.94 ns/op BenchmarkIndexAnyUTF8/1:32-4 2346547 51.29 ns/op BenchmarkIndexAnyUTF8/1:64-4 2261907 51.95 ns/op BenchmarkIndexAnyUTF8/16:1-4 141860 834.5 ns/op BenchmarkIndexAnyUTF8/16:2-4 267824 444.8 ns/op BenchmarkIndexAnyUTF8/16:4-4 256561 446.8 ns/op BenchmarkIndexAnyUTF8/16:8-4 270812 439.2 ns/op BenchmarkIndexAnyUTF8/16:16-4 261135 450.6 ns/op BenchmarkIndexAnyUTF8/16:32-4 243945 456.8 ns/op BenchmarkIndexAnyUTF8/16:64-4 254685 461.0 ns/op BenchmarkIndexAnyUTF8/256:1-4 9781 11840 ns/op BenchmarkIndexAnyUTF8/256:2-4 19389 6183 ns/op BenchmarkIndexAnyUTF8/256:4-4 19101 6243 ns/op BenchmarkIndexAnyUTF8/256:8-4 19186 6237 ns/op BenchmarkIndexAnyUTF8/256:16-4 18854 6353 ns/op BenchmarkIndexAnyUTF8/256:32-4 18154 6513 ns/op BenchmarkIndexAnyUTF8/256:64-4 18306 6523 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2290480 52.57 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2301463 51.55 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2317803 52.26 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2309670 51.97 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2373319 51.14 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2317131 51.88 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2336642 51.72 ns/op BenchmarkLastIndexAnyASCII/16:1-4 323644 362.7 ns/op BenchmarkLastIndexAnyASCII/16:2-4 323932 366.1 ns/op BenchmarkLastIndexAnyASCII/16:4-4 316834 369.7 ns/op BenchmarkLastIndexAnyASCII/16:8-4 317854 369.2 ns/op BenchmarkLastIndexAnyASCII/16:16-4 302958 393.5 ns/op BenchmarkLastIndexAnyASCII/16:32-4 282199 417.0 ns/op BenchmarkLastIndexAnyASCII/16:64-4 251775 456.0 ns/op BenchmarkLastIndexAnyASCII/256:1-4 23917 5033 ns/op BenchmarkLastIndexAnyASCII/256:2-4 24027 4994 ns/op BenchmarkLastIndexAnyASCII/256:4-4 23794 4999 ns/op BenchmarkLastIndexAnyASCII/256:8-4 23724 5050 ns/op BenchmarkLastIndexAnyASCII/256:16-4 23683 5006 ns/op BenchmarkLastIndexAnyASCII/256:32-4 22964 5040 ns/op BenchmarkLastIndexAnyASCII/256:64-4 23516 5070 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2273366 52.81 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2315955 52.00 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2319840 52.12 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2318574 51.79 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2315713 51.93 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2308946 51.81 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2313844 51.58 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 225702 527.2 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 253446 440.2 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 256726 439.2 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 258904 441.8 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 256066 446.4 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 258878 457.9 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 249817 457.0 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 16248 7380 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 19268 6250 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 19278 6191 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 19258 6245 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 18622 6329 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 18049 6616 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 18303 6601 ns/op BenchmarkTrimASCII/1:1-4 2543098 47.20 ns/op BenchmarkTrimASCII/1:2-4 2124045 56.20 ns/op BenchmarkTrimASCII/1:4-4 2096442 56.62 ns/op BenchmarkTrimASCII/1:8-4 1931196 63.10 ns/op BenchmarkTrimASCII/1:16-4 1645844 74.40 ns/op BenchmarkTrimASCII/16:1-4 416496 283.7 ns/op BenchmarkTrimASCII/16:2-4 297570 373.9 ns/op BenchmarkTrimASCII/16:4-4 316534 382.7 ns/op BenchmarkTrimASCII/16:8-4 302958 375.8 ns/op BenchmarkTrimASCII/16:16-4 297165 406.8 ns/op BenchmarkTrimASCII/256:1-4 31825 3729 ns/op BenchmarkTrimASCII/256:2-4 23228 5138 ns/op BenchmarkTrimASCII/256:4-4 23022 5159 ns/op BenchmarkTrimASCII/256:8-4 23438 5128 ns/op BenchmarkTrimASCII/256:16-4 23227 5161 ns/op BenchmarkTrimASCII/4096:1-4 2006 58437 ns/op BenchmarkTrimASCII/4096:2-4 1458 80635 ns/op BenchmarkTrimASCII/4096:4-4 1473 81296 ns/op BenchmarkTrimASCII/4096:8-4 1468 81191 ns/op BenchmarkTrimASCII/4096:16-4 1465 80756 ns/op BenchmarkTrimByte-4 1436731 83.38 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 13000 9095 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 13081 9099 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 667 174239 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 1280 87895 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 2438 43821 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 4669 23370 ns/op BenchmarkCompareBytesEqual-4 9583165 12.31 ns/op BenchmarkCompareBytesToNil-4 11589241 10.30 ns/op BenchmarkCompareBytesEmpty-4 11564115 10.33 ns/op BenchmarkCompareBytesIdentical-4 11193853 10.60 ns/op BenchmarkCompareBytesSameLength-4 10546873 11.36 ns/op BenchmarkCompareBytesDifferentLength-4 10015660 12.04 ns/op BenchmarkCompareBytesBigUnaligned/offset=1-4 1386 85501 ns/op 12264.01 MB/s BenchmarkCompareBytesBigUnaligned/offset=2-4 1375 80699 ns/op 12993.85 MB/s BenchmarkCompareBytesBigUnaligned/offset=3-4 1359 86124 ns/op 12175.29 MB/s BenchmarkCompareBytesBigUnaligned/offset=4-4 1374 86496 ns/op 12122.88 MB/s BenchmarkCompareBytesBigUnaligned/offset=5-4 1398 77256 ns/op 13572.96 MB/s BenchmarkCompareBytesBigUnaligned/offset=6-4 1369 81176 ns/op 12917.44 MB/s BenchmarkCompareBytesBigUnaligned/offset=7-4 1364 85532 ns/op 12259.59 MB/s BenchmarkCompareBytesBig-4 1381 86862 ns/op 12071.92 MB/s BenchmarkCompareBytesBigIdentical-4 12106057 9.867 ns/op 106268152.72 MB/s PASS ok bytes 69.839s ##### 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 57359272 ns/op 1.74 MB/s 3612012 B/op 50 allocs/op BenchmarkDecodeNewton-4 1 218843039 ns/op 2.59 MB/s 3629856 B/op 50 allocs/op BenchmarkDecodeRand-4 6 18139776 ns/op 0.90 MB/s 3644710 B/op 51 allocs/op PASS ok compress/bzip2 1.917s goos: linux goarch: amd64 pkg: compress/flate cpu: AMD EPYC 7B12 BenchmarkDecode/Digits/Huffman/1e4-4 85 1390198 ns/op 7.19 MB/s 42571 B/op 5 allocs/op BenchmarkDecode/Digits/Huffman/1e5-4 8 13541950 ns/op 7.38 MB/s 41620 B/op 5 allocs/op BenchmarkDecode/Digits/Huffman/1e6-4 1 133165213 ns/op 7.51 MB/s 49264 B/op 9 allocs/op BenchmarkDecode/Digits/Speed/1e4-4 84 1322791 ns/op 7.56 MB/s 43652 B/op 8 allocs/op BenchmarkDecode/Digits/Speed/1e5-4 8 13439207 ns/op 7.44 MB/s 42935 B/op 11 allocs/op BenchmarkDecode/Digits/Speed/1e6-4 1 134772653 ns/op 7.42 MB/s 53024 B/op 77 allocs/op BenchmarkDecode/Digits/Default/1e4-4 81 1298628 ns/op 7.70 MB/s 42400 B/op 7 allocs/op BenchmarkDecode/Digits/Default/1e5-4 9 12450629 ns/op 8.03 MB/s 43604 B/op 13 allocs/op BenchmarkDecode/Digits/Default/1e6-4 1 126058893 ns/op 7.93 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Digits/Compression/1e4-4 88 1276927 ns/op 7.83 MB/s 42820 B/op 7 allocs/op BenchmarkDecode/Digits/Compression/1e5-4 9 12640474 ns/op 7.91 MB/s 43604 B/op 13 allocs/op BenchmarkDecode/Digits/Compression/1e6-4 1 125917344 ns/op 7.94 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Newton/Huffman/1e4-4 80 1436635 ns/op 6.96 MB/s 43094 B/op 14 allocs/op BenchmarkDecode/Newton/Huffman/1e5-4 8 14150893 ns/op 7.07 MB/s 47127 B/op 23 allocs/op BenchmarkDecode/Newton/Huffman/1e6-4 1 145247603 ns/op 6.88 MB/s 88512 B/op 165 allocs/op BenchmarkDecode/Newton/Speed/1e4-4 100 1098979 ns/op 9.10 MB/s 43783 B/op 18 allocs/op BenchmarkDecode/Newton/Speed/1e5-4 12 9409338 ns/op 10.63 MB/s 46494 B/op 31 allocs/op BenchmarkDecode/Newton/Speed/1e6-4 2 94969160 ns/op 10.53 MB/s 85328 B/op 230 allocs/op BenchmarkDecode/Newton/Default/1e4-4 118 980579 ns/op 10.20 MB/s 43416 B/op 15 allocs/op BenchmarkDecode/Newton/Default/1e5-4 15 7436971 ns/op 13.45 MB/s 45105 B/op 32 allocs/op BenchmarkDecode/Newton/Default/1e6-4 2 74990422 ns/op 13.34 MB/s 65952 B/op 160 allocs/op BenchmarkDecode/Newton/Compression/1e4-4 122 975202 ns/op 10.25 MB/s 42934 B/op 15 allocs/op BenchmarkDecode/Newton/Compression/1e5-4 14 7496124 ns/op 13.34 MB/s 44090 B/op 32 allocs/op BenchmarkDecode/Newton/Compression/1e6-4 2 73973452 ns/op 13.52 MB/s 71860 B/op 153 allocs/op BenchmarkEncode/Digits/Huffman/1e4-4 140 859443 ns/op 11.64 MB/s BenchmarkEncode/Digits/Huffman/1e5-4 13 7861982 ns/op 12.72 MB/s BenchmarkEncode/Digits/Huffman/1e6-4 2 81129186 ns/op 12.33 MB/s BenchmarkEncode/Digits/Speed/1e4-4 69 1603601 ns/op 6.24 MB/s BenchmarkEncode/Digits/Speed/1e5-4 8 14341798 ns/op 6.97 MB/s BenchmarkEncode/Digits/Speed/1e6-4 1 141495413 ns/op 7.07 MB/s BenchmarkEncode/Digits/Default/1e4-4 24 4810057 ns/op 2.08 MB/s BenchmarkEncode/Digits/Default/1e5-4 2 56004638 ns/op 1.79 MB/s BenchmarkEncode/Digits/Default/1e6-4 1 571321681 ns/op 1.75 MB/s BenchmarkEncode/Digits/Compression/1e4-4 24 5037455 ns/op 1.99 MB/s BenchmarkEncode/Digits/Compression/1e5-4 2 55810098 ns/op 1.79 MB/s BenchmarkEncode/Digits/Compression/1e6-4 1 567338621 ns/op 1.76 MB/s BenchmarkEncode/Newton/Huffman/1e4-4 100 1032061 ns/op 9.69 MB/s BenchmarkEncode/Newton/Huffman/1e5-4 13 8736636 ns/op 11.45 MB/s BenchmarkEncode/Newton/Huffman/1e6-4 2 86511960 ns/op 11.56 MB/s BenchmarkEncode/Newton/Speed/1e4-4 66 1523053 ns/op 6.57 MB/s BenchmarkEncode/Newton/Speed/1e5-4 9 11348445 ns/op 8.81 MB/s BenchmarkEncode/Newton/Speed/1e6-4 1 113745115 ns/op 8.79 MB/s BenchmarkEncode/Newton/Default/1e4-4 25 4890653 ns/op 2.04 MB/s BenchmarkEncode/Newton/Default/1e5-4 2 50553662 ns/op 1.98 MB/s BenchmarkEncode/Newton/Default/1e6-4 1 507263885 ns/op 1.97 MB/s BenchmarkEncode/Newton/Compression/1e4-4 22 4659435 ns/op 2.15 MB/s BenchmarkEncode/Newton/Compression/1e5-4 2 63775322 ns/op 1.57 MB/s BenchmarkEncode/Newton/Compression/1e6-4 1 667090637 ns/op 1.50 MB/s PASS ok compress/flate 15.340s goos: linux goarch: amd64 pkg: compress/lzw cpu: AMD EPYC 7B12 BenchmarkDecoder/1e4-4 66 1730320 ns/op 5.78 MB/s BenchmarkDecoder/1e-Reuse4-4 66 1829416 ns/op 5.47 MB/s BenchmarkDecoder/1e5-4 7 17467855 ns/op 5.72 MB/s BenchmarkDecoder/1e-Reuse5-4 6 17625569 ns/op 5.67 MB/s BenchmarkDecoder/1e6-4 1 174441751 ns/op 5.73 MB/s BenchmarkDecoder/1e-Reuse6-4 1 174386212 ns/op 5.73 MB/s BenchmarkEncoder/1e4-4 82 1486500 ns/op 6.73 MB/s BenchmarkEncoder/1e-Reuse4-4 81 1423146 ns/op 7.03 MB/s BenchmarkEncoder/1e5-4 7 15114968 ns/op 6.62 MB/s BenchmarkEncoder/1e-Reuse5-4 7 14508431 ns/op 6.89 MB/s BenchmarkEncoder/1e6-4 1 157914572 ns/op 6.33 MB/s BenchmarkEncoder/1e-Reuse6-4 1 141963163 ns/op 7.04 MB/s PASS ok compress/lzw 3.125s goos: linux goarch: amd64 pkg: container/heap cpu: AMD EPYC 7B12 BenchmarkDup-4 34 3169950 ns/op PASS ok container/heap 1.123s goos: linux goarch: amd64 pkg: context cpu: AMD EPYC 7B12 BenchmarkCommonParentCancel-4 20319 5008 ns/op BenchmarkWithTimeout/concurrency=40-4 5350 22803 ns/op BenchmarkWithTimeout/concurrency=4000-4 4876 22300 ns/op BenchmarkWithTimeout/concurrency=400000-4 5746 22326 ns/op BenchmarkCancelTree/depth=1/Root=Background-4 662019 173.2 ns/op BenchmarkCancelTree/depth=1/Root=OpenCanceler-4 21403 5770 ns/op BenchmarkCancelTree/depth=1/Root=ClosedCanceler-4 22014 4696 ns/op BenchmarkCancelTree/depth=10/Root=Background-4 4125 27175 ns/op BenchmarkCancelTree/depth=10/Root=OpenCanceler-4 3573 41602 ns/op BenchmarkCancelTree/depth=10/Root=ClosedCanceler-4 3378 30315 ns/op BenchmarkCancelTree/depth=100/Root=Background-4 360 377850 ns/op BenchmarkCancelTree/depth=100/Root=OpenCanceler-4 248 451566 ns/op BenchmarkCancelTree/depth=100/Root=ClosedCanceler-4 416 262401 ns/op BenchmarkCancelTree/depth=1000/Root=Background-4 33 3197889 ns/op BenchmarkCancelTree/depth=1000/Root=OpenCanceler-4 27 4661298 ns/op BenchmarkCancelTree/depth=1000/Root=ClosedCanceler-4 42 2652015 ns/op BenchmarkCheckCanceled/Err-4 453014 285.5 ns/op BenchmarkCheckCanceled/Done-4 1061900 112.7 ns/op BenchmarkContextCancelDone-4 641556 173.6 ns/op BenchmarkDeepValueNewGoRoutine/depth=10-4 25922 4165 ns/op BenchmarkDeepValueNewGoRoutine/depth=20-4 22111 6725 ns/op BenchmarkDeepValueNewGoRoutine/depth=30-4 21462 5885 ns/op BenchmarkDeepValueNewGoRoutine/depth=50-4 14076 7764 ns/op BenchmarkDeepValueNewGoRoutine/depth=100-4 10000 11637 ns/op BenchmarkDeepValueSameGoRoutine/depth=10-4 700581 163.9 ns/op BenchmarkDeepValueSameGoRoutine/depth=20-4 404132 295.3 ns/op BenchmarkDeepValueSameGoRoutine/depth=30-4 276879 440.4 ns/op BenchmarkDeepValueSameGoRoutine/depth=50-4 173121 680.9 ns/op BenchmarkDeepValueSameGoRoutine/depth=100-4 89492 1322 ns/op PASS ok context 9.604s goos: linux goarch: amd64 pkg: crypto/aes cpu: AMD EPYC 7B12 BenchmarkEncrypt-4 2689393 46.03 ns/op 347.59 MB/s BenchmarkDecrypt-4 2681138 44.48 ns/op 359.73 MB/s BenchmarkExpand-4 2239100 54.38 ns/op PASS ok crypto/aes 1.530s goos: linux goarch: amd64 pkg: crypto/cipher cpu: AMD EPYC 7B12 BenchmarkAESGCM/Open-128-64-4 261877 429.7 ns/op 148.94 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-64-4 564872 198.8 ns/op 322.00 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-64-4 270622 439.5 ns/op 145.62 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-64-4 571651 211.1 ns/op 303.15 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-1350-4 164368 756.7 ns/op 1784.06 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-1350-4 232216 513.9 ns/op 2626.75 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-1350-4 145506 774.4 ns/op 1743.18 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-1350-4 211166 561.2 ns/op 2405.59 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-8192-4 55401 2152 ns/op 3805.83 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-8192-4 60958 1959 ns/op 4182.52 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-8192-4 49414 2451 ns/op 3342.98 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-8192-4 54559 2201 ns/op 3722.57 MB/s 0 B/op 0 allocs/op BenchmarkAESCFBEncrypt1K-4 9495 11676 ns/op 87.27 MB/s BenchmarkAESCFBDecrypt1K-4 9788 11427 ns/op 89.17 MB/s BenchmarkAESCFBDecrypt8K-4 1244 93743 ns/op 87.33 MB/s BenchmarkAESOFB1K-4 15796 7695 ns/op 132.42 MB/s BenchmarkAESCTR1K-4 19729 6011 ns/op 169.52 MB/s BenchmarkAESCTR8K-4 2521 53368 ns/op 153.41 MB/s BenchmarkAESCBCEncrypt1K-4 18489 6591 ns/op 155.37 MB/s BenchmarkAESCBCDecrypt1K-4 27780 4423 ns/op 231.54 MB/s PASS ok crypto/cipher 3.827s goos: linux goarch: amd64 pkg: crypto/des cpu: AMD EPYC 7B12 BenchmarkEncrypt-4 108793 1080 ns/op 7.41 MB/s BenchmarkDecrypt-4 99520 1186 ns/op 6.74 MB/s BenchmarkTDESEncrypt-4 40748 2932 ns/op 2.73 MB/s BenchmarkTDESDecrypt-4 40206 3178 ns/op 2.52 MB/s PASS ok crypto/des 1.584s goos: linux goarch: amd64 pkg: crypto/ecdh cpu: AMD EPYC 7B12 BenchmarkECDH/P256-4 1304 88947 ns/op 760 B/op 12 allocs/op BenchmarkECDH/P384-4 21 5248031 ns/op 1088 B/op 21 allocs/op BenchmarkECDH/P521-4 7 14529606 ns/op 1537 B/op 21 allocs/op BenchmarkECDH/X25519-4 132 906948 ns/op 375 B/op 9 allocs/op PASS ok crypto/ecdh 1.649s goos: linux goarch: amd64 pkg: crypto/ecdsa cpu: AMD EPYC 7B12 BenchmarkSign/P256-4 2407 46625 ns/op 2511 B/op 33 allocs/op BenchmarkSign/P384-4 46 2694607 ns/op 2680 B/op 34 allocs/op BenchmarkSign/P521-4 19 6685070 ns/op 3061 B/op 35 allocs/op BenchmarkVerify/P256-4 1263 93362 ns/op 432 B/op 8 allocs/op BenchmarkVerify/P384-4 19 6721796 ns/op 592 B/op 12 allocs/op BenchmarkVerify/P521-4 7 16752366 ns/op 912 B/op 12 allocs/op BenchmarkGenerateKey/P256-4 5404 20085 ns/op 895 B/op 14 allocs/op BenchmarkGenerateKey/P384-4 86 1389530 ns/op 1094 B/op 17 allocs/op BenchmarkGenerateKey/P521-4 33 3507672 ns/op 1415 B/op 17 allocs/op PASS ok crypto/ecdsa 2.437s goos: linux goarch: amd64 pkg: crypto/ed25519 cpu: AMD EPYC 7B12 BenchmarkKeyGeneration-4 458 252155 ns/op BenchmarkNewKeyFromSeed-4 466 264987 ns/op BenchmarkSigning-4 445 280155 ns/op BenchmarkVerification-4 289 413101 ns/op PASS ok crypto/ed25519 1.614s goos: linux goarch: amd64 pkg: crypto/elliptic cpu: AMD EPYC 7B12 BenchmarkScalarBaseMult/P256-4 6762 16935 ns/op 368 B/op 6 allocs/op BenchmarkScalarBaseMult/P224-4 217 551598 ns/op 376 B/op 9 allocs/op BenchmarkScalarBaseMult/P384-4 80 1450965 ns/op 504 B/op 9 allocs/op BenchmarkScalarBaseMult/P521-4 28 3706289 ns/op 696 B/op 9 allocs/op BenchmarkScalarMult/P256-4 1826 65256 ns/op 448 B/op 7 allocs/op BenchmarkScalarMult/P224-4 84 1394721 ns/op 440 B/op 10 allocs/op BenchmarkScalarMult/P384-4 30 3930724 ns/op 616 B/op 10 allocs/op BenchmarkScalarMult/P521-4 10 11144323 ns/op 840 B/op 10 allocs/op BenchmarkMarshalUnmarshal/P256/Uncompressed-4 18429 6379 ns/op 544 B/op 8 allocs/op BenchmarkMarshalUnmarshal/P256/Compressed-4 8450 14092 ns/op 592 B/op 9 allocs/op BenchmarkMarshalUnmarshal/P224/Uncompressed-4 5586 19796 ns/op 560 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P224/Compressed-4 100 1001933 ns/op 592 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P384/Uncompressed-4 3622 31403 ns/op 784 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P384/Compressed-4 439 284911 ns/op 848 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P521/Uncompressed-4 2368 49937 ns/op 1104 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P521/Compressed-4 133 913982 ns/op 1184 B/op 15 allocs/op PASS ok crypto/elliptic 3.510s goos: linux goarch: amd64 pkg: crypto/hmac cpu: AMD EPYC 7B12 BenchmarkHMACSHA256_1K-4 32570 3693 ns/op 277.32 MB/s BenchmarkHMACSHA256_32-4 38317 3134 ns/op 10.21 MB/s BenchmarkNewWriteSum-4 20220 5785 ns/op 5.53 MB/s PASS ok crypto/hmac 1.509s goos: linux goarch: amd64 pkg: crypto/internal/bigmod cpu: AMD EPYC 7B12 BenchmarkModAdd-4 68568 1712 ns/op BenchmarkModSub-4 70184 1699 ns/op BenchmarkMontgomeryRepr-4 38245 3130 ns/op BenchmarkMontgomeryMul-4 38326 3142 ns/op BenchmarkModMul-4 18712 6557 ns/op BenchmarkExpBig-4 20 5173037 ns/op BenchmarkExp-4 8 13978103 ns/op PASS ok crypto/internal/bigmod 2.076s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519 cpu: AMD EPYC 7B12 BenchmarkEncodingDecoding-4 4528 24189 ns/op BenchmarkScalarBaseMult-4 482 251216 ns/op BenchmarkScalarMult-4 206 562247 ns/op BenchmarkVarTimeDoubleScalarBaseMult-4 291 426886 ns/op PASS ok crypto/internal/edwards25519 1.606s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519/field cpu: AMD EPYC 7B12 BenchmarkAdd-4 638695 173.2 ns/op BenchmarkMultiply-4 5926353 20.20 ns/op BenchmarkSquare-4 8063361 15.03 ns/op BenchmarkInvert-4 28612 4197 ns/op BenchmarkMult32-4 1782242 67.59 ns/op PASS ok crypto/internal/edwards25519/field 1.763s goos: linux goarch: amd64 pkg: crypto/internal/nistec cpu: AMD EPYC 7B12 BenchmarkScalarMult/P224-4 80 1333827 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P256-4 2136 56514 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P384-4 30 3707334 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P521-4 10 11185365 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P224-4 240 530059 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P256-4 9902 11102 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P384-4 90 1361410 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P521-4 36 3189619 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec 2.061s goos: linux goarch: amd64 pkg: crypto/internal/nistec/fiat cpu: AMD EPYC 7B12 BenchmarkMul/P224-4 778603 141.1 ns/op 0 B/op 0 allocs/op BenchmarkMul/P384-4 408954 289.5 ns/op 0 B/op 0 allocs/op BenchmarkMul/P521-4 156153 766.1 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P224-4 795919 140.7 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P384-4 416893 272.3 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P521-4 142582 754.3 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec/fiat 1.730s goos: linux goarch: amd64 pkg: crypto/md5 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes-4 165441 711.7 ns/op 11.24 MB/s BenchmarkHash64-4 178588 653.6 ns/op 97.92 MB/s BenchmarkHash128-4 161167 746.0 ns/op 171.58 MB/s BenchmarkHash256-4 128059 933.3 ns/op 274.29 MB/s BenchmarkHash512-4 91465 1317 ns/op 388.76 MB/s BenchmarkHash1K-4 57979 2065 ns/op 495.98 MB/s BenchmarkHash8K-4 9050 12736 ns/op 643.20 MB/s BenchmarkHash1M-4 75 1559061 ns/op 672.57 MB/s BenchmarkHash8M-4 8 12527949 ns/op 669.59 MB/s BenchmarkHash8BytesUnaligned-4 159150 709.8 ns/op 11.27 MB/s BenchmarkHash1KUnaligned-4 58041 2078 ns/op 492.86 MB/s BenchmarkHash8KUnaligned-4 9066 12719 ns/op 644.07 MB/s PASS ok crypto/md5 2.536s goos: linux goarch: amd64 pkg: crypto/rand cpu: AMD EPYC 7B12 BenchmarkPrime-4 1 551776460 ns/op PASS ok crypto/rand 1.565s goos: linux goarch: amd64 pkg: crypto/rc4 cpu: AMD EPYC 7B12 BenchmarkRC4_128-4 18082 6611 ns/op 19.36 MB/s BenchmarkRC4_1K-4 2217 52449 ns/op 19.52 MB/s BenchmarkRC4_8K-4 286 413663 ns/op 19.57 MB/s PASS ok crypto/rc4 1.483s goos: linux goarch: amd64 pkg: crypto/rsa cpu: AMD EPYC 7B12 BenchmarkDecryptPKCS1v15/2048-4 14 7825505 ns/op BenchmarkDecryptPKCS1v15/3072-4 6 18680039 ns/op BenchmarkDecryptPKCS1v15/4096-4 4 32003628 ns/op BenchmarkEncryptPKCS1v15/2048-4 46 2514302 ns/op BenchmarkDecryptOAEP/2048-4 14 8509980 ns/op BenchmarkEncryptOAEP/2048-4 45 2329686 ns/op BenchmarkSignPKCS1v15/2048-4 14 8199652 ns/op BenchmarkVerifyPKCS1v15/2048-4 46 2315308 ns/op BenchmarkSignPSS/2048-4 14 8109622 ns/op BenchmarkVerifyPSS/2048-4 50 2327407 ns/op PASS ok crypto/rsa 2.483s goos: linux goarch: amd64 pkg: crypto/sha1 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes/New-4 137480 816.3 ns/op 9.80 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum-4 176158 662.9 ns/op 12.07 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/New-4 102048 1157 ns/op 276.60 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/Sum-4 115981 997.9 ns/op 320.68 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 68137 1728 ns/op 592.48 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum-4 75538 1588 ns/op 644.93 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 14943 8028 ns/op 1020.43 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum-4 15243 8170 ns/op 1002.74 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha1 2.202s goos: linux goarch: amd64 pkg: crypto/sha256 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes/New-4 133545 869.1 ns/op 9.21 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum224-4 156636 752.5 ns/op 10.63 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 146394 801.3 ns/op 9.98 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 87000 1379 ns/op 742.57 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum224-4 96765 1231 ns/op 831.84 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 93489 1286 ns/op 796.04 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 20247 5923 ns/op 1382.97 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum224-4 20863 5762 ns/op 1421.74 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 20676 5796 ns/op 1413.35 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 82176 1369 ns/op 5.84 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum384-4 104788 1165 ns/op 6.86 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum512-4 93040 1313 ns/op 6.09 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 43135 2766 ns/op 370.22 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum384-4 48704 2471 ns/op 414.37 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum512-4 46003 2608 ns/op 392.69 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 8881 13332 ns/op 614.48 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum384-4 9114 12995 ns/op 630.41 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum512-4 9048 13158 ns/op 622.57 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha512 2.221s goos: linux goarch: amd64 pkg: crypto/subtle cpu: AMD EPYC 7B12 BenchmarkConstantTimeByteEq-4 22201828 4.986 ns/op BenchmarkConstantTimeEq-4 22379708 4.995 ns/op BenchmarkConstantTimeLessOrEq-4 22620514 4.979 ns/op BenchmarkXORBytes/8Bytes-4 5952986 20.46 ns/op 390.98 MB/s BenchmarkXORBytes/128Bytes-4 5357642 22.19 ns/op 5768.19 MB/s BenchmarkXORBytes/2048Bytes-4 1746846 68.13 ns/op 30057.98 MB/s BenchmarkXORBytes/32768Bytes-4 118072 1017 ns/op 32231.83 MB/s PASS ok crypto/subtle 1.978s ##### 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 166 788354 ns/op BenchmarkCertCache/1-4 157 789151 ns/op BenchmarkCertCache/2-4 138 736886 ns/op BenchmarkCertCache/3-4 162 764393 ns/op BenchmarkHandshakeServer/RSA-4 15 7503132 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv13-4 14 8135278 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv12-4 15 7567590 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv13-4 102 1209150 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv12-4 153 789625 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv13-4 44 2432022 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv12-4 57 2028969 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv13-4 4 32978183 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12-4 4 31731188 ns/op BenchmarkThroughput/MaxPacket/1MB/TLSv12-4 4 25217924 ns/op 41.58 MB/s BenchmarkThroughput/MaxPacket/1MB/TLSv13-4 4 32851664 ns/op 31.92 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv12-4 3 38089910 ns/op 55.06 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv13-4 2 57129347 ns/op 36.71 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv12-4 2 64508430 ns/op 65.02 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv13-4 2 91005817 ns/op 46.09 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv12-4 1 125800195 ns/op 66.68 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv13-4 1 176755531 ns/op 47.46 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv12-4 1 235218473 ns/op 71.33 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv13-4 1 335158971 ns/op 50.06 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv12-4 1 439465823 ns/op 76.35 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv13-4 1 618901558 ns/op 54.22 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv12-4 1 902323532 ns/op 74.37 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv13-4 1 1280073726 ns/op 52.43 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv12-4 4 26048581 ns/op 40.25 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv13-4 3 33567751 ns/op 31.24 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv12-4 3 38058422 ns/op 55.10 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv13-4 2 51421356 ns/op 40.78 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv12-4 2 64932719 ns/op 64.59 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv13-4 2 93551122 ns/op 44.83 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv12-4 1 117081555 ns/op 71.65 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv13-4 1 165873229 ns/op 50.57 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv12-4 1 242812000 ns/op 69.10 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv13-4 1 336988798 ns/op 49.79 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv12-4 1 460976628 ns/op 72.79 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv13-4 1 660312423 ns/op 50.82 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv12-4 1 908884224 ns/op 73.84 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv13-4 1 1312261005 ns/op 51.14 MB/s BenchmarkLatency/MaxPacket/200kbps/TLSv12-4 1 707899020 ns/op BenchmarkLatency/MaxPacket/200kbps/TLSv13-4 1 710374232 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv12-4 1 292161855 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv13-4 1 292170634 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv12-4 1 153682052 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv13-4 1 153337772 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv12-4 2 84569470 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv13-4 2 84236642 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv12-4 3 43245485 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv13-4 3 42449567 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv12-4 1 147184224 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv13-4 1 149271532 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv12-4 2 67740602 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv13-4 2 67393724 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv12-4 3 42180249 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv13-4 3 41712167 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv12-4 4 28916005 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv13-4 4 28042041 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv12-4 5 20673497 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv13-4 6 19703424 ns/op PASS ok crypto/tls 20.506s ##### 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 10344020 ns/op BenchmarkCreateCertificate/ECDSA_P256-4 488 238606 ns/op BenchmarkParseCertificate/ecdsa_leaf-4 1624 71903 ns/op 12099 B/op 164 allocs/op BenchmarkParseCertificate/rsa_leaf-4 1471 77331 ns/op 13507 B/op 187 allocs/op PASS ok crypto/x509 1.978s goos: linux goarch: amd64 pkg: database/sql cpu: AMD EPYC 7B12 BenchmarkConcurrentDBExec-4 40 2568104 ns/op 280680 B/op 1640 allocs/op BenchmarkConcurrentStmtQuery-4 46 2708549 ns/op 261470 B/op 2015 allocs/op BenchmarkConcurrentStmtExec-4 61 1777341 ns/op 216437 B/op 640 allocs/op BenchmarkConcurrentTxQuery-4 52 2315480 ns/op 274532 B/op 2153 allocs/op BenchmarkConcurrentTxExec-4 87 1459428 ns/op 87881 B/op 1554 allocs/op BenchmarkConcurrentTxStmtQuery-4 45 2468520 ns/op 105988 B/op 2120 allocs/op BenchmarkConcurrentTxStmtExec-4 151 769348 ns/op 40089 B/op 381 allocs/op BenchmarkConcurrentRandom-4 54 2244697 ns/op 228084 B/op 1825 allocs/op BenchmarkManyConcurrentQueries-4 3102 35572 ns/op 3979 B/op 20 allocs/op BenchmarkGrabConn-4 314155 392.2 ns/op 0 B/op 0 allocs/op PASS ok database/sql 2.589s goos: linux goarch: amd64 pkg: debug/gosym cpu: AMD EPYC 7B12 Benchmark115/NewLineTable-4 371487 303.1 ns/op 384 B/op 3 allocs/op Benchmark115/NewTable-4 134 890647 ns/op 188234 B/op 13 allocs/op Benchmark115/LineToPC-4 111 1124823 ns/op 0 B/op 0 allocs/op Benchmark115/PCToLine-4 25695 4667 ns/op 0 B/op 0 allocs/op PASS ok debug/gosym 1.836s goos: linux goarch: amd64 pkg: encoding/asn1 cpu: AMD EPYC 7B12 BenchmarkObjectIdentifierString-4 88070 1400 ns/op BenchmarkMarshal-4 1063 109697 ns/op 9528 B/op 363 allocs/op BenchmarkUnmarshal-4 3495 30679 ns/op 784 B/op 43 allocs/op PASS ok encoding/asn1 1.395s goos: linux goarch: amd64 pkg: encoding/base32 cpu: AMD EPYC 7B12 BenchmarkEncode-4 387 296185 ns/op 27.66 MB/s BenchmarkEncodeToString-4 372 316803 ns/op 25.86 MB/s BenchmarkDecode-4 217 565685 ns/op 23.18 MB/s BenchmarkDecodeString-4 219 544209 ns/op 24.09 MB/s PASS ok encoding/base32 1.668s goos: linux goarch: amd64 pkg: encoding/base64 cpu: AMD EPYC 7B12 BenchmarkEncodeToString-4 464 220454 ns/op 37.16 MB/s BenchmarkDecodeString/2-4 434566 249.9 ns/op 16.01 MB/s BenchmarkDecodeString/4-4 329527 339.0 ns/op 23.60 MB/s BenchmarkDecodeString/8-4 280459 415.8 ns/op 28.86 MB/s BenchmarkDecodeString/64-4 53750 2265 ns/op 38.85 MB/s BenchmarkDecodeString/8192-4 469 253393 ns/op 43.11 MB/s BenchmarkNewEncoding-4 114795 1001 ns/op 255.71 MB/s PASS ok encoding/base64 1.920s goos: linux goarch: amd64 pkg: encoding/binary cpu: AMD EPYC 7B12 BenchmarkReadSlice1000Int32s-4 1959 58144 ns/op 68.80 MB/s BenchmarkReadStruct-4 23797 5051 ns/op 14.85 MB/s BenchmarkWriteStruct-4 22816 5185 ns/op 14.47 MB/s BenchmarkReadInts-4 75550 1641 ns/op 18.28 MB/s BenchmarkWriteInts-4 68224 1766 ns/op 16.99 MB/s BenchmarkWriteSlice1000Int32s-4 1821 60721 ns/op 65.87 MB/s BenchmarkPutUint16-4 4310074 26.17 ns/op 76.42 MB/s BenchmarkAppendUint16-4 4353991 27.31 ns/op 73.25 MB/s BenchmarkPutUint32-4 3152979 38.06 ns/op 105.09 MB/s BenchmarkAppendUint32-4 3066998 39.05 ns/op 102.43 MB/s BenchmarkPutUint64-4 1614186 75.55 ns/op 105.88 MB/s BenchmarkAppendUint64-4 1557825 76.72 ns/op 104.28 MB/s BenchmarkLittleEndianPutUint16-4 4450491 26.20 ns/op 76.35 MB/s BenchmarkLittleEndianAppendUint16-4 4272828 27.72 ns/op 72.16 MB/s BenchmarkLittleEndianPutUint32-4 3145071 37.39 ns/op 106.97 MB/s BenchmarkLittleEndianAppendUint32-4 3102962 37.49 ns/op 106.68 MB/s BenchmarkLittleEndianPutUint64-4 1582196 76.34 ns/op 104.80 MB/s BenchmarkLittleEndianAppendUint64-4 1540465 75.86 ns/op 105.46 MB/s BenchmarkReadFloats-4 250190 483.5 ns/op 24.82 MB/s BenchmarkWriteFloats-4 229346 512.5 ns/op 23.42 MB/s BenchmarkReadSlice1000Float32s-4 1521 70231 ns/op 56.96 MB/s BenchmarkWriteSlice1000Float32s-4 1668 69930 ns/op 57.20 MB/s BenchmarkReadSlice1000Uint8s-4 120687 948.9 ns/op 1053.88 MB/s BenchmarkWriteSlice1000Uint8s-4 166729 691.1 ns/op 1446.89 MB/s BenchmarkPutUvarint32-4 1000000 115.3 ns/op 34.69 MB/s BenchmarkPutUvarint64-4 288015 404.3 ns/op 19.79 MB/s PASS ok encoding/binary 4.908s goos: linux goarch: amd64 pkg: encoding/csv cpu: AMD EPYC 7B12 BenchmarkRead-4 10008 11808 ns/op 736 B/op 16 allocs/op BenchmarkReadWithFieldsPerRecord-4 10194 11817 ns/op 736 B/op 16 allocs/op BenchmarkReadWithoutFieldsPerRecord-4 9033 11549 ns/op 736 B/op 16 allocs/op BenchmarkReadLargeFields-4 6216 19152 ns/op 3937 B/op 24 allocs/op BenchmarkReadReuseRecord-4 11161 10744 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithFieldsPerRecord-4 10000 10685 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithoutFieldsPerRecord-4 9901 10700 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordLargeFields-4 6403 18098 ns/op 2977 B/op 12 allocs/op BenchmarkWrite-4 17533 6729 ns/op PASS ok encoding/csv 2.524s goos: linux goarch: amd64 pkg: encoding/gob cpu: AMD EPYC 7B12 BenchmarkEndToEndPipe-4 14504 7865 ns/op 1812 B/op 2 allocs/op BenchmarkEndToEndByteBuffer-4 19320 5561 ns/op 1811 B/op 2 allocs/op BenchmarkEndToEndSliceByteBuffer-4 310 384622 ns/op 16689 B/op 330 allocs/op BenchmarkEncodeComplex128Slice-4 1017 111504 ns/op 482 B/op 0 allocs/op BenchmarkEncodeFloat64Slice-4 2090 53977 ns/op 41 B/op 0 allocs/op BenchmarkEncodeInt32Slice-4 2082 57954 ns/op 42 B/op 0 allocs/op BenchmarkEncodeStringSlice-4 2593 42462 ns/op 149 B/op 0 allocs/op BenchmarkEncodeInterfaceSlice-4 61 1907681 ns/op 34889 B/op 250 allocs/op BenchmarkDecodeComplex128Slice-4 916 141676 ns/op 25192 B/op 169 allocs/op BenchmarkDecodeFloat64Slice-4 1786 72326 ns/op 10787 B/op 169 allocs/op BenchmarkDecodeInt32Slice-4 1694 60294 ns/op 9755 B/op 169 allocs/op BenchmarkDecodeStringSlice-4 1239 97201 ns/op 39110 B/op 1169 allocs/op BenchmarkDecodeStringsSlice-4 350 294583 ns/op 66183 B/op 2199 allocs/op BenchmarkDecodeBytesSlice-4 886 136674 ns/op 23497 B/op 182 allocs/op BenchmarkDecodeInterfaceSlice-4 124 886754 ns/op 82888 B/op 3178 allocs/op BenchmarkDecodeMap-4 100 1104372 ns/op 54132 B/op 181 allocs/op PASS ok encoding/gob 3.467s goos: linux goarch: amd64 pkg: encoding/hex cpu: AMD EPYC 7B12 BenchmarkEncode/256-4 20275 5942 ns/op 43.08 MB/s BenchmarkEncode/1024-4 4773 23899 ns/op 42.85 MB/s BenchmarkEncode/4096-4 1237 95087 ns/op 43.08 MB/s BenchmarkEncode/16384-4 315 381469 ns/op 42.95 MB/s BenchmarkDecode/256-4 41428 3005 ns/op 85.20 MB/s BenchmarkDecode/1024-4 10192 11429 ns/op 89.59 MB/s BenchmarkDecode/4096-4 2485 46905 ns/op 87.33 MB/s BenchmarkDecode/16384-4 646 191812 ns/op 85.42 MB/s BenchmarkDump/256-4 1830 62947 ns/op 4.07 MB/s BenchmarkDump/1024-4 472 249316 ns/op 4.11 MB/s BenchmarkDump/4096-4 120 1020654 ns/op 4.01 MB/s BenchmarkDump/16384-4 28 4089173 ns/op 4.01 MB/s PASS ok encoding/hex 2.858s goos: linux goarch: amd64 pkg: encoding/json cpu: AMD EPYC 7B12 BenchmarkCodeEncoder-4 1 119835704 ns/op 16.19 MB/s 8391840 B/op 59 allocs/op BenchmarkCodeEncoderError-4 2 67176561 ns/op 28.89 MB/s 4261956 B/op 50 allocs/op BenchmarkCodeMarshal-4 2 95499940 ns/op 20.32 MB/s 10330968 B/op 48 allocs/op BenchmarkCodeMarshalError-4 2 93587934 ns/op 20.73 MB/s 10331712 B/op 56 allocs/op BenchmarkMarshalBytes/32-4 30699 3923 ns/op BenchmarkMarshalBytes/256-4 7633 14393 ns/op BenchmarkMarshalBytes/4096-4 711 168994 ns/op BenchmarkMarshalBytesError/32-4 85 1408203 ns/op BenchmarkMarshalBytesError/256-4 84 1459363 ns/op BenchmarkMarshalBytesError/4096-4 73 1641907 ns/op BenchmarkCodeDecoder-4 1 312706574 ns/op 6.21 MB/s 11015840 B/op 91355 allocs/op BenchmarkUnicodeDecoder-4 49056 2451 ns/op 5.71 MB/s 40 B/op 2 allocs/op BenchmarkDecoderStream-4 65804 1804 ns/op 16 B/op 1 allocs/op BenchmarkCodeUnmarshal-4 1 270116126 ns/op 7.18 MB/s 2938152 B/op 91324 allocs/op BenchmarkCodeUnmarshalReuse-4 1 267190926 ns/op 7.26 MB/s 2938224 B/op 91327 allocs/op BenchmarkUnmarshalString-4 67812 1816 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalFloat64-4 139196 843.0 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalInt64-4 344299 343.5 ns/op 144 B/op 1 allocs/op BenchmarkIssue10335-4 70245 1639 ns/op 176 B/op 3 allocs/op BenchmarkIssue34127-4 91945 1251 ns/op 84 B/op 2 allocs/op BenchmarkUnmapped-4 24723 4413 ns/op 208 B/op 4 allocs/op BenchmarkTypeFieldsCache/MissTypes1-4 4718 26612 ns/op BenchmarkTypeFieldsCache/MissTypes10-4 1153 113873 ns/op BenchmarkTypeFieldsCache/MissTypes100-4 128 940780 ns/op BenchmarkTypeFieldsCache/MissTypes1000-4 14 9055104 ns/op BenchmarkTypeFieldsCache/HitTypes1-4 705433 171.9 ns/op BenchmarkTypeFieldsCache/HitTypes10-4 634886 172.2 ns/op BenchmarkTypeFieldsCache/HitTypes100-4 616826 168.7 ns/op BenchmarkTypeFieldsCache/HitTypes1000-4 632530 162.6 ns/op BenchmarkEncodeMarshaler-4 64702 1608 ns/op 75 B/op 1 allocs/op BenchmarkEncoderEncode-4 70287 1477 ns/op 44 B/op 0 allocs/op BenchmarkNumberIsValid-4 5892152 19.64 ns/op BenchmarkNumberIsValidRegexp-4 29379 4486 ns/op PASS ok encoding/json 7.791s goos: linux goarch: amd64 pkg: encoding/pem cpu: AMD EPYC 7B12 BenchmarkEncode-4 70 1715874 ns/op 38.19 MB/s BenchmarkDecode-4 31 3611341 ns/op 24.58 MB/s PASS ok encoding/pem 1.352s goos: linux goarch: amd64 pkg: encoding/xml cpu: AMD EPYC 7B12 BenchmarkMarshal-4 3306 31893 ns/op 6280 B/op 24 allocs/op BenchmarkUnmarshal-4 1284 88529 ns/op 8216 B/op 185 allocs/op BenchmarkHTMLAutoClose-4 5119 20416 ns/op PASS ok encoding/xml 1.444s goos: linux goarch: amd64 pkg: expvar cpu: AMD EPYC 7B12 BenchmarkIntAdd-4 595989 195.9 ns/op BenchmarkIntSet-4 475216 260.7 ns/op BenchmarkFloatAdd-4 109159 1426 ns/op BenchmarkFloatSet-4 1000000 181.5 ns/op BenchmarkStringSet-4 337071 358.5 ns/op BenchmarkMapSet-4 90043 1426 ns/op BenchmarkMapSetDifferent-4 69625 1889 ns/op BenchmarkMapSetDifferentRandom-4 381 299489 ns/op BenchmarkMapSetString-4 65862 1914 ns/op BenchmarkMapAddSame-4 34633 3353 ns/op BenchmarkMapAddDifferent-4 17284 6748 ns/op BenchmarkMapAddDifferentRandom-4 318 383028 ns/op BenchmarkMapAddSameSteadyState-4 253377 460.6 ns/op BenchmarkMapAddDifferentSteadyState-4 154185 781.9 ns/op BenchmarkRealworldExpvarUsage-4 34054 3203 ns/op PASS ok expvar 3.539s goos: linux goarch: amd64 pkg: fmt cpu: AMD EPYC 7B12 BenchmarkSprintfPadding-4 141318 863.6 ns/op BenchmarkSprintfEmpty-4 452860 264.2 ns/op BenchmarkSprintfString-4 413852 300.4 ns/op BenchmarkSprintfTruncateString-4 408799 358.5 ns/op BenchmarkSprintfTruncateBytes-4 183127 705.9 ns/op BenchmarkSprintfSlowParsingPath-4 275698 369.0 ns/op BenchmarkSprintfQuoteString-4 37430 2977 ns/op BenchmarkSprintfInt-4 333514 348.2 ns/op BenchmarkSprintfIntInt-4 215371 479.4 ns/op BenchmarkSprintfPrefixedInt-4 260944 427.2 ns/op BenchmarkSprintfFloat-4 152139 676.4 ns/op BenchmarkSprintfComplex-4 79563 1469 ns/op BenchmarkSprintfBoolean-4 314083 374.8 ns/op BenchmarkSprintfHexString-4 186620 631.9 ns/op BenchmarkSprintfHexBytes-4 91209 1296 ns/op BenchmarkSprintfBytes-4 52834 2622 ns/op BenchmarkSprintfStringer-4 105116 1303 ns/op BenchmarkSprintfStructure-4 47124 2569 ns/op BenchmarkManyArgs-4 98202 1218 ns/op BenchmarkFprintInt-4 98575 1224 ns/op BenchmarkFprintfBytes-4 112057 1093 ns/op BenchmarkFprintIntNoAlloc-4 102226 1216 ns/op BenchmarkScanInts-4 52 2190872 ns/op BenchmarkScanRecursiveInt-4 1 279418445 ns/op BenchmarkScanRecursiveIntReaderWrapper-4 1 289652954 ns/op PASS ok fmt 5.229s goos: linux goarch: amd64 pkg: go/build cpu: AMD EPYC 7B12 BenchmarkImportVendor-4 1039 104932 ns/op PASS ok go/build 1.137s goos: linux goarch: amd64 pkg: go/constant cpu: AMD EPYC 7B12 BenchmarkStringAdd/1-4 66350 1610 ns/op 160 B/op 2 allocs/op BenchmarkStringAdd/4-4 21361 5540 ns/op 832 B/op 9 allocs/op BenchmarkStringAdd/16-4 6372 19420 ns/op 3168 B/op 23 allocs/op BenchmarkStringAdd/64-4 1743 75170 ns/op 11744 B/op 73 allocs/op BenchmarkStringAdd/256-4 388 298900 ns/op 47840 B/op 267 allocs/op BenchmarkStringAdd/1024-4 100 1355470 ns/op 206176 B/op 1038 allocs/op BenchmarkStringAdd/4096-4 22 5241247 ns/op 865632 B/op 4114 allocs/op BenchmarkStringAdd/16384-4 5 21183479 ns/op 3634528 B/op 16407 allocs/op BenchmarkStringAdd/65536-4 2 87558386 ns/op 15258976 B/op 65565 allocs/op PASS ok go/constant 2.590s goos: linux goarch: amd64 pkg: go/format cpu: AMD EPYC 7B12 BenchmarkFormat/array1-10000-4 1 190043970 ns/op 0.34 MB/s 46457952 B/op 48928 allocs/op PASS ok go/format 1.219s goos: linux goarch: amd64 pkg: go/parser cpu: AMD EPYC 7B12 BenchmarkParse-4 8 13971028 ns/op 3.86 MB/s BenchmarkParseOnly-4 9 12752736 ns/op 4.22 MB/s BenchmarkResolve-4 74 1619466 ns/op 33.26 MB/s PASS ok go/parser 2.387s goos: linux goarch: amd64 pkg: go/printer cpu: AMD EPYC 7B12 BenchmarkPrintFile-4 1 101103054 ns/op 0.51 MB/s 5068376 B/op 27608 allocs/op BenchmarkPrintDecl-4 1135 98018 ns/op 0.33 MB/s 17215 B/op 51 allocs/op PASS ok go/printer 1.237s goos: linux goarch: amd64 pkg: go/scanner cpu: AMD EPYC 7B12 BenchmarkScan-4 392 304507 ns/op BenchmarkScanFiles/go/types/expr.go-4 20 5990458 ns/op 8.28 MB/s BenchmarkScanFiles/go/parser/parser.go-4 13 8974196 ns/op 8.07 MB/s BenchmarkScanFiles/net/http/server.go-4 8 13352157 ns/op 8.49 MB/s BenchmarkScanFiles/go/scanner/errors.go-4 306 394046 ns/op 7.81 MB/s PASS ok go/scanner 1.704s goos: linux goarch: amd64 pkg: go/token cpu: AMD EPYC 7B12 BenchmarkSearchInts-4 1684644 70.97 ns/op PASS ok go/token 1.205s ##### 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 133 922661 ns/op BenchmarkNamed/Underlying/nongeneric-4 716326 145.6 ns/op BenchmarkNamed/Underlying/generic-4 811012 141.7 ns/op BenchmarkNamed/Underlying/src_instance-4 807274 145.0 ns/op BenchmarkNamed/Underlying/user_instance-4 797779 141.5 ns/op BenchmarkNamed/NewMethodSet/nongeneric-4 20893 5567 ns/op BenchmarkNamed/NewMethodSet/generic-4 21349 5423 ns/op BenchmarkNamed/NewMethodSet/src_instance-4 19768 5630 ns/op BenchmarkNamed/NewMethodSet/user_instance-4 21681 5363 ns/op BenchmarkCheck/http/funcbodies/info-4 1 610403829 ns/op 50055 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 425243163 ns/op 71847 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 242677669 ns/op 125876 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 215292282 ns/op 141851 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 455947382 ns/op 11347 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 1 116592261 ns/op 44378 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 2 67702682 ns/op 76427 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 2 65459352 ns/op 79050 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 159480757 ns/op 13583 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 2 64876280 ns/op 33386 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 3 46796418 ns/op 46289 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 3 46821467 ns/op 46259 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1206018793 ns/op 54025 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 629213797 ns/op 103542 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 187623805 ns/op 347160 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 123440113 ns/op 527482 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 1990926378 ns/op 1003 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 97466020 ns/op 20481 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 2 79144652 ns/op 25223 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 2 79399992 ns/op 25141 lines/s PASS ok go/types 20.717s ##### 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 16107 7507 ns/op 136.41 MB/s PASS ok hash/adler32 1.210s goos: linux goarch: amd64 pkg: hash/crc32 cpu: AMD EPYC 7B12 BenchmarkCRC32/poly=IEEE/size=15/align=0-4 318158 363.7 ns/op 41.24 MB/s BenchmarkCRC32/poly=IEEE/size=15/align=1-4 327036 357.5 ns/op 41.95 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=0-4 170271 694.9 ns/op 57.57 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=1-4 184291 655.1 ns/op 61.06 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=0-4 593703 193.9 ns/op 2639.94 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=1-4 608670 196.3 ns/op 2608.70 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=0-4 498255 235.5 ns/op 4348.88 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=1-4 517365 237.3 ns/op 4314.94 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=0-4 255348 469.0 ns/op 8733.66 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=1-4 257107 470.6 ns/op 8704.66 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=0-4 44300 2723 ns/op 12033.88 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=1-4 44323 2711 ns/op 12087.42 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=0-4 617286 178.5 ns/op 84.06 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=1-4 689979 173.0 ns/op 86.69 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=0-4 688850 176.1 ns/op 227.08 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=1-4 611433 176.9 ns/op 226.13 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=0-4 484258 254.7 ns/op 2010.27 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=1-4 448254 251.1 ns/op 2038.96 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=0-4 380923 326.2 ns/op 3139.51 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=1-4 386536 321.7 ns/op 3183.43 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=0-4 308865 387.4 ns/op 10572.28 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=1-4 305473 400.8 ns/op 10220.08 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=0-4 61536 1975 ns/op 16589.34 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=1-4 61695 1945 ns/op 16846.58 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=0-4 345535 339.5 ns/op 44.19 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=1-4 351914 333.8 ns/op 44.94 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=0-4 149550 730.2 ns/op 54.78 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=1-4 172513 666.4 ns/op 60.02 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=0-4 14378 8374 ns/op 61.14 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=1-4 14302 8429 ns/op 60.74 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=0-4 6969 19672 ns/op 52.05 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=1-4 6813 16528 ns/op 61.96 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=0-4 1514 79798 ns/op 51.33 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=1-4 1496 80065 ns/op 51.16 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=0-4 180 659872 ns/op 49.66 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=1-4 181 652507 ns/op 50.22 MB/s PASS ok hash/crc32 5.887s goos: linux goarch: amd64 pkg: hash/crc64 cpu: AMD EPYC 7B12 BenchmarkCrc64/ISO64KB-4 145 875810 ns/op 74.83 MB/s BenchmarkCrc64/ISO4KB-4 1724 66911 ns/op 61.22 MB/s BenchmarkCrc64/ISO1KB-4 6868 14992 ns/op 68.30 MB/s BenchmarkCrc64/ECMA64KB-4 126 923309 ns/op 70.98 MB/s BenchmarkCrc64/Random64KB-4 134 827637 ns/op 79.18 MB/s BenchmarkCrc64/Random16KB-4 588 201061 ns/op 81.49 MB/s PASS ok hash/crc64 2.016s goos: linux goarch: amd64 pkg: hash/fnv cpu: AMD EPYC 7B12 BenchmarkFnv32KB-4 14182 8452 ns/op 121.16 MB/s BenchmarkFnv32aKB-4 15962 7952 ns/op 128.76 MB/s BenchmarkFnv64KB-4 15260 7572 ns/op 135.24 MB/s BenchmarkFnv64aKB-4 15849 8657 ns/op 118.28 MB/s BenchmarkFnv128KB-4 2836 40968 ns/op 25.00 MB/s BenchmarkFnv128aKB-4 2904 41320 ns/op 24.78 MB/s PASS ok hash/fnv 2.083s goos: linux goarch: amd64 pkg: hash/maphash cpu: AMD EPYC 7B12 BenchmarkHash/n=4/Write-4 727888 154.4 ns/op 25.91 MB/s BenchmarkHash/n=4/Bytes-4 5687019 21.59 ns/op 185.24 MB/s BenchmarkHash/n=4/String-4 2304499 52.38 ns/op 76.37 MB/s BenchmarkHash/n=8/Write-4 712220 155.7 ns/op 51.38 MB/s BenchmarkHash/n=8/Bytes-4 5796560 21.60 ns/op 370.41 MB/s BenchmarkHash/n=8/String-4 2270150 50.62 ns/op 158.05 MB/s BenchmarkHash/n=16/Write-4 800378 155.2 ns/op 103.09 MB/s BenchmarkHash/n=16/Bytes-4 5578393 21.46 ns/op 745.69 MB/s BenchmarkHash/n=16/String-4 2349416 51.56 ns/op 310.32 MB/s BenchmarkHash/n=32/Write-4 644817 159.8 ns/op 200.25 MB/s BenchmarkHash/n=32/Bytes-4 5796409 20.71 ns/op 1545.10 MB/s BenchmarkHash/n=32/String-4 2282548 52.03 ns/op 615.01 MB/s BenchmarkHash/n=64/Write-4 654688 167.8 ns/op 381.45 MB/s BenchmarkHash/n=64/Bytes-4 5640744 21.86 ns/op 2927.06 MB/s BenchmarkHash/n=64/String-4 2255716 53.47 ns/op 1197.01 MB/s BenchmarkHash/n=256/Write-4 558934 218.0 ns/op 1174.25 MB/s BenchmarkHash/n=256/Bytes-4 4388234 28.20 ns/op 9078.14 MB/s BenchmarkHash/n=256/String-4 1379630 87.33 ns/op 2931.41 MB/s BenchmarkHash/n=320/Write-4 526839 214.5 ns/op 1491.66 MB/s BenchmarkHash/n=320/Bytes-4 3697669 32.03 ns/op 9991.25 MB/s BenchmarkHash/n=320/String-4 974865 122.4 ns/op 2614.98 MB/s BenchmarkHash/n=1024/Write-4 346334 305.7 ns/op 3350.07 MB/s BenchmarkHash/n=1024/Bytes-4 1381749 86.74 ns/op 11805.22 MB/s BenchmarkHash/n=1024/String-4 370436 301.2 ns/op 3399.33 MB/s BenchmarkHash/n=4096/Write-4 177897 666.7 ns/op 6144.01 MB/s BenchmarkHash/n=4096/Bytes-4 341876 346.5 ns/op 11821.04 MB/s BenchmarkHash/n=4096/String-4 106152 1148 ns/op 3568.63 MB/s BenchmarkHash/n=16384/Write-4 55388 2103 ns/op 7790.00 MB/s BenchmarkHash/n=16384/Bytes-4 86097 1394 ns/op 11752.83 MB/s BenchmarkHash/n=16384/String-4 26925 4479 ns/op 3657.89 MB/s PASS ok hash/maphash 5.445s goos: linux goarch: amd64 pkg: html cpu: AMD EPYC 7B12 BenchmarkEscape-4 1322 86568 ns/op BenchmarkEscapeNone-4 145032 807.4 ns/op BenchmarkUnescape-4 1200 98805 ns/op BenchmarkUnescapeNone-4 732376 147.4 ns/op BenchmarkUnescapeSparse-4 16500 7221 ns/op BenchmarkUnescapeDense-4 1591 69178 ns/op PASS ok html 1.823s goos: linux goarch: amd64 pkg: html/template cpu: AMD EPYC 7B12 BenchmarkCSSEscaper-4 13602 8879 ns/op BenchmarkCSSEscaperNoSpecials-4 64833 1998 ns/op BenchmarkDecodeCSS-4 41862 2867 ns/op BenchmarkDecodeCSSNoSpecials-4 5696085 20.47 ns/op BenchmarkCSSValueFilter-4 162092 723.9 ns/op BenchmarkCSSValueFilterOk-4 119520 1013 ns/op BenchmarkEscapedExecute-4 5679 18264 ns/op BenchmarkHTMLNospaceEscaper-4 16557 7342 ns/op BenchmarkHTMLNospaceEscaperNoSpecials-4 90832 1305 ns/op BenchmarkStripTags-4 30212 3810 ns/op BenchmarkStripTagsNoSpecials-4 442636 264.5 ns/op BenchmarkJSValEscaperWithNum-4 33529 3588 ns/op BenchmarkJSValEscaperWithStr-4 7155 14506 ns/op BenchmarkJSValEscaperWithStrNoSpecials-4 27075 4615 ns/op BenchmarkJSValEscaperWithObj-4 6979 17057 ns/op BenchmarkJSValEscaperWithObjNoSpecials-4 18528 6239 ns/op BenchmarkJSStrEscaperNoSpecials-4 85044 1420 ns/op BenchmarkJSStrEscaper-4 17251 7011 ns/op BenchmarkJSRegexpEscaperNoSpecials-4 78145 1524 ns/op BenchmarkJSRegexpEscaper-4 16353 7576 ns/op BenchmarkTemplateSpecialTags-4 150 817450 ns/op BenchmarkURLEscaper-4 5298 19058 ns/op BenchmarkURLEscaperNoSpecials-4 264608 475.6 ns/op BenchmarkURLNormalizer-4 7930 14410 ns/op BenchmarkURLNormalizerNoSpecials-4 241489 507.8 ns/op BenchmarkSrcsetFilter-4 26160 4655 ns/op BenchmarkSrcsetFilterNoSpecials-4 153230 763.5 ns/op PASS ok html/template 5.173s goos: linux goarch: amd64 pkg: image cpu: AMD EPYC 7B12 BenchmarkAt/rgba-4 861228 132.9 ns/op 16 B/op 1 allocs/op BenchmarkAt/rgba64-4 650864 178.4 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba-4 956815 133.3 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba64-4 680167 181.0 ns/op 16 B/op 1 allocs/op BenchmarkAt/alpha-4 2396368 49.89 ns/op 0 B/op 0 allocs/op BenchmarkAt/alpha16-4 1612915 81.42 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray-4 2402254 50.63 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray16-4 1643138 74.40 ns/op 0 B/op 0 allocs/op BenchmarkAt/paletted-4 1882916 63.39 ns/op 0 B/op 0 allocs/op BenchmarkSet/rgba-4 632150 190.3 ns/op 16 B/op 1 allocs/op BenchmarkSet/rgba64-4 523735 221.6 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba-4 627769 191.2 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba64-4 477225 230.7 ns/op 16 B/op 1 allocs/op BenchmarkSet/alpha-4 1000000 112.1 ns/op 0 B/op 0 allocs/op BenchmarkSet/alpha16-4 680827 158.7 ns/op 16 B/op 1 allocs/op BenchmarkSet/gray-4 1229605 97.42 ns/op 0 B/op 0 allocs/op BenchmarkSet/gray16-4 770970 160.5 ns/op 16 B/op 1 allocs/op BenchmarkSet/paletted-4 557064 203.6 ns/op 0 B/op 0 allocs/op BenchmarkRGBAAt-4 1817548 65.75 ns/op BenchmarkRGBASetRGBA-4 1777698 68.14 ns/op BenchmarkRGBA64At-4 1000000 103.7 ns/op BenchmarkRGBA64SetRGBA64-4 1000000 105.8 ns/op BenchmarkNRGBAAt-4 1694113 70.45 ns/op BenchmarkNRGBASetNRGBA-4 1778356 67.21 ns/op BenchmarkNRGBA64At-4 995214 115.9 ns/op BenchmarkNRGBA64SetNRGBA64-4 1000000 106.9 ns/op BenchmarkAlphaAt-4 3226062 36.91 ns/op BenchmarkAlphaSetAlpha-4 3161110 37.85 ns/op BenchmarkAlpha16At-4 2003248 60.78 ns/op BenchmarkAlphaSetAlpha16-4 1965094 61.24 ns/op BenchmarkGrayAt-4 2823562 42.54 ns/op BenchmarkGraySetGray-4 3133615 41.65 ns/op BenchmarkGray16At-4 1992930 66.28 ns/op BenchmarkGraySetGray16-4 1847684 64.04 ns/op PASS ok image 6.351s goos: linux goarch: amd64 pkg: image/color cpu: AMD EPYC 7B12 BenchmarkYCbCrToRGB/0-4 4798038 24.61 ns/op BenchmarkYCbCrToRGB/128-4 4979938 23.66 ns/op BenchmarkYCbCrToRGB/255-4 5002360 23.67 ns/op BenchmarkRGBToYCbCr/0-4 5004394 23.68 ns/op BenchmarkRGBToYCbCr/Cb-4 4999268 23.72 ns/op BenchmarkRGBToYCbCr/Cr-4 4992471 23.70 ns/op BenchmarkYCbCrToRGBA/0-4 4045178 29.34 ns/op BenchmarkYCbCrToRGBA/128-4 3884628 30.71 ns/op BenchmarkYCbCrToRGBA/255-4 4050375 29.30 ns/op BenchmarkNYCbCrAToRGBA/0-4 3958057 29.90 ns/op BenchmarkNYCbCrAToRGBA/128-4 3954505 29.98 ns/op BenchmarkNYCbCrAToRGBA/255-4 4011164 29.61 ns/op PASS ok image/color 2.788s goos: linux goarch: amd64 pkg: image/draw cpu: AMD EPYC 7B12 BenchmarkFillOver-4 5 24060937 ns/op BenchmarkFillSrc-4 490 239960 ns/op BenchmarkCopyOver-4 9 11286577 ns/op BenchmarkCopySrc-4 669 158082 ns/op BenchmarkNRGBAOver-4 9 11663830 ns/op BenchmarkNRGBASrc-4 15 7380078 ns/op BenchmarkYCbCr-4 12 9055441 ns/op BenchmarkGray-4 25 4730287 ns/op BenchmarkCMYK-4 15 7453864 ns/op BenchmarkGlyphOver-4 28 4069466 ns/op BenchmarkRGBAMaskOver-4 5 21110745 ns/op BenchmarkGrayMaskOver-4 7 16175260 ns/op BenchmarkRGBA64ImageMaskOver-4 4 25111881 ns/op BenchmarkRGBA-4 6 17200046 ns/op BenchmarkPalettedFill-4 1372 86403 ns/op BenchmarkPalettedRGBA-4 6 17877924 ns/op BenchmarkGenericOver-4 3 37509244 ns/op BenchmarkGenericMaskOver-4 7 15884832 ns/op BenchmarkGenericSrc-4 4 25320134 ns/op BenchmarkGenericMaskSrc-4 5 21426907 ns/op PASS ok image/draw 5.638s goos: linux goarch: amd64 pkg: image/gif cpu: AMD EPYC 7B12 BenchmarkDecode-4 32 3400488 ns/op 4.54 MB/s 47848 B/op 267 allocs/op BenchmarkEncodeRandomPaletted-4 2 84452125 ns/op 3.64 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRandomRGBA-4 1 2119212269 ns/op 0.58 MB/s 417248 B/op 13 allocs/op BenchmarkEncodeRealisticPaletted-4 79 1409292 ns/op 10.96 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRealisticRGBA-4 1 105165834 ns/op 0.59 MB/s 105952 B/op 13 allocs/op PASS ok image/gif 4.128s goos: linux goarch: amd64 pkg: image/jpeg cpu: AMD EPYC 7B12 BenchmarkFDCT-4 5506 19516 ns/op BenchmarkIDCT-4 5820 17879 ns/op BenchmarkDecodeBaseline-4 13 8754108 ns/op 7.06 MB/s 63024 B/op 5 allocs/op BenchmarkDecodeProgressive-4 9 11964282 ns/op 5.17 MB/s 259712 B/op 13 allocs/op BenchmarkEncodeRGBA-4 1 108741543 ns/op 11.30 MB/s 4400 B/op 4 allocs/op BenchmarkEncodeYCbCr-4 1 136295282 ns/op 6.76 MB/s 4400 B/op 4 allocs/op PASS ok image/jpeg 1.991s goos: linux goarch: amd64 pkg: image/png cpu: AMD EPYC 7B12 BenchmarkPaeth-4 16583106 7.032 ns/op BenchmarkDecodeGray-4 18 5963673 ns/op 10.99 MB/s 137024 B/op 102 allocs/op BenchmarkDecodeNRGBAGradient-4 4 26529501 ns/op 9.88 MB/s 337328 B/op 188 allocs/op BenchmarkDecodeNRGBAOpaque-4 5 21998729 ns/op 11.92 MB/s 346592 B/op 152 allocs/op BenchmarkDecodePaletted-4 33 3641313 ns/op 18.00 MB/s 139456 B/op 309 allocs/op BenchmarkDecodeRGB-4 5 21408627 ns/op 12.24 MB/s 332000 B/op 157 allocs/op BenchmarkDecodeInterlacing-4 4 25491308 ns/op 10.28 MB/s 605216 B/op 268 allocs/op BenchmarkEncodeGray-4 3 38456171 ns/op 7.99 MB/s 852184 B/op 29 allocs/op BenchmarkEncodeGrayWithBufferPool-4 3 38502158 ns/op 7.98 MB/s 284053 B/op 9 allocs/op BenchmarkEncodeNRGBOpaque-4 1 138342232 ns/op 8.88 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeNRGBA-4 1 150764731 ns/op 8.15 MB/s 864088 B/op 29 allocs/op BenchmarkEncodePaletted-4 5 21337431 ns/op 14.40 MB/s 848593 B/op 32 allocs/op BenchmarkEncodeRGBOpaque-4 1 126774192 ns/op 9.69 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeRGBA-4 1 556543166 ns/op 2.21 MB/s 864088 B/op 29 allocs/op PASS ok image/png 4.085s ##### 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 54063314 ns/op 1.85 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=opticks/size=100K/bits=64-4 3 44848803 ns/op 2.23 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=32-4 1 318277560 ns/op 1.57 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=64-4 1 308269767 ns/op 1.62 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=32-4 2 53323478 ns/op 1.88 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=64-4 3 44699174 ns/op 2.24 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=32-4 1 302385609 ns/op 1.65 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=64-4 1 298697525 ns/op 1.67 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=32-4 1 705152046 ns/op 1.42 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=64-4 1 680808428 ns/op 1.47 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=32-4 1 4179449648 ns/op 1.20 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=64-4 1 4060534052 ns/op 1.23 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=32-4 10 10196690 ns/op 9.81 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=64-4 9 11880061 ns/op 8.42 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=32-4 2 50073165 ns/op 9.99 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=64-4 2 57470114 ns/op 8.70 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=32-4 1 100349735 ns/op 9.97 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=64-4 1 117401574 ns/op 8.52 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=32-4 1 501569687 ns/op 9.97 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=64-4 1 562966792 ns/op 8.88 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=32-4 2 61922266 ns/op 1.61 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=64-4 2 54156528 ns/op 1.85 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=32-4 1 404427446 ns/op 1.24 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=64-4 1 432696680 ns/op 1.16 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=32-4 1 980974142 ns/op 1.02 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=64-4 1 1004078264 ns/op 1.00 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=32-4 1 6027042088 ns/op 0.83 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=64-4 1 5934003885 ns/op 0.84 MB/s 40001616 B/op 2 allocs/op BenchmarkSaveRestore/bits=32-4 1 185148043 ns/op 22.58 MB/s 5275648 B/op 4 allocs/op BenchmarkSaveRestore/bits=64-4 1 190736948 ns/op 21.91 MB/s 9469952 B/op 4 allocs/op PASS ok index/suffixarray 47.309s ##### 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 52772 2184 ns/op 0.46 MB/s BenchmarkMarshalCorpusFile/2-4 50575 2335 ns/op 0.86 MB/s BenchmarkMarshalCorpusFile/4-4 47078 2547 ns/op 1.57 MB/s BenchmarkMarshalCorpusFile/8-4 39558 3023 ns/op 2.65 MB/s BenchmarkMarshalCorpusFile/16-4 31458 3817 ns/op 4.19 MB/s BenchmarkMarshalCorpusFile/32-4 20816 5616 ns/op 5.70 MB/s BenchmarkMarshalCorpusFile/64-4 13411 8811 ns/op 7.26 MB/s BenchmarkMarshalCorpusFile/128-4 8640 13892 ns/op 9.21 MB/s BenchmarkMarshalCorpusFile/256-4 4082 26272 ns/op 9.74 MB/s BenchmarkMarshalCorpusFile/512-4 2306 52071 ns/op 9.83 MB/s BenchmarkMarshalCorpusFile/1024-4 1182 99730 ns/op 10.27 MB/s BenchmarkMarshalCorpusFile/2048-4 570 204017 ns/op 10.04 MB/s BenchmarkMarshalCorpusFile/4096-4 303 387788 ns/op 10.56 MB/s BenchmarkMarshalCorpusFile/8192-4 145 786097 ns/op 10.42 MB/s BenchmarkMarshalCorpusFile/16384-4 69 1523300 ns/op 10.76 MB/s BenchmarkMarshalCorpusFile/32768-4 34 3599741 ns/op 9.10 MB/s BenchmarkMarshalCorpusFile/65536-4 15 7223687 ns/op 9.07 MB/s BenchmarkMarshalCorpusFile/131072-4 7 16379583 ns/op 8.00 MB/s BenchmarkMarshalCorpusFile/262144-4 4 29471901 ns/op 8.89 MB/s BenchmarkMarshalCorpusFile/524288-4 2 68866771 ns/op 7.61 MB/s BenchmarkMarshalCorpusFile/1048576-4 1 118339223 ns/op 8.86 MB/s BenchmarkUnmarshalCorpusFile/1-4 14367 8421 ns/op 0.12 MB/s BenchmarkUnmarshalCorpusFile/2-4 13520 8731 ns/op 0.23 MB/s BenchmarkUnmarshalCorpusFile/4-4 12249 9802 ns/op 0.41 MB/s BenchmarkUnmarshalCorpusFile/8-4 10650 11251 ns/op 0.71 MB/s BenchmarkUnmarshalCorpusFile/16-4 8376 13335 ns/op 1.20 MB/s BenchmarkUnmarshalCorpusFile/32-4 6120 19740 ns/op 1.62 MB/s BenchmarkUnmarshalCorpusFile/64-4 5181 23302 ns/op 2.75 MB/s BenchmarkUnmarshalCorpusFile/128-4 3960 29866 ns/op 4.29 MB/s BenchmarkUnmarshalCorpusFile/256-4 1548 78831 ns/op 3.25 MB/s BenchmarkUnmarshalCorpusFile/512-4 805 148765 ns/op 3.44 MB/s BenchmarkUnmarshalCorpusFile/1024-4 415 290111 ns/op 3.53 MB/s BenchmarkUnmarshalCorpusFile/2048-4 210 569807 ns/op 3.59 MB/s BenchmarkUnmarshalCorpusFile/4096-4 91 1160796 ns/op 3.53 MB/s BenchmarkUnmarshalCorpusFile/8192-4 49 2258795 ns/op 3.63 MB/s BenchmarkUnmarshalCorpusFile/16384-4 26 4543497 ns/op 3.61 MB/s BenchmarkUnmarshalCorpusFile/32768-4 13 9048429 ns/op 3.62 MB/s BenchmarkUnmarshalCorpusFile/65536-4 6 18011489 ns/op 3.64 MB/s BenchmarkUnmarshalCorpusFile/131072-4 3 36687021 ns/op 3.57 MB/s BenchmarkUnmarshalCorpusFile/262144-4 2 71743140 ns/op 3.65 MB/s BenchmarkUnmarshalCorpusFile/524288-4 1 138701512 ns/op 3.78 MB/s BenchmarkUnmarshalCorpusFile/1048576-4 1 283747602 ns/op 3.70 MB/s BenchmarkMutatorBytes/1-4 52184 2321 ns/op BenchmarkMutatorBytes/10-4 54408 2275 ns/op BenchmarkMutatorBytes/100-4 50842 2478 ns/op BenchmarkMutatorBytes/1000-4 34591 3809 ns/op BenchmarkMutatorBytes/10000-4 9045 15335 ns/op BenchmarkMutatorBytes/100000-4 1244 108020 ns/op BenchmarkMutatorString/1-4 50536 2435 ns/op BenchmarkMutatorString/10-4 50808 2421 ns/op BenchmarkMutatorString/100-4 45766 2823 ns/op BenchmarkMutatorString/1000-4 23533 5406 ns/op BenchmarkMutatorString/10000-4 5698 28032 ns/op BenchmarkMutatorString/100000-4 444 262152 ns/op BenchmarkMutatorAllBasicTypes/[]uint8-4 26571 4241 ns/op BenchmarkMutatorAllBasicTypes/string-4 27159 4393 ns/op BenchmarkMutatorAllBasicTypes/bool-4 90048 1330 ns/op BenchmarkMutatorAllBasicTypes/float32-4 80119 1499 ns/op BenchmarkMutatorAllBasicTypes/float64-4 80250 1480 ns/op BenchmarkMutatorAllBasicTypes/int-4 84526 1411 ns/op BenchmarkMutatorAllBasicTypes/int8-4 86149 1392 ns/op BenchmarkMutatorAllBasicTypes/int16-4 85429 1414 ns/op BenchmarkMutatorAllBasicTypes/int32-4 85526 1411 ns/op BenchmarkMutatorAllBasicTypes/int64-4 83870 1404 ns/op BenchmarkMutatorAllBasicTypes/uint8-4 82486 1445 ns/op BenchmarkMutatorAllBasicTypes/uint16-4 82755 1449 ns/op BenchmarkMutatorAllBasicTypes/uint32-4 75120 1454 ns/op BenchmarkMutatorAllBasicTypes/uint64-4 82837 1434 ns/op PASS ok internal/fuzz 12.039s goos: linux goarch: amd64 pkg: internal/intern cpu: AMD EPYC 7B12 BenchmarkStress-4 46464 2299 ns/op 0 B/op 0 allocs/op BenchmarkGetByString-4 196692 628.4 ns/op 0 B/op 0 allocs/op PASS ok internal/intern 1.268s goos: linux goarch: amd64 pkg: internal/poll cpu: AMD EPYC 7B12 BenchmarkSplicePipe/SplicePipeWithPool-4 78657 1678 ns/op BenchmarkSplicePipe/SplicePipeWithoutPool-4 27988 4381 ns/op BenchmarkSplicePipePoolParallel-4 194155 706.6 ns/op BenchmarkSplicePipeNativeParallel-4 44217 2587 ns/op PASS ok internal/poll 1.938s goos: linux goarch: amd64 pkg: internal/trace cpu: AMD EPYC 7B12 BenchmarkMMU-4 7 16191022 ns/op PASS ok internal/trace 2.307s PASS ok internal/zstd 1.011s goos: linux goarch: amd64 pkg: io cpu: AMD EPYC 7B12 BenchmarkCopyNSmall-4 19045 5543 ns/op BenchmarkCopyNLarge-4 272 398398 ns/op PASS ok io 1.348s goos: linux goarch: amd64 pkg: log cpu: AMD EPYC 7B12 BenchmarkItoa-4 299709 393.6 ns/op BenchmarkPrintln-4 32650 3795 ns/op 78 B/op 1 allocs/op BenchmarkPrintlnNoFlags-4 48758 2452 ns/op 66 B/op 0 allocs/op BenchmarkConcurrent-4 2522 39893 ns/op BenchmarkDiscard-4 1817562 66.53 ns/op 0 B/op 0 allocs/op PASS ok log 1.838s goos: linux goarch: amd64 pkg: log/slog cpu: AMD EPYC 7B12 BenchmarkWriteTime-4 121486 978.1 ns/op BenchmarkJSONHandler/defaults-4 9411 11268 ns/op 524 B/op 1 allocs/op BenchmarkJSONHandler/time_format-4 5331 18996 ns/op 788 B/op 6 allocs/op BenchmarkJSONHandler/time_unix-4 6489 16360 ns/op 772 B/op 5 allocs/op BenchmarkPreformatting/separate-4 9955 10983 ns/op 522 B/op 0 allocs/op BenchmarkPreformatting/struct-4 11026 11281 ns/op 524 B/op 1 allocs/op BenchmarkPreformatting/struct_file-4 7471 13616 ns/op 525 B/op 1 allocs/op BenchmarkJSONEncoding/json.Marshal-4 42286 2862 ns/op 80 B/op 3 allocs/op BenchmarkJSONEncoding/Encoder.Encode-4 42033 2967 ns/op 64 B/op 2 allocs/op BenchmarkNopLog/no_attrs-4 94004 1276 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-4 80290 1600 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-parallel-4 66964 1998 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/keys-values-4 75444 1674 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-4 80102 1599 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-parallel-4 60939 2053 ns/op 0 B/op 0 allocs/op BenchmarkPC/0-4 585873 180.8 ns/op 0 B/op 0 allocs/op BenchmarkPC/1-4 425433 285.0 ns/op 0 B/op 0 allocs/op BenchmarkPC/2-4 315867 360.4 ns/op 0 B/op 0 allocs/op BenchmarkPC/3-4 238533 501.3 ns/op 0 B/op 0 allocs/op BenchmarkPC/4-4 190488 616.2 ns/op 0 B/op 0 allocs/op BenchmarkRecord-4 10000 11577 ns/op BenchmarkDispatch/switch-checked-4 284656 420.4 ns/op BenchmarkDispatch/As-4 264778 452.2 ns/op BenchmarkDispatch/Visit-4 248403 462.9 ns/op BenchmarkUnsafeStrings-4 25268 4761 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.384s goos: linux goarch: amd64 pkg: log/slog/internal/benchmarks cpu: AMD EPYC 7B12 BenchmarkAttrs/disabled/5_args-4 2618602 40.21 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/5_args_ctx-4 3013988 40.06 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/10_args-4 1801700 61.87 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/40_args-4 572116 209.4 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args-4 92470 1315 ns/op 261 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args_ctx-4 86221 1371 ns/op 262 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/10_args-4 48254 2111 ns/op 468 B/op 1 allocs/op BenchmarkAttrs/fastText_discard/40_args-4 19333 5735 ns/op 2057 B/op 1 allocs/op BenchmarkAttrs/Text_discard/5_args-4 17950 6871 ns/op 613 B/op 3 allocs/op BenchmarkAttrs/Text_discard/5_args_ctx-4 16508 7096 ns/op 611 B/op 3 allocs/op BenchmarkAttrs/Text_discard/10_args-4 12861 9857 ns/op 907 B/op 7 allocs/op BenchmarkAttrs/Text_discard/40_args-4 4063 26358 ns/op 3020 B/op 22 allocs/op BenchmarkAttrs/JSON_discard/5_args-4 20000 6025 ns/op 526 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/5_args_ctx-4 19567 5629 ns/op 521 B/op 0 allocs/op BenchmarkAttrs/JSON_discard/10_args-4 14892 8122 ns/op 724 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/40_args-4 5388 21595 ns/op 2337 B/op 2 allocs/op PASS ok log/slog/internal/benchmarks 3.879s goos: linux goarch: amd64 pkg: maps cpu: AMD EPYC 7B12 BenchmarkMapClone-4 4 26297521 ns/op BenchmarkKeys-4 10 10594481 ns/op BenchmarkValues-4 10 10123976 ns/op PASS ok maps 3.036s goos: linux goarch: amd64 pkg: math cpu: AMD EPYC 7B12 BenchmarkAcos-4 5055724 23.41 ns/op BenchmarkAcosh-4 1797177 65.68 ns/op BenchmarkAsin-4 5048666 23.62 ns/op BenchmarkAsinh-4 1711797 67.20 ns/op BenchmarkAtan-4 6049987 23.51 ns/op BenchmarkAtanh-4 1684677 70.90 ns/op BenchmarkAtan2-4 3169117 36.30 ns/op BenchmarkCbrt-4 2286690 51.75 ns/op BenchmarkCeil-4 21143142 4.996 ns/op BenchmarkCompare-4 4871080 24.39 ns/op BenchmarkCompare32-4 6126915 19.38 ns/op BenchmarkCopysign-4 3560366 33.68 ns/op BenchmarkCos-4 1762274 74.90 ns/op BenchmarkCosh-4 2241432 53.31 ns/op BenchmarkErf-4 6043890 20.15 ns/op BenchmarkErfc-4 5523338 20.93 ns/op BenchmarkErfinv-4 5926426 20.35 ns/op BenchmarkErfcinv-4 5857047 20.22 ns/op BenchmarkExp-4 7462802 14.43 ns/op BenchmarkExpGo-4 1456752 82.82 ns/op BenchmarkExpm1-4 4939155 24.14 ns/op BenchmarkExp2-4 1560841 76.03 ns/op BenchmarkExp2Go-4 1442277 81.90 ns/op BenchmarkAbs-4 4439846 25.47 ns/op BenchmarkDim-4 11158266 10.33 ns/op BenchmarkFloor-4 22235644 5.005 ns/op BenchmarkMax-4 15897703 7.200 ns/op BenchmarkMin-4 16463052 6.873 ns/op BenchmarkMod-4 471430 248.8 ns/op BenchmarkFrexp-4 2577920 47.04 ns/op BenchmarkGamma-4 936014 127.3 ns/op BenchmarkHypot-4 13600646 8.103 ns/op BenchmarkHypotGo-4 2265498 53.92 ns/op BenchmarkIlogb-4 2908628 40.29 ns/op BenchmarkJ0-4 348554 364.5 ns/op BenchmarkJ1-4 355444 323.4 ns/op BenchmarkJn-4 171564 679.6 ns/op BenchmarkLdexp-4 2508150 48.65 ns/op BenchmarkLgamma-4 1303112 91.74 ns/op BenchmarkLog-4 8300230 13.88 ns/op BenchmarkLogb-4 2834042 41.87 ns/op BenchmarkLog1p-4 2160781 55.34 ns/op BenchmarkLog10-4 8126574 14.54 ns/op BenchmarkLog2-4 1932684 60.89 ns/op BenchmarkModf-4 3622009 32.10 ns/op BenchmarkNextafter32-4 3395103 36.09 ns/op BenchmarkNextafter64-4 3511755 34.08 ns/op BenchmarkPowInt-4 724286 151.2 ns/op BenchmarkPowFrac-4 609315 197.0 ns/op BenchmarkPow10Pos-4 5723634 21.21 ns/op BenchmarkPow10Neg-4 5640229 21.52 ns/op BenchmarkRound-4 4469289 25.08 ns/op BenchmarkRoundToEven-4 11297967 10.18 ns/op BenchmarkRemainder-4 589764 177.3 ns/op BenchmarkSignbit-4 6673195 18.98 ns/op BenchmarkSin-4 2111926 57.74 ns/op BenchmarkSincos-4 1419878 84.76 ns/op BenchmarkSinh-4 3869113 31.04 ns/op BenchmarkSqrtIndirect-4 22450136 5.919 ns/op BenchmarkSqrtLatency-4 12855646 9.217 ns/op BenchmarkSqrtIndirectLatency-4 12833594 9.304 ns/op BenchmarkSqrtGoLatency-4 1971782 58.89 ns/op BenchmarkSqrtPrime-4 175221 686.5 ns/op BenchmarkTan-4 1806795 66.35 ns/op BenchmarkTanh-4 2184393 55.05 ns/op BenchmarkTrunc-4 22240512 4.990 ns/op BenchmarkY0-4 371918 313.3 ns/op BenchmarkY1-4 370964 316.9 ns/op BenchmarkYn-4 181611 719.9 ns/op BenchmarkFloat64bits-4 7049853 16.83 ns/op BenchmarkFloat64frombits-4 6943416 17.30 ns/op BenchmarkFloat32bits-4 6848692 17.16 ns/op BenchmarkFloat32frombits-4 6724218 17.23 ns/op BenchmarkFMA-4 22582665 5.294 ns/op PASS ok math 12.260s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: math/big cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAddVV/1-4 11947557 10.02 ns/op 6389.37 MB/s BenchmarkAddVV/2-4 11198840 10.74 ns/op 11923.03 MB/s BenchmarkAddVV/3-4 9510452 12.68 ns/op 15141.67 MB/s BenchmarkAddVV/4-4 10262269 11.69 ns/op 21898.32 MB/s BenchmarkAddVV/5-4 9400826 12.60 ns/op 25394.11 MB/s BenchmarkAddVV/10-4 7735809 15.48 ns/op 41336.85 MB/s BenchmarkAddVV/100-4 1676978 71.21 ns/op 89874.35 MB/s BenchmarkAddVV/1000-4 200656 584.4 ns/op 109512.11 MB/s BenchmarkSubVV/1-4 12231133 9.463 ns/op 6763.54 MB/s BenchmarkSubVV/2-4 11176146 10.54 ns/op 12142.99 MB/s BenchmarkSubVV/3-4 10205106 12.32 ns/op 15585.50 MB/s BenchmarkSubVV/4-4 10688326 11.07 ns/op 23131.73 MB/s BenchmarkSubVV/5-4 9497220 12.62 ns/op 25359.70 MB/s BenchmarkSubVV/10-4 7712335 15.22 ns/op 42038.16 MB/s BenchmarkSubVV/100-4 1666252 72.28 ns/op 88546.85 MB/s BenchmarkSubVV/1000-4 198262 586.8 ns/op 109061.24 MB/s BenchmarkAddVW/1-4 13843108 8.837 ns/op 905.29 MB/s BenchmarkAddVW/2-4 12605892 9.516 ns/op 1681.30 MB/s BenchmarkAddVW/3-4 10994718 11.06 ns/op 2170.82 MB/s BenchmarkAddVW/4-4 12002296 10.12 ns/op 3161.25 MB/s BenchmarkAddVW/5-4 10699201 11.05 ns/op 3621.30 MB/s BenchmarkAddVW/10-4 9132640 13.12 ns/op 6095.31 MB/s BenchmarkAddVW/100-4 248817 460.3 ns/op 1738.13 MB/s BenchmarkAddVW/1000-4 34982 3426 ns/op 2335.10 MB/s BenchmarkAddVWext/1-4 14265946 8.395 ns/op 952.89 MB/s BenchmarkAddVWext/2-4 13148844 9.112 ns/op 1755.84 MB/s BenchmarkAddVWext/3-4 12454316 9.657 ns/op 2485.31 MB/s BenchmarkAddVWext/4-4 11997186 9.929 ns/op 3222.80 MB/s BenchmarkAddVWext/5-4 10957081 10.89 ns/op 3672.31 MB/s BenchmarkAddVWext/10-4 9176229 13.23 ns/op 6048.43 MB/s BenchmarkAddVWext/100-4 80216 1471 ns/op 543.98 MB/s BenchmarkAddVWext/1000-4 8265 14153 ns/op 565.23 MB/s BenchmarkSubVW/1-4 13675636 8.716 ns/op 917.84 MB/s BenchmarkSubVW/2-4 11666694 10.20 ns/op 1567.97 MB/s BenchmarkSubVW/3-4 10182841 11.86 ns/op 2024.43 MB/s BenchmarkSubVW/4-4 12049286 9.958 ns/op 3213.59 MB/s BenchmarkSubVW/5-4 11104964 10.83 ns/op 3692.64 MB/s BenchmarkSubVW/10-4 9121504 13.26 ns/op 6035.20 MB/s BenchmarkSubVW/100-4 257496 459.5 ns/op 1741.19 MB/s BenchmarkSubVW/1000-4 35084 3421 ns/op 2338.71 MB/s BenchmarkSubVWext/1-4 13402292 8.731 ns/op 916.29 MB/s BenchmarkSubVWext/2-4 12833354 9.388 ns/op 1704.22 MB/s BenchmarkSubVWext/3-4 11672841 10.43 ns/op 2301.56 MB/s BenchmarkSubVWext/4-4 12059284 10.04 ns/op 3188.13 MB/s BenchmarkSubVWext/5-4 10903459 10.96 ns/op 3649.74 MB/s BenchmarkSubVWext/10-4 9049005 13.26 ns/op 6034.20 MB/s BenchmarkSubVWext/100-4 80995 1502 ns/op 532.66 MB/s BenchmarkSubVWext/1000-4 7144 14255 ns/op 561.19 MB/s BenchmarkMulAddVWW/1-4 11723905 10.33 ns/op 6193.81 MB/s BenchmarkMulAddVWW/2-4 10753807 11.04 ns/op 11596.36 MB/s BenchmarkMulAddVWW/3-4 10157023 11.73 ns/op 16365.95 MB/s BenchmarkMulAddVWW/4-4 9439539 12.57 ns/op 20367.02 MB/s BenchmarkMulAddVWW/5-4 8436428 14.04 ns/op 22798.99 MB/s BenchmarkMulAddVWW/10-4 6471216 18.32 ns/op 34936.92 MB/s BenchmarkMulAddVWW/100-4 1000000 107.9 ns/op 59304.53 MB/s BenchmarkMulAddVWW/1000-4 126458 956.2 ns/op 66928.35 MB/s BenchmarkAddMulVVW/1-4 12208212 9.940 ns/op 6438.51 MB/s BenchmarkAddMulVVW/2-4 11035407 10.82 ns/op 11829.80 MB/s BenchmarkAddMulVVW/3-4 9844648 11.86 ns/op 16182.21 MB/s BenchmarkAddMulVVW/4-4 9099477 13.01 ns/op 19671.85 MB/s BenchmarkAddMulVVW/5-4 8452237 14.10 ns/op 22697.61 MB/s BenchmarkAddMulVVW/10-4 6995955 17.10 ns/op 37427.17 MB/s BenchmarkAddMulVVW/100-4 1466668 81.48 ns/op 78548.41 MB/s BenchmarkAddMulVVW/1000-4 162362 728.4 ns/op 87860.74 MB/s BenchmarkDivWVW/1-4 2602789 45.45 ns/op 1408.14 MB/s BenchmarkDivWVW/2-4 1245276 95.91 ns/op 1334.55 MB/s BenchmarkDivWVW/3-4 924044 124.7 ns/op 1539.10 MB/s BenchmarkDivWVW/4-4 801152 145.8 ns/op 1755.29 MB/s BenchmarkDivWVW/5-4 752995 152.8 ns/op 2093.59 MB/s BenchmarkDivWVW/10-4 403136 288.0 ns/op 2222.41 MB/s BenchmarkDivWVW/100-4 54309 2185 ns/op 2928.82 MB/s BenchmarkDivWVW/1000-4 5407 21314 ns/op 3002.73 MB/s BenchmarkNonZeroShifts/1/shrVU-4 11355699 10.41 ns/op BenchmarkNonZeroShifts/1/shlVU-4 11588803 10.18 ns/op BenchmarkNonZeroShifts/2/shrVU-4 10471885 11.34 ns/op BenchmarkNonZeroShifts/2/shlVU-4 8978618 11.23 ns/op BenchmarkNonZeroShifts/3/shrVU-4 9665676 12.46 ns/op BenchmarkNonZeroShifts/3/shlVU-4 10002042 12.11 ns/op BenchmarkNonZeroShifts/4/shrVU-4 8737123 13.81 ns/op BenchmarkNonZeroShifts/4/shlVU-4 9439622 12.79 ns/op BenchmarkNonZeroShifts/5/shrVU-4 8293936 14.73 ns/op BenchmarkNonZeroShifts/5/shlVU-4 8972605 13.52 ns/op BenchmarkNonZeroShifts/10/shrVU-4 6279838 19.05 ns/op BenchmarkNonZeroShifts/10/shlVU-4 7001539 17.24 ns/op BenchmarkNonZeroShifts/100/shrVU-4 1000000 113.2 ns/op BenchmarkNonZeroShifts/100/shlVU-4 1243536 97.35 ns/op BenchmarkNonZeroShifts/1000/shrVU-4 126298 940.2 ns/op BenchmarkNonZeroShifts/1000/shlVU-4 151779 779.4 ns/op BenchmarkDecimalConversion-4 206 558499 ns/op BenchmarkFloatString/100-4 11616 10139 ns/op 392 B/op 8 allocs/op BenchmarkFloatString/1000-4 217 545391 ns/op 2908 B/op 9 allocs/op BenchmarkFloatString/10000-4 2 50413534 ns/op 61912 B/op 56 allocs/op BenchmarkFloatString/100000-4 1 4983850756 ns/op 837752 B/op 496 allocs/op BenchmarkFloatAdd/10-4 168940 703.0 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100-4 165823 735.0 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/1000-4 141147 795.7 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/10000-4 83074 1461 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100000-4 16672 6999 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10-4 216962 531.6 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100-4 223816 522.3 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/1000-4 220430 535.1 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10000-4 158560 752.0 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100000-4 44781 2645 ns/op 0 B/op 0 allocs/op BenchmarkParseFloatSmallExp-4 1912 61610 ns/op BenchmarkParseFloatLargeExp-4 433 261905 ns/op BenchmarkGCD10x10/WithoutXY-4 196438 598.9 ns/op BenchmarkGCD10x10/WithXY-4 58346 2017 ns/op BenchmarkGCD10x100/WithoutXY-4 98061 1265 ns/op BenchmarkGCD10x100/WithXY-4 16503 7314 ns/op BenchmarkGCD10x1000/WithoutXY-4 58672 1821 ns/op BenchmarkGCD10x1000/WithXY-4 13838 8880 ns/op BenchmarkGCD100x100/WithoutXY-4 24726 4732 ns/op BenchmarkGCD100x100/WithXY-4 9740 11624 ns/op BenchmarkGCD100x1000/WithoutXY-4 11977 9889 ns/op BenchmarkGCD100x1000/WithXY-4 5904 19523 ns/op BenchmarkGCD1000x1000/WithoutXY-4 2114 56717 ns/op BenchmarkGCD1000x1000/WithXY-4 1153 98766 ns/op BenchmarkHilbert-4 22 5223351 ns/op BenchmarkBinomial-4 14652 8149 ns/op BenchmarkQuoRem-4 20115 6143 ns/op BenchmarkExp-4 15 7504827 ns/op BenchmarkExpMont/Odd-4 129 945082 ns/op 2588 B/op 21 allocs/op BenchmarkExpMont/Even1-4 127 936978 ns/op 3359 B/op 38 allocs/op BenchmarkExpMont/Even2-4 123 959059 ns/op 3874 B/op 54 allocs/op BenchmarkExpMont/Even3-4 123 974528 ns/op 3826 B/op 52 allocs/op BenchmarkExpMont/Even4-4 120 975637 ns/op 3829 B/op 53 allocs/op BenchmarkExpMont/Even8-4 120 980366 ns/op 3857 B/op 53 allocs/op BenchmarkExpMont/Even32-4 122 983599 ns/op 3867 B/op 54 allocs/op BenchmarkExpMont/Even64-4 145 828754 ns/op 3634 B/op 53 allocs/op BenchmarkExpMont/Even96-4 134 845613 ns/op 3772 B/op 51 allocs/op BenchmarkExpMont/Even128-4 162 739011 ns/op 3254 B/op 50 allocs/op BenchmarkExpMont/Even255-4 184 640807 ns/op 2945 B/op 47 allocs/op BenchmarkExpMont/SmallEven1-4 436 269480 ns/op 1312 B/op 34 allocs/op BenchmarkExpMont/SmallEven2-4 375 308146 ns/op 1727 B/op 46 allocs/op BenchmarkExpMont/SmallEven3-4 386 308995 ns/op 1735 B/op 47 allocs/op BenchmarkExpMont/SmallEven4-4 391 304911 ns/op 1738 B/op 47 allocs/op BenchmarkExp2-4 14 7532167 ns/op BenchmarkBitset-4 774037 146.0 ns/op BenchmarkBitsetNeg-4 446433 264.4 ns/op BenchmarkBitsetOrig-4 238155 476.3 ns/op BenchmarkBitsetNegOrig-4 141464 752.7 ns/op BenchmarkModSqrt225_Tonelli-4 100 1032228 ns/op BenchmarkModSqrt225_3Mod4-4 374 317400 ns/op BenchmarkModSqrt231_Tonelli-4 97 1065735 ns/op BenchmarkModSqrt231_5Mod8-4 322 368948 ns/op BenchmarkModInverse-4 12134 9816 ns/op BenchmarkSqrt-4 1574 74361 ns/op BenchmarkIntSqr/1-4 1431070 82.04 ns/op BenchmarkIntSqr/2-4 760352 154.9 ns/op BenchmarkIntSqr/3-4 615920 179.5 ns/op BenchmarkIntSqr/5-4 434233 272.0 ns/op BenchmarkIntSqr/8-4 316551 376.8 ns/op BenchmarkIntSqr/10-4 256380 472.4 ns/op BenchmarkIntSqr/20-4 47583 2633 ns/op BenchmarkIntSqr/30-4 34657 3544 ns/op BenchmarkIntSqr/50-4 21834 5482 ns/op BenchmarkIntSqr/80-4 13033 9253 ns/op BenchmarkIntSqr/100-4 9834 12347 ns/op BenchmarkIntSqr/200-4 3498 31108 ns/op BenchmarkIntSqr/300-4 1580 80035 ns/op BenchmarkIntSqr/500-4 736 157114 ns/op BenchmarkIntSqr/800-4 298 410354 ns/op BenchmarkIntSqr/1000-4 225 519259 ns/op BenchmarkDiv/20/10-4 426753 276.8 ns/op BenchmarkDiv/40/20-4 431978 274.7 ns/op BenchmarkDiv/100/50-4 370198 317.7 ns/op BenchmarkDiv/200/100-4 48666 2590 ns/op BenchmarkDiv/400/200-4 46993 2707 ns/op BenchmarkDiv/1000/500-4 36394 3399 ns/op BenchmarkDiv/2000/1000-4 27661 4438 ns/op BenchmarkDiv/20000/10000-4 978 114320 ns/op BenchmarkDiv/200000/100000-4 26 4756381 ns/op BenchmarkDiv/2000000/1000000-4 1 131053787 ns/op BenchmarkDiv/20000000/10000000-4 1 3743575801 ns/op BenchmarkMul-4 5 23483426 ns/op BenchmarkNatMul/10-4 150768 705.0 ns/op BenchmarkNatMul/100-4 4914 21491 ns/op BenchmarkNatMul/1000-4 170 688417 ns/op BenchmarkZeroShifts/Shl-4 15514 7889 ns/op BenchmarkZeroShifts/ShlSame-4 5213302 22.86 ns/op BenchmarkZeroShifts/Shr-4 15583 7679 ns/op BenchmarkZeroShifts/ShrSame-4 5289922 22.01 ns/op BenchmarkExp3Power/0x10-4 173612 643.2 ns/op BenchmarkExp3Power/0x40-4 166291 756.4 ns/op BenchmarkExp3Power/0x100-4 89004 1259 ns/op BenchmarkExp3Power/0x400-4 41114 2705 ns/op BenchmarkExp3Power/0x1000-4 9091 12699 ns/op BenchmarkExp3Power/0x4000-4 1718 63627 ns/op BenchmarkExp3Power/0x10000-4 199 577533 ns/op BenchmarkExp3Power/0x40000-4 18 6679159 ns/op BenchmarkExp3Power/0x100000-4 2 62044550 ns/op BenchmarkExp3Power/0x400000-4 1 568246022 ns/op BenchmarkFibo-4 3 39511551 ns/op BenchmarkNatSqr/1-4 734560 136.6 ns/op BenchmarkNatSqr/2-4 538360 229.9 ns/op BenchmarkNatSqr/3-4 462519 280.4 ns/op BenchmarkNatSqr/5-4 257146 403.3 ns/op BenchmarkNatSqr/8-4 185674 561.8 ns/op BenchmarkNatSqr/10-4 173962 685.2 ns/op BenchmarkNatSqr/20-4 41730 2779 ns/op BenchmarkNatSqr/30-4 30702 3720 ns/op BenchmarkNatSqr/50-4 18814 6127 ns/op BenchmarkNatSqr/80-4 10000 10348 ns/op BenchmarkNatSqr/100-4 8436 13216 ns/op BenchmarkNatSqr/200-4 3254 34107 ns/op BenchmarkNatSqr/300-4 1336 80026 ns/op BenchmarkNatSqr/500-4 692 158760 ns/op BenchmarkNatSqr/800-4 303 382280 ns/op BenchmarkNatSqr/1000-4 228 507607 ns/op BenchmarkNatSetBytes/8-4 666716 171.9 ns/op BenchmarkNatSetBytes/24-4 199873 583.8 ns/op BenchmarkNatSetBytes/128-4 46579 2597 ns/op BenchmarkNatSetBytes/7-4 725290 156.9 ns/op BenchmarkNatSetBytes/23-4 198819 579.1 ns/op BenchmarkNatSetBytes/127-4 45464 2532 ns/op BenchmarkScanPi-4 243 476765 ns/op BenchmarkStringPiParallel-4 567 189511 ns/op BenchmarkScan/10/Base2-4 40837 2948 ns/op BenchmarkScan/100/Base2-4 4653 25346 ns/op BenchmarkScan/1000/Base2-4 484 245140 ns/op BenchmarkScan/10/Base8-4 98282 1205 ns/op BenchmarkScan/100/Base8-4 13546 8814 ns/op BenchmarkScan/1000/Base8-4 1335 86005 ns/op BenchmarkScan/10/Base10-4 102028 1165 ns/op BenchmarkScan/100/Base10-4 14938 8107 ns/op BenchmarkScan/1000/Base10-4 1424 79085 ns/op BenchmarkScan/10/Base16-4 109630 1037 ns/op BenchmarkScan/100/Base16-4 16647 7280 ns/op BenchmarkScan/1000/Base16-4 1586 69745 ns/op BenchmarkString/10/Base2-4 168883 722.8 ns/op BenchmarkString/100/Base2-4 23202 5154 ns/op BenchmarkString/1000/Base2-4 2306 49477 ns/op BenchmarkString/10/Base8-4 334320 360.5 ns/op BenchmarkString/100/Base8-4 57108 1954 ns/op BenchmarkString/1000/Base8-4 6651 17643 ns/op BenchmarkString/10/Base10-4 194577 615.1 ns/op BenchmarkString/100/Base10-4 37659 3180 ns/op BenchmarkString/1000/Base10-4 4473 26489 ns/op BenchmarkString/10/Base16-4 389877 328.5 ns/op BenchmarkString/100/Base16-4 79110 1485 ns/op BenchmarkString/1000/Base16-4 8974 12563 ns/op BenchmarkLeafSize/0-4 42 2825903 ns/op BenchmarkLeafSize/1-4 378 295531 ns/op BenchmarkLeafSize/2-4 385 293462 ns/op BenchmarkLeafSize/3-4 279 406307 ns/op BenchmarkLeafSize/4-4 369 289219 ns/op BenchmarkLeafSize/5-4 236 465782 ns/op BenchmarkLeafSize/6-4 294 395115 ns/op BenchmarkLeafSize/7-4 297 380247 ns/op BenchmarkLeafSize/8-4 393 295522 ns/op BenchmarkLeafSize/9-4 213 538549 ns/op BenchmarkLeafSize/10-4 259 448509 ns/op BenchmarkLeafSize/11-4 271 437487 ns/op BenchmarkLeafSize/12-4 292 394344 ns/op BenchmarkLeafSize/13-4 258 421728 ns/op BenchmarkLeafSize/14-4 308 371139 ns/op BenchmarkLeafSize/15-4 332 349565 ns/op BenchmarkLeafSize/16-4 369 286084 ns/op BenchmarkLeafSize/32-4 387 288436 ns/op BenchmarkLeafSize/64-4 356 314910 ns/op BenchmarkProbablyPrime/n=0-4 9 11857162 ns/op BenchmarkProbablyPrime/n=1-4 8 13698797 ns/op BenchmarkProbablyPrime/n=5-4 6 19646089 ns/op BenchmarkProbablyPrime/n=10-4 4 26605700 ns/op BenchmarkProbablyPrime/n=20-4 3 42112856 ns/op BenchmarkProbablyPrime/Lucas-4 10 10603406 ns/op BenchmarkProbablyPrime/MillerRabinBase2-4 75 1512245 ns/op BenchmarkRatCmp-4 211382 537.6 ns/op BenchmarkFloatSqrt/64-4 22216 5381 ns/op 208 B/op 5 allocs/op BenchmarkFloatSqrt/128-4 14053 8478 ns/op 256 B/op 5 allocs/op BenchmarkFloatSqrt/256-4 8905 12114 ns/op 352 B/op 5 allocs/op BenchmarkFloatSqrt/1000-4 4846 24388 ns/op 1312 B/op 6 allocs/op BenchmarkFloatSqrt/10000-4 775 147357 ns/op 18166 B/op 10 allocs/op BenchmarkFloatSqrt/100000-4 62 1951317 ns/op 176476 B/op 20 allocs/op BenchmarkFloatSqrt/1000000-4 1 154660739 ns/op 3849400 B/op 659 allocs/op PASS ok math/big 51.336s ##### 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 12674350 9.867 ns/op BenchmarkLeadingZeros8-4 10391473 11.43 ns/op BenchmarkLeadingZeros16-4 11930551 11.71 ns/op BenchmarkLeadingZeros32-4 12921286 9.276 ns/op BenchmarkLeadingZeros64-4 13087434 9.168 ns/op BenchmarkTrailingZeros-4 13139265 9.156 ns/op BenchmarkTrailingZeros8-4 11112963 10.85 ns/op BenchmarkTrailingZeros16-4 11828136 10.02 ns/op BenchmarkTrailingZeros32-4 13210069 11.25 ns/op BenchmarkTrailingZeros64-4 13029895 9.136 ns/op BenchmarkOnesCount-4 13184233 10.69 ns/op BenchmarkOnesCount8-4 10453262 10.60 ns/op BenchmarkOnesCount16-4 13177125 9.118 ns/op BenchmarkOnesCount32-4 11548922 10.69 ns/op BenchmarkOnesCount64-4 11025094 10.55 ns/op BenchmarkRotateLeft-4 12428278 10.04 ns/op BenchmarkRotateLeft8-4 13139122 9.203 ns/op BenchmarkRotateLeft16-4 10977782 12.66 ns/op BenchmarkRotateLeft32-4 13085095 9.129 ns/op BenchmarkRotateLeft64-4 11961961 10.04 ns/op BenchmarkReverse-4 17716308 6.233 ns/op BenchmarkReverse8-4 23592463 5.600 ns/op BenchmarkReverse16-4 25666509 4.687 ns/op BenchmarkReverse32-4 24026558 4.987 ns/op BenchmarkReverse64-4 19558948 5.346 ns/op BenchmarkReverseBytes-4 25591070 4.678 ns/op BenchmarkReverseBytes16-4 23939820 4.708 ns/op BenchmarkReverseBytes32-4 22881636 4.688 ns/op BenchmarkReverseBytes64-4 23269974 4.680 ns/op BenchmarkAdd-4 13063528 10.03 ns/op BenchmarkAdd32-4 13351402 10.56 ns/op BenchmarkAdd64-4 11857063 9.279 ns/op BenchmarkAdd64multiple-4 23889771 4.983 ns/op BenchmarkSub-4 13061851 9.169 ns/op BenchmarkSub32-4 10224896 12.51 ns/op BenchmarkSub64-4 12925630 9.124 ns/op BenchmarkSub64multiple-4 23994097 5.036 ns/op BenchmarkMul-4 11970718 9.148 ns/op BenchmarkMul32-4 11005530 12.17 ns/op BenchmarkMul64-4 13073320 10.79 ns/op BenchmarkDiv-4 11955525 10.35 ns/op BenchmarkDiv32-4 11947467 10.06 ns/op BenchmarkDiv64-4 11798853 10.04 ns/op PASS ok math/bits 7.046s goos: linux goarch: amd64 pkg: math/cmplx cpu: AMD EPYC 7B12 BenchmarkAbs-4 13711308 8.760 ns/op BenchmarkAcos-4 647594 158.6 ns/op BenchmarkAcosh-4 676372 173.7 ns/op BenchmarkAsin-4 742923 159.7 ns/op BenchmarkAsinh-4 719289 164.2 ns/op BenchmarkAtan-4 1207011 99.62 ns/op BenchmarkAtanh-4 1206115 97.70 ns/op BenchmarkConj-4 19026357 5.296 ns/op BenchmarkCos-4 744596 145.8 ns/op BenchmarkCosh-4 779413 146.1 ns/op BenchmarkExp-4 1000000 116.7 ns/op BenchmarkLog-4 1511728 79.46 ns/op BenchmarkLog10-4 1511346 79.82 ns/op BenchmarkPhase-4 3203191 38.03 ns/op BenchmarkPolar-4 2413118 50.05 ns/op BenchmarkPow-4 324292 371.5 ns/op BenchmarkRect-4 1416600 85.45 ns/op BenchmarkSin-4 813321 147.4 ns/op BenchmarkSinh-4 807960 145.5 ns/op BenchmarkSqrt-4 1540704 77.70 ns/op BenchmarkTan-4 504146 221.8 ns/op BenchmarkTanh-4 564248 217.3 ns/op PASS ok math/cmplx 4.278s goos: linux goarch: amd64 pkg: math/rand cpu: AMD EPYC 7B12 BenchmarkInt63Threadsafe-4 1145700 106.0 ns/op BenchmarkInt63ThreadsafeParallel-4 860948 118.1 ns/op BenchmarkInt63Unthreadsafe-4 1554906 77.74 ns/op BenchmarkIntn1000-4 1000000 103.7 ns/op BenchmarkInt63n1000-4 1321192 93.06 ns/op BenchmarkInt31n1000-4 1318206 91.12 ns/op BenchmarkFloat32-4 1275861 96.69 ns/op BenchmarkFloat64-4 1542920 78.26 ns/op BenchmarkPerm3-4 275118 429.2 ns/op BenchmarkPerm30-4 32284 3799 ns/op BenchmarkPerm30ViaShuffle-4 32545 3706 ns/op BenchmarkShuffleOverhead-4 22699 5517 ns/op BenchmarkRead3-4 1000000 101.2 ns/op BenchmarkRead64-4 104469 1141 ns/op BenchmarkRead1000-4 7036 17087 ns/op BenchmarkConcurrent-4 230394 464.3 ns/op PASS ok math/rand 3.601s goos: linux goarch: amd64 pkg: mime cpu: AMD EPYC 7B12 BenchmarkQEncodeWord-4 62190 1955 ns/op BenchmarkQDecodeWord-4 150384 787.1 ns/op BenchmarkQDecodeHeader-4 144175 847.4 ns/op BenchmarkTypeByExtension/.html-4 537662 210.3 ns/op BenchmarkTypeByExtension/.HTML-4 424639 261.3 ns/op BenchmarkTypeByExtension/.unused-4 525451 214.9 ns/op BenchmarkExtensionsByType/text/html-4 201626 574.3 ns/op BenchmarkExtensionsByType/text/html;_charset=utf-8-4 118954 888.6 ns/op BenchmarkExtensionsByType/application/octet-stream-4 148022 812.9 ns/op PASS ok mime 2.506s goos: linux goarch: amd64 pkg: mime/multipart cpu: AMD EPYC 7B12 BenchmarkReadForm/fields/maxMemory=0-4 912 120216 ns/op 48146 B/op 187 allocs/op BenchmarkReadForm/fields/maxMemory=1048576-4 979 124640 ns/op 47607 B/op 187 allocs/op BenchmarkReadForm/files/maxMemory=0-4 404 280665 ns/op 104760 B/op 271 allocs/op BenchmarkReadForm/files/maxMemory=1048576-4 746 158276 ns/op 49607 B/op 207 allocs/op PASS ok mime/multipart 1.562s goos: linux goarch: amd64 pkg: mime/quotedprintable cpu: AMD EPYC 7B12 BenchmarkWriter-4 1419 82762 ns/op PASS ok mime/quotedprintable 1.138s ##### 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 61 1832667 ns/op 8536 B/op 91 allocs/op BenchmarkGoLookupIPNoSuchHost-4 14 7535542 ns/op 19601 B/op 160 allocs/op BenchmarkGoLookupIPWithBrokenNameServer-4 1 5003498242 ns/op 160192 B/op 235 allocs/op BenchmarkDNSName-4 108024 997.3 ns/op BenchmarkInterfaces-4 1171 85800 ns/op 16877 B/op 42 allocs/op BenchmarkInterfaceByIndex-4 1620 66642 ns/op 12453 B/op 25 allocs/op BenchmarkInterfaceByName-4 1260 83929 ns/op 16936 B/op 43 allocs/op BenchmarkInterfaceAddrs-4 814 134456 ns/op 22756 B/op 103 allocs/op BenchmarkInterfacesAndAddrs-4 2731 40416 ns/op 3876 B/op 33 allocs/op BenchmarkInterfacesAndMulticastAddrs-4 561 231200 ns/op 137572 B/op 51 allocs/op BenchmarkParseIP-4 6685 18301 ns/op BenchmarkParseIPValidIPv4-4 323335 350.5 ns/op BenchmarkParseIPValidIPv6-4 167338 705.2 ns/op BenchmarkIPString/IPv4-4 113194 1050 ns/op 32 B/op 2 allocs/op BenchmarkIPString/IPv6-4 9958 11942 ns/op 216 B/op 11 allocs/op BenchmarkIPMaskString-4 42171 2704 ns/op BenchmarkIPEqual/IPv4-4 1070971 112.0 ns/op BenchmarkIPEqual/IPv6-4 1039372 109.7 ns/op BenchmarkSendFile/1024-4 1 1205611789 ns/op 0.00 MB/s 616 B/op 12 allocs/op BenchmarkSendFile/2048-4 1 1205402176 ns/op 0.00 MB/s 712 B/op 13 allocs/op BenchmarkSendFile/4096-4 1 1206370127 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/8192-4 1 1206324367 ns/op 0.01 MB/s 616 B/op 12 allocs/op BenchmarkSendFile/16384-4 1 1205967642 ns/op 0.01 MB/s 616 B/op 12 allocs/op BenchmarkSendFile/32768-4 1 1016175052 ns/op 0.03 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/65536-4 1 1017021223 ns/op 0.06 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/131072-4 1 1016488216 ns/op 0.13 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/262144-4 1 1016942223 ns/op 0.26 MB/s 616 B/op 12 allocs/op BenchmarkSendFile/524288-4 1 1018119542 ns/op 0.51 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/1048576-4 1 1020071956 ns/op 1.03 MB/s 520 B/op 11 allocs/op BenchmarkSplice/tcp-to-tcp/1024-4 1 1016321397 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/2048-4 1 1016934406 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/4096-4 1 1016230205 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/8192-4 1 1016858494 ns/op 0.01 MB/s BenchmarkSplice/tcp-to-tcp/16384-4 1 1016928306 ns/op 0.02 MB/s BenchmarkSplice/tcp-to-tcp/32768-4 1 1016852323 ns/op 0.03 MB/s BenchmarkSplice/tcp-to-tcp/65536-4 1 1016753346 ns/op 0.06 MB/s BenchmarkSplice/tcp-to-tcp/131072-4 1 1017982384 ns/op 0.13 MB/s BenchmarkSplice/tcp-to-tcp/262144-4 1 1017615552 ns/op 0.26 MB/s BenchmarkSplice/tcp-to-tcp/524288-4 1 1018405783 ns/op 0.51 MB/s BenchmarkSplice/tcp-to-tcp/1048576-4 1 1020515257 ns/op 1.03 MB/s BenchmarkSplice/unix-to-tcp/1024-4 1 1016822460 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/2048-4 1 1016514661 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/4096-4 1 1016643812 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/8192-4 1 1016264215 ns/op 0.01 MB/s BenchmarkSplice/unix-to-tcp/16384-4 1 1016751199 ns/op 0.02 MB/s BenchmarkSplice/unix-to-tcp/32768-4 1 1017184335 ns/op 0.03 MB/s BenchmarkSplice/unix-to-tcp/65536-4 1 1016898874 ns/op 0.06 MB/s BenchmarkSplice/unix-to-tcp/131072-4 1 1017833266 ns/op 0.13 MB/s BenchmarkSplice/unix-to-tcp/262144-4 1 1017615048 ns/op 0.26 MB/s BenchmarkSplice/unix-to-tcp/524288-4 1 1018672978 ns/op 0.51 MB/s BenchmarkSplice/unix-to-tcp/1048576-4 1 1020430268 ns/op 1.03 MB/s BenchmarkSpliceFile/tcp-to-file/1024-4 1 1016354638 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/2048-4 1 1016351968 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/4096-4 1 1016124943 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/8192-4 1 1016535007 ns/op 0.01 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/16384-4 1 1016425806 ns/op 0.02 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/32768-4 1 1016983734 ns/op 0.03 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/tcp-to-file/65536-4 1 1016258503 ns/op 0.06 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/131072-4 1 1016814801 ns/op 0.13 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/262144-4 1 1017245939 ns/op 0.26 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/524288-4 1 1018756073 ns/op 0.51 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/1048576-4 1 1020608516 ns/op 1.03 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/1024-4 1 1016373678 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/2048-4 1 1016241935 ns/op 0.00 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/4096-4 1 1016438609 ns/op 0.00 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/8192-4 1 1016376474 ns/op 0.01 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/16384-4 1 1016356705 ns/op 0.02 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/32768-4 1 1017189979 ns/op 0.03 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/65536-4 1 1016261168 ns/op 0.06 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/131072-4 1 1016484174 ns/op 0.13 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/262144-4 1 1017613209 ns/op 0.26 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/524288-4 1 1018462006 ns/op 0.51 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/1048576-4 1 1019946853 ns/op 1.03 MB/s 944 B/op 9 allocs/op BenchmarkTCP4OneShot-4 2163 55441 ns/op BenchmarkTCP4OneShotTimeout-4 1918 52527 ns/op BenchmarkTCP4Persistent-4 11416 10356 ns/op BenchmarkTCP4PersistentTimeout-4 11300 9414 ns/op BenchmarkTCP6OneShot-4 1964 51224 ns/op BenchmarkTCP6OneShotTimeout-4 2071 55844 ns/op BenchmarkTCP6Persistent-4 12331 10442 ns/op BenchmarkTCP6PersistentTimeout-4 11174 10231 ns/op BenchmarkTCP4ConcurrentReadWrite-4 22182 6904 ns/op BenchmarkTCP6ConcurrentReadWrite-4 23155 5316 ns/op BenchmarkSetReadDeadline-4 123727 940.0 ns/op BenchmarkReadWriteMsgUDPAddrPort-4 8724 13235 ns/op 0 B/op 0 allocs/op BenchmarkWriteToReadFromUDP-4 9769 12599 ns/op 16 B/op 1 allocs/op BenchmarkWriteToReadFromUDPAddrPort-4 9356 12128 ns/op 0 B/op 0 allocs/op PASS ok net 67.862s goos: linux goarch: amd64 pkg: net/http cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCookieString-4 29607 3886 ns/op 176 B/op 1 allocs/op BenchmarkReadSetCookies-4 11300 10500 ns/op 1168 B/op 21 allocs/op BenchmarkReadCookies-4 13980 8257 ns/op 1840 B/op 11 allocs/op BenchmarkHeaderWriteSubset-4 18361 6532 ns/op 46 B/op 0 allocs/op BenchmarkCopyValues-4 32040 3582 ns/op 736 B/op 11 allocs/op BenchmarkHexEscapeNonASCII-4 48699 2331 ns/op 192 B/op 2 allocs/op BenchmarkServerMatch-4 857503 130.9 ns/op BenchmarkReadRequestChrome-4 3594 31994 ns/op 19.10 MB/s 1476 B/op 14 allocs/op BenchmarkReadRequestCurl-4 9366 11465 ns/op 6.80 MB/s 923 B/op 9 allocs/op BenchmarkReadRequestApachebench-4 10633 11167 ns/op 7.34 MB/s 924 B/op 9 allocs/op BenchmarkReadRequestSiege-4 7117 16701 ns/op 9.04 MB/s 1019 B/op 11 allocs/op BenchmarkReadRequestWrk-4 16726 6907 ns/op 5.79 MB/s 860 B/op 7 allocs/op BenchmarkFileAndServer_1KB/h1-4 313 372065 ns/op 2.75 MB/s BenchmarkFileAndServer_1KB/https1-4 182 658370 ns/op 1.56 MB/s BenchmarkFileAndServer_1KB/h2-4 152 735032 ns/op 1.39 MB/s BenchmarkFileAndServer_16MB/h1-4 2 56069545 ns/op 299.22 MB/s BenchmarkFileAndServer_16MB/https1-4 1 116380590 ns/op 144.16 MB/s BenchmarkFileAndServer_16MB/h2-4 1 231238049 ns/op 72.55 MB/s BenchmarkFileAndServer_64MB/h1-4 1 192131632 ns/op 349.29 MB/s BenchmarkFileAndServer_64MB/https1-4 1 426353510 ns/op 157.40 MB/s BenchmarkFileAndServer_64MB/h2-4 1 910922301 ns/op 73.67 MB/s BenchmarkServeMux-4 262 490605 ns/op 17280 B/op 360 allocs/op BenchmarkServeMux_SkipServe-4 338 378703 ns/op 0 B/op 0 allocs/op BenchmarkClientServer/h1-4 332 357666 ns/op 5881 B/op 64 allocs/op BenchmarkClientServer/https1-4 216 486972 ns/op 6644 B/op 75 allocs/op BenchmarkClientServer/h2-4 188 632096 ns/op 10037 B/op 81 allocs/op BenchmarkClientServerParallel/4/h1-4 1070 124073 ns/op 10072 B/op 80 allocs/op BenchmarkClientServerParallel/4/https1-4 27 4744693 ns/op 100863 B/op 1094 allocs/op --- BENCH: BenchmarkClientServerParallel/4/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35498: read tcp 127.0.0.1:35365->127.0.0.1:35498: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35496: read tcp 127.0.0.1:35365->127.0.0.1:35496: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35522: write tcp 127.0.0.1:35365->127.0.0.1:35522: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:39618: read tcp 127.0.0.1:42685->127.0.0.1:39618: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:39632: write tcp 127.0.0.1:42685->127.0.0.1:39632: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:39488: write tcp 127.0.0.1:42685->127.0.0.1:39488: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46014: read tcp 127.0.0.1:38363->127.0.0.1:46014: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46044: write tcp 127.0.0.1:38363->127.0.0.1:46044: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46004: write tcp 127.0.0.1:38363->127.0.0.1:46004: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46022: write tcp 127.0.0.1:38363->127.0.0.1:46022: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/4/h2-4 195 571198 ns/op 16517 B/op 169 allocs/op --- BENCH: BenchmarkClientServerParallel/4/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:44366: read tcp 127.0.0.1:42579->127.0.0.1:44366: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:44350: write tcp 127.0.0.1:42579->127.0.0.1:44350: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:44376: write tcp 127.0.0.1:42579->127.0.0.1:44376: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:44300: write tcp 127.0.0.1:42579->127.0.0.1:44300: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:44302: read tcp 127.0.0.1:42579->127.0.0.1:44302: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:44416: read tcp 127.0.0.1:42579->127.0.0.1:44416: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:44316: write tcp 127.0.0.1:42579->127.0.0.1:44316: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:38348: write tcp 127.0.0.1:46549->127.0.0.1:38348: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:38390: write tcp 127.0.0.1:46549->127.0.0.1:38390: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:38332: write tcp 127.0.0.1:46549->127.0.0.1:38332: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h1-4 704 155373 ns/op 16899 B/op 104 allocs/op BenchmarkClientServerParallel/64/https1-4 24 5976751 ns/op 113523 B/op 1209 allocs/op --- BENCH: BenchmarkClientServerParallel/64/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35664: write tcp 127.0.0.1:46671->127.0.0.1:35664: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35628: write tcp 127.0.0.1:46671->127.0.0.1:35628: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35676: write tcp 127.0.0.1:46671->127.0.0.1:35676: use of closed network connection BenchmarkClientServerParallel/64/h2-4 27 5130451 ns/op 104828 B/op 1234 allocs/op --- BENCH: BenchmarkClientServerParallel/64/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42172: write tcp 127.0.0.1:44569->127.0.0.1:42172: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42190: write tcp 127.0.0.1:44569->127.0.0.1:42190: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:34334: read tcp 127.0.0.1:36755->127.0.0.1:34334: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:34214: read tcp 127.0.0.1:36755->127.0.0.1:34214: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:34298: read tcp 127.0.0.1:36755->127.0.0.1:34298: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:34316: read tcp 127.0.0.1:36755->127.0.0.1:34316: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:34330: write tcp 127.0.0.1:36755->127.0.0.1:34330: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:34244: read tcp 127.0.0.1:36755->127.0.0.1:34244: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:34230: write tcp 127.0.0.1:36755->127.0.0.1:34230: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:34358: write tcp 127.0.0.1:36755->127.0.0.1:34358: use of closed network connection ... [output truncated] BenchmarkServer-4 1 1033971037 ns/op 28088 B/op 143 allocs/op BenchmarkClient-4 292 426298 ns/op 3726 B/op 45 allocs/op BenchmarkServerFakeConnNoKeepAlive-4 682 178953 ns/op 7344 B/op 54 allocs/op BenchmarkServerFakeConnWithKeepAlive-4 1189 101076 ns/op 3054 B/op 24 allocs/op BenchmarkServerFakeConnWithKeepAliveLite-4 1419 76466 ns/op 1892 B/op 14 allocs/op BenchmarkServerHandlerTypeLen-4 1372 87663 ns/op 2770 B/op 21 allocs/op BenchmarkServerHandlerNoLen-4 1646 75671 ns/op 2650 B/op 19 allocs/op BenchmarkServerHandlerNoType-4 1549 81001 ns/op 2677 B/op 20 allocs/op BenchmarkServerHandlerNoHeader-4 1633 73986 ns/op 1890 B/op 14 allocs/op BenchmarkServerHijack-4 986 121011 ns/op 16745 B/op 50 allocs/op BenchmarkCloseNotifier/h1-4 388 309811 ns/op 5906 B/op 52 allocs/op BenchmarkResponseStatusLine-4 470814 224.5 ns/op 0 B/op 0 allocs/op PASS ok net/http 15.414s ##### 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 7294 14894 ns/op 34072 B/op 12 allocs/op PASS ok net/http/httputil 1.208s goos: linux goarch: amd64 pkg: net/netip cpu: AMD EPYC 7B12 BenchmarkIPNextPrev-4 136604 887.8 ns/op BenchmarkBinaryMarshalRoundTrip/ipv4-4 844172 132.9 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6-4 278236 411.6 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6+zone-4 98092 1252 ns/op BenchmarkStdIPv4-4 156674 737.4 ns/op 16 B/op 1 allocs/op BenchmarkIPv4-4 134185 875.9 ns/op 0 B/op 0 allocs/op BenchmarkIPv4_inline-4 132243 901.1 ns/op 0 B/op 0 allocs/op BenchmarkStdIPv6-4 104390 1129 ns/op 16 B/op 1 allocs/op BenchmarkIPv6-4 101112 1164 ns/op 0 B/op 0 allocs/op BenchmarkIPv4Contains-4 2411948 50.39 ns/op 0 B/op 0 allocs/op BenchmarkIPv6Contains-4 2138702 56.41 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v4-4 1591488 76.07 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6-4 358531 311.7 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_ellipsis-4 387198 278.6 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_v4-4 360721 315.6 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_zone-4 123843 1002 ns/op 0 B/op 0 allocs/op BenchmarkStdParseIP/v4-4 414883 273.5 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6-4 201867 543.9 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_ellipsis-4 222403 519.6 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_v4-4 214903 548.9 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_zone-4 112130 1095 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v4-4 496365 224.2 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v6-4 174571 637.9 ns/op 48 B/op 1 allocs/op BenchmarkIPString/v6_ellipsis-4 244984 478.3 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_v4-4 377415 317.0 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_zone-4 224004 515.3 ns/op 24 B/op 1 allocs/op BenchmarkIPStringExpanded/v4-4 467023 248.4 ns/op 16 B/op 1 allocs/op BenchmarkIPStringExpanded/v6-4 213651 558.4 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_ellipsis-4 196866 564.6 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_v4-4 213832 558.0 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_zone-4 163066 702.8 ns/op 128 B/op 2 allocs/op BenchmarkIPMarshalText-4 730062 165.6 ns/op 16 B/op 1 allocs/op BenchmarkAddrPortString/v4-4 235545 503.7 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortString/v6-4 139406 837.1 ns/op 112 B/op 3 allocs/op BenchmarkAddrPortString/v6_ellipsis-4 170826 653.0 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_v4-4 247017 481.4 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_zone-4 165511 731.5 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortMarshalText/v4-4 425841 284.5 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6-4 180325 656.9 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_ellipsis-4 202096 558.8 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_v4-4 290960 398.5 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_zone-4 197754 595.5 ns/op 64 B/op 1 allocs/op BenchmarkPrefixMasking/IPv4_/32-4 1641742 76.43 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/17-4 1503741 79.11 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/0-4 1532718 75.91 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/128-4 1365577 87.59 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/65-4 1468190 88.64 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/0-4 1377470 87.79 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/128-4 1377723 81.66 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/65-4 1377501 82.81 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/0-4 1373067 87.78 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMarshalText-4 504158 212.8 ns/op 24 B/op 1 allocs/op BenchmarkParseAddrPort/v4-4 849960 143.0 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6-4 292834 395.1 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_ellipsis-4 314563 365.1 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_v4-4 285277 405.7 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_zone-4 112591 1076 ns/op 0 B/op 0 allocs/op BenchmarkAs16-4 650047 163.5 ns/op PASS ok net/netip 9.278s 2023/05/25 00:37:11 Test RPC server listening on 127.0.0.1:43939 2023/05/25 00:37:11 Test HTTP RPC server listening on 127.0.0.1:37045 goos: linux goarch: amd64 pkg: net/rpc cpu: AMD EPYC 7B12 BenchmarkEndToEnd-4 1448 70598 ns/op BenchmarkEndToEndHTTP-4 1687 66061 ns/op BenchmarkEndToEndAsync-4 3534 34373 ns/op BenchmarkEndToEndAsyncHTTP-4 3460 32097 ns/op PASS ok net/rpc 1.676s goos: linux goarch: amd64 pkg: net/textproto cpu: AMD EPYC 7B12 BenchmarkReadMIMEHeader/client_headers-4 4819 21621 ns/op BenchmarkReadMIMEHeader/server_headers-4 8229 14855 ns/op BenchmarkUncommon-4 37510 3323 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 6226 17157 ns/op 1616 B/op 60 allocs/op BenchmarkResolvePath-4 136854 880.8 ns/op 32 B/op 2 allocs/op BenchmarkQueryEscape/#00-4 867835 132.3 ns/op 16 B/op 1 allocs/op BenchmarkQueryEscape/#01-4 134535 878.3 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#02-4 250881 485.4 ns/op 32 B/op 1 allocs/op BenchmarkQueryEscape/#03-4 117481 1000 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#04-4 20941 5637 ns/op 832 B/op 2 allocs/op BenchmarkPathEscape/#00-4 572679 206.3 ns/op 16 B/op 1 allocs/op BenchmarkPathEscape/#01-4 133159 907.2 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#02-4 255315 472.8 ns/op 32 B/op 1 allocs/op BenchmarkPathEscape/#03-4 103558 983.9 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#04-4 22862 5145 ns/op 704 B/op 2 allocs/op BenchmarkQueryUnescape/#00-4 277093 437.1 ns/op 16 B/op 1 allocs/op BenchmarkQueryUnescape/#01-4 110785 1105 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#02-4 105930 1152 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#03-4 45866 2543 ns/op 64 B/op 1 allocs/op BenchmarkQueryUnescape/#04-4 8211 14746 ns/op 320 B/op 1 allocs/op BenchmarkPathUnescape/#00-4 274608 454.1 ns/op 16 B/op 1 allocs/op BenchmarkPathUnescape/#01-4 112506 1084 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#02-4 106035 1160 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#03-4 47044 2722 ns/op 64 B/op 1 allocs/op BenchmarkPathUnescape/#04-4 7940 13975 ns/op 320 B/op 1 allocs/op PASS ok net/url 4.150s goos: linux goarch: amd64 pkg: os cpu: AMD EPYC 7B12 BenchmarkExpand/noop-4 4554392 27.23 ns/op 0 B/op 0 allocs/op BenchmarkExpand/multiple-4 266481 437.0 ns/op 48 B/op 2 allocs/op BenchmarkReaddirname-4 1135 100950 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 411 291660 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 949 126287 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 106674 1095 ns/op BenchmarkStatFile-4 83344 1407 ns/op BenchmarkStatDir-4 87366 1334 ns/op BenchmarkLstatDot-4 107618 1117 ns/op BenchmarkLstatFile-4 83637 1419 ns/op BenchmarkLstatDir-4 87031 1335 ns/op PASS ok os 2.506s goos: linux goarch: amd64 pkg: os/exec cpu: AMD EPYC 7B12 BenchmarkExecHostname-4 276 419387 ns/op 6759 B/op 30 allocs/op PASS ok os/exec 1.172s goos: linux goarch: amd64 pkg: os/user cpu: AMD EPYC 7B12 BenchmarkCurrent-4 686100 172.8 ns/op PASS ok os/user 1.226s ##### 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 3696774 32.06 ns/op BenchmarkString-4 2298966 52.04 ns/op BenchmarkBytes-4 1934188 61.98 ns/op BenchmarkNamedBytes-4 1000000 107.9 ns/op BenchmarkBytesArray-4 704842 165.2 ns/op BenchmarkSliceLen-4 2259511 52.86 ns/op BenchmarkMapLen-4 896200 127.9 ns/op BenchmarkStringLen-4 1792545 67.34 ns/op BenchmarkArrayLen-4 1233524 97.08 ns/op BenchmarkSliceCap-4 2488015 48.14 ns/op BenchmarkDeepEqual/int8-4 467268 254.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int8-4 92575 1309 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int16-4 398550 294.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int16-4 88558 1334 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int32-4 388754 296.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int32-4 90472 1344 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int64-4 397612 296.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int64-4 89479 1345 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int-4 394821 295.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int-4 89727 1340 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint8-4 453439 253.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8-4 121297 993.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint16-4 392272 300.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint16-4 86115 1347 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint32-4 382104 303.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint32-4 88382 1352 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint64-4 390332 304.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint64-4 84843 1351 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint-4 400755 299.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint-4 88082 1332 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uintptr-4 391456 299.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uintptr-4 88924 1341 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float32-4 381438 304.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float32-4 87043 1362 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float64-4 389720 309.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float64-4 87080 1333 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex64-4 389318 293.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex64-4 88134 1353 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex128-4 397250 297.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex128-4 85166 1351 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/bool-4 462462 248.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]bool-4 91029 1306 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/string-4 398078 298.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]string-4 87595 1366 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8#01-4 114853 980.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][]uint8-4 58500 2123 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[6]uint8-4 43270 2639 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][6]uint8-4 32883 3687 ns/op 0 B/op 0 allocs/op BenchmarkIsZero/ArrayComparable-4 262341 444.4 ns/op BenchmarkIsZero/ArrayIncomparable-4 30672 3930 ns/op BenchmarkIsZero/StructComparable-4 559302 213.6 ns/op BenchmarkIsZero/StructIncomparable-4 139027 858.4 ns/op BenchmarkSetZero/Bool/Direct-4 4231057 28.20 ns/op BenchmarkSetZero/Bool/CachedZero-4 812073 138.9 ns/op BenchmarkSetZero/Bool/NewZero-4 639276 180.9 ns/op BenchmarkSetZero/Int/Direct-4 2489660 47.96 ns/op BenchmarkSetZero/Int/CachedZero-4 841212 136.6 ns/op BenchmarkSetZero/Int/NewZero-4 630519 179.9 ns/op BenchmarkSetZero/Uint/Direct-4 2482962 47.20 ns/op BenchmarkSetZero/Uint/CachedZero-4 812877 137.4 ns/op BenchmarkSetZero/Uint/NewZero-4 648115 180.7 ns/op BenchmarkSetZero/Float/Direct-4 2477505 48.04 ns/op BenchmarkSetZero/Float/CachedZero-4 842546 138.4 ns/op BenchmarkSetZero/Float/NewZero-4 643058 180.0 ns/op BenchmarkSetZero/Complex/Direct-4 2443982 49.22 ns/op BenchmarkSetZero/Complex/CachedZero-4 842910 137.3 ns/op BenchmarkSetZero/Complex/NewZero-4 622101 184.2 ns/op BenchmarkSetZero/Array/Direct-4 2204398 54.06 ns/op BenchmarkSetZero/Array/CachedZero-4 802239 135.7 ns/op BenchmarkSetZero/Array/NewZero-4 621757 177.0 ns/op BenchmarkSetZero/Chan/Direct-4 2518771 48.32 ns/op BenchmarkSetZero/Chan/CachedZero-4 803130 142.1 ns/op BenchmarkSetZero/Chan/NewZero-4 605578 184.8 ns/op BenchmarkSetZero/Func/Direct-4 2459527 48.09 ns/op BenchmarkSetZero/Func/CachedZero-4 844003 142.1 ns/op BenchmarkSetZero/Func/NewZero-4 638140 179.0 ns/op BenchmarkSetZero/Interface/Direct-4 2236813 53.52 ns/op BenchmarkSetZero/Interface/CachedZero-4 832281 136.0 ns/op BenchmarkSetZero/Interface/NewZero-4 622390 179.6 ns/op BenchmarkSetZero/Map/Direct-4 2447325 54.31 ns/op BenchmarkSetZero/Map/CachedZero-4 814800 142.8 ns/op BenchmarkSetZero/Map/NewZero-4 625112 182.1 ns/op BenchmarkSetZero/Pointer/Direct-4 2504500 47.50 ns/op BenchmarkSetZero/Pointer/CachedZero-4 802525 145.4 ns/op BenchmarkSetZero/Pointer/NewZero-4 620553 182.2 ns/op BenchmarkSetZero/Slice/Direct-4 2148007 55.95 ns/op BenchmarkSetZero/Slice/CachedZero-4 839180 137.4 ns/op BenchmarkSetZero/Slice/NewZero-4 631044 179.4 ns/op BenchmarkSetZero/String/Direct-4 2446051 47.90 ns/op BenchmarkSetZero/String/CachedZero-4 847470 136.3 ns/op BenchmarkSetZero/String/NewZero-4 633415 179.8 ns/op BenchmarkSetZero/Struct/Direct-4 2262846 52.49 ns/op BenchmarkSetZero/Struct/CachedZero-4 793748 138.7 ns/op BenchmarkSetZero/Struct/NewZero-4 613808 183.1 ns/op BenchmarkSelect/1-4 140203 810.0 ns/op 80 B/op 5 allocs/op BenchmarkSelect/4-4 66531 1741 ns/op 208 B/op 8 allocs/op BenchmarkSelect/8-4 33748 3375 ns/op 672 B/op 13 allocs/op BenchmarkCall-4 184272 570.6 ns/op 0 B/op 0 allocs/op BenchmarkCallMethod-4 153109 778.7 ns/op 0 B/op 0 allocs/op BenchmarkCallArgCopy/size=128-4 110907 945.4 ns/op 135.39 MB/s BenchmarkCallArgCopy/size=256-4 111483 1082 ns/op 236.65 MB/s BenchmarkCallArgCopy/size=1024-4 73219 1740 ns/op 588.52 MB/s BenchmarkCallArgCopy/size=4096-4 31476 4176 ns/op 980.93 MB/s BenchmarkCallArgCopy/size=65536-4 2470 47080 ns/op 1392.01 MB/s BenchmarkFieldByName1-4 1118892 105.6 ns/op BenchmarkFieldByName2-4 86078 1535 ns/op BenchmarkFieldByName3-4 10347 11284 ns/op BenchmarkInterfaceBig-4 3466622 34.09 ns/op BenchmarkInterfaceSmall-4 3877330 30.21 ns/op BenchmarkNew-4 2098288 71.24 ns/op BenchmarkMap/StringKeys/MapIndex-4 2356 51103 ns/op 0 B/op 0 allocs/op BenchmarkMap/StringKeys/SetMapIndex-4 1785 62350 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/MapIndex-4 2254 51593 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/SetMapIndex-4 1932 62477 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/MapIndex-4 2180 51273 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/SetMapIndex-4 1998 60820 ns/op 0 B/op 0 allocs/op BenchmarkMapIterNext-4 217470 551.2 ns/op PASS ok reflect 17.712s ##### 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 cpu: AMD EPYC 7B12 BenchmarkFind-4 17766 6617 ns/op 9260 B/op 1 allocs/op BenchmarkFindAllNoMatches-4 24230 4802 ns/op 9294 B/op 1 allocs/op BenchmarkFindString-4 18840 6309 ns/op 9489 B/op 1 allocs/op BenchmarkFindSubmatch-4 16429 6885 ns/op 9333 B/op 2 allocs/op BenchmarkFindStringSubmatch-4 16564 6180 ns/op 9237 B/op 2 allocs/op BenchmarkLiteral-4 29149 3888 ns/op BenchmarkNotLiteral-4 5390 18991 ns/op BenchmarkMatchClass-4 4604 25973 ns/op BenchmarkMatchClass_InRange-4 4354 25099 ns/op BenchmarkReplaceAll-4 3753 28548 ns/op BenchmarkAnchoredLiteralShortNonMatch-4 29346 3995 ns/op BenchmarkAnchoredLiteralLongNonMatch-4 58425 2058 ns/op BenchmarkAnchoredShortMatch-4 23362 5114 ns/op BenchmarkAnchoredLongMatch-4 29053 4017 ns/op BenchmarkOnePassShortA-4 30003 4412 ns/op BenchmarkNotOnePassShortA-4 12548 9512 ns/op BenchmarkOnePassShortB-4 38473 3192 ns/op BenchmarkNotOnePassShortB-4 15244 7356 ns/op BenchmarkOnePassLongPrefix-4 120189 1076 ns/op BenchmarkOnePassLongNotPrefix-4 43438 2782 ns/op BenchmarkMatchParallelShared-4 25575 4712 ns/op BenchmarkMatchParallelCopied-4 22447 5043 ns/op BenchmarkQuoteMetaAll-4 243316 495.8 ns/op 28.23 MB/s BenchmarkQuoteMetaNone-4 444384 256.8 ns/op 101.23 MB/s BenchmarkCompile/Onepass-4 6111 19086 ns/op 4144 B/op 52 allocs/op BenchmarkCompile/Medium-4 2517 46853 ns/op 9704 B/op 112 allocs/op BenchmarkCompile/Hard-4 290 433330 ns/op 84760 B/op 424 allocs/op BenchmarkMatch/Easy0/16-4 5363068 22.78 ns/op 702.32 MB/s BenchmarkMatch/Easy0/32-4 24542 4478 ns/op 7.15 MB/s BenchmarkMatch/Easy0/1K-4 10000 12057 ns/op 84.93 MB/s BenchmarkMatch/Easy0i/16-4 5256234 22.73 ns/op 704.03 MB/s BenchmarkMatch/Easy0i/32-4 7507 14491 ns/op 2.21 MB/s BenchmarkMatch/Easy0i/1K-4 380 311868 ns/op 3.28 MB/s BenchmarkMatch/Easy1/16-4 5293257 22.60 ns/op 707.85 MB/s BenchmarkMatch/Easy1/32-4 26719 4467 ns/op 7.16 MB/s BenchmarkMatch/Easy1/1K-4 6290 16725 ns/op 61.23 MB/s BenchmarkMatch/Medium/16-4 5381629 23.35 ns/op 685.30 MB/s BenchmarkMatch/Medium/32-4 7982 12952 ns/op 2.47 MB/s BenchmarkMatch/Medium/1K-4 432 278520 ns/op 3.68 MB/s BenchmarkMatch/Hard/16-4 5378558 22.34 ns/op 716.11 MB/s BenchmarkMatch/Hard/32-4 5632 21170 ns/op 1.51 MB/s BenchmarkMatch/Hard/1K-4 232 474704 ns/op 2.16 MB/s BenchmarkMatch/Hard1/16-4 2112 57244 ns/op 0.28 MB/s BenchmarkMatch/Hard1/32-4 1173 102813 ns/op 0.31 MB/s BenchmarkMatch/Hard1/1K-4 38 2945706 ns/op 0.35 MB/s BenchmarkMatch_onepass_regex/16-4 43839 2741 ns/op 5.84 MB/s 23 B/op 0 allocs/op BenchmarkMatch_onepass_regex/32-4 23712 4581 ns/op 6.98 MB/s 24 B/op 0 allocs/op BenchmarkMatch_onepass_regex/1K-4 999 123188 ns/op 8.31 MB/s 24 B/op 0 allocs/op PASS ok regexp 8.297s goos: linux goarch: amd64 pkg: regexp/syntax cpu: AMD EPYC 7B12 BenchmarkEmptyOpContext-4 836300 130.6 ns/op BenchmarkIsWordChar-4 226545 516.3 ns/op PASS ok regexp/syntax 2.016s ##### 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 69608 1714 ns/op BenchmarkCallers/inlined-4 52586 2285 ns/op BenchmarkCallers/no-cache-4 10000 10158 ns/op BenchmarkFPCallers/cached-4 2843798 42.15 ns/op BenchmarkMakeChan/Byte-4 1121323 107.1 ns/op BenchmarkMakeChan/Int-4 822738 130.7 ns/op BenchmarkMakeChan/Ptr-4 546831 219.1 ns/op BenchmarkMakeChan/Struct/0-4 931839 112.9 ns/op BenchmarkMakeChan/Struct/32-4 515677 246.0 ns/op BenchmarkMakeChan/Struct/40-4 380481 292.9 ns/op BenchmarkChanNonblocking-4 12292345 9.812 ns/op BenchmarkSelectUncontended-4 820164 134.3 ns/op BenchmarkSelectSyncContended-4 29793 4096 ns/op BenchmarkSelectAsyncContended-4 96091 1227 ns/op BenchmarkSelectNonblock-4 6072156 18.72 ns/op BenchmarkChanUncontended-4 9957 11286 ns/op BenchmarkChanContended-4 1298 95975 ns/op BenchmarkChanSync-4 164224 704.3 ns/op BenchmarkChanSyncWork-4 10000 36157 ns/op BenchmarkChanProdCons0-4 79825 1592 ns/op BenchmarkChanProdCons10-4 101259 1329 ns/op BenchmarkChanProdCons100-4 101528 1099 ns/op BenchmarkChanProdConsWork0-4 67177 1768 ns/op BenchmarkChanProdConsWork10-4 79788 1639 ns/op BenchmarkChanProdConsWork100-4 79964 1478 ns/op BenchmarkSelectProdCons-4 62348 2045 ns/op BenchmarkReceiveDataFromClosedChan-4 651655 183.7 ns/op BenchmarkChanCreation-4 210476 541.8 ns/op BenchmarkChanSem-4 122092 950.6 ns/op BenchmarkChanPopular-4 100 1185806 ns/op BenchmarkChanClosed-4 643407 220.8 ns/op BenchmarkCallClosure-4 6561891 18.28 ns/op BenchmarkCallClosure1-4 6572545 17.84 ns/op BenchmarkCallClosure2-4 1353172 85.63 ns/op BenchmarkCallClosure3-4 1405728 77.73 ns/op BenchmarkCallClosure4-4 1369681 90.45 ns/op BenchmarkComplex128DivNormal-4 10069975 11.51 ns/op BenchmarkComplex128DivNisNaN-4 7587709 14.94 ns/op BenchmarkComplex128DivDisNaN-4 7271967 15.04 ns/op BenchmarkComplex128DivNisInf-4 9490846 11.80 ns/op BenchmarkComplex128DivDisInf-4 5701222 20.06 ns/op BenchmarkSetTypePtr-4 44950200 2.655 ns/op 3013.71 MB/s BenchmarkSetTypePtr8-4 9619154 12.47 ns/op 5131.51 MB/s BenchmarkSetTypePtr16-4 9337404 12.48 ns/op 10256.06 MB/s BenchmarkSetTypePtr32-4 9619756 12.45 ns/op 20565.77 MB/s BenchmarkSetTypePtr64-4 9527060 12.51 ns/op 40940.52 MB/s BenchmarkSetTypePtr126-4 5663943 21.12 ns/op 47737.99 MB/s BenchmarkSetTypePtr128-4 5782660 20.50 ns/op 49958.68 MB/s BenchmarkSetTypePtrSlice-4 722757 164.8 ns/op 49722.85 MB/s BenchmarkSetTypeNode1-4 9486547 12.57 ns/op 1909.07 MB/s BenchmarkSetTypeNode1Slice-4 2997400 40.57 ns/op 18931.01 MB/s BenchmarkSetTypeNode8-4 9658360 12.53 ns/op 6382.91 MB/s BenchmarkSetTypeNode8Slice-4 1532430 78.03 ns/op 32805.95 MB/s BenchmarkSetTypeNode64-4 5634716 21.13 ns/op 24992.00 MB/s BenchmarkSetTypeNode64Slice-4 227683 526.5 ns/op 32088.79 MB/s BenchmarkSetTypeNode64Dead-4 7513810 15.84 ns/op 33339.96 MB/s BenchmarkSetTypeNode64DeadSlice-4 255034 463.8 ns/op 36428.91 MB/s BenchmarkSetTypeNode124-4 5660997 21.25 ns/op 47425.04 MB/s BenchmarkSetTypeNode124Slice-4 179275 672.6 ns/op 47957.45 MB/s BenchmarkSetTypeNode126-4 5806647 20.64 ns/op 49603.82 MB/s BenchmarkSetTypeNode126Slice-4 174211 670.5 ns/op 48874.27 MB/s BenchmarkSetTypeNode128-4 4031604 29.64 ns/op 35086.80 MB/s BenchmarkSetTypeNode128Slice-4 137383 839.1 ns/op 39659.33 MB/s BenchmarkSetTypeNode130-4 3987325 29.70 ns/op 35553.93 MB/s BenchmarkSetTypeNode130Slice-4 140529 854.1 ns/op 39562.53 MB/s BenchmarkSetTypeNode1024-4 757764 156.4 ns/op 52495.31 MB/s BenchmarkSetTypeNode1024Slice-4 24055 4934 ns/op 53236.02 MB/s BenchmarkAllocation-4 3525 42282 ns/op BenchmarkReadMemStats-4 6118 18536 ns/op BenchmarkReadMemStatsLatency-4 1 60110 p50-ns 60110 p90-ns 60110 p99-ns BenchmarkWriteBarrier-4 2781756 42.57 ns/op BenchmarkBulkWriteBarrier-4 6281078 17.89 ns/op BenchmarkScanStackNoLocals-4 3 50005905 ns/op BenchmarkMSpanCountAlloc/bits=64-4 10653464 10.02 ns/op BenchmarkMSpanCountAlloc/bits=128-4 10664242 10.72 ns/op BenchmarkMSpanCountAlloc/bits=256-4 9597991 12.59 ns/op BenchmarkMSpanCountAlloc/bits=512-4 7085631 16.34 ns/op BenchmarkMSpanCountAlloc/bits=1024-4 4469758 25.42 ns/op BenchmarkHash5-4 5976261 19.71 ns/op 253.68 MB/s BenchmarkHash16-4 6503652 17.28 ns/op 925.75 MB/s BenchmarkHash64-4 5889824 19.29 ns/op 3317.15 MB/s BenchmarkHash1024-4 1922750 61.69 ns/op 16598.24 MB/s BenchmarkHash65536-4 38104 3121 ns/op 21000.55 MB/s BenchmarkAlignedLoad-4 8645356 14.05 ns/op BenchmarkUnalignedLoad-4 7864136 14.86 ns/op BenchmarkEqEfaceConcrete-4 6007311 19.87 ns/op BenchmarkEqIfaceConcrete-4 6741349 17.71 ns/op BenchmarkNeEfaceConcrete-4 6710778 17.76 ns/op BenchmarkNeIfaceConcrete-4 6423034 18.56 ns/op BenchmarkConvT2EByteSized/bool-4 6672213 17.84 ns/op BenchmarkConvT2EByteSized/uint8-4 6651625 17.82 ns/op BenchmarkConvT2ESmall-4 5871252 20.29 ns/op BenchmarkConvT2EUintptr-4 5732444 20.91 ns/op BenchmarkConvT2ELarge-4 1206676 100.6 ns/op BenchmarkConvT2ISmall-4 5873082 20.48 ns/op BenchmarkConvT2IUintptr-4 5748021 21.14 ns/op BenchmarkConvT2ILarge-4 1000000 101.9 ns/op BenchmarkConvI2E-4 5002765 23.21 ns/op BenchmarkConvI2I-4 3967081 30.13 ns/op BenchmarkAssertE2T-4 5033278 23.97 ns/op BenchmarkAssertE2TLarge-4 2340817 50.64 ns/op BenchmarkAssertE2I-4 4275718 27.93 ns/op BenchmarkAssertI2T-4 4965790 24.10 ns/op BenchmarkAssertI2I-4 4389681 27.45 ns/op BenchmarkAssertI2E-4 5917551 20.21 ns/op BenchmarkAssertE2E-4 5920266 19.66 ns/op BenchmarkAssertE2T2-4 3927642 29.79 ns/op BenchmarkAssertE2T2Blank-4 4641571 25.68 ns/op BenchmarkAssertI2E2-4 4536002 26.41 ns/op BenchmarkAssertI2E2Blank-4 5975245 20.06 ns/op BenchmarkAssertE2E2-4 4500361 26.42 ns/op BenchmarkAssertE2E2Blank-4 5963742 20.13 ns/op BenchmarkConvT2Ezero/zero/16-4 5785244 20.28 ns/op BenchmarkConvT2Ezero/zero/32-4 5908567 20.28 ns/op BenchmarkConvT2Ezero/zero/64-4 5711944 20.76 ns/op BenchmarkConvT2Ezero/zero/str-4 5837488 20.46 ns/op BenchmarkConvT2Ezero/zero/slice-4 5694250 21.25 ns/op BenchmarkConvT2Ezero/zero/big-4 245047 507.3 ns/op BenchmarkConvT2Ezero/nonzero/str-4 1362122 93.14 ns/op BenchmarkConvT2Ezero/nonzero/slice-4 1280364 98.34 ns/op BenchmarkConvT2Ezero/nonzero/big-4 280737 491.4 ns/op BenchmarkConvT2Ezero/smallint/16-4 5822462 20.29 ns/op BenchmarkConvT2Ezero/smallint/32-4 5887928 20.42 ns/op BenchmarkConvT2Ezero/smallint/64-4 5908573 20.46 ns/op BenchmarkConvT2Ezero/largeint/16-4 1694168 70.16 ns/op BenchmarkConvT2Ezero/largeint/32-4 1686236 73.77 ns/op BenchmarkConvT2Ezero/largeint/64-4 1673043 65.03 ns/op BenchmarkMalloc8-4 1562974 80.64 ns/op BenchmarkMalloc16-4 1328229 87.87 ns/op BenchmarkMallocTypeInfo8-4 1394085 84.10 ns/op BenchmarkMallocTypeInfo16-4 1244380 97.11 ns/op BenchmarkMallocLargeStruct-4 141514 723.7 ns/op BenchmarkGoroutineSelect-4 69 1916611 ns/op BenchmarkGoroutineBlocking-4 64 1869034 ns/op BenchmarkGoroutineForRange-4 74 1928327 ns/op BenchmarkGoroutineIdle-4 93 1734048 ns/op BenchmarkHashStringSpeed-4 2539471 43.97 ns/op BenchmarkHashBytesSpeed-4 1464393 80.37 ns/op BenchmarkHashInt32Speed-4 3341065 35.14 ns/op BenchmarkHashInt64Speed-4 3454716 37.86 ns/op BenchmarkHashStringArraySpeed-4 625740 190.6 ns/op BenchmarkMegMap-4 3308175 36.01 ns/op BenchmarkMegOneMap-4 3980593 28.64 ns/op BenchmarkMegEqMap-4 1406 84835 ns/op BenchmarkMegEmptyMap-4 4812379 24.98 ns/op BenchmarkSmallStrMap-4 3413668 34.61 ns/op BenchmarkMapStringKeysEight_16-4 3554788 34.02 ns/op BenchmarkMapStringKeysEight_32-4 3482938 33.50 ns/op BenchmarkMapStringKeysEight_64-4 3309513 35.02 ns/op BenchmarkMapStringKeysEight_1M-4 3391998 35.27 ns/op BenchmarkIntMap-4 4151127 30.18 ns/op BenchmarkMapFirst/1-4 4960665 24.13 ns/op BenchmarkMapFirst/2-4 4751115 24.56 ns/op BenchmarkMapFirst/3-4 4910905 24.06 ns/op BenchmarkMapFirst/4-4 4749105 25.01 ns/op BenchmarkMapFirst/5-4 4638583 24.99 ns/op BenchmarkMapFirst/6-4 4505852 25.62 ns/op BenchmarkMapFirst/7-4 4815031 24.71 ns/op BenchmarkMapFirst/8-4 4311356 25.07 ns/op BenchmarkMapFirst/9-4 4151414 28.71 ns/op BenchmarkMapFirst/10-4 4055977 30.05 ns/op BenchmarkMapFirst/11-4 4039177 29.77 ns/op BenchmarkMapFirst/12-4 4165543 28.50 ns/op BenchmarkMapFirst/13-4 4146944 28.53 ns/op BenchmarkMapFirst/14-4 4016059 28.90 ns/op BenchmarkMapFirst/15-4 4119568 28.60 ns/op BenchmarkMapFirst/16-4 4135958 28.41 ns/op BenchmarkMapMid/1-4 3831883 30.14 ns/op BenchmarkMapMid/2-4 3886658 30.62 ns/op BenchmarkMapMid/3-4 3986578 30.89 ns/op BenchmarkMapMid/4-4 3731913 31.55 ns/op BenchmarkMapMid/5-4 3872046 30.59 ns/op BenchmarkMapMid/6-4 3694190 31.98 ns/op BenchmarkMapMid/7-4 3792964 31.63 ns/op BenchmarkMapMid/8-4 3470446 32.61 ns/op BenchmarkMapMid/9-4 3496476 34.78 ns/op BenchmarkMapMid/10-4 3308386 35.25 ns/op BenchmarkMapMid/11-4 3235495 34.98 ns/op BenchmarkMapMid/12-4 3294018 35.27 ns/op BenchmarkMapMid/13-4 3556062 33.27 ns/op BenchmarkMapMid/14-4 3349141 34.85 ns/op BenchmarkMapMid/15-4 3603813 34.19 ns/op BenchmarkMapMid/16-4 3424562 35.94 ns/op BenchmarkMapLast/1-4 3949094 30.77 ns/op BenchmarkMapLast/2-4 3877276 29.91 ns/op BenchmarkMapLast/3-4 3886989 30.97 ns/op BenchmarkMapLast/4-4 3659980 32.47 ns/op BenchmarkMapLast/5-4 3857420 31.11 ns/op BenchmarkMapLast/6-4 3707898 33.44 ns/op BenchmarkMapLast/7-4 3617238 32.66 ns/op BenchmarkMapLast/8-4 3386260 34.91 ns/op BenchmarkMapLast/9-4 3446757 35.86 ns/op BenchmarkMapLast/10-4 3327414 37.11 ns/op BenchmarkMapLast/11-4 3430188 34.56 ns/op BenchmarkMapLast/12-4 3051423 37.10 ns/op BenchmarkMapLast/13-4 3239476 36.46 ns/op BenchmarkMapLast/14-4 3456762 35.74 ns/op BenchmarkMapLast/15-4 3383560 34.94 ns/op BenchmarkMapLast/16-4 3224533 35.29 ns/op BenchmarkMapCycle-4 2008316 59.58 ns/op BenchmarkRepeatedLookupStrMapKey32-4 3510141 33.93 ns/op BenchmarkRepeatedLookupStrMapKey1M-4 2197 50877 ns/op BenchmarkMakeMap/[Byte]Byte-4 514594 202.5 ns/op BenchmarkMakeMap/[Int]Int-4 257779 403.5 ns/op BenchmarkNewEmptyMap-4 13913887 8.533 ns/op 0 B/op 0 allocs/op BenchmarkNewSmallMap-4 1685995 69.63 ns/op 0 B/op 0 allocs/op BenchmarkMapIter-4 459847 243.7 ns/op BenchmarkMapIterEmpty-4 5642090 21.41 ns/op BenchmarkSameLengthMap-4 4609442 24.91 ns/op BenchmarkBigKeyMap-4 1693210 72.02 ns/op BenchmarkBigValMap-4 1466815 80.73 ns/op BenchmarkSmallKeyMap-4 2963804 40.76 ns/op BenchmarkMapPopulate/1-4 2346964 51.76 ns/op 0 B/op 0 allocs/op BenchmarkMapPopulate/10-4 124878 924.5 ns/op 179 B/op 1 allocs/op BenchmarkMapPopulate/100-4 6229 17392 ns/op 6276 B/op 15 allocs/op BenchmarkMapPopulate/1000-4 708 167742 ns/op 51779 B/op 56 allocs/op BenchmarkMapPopulate/10000-4 52 2468534 ns/op 416421 B/op 203 allocs/op BenchmarkMapPopulate/100000-4 3 38120912 ns/op 6528354 B/op 2907 allocs/op BenchmarkComplexAlgMap-4 419510 238.8 ns/op BenchmarkGoMapClear/Reflexive/1-4 713996 162.6 ns/op BenchmarkGoMapClear/Reflexive/10-4 622134 183.4 ns/op BenchmarkGoMapClear/Reflexive/100-4 228279 514.7 ns/op BenchmarkGoMapClear/Reflexive/1000-4 41167 2897 ns/op BenchmarkGoMapClear/Reflexive/10000-4 5402 22169 ns/op BenchmarkGoMapClear/NonReflexive/1-4 516705 214.9 ns/op BenchmarkGoMapClear/NonReflexive/10-4 477577 245.1 ns/op BenchmarkGoMapClear/NonReflexive/100-4 207844 564.6 ns/op BenchmarkGoMapClear/NonReflexive/1000-4 39594 3021 ns/op BenchmarkGoMapClear/NonReflexive/10000-4 5365 22354 ns/op BenchmarkMapStringConversion/32/simple-4 1799052 67.81 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/struct-4 1751512 70.32 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/array-4 1523260 74.00 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/simple-4 1679571 71.74 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/struct-4 1597243 72.96 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/array-4 1488729 84.39 ns/op 0 B/op 0 allocs/op BenchmarkMapInterfaceString-4 1856895 71.07 ns/op BenchmarkMapInterfacePtr-4 1954852 63.60 ns/op BenchmarkNewEmptyMapHintLessThan8-4 4917048 23.76 ns/op 0 B/op 0 allocs/op BenchmarkNewEmptyMapHintGreaterThan8-4 118087 917.3 ns/op 1152 B/op 1 allocs/op BenchmarkMapPop100-4 5576 21981 ns/op BenchmarkMapPop1000-4 376 325499 ns/op BenchmarkMapPop10000-4 18 5779930 ns/op BenchmarkMapAssign/Int32/256-4 2364608 51.29 ns/op BenchmarkMapAssign/Int32/65536-4 909451 133.1 ns/op BenchmarkMapAssign/Int64/256-4 2309791 56.35 ns/op BenchmarkMapAssign/Int64/65536-4 621710 168.0 ns/op BenchmarkMapAssign/Str/256-4 1924122 63.59 ns/op BenchmarkMapAssign/Str/65536-4 391924 285.5 ns/op BenchmarkMapOperatorAssign/Int32/256-4 1525230 78.93 ns/op BenchmarkMapOperatorAssign/Int32/65536-4 570026 191.0 ns/op BenchmarkMapOperatorAssign/Int64/256-4 1516149 80.12 ns/op BenchmarkMapOperatorAssign/Int64/65536-4 459828 221.5 ns/op BenchmarkMapOperatorAssign/Str/256-4 474589 2604 ns/op BenchmarkMapOperatorAssign/Str/65536-4 163261 655.6 ns/op BenchmarkMapAppendAssign/Int32/256-4 858144 162.4 ns/op 26 B/op 0 allocs/op BenchmarkMapAppendAssign/Int32/65536-4 160950 625.9 ns/op 73 B/op 1 allocs/op BenchmarkMapAppendAssign/Int64/256-4 799448 163.6 ns/op 28 B/op 0 allocs/op BenchmarkMapAppendAssign/Int64/65536-4 152274 659.7 ns/op 83 B/op 1 allocs/op BenchmarkMapAppendAssign/Str/256-4 632383 236.7 ns/op 48 B/op 0 allocs/op BenchmarkMapAppendAssign/Str/65536-4 96706 1116 ns/op 147 B/op 1 allocs/op BenchmarkMapDelete/Int32/100-4 1671026 73.45 ns/op BenchmarkMapDelete/Int32/1000-4 1857038 62.65 ns/op BenchmarkMapDelete/Int32/10000-4 1896368 64.83 ns/op BenchmarkMapDelete/Int64/100-4 1783804 69.19 ns/op BenchmarkMapDelete/Int64/1000-4 1925281 60.66 ns/op BenchmarkMapDelete/Int64/10000-4 1891436 66.98 ns/op BenchmarkMapDelete/Str/100-4 1000000 106.3 ns/op BenchmarkMapDelete/Str/1000-4 1398535 80.91 ns/op BenchmarkMapDelete/Str/10000-4 1415659 86.95 ns/op BenchmarkMapDelete/Pointer/100-4 1507514 83.14 ns/op BenchmarkMapDelete/Pointer/1000-4 1587942 67.84 ns/op BenchmarkMapDelete/Pointer/10000-4 1639465 71.02 ns/op BenchmarkMemmove/0-4 15889087 7.491 ns/op BenchmarkMemmove/1-4 1928071 62.08 ns/op 16.11 MB/s BenchmarkMemmove/2-4 1935410 64.16 ns/op 31.17 MB/s BenchmarkMemmove/3-4 1873069 62.93 ns/op 47.67 MB/s BenchmarkMemmove/4-4 1895445 64.78 ns/op 61.75 MB/s BenchmarkMemmove/5-4 1856191 62.67 ns/op 79.78 MB/s BenchmarkMemmove/6-4 1852460 63.94 ns/op 93.84 MB/s BenchmarkMemmove/7-4 1863823 64.18 ns/op 109.07 MB/s BenchmarkMemmove/8-4 1911477 62.49 ns/op 128.02 MB/s BenchmarkMemmove/9-4 1846398 64.53 ns/op 139.46 MB/s BenchmarkMemmove/10-4 1847805 66.30 ns/op 150.82 MB/s BenchmarkMemmove/11-4 1829073 65.46 ns/op 168.05 MB/s BenchmarkMemmove/12-4 1815859 65.70 ns/op 182.65 MB/s BenchmarkMemmove/13-4 1828780 65.26 ns/op 199.20 MB/s BenchmarkMemmove/14-4 1808655 65.20 ns/op 214.73 MB/s BenchmarkMemmove/15-4 1829336 64.60 ns/op 232.19 MB/s BenchmarkMemmove/16-4 1925032 61.96 ns/op 258.23 MB/s BenchmarkMemmove/32-4 1856241 65.65 ns/op 487.42 MB/s BenchmarkMemmove/64-4 1679667 70.71 ns/op 905.04 MB/s BenchmarkMemmove/128-4 1400865 85.94 ns/op 1489.42 MB/s BenchmarkMemmove/256-4 893698 132.9 ns/op 1926.74 MB/s BenchmarkMemmove/512-4 605941 184.2 ns/op 2779.10 MB/s BenchmarkMemmove/1024-4 383092 285.4 ns/op 3587.98 MB/s BenchmarkMemmove/2048-4 238651 496.0 ns/op 4129.28 MB/s BenchmarkMemmove/4096-4 129076 919.4 ns/op 4455.08 MB/s BenchmarkMemmoveOverlap/32-4 1827012 65.06 ns/op 491.87 MB/s BenchmarkMemmoveOverlap/64-4 1649792 73.53 ns/op 870.45 MB/s BenchmarkMemmoveOverlap/128-4 1382132 86.46 ns/op 1480.39 MB/s BenchmarkMemmoveOverlap/256-4 889230 131.6 ns/op 1945.60 MB/s BenchmarkMemmoveOverlap/512-4 638365 184.5 ns/op 2775.60 MB/s BenchmarkMemmoveOverlap/1024-4 419126 290.7 ns/op 3522.33 MB/s BenchmarkMemmoveOverlap/2048-4 242150 497.1 ns/op 4120.11 MB/s BenchmarkMemmoveOverlap/4096-4 129189 912.9 ns/op 4486.80 MB/s BenchmarkMemmoveUnalignedDst/0-4 14891847 7.733 ns/op BenchmarkMemmoveUnalignedDst/1-4 1910782 61.52 ns/op 16.25 MB/s BenchmarkMemmoveUnalignedDst/2-4 1854376 63.91 ns/op 31.29 MB/s BenchmarkMemmoveUnalignedDst/3-4 1879556 63.25 ns/op 47.43 MB/s BenchmarkMemmoveUnalignedDst/4-4 1858252 62.02 ns/op 64.50 MB/s BenchmarkMemmoveUnalignedDst/5-4 1899799 63.43 ns/op 78.83 MB/s BenchmarkMemmoveUnalignedDst/6-4 1852904 64.56 ns/op 92.94 MB/s BenchmarkMemmoveUnalignedDst/7-4 1911074 63.14 ns/op 110.86 MB/s BenchmarkMemmoveUnalignedDst/8-4 1934150 63.23 ns/op 126.52 MB/s BenchmarkMemmoveUnalignedDst/9-4 1799414 65.88 ns/op 136.62 MB/s BenchmarkMemmoveUnalignedDst/10-4 1807273 66.13 ns/op 151.23 MB/s BenchmarkMemmoveUnalignedDst/11-4 1831375 65.50 ns/op 167.95 MB/s BenchmarkMemmoveUnalignedDst/12-4 1819442 65.73 ns/op 182.55 MB/s BenchmarkMemmoveUnalignedDst/13-4 1814408 67.46 ns/op 192.71 MB/s BenchmarkMemmoveUnalignedDst/14-4 1816575 65.97 ns/op 212.21 MB/s BenchmarkMemmoveUnalignedDst/15-4 1816471 66.38 ns/op 225.97 MB/s BenchmarkMemmoveUnalignedDst/16-4 1849264 65.42 ns/op 244.57 MB/s BenchmarkMemmoveUnalignedDst/32-4 1712499 68.58 ns/op 466.58 MB/s BenchmarkMemmoveUnalignedDst/64-4 1560973 78.53 ns/op 815.02 MB/s BenchmarkMemmoveUnalignedDst/128-4 1311782 92.81 ns/op 1379.21 MB/s BenchmarkMemmoveUnalignedDst/256-4 790278 136.5 ns/op 1875.37 MB/s BenchmarkMemmoveUnalignedDst/512-4 607824 190.0 ns/op 2694.58 MB/s BenchmarkMemmoveUnalignedDst/1024-4 386499 308.2 ns/op 3322.82 MB/s BenchmarkMemmoveUnalignedDst/2048-4 218832 505.4 ns/op 4052.53 MB/s BenchmarkMemmoveUnalignedDst/4096-4 123888 951.1 ns/op 4306.73 MB/s BenchmarkMemmoveUnalignedDstOverlap/32-4 1701672 71.48 ns/op 447.65 MB/s BenchmarkMemmoveUnalignedDstOverlap/64-4 1533850 77.67 ns/op 823.96 MB/s BenchmarkMemmoveUnalignedDstOverlap/128-4 1300746 91.48 ns/op 1399.20 MB/s BenchmarkMemmoveUnalignedDstOverlap/256-4 860396 136.0 ns/op 1883.00 MB/s BenchmarkMemmoveUnalignedDstOverlap/512-4 635866 189.3 ns/op 2704.99 MB/s BenchmarkMemmoveUnalignedDstOverlap/1024-4 407823 292.2 ns/op 3504.08 MB/s BenchmarkMemmoveUnalignedDstOverlap/2048-4 230797 506.4 ns/op 4043.84 MB/s BenchmarkMemmoveUnalignedDstOverlap/4096-4 128059 921.7 ns/op 4443.99 MB/s BenchmarkMemmoveUnalignedSrc/0-4 15545023 7.642 ns/op BenchmarkMemmoveUnalignedSrc/1-4 1952289 62.08 ns/op 16.11 MB/s BenchmarkMemmoveUnalignedSrc/2-4 1836432 64.53 ns/op 30.99 MB/s BenchmarkMemmoveUnalignedSrc/3-4 1862216 63.25 ns/op 47.43 MB/s BenchmarkMemmoveUnalignedSrc/4-4 1860877 64.15 ns/op 62.35 MB/s BenchmarkMemmoveUnalignedSrc/5-4 1856644 64.62 ns/op 77.38 MB/s BenchmarkMemmoveUnalignedSrc/6-4 1871763 64.67 ns/op 92.77 MB/s BenchmarkMemmoveUnalignedSrc/7-4 1834426 64.19 ns/op 109.06 MB/s BenchmarkMemmoveUnalignedSrc/8-4 1925534 62.60 ns/op 127.79 MB/s BenchmarkMemmoveUnalignedSrc/9-4 1833559 65.19 ns/op 138.05 MB/s BenchmarkMemmoveUnalignedSrc/10-4 1821564 66.35 ns/op 150.71 MB/s BenchmarkMemmoveUnalignedSrc/11-4 1779574 67.27 ns/op 163.51 MB/s BenchmarkMemmoveUnalignedSrc/12-4 1832716 64.97 ns/op 184.71 MB/s BenchmarkMemmoveUnalignedSrc/13-4 1815393 66.28 ns/op 196.15 MB/s BenchmarkMemmoveUnalignedSrc/14-4 1799056 66.74 ns/op 209.77 MB/s BenchmarkMemmoveUnalignedSrc/15-4 1798674 66.58 ns/op 225.31 MB/s BenchmarkMemmoveUnalignedSrc/16-4 1776352 65.94 ns/op 242.66 MB/s BenchmarkMemmoveUnalignedSrc/32-4 1745065 70.00 ns/op 457.15 MB/s BenchmarkMemmoveUnalignedSrc/64-4 1576542 74.93 ns/op 854.16 MB/s BenchmarkMemmoveUnalignedSrc/128-4 1343953 90.88 ns/op 1408.42 MB/s BenchmarkMemmoveUnalignedSrc/256-4 863851 137.8 ns/op 1858.05 MB/s BenchmarkMemmoveUnalignedSrc/512-4 585003 192.4 ns/op 2661.24 MB/s BenchmarkMemmoveUnalignedSrc/1024-4 400665 294.3 ns/op 3479.44 MB/s BenchmarkMemmoveUnalignedSrc/2048-4 233014 498.3 ns/op 4110.08 MB/s BenchmarkMemmoveUnalignedSrc/4096-4 128048 926.7 ns/op 4419.90 MB/s BenchmarkMemmoveUnalignedSrcOverlap/32-4 1753272 69.41 ns/op 461.00 MB/s BenchmarkMemmoveUnalignedSrcOverlap/64-4 1533867 76.58 ns/op 835.69 MB/s BenchmarkMemmoveUnalignedSrcOverlap/128-4 1323016 90.83 ns/op 1409.26 MB/s BenchmarkMemmoveUnalignedSrcOverlap/256-4 864373 136.9 ns/op 1869.63 MB/s BenchmarkMemmoveUnalignedSrcOverlap/512-4 621484 186.3 ns/op 2748.09 MB/s BenchmarkMemmoveUnalignedSrcOverlap/1024-4 415698 289.5 ns/op 3536.82 MB/s BenchmarkMemmoveUnalignedSrcOverlap/2048-4 238201 497.4 ns/op 4117.57 MB/s BenchmarkMemmoveUnalignedSrcOverlap/4096-4 129702 913.4 ns/op 4484.51 MB/s BenchmarkMemclr/5-4 12973519 9.321 ns/op 536.43 MB/s BenchmarkMemclr/16-4 12779560 9.306 ns/op 1719.34 MB/s BenchmarkMemclr/64-4 11934388 9.956 ns/op 6428.19 MB/s BenchmarkMemclr/256-4 10103700 11.87 ns/op 21571.92 MB/s BenchmarkMemclr/4096-4 2342025 50.40 ns/op 81264.17 MB/s BenchmarkMemclr/65536-4 65036 1779 ns/op 36832.37 MB/s BenchmarkMemclr/1M-4 3145 39351 ns/op 26646.81 MB/s BenchmarkMemclr/4M-4 631 175834 ns/op 23853.80 MB/s BenchmarkMemclr/8M-4 282 430570 ns/op 19482.58 MB/s BenchmarkMemclr/16M-4 48 2243550 ns/op 7477.98 MB/s BenchmarkMemclr/64M-4 12 10013630 ns/op 6701.75 MB/s BenchmarkMemclrUnaligned/0_5-4 6820858 16.75 ns/op 298.45 MB/s BenchmarkMemclrUnaligned/0_16-4 7051366 17.05 ns/op 938.54 MB/s BenchmarkMemclrUnaligned/0_64-4 6728022 17.55 ns/op 3646.12 MB/s BenchmarkMemclrUnaligned/0_256-4 6266163 19.33 ns/op 13244.10 MB/s BenchmarkMemclrUnaligned/0_4096-4 2162809 55.49 ns/op 73815.75 MB/s BenchmarkMemclrUnaligned/0_65536-4 72223 1660 ns/op 39472.79 MB/s BenchmarkMemclrUnaligned/1_5-4 7129304 16.67 ns/op 299.93 MB/s BenchmarkMemclrUnaligned/1_16-4 6931612 17.00 ns/op 941.18 MB/s BenchmarkMemclrUnaligned/1_64-4 6836288 19.34 ns/op 3308.98 MB/s BenchmarkMemclrUnaligned/1_256-4 6096460 21.20 ns/op 12074.22 MB/s BenchmarkMemclrUnaligned/1_4096-4 1276284 90.12 ns/op 45450.47 MB/s BenchmarkMemclrUnaligned/1_65536-4 67372 1707 ns/op 38393.47 MB/s BenchmarkMemclrUnaligned/4_5-4 7178764 16.59 ns/op 301.37 MB/s BenchmarkMemclrUnaligned/4_16-4 6926640 17.15 ns/op 932.68 MB/s BenchmarkMemclrUnaligned/4_64-4 6871981 17.52 ns/op 3651.93 MB/s BenchmarkMemclrUnaligned/4_256-4 6090189 19.78 ns/op 12940.18 MB/s BenchmarkMemclrUnaligned/4_4096-4 1339320 89.87 ns/op 45578.96 MB/s BenchmarkMemclrUnaligned/4_65536-4 50448 2003 ns/op 32721.36 MB/s BenchmarkMemclrUnaligned/7_5-4 7102434 16.75 ns/op 298.57 MB/s BenchmarkMemclrUnaligned/7_16-4 7047640 17.17 ns/op 931.75 MB/s BenchmarkMemclrUnaligned/7_64-4 6810576 19.22 ns/op 3330.28 MB/s BenchmarkMemclrUnaligned/7_256-4 6181483 19.30 ns/op 13265.23 MB/s BenchmarkMemclrUnaligned/7_4096-4 1339454 89.06 ns/op 45991.92 MB/s BenchmarkMemclrUnaligned/7_65536-4 62746 1832 ns/op 35771.93 MB/s BenchmarkMemclrUnaligned/0_1M-4 2744 39729 ns/op 26393.21 MB/s BenchmarkMemclrUnaligned/0_4M-4 682 173468 ns/op 24179.08 MB/s BenchmarkMemclrUnaligned/0_8M-4 282 405116 ns/op 20706.66 MB/s BenchmarkMemclrUnaligned/0_16M-4 48 2240836 ns/op 7487.03 MB/s BenchmarkMemclrUnaligned/0_64M-4 12 9802813 ns/op 6845.88 MB/s BenchmarkMemclrUnaligned/1_1M-4 2661 40018 ns/op 26202.34 MB/s BenchmarkMemclrUnaligned/1_4M-4 662 173607 ns/op 24159.81 MB/s BenchmarkMemclrUnaligned/1_8M-4 247 464082 ns/op 18075.69 MB/s BenchmarkMemclrUnaligned/1_16M-4 45 2341261 ns/op 7165.89 MB/s BenchmarkMemclrUnaligned/1_64M-4 10 10011554 ns/op 6703.14 MB/s BenchmarkMemclrUnaligned/4_1M-4 2766 39873 ns/op 26298.02 MB/s BenchmarkMemclrUnaligned/4_4M-4 652 180897 ns/op 23186.20 MB/s BenchmarkMemclrUnaligned/4_8M-4 160 824659 ns/op 10172.21 MB/s BenchmarkMemclrUnaligned/4_16M-4 44 2525628 ns/op 6642.79 MB/s BenchmarkMemclrUnaligned/4_64M-4 12 9951028 ns/op 6743.91 MB/s BenchmarkMemclrUnaligned/7_1M-4 2776 42750 ns/op 24528.29 MB/s BenchmarkMemclrUnaligned/7_4M-4 632 184721 ns/op 22706.20 MB/s BenchmarkMemclrUnaligned/7_8M-4 174 591290 ns/op 14186.96 MB/s BenchmarkMemclrUnaligned/7_16M-4 44 2486421 ns/op 6747.54 MB/s BenchmarkMemclrUnaligned/7_64M-4 12 9901520 ns/op 6777.63 MB/s BenchmarkGoMemclr/5-4 2085709 56.90 ns/op 87.87 MB/s BenchmarkGoMemclr/16-4 503217 233.8 ns/op 68.43 MB/s BenchmarkGoMemclr/64-4 131982 895.8 ns/op 71.45 MB/s BenchmarkGoMemclr/256-4 34464 3449 ns/op 74.22 MB/s BenchmarkMemclrRange/1K_2K-4 66178 1812 ns/op 52914.92 MB/s BenchmarkMemclrRange/2K_8K-4 30241 3952 ns/op 84392.87 MB/s BenchmarkMemclrRange/4K_16K-4 41809 2850 ns/op 113352.34 MB/s BenchmarkMemclrRange/160K_228K-4 1784 57030 ns/op 29157.83 MB/s BenchmarkClearFat7-4 6358065 19.06 ns/op BenchmarkClearFat8-4 6948282 17.44 ns/op BenchmarkClearFat11-4 6099948 18.97 ns/op BenchmarkClearFat12-4 6140358 19.59 ns/op BenchmarkClearFat13-4 5958824 19.74 ns/op BenchmarkClearFat14-4 6157554 20.01 ns/op BenchmarkClearFat15-4 6337857 18.94 ns/op BenchmarkClearFat16-4 6579974 18.55 ns/op BenchmarkClearFat24-4 6163897 19.61 ns/op BenchmarkClearFat32-4 6009306 20.12 ns/op BenchmarkClearFat40-4 5805124 20.40 ns/op BenchmarkClearFat48-4 5331841 22.37 ns/op BenchmarkClearFat56-4 5421146 21.78 ns/op BenchmarkClearFat64-4 5348665 21.93 ns/op BenchmarkClearFat72-4 5053916 26.32 ns/op BenchmarkClearFat128-4 3766305 31.66 ns/op BenchmarkClearFat256-4 2192264 54.84 ns/op BenchmarkClearFat512-4 1480830 81.95 ns/op BenchmarkClearFat1024-4 862767 137.1 ns/op BenchmarkClearFat1032-4 765573 145.3 ns/op BenchmarkClearFat1040-4 813968 144.5 ns/op BenchmarkCopyFat7-4 6073321 19.38 ns/op BenchmarkCopyFat8-4 6651822 17.43 ns/op BenchmarkCopyFat11-4 5840184 21.28 ns/op BenchmarkCopyFat12-4 5724644 20.95 ns/op BenchmarkCopyFat13-4 5740669 20.26 ns/op BenchmarkCopyFat14-4 5827540 20.58 ns/op BenchmarkCopyFat15-4 5864220 20.67 ns/op BenchmarkCopyFat16-4 6531867 18.80 ns/op BenchmarkCopyFat24-4 6176175 19.61 ns/op BenchmarkCopyFat32-4 6044865 19.84 ns/op BenchmarkCopyFat64-4 5484080 22.23 ns/op BenchmarkCopyFat72-4 5027953 23.86 ns/op BenchmarkCopyFat128-4 3687007 32.23 ns/op BenchmarkCopyFat256-4 2102719 56.62 ns/op BenchmarkCopyFat512-4 1354376 87.37 ns/op BenchmarkCopyFat520-4 1363677 87.81 ns/op BenchmarkCopyFat1024-4 779312 146.8 ns/op BenchmarkCopyFat1032-4 772189 148.4 ns/op BenchmarkCopyFat1040-4 792303 149.9 ns/op BenchmarkIssue18740/2byte-4 428 274486 ns/op BenchmarkIssue18740/4byte-4 726 165931 ns/op BenchmarkIssue18740/8byte-4 1004 116506 ns/op BenchmarkMemclrKnownSize1-4 8706595 13.67 ns/op 73.13 MB/s BenchmarkMemclrKnownSize2-4 5792296 20.25 ns/op 98.76 MB/s BenchmarkMemclrKnownSize4-4 3540499 33.72 ns/op 118.62 MB/s BenchmarkMemclrKnownSize8-4 1000000 111.8 ns/op 71.53 MB/s BenchmarkMemclrKnownSize16-4 510255 228.8 ns/op 69.92 MB/s BenchmarkMemclrKnownSize32-4 272577 438.3 ns/op 73.01 MB/s BenchmarkMemclrKnownSize64-4 139119 892.5 ns/op 71.71 MB/s BenchmarkMemclrKnownSize112-4 80805 1475 ns/op 75.96 MB/s BenchmarkMemclrKnownSize128-4 69987 1688 ns/op 75.81 MB/s BenchmarkMemclrKnownSize192-4 46740 2534 ns/op 75.76 MB/s BenchmarkMemclrKnownSize248-4 36144 3245 ns/op 76.42 MB/s BenchmarkMemclrKnownSize256-4 36700 3300 ns/op 77.56 MB/s BenchmarkMemclrKnownSize512-4 18394 6459 ns/op 79.27 MB/s BenchmarkMemclrKnownSize1024-4 9114 13012 ns/op 78.70 MB/s BenchmarkMemclrKnownSize4096-4 2253 52135 ns/op 78.56 MB/s BenchmarkMemclrKnownSize512KiB-4 16 6931736 ns/op 75.64 MB/s BenchmarkReadMetricsLatency-4 14569 4877 p50-ns 7378 p90-ns 17817 p99-ns BenchmarkFinalizer-4 174 682021 ns/op BenchmarkFinalizerRun-4 149487 1005 ns/op BenchmarkPallocBitsSummarize/Unpacked00-4 7600624 14.78 ns/op BenchmarkPallocBitsSummarize/UnpackedFFFFFFFFFFFFFFFF-4 3119958 37.85 ns/op BenchmarkPallocBitsSummarize/UnpackedAA-4 2437548 48.74 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAAAAAAAAAA-4 2390962 49.43 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000AAAAAAAA-4 1299543 91.45 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAA00000001-4 1000000 102.5 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBBBBBBBBBB-4 2244877 52.17 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000BBBBBBBB-4 1253973 94.38 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBB00000001-4 1311363 90.71 ns/op BenchmarkPallocBitsSummarize/UnpackedCCCCCCCCCCCCCCCC-4 1840954 64.90 ns/op BenchmarkPallocBitsSummarize/Unpacked4444444444444444-4 1903502 63.84 ns/op BenchmarkPallocBitsSummarize/Unpacked4040404040404040-4 1701963 69.67 ns/op BenchmarkPallocBitsSummarize/Unpacked4000400040004000-4 1470590 80.86 ns/op BenchmarkPallocBitsSummarize/Unpacked1000404044CCAAFF-4 1330426 88.45 ns/op BenchmarkFindBitRange64/Pattern00Size2-4 6067195 19.52 ns/op BenchmarkFindBitRange64/Pattern00Size8-4 6233247 19.21 ns/op BenchmarkFindBitRange64/Pattern00Size32-4 6175186 19.36 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize2-4 6200780 19.48 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize8-4 5695814 21.23 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize32-4 4937184 24.34 ns/op BenchmarkFindBitRange64/PatternAASize2-4 6079999 19.47 ns/op BenchmarkFindBitRange64/PatternAASize8-4 6160353 19.25 ns/op BenchmarkFindBitRange64/PatternAASize32-4 6261006 19.11 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize2-4 6176686 19.40 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize8-4 6265458 19.34 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize32-4 6270834 19.13 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize2-4 6171099 19.42 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize8-4 6179384 19.27 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize32-4 6029001 19.43 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size2-4 6118839 19.44 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size8-4 6226614 19.17 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size32-4 6257880 19.31 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize2-4 6073104 19.42 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize8-4 5874571 20.35 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize32-4 5925571 20.38 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize2-4 6155281 19.33 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize8-4 5913261 20.34 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize32-4 5891118 20.09 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size2-4 6171837 19.25 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size8-4 5828646 20.40 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size32-4 5871855 20.25 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize2-4 6163623 19.49 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize8-4 5856880 20.45 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize32-4 5864374 20.36 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size2-4 5949921 20.08 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size8-4 6050539 19.73 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size32-4 6017874 19.75 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size2-4 6203654 19.31 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size8-4 6182539 19.22 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size32-4 6203526 19.22 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size2-4 6104097 19.54 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size8-4 6232748 19.28 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size32-4 6213090 19.40 ns/op BenchmarkNetpollBreak-4 3360 29822 ns/op BenchmarkPinnerPinUnpinBatch-4 962 112241 ns/op BenchmarkPinnerPinUnpinBatchDouble-4 224 530233 ns/op BenchmarkPinnerPinUnpinBatchTiny-4 1092 112676 ns/op BenchmarkPinnerPinUnpin-4 1000000 105.3 ns/op BenchmarkPinnerPinUnpinTiny-4 1000000 105.3 ns/op BenchmarkPinnerPinUnpinDouble-4 417339 272.7 ns/op BenchmarkPinnerPinUnpinParallel-4 3609199 33.99 ns/op BenchmarkPinnerPinUnpinParallelTiny-4 3560864 33.30 ns/op BenchmarkPinnerPinUnpinParallelDouble-4 212546 593.2 ns/op BenchmarkPinnerIsPinnedOnPinned-4 5317654 20.62 ns/op BenchmarkPinnerIsPinnedOnUnpinned-4 5807283 19.54 ns/op BenchmarkPinnerIsPinnedOnPinnedParallel-4 8646034 12.39 ns/op BenchmarkPinnerIsPinnedOnUnpinnedParallel-4 9292160 13.09 ns/op BenchmarkPingPongHog-4 339 356578 ns/op BenchmarkStackGrowth-4 124773 950.2 ns/op BenchmarkStackGrowthDeep-4 974 123086 ns/op BenchmarkCreateGoroutines-4 51745 2373 ns/op BenchmarkCreateGoroutinesParallel-4 44919 2749 ns/op BenchmarkCreateGoroutinesCapture-4 7982 13934 ns/op 144 B/op 5 allocs/op BenchmarkCreateGoroutinesSingle-4 39986 3112 ns/op BenchmarkClosureCall-4 18220777 6.437 ns/op BenchmarkWakeupParallelSpinning/0s-4 9249 17119 ns/op BenchmarkWakeupParallelSpinning/1µs-4 4813 22063 ns/op BenchmarkWakeupParallelSpinning/2µs-4 5542 24041 ns/op BenchmarkWakeupParallelSpinning/5µs-4 3141 36553 ns/op BenchmarkWakeupParallelSpinning/10µs-4 2014 57491 ns/op BenchmarkWakeupParallelSpinning/20µs-4 1251 95717 ns/op BenchmarkWakeupParallelSpinning/50µs-4 638 198575 ns/op BenchmarkWakeupParallelSpinning/100µs-4 310 332176 ns/op BenchmarkWakeupParallelSyscall/0s-4 756 156307 ns/op BenchmarkWakeupParallelSyscall/1µs-4 696 167184 ns/op BenchmarkWakeupParallelSyscall/2µs-4 715 164758 ns/op BenchmarkWakeupParallelSyscall/5µs-4 681 174068 ns/op BenchmarkWakeupParallelSyscall/10µs-4 601 197892 ns/op BenchmarkWakeupParallelSyscall/20µs-4 517 210670 ns/op BenchmarkWakeupParallelSyscall/50µs-4 439 272729 ns/op BenchmarkWakeupParallelSyscall/100µs-4 307 383642 ns/op BenchmarkMatmult-4 3739864 38.09 ns/op BenchmarkFastrand-4 10681684 9.798 ns/op BenchmarkFastrand64-4 12987951 10.58 ns/op BenchmarkFastrandHashiter-4 4546444 25.81 ns/op BenchmarkFastrandn/2-4 5844970 20.52 ns/op BenchmarkFastrandn/3-4 5962153 19.79 ns/op BenchmarkFastrandn/4-4 6182832 19.30 ns/op BenchmarkFastrandn/5-4 6121528 19.43 ns/op BenchmarkIfaceCmp100-4 105079 1124 ns/op BenchmarkIfaceCmpNil100-4 152066 788.2 ns/op BenchmarkEfaceCmpDiff-4 41403 2962 ns/op BenchmarkEfaceCmpDiffIndirect-4 29943 3950 ns/op BenchmarkDefer-4 1619017 74.08 ns/op BenchmarkDefer10-4 735194 154.0 ns/op BenchmarkDeferMany-4 414306 463.2 ns/op BenchmarkPanicRecover-4 177252 666.7 ns/op BenchmarkGoroutineProfile/small-nil/idle-4 7494 17280 ns/op 15220 p50-ns 22647 p90-ns 46832 p99-ns BenchmarkGoroutineProfile/small-nil/loaded-4 6547 22287 ns/op 15531 p50-ns 22865 p90-ns 100181 p99-ns BenchmarkGoroutineProfile/small/idle-4 2850 51281 ns/op 51582 p50-ns 59051 p90-ns 149990 p99-ns BenchmarkGoroutineProfile/small/loaded-4 358 447776 ns/op 146006 p50-ns 374160 p90-ns 7055492 p99-ns BenchmarkGoroutineProfile/large-nil/idle-4 6812 16589 ns/op 15151 p50-ns 20177 p90-ns 45756 p99-ns BenchmarkGoroutineProfile/large-nil/loaded-4 6382 22817 ns/op 15776 p50-ns 25370 p90-ns 184566 p99-ns BenchmarkGoroutineProfile/large/idle-4 13 8655765 ns/op 8569047 p50-ns 8997548 p90-ns 9029529 p99-ns BenchmarkGoroutineProfile/large/loaded-4 8 12686893 ns/op 9349562 p50-ns 21591054 p90-ns 21591054 p99-ns BenchmarkGoroutineProfile/sparse-nil/idle-4 7380 16200 ns/op 14933 p50-ns 19864 p90-ns 43561 p99-ns BenchmarkGoroutineProfile/sparse-nil/loaded-4 7077 24957 ns/op 16169 p50-ns 27733 p90-ns 201331 p99-ns BenchmarkGoroutineProfile/sparse/idle-4 811 137830 ns/op 128803 p50-ns 159958 p90-ns 261538 p99-ns BenchmarkGoroutineProfile/sparse/loaded-4 301 612195 ns/op 279024 p50-ns 565528 p90-ns 13542825 p99-ns BenchmarkRWMutexUncontended-4 3063211 39.32 ns/op BenchmarkRWMutexWrite100-4 626401 193.7 ns/op BenchmarkRWMutexWrite10-4 96217 1269 ns/op BenchmarkRWMutexWorkWrite100-4 552753 265.7 ns/op BenchmarkRWMutexWorkWrite10-4 100430 1491 ns/op BenchmarkSemTable/OneAddrCollision/n=1000-4 1740 66521 ns/op BenchmarkSemTable/ManyAddrCollision/n=1000-4 865 133882 ns/op BenchmarkSemTable/OneAddrCollision/n=2000-4 946 122783 ns/op BenchmarkSemTable/ManyAddrCollision/n=2000-4 424 279253 ns/op BenchmarkSemTable/OneAddrCollision/n=4000-4 457 247060 ns/op BenchmarkSemTable/ManyAddrCollision/n=4000-4 194 590441 ns/op BenchmarkSemTable/OneAddrCollision/n=8000-4 235 511497 ns/op BenchmarkSemTable/ManyAddrCollision/n=8000-4 90 1218080 ns/op BenchmarkMakeSliceCopy/mallocmove/Byte-4 305250 375.7 ns/op BenchmarkMakeSliceCopy/mallocmove/Int-4 309662 384.4 ns/op BenchmarkMakeSliceCopy/mallocmove/Ptr-4 262765 430.0 ns/op BenchmarkMakeSliceCopy/makecopy/Byte-4 304171 411.4 ns/op BenchmarkMakeSliceCopy/makecopy/Int-4 301480 399.8 ns/op BenchmarkMakeSliceCopy/makecopy/Ptr-4 259071 460.4 ns/op BenchmarkMakeSliceCopy/nilappend/Byte-4 247977 409.7 ns/op BenchmarkMakeSliceCopy/nilappend/Int-4 285448 441.3 ns/op BenchmarkMakeSliceCopy/nilappend/Ptr-4 259401 459.9 ns/op BenchmarkMakeSlice/Byte-4 2073506 57.64 ns/op BenchmarkMakeSlice/Int16-4 2015822 59.13 ns/op BenchmarkMakeSlice/Int-4 1624162 76.64 ns/op BenchmarkMakeSlice/Ptr-4 1000000 107.2 ns/op BenchmarkMakeSlice/Struct/24-4 991674 122.2 ns/op BenchmarkMakeSlice/Struct/32-4 846378 147.0 ns/op BenchmarkMakeSlice/Struct/40-4 718363 167.3 ns/op BenchmarkGrowSlice/Byte-4 798171 147.6 ns/op BenchmarkGrowSlice/Int16-4 784776 164.2 ns/op BenchmarkGrowSlice/Int-4 742538 209.6 ns/op BenchmarkGrowSlice/Ptr-4 535870 249.2 ns/op BenchmarkGrowSlice/Struct/24-4 286228 377.9 ns/op BenchmarkGrowSlice/Struct/32-4 277172 453.3 ns/op BenchmarkGrowSlice/Struct/40-4 186055 547.7 ns/op BenchmarkExtendSlice/IntSlice-4 533202 235.7 ns/op BenchmarkExtendSlice/PointerSlice-4 396404 319.0 ns/op BenchmarkExtendSlice/NoGrow-4 965122 136.4 ns/op BenchmarkAppend-4 783811 146.8 ns/op BenchmarkAppendGrowByte-4 3 33474305 ns/op BenchmarkAppendGrowString-4 1 391633583 ns/op BenchmarkAppendSlice/1Bytes-4 1903113 61.50 ns/op BenchmarkAppendSlice/4Bytes-4 1839357 63.60 ns/op BenchmarkAppendSlice/7Bytes-4 1834879 63.25 ns/op BenchmarkAppendSlice/8Bytes-4 1872841 63.83 ns/op BenchmarkAppendSlice/15Bytes-4 1772458 64.84 ns/op BenchmarkAppendSlice/16Bytes-4 1817050 64.35 ns/op BenchmarkAppendSlice/32Bytes-4 1782924 66.34 ns/op BenchmarkAppendSliceLarge/1024Bytes-4 97032 1295 ns/op BenchmarkAppendSliceLarge/4096Bytes-4 23852 5207 ns/op BenchmarkAppendSliceLarge/16384Bytes-4 8066 19110 ns/op BenchmarkAppendSliceLarge/65536Bytes-4 1497 70043 ns/op BenchmarkAppendSliceLarge/262144Bytes-4 100 1138572 ns/op BenchmarkAppendSliceLarge/1048576Bytes-4 21 5509300 ns/op BenchmarkAppendStr/1Bytes-4 1404465 87.85 ns/op BenchmarkAppendStr/4Bytes-4 1500897 79.58 ns/op BenchmarkAppendStr/8Bytes-4 1480831 80.00 ns/op BenchmarkAppendStr/16Bytes-4 1441498 82.41 ns/op BenchmarkAppendStr/32Bytes-4 1473856 82.70 ns/op BenchmarkAppendSpecialCase-4 754006 155.9 ns/op BenchmarkCopy/1Byte-4 1956294 61.13 ns/op 16.36 MB/s BenchmarkCopy/1String-4 1972249 61.60 ns/op 16.23 MB/s BenchmarkCopy/2Byte-4 1908376 63.67 ns/op 31.41 MB/s BenchmarkCopy/2String-4 1928419 61.78 ns/op 32.37 MB/s BenchmarkCopy/4Byte-4 1903311 62.85 ns/op 63.64 MB/s BenchmarkCopy/4String-4 1915173 62.43 ns/op 64.07 MB/s BenchmarkCopy/8Byte-4 1927989 61.50 ns/op 130.08 MB/s BenchmarkCopy/8String-4 1940118 61.56 ns/op 129.95 MB/s BenchmarkCopy/12Byte-4 1820157 69.03 ns/op 173.84 MB/s BenchmarkCopy/12String-4 1861500 64.00 ns/op 187.50 MB/s BenchmarkCopy/16Byte-4 1858758 62.98 ns/op 254.06 MB/s BenchmarkCopy/16String-4 1858464 63.78 ns/op 250.86 MB/s BenchmarkCopy/32Byte-4 1791717 67.79 ns/op 472.05 MB/s BenchmarkCopy/32String-4 1797786 68.08 ns/op 470.03 MB/s BenchmarkCopy/128Byte-4 1325046 89.07 ns/op 1437.03 MB/s BenchmarkCopy/128String-4 1000000 102.4 ns/op 1250.13 MB/s BenchmarkCopy/1024Byte-4 411488 287.6 ns/op 3560.34 MB/s BenchmarkCopy/1024String-4 352717 335.7 ns/op 3050.13 MB/s BenchmarkAppendInPlace/NoGrow/Byte-4 27015 4176 ns/op BenchmarkAppendInPlace/NoGrow/1Ptr-4 19759 6170 ns/op BenchmarkAppendInPlace/NoGrow/2Ptr-4 12476 9419 ns/op BenchmarkAppendInPlace/NoGrow/3Ptr-4 10000 12447 ns/op BenchmarkAppendInPlace/NoGrow/4Ptr-4 9184 15370 ns/op BenchmarkAppendInPlace/Grow/Byte-4 138078 805.5 ns/op BenchmarkAppendInPlace/Grow/1Ptr-4 141147 844.8 ns/op BenchmarkAppendInPlace/Grow/2Ptr-4 118604 1008 ns/op BenchmarkAppendInPlace/Grow/3Ptr-4 80250 1268 ns/op BenchmarkAppendInPlace/Grow/4Ptr-4 86203 1455 ns/op BenchmarkStackCopyPtr-4 1 170228243 ns/op BenchmarkStackCopy-4 1 109189590 ns/op BenchmarkStackCopyNoCache-4 19 5434879 ns/op BenchmarkStackCopyWithStkobj-4 1 120346762 ns/op BenchmarkIssue18138-4 682 192827 ns/op BenchmarkCompareStringEqual-4 11106804 10.41 ns/op BenchmarkCompareStringIdentical-4 15574518 7.772 ns/op BenchmarkCompareStringSameLength-4 13243671 9.122 ns/op BenchmarkCompareStringDifferentLength-4 18267300 6.441 ns/op BenchmarkCompareStringBigUnaligned-4 993 108366 ns/op 9676.31 MB/s BenchmarkCompareStringBig-4 1113 93862 ns/op 11171.53 MB/s BenchmarkConcatStringAndBytes-4 2193352 55.03 ns/op BenchmarkSliceByteToString/1-4 2223051 53.49 ns/op BenchmarkSliceByteToString/2-4 1000000 111.7 ns/op BenchmarkSliceByteToString/4-4 1000000 105.2 ns/op BenchmarkSliceByteToString/8-4 978637 105.6 ns/op BenchmarkSliceByteToString/16-4 1000000 107.7 ns/op BenchmarkSliceByteToString/32-4 1000000 117.6 ns/op BenchmarkSliceByteToString/64-4 862195 146.1 ns/op BenchmarkSliceByteToString/128-4 693231 194.8 ns/op BenchmarkRuneCount/lenruneslice/ASCII-4 2254159 53.09 ns/op BenchmarkRuneCount/lenruneslice/Japanese-4 853628 138.9 ns/op BenchmarkRuneCount/lenruneslice/MixedLength-4 911820 118.6 ns/op BenchmarkRuneCount/rangeloop/ASCII-4 3406545 35.33 ns/op BenchmarkRuneCount/rangeloop/Japanese-4 1617099 74.14 ns/op BenchmarkRuneCount/rangeloop/MixedLength-4 1849273 65.12 ns/op BenchmarkRuneCount/utf8.RuneCountInString/ASCII-4 2221831 52.94 ns/op BenchmarkRuneCount/utf8.RuneCountInString/Japanese-4 440641 271.3 ns/op BenchmarkRuneCount/utf8.RuneCountInString/MixedLength-4 559526 217.3 ns/op BenchmarkRuneIterate/range/ASCII-4 5649544 20.18 ns/op BenchmarkRuneIterate/range/Japanese-4 2044131 57.71 ns/op BenchmarkRuneIterate/range/MixedLength-4 2244350 51.63 ns/op BenchmarkRuneIterate/range1/ASCII-4 5667555 20.20 ns/op BenchmarkRuneIterate/range1/Japanese-4 2036410 58.34 ns/op BenchmarkRuneIterate/range1/MixedLength-4 2229014 52.35 ns/op BenchmarkRuneIterate/range2/ASCII-4 5637256 20.46 ns/op BenchmarkRuneIterate/range2/Japanese-4 2045072 57.70 ns/op BenchmarkRuneIterate/range2/MixedLength-4 2278081 51.70 ns/op BenchmarkArrayEqual-4 17625097 6.813 ns/op BenchmarkFunc/Name-4 2636221 45.60 ns/op BenchmarkFunc/Entry-4 9895743 11.78 ns/op BenchmarkFunc/FileLine-4 1561393 75.75 ns/op PASS ok runtime 148.966s ##### 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 36535 3043 ns/op BenchmarkHandle/concurrent-4 20335 5353 ns/op PASS ok runtime/cgo 1.332s goos: linux goarch: amd64 pkg: runtime/internal/atomic cpu: AMD EPYC 7B12 BenchmarkAtomicLoad64-4 22821675 5.912 ns/op BenchmarkAtomicStore64-4 23414222 5.912 ns/op BenchmarkAtomicLoad-4 20229025 5.016 ns/op BenchmarkAtomicStore-4 23489524 4.995 ns/op BenchmarkAnd8-4 20110375 5.169 ns/op BenchmarkAnd-4 23152256 5.104 ns/op BenchmarkAnd8Parallel-4 4278607 33.18 ns/op BenchmarkAndParallel-4 3817444 30.44 ns/op BenchmarkOr8-4 23189839 5.096 ns/op BenchmarkOr-4 23992417 5.001 ns/op BenchmarkOr8Parallel-4 4426794 28.40 ns/op BenchmarkOrParallel-4 4467807 25.48 ns/op BenchmarkXadd-4 3965930 30.75 ns/op BenchmarkXadd64-4 5915295 25.44 ns/op BenchmarkCas-4 3248899 37.98 ns/op BenchmarkCas64-4 4338046 30.81 ns/op BenchmarkXchg-4 3580826 32.41 ns/op BenchmarkXchg64-4 3544695 32.30 ns/op PASS ok runtime/internal/atomic 3.611s goos: linux goarch: amd64 pkg: runtime/internal/math cpu: AMD EPYC 7B12 BenchmarkMulUintptr/small-4 5667538 21.17 ns/op BenchmarkMulUintptr/large-4 4328496 26.81 ns/op PASS ok runtime/internal/math 1.300s goos: linux goarch: amd64 pkg: runtime/pprof cpu: AMD EPYC 7B12 BenchmarkGoroutine/Profile.WriteTo_idle_50-4 30 3377410 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_50-4 15 8549108 ns/op 842.5 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_50-4 932 129212 ns/op 3.643 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_500-4 15 8317467 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_500-4 7 16366138 ns/op 1229 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_500-4 225 541211 ns/op 34.70 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_5000-4 2 53562887 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_5000-4 2 83144690 ns/op 6591 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_5000-4 26 4357559 ns/op 363.6 concurrent_launches/op PASS ok runtime/pprof 2.791s goos: linux goarch: amd64 pkg: runtime/race cpu: AMD EPYC 7B12 BenchmarkSyncLeak-4 50 2745990 ns/op BenchmarkStackLeak-4 23194 4964 ns/op PASS ok runtime/race 1.522s goos: linux goarch: amd64 pkg: runtime/trace cpu: AMD EPYC 7B12 BenchmarkStartRegion-4 5898709 20.70 ns/op 0 B/op 0 allocs/op BenchmarkNewTask-4 206350 529.6 ns/op 64 B/op 2 allocs/op PASS ok runtime/trace 1.376s goos: linux goarch: amd64 pkg: slices cpu: AMD EPYC 7B12 BenchmarkEqualFunc_Large-4 66 1729883 ns/op BenchmarkIndex_Large-4 29376 3893 ns/op BenchmarkIndexFunc_Large-4 140 729179 ns/op BenchmarkCompact/nil-4 9294487 12.50 ns/op BenchmarkCompact/one-4 2427723 49.01 ns/op BenchmarkCompact/sorted-4 1622055 76.56 ns/op BenchmarkCompact/1_item-4 1438437 84.00 ns/op BenchmarkCompact/unsorted-4 1641349 77.30 ns/op BenchmarkCompact/many-4 822774 133.4 ns/op BenchmarkCompact_Large-4 1564 74976 ns/op BenchmarkCompactFunc_Large-4 99 1204426 ns/op BenchmarkReplace/naive-fast-4 129344 948.8 ns/op BenchmarkReplace/optimized-fast-4 145105 763.7 ns/op BenchmarkReplace/naive-slow-4 49410 2326 ns/op BenchmarkReplace/optimized-slow-4 59263 2104 ns/op BenchmarkSortInts-4 2 75669256 ns/op BenchmarkSlicesSortInts-4 3 47723504 ns/op BenchmarkSlicesSortInts_Sorted-4 76 1737216 ns/op BenchmarkSlicesSortInts_Reversed-4 45 2769449 ns/op BenchmarkSortStrings-4 1 104512515 ns/op BenchmarkSlicesSortStrings-4 2 70726271 ns/op BenchmarkSortStructs-4 1 125991643 ns/op BenchmarkSortFuncStructs-4 1 100707194 ns/op BenchmarkBinarySearchFloats/Size16-4 1565516 77.03 ns/op BenchmarkBinarySearchFloats/Size32-4 1337384 89.22 ns/op BenchmarkBinarySearchFloats/Size64-4 1000000 101.4 ns/op BenchmarkBinarySearchFloats/Size128-4 1000000 112.5 ns/op BenchmarkBinarySearchFloats/Size512-4 763951 135.5 ns/op BenchmarkBinarySearchFloats/Size1024-4 738501 147.3 ns/op BenchmarkBinarySearchFuncStruct/Size16-4 668095 176.8 ns/op BenchmarkBinarySearchFuncStruct/Size32-4 582312 189.0 ns/op BenchmarkBinarySearchFuncStruct/Size64-4 525356 210.6 ns/op BenchmarkBinarySearchFuncStruct/Size128-4 483048 248.1 ns/op BenchmarkBinarySearchFuncStruct/Size512-4 382000 296.8 ns/op BenchmarkBinarySearchFuncStruct/Size1024-4 367140 334.3 ns/op PASS ok slices 15.446s ##### 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 164548 696.5 ns/op BenchmarkSortString1K-4 171 698176 ns/op BenchmarkSortString1K_Slice-4 198 595733 ns/op BenchmarkStableString1K-4 94 1163028 ns/op BenchmarkSortInt1K-4 212 558249 ns/op BenchmarkSortInt1K_Sorted-4 3118 39666 ns/op BenchmarkSortInt1K_Reversed-4 1962 60873 ns/op BenchmarkSortInt1K_Mod8-4 499 225848 ns/op BenchmarkStableInt1K-4 141 848440 ns/op BenchmarkStableInt1K_Slice-4 160 835873 ns/op BenchmarkSortInt64K-4 2 53367316 ns/op BenchmarkSortInt64K_Slice-4 3 45945950 ns/op BenchmarkStableInt64K-4 2 74930811 ns/op BenchmarkSort1e2-4 434 347358 ns/op BenchmarkStable1e2-4 152 709563 ns/op BenchmarkSort1e4-4 2 53409100 ns/op BenchmarkStable1e4-4 1 233291089 ns/op PASS ok sort 4.609s goos: linux goarch: amd64 pkg: strconv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAtof64Decimal-4 844191 141.7 ns/op BenchmarkAtof64Float-4 607778 165.9 ns/op BenchmarkAtof64FloatExp-4 584090 194.1 ns/op BenchmarkAtof64Big-4 437101 275.8 ns/op BenchmarkAtof64RandomBits-4 382059 293.4 ns/op BenchmarkAtof64RandomFloats-4 421352 266.9 ns/op BenchmarkAtof64RandomLongFloats-4 302644 402.7 ns/op BenchmarkAtof32Decimal-4 787749 144.9 ns/op BenchmarkAtof32Float-4 704294 164.1 ns/op BenchmarkAtof32FloatExp-4 578133 198.2 ns/op BenchmarkAtof32Random-4 350946 338.2 ns/op BenchmarkAtof32RandomLong-4 147657 810.1 ns/op BenchmarkParseInt/Pos/7bit-4 1316935 88.85 ns/op BenchmarkParseInt/Pos/26bit-4 537650 201.2 ns/op BenchmarkParseInt/Pos/31bit-4 526370 209.4 ns/op BenchmarkParseInt/Pos/56bit-4 353524 327.7 ns/op BenchmarkParseInt/Pos/63bit-4 330454 346.7 ns/op BenchmarkParseInt/Neg/7bit-4 1330792 89.10 ns/op BenchmarkParseInt/Neg/26bit-4 555460 204.8 ns/op BenchmarkParseInt/Neg/31bit-4 527124 217.9 ns/op BenchmarkParseInt/Neg/56bit-4 343093 322.7 ns/op BenchmarkParseInt/Neg/63bit-4 328366 345.9 ns/op BenchmarkAtoi/Pos/7bit-4 1927185 61.40 ns/op BenchmarkAtoi/Pos/26bit-4 777501 145.8 ns/op BenchmarkAtoi/Pos/31bit-4 688156 162.9 ns/op BenchmarkAtoi/Pos/56bit-4 411730 282.0 ns/op BenchmarkAtoi/Pos/63bit-4 312501 369.7 ns/op BenchmarkAtoi/Neg/7bit-4 1900886 61.08 ns/op BenchmarkAtoi/Neg/26bit-4 707185 148.4 ns/op BenchmarkAtoi/Neg/31bit-4 692360 166.3 ns/op BenchmarkAtoi/Neg/56bit-4 410985 275.1 ns/op BenchmarkAtoi/Neg/63bit-4 312417 368.1 ns/op BenchmarkFormatFloat/Decimal-4 108139 1146 ns/op BenchmarkFormatFloat/Float-4 103803 1151 ns/op BenchmarkFormatFloat/Exp-4 110098 1104 ns/op BenchmarkFormatFloat/NegExp-4 110548 1086 ns/op BenchmarkFormatFloat/LongExp-4 92584 1283 ns/op BenchmarkFormatFloat/Big-4 89612 1335 ns/op BenchmarkFormatFloat/BinaryExp-4 196392 583.9 ns/op BenchmarkFormatFloat/32Integer-4 110032 1087 ns/op BenchmarkFormatFloat/32ExactFraction-4 114406 1012 ns/op BenchmarkFormatFloat/32Point-4 106814 1114 ns/op BenchmarkFormatFloat/32Exp-4 113122 1057 ns/op BenchmarkFormatFloat/32NegExp-4 111170 1055 ns/op BenchmarkFormatFloat/32Shortest-4 115328 1015 ns/op BenchmarkFormatFloat/32Fixed8Hard-4 136273 883.5 ns/op BenchmarkFormatFloat/32Fixed9Hard-4 128252 931.8 ns/op BenchmarkFormatFloat/64Fixed1-4 146587 803.7 ns/op BenchmarkFormatFloat/64Fixed2-4 148922 802.8 ns/op BenchmarkFormatFloat/64Fixed3-4 148740 788.0 ns/op BenchmarkFormatFloat/64Fixed4-4 147354 791.1 ns/op BenchmarkFormatFloat/64Fixed12-4 83062 1404 ns/op BenchmarkFormatFloat/64Fixed16-4 104421 1106 ns/op BenchmarkFormatFloat/64Fixed12Hard-4 106300 1073 ns/op BenchmarkFormatFloat/64Fixed17Hard-4 98190 1219 ns/op BenchmarkFormatFloat/64Fixed18Hard-4 2182 49603 ns/op BenchmarkFormatFloat/Slowpath64-4 94945 1275 ns/op BenchmarkFormatFloat/SlowpathDenormal64-4 91611 1296 ns/op BenchmarkAppendFloat/Decimal-4 131622 876.1 ns/op BenchmarkAppendFloat/Float-4 119593 993.1 ns/op BenchmarkAppendFloat/Exp-4 133654 869.7 ns/op BenchmarkAppendFloat/NegExp-4 132399 883.7 ns/op BenchmarkAppendFloat/LongExp-4 109483 1072 ns/op BenchmarkAppendFloat/Big-4 105130 1111 ns/op BenchmarkAppendFloat/BinaryExp-4 322779 363.9 ns/op BenchmarkAppendFloat/32Integer-4 131924 892.4 ns/op BenchmarkAppendFloat/32ExactFraction-4 132998 878.5 ns/op BenchmarkAppendFloat/32Point-4 120522 932.3 ns/op BenchmarkAppendFloat/32Exp-4 136395 867.4 ns/op BenchmarkAppendFloat/32NegExp-4 137732 865.6 ns/op BenchmarkAppendFloat/32Shortest-4 147046 777.2 ns/op BenchmarkAppendFloat/32Fixed8Hard-4 171986 685.6 ns/op BenchmarkAppendFloat/32Fixed9Hard-4 160693 712.3 ns/op BenchmarkAppendFloat/64Fixed1-4 188331 617.2 ns/op BenchmarkAppendFloat/64Fixed2-4 186542 618.5 ns/op BenchmarkAppendFloat/64Fixed3-4 189590 619.8 ns/op BenchmarkAppendFloat/64Fixed4-4 191958 622.3 ns/op BenchmarkAppendFloat/64Fixed12-4 97563 1165 ns/op BenchmarkAppendFloat/64Fixed16-4 132684 881.1 ns/op BenchmarkAppendFloat/64Fixed12Hard-4 142724 816.8 ns/op BenchmarkAppendFloat/64Fixed17Hard-4 119902 957.1 ns/op BenchmarkAppendFloat/64Fixed18Hard-4 2349 49635 ns/op BenchmarkAppendFloat/Slowpath64-4 111088 1079 ns/op BenchmarkAppendFloat/SlowpathDenormal64-4 113798 1062 ns/op BenchmarkFormatInt-4 14053 8186 ns/op BenchmarkAppendInt-4 16686 7272 ns/op BenchmarkFormatUint-4 77167 1465 ns/op BenchmarkAppendUint-4 88201 1273 ns/op BenchmarkFormatIntSmall/7-4 2630197 45.74 ns/op BenchmarkFormatIntSmall/42-4 2844202 42.54 ns/op BenchmarkAppendIntSmall-4 1319407 87.90 ns/op BenchmarkAppendUintVarlen/1-4 1286713 92.86 ns/op BenchmarkAppendUintVarlen/12-4 1270174 96.09 ns/op BenchmarkAppendUintVarlen/123-4 921483 123.6 ns/op BenchmarkAppendUintVarlen/1234-4 864537 123.1 ns/op BenchmarkAppendUintVarlen/12345-4 866140 126.3 ns/op BenchmarkAppendUintVarlen/123456-4 889336 129.1 ns/op BenchmarkAppendUintVarlen/1234567-4 862701 131.7 ns/op BenchmarkAppendUintVarlen/12345678-4 867801 129.3 ns/op BenchmarkAppendUintVarlen/123456789-4 866838 134.0 ns/op BenchmarkAppendUintVarlen/1234567890-4 857336 134.2 ns/op BenchmarkAppendUintVarlen/12345678901-4 818354 136.6 ns/op BenchmarkAppendUintVarlen/123456789012-4 841473 137.8 ns/op BenchmarkAppendUintVarlen/1234567890123-4 823618 140.4 ns/op BenchmarkAppendUintVarlen/12345678901234-4 809972 139.8 ns/op BenchmarkAppendUintVarlen/123456789012345-4 760648 145.2 ns/op BenchmarkAppendUintVarlen/1234567890123456-4 742105 143.6 ns/op BenchmarkAppendUintVarlen/12345678901234567-4 770752 148.3 ns/op BenchmarkAppendUintVarlen/123456789012345678-4 741382 148.4 ns/op BenchmarkAppendUintVarlen/1234567890123456789-4 737560 150.8 ns/op BenchmarkAppendUintVarlen/12345678901234567890-4 732500 150.5 ns/op BenchmarkQuote-4 42783 2714 ns/op BenchmarkQuoteRune-4 396511 264.7 ns/op BenchmarkAppendQuote-4 54075 2180 ns/op BenchmarkAppendQuoteRune-4 789744 139.7 ns/op BenchmarkUnquoteEasy-4 1354725 86.88 ns/op BenchmarkUnquoteHard-4 47197 2538 ns/op PASS ok strconv 16.845s goos: linux goarch: amd64 pkg: strings cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkBuildString_Builder/1Write_NoGrow-4 445783 265.1 ns/op 48 B/op 1 allocs/op BenchmarkBuildString_Builder/3Write_NoGrow-4 138944 861.8 ns/op 336 B/op 3 allocs/op BenchmarkBuildString_Builder/3Write_Grow-4 192386 618.9 ns/op 112 B/op 1 allocs/op BenchmarkBuildString_ByteBuffer/1Write_NoGrow-4 265312 392.9 ns/op 112 B/op 2 allocs/op BenchmarkBuildString_ByteBuffer/3Write_NoGrow-4 80672 1291 ns/op 432 B/op 4 allocs/op BenchmarkBuildString_ByteBuffer/3Write_Grow-4 86594 1188 ns/op 336 B/op 3 allocs/op BenchmarkClone-4 670298 184.8 ns/op 48 B/op 1 allocs/op BenchmarkGenericNoMatch-4 20712 5859 ns/op BenchmarkGenericMatch1-4 2089 52272 ns/op BenchmarkGenericMatch2-4 421 277737 ns/op BenchmarkSingleMaxSkipping-4 8066 14451 ns/op 691.97 MB/s BenchmarkSingleLongSuffixFail-4 13905 8355 ns/op 119.92 MB/s BenchmarkSingleMatch-4 247 479894 ns/op 31.26 MB/s BenchmarkByteByteNoMatch-4 72414 1652 ns/op BenchmarkByteByteMatch-4 18272 6387 ns/op BenchmarkByteStringMatch-4 22084 5277 ns/op BenchmarkHTMLEscapeNew-4 69244 1683 ns/op BenchmarkHTMLEscapeOld-4 87510 1324 ns/op BenchmarkByteStringReplacerWriteString-4 1354 80510 ns/op BenchmarkByteReplacerWriteString-4 1538 75258 ns/op BenchmarkByteByteReplaces-4 3430 33327 ns/op BenchmarkByteByteMap-4 10000 11388 ns/op BenchmarkMap/identity/ASCII-4 659667 179.6 ns/op BenchmarkMap/identity/Greek-4 468027 246.1 ns/op BenchmarkMap/change/ASCII-4 38958 3111 ns/op BenchmarkMap/change/Greek-4 29894 3997 ns/op BenchmarkIndexRune-4 2061709 57.56 ns/op BenchmarkIndexRuneLongString-4 1774872 68.31 ns/op BenchmarkIndexRuneFastPath-4 4533043 26.39 ns/op BenchmarkIndex-4 4306341 27.37 ns/op BenchmarkLastIndex-4 5075506 23.69 ns/op BenchmarkIndexByte-4 10273618 11.64 ns/op BenchmarkToUpper/#00-4 3257373 36.70 ns/op BenchmarkToUpper/ONLYUPPER-4 2462580 47.53 ns/op BenchmarkToUpper/abc-4 322356 384.0 ns/op BenchmarkToUpper/AbC123-4 248414 472.6 ns/op BenchmarkToUpper/azAZ09_-4 280533 436.7 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 55749 2165 ns/op BenchmarkToUpper/RENAN_BASTOS_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 71817 1667 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 33262 3503 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 56238 2149 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 123518 948.4 ns/op BenchmarkToLower/#00-4 3208532 37.32 ns/op BenchmarkToLower/abc-4 2726542 41.82 ns/op BenchmarkToLower/AbC123-4 224778 525.7 ns/op BenchmarkToLower/azAZ09_-4 223390 521.3 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 96548 1217 ns/op BenchmarkToLower/renan_bastos_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 66008 1848 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 35042 3442 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 76974 1521 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 120336 996.1 ns/op BenchmarkMapNoChanges-4 938376 123.3 ns/op BenchmarkTrim-4 37563 3184 ns/op 0 B/op 0 allocs/op BenchmarkToValidUTF8/Valid-4 3329743 36.38 ns/op BenchmarkToValidUTF8/InvalidASCII-4 185793 614.4 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 127994 929.5 ns/op BenchmarkEqualFold/Tests-4 53142 2241 ns/op BenchmarkEqualFold/ASCII-4 3698010 32.31 ns/op BenchmarkEqualFold/UnicodePrefix-4 103328 1110 ns/op BenchmarkEqualFold/UnicodeSuffix-4 118380 994.6 ns/op BenchmarkIndexHard1-4 822 144146 ns/op BenchmarkIndexHard2-4 596 199883 ns/op BenchmarkIndexHard3-4 148 805390 ns/op BenchmarkIndexHard4-4 181 666314 ns/op BenchmarkLastIndexHard1-4 58 2004408 ns/op BenchmarkLastIndexHard2-4 58 1998951 ns/op BenchmarkLastIndexHard3-4 57 1989058 ns/op BenchmarkCountHard1-4 837 143230 ns/op BenchmarkCountHard2-4 601 201467 ns/op BenchmarkCountHard3-4 148 799518 ns/op BenchmarkIndexTorture-4 7766 15602 ns/op BenchmarkCountTorture-4 7395 15746 ns/op BenchmarkCountTortureOverlapping-4 685 172753 ns/op BenchmarkCountByte/10-4 4234023 26.92 ns/op 371.49 MB/s BenchmarkCountByte/32-4 4136158 27.84 ns/op 1149.62 MB/s BenchmarkCountByte/4096-4 851229 136.0 ns/op 30106.58 MB/s BenchmarkCountByte/4194304-4 668 174827 ns/op 23991.19 MB/s BenchmarkCountByte/67108864-4 19 6044125 ns/op 11103.16 MB/s BenchmarkFields/ASCII/16-4 289638 402.1 ns/op 39.79 MB/s 16 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 20055 5734 ns/op 44.65 MB/s 320 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 1245 92858 ns/op 44.11 MB/s 6528 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 67 1736720 ns/op 37.74 MB/s 98304 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 4 28273789 ns/op 37.09 MB/s 1515520 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 120758 979.7 ns/op 16.33 MB/s 64 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 10604 11271 ns/op 22.71 MB/s 320 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 566 203769 ns/op 20.10 MB/s 21504 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 25 4216955 ns/op 15.54 MB/s 463104 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 2 89986344 ns/op 11.65 MB/s 10449152 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 259426 477.2 ns/op 33.53 MB/s 16 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 18912 6113 ns/op 41.88 MB/s 320 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 972 121803 ns/op 33.63 MB/s 21888 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 42 2944818 ns/op 22.25 MB/s 463106 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 68346736 ns/op 15.34 MB/s 10457344 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 144861 801.5 ns/op 19.96 MB/s 64 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 13723 8588 ns/op 29.81 MB/s 320 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 720 157276 ns/op 26.04 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 34 3532399 ns/op 18.55 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 2 77178078 ns/op 13.59 MB/s 10449152 B/op 24 allocs/op BenchmarkSplitEmptySeparator-4 1 105997010 ns/op BenchmarkSplitSingleByteSeparator-4 14 8211492 ns/op BenchmarkSplitMultiByteSeparator-4 27 3944091 ns/op BenchmarkSplitNSingleByteSeparator-4 205380 518.4 ns/op BenchmarkSplitNMultiByteSeparator-4 152601 722.5 ns/op BenchmarkRepeat/5x0-4 3371234 34.19 ns/op BenchmarkRepeat/5x1-4 3499683 31.83 ns/op BenchmarkRepeat/5x2-4 266516 465.9 ns/op BenchmarkRepeat/5x6-4 161146 748.5 ns/op BenchmarkRepeat/10x0-4 3461818 32.22 ns/op BenchmarkRepeat/10x1-4 3441368 32.03 ns/op BenchmarkRepeat/10x2-4 252590 460.9 ns/op BenchmarkRepeat/10x6-4 159325 742.0 ns/op BenchmarkRepeatLarge/256/1-4 72746 1576 ns/op 162.47 MB/s BenchmarkRepeatLarge/256/16-4 103828 982.4 ns/op 260.59 MB/s BenchmarkRepeatLarge/512/1-4 55374 2009 ns/op 254.87 MB/s BenchmarkRepeatLarge/512/16-4 75902 1381 ns/op 370.64 MB/s BenchmarkRepeatLarge/1024/1-4 44268 2539 ns/op 403.28 MB/s BenchmarkRepeatLarge/1024/16-4 57976 1938 ns/op 528.49 MB/s BenchmarkRepeatLarge/2048/1-4 31318 3653 ns/op 560.64 MB/s BenchmarkRepeatLarge/2048/16-4 37407 2949 ns/op 694.50 MB/s BenchmarkRepeatLarge/4096/1-4 21349 5600 ns/op 731.46 MB/s BenchmarkRepeatLarge/4096/16-4 22707 4936 ns/op 829.78 MB/s BenchmarkRepeatLarge/8192/1-4 12060 9350 ns/op 876.15 MB/s BenchmarkRepeatLarge/8192/16-4 13507 8812 ns/op 929.66 MB/s BenchmarkRepeatLarge/8192/4097-4 5533065 21.24 ns/op 192893.89 MB/s BenchmarkRepeatLarge/16384/1-4 7278 15873 ns/op 1032.21 MB/s BenchmarkRepeatLarge/16384/16-4 6764 15686 ns/op 1044.49 MB/s BenchmarkRepeatLarge/16384/4097-4 9044 12129 ns/op 1013.35 MB/s BenchmarkRepeatLarge/32768/1-4 4170 31348 ns/op 1045.31 MB/s BenchmarkRepeatLarge/32768/16-4 3969 29436 ns/op 1113.21 MB/s BenchmarkRepeatLarge/32768/4097-4 4341 27409 ns/op 1046.35 MB/s BenchmarkRepeatLarge/65536/1-4 2046 57512 ns/op 1139.51 MB/s BenchmarkRepeatLarge/65536/16-4 2187 55324 ns/op 1184.58 MB/s BenchmarkRepeatLarge/65536/4097-4 2140 55882 ns/op 1099.72 MB/s BenchmarkRepeatLarge/131072/1-4 211 522126 ns/op 251.04 MB/s BenchmarkRepeatLarge/131072/16-4 222 519555 ns/op 252.28 MB/s BenchmarkRepeatLarge/131072/4097-4 225 519451 ns/op 244.50 MB/s BenchmarkRepeatLarge/262144/1-4 100 1029483 ns/op 254.64 MB/s BenchmarkRepeatLarge/262144/16-4 100 1040213 ns/op 252.01 MB/s BenchmarkRepeatLarge/262144/4097-4 100 1080672 ns/op 238.84 MB/s BenchmarkRepeatLarge/524288/1-4 61 2025565 ns/op 258.84 MB/s BenchmarkRepeatLarge/524288/16-4 54 2047264 ns/op 256.09 MB/s BenchmarkRepeatLarge/524288/4097-4 61 2043847 ns/op 254.58 MB/s BenchmarkRepeatLarge/1048576/1-4 27 4208833 ns/op 249.14 MB/s BenchmarkRepeatLarge/1048576/16-4 28 4011746 ns/op 261.38 MB/s BenchmarkRepeatLarge/1048576/4097-4 28 4050688 ns/op 257.92 MB/s BenchmarkRepeatLarge/2097152/1-4 15 7669919 ns/op 273.43 MB/s BenchmarkRepeatLarge/2097152/16-4 15 8046392 ns/op 260.63 MB/s BenchmarkRepeatLarge/2097152/4097-4 13 8067612 ns/op 259.50 MB/s BenchmarkRepeatLarge/4194304/1-4 7 15555592 ns/op 269.63 MB/s BenchmarkRepeatLarge/4194304/16-4 7 15592477 ns/op 269.00 MB/s BenchmarkRepeatLarge/4194304/4097-4 7 15355310 ns/op 272.95 MB/s BenchmarkRepeatLarge/8388608/1-4 4 30642170 ns/op 273.76 MB/s BenchmarkRepeatLarge/8388608/16-4 4 30668853 ns/op 273.52 MB/s BenchmarkRepeatLarge/8388608/4097-4 4 31655440 ns/op 264.93 MB/s BenchmarkRepeatLarge/16777216/1-4 2 60206688 ns/op 278.66 MB/s BenchmarkRepeatLarge/16777216/16-4 2 59723818 ns/op 280.91 MB/s BenchmarkRepeatLarge/16777216/4097-4 2 61782712 ns/op 271.55 MB/s BenchmarkRepeatLarge/33554432/1-4 1 134327096 ns/op 249.80 MB/s BenchmarkRepeatLarge/33554432/16-4 1 119109963 ns/op 281.71 MB/s BenchmarkRepeatLarge/33554432/4097-4 1 121106239 ns/op 277.07 MB/s BenchmarkRepeatLarge/67108864/1-4 1 241130214 ns/op 278.31 MB/s BenchmarkRepeatLarge/67108864/16-4 1 236035455 ns/op 284.32 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 237608102 ns/op 282.44 MB/s BenchmarkRepeatLarge/134217728/1-4 1 480809817 ns/op 279.15 MB/s BenchmarkRepeatLarge/134217728/16-4 1 470470530 ns/op 285.28 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 503039215 ns/op 266.81 MB/s BenchmarkRepeatLarge/268435456/1-4 1 950899739 ns/op 282.30 MB/s BenchmarkRepeatLarge/268435456/16-4 1 923086408 ns/op 290.80 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 952062098 ns/op 281.95 MB/s BenchmarkRepeatLarge/536870912/1-4 1 1874943734 ns/op 286.34 MB/s BenchmarkRepeatLarge/536870912/16-4 1 1824485712 ns/op 294.26 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 1830197683 ns/op 293.34 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 3774296468 ns/op 284.49 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 3752071217 ns/op 286.17 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 3704404252 ns/op 289.86 MB/s BenchmarkIndexAnyASCII/1:1-4 2028448 58.03 ns/op BenchmarkIndexAnyASCII/1:2-4 2099751 53.58 ns/op BenchmarkIndexAnyASCII/1:4-4 2159070 53.51 ns/op BenchmarkIndexAnyASCII/1:8-4 2086822 54.34 ns/op BenchmarkIndexAnyASCII/1:16-4 2112121 53.95 ns/op BenchmarkIndexAnyASCII/1:32-4 2098844 55.02 ns/op BenchmarkIndexAnyASCII/1:64-4 2046550 55.26 ns/op BenchmarkIndexAnyASCII/16:1-4 2115098 53.96 ns/op BenchmarkIndexAnyASCII/16:2-4 777404 151.5 ns/op BenchmarkIndexAnyASCII/16:4-4 742603 155.6 ns/op BenchmarkIndexAnyASCII/16:8-4 685530 162.7 ns/op BenchmarkIndexAnyASCII/16:16-4 686461 173.8 ns/op BenchmarkIndexAnyASCII/16:32-4 595000 199.0 ns/op BenchmarkIndexAnyASCII/16:64-4 477088 243.6 ns/op BenchmarkIndexAnyASCII/256:1-4 1862587 61.21 ns/op BenchmarkIndexAnyASCII/256:2-4 73718 1611 ns/op BenchmarkIndexAnyASCII/256:4-4 74276 1625 ns/op BenchmarkIndexAnyASCII/256:8-4 73192 1635 ns/op BenchmarkIndexAnyASCII/256:16-4 73267 1650 ns/op BenchmarkIndexAnyASCII/256:32-4 70821 1672 ns/op BenchmarkIndexAnyASCII/256:64-4 68877 1724 ns/op BenchmarkIndexAnyUTF8/1:1-4 2020711 55.44 ns/op BenchmarkIndexAnyUTF8/1:2-4 2073846 53.71 ns/op BenchmarkIndexAnyUTF8/1:4-4 2065856 53.22 ns/op BenchmarkIndexAnyUTF8/1:8-4 2095846 54.34 ns/op BenchmarkIndexAnyUTF8/1:16-4 2063665 54.35 ns/op BenchmarkIndexAnyUTF8/1:32-4 1970328 56.83 ns/op BenchmarkIndexAnyUTF8/1:64-4 2004871 55.61 ns/op BenchmarkIndexAnyUTF8/16:1-4 1656390 69.83 ns/op BenchmarkIndexAnyUTF8/16:2-4 310694 377.3 ns/op BenchmarkIndexAnyUTF8/16:4-4 317884 375.2 ns/op BenchmarkIndexAnyUTF8/16:8-4 308888 371.2 ns/op BenchmarkIndexAnyUTF8/16:16-4 298284 375.4 ns/op BenchmarkIndexAnyUTF8/16:32-4 292263 393.6 ns/op BenchmarkIndexAnyUTF8/16:64-4 302499 381.8 ns/op BenchmarkIndexAnyUTF8/256:1-4 374199 312.2 ns/op BenchmarkIndexAnyUTF8/256:2-4 24282 4938 ns/op BenchmarkIndexAnyUTF8/256:4-4 23440 4963 ns/op BenchmarkIndexAnyUTF8/256:8-4 23410 5063 ns/op BenchmarkIndexAnyUTF8/256:16-4 23125 5158 ns/op BenchmarkIndexAnyUTF8/256:32-4 22220 5332 ns/op BenchmarkIndexAnyUTF8/256:64-4 22227 5407 ns/op BenchmarkLastIndexAnyASCII/1:1-4 1983351 58.40 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2095124 53.94 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2047297 55.66 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2060019 53.38 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2039752 54.08 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2035599 55.21 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2031562 55.12 ns/op BenchmarkLastIndexAnyASCII/16:1-4 791827 148.1 ns/op BenchmarkLastIndexAnyASCII/16:2-4 777877 150.2 ns/op BenchmarkLastIndexAnyASCII/16:4-4 764662 153.2 ns/op BenchmarkLastIndexAnyASCII/16:8-4 754664 159.0 ns/op BenchmarkLastIndexAnyASCII/16:16-4 694298 171.8 ns/op BenchmarkLastIndexAnyASCII/16:32-4 579133 198.1 ns/op BenchmarkLastIndexAnyASCII/16:64-4 485793 243.7 ns/op BenchmarkLastIndexAnyASCII/256:1-4 77421 1547 ns/op BenchmarkLastIndexAnyASCII/256:2-4 77538 1541 ns/op BenchmarkLastIndexAnyASCII/256:4-4 77707 1548 ns/op BenchmarkLastIndexAnyASCII/256:8-4 76392 1573 ns/op BenchmarkLastIndexAnyASCII/256:16-4 75081 1572 ns/op BenchmarkLastIndexAnyASCII/256:32-4 75520 1592 ns/op BenchmarkLastIndexAnyASCII/256:64-4 73000 1648 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2034967 57.64 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2115087 55.15 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2084287 54.32 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2053304 54.40 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2106728 54.75 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2100697 55.12 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2116130 55.35 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 364239 319.4 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 177801 649.6 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 174644 653.7 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 177277 661.2 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 173842 666.1 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 170714 710.5 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 164611 708.0 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 28118 4323 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 12742 9480 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 12537 9619 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 12366 9621 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 12243 9861 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 10000 10532 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 10000 10689 ns/op BenchmarkTrimASCII/1:1-4 3166516 38.10 ns/op BenchmarkTrimASCII/1:2-4 2448418 48.00 ns/op BenchmarkTrimASCII/1:4-4 2353992 51.23 ns/op BenchmarkTrimASCII/1:8-4 2088303 57.31 ns/op BenchmarkTrimASCII/1:16-4 1714450 68.47 ns/op BenchmarkTrimASCII/16:1-4 2716482 44.48 ns/op BenchmarkTrimASCII/16:2-4 770174 147.1 ns/op BenchmarkTrimASCII/16:4-4 712436 150.5 ns/op BenchmarkTrimASCII/16:8-4 737924 158.7 ns/op BenchmarkTrimASCII/16:16-4 696532 170.1 ns/op BenchmarkTrimASCII/256:1-4 790204 149.1 ns/op BenchmarkTrimASCII/256:2-4 75523 1539 ns/op BenchmarkTrimASCII/256:4-4 75843 1564 ns/op BenchmarkTrimASCII/256:8-4 77240 1548 ns/op BenchmarkTrimASCII/256:16-4 76872 1555 ns/op BenchmarkTrimASCII/4096:1-4 74697 1602 ns/op BenchmarkTrimASCII/4096:2-4 5042 23823 ns/op BenchmarkTrimASCII/4096:4-4 4933 23664 ns/op BenchmarkTrimASCII/4096:8-4 4972 23775 ns/op BenchmarkTrimASCII/4096:16-4 4762 23917 ns/op BenchmarkTrimByte-4 4129396 28.44 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 13394 8961 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 13302 9068 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 1102 108178 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 1927 52614 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 4366 26797 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 7776 14865 ns/op BenchmarkJoin/0-4 5158342 21.75 ns/op 0 B/op 0 allocs/op BenchmarkJoin/1-4 4074997 29.03 ns/op 0 B/op 0 allocs/op BenchmarkJoin/2-4 202854 597.7 ns/op 16 B/op 1 allocs/op BenchmarkJoin/3-4 136936 860.8 ns/op 24 B/op 1 allocs/op BenchmarkJoin/4-4 100681 1179 ns/op 48 B/op 1 allocs/op BenchmarkJoin/5-4 84219 1458 ns/op 48 B/op 1 allocs/op BenchmarkJoin/6-4 72300 1724 ns/op 64 B/op 1 allocs/op BenchmarkJoin/7-4 60013 1991 ns/op 64 B/op 1 allocs/op BenchmarkTrimSpace/NoTrim-4 2636288 45.95 ns/op BenchmarkTrimSpace/ASCII-4 1540236 78.73 ns/op BenchmarkTrimSpace/SomeNonASCII-4 139052 841.7 ns/op BenchmarkTrimSpace/JustNonASCII-4 74802 1613 ns/op BenchmarkReplaceAll-4 122374 1006 ns/op 16 B/op 1 allocs/op PASS ok strings 67.639s goos: linux goarch: amd64 pkg: sync cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCond1-4 46580 2219 ns/op BenchmarkCond2-4 29466 4540 ns/op BenchmarkCond4-4 16312 7332 ns/op BenchmarkCond8-4 8689 14567 ns/op BenchmarkCond16-4 3633 31230 ns/op BenchmarkCond32-4 1796 72806 ns/op BenchmarkLoadMostlyHits/*sync_test.DeepCopyMap-4 394834 261.6 ns/op BenchmarkLoadMostlyHits/*sync_test.RWMutexMap-4 210501 539.1 ns/op BenchmarkLoadMostlyHits/*sync.Map-4 439557 233.9 ns/op BenchmarkLoadMostlyMisses/*sync_test.DeepCopyMap-4 460765 243.4 ns/op BenchmarkLoadMostlyMisses/*sync_test.RWMutexMap-4 258448 447.2 ns/op BenchmarkLoadMostlyMisses/*sync.Map-4 459140 222.9 ns/op BenchmarkLoadOrStoreBalanced/*sync_test.RWMutexMap-4 66376 1954 ns/op BenchmarkLoadOrStoreBalanced/*sync.Map-4 64220 2268 ns/op BenchmarkLoadOrStoreUnique/*sync_test.RWMutexMap-4 47865 2485 ns/op BenchmarkLoadOrStoreUnique/*sync.Map-4 32782 3732 ns/op BenchmarkLoadOrStoreCollision/*sync_test.DeepCopyMap-4 417510 349.5 ns/op BenchmarkLoadOrStoreCollision/*sync_test.RWMutexMap-4 156762 880.1 ns/op BenchmarkLoadOrStoreCollision/*sync.Map-4 412957 283.7 ns/op BenchmarkLoadAndDeleteBalanced/*sync_test.RWMutexMap-4 131724 948.7 ns/op BenchmarkLoadAndDeleteBalanced/*sync.Map-4 491186 235.1 ns/op BenchmarkLoadAndDeleteUnique/*sync_test.RWMutexMap-4 157449 814.5 ns/op BenchmarkLoadAndDeleteUnique/*sync.Map-4 1765862 62.91 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.DeepCopyMap-4 41185 3000 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.RWMutexMap-4 100454 1198 ns/op BenchmarkLoadAndDeleteCollision/*sync.Map-4 304676 483.3 ns/op BenchmarkRange/*sync_test.DeepCopyMap-4 5844 17707 ns/op BenchmarkRange/*sync_test.RWMutexMap-4 232 517075 ns/op BenchmarkRange/*sync.Map-4 1071 98593 ns/op BenchmarkAdversarialAlloc/*sync_test.DeepCopyMap-4 74588 1487 ns/op BenchmarkAdversarialAlloc/*sync_test.RWMutexMap-4 156126 679.5 ns/op BenchmarkAdversarialAlloc/*sync.Map-4 58458 2026 ns/op BenchmarkAdversarialDelete/*sync_test.DeepCopyMap-4 82798 1260 ns/op BenchmarkAdversarialDelete/*sync_test.RWMutexMap-4 195876 614.4 ns/op BenchmarkAdversarialDelete/*sync.Map-4 127309 974.7 ns/op BenchmarkDeleteCollision/*sync_test.DeepCopyMap-4 58070 1824 ns/op BenchmarkDeleteCollision/*sync_test.RWMutexMap-4 157596 788.6 ns/op BenchmarkDeleteCollision/*sync.Map-4 567693 230.9 ns/op BenchmarkSwapCollision/*sync_test.DeepCopyMap-4 51370 2455 ns/op BenchmarkSwapCollision/*sync_test.RWMutexMap-4 138108 978.0 ns/op BenchmarkSwapCollision/*sync.Map-4 62175 1880 ns/op BenchmarkSwapMostlyHits/*sync_test.DeepCopyMap-4 247 515823 ns/op BenchmarkSwapMostlyHits/*sync_test.RWMutexMap-4 74018 1444 ns/op BenchmarkSwapMostlyHits/*sync.Map-4 266570 432.8 ns/op BenchmarkSwapMostlyMisses/*sync_test.DeepCopyMap-4 17776 5930 ns/op BenchmarkSwapMostlyMisses/*sync_test.RWMutexMap-4 52623 2231 ns/op BenchmarkSwapMostlyMisses/*sync.Map-4 18903 6526 ns/op BenchmarkCompareAndSwapCollision/*sync_test.DeepCopyMap-4 283624 442.4 ns/op BenchmarkCompareAndSwapCollision/*sync_test.RWMutexMap-4 81404 1383 ns/op BenchmarkCompareAndSwapCollision/*sync.Map-4 145274 897.6 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.DeepCopyMap-4 1536320 71.37 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.RWMutexMap-4 122000 851.1 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync.Map-4 2002921 67.02 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.DeepCopyMap-4 464913 265.4 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.RWMutexMap-4 137770 890.6 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync.Map-4 432753 254.5 ns/op BenchmarkCompareAndSwapMostlyHits/*sync_test.RWMutexMap-4 76401 1558 ns/op BenchmarkCompareAndSwapMostlyHits/*sync.Map-4 259971 422.8 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.DeepCopyMap-4 388558 330.4 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.RWMutexMap-4 85759 1270 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync.Map-4 475998 240.8 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.DeepCopyMap-4 203204 643.4 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.RWMutexMap-4 88228 1286 ns/op BenchmarkCompareAndDeleteCollision/*sync.Map-4 260905 808.6 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync_test.RWMutexMap-4 48879 2477 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync.Map-4 184224 648.6 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.DeepCopyMap-4 389925 303.2 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.RWMutexMap-4 99549 1151 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync.Map-4 473362 236.2 ns/op BenchmarkUncontendedSemaphore-4 3370521 35.62 ns/op BenchmarkContendedSemaphore-4 3060628 40.13 ns/op BenchmarkMutexUncontended-4 802575 135.8 ns/op BenchmarkMutex-4 115904 915.4 ns/op BenchmarkMutexSlack-4 125055 972.4 ns/op BenchmarkMutexWork-4 161397 1040 ns/op BenchmarkMutexWorkSlack-4 100058 1003 ns/op BenchmarkMutexNoSpin-4 47940 2488 ns/op BenchmarkMutexSpin-4 44226 2611 ns/op BenchmarkOnce-4 599196 243.2 ns/op BenchmarkOnceFunc/v=Once-4 1000000 107.7 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Global-4 887792 131.5 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Local-4 860407 125.8 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Once-4 943586 114.3 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Global-4 820969 143.8 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Local-4 821816 140.1 ns/op 0 B/op 0 allocs/op BenchmarkSemaUncontended-4 5974548 18.58 ns/op BenchmarkSemaSyntNonblock-4 1000000 105.7 ns/op BenchmarkSemaSyntBlock-4 1000000 103.5 ns/op BenchmarkSemaWorkNonblock-4 902575 140.6 ns/op BenchmarkSemaWorkBlock-4 762956 151.4 ns/op BenchmarkRWMutexUncontended-4 386904 350.8 ns/op BenchmarkRWMutexWrite100-4 209283 478.5 ns/op BenchmarkRWMutexWrite10-4 219152 571.7 ns/op BenchmarkRWMutexWorkWrite100-4 211328 638.8 ns/op BenchmarkRWMutexWorkWrite10-4 164948 742.6 ns/op BenchmarkWaitGroupUncontended-4 603687 180.3 ns/op BenchmarkWaitGroupAddDone-4 334807 376.0 ns/op BenchmarkWaitGroupAddDoneWork-4 265359 474.2 ns/op BenchmarkWaitGroupWait-4 4431282 31.21 ns/op BenchmarkWaitGroupWaitWork-4 2998896 45.86 ns/op BenchmarkWaitGroupActuallyWait-4 36294 3286 ns/op 32 B/op 2 allocs/op PASS ok sync 19.153s ##### 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 726453 165.5 ns/op PASS ok sync/atomic 1.134s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. PASS ok syscall 1.018s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: testing cpu: AMD EPYC 7B12 BenchmarkTBHelper-4 148219 786.6 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 7528 14888 ns/op 1520 B/op 21 allocs/op BenchmarkTable/1x10/reuse-4 11172 10745 ns/op 0 B/op 0 allocs/op BenchmarkTable/1x1000/new-4 94 1233947 ns/op 129392 B/op 1025 allocs/op BenchmarkTable/1x1000/reuse-4 121 980274 ns/op 1069 B/op 8 allocs/op BenchmarkTable/1x100000/new-4 1 191903245 ns/op 19393008 B/op 100057 allocs/op BenchmarkTable/1x100000/reuse-4 1 188833517 ns/op 19393016 B/op 100058 allocs/op BenchmarkTable/10x10/new-4 1597 67129 ns/op 5056 B/op 31 allocs/op BenchmarkTable/10x10/reuse-4 1944 56473 ns/op 2 B/op 0 allocs/op BenchmarkTable/10x1000/new-4 18 6285674 ns/op 413568 B/op 1039 allocs/op BenchmarkTable/10x1000/reuse-4 18 5693782 ns/op 22976 B/op 57 allocs/op BenchmarkTable/10x100000/new-4 1 754245082 ns/op 48120896 B/op 100075 allocs/op BenchmarkTable/10x100000/reuse-4 1 751519413 ns/op 48120800 B/op 100074 allocs/op BenchmarkTable/100x10/new-4 206 573480 ns/op 39296 B/op 41 allocs/op BenchmarkTable/100x10/reuse-4 235 502249 ns/op 167 B/op 0 allocs/op BenchmarkTable/100x1000/new-4 2 62584460 ns/op 3288960 B/op 1053 allocs/op BenchmarkTable/100x1000/reuse-4 2 60963562 ns/op 1644480 B/op 526 allocs/op BenchmarkTable/100x100000/new-4 1 7278483109 ns/op 335149952 B/op 100089 allocs/op BenchmarkTable/100x100000/reuse-4 1 7191244010 ns/op 335150048 B/op 100090 allocs/op BenchmarkPyramid/10-4 2680 44288 ns/op 4872 B/op 35 allocs/op BenchmarkPyramid/100-4 37 3136795 ns/op 409128 B/op 230 allocs/op BenchmarkPyramid/1000-4 1 343070521 ns/op 35625352 B/op 2056 allocs/op BenchmarkRagged/10-4 2496 47678 ns/op 4512 B/op 34 allocs/op BenchmarkRagged/100-4 256 447074 ns/op 41008 B/op 188 allocs/op BenchmarkRagged/1000-4 25 4672071 ns/op 427427 B/op 1661 allocs/op BenchmarkCode-4 7353 15924 ns/op 624 B/op 13 allocs/op PASS ok text/tabwriter 20.615s ##### 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 54572427 ns/op BenchmarkVariableString-4 143353 873.3 ns/op 80 B/op 3 allocs/op BenchmarkListString-4 3001 39473 ns/op 2520 B/op 39 allocs/op PASS ok text/template/parse 1.441s ##### 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 33 3449987 ns/op BenchmarkAfter-4 87 1206374 ns/op BenchmarkStop-4 184 628470 ns/op BenchmarkSimultaneousAfterFunc-4 26 4504237 ns/op BenchmarkStartStop-4 198 642750 ns/op BenchmarkReset-4 2469 58958 ns/op BenchmarkSleep-4 30 4376218 ns/op BenchmarkParallelTimerLatency-4 48 259234 avg-late-ns 2063656 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=1-4 36 366169 avg-late-ns 972580 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=2-4 32 366131 avg-late-ns 1418713 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=3-4 34 431428 avg-late-ns 1296698 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=4-4 33 358904 avg-late-ns 1514442 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=5-4 31 380288 avg-late-ns 2284065 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=6-4 32 266176 avg-late-ns 1796121 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=7-4 30 192709 avg-late-ns 2435844 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=8-4 27 187412 avg-late-ns 1148549 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=9-4 25 182630 avg-late-ns 1325070 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=10-4 26 1009033 avg-late-ns 4019874 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=2ms/tickers-per-P=1-4 34 338742 avg-late-ns 1241562 max-late-ns BenchmarkTicker-4 321 372004 ns/op BenchmarkTickerReset-4 3778 32726 ns/op BenchmarkTickerResetNaive-4 181 719458 ns/op BenchmarkNow-4 1000000 102.7 ns/op BenchmarkNowUnixNano-4 1000000 102.6 ns/op BenchmarkNowUnixMilli-4 1000000 103.6 ns/op BenchmarkNowUnixMicro-4 1000000 104.0 ns/op BenchmarkFormat-4 57970 2079 ns/op BenchmarkFormatRFC3339-4 77869 1549 ns/op BenchmarkFormatRFC3339Nano-4 75241 1575 ns/op BenchmarkFormatNow-4 78908 1484 ns/op BenchmarkMarshalJSON-4 102837 1168 ns/op BenchmarkMarshalText-4 108072 1136 ns/op BenchmarkParse-4 137745 849.8 ns/op BenchmarkParseRFC3339UTC-4 329056 361.3 ns/op BenchmarkParseRFC3339UTCBytes-4 213307 561.4 ns/op BenchmarkParseRFC3339TZ-4 99884 1216 ns/op BenchmarkParseRFC3339TZBytes-4 77374 1551 ns/op BenchmarkParseDuration-4 505959 226.1 ns/op BenchmarkHour-4 813932 139.2 ns/op BenchmarkSecond-4 848626 138.3 ns/op BenchmarkYear-4 647862 184.8 ns/op BenchmarkDay-4 562309 202.1 ns/op BenchmarkISOWeek-4 627045 191.3 ns/op BenchmarkGoString-4 74341 1563 ns/op BenchmarkUnmarshalText-4 68121 1768 ns/op PASS ok time 12.467s goos: linux goarch: amd64 pkg: unicode/utf16 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecodeValidASCII-4 552774 187.4 ns/op BenchmarkDecodeValidJapaneseChars-4 695686 155.2 ns/op BenchmarkDecodeRune-4 1666383 71.51 ns/op BenchmarkEncodeValidASCII-4 517809 205.5 ns/op BenchmarkEncodeValidJapaneseChars-4 810495 146.8 ns/op BenchmarkAppendRuneValidASCII-4 1581201 75.31 ns/op BenchmarkAppendRuneValidJapaneseChars-4 2399806 50.10 ns/op BenchmarkEncodeRune-4 2868974 40.53 ns/op PASS ok unicode/utf16 2.201s goos: linux goarch: amd64 pkg: unicode/utf8 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRuneCountTenASCIIChars-4 810237 142.7 ns/op BenchmarkRuneCountTenJapaneseChars-4 163580 682.1 ns/op BenchmarkRuneCountInStringTenASCIIChars-4 3678754 32.49 ns/op BenchmarkRuneCountInStringTenJapaneseChars-4 411145 285.6 ns/op BenchmarkValidTenASCIIChars-4 781807 139.0 ns/op BenchmarkValid100KASCIIChars-4 91 1318503 ns/op BenchmarkValidTenJapaneseChars-4 151036 774.8 ns/op BenchmarkValidLongMostlyASCII-4 84 1424187 ns/op BenchmarkValidLongJapanese-4 52 2252779 ns/op BenchmarkValidStringTenASCIIChars-4 4385710 27.17 ns/op BenchmarkValidString100KASCIIChars-4 9222 12805 ns/op BenchmarkValidStringTenJapaneseChars-4 397651 264.0 ns/op BenchmarkValidStringLongMostlyASCII-4 1204 97753 ns/op BenchmarkValidStringLongJapanese-4 153 776368 ns/op BenchmarkEncodeASCIIRune-4 4276642 27.81 ns/op BenchmarkEncodeJapaneseRune-4 2431704 48.52 ns/op BenchmarkAppendASCIIRune-4 8750439 12.64 ns/op BenchmarkAppendJapaneseRune-4 2826898 42.86 ns/op BenchmarkDecodeASCIIRune-4 2761930 41.18 ns/op BenchmarkDecodeJapaneseRune-4 1840600 63.78 ns/op BenchmarkFullRune/ASCII-4 3360946 36.06 ns/op BenchmarkFullRune/Incomplete-4 1545218 77.20 ns/op BenchmarkFullRune/Japanese-4 3439930 34.79 ns/op PASS ok unicode/utf8 4.716s goos: linux goarch: amd64 pkg: cmd/api cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAll-4 1 71272583542 ns/op PASS ok cmd/api 72.439s goos: linux goarch: amd64 pkg: cmd/cgo/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCgoCall/add-int-4 380880 306.6 ns/op BenchmarkCgoCall/one-pointer-4 309416 379.3 ns/op BenchmarkCgoCall/eight-pointers-4 168648 692.3 ns/op BenchmarkCgoCall/eight-pointers-nil-4 325270 364.4 ns/op BenchmarkCgoCall/eight-pointers-array-4 14684 7227 ns/op BenchmarkCgoCall/eight-pointers-slice-4 31330 3717 ns/op BenchmarkGoString-4 866418 115.6 ns/op BenchmarkCGoCallback-4 45476 2556 ns/op BenchmarkCGoInCThread-4 274992 420.3 ns/op PASS ok cmd/cgo/internal/test 2.326s ##### 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: cmd/compile/internal/reflectdata cpu: AMD EPYC 7B12 BenchmarkEqArrayOfStrings5-4 1502575 75.48 ns/op BenchmarkEqArrayOfStrings64-4 197842 599.8 ns/op BenchmarkEqArrayOfStrings1024-4 13194 9070 ns/op BenchmarkEqArrayOfFloats5-4 1895749 72.40 ns/op BenchmarkEqArrayOfFloats64-4 196240 615.4 ns/op BenchmarkEqArrayOfFloats1024-4 12718 9455 ns/op BenchmarkEqArrayOfStructsEq-4 3417 32865 ns/op BenchmarkEqArrayOfStructsNotEq-4 6637 17860 ns/op BenchmarkEqStruct-4 23897479 4.984 ns/op PASS ok cmd/compile/internal/reflectdata 2.474s ##### 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: cmd/compile/internal/ssa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPhioptPass-4 10000 61734 ns/op BenchmarkCopyElim1-4 530 193095 ns/op BenchmarkCopyElim10-4 535 229347 ns/op BenchmarkCopyElim100-4 295 395413 ns/op BenchmarkCopyElim1000-4 46 2306124 ns/op BenchmarkCopyElim10000-4 3 43893680 ns/op BenchmarkCopyElim100000-4 1 719812680 ns/op BenchmarkDeadCode/1-4 642 205651 ns/op BenchmarkDeadCode/10-4 501 238920 ns/op BenchmarkDeadCode/100-4 219 544629 ns/op BenchmarkDeadCode/1000-4 40 2823999 ns/op BenchmarkDeadCode/10000-4 3 37158890 ns/op BenchmarkDeadCode/100000-4 1 462436626 ns/op BenchmarkDeadCode/200000-4 1 950938972 ns/op BenchmarkDominatorsLinear-4 12 11168523 ns/op 0.90 MB/s BenchmarkDominatorsFwdBack-4 7 16448273 ns/op 0.61 MB/s BenchmarkDominatorsManyPred-4 8 15353379 ns/op 0.65 MB/s BenchmarkDominatorsMaxPred-4 8 14593381 ns/op 0.69 MB/s BenchmarkDominatorsMaxPredVal-4 8 16122989 ns/op 0.62 MB/s BenchmarkFuse/1-4 517 238990 ns/op BenchmarkFuse/10-4 362 281190 ns/op BenchmarkFuse/100-4 136 874879 ns/op BenchmarkFuse/1000-4 20 6252680 ns/op BenchmarkFuse/10000-4 2 82430176 ns/op BenchmarkNilCheckDeep1-4 12178 9967 ns/op 0.10 MB/s 235 B/op 4 allocs/op BenchmarkNilCheckDeep10-4 5242 23734 ns/op 0.42 MB/s 231 B/op 4 allocs/op BenchmarkNilCheckDeep100-4 746 154056 ns/op 0.65 MB/s 692 B/op 4 allocs/op BenchmarkNilCheckDeep1000-4 72 1489240 ns/op 0.67 MB/s 4279 B/op 4 allocs/op BenchmarkNilCheckDeep10000-4 6 19447154 ns/op 0.51 MB/s 104124 B/op 6 allocs/op BenchmarkDSEPass-4 31 3714949 ns/op 63666 B/op 8 allocs/op BenchmarkDSEPassBlock-4 1 124630858 ns/op 4220992 B/op 107741 allocs/op BenchmarkCSEPass-4 7 15803370 ns/op 84709 B/op 9 allocs/op BenchmarkCSEPassBlock-4 1 162402675 ns/op 5659224 B/op 97426 allocs/op BenchmarkDeadcodePass-4 175 669404 ns/op 91629 B/op 3 allocs/op BenchmarkDeadcodePassBlock-4 1 139251748 ns/op 4080792 B/op 45257 allocs/op BenchmarkMultiPass-4 64 1781227 ns/op 231834 B/op 11 allocs/op BenchmarkMultiPassBlock-4 1 274803813 ns/op 11267264 B/op 150422 allocs/op BenchmarkCondRewrite/SoloJump-4 3126890 37.85 ns/op BenchmarkCondRewrite/CombJump-4 2808112 43.28 ns/op PASS ok cmd/compile/internal/ssa 16.428s goos: linux goarch: amd64 pkg: cmd/compile/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLoadAdd-4 10000 10738 ns/op BenchmarkExtShift-4 16658 7198 ns/op BenchmarkModify-4 9486 11975 ns/op BenchmarkMullImm-4 17556 6861 ns/op BenchmarkConstModify-4 9600 12131 ns/op BenchmarkBitSet-4 21140 5708 ns/op BenchmarkBitClear-4 21064 5690 ns/op BenchmarkBitToggle-4 21174 5680 ns/op BenchmarkBitSetConst-4 165952 670.7 ns/op BenchmarkBitClearConst-4 160878 714.9 ns/op BenchmarkBitToggleConst-4 162949 678.1 ns/op BenchmarkDivconstI64-4 10601560 11.29 ns/op BenchmarkModconstI64-4 9624597 12.35 ns/op BenchmarkDivisiblePow2constI64-4 10634342 11.36 ns/op BenchmarkDivisibleconstI64-4 10725628 11.07 ns/op BenchmarkDivisibleWDivconstI64-4 6913275 17.42 ns/op BenchmarkDivconstU64/3-4 10799900 11.00 ns/op BenchmarkDivconstU64/5-4 10320855 11.62 ns/op BenchmarkDivconstU64/37-4 10807816 11.01 ns/op BenchmarkDivconstU64/1234567-4 10479859 11.33 ns/op BenchmarkModconstU64-4 11202559 10.65 ns/op BenchmarkDivisibleconstU64-4 10619047 11.23 ns/op BenchmarkDivisibleWDivconstU64-4 6849661 17.51 ns/op BenchmarkDivconstI32-4 10319829 11.64 ns/op BenchmarkModconstI32-4 8859901 11.48 ns/op BenchmarkDivisiblePow2constI32-4 10757126 11.22 ns/op BenchmarkDivisibleconstI32-4 10651164 11.15 ns/op BenchmarkDivisibleWDivconstI32-4 6810708 17.32 ns/op BenchmarkDivconstU32-4 8836208 11.42 ns/op BenchmarkModconstU32-4 8275567 12.39 ns/op BenchmarkDivisibleconstU32-4 10805180 11.14 ns/op BenchmarkDivisibleWDivconstU32-4 7401362 16.26 ns/op BenchmarkDivconstI16-4 10567783 11.36 ns/op BenchmarkModconstI16-4 8415356 12.02 ns/op BenchmarkDivisiblePow2constI16-4 10761148 11.09 ns/op BenchmarkDivisibleconstI16-4 10844919 11.04 ns/op BenchmarkDivisibleWDivconstI16-4 6938694 17.22 ns/op BenchmarkDivconstU16-4 8748610 11.49 ns/op BenchmarkModconstU16-4 10692381 11.17 ns/op BenchmarkDivisibleconstU16-4 9229302 12.26 ns/op BenchmarkDivisibleWDivconstU16-4 7421564 16.14 ns/op BenchmarkDivconstI8-4 10719808 11.25 ns/op BenchmarkModconstI8-4 8510983 12.10 ns/op BenchmarkDivisiblePow2constI8-4 10971780 10.95 ns/op BenchmarkDivisibleconstI8-4 10896117 11.16 ns/op BenchmarkDivisibleWDivconstI8-4 7151354 16.26 ns/op BenchmarkDivconstU8-4 10707447 11.14 ns/op BenchmarkModconstU8-4 10875382 11.01 ns/op BenchmarkDivisibleconstU8-4 9244614 11.27 ns/op BenchmarkDivisibleWDivconstU8-4 7338900 16.06 ns/op BenchmarkMul2-4 165534 721.9 ns/op BenchmarkMulNeg2-4 156650 732.3 ns/op BenchmarkEfaceInteger-4 3679568 28.58 ns/op BenchmarkDiv64UnsignedSmall-4 6779431 15.57 ns/op BenchmarkDiv64Small-4 6155810 17.46 ns/op BenchmarkDiv64SmallNegDivisor-4 5942292 18.33 ns/op BenchmarkDiv64SmallNegDividend-4 6181435 17.57 ns/op BenchmarkDiv64SmallNegBoth-4 6227258 18.14 ns/op BenchmarkDiv64Unsigned-4 6603123 16.11 ns/op BenchmarkDiv64-4 6130890 18.72 ns/op BenchmarkDiv64NegDivisor-4 6046513 18.24 ns/op BenchmarkDiv64NegDividend-4 6063253 18.35 ns/op BenchmarkDiv64NegBoth-4 6077406 18.27 ns/op BenchmarkMod64UnsignedSmall-4 7044500 15.35 ns/op BenchmarkMod64Small-4 6191893 17.21 ns/op BenchmarkMod64SmallNegDivisor-4 6087040 18.51 ns/op BenchmarkMod64SmallNegDividend-4 5962124 17.23 ns/op BenchmarkMod64SmallNegBoth-4 6044769 17.56 ns/op BenchmarkMod64Unsigned-4 6892158 15.72 ns/op BenchmarkMod64-4 6186230 17.88 ns/op BenchmarkMod64NegDivisor-4 5880657 17.80 ns/op BenchmarkMod64NegDividend-4 6054110 18.19 ns/op BenchmarkMod64NegBoth-4 6031982 18.14 ns/op BenchmarkMulconstI32/3-4 22319907 5.392 ns/op BenchmarkMulconstI32/5-4 22496733 5.391 ns/op BenchmarkMulconstI32/12-4 20845176 5.745 ns/op BenchmarkMulconstI32/120-4 22302364 5.329 ns/op BenchmarkMulconstI32/-120-4 22580732 5.385 ns/op BenchmarkMulconstI32/65537-4 20333604 5.833 ns/op BenchmarkMulconstI32/65538-4 21046442 5.795 ns/op BenchmarkMulconstI64/3-4 22294899 5.349 ns/op BenchmarkMulconstI64/5-4 22398205 5.368 ns/op BenchmarkMulconstI64/12-4 20615764 5.736 ns/op BenchmarkMulconstI64/120-4 22221943 5.402 ns/op BenchmarkMulconstI64/-120-4 22477762 5.366 ns/op BenchmarkMulconstI64/65537-4 21117362 5.708 ns/op BenchmarkMulconstI64/65538-4 21005955 5.735 ns/op BenchmarkMulconstU32/3-4 22319751 5.326 ns/op BenchmarkMulconstU32/5-4 21116396 5.672 ns/op BenchmarkMulconstU32/12-4 20694810 5.743 ns/op BenchmarkMulconstU32/120-4 22304158 5.324 ns/op BenchmarkMulconstU32/65537-4 21024610 5.706 ns/op BenchmarkMulconstU32/65538-4 20849198 5.765 ns/op BenchmarkMulconstU64/3-4 22560841 5.319 ns/op BenchmarkMulconstU64/5-4 22551246 5.392 ns/op BenchmarkMulconstU64/12-4 20762952 5.833 ns/op BenchmarkMulconstU64/120-4 22407262 5.338 ns/op BenchmarkMulconstU64/65537-4 21077163 5.722 ns/op BenchmarkMulconstU64/65538-4 20862123 5.707 ns/op BenchmarkShiftArithmeticRight-4 20352757 5.864 ns/op BenchmarkSwitch8Predictable-4 13256750 9.043 ns/op BenchmarkSwitch8Unpredictable-4 5545396 21.34 ns/op BenchmarkSwitch32Predictable-4 8503930 14.12 ns/op BenchmarkSwitch32Unpredictable-4 5548812 21.42 ns/op BenchmarkSwitchStringPredictable-4 7591438 15.87 ns/op BenchmarkSwitchStringUnpredictable-4 4238032 28.27 ns/op PASS ok cmd/compile/internal/test 20.301s goos: linux goarch: amd64 pkg: cmd/compile/internal/types2 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLookupFieldOrMethod-4 132 908554 ns/op BenchmarkNamed/Underlying/nongeneric-4 832354 139.1 ns/op BenchmarkNamed/Underlying/generic-4 857247 135.4 ns/op BenchmarkNamed/Underlying/src_instance-4 812398 135.1 ns/op BenchmarkNamed/Underlying/user_instance-4 866706 134.5 ns/op BenchmarkCheck/http/funcbodies/info-4 1 566630368 ns/op 53986 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 371401146 ns/op 82356 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 177949366 ns/op 171867 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 152525417 ns/op 200483 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 457397270 ns/op 11333 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 2 96895744 ns/op 53483 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 3 36775978 ns/op 140866 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 3 35364996 ns/op 146503 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 148160710 ns/op 14641 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 3 43055050 ns/op 50388 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 5 22682177 ns/op 95622 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 5 21366234 ns/op 101489 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1218763245 ns/op 53588 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 628985144 ns/op 103826 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 183512853 ns/op 355747 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 132272362 ns/op 493431 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 420343352 ns/op 4762 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 68381970 ns/op 29258 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 3 42321174 ns/op 47285 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 3 42941358 ns/op 46600 lines/s PASS ok cmd/compile/internal/types2 17.252s goos: linux goarch: amd64 pkg: cmd/go cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExecGoEnv-4 132 899885 ns/op 2043742 sys-ns/op 1292061 user-ns/op PASS ok cmd/go 1.211s goos: linux goarch: amd64 pkg: cmd/internal/notsha256 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 66901 1765 ns/op 4.53 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 76285 1508 ns/op 5.30 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 14173 8445 ns/op 121.25 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 14689 8160 ns/op 125.50 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 2188 54484 ns/op 150.36 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 2182 54236 ns/op 151.04 MB/s 0 B/op 0 allocs/op PASS ok cmd/internal/notsha256 1.960s All tests passed.