linux-amd64-race at 20e08fe68cc13102046d8c4500a7f5257a9d2881 :: 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-rnb4e0367" "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-rnb4e0367" "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.753s ok archive/zip 2.567s ok bufio 1.216s ok bytes 2.584s ok cmp 1.008s ok compress/bzip2 1.302s ok compress/flate 5.355s ok compress/gzip 9.894s ok compress/lzw 1.388s ok compress/zlib 4.341s ok container/heap 1.013s ok container/list 1.012s ok container/ring 1.011s ok context 1.029s ok crypto 1.009s ok crypto/aes 1.034s ok crypto/cipher 1.029s ok crypto/des 1.028s ok crypto/dsa 1.010s ok crypto/ecdh 1.153s ok crypto/ecdsa 1.090s ok crypto/ed25519 1.283s ok crypto/elliptic 1.025s ok crypto/hmac 1.011s ok crypto/internal/alias 1.008s ok crypto/internal/bigmod 3.402s ok crypto/internal/boring 1.009s ok crypto/internal/boring/bcache 1.258s ok crypto/internal/edwards25519 27.727s ok crypto/internal/edwards25519/field 10.008s ok crypto/internal/nistec 1.594s ok crypto/internal/nistec/fiat 1.008s [no tests to run] ok crypto/md5 1.014s ok crypto/rand 1.184s ok crypto/rc4 1.328s ok crypto/rsa 2.246s ok crypto/sha1 1.025s ok crypto/sha256 1.014s ok crypto/sha512 1.013s ok crypto/subtle 1.248s ok crypto/tls 2.960s ok crypto/x509 1.953s ok database/sql 1.291s ok database/sql/driver 1.008s ok debug/buildinfo 1.022s ok debug/dwarf 1.046s ok debug/elf 1.823s ok debug/gosym 1.189s ok debug/macho 1.018s ok debug/pe 1.027s ok debug/plan9obj 1.010s ok embed 1.008s [no tests to run] ok embed/internal/embedtest 1.009s ok encoding/ascii85 1.011s ok encoding/asn1 1.012s ok encoding/base32 1.037s ok encoding/base64 1.014s ok encoding/binary 1.012s ok encoding/csv 1.033s ok encoding/gob 15.803s ok encoding/hex 1.013s ok encoding/json 1.754s ok encoding/pem 2.184s ok encoding/xml 1.118s ok errors 1.013s ok expvar 1.012s ok flag 3.052s ok fmt 1.424s ok go/ast 1.014s ok go/build 3.952s ok go/build/constraint 1.013s ok go/constant 1.014s ok go/doc 1.161s ok go/doc/comment 2.388s ok go/format 1.031s ok go/importer 1.101s ok go/internal/gccgoimporter 1.028s ok go/internal/gcimporter 1.676s ok go/internal/srcimporter 9.894s ok go/parser 1.582s ok go/printer 1.954s ok go/scanner 1.013s ok go/token 1.077s ok go/types 22.333s ok hash 1.012s ok hash/adler32 1.026s ok hash/crc32 1.032s ok hash/crc64 1.018s ok hash/fnv 1.010s ok hash/maphash 1.010s ok html 1.009s ok html/template 1.147s ok image 1.295s ok image/color 1.021s ok image/draw 1.390s ok image/gif 1.584s ok image/jpeg 1.899s ok image/png 2.989s ok index/suffixarray 1.774s ok internal/abi 1.031s ok internal/buildcfg 1.008s ok internal/coverage/cformat 1.009s ok internal/coverage/cmerge 1.009s ok internal/coverage/pods 1.010s ok internal/coverage/slicereader 1.008s ok internal/coverage/slicewriter 1.008s ok internal/coverage/test 1.026s ok internal/cpu 3.025s ok internal/dag 1.009s ok internal/diff 1.010s ok internal/fmtsort 1.009s ok internal/fuzz 1.022s ok internal/godebug 13.432s ok internal/godebugs 1.008s ok internal/intern 1.192s ok internal/itoa 1.009s ok internal/poll 1.378s ok internal/profile 1.010s ok internal/reflectlite 1.010s ok internal/safefilepath 1.008s ok internal/saferio 1.197s ok internal/singleflight 1.071s ok internal/testenv 1.093s ok internal/trace 1.114s ok internal/types/errors 1.231s ok internal/unsafeheader 1.009s ok internal/xcoff 1.019s ok internal/zstd 1.010s ok io 1.039s ok io/fs 1.188s ok io/ioutil 1.012s ok log 1.017s ok log/slog 1.025s ok log/slog/internal/benchmarks 1.009s ok log/slog/internal/buffer 1.009s ok log/syslog 2.221s ok maps 1.011s ok math 1.016s ok math/big 3.034s ok math/bits 1.013s ok math/cmplx 1.010s ok math/rand 3.548s ok mime 1.020s ok mime/multipart 4.223s ok mime/quotedprintable 1.025s ok net 39.477s ok net/http 6.483s ok net/http/cgi 12.252s ok net/http/cookiejar 1.015s ok net/http/fcgi 1.114s ok net/http/httptest 1.130s ok net/http/httptrace 1.009s ok net/http/httputil 1.610s ok net/http/internal 1.012s ok net/http/internal/ascii 1.009s ok net/http/pprof 6.131s ok net/internal/socktest 1.010s ok net/mail 1.012s ok net/netip 1.215s ok net/rpc 1.037s ok net/rpc/jsonrpc 1.014s ok net/smtp 1.045s ok net/textproto 1.023s ok net/url 1.016s ok os 6.231s ok os/exec 4.113s ok os/exec/internal/fdtest 1.008s ok os/signal 16.884s ok os/user 1.010s ok path 1.011s ok path/filepath 1.034s ok plugin 1.008s ok reflect 1.340s ok regexp 2.922s ok regexp/syntax 3.968s ok runtime 25.313s ok runtime/cgo 1.010s ok runtime/coverage 1.010s ok runtime/debug 2.053s ok runtime/internal/atomic 1.048s ok runtime/internal/math 1.010s ok runtime/internal/sys 1.011s ok runtime/internal/syscall 1.009s ok runtime/metrics 1.016s ok runtime/pprof 18.305s ok runtime/race 8.622s ok runtime/trace 3.268s ok slices 1.303s ok sort 1.293s ok strconv 2.662s ok strings 2.028s ok sync 1.269s ok sync/atomic 2.028s ok syscall 10.360s ok testing 2.796s ok testing/fstest 1.012s ok testing/iotest 1.011s ok testing/quick 1.107s ok testing/slogtest 1.011s ok text/scanner 1.017s ok text/tabwriter 1.011s ok text/template 1.050s ok text/template/parse 1.017s ok time 2.963s ok unicode 1.013s ok unicode/utf16 1.009s ok unicode/utf8 1.017s ok cmd/addr2line 3.818s ok cmd/api 8.654s ok cmd/asm/internal/asm 3.308s ok cmd/asm/internal/lex 1.009s ok cmd/cgo/internal/swig 1.397s ok cmd/cgo/internal/test 2.034s ok cmd/cgo/internal/testcarchive 14.828s ok cmd/cgo/internal/testcshared 3.632s ok cmd/cgo/internal/testerrors 6.458s ok cmd/cgo/internal/testfortran 1.727s ok cmd/cgo/internal/testgodefs 1.338s ok cmd/cgo/internal/testlife 1.339s ok cmd/cgo/internal/testnocgo 1.009s ok cmd/cgo/internal/testplugin 17.989s ok cmd/cgo/internal/testsanitizers 12.290s ok cmd/cgo/internal/testshared 23.641s ok cmd/cgo/internal/testso 1.797s ok cmd/cgo/internal/teststdio 1.750s ok cmd/cgo/internal/testtls 1.009s ok cmd/compile/internal/abt 1.028s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/amd64 56.061s ##### 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.009s ok cmd/compile/internal/compare 1.009s ok cmd/compile/internal/dwarfgen 1.285s ok cmd/compile/internal/importer 1.458s ok cmd/compile/internal/ir 1.008s ok cmd/compile/internal/logopt 1.118s ok cmd/compile/internal/loopvar 16.692s ok cmd/compile/internal/noder 1.011s ok cmd/compile/internal/reflectdata 1.009s [no tests to run] ok cmd/compile/internal/ssa 17.228s ok cmd/compile/internal/syntax 1.087s ok cmd/compile/internal/test 8.774s ok cmd/compile/internal/typecheck 1.145s ok cmd/compile/internal/types 1.009s ok cmd/compile/internal/types2 5.835s ok cmd/covdata 1.010s ok cmd/cover 15.409s ok cmd/dist 1.011s ok cmd/distpack 1.009s ok cmd/doc 1.464s ok cmd/fix 1.442s ##### 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 237.572s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Testing packages. ok cmd/go/internal/auth 1.011s ok cmd/go/internal/cache 1.060s ok cmd/go/internal/envcmd 1.021s ok cmd/go/internal/fsys 1.024s ok cmd/go/internal/generate 1.015s ok cmd/go/internal/get 1.017s 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.101s ok cmd/go/internal/lockedfile/internal/filelock 2.037s ok cmd/go/internal/modconv 1.020s ok cmd/go/internal/modfetch 1.017s ok cmd/go/internal/modfetch/codehost 1.243s ok cmd/go/internal/modfetch/zip_sum_test 1.010s ok cmd/go/internal/modindex 1.411s ok cmd/go/internal/modload 1.016s ok cmd/go/internal/mvs 1.026s ok cmd/go/internal/par 1.057s ok cmd/go/internal/str 1.010s ok cmd/go/internal/test 1.021s ok cmd/go/internal/vcs 1.012s ok cmd/go/internal/vcweb 1.013s ok cmd/go/internal/vcweb/vcstest 3.444s ok cmd/go/internal/web 1.011s ok cmd/go/internal/work 1.083s ok cmd/gofmt 1.136s ok cmd/internal/archive 1.216s ok cmd/internal/bootstrap_test 1.009s ok cmd/internal/buildid 1.343s ok cmd/internal/cov 1.149s ok cmd/internal/dwarf 1.009s ok cmd/internal/edit 1.009s ok cmd/internal/goobj 1.008s ok cmd/internal/moddeps 1.676s ok cmd/internal/notsha256 1.010s ok cmd/internal/obj 1.291s ok cmd/internal/obj/ppc64 1.051s ok cmd/internal/obj/riscv 1.020s ok cmd/internal/obj/s390x 1.009s ok cmd/internal/obj/x86 1.085s ok cmd/internal/objabi 1.009s ok cmd/internal/pkgpath 5.041s ok cmd/internal/pkgpattern 1.011s ok cmd/internal/quoted 1.010s ok cmd/internal/src 1.009s ok cmd/internal/test2json 1.507s ok cmd/link 8.797s ok cmd/link/internal/benchmark 1.009s ok cmd/link/internal/ld 2.884s ok cmd/link/internal/loader 1.023s ok cmd/nm 9.108s ok cmd/objdump 4.630s ok cmd/pack 7.175s ok cmd/pprof 3.311s ok cmd/trace 1.246s ok cmd/vet 26.571s ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: archive/tar cpu: AMD EPYC 7B12 Benchmark/Writer/USTAR-4 4446 25001 ns/op 1368 B/op 25 allocs/op Benchmark/Writer/GNU-4 3020 33339 ns/op 1857 B/op 37 allocs/op Benchmark/Writer/PAX-4 2446 49616 ns/op 2560 B/op 59 allocs/op Benchmark/Reader/USTAR-4 5997 18363 ns/op 5080 B/op 15 allocs/op Benchmark/Reader/GNU-4 8071 12984 ns/op 5087 B/op 14 allocs/op Benchmark/Reader/PAX-4 2838 35777 ns/op 8716 B/op 33 allocs/op PASS ok archive/tar 1.698s goos: linux goarch: amd64 pkg: archive/zip cpu: AMD EPYC 7B12 BenchmarkCompressedZipGarbage-4 1 263982737 ns/op 828576 B/op 82 allocs/op BenchmarkZip64Test-4 1 109601872 ns/op BenchmarkZip64TestSizes/4096-4 1802 62800 ns/op BenchmarkZip64TestSizes/1048576-4 210 496727 ns/op BenchmarkZip64TestSizes/67108864-4 1 102890813 ns/op PASS ok archive/zip 2.122s goos: linux goarch: amd64 pkg: bufio cpu: AMD EPYC 7B12 BenchmarkReaderCopyOptimal-4 323274 349.0 ns/op BenchmarkReaderCopyUnoptimal-4 206307 566.9 ns/op BenchmarkReaderCopyNoWriteTo-4 14617 7902 ns/op BenchmarkReaderWriteToOptimal-4 14208 8674 ns/op BenchmarkReaderReadString-4 188038 635.8 ns/op 144 B/op 1 allocs/op BenchmarkWriterCopyOptimal-4 297176 390.8 ns/op BenchmarkWriterCopyUnoptimal-4 317866 381.0 ns/op BenchmarkWriterCopyNoReadFrom-4 12474 8235 ns/op BenchmarkReaderEmpty-4 78608 1517 ns/op 4224 B/op 3 allocs/op BenchmarkWriterEmpty-4 55311 2097 ns/op 4096 B/op 1 allocs/op BenchmarkWriterFlush-4 715969 153.4 ns/op 0 B/op 0 allocs/op PASS ok bufio 2.642s ##### 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 5740 21083 ns/op 1554.21 MB/s BenchmarkWriteByte-4 472 243311 ns/op 16.83 MB/s BenchmarkWriteRune-4 256 463760 ns/op 26.50 MB/s BenchmarkBufferNotEmptyWriteRead-4 31 3725012 ns/op BenchmarkBufferFullSmallReads-4 100 1035591 ns/op BenchmarkBufferWriteBlock/N4096-4 7461 15293 ns/op 14336 B/op 6 allocs/op BenchmarkBufferWriteBlock/N65536-4 470 258666 ns/op 260097 B/op 14 allocs/op BenchmarkBufferWriteBlock/N1048576-4 6 20554138 ns/op 4192256 B/op 22 allocs/op BenchmarkBufferAppendNoCopy-4 1 127341313 ns/op 131.75 MB/s 33554432 B/op 2 allocs/op BenchmarkIndexByte/10-4 4664866 25.41 ns/op 393.55 MB/s BenchmarkIndexByte/32-4 4192018 26.96 ns/op 1186.96 MB/s BenchmarkIndexByte/4K-4 863572 132.9 ns/op 30828.95 MB/s BenchmarkIndexBytePortable/10-4 795453 141.3 ns/op 70.77 MB/s BenchmarkIndexBytePortable/32-4 263556 452.5 ns/op 70.72 MB/s BenchmarkIndexBytePortable/4K-4 2236 52935 ns/op 77.38 MB/s BenchmarkIndexRune/10-4 1000000 102.3 ns/op 97.76 MB/s BenchmarkIndexRune/32-4 1000000 101.1 ns/op 316.51 MB/s BenchmarkIndexRune/4K-4 382660 307.8 ns/op 13306.02 MB/s BenchmarkIndexRuneASCII/10-4 4446367 26.47 ns/op 377.79 MB/s BenchmarkIndexRuneASCII/32-4 4272595 28.10 ns/op 1138.74 MB/s BenchmarkIndexRuneASCII/4K-4 851421 133.9 ns/op 30598.16 MB/s BenchmarkEqual/0-4 7024861 17.03 ns/op BenchmarkEqual/1-4 1473883 81.31 ns/op 12.30 MB/s BenchmarkEqual/6-4 1423166 84.00 ns/op 71.43 MB/s BenchmarkEqual/9-4 1431816 83.77 ns/op 107.44 MB/s BenchmarkEqual/15-4 1424931 83.57 ns/op 179.50 MB/s BenchmarkEqual/16-4 1517684 79.65 ns/op 200.89 MB/s BenchmarkEqual/20-4 1401769 85.31 ns/op 234.44 MB/s BenchmarkEqual/32-4 1370776 86.43 ns/op 370.25 MB/s BenchmarkEqual/4K-4 106980 1098 ns/op 3728.78 MB/s BenchmarkIndex/10-4 2991717 39.55 ns/op 252.81 MB/s BenchmarkIndex/32-4 3088383 38.85 ns/op 823.75 MB/s BenchmarkIndex/4K-4 18232 6553 ns/op 625.10 MB/s BenchmarkIndexEasy/10-4 2899479 41.32 ns/op 242.03 MB/s BenchmarkIndexEasy/32-4 3014996 39.55 ns/op 809.07 MB/s BenchmarkIndexEasy/4K-4 486508 242.9 ns/op 16860.61 MB/s BenchmarkCount/10-4 1506040 79.69 ns/op 125.49 MB/s BenchmarkCount/32-4 1486040 80.89 ns/op 395.62 MB/s BenchmarkCount/4K-4 18066 6585 ns/op 622.02 MB/s BenchmarkCountEasy/10-4 1518903 78.53 ns/op 127.33 MB/s BenchmarkCountEasy/32-4 1462804 82.87 ns/op 386.14 MB/s BenchmarkCountEasy/4K-4 421743 277.7 ns/op 14750.75 MB/s BenchmarkCountSingle/10-4 3856489 31.04 ns/op 322.18 MB/s BenchmarkCountSingle/32-4 3523435 33.36 ns/op 959.27 MB/s BenchmarkCountSingle/4K-4 781590 142.2 ns/op 28813.16 MB/s BenchmarkToUpper/#00-4 2906601 41.18 ns/op BenchmarkToUpper/ONLYUPPER-4 288115 411.4 ns/op BenchmarkToUpper/abc-4 499846 246.6 ns/op BenchmarkToUpper/AbC123-4 296767 417.6 ns/op BenchmarkToUpper/azAZ09_-4 265954 446.9 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 80047 1508 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 40485 2942 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 55276 2159 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 125598 933.0 ns/op BenchmarkToLower/#00-4 2755558 43.15 ns/op BenchmarkToLower/abc-4 470140 256.8 ns/op BenchmarkToLower/AbC123-4 298154 398.0 ns/op BenchmarkToLower/azAZ09_-4 277119 446.2 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 81100 1478 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 40953 2924 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 68812 1691 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 124201 974.2 ns/op BenchmarkFields/ASCII/16-4 119125 1005 ns/op 15.91 MB/s 80 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 8668 13593 ns/op 18.83 MB/s 640 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 558 210685 ns/op 19.44 MB/s 9472 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 32 3787386 ns/op 17.30 MB/s 147456 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 2 60756568 ns/op 17.26 MB/s 2260992 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 75507 1563 ns/op 10.24 MB/s 24 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 4974 20601 ns/op 12.43 MB/s 576 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 345 335553 ns/op 12.21 MB/s 24832 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 16 6443132 ns/op 10.17 MB/s 512256 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 1 124157932 ns/op 8.45 MB/s 11211008 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 141608 843.5 ns/op 18.97 MB/s 80 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 11907 9821 ns/op 26.07 MB/s 640 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 634 174381 ns/op 23.49 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 27 3862489 ns/op 16.97 MB/s 512256 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 85101416 ns/op 12.32 MB/s 11202864 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 102039 1160 ns/op 13.79 MB/s 24 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 8258 14456 ns/op 17.71 MB/s 576 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 489 239239 ns/op 17.12 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 24 4826794 ns/op 13.58 MB/s 512260 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 1 102519647 ns/op 10.23 MB/s 11211008 B/op 24 allocs/op BenchmarkTrimSpace/NoTrim-4 1909866 61.69 ns/op BenchmarkTrimSpace/ASCII-4 935502 123.4 ns/op BenchmarkTrimSpace/SomeNonASCII-4 108001 1089 ns/op BenchmarkTrimSpace/JustNonASCII-4 49408 2441 ns/op BenchmarkToValidUTF8/Valid-4 475347 244.8 ns/op BenchmarkToValidUTF8/InvalidASCII-4 330604 349.5 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 99850 1232 ns/op BenchmarkIndexHard1-4 823 144305 ns/op BenchmarkIndexHard2-4 596 200286 ns/op BenchmarkIndexHard3-4 150 797837 ns/op BenchmarkIndexHard4-4 182 654613 ns/op BenchmarkLastIndexHard1-4 5 21857689 ns/op BenchmarkLastIndexHard2-4 4 28539967 ns/op BenchmarkLastIndexHard3-4 4 31145151 ns/op BenchmarkCountHard1-4 837 142115 ns/op BenchmarkCountHard2-4 600 199918 ns/op BenchmarkCountHard3-4 150 798042 ns/op BenchmarkSplitEmptySeparator-4 1 173221379 ns/op BenchmarkSplitSingleByteSeparator-4 10 10864753 ns/op BenchmarkSplitMultiByteSeparator-4 10 10026018 ns/op BenchmarkSplitNSingleByteSeparator-4 190345 616.5 ns/op BenchmarkSplitNMultiByteSeparator-4 70242 1626 ns/op BenchmarkRepeat-4 187887 611.6 ns/op BenchmarkRepeatLarge/256/1-4 133015 789.0 ns/op 324.48 MB/s BenchmarkRepeatLarge/256/16-4 226180 518.7 ns/op 493.55 MB/s BenchmarkRepeatLarge/512/1-4 111620 1074 ns/op 476.80 MB/s BenchmarkRepeatLarge/512/16-4 159043 786.1 ns/op 651.32 MB/s BenchmarkRepeatLarge/1024/1-4 70960 1617 ns/op 633.35 MB/s BenchmarkRepeatLarge/1024/16-4 81306 1296 ns/op 790.27 MB/s BenchmarkRepeatLarge/2048/1-4 44666 2444 ns/op 838.01 MB/s BenchmarkRepeatLarge/2048/16-4 52650 2264 ns/op 904.62 MB/s BenchmarkRepeatLarge/4096/1-4 26941 4191 ns/op 977.30 MB/s BenchmarkRepeatLarge/4096/16-4 30404 3922 ns/op 1044.35 MB/s BenchmarkRepeatLarge/8192/1-4 14116 8069 ns/op 1015.30 MB/s BenchmarkRepeatLarge/8192/16-4 15865 7049 ns/op 1162.13 MB/s BenchmarkRepeatLarge/8192/4097-4 26514 4459 ns/op 918.77 MB/s BenchmarkRepeatLarge/16384/1-4 7933 14188 ns/op 1154.77 MB/s BenchmarkRepeatLarge/16384/16-4 7749 13437 ns/op 1219.28 MB/s BenchmarkRepeatLarge/16384/4097-4 11046 10332 ns/op 1189.55 MB/s BenchmarkRepeatLarge/32768/1-4 4551 27469 ns/op 1192.92 MB/s BenchmarkRepeatLarge/32768/16-4 5122 25620 ns/op 1279.02 MB/s BenchmarkRepeatLarge/32768/4097-4 5893 27533 ns/op 1041.63 MB/s BenchmarkRepeatLarge/65536/1-4 1789 58407 ns/op 1122.06 MB/s BenchmarkRepeatLarge/65536/16-4 2473 48959 ns/op 1338.58 MB/s BenchmarkRepeatLarge/65536/4097-4 2529 49416 ns/op 1243.64 MB/s BenchmarkRepeatLarge/131072/1-4 231 512020 ns/op 255.99 MB/s BenchmarkRepeatLarge/131072/16-4 225 510348 ns/op 256.83 MB/s BenchmarkRepeatLarge/131072/4097-4 230 502458 ns/op 252.77 MB/s BenchmarkRepeatLarge/262144/1-4 100 1057444 ns/op 247.90 MB/s BenchmarkRepeatLarge/262144/16-4 100 1026661 ns/op 255.34 MB/s BenchmarkRepeatLarge/262144/4097-4 100 1001179 ns/op 257.81 MB/s BenchmarkRepeatLarge/524288/1-4 61 1989908 ns/op 263.47 MB/s BenchmarkRepeatLarge/524288/16-4 56 2002920 ns/op 261.76 MB/s BenchmarkRepeatLarge/524288/4097-4 60 2011821 ns/op 258.63 MB/s BenchmarkRepeatLarge/1048576/1-4 32 4031886 ns/op 260.07 MB/s BenchmarkRepeatLarge/1048576/16-4 31 4058903 ns/op 258.34 MB/s BenchmarkRepeatLarge/1048576/4097-4 31 3972076 ns/op 263.02 MB/s BenchmarkRepeatLarge/2097152/1-4 16 7586771 ns/op 276.42 MB/s BenchmarkRepeatLarge/2097152/16-4 16 7606530 ns/op 275.70 MB/s BenchmarkRepeatLarge/2097152/4097-4 15 7786065 ns/op 268.89 MB/s BenchmarkRepeatLarge/4194304/1-4 7 15890331 ns/op 263.95 MB/s BenchmarkRepeatLarge/4194304/16-4 7 15637351 ns/op 268.22 MB/s BenchmarkRepeatLarge/4194304/4097-4 7 15830293 ns/op 264.76 MB/s BenchmarkRepeatLarge/8388608/1-4 4 31570343 ns/op 265.71 MB/s BenchmarkRepeatLarge/8388608/16-4 4 32450401 ns/op 258.51 MB/s BenchmarkRepeatLarge/8388608/4097-4 3 33374040 ns/op 251.29 MB/s BenchmarkRepeatLarge/16777216/1-4 2 61775298 ns/op 271.58 MB/s BenchmarkRepeatLarge/16777216/16-4 2 59099388 ns/op 283.88 MB/s BenchmarkRepeatLarge/16777216/4097-4 2 60453645 ns/op 277.52 MB/s BenchmarkRepeatLarge/33554432/1-4 1 117089504 ns/op 286.57 MB/s BenchmarkRepeatLarge/33554432/16-4 1 118440840 ns/op 283.30 MB/s BenchmarkRepeatLarge/33554432/4097-4 1 116996171 ns/op 286.80 MB/s BenchmarkRepeatLarge/67108864/1-4 1 233781062 ns/op 287.06 MB/s BenchmarkRepeatLarge/67108864/16-4 1 233594277 ns/op 287.29 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 234882723 ns/op 285.71 MB/s BenchmarkRepeatLarge/134217728/1-4 1 468403141 ns/op 286.54 MB/s BenchmarkRepeatLarge/134217728/16-4 1 467325430 ns/op 287.20 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 462170995 ns/op 290.41 MB/s BenchmarkRepeatLarge/268435456/1-4 1 927347491 ns/op 289.47 MB/s BenchmarkRepeatLarge/268435456/16-4 1 906967403 ns/op 295.97 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 917521688 ns/op 292.57 MB/s BenchmarkRepeatLarge/536870912/1-4 1 1845047630 ns/op 290.98 MB/s BenchmarkRepeatLarge/536870912/16-4 1 1818922322 ns/op 295.16 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 1794695477 ns/op 299.14 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 3664585744 ns/op 293.00 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 3580222993 ns/op 299.91 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 3630664271 ns/op 295.74 MB/s BenchmarkBytesCompare/1-4 9056653 12.93 ns/op BenchmarkBytesCompare/2-4 9071439 12.17 ns/op BenchmarkBytesCompare/4-4 9284461 12.23 ns/op BenchmarkBytesCompare/8-4 9794520 11.18 ns/op BenchmarkBytesCompare/16-4 9855691 11.17 ns/op BenchmarkBytesCompare/32-4 9019611 12.73 ns/op BenchmarkBytesCompare/64-4 8831684 13.55 ns/op BenchmarkBytesCompare/128-4 7489904 15.84 ns/op BenchmarkBytesCompare/256-4 5441074 22.19 ns/op BenchmarkBytesCompare/512-4 3877425 29.29 ns/op BenchmarkBytesCompare/1024-4 2443242 47.19 ns/op BenchmarkBytesCompare/2048-4 1404766 83.34 ns/op BenchmarkIndexAnyASCII/1:1-4 2334274 51.28 ns/op BenchmarkIndexAnyASCII/1:2-4 2392332 50.43 ns/op BenchmarkIndexAnyASCII/1:4-4 2370994 50.02 ns/op BenchmarkIndexAnyASCII/1:8-4 2361219 50.34 ns/op BenchmarkIndexAnyASCII/1:16-4 2343168 50.52 ns/op BenchmarkIndexAnyASCII/1:32-4 2377526 51.09 ns/op BenchmarkIndexAnyASCII/1:64-4 2379921 50.46 ns/op BenchmarkIndexAnyASCII/16:1-4 1995501 58.82 ns/op BenchmarkIndexAnyASCII/16:2-4 421764 280.1 ns/op BenchmarkIndexAnyASCII/16:4-4 423085 281.1 ns/op BenchmarkIndexAnyASCII/16:8-4 409856 285.8 ns/op BenchmarkIndexAnyASCII/16:16-4 378960 307.1 ns/op BenchmarkIndexAnyASCII/16:32-4 369248 324.1 ns/op BenchmarkIndexAnyASCII/16:64-4 311570 370.9 ns/op BenchmarkIndexAnyASCII/256:1-4 1815802 64.38 ns/op BenchmarkIndexAnyASCII/256:2-4 33099 3613 ns/op BenchmarkIndexAnyASCII/256:4-4 32737 3612 ns/op BenchmarkIndexAnyASCII/256:8-4 33225 3590 ns/op BenchmarkIndexAnyASCII/256:16-4 32894 3629 ns/op BenchmarkIndexAnyASCII/256:32-4 32097 3685 ns/op BenchmarkIndexAnyASCII/256:64-4 32256 3709 ns/op BenchmarkIndexAnyUTF8/1:1-4 2306756 52.20 ns/op BenchmarkIndexAnyUTF8/1:2-4 2312450 51.46 ns/op BenchmarkIndexAnyUTF8/1:4-4 2318224 51.86 ns/op BenchmarkIndexAnyUTF8/1:8-4 2330142 51.72 ns/op BenchmarkIndexAnyUTF8/1:16-4 2339053 51.20 ns/op BenchmarkIndexAnyUTF8/1:32-4 2380999 50.62 ns/op BenchmarkIndexAnyUTF8/1:64-4 2299254 52.26 ns/op BenchmarkIndexAnyUTF8/16:1-4 147483 801.9 ns/op BenchmarkIndexAnyUTF8/16:2-4 270915 438.3 ns/op BenchmarkIndexAnyUTF8/16:4-4 273758 433.9 ns/op BenchmarkIndexAnyUTF8/16:8-4 270034 435.3 ns/op BenchmarkIndexAnyUTF8/16:16-4 271483 440.2 ns/op BenchmarkIndexAnyUTF8/16:32-4 262562 449.3 ns/op BenchmarkIndexAnyUTF8/16:64-4 260980 447.5 ns/op BenchmarkIndexAnyUTF8/256:1-4 9932 11636 ns/op BenchmarkIndexAnyUTF8/256:2-4 19476 6192 ns/op BenchmarkIndexAnyUTF8/256:4-4 19423 6207 ns/op BenchmarkIndexAnyUTF8/256:8-4 19430 6153 ns/op BenchmarkIndexAnyUTF8/256:16-4 19182 6280 ns/op BenchmarkIndexAnyUTF8/256:32-4 18723 6421 ns/op BenchmarkIndexAnyUTF8/256:64-4 18771 6481 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2282836 52.21 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2350591 51.23 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2355608 50.95 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2311956 51.45 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2383910 50.22 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2327834 50.53 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2369827 51.30 ns/op BenchmarkLastIndexAnyASCII/16:1-4 327373 356.0 ns/op BenchmarkLastIndexAnyASCII/16:2-4 316339 361.2 ns/op BenchmarkLastIndexAnyASCII/16:4-4 318692 371.0 ns/op BenchmarkLastIndexAnyASCII/16:8-4 321109 368.6 ns/op BenchmarkLastIndexAnyASCII/16:16-4 293277 386.8 ns/op BenchmarkLastIndexAnyASCII/16:32-4 284122 410.4 ns/op BenchmarkLastIndexAnyASCII/16:64-4 255016 459.5 ns/op BenchmarkLastIndexAnyASCII/256:1-4 24176 4906 ns/op BenchmarkLastIndexAnyASCII/256:2-4 24154 4933 ns/op BenchmarkLastIndexAnyASCII/256:4-4 24331 4929 ns/op BenchmarkLastIndexAnyASCII/256:8-4 24072 4910 ns/op BenchmarkLastIndexAnyASCII/256:16-4 24259 5004 ns/op BenchmarkLastIndexAnyASCII/256:32-4 24013 5044 ns/op BenchmarkLastIndexAnyASCII/256:64-4 23575 5036 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2301578 52.75 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2335348 51.65 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2320964 51.70 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2315180 51.40 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2330228 51.66 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2317306 52.26 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2321882 51.64 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 228558 507.1 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 270783 442.2 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 272112 445.2 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 269161 441.1 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 264603 442.9 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 256611 454.9 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 256580 458.4 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 16627 7222 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 19356 6169 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 19330 6178 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 19472 6170 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 18998 6350 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 18361 6450 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 18489 6442 ns/op BenchmarkTrimASCII/1:1-4 2560087 46.79 ns/op BenchmarkTrimASCII/1:2-4 2159557 55.71 ns/op BenchmarkTrimASCII/1:4-4 2122960 56.91 ns/op BenchmarkTrimASCII/1:8-4 1935915 62.24 ns/op BenchmarkTrimASCII/1:16-4 1624990 72.96 ns/op BenchmarkTrimASCII/16:1-4 415684 287.1 ns/op BenchmarkTrimASCII/16:2-4 314253 375.4 ns/op BenchmarkTrimASCII/16:4-4 312616 373.2 ns/op BenchmarkTrimASCII/16:8-4 306536 374.1 ns/op BenchmarkTrimASCII/16:16-4 300132 393.7 ns/op BenchmarkTrimASCII/256:1-4 32306 3693 ns/op BenchmarkTrimASCII/256:2-4 23442 5076 ns/op BenchmarkTrimASCII/256:4-4 23565 5099 ns/op BenchmarkTrimASCII/256:8-4 23362 5051 ns/op BenchmarkTrimASCII/256:16-4 23504 5132 ns/op BenchmarkTrimASCII/4096:1-4 2024 58539 ns/op BenchmarkTrimASCII/4096:2-4 1488 80052 ns/op BenchmarkTrimASCII/4096:4-4 1479 80394 ns/op BenchmarkTrimASCII/4096:8-4 1489 79477 ns/op BenchmarkTrimASCII/4096:16-4 1466 80011 ns/op BenchmarkTrimByte-4 1443204 83.04 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 13072 9109 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 13070 9099 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 679 172275 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 1335 86215 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 2600 43614 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 4572 23211 ns/op BenchmarkCompareBytesEqual-4 9890817 11.93 ns/op BenchmarkCompareBytesToNil-4 11776491 10.26 ns/op BenchmarkCompareBytesEmpty-4 11663119 10.29 ns/op BenchmarkCompareBytesIdentical-4 11619788 10.40 ns/op BenchmarkCompareBytesSameLength-4 10691908 11.38 ns/op BenchmarkCompareBytesDifferentLength-4 10013679 11.98 ns/op BenchmarkCompareBytesBigUnaligned/offset=1-4 1392 78347 ns/op 13383.85 MB/s BenchmarkCompareBytesBigUnaligned/offset=2-4 1392 85196 ns/op 12307.97 MB/s BenchmarkCompareBytesBigUnaligned/offset=3-4 1383 82063 ns/op 12777.87 MB/s BenchmarkCompareBytesBigUnaligned/offset=4-4 1386 81395 ns/op 12882.71 MB/s BenchmarkCompareBytesBigUnaligned/offset=5-4 1386 85699 ns/op 12235.73 MB/s BenchmarkCompareBytesBigUnaligned/offset=6-4 1407 84563 ns/op 12400.00 MB/s BenchmarkCompareBytesBigUnaligned/offset=7-4 1390 86171 ns/op 12168.71 MB/s BenchmarkCompareBytesBig-4 1382 78392 ns/op 13376.11 MB/s BenchmarkCompareBytesBigIdentical-4 12159292 9.848 ns/op 106482323.17 MB/s PASS ok bytes 69.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 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: compress/bzip2 cpu: AMD EPYC 7B12 BenchmarkDecodeDigits-4 2 56604356 ns/op 1.77 MB/s 3616116 B/op 51 allocs/op BenchmarkDecodeNewton-4 1 222531714 ns/op 2.55 MB/s 3629856 B/op 50 allocs/op BenchmarkDecodeRand-4 6 17880229 ns/op 0.92 MB/s 3643429 B/op 51 allocs/op PASS ok compress/bzip2 1.903s goos: linux goarch: amd64 pkg: compress/flate cpu: AMD EPYC 7B12 BenchmarkDecode/Digits/Huffman/1e4-4 87 1326714 ns/op 7.54 MB/s 42050 B/op 5 allocs/op BenchmarkDecode/Digits/Huffman/1e5-4 8 12982638 ns/op 7.70 MB/s 43674 B/op 6 allocs/op BenchmarkDecode/Digits/Huffman/1e6-4 1 131705898 ns/op 7.59 MB/s 49264 B/op 9 allocs/op BenchmarkDecode/Digits/Speed/1e4-4 87 1332759 ns/op 7.50 MB/s 43076 B/op 8 allocs/op BenchmarkDecode/Digits/Speed/1e5-4 8 13109215 ns/op 7.63 MB/s 41908 B/op 11 allocs/op BenchmarkDecode/Digits/Speed/1e6-4 1 134372759 ns/op 7.44 MB/s 53024 B/op 77 allocs/op BenchmarkDecode/Digits/Default/1e4-4 94 1301128 ns/op 7.69 MB/s 42938 B/op 7 allocs/op BenchmarkDecode/Digits/Default/1e5-4 9 12416728 ns/op 8.05 MB/s 44517 B/op 14 allocs/op BenchmarkDecode/Digits/Default/1e6-4 1 126074900 ns/op 7.93 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Digits/Compression/1e4-4 90 1279082 ns/op 7.82 MB/s 42587 B/op 7 allocs/op BenchmarkDecode/Digits/Compression/1e5-4 9 11911760 ns/op 8.40 MB/s 43604 B/op 13 allocs/op BenchmarkDecode/Digits/Compression/1e6-4 1 125960228 ns/op 7.94 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Newton/Huffman/1e4-4 76 1460908 ns/op 6.85 MB/s 43407 B/op 14 allocs/op BenchmarkDecode/Newton/Huffman/1e5-4 8 14223151 ns/op 7.03 MB/s 47127 B/op 23 allocs/op BenchmarkDecode/Newton/Huffman/1e6-4 1 144540457 ns/op 6.92 MB/s 88512 B/op 165 allocs/op BenchmarkDecode/Newton/Speed/1e4-4 100 1100610 ns/op 9.09 MB/s 43208 B/op 18 allocs/op BenchmarkDecode/Newton/Speed/1e5-4 12 9319162 ns/op 10.73 MB/s 45124 B/op 31 allocs/op BenchmarkDecode/Newton/Speed/1e6-4 2 94932395 ns/op 10.53 MB/s 85328 B/op 230 allocs/op BenchmarkDecode/Newton/Default/1e4-4 121 981094 ns/op 10.19 MB/s 42814 B/op 15 allocs/op BenchmarkDecode/Newton/Default/1e5-4 15 7510191 ns/op 13.32 MB/s 45105 B/op 32 allocs/op BenchmarkDecode/Newton/Default/1e6-4 2 74787392 ns/op 13.37 MB/s 65952 B/op 160 allocs/op BenchmarkDecode/Newton/Compression/1e4-4 126 990935 ns/op 10.09 MB/s 42874 B/op 15 allocs/op BenchmarkDecode/Newton/Compression/1e5-4 15 7458697 ns/op 13.41 MB/s 45105 B/op 32 allocs/op BenchmarkDecode/Newton/Compression/1e6-4 2 71067469 ns/op 14.07 MB/s 67752 B/op 152 allocs/op BenchmarkEncode/Digits/Huffman/1e4-4 139 836590 ns/op 11.95 MB/s BenchmarkEncode/Digits/Huffman/1e5-4 13 8493786 ns/op 11.77 MB/s BenchmarkEncode/Digits/Huffman/1e6-4 2 85416136 ns/op 11.71 MB/s BenchmarkEncode/Digits/Speed/1e4-4 74 1604041 ns/op 6.23 MB/s BenchmarkEncode/Digits/Speed/1e5-4 8 14258933 ns/op 7.01 MB/s BenchmarkEncode/Digits/Speed/1e6-4 1 141045268 ns/op 7.09 MB/s BenchmarkEncode/Digits/Default/1e4-4 21 4816678 ns/op 2.08 MB/s BenchmarkEncode/Digits/Default/1e5-4 2 54785866 ns/op 1.83 MB/s BenchmarkEncode/Digits/Default/1e6-4 1 570232368 ns/op 1.75 MB/s BenchmarkEncode/Digits/Compression/1e4-4 22 4754520 ns/op 2.10 MB/s BenchmarkEncode/Digits/Compression/1e5-4 2 54425472 ns/op 1.84 MB/s BenchmarkEncode/Digits/Compression/1e6-4 1 554234751 ns/op 1.80 MB/s BenchmarkEncode/Newton/Huffman/1e4-4 100 1036933 ns/op 9.64 MB/s BenchmarkEncode/Newton/Huffman/1e5-4 12 8719999 ns/op 11.47 MB/s BenchmarkEncode/Newton/Huffman/1e6-4 2 86695396 ns/op 11.53 MB/s BenchmarkEncode/Newton/Speed/1e4-4 67 1506019 ns/op 6.64 MB/s BenchmarkEncode/Newton/Speed/1e5-4 9 11358244 ns/op 8.80 MB/s BenchmarkEncode/Newton/Speed/1e6-4 1 112346992 ns/op 8.90 MB/s BenchmarkEncode/Newton/Default/1e4-4 25 4657824 ns/op 2.15 MB/s BenchmarkEncode/Newton/Default/1e5-4 2 51271817 ns/op 1.95 MB/s BenchmarkEncode/Newton/Default/1e6-4 1 529461524 ns/op 1.89 MB/s BenchmarkEncode/Newton/Compression/1e4-4 22 4710513 ns/op 2.12 MB/s BenchmarkEncode/Newton/Compression/1e5-4 2 64843874 ns/op 1.54 MB/s BenchmarkEncode/Newton/Compression/1e6-4 1 662500323 ns/op 1.51 MB/s PASS ok compress/flate 15.178s goos: linux goarch: amd64 pkg: compress/lzw cpu: AMD EPYC 7B12 BenchmarkDecoder/1e4-4 67 1755483 ns/op 5.70 MB/s BenchmarkDecoder/1e-Reuse4-4 67 1841647 ns/op 5.43 MB/s BenchmarkDecoder/1e5-4 6 17393620 ns/op 5.75 MB/s BenchmarkDecoder/1e-Reuse5-4 6 17524742 ns/op 5.71 MB/s BenchmarkDecoder/1e6-4 1 174273362 ns/op 5.74 MB/s BenchmarkDecoder/1e-Reuse6-4 1 173768302 ns/op 5.75 MB/s BenchmarkEncoder/1e4-4 74 1521464 ns/op 6.57 MB/s BenchmarkEncoder/1e-Reuse4-4 80 1343729 ns/op 7.44 MB/s BenchmarkEncoder/1e5-4 8 14353860 ns/op 6.97 MB/s BenchmarkEncoder/1e-Reuse5-4 8 14187448 ns/op 7.05 MB/s BenchmarkEncoder/1e6-4 1 145087287 ns/op 6.89 MB/s BenchmarkEncoder/1e-Reuse6-4 1 142908307 ns/op 7.00 MB/s PASS ok compress/lzw 3.198s goos: linux goarch: amd64 pkg: container/heap cpu: AMD EPYC 7B12 BenchmarkDup-4 36 3096686 ns/op PASS ok container/heap 1.125s goos: linux goarch: amd64 pkg: context cpu: AMD EPYC 7B12 BenchmarkCommonParentCancel-4 40107 3011 ns/op BenchmarkWithTimeout/concurrency=40-4 9898 12832 ns/op BenchmarkWithTimeout/concurrency=4000-4 7590 13241 ns/op BenchmarkWithTimeout/concurrency=400000-4 9649 10876 ns/op BenchmarkCancelTree/depth=1/Root=Background-4 595879 182.2 ns/op BenchmarkCancelTree/depth=1/Root=OpenCanceler-4 21290 6370 ns/op BenchmarkCancelTree/depth=1/Root=ClosedCanceler-4 25190 4466 ns/op BenchmarkCancelTree/depth=10/Root=Background-4 5872 25970 ns/op BenchmarkCancelTree/depth=10/Root=OpenCanceler-4 3374 41304 ns/op BenchmarkCancelTree/depth=10/Root=ClosedCanceler-4 4693 29732 ns/op BenchmarkCancelTree/depth=100/Root=Background-4 426 316286 ns/op BenchmarkCancelTree/depth=100/Root=OpenCanceler-4 295 454872 ns/op BenchmarkCancelTree/depth=100/Root=ClosedCanceler-4 450 245511 ns/op BenchmarkCancelTree/depth=1000/Root=Background-4 39 2838479 ns/op BenchmarkCancelTree/depth=1000/Root=OpenCanceler-4 27 4439974 ns/op BenchmarkCancelTree/depth=1000/Root=ClosedCanceler-4 50 2662386 ns/op BenchmarkCheckCanceled/Err-4 462636 279.6 ns/op BenchmarkCheckCanceled/Done-4 1000000 111.2 ns/op BenchmarkContextCancelDone-4 1000000 105.5 ns/op BenchmarkDeepValueNewGoRoutine/depth=10-4 30162 4657 ns/op BenchmarkDeepValueNewGoRoutine/depth=20-4 26599 5045 ns/op BenchmarkDeepValueNewGoRoutine/depth=30-4 19554 6168 ns/op BenchmarkDeepValueNewGoRoutine/depth=50-4 16795 8436 ns/op BenchmarkDeepValueNewGoRoutine/depth=100-4 11920 11280 ns/op BenchmarkDeepValueSameGoRoutine/depth=10-4 732042 163.6 ns/op BenchmarkDeepValueSameGoRoutine/depth=20-4 401791 333.3 ns/op BenchmarkDeepValueSameGoRoutine/depth=30-4 281552 427.1 ns/op BenchmarkDeepValueSameGoRoutine/depth=50-4 174168 702.4 ns/op BenchmarkDeepValueSameGoRoutine/depth=100-4 78978 1507 ns/op PASS ok context 10.369s goos: linux goarch: amd64 pkg: crypto/aes cpu: AMD EPYC 7B12 BenchmarkEncrypt-4 2583076 44.90 ns/op 356.37 MB/s BenchmarkDecrypt-4 2700202 44.74 ns/op 357.61 MB/s BenchmarkExpand-4 2099544 54.12 ns/op PASS ok crypto/aes 1.519s goos: linux goarch: amd64 pkg: crypto/cipher cpu: AMD EPYC 7B12 BenchmarkAESGCM/Open-128-64-4 271490 449.9 ns/op 142.26 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-64-4 576842 200.5 ns/op 319.24 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-64-4 268339 472.2 ns/op 135.53 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-64-4 559581 209.9 ns/op 304.90 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-1350-4 162498 735.2 ns/op 1836.22 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-1350-4 228088 512.7 ns/op 2633.29 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-1350-4 154767 773.0 ns/op 1746.36 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-1350-4 208538 563.3 ns/op 2396.65 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-8192-4 55656 2153 ns/op 3805.12 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-8192-4 61096 1952 ns/op 4197.22 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-8192-4 49569 2418 ns/op 3387.99 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-8192-4 54468 2198 ns/op 3727.22 MB/s 0 B/op 0 allocs/op BenchmarkAESCFBEncrypt1K-4 9325 11731 ns/op 86.86 MB/s BenchmarkAESCFBDecrypt1K-4 8989 11823 ns/op 86.19 MB/s BenchmarkAESCFBDecrypt8K-4 1288 87422 ns/op 93.65 MB/s BenchmarkAESOFB1K-4 14876 8041 ns/op 126.73 MB/s BenchmarkAESCTR1K-4 18296 6031 ns/op 168.96 MB/s BenchmarkAESCTR8K-4 2512 48303 ns/op 169.49 MB/s BenchmarkAESCBCEncrypt1K-4 19580 6586 ns/op 155.49 MB/s BenchmarkAESCBCDecrypt1K-4 28435 4213 ns/op 243.09 MB/s PASS ok crypto/cipher 3.798s goos: linux goarch: amd64 pkg: crypto/des cpu: AMD EPYC 7B12 BenchmarkEncrypt-4 108206 1079 ns/op 7.41 MB/s BenchmarkDecrypt-4 113312 1188 ns/op 6.73 MB/s BenchmarkTDESEncrypt-4 41174 2932 ns/op 2.73 MB/s BenchmarkTDESDecrypt-4 38521 3236 ns/op 2.47 MB/s PASS ok crypto/des 1.598s goos: linux goarch: amd64 pkg: crypto/ecdh cpu: AMD EPYC 7B12 BenchmarkECDH/P256-4 1305 88774 ns/op 760 B/op 12 allocs/op BenchmarkECDH/P384-4 21 5384087 ns/op 1091 B/op 21 allocs/op BenchmarkECDH/P521-4 7 14419552 ns/op 1532 B/op 21 allocs/op BenchmarkECDH/X25519-4 130 913333 ns/op 375 B/op 9 allocs/op PASS ok crypto/ecdh 1.645s goos: linux goarch: amd64 pkg: crypto/ecdsa cpu: AMD EPYC 7B12 BenchmarkSign/P256-4 2451 46618 ns/op 2512 B/op 33 allocs/op BenchmarkSign/P384-4 48 2497543 ns/op 2680 B/op 34 allocs/op BenchmarkSign/P521-4 19 6144586 ns/op 3064 B/op 35 allocs/op BenchmarkVerify/P256-4 1269 93248 ns/op 432 B/op 8 allocs/op BenchmarkVerify/P384-4 19 6227240 ns/op 592 B/op 12 allocs/op BenchmarkVerify/P521-4 7 18089841 ns/op 912 B/op 12 allocs/op BenchmarkGenerateKey/P256-4 5628 20180 ns/op 896 B/op 14 allocs/op BenchmarkGenerateKey/P384-4 85 1443577 ns/op 1096 B/op 17 allocs/op BenchmarkGenerateKey/P521-4 33 3496265 ns/op 1412 B/op 17 allocs/op PASS ok crypto/ecdsa 2.427s goos: linux goarch: amd64 pkg: crypto/ed25519 cpu: AMD EPYC 7B12 BenchmarkKeyGeneration-4 458 249526 ns/op BenchmarkNewKeyFromSeed-4 460 254880 ns/op BenchmarkSigning-4 424 270476 ns/op BenchmarkVerification-4 290 413696 ns/op PASS ok crypto/ed25519 1.598s goos: linux goarch: amd64 pkg: crypto/elliptic cpu: AMD EPYC 7B12 BenchmarkScalarBaseMult/P256-4 6769 16837 ns/op 368 B/op 6 allocs/op BenchmarkScalarBaseMult/P224-4 217 546949 ns/op 376 B/op 9 allocs/op BenchmarkScalarBaseMult/P384-4 82 1454481 ns/op 504 B/op 9 allocs/op BenchmarkScalarBaseMult/P521-4 31 3692979 ns/op 696 B/op 9 allocs/op BenchmarkScalarMult/P256-4 1815 65289 ns/op 448 B/op 7 allocs/op BenchmarkScalarMult/P224-4 85 1393086 ns/op 440 B/op 10 allocs/op BenchmarkScalarMult/P384-4 31 3821322 ns/op 616 B/op 10 allocs/op BenchmarkScalarMult/P521-4 10 11121544 ns/op 840 B/op 10 allocs/op BenchmarkMarshalUnmarshal/P256/Uncompressed-4 18756 6237 ns/op 544 B/op 8 allocs/op BenchmarkMarshalUnmarshal/P256/Compressed-4 7748 14034 ns/op 592 B/op 9 allocs/op BenchmarkMarshalUnmarshal/P224/Uncompressed-4 5223 19482 ns/op 560 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P224/Compressed-4 128 929484 ns/op 592 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P384/Uncompressed-4 3721 31542 ns/op 784 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P384/Compressed-4 418 308867 ns/op 848 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P521/Uncompressed-4 2382 49730 ns/op 1104 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P521/Compressed-4 122 961441 ns/op 1184 B/op 15 allocs/op PASS ok crypto/elliptic 3.503s goos: linux goarch: amd64 pkg: crypto/hmac cpu: AMD EPYC 7B12 BenchmarkHMACSHA256_1K-4 33405 3623 ns/op 282.64 MB/s BenchmarkHMACSHA256_32-4 38710 3065 ns/op 10.44 MB/s BenchmarkNewWriteSum-4 20454 5787 ns/op 5.53 MB/s PASS ok crypto/hmac 1.501s goos: linux goarch: amd64 pkg: crypto/internal/bigmod cpu: AMD EPYC 7B12 BenchmarkModAdd-4 60296 1939 ns/op BenchmarkModSub-4 70416 1698 ns/op BenchmarkMontgomeryRepr-4 38334 3136 ns/op BenchmarkMontgomeryMul-4 37304 3136 ns/op BenchmarkModMul-4 18789 6407 ns/op BenchmarkExpBig-4 22 5252247 ns/op BenchmarkExp-4 8 13157483 ns/op PASS ok crypto/internal/bigmod 2.070s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519 cpu: AMD EPYC 7B12 BenchmarkEncodingDecoding-4 4522 24224 ns/op BenchmarkScalarBaseMult-4 481 243659 ns/op BenchmarkScalarMult-4 213 555830 ns/op BenchmarkVarTimeDoubleScalarBaseMult-4 304 393114 ns/op PASS ok crypto/internal/edwards25519 1.592s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519/field cpu: AMD EPYC 7B12 BenchmarkAdd-4 624248 173.3 ns/op BenchmarkMultiply-4 5936024 20.21 ns/op BenchmarkSquare-4 7891861 15.01 ns/op BenchmarkInvert-4 28515 4198 ns/op BenchmarkMult32-4 1787840 68.08 ns/op PASS ok crypto/internal/edwards25519/field 1.755s goos: linux goarch: amd64 pkg: crypto/internal/nistec cpu: AMD EPYC 7B12 BenchmarkScalarMult/P224-4 81 1350374 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P256-4 2130 56373 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P384-4 31 3692902 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P521-4 10 10637109 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P224-4 242 488252 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P256-4 10000 11093 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P384-4 92 1265028 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P521-4 34 3156445 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec 2.035s goos: linux goarch: amd64 pkg: crypto/internal/nistec/fiat cpu: AMD EPYC 7B12 BenchmarkMul/P224-4 809186 140.5 ns/op 0 B/op 0 allocs/op BenchmarkMul/P384-4 396988 312.0 ns/op 0 B/op 0 allocs/op BenchmarkMul/P521-4 157398 774.7 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P224-4 837591 140.6 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P384-4 438056 272.7 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P521-4 151520 757.1 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec/fiat 1.756s goos: linux goarch: amd64 pkg: crypto/md5 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes-4 166584 715.6 ns/op 11.18 MB/s BenchmarkHash64-4 182144 662.5 ns/op 96.61 MB/s BenchmarkHash128-4 159854 732.8 ns/op 174.68 MB/s BenchmarkHash256-4 128474 926.7 ns/op 276.26 MB/s BenchmarkHash512-4 91759 1306 ns/op 391.91 MB/s BenchmarkHash1K-4 57907 2054 ns/op 498.47 MB/s BenchmarkHash8K-4 8421 12703 ns/op 644.90 MB/s BenchmarkHash1M-4 68 1558475 ns/op 672.82 MB/s BenchmarkHash8M-4 9 12474273 ns/op 672.47 MB/s BenchmarkHash8BytesUnaligned-4 165868 714.2 ns/op 11.20 MB/s BenchmarkHash1KUnaligned-4 57753 2067 ns/op 495.37 MB/s BenchmarkHash8KUnaligned-4 9280 12717 ns/op 644.16 MB/s PASS ok crypto/md5 2.531s goos: linux goarch: amd64 pkg: crypto/rand cpu: AMD EPYC 7B12 BenchmarkPrime-4 2 144666347 ns/op PASS ok crypto/rand 1.373s goos: linux goarch: amd64 pkg: crypto/rc4 cpu: AMD EPYC 7B12 BenchmarkRC4_128-4 18174 6586 ns/op 19.43 MB/s BenchmarkRC4_1K-4 2240 52381 ns/op 19.55 MB/s BenchmarkRC4_8K-4 288 412851 ns/op 19.61 MB/s PASS ok crypto/rc4 1.484s goos: linux goarch: amd64 pkg: crypto/rsa cpu: AMD EPYC 7B12 BenchmarkDecryptPKCS1v15/2048-4 14 7840022 ns/op BenchmarkDecryptPKCS1v15/3072-4 6 17579651 ns/op BenchmarkDecryptPKCS1v15/4096-4 4 31771250 ns/op BenchmarkEncryptPKCS1v15/2048-4 49 2353286 ns/op BenchmarkDecryptOAEP/2048-4 14 8323184 ns/op BenchmarkEncryptOAEP/2048-4 44 2330543 ns/op BenchmarkSignPKCS1v15/2048-4 14 7823864 ns/op BenchmarkVerifyPKCS1v15/2048-4 51 2307297 ns/op BenchmarkSignPSS/2048-4 14 7848770 ns/op BenchmarkVerifyPSS/2048-4 50 2323543 ns/op PASS ok crypto/rsa 2.472s goos: linux goarch: amd64 pkg: crypto/sha1 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes/New-4 143683 808.6 ns/op 9.89 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum-4 178563 659.5 ns/op 12.13 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/New-4 102092 1168 ns/op 273.92 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/Sum-4 120229 998.0 ns/op 320.65 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 68840 1743 ns/op 587.34 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum-4 75991 1568 ns/op 652.96 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 14950 8074 ns/op 1014.57 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum-4 15210 7882 ns/op 1039.27 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha1 2.210s goos: linux goarch: amd64 pkg: crypto/sha256 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes/New-4 131240 863.6 ns/op 9.26 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum224-4 161424 742.3 ns/op 10.78 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 153963 793.0 ns/op 10.09 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 85436 1360 ns/op 752.81 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum224-4 96602 1238 ns/op 827.10 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 93427 1285 ns/op 797.15 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 20355 5893 ns/op 1390.14 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum224-4 20860 5747 ns/op 1425.50 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 20725 5784 ns/op 1416.21 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha256 2.335s goos: linux goarch: amd64 pkg: crypto/sha512 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes/New-4 82227 1444 ns/op 5.54 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum384-4 102246 1171 ns/op 6.83 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum512-4 92017 1303 ns/op 6.14 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 42213 2784 ns/op 367.88 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum384-4 47728 2458 ns/op 416.57 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum512-4 46368 2609 ns/op 392.48 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 8926 13324 ns/op 614.83 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum384-4 8841 13053 ns/op 627.59 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum512-4 9002 13179 ns/op 621.62 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha512 2.220s goos: linux goarch: amd64 pkg: crypto/subtle cpu: AMD EPYC 7B12 BenchmarkConstantTimeByteEq-4 22224901 5.926 ns/op BenchmarkConstantTimeEq-4 24042570 5.523 ns/op BenchmarkConstantTimeLessOrEq-4 22570395 5.917 ns/op BenchmarkXORBytes/8Bytes-4 5946260 20.44 ns/op 391.32 MB/s BenchmarkXORBytes/128Bytes-4 5294236 22.02 ns/op 5813.95 MB/s BenchmarkXORBytes/2048Bytes-4 1775208 67.85 ns/op 30185.64 MB/s BenchmarkXORBytes/32768Bytes-4 118719 1009 ns/op 32490.99 MB/s PASS ok crypto/subtle 2.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. goos: linux goarch: amd64 pkg: crypto/tls cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCertCache/0-4 158 860933 ns/op BenchmarkCertCache/1-4 136 1002238 ns/op BenchmarkCertCache/2-4 160 816944 ns/op BenchmarkCertCache/3-4 166 854196 ns/op BenchmarkHandshakeServer/RSA-4 16 7482801 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv13-4 14 7983203 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv12-4 15 7483539 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv13-4 93 1126608 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv12-4 163 743136 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv13-4 49 2352069 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv12-4 61 1968254 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv13-4 4 32472992 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12-4 4 32301219 ns/op BenchmarkThroughput/MaxPacket/1MB/TLSv12-4 4 25855043 ns/op 40.56 MB/s BenchmarkThroughput/MaxPacket/1MB/TLSv13-4 3 33786451 ns/op 31.04 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv12-4 3 39074516 ns/op 53.67 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv13-4 3 56671101 ns/op 37.01 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv12-4 2 65960218 ns/op 63.59 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv13-4 2 99831994 ns/op 42.01 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv12-4 1 113679027 ns/op 73.79 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv13-4 1 162261244 ns/op 51.70 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv12-4 1 203911004 ns/op 82.28 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv13-4 1 312494888 ns/op 53.69 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv12-4 1 383144240 ns/op 87.58 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv13-4 1 561777187 ns/op 59.73 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv12-4 1 847611161 ns/op 79.17 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv13-4 1 1253963836 ns/op 53.52 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv12-4 4 25787687 ns/op 40.66 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv13-4 4 30828792 ns/op 34.01 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv12-4 3 37366509 ns/op 56.12 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv13-4 3 47942641 ns/op 43.74 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv12-4 2 69289627 ns/op 60.53 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv13-4 2 89108480 ns/op 47.07 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv12-4 1 125762463 ns/op 66.70 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv13-4 1 160351821 ns/op 52.31 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv12-4 1 224245564 ns/op 74.82 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv13-4 1 292275177 ns/op 57.40 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv12-4 1 390908934 ns/op 85.84 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv13-4 1 573664097 ns/op 58.49 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv12-4 1 886986713 ns/op 75.66 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv13-4 1 1231815993 ns/op 54.48 MB/s BenchmarkLatency/MaxPacket/200kbps/TLSv12-4 1 706926753 ns/op BenchmarkLatency/MaxPacket/200kbps/TLSv13-4 1 709886904 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv12-4 1 291881899 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv13-4 1 292192585 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv12-4 1 154127087 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv13-4 1 153765020 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv12-4 2 84505456 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv13-4 2 83786060 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv12-4 3 43109609 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv13-4 3 42380721 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv12-4 1 146353644 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv13-4 1 148791573 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv12-4 2 66685625 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv13-4 2 67443401 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv12-4 3 40806659 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv13-4 3 40880972 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv12-4 4 28064534 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv13-4 4 27939387 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv12-4 5 20893324 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv13-4 6 19700412 ns/op PASS ok crypto/tls 19.898s ##### 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 10204918 ns/op BenchmarkCreateCertificate/ECDSA_P256-4 489 239213 ns/op BenchmarkParseCertificate/ecdsa_leaf-4 1710 69210 ns/op 12100 B/op 164 allocs/op BenchmarkParseCertificate/rsa_leaf-4 1561 74903 ns/op 13508 B/op 187 allocs/op PASS ok crypto/x509 1.788s goos: linux goarch: amd64 pkg: database/sql cpu: AMD EPYC 7B12 BenchmarkConcurrentDBExec-4 55 2131593 ns/op 279208 B/op 1634 allocs/op BenchmarkConcurrentStmtQuery-4 57 2397362 ns/op 261840 B/op 2012 allocs/op BenchmarkConcurrentStmtExec-4 73 1552456 ns/op 214949 B/op 638 allocs/op BenchmarkConcurrentTxQuery-4 51 2027393 ns/op 277121 B/op 2148 allocs/op BenchmarkConcurrentTxExec-4 85 1251534 ns/op 87757 B/op 1554 allocs/op BenchmarkConcurrentTxStmtQuery-4 62 2004995 ns/op 105291 B/op 2111 allocs/op BenchmarkConcurrentTxStmtExec-4 184 657503 ns/op 40110 B/op 381 allocs/op BenchmarkConcurrentRandom-4 51 1999579 ns/op 229885 B/op 1830 allocs/op BenchmarkManyConcurrentQueries-4 3759 27957 ns/op 4056 B/op 20 allocs/op BenchmarkGrabConn-4 275317 386.2 ns/op 0 B/op 0 allocs/op PASS ok database/sql 2.424s goos: linux goarch: amd64 pkg: debug/gosym cpu: AMD EPYC 7B12 Benchmark115/NewLineTable-4 434156 285.1 ns/op 384 B/op 3 allocs/op Benchmark115/NewTable-4 138 877062 ns/op 188255 B/op 13 allocs/op Benchmark115/LineToPC-4 100 1067939 ns/op 0 B/op 0 allocs/op Benchmark115/PCToLine-4 26370 4673 ns/op 0 B/op 0 allocs/op PASS ok debug/gosym 1.710s goos: linux goarch: amd64 pkg: encoding/asn1 cpu: AMD EPYC 7B12 BenchmarkObjectIdentifierString-4 89248 1338 ns/op BenchmarkMarshal-4 1094 108359 ns/op 9528 B/op 363 allocs/op BenchmarkUnmarshal-4 3547 30519 ns/op 784 B/op 43 allocs/op PASS ok encoding/asn1 1.393s goos: linux goarch: amd64 pkg: encoding/base32 cpu: AMD EPYC 7B12 BenchmarkEncode-4 391 288603 ns/op 28.39 MB/s BenchmarkEncodeToString-4 372 308934 ns/op 26.52 MB/s BenchmarkDecode-4 218 540637 ns/op 24.25 MB/s BenchmarkDecodeString-4 220 538591 ns/op 24.35 MB/s PASS ok encoding/base32 1.653s goos: linux goarch: amd64 pkg: encoding/base64 cpu: AMD EPYC 7B12 BenchmarkEncodeToString-4 520 224158 ns/op 36.55 MB/s BenchmarkDecodeString/2-4 472713 256.8 ns/op 15.57 MB/s BenchmarkDecodeString/4-4 333634 353.2 ns/op 22.65 MB/s BenchmarkDecodeString/8-4 284220 415.3 ns/op 28.90 MB/s BenchmarkDecodeString/64-4 51849 2200 ns/op 40.00 MB/s BenchmarkDecodeString/8192-4 460 244827 ns/op 44.62 MB/s BenchmarkNewEncoding-4 121303 971.2 ns/op 263.60 MB/s PASS ok encoding/base64 1.948s goos: linux goarch: amd64 pkg: encoding/binary cpu: AMD EPYC 7B12 BenchmarkReadSlice1000Int32s-4 1906 57453 ns/op 69.62 MB/s BenchmarkReadStruct-4 23756 5027 ns/op 14.92 MB/s BenchmarkWriteStruct-4 23132 5182 ns/op 14.47 MB/s BenchmarkReadInts-4 73269 1614 ns/op 18.58 MB/s BenchmarkWriteInts-4 69550 1799 ns/op 16.67 MB/s BenchmarkWriteSlice1000Int32s-4 1928 60907 ns/op 65.67 MB/s BenchmarkPutUint16-4 4500769 27.12 ns/op 73.75 MB/s BenchmarkAppendUint16-4 4466221 26.46 ns/op 75.58 MB/s BenchmarkPutUint32-4 3158869 38.09 ns/op 105.02 MB/s BenchmarkAppendUint32-4 3077923 38.98 ns/op 102.63 MB/s BenchmarkPutUint64-4 1594231 75.20 ns/op 106.38 MB/s BenchmarkAppendUint64-4 1562077 76.52 ns/op 104.55 MB/s BenchmarkLittleEndianPutUint16-4 4530519 26.47 ns/op 75.55 MB/s BenchmarkLittleEndianAppendUint16-4 4271336 27.15 ns/op 73.66 MB/s BenchmarkLittleEndianPutUint32-4 3157980 38.32 ns/op 104.39 MB/s BenchmarkLittleEndianAppendUint32-4 3127593 38.44 ns/op 104.07 MB/s BenchmarkLittleEndianPutUint64-4 1580490 75.73 ns/op 105.64 MB/s BenchmarkLittleEndianAppendUint64-4 1528034 76.07 ns/op 105.16 MB/s BenchmarkReadFloats-4 250328 499.0 ns/op 24.05 MB/s BenchmarkWriteFloats-4 233935 513.5 ns/op 23.37 MB/s BenchmarkReadSlice1000Float32s-4 1834 64996 ns/op 61.54 MB/s BenchmarkWriteSlice1000Float32s-4 1762 67913 ns/op 58.90 MB/s BenchmarkReadSlice1000Uint8s-4 130399 916.4 ns/op 1091.22 MB/s BenchmarkWriteSlice1000Uint8s-4 170708 613.0 ns/op 1631.38 MB/s BenchmarkPutUvarint32-4 970245 114.9 ns/op 34.82 MB/s BenchmarkPutUvarint64-4 297249 402.9 ns/op 19.86 MB/s PASS ok encoding/binary 4.929s goos: linux goarch: amd64 pkg: encoding/csv cpu: AMD EPYC 7B12 BenchmarkRead-4 9044 11644 ns/op 736 B/op 16 allocs/op BenchmarkReadWithFieldsPerRecord-4 9678 11864 ns/op 736 B/op 16 allocs/op BenchmarkReadWithoutFieldsPerRecord-4 10000 11724 ns/op 736 B/op 16 allocs/op BenchmarkReadLargeFields-4 5432 18571 ns/op 3937 B/op 24 allocs/op BenchmarkReadReuseRecord-4 10000 10702 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithFieldsPerRecord-4 10000 10959 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithoutFieldsPerRecord-4 10000 10659 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordLargeFields-4 6627 17491 ns/op 2977 B/op 12 allocs/op BenchmarkWrite-4 20518 5718 ns/op PASS ok encoding/csv 2.092s goos: linux goarch: amd64 pkg: encoding/gob cpu: AMD EPYC 7B12 BenchmarkEndToEndPipe-4 21110 5622 ns/op 1811 B/op 2 allocs/op BenchmarkEndToEndByteBuffer-4 23288 4701 ns/op 1810 B/op 2 allocs/op BenchmarkEndToEndSliceByteBuffer-4 416 273634 ns/op 16548 B/op 329 allocs/op BenchmarkEncodeComplex128Slice-4 1239 93289 ns/op 396 B/op 0 allocs/op BenchmarkEncodeFloat64Slice-4 2521 45453 ns/op 34 B/op 0 allocs/op BenchmarkEncodeInt32Slice-4 2352 56108 ns/op 37 B/op 0 allocs/op BenchmarkEncodeStringSlice-4 3336 37222 ns/op 116 B/op 0 allocs/op BenchmarkEncodeInterfaceSlice-4 115 1047464 ns/op 29850 B/op 250 allocs/op BenchmarkDecodeComplex128Slice-4 916 128819 ns/op 25192 B/op 169 allocs/op BenchmarkDecodeFloat64Slice-4 1948 62170 ns/op 10786 B/op 169 allocs/op BenchmarkDecodeInt32Slice-4 2115 58563 ns/op 9753 B/op 169 allocs/op BenchmarkDecodeStringSlice-4 1254 101426 ns/op 39110 B/op 1169 allocs/op BenchmarkDecodeStringsSlice-4 499 263235 ns/op 65963 B/op 2193 allocs/op BenchmarkDecodeBytesSlice-4 948 126704 ns/op 23471 B/op 181 allocs/op BenchmarkDecodeInterfaceSlice-4 165 771177 ns/op 82741 B/op 3178 allocs/op BenchmarkDecodeMap-4 100 1078620 ns/op 54128 B/op 181 allocs/op PASS ok encoding/gob 3.761s goos: linux goarch: amd64 pkg: encoding/hex cpu: AMD EPYC 7B12 BenchmarkEncode/256-4 20416 5929 ns/op 43.18 MB/s BenchmarkEncode/1024-4 4600 24498 ns/op 41.80 MB/s BenchmarkEncode/4096-4 1243 95255 ns/op 43.00 MB/s BenchmarkEncode/16384-4 325 383178 ns/op 42.76 MB/s BenchmarkDecode/256-4 42171 2943 ns/op 86.98 MB/s BenchmarkDecode/1024-4 8868 11504 ns/op 89.01 MB/s BenchmarkDecode/4096-4 2653 46581 ns/op 87.93 MB/s BenchmarkDecode/16384-4 648 189701 ns/op 86.37 MB/s BenchmarkDump/256-4 1900 62873 ns/op 4.07 MB/s BenchmarkDump/1024-4 477 249113 ns/op 4.11 MB/s BenchmarkDump/4096-4 100 1014751 ns/op 4.04 MB/s BenchmarkDump/16384-4 30 4057707 ns/op 4.04 MB/s PASS ok encoding/hex 2.637s goos: linux goarch: amd64 pkg: encoding/json cpu: AMD EPYC 7B12 BenchmarkCodeEncoder-4 1 124819689 ns/op 15.55 MB/s 8391416 B/op 58 allocs/op BenchmarkCodeEncoderError-4 2 69818208 ns/op 27.79 MB/s 8390836 B/op 57 allocs/op BenchmarkCodeMarshal-4 2 93253730 ns/op 20.81 MB/s 10330920 B/op 47 allocs/op BenchmarkCodeMarshalError-4 1 118447891 ns/op 16.38 MB/s 10336280 B/op 114 allocs/op BenchmarkMarshalBytes/32-4 30798 3930 ns/op BenchmarkMarshalBytes/256-4 7071 14298 ns/op BenchmarkMarshalBytes/4096-4 710 166497 ns/op BenchmarkMarshalBytesError/32-4 86 1364226 ns/op BenchmarkMarshalBytesError/256-4 85 1365839 ns/op BenchmarkMarshalBytesError/4096-4 76 1554367 ns/op BenchmarkCodeDecoder-4 1 305853491 ns/op 6.34 MB/s 11015936 B/op 91356 allocs/op BenchmarkUnicodeDecoder-4 50356 2396 ns/op 5.84 MB/s 40 B/op 2 allocs/op BenchmarkDecoderStream-4 56830 1844 ns/op 16 B/op 1 allocs/op BenchmarkCodeUnmarshal-4 1 273588825 ns/op 7.09 MB/s 2938152 B/op 91324 allocs/op BenchmarkCodeUnmarshalReuse-4 1 266643316 ns/op 7.28 MB/s 2938224 B/op 91327 allocs/op BenchmarkUnmarshalString-4 111316 1046 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalFloat64-4 212522 536.1 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalInt64-4 434239 286.0 ns/op 144 B/op 1 allocs/op BenchmarkIssue10335-4 112578 967.5 ns/op 176 B/op 3 allocs/op BenchmarkIssue34127-4 119773 836.8 ns/op 83 B/op 2 allocs/op BenchmarkUnmapped-4 39024 4070 ns/op 208 B/op 4 allocs/op BenchmarkTypeFieldsCache/MissTypes1-4 6110 22746 ns/op BenchmarkTypeFieldsCache/MissTypes10-4 1218 95661 ns/op BenchmarkTypeFieldsCache/MissTypes100-4 154 869132 ns/op BenchmarkTypeFieldsCache/MissTypes1000-4 16 6349475 ns/op BenchmarkTypeFieldsCache/HitTypes1-4 667340 192.8 ns/op BenchmarkTypeFieldsCache/HitTypes10-4 699775 175.1 ns/op BenchmarkTypeFieldsCache/HitTypes100-4 712868 186.5 ns/op BenchmarkTypeFieldsCache/HitTypes1000-4 666295 176.0 ns/op BenchmarkEncodeMarshaler-4 70928 1438 ns/op 76 B/op 2 allocs/op BenchmarkEncoderEncode-4 127657 1310 ns/op 43 B/op 0 allocs/op BenchmarkNumberIsValid-4 6221875 19.27 ns/op BenchmarkNumberIsValidRegexp-4 29638 4179 ns/op PASS ok encoding/json 7.722s goos: linux goarch: amd64 pkg: encoding/pem cpu: AMD EPYC 7B12 BenchmarkEncode-4 63 1675443 ns/op 39.12 MB/s BenchmarkDecode-4 36 3328925 ns/op 26.67 MB/s PASS ok encoding/pem 1.252s goos: linux goarch: amd64 pkg: encoding/xml cpu: AMD EPYC 7B12 BenchmarkMarshal-4 4450 25148 ns/op 6280 B/op 24 allocs/op BenchmarkUnmarshal-4 1322 78496 ns/op 8216 B/op 185 allocs/op BenchmarkHTMLAutoClose-4 7542 18254 ns/op PASS ok encoding/xml 1.553s goos: linux goarch: amd64 pkg: expvar cpu: AMD EPYC 7B12 BenchmarkIntAdd-4 631150 172.5 ns/op BenchmarkIntSet-4 1000000 198.6 ns/op BenchmarkFloatAdd-4 105376 1419 ns/op BenchmarkFloatSet-4 844261 198.7 ns/op BenchmarkStringSet-4 646332 177.5 ns/op BenchmarkMapSet-4 115312 972.1 ns/op BenchmarkMapSetDifferent-4 105643 1010 ns/op BenchmarkMapSetDifferentRandom-4 381 297205 ns/op BenchmarkMapSetString-4 138663 1358 ns/op BenchmarkMapAddSame-4 50973 2499 ns/op BenchmarkMapAddDifferent-4 25066 4163 ns/op BenchmarkMapAddDifferentRandom-4 345 344564 ns/op BenchmarkMapAddSameSteadyState-4 594972 183.0 ns/op BenchmarkMapAddDifferentSteadyState-4 231728 504.3 ns/op BenchmarkRealworldExpvarUsage-4 40639 5063 ns/op PASS ok expvar 3.603s goos: linux goarch: amd64 pkg: fmt cpu: AMD EPYC 7B12 BenchmarkSprintfPadding-4 153055 743.3 ns/op BenchmarkSprintfEmpty-4 713552 197.0 ns/op BenchmarkSprintfString-4 424713 265.7 ns/op BenchmarkSprintfTruncateString-4 345098 334.7 ns/op BenchmarkSprintfTruncateBytes-4 231930 600.0 ns/op BenchmarkSprintfSlowParsingPath-4 369260 354.9 ns/op BenchmarkSprintfQuoteString-4 61696 1977 ns/op BenchmarkSprintfInt-4 390565 304.8 ns/op BenchmarkSprintfIntInt-4 221476 469.9 ns/op BenchmarkSprintfPrefixedInt-4 302722 413.4 ns/op BenchmarkSprintfFloat-4 183668 626.8 ns/op BenchmarkSprintfComplex-4 81802 1471 ns/op BenchmarkSprintfBoolean-4 476059 283.7 ns/op BenchmarkSprintfHexString-4 219483 560.9 ns/op BenchmarkSprintfHexBytes-4 125290 817.8 ns/op BenchmarkSprintfBytes-4 79428 1610 ns/op BenchmarkSprintfStringer-4 111811 961.3 ns/op BenchmarkSprintfStructure-4 59494 2037 ns/op BenchmarkManyArgs-4 107037 1170 ns/op BenchmarkFprintInt-4 102072 1220 ns/op BenchmarkFprintfBytes-4 115032 1074 ns/op BenchmarkFprintIntNoAlloc-4 101527 1190 ns/op BenchmarkScanInts-4 44 2286492 ns/op BenchmarkScanRecursiveInt-4 1 293008323 ns/op BenchmarkScanRecursiveIntReaderWrapper-4 1 300659450 ns/op PASS ok fmt 5.273s goos: linux goarch: amd64 pkg: go/build cpu: AMD EPYC 7B12 BenchmarkImportVendor-4 1082 103937 ns/op PASS ok go/build 1.138s goos: linux goarch: amd64 pkg: go/constant cpu: AMD EPYC 7B12 BenchmarkStringAdd/1-4 66586 1626 ns/op 160 B/op 2 allocs/op BenchmarkStringAdd/4-4 20949 5595 ns/op 832 B/op 9 allocs/op BenchmarkStringAdd/16-4 5474 18320 ns/op 3168 B/op 23 allocs/op BenchmarkStringAdd/64-4 1849 63657 ns/op 11744 B/op 73 allocs/op BenchmarkStringAdd/256-4 458 254213 ns/op 47840 B/op 267 allocs/op BenchmarkStringAdd/1024-4 100 1152851 ns/op 206176 B/op 1038 allocs/op BenchmarkStringAdd/4096-4 27 4716460 ns/op 865642 B/op 4114 allocs/op BenchmarkStringAdd/16384-4 6 19049602 ns/op 3634528 B/op 16407 allocs/op BenchmarkStringAdd/65536-4 2 84799302 ns/op 15259024 B/op 65565 allocs/op PASS ok go/constant 2.424s goos: linux goarch: amd64 pkg: go/format cpu: AMD EPYC 7B12 BenchmarkFormat/array1-10000-4 1 179372161 ns/op 0.36 MB/s 44831088 B/op 48659 allocs/op PASS ok go/format 1.206s goos: linux goarch: amd64 pkg: go/parser cpu: AMD EPYC 7B12 BenchmarkParse-4 8 14505234 ns/op 3.71 MB/s BenchmarkParseOnly-4 9 12425455 ns/op 4.33 MB/s BenchmarkResolve-4 82 1468733 ns/op 36.67 MB/s PASS ok go/parser 2.347s goos: linux goarch: amd64 pkg: go/printer cpu: AMD EPYC 7B12 BenchmarkPrintFile-4 3 41733020 ns/op 1.24 MB/s 2036053 B/op 2768 allocs/op BenchmarkPrintDecl-4 1275 92959 ns/op 0.34 MB/s 16722 B/op 51 allocs/op PASS ok go/printer 1.448s goos: linux goarch: amd64 pkg: go/scanner cpu: AMD EPYC 7B12 BenchmarkScan-4 391 311625 ns/op BenchmarkScanFiles/go/types/expr.go-4 19 5979296 ns/op 8.30 MB/s BenchmarkScanFiles/go/parser/parser.go-4 13 8927602 ns/op 8.12 MB/s BenchmarkScanFiles/net/http/server.go-4 8 13090413 ns/op 8.66 MB/s BenchmarkScanFiles/go/scanner/errors.go-4 308 393250 ns/op 7.82 MB/s PASS ok go/scanner 1.695s goos: linux goarch: amd64 pkg: go/token cpu: AMD EPYC 7B12 BenchmarkSearchInts-4 1651734 79.53 ns/op PASS ok go/token 1.221s ##### 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 138 851164 ns/op BenchmarkNamed/Underlying/nongeneric-4 777967 131.8 ns/op BenchmarkNamed/Underlying/generic-4 915208 130.1 ns/op BenchmarkNamed/Underlying/src_instance-4 872853 132.1 ns/op BenchmarkNamed/Underlying/user_instance-4 898642 130.8 ns/op BenchmarkNamed/NewMethodSet/nongeneric-4 22168 5224 ns/op BenchmarkNamed/NewMethodSet/generic-4 22258 5192 ns/op BenchmarkNamed/NewMethodSet/src_instance-4 21621 5352 ns/op BenchmarkNamed/NewMethodSet/user_instance-4 22062 5426 ns/op BenchmarkCheck/http/funcbodies/info-4 1 604408020 ns/op 50551 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 414089456 ns/op 73779 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 241042133 ns/op 126738 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 206020526 ns/op 148216 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 434938857 ns/op 11899 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 1 113359050 ns/op 45641 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 2 66565824 ns/op 77716 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 2 64216392 ns/op 80581 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 154812475 ns/op 13992 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 2 62156671 ns/op 34846 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 3 47248517 ns/op 45847 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 3 46366609 ns/op 46722 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1137179768 ns/op 57295 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 601043785 ns/op 108397 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 171098509 ns/op 380604 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 124109170 ns/op 524701 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 1901784857 ns/op 1050 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 94144758 ns/op 21205 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 2 77039397 ns/op 25911 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 2 76160228 ns/op 26212 lines/s PASS ok go/types 20.174s ##### 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 14800 7430 ns/op 137.83 MB/s PASS ok hash/adler32 1.206s goos: linux goarch: amd64 pkg: hash/crc32 cpu: AMD EPYC 7B12 BenchmarkCRC32/poly=IEEE/size=15/align=0-4 298768 361.2 ns/op 41.53 MB/s BenchmarkCRC32/poly=IEEE/size=15/align=1-4 324651 354.8 ns/op 42.27 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=0-4 157266 700.4 ns/op 57.11 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=1-4 183775 652.8 ns/op 61.27 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=0-4 593908 193.7 ns/op 2643.32 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=1-4 607662 195.9 ns/op 2612.94 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=0-4 514378 228.8 ns/op 4476.22 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=1-4 491160 236.1 ns/op 4337.61 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=0-4 252811 474.2 ns/op 8636.81 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=1-4 254410 477.3 ns/op 8581.07 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=0-4 44314 2719 ns/op 12051.25 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=1-4 44008 2715 ns/op 12071.18 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=0-4 687824 176.4 ns/op 85.01 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=1-4 708408 176.1 ns/op 85.19 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=0-4 666344 176.2 ns/op 227.06 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=1-4 678246 178.5 ns/op 224.12 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=0-4 473254 252.5 ns/op 2027.33 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=1-4 483500 254.5 ns/op 2011.80 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=0-4 381273 312.7 ns/op 3274.87 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=1-4 362844 326.4 ns/op 3137.54 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=0-4 316350 382.8 ns/op 10700.46 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=1-4 298364 390.8 ns/op 10480.23 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=0-4 60477 1967 ns/op 16657.67 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=1-4 61602 1946 ns/op 16836.38 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=0-4 344835 341.9 ns/op 43.88 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=1-4 357302 343.8 ns/op 43.64 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=0-4 169692 721.6 ns/op 55.43 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=1-4 176961 666.0 ns/op 60.06 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=0-4 14378 8446 ns/op 60.62 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=1-4 13964 8544 ns/op 59.93 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=0-4 6421 18577 ns/op 55.12 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=1-4 6936 18191 ns/op 56.29 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=0-4 1534 79451 ns/op 51.55 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=1-4 1508 78978 ns/op 51.86 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=0-4 180 656635 ns/op 49.90 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=1-4 181 653814 ns/op 50.12 MB/s PASS ok hash/crc32 5.907s goos: linux goarch: amd64 pkg: hash/crc64 cpu: AMD EPYC 7B12 BenchmarkCrc64/ISO64KB-4 145 898523 ns/op 72.94 MB/s BenchmarkCrc64/ISO4KB-4 1606 66579 ns/op 61.52 MB/s BenchmarkCrc64/ISO1KB-4 7706 14704 ns/op 69.64 MB/s BenchmarkCrc64/ECMA64KB-4 145 827813 ns/op 79.17 MB/s BenchmarkCrc64/Random64KB-4 156 838913 ns/op 78.12 MB/s BenchmarkCrc64/Random16KB-4 564 230458 ns/op 71.09 MB/s PASS ok hash/crc64 2.033s goos: linux goarch: amd64 pkg: hash/fnv cpu: AMD EPYC 7B12 BenchmarkFnv32KB-4 15868 7536 ns/op 135.89 MB/s BenchmarkFnv32aKB-4 15880 7533 ns/op 135.93 MB/s BenchmarkFnv64KB-4 15786 8507 ns/op 120.38 MB/s BenchmarkFnv64aKB-4 15828 7566 ns/op 135.35 MB/s BenchmarkFnv128KB-4 2869 40830 ns/op 25.08 MB/s BenchmarkFnv128aKB-4 2881 41113 ns/op 24.91 MB/s PASS ok hash/fnv 2.066s goos: linux goarch: amd64 pkg: hash/maphash cpu: AMD EPYC 7B12 BenchmarkHash/n=4/Write-4 721050 150.1 ns/op 26.65 MB/s BenchmarkHash/n=4/Bytes-4 5789044 20.67 ns/op 193.48 MB/s BenchmarkHash/n=4/String-4 2366844 50.73 ns/op 78.85 MB/s BenchmarkHash/n=8/Write-4 740854 153.8 ns/op 52.01 MB/s BenchmarkHash/n=8/Bytes-4 5809267 20.71 ns/op 386.34 MB/s BenchmarkHash/n=8/String-4 2357119 51.14 ns/op 156.43 MB/s BenchmarkHash/n=16/Write-4 808069 150.1 ns/op 106.58 MB/s BenchmarkHash/n=16/Bytes-4 5802290 20.87 ns/op 766.52 MB/s BenchmarkHash/n=16/String-4 2365255 50.64 ns/op 315.94 MB/s BenchmarkHash/n=32/Write-4 706123 158.7 ns/op 201.58 MB/s BenchmarkHash/n=32/Bytes-4 5544469 20.65 ns/op 1549.45 MB/s BenchmarkHash/n=32/String-4 2357014 51.18 ns/op 625.19 MB/s BenchmarkHash/n=64/Write-4 710946 167.8 ns/op 381.34 MB/s BenchmarkHash/n=64/Bytes-4 5714380 21.78 ns/op 2938.13 MB/s BenchmarkHash/n=64/String-4 2339425 49.63 ns/op 1289.51 MB/s BenchmarkHash/n=256/Write-4 516944 211.3 ns/op 1211.65 MB/s BenchmarkHash/n=256/Bytes-4 4382306 27.24 ns/op 9396.94 MB/s BenchmarkHash/n=256/String-4 1382005 89.69 ns/op 2854.34 MB/s BenchmarkHash/n=320/Write-4 567816 223.6 ns/op 1431.30 MB/s BenchmarkHash/n=320/Bytes-4 3716463 32.86 ns/op 9737.16 MB/s BenchmarkHash/n=320/String-4 970520 123.6 ns/op 2589.90 MB/s BenchmarkHash/n=1024/Write-4 389710 313.5 ns/op 3266.59 MB/s BenchmarkHash/n=1024/Bytes-4 1379292 86.64 ns/op 11818.37 MB/s BenchmarkHash/n=1024/String-4 389157 304.2 ns/op 3365.70 MB/s BenchmarkHash/n=4096/Write-4 176235 668.4 ns/op 6128.29 MB/s BenchmarkHash/n=4096/Bytes-4 339206 346.7 ns/op 11813.39 MB/s BenchmarkHash/n=4096/String-4 106340 1132 ns/op 3616.89 MB/s BenchmarkHash/n=16384/Write-4 57150 2102 ns/op 7794.87 MB/s BenchmarkHash/n=16384/Bytes-4 85299 1394 ns/op 11756.68 MB/s BenchmarkHash/n=16384/String-4 27007 4473 ns/op 3662.99 MB/s PASS ok hash/maphash 5.356s goos: linux goarch: amd64 pkg: html cpu: AMD EPYC 7B12 BenchmarkEscape-4 1342 87112 ns/op BenchmarkEscapeNone-4 142648 814.1 ns/op BenchmarkUnescape-4 1178 98857 ns/op BenchmarkUnescapeNone-4 792612 149.8 ns/op BenchmarkUnescapeSparse-4 19172 5972 ns/op BenchmarkUnescapeDense-4 1531 65338 ns/op PASS ok html 1.805s goos: linux goarch: amd64 pkg: html/template cpu: AMD EPYC 7B12 BenchmarkCSSEscaper-4 13686 8590 ns/op BenchmarkCSSEscaperNoSpecials-4 63853 1864 ns/op BenchmarkDecodeCSS-4 41294 2878 ns/op BenchmarkDecodeCSSNoSpecials-4 5822410 20.52 ns/op BenchmarkCSSValueFilter-4 168036 722.5 ns/op BenchmarkCSSValueFilterOk-4 120138 999.4 ns/op BenchmarkEscapedExecute-4 5595 18148 ns/op BenchmarkHTMLNospaceEscaper-4 16964 7264 ns/op BenchmarkHTMLNospaceEscaperNoSpecials-4 95199 1325 ns/op BenchmarkStripTags-4 31384 3760 ns/op BenchmarkStripTagsNoSpecials-4 470058 266.6 ns/op BenchmarkJSValEscaperWithNum-4 33676 3611 ns/op BenchmarkJSValEscaperWithStr-4 7455 14518 ns/op BenchmarkJSValEscaperWithStrNoSpecials-4 27031 4463 ns/op BenchmarkJSValEscaperWithObj-4 7173 16679 ns/op BenchmarkJSValEscaperWithObjNoSpecials-4 19570 6175 ns/op BenchmarkJSStrEscaperNoSpecials-4 87663 1393 ns/op BenchmarkJSStrEscaper-4 17168 6998 ns/op BenchmarkJSRegexpEscaperNoSpecials-4 71605 1525 ns/op BenchmarkJSRegexpEscaper-4 16294 7324 ns/op BenchmarkTemplateSpecialTags-4 151 803888 ns/op BenchmarkURLEscaper-4 5460 18986 ns/op BenchmarkURLEscaperNoSpecials-4 255145 464.2 ns/op BenchmarkURLNormalizer-4 8121 14628 ns/op BenchmarkURLNormalizerNoSpecials-4 235387 493.3 ns/op BenchmarkSrcsetFilter-4 25881 4595 ns/op BenchmarkSrcsetFilterNoSpecials-4 156336 736.1 ns/op PASS ok html/template 5.136s goos: linux goarch: amd64 pkg: image cpu: AMD EPYC 7B12 BenchmarkAt/rgba-4 802573 133.8 ns/op 16 B/op 1 allocs/op BenchmarkAt/rgba64-4 617550 175.2 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba-4 965382 128.0 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba64-4 672864 177.3 ns/op 16 B/op 1 allocs/op BenchmarkAt/alpha-4 2382434 50.61 ns/op 0 B/op 0 allocs/op BenchmarkAt/alpha16-4 1463349 75.15 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray-4 2407090 49.82 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray16-4 1621611 80.92 ns/op 0 B/op 0 allocs/op BenchmarkAt/paletted-4 1883392 63.33 ns/op 0 B/op 0 allocs/op BenchmarkSet/rgba-4 636793 187.0 ns/op 16 B/op 1 allocs/op BenchmarkSet/rgba64-4 542010 218.8 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba-4 624196 194.8 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba64-4 524662 230.6 ns/op 16 B/op 1 allocs/op BenchmarkSet/alpha-4 1000000 112.5 ns/op 0 B/op 0 allocs/op BenchmarkSet/alpha16-4 762465 158.5 ns/op 16 B/op 1 allocs/op BenchmarkSet/gray-4 1000000 102.5 ns/op 0 B/op 0 allocs/op BenchmarkSet/gray16-4 752629 158.8 ns/op 16 B/op 1 allocs/op BenchmarkSet/paletted-4 599706 200.1 ns/op 0 B/op 0 allocs/op BenchmarkRGBAAt-4 1834004 65.15 ns/op BenchmarkRGBASetRGBA-4 1789142 66.48 ns/op BenchmarkRGBA64At-4 1000000 113.2 ns/op BenchmarkRGBA64SetRGBA64-4 1000000 104.0 ns/op BenchmarkNRGBAAt-4 1837026 65.21 ns/op BenchmarkNRGBASetNRGBA-4 1780982 66.48 ns/op BenchmarkNRGBA64At-4 984436 108.1 ns/op BenchmarkNRGBA64SetNRGBA64-4 963832 105.3 ns/op BenchmarkAlphaAt-4 3261190 37.13 ns/op BenchmarkAlphaSetAlpha-4 3163608 37.96 ns/op BenchmarkAlpha16At-4 1980895 59.95 ns/op BenchmarkAlphaSetAlpha16-4 1848835 61.10 ns/op BenchmarkGrayAt-4 3223586 36.86 ns/op BenchmarkGraySetGray-4 3169870 37.84 ns/op BenchmarkGray16At-4 2012864 60.24 ns/op BenchmarkGraySetGray16-4 1992447 61.17 ns/op PASS ok image 6.096s goos: linux goarch: amd64 pkg: image/color cpu: AMD EPYC 7B12 BenchmarkYCbCrToRGB/0-4 4814534 24.67 ns/op BenchmarkYCbCrToRGB/128-4 5033196 23.65 ns/op BenchmarkYCbCrToRGB/255-4 4997208 23.69 ns/op BenchmarkRGBToYCbCr/0-4 4996298 23.75 ns/op BenchmarkRGBToYCbCr/Cb-4 4970755 23.64 ns/op BenchmarkRGBToYCbCr/Cr-4 4995951 23.69 ns/op BenchmarkYCbCrToRGBA/0-4 4056415 29.33 ns/op BenchmarkYCbCrToRGBA/128-4 3889216 30.56 ns/op BenchmarkYCbCrToRGBA/255-4 4051672 29.25 ns/op BenchmarkNYCbCrAToRGBA/0-4 3968338 29.88 ns/op BenchmarkNYCbCrAToRGBA/128-4 3966048 29.98 ns/op BenchmarkNYCbCrAToRGBA/255-4 4003929 29.57 ns/op PASS ok image/color 2.786s goos: linux goarch: amd64 pkg: image/draw cpu: AMD EPYC 7B12 BenchmarkFillOver-4 5 24193808 ns/op BenchmarkFillSrc-4 484 239907 ns/op BenchmarkCopyOver-4 9 11206946 ns/op BenchmarkCopySrc-4 729 159160 ns/op BenchmarkNRGBAOver-4 9 11616767 ns/op BenchmarkNRGBASrc-4 15 7415949 ns/op BenchmarkYCbCr-4 13 8843752 ns/op BenchmarkGray-4 25 4672111 ns/op BenchmarkCMYK-4 15 7226673 ns/op BenchmarkGlyphOver-4 28 3913106 ns/op BenchmarkRGBAMaskOver-4 5 20995875 ns/op BenchmarkGrayMaskOver-4 7 16017019 ns/op BenchmarkRGBA64ImageMaskOver-4 4 25464428 ns/op BenchmarkRGBA-4 6 17066146 ns/op BenchmarkPalettedFill-4 1411 85246 ns/op BenchmarkPalettedRGBA-4 6 17778440 ns/op BenchmarkGenericOver-4 3 36857611 ns/op BenchmarkGenericMaskOver-4 7 15469580 ns/op BenchmarkGenericSrc-4 5 25128812 ns/op BenchmarkGenericMaskSrc-4 5 22219698 ns/op PASS ok image/draw 5.890s goos: linux goarch: amd64 pkg: image/gif cpu: AMD EPYC 7B12 BenchmarkDecode-4 33 3379677 ns/op 4.57 MB/s 47848 B/op 267 allocs/op BenchmarkEncodeRandomPaletted-4 2 83930692 ns/op 3.66 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRandomRGBA-4 1 2091739590 ns/op 0.59 MB/s 417248 B/op 13 allocs/op BenchmarkEncodeRealisticPaletted-4 84 1406795 ns/op 10.98 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRealisticRGBA-4 1 102317724 ns/op 0.60 MB/s 105952 B/op 13 allocs/op PASS ok image/gif 4.110s goos: linux goarch: amd64 pkg: image/jpeg cpu: AMD EPYC 7B12 BenchmarkFDCT-4 5487 19522 ns/op BenchmarkIDCT-4 6350 17846 ns/op BenchmarkDecodeBaseline-4 13 8751171 ns/op 7.06 MB/s 63024 B/op 5 allocs/op BenchmarkDecodeProgressive-4 9 12711953 ns/op 4.86 MB/s 259712 B/op 13 allocs/op BenchmarkEncodeRGBA-4 1 108590822 ns/op 11.32 MB/s 4400 B/op 4 allocs/op BenchmarkEncodeYCbCr-4 1 136757668 ns/op 6.74 MB/s 4400 B/op 4 allocs/op PASS ok image/jpeg 2.008s goos: linux goarch: amd64 pkg: image/png cpu: AMD EPYC 7B12 BenchmarkPaeth-4 16792168 7.000 ns/op BenchmarkDecodeGray-4 19 5980143 ns/op 10.96 MB/s 137024 B/op 102 allocs/op BenchmarkDecodeNRGBAGradient-4 4 25660953 ns/op 10.22 MB/s 337328 B/op 188 allocs/op BenchmarkDecodeNRGBAOpaque-4 5 21965069 ns/op 11.93 MB/s 346592 B/op 152 allocs/op BenchmarkDecodePaletted-4 33 3789942 ns/op 17.29 MB/s 139456 B/op 309 allocs/op BenchmarkDecodeRGB-4 5 21327034 ns/op 12.29 MB/s 332000 B/op 157 allocs/op BenchmarkDecodeInterlacing-4 4 25674896 ns/op 10.21 MB/s 605216 B/op 268 allocs/op BenchmarkEncodeGray-4 3 41834757 ns/op 7.34 MB/s 852184 B/op 29 allocs/op BenchmarkEncodeGrayWithBufferPool-4 3 38628357 ns/op 7.95 MB/s 284053 B/op 9 allocs/op BenchmarkEncodeNRGBOpaque-4 1 139910867 ns/op 8.78 MB/s 860344 B/op 30 allocs/op BenchmarkEncodeNRGBA-4 1 137667778 ns/op 8.93 MB/s 864088 B/op 29 allocs/op BenchmarkEncodePaletted-4 6 21317023 ns/op 14.41 MB/s 848592 B/op 32 allocs/op BenchmarkEncodeRGBOpaque-4 1 124784340 ns/op 9.85 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeRGBA-4 1 549871120 ns/op 2.23 MB/s 864088 B/op 29 allocs/op PASS ok image/png 4.017s ##### 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 53786244 ns/op 1.86 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=opticks/size=100K/bits=64-4 3 44273869 ns/op 2.26 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=32-4 1 311236179 ns/op 1.61 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=64-4 1 305050877 ns/op 1.64 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=32-4 2 52491509 ns/op 1.91 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=64-4 3 43844554 ns/op 2.28 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=32-4 1 297079071 ns/op 1.68 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=64-4 1 292158996 ns/op 1.71 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=32-4 1 668188964 ns/op 1.50 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=64-4 1 649859650 ns/op 1.54 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=32-4 1 4052661110 ns/op 1.23 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=64-4 1 3853001729 ns/op 1.30 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=32-4 10 10085502 ns/op 9.92 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=64-4 9 11419477 ns/op 8.76 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=32-4 3 49989461 ns/op 10.00 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=64-4 2 56129423 ns/op 8.91 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=32-4 2 98409660 ns/op 10.16 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=64-4 1 113658272 ns/op 8.80 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=32-4 1 497886877 ns/op 10.04 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=64-4 1 555801589 ns/op 9.00 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=32-4 2 60328076 ns/op 1.66 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=64-4 2 50406702 ns/op 1.98 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=32-4 1 379609163 ns/op 1.32 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=64-4 1 398712665 ns/op 1.25 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=32-4 1 861139505 ns/op 1.16 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=64-4 1 956681588 ns/op 1.05 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=32-4 1 5971843662 ns/op 0.84 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=64-4 1 5617865172 ns/op 0.89 MB/s 40001616 B/op 2 allocs/op BenchmarkSaveRestore/bits=32-4 1 183610229 ns/op 22.76 MB/s 5275648 B/op 4 allocs/op BenchmarkSaveRestore/bits=64-4 1 187654198 ns/op 22.27 MB/s 9469952 B/op 4 allocs/op PASS ok index/suffixarray 45.983s ##### 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 53533 2148 ns/op 0.47 MB/s BenchmarkMarshalCorpusFile/2-4 52837 2302 ns/op 0.87 MB/s BenchmarkMarshalCorpusFile/4-4 47806 2484 ns/op 1.61 MB/s BenchmarkMarshalCorpusFile/8-4 40450 2894 ns/op 2.76 MB/s BenchmarkMarshalCorpusFile/16-4 31724 3743 ns/op 4.27 MB/s BenchmarkMarshalCorpusFile/32-4 21958 5473 ns/op 5.85 MB/s BenchmarkMarshalCorpusFile/64-4 13862 8677 ns/op 7.38 MB/s BenchmarkMarshalCorpusFile/128-4 7412 14422 ns/op 8.88 MB/s BenchmarkMarshalCorpusFile/256-4 4064 26872 ns/op 9.53 MB/s BenchmarkMarshalCorpusFile/512-4 2156 51733 ns/op 9.90 MB/s BenchmarkMarshalCorpusFile/1024-4 1174 97556 ns/op 10.50 MB/s BenchmarkMarshalCorpusFile/2048-4 588 193936 ns/op 10.56 MB/s BenchmarkMarshalCorpusFile/4096-4 309 388088 ns/op 10.55 MB/s BenchmarkMarshalCorpusFile/8192-4 152 765371 ns/op 10.70 MB/s BenchmarkMarshalCorpusFile/16384-4 72 1549930 ns/op 10.57 MB/s BenchmarkMarshalCorpusFile/32768-4 32 3710381 ns/op 8.83 MB/s BenchmarkMarshalCorpusFile/65536-4 15 6978995 ns/op 9.39 MB/s BenchmarkMarshalCorpusFile/131072-4 6 17838654 ns/op 7.35 MB/s BenchmarkMarshalCorpusFile/262144-4 4 29475488 ns/op 8.89 MB/s BenchmarkMarshalCorpusFile/524288-4 2 71945764 ns/op 7.29 MB/s BenchmarkMarshalCorpusFile/1048576-4 1 122243220 ns/op 8.58 MB/s BenchmarkUnmarshalCorpusFile/1-4 15169 7834 ns/op 0.13 MB/s BenchmarkUnmarshalCorpusFile/2-4 14587 8083 ns/op 0.25 MB/s BenchmarkUnmarshalCorpusFile/4-4 13304 8897 ns/op 0.45 MB/s BenchmarkUnmarshalCorpusFile/8-4 10000 10249 ns/op 0.78 MB/s BenchmarkUnmarshalCorpusFile/16-4 9464 12575 ns/op 1.27 MB/s BenchmarkUnmarshalCorpusFile/32-4 6584 18614 ns/op 1.72 MB/s BenchmarkUnmarshalCorpusFile/64-4 5418 21424 ns/op 2.99 MB/s BenchmarkUnmarshalCorpusFile/128-4 3948 28866 ns/op 4.43 MB/s BenchmarkUnmarshalCorpusFile/256-4 1552 77458 ns/op 3.31 MB/s BenchmarkUnmarshalCorpusFile/512-4 828 145134 ns/op 3.53 MB/s BenchmarkUnmarshalCorpusFile/1024-4 418 288660 ns/op 3.55 MB/s BenchmarkUnmarshalCorpusFile/2048-4 212 577883 ns/op 3.54 MB/s BenchmarkUnmarshalCorpusFile/4096-4 94 1110198 ns/op 3.69 MB/s BenchmarkUnmarshalCorpusFile/8192-4 50 2196547 ns/op 3.73 MB/s BenchmarkUnmarshalCorpusFile/16384-4 26 4518086 ns/op 3.63 MB/s BenchmarkUnmarshalCorpusFile/32768-4 13 8897689 ns/op 3.68 MB/s BenchmarkUnmarshalCorpusFile/65536-4 6 17438650 ns/op 3.76 MB/s BenchmarkUnmarshalCorpusFile/131072-4 3 34838968 ns/op 3.76 MB/s BenchmarkUnmarshalCorpusFile/262144-4 2 72629584 ns/op 3.61 MB/s BenchmarkUnmarshalCorpusFile/524288-4 1 142164768 ns/op 3.69 MB/s BenchmarkUnmarshalCorpusFile/1048576-4 1 277589115 ns/op 3.78 MB/s BenchmarkMutatorBytes/1-4 48343 2466 ns/op BenchmarkMutatorBytes/10-4 52058 2354 ns/op BenchmarkMutatorBytes/100-4 49119 2515 ns/op BenchmarkMutatorBytes/1000-4 33608 3857 ns/op BenchmarkMutatorBytes/10000-4 9184 15456 ns/op BenchmarkMutatorBytes/100000-4 1300 103868 ns/op BenchmarkMutatorString/1-4 47935 2517 ns/op BenchmarkMutatorString/10-4 49332 2468 ns/op BenchmarkMutatorString/100-4 44701 2840 ns/op BenchmarkMutatorString/1000-4 23871 5291 ns/op BenchmarkMutatorString/10000-4 5782 27802 ns/op BenchmarkMutatorString/100000-4 470 256580 ns/op BenchmarkMutatorAllBasicTypes/[]uint8-4 24658 4743 ns/op BenchmarkMutatorAllBasicTypes/string-4 24507 4844 ns/op BenchmarkMutatorAllBasicTypes/bool-4 88045 1367 ns/op BenchmarkMutatorAllBasicTypes/float32-4 77504 1564 ns/op BenchmarkMutatorAllBasicTypes/float64-4 77448 1561 ns/op BenchmarkMutatorAllBasicTypes/int-4 82090 1458 ns/op BenchmarkMutatorAllBasicTypes/int8-4 81846 1461 ns/op BenchmarkMutatorAllBasicTypes/int16-4 80196 1465 ns/op BenchmarkMutatorAllBasicTypes/int32-4 81115 1461 ns/op BenchmarkMutatorAllBasicTypes/int64-4 81379 1461 ns/op BenchmarkMutatorAllBasicTypes/uint8-4 77998 1524 ns/op BenchmarkMutatorAllBasicTypes/uint16-4 78405 1535 ns/op BenchmarkMutatorAllBasicTypes/uint32-4 78698 1513 ns/op BenchmarkMutatorAllBasicTypes/uint64-4 79252 1517 ns/op PASS ok internal/fuzz 11.648s goos: linux goarch: amd64 pkg: internal/intern cpu: AMD EPYC 7B12 BenchmarkStress-4 46489 2437 ns/op 0 B/op 0 allocs/op BenchmarkGetByString-4 200413 626.6 ns/op 0 B/op 0 allocs/op PASS ok internal/intern 1.270s goos: linux goarch: amd64 pkg: internal/poll cpu: AMD EPYC 7B12 BenchmarkSplicePipe/SplicePipeWithPool-4 76008 1425 ns/op BenchmarkSplicePipe/SplicePipeWithoutPool-4 28636 3939 ns/op BenchmarkSplicePipePoolParallel-4 236434 438.6 ns/op BenchmarkSplicePipeNativeParallel-4 67621 1956 ns/op PASS ok internal/poll 1.759s goos: linux goarch: amd64 pkg: internal/trace cpu: AMD EPYC 7B12 BenchmarkMMU-4 7 16382830 ns/op PASS ok internal/trace 2.282s PASS ok internal/zstd 1.013s goos: linux goarch: amd64 pkg: io cpu: AMD EPYC 7B12 BenchmarkCopyNSmall-4 19417 5587 ns/op BenchmarkCopyNLarge-4 369 279816 ns/op PASS ok io 1.328s goos: linux goarch: amd64 pkg: log cpu: AMD EPYC 7B12 BenchmarkItoa-4 300664 381.0 ns/op BenchmarkPrintln-4 32122 3796 ns/op 79 B/op 1 allocs/op BenchmarkPrintlnNoFlags-4 49106 2491 ns/op 65 B/op 1 allocs/op BenchmarkConcurrent-4 2875 42627 ns/op BenchmarkDiscard-4 1822082 65.51 ns/op 0 B/op 0 allocs/op PASS ok log 1.857s goos: linux goarch: amd64 pkg: log/slog cpu: AMD EPYC 7B12 BenchmarkWriteTime-4 121701 990.0 ns/op BenchmarkJSONHandler/defaults-4 9534 11112 ns/op 527 B/op 1 allocs/op BenchmarkJSONHandler/time_format-4 6039 18561 ns/op 779 B/op 6 allocs/op BenchmarkJSONHandler/time_unix-4 6270 16543 ns/op 752 B/op 5 allocs/op BenchmarkPreformatting/separate-4 9942 10944 ns/op 532 B/op 1 allocs/op BenchmarkPreformatting/struct-4 9698 10801 ns/op 516 B/op 0 allocs/op BenchmarkPreformatting/struct_file-4 7448 13704 ns/op 529 B/op 1 allocs/op BenchmarkJSONEncoding/json.Marshal-4 41526 2883 ns/op 79 B/op 2 allocs/op BenchmarkJSONEncoding/Encoder.Encode-4 41983 2973 ns/op 64 B/op 2 allocs/op BenchmarkNopLog/no_attrs-4 95628 1277 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-4 80544 1596 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-parallel-4 79861 1326 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/keys-values-4 73657 1714 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-4 81013 1593 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-parallel-4 91146 1558 ns/op 0 B/op 0 allocs/op BenchmarkPC/0-4 640327 185.3 ns/op 0 B/op 0 allocs/op BenchmarkPC/1-4 493928 241.3 ns/op 0 B/op 0 allocs/op BenchmarkPC/2-4 328191 359.8 ns/op 0 B/op 0 allocs/op BenchmarkPC/3-4 240279 499.2 ns/op 0 B/op 0 allocs/op BenchmarkPC/4-4 192163 617.3 ns/op 0 B/op 0 allocs/op BenchmarkRecord-4 9561 10656 ns/op BenchmarkDispatch/switch-checked-4 286238 417.7 ns/op BenchmarkDispatch/As-4 261400 457.4 ns/op BenchmarkDispatch/Visit-4 256959 465.3 ns/op BenchmarkUnsafeStrings-4 25120 4773 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.426s goos: linux goarch: amd64 pkg: log/slog/internal/benchmarks cpu: AMD EPYC 7B12 BenchmarkAttrs/disabled/5_args-4 2946069 39.48 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/5_args_ctx-4 3029521 40.46 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/10_args-4 2009904 60.39 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/40_args-4 567565 201.0 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args-4 112784 1043 ns/op 263 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args_ctx-4 115971 1045 ns/op 262 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/10_args-4 72100 1645 ns/op 469 B/op 1 allocs/op BenchmarkAttrs/fastText_discard/40_args-4 26326 4535 ns/op 2059 B/op 1 allocs/op BenchmarkAttrs/Text_discard/5_args-4 21246 5120 ns/op 609 B/op 3 allocs/op BenchmarkAttrs/Text_discard/5_args_ctx-4 19292 5750 ns/op 622 B/op 3 allocs/op BenchmarkAttrs/Text_discard/10_args-4 13507 9310 ns/op 907 B/op 7 allocs/op BenchmarkAttrs/Text_discard/40_args-4 4095 24532 ns/op 3002 B/op 22 allocs/op BenchmarkAttrs/JSON_discard/5_args-4 21313 5350 ns/op 529 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/5_args_ctx-4 19717 5413 ns/op 525 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/10_args-4 16897 6732 ns/op 730 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/40_args-4 6841 16384 ns/op 2315 B/op 2 allocs/op PASS ok log/slog/internal/benchmarks 3.834s goos: linux goarch: amd64 pkg: maps cpu: AMD EPYC 7B12 BenchmarkMapClone-4 4 26394816 ns/op BenchmarkKeys-4 10 10536999 ns/op BenchmarkValues-4 10 10168891 ns/op PASS ok maps 2.962s goos: linux goarch: amd64 pkg: math cpu: AMD EPYC 7B12 BenchmarkAcos-4 5110064 23.39 ns/op BenchmarkAcosh-4 1814922 66.52 ns/op BenchmarkAsin-4 5125677 23.34 ns/op BenchmarkAsinh-4 1719540 69.93 ns/op BenchmarkAtan-4 5818986 20.65 ns/op BenchmarkAtanh-4 1704609 70.36 ns/op BenchmarkAtan2-4 3420319 35.18 ns/op BenchmarkCbrt-4 2327332 51.65 ns/op BenchmarkCeil-4 24054447 4.989 ns/op BenchmarkCompare-4 4939456 26.62 ns/op BenchmarkCompare32-4 5486737 20.86 ns/op BenchmarkCopysign-4 3654258 33.34 ns/op BenchmarkCos-4 1636546 66.53 ns/op BenchmarkCosh-4 2254317 53.71 ns/op BenchmarkErf-4 6131599 20.64 ns/op BenchmarkErfc-4 5807631 20.67 ns/op BenchmarkErfinv-4 5960737 20.11 ns/op BenchmarkErfcinv-4 5967243 20.11 ns/op BenchmarkExp-4 7493620 14.50 ns/op BenchmarkExpGo-4 1462372 81.77 ns/op BenchmarkExpm1-4 5009066 24.09 ns/op BenchmarkExp2-4 1577708 77.61 ns/op BenchmarkExp2Go-4 1474774 81.05 ns/op BenchmarkAbs-4 4991913 23.98 ns/op BenchmarkDim-4 11589714 10.28 ns/op BenchmarkFloor-4 22645101 5.918 ns/op BenchmarkMax-4 15747930 7.176 ns/op BenchmarkMin-4 16767600 6.850 ns/op BenchmarkMod-4 467822 248.0 ns/op BenchmarkFrexp-4 2445488 49.10 ns/op BenchmarkGamma-4 914215 127.1 ns/op BenchmarkHypot-4 13679222 8.087 ns/op BenchmarkHypotGo-4 2273122 52.87 ns/op BenchmarkIlogb-4 2985156 39.94 ns/op BenchmarkJ0-4 355524 370.5 ns/op BenchmarkJ1-4 343681 322.9 ns/op BenchmarkJn-4 171849 693.1 ns/op BenchmarkLdexp-4 2509976 48.78 ns/op BenchmarkLgamma-4 1308462 91.56 ns/op BenchmarkLog-4 8345132 13.81 ns/op BenchmarkLogb-4 3005410 40.02 ns/op BenchmarkLog1p-4 2166974 55.34 ns/op BenchmarkLog10-4 8066566 14.51 ns/op BenchmarkLog2-4 1901228 64.44 ns/op BenchmarkModf-4 3752882 33.17 ns/op BenchmarkNextafter32-4 3603380 34.08 ns/op BenchmarkNextafter64-4 3386065 33.59 ns/op BenchmarkPowInt-4 738388 151.9 ns/op BenchmarkPowFrac-4 612260 203.5 ns/op BenchmarkPow10Pos-4 5730166 20.89 ns/op BenchmarkPow10Neg-4 5648210 21.77 ns/op BenchmarkRound-4 4815984 24.97 ns/op BenchmarkRoundToEven-4 10136257 10.05 ns/op BenchmarkRemainder-4 663008 180.1 ns/op BenchmarkSignbit-4 6966760 17.73 ns/op BenchmarkSin-4 2098706 57.21 ns/op BenchmarkSincos-4 1230448 90.17 ns/op BenchmarkSinh-4 3819271 31.47 ns/op BenchmarkSqrtIndirect-4 22152482 4.983 ns/op BenchmarkSqrtLatency-4 12865197 9.296 ns/op BenchmarkSqrtIndirectLatency-4 12858402 9.205 ns/op BenchmarkSqrtGoLatency-4 2062746 59.37 ns/op BenchmarkSqrtPrime-4 174196 685.5 ns/op BenchmarkTan-4 2066636 65.58 ns/op BenchmarkTanh-4 2190600 54.87 ns/op BenchmarkTrunc-4 22227824 4.985 ns/op BenchmarkY0-4 367828 324.2 ns/op BenchmarkY1-4 370832 314.5 ns/op BenchmarkYn-4 185725 678.6 ns/op BenchmarkFloat64bits-4 6888400 16.83 ns/op BenchmarkFloat64frombits-4 6988446 18.98 ns/op BenchmarkFloat32bits-4 6763905 17.16 ns/op BenchmarkFloat32frombits-4 7010091 17.75 ns/op BenchmarkFMA-4 21271167 5.293 ns/op PASS ok math 12.289s ##### 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 12661759 9.405 ns/op 6804.86 MB/s BenchmarkAddVV/2-4 11506678 10.42 ns/op 12282.23 MB/s BenchmarkAddVV/3-4 9629560 12.34 ns/op 15553.13 MB/s BenchmarkAddVV/4-4 10841376 11.00 ns/op 23274.94 MB/s BenchmarkAddVV/5-4 9555838 12.49 ns/op 25613.33 MB/s BenchmarkAddVV/10-4 7884150 15.12 ns/op 42325.65 MB/s BenchmarkAddVV/100-4 1681569 71.21 ns/op 89872.33 MB/s BenchmarkAddVV/1000-4 203757 586.6 ns/op 109110.80 MB/s BenchmarkSubVV/1-4 12674698 9.503 ns/op 6734.37 MB/s BenchmarkSubVV/2-4 11471469 10.45 ns/op 12251.02 MB/s BenchmarkSubVV/3-4 9807183 12.27 ns/op 15647.02 MB/s BenchmarkSubVV/4-4 10328373 11.04 ns/op 23198.68 MB/s BenchmarkSubVV/5-4 9582841 12.48 ns/op 25647.49 MB/s BenchmarkSubVV/10-4 7824690 15.24 ns/op 42003.37 MB/s BenchmarkSubVV/100-4 1667072 71.54 ns/op 89463.76 MB/s BenchmarkSubVV/1000-4 204118 584.0 ns/op 109580.61 MB/s BenchmarkAddVW/1-4 13816722 8.603 ns/op 929.89 MB/s BenchmarkAddVW/2-4 12846379 9.394 ns/op 1703.20 MB/s BenchmarkAddVW/3-4 10906408 10.76 ns/op 2229.97 MB/s BenchmarkAddVW/4-4 11662654 10.00 ns/op 3199.10 MB/s BenchmarkAddVW/5-4 11019708 10.89 ns/op 3672.40 MB/s BenchmarkAddVW/10-4 9174687 13.10 ns/op 6107.19 MB/s BenchmarkAddVW/100-4 246471 444.9 ns/op 1798.08 MB/s BenchmarkAddVW/1000-4 35036 3394 ns/op 2357.18 MB/s BenchmarkAddVWext/1-4 14393583 8.284 ns/op 965.75 MB/s BenchmarkAddVWext/2-4 13197373 9.115 ns/op 1755.37 MB/s BenchmarkAddVWext/3-4 12486636 9.665 ns/op 2483.30 MB/s BenchmarkAddVWext/4-4 11994471 10.06 ns/op 3179.83 MB/s BenchmarkAddVWext/5-4 11031958 10.88 ns/op 3676.45 MB/s BenchmarkAddVWext/10-4 9150476 13.01 ns/op 6150.14 MB/s BenchmarkAddVWext/100-4 81211 1468 ns/op 544.96 MB/s BenchmarkAddVWext/1000-4 8188 14286 ns/op 559.99 MB/s BenchmarkSubVW/1-4 13776882 8.674 ns/op 922.33 MB/s BenchmarkSubVW/2-4 11736814 10.07 ns/op 1588.62 MB/s BenchmarkSubVW/3-4 10196082 11.53 ns/op 2080.89 MB/s BenchmarkSubVW/4-4 12000834 9.982 ns/op 3205.79 MB/s BenchmarkSubVW/5-4 11048644 10.73 ns/op 3727.11 MB/s BenchmarkSubVW/10-4 9160658 13.29 ns/op 6018.46 MB/s BenchmarkSubVW/100-4 262810 459.4 ns/op 1741.55 MB/s BenchmarkSubVW/1000-4 35294 3395 ns/op 2356.28 MB/s BenchmarkSubVWext/1-4 13767240 8.695 ns/op 920.10 MB/s BenchmarkSubVWext/2-4 13065936 9.077 ns/op 1762.64 MB/s BenchmarkSubVWext/3-4 11689687 10.16 ns/op 2361.68 MB/s BenchmarkSubVWext/4-4 11839375 10.03 ns/op 3190.13 MB/s BenchmarkSubVWext/5-4 11029291 10.81 ns/op 3699.31 MB/s BenchmarkSubVWext/10-4 9001778 13.16 ns/op 6079.62 MB/s BenchmarkSubVWext/100-4 81939 1461 ns/op 547.70 MB/s BenchmarkSubVWext/1000-4 8127 14249 ns/op 561.44 MB/s BenchmarkMulAddVWW/1-4 11652242 10.16 ns/op 6298.89 MB/s BenchmarkMulAddVWW/2-4 10919840 11.00 ns/op 11639.47 MB/s BenchmarkMulAddVWW/3-4 10350016 11.57 ns/op 16601.44 MB/s BenchmarkMulAddVWW/4-4 9427152 12.48 ns/op 20517.96 MB/s BenchmarkMulAddVWW/5-4 8695569 13.92 ns/op 22995.91 MB/s BenchmarkMulAddVWW/10-4 6589282 18.05 ns/op 35456.60 MB/s BenchmarkMulAddVWW/100-4 1000000 107.5 ns/op 59529.05 MB/s BenchmarkMulAddVWW/1000-4 128474 929.5 ns/op 68856.78 MB/s BenchmarkAddMulVVW/1-4 12108873 9.770 ns/op 6550.81 MB/s BenchmarkAddMulVVW/2-4 11186457 10.74 ns/op 11920.70 MB/s BenchmarkAddMulVVW/3-4 10222780 11.75 ns/op 16338.12 MB/s BenchmarkAddMulVVW/4-4 9234412 12.89 ns/op 19867.49 MB/s BenchmarkAddMulVVW/5-4 8504552 14.08 ns/op 22721.05 MB/s BenchmarkAddMulVVW/10-4 7065801 16.89 ns/op 37895.02 MB/s BenchmarkAddMulVVW/100-4 1493466 81.00 ns/op 79011.99 MB/s BenchmarkAddMulVVW/1000-4 166860 715.6 ns/op 89434.14 MB/s BenchmarkDivWVW/1-4 2654074 45.56 ns/op 1404.63 MB/s BenchmarkDivWVW/2-4 1250716 96.66 ns/op 1324.24 MB/s BenchmarkDivWVW/3-4 930417 124.8 ns/op 1537.95 MB/s BenchmarkDivWVW/4-4 810330 146.3 ns/op 1749.78 MB/s BenchmarkDivWVW/5-4 769098 151.5 ns/op 2112.55 MB/s BenchmarkDivWVW/10-4 416755 283.0 ns/op 2261.48 MB/s BenchmarkDivWVW/100-4 55220 2179 ns/op 2936.61 MB/s BenchmarkDivWVW/1000-4 5462 20985 ns/op 3049.80 MB/s BenchmarkNonZeroShifts/1/shrVU-4 11561030 10.39 ns/op BenchmarkNonZeroShifts/1/shlVU-4 11772370 10.03 ns/op BenchmarkNonZeroShifts/2/shrVU-4 10662874 11.23 ns/op BenchmarkNonZeroShifts/2/shlVU-4 10846208 11.08 ns/op BenchmarkNonZeroShifts/3/shrVU-4 9720544 12.31 ns/op BenchmarkNonZeroShifts/3/shlVU-4 10071990 11.99 ns/op BenchmarkNonZeroShifts/4/shrVU-4 8970171 13.38 ns/op BenchmarkNonZeroShifts/4/shlVU-4 9416514 12.62 ns/op BenchmarkNonZeroShifts/5/shrVU-4 8107064 14.42 ns/op BenchmarkNonZeroShifts/5/shlVU-4 8997201 13.35 ns/op BenchmarkNonZeroShifts/10/shrVU-4 6339364 18.89 ns/op BenchmarkNonZeroShifts/10/shlVU-4 6906913 17.13 ns/op BenchmarkNonZeroShifts/100/shrVU-4 1000000 112.1 ns/op BenchmarkNonZeroShifts/100/shlVU-4 1256762 95.66 ns/op BenchmarkNonZeroShifts/1000/shrVU-4 126558 938.5 ns/op BenchmarkNonZeroShifts/1000/shlVU-4 153003 776.9 ns/op BenchmarkDecimalConversion-4 206 564804 ns/op BenchmarkFloatString/100-4 10000 10207 ns/op 392 B/op 8 allocs/op BenchmarkFloatString/1000-4 222 537852 ns/op 2918 B/op 10 allocs/op BenchmarkFloatString/10000-4 3 49863272 ns/op 61456 B/op 54 allocs/op BenchmarkFloatString/100000-4 1 4916075856 ns/op 852568 B/op 528 allocs/op BenchmarkFloatAdd/10-4 171496 690.4 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100-4 169057 712.7 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/1000-4 151575 770.5 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/10000-4 85276 1387 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100000-4 17276 6961 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10-4 224968 528.3 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100-4 226940 521.6 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/1000-4 222162 538.2 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10000-4 156411 749.0 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100000-4 45076 2672 ns/op 0 B/op 0 allocs/op BenchmarkParseFloatSmallExp-4 1988 58765 ns/op BenchmarkParseFloatLargeExp-4 448 254638 ns/op BenchmarkGCD10x10/WithoutXY-4 203715 606.6 ns/op BenchmarkGCD10x10/WithXY-4 57799 1987 ns/op BenchmarkGCD10x100/WithoutXY-4 96062 1227 ns/op BenchmarkGCD10x100/WithXY-4 16952 7243 ns/op BenchmarkGCD10x1000/WithoutXY-4 60510 1820 ns/op BenchmarkGCD10x1000/WithXY-4 14089 8629 ns/op BenchmarkGCD100x100/WithoutXY-4 24499 4698 ns/op BenchmarkGCD100x100/WithXY-4 10000 11373 ns/op BenchmarkGCD100x1000/WithoutXY-4 12076 10296 ns/op BenchmarkGCD100x1000/WithXY-4 5986 19571 ns/op BenchmarkGCD1000x1000/WithoutXY-4 2155 54083 ns/op BenchmarkGCD1000x1000/WithXY-4 1153 96492 ns/op BenchmarkHilbert-4 22 5029668 ns/op BenchmarkBinomial-4 14700 8033 ns/op BenchmarkQuoRem-4 20432 6079 ns/op BenchmarkExp-4 14 7497891 ns/op BenchmarkExpMont/Odd-4 130 915311 ns/op 2591 B/op 22 allocs/op BenchmarkExpMont/Even1-4 127 930130 ns/op 3359 B/op 38 allocs/op BenchmarkExpMont/Even2-4 122 981351 ns/op 3859 B/op 53 allocs/op BenchmarkExpMont/Even3-4 121 973947 ns/op 3851 B/op 53 allocs/op BenchmarkExpMont/Even4-4 122 955960 ns/op 3833 B/op 53 allocs/op BenchmarkExpMont/Even8-4 123 953560 ns/op 3871 B/op 54 allocs/op BenchmarkExpMont/Even32-4 123 955347 ns/op 3848 B/op 53 allocs/op BenchmarkExpMont/Even64-4 150 793377 ns/op 3656 B/op 54 allocs/op BenchmarkExpMont/Even96-4 144 824052 ns/op 3774 B/op 51 allocs/op BenchmarkExpMont/Even128-4 163 728670 ns/op 3262 B/op 50 allocs/op BenchmarkExpMont/Even255-4 188 640661 ns/op 2960 B/op 47 allocs/op BenchmarkExpMont/SmallEven1-4 448 271666 ns/op 1312 B/op 34 allocs/op BenchmarkExpMont/SmallEven2-4 402 291022 ns/op 1736 B/op 47 allocs/op BenchmarkExpMont/SmallEven3-4 399 294608 ns/op 1744 B/op 47 allocs/op BenchmarkExpMont/SmallEven4-4 397 292978 ns/op 1732 B/op 47 allocs/op BenchmarkExp2-4 15 7547728 ns/op BenchmarkBitset-4 797440 138.9 ns/op BenchmarkBitsetNeg-4 460101 259.5 ns/op BenchmarkBitsetOrig-4 245782 469.7 ns/op BenchmarkBitsetNegOrig-4 143239 746.5 ns/op BenchmarkModSqrt225_Tonelli-4 100 1015790 ns/op BenchmarkModSqrt225_3Mod4-4 386 310372 ns/op BenchmarkModSqrt231_Tonelli-4 100 1059173 ns/op BenchmarkModSqrt231_5Mod8-4 325 368709 ns/op BenchmarkModInverse-4 12451 9934 ns/op BenchmarkSqrt-4 1680 74249 ns/op BenchmarkIntSqr/1-4 1465773 81.17 ns/op BenchmarkIntSqr/2-4 769948 156.3 ns/op BenchmarkIntSqr/3-4 641223 183.8 ns/op BenchmarkIntSqr/5-4 430820 269.9 ns/op BenchmarkIntSqr/8-4 320010 369.6 ns/op BenchmarkIntSqr/10-4 258238 464.2 ns/op BenchmarkIntSqr/20-4 48490 2539 ns/op BenchmarkIntSqr/30-4 35772 3436 ns/op BenchmarkIntSqr/50-4 22090 5451 ns/op BenchmarkIntSqr/80-4 13346 9001 ns/op BenchmarkIntSqr/100-4 10098 11798 ns/op BenchmarkIntSqr/200-4 3711 30532 ns/op BenchmarkIntSqr/300-4 1682 77742 ns/op BenchmarkIntSqr/500-4 753 155185 ns/op BenchmarkIntSqr/800-4 301 407128 ns/op BenchmarkIntSqr/1000-4 226 508436 ns/op BenchmarkDiv/20/10-4 439480 271.4 ns/op BenchmarkDiv/40/20-4 439144 271.4 ns/op BenchmarkDiv/100/50-4 376755 316.5 ns/op BenchmarkDiv/200/100-4 49456 2543 ns/op BenchmarkDiv/400/200-4 46518 2686 ns/op BenchmarkDiv/1000/500-4 38240 3234 ns/op BenchmarkDiv/2000/1000-4 29158 4330 ns/op BenchmarkDiv/20000/10000-4 1035 113045 ns/op BenchmarkDiv/200000/100000-4 26 4723969 ns/op BenchmarkDiv/2000000/1000000-4 1 127118522 ns/op BenchmarkDiv/20000000/10000000-4 1 3687936452 ns/op BenchmarkMul-4 5 22904737 ns/op BenchmarkNatMul/10-4 148252 700.4 ns/op BenchmarkNatMul/100-4 5758 21276 ns/op BenchmarkNatMul/1000-4 171 674214 ns/op BenchmarkZeroShifts/Shl-4 15768 7261 ns/op BenchmarkZeroShifts/ShlSame-4 5129926 22.27 ns/op BenchmarkZeroShifts/Shr-4 16838 6913 ns/op BenchmarkZeroShifts/ShrSame-4 5346267 22.25 ns/op BenchmarkExp3Power/0x10-4 177990 642.1 ns/op BenchmarkExp3Power/0x40-4 148422 740.4 ns/op BenchmarkExp3Power/0x100-4 91101 1211 ns/op BenchmarkExp3Power/0x400-4 42379 2714 ns/op BenchmarkExp3Power/0x1000-4 8948 12384 ns/op BenchmarkExp3Power/0x4000-4 1720 63289 ns/op BenchmarkExp3Power/0x10000-4 201 579494 ns/op BenchmarkExp3Power/0x40000-4 18 6527288 ns/op BenchmarkExp3Power/0x100000-4 2 61597150 ns/op BenchmarkExp3Power/0x400000-4 1 558968191 ns/op BenchmarkFibo-4 3 39208207 ns/op BenchmarkNatSqr/1-4 810961 131.7 ns/op BenchmarkNatSqr/2-4 468691 229.6 ns/op BenchmarkNatSqr/3-4 443869 276.0 ns/op BenchmarkNatSqr/5-4 271276 380.0 ns/op BenchmarkNatSqr/8-4 190677 548.8 ns/op BenchmarkNatSqr/10-4 153330 678.3 ns/op BenchmarkNatSqr/20-4 41516 2701 ns/op BenchmarkNatSqr/30-4 31852 3646 ns/op BenchmarkNatSqr/50-4 19642 6052 ns/op BenchmarkNatSqr/80-4 12027 9688 ns/op BenchmarkNatSqr/100-4 7854 13202 ns/op BenchmarkNatSqr/200-4 3349 33357 ns/op BenchmarkNatSqr/300-4 1350 76118 ns/op BenchmarkNatSqr/500-4 700 154744 ns/op BenchmarkNatSqr/800-4 306 378176 ns/op BenchmarkNatSqr/1000-4 235 506284 ns/op BenchmarkNatSetBytes/8-4 709814 169.0 ns/op BenchmarkNatSetBytes/24-4 196261 583.1 ns/op BenchmarkNatSetBytes/128-4 47005 2496 ns/op BenchmarkNatSetBytes/7-4 782972 150.7 ns/op BenchmarkNatSetBytes/23-4 200761 555.6 ns/op BenchmarkNatSetBytes/127-4 46286 2504 ns/op BenchmarkScanPi-4 247 469729 ns/op BenchmarkStringPiParallel-4 579 180656 ns/op BenchmarkScan/10/Base2-4 42237 2860 ns/op BenchmarkScan/100/Base2-4 4434 24969 ns/op BenchmarkScan/1000/Base2-4 489 243839 ns/op BenchmarkScan/10/Base8-4 102538 1174 ns/op BenchmarkScan/100/Base8-4 13736 8665 ns/op BenchmarkScan/1000/Base8-4 1389 84904 ns/op BenchmarkScan/10/Base10-4 107958 1089 ns/op BenchmarkScan/100/Base10-4 14965 7941 ns/op BenchmarkScan/1000/Base10-4 1512 77101 ns/op BenchmarkScan/10/Base16-4 117307 1007 ns/op BenchmarkScan/100/Base16-4 16741 7140 ns/op BenchmarkScan/1000/Base16-4 1647 69364 ns/op BenchmarkString/10/Base2-4 168766 692.2 ns/op BenchmarkString/100/Base2-4 23374 4818 ns/op BenchmarkString/1000/Base2-4 2572 47361 ns/op BenchmarkString/10/Base8-4 338336 346.5 ns/op BenchmarkString/100/Base8-4 63903 1870 ns/op BenchmarkString/1000/Base8-4 6488 17205 ns/op BenchmarkString/10/Base10-4 212242 580.4 ns/op BenchmarkString/100/Base10-4 37804 3046 ns/op BenchmarkString/1000/Base10-4 4791 24182 ns/op BenchmarkString/10/Base16-4 394494 310.2 ns/op BenchmarkString/100/Base16-4 80704 1393 ns/op BenchmarkString/1000/Base16-4 9066 12265 ns/op BenchmarkLeafSize/0-4 42 2754838 ns/op BenchmarkLeafSize/1-4 396 287458 ns/op BenchmarkLeafSize/2-4 403 284147 ns/op BenchmarkLeafSize/3-4 296 395058 ns/op BenchmarkLeafSize/4-4 414 280309 ns/op BenchmarkLeafSize/5-4 261 442046 ns/op BenchmarkLeafSize/6-4 294 391602 ns/op BenchmarkLeafSize/7-4 307 368049 ns/op BenchmarkLeafSize/8-4 403 280871 ns/op BenchmarkLeafSize/9-4 218 529564 ns/op BenchmarkLeafSize/10-4 264 439626 ns/op BenchmarkLeafSize/11-4 270 429698 ns/op BenchmarkLeafSize/12-4 292 397063 ns/op BenchmarkLeafSize/13-4 268 416857 ns/op BenchmarkLeafSize/14-4 316 363813 ns/op BenchmarkLeafSize/15-4 333 336355 ns/op BenchmarkLeafSize/16-4 409 278950 ns/op BenchmarkLeafSize/32-4 404 279227 ns/op BenchmarkLeafSize/64-4 374 302400 ns/op BenchmarkProbablyPrime/n=0-4 9 11923945 ns/op BenchmarkProbablyPrime/n=1-4 8 13464805 ns/op BenchmarkProbablyPrime/n=5-4 6 19358026 ns/op BenchmarkProbablyPrime/n=10-4 4 26778324 ns/op BenchmarkProbablyPrime/n=20-4 3 42279046 ns/op BenchmarkProbablyPrime/Lucas-4 10 10499432 ns/op BenchmarkProbablyPrime/MillerRabinBase2-4 75 1512190 ns/op BenchmarkRatCmp-4 217438 528.0 ns/op BenchmarkFloatSqrt/64-4 22236 5297 ns/op 208 B/op 5 allocs/op BenchmarkFloatSqrt/128-4 13933 8355 ns/op 256 B/op 5 allocs/op BenchmarkFloatSqrt/256-4 10024 11611 ns/op 352 B/op 5 allocs/op BenchmarkFloatSqrt/1000-4 4580 24116 ns/op 1312 B/op 6 allocs/op BenchmarkFloatSqrt/10000-4 788 147615 ns/op 18152 B/op 10 allocs/op BenchmarkFloatSqrt/100000-4 61 1924679 ns/op 175204 B/op 20 allocs/op BenchmarkFloatSqrt/1000000-4 1 149724110 ns/op 3854776 B/op 660 allocs/op PASS ok math/big 51.034s ##### 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 12787329 9.386 ns/op BenchmarkLeadingZeros8-4 10484407 11.43 ns/op BenchmarkLeadingZeros16-4 11966268 9.941 ns/op BenchmarkLeadingZeros32-4 12946830 9.260 ns/op BenchmarkLeadingZeros64-4 13000281 9.831 ns/op BenchmarkTrailingZeros-4 11898236 10.06 ns/op BenchmarkTrailingZeros8-4 10429243 11.38 ns/op BenchmarkTrailingZeros16-4 11064865 10.85 ns/op BenchmarkTrailingZeros32-4 10812477 11.06 ns/op BenchmarkTrailingZeros64-4 11966673 10.06 ns/op BenchmarkOnesCount-4 11133668 9.135 ns/op BenchmarkOnesCount8-4 11875134 11.32 ns/op BenchmarkOnesCount16-4 11904420 9.117 ns/op BenchmarkOnesCount32-4 11889040 9.141 ns/op BenchmarkOnesCount64-4 11466652 9.376 ns/op BenchmarkRotateLeft-4 12985782 10.84 ns/op BenchmarkRotateLeft8-4 13179950 9.123 ns/op BenchmarkRotateLeft16-4 12987282 11.06 ns/op BenchmarkRotateLeft32-4 11831544 9.206 ns/op BenchmarkRotateLeft64-4 13100437 9.145 ns/op BenchmarkReverse-4 21279240 5.295 ns/op BenchmarkReverse8-4 23960990 4.681 ns/op BenchmarkReverse16-4 23472758 4.959 ns/op BenchmarkReverse32-4 22586878 4.980 ns/op BenchmarkReverse64-4 21390259 5.484 ns/op BenchmarkReverseBytes-4 23283789 4.674 ns/op BenchmarkReverseBytes16-4 23860984 4.676 ns/op BenchmarkReverseBytes32-4 25694422 4.679 ns/op BenchmarkReverseBytes64-4 23999764 4.697 ns/op BenchmarkAdd-4 13271900 9.337 ns/op BenchmarkAdd32-4 10082636 9.980 ns/op BenchmarkAdd64-4 10931163 10.03 ns/op BenchmarkAdd64multiple-4 24006577 4.982 ns/op BenchmarkSub-4 11860299 9.307 ns/op BenchmarkSub32-4 13222834 9.343 ns/op BenchmarkSub64-4 13037852 9.150 ns/op BenchmarkSub64multiple-4 24011913 4.997 ns/op BenchmarkMul-4 11924032 9.143 ns/op BenchmarkMul32-4 11743891 10.05 ns/op BenchmarkMul64-4 10947178 10.98 ns/op BenchmarkDiv-4 13021047 9.160 ns/op BenchmarkDiv32-4 13023633 9.143 ns/op BenchmarkDiv64-4 13156914 9.139 ns/op PASS ok math/bits 6.718s goos: linux goarch: amd64 pkg: math/cmplx cpu: AMD EPYC 7B12 BenchmarkAbs-4 13464568 8.737 ns/op BenchmarkAcos-4 674296 158.3 ns/op BenchmarkAcosh-4 658826 174.1 ns/op BenchmarkAsin-4 749554 160.2 ns/op BenchmarkAsinh-4 730807 165.2 ns/op BenchmarkAtan-4 1200132 98.09 ns/op BenchmarkAtanh-4 1000000 101.0 ns/op BenchmarkConj-4 22579351 6.225 ns/op BenchmarkCos-4 753934 146.0 ns/op BenchmarkCosh-4 812490 145.5 ns/op BenchmarkExp-4 949328 115.6 ns/op BenchmarkLog-4 1508439 79.37 ns/op BenchmarkLog10-4 1519412 80.44 ns/op BenchmarkPhase-4 3264758 36.97 ns/op BenchmarkPolar-4 2289303 49.82 ns/op BenchmarkPow-4 322208 367.9 ns/op BenchmarkRect-4 1347668 84.52 ns/op BenchmarkSin-4 818665 147.3 ns/op BenchmarkSinh-4 813387 145.7 ns/op BenchmarkSqrt-4 1542642 77.85 ns/op BenchmarkTan-4 501806 221.6 ns/op BenchmarkTanh-4 545218 213.2 ns/op PASS ok math/cmplx 4.180s goos: linux goarch: amd64 pkg: math/rand cpu: AMD EPYC 7B12 BenchmarkInt63Threadsafe-4 1000000 100.2 ns/op BenchmarkInt63ThreadsafeParallel-4 1401430 87.30 ns/op BenchmarkInt63Unthreadsafe-4 1542129 83.65 ns/op BenchmarkIntn1000-4 1000000 107.7 ns/op BenchmarkInt63n1000-4 1347754 90.81 ns/op BenchmarkInt31n1000-4 1325018 93.55 ns/op BenchmarkFloat32-4 1253821 90.43 ns/op BenchmarkFloat64-4 1525888 77.90 ns/op BenchmarkPerm3-4 287718 424.1 ns/op BenchmarkPerm30-4 32199 3856 ns/op BenchmarkPerm30ViaShuffle-4 32316 3777 ns/op BenchmarkShuffleOverhead-4 22092 5357 ns/op BenchmarkRead3-4 1000000 101.1 ns/op BenchmarkRead64-4 105248 1137 ns/op BenchmarkRead1000-4 6903 16868 ns/op BenchmarkConcurrent-4 346695 405.6 ns/op PASS ok math/rand 3.621s goos: linux goarch: amd64 pkg: mime cpu: AMD EPYC 7B12 BenchmarkQEncodeWord-4 62144 1928 ns/op BenchmarkQDecodeWord-4 153170 781.6 ns/op BenchmarkQDecodeHeader-4 144493 821.8 ns/op BenchmarkTypeByExtension/.html-4 909532 117.5 ns/op BenchmarkTypeByExtension/.HTML-4 703141 162.1 ns/op BenchmarkTypeByExtension/.unused-4 767787 154.1 ns/op BenchmarkExtensionsByType/text/html-4 306601 405.6 ns/op BenchmarkExtensionsByType/text/html;_charset=utf-8-4 164158 736.4 ns/op BenchmarkExtensionsByType/application/octet-stream-4 210231 641.9 ns/op PASS ok mime 2.425s goos: linux goarch: amd64 pkg: mime/multipart cpu: AMD EPYC 7B12 BenchmarkReadForm/fields/maxMemory=0-4 925 110917 ns/op 47852 B/op 187 allocs/op BenchmarkReadForm/fields/maxMemory=1048576-4 1034 115407 ns/op 48085 B/op 187 allocs/op BenchmarkReadForm/files/maxMemory=0-4 405 272560 ns/op 104299 B/op 271 allocs/op BenchmarkReadForm/files/maxMemory=1048576-4 786 147141 ns/op 49406 B/op 207 allocs/op PASS ok mime/multipart 1.540s goos: linux goarch: amd64 pkg: mime/quotedprintable cpu: AMD EPYC 7B12 BenchmarkWriter-4 1203 83626 ns/op PASS ok mime/quotedprintable 1.121s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: net cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkGoLookupIP-4 130 916208 ns/op 8520 B/op 91 allocs/op BenchmarkGoLookupIPNoSuchHost-4 19 5649486 ns/op 19485 B/op 160 allocs/op BenchmarkGoLookupIPWithBrokenNameServer-4 1 5003410179 ns/op 158752 B/op 230 allocs/op BenchmarkDNSName-4 122372 935.6 ns/op BenchmarkInterfaces-4 1443 80304 ns/op 16799 B/op 42 allocs/op BenchmarkInterfaceByIndex-4 1682 65462 ns/op 12336 B/op 25 allocs/op BenchmarkInterfaceByName-4 1310 81920 ns/op 17000 B/op 43 allocs/op BenchmarkInterfaceAddrs-4 882 126866 ns/op 22847 B/op 103 allocs/op BenchmarkInterfacesAndAddrs-4 3039 39757 ns/op 3932 B/op 33 allocs/op BenchmarkInterfacesAndMulticastAddrs-4 518 205025 ns/op 137576 B/op 51 allocs/op BenchmarkParseIP-4 5725 18048 ns/op BenchmarkParseIPValidIPv4-4 343640 349.6 ns/op BenchmarkParseIPValidIPv6-4 168404 701.2 ns/op BenchmarkIPString/IPv4-4 114918 1034 ns/op 32 B/op 2 allocs/op BenchmarkIPString/IPv6-4 9078 11824 ns/op 216 B/op 11 allocs/op BenchmarkIPMaskString-4 44332 2626 ns/op BenchmarkIPEqual/IPv4-4 1080789 113.9 ns/op BenchmarkIPEqual/IPv6-4 1084168 106.5 ns/op BenchmarkSendFile/1024-4 1 1210048556 ns/op 0.00 MB/s 712 B/op 13 allocs/op BenchmarkSendFile/2048-4 1 1206455820 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/4096-4 1 1206356355 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/8192-4 1 1205857186 ns/op 0.01 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/16384-4 1 1203408065 ns/op 0.01 MB/s 616 B/op 12 allocs/op BenchmarkSendFile/32768-4 1 1016156293 ns/op 0.03 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/65536-4 1 1016018425 ns/op 0.06 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/131072-4 1 1017130308 ns/op 0.13 MB/s 616 B/op 12 allocs/op BenchmarkSendFile/262144-4 1 1016861003 ns/op 0.26 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/524288-4 1 1019032686 ns/op 0.51 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/1048576-4 1 1020691678 ns/op 1.03 MB/s 520 B/op 11 allocs/op BenchmarkSplice/tcp-to-tcp/1024-4 1 1016315196 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/2048-4 1 1016475445 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/4096-4 1 1016576475 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/8192-4 1 1016678092 ns/op 0.01 MB/s BenchmarkSplice/tcp-to-tcp/16384-4 1 1016122981 ns/op 0.02 MB/s BenchmarkSplice/tcp-to-tcp/32768-4 1 1016198342 ns/op 0.03 MB/s BenchmarkSplice/tcp-to-tcp/65536-4 1 1016404281 ns/op 0.06 MB/s BenchmarkSplice/tcp-to-tcp/131072-4 1 1016679301 ns/op 0.13 MB/s BenchmarkSplice/tcp-to-tcp/262144-4 1 1016260212 ns/op 0.26 MB/s BenchmarkSplice/tcp-to-tcp/524288-4 1 1017552622 ns/op 0.52 MB/s BenchmarkSplice/tcp-to-tcp/1048576-4 1 1020160545 ns/op 1.03 MB/s BenchmarkSplice/unix-to-tcp/1024-4 1 1015910127 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/2048-4 1 1016060849 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/4096-4 1 1015934175 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/8192-4 1 1016647123 ns/op 0.01 MB/s BenchmarkSplice/unix-to-tcp/16384-4 1 1015909247 ns/op 0.02 MB/s BenchmarkSplice/unix-to-tcp/32768-4 1 1015880791 ns/op 0.03 MB/s BenchmarkSplice/unix-to-tcp/65536-4 1 1016055196 ns/op 0.06 MB/s BenchmarkSplice/unix-to-tcp/131072-4 1 1016171902 ns/op 0.13 MB/s BenchmarkSplice/unix-to-tcp/262144-4 1 1016667084 ns/op 0.26 MB/s BenchmarkSplice/unix-to-tcp/524288-4 1 1018159063 ns/op 0.51 MB/s BenchmarkSplice/unix-to-tcp/1048576-4 1 1020008211 ns/op 1.03 MB/s BenchmarkSpliceFile/tcp-to-file/1024-4 1 1016670620 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/2048-4 1 1016201805 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/4096-4 1 1016418277 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/8192-4 1 1016145013 ns/op 0.01 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/16384-4 1 1016224349 ns/op 0.02 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/tcp-to-file/32768-4 1 1016024497 ns/op 0.03 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/tcp-to-file/65536-4 1 1016149805 ns/op 0.06 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/131072-4 1 1016551689 ns/op 0.13 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/262144-4 1 1017368151 ns/op 0.26 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/tcp-to-file/524288-4 1 1018439956 ns/op 0.51 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/1048576-4 1 1020166897 ns/op 1.03 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/1024-4 1 1015984678 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/2048-4 1 1016100356 ns/op 0.00 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/4096-4 1 1015921989 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/8192-4 1 1016030823 ns/op 0.01 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/16384-4 1 1016286341 ns/op 0.02 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/32768-4 1 1016038354 ns/op 0.03 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/65536-4 1 1016152462 ns/op 0.06 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/131072-4 1 1016651807 ns/op 0.13 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/262144-4 1 1017002815 ns/op 0.26 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/524288-4 1 1018317319 ns/op 0.51 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/1048576-4 1 1019735944 ns/op 1.03 MB/s 944 B/op 9 allocs/op BenchmarkTCP4OneShot-4 1915 55345 ns/op BenchmarkTCP4OneShotTimeout-4 1900 54211 ns/op BenchmarkTCP4Persistent-4 11041 9087 ns/op BenchmarkTCP4PersistentTimeout-4 10921 9643 ns/op BenchmarkTCP6OneShot-4 1981 55710 ns/op BenchmarkTCP6OneShotTimeout-4 1992 59003 ns/op BenchmarkTCP6Persistent-4 10683 9610 ns/op BenchmarkTCP6PersistentTimeout-4 12691 9865 ns/op BenchmarkTCP4ConcurrentReadWrite-4 25652 6387 ns/op BenchmarkTCP6ConcurrentReadWrite-4 22144 5483 ns/op BenchmarkSetReadDeadline-4 124489 939.6 ns/op BenchmarkReadWriteMsgUDPAddrPort-4 9102 12642 ns/op 0 B/op 0 allocs/op BenchmarkWriteToReadFromUDP-4 9344 12569 ns/op 16 B/op 1 allocs/op BenchmarkWriteToReadFromUDPAddrPort-4 9400 12065 ns/op 0 B/op 0 allocs/op PASS ok net 67.976s goos: linux goarch: amd64 pkg: net/http cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCookieString-4 29764 3869 ns/op 176 B/op 1 allocs/op BenchmarkReadSetCookies-4 11091 10302 ns/op 1168 B/op 21 allocs/op BenchmarkReadCookies-4 14623 7989 ns/op 1840 B/op 11 allocs/op BenchmarkHeaderWriteSubset-4 18576 6480 ns/op 46 B/op 0 allocs/op BenchmarkCopyValues-4 32446 3336 ns/op 736 B/op 11 allocs/op BenchmarkHexEscapeNonASCII-4 49910 2332 ns/op 192 B/op 2 allocs/op BenchmarkServerMatch-4 793969 129.3 ns/op BenchmarkReadRequestChrome-4 3507 31272 ns/op 19.54 MB/s 1476 B/op 14 allocs/op BenchmarkReadRequestCurl-4 9631 10834 ns/op 7.20 MB/s 924 B/op 9 allocs/op BenchmarkReadRequestApachebench-4 10000 10760 ns/op 7.62 MB/s 924 B/op 9 allocs/op BenchmarkReadRequestSiege-4 6957 16443 ns/op 9.18 MB/s 1020 B/op 11 allocs/op BenchmarkReadRequestWrk-4 17048 6888 ns/op 5.81 MB/s 860 B/op 7 allocs/op BenchmarkFileAndServer_1KB/h1-4 322 377925 ns/op 2.71 MB/s BenchmarkFileAndServer_1KB/https1-4 198 523830 ns/op 1.95 MB/s BenchmarkFileAndServer_1KB/h2-4 136 785723 ns/op 1.30 MB/s BenchmarkFileAndServer_16MB/h1-4 2 53047049 ns/op 316.27 MB/s BenchmarkFileAndServer_16MB/https1-4 1 129952979 ns/op 129.10 MB/s BenchmarkFileAndServer_16MB/h2-4 1 227072719 ns/op 73.88 MB/s BenchmarkFileAndServer_64MB/h1-4 1 190931853 ns/op 351.48 MB/s BenchmarkFileAndServer_64MB/https1-4 1 444682284 ns/op 150.91 MB/s BenchmarkFileAndServer_64MB/h2-4 1 886557083 ns/op 75.70 MB/s BenchmarkServeMux-4 268 463506 ns/op 17280 B/op 360 allocs/op BenchmarkServeMux_SkipServe-4 344 371248 ns/op 0 B/op 0 allocs/op BenchmarkClientServer/h1-4 378 300755 ns/op 5868 B/op 64 allocs/op BenchmarkClientServer/https1-4 237 444397 ns/op 6535 B/op 74 allocs/op BenchmarkClientServer/h2-4 202 583515 ns/op 10094 B/op 80 allocs/op BenchmarkClientServerParallel/4/h1-4 968 105581 ns/op 9639 B/op 78 allocs/op BenchmarkClientServerParallel/4/https1-4 33 5126514 ns/op 107272 B/op 1160 allocs/op --- BENCH: BenchmarkClientServerParallel/4/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:44088: read tcp 127.0.0.1:44975->127.0.0.1:44088: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:44100: read tcp 127.0.0.1:44975->127.0.0.1:44100: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:44074: write tcp 127.0.0.1:44975->127.0.0.1:44074: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:44054: write tcp 127.0.0.1:44975->127.0.0.1:44054: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55588: read tcp 127.0.0.1:43023->127.0.0.1:55588: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55584: read tcp 127.0.0.1:43023->127.0.0.1:55584: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55540: write tcp 127.0.0.1:43023->127.0.0.1:55540: use of closed network connection BenchmarkClientServerParallel/4/h2-4 187 558823 ns/op 17430 B/op 175 allocs/op --- BENCH: BenchmarkClientServerParallel/4/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:56078: read tcp 127.0.0.1:42967->127.0.0.1:56078: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:52948: read tcp 127.0.0.1:37305->127.0.0.1:52948: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:52958: write tcp 127.0.0.1:37305->127.0.0.1:52958: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:52964: write tcp 127.0.0.1:37305->127.0.0.1:52964: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42770: write tcp 127.0.0.1:42103->127.0.0.1:42770: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42836: write tcp 127.0.0.1:42103->127.0.0.1:42836: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42838: write tcp 127.0.0.1:42103->127.0.0.1:42838: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42748: write tcp 127.0.0.1:42103->127.0.0.1:42748: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:53138: read tcp 127.0.0.1:41005->127.0.0.1:53138: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:53152: write tcp 127.0.0.1:41005->127.0.0.1:53152: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h1-4 448 259436 ns/op 21365 B/op 115 allocs/op BenchmarkClientServerParallel/64/https1-4 74 4933842 ns/op 104510 B/op 1143 allocs/op --- BENCH: BenchmarkClientServerParallel/64/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46006: read tcp 127.0.0.1:44649->127.0.0.1:46006: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:45960: write tcp 127.0.0.1:44649->127.0.0.1:45960: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46042: write tcp 127.0.0.1:44649->127.0.0.1:46042: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:45944: write tcp 127.0.0.1:44649->127.0.0.1:45944: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:45984: read tcp 127.0.0.1:44649->127.0.0.1:45984: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46026: read tcp 127.0.0.1:44649->127.0.0.1:46026: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46070: read tcp 127.0.0.1:44649->127.0.0.1:46070: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:45974: read tcp 127.0.0.1:44649->127.0.0.1:45974: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:45994: read tcp 127.0.0.1:44649->127.0.0.1:45994: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:45998: read tcp 127.0.0.1:44649->127.0.0.1:45998: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h2-4 74 4937360 ns/op 109672 B/op 1285 allocs/op --- BENCH: BenchmarkClientServerParallel/64/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:45904: write tcp 127.0.0.1:36795->127.0.0.1:45904: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:45972: write tcp 127.0.0.1:36795->127.0.0.1:45972: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46012: read tcp 127.0.0.1:36795->127.0.0.1:46012: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:45980: read tcp 127.0.0.1:36795->127.0.0.1:45980: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:45950: read tcp 127.0.0.1:36795->127.0.0.1:45950: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:45918: read tcp 127.0.0.1:36795->127.0.0.1:45918: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46024: read tcp 127.0.0.1:36795->127.0.0.1:46024: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46040: read tcp 127.0.0.1:36795->127.0.0.1:46040: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46070: read tcp 127.0.0.1:36795->127.0.0.1:46070: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46074: read tcp 127.0.0.1:36795->127.0.0.1:46074: use of closed network connection ... [output truncated] BenchmarkServer-4 1 1035335759 ns/op 28168 B/op 143 allocs/op BenchmarkClient-4 303 391369 ns/op 3713 B/op 45 allocs/op BenchmarkServerFakeConnNoKeepAlive-4 680 168871 ns/op 7396 B/op 54 allocs/op BenchmarkServerFakeConnWithKeepAlive-4 1298 90215 ns/op 3021 B/op 24 allocs/op BenchmarkServerFakeConnWithKeepAliveLite-4 1639 71693 ns/op 1913 B/op 14 allocs/op BenchmarkServerHandlerTypeLen-4 1602 72006 ns/op 2742 B/op 21 allocs/op BenchmarkServerHandlerNoLen-4 1620 68421 ns/op 2732 B/op 19 allocs/op BenchmarkServerHandlerNoType-4 1494 71696 ns/op 2722 B/op 20 allocs/op BenchmarkServerHandlerNoHeader-4 1785 65375 ns/op 1904 B/op 14 allocs/op BenchmarkServerHijack-4 1273 109290 ns/op 16698 B/op 50 allocs/op BenchmarkCloseNotifier/h1-4 408 283502 ns/op 6003 B/op 52 allocs/op BenchmarkResponseStatusLine-4 550146 235.3 ns/op 0 B/op 0 allocs/op PASS ok net/http 15.236s ##### 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 9878 11498 ns/op 34072 B/op 12 allocs/op PASS ok net/http/httputil 1.187s goos: linux goarch: amd64 pkg: net/netip cpu: AMD EPYC 7B12 BenchmarkIPNextPrev-4 134892 887.6 ns/op BenchmarkBinaryMarshalRoundTrip/ipv4-4 781641 131.1 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6-4 298694 413.0 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6+zone-4 100472 1247 ns/op BenchmarkStdIPv4-4 161282 743.9 ns/op 16 B/op 1 allocs/op BenchmarkIPv4-4 135991 869.2 ns/op 0 B/op 0 allocs/op BenchmarkIPv4_inline-4 132972 905.2 ns/op 0 B/op 0 allocs/op BenchmarkStdIPv6-4 108002 1130 ns/op 16 B/op 1 allocs/op BenchmarkIPv6-4 101310 1161 ns/op 0 B/op 0 allocs/op BenchmarkIPv4Contains-4 2342488 49.94 ns/op 0 B/op 0 allocs/op BenchmarkIPv6Contains-4 2113272 56.64 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v4-4 1601434 73.13 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6-4 371086 327.2 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_ellipsis-4 413059 287.2 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_v4-4 400800 298.8 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_zone-4 122619 1002 ns/op 0 B/op 0 allocs/op BenchmarkStdParseIP/v4-4 420828 273.4 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6-4 215986 539.0 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_ellipsis-4 220965 517.8 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_v4-4 215701 538.2 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_zone-4 114595 1080 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v4-4 534939 229.1 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v6-4 185563 627.9 ns/op 48 B/op 1 allocs/op BenchmarkIPString/v6_ellipsis-4 238628 478.4 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_v4-4 379143 311.9 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_zone-4 233655 527.0 ns/op 24 B/op 1 allocs/op BenchmarkIPStringExpanded/v4-4 476108 250.1 ns/op 16 B/op 1 allocs/op BenchmarkIPStringExpanded/v6-4 227482 520.3 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_ellipsis-4 225246 508.9 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_v4-4 227919 509.6 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_zone-4 182889 643.8 ns/op 128 B/op 2 allocs/op BenchmarkIPMarshalText-4 708741 163.2 ns/op 16 B/op 1 allocs/op BenchmarkAddrPortString/v4-4 235549 505.4 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortString/v6-4 136656 830.2 ns/op 112 B/op 3 allocs/op BenchmarkAddrPortString/v6_ellipsis-4 180998 653.4 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_v4-4 241494 476.2 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_zone-4 162835 720.1 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortMarshalText/v4-4 414770 285.6 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6-4 183308 664.8 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_ellipsis-4 213393 553.3 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_v4-4 292228 396.0 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_zone-4 186081 588.5 ns/op 64 B/op 1 allocs/op BenchmarkPrefixMasking/IPv4_/32-4 1487239 73.50 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/17-4 1515183 75.28 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/0-4 1557432 75.95 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/128-4 1383020 86.75 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/65-4 1403884 86.52 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/0-4 1457312 83.76 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/128-4 1482195 82.53 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/65-4 1464597 86.70 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/0-4 1386487 86.55 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMarshalText-4 555205 216.7 ns/op 24 B/op 1 allocs/op BenchmarkParseAddrPort/v4-4 816298 140.8 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6-4 297854 399.8 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_ellipsis-4 324621 366.7 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_v4-4 286179 413.5 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_zone-4 112137 1075 ns/op 0 B/op 0 allocs/op BenchmarkAs16-4 750619 162.3 ns/op PASS ok net/netip 9.222s 2023/05/25 01:26:25 Test RPC server listening on 127.0.0.1:33459 2023/05/25 01:26:25 Test HTTP RPC server listening on 127.0.0.1:46785 goos: linux goarch: amd64 pkg: net/rpc cpu: AMD EPYC 7B12 BenchmarkEndToEnd-4 1814 64044 ns/op BenchmarkEndToEndHTTP-4 1653 62793 ns/op BenchmarkEndToEndAsync-4 3966 26898 ns/op BenchmarkEndToEndAsyncHTTP-4 3758 29592 ns/op PASS ok net/rpc 1.577s goos: linux goarch: amd64 pkg: net/textproto cpu: AMD EPYC 7B12 BenchmarkReadMIMEHeader/client_headers-4 4870 21540 ns/op BenchmarkReadMIMEHeader/server_headers-4 6939 14646 ns/op BenchmarkUncommon-4 38721 2992 ns/op 464 B/op 5 allocs/op PASS ok net/textproto 1.374s goos: linux goarch: amd64 pkg: net/url cpu: AMD EPYC 7B12 BenchmarkString-4 6831 16702 ns/op 1616 B/op 60 allocs/op BenchmarkResolvePath-4 140112 851.9 ns/op 32 B/op 2 allocs/op BenchmarkQueryEscape/#00-4 898108 131.8 ns/op 16 B/op 1 allocs/op BenchmarkQueryEscape/#01-4 137083 868.3 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#02-4 254751 469.4 ns/op 32 B/op 1 allocs/op BenchmarkQueryEscape/#03-4 119180 1006 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#04-4 21070 5519 ns/op 832 B/op 2 allocs/op BenchmarkPathEscape/#00-4 590745 198.1 ns/op 16 B/op 1 allocs/op BenchmarkPathEscape/#01-4 133214 890.1 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#02-4 254641 469.4 ns/op 32 B/op 1 allocs/op BenchmarkPathEscape/#03-4 117954 984.9 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#04-4 23106 5167 ns/op 704 B/op 2 allocs/op BenchmarkQueryUnescape/#00-4 281755 432.6 ns/op 16 B/op 1 allocs/op BenchmarkQueryUnescape/#01-4 108704 1087 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#02-4 104428 1141 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#03-4 46818 2671 ns/op 64 B/op 1 allocs/op BenchmarkQueryUnescape/#04-4 8522 14116 ns/op 320 B/op 1 allocs/op BenchmarkPathUnescape/#00-4 278151 439.5 ns/op 16 B/op 1 allocs/op BenchmarkPathUnescape/#01-4 112846 1062 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#02-4 106486 1146 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#03-4 45210 2543 ns/op 64 B/op 1 allocs/op BenchmarkPathUnescape/#04-4 8760 13830 ns/op 320 B/op 1 allocs/op PASS ok net/url 4.072s goos: linux goarch: amd64 pkg: os cpu: AMD EPYC 7B12 BenchmarkExpand/noop-4 4570874 27.84 ns/op 0 B/op 0 allocs/op BenchmarkExpand/multiple-4 260281 430.4 ns/op 48 B/op 2 allocs/op BenchmarkReaddirname-4 1232 99503 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 387 288475 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 984 121041 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 107029 1094 ns/op BenchmarkStatFile-4 83764 1467 ns/op BenchmarkStatDir-4 89953 1308 ns/op BenchmarkLstatDot-4 105057 1114 ns/op BenchmarkLstatFile-4 84408 1376 ns/op BenchmarkLstatDir-4 89050 1308 ns/op PASS ok os 2.505s goos: linux goarch: amd64 pkg: os/exec cpu: AMD EPYC 7B12 BenchmarkExecHostname-4 301 376313 ns/op 6776 B/op 30 allocs/op PASS ok os/exec 1.168s goos: linux goarch: amd64 pkg: os/user cpu: AMD EPYC 7B12 BenchmarkCurrent-4 662004 176.8 ns/op PASS ok os/user 1.230s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: reflect cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkBool-4 3712639 32.01 ns/op BenchmarkString-4 2296707 51.64 ns/op BenchmarkBytes-4 1936756 62.15 ns/op BenchmarkNamedBytes-4 1000000 108.2 ns/op BenchmarkBytesArray-4 737054 162.8 ns/op BenchmarkSliceLen-4 2344766 51.05 ns/op BenchmarkMapLen-4 857922 132.0 ns/op BenchmarkStringLen-4 1838409 66.35 ns/op BenchmarkArrayLen-4 1244842 96.35 ns/op BenchmarkSliceCap-4 2552606 46.85 ns/op BenchmarkDeepEqual/int8-4 470646 251.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int8-4 94544 1270 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int16-4 396966 287.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int16-4 91658 1307 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int32-4 408366 289.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int32-4 90339 1319 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int64-4 403408 294.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int64-4 91296 1318 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int-4 394326 289.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int-4 88929 1315 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint8-4 460454 250.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8-4 123297 970.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint16-4 411300 291.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint16-4 90768 1306 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint32-4 396141 296.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint32-4 89586 1308 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint64-4 407623 295.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint64-4 90440 1320 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint-4 402457 295.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint-4 90211 1314 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uintptr-4 408214 294.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uintptr-4 90400 1314 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float32-4 397906 298.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float32-4 90444 1309 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float64-4 395844 297.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float64-4 90818 1323 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex64-4 404986 291.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex64-4 89854 1320 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex128-4 411572 293.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex128-4 90622 1315 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/bool-4 467160 242.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]bool-4 94609 1255 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/string-4 417242 287.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]string-4 89636 1323 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8#01-4 122598 960.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][]uint8-4 59870 2013 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[6]uint8-4 46584 2576 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][6]uint8-4 33266 3581 ns/op 0 B/op 0 allocs/op BenchmarkIsZero/ArrayComparable-4 269287 433.8 ns/op BenchmarkIsZero/ArrayIncomparable-4 30484 3920 ns/op BenchmarkIsZero/StructComparable-4 573219 207.6 ns/op BenchmarkIsZero/StructIncomparable-4 140433 853.5 ns/op BenchmarkSetZero/Bool/Direct-4 4323756 27.75 ns/op BenchmarkSetZero/Bool/CachedZero-4 856417 135.1 ns/op BenchmarkSetZero/Bool/NewZero-4 669669 177.2 ns/op BenchmarkSetZero/Int/Direct-4 2532729 47.33 ns/op BenchmarkSetZero/Int/CachedZero-4 833577 135.9 ns/op BenchmarkSetZero/Int/NewZero-4 671678 177.7 ns/op BenchmarkSetZero/Uint/Direct-4 2519199 47.49 ns/op BenchmarkSetZero/Uint/CachedZero-4 845450 135.5 ns/op BenchmarkSetZero/Uint/NewZero-4 664048 177.6 ns/op BenchmarkSetZero/Float/Direct-4 2543432 47.22 ns/op BenchmarkSetZero/Float/CachedZero-4 866772 135.0 ns/op BenchmarkSetZero/Float/NewZero-4 657864 176.6 ns/op BenchmarkSetZero/Complex/Direct-4 2521429 48.21 ns/op BenchmarkSetZero/Complex/CachedZero-4 866070 133.5 ns/op BenchmarkSetZero/Complex/NewZero-4 690148 175.7 ns/op BenchmarkSetZero/Array/Direct-4 2247826 52.37 ns/op BenchmarkSetZero/Array/CachedZero-4 860113 133.1 ns/op BenchmarkSetZero/Array/NewZero-4 682790 175.3 ns/op BenchmarkSetZero/Chan/Direct-4 2509934 47.79 ns/op BenchmarkSetZero/Chan/CachedZero-4 835857 139.1 ns/op BenchmarkSetZero/Chan/NewZero-4 668272 176.5 ns/op BenchmarkSetZero/Func/Direct-4 2530543 47.77 ns/op BenchmarkSetZero/Func/CachedZero-4 846724 139.0 ns/op BenchmarkSetZero/Func/NewZero-4 651567 176.1 ns/op BenchmarkSetZero/Interface/Direct-4 2300642 51.85 ns/op BenchmarkSetZero/Interface/CachedZero-4 861552 134.6 ns/op BenchmarkSetZero/Interface/NewZero-4 647342 175.1 ns/op BenchmarkSetZero/Map/Direct-4 2464155 48.63 ns/op BenchmarkSetZero/Map/CachedZero-4 847412 139.7 ns/op BenchmarkSetZero/Map/NewZero-4 637635 178.2 ns/op BenchmarkSetZero/Pointer/Direct-4 2513948 47.44 ns/op BenchmarkSetZero/Pointer/CachedZero-4 838142 139.6 ns/op BenchmarkSetZero/Pointer/NewZero-4 653694 179.0 ns/op BenchmarkSetZero/Slice/Direct-4 2211196 54.32 ns/op BenchmarkSetZero/Slice/CachedZero-4 859773 139.4 ns/op BenchmarkSetZero/Slice/NewZero-4 644881 178.6 ns/op BenchmarkSetZero/String/Direct-4 2496240 47.89 ns/op BenchmarkSetZero/String/CachedZero-4 813223 134.6 ns/op BenchmarkSetZero/String/NewZero-4 653808 178.6 ns/op BenchmarkSetZero/Struct/Direct-4 2230256 51.98 ns/op BenchmarkSetZero/Struct/CachedZero-4 843428 135.9 ns/op BenchmarkSetZero/Struct/NewZero-4 636910 178.1 ns/op BenchmarkSelect/1-4 149124 778.8 ns/op 80 B/op 5 allocs/op BenchmarkSelect/4-4 67953 1657 ns/op 208 B/op 8 allocs/op BenchmarkSelect/8-4 35450 3210 ns/op 672 B/op 13 allocs/op BenchmarkCall-4 192598 583.2 ns/op 0 B/op 0 allocs/op BenchmarkCallMethod-4 156182 762.4 ns/op 0 B/op 0 allocs/op BenchmarkCallArgCopy/size=128-4 124015 929.6 ns/op 137.70 MB/s BenchmarkCallArgCopy/size=256-4 102042 1122 ns/op 228.19 MB/s BenchmarkCallArgCopy/size=1024-4 78655 1570 ns/op 652.43 MB/s BenchmarkCallArgCopy/size=4096-4 31455 3767 ns/op 1087.41 MB/s BenchmarkCallArgCopy/size=65536-4 2252 46160 ns/op 1419.77 MB/s BenchmarkFieldByName1-4 1198914 108.9 ns/op BenchmarkFieldByName2-4 88693 1395 ns/op BenchmarkFieldByName3-4 10484 11063 ns/op BenchmarkInterfaceBig-4 4029150 29.36 ns/op BenchmarkInterfaceSmall-4 3966888 32.93 ns/op BenchmarkNew-4 1744810 60.15 ns/op BenchmarkMap/StringKeys/MapIndex-4 2302 50464 ns/op 0 B/op 0 allocs/op BenchmarkMap/StringKeys/SetMapIndex-4 1935 60308 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/MapIndex-4 2312 50932 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/SetMapIndex-4 1904 60656 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/MapIndex-4 2332 50481 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/SetMapIndex-4 1957 60691 ns/op 0 B/op 0 allocs/op BenchmarkMapIterNext-4 221457 523.2 ns/op PASS ok reflect 17.413s goos: linux goarch: amd64 pkg: regexp cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFind-4 11241 9777 ns/op 9090 B/op 1 allocs/op BenchmarkFindAllNoMatches-4 15852 7659 ns/op 9311 B/op 1 allocs/op BenchmarkFindString-4 12418 9781 ns/op 9253 B/op 1 allocs/op BenchmarkFindSubmatch-4 10945 10820 ns/op 9283 B/op 2 allocs/op BenchmarkFindStringSubmatch-4 10000 10985 ns/op 9446 B/op 2 allocs/op BenchmarkLiteral-4 17030 6346 ns/op BenchmarkNotLiteral-4 3879 29873 ns/op BenchmarkMatchClass-4 2965 34887 ns/op BenchmarkMatchClass_InRange-4 3073 34067 ns/op BenchmarkReplaceAll-4 2577 48266 ns/op BenchmarkAnchoredLiteralShortNonMatch-4 16290 6186 ns/op BenchmarkAnchoredLiteralLongNonMatch-4 37966 3061 ns/op BenchmarkAnchoredShortMatch-4 17114 7073 ns/op BenchmarkAnchoredLongMatch-4 19808 6005 ns/op BenchmarkOnePassShortA-4 20565 5930 ns/op BenchmarkNotOnePassShortA-4 8167 14919 ns/op BenchmarkOnePassShortB-4 26320 4577 ns/op BenchmarkNotOnePassShortB-4 10489 11413 ns/op BenchmarkOnePassLongPrefix-4 83702 1491 ns/op BenchmarkOnePassLongNotPrefix-4 27818 4357 ns/op BenchmarkMatchParallelShared-4 26973 5384 ns/op BenchmarkMatchParallelCopied-4 29918 4960 ns/op BenchmarkQuoteMetaAll-4 139968 814.4 ns/op 17.19 MB/s BenchmarkQuoteMetaNone-4 245980 449.5 ns/op 57.84 MB/s BenchmarkCompile/Onepass-4 3883 27888 ns/op 4144 B/op 52 allocs/op BenchmarkCompile/Medium-4 1538 70154 ns/op 9704 B/op 112 allocs/op BenchmarkCompile/Hard-4 194 614605 ns/op 84760 B/op 424 allocs/op BenchmarkMatch/Easy0/16-4 3749803 31.59 ns/op 506.41 MB/s BenchmarkMatch/Easy0/32-4 19736 5963 ns/op 5.37 MB/s BenchmarkMatch/Easy0/1K-4 5935 18661 ns/op 54.87 MB/s BenchmarkMatch/Easy0i/16-4 3738168 31.50 ns/op 507.98 MB/s BenchmarkMatch/Easy0i/32-4 4934 21376 ns/op 1.50 MB/s BenchmarkMatch/Easy0i/1K-4 272 434510 ns/op 2.36 MB/s BenchmarkMatch/Easy1/16-4 3755808 31.75 ns/op 503.99 MB/s BenchmarkMatch/Easy1/32-4 17580 5974 ns/op 5.36 MB/s BenchmarkMatch/Easy1/1K-4 4716 24953 ns/op 41.04 MB/s BenchmarkMatch/Medium/16-4 3768716 31.67 ns/op 505.27 MB/s BenchmarkMatch/Medium/32-4 6164 18848 ns/op 1.70 MB/s BenchmarkMatch/Medium/1K-4 302 402811 ns/op 2.54 MB/s BenchmarkMatch/Hard/16-4 3713264 32.31 ns/op 495.17 MB/s BenchmarkMatch/Hard/32-4 3498 31003 ns/op 1.03 MB/s BenchmarkMatch/Hard/1K-4 169 699552 ns/op 1.46 MB/s BenchmarkMatch/Hard1/16-4 1426 81498 ns/op 0.20 MB/s BenchmarkMatch/Hard1/32-4 757 154558 ns/op 0.21 MB/s BenchmarkMatch/Hard1/1K-4 25 4328576 ns/op 0.24 MB/s BenchmarkMatch_onepass_regex/16-4 29380 4069 ns/op 3.93 MB/s 24 B/op 0 allocs/op BenchmarkMatch_onepass_regex/32-4 17671 6798 ns/op 4.71 MB/s 24 B/op 0 allocs/op BenchmarkMatch_onepass_regex/1K-4 680 172678 ns/op 5.93 MB/s 21 B/op 0 allocs/op PASS ok regexp 9.067s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: regexp/syntax cpu: AMD EPYC 7B12 BenchmarkEmptyOpContext-4 917929 130.0 ns/op BenchmarkIsWordChar-4 258769 516.6 ns/op PASS ok regexp/syntax 2.076s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: runtime cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCallers/cached-4 70987 1697 ns/op BenchmarkCallers/inlined-4 52934 2269 ns/op BenchmarkCallers/no-cache-4 10000 10152 ns/op BenchmarkFPCallers/cached-4 2862686 42.14 ns/op BenchmarkMakeChan/Byte-4 1230872 98.57 ns/op BenchmarkMakeChan/Int-4 1000000 130.7 ns/op BenchmarkMakeChan/Ptr-4 616626 197.2 ns/op BenchmarkMakeChan/Struct/0-4 1324442 90.71 ns/op BenchmarkMakeChan/Struct/32-4 601719 215.6 ns/op BenchmarkMakeChan/Struct/40-4 492486 255.1 ns/op BenchmarkChanNonblocking-4 12172508 9.613 ns/op BenchmarkSelectUncontended-4 1030424 127.7 ns/op BenchmarkSelectSyncContended-4 28119 4243 ns/op BenchmarkSelectAsyncContended-4 96140 1201 ns/op BenchmarkSelectNonblock-4 6180712 18.07 ns/op BenchmarkChanUncontended-4 12835 16386 ns/op BenchmarkChanContended-4 1212 101979 ns/op BenchmarkChanSync-4 180183 686.1 ns/op BenchmarkChanSyncWork-4 10000 35256 ns/op BenchmarkChanProdCons0-4 82141 1569 ns/op BenchmarkChanProdCons10-4 94351 1387 ns/op BenchmarkChanProdCons100-4 105630 1196 ns/op BenchmarkChanProdConsWork0-4 67690 1761 ns/op BenchmarkChanProdConsWork10-4 84951 1552 ns/op BenchmarkChanProdConsWork100-4 83232 1476 ns/op BenchmarkSelectProdCons-4 59257 1943 ns/op BenchmarkReceiveDataFromClosedChan-4 658611 179.7 ns/op BenchmarkChanCreation-4 221522 529.6 ns/op BenchmarkChanSem-4 123962 897.5 ns/op BenchmarkChanPopular-4 96 1199229 ns/op BenchmarkChanClosed-4 495208 231.0 ns/op BenchmarkCallClosure-4 6481282 18.47 ns/op BenchmarkCallClosure1-4 6920036 17.39 ns/op BenchmarkCallClosure2-4 1324113 83.75 ns/op BenchmarkCallClosure3-4 1506567 73.62 ns/op BenchmarkCallClosure4-4 1413397 84.21 ns/op BenchmarkComplex128DivNormal-4 9757978 11.24 ns/op BenchmarkComplex128DivNisNaN-4 7629241 14.70 ns/op BenchmarkComplex128DivDisNaN-4 7404799 14.96 ns/op BenchmarkComplex128DivNisInf-4 9711844 11.76 ns/op BenchmarkComplex128DivDisInf-4 5771841 19.88 ns/op BenchmarkSetTypePtr-4 45563742 2.634 ns/op 3037.14 MB/s BenchmarkSetTypePtr8-4 9643352 12.46 ns/op 5137.86 MB/s BenchmarkSetTypePtr16-4 9585549 12.48 ns/op 10253.12 MB/s BenchmarkSetTypePtr32-4 9638480 12.43 ns/op 20587.92 MB/s BenchmarkSetTypePtr64-4 9648044 12.50 ns/op 40958.98 MB/s BenchmarkSetTypePtr126-4 5699743 21.05 ns/op 47879.80 MB/s BenchmarkSetTypePtr128-4 5902914 20.46 ns/op 50054.92 MB/s BenchmarkSetTypePtrSlice-4 727506 163.7 ns/op 50051.95 MB/s BenchmarkSetTypeNode1-4 9617541 12.46 ns/op 1926.74 MB/s BenchmarkSetTypeNode1Slice-4 2937445 39.61 ns/op 19390.12 MB/s BenchmarkSetTypeNode8-4 9673449 12.42 ns/op 6442.66 MB/s BenchmarkSetTypeNode8Slice-4 1544546 78.04 ns/op 32805.10 MB/s BenchmarkSetTypeNode64-4 5656416 21.21 ns/op 24889.83 MB/s BenchmarkSetTypeNode64Slice-4 230469 526.4 ns/op 32094.83 MB/s BenchmarkSetTypeNode64Dead-4 7503758 15.88 ns/op 33252.06 MB/s BenchmarkSetTypeNode64DeadSlice-4 248506 464.3 ns/op 36387.67 MB/s BenchmarkSetTypeNode124-4 5675606 21.07 ns/op 47848.90 MB/s BenchmarkSetTypeNode124Slice-4 180646 662.2 ns/op 48710.24 MB/s BenchmarkSetTypeNode126-4 5861188 20.36 ns/op 50285.97 MB/s BenchmarkSetTypeNode126Slice-4 178519 665.9 ns/op 49207.59 MB/s BenchmarkSetTypeNode128-4 4026330 29.71 ns/op 35009.05 MB/s BenchmarkSetTypeNode128Slice-4 142054 837.3 ns/op 39746.96 MB/s BenchmarkSetTypeNode130-4 4025109 29.66 ns/op 35605.50 MB/s BenchmarkSetTypeNode130Slice-4 141690 851.0 ns/op 39710.72 MB/s BenchmarkSetTypeNode1024-4 753787 155.7 ns/op 52703.10 MB/s BenchmarkSetTypeNode1024Slice-4 24288 4906 ns/op 53541.45 MB/s BenchmarkAllocation-4 2550 56207 ns/op BenchmarkReadMemStats-4 6420 19501 ns/op BenchmarkReadMemStatsLatency-4 1 69681 p50-ns 69681 p90-ns 69681 p99-ns BenchmarkWriteBarrier-4 2213505 52.18 ns/op BenchmarkBulkWriteBarrier-4 6585883 17.81 ns/op BenchmarkScanStackNoLocals-4 2 53310627 ns/op BenchmarkMSpanCountAlloc/bits=64-4 11346877 10.01 ns/op BenchmarkMSpanCountAlloc/bits=128-4 10480689 10.98 ns/op BenchmarkMSpanCountAlloc/bits=256-4 9732810 12.70 ns/op BenchmarkMSpanCountAlloc/bits=512-4 7119158 16.53 ns/op BenchmarkMSpanCountAlloc/bits=1024-4 4581051 25.28 ns/op BenchmarkHash5-4 6531372 18.39 ns/op 271.84 MB/s BenchmarkHash16-4 6450304 17.68 ns/op 904.84 MB/s BenchmarkHash64-4 6062907 18.21 ns/op 3513.78 MB/s BenchmarkHash1024-4 1935109 62.07 ns/op 16498.39 MB/s BenchmarkHash65536-4 38276 3117 ns/op 21028.27 MB/s BenchmarkAlignedLoad-4 8927388 13.36 ns/op BenchmarkUnalignedLoad-4 8013702 15.09 ns/op BenchmarkEqEfaceConcrete-4 6283537 18.86 ns/op BenchmarkEqIfaceConcrete-4 6988228 17.25 ns/op BenchmarkNeEfaceConcrete-4 6562855 18.09 ns/op BenchmarkNeIfaceConcrete-4 6762093 17.75 ns/op BenchmarkConvT2EByteSized/bool-4 6414552 18.64 ns/op BenchmarkConvT2EByteSized/uint8-4 6379959 18.58 ns/op BenchmarkConvT2ESmall-4 5685741 20.88 ns/op BenchmarkConvT2EUintptr-4 5670741 21.21 ns/op BenchmarkConvT2ELarge-4 1000000 105.5 ns/op BenchmarkConvT2ISmall-4 5803011 20.69 ns/op BenchmarkConvT2IUintptr-4 5629070 21.46 ns/op BenchmarkConvT2ILarge-4 1203702 100.2 ns/op BenchmarkConvI2E-4 5007885 23.88 ns/op BenchmarkConvI2I-4 4144310 28.94 ns/op BenchmarkAssertE2T-4 5133240 23.48 ns/op BenchmarkAssertE2TLarge-4 2376404 50.93 ns/op BenchmarkAssertE2I-4 4365420 27.48 ns/op BenchmarkAssertI2T-4 4852927 24.53 ns/op BenchmarkAssertI2I-4 4344430 27.69 ns/op BenchmarkAssertI2E-4 6049186 19.93 ns/op BenchmarkAssertE2E-4 6278266 19.07 ns/op BenchmarkAssertE2T2-4 3870915 31.05 ns/op BenchmarkAssertE2T2Blank-4 4777035 25.15 ns/op BenchmarkAssertI2E2-4 4687315 25.61 ns/op BenchmarkAssertI2E2Blank-4 6023341 19.84 ns/op BenchmarkAssertE2E2-4 4651852 25.77 ns/op BenchmarkAssertE2E2Blank-4 6011336 19.96 ns/op BenchmarkConvT2Ezero/zero/16-4 5809652 20.83 ns/op BenchmarkConvT2Ezero/zero/32-4 5715436 20.79 ns/op BenchmarkConvT2Ezero/zero/64-4 5531832 21.58 ns/op BenchmarkConvT2Ezero/zero/str-4 5723251 20.89 ns/op BenchmarkConvT2Ezero/zero/slice-4 5875891 20.41 ns/op BenchmarkConvT2Ezero/zero/big-4 207220 519.5 ns/op BenchmarkConvT2Ezero/nonzero/str-4 1337878 92.57 ns/op BenchmarkConvT2Ezero/nonzero/slice-4 1311006 96.31 ns/op BenchmarkConvT2Ezero/nonzero/big-4 247101 484.9 ns/op BenchmarkConvT2Ezero/smallint/16-4 5700368 20.93 ns/op BenchmarkConvT2Ezero/smallint/32-4 5741899 20.70 ns/op BenchmarkConvT2Ezero/smallint/64-4 5752081 21.02 ns/op BenchmarkConvT2Ezero/largeint/16-4 1684065 71.71 ns/op BenchmarkConvT2Ezero/largeint/32-4 1656660 69.16 ns/op BenchmarkConvT2Ezero/largeint/64-4 1763132 71.41 ns/op BenchmarkMalloc8-4 1401336 82.86 ns/op BenchmarkMalloc16-4 1286145 87.18 ns/op BenchmarkMallocTypeInfo8-4 1473602 90.21 ns/op BenchmarkMallocTypeInfo16-4 1000000 103.3 ns/op BenchmarkMallocLargeStruct-4 162410 644.6 ns/op BenchmarkGoroutineSelect-4 79 1701709 ns/op BenchmarkGoroutineBlocking-4 87 1855986 ns/op BenchmarkGoroutineForRange-4 56 1967073 ns/op BenchmarkGoroutineIdle-4 78 1548242 ns/op BenchmarkHashStringSpeed-4 2742265 49.27 ns/op BenchmarkHashBytesSpeed-4 1516917 85.23 ns/op BenchmarkHashInt32Speed-4 3439680 36.16 ns/op BenchmarkHashInt64Speed-4 3410112 34.74 ns/op BenchmarkHashStringArraySpeed-4 618009 192.9 ns/op BenchmarkMegMap-4 3320062 35.09 ns/op BenchmarkMegOneMap-4 4219935 28.31 ns/op BenchmarkMegEqMap-4 1414 84764 ns/op BenchmarkMegEmptyMap-4 4833714 23.60 ns/op BenchmarkSmallStrMap-4 3549942 34.17 ns/op BenchmarkMapStringKeysEight_16-4 3474800 34.49 ns/op BenchmarkMapStringKeysEight_32-4 3464070 34.71 ns/op BenchmarkMapStringKeysEight_64-4 3429962 35.25 ns/op BenchmarkMapStringKeysEight_1M-4 3375745 35.01 ns/op BenchmarkIntMap-4 4091402 29.46 ns/op BenchmarkMapFirst/1-4 5055057 24.05 ns/op BenchmarkMapFirst/2-4 4875415 24.04 ns/op BenchmarkMapFirst/3-4 4926916 24.10 ns/op BenchmarkMapFirst/4-4 4900477 24.88 ns/op BenchmarkMapFirst/5-4 4654914 24.92 ns/op BenchmarkMapFirst/6-4 4660024 25.59 ns/op BenchmarkMapFirst/7-4 4862166 24.67 ns/op BenchmarkMapFirst/8-4 4469944 24.33 ns/op BenchmarkMapFirst/9-4 4291515 28.34 ns/op BenchmarkMapFirst/10-4 4273904 27.72 ns/op BenchmarkMapFirst/11-4 4237564 28.22 ns/op BenchmarkMapFirst/12-4 4209508 28.98 ns/op BenchmarkMapFirst/13-4 4302590 28.14 ns/op BenchmarkMapFirst/14-4 4193083 28.21 ns/op BenchmarkMapFirst/15-4 4148070 28.14 ns/op BenchmarkMapFirst/16-4 4240886 28.15 ns/op BenchmarkMapMid/1-4 3983420 30.21 ns/op BenchmarkMapMid/2-4 3865728 30.44 ns/op BenchmarkMapMid/3-4 3949557 30.37 ns/op BenchmarkMapMid/4-4 3747354 31.43 ns/op BenchmarkMapMid/5-4 3921508 30.42 ns/op BenchmarkMapMid/6-4 3688808 31.81 ns/op BenchmarkMapMid/7-4 3856275 31.71 ns/op BenchmarkMapMid/8-4 3635403 32.58 ns/op BenchmarkMapMid/9-4 3461736 33.49 ns/op BenchmarkMapMid/10-4 3362679 35.82 ns/op BenchmarkMapMid/11-4 3391177 34.48 ns/op BenchmarkMapMid/12-4 3558914 35.62 ns/op BenchmarkMapMid/13-4 3519850 33.48 ns/op BenchmarkMapMid/14-4 3710802 33.58 ns/op BenchmarkMapMid/15-4 3480762 32.87 ns/op BenchmarkMapMid/16-4 3420656 35.76 ns/op BenchmarkMapLast/1-4 3921956 30.33 ns/op BenchmarkMapLast/2-4 3875437 29.98 ns/op BenchmarkMapLast/3-4 3836892 30.82 ns/op BenchmarkMapLast/4-4 3677226 32.56 ns/op BenchmarkMapLast/5-4 3891800 30.71 ns/op BenchmarkMapLast/6-4 3727486 33.04 ns/op BenchmarkMapLast/7-4 3632155 32.02 ns/op BenchmarkMapLast/8-4 3450511 34.77 ns/op BenchmarkMapLast/9-4 3330765 35.23 ns/op BenchmarkMapLast/10-4 3241310 33.48 ns/op BenchmarkMapLast/11-4 3339908 37.56 ns/op BenchmarkMapLast/12-4 3263547 36.49 ns/op BenchmarkMapLast/13-4 3383827 33.40 ns/op BenchmarkMapLast/14-4 3394683 33.41 ns/op BenchmarkMapLast/15-4 3311442 33.48 ns/op BenchmarkMapLast/16-4 3373066 36.96 ns/op BenchmarkMapCycle-4 1963210 59.15 ns/op BenchmarkRepeatedLookupStrMapKey32-4 3475350 34.71 ns/op BenchmarkRepeatedLookupStrMapKey1M-4 2192 49924 ns/op BenchmarkMakeMap/[Byte]Byte-4 538254 189.2 ns/op BenchmarkMakeMap/[Int]Int-4 346126 321.7 ns/op BenchmarkNewEmptyMap-4 12311380 8.500 ns/op 0 B/op 0 allocs/op BenchmarkNewSmallMap-4 1723623 70.40 ns/op 0 B/op 0 allocs/op BenchmarkMapIter-4 482061 242.8 ns/op BenchmarkMapIterEmpty-4 5795830 21.06 ns/op BenchmarkSameLengthMap-4 4765488 25.02 ns/op BenchmarkBigKeyMap-4 1702488 69.36 ns/op BenchmarkBigValMap-4 1495548 78.95 ns/op BenchmarkSmallKeyMap-4 2983572 40.52 ns/op BenchmarkMapPopulate/1-4 2307902 50.05 ns/op 0 B/op 0 allocs/op BenchmarkMapPopulate/10-4 131104 898.0 ns/op 179 B/op 1 allocs/op BenchmarkMapPopulate/100-4 7737 17032 ns/op 6276 B/op 15 allocs/op BenchmarkMapPopulate/1000-4 781 155139 ns/op 51717 B/op 55 allocs/op BenchmarkMapPopulate/10000-4 50 2428768 ns/op 416246 B/op 201 allocs/op BenchmarkMapPopulate/100000-4 3 36961931 ns/op 6541736 B/op 2948 allocs/op BenchmarkComplexAlgMap-4 505620 237.9 ns/op BenchmarkGoMapClear/Reflexive/1-4 718441 162.4 ns/op BenchmarkGoMapClear/Reflexive/10-4 632152 180.0 ns/op BenchmarkGoMapClear/Reflexive/100-4 229556 502.7 ns/op BenchmarkGoMapClear/Reflexive/1000-4 41403 2867 ns/op BenchmarkGoMapClear/Reflexive/10000-4 4519 22234 ns/op BenchmarkGoMapClear/NonReflexive/1-4 553071 214.0 ns/op BenchmarkGoMapClear/NonReflexive/10-4 490940 239.2 ns/op BenchmarkGoMapClear/NonReflexive/100-4 206001 556.3 ns/op BenchmarkGoMapClear/NonReflexive/1000-4 39763 3000 ns/op BenchmarkGoMapClear/NonReflexive/10000-4 5348 22286 ns/op BenchmarkMapStringConversion/32/simple-4 1854926 65.57 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/struct-4 1762772 68.07 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/array-4 1597954 72.86 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/simple-4 1723692 68.90 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/struct-4 1616544 73.46 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/array-4 1494974 79.16 ns/op 0 B/op 0 allocs/op BenchmarkMapInterfaceString-4 1885227 60.91 ns/op BenchmarkMapInterfacePtr-4 2059459 59.75 ns/op BenchmarkNewEmptyMapHintLessThan8-4 4782669 25.15 ns/op 0 B/op 0 allocs/op BenchmarkNewEmptyMapHintGreaterThan8-4 138234 826.0 ns/op 1152 B/op 1 allocs/op BenchmarkMapPop100-4 5337 21878 ns/op BenchmarkMapPop1000-4 375 328127 ns/op BenchmarkMapPop10000-4 21 5969235 ns/op BenchmarkMapAssign/Int32/256-4 2388747 50.02 ns/op BenchmarkMapAssign/Int32/65536-4 1102582 103.5 ns/op BenchmarkMapAssign/Int64/256-4 2277924 51.58 ns/op BenchmarkMapAssign/Int64/65536-4 944997 122.2 ns/op BenchmarkMapAssign/Str/256-4 1935630 61.46 ns/op BenchmarkMapAssign/Str/65536-4 474318 227.0 ns/op BenchmarkMapOperatorAssign/Int32/256-4 1526404 80.04 ns/op BenchmarkMapOperatorAssign/Int32/65536-4 654072 164.2 ns/op BenchmarkMapOperatorAssign/Int64/256-4 1449952 78.85 ns/op BenchmarkMapOperatorAssign/Int64/65536-4 533300 200.1 ns/op BenchmarkMapOperatorAssign/Str/256-4 469414 2235 ns/op BenchmarkMapOperatorAssign/Str/65536-4 171981 642.0 ns/op BenchmarkMapAppendAssign/Int32/256-4 916011 163.9 ns/op 35 B/op 0 allocs/op BenchmarkMapAppendAssign/Int32/65536-4 190222 571.7 ns/op 66 B/op 1 allocs/op BenchmarkMapAppendAssign/Int64/256-4 716900 162.4 ns/op 31 B/op 0 allocs/op BenchmarkMapAppendAssign/Int64/65536-4 172839 632.9 ns/op 77 B/op 1 allocs/op BenchmarkMapAppendAssign/Str/256-4 558555 240.8 ns/op 55 B/op 0 allocs/op BenchmarkMapAppendAssign/Str/65536-4 94828 1173 ns/op 149 B/op 1 allocs/op BenchmarkMapDelete/Int32/100-4 1795009 66.58 ns/op BenchmarkMapDelete/Int32/1000-4 1969411 60.44 ns/op BenchmarkMapDelete/Int32/10000-4 1862502 63.11 ns/op BenchmarkMapDelete/Int64/100-4 1835144 81.23 ns/op BenchmarkMapDelete/Int64/1000-4 1938951 67.03 ns/op BenchmarkMapDelete/Int64/10000-4 1874006 65.65 ns/op BenchmarkMapDelete/Str/100-4 1000000 105.4 ns/op BenchmarkMapDelete/Str/1000-4 1481919 79.64 ns/op BenchmarkMapDelete/Str/10000-4 1424916 90.00 ns/op BenchmarkMapDelete/Pointer/100-4 1531282 72.06 ns/op BenchmarkMapDelete/Pointer/1000-4 1731952 66.92 ns/op BenchmarkMapDelete/Pointer/10000-4 1642545 74.76 ns/op BenchmarkMemmove/0-4 15499267 7.705 ns/op BenchmarkMemmove/1-4 1972806 60.55 ns/op 16.51 MB/s BenchmarkMemmove/2-4 1914637 62.28 ns/op 32.11 MB/s BenchmarkMemmove/3-4 1908841 60.87 ns/op 49.29 MB/s BenchmarkMemmove/4-4 1968735 64.10 ns/op 62.40 MB/s BenchmarkMemmove/5-4 1919767 62.44 ns/op 80.08 MB/s BenchmarkMemmove/6-4 1948443 62.21 ns/op 96.45 MB/s BenchmarkMemmove/7-4 1953460 61.95 ns/op 112.99 MB/s BenchmarkMemmove/8-4 1989037 59.73 ns/op 133.93 MB/s BenchmarkMemmove/9-4 1894521 62.43 ns/op 144.16 MB/s BenchmarkMemmove/10-4 1904438 62.62 ns/op 159.68 MB/s BenchmarkMemmove/11-4 1918134 64.71 ns/op 169.99 MB/s BenchmarkMemmove/12-4 1912399 62.71 ns/op 191.36 MB/s BenchmarkMemmove/13-4 1857358 63.10 ns/op 206.02 MB/s BenchmarkMemmove/14-4 1876200 64.41 ns/op 217.34 MB/s BenchmarkMemmove/15-4 1863913 64.03 ns/op 234.26 MB/s BenchmarkMemmove/16-4 1928337 61.33 ns/op 260.88 MB/s BenchmarkMemmove/32-4 1845633 63.88 ns/op 500.98 MB/s BenchmarkMemmove/64-4 1703024 70.26 ns/op 910.84 MB/s BenchmarkMemmove/128-4 1405348 84.58 ns/op 1513.38 MB/s BenchmarkMemmove/256-4 893752 130.6 ns/op 1959.63 MB/s BenchmarkMemmove/512-4 632697 184.2 ns/op 2779.82 MB/s BenchmarkMemmove/1024-4 410484 285.7 ns/op 3583.94 MB/s BenchmarkMemmove/2048-4 242329 495.5 ns/op 4133.25 MB/s BenchmarkMemmove/4096-4 130938 913.6 ns/op 4483.34 MB/s BenchmarkMemmoveOverlap/32-4 1854187 64.93 ns/op 492.84 MB/s BenchmarkMemmoveOverlap/64-4 1668220 70.85 ns/op 903.28 MB/s BenchmarkMemmoveOverlap/128-4 1410136 86.63 ns/op 1477.56 MB/s BenchmarkMemmoveOverlap/256-4 888724 132.7 ns/op 1929.30 MB/s BenchmarkMemmoveOverlap/512-4 631400 181.9 ns/op 2815.02 MB/s BenchmarkMemmoveOverlap/1024-4 423800 287.3 ns/op 3563.85 MB/s BenchmarkMemmoveOverlap/2048-4 243348 491.1 ns/op 4170.55 MB/s BenchmarkMemmoveOverlap/4096-4 130846 914.4 ns/op 4479.33 MB/s BenchmarkMemmoveUnalignedDst/0-4 15808668 7.595 ns/op BenchmarkMemmoveUnalignedDst/1-4 1958976 61.30 ns/op 16.31 MB/s BenchmarkMemmoveUnalignedDst/2-4 1930028 61.68 ns/op 32.43 MB/s BenchmarkMemmoveUnalignedDst/3-4 1929529 63.27 ns/op 47.42 MB/s BenchmarkMemmoveUnalignedDst/4-4 1942542 61.76 ns/op 64.76 MB/s BenchmarkMemmoveUnalignedDst/5-4 1939660 63.01 ns/op 79.36 MB/s BenchmarkMemmoveUnalignedDst/6-4 1936120 62.88 ns/op 95.42 MB/s BenchmarkMemmoveUnalignedDst/7-4 1949127 61.42 ns/op 113.97 MB/s BenchmarkMemmoveUnalignedDst/8-4 1939252 62.37 ns/op 128.26 MB/s BenchmarkMemmoveUnalignedDst/9-4 1858882 63.71 ns/op 141.27 MB/s BenchmarkMemmoveUnalignedDst/10-4 1860210 64.99 ns/op 153.87 MB/s BenchmarkMemmoveUnalignedDst/11-4 1836304 65.06 ns/op 169.08 MB/s BenchmarkMemmoveUnalignedDst/12-4 1816994 64.87 ns/op 184.98 MB/s BenchmarkMemmoveUnalignedDst/13-4 1852382 64.31 ns/op 202.15 MB/s BenchmarkMemmoveUnalignedDst/14-4 1860798 64.00 ns/op 218.74 MB/s BenchmarkMemmoveUnalignedDst/15-4 1889172 64.53 ns/op 232.44 MB/s BenchmarkMemmoveUnalignedDst/16-4 1872013 62.55 ns/op 255.81 MB/s BenchmarkMemmoveUnalignedDst/32-4 1746363 67.85 ns/op 471.62 MB/s BenchmarkMemmoveUnalignedDst/64-4 1597108 74.96 ns/op 853.80 MB/s BenchmarkMemmoveUnalignedDst/128-4 1347236 89.02 ns/op 1437.83 MB/s BenchmarkMemmoveUnalignedDst/256-4 854586 135.4 ns/op 1890.71 MB/s BenchmarkMemmoveUnalignedDst/512-4 617046 188.9 ns/op 2710.34 MB/s BenchmarkMemmoveUnalignedDst/1024-4 399794 302.9 ns/op 3380.26 MB/s BenchmarkMemmoveUnalignedDst/2048-4 240540 498.7 ns/op 4106.78 MB/s BenchmarkMemmoveUnalignedDst/4096-4 126561 944.6 ns/op 4336.04 MB/s BenchmarkMemmoveUnalignedDstOverlap/32-4 1734727 67.48 ns/op 474.23 MB/s BenchmarkMemmoveUnalignedDstOverlap/64-4 1586299 76.55 ns/op 836.01 MB/s BenchmarkMemmoveUnalignedDstOverlap/128-4 1342494 88.85 ns/op 1440.69 MB/s BenchmarkMemmoveUnalignedDstOverlap/256-4 851589 134.7 ns/op 1901.07 MB/s BenchmarkMemmoveUnalignedDstOverlap/512-4 636512 186.9 ns/op 2739.36 MB/s BenchmarkMemmoveUnalignedDstOverlap/1024-4 409486 288.4 ns/op 3550.23 MB/s BenchmarkMemmoveUnalignedDstOverlap/2048-4 239380 501.3 ns/op 4085.25 MB/s BenchmarkMemmoveUnalignedDstOverlap/4096-4 130065 919.9 ns/op 4452.51 MB/s BenchmarkMemmoveUnalignedSrc/0-4 15644269 7.744 ns/op BenchmarkMemmoveUnalignedSrc/1-4 1931649 61.15 ns/op 16.35 MB/s BenchmarkMemmoveUnalignedSrc/2-4 1939066 63.09 ns/op 31.70 MB/s BenchmarkMemmoveUnalignedSrc/3-4 1890182 63.32 ns/op 47.38 MB/s BenchmarkMemmoveUnalignedSrc/4-4 1894726 62.99 ns/op 63.50 MB/s BenchmarkMemmoveUnalignedSrc/5-4 1885761 63.53 ns/op 78.70 MB/s BenchmarkMemmoveUnalignedSrc/6-4 1885184 63.88 ns/op 93.93 MB/s BenchmarkMemmoveUnalignedSrc/7-4 1915969 63.64 ns/op 109.99 MB/s BenchmarkMemmoveUnalignedSrc/8-4 1925817 60.57 ns/op 132.07 MB/s BenchmarkMemmoveUnalignedSrc/9-4 1884723 65.10 ns/op 138.24 MB/s BenchmarkMemmoveUnalignedSrc/10-4 1861668 64.08 ns/op 156.05 MB/s BenchmarkMemmoveUnalignedSrc/11-4 1870354 63.83 ns/op 172.32 MB/s BenchmarkMemmoveUnalignedSrc/12-4 1840758 63.72 ns/op 188.34 MB/s BenchmarkMemmoveUnalignedSrc/13-4 1862574 63.75 ns/op 203.94 MB/s BenchmarkMemmoveUnalignedSrc/14-4 1864143 63.85 ns/op 219.27 MB/s BenchmarkMemmoveUnalignedSrc/15-4 1868100 64.91 ns/op 231.09 MB/s BenchmarkMemmoveUnalignedSrc/16-4 1824775 65.76 ns/op 243.30 MB/s BenchmarkMemmoveUnalignedSrc/32-4 1771597 67.73 ns/op 472.50 MB/s BenchmarkMemmoveUnalignedSrc/64-4 1626774 74.59 ns/op 858.06 MB/s BenchmarkMemmoveUnalignedSrc/128-4 1378143 88.39 ns/op 1448.14 MB/s BenchmarkMemmoveUnalignedSrc/256-4 872389 135.7 ns/op 1886.82 MB/s BenchmarkMemmoveUnalignedSrc/512-4 616078 188.5 ns/op 2715.92 MB/s BenchmarkMemmoveUnalignedSrc/1024-4 407974 289.4 ns/op 3537.99 MB/s BenchmarkMemmoveUnalignedSrc/2048-4 239606 495.5 ns/op 4132.93 MB/s BenchmarkMemmoveUnalignedSrc/4096-4 124932 930.0 ns/op 4404.18 MB/s BenchmarkMemmoveUnalignedSrcOverlap/32-4 1784730 66.60 ns/op 480.51 MB/s BenchmarkMemmoveUnalignedSrcOverlap/64-4 1587849 75.23 ns/op 850.78 MB/s BenchmarkMemmoveUnalignedSrcOverlap/128-4 1358144 89.63 ns/op 1428.04 MB/s BenchmarkMemmoveUnalignedSrcOverlap/256-4 842316 135.2 ns/op 1893.24 MB/s BenchmarkMemmoveUnalignedSrcOverlap/512-4 637605 186.5 ns/op 2745.83 MB/s BenchmarkMemmoveUnalignedSrcOverlap/1024-4 418441 288.2 ns/op 3553.43 MB/s BenchmarkMemmoveUnalignedSrcOverlap/2048-4 242397 492.7 ns/op 4156.60 MB/s BenchmarkMemmoveUnalignedSrcOverlap/4096-4 117058 920.4 ns/op 4450.29 MB/s BenchmarkMemclr/5-4 12088909 10.02 ns/op 499.24 MB/s BenchmarkMemclr/16-4 12253176 9.928 ns/op 1611.68 MB/s BenchmarkMemclr/64-4 11324134 10.58 ns/op 6048.91 MB/s BenchmarkMemclr/256-4 10076636 11.83 ns/op 21648.59 MB/s BenchmarkMemclr/4096-4 2384221 50.94 ns/op 80411.61 MB/s BenchmarkMemclr/65536-4 73306 1569 ns/op 41763.59 MB/s BenchmarkMemclr/1M-4 2787 38752 ns/op 27058.81 MB/s BenchmarkMemclr/4M-4 685 168360 ns/op 24912.65 MB/s BenchmarkMemclr/8M-4 321 369697 ns/op 22690.47 MB/s BenchmarkMemclr/16M-4 106 1184193 ns/op 14167.64 MB/s BenchmarkMemclr/64M-4 12 9773472 ns/op 6866.43 MB/s BenchmarkMemclrUnaligned/0_5-4 7085307 16.82 ns/op 297.28 MB/s BenchmarkMemclrUnaligned/0_16-4 6786469 16.97 ns/op 943.11 MB/s BenchmarkMemclrUnaligned/0_64-4 6839467 17.49 ns/op 3658.20 MB/s BenchmarkMemclrUnaligned/0_256-4 6241656 19.20 ns/op 13334.09 MB/s BenchmarkMemclrUnaligned/0_4096-4 2184398 54.25 ns/op 75501.41 MB/s BenchmarkMemclrUnaligned/0_65536-4 58346 1811 ns/op 36191.11 MB/s BenchmarkMemclrUnaligned/1_5-4 7120123 16.73 ns/op 298.92 MB/s BenchmarkMemclrUnaligned/1_16-4 7000770 16.92 ns/op 945.42 MB/s BenchmarkMemclrUnaligned/1_64-4 6802132 17.52 ns/op 3652.30 MB/s BenchmarkMemclrUnaligned/1_256-4 6225886 19.16 ns/op 13362.28 MB/s BenchmarkMemclrUnaligned/1_4096-4 1349535 92.38 ns/op 44337.64 MB/s BenchmarkMemclrUnaligned/1_65536-4 47532 2208 ns/op 29684.14 MB/s BenchmarkMemclrUnaligned/4_5-4 7127832 16.80 ns/op 297.68 MB/s BenchmarkMemclrUnaligned/4_16-4 7059561 16.96 ns/op 943.59 MB/s BenchmarkMemclrUnaligned/4_64-4 6847024 17.65 ns/op 3625.61 MB/s BenchmarkMemclrUnaligned/4_256-4 6232801 19.14 ns/op 13377.48 MB/s BenchmarkMemclrUnaligned/4_4096-4 1338156 89.25 ns/op 45894.51 MB/s BenchmarkMemclrUnaligned/4_65536-4 50212 2138 ns/op 30656.93 MB/s BenchmarkMemclrUnaligned/7_5-4 7070494 16.85 ns/op 296.66 MB/s BenchmarkMemclrUnaligned/7_16-4 7040580 16.97 ns/op 942.85 MB/s BenchmarkMemclrUnaligned/7_64-4 6749696 17.66 ns/op 3624.69 MB/s BenchmarkMemclrUnaligned/7_256-4 6226600 19.12 ns/op 13386.17 MB/s BenchmarkMemclrUnaligned/7_4096-4 1285286 93.03 ns/op 44026.86 MB/s BenchmarkMemclrUnaligned/7_65536-4 53551 1938 ns/op 33822.67 MB/s BenchmarkMemclrUnaligned/0_1M-4 2754 38855 ns/op 26986.88 MB/s BenchmarkMemclrUnaligned/0_4M-4 697 163742 ns/op 25615.27 MB/s BenchmarkMemclrUnaligned/0_8M-4 313 388981 ns/op 21565.61 MB/s BenchmarkMemclrUnaligned/0_16M-4 78 1437969 ns/op 11667.30 MB/s BenchmarkMemclrUnaligned/0_64M-4 12 9863866 ns/op 6803.51 MB/s BenchmarkMemclrUnaligned/1_1M-4 2770 40428 ns/op 25936.57 MB/s BenchmarkMemclrUnaligned/1_4M-4 694 171087 ns/op 24515.65 MB/s BenchmarkMemclrUnaligned/1_8M-4 243 474771 ns/op 17668.75 MB/s BenchmarkMemclrUnaligned/1_16M-4 46 2261380 ns/op 7419.02 MB/s BenchmarkMemclrUnaligned/1_64M-4 12 9754350 ns/op 6879.89 MB/s BenchmarkMemclrUnaligned/4_1M-4 2665 41743 ns/op 25119.56 MB/s BenchmarkMemclrUnaligned/4_4M-4 679 169860 ns/op 24692.64 MB/s BenchmarkMemclrUnaligned/4_8M-4 250 448525 ns/op 18702.64 MB/s BenchmarkMemclrUnaligned/4_16M-4 96 1163005 ns/op 14425.75 MB/s BenchmarkMemclrUnaligned/4_64M-4 12 9593356 ns/op 6995.35 MB/s BenchmarkMemclrUnaligned/7_1M-4 2628 39778 ns/op 26361.03 MB/s BenchmarkMemclrUnaligned/7_4M-4 698 172244 ns/op 24350.88 MB/s BenchmarkMemclrUnaligned/7_8M-4 276 470848 ns/op 17815.97 MB/s BenchmarkMemclrUnaligned/7_16M-4 63 2083765 ns/op 8051.40 MB/s BenchmarkMemclrUnaligned/7_64M-4 12 9805697 ns/op 6843.86 MB/s BenchmarkGoMemclr/5-4 2200840 54.93 ns/op 91.02 MB/s BenchmarkGoMemclr/16-4 499520 234.6 ns/op 68.21 MB/s BenchmarkGoMemclr/64-4 138375 843.3 ns/op 75.89 MB/s BenchmarkGoMemclr/256-4 35667 3356 ns/op 76.27 MB/s BenchmarkMemclrRange/1K_2K-4 68107 1725 ns/op 55584.52 MB/s BenchmarkMemclrRange/2K_8K-4 30356 3973 ns/op 83942.73 MB/s BenchmarkMemclrRange/4K_16K-4 42978 2810 ns/op 114979.91 MB/s BenchmarkMemclrRange/160K_228K-4 2212 46194 ns/op 35997.08 MB/s BenchmarkClearFat7-4 6042891 19.35 ns/op BenchmarkClearFat8-4 7054485 16.59 ns/op BenchmarkClearFat11-4 6297856 19.36 ns/op BenchmarkClearFat12-4 6533914 19.35 ns/op BenchmarkClearFat13-4 6066258 19.87 ns/op BenchmarkClearFat14-4 6319050 19.09 ns/op BenchmarkClearFat15-4 6095698 19.69 ns/op BenchmarkClearFat16-4 6663903 18.38 ns/op BenchmarkClearFat24-4 6172807 19.34 ns/op BenchmarkClearFat32-4 6209785 19.45 ns/op BenchmarkClearFat40-4 5565716 21.57 ns/op BenchmarkClearFat48-4 5852092 20.79 ns/op BenchmarkClearFat56-4 5730259 20.94 ns/op BenchmarkClearFat64-4 5330841 22.11 ns/op BenchmarkClearFat72-4 5279172 22.78 ns/op BenchmarkClearFat128-4 3746622 32.19 ns/op BenchmarkClearFat256-4 2215249 54.02 ns/op BenchmarkClearFat512-4 1486533 80.78 ns/op BenchmarkClearFat1024-4 842468 138.0 ns/op BenchmarkClearFat1032-4 823390 144.2 ns/op BenchmarkClearFat1040-4 812871 143.5 ns/op BenchmarkCopyFat7-4 6142474 18.81 ns/op BenchmarkCopyFat8-4 6844780 17.24 ns/op BenchmarkCopyFat11-4 6166435 19.75 ns/op BenchmarkCopyFat12-4 6353990 18.92 ns/op BenchmarkCopyFat13-4 6296379 18.76 ns/op BenchmarkCopyFat14-4 6408385 19.26 ns/op BenchmarkCopyFat15-4 6059943 19.49 ns/op BenchmarkCopyFat16-4 6638062 18.19 ns/op BenchmarkCopyFat24-4 6435504 18.63 ns/op BenchmarkCopyFat32-4 6243624 18.85 ns/op BenchmarkCopyFat64-4 5329672 22.56 ns/op BenchmarkCopyFat72-4 5214193 23.31 ns/op BenchmarkCopyFat128-4 3675278 32.45 ns/op BenchmarkCopyFat256-4 2107777 56.94 ns/op BenchmarkCopyFat512-4 1386424 86.29 ns/op BenchmarkCopyFat520-4 1358750 87.26 ns/op BenchmarkCopyFat1024-4 807231 145.5 ns/op BenchmarkCopyFat1032-4 803229 148.1 ns/op BenchmarkCopyFat1040-4 795602 149.5 ns/op BenchmarkIssue18740/2byte-4 435 271997 ns/op BenchmarkIssue18740/4byte-4 730 163967 ns/op BenchmarkIssue18740/8byte-4 1032 115200 ns/op BenchmarkMemclrKnownSize1-4 8874892 13.42 ns/op 74.53 MB/s BenchmarkMemclrKnownSize2-4 5593681 20.21 ns/op 98.97 MB/s BenchmarkMemclrKnownSize4-4 3547398 33.84 ns/op 118.22 MB/s BenchmarkMemclrKnownSize8-4 1000000 110.7 ns/op 72.29 MB/s BenchmarkMemclrKnownSize16-4 530829 225.9 ns/op 70.83 MB/s BenchmarkMemclrKnownSize32-4 276962 429.9 ns/op 74.43 MB/s BenchmarkMemclrKnownSize64-4 144099 814.9 ns/op 78.54 MB/s BenchmarkMemclrKnownSize112-4 80764 1455 ns/op 77.00 MB/s BenchmarkMemclrKnownSize128-4 69193 1620 ns/op 79.02 MB/s BenchmarkMemclrKnownSize192-4 48435 2430 ns/op 79.02 MB/s BenchmarkMemclrKnownSize248-4 37384 3203 ns/op 77.43 MB/s BenchmarkMemclrKnownSize256-4 35703 3328 ns/op 76.92 MB/s BenchmarkMemclrKnownSize512-4 18054 6660 ns/op 76.88 MB/s BenchmarkMemclrKnownSize1024-4 8611 13115 ns/op 78.08 MB/s BenchmarkMemclrKnownSize4096-4 2206 52561 ns/op 77.93 MB/s BenchmarkMemclrKnownSize512KiB-4 16 7001596 ns/op 74.88 MB/s BenchmarkReadMetricsLatency-4 20995 5230 p50-ns 7828 p90-ns 17700 p99-ns BenchmarkFinalizer-4 164 683053 ns/op BenchmarkFinalizerRun-4 169225 955.3 ns/op BenchmarkPallocBitsSummarize/Unpacked00-4 7498528 15.35 ns/op BenchmarkPallocBitsSummarize/UnpackedFFFFFFFFFFFFFFFF-4 3105517 37.77 ns/op BenchmarkPallocBitsSummarize/UnpackedAA-4 2450318 48.16 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAAAAAAAAAA-4 2392797 48.99 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000AAAAAAAA-4 1310353 91.42 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAA00000001-4 1000000 101.7 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBBBBBBBBBB-4 2234707 52.39 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000BBBBBBBB-4 1267539 93.97 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBB00000001-4 1310792 90.27 ns/op BenchmarkPallocBitsSummarize/UnpackedCCCCCCCCCCCCCCCC-4 1826985 65.72 ns/op BenchmarkPallocBitsSummarize/Unpacked4444444444444444-4 1874136 65.84 ns/op BenchmarkPallocBitsSummarize/Unpacked4040404040404040-4 1699569 69.63 ns/op BenchmarkPallocBitsSummarize/Unpacked4000400040004000-4 1462123 80.60 ns/op BenchmarkPallocBitsSummarize/Unpacked1000404044CCAAFF-4 1339904 89.86 ns/op BenchmarkFindBitRange64/Pattern00Size2-4 6231422 19.22 ns/op BenchmarkFindBitRange64/Pattern00Size8-4 6534236 18.35 ns/op BenchmarkFindBitRange64/Pattern00Size32-4 6549348 18.32 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize2-4 6564186 18.27 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize8-4 5819169 20.45 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize32-4 5206766 23.00 ns/op BenchmarkFindBitRange64/PatternAASize2-4 6478437 18.22 ns/op BenchmarkFindBitRange64/PatternAASize8-4 6549267 18.37 ns/op BenchmarkFindBitRange64/PatternAASize32-4 6534205 18.23 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize2-4 6557708 18.21 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize8-4 6425908 18.24 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize32-4 6556719 18.24 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize2-4 6607736 18.22 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize8-4 6480753 18.29 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize32-4 6572119 18.22 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size2-4 6531628 18.21 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size8-4 6573166 18.39 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size32-4 6546231 18.29 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize2-4 6543204 18.16 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize8-4 6222278 19.64 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize32-4 6076904 19.65 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize2-4 6624915 18.19 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize8-4 6102236 19.58 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize32-4 6109629 19.41 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size2-4 6636169 18.19 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size8-4 6118828 19.48 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size32-4 6133723 19.54 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize2-4 6593383 18.15 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize8-4 6131494 19.60 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize32-4 6132835 19.69 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size2-4 6589938 18.21 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size8-4 6498429 18.31 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size32-4 6520114 18.34 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size2-4 6538078 18.23 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size8-4 6547045 18.29 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size32-4 6539115 18.36 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size2-4 6530587 18.23 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size8-4 6524370 18.27 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size32-4 6498907 18.32 ns/op BenchmarkNetpollBreak-4 3441 30521 ns/op BenchmarkPinnerPinUnpinBatch-4 936 114679 ns/op BenchmarkPinnerPinUnpinBatchDouble-4 224 524780 ns/op BenchmarkPinnerPinUnpinBatchTiny-4 1052 108499 ns/op BenchmarkPinnerPinUnpin-4 1000000 104.1 ns/op BenchmarkPinnerPinUnpinTiny-4 1000000 104.1 ns/op BenchmarkPinnerPinUnpinDouble-4 444393 270.7 ns/op BenchmarkPinnerPinUnpinParallel-4 3450595 33.36 ns/op BenchmarkPinnerPinUnpinParallelTiny-4 3591849 32.82 ns/op BenchmarkPinnerPinUnpinParallelDouble-4 219462 589.9 ns/op BenchmarkPinnerIsPinnedOnPinned-4 5494612 20.26 ns/op BenchmarkPinnerIsPinnedOnUnpinned-4 5772480 19.86 ns/op BenchmarkPinnerIsPinnedOnPinnedParallel-4 9535664 12.23 ns/op BenchmarkPinnerIsPinnedOnUnpinnedParallel-4 9175940 12.80 ns/op BenchmarkPingPongHog-4 300 401075 ns/op BenchmarkStackGrowth-4 112365 1137 ns/op BenchmarkStackGrowthDeep-4 1134 97530 ns/op BenchmarkCreateGoroutines-4 51379 2212 ns/op BenchmarkCreateGoroutinesParallel-4 46339 2727 ns/op BenchmarkCreateGoroutinesCapture-4 8866 12844 ns/op 144 B/op 5 allocs/op BenchmarkCreateGoroutinesSingle-4 44664 3023 ns/op BenchmarkClosureCall-4 18681889 6.411 ns/op BenchmarkWakeupParallelSpinning/0s-4 5678 18795 ns/op BenchmarkWakeupParallelSpinning/1µs-4 4946 22346 ns/op BenchmarkWakeupParallelSpinning/2µs-4 5072 23343 ns/op BenchmarkWakeupParallelSpinning/5µs-4 3308 36240 ns/op BenchmarkWakeupParallelSpinning/10µs-4 2102 57006 ns/op BenchmarkWakeupParallelSpinning/20µs-4 1280 95085 ns/op BenchmarkWakeupParallelSpinning/50µs-4 583 192135 ns/op BenchmarkWakeupParallelSpinning/100µs-4 385 341915 ns/op BenchmarkWakeupParallelSyscall/0s-4 770 158969 ns/op BenchmarkWakeupParallelSyscall/1µs-4 763 156219 ns/op BenchmarkWakeupParallelSyscall/2µs-4 763 156010 ns/op BenchmarkWakeupParallelSyscall/5µs-4 666 181346 ns/op BenchmarkWakeupParallelSyscall/10µs-4 694 179948 ns/op BenchmarkWakeupParallelSyscall/20µs-4 586 202760 ns/op BenchmarkWakeupParallelSyscall/50µs-4 459 261490 ns/op BenchmarkWakeupParallelSyscall/100µs-4 319 376638 ns/op BenchmarkMatmult-4 3917988 34.94 ns/op BenchmarkFastrand-4 9921224 10.85 ns/op BenchmarkFastrand64-4 10701391 9.557 ns/op BenchmarkFastrandHashiter-4 4646431 25.21 ns/op BenchmarkFastrandn/2-4 6074985 19.82 ns/op BenchmarkFastrandn/3-4 6130792 19.63 ns/op BenchmarkFastrandn/4-4 6234672 19.24 ns/op BenchmarkFastrandn/5-4 5067783 23.67 ns/op BenchmarkIfaceCmp100-4 104320 1148 ns/op BenchmarkIfaceCmpNil100-4 144010 826.6 ns/op BenchmarkEfaceCmpDiff-4 39847 3014 ns/op BenchmarkEfaceCmpDiffIndirect-4 30399 3950 ns/op BenchmarkDefer-4 1664089 72.49 ns/op BenchmarkDefer10-4 826486 147.5 ns/op BenchmarkDeferMany-4 487930 419.1 ns/op BenchmarkPanicRecover-4 184323 647.5 ns/op BenchmarkGoroutineProfile/small-nil/idle-4 7988 17189 ns/op 16718 p50-ns 21160 p90-ns 31810 p99-ns BenchmarkGoroutineProfile/small-nil/loaded-4 8098 19527 ns/op 14835 p50-ns 20363 p90-ns 58559 p99-ns BenchmarkGoroutineProfile/small/idle-4 3127 45921 ns/op 45472 p50-ns 53996 p90-ns 66999 p99-ns BenchmarkGoroutineProfile/small/loaded-4 582 370730 ns/op 125819 p50-ns 291246 p90-ns 5787198 p99-ns BenchmarkGoroutineProfile/large-nil/idle-4 7622 15772 ns/op 15181 p50-ns 19232 p90-ns 27842 p99-ns BenchmarkGoroutineProfile/large-nil/loaded-4 6364 22084 ns/op 14992 p50-ns 21509 p90-ns 116747 p99-ns BenchmarkGoroutineProfile/large/idle-4 13 8254632 ns/op 8219711 p50-ns 8329610 p90-ns 8673354 p99-ns BenchmarkGoroutineProfile/large/loaded-4 8 13481548 ns/op 12871916 p50-ns 20981125 p90-ns 20981125 p99-ns BenchmarkGoroutineProfile/sparse-nil/idle-4 6969 18112 ns/op 17566 p50-ns 21733 p90-ns 32761 p99-ns BenchmarkGoroutineProfile/sparse-nil/loaded-4 5967 21139 ns/op 15313 p50-ns 22676 p90-ns 187837 p99-ns BenchmarkGoroutineProfile/sparse/idle-4 822 128454 ns/op 120352 p50-ns 148572 p90-ns 268680 p99-ns BenchmarkGoroutineProfile/sparse/loaded-4 310 587648 ns/op 233738 p50-ns 408233 p90-ns 14819375 p99-ns BenchmarkRWMutexUncontended-4 3027554 38.33 ns/op BenchmarkRWMutexWrite100-4 597289 199.6 ns/op BenchmarkRWMutexWrite10-4 100495 1328 ns/op BenchmarkRWMutexWorkWrite100-4 470666 256.0 ns/op BenchmarkRWMutexWorkWrite10-4 97322 1395 ns/op BenchmarkSemTable/OneAddrCollision/n=1000-4 1796 65329 ns/op BenchmarkSemTable/ManyAddrCollision/n=1000-4 896 133384 ns/op BenchmarkSemTable/OneAddrCollision/n=2000-4 955 124982 ns/op BenchmarkSemTable/ManyAddrCollision/n=2000-4 426 277389 ns/op BenchmarkSemTable/OneAddrCollision/n=4000-4 468 247816 ns/op BenchmarkSemTable/ManyAddrCollision/n=4000-4 192 595147 ns/op BenchmarkSemTable/OneAddrCollision/n=8000-4 236 500721 ns/op BenchmarkSemTable/ManyAddrCollision/n=8000-4 93 1226816 ns/op BenchmarkMakeSliceCopy/mallocmove/Byte-4 295663 393.6 ns/op BenchmarkMakeSliceCopy/mallocmove/Int-4 257947 391.7 ns/op BenchmarkMakeSliceCopy/mallocmove/Ptr-4 305378 394.0 ns/op BenchmarkMakeSliceCopy/makecopy/Byte-4 333824 376.7 ns/op BenchmarkMakeSliceCopy/makecopy/Int-4 257792 394.6 ns/op BenchmarkMakeSliceCopy/makecopy/Ptr-4 288838 433.2 ns/op BenchmarkMakeSliceCopy/nilappend/Byte-4 271695 381.8 ns/op BenchmarkMakeSliceCopy/nilappend/Int-4 313360 387.9 ns/op BenchmarkMakeSliceCopy/nilappend/Ptr-4 290026 425.6 ns/op BenchmarkMakeSlice/Byte-4 2081773 56.96 ns/op BenchmarkMakeSlice/Int16-4 2141684 57.39 ns/op BenchmarkMakeSlice/Int-4 1469079 75.67 ns/op BenchmarkMakeSlice/Ptr-4 1224226 96.03 ns/op BenchmarkMakeSlice/Struct/24-4 1000000 115.3 ns/op BenchmarkMakeSlice/Struct/32-4 755815 134.0 ns/op BenchmarkMakeSlice/Struct/40-4 669868 160.7 ns/op BenchmarkGrowSlice/Byte-4 893995 143.0 ns/op BenchmarkGrowSlice/Int16-4 790548 158.3 ns/op BenchmarkGrowSlice/Int-4 713187 210.6 ns/op BenchmarkGrowSlice/Ptr-4 484252 265.3 ns/op BenchmarkGrowSlice/Struct/24-4 296635 371.0 ns/op BenchmarkGrowSlice/Struct/32-4 287473 408.4 ns/op BenchmarkGrowSlice/Struct/40-4 196978 522.7 ns/op BenchmarkExtendSlice/IntSlice-4 536336 228.8 ns/op BenchmarkExtendSlice/PointerSlice-4 405960 310.7 ns/op BenchmarkExtendSlice/NoGrow-4 950746 135.4 ns/op BenchmarkAppend-4 774706 150.0 ns/op BenchmarkAppendGrowByte-4 4 32861486 ns/op BenchmarkAppendGrowString-4 1 393484028 ns/op BenchmarkAppendSlice/1Bytes-4 1917657 61.00 ns/op BenchmarkAppendSlice/4Bytes-4 1869010 62.82 ns/op BenchmarkAppendSlice/7Bytes-4 1832253 63.71 ns/op BenchmarkAppendSlice/8Bytes-4 1897315 62.50 ns/op BenchmarkAppendSlice/15Bytes-4 1791756 65.40 ns/op BenchmarkAppendSlice/16Bytes-4 1855980 64.34 ns/op BenchmarkAppendSlice/32Bytes-4 1835109 64.38 ns/op BenchmarkAppendSliceLarge/1024Bytes-4 94080 1191 ns/op BenchmarkAppendSliceLarge/4096Bytes-4 26394 4366 ns/op BenchmarkAppendSliceLarge/16384Bytes-4 9980 15408 ns/op BenchmarkAppendSliceLarge/65536Bytes-4 1951 61320 ns/op BenchmarkAppendSliceLarge/262144Bytes-4 104 1130808 ns/op BenchmarkAppendSliceLarge/1048576Bytes-4 21 5382968 ns/op BenchmarkAppendStr/1Bytes-4 1472138 81.14 ns/op BenchmarkAppendStr/4Bytes-4 1491076 79.31 ns/op BenchmarkAppendStr/8Bytes-4 1467668 79.24 ns/op BenchmarkAppendStr/16Bytes-4 1439803 80.83 ns/op BenchmarkAppendStr/32Bytes-4 1426558 84.48 ns/op BenchmarkAppendSpecialCase-4 757489 158.0 ns/op BenchmarkCopy/1Byte-4 2035824 58.91 ns/op 16.97 MB/s BenchmarkCopy/1String-4 1935318 60.53 ns/op 16.52 MB/s BenchmarkCopy/2Byte-4 1928520 62.26 ns/op 32.12 MB/s BenchmarkCopy/2String-4 1978993 61.56 ns/op 32.49 MB/s BenchmarkCopy/4Byte-4 1923066 61.05 ns/op 65.52 MB/s BenchmarkCopy/4String-4 1931912 61.93 ns/op 64.59 MB/s BenchmarkCopy/8Byte-4 1901358 60.31 ns/op 132.64 MB/s BenchmarkCopy/8String-4 1948033 61.39 ns/op 130.32 MB/s BenchmarkCopy/12Byte-4 1924572 65.41 ns/op 183.44 MB/s BenchmarkCopy/12String-4 1915400 62.92 ns/op 190.73 MB/s BenchmarkCopy/16Byte-4 1929900 62.13 ns/op 257.52 MB/s BenchmarkCopy/16String-4 1880637 63.70 ns/op 251.17 MB/s BenchmarkCopy/32Byte-4 1833828 65.86 ns/op 485.91 MB/s BenchmarkCopy/32String-4 1847764 64.37 ns/op 497.12 MB/s BenchmarkCopy/128Byte-4 1366966 86.78 ns/op 1475.00 MB/s BenchmarkCopy/128String-4 1000000 101.4 ns/op 1261.87 MB/s BenchmarkCopy/1024Byte-4 419240 285.3 ns/op 3588.90 MB/s BenchmarkCopy/1024String-4 358597 334.6 ns/op 3060.03 MB/s BenchmarkAppendInPlace/NoGrow/Byte-4 29031 3996 ns/op BenchmarkAppendInPlace/NoGrow/1Ptr-4 19000 6062 ns/op BenchmarkAppendInPlace/NoGrow/2Ptr-4 13230 9130 ns/op BenchmarkAppendInPlace/NoGrow/3Ptr-4 10000 11537 ns/op BenchmarkAppendInPlace/NoGrow/4Ptr-4 9396 13636 ns/op BenchmarkAppendInPlace/Grow/Byte-4 135960 900.5 ns/op BenchmarkAppendInPlace/Grow/1Ptr-4 138487 819.7 ns/op BenchmarkAppendInPlace/Grow/2Ptr-4 104463 1019 ns/op BenchmarkAppendInPlace/Grow/3Ptr-4 84273 1270 ns/op BenchmarkAppendInPlace/Grow/4Ptr-4 79884 1389 ns/op BenchmarkStackCopyPtr-4 1 169781083 ns/op BenchmarkStackCopy-4 1 109653104 ns/op BenchmarkStackCopyNoCache-4 19 5438868 ns/op BenchmarkStackCopyWithStkobj-4 1 123171180 ns/op BenchmarkIssue18138-4 678 272447 ns/op BenchmarkCompareStringEqual-4 11255409 10.57 ns/op BenchmarkCompareStringIdentical-4 15755583 7.533 ns/op BenchmarkCompareStringSameLength-4 13219419 9.081 ns/op BenchmarkCompareStringDifferentLength-4 18592978 6.402 ns/op BenchmarkCompareStringBigUnaligned-4 1219 93919 ns/op 11164.80 MB/s BenchmarkCompareStringBig-4 1648 94988 ns/op 11039.09 MB/s BenchmarkConcatStringAndBytes-4 2131575 56.62 ns/op BenchmarkSliceByteToString/1-4 2266717 53.03 ns/op BenchmarkSliceByteToString/2-4 1000000 113.7 ns/op BenchmarkSliceByteToString/4-4 1000000 106.5 ns/op BenchmarkSliceByteToString/8-4 1000000 108.3 ns/op BenchmarkSliceByteToString/16-4 1000000 128.2 ns/op BenchmarkSliceByteToString/32-4 1000000 122.7 ns/op BenchmarkSliceByteToString/64-4 764950 139.3 ns/op BenchmarkSliceByteToString/128-4 559238 189.3 ns/op BenchmarkRuneCount/lenruneslice/ASCII-4 2314039 51.78 ns/op BenchmarkRuneCount/lenruneslice/Japanese-4 835064 137.8 ns/op BenchmarkRuneCount/lenruneslice/MixedLength-4 1000000 118.3 ns/op BenchmarkRuneCount/rangeloop/ASCII-4 3221846 36.85 ns/op BenchmarkRuneCount/rangeloop/Japanese-4 1635148 73.83 ns/op BenchmarkRuneCount/rangeloop/MixedLength-4 1850557 65.60 ns/op BenchmarkRuneCount/utf8.RuneCountInString/ASCII-4 2271985 52.68 ns/op BenchmarkRuneCount/utf8.RuneCountInString/Japanese-4 439460 269.0 ns/op BenchmarkRuneCount/utf8.RuneCountInString/MixedLength-4 559855 210.1 ns/op BenchmarkRuneIterate/range/ASCII-4 5691277 20.64 ns/op BenchmarkRuneIterate/range/Japanese-4 2052302 58.09 ns/op BenchmarkRuneIterate/range/MixedLength-4 2258623 51.83 ns/op BenchmarkRuneIterate/range1/ASCII-4 5601900 20.69 ns/op BenchmarkRuneIterate/range1/Japanese-4 2052560 57.56 ns/op BenchmarkRuneIterate/range1/MixedLength-4 2155040 54.32 ns/op BenchmarkRuneIterate/range2/ASCII-4 5686306 20.69 ns/op BenchmarkRuneIterate/range2/Japanese-4 2035140 57.58 ns/op BenchmarkRuneIterate/range2/MixedLength-4 2246996 51.94 ns/op BenchmarkArrayEqual-4 17219743 6.924 ns/op BenchmarkFunc/Name-4 2657644 44.94 ns/op BenchmarkFunc/Entry-4 10540023 11.47 ns/op BenchmarkFunc/FileLine-4 1549078 77.33 ns/op PASS ok runtime 148.213s ##### 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 36906 2918 ns/op BenchmarkHandle/concurrent-4 28146 4467 ns/op PASS ok runtime/cgo 1.323s goos: linux goarch: amd64 pkg: runtime/internal/atomic cpu: AMD EPYC 7B12 BenchmarkAtomicLoad64-4 23824508 4.980 ns/op BenchmarkAtomicStore64-4 21476205 5.006 ns/op BenchmarkAtomicLoad-4 20274177 4.991 ns/op BenchmarkAtomicStore-4 23979525 4.984 ns/op BenchmarkAnd8-4 24091310 5.072 ns/op BenchmarkAnd-4 24082558 5.005 ns/op BenchmarkAnd8Parallel-4 5420773 21.79 ns/op BenchmarkAndParallel-4 6217855 21.50 ns/op BenchmarkOr8-4 23789467 4.981 ns/op BenchmarkOr-4 23946885 4.990 ns/op BenchmarkOr8Parallel-4 5857717 23.17 ns/op BenchmarkOrParallel-4 5958018 20.92 ns/op BenchmarkXadd-4 4886936 23.74 ns/op BenchmarkXadd64-4 5496363 23.14 ns/op BenchmarkCas-4 4099604 26.08 ns/op BenchmarkCas64-4 4672300 25.66 ns/op BenchmarkXchg-4 5818549 22.54 ns/op BenchmarkXchg64-4 5449606 22.82 ns/op PASS ok runtime/internal/atomic 3.583s goos: linux goarch: amd64 pkg: runtime/internal/math cpu: AMD EPYC 7B12 BenchmarkMulUintptr/small-4 5716039 20.90 ns/op BenchmarkMulUintptr/large-4 4484241 27.70 ns/op PASS ok runtime/internal/math 1.308s goos: linux goarch: amd64 pkg: runtime/pprof cpu: AMD EPYC 7B12 BenchmarkGoroutine/Profile.WriteTo_idle_50-4 39 3382206 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_50-4 13 9507119 ns/op 957.4 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_50-4 1027 106748 ns/op 4.215 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_500-4 15 7798495 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_500-4 8 15844455 ns/op 1382 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_500-4 246 488834 ns/op 31.80 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_5000-4 2 51817532 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_5000-4 2 87613726 ns/op 6121 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_5000-4 26 4258957 ns/op 415.2 concurrent_launches/op PASS ok runtime/pprof 2.549s goos: linux goarch: amd64 pkg: runtime/race cpu: AMD EPYC 7B12 BenchmarkSyncLeak-4 39 2620185 ns/op BenchmarkStackLeak-4 24199 4375 ns/op PASS ok runtime/race 1.315s goos: linux goarch: amd64 pkg: runtime/trace cpu: AMD EPYC 7B12 BenchmarkStartRegion-4 6008970 20.45 ns/op 0 B/op 0 allocs/op BenchmarkNewTask-4 557377 187.9 ns/op 64 B/op 2 allocs/op PASS ok runtime/trace 1.367s goos: linux goarch: amd64 pkg: slices cpu: AMD EPYC 7B12 BenchmarkEqualFunc_Large-4 76 1605977 ns/op BenchmarkIndex_Large-4 30530 3889 ns/op BenchmarkIndexFunc_Large-4 139 766166 ns/op BenchmarkCompact/nil-4 9380028 12.52 ns/op BenchmarkCompact/one-4 2502351 49.44 ns/op BenchmarkCompact/sorted-4 1565839 79.86 ns/op BenchmarkCompact/1_item-4 1441401 82.72 ns/op BenchmarkCompact/unsorted-4 1552425 77.85 ns/op BenchmarkCompact/many-4 896090 133.2 ns/op BenchmarkCompact_Large-4 1555 76731 ns/op BenchmarkCompactFunc_Large-4 90 1139172 ns/op BenchmarkReplace/naive-fast-4 149703 848.4 ns/op BenchmarkReplace/optimized-fast-4 174636 672.4 ns/op BenchmarkReplace/naive-slow-4 56925 1985 ns/op BenchmarkReplace/optimized-slow-4 66225 1760 ns/op BenchmarkSortInts-4 2 74790132 ns/op BenchmarkSlicesSortInts-4 3 45865599 ns/op BenchmarkSlicesSortInts_Sorted-4 75 1753445 ns/op BenchmarkSlicesSortInts_Reversed-4 45 2785382 ns/op BenchmarkSortStrings-4 1 106844602 ns/op BenchmarkSlicesSortStrings-4 2 72329818 ns/op BenchmarkSortStructs-4 1 115998271 ns/op BenchmarkSortFuncStructs-4 1 103985733 ns/op BenchmarkBinarySearchFloats/Size16-4 1565437 77.37 ns/op BenchmarkBinarySearchFloats/Size32-4 1339737 97.61 ns/op BenchmarkBinarySearchFloats/Size64-4 1000000 100.8 ns/op BenchmarkBinarySearchFloats/Size128-4 1000000 122.4 ns/op BenchmarkBinarySearchFloats/Size512-4 878232 135.7 ns/op BenchmarkBinarySearchFloats/Size1024-4 818972 146.6 ns/op BenchmarkBinarySearchFuncStruct/Size16-4 767606 160.2 ns/op BenchmarkBinarySearchFuncStruct/Size32-4 659691 185.8 ns/op BenchmarkBinarySearchFuncStruct/Size64-4 559400 217.1 ns/op BenchmarkBinarySearchFuncStruct/Size128-4 482868 244.8 ns/op BenchmarkBinarySearchFuncStruct/Size512-4 411355 326.8 ns/op BenchmarkBinarySearchFuncStruct/Size1024-4 368059 331.4 ns/op PASS ok slices 15.378s ##### 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 164236 693.8 ns/op BenchmarkSortString1K-4 171 720953 ns/op BenchmarkSortString1K_Slice-4 201 593378 ns/op BenchmarkStableString1K-4 100 1199289 ns/op BenchmarkSortInt1K-4 199 566120 ns/op BenchmarkSortInt1K_Sorted-4 3294 37388 ns/op BenchmarkSortInt1K_Reversed-4 1892 59301 ns/op BenchmarkSortInt1K_Mod8-4 548 233873 ns/op BenchmarkStableInt1K-4 129 835784 ns/op BenchmarkStableInt1K_Slice-4 164 741048 ns/op BenchmarkSortInt64K-4 2 52684802 ns/op BenchmarkSortInt64K_Slice-4 3 45594896 ns/op BenchmarkStableInt64K-4 2 72578345 ns/op BenchmarkSort1e2-4 458 261253 ns/op BenchmarkStable1e2-4 174 1068111 ns/op BenchmarkSort1e4-4 2 52936344 ns/op BenchmarkStable1e4-4 1 235259780 ns/op PASS ok sort 4.683s goos: linux goarch: amd64 pkg: strconv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAtof64Decimal-4 834204 140.1 ns/op BenchmarkAtof64Float-4 623548 162.6 ns/op BenchmarkAtof64FloatExp-4 619780 191.3 ns/op BenchmarkAtof64Big-4 439023 271.9 ns/op BenchmarkAtof64RandomBits-4 224006 516.8 ns/op BenchmarkAtof64RandomFloats-4 446803 259.1 ns/op BenchmarkAtof64RandomLongFloats-4 398290 295.5 ns/op BenchmarkAtof32Decimal-4 846954 140.3 ns/op BenchmarkAtof32Float-4 728805 161.2 ns/op BenchmarkAtof32FloatExp-4 607869 193.2 ns/op BenchmarkAtof32Random-4 336231 330.1 ns/op BenchmarkAtof32RandomLong-4 148944 793.8 ns/op BenchmarkParseInt/Pos/7bit-4 1351621 87.58 ns/op BenchmarkParseInt/Pos/26bit-4 588116 194.8 ns/op BenchmarkParseInt/Pos/31bit-4 559833 211.1 ns/op BenchmarkParseInt/Pos/56bit-4 365061 324.8 ns/op BenchmarkParseInt/Pos/63bit-4 340044 346.5 ns/op BenchmarkParseInt/Neg/7bit-4 1360309 86.54 ns/op BenchmarkParseInt/Neg/26bit-4 576226 200.6 ns/op BenchmarkParseInt/Neg/31bit-4 550893 216.5 ns/op BenchmarkParseInt/Neg/56bit-4 369938 319.3 ns/op BenchmarkParseInt/Neg/63bit-4 346093 339.4 ns/op BenchmarkAtoi/Pos/7bit-4 1947997 61.24 ns/op BenchmarkAtoi/Pos/26bit-4 760252 152.5 ns/op BenchmarkAtoi/Pos/31bit-4 723187 162.2 ns/op BenchmarkAtoi/Pos/56bit-4 428592 277.0 ns/op BenchmarkAtoi/Pos/63bit-4 326510 361.1 ns/op BenchmarkAtoi/Neg/7bit-4 1945969 60.96 ns/op BenchmarkAtoi/Neg/26bit-4 785816 145.0 ns/op BenchmarkAtoi/Neg/31bit-4 725031 161.7 ns/op BenchmarkAtoi/Neg/56bit-4 432848 272.7 ns/op BenchmarkAtoi/Neg/63bit-4 324700 355.8 ns/op BenchmarkFormatFloat/Decimal-4 112162 1081 ns/op BenchmarkFormatFloat/Float-4 103525 1157 ns/op BenchmarkFormatFloat/Exp-4 112102 1050 ns/op BenchmarkFormatFloat/NegExp-4 113401 1061 ns/op BenchmarkFormatFloat/LongExp-4 94430 1287 ns/op BenchmarkFormatFloat/Big-4 93505 1320 ns/op BenchmarkFormatFloat/BinaryExp-4 205588 567.4 ns/op BenchmarkFormatFloat/32Integer-4 110432 1052 ns/op BenchmarkFormatFloat/32ExactFraction-4 119074 994.1 ns/op BenchmarkFormatFloat/32Point-4 110409 1100 ns/op BenchmarkFormatFloat/32Exp-4 115645 1071 ns/op BenchmarkFormatFloat/32NegExp-4 114975 1063 ns/op BenchmarkFormatFloat/32Shortest-4 117223 1021 ns/op BenchmarkFormatFloat/32Fixed8Hard-4 134948 904.3 ns/op BenchmarkFormatFloat/32Fixed9Hard-4 134360 904.9 ns/op BenchmarkFormatFloat/64Fixed1-4 153298 779.9 ns/op BenchmarkFormatFloat/64Fixed2-4 145400 773.7 ns/op BenchmarkFormatFloat/64Fixed3-4 146744 779.1 ns/op BenchmarkFormatFloat/64Fixed4-4 153895 777.4 ns/op BenchmarkFormatFloat/64Fixed12-4 86287 1406 ns/op BenchmarkFormatFloat/64Fixed16-4 108177 1071 ns/op BenchmarkFormatFloat/64Fixed12Hard-4 112014 1061 ns/op BenchmarkFormatFloat/64Fixed17Hard-4 101490 1161 ns/op BenchmarkFormatFloat/64Fixed18Hard-4 2259 51132 ns/op BenchmarkFormatFloat/Slowpath64-4 94699 1255 ns/op BenchmarkFormatFloat/SlowpathDenormal64-4 93517 1254 ns/op BenchmarkAppendFloat/Decimal-4 135991 873.1 ns/op BenchmarkAppendFloat/Float-4 121755 975.3 ns/op BenchmarkAppendFloat/Exp-4 138252 879.0 ns/op BenchmarkAppendFloat/NegExp-4 138156 858.4 ns/op BenchmarkAppendFloat/LongExp-4 110758 1059 ns/op BenchmarkAppendFloat/Big-4 108432 1105 ns/op BenchmarkAppendFloat/BinaryExp-4 323682 358.0 ns/op BenchmarkAppendFloat/32Integer-4 136695 872.9 ns/op BenchmarkAppendFloat/32ExactFraction-4 137490 859.3 ns/op BenchmarkAppendFloat/32Point-4 130226 915.6 ns/op BenchmarkAppendFloat/32Exp-4 138363 856.2 ns/op BenchmarkAppendFloat/32NegExp-4 137074 850.2 ns/op BenchmarkAppendFloat/32Shortest-4 154658 767.3 ns/op BenchmarkAppendFloat/32Fixed8Hard-4 174758 677.8 ns/op BenchmarkAppendFloat/32Fixed9Hard-4 170095 716.8 ns/op BenchmarkAppendFloat/64Fixed1-4 196270 610.7 ns/op BenchmarkAppendFloat/64Fixed2-4 196756 603.5 ns/op BenchmarkAppendFloat/64Fixed3-4 193432 607.9 ns/op BenchmarkAppendFloat/64Fixed4-4 197748 602.6 ns/op BenchmarkAppendFloat/64Fixed12-4 103795 1145 ns/op BenchmarkAppendFloat/64Fixed16-4 137722 879.9 ns/op BenchmarkAppendFloat/64Fixed12Hard-4 147070 801.9 ns/op BenchmarkAppendFloat/64Fixed17Hard-4 126283 947.1 ns/op BenchmarkAppendFloat/64Fixed18Hard-4 2391 49292 ns/op BenchmarkAppendFloat/Slowpath64-4 111254 1056 ns/op BenchmarkAppendFloat/SlowpathDenormal64-4 115790 1030 ns/op BenchmarkFormatInt-4 14713 7977 ns/op BenchmarkAppendInt-4 16872 6997 ns/op BenchmarkFormatUint-4 79142 1400 ns/op BenchmarkAppendUint-4 95473 1242 ns/op BenchmarkFormatIntSmall/7-4 2662623 45.18 ns/op BenchmarkFormatIntSmall/42-4 2861298 41.88 ns/op BenchmarkAppendIntSmall-4 1370704 87.34 ns/op BenchmarkAppendUintVarlen/1-4 1296626 91.97 ns/op BenchmarkAppendUintVarlen/12-4 1306336 91.60 ns/op BenchmarkAppendUintVarlen/123-4 943868 121.9 ns/op BenchmarkAppendUintVarlen/1234-4 968275 122.4 ns/op BenchmarkAppendUintVarlen/12345-4 929703 125.0 ns/op BenchmarkAppendUintVarlen/123456-4 933861 125.8 ns/op BenchmarkAppendUintVarlen/1234567-4 911784 129.9 ns/op BenchmarkAppendUintVarlen/12345678-4 916670 129.6 ns/op BenchmarkAppendUintVarlen/123456789-4 880320 132.5 ns/op BenchmarkAppendUintVarlen/1234567890-4 873981 133.8 ns/op BenchmarkAppendUintVarlen/12345678901-4 857942 135.8 ns/op BenchmarkAppendUintVarlen/123456789012-4 849921 135.8 ns/op BenchmarkAppendUintVarlen/1234567890123-4 835035 138.6 ns/op BenchmarkAppendUintVarlen/12345678901234-4 833810 138.8 ns/op BenchmarkAppendUintVarlen/123456789012345-4 786204 142.3 ns/op BenchmarkAppendUintVarlen/1234567890123456-4 794323 141.6 ns/op BenchmarkAppendUintVarlen/12345678901234567-4 790840 146.1 ns/op BenchmarkAppendUintVarlen/123456789012345678-4 795016 146.6 ns/op BenchmarkAppendUintVarlen/1234567890123456789-4 789086 149.6 ns/op BenchmarkAppendUintVarlen/12345678901234567890-4 759943 151.0 ns/op BenchmarkQuote-4 45213 2599 ns/op BenchmarkQuoteRune-4 455592 265.2 ns/op BenchmarkAppendQuote-4 54242 2181 ns/op BenchmarkAppendQuoteRune-4 850564 137.7 ns/op BenchmarkUnquoteEasy-4 1381530 87.93 ns/op BenchmarkUnquoteHard-4 48598 2366 ns/op PASS ok strconv 17.060s goos: linux goarch: amd64 pkg: strings cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkBuildString_Builder/1Write_NoGrow-4 442689 262.5 ns/op 48 B/op 1 allocs/op BenchmarkBuildString_Builder/3Write_NoGrow-4 144739 849.3 ns/op 336 B/op 3 allocs/op BenchmarkBuildString_Builder/3Write_Grow-4 175634 628.7 ns/op 112 B/op 1 allocs/op BenchmarkBuildString_ByteBuffer/1Write_NoGrow-4 272738 382.3 ns/op 112 B/op 2 allocs/op BenchmarkBuildString_ByteBuffer/3Write_NoGrow-4 81805 1339 ns/op 432 B/op 4 allocs/op BenchmarkBuildString_ByteBuffer/3Write_Grow-4 92827 1141 ns/op 336 B/op 3 allocs/op BenchmarkClone-4 695403 183.1 ns/op 48 B/op 1 allocs/op BenchmarkGenericNoMatch-4 21168 5539 ns/op BenchmarkGenericMatch1-4 2133 51921 ns/op BenchmarkGenericMatch2-4 433 276780 ns/op BenchmarkSingleMaxSkipping-4 8200 14454 ns/op 691.83 MB/s BenchmarkSingleLongSuffixFail-4 14229 8362 ns/op 119.82 MB/s BenchmarkSingleMatch-4 248 465609 ns/op 32.22 MB/s BenchmarkByteByteNoMatch-4 72139 1622 ns/op BenchmarkByteByteMatch-4 18504 6313 ns/op BenchmarkByteStringMatch-4 22297 5256 ns/op BenchmarkHTMLEscapeNew-4 72379 1671 ns/op BenchmarkHTMLEscapeOld-4 87658 1348 ns/op BenchmarkByteStringReplacerWriteString-4 1407 79818 ns/op BenchmarkByteReplacerWriteString-4 1546 74892 ns/op BenchmarkByteByteReplaces-4 3603 35123 ns/op BenchmarkByteByteMap-4 9772 11842 ns/op BenchmarkMap/identity/ASCII-4 676138 177.7 ns/op BenchmarkMap/identity/Greek-4 481533 244.7 ns/op BenchmarkMap/change/ASCII-4 38962 3060 ns/op BenchmarkMap/change/Greek-4 29990 3977 ns/op BenchmarkIndexRune-4 2059510 57.48 ns/op BenchmarkIndexRuneLongString-4 1818644 66.38 ns/op BenchmarkIndexRuneFastPath-4 4655182 25.78 ns/op BenchmarkIndex-4 4377261 27.30 ns/op BenchmarkLastIndex-4 5204914 22.97 ns/op BenchmarkIndexByte-4 10463496 11.55 ns/op BenchmarkToUpper/#00-4 3306758 36.15 ns/op BenchmarkToUpper/ONLYUPPER-4 2492745 46.66 ns/op BenchmarkToUpper/abc-4 330464 362.0 ns/op BenchmarkToUpper/AbC123-4 260025 465.6 ns/op BenchmarkToUpper/azAZ09_-4 272138 426.5 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 55813 2161 ns/op BenchmarkToUpper/RENAN_BASTOS_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 72810 1633 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 34477 3464 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 57208 2114 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 125318 951.3 ns/op BenchmarkToLower/#00-4 3224832 36.84 ns/op BenchmarkToLower/abc-4 2839252 41.26 ns/op BenchmarkToLower/AbC123-4 235099 522.2 ns/op BenchmarkToLower/azAZ09_-4 220498 519.7 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 100719 1197 ns/op BenchmarkToLower/renan_bastos_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 67110 1783 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 35359 3387 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 79741 1503 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 117584 1013 ns/op BenchmarkMapNoChanges-4 953206 119.4 ns/op BenchmarkTrim-4 38421 3123 ns/op 0 B/op 0 allocs/op BenchmarkToValidUTF8/Valid-4 3305433 36.12 ns/op BenchmarkToValidUTF8/InvalidASCII-4 193908 600.1 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 124947 904.6 ns/op BenchmarkEqualFold/Tests-4 53528 2277 ns/op BenchmarkEqualFold/ASCII-4 3757545 32.33 ns/op BenchmarkEqualFold/UnicodePrefix-4 107581 1097 ns/op BenchmarkEqualFold/UnicodeSuffix-4 119754 984.1 ns/op BenchmarkIndexHard1-4 837 142439 ns/op BenchmarkIndexHard2-4 590 199497 ns/op BenchmarkIndexHard3-4 150 797744 ns/op BenchmarkIndexHard4-4 183 657793 ns/op BenchmarkLastIndexHard1-4 58 1975565 ns/op BenchmarkLastIndexHard2-4 60 1974810 ns/op BenchmarkLastIndexHard3-4 60 1974307 ns/op BenchmarkCountHard1-4 841 143112 ns/op BenchmarkCountHard2-4 597 200131 ns/op BenchmarkCountHard3-4 148 797710 ns/op BenchmarkIndexTorture-4 7695 15567 ns/op BenchmarkCountTorture-4 7717 15602 ns/op BenchmarkCountTortureOverlapping-4 681 162833 ns/op BenchmarkCountByte/10-4 4369742 26.23 ns/op 381.21 MB/s BenchmarkCountByte/32-4 4079358 28.03 ns/op 1141.56 MB/s BenchmarkCountByte/4096-4 877478 135.8 ns/op 30159.24 MB/s BenchmarkCountByte/4194304-4 672 169703 ns/op 24715.60 MB/s BenchmarkCountByte/67108864-4 19 6170173 ns/op 10876.33 MB/s BenchmarkFields/ASCII/16-4 254522 484.7 ns/op 33.01 MB/s 48 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 21374 5408 ns/op 47.34 MB/s 288 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 1212 95619 ns/op 42.84 MB/s 6144 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 75 1814186 ns/op 36.12 MB/s 98304 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 4 29098765 ns/op 36.04 MB/s 1515520 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 124112 967.7 ns/op 16.53 MB/s 32 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 10100 11589 ns/op 22.09 MB/s 448 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 570 197485 ns/op 20.74 MB/s 21504 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 28 4231097 ns/op 15.49 MB/s 463104 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 2 88183545 ns/op 11.89 MB/s 10457344 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 200272 597.4 ns/op 26.78 MB/s 48 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 19536 5850 ns/op 43.76 MB/s 288 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 937 120204 ns/op 34.08 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 43 2920165 ns/op 22.44 MB/s 463106 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 69598806 ns/op 15.07 MB/s 10457344 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 151092 791.5 ns/op 20.22 MB/s 32 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 13730 8642 ns/op 29.62 MB/s 448 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 766 156481 ns/op 26.18 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 32 3490061 ns/op 18.78 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 2 76884064 ns/op 13.64 MB/s 10457344 B/op 24 allocs/op BenchmarkSplitEmptySeparator-4 1 107500528 ns/op BenchmarkSplitSingleByteSeparator-4 13 8086851 ns/op BenchmarkSplitMultiByteSeparator-4 28 3921667 ns/op BenchmarkSplitNSingleByteSeparator-4 222652 507.1 ns/op BenchmarkSplitNMultiByteSeparator-4 163429 647.2 ns/op BenchmarkRepeat/5x0-4 3427802 33.95 ns/op BenchmarkRepeat/5x1-4 3463723 32.09 ns/op BenchmarkRepeat/5x2-4 265762 456.9 ns/op BenchmarkRepeat/5x6-4 160405 748.5 ns/op BenchmarkRepeat/10x0-4 3335187 34.24 ns/op BenchmarkRepeat/10x1-4 3335388 34.59 ns/op BenchmarkRepeat/10x2-4 251620 475.6 ns/op BenchmarkRepeat/10x6-4 155263 765.4 ns/op BenchmarkRepeatLarge/256/1-4 71845 1533 ns/op 167.04 MB/s BenchmarkRepeatLarge/256/16-4 109394 984.3 ns/op 260.07 MB/s BenchmarkRepeatLarge/512/1-4 52512 1967 ns/op 260.35 MB/s BenchmarkRepeatLarge/512/16-4 76561 1320 ns/op 387.83 MB/s BenchmarkRepeatLarge/1024/1-4 45188 2493 ns/op 410.81 MB/s BenchmarkRepeatLarge/1024/16-4 58068 1873 ns/op 546.66 MB/s BenchmarkRepeatLarge/2048/1-4 32618 3516 ns/op 582.53 MB/s BenchmarkRepeatLarge/2048/16-4 39220 2812 ns/op 728.29 MB/s BenchmarkRepeatLarge/4096/1-4 21956 5205 ns/op 786.95 MB/s BenchmarkRepeatLarge/4096/16-4 23706 4689 ns/op 873.59 MB/s BenchmarkRepeatLarge/8192/1-4 13473 8717 ns/op 939.75 MB/s BenchmarkRepeatLarge/8192/16-4 14384 8251 ns/op 992.89 MB/s BenchmarkRepeatLarge/8192/4097-4 5321196 22.52 ns/op 181937.44 MB/s BenchmarkRepeatLarge/16384/1-4 6950 15787 ns/op 1037.81 MB/s BenchmarkRepeatLarge/16384/16-4 8178 15592 ns/op 1050.81 MB/s BenchmarkRepeatLarge/16384/4097-4 10000 11692 ns/op 1051.20 MB/s BenchmarkRepeatLarge/32768/1-4 4356 27745 ns/op 1181.05 MB/s BenchmarkRepeatLarge/32768/16-4 4540 27184 ns/op 1205.39 MB/s BenchmarkRepeatLarge/32768/4097-4 4858 25262 ns/op 1135.27 MB/s BenchmarkRepeatLarge/65536/1-4 2010 50914 ns/op 1287.19 MB/s BenchmarkRepeatLarge/65536/16-4 2229 55564 ns/op 1179.48 MB/s BenchmarkRepeatLarge/65536/4097-4 2329 50829 ns/op 1209.05 MB/s BenchmarkRepeatLarge/131072/1-4 226 513435 ns/op 255.28 MB/s BenchmarkRepeatLarge/131072/16-4 216 520329 ns/op 251.90 MB/s BenchmarkRepeatLarge/131072/4097-4 228 507491 ns/op 250.26 MB/s BenchmarkRepeatLarge/262144/1-4 100 1039499 ns/op 252.18 MB/s BenchmarkRepeatLarge/262144/16-4 100 1032638 ns/op 253.86 MB/s BenchmarkRepeatLarge/262144/4097-4 100 1037515 ns/op 248.78 MB/s BenchmarkRepeatLarge/524288/1-4 62 2059172 ns/op 254.61 MB/s BenchmarkRepeatLarge/524288/16-4 61 2022450 ns/op 259.23 MB/s BenchmarkRepeatLarge/524288/4097-4 51 2060333 ns/op 252.54 MB/s BenchmarkRepeatLarge/1048576/1-4 28 4295920 ns/op 244.09 MB/s BenchmarkRepeatLarge/1048576/16-4 30 4084374 ns/op 256.73 MB/s BenchmarkRepeatLarge/1048576/4097-4 26 4090523 ns/op 255.40 MB/s BenchmarkRepeatLarge/2097152/1-4 14 7777685 ns/op 269.64 MB/s BenchmarkRepeatLarge/2097152/16-4 14 7816117 ns/op 268.31 MB/s BenchmarkRepeatLarge/2097152/4097-4 13 7832651 ns/op 267.29 MB/s BenchmarkRepeatLarge/4194304/1-4 7 15564728 ns/op 269.47 MB/s BenchmarkRepeatLarge/4194304/16-4 7 15921059 ns/op 263.44 MB/s BenchmarkRepeatLarge/4194304/4097-4 7 15857383 ns/op 264.31 MB/s BenchmarkRepeatLarge/8388608/1-4 4 31171603 ns/op 269.11 MB/s BenchmarkRepeatLarge/8388608/16-4 4 31332481 ns/op 267.73 MB/s BenchmarkRepeatLarge/8388608/4097-4 4 33266444 ns/op 252.10 MB/s BenchmarkRepeatLarge/16777216/1-4 2 61785234 ns/op 271.54 MB/s BenchmarkRepeatLarge/16777216/16-4 2 60037882 ns/op 279.44 MB/s BenchmarkRepeatLarge/16777216/4097-4 2 61315458 ns/op 273.62 MB/s BenchmarkRepeatLarge/33554432/1-4 1 118977129 ns/op 282.02 MB/s BenchmarkRepeatLarge/33554432/16-4 1 116037832 ns/op 289.17 MB/s BenchmarkRepeatLarge/33554432/4097-4 1 118661043 ns/op 282.78 MB/s BenchmarkRepeatLarge/67108864/1-4 1 246429732 ns/op 272.32 MB/s BenchmarkRepeatLarge/67108864/16-4 1 235547748 ns/op 284.91 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 238020553 ns/op 281.95 MB/s BenchmarkRepeatLarge/134217728/1-4 1 476445048 ns/op 281.71 MB/s BenchmarkRepeatLarge/134217728/16-4 1 470283479 ns/op 285.40 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 462486964 ns/op 290.21 MB/s BenchmarkRepeatLarge/268435456/1-4 1 946653038 ns/op 283.56 MB/s BenchmarkRepeatLarge/268435456/16-4 1 960294287 ns/op 279.53 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 946862459 ns/op 283.50 MB/s BenchmarkRepeatLarge/536870912/1-4 1 1890406227 ns/op 284.00 MB/s BenchmarkRepeatLarge/536870912/16-4 1 1823778112 ns/op 294.37 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 1864120520 ns/op 288.00 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 3702912746 ns/op 289.97 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 3610431328 ns/op 297.40 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 3699075962 ns/op 290.27 MB/s BenchmarkIndexAnyASCII/1:1-4 2056418 56.21 ns/op BenchmarkIndexAnyASCII/1:2-4 2180811 52.33 ns/op BenchmarkIndexAnyASCII/1:4-4 2136085 52.55 ns/op BenchmarkIndexAnyASCII/1:8-4 2172200 52.68 ns/op BenchmarkIndexAnyASCII/1:16-4 2179083 52.14 ns/op BenchmarkIndexAnyASCII/1:32-4 2131701 54.12 ns/op BenchmarkIndexAnyASCII/1:64-4 2115744 53.63 ns/op BenchmarkIndexAnyASCII/16:1-4 2148013 52.56 ns/op BenchmarkIndexAnyASCII/16:2-4 798351 149.9 ns/op BenchmarkIndexAnyASCII/16:4-4 769966 153.7 ns/op BenchmarkIndexAnyASCII/16:8-4 735248 161.0 ns/op BenchmarkIndexAnyASCII/16:16-4 695852 172.1 ns/op BenchmarkIndexAnyASCII/16:32-4 604309 200.5 ns/op BenchmarkIndexAnyASCII/16:64-4 491269 245.5 ns/op BenchmarkIndexAnyASCII/256:1-4 1879993 59.94 ns/op BenchmarkIndexAnyASCII/256:2-4 74364 1607 ns/op BenchmarkIndexAnyASCII/256:4-4 73347 1616 ns/op BenchmarkIndexAnyASCII/256:8-4 73514 1627 ns/op BenchmarkIndexAnyASCII/256:16-4 73507 1637 ns/op BenchmarkIndexAnyASCII/256:32-4 71719 1669 ns/op BenchmarkIndexAnyASCII/256:64-4 69178 1720 ns/op BenchmarkIndexAnyUTF8/1:1-4 2052147 54.42 ns/op BenchmarkIndexAnyUTF8/1:2-4 2094036 52.77 ns/op BenchmarkIndexAnyUTF8/1:4-4 2123828 52.88 ns/op BenchmarkIndexAnyUTF8/1:8-4 2138397 52.43 ns/op BenchmarkIndexAnyUTF8/1:16-4 2121099 52.56 ns/op BenchmarkIndexAnyUTF8/1:32-4 2064823 54.54 ns/op BenchmarkIndexAnyUTF8/1:64-4 2072643 54.56 ns/op BenchmarkIndexAnyUTF8/16:1-4 1688983 69.06 ns/op BenchmarkIndexAnyUTF8/16:2-4 322876 356.5 ns/op BenchmarkIndexAnyUTF8/16:4-4 321333 365.1 ns/op BenchmarkIndexAnyUTF8/16:8-4 325436 360.6 ns/op BenchmarkIndexAnyUTF8/16:16-4 318648 370.8 ns/op BenchmarkIndexAnyUTF8/16:32-4 306435 381.8 ns/op BenchmarkIndexAnyUTF8/16:64-4 313234 377.4 ns/op BenchmarkIndexAnyUTF8/256:1-4 384118 310.7 ns/op BenchmarkIndexAnyUTF8/256:2-4 24624 4700 ns/op BenchmarkIndexAnyUTF8/256:4-4 24585 4755 ns/op BenchmarkIndexAnyUTF8/256:8-4 25468 4738 ns/op BenchmarkIndexAnyUTF8/256:16-4 23930 4990 ns/op BenchmarkIndexAnyUTF8/256:32-4 22758 5228 ns/op BenchmarkIndexAnyUTF8/256:64-4 23348 5137 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2013716 57.18 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2034046 53.09 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2066419 54.45 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2065528 53.99 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2067027 53.28 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2068190 54.91 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2072830 54.06 ns/op BenchmarkLastIndexAnyASCII/16:1-4 790636 146.0 ns/op BenchmarkLastIndexAnyASCII/16:2-4 757345 146.1 ns/op BenchmarkLastIndexAnyASCII/16:4-4 750421 150.3 ns/op BenchmarkLastIndexAnyASCII/16:8-4 710698 157.3 ns/op BenchmarkLastIndexAnyASCII/16:16-4 699378 166.6 ns/op BenchmarkLastIndexAnyASCII/16:32-4 598515 195.5 ns/op BenchmarkLastIndexAnyASCII/16:64-4 486885 241.5 ns/op BenchmarkLastIndexAnyASCII/256:1-4 77635 1533 ns/op BenchmarkLastIndexAnyASCII/256:2-4 77516 1531 ns/op BenchmarkLastIndexAnyASCII/256:4-4 73836 1538 ns/op BenchmarkLastIndexAnyASCII/256:8-4 77834 1545 ns/op BenchmarkLastIndexAnyASCII/256:16-4 77646 1552 ns/op BenchmarkLastIndexAnyASCII/256:32-4 74714 1583 ns/op BenchmarkLastIndexAnyASCII/256:64-4 73419 1638 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2060768 56.89 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2148373 54.22 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2112612 54.27 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2132937 53.83 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2142649 54.09 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2120967 54.45 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2113316 54.23 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 377930 305.6 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 194478 608.7 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 192198 613.9 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 194126 607.6 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 186212 637.1 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 176245 663.2 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 169478 693.6 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 29290 4078 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 13639 8804 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 13332 8995 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 13651 8777 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 12673 9492 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 12231 9884 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 10000 10098 ns/op BenchmarkTrimASCII/1:1-4 3190002 37.59 ns/op BenchmarkTrimASCII/1:2-4 2475621 48.00 ns/op BenchmarkTrimASCII/1:4-4 2344952 50.01 ns/op BenchmarkTrimASCII/1:8-4 2112702 56.52 ns/op BenchmarkTrimASCII/1:16-4 1758404 67.36 ns/op BenchmarkTrimASCII/16:1-4 2743513 44.13 ns/op BenchmarkTrimASCII/16:2-4 799866 146.2 ns/op BenchmarkTrimASCII/16:4-4 763952 149.0 ns/op BenchmarkTrimASCII/16:8-4 746625 156.5 ns/op BenchmarkTrimASCII/16:16-4 703689 168.4 ns/op BenchmarkTrimASCII/256:1-4 812528 146.1 ns/op BenchmarkTrimASCII/256:2-4 78102 1528 ns/op BenchmarkTrimASCII/256:4-4 78336 1537 ns/op BenchmarkTrimASCII/256:8-4 77103 1539 ns/op BenchmarkTrimASCII/256:16-4 76570 1547 ns/op BenchmarkTrimASCII/4096:1-4 75429 1589 ns/op BenchmarkTrimASCII/4096:2-4 5053 23475 ns/op BenchmarkTrimASCII/4096:4-4 4911 23524 ns/op BenchmarkTrimASCII/4096:8-4 5016 23495 ns/op BenchmarkTrimASCII/4096:16-4 4904 23599 ns/op BenchmarkTrimByte-4 4588214 25.96 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 13413 8917 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 13398 8960 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 1106 107581 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 2263 52480 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 4376 26302 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 7701 14853 ns/op BenchmarkJoin/0-4 5281684 21.42 ns/op 0 B/op 0 allocs/op BenchmarkJoin/1-4 3649268 32.43 ns/op 0 B/op 0 allocs/op BenchmarkJoin/2-4 206547 591.8 ns/op 16 B/op 1 allocs/op BenchmarkJoin/3-4 138942 850.3 ns/op 24 B/op 1 allocs/op BenchmarkJoin/4-4 103681 1153 ns/op 48 B/op 1 allocs/op BenchmarkJoin/5-4 84855 1419 ns/op 48 B/op 1 allocs/op BenchmarkJoin/6-4 72201 1682 ns/op 64 B/op 1 allocs/op BenchmarkJoin/7-4 61736 1959 ns/op 64 B/op 1 allocs/op BenchmarkTrimSpace/NoTrim-4 2647161 45.49 ns/op BenchmarkTrimSpace/ASCII-4 1548841 77.11 ns/op BenchmarkTrimSpace/SomeNonASCII-4 144694 815.5 ns/op BenchmarkTrimSpace/JustNonASCII-4 76831 1557 ns/op BenchmarkReplaceAll-4 124125 969.4 ns/op 16 B/op 1 allocs/op PASS ok strings 67.073s goos: linux goarch: amd64 pkg: sync cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCond1-4 51930 2151 ns/op BenchmarkCond2-4 24025 4819 ns/op BenchmarkCond4-4 17330 7114 ns/op BenchmarkCond8-4 8510 16446 ns/op BenchmarkCond16-4 4066 32270 ns/op BenchmarkCond32-4 1450 71020 ns/op BenchmarkLoadMostlyHits/*sync_test.DeepCopyMap-4 418140 370.9 ns/op BenchmarkLoadMostlyHits/*sync_test.RWMutexMap-4 259809 408.8 ns/op BenchmarkLoadMostlyHits/*sync.Map-4 460375 227.5 ns/op BenchmarkLoadMostlyMisses/*sync_test.DeepCopyMap-4 363238 275.9 ns/op BenchmarkLoadMostlyMisses/*sync_test.RWMutexMap-4 265429 485.8 ns/op BenchmarkLoadMostlyMisses/*sync.Map-4 642998 244.9 ns/op BenchmarkLoadOrStoreBalanced/*sync_test.RWMutexMap-4 78090 1877 ns/op BenchmarkLoadOrStoreBalanced/*sync.Map-4 68560 2118 ns/op BenchmarkLoadOrStoreUnique/*sync_test.RWMutexMap-4 53308 2867 ns/op BenchmarkLoadOrStoreUnique/*sync.Map-4 37766 3536 ns/op BenchmarkLoadOrStoreCollision/*sync_test.DeepCopyMap-4 442226 267.1 ns/op BenchmarkLoadOrStoreCollision/*sync_test.RWMutexMap-4 160051 759.4 ns/op BenchmarkLoadOrStoreCollision/*sync.Map-4 438284 249.6 ns/op BenchmarkLoadAndDeleteBalanced/*sync_test.RWMutexMap-4 128541 885.2 ns/op BenchmarkLoadAndDeleteBalanced/*sync.Map-4 449524 245.1 ns/op BenchmarkLoadAndDeleteUnique/*sync_test.RWMutexMap-4 157441 751.6 ns/op BenchmarkLoadAndDeleteUnique/*sync.Map-4 1717977 61.22 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.DeepCopyMap-4 37237 2987 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.RWMutexMap-4 99573 1314 ns/op BenchmarkLoadAndDeleteCollision/*sync.Map-4 208966 487.8 ns/op BenchmarkRange/*sync_test.DeepCopyMap-4 6426 17605 ns/op BenchmarkRange/*sync_test.RWMutexMap-4 278 458544 ns/op BenchmarkRange/*sync.Map-4 1134 93933 ns/op BenchmarkAdversarialAlloc/*sync_test.DeepCopyMap-4 131064 1753 ns/op BenchmarkAdversarialAlloc/*sync_test.RWMutexMap-4 189434 654.8 ns/op BenchmarkAdversarialAlloc/*sync.Map-4 58111 2014 ns/op BenchmarkAdversarialDelete/*sync_test.DeepCopyMap-4 106071 1166 ns/op BenchmarkAdversarialDelete/*sync_test.RWMutexMap-4 210082 586.1 ns/op BenchmarkAdversarialDelete/*sync.Map-4 147076 940.7 ns/op BenchmarkDeleteCollision/*sync_test.DeepCopyMap-4 53000 1949 ns/op BenchmarkDeleteCollision/*sync_test.RWMutexMap-4 145831 733.5 ns/op BenchmarkDeleteCollision/*sync.Map-4 474942 239.6 ns/op BenchmarkSwapCollision/*sync_test.DeepCopyMap-4 45087 2526 ns/op BenchmarkSwapCollision/*sync_test.RWMutexMap-4 131965 976.8 ns/op BenchmarkSwapCollision/*sync.Map-4 62725 1865 ns/op BenchmarkSwapMostlyHits/*sync_test.DeepCopyMap-4 253 469826 ns/op BenchmarkSwapMostlyHits/*sync_test.RWMutexMap-4 96121 1323 ns/op BenchmarkSwapMostlyHits/*sync.Map-4 267378 396.9 ns/op BenchmarkSwapMostlyMisses/*sync_test.DeepCopyMap-4 20740 5769 ns/op BenchmarkSwapMostlyMisses/*sync_test.RWMutexMap-4 56095 2066 ns/op BenchmarkSwapMostlyMisses/*sync.Map-4 19407 6186 ns/op BenchmarkCompareAndSwapCollision/*sync_test.DeepCopyMap-4 277238 402.9 ns/op BenchmarkCompareAndSwapCollision/*sync_test.RWMutexMap-4 95984 1304 ns/op BenchmarkCompareAndSwapCollision/*sync.Map-4 158044 793.5 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.DeepCopyMap-4 1650644 70.84 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.RWMutexMap-4 148089 764.0 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync.Map-4 1618574 64.03 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.DeepCopyMap-4 536455 318.7 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.RWMutexMap-4 152322 906.4 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync.Map-4 466849 246.9 ns/op BenchmarkCompareAndSwapMostlyHits/*sync_test.RWMutexMap-4 89604 1431 ns/op BenchmarkCompareAndSwapMostlyHits/*sync.Map-4 278656 430.6 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.DeepCopyMap-4 390998 289.2 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.RWMutexMap-4 111694 1141 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync.Map-4 494553 259.7 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.DeepCopyMap-4 116408 929.2 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.RWMutexMap-4 98518 1390 ns/op BenchmarkCompareAndDeleteCollision/*sync.Map-4 155086 757.3 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync_test.RWMutexMap-4 52842 2247 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync.Map-4 173010 602.6 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.DeepCopyMap-4 398752 261.7 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.RWMutexMap-4 111517 1098 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync.Map-4 467740 220.2 ns/op BenchmarkUncontendedSemaphore-4 3378516 35.40 ns/op BenchmarkContendedSemaphore-4 3147063 38.83 ns/op BenchmarkMutexUncontended-4 984339 173.7 ns/op BenchmarkMutex-4 129002 887.0 ns/op BenchmarkMutexSlack-4 120168 929.4 ns/op BenchmarkMutexWork-4 133594 1043 ns/op BenchmarkMutexWorkSlack-4 120477 1122 ns/op BenchmarkMutexNoSpin-4 52272 2322 ns/op BenchmarkMutexSpin-4 52144 2323 ns/op BenchmarkOnce-4 486318 236.0 ns/op BenchmarkOnceFunc/v=Once-4 1000000 106.2 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Global-4 925119 128.8 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Local-4 950415 124.1 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Once-4 1000000 110.9 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Global-4 791358 143.4 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Local-4 886057 139.9 ns/op 0 B/op 0 allocs/op BenchmarkSemaUncontended-4 5278167 21.63 ns/op BenchmarkSemaSyntNonblock-4 1000000 101.3 ns/op BenchmarkSemaSyntBlock-4 1000000 102.7 ns/op BenchmarkSemaWorkNonblock-4 852770 143.1 ns/op BenchmarkSemaWorkBlock-4 820554 137.0 ns/op BenchmarkRWMutexUncontended-4 393494 331.8 ns/op BenchmarkRWMutexWrite100-4 251870 453.3 ns/op BenchmarkRWMutexWrite10-4 238344 544.6 ns/op BenchmarkRWMutexWorkWrite100-4 206952 561.1 ns/op BenchmarkRWMutexWorkWrite10-4 160650 680.9 ns/op BenchmarkWaitGroupUncontended-4 781303 138.0 ns/op BenchmarkWaitGroupAddDone-4 301492 346.4 ns/op BenchmarkWaitGroupAddDoneWork-4 240109 511.3 ns/op BenchmarkWaitGroupWait-4 4452321 26.23 ns/op BenchmarkWaitGroupWaitWork-4 3060534 38.37 ns/op BenchmarkWaitGroupActuallyWait-4 34552 3212 ns/op 32 B/op 2 allocs/op PASS ok sync 19.825s ##### 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 1234008 108.0 ns/op PASS ok sync/atomic 1.243s ##### 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.017s goos: linux goarch: amd64 pkg: testing cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkTBHelper-4 92898 1263 ns/op 0 B/op 0 allocs/op PASS ok testing 1.151s goos: linux goarch: amd64 pkg: text/tabwriter cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkTable/1x10/new-4 7622 14466 ns/op 1520 B/op 21 allocs/op BenchmarkTable/1x10/reuse-4 11516 10392 ns/op 0 B/op 0 allocs/op BenchmarkTable/1x1000/new-4 94 1219105 ns/op 129392 B/op 1025 allocs/op BenchmarkTable/1x1000/reuse-4 122 971019 ns/op 1060 B/op 8 allocs/op BenchmarkTable/1x100000/new-4 1 186861950 ns/op 19393008 B/op 100057 allocs/op BenchmarkTable/1x100000/reuse-4 1 183482548 ns/op 19393104 B/op 100058 allocs/op BenchmarkTable/10x10/new-4 1792 66626 ns/op 5056 B/op 31 allocs/op BenchmarkTable/10x10/reuse-4 2010 55799 ns/op 2 B/op 0 allocs/op BenchmarkTable/10x1000/new-4 18 6091360 ns/op 413568 B/op 1039 allocs/op BenchmarkTable/10x1000/reuse-4 19 5464621 ns/op 21766 B/op 54 allocs/op BenchmarkTable/10x100000/new-4 1 736703165 ns/op 48120800 B/op 100074 allocs/op BenchmarkTable/10x100000/reuse-4 1 733843161 ns/op 48120704 B/op 100073 allocs/op BenchmarkTable/100x10/new-4 216 558763 ns/op 39296 B/op 41 allocs/op BenchmarkTable/100x10/reuse-4 234 495879 ns/op 167 B/op 0 allocs/op BenchmarkTable/100x1000/new-4 2 61481345 ns/op 3288960 B/op 1053 allocs/op BenchmarkTable/100x1000/reuse-4 2 58459672 ns/op 1644480 B/op 526 allocs/op BenchmarkTable/100x100000/new-4 1 7083481599 ns/op 335149952 B/op 100089 allocs/op BenchmarkTable/100x100000/reuse-4 1 6969570949 ns/op 335149952 B/op 100089 allocs/op BenchmarkPyramid/10-4 2772 43435 ns/op 4872 B/op 35 allocs/op BenchmarkPyramid/100-4 39 2977377 ns/op 409128 B/op 230 allocs/op BenchmarkPyramid/1000-4 1 325537186 ns/op 35625256 B/op 2055 allocs/op BenchmarkRagged/10-4 2587 46595 ns/op 4512 B/op 34 allocs/op BenchmarkRagged/100-4 267 437427 ns/op 41008 B/op 188 allocs/op BenchmarkRagged/1000-4 27 4445669 ns/op 427424 B/op 1661 allocs/op BenchmarkCode-4 7615 15319 ns/op 624 B/op 13 allocs/op PASS ok text/tabwriter 20.116s goos: linux goarch: amd64 pkg: text/template/parse cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkParseLarge-4 2 77676642 ns/op BenchmarkVariableString-4 97286 1203 ns/op 80 B/op 3 allocs/op BenchmarkListString-4 2049 56152 ns/op 2515 B/op 39 allocs/op PASS ok text/template/parse 1.518s goos: linux goarch: amd64 pkg: time cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAfterFunc-4 34 3353918 ns/op BenchmarkAfter-4 109 1161603 ns/op BenchmarkStop-4 195 610315 ns/op BenchmarkSimultaneousAfterFunc-4 26 4161785 ns/op BenchmarkStartStop-4 196 637342 ns/op BenchmarkReset-4 2602 59371 ns/op BenchmarkSleep-4 34 3550077 ns/op BenchmarkParallelTimerLatency-4 50 244234 avg-late-ns 2040713 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=1-4 36 322916 avg-late-ns 824929 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=2-4 33 359548 avg-late-ns 1220848 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=3-4 34 407083 avg-late-ns 1950772 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=4-4 33 412574 avg-late-ns 2387649 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=5-4 31 329115 avg-late-ns 1468988 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=6-4 27 332688 avg-late-ns 1567556 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=7-4 28 337817 avg-late-ns 2950953 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=8-4 27 270461 avg-late-ns 2087158 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=9-4 26 318657 avg-late-ns 1565416 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=10-4 26 844435 avg-late-ns 5113217 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=2ms/tickers-per-P=1-4 34 294361 avg-late-ns 1002695 max-late-ns BenchmarkTicker-4 330 410857 ns/op BenchmarkTickerReset-4 3920 30675 ns/op BenchmarkTickerResetNaive-4 168 663217 ns/op BenchmarkNow-4 1000000 102.3 ns/op BenchmarkNowUnixNano-4 1000000 102.0 ns/op BenchmarkNowUnixMilli-4 1000000 102.8 ns/op BenchmarkNowUnixMicro-4 1000000 103.1 ns/op BenchmarkFormat-4 59412 2006 ns/op BenchmarkFormatRFC3339-4 80684 1500 ns/op BenchmarkFormatRFC3339Nano-4 78922 1525 ns/op BenchmarkFormatNow-4 81193 1455 ns/op BenchmarkMarshalJSON-4 107912 1137 ns/op BenchmarkMarshalText-4 110234 1085 ns/op BenchmarkParse-4 141528 833.9 ns/op BenchmarkParseRFC3339UTC-4 335074 354.6 ns/op BenchmarkParseRFC3339UTCBytes-4 220213 547.5 ns/op BenchmarkParseRFC3339TZ-4 101041 1177 ns/op BenchmarkParseRFC3339TZBytes-4 78914 1527 ns/op BenchmarkParseDuration-4 518530 225.6 ns/op BenchmarkHour-4 842017 138.7 ns/op BenchmarkSecond-4 846859 137.5 ns/op BenchmarkYear-4 637156 184.0 ns/op BenchmarkDay-4 595431 200.4 ns/op BenchmarkISOWeek-4 630902 188.5 ns/op BenchmarkGoString-4 77792 1513 ns/op BenchmarkUnmarshalText-4 68901 1734 ns/op PASS ok time 12.429s goos: linux goarch: amd64 pkg: unicode/utf16 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecodeValidASCII-4 624043 179.9 ns/op BenchmarkDecodeValidJapaneseChars-4 716356 151.3 ns/op BenchmarkDecodeRune-4 1669022 71.35 ns/op BenchmarkEncodeValidASCII-4 509992 200.4 ns/op BenchmarkEncodeValidJapaneseChars-4 874782 139.7 ns/op BenchmarkAppendRuneValidASCII-4 1590824 74.84 ns/op BenchmarkAppendRuneValidJapaneseChars-4 2419153 49.52 ns/op BenchmarkEncodeRune-4 2888655 40.30 ns/op PASS ok unicode/utf16 2.212s goos: linux goarch: amd64 pkg: unicode/utf8 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRuneCountTenASCIIChars-4 807906 142.7 ns/op BenchmarkRuneCountTenJapaneseChars-4 168105 680.6 ns/op BenchmarkRuneCountInStringTenASCIIChars-4 3711264 31.82 ns/op BenchmarkRuneCountInStringTenJapaneseChars-4 420308 283.9 ns/op BenchmarkValidTenASCIIChars-4 833924 137.2 ns/op BenchmarkValid100KASCIIChars-4 91 1295211 ns/op BenchmarkValidTenJapaneseChars-4 153637 763.5 ns/op BenchmarkValidLongMostlyASCII-4 85 1399710 ns/op BenchmarkValidLongJapanese-4 48 2226811 ns/op BenchmarkValidStringTenASCIIChars-4 4486491 26.66 ns/op BenchmarkValidString100KASCIIChars-4 9504 12669 ns/op BenchmarkValidStringTenJapaneseChars-4 409692 259.6 ns/op BenchmarkValidStringLongMostlyASCII-4 1230 97006 ns/op BenchmarkValidStringLongJapanese-4 157 764567 ns/op BenchmarkEncodeASCIIRune-4 4320168 27.46 ns/op BenchmarkEncodeJapaneseRune-4 2443915 48.63 ns/op BenchmarkAppendASCIIRune-4 8739693 12.59 ns/op BenchmarkAppendJapaneseRune-4 2857182 41.70 ns/op BenchmarkDecodeASCIIRune-4 2839143 40.71 ns/op BenchmarkDecodeJapaneseRune-4 1923960 61.50 ns/op BenchmarkFullRune/ASCII-4 3356025 35.67 ns/op BenchmarkFullRune/Incomplete-4 1560214 76.83 ns/op BenchmarkFullRune/Japanese-4 3463809 34.58 ns/op PASS ok unicode/utf8 4.570s goos: linux goarch: amd64 pkg: cmd/api cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAll-4 1 70016838868 ns/op PASS ok cmd/api 71.188s goos: linux goarch: amd64 pkg: cmd/cgo/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCgoCall/add-int-4 356886 310.4 ns/op BenchmarkCgoCall/one-pointer-4 316772 363.5 ns/op BenchmarkCgoCall/eight-pointers-4 173402 690.0 ns/op BenchmarkCgoCall/eight-pointers-nil-4 317042 360.7 ns/op BenchmarkCgoCall/eight-pointers-array-4 16419 7132 ns/op BenchmarkCgoCall/eight-pointers-slice-4 31856 3662 ns/op BenchmarkGoString-4 1000000 105.9 ns/op BenchmarkCGoCallback-4 45877 2484 ns/op BenchmarkCGoInCThread-4 283231 401.2 ns/op PASS ok cmd/cgo/internal/test 2.241s goos: linux goarch: amd64 pkg: cmd/compile/internal/reflectdata cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEqArrayOfStrings5-4 1213989 97.87 ns/op BenchmarkEqArrayOfStrings64-4 156652 751.9 ns/op BenchmarkEqArrayOfStrings1024-4 9403 11241 ns/op BenchmarkEqArrayOfFloats5-4 1388088 85.35 ns/op BenchmarkEqArrayOfFloats64-4 142822 844.0 ns/op BenchmarkEqArrayOfFloats1024-4 9202 12574 ns/op BenchmarkEqArrayOfStructsEq-4 2764 43230 ns/op BenchmarkEqArrayOfStructsNotEq-4 4924 23745 ns/op BenchmarkEqStruct-4 17785755 6.761 ns/op PASS ok cmd/compile/internal/reflectdata 2.330s goos: linux goarch: amd64 pkg: cmd/compile/internal/ssa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPhioptPass-4 10000 61281 ns/op BenchmarkCopyElim1-4 730 166100 ns/op BenchmarkCopyElim10-4 597 189857 ns/op BenchmarkCopyElim100-4 316 368171 ns/op BenchmarkCopyElim1000-4 51 2212976 ns/op BenchmarkCopyElim10000-4 3 42826839 ns/op BenchmarkCopyElim100000-4 1 694677879 ns/op BenchmarkDeadCode/1-4 571 205050 ns/op BenchmarkDeadCode/10-4 524 238773 ns/op BenchmarkDeadCode/100-4 228 511340 ns/op BenchmarkDeadCode/1000-4 39 2783672 ns/op BenchmarkDeadCode/10000-4 3 35032029 ns/op BenchmarkDeadCode/100000-4 1 450336252 ns/op BenchmarkDeadCode/200000-4 1 933540122 ns/op BenchmarkDominatorsLinear-4 13 8980757 ns/op 1.11 MB/s BenchmarkDominatorsFwdBack-4 9 13726119 ns/op 0.73 MB/s BenchmarkDominatorsManyPred-4 8 13635242 ns/op 0.73 MB/s BenchmarkDominatorsMaxPred-4 9 13114870 ns/op 0.76 MB/s BenchmarkDominatorsMaxPredVal-4 9 12802704 ns/op 0.78 MB/s BenchmarkFuse/1-4 552 211941 ns/op BenchmarkFuse/10-4 397 281973 ns/op BenchmarkFuse/100-4 142 824035 ns/op BenchmarkFuse/1000-4 19 5912842 ns/op BenchmarkFuse/10000-4 2 78723393 ns/op BenchmarkNilCheckDeep1-4 12591 9935 ns/op 0.10 MB/s 237 B/op 4 allocs/op BenchmarkNilCheckDeep10-4 4558 23073 ns/op 0.43 MB/s 232 B/op 4 allocs/op BenchmarkNilCheckDeep100-4 782 151537 ns/op 0.66 MB/s 652 B/op 4 allocs/op BenchmarkNilCheckDeep1000-4 72 1487440 ns/op 0.67 MB/s 5279 B/op 5 allocs/op BenchmarkNilCheckDeep10000-4 6 18308794 ns/op 0.55 MB/s 120514 B/op 6 allocs/op BenchmarkDSEPass-4 32 3647675 ns/op 47327 B/op 7 allocs/op BenchmarkDSEPassBlock-4 1 120612482 ns/op 4278080 B/op 108903 allocs/op BenchmarkCSEPass-4 7 15319858 ns/op 56620 B/op 8 allocs/op BenchmarkCSEPassBlock-4 1 153959861 ns/op 5689744 B/op 97644 allocs/op BenchmarkDeadcodePass-4 174 650433 ns/op 81402 B/op 2 allocs/op BenchmarkDeadcodePassBlock-4 1 130931447 ns/op 4058808 B/op 45097 allocs/op BenchmarkMultiPass-4 62 1701194 ns/op 197164 B/op 10 allocs/op BenchmarkMultiPassBlock-4 1 270436588 ns/op 11212048 B/op 149882 allocs/op BenchmarkCondRewrite/SoloJump-4 3105909 38.59 ns/op BenchmarkCondRewrite/CombJump-4 2861445 41.82 ns/op PASS ok cmd/compile/internal/ssa 15.702s goos: linux goarch: amd64 pkg: cmd/compile/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLoadAdd-4 9568 11621 ns/op BenchmarkExtShift-4 15831 7372 ns/op BenchmarkModify-4 9860 11221 ns/op BenchmarkMullImm-4 17547 6851 ns/op BenchmarkConstModify-4 9746 11522 ns/op BenchmarkBitSet-4 21501 5391 ns/op BenchmarkBitClear-4 21644 5307 ns/op BenchmarkBitToggle-4 21687 5327 ns/op BenchmarkBitSetConst-4 157450 754.3 ns/op BenchmarkBitClearConst-4 161986 743.5 ns/op BenchmarkBitToggleConst-4 161254 734.1 ns/op BenchmarkDivconstI64-4 8725449 11.62 ns/op BenchmarkModconstI64-4 8921052 11.62 ns/op BenchmarkDivisiblePow2constI64-4 8915160 11.41 ns/op BenchmarkDivisibleconstI64-4 10677429 11.21 ns/op BenchmarkDivisibleWDivconstI64-4 7119433 16.83 ns/op BenchmarkDivconstU64/3-4 10494763 11.42 ns/op BenchmarkDivconstU64/5-4 10244086 11.68 ns/op BenchmarkDivconstU64/37-4 10562997 11.32 ns/op BenchmarkDivconstU64/1234567-4 10980140 10.89 ns/op BenchmarkModconstU64-4 9291830 12.04 ns/op BenchmarkDivisibleconstU64-4 10903035 11.01 ns/op BenchmarkDivisibleWDivconstU64-4 7022608 17.07 ns/op BenchmarkDivconstI32-4 10367701 11.57 ns/op BenchmarkModconstI32-4 10871133 11.05 ns/op BenchmarkDivisiblePow2constI32-4 9018574 11.37 ns/op BenchmarkDivisibleconstI32-4 8814127 11.36 ns/op BenchmarkDivisibleWDivconstI32-4 7152496 16.82 ns/op BenchmarkDivconstU32-4 10811464 11.09 ns/op BenchmarkModconstU32-4 8336886 12.32 ns/op BenchmarkDivisibleconstU32-4 9176306 11.23 ns/op BenchmarkDivisibleWDivconstU32-4 7340331 16.33 ns/op BenchmarkDivconstI16-4 10765784 11.12 ns/op BenchmarkModconstI16-4 8686183 11.93 ns/op BenchmarkDivisiblePow2constI16-4 8941503 11.39 ns/op BenchmarkDivisibleconstI16-4 8916304 11.43 ns/op BenchmarkDivisibleWDivconstI16-4 7068452 16.86 ns/op BenchmarkDivconstU16-4 8927431 11.22 ns/op BenchmarkModconstU16-4 10620352 11.35 ns/op BenchmarkDivisibleconstU16-4 10790472 11.10 ns/op BenchmarkDivisibleWDivconstU16-4 7022312 17.17 ns/op BenchmarkDivconstI8-4 10626487 11.32 ns/op BenchmarkModconstI8-4 8396304 11.93 ns/op BenchmarkDivisiblePow2constI8-4 11378282 10.54 ns/op BenchmarkDivisibleconstI8-4 9199587 11.46 ns/op BenchmarkDivisibleWDivconstI8-4 7341793 16.33 ns/op BenchmarkDivconstU8-4 9046420 11.32 ns/op BenchmarkModconstU8-4 10548205 11.36 ns/op BenchmarkDivisibleconstU8-4 10879804 11.00 ns/op BenchmarkDivisibleWDivconstU8-4 6703070 17.78 ns/op BenchmarkMul2-4 166498 721.3 ns/op BenchmarkMulNeg2-4 165372 728.9 ns/op BenchmarkEfaceInteger-4 4307026 26.38 ns/op BenchmarkDiv64UnsignedSmall-4 6772329 15.52 ns/op BenchmarkDiv64Small-4 6186298 17.44 ns/op BenchmarkDiv64SmallNegDivisor-4 5969502 18.49 ns/op BenchmarkDiv64SmallNegDividend-4 6255573 17.38 ns/op BenchmarkDiv64SmallNegBoth-4 5916370 18.01 ns/op BenchmarkDiv64Unsigned-4 6725120 15.90 ns/op BenchmarkDiv64-4 6134305 18.69 ns/op BenchmarkDiv64NegDivisor-4 6126123 18.23 ns/op BenchmarkDiv64NegDividend-4 6079908 18.33 ns/op BenchmarkDiv64NegBoth-4 6126271 18.20 ns/op BenchmarkMod64UnsignedSmall-4 6988962 15.20 ns/op BenchmarkMod64Small-4 6257576 17.15 ns/op BenchmarkMod64SmallNegDivisor-4 5970744 18.38 ns/op BenchmarkMod64SmallNegDividend-4 6099597 17.13 ns/op BenchmarkMod64SmallNegBoth-4 5992424 17.61 ns/op BenchmarkMod64Unsigned-4 6915762 15.65 ns/op BenchmarkMod64-4 6151701 17.91 ns/op BenchmarkMod64NegDivisor-4 6050614 17.75 ns/op BenchmarkMod64NegDividend-4 6133212 17.83 ns/op BenchmarkMod64NegBoth-4 6121174 17.99 ns/op BenchmarkMulconstI32/3-4 20844799 5.710 ns/op BenchmarkMulconstI32/5-4 20861167 5.725 ns/op BenchmarkMulconstI32/12-4 21020816 5.703 ns/op BenchmarkMulconstI32/120-4 21117110 5.672 ns/op BenchmarkMulconstI32/-120-4 21012930 5.692 ns/op BenchmarkMulconstI32/65537-4 21131847 5.772 ns/op BenchmarkMulconstI32/65538-4 21277953 5.640 ns/op BenchmarkMulconstI64/3-4 20996985 5.758 ns/op BenchmarkMulconstI64/5-4 20990167 5.726 ns/op BenchmarkMulconstI64/12-4 20948402 5.785 ns/op BenchmarkMulconstI64/120-4 21094174 5.713 ns/op BenchmarkMulconstI64/-120-4 21168475 5.654 ns/op BenchmarkMulconstI64/65537-4 21310394 5.650 ns/op BenchmarkMulconstI64/65538-4 21201844 5.667 ns/op BenchmarkMulconstU32/3-4 21011344 5.767 ns/op BenchmarkMulconstU32/5-4 20885799 5.728 ns/op BenchmarkMulconstU32/12-4 21002769 5.692 ns/op BenchmarkMulconstU32/120-4 21184102 5.674 ns/op BenchmarkMulconstU32/65537-4 21113119 5.668 ns/op BenchmarkMulconstU32/65538-4 21182780 5.648 ns/op BenchmarkMulconstU64/3-4 20898660 5.762 ns/op BenchmarkMulconstU64/5-4 20903900 5.737 ns/op BenchmarkMulconstU64/12-4 20931928 5.742 ns/op BenchmarkMulconstU64/120-4 21011415 5.667 ns/op BenchmarkMulconstU64/65537-4 21171520 5.650 ns/op BenchmarkMulconstU64/65538-4 21111813 5.647 ns/op BenchmarkShiftArithmeticRight-4 19793379 6.035 ns/op BenchmarkSwitch8Predictable-4 13155987 9.148 ns/op BenchmarkSwitch8Unpredictable-4 5720582 20.82 ns/op BenchmarkSwitch32Predictable-4 8348493 14.33 ns/op BenchmarkSwitch32Unpredictable-4 5765667 20.83 ns/op BenchmarkSwitchStringPredictable-4 8105661 14.59 ns/op BenchmarkSwitchStringUnpredictable-4 4358564 27.53 ns/op PASS ok cmd/compile/internal/test 19.629s goos: linux goarch: amd64 pkg: cmd/compile/internal/types2 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLookupFieldOrMethod-4 145 849393 ns/op BenchmarkNamed/Underlying/nongeneric-4 874803 134.9 ns/op BenchmarkNamed/Underlying/generic-4 867751 153.4 ns/op BenchmarkNamed/Underlying/src_instance-4 891919 133.3 ns/op BenchmarkNamed/Underlying/user_instance-4 852174 134.2 ns/op BenchmarkCheck/http/funcbodies/info-4 1 554587634 ns/op 55159 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 362334912 ns/op 84422 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 174934603 ns/op 174825 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 144781474 ns/op 211275 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 413517530 ns/op 12533 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 2 88220484 ns/op 58740 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 3 36623408 ns/op 141439 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 3 34178318 ns/op 151629 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 131988629 ns/op 16436 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 3 40085417 ns/op 54107 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 5 21756559 ns/op 99713 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 6 20210416 ns/op 107318 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1157805289 ns/op 56410 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 603329300 ns/op 108242 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 163174363 ns/op 400087 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 116868794 ns/op 558500 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 422251047 ns/op 4741 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 63920076 ns/op 31304 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 3 39745505 ns/op 50352 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 3 38877514 ns/op 51476 lines/s PASS ok cmd/compile/internal/types2 16.520s goos: linux goarch: amd64 pkg: cmd/go cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExecGoEnv-4 136 791786 ns/op 1939890 sys-ns/op 1071846 user-ns/op PASS ok cmd/go 1.198s ##### 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/internal/notsha256 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes/New-4 98306 1191 ns/op 6.72 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 116916 1013 ns/op 7.90 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 24212 4943 ns/op 207.16 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 25232 4747 ns/op 215.69 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 3838 31028 ns/op 264.02 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 3871 30829 ns/op 265.73 MB/s 0 B/op 0 allocs/op PASS ok cmd/internal/notsha256 1.859s All tests passed.