linux-amd64-race at 7ec2e8442415bd7d15819cf2aeba3a678223c81c :: 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-rnec90968" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=6s" "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" "PWD=/workdir/go/src"] in dir /workdir/go/src Building Go cmd/dist using /workdir/go1.4. (go1.17.13 linux/amd64) Building Go toolchain1 using /workdir/go1.4. Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. Building Go toolchain2 using go_bootstrap and Go toolchain1. Building Go toolchain3 using go_bootstrap and Go toolchain2. Building packages and commands for linux/amd64. --- Installed Go for linux/amd64 in /workdir/go Installed commands in /workdir/go/bin :: Running /workdir/go/bin/go with args ["/workdir/go/bin/go" "install" "-race" "std"] and env ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "HOSTNAME=buildlet-linux-amd64-bullseye-rnec90968" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=6s" "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" "PWD=/workdir/go/bin"] in dir /workdir/go/bin ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Testing packages. ok archive/tar 1.319s ok archive/zip 2.518s ok bufio 0.314s ok bytes 3.272s ok compress/bzip2 0.474s ok compress/flate 5.689s ok compress/gzip 11.618s ok compress/lzw 0.552s ok compress/zlib 4.572s ok container/heap 0.046s ok container/list 0.035s ok container/ring 0.045s ok context 0.046s ok crypto 0.037s ok crypto/aes 0.076s ok crypto/cipher 0.064s ok crypto/des 0.066s ok crypto/dsa 0.034s ok crypto/ecdh 0.218s ok crypto/ecdsa 0.147s ok crypto/ed25519 0.389s ok crypto/elliptic 0.065s ok crypto/hmac 0.044s ok crypto/internal/alias 0.034s ok crypto/internal/bigmod 2.502s ok crypto/internal/boring 0.034s ok crypto/internal/boring/bcache 0.394s ok crypto/internal/edwards25519 34.924s ok crypto/internal/edwards25519/field 12.406s ok crypto/internal/nistec 0.834s ok crypto/internal/nistec/fiat 0.033s [no tests to run] ok crypto/md5 0.048s ok crypto/rand 0.340s ok crypto/rc4 0.441s ok crypto/rsa 1.423s ok crypto/sha1 0.054s ok crypto/sha256 0.044s ok crypto/sha512 0.044s ok crypto/subtle 0.442s ok crypto/tls 1.558s ok crypto/x509 1.144s ok database/sql 0.382s ok database/sql/driver 0.035s ok debug/buildinfo 0.058s ok debug/dwarf 0.095s ok debug/elf 1.364s ok debug/gosym 0.374s ok debug/macho 0.055s ok debug/pe 0.065s ok debug/plan9obj 0.034s ok embed 0.035s [no tests to run] ok embed/internal/embedtest 0.034s ok encoding/ascii85 0.045s ok encoding/asn1 0.044s ok encoding/base32 0.088s ok encoding/base64 0.045s ok encoding/binary 0.044s ok encoding/csv 0.087s ok encoding/gob 18.520s ok encoding/hex 0.044s ok encoding/json 1.195s ok encoding/pem 2.424s ok encoding/xml 0.260s ok errors 0.044s ok expvar 0.034s ok flag 0.172s ok fmt 0.594s ok go/ast 0.045s ok go/build 4.326s ok go/build/constraint 0.045s ok go/constant 0.044s ok go/doc 0.259s ok go/doc/comment 2.331s ok go/format 0.056s ok go/importer 0.240s ok go/internal/gccgoimporter 0.065s ok go/internal/gcimporter 1.412s ok go/internal/srcimporter 14.517s ok go/parser 0.916s ok go/printer 1.265s ok go/scanner 0.047s ok go/token 0.126s ok go/types 34.396s ok hash 0.045s ok hash/adler32 0.066s ok hash/crc32 0.065s ok hash/crc64 0.035s ok hash/fnv 0.034s ok hash/maphash 0.034s ok html 0.046s ok html/template 0.250s ok image 0.431s ok image/color 0.058s ok image/draw 0.614s ok image/gif 0.952s ok image/jpeg 1.312s ok image/png 2.946s ok index/suffixarray 1.057s ok internal/abi 0.082s ok internal/buildcfg 0.034s ok internal/coverage/cformat 0.035s ok internal/coverage/cmerge 0.035s ok internal/coverage/pods 0.044s ok internal/coverage/slicereader 0.034s ok internal/coverage/slicewriter 0.034s ok internal/coverage/test 0.064s ok internal/cpu 0.101s ok internal/dag 0.034s ok internal/diff 0.035s ok internal/fmtsort 0.033s ok internal/fuzz 0.066s ok internal/godebug 0.034s ok internal/intern 0.247s ok internal/itoa 0.035s ok internal/poll 0.529s ok internal/profile 0.044s ok internal/reflectlite 0.261s ok internal/safefilepath 0.030s ok internal/saferio 0.316s ok internal/singleflight 0.145s ok internal/testenv 0.034s ok internal/trace 0.178s ok internal/types/errors 0.441s ok internal/unsafeheader 0.034s ok internal/xcoff 0.050s ok io 0.076s ok io/fs 0.267s ok io/ioutil 0.044s ok log 0.045s ok log/slog 0.068s ok log/slog/internal/buffer 0.033s ok log/syslog 1.267s ok maps 0.035s ok math 0.056s ok math/big 2.969s ok math/bits 0.055s ok math/cmplx 0.044s ok math/rand 2.051s ok mime 0.054s ok mime/multipart 7.238s ok mime/quotedprintable 0.077s ok net 17.142s ok net/http 7.296s ok net/http/cgi 0.634s ok net/http/cookiejar 0.047s ok net/http/fcgi 0.159s ok net/http/httptest 0.198s ok net/http/httptrace 0.035s ok net/http/httputil 0.719s ok net/http/internal 0.046s ok net/http/internal/ascii 0.034s ok net/http/pprof 5.220s ok net/internal/socktest 0.034s ok net/mail 0.046s ok net/netip 0.406s ok net/rpc 0.085s ok net/rpc/jsonrpc 0.046s ok net/smtp 0.076s ok net/textproto 0.051s ok net/url 0.056s ok os 0.810s ok os/exec 0.283s ok os/exec/internal/fdtest 0.034s ok os/signal 2.411s ok os/user 0.037s ok path 0.045s ok path/filepath 0.102s ok plugin 0.033s ok reflect 0.597s ok regexp 3.210s ok regexp/syntax 4.521s ok runtime 37.574s ok runtime/cgo 0.036s ok runtime/coverage 0.035s ok runtime/debug 0.143s ok runtime/internal/atomic 0.090s ok runtime/internal/math 0.037s ok runtime/internal/sys 0.035s ok runtime/internal/syscall 0.036s ok runtime/metrics 0.043s ok runtime/pprof 7.657s ok runtime/race 10.242s ok runtime/trace 3.892s ok slices 0.043s ok sort 0.411s ok strconv 2.313s ok strings 1.757s ok sync 0.538s ok sync/atomic 1.620s ok syscall 3.534s ok testing 0.901s ok testing/fstest 0.048s ok testing/iotest 0.046s ok testing/quick 0.190s ok text/scanner 0.057s ok text/tabwriter 0.040s ok text/template 0.109s ok text/template/parse 0.057s ok time 2.354s ok unicode 0.045s ok unicode/utf16 0.030s ok unicode/utf8 0.056s ok cmd/addr2line 1.512s ok cmd/api 8.564s ok cmd/asm/internal/asm 3.263s ok cmd/asm/internal/lex 0.044s ok cmd/compile/internal/abt 0.065s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/amd64 48.927s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/base 0.034s ok cmd/compile/internal/compare 0.033s ok cmd/compile/internal/dwarfgen 0.473s ok cmd/compile/internal/importer 1.031s ok cmd/compile/internal/ir 0.034s ok cmd/compile/internal/logopt 0.278s ok cmd/compile/internal/loopvar 20.691s ok cmd/compile/internal/noder 0.045s ok cmd/compile/internal/reflectdata 0.034s [no tests to run] ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/ssa 17.788s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/syntax 0.158s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/test 10.240s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/typecheck 0.300s ok cmd/compile/internal/types 0.036s ok cmd/compile/internal/types2 8.892s ok cmd/covdata 0.034s ok cmd/cover 2.063s ok cmd/dist 0.039s ok cmd/doc 1.139s ok cmd/fix 1.175s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Testing packages. ok cmd/go 32.256s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Testing packages. ok cmd/go/internal/auth 0.036s ok cmd/go/internal/cache 0.174s ok cmd/go/internal/fsys 0.075s ok cmd/go/internal/generate 0.055s ok cmd/go/internal/get 0.035s ok cmd/go/internal/imports 0.044s ok cmd/go/internal/load 0.046s ok cmd/go/internal/lockedfile 0.186s ok cmd/go/internal/lockedfile/internal/filelock 0.092s ok cmd/go/internal/modconv 0.055s ok cmd/go/internal/modfetch 0.047s ok cmd/go/internal/modfetch/codehost 0.055s ok cmd/go/internal/modfetch/zip_sum_test 0.046s ok cmd/go/internal/modindex 0.634s ok cmd/go/internal/modload 0.045s ok cmd/go/internal/mvs 0.055s ok cmd/go/internal/par 0.143s ok cmd/go/internal/str 0.035s ok cmd/go/internal/test 0.057s ok cmd/go/internal/vcs 0.045s ok cmd/go/internal/vcweb 0.046s ok cmd/go/internal/vcweb/vcstest 4.659s ok cmd/go/internal/web 0.035s ok cmd/go/internal/work 0.145s ok cmd/gofmt 0.264s ok cmd/internal/archive 0.554s ok cmd/internal/buildid 0.697s ok cmd/internal/cov 0.353s ok cmd/internal/dwarf 0.036s ok cmd/internal/edit 0.036s ok cmd/internal/goobj 0.049s ok cmd/internal/moddeps 1.288s ok cmd/internal/notsha256 0.046s ok cmd/internal/obj 0.604s ok cmd/internal/obj/ppc64 0.147s ok cmd/internal/obj/riscv 0.065s ok cmd/internal/obj/s390x 0.038s ok cmd/internal/obj/x86 0.211s ok cmd/internal/objabi 0.042s ok cmd/internal/pkgpath 0.175s ok cmd/internal/pkgpattern 0.056s ok cmd/internal/quoted 0.034s ok cmd/internal/src 0.034s ok cmd/internal/test2json 0.695s ok cmd/link 3.748s ok cmd/link/internal/benchmark 0.041s ok cmd/link/internal/ld 2.974s ok cmd/link/internal/loader 0.090s ok cmd/nm 1.030s ok cmd/objdump 1.590s ok cmd/pack 0.691s ok cmd/pprof 1.526s ok cmd/trace 0.309s ok cmd/vet 12.802s ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: archive/tar cpu: Intel(R) Xeon(R) CPU @ 2.20GHz Benchmark/Writer/USTAR-4 2865 37917 ns/op 1368 B/op 25 allocs/op Benchmark/Writer/GNU-4 2180 47908 ns/op 1851 B/op 36 allocs/op Benchmark/Writer/PAX-4 1484 74450 ns/op 2560 B/op 59 allocs/op Benchmark/Reader/USTAR-4 4606 26494 ns/op 5038 B/op 15 allocs/op Benchmark/Reader/GNU-4 6489 17486 ns/op 5144 B/op 15 allocs/op Benchmark/Reader/PAX-4 2412 53103 ns/op 8792 B/op 33 allocs/op PASS ok archive/tar 0.886s goos: linux goarch: amd64 pkg: archive/zip cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCompressedZipGarbage-4 1 320969577 ns/op 828576 B/op 82 allocs/op BenchmarkZip64Test-4 1 145464697 ns/op BenchmarkZip64TestSizes/4096-4 1219 86690 ns/op BenchmarkZip64TestSizes/1048576-4 177 724756 ns/op BenchmarkZip64TestSizes/67108864-4 1 133324112 ns/op PASS ok archive/zip 1.268s goos: linux goarch: amd64 pkg: bufio cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReaderCopyOptimal-4 224379 525.0 ns/op BenchmarkReaderCopyUnoptimal-4 125956 861.4 ns/op BenchmarkReaderCopyNoWriteTo-4 7411 14440 ns/op BenchmarkReaderWriteToOptimal-4 9078 11542 ns/op BenchmarkReaderReadString-4 129822 901.9 ns/op 144 B/op 1 allocs/op BenchmarkWriterCopyOptimal-4 207883 574.3 ns/op BenchmarkWriterCopyUnoptimal-4 196149 592.8 ns/op BenchmarkWriterCopyNoReadFrom-4 8646 16014 ns/op BenchmarkReaderEmpty-4 41011 2740 ns/op 4224 B/op 3 allocs/op BenchmarkWriterEmpty-4 35985 3204 ns/op 4096 B/op 1 allocs/op BenchmarkWriterFlush-4 487818 212.6 ns/op 0 B/op 0 allocs/op PASS ok bufio 1.654s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: bytes cpu: AMD EPYC 7B12 BenchmarkReadString-4 7586 17953 ns/op 1825.23 MB/s BenchmarkWriteByte-4 546 220576 ns/op 18.57 MB/s BenchmarkWriteRune-4 276 420281 ns/op 29.24 MB/s BenchmarkBufferNotEmptyWriteRead-4 31 3451226 ns/op BenchmarkBufferFullSmallReads-4 100 1112143 ns/op BenchmarkBufferWriteBlock/N4096-4 8540 12336 ns/op 14336 B/op 6 allocs/op BenchmarkBufferWriteBlock/N65536-4 566 203874 ns/op 260096 B/op 14 allocs/op BenchmarkBufferWriteBlock/N1048576-4 18 10003951 ns/op 4192256 B/op 22 allocs/op BenchmarkBufferAppendNoCopy-4 9 11439516 ns/op 1466.60 MB/s 3728270 B/op 0 allocs/op BenchmarkIndexByte/10-4 5523806 21.61 ns/op 462.77 MB/s BenchmarkIndexByte/32-4 4891683 22.65 ns/op 1412.56 MB/s BenchmarkIndexByte/4K-4 1000000 114.0 ns/op 35927.83 MB/s BenchmarkIndexBytePortable/10-4 1000000 111.8 ns/op 89.44 MB/s BenchmarkIndexBytePortable/32-4 395829 300.2 ns/op 106.61 MB/s BenchmarkIndexBytePortable/4K-4 3481 36543 ns/op 112.09 MB/s BenchmarkIndexRune/10-4 1000000 111.5 ns/op 89.67 MB/s BenchmarkIndexRune/32-4 1238712 97.12 ns/op 329.49 MB/s BenchmarkIndexRune/4K-4 427431 284.9 ns/op 14375.85 MB/s BenchmarkIndexRuneASCII/10-4 5344578 22.46 ns/op 445.28 MB/s BenchmarkIndexRuneASCII/32-4 5271652 22.54 ns/op 1419.82 MB/s BenchmarkIndexRuneASCII/4K-4 975126 114.3 ns/op 35830.08 MB/s BenchmarkEqual/0-4 9561776 12.15 ns/op BenchmarkEqual/1-4 1601871 74.56 ns/op 13.41 MB/s BenchmarkEqual/6-4 1582028 75.79 ns/op 79.17 MB/s BenchmarkEqual/9-4 1540045 76.79 ns/op 117.20 MB/s BenchmarkEqual/15-4 1548596 77.62 ns/op 193.26 MB/s BenchmarkEqual/16-4 1428334 75.26 ns/op 212.60 MB/s BenchmarkEqual/20-4 1464813 82.16 ns/op 243.44 MB/s BenchmarkEqual/32-4 1498375 75.81 ns/op 422.09 MB/s BenchmarkEqual/4K-4 136558 945.0 ns/op 4334.23 MB/s BenchmarkIndex/10-4 3468760 33.83 ns/op 295.63 MB/s BenchmarkIndex/32-4 4188723 29.28 ns/op 1093.06 MB/s BenchmarkIndex/4K-4 27508 4392 ns/op 932.51 MB/s BenchmarkIndexEasy/10-4 3586833 33.04 ns/op 302.70 MB/s BenchmarkIndexEasy/32-4 4057960 30.32 ns/op 1055.38 MB/s BenchmarkIndexEasy/4K-4 548400 210.3 ns/op 19476.57 MB/s BenchmarkCount/10-4 1642933 73.13 ns/op 136.75 MB/s BenchmarkCount/32-4 1840797 65.26 ns/op 490.32 MB/s BenchmarkCount/4K-4 26554 4459 ns/op 918.62 MB/s BenchmarkCountEasy/10-4 1647300 71.05 ns/op 140.75 MB/s BenchmarkCountEasy/32-4 1842903 65.07 ns/op 491.80 MB/s BenchmarkCountEasy/4K-4 489136 242.4 ns/op 16895.09 MB/s BenchmarkCountSingle/10-4 4278967 28.34 ns/op 352.91 MB/s BenchmarkCountSingle/32-4 4088340 30.08 ns/op 1063.81 MB/s BenchmarkCountSingle/4K-4 831243 131.2 ns/op 31230.56 MB/s BenchmarkToUpper/#00-4 2880811 41.90 ns/op BenchmarkToUpper/ONLYUPPER-4 328750 358.6 ns/op BenchmarkToUpper/abc-4 497011 240.4 ns/op BenchmarkToUpper/AbC123-4 313201 372.7 ns/op BenchmarkToUpper/azAZ09_-4 298594 406.8 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 100486 1172 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 45076 2680 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 66805 1777 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 142494 839.4 ns/op BenchmarkToLower/#00-4 2811739 44.21 ns/op BenchmarkToLower/abc-4 457716 257.2 ns/op BenchmarkToLower/AbC123-4 301579 377.7 ns/op BenchmarkToLower/azAZ09_-4 302659 418.1 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 101985 1205 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 44065 2697 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 79419 1502 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 135379 848.5 ns/op BenchmarkFields/ASCII/16-4 164703 744.2 ns/op 21.50 MB/s 80 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 13190 9073 ns/op 28.22 MB/s 576 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 760 162775 ns/op 25.16 MB/s 9472 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 49 2503988 ns/op 26.17 MB/s 147456 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 3 40330577 ns/op 26.00 MB/s 2277376 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 90046 1263 ns/op 12.66 MB/s 128 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 6189 17993 ns/op 14.23 MB/s 1920 B/op 2 allocs/op BenchmarkFields/Mixed/4096-4 435 258929 ns/op 15.82 MB/s 24832 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 24 4569130 ns/op 14.34 MB/s 512260 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 2 79925702 ns/op 13.12 MB/s 11211008 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 165984 736.4 ns/op 21.73 MB/s 80 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 14214 8447 ns/op 30.30 MB/s 576 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 820 145611 ns/op 28.13 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 44 2755756 ns/op 23.78 MB/s 512260 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 3 50867158 ns/op 20.61 MB/s 11219200 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 123183 983.3 ns/op 16.27 MB/s 128 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 8263 12841 ns/op 19.94 MB/s 1920 B/op 2 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 626 197427 ns/op 20.75 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 34 3386769 ns/op 19.35 MB/s 512256 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 2 63875050 ns/op 16.42 MB/s 11211008 B/op 24 allocs/op BenchmarkTrimSpace/NoTrim-4 2346543 50.28 ns/op BenchmarkTrimSpace/ASCII-4 1000000 106.1 ns/op BenchmarkTrimSpace/SomeNonASCII-4 117002 951.3 ns/op BenchmarkTrimSpace/JustNonASCII-4 59689 2020 ns/op BenchmarkToValidUTF8/Valid-4 525154 219.1 ns/op BenchmarkToValidUTF8/InvalidASCII-4 360223 333.8 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 107049 1149 ns/op BenchmarkIndexHard1-4 1178 99118 ns/op BenchmarkIndexHard2-4 866 138279 ns/op BenchmarkIndexHard3-4 216 567501 ns/op BenchmarkIndexHard4-4 210 566352 ns/op BenchmarkLastIndexHard1-4 7 16186439 ns/op BenchmarkLastIndexHard2-4 6 19908057 ns/op BenchmarkLastIndexHard3-4 5 21465324 ns/op BenchmarkCountHard1-4 1200 99626 ns/op BenchmarkCountHard2-4 862 139368 ns/op BenchmarkCountHard3-4 214 571671 ns/op BenchmarkSplitEmptySeparator-4 2 85034886 ns/op BenchmarkSplitSingleByteSeparator-4 22 5492453 ns/op BenchmarkSplitMultiByteSeparator-4 13 7837701 ns/op BenchmarkSplitNSingleByteSeparator-4 244446 494.1 ns/op BenchmarkSplitNMultiByteSeparator-4 82636 1482 ns/op BenchmarkRepeat-4 206515 560.6 ns/op BenchmarkRepeatLarge/256/1-4 157764 698.7 ns/op 366.40 MB/s BenchmarkRepeatLarge/256/16-4 275448 435.9 ns/op 587.36 MB/s BenchmarkRepeatLarge/512/1-4 126298 907.3 ns/op 564.28 MB/s BenchmarkRepeatLarge/512/16-4 188712 616.8 ns/op 830.02 MB/s BenchmarkRepeatLarge/1024/1-4 92866 1301 ns/op 787.19 MB/s BenchmarkRepeatLarge/1024/16-4 112832 1010 ns/op 1014.30 MB/s BenchmarkRepeatLarge/2048/1-4 57142 2053 ns/op 997.69 MB/s BenchmarkRepeatLarge/2048/16-4 66574 1756 ns/op 1166.13 MB/s BenchmarkRepeatLarge/4096/1-4 34057 3531 ns/op 1159.94 MB/s BenchmarkRepeatLarge/4096/16-4 37005 3371 ns/op 1215.03 MB/s BenchmarkRepeatLarge/8192/1-4 19899 6325 ns/op 1295.19 MB/s BenchmarkRepeatLarge/8192/16-4 20145 6070 ns/op 1349.58 MB/s BenchmarkRepeatLarge/8192/4097-4 35204 3390 ns/op 1208.43 MB/s BenchmarkRepeatLarge/16384/1-4 8686 11929 ns/op 1373.46 MB/s BenchmarkRepeatLarge/16384/16-4 10000 11626 ns/op 1409.28 MB/s BenchmarkRepeatLarge/16384/4097-4 13609 9095 ns/op 1351.40 MB/s BenchmarkRepeatLarge/32768/1-4 5014 21254 ns/op 1541.75 MB/s BenchmarkRepeatLarge/32768/16-4 5359 21759 ns/op 1505.95 MB/s BenchmarkRepeatLarge/32768/4097-4 5656 20787 ns/op 1379.66 MB/s BenchmarkRepeatLarge/65536/1-4 2630 43079 ns/op 1521.29 MB/s BenchmarkRepeatLarge/65536/16-4 2982 40659 ns/op 1611.83 MB/s BenchmarkRepeatLarge/65536/4097-4 2694 41337 ns/op 1486.68 MB/s BenchmarkRepeatLarge/131072/1-4 508 215987 ns/op 606.85 MB/s BenchmarkRepeatLarge/131072/16-4 562 225091 ns/op 582.31 MB/s BenchmarkRepeatLarge/131072/4097-4 504 212112 ns/op 598.77 MB/s BenchmarkRepeatLarge/262144/1-4 268 419579 ns/op 624.78 MB/s BenchmarkRepeatLarge/262144/16-4 291 425154 ns/op 616.59 MB/s BenchmarkRepeatLarge/262144/4097-4 265 418013 ns/op 617.47 MB/s BenchmarkRepeatLarge/524288/1-4 141 842548 ns/op 622.26 MB/s BenchmarkRepeatLarge/524288/16-4 134 864031 ns/op 606.79 MB/s BenchmarkRepeatLarge/524288/4097-4 136 862031 ns/op 603.60 MB/s BenchmarkRepeatLarge/1048576/1-4 74 1681261 ns/op 623.68 MB/s BenchmarkRepeatLarge/1048576/16-4 81 1620581 ns/op 647.04 MB/s BenchmarkRepeatLarge/1048576/4097-4 92 1620425 ns/op 644.73 MB/s BenchmarkRepeatLarge/2097152/1-4 48 3124893 ns/op 671.11 MB/s BenchmarkRepeatLarge/2097152/16-4 42 3116261 ns/op 672.97 MB/s BenchmarkRepeatLarge/2097152/4097-4 42 3205080 ns/op 653.20 MB/s BenchmarkRepeatLarge/4194304/1-4 16 6286820 ns/op 667.16 MB/s BenchmarkRepeatLarge/4194304/16-4 19 6146983 ns/op 682.34 MB/s BenchmarkRepeatLarge/4194304/4097-4 16 6326337 ns/op 662.51 MB/s BenchmarkRepeatLarge/8388608/1-4 9 12532633 ns/op 669.34 MB/s BenchmarkRepeatLarge/8388608/16-4 8 12682623 ns/op 661.43 MB/s BenchmarkRepeatLarge/8388608/4097-4 8 12612038 ns/op 664.96 MB/s BenchmarkRepeatLarge/16777216/1-4 5 23907776 ns/op 701.75 MB/s BenchmarkRepeatLarge/16777216/16-4 5 24435510 ns/op 686.59 MB/s BenchmarkRepeatLarge/16777216/4097-4 5 24077976 ns/op 696.79 MB/s BenchmarkRepeatLarge/33554432/1-4 3 44755599 ns/op 749.73 MB/s BenchmarkRepeatLarge/33554432/16-4 3 45322912 ns/op 740.34 MB/s BenchmarkRepeatLarge/33554432/4097-4 3 45105289 ns/op 743.91 MB/s BenchmarkRepeatLarge/67108864/1-4 2 83495031 ns/op 803.75 MB/s BenchmarkRepeatLarge/67108864/16-4 2 80506242 ns/op 833.59 MB/s BenchmarkRepeatLarge/67108864/4097-4 2 83183381 ns/op 806.76 MB/s BenchmarkRepeatLarge/134217728/1-4 1 160296443 ns/op 837.31 MB/s BenchmarkRepeatLarge/134217728/16-4 1 165500603 ns/op 810.98 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 163645663 ns/op 820.17 MB/s BenchmarkRepeatLarge/268435456/1-4 1 319193016 ns/op 840.98 MB/s BenchmarkRepeatLarge/268435456/16-4 1 317436217 ns/op 845.64 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 327601005 ns/op 819.40 MB/s BenchmarkRepeatLarge/536870912/1-4 1 622791216 ns/op 862.04 MB/s BenchmarkRepeatLarge/536870912/16-4 1 647508821 ns/op 829.13 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 639139473 ns/op 839.99 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 1266259468 ns/op 847.96 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 1240852052 ns/op 865.33 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 1234882843 ns/op 869.51 MB/s BenchmarkBytesCompare/1-4 13242607 8.541 ns/op BenchmarkBytesCompare/2-4 12488787 8.901 ns/op BenchmarkBytesCompare/4-4 13500836 8.885 ns/op BenchmarkBytesCompare/8-4 13524146 8.883 ns/op BenchmarkBytesCompare/16-4 13476333 8.959 ns/op BenchmarkBytesCompare/32-4 12593348 9.578 ns/op BenchmarkBytesCompare/64-4 11445698 9.936 ns/op BenchmarkBytesCompare/128-4 11415211 10.18 ns/op BenchmarkBytesCompare/256-4 9457801 12.24 ns/op BenchmarkBytesCompare/512-4 6855259 17.55 ns/op BenchmarkBytesCompare/1024-4 4503453 26.64 ns/op BenchmarkBytesCompare/2048-4 2581003 45.81 ns/op BenchmarkIndexAnyASCII/1:1-4 2572959 44.75 ns/op BenchmarkIndexAnyASCII/1:2-4 2707326 45.53 ns/op BenchmarkIndexAnyASCII/1:4-4 2306107 50.69 ns/op BenchmarkIndexAnyASCII/1:8-4 2563222 44.06 ns/op BenchmarkIndexAnyASCII/1:16-4 2653459 45.22 ns/op BenchmarkIndexAnyASCII/1:32-4 2672463 44.13 ns/op BenchmarkIndexAnyASCII/1:64-4 2327145 44.51 ns/op BenchmarkIndexAnyASCII/16:1-4 2500392 48.60 ns/op BenchmarkIndexAnyASCII/16:2-4 573100 191.9 ns/op BenchmarkIndexAnyASCII/16:4-4 576897 193.7 ns/op BenchmarkIndexAnyASCII/16:8-4 534931 207.1 ns/op BenchmarkIndexAnyASCII/16:16-4 544783 217.4 ns/op BenchmarkIndexAnyASCII/16:32-4 434532 262.0 ns/op BenchmarkIndexAnyASCII/16:64-4 372733 319.3 ns/op BenchmarkIndexAnyASCII/256:1-4 2290286 53.16 ns/op BenchmarkIndexAnyASCII/256:2-4 44752 2375 ns/op BenchmarkIndexAnyASCII/256:4-4 47821 2348 ns/op BenchmarkIndexAnyASCII/256:8-4 47622 2361 ns/op BenchmarkIndexAnyASCII/256:16-4 44451 2371 ns/op BenchmarkIndexAnyASCII/256:32-4 46959 2443 ns/op BenchmarkIndexAnyASCII/256:64-4 45486 2485 ns/op BenchmarkIndexAnyUTF8/1:1-4 2591200 46.53 ns/op BenchmarkIndexAnyUTF8/1:2-4 2526606 45.04 ns/op BenchmarkIndexAnyUTF8/1:4-4 2604338 45.76 ns/op BenchmarkIndexAnyUTF8/1:8-4 2501878 44.58 ns/op BenchmarkIndexAnyUTF8/1:16-4 2569929 44.95 ns/op BenchmarkIndexAnyUTF8/1:32-4 2628351 45.49 ns/op BenchmarkIndexAnyUTF8/1:64-4 2658500 44.32 ns/op BenchmarkIndexAnyUTF8/16:1-4 187252 636.6 ns/op BenchmarkIndexAnyUTF8/16:2-4 334500 343.2 ns/op BenchmarkIndexAnyUTF8/16:4-4 309301 354.4 ns/op BenchmarkIndexAnyUTF8/16:8-4 345657 354.9 ns/op BenchmarkIndexAnyUTF8/16:16-4 339717 349.8 ns/op BenchmarkIndexAnyUTF8/16:32-4 327366 361.4 ns/op BenchmarkIndexAnyUTF8/16:64-4 336756 343.1 ns/op BenchmarkIndexAnyUTF8/256:1-4 12828 9269 ns/op BenchmarkIndexAnyUTF8/256:2-4 22562 4635 ns/op BenchmarkIndexAnyUTF8/256:4-4 24817 4632 ns/op BenchmarkIndexAnyUTF8/256:8-4 22802 4643 ns/op BenchmarkIndexAnyUTF8/256:16-4 25330 4543 ns/op BenchmarkIndexAnyUTF8/256:32-4 24337 4947 ns/op BenchmarkIndexAnyUTF8/256:64-4 25288 4615 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2340422 51.11 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2591995 45.26 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2573658 45.23 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2405406 46.02 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2253459 45.87 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2617801 45.01 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2636914 47.18 ns/op BenchmarkLastIndexAnyASCII/16:1-4 461060 251.8 ns/op BenchmarkLastIndexAnyASCII/16:2-4 464613 253.2 ns/op BenchmarkLastIndexAnyASCII/16:4-4 471433 248.9 ns/op BenchmarkLastIndexAnyASCII/16:8-4 443995 264.8 ns/op BenchmarkLastIndexAnyASCII/16:16-4 389426 282.5 ns/op BenchmarkLastIndexAnyASCII/16:32-4 374426 316.6 ns/op BenchmarkLastIndexAnyASCII/16:64-4 313674 380.2 ns/op BenchmarkLastIndexAnyASCII/256:1-4 33925 3339 ns/op BenchmarkLastIndexAnyASCII/256:2-4 34152 3352 ns/op BenchmarkLastIndexAnyASCII/256:4-4 34108 3378 ns/op BenchmarkLastIndexAnyASCII/256:8-4 33908 3368 ns/op BenchmarkLastIndexAnyASCII/256:16-4 33958 3414 ns/op BenchmarkLastIndexAnyASCII/256:32-4 33516 3533 ns/op BenchmarkLastIndexAnyASCII/256:64-4 32634 3642 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2627733 44.72 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2613793 45.39 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2596609 43.95 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2577318 45.21 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2606601 44.39 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2602072 44.90 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2592832 44.43 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 279594 424.0 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 332002 336.2 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 354488 343.5 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 316682 340.7 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 356274 333.8 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 339327 343.1 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 345484 361.8 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 19881 6400 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 24633 4700 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 24799 4624 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 24771 4478 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 23146 4574 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 22308 4854 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 24975 4611 ns/op BenchmarkTrimASCII/1:1-4 3033920 39.07 ns/op BenchmarkTrimASCII/1:2-4 2530564 45.65 ns/op BenchmarkTrimASCII/1:4-4 2525545 47.34 ns/op BenchmarkTrimASCII/1:8-4 2224947 54.48 ns/op BenchmarkTrimASCII/1:16-4 1873155 63.97 ns/op BenchmarkTrimASCII/16:1-4 615238 191.3 ns/op BenchmarkTrimASCII/16:2-4 464144 255.3 ns/op BenchmarkTrimASCII/16:4-4 451089 256.6 ns/op BenchmarkTrimASCII/16:8-4 439054 267.7 ns/op BenchmarkTrimASCII/16:16-4 399554 277.1 ns/op BenchmarkTrimASCII/256:1-4 51273 2355 ns/op BenchmarkTrimASCII/256:2-4 35628 3308 ns/op BenchmarkTrimASCII/256:4-4 32535 3425 ns/op BenchmarkTrimASCII/256:8-4 35727 3369 ns/op BenchmarkTrimASCII/256:16-4 35628 3390 ns/op BenchmarkTrimASCII/4096:1-4 3170 36825 ns/op BenchmarkTrimASCII/4096:2-4 2046 63334 ns/op BenchmarkTrimASCII/4096:4-4 1953 53688 ns/op BenchmarkTrimASCII/4096:8-4 2232 52888 ns/op BenchmarkTrimASCII/4096:16-4 2222 53429 ns/op BenchmarkTrimByte-4 1778044 66.48 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 19022 6298 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 18968 6280 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 757 157457 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 1495 78475 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 2947 39386 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 5350 19611 ns/op BenchmarkCompareBytesEqual-4 13442110 8.567 ns/op BenchmarkCompareBytesToNil-4 15862507 7.196 ns/op BenchmarkCompareBytesEmpty-4 15352123 6.872 ns/op BenchmarkCompareBytesIdentical-4 16573878 6.883 ns/op BenchmarkCompareBytesSameLength-4 13141814 8.570 ns/op BenchmarkCompareBytesDifferentLength-4 12635982 8.872 ns/op BenchmarkCompareBytesBigUnaligned/offset=1-4 3390 30190 ns/op 34733.17 MB/s BenchmarkCompareBytesBigUnaligned/offset=2-4 3974 30451 ns/op 34434.86 MB/s BenchmarkCompareBytesBigUnaligned/offset=3-4 3985 29964 ns/op 34994.90 MB/s BenchmarkCompareBytesBigUnaligned/offset=4-4 3546 30438 ns/op 34449.51 MB/s BenchmarkCompareBytesBigUnaligned/offset=5-4 3363 30406 ns/op 34486.35 MB/s BenchmarkCompareBytesBigUnaligned/offset=6-4 3357 30136 ns/op 34795.14 MB/s BenchmarkCompareBytesBigUnaligned/offset=7-4 3499 30317 ns/op 34587.26 MB/s BenchmarkCompareBytesBig-4 3938 30477 ns/op 34405.29 MB/s BenchmarkCompareBytesBigIdentical-4 14636396 7.245 ns/op 144724039.18 MB/s PASS ok bytes 54.097s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: compress/bzip2 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecodeDigits-4 2 73370140 ns/op 1.36 MB/s 3616640 B/op 53 allocs/op BenchmarkDecodeNewton-4 1 277770151 ns/op 2.04 MB/s 3629856 B/op 50 allocs/op BenchmarkDecodeRand-4 5 23410000 ns/op 0.70 MB/s 3651696 B/op 53 allocs/op PASS ok compress/bzip2 1.283s goos: linux goarch: amd64 pkg: compress/flate cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecode/Digits/Huffman/1e4-4 62 1726941 ns/op 5.79 MB/s 43186 B/op 5 allocs/op BenchmarkDecode/Digits/Huffman/1e5-4 6 16679223 ns/op 6.00 MB/s 41984 B/op 5 allocs/op BenchmarkDecode/Digits/Huffman/1e6-4 1 168193802 ns/op 5.95 MB/s 49264 B/op 9 allocs/op BenchmarkDecode/Digits/Speed/1e4-4 67 1786275 ns/op 5.60 MB/s 42823 B/op 8 allocs/op BenchmarkDecode/Digits/Speed/1e5-4 6 17212355 ns/op 5.81 MB/s 43641 B/op 12 allocs/op BenchmarkDecode/Digits/Speed/1e6-4 1 180991404 ns/op 5.53 MB/s 53024 B/op 77 allocs/op BenchmarkDecode/Digits/Default/1e4-4 63 1819120 ns/op 5.50 MB/s 43575 B/op 7 allocs/op BenchmarkDecode/Digits/Default/1e5-4 6 16670431 ns/op 6.00 MB/s 45002 B/op 14 allocs/op BenchmarkDecode/Digits/Default/1e6-4 1 167803220 ns/op 5.96 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Digits/Compression/1e4-4 67 1690355 ns/op 5.92 MB/s 41924 B/op 7 allocs/op BenchmarkDecode/Digits/Compression/1e5-4 7 16345416 ns/op 6.12 MB/s 44403 B/op 14 allocs/op BenchmarkDecode/Digits/Compression/1e6-4 1 166793311 ns/op 6.00 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Newton/Huffman/1e4-4 60 1876457 ns/op 5.33 MB/s 43431 B/op 14 allocs/op BenchmarkDecode/Newton/Huffman/1e5-4 6 18185958 ns/op 5.50 MB/s 51941 B/op 25 allocs/op BenchmarkDecode/Newton/Huffman/1e6-4 1 184291130 ns/op 5.43 MB/s 88520 B/op 166 allocs/op BenchmarkDecode/Newton/Speed/1e4-4 79 1514631 ns/op 6.60 MB/s 42613 B/op 18 allocs/op BenchmarkDecode/Newton/Speed/1e5-4 9 12135714 ns/op 8.24 MB/s 46508 B/op 31 allocs/op BenchmarkDecode/Newton/Speed/1e6-4 1 128299043 ns/op 7.79 MB/s 89696 B/op 232 allocs/op BenchmarkDecode/Newton/Default/1e4-4 80 1347742 ns/op 7.42 MB/s 42798 B/op 15 allocs/op BenchmarkDecode/Newton/Default/1e5-4 12 9945620 ns/op 10.05 MB/s 47031 B/op 33 allocs/op BenchmarkDecode/Newton/Default/1e6-4 2 97722212 ns/op 10.23 MB/s 65952 B/op 160 allocs/op BenchmarkDecode/Newton/Compression/1e4-4 82 1292685 ns/op 7.74 MB/s 43657 B/op 15 allocs/op BenchmarkDecode/Newton/Compression/1e5-4 12 9987160 ns/op 10.01 MB/s 45662 B/op 32 allocs/op BenchmarkDecode/Newton/Compression/1e6-4 2 98773534 ns/op 10.12 MB/s 67752 B/op 152 allocs/op BenchmarkEncode/Digits/Huffman/1e4-4 100 1117446 ns/op 8.95 MB/s BenchmarkEncode/Digits/Huffman/1e5-4 10 10641393 ns/op 9.40 MB/s BenchmarkEncode/Digits/Huffman/1e6-4 1 106484287 ns/op 9.39 MB/s BenchmarkEncode/Digits/Speed/1e4-4 48 2197807 ns/op 4.55 MB/s BenchmarkEncode/Digits/Speed/1e5-4 6 19449164 ns/op 5.14 MB/s BenchmarkEncode/Digits/Speed/1e6-4 1 191988642 ns/op 5.21 MB/s BenchmarkEncode/Digits/Default/1e4-4 18 6387574 ns/op 1.57 MB/s BenchmarkEncode/Digits/Default/1e5-4 2 72654888 ns/op 1.38 MB/s BenchmarkEncode/Digits/Default/1e6-4 1 741189907 ns/op 1.35 MB/s BenchmarkEncode/Digits/Compression/1e4-4 19 6286835 ns/op 1.59 MB/s BenchmarkEncode/Digits/Compression/1e5-4 2 71491904 ns/op 1.40 MB/s BenchmarkEncode/Digits/Compression/1e6-4 1 738460541 ns/op 1.35 MB/s BenchmarkEncode/Newton/Huffman/1e4-4 79 1353600 ns/op 7.39 MB/s BenchmarkEncode/Newton/Huffman/1e5-4 10 11591842 ns/op 8.63 MB/s BenchmarkEncode/Newton/Huffman/1e6-4 1 113687102 ns/op 8.80 MB/s BenchmarkEncode/Newton/Speed/1e4-4 57 2036413 ns/op 4.91 MB/s BenchmarkEncode/Newton/Speed/1e5-4 7 14999573 ns/op 6.67 MB/s BenchmarkEncode/Newton/Speed/1e6-4 1 151381511 ns/op 6.61 MB/s BenchmarkEncode/Newton/Default/1e4-4 19 6171079 ns/op 1.62 MB/s BenchmarkEncode/Newton/Default/1e5-4 2 68548691 ns/op 1.46 MB/s BenchmarkEncode/Newton/Default/1e6-4 1 689349069 ns/op 1.45 MB/s BenchmarkEncode/Newton/Compression/1e4-4 18 6149939 ns/op 1.63 MB/s BenchmarkEncode/Newton/Compression/1e5-4 2 84261924 ns/op 1.19 MB/s BenchmarkEncode/Newton/Compression/1e6-4 1 888637791 ns/op 1.13 MB/s PASS ok compress/flate 16.812s goos: linux goarch: amd64 pkg: compress/lzw cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecoder/1e4-4 51 2224113 ns/op 4.50 MB/s BenchmarkDecoder/1e-Reuse4-4 49 2313301 ns/op 4.32 MB/s BenchmarkDecoder/1e5-4 5 21611344 ns/op 4.63 MB/s BenchmarkDecoder/1e-Reuse5-4 5 21982012 ns/op 4.55 MB/s BenchmarkDecoder/1e6-4 1 219566368 ns/op 4.55 MB/s BenchmarkDecoder/1e-Reuse6-4 1 217122167 ns/op 4.61 MB/s BenchmarkEncoder/1e4-4 49 2166967 ns/op 4.61 MB/s BenchmarkEncoder/1e-Reuse4-4 67 1754685 ns/op 5.70 MB/s BenchmarkEncoder/1e5-4 6 19173240 ns/op 5.22 MB/s BenchmarkEncoder/1e-Reuse5-4 6 18952643 ns/op 5.28 MB/s BenchmarkEncoder/1e6-4 1 190060054 ns/op 5.26 MB/s BenchmarkEncoder/1e-Reuse6-4 1 188616120 ns/op 5.30 MB/s PASS ok compress/lzw 2.670s goos: linux goarch: amd64 pkg: container/heap cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDup-4 32 3720199 ns/op PASS ok container/heap 0.241s goos: linux goarch: amd64 pkg: context cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCommonParentCancel-4 15105 7151 ns/op BenchmarkWithTimeout/concurrency=40-4 4843 23690 ns/op BenchmarkWithTimeout/concurrency=4000-4 5929 22096 ns/op BenchmarkWithTimeout/concurrency=400000-4 6409 19518 ns/op BenchmarkCancelTree/depth=1/Root=Background-4 371601 290.3 ns/op BenchmarkCancelTree/depth=1/Root=OpenCanceler-4 12404 9260 ns/op BenchmarkCancelTree/depth=1/Root=ClosedCanceler-4 16276 7236 ns/op BenchmarkCancelTree/depth=10/Root=Background-4 3243 43740 ns/op BenchmarkCancelTree/depth=10/Root=OpenCanceler-4 2006 65625 ns/op BenchmarkCancelTree/depth=10/Root=ClosedCanceler-4 3076 44997 ns/op BenchmarkCancelTree/depth=100/Root=Background-4 262 457166 ns/op BenchmarkCancelTree/depth=100/Root=OpenCanceler-4 182 955658 ns/op BenchmarkCancelTree/depth=100/Root=ClosedCanceler-4 300 410754 ns/op BenchmarkCancelTree/depth=1000/Root=Background-4 21 5319163 ns/op BenchmarkCancelTree/depth=1000/Root=OpenCanceler-4 15 7081918 ns/op BenchmarkCancelTree/depth=1000/Root=ClosedCanceler-4 24 4455264 ns/op BenchmarkCheckCanceled/Err-4 261338 459.1 ns/op BenchmarkCheckCanceled/Done-4 419833 266.7 ns/op BenchmarkContextCancelDone-4 531663 189.7 ns/op BenchmarkDeepValueNewGoRoutine/depth=10-4 22502 5283 ns/op BenchmarkDeepValueNewGoRoutine/depth=20-4 22944 6002 ns/op BenchmarkDeepValueNewGoRoutine/depth=30-4 15535 7017 ns/op BenchmarkDeepValueNewGoRoutine/depth=50-4 13153 9522 ns/op BenchmarkDeepValueNewGoRoutine/depth=100-4 10000 12872 ns/op BenchmarkDeepValueSameGoRoutine/depth=10-4 550710 219.2 ns/op BenchmarkDeepValueSameGoRoutine/depth=20-4 296184 371.5 ns/op BenchmarkDeepValueSameGoRoutine/depth=30-4 225789 534.5 ns/op BenchmarkDeepValueSameGoRoutine/depth=50-4 145054 839.0 ns/op BenchmarkDeepValueSameGoRoutine/depth=100-4 74360 1676 ns/op PASS ok context 11.857s goos: linux goarch: amd64 pkg: crypto/aes cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncrypt-4 1628222 75.77 ns/op 211.17 MB/s BenchmarkDecrypt-4 1618488 74.42 ns/op 214.98 MB/s BenchmarkExpand-4 1358389 88.40 ns/op PASS ok crypto/aes 0.656s goos: linux goarch: amd64 pkg: crypto/cipher cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAESGCM/Open-128-64-4 177024 636.1 ns/op 100.61 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-64-4 326377 313.7 ns/op 204.04 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-64-4 174422 664.8 ns/op 96.27 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-64-4 333008 345.7 ns/op 185.15 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-1350-4 109356 1062 ns/op 1271.41 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-1350-4 146901 815.8 ns/op 1654.89 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-1350-4 91309 1329 ns/op 1015.50 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-1350-4 116551 992.9 ns/op 1359.69 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-8192-4 35886 3358 ns/op 2439.31 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-8192-4 39054 3129 ns/op 2618.23 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-8192-4 26510 4359 ns/op 1879.25 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-8192-4 30097 4025 ns/op 2035.41 MB/s 0 B/op 0 allocs/op BenchmarkAESCFBEncrypt1K-4 6897 16527 ns/op 61.66 MB/s BenchmarkAESCFBDecrypt1K-4 7192 15976 ns/op 63.78 MB/s BenchmarkAESCFBDecrypt8K-4 945 128000 ns/op 63.96 MB/s BenchmarkAESOFB1K-4 9188 11046 ns/op 92.25 MB/s BenchmarkAESCTR1K-4 14142 8621 ns/op 118.20 MB/s BenchmarkAESCTR8K-4 1782 66790 ns/op 122.58 MB/s BenchmarkAESCBCEncrypt1K-4 14001 8701 ns/op 117.68 MB/s BenchmarkAESCBCDecrypt1K-4 17620 6870 ns/op 149.06 MB/s PASS ok crypto/cipher 2.913s goos: linux goarch: amd64 pkg: crypto/des cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncrypt-4 67723 1508 ns/op 5.31 MB/s BenchmarkDecrypt-4 78530 1459 ns/op 5.48 MB/s BenchmarkTDESEncrypt-4 30928 3793 ns/op 2.11 MB/s BenchmarkTDESDecrypt-4 31971 3774 ns/op 2.12 MB/s PASS ok crypto/des 0.641s goos: linux goarch: amd64 pkg: crypto/ecdh cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkECDH/P256-4 948 122775 ns/op 760 B/op 12 allocs/op BenchmarkECDH/P384-4 15 7245269 ns/op 1087 B/op 21 allocs/op BenchmarkECDH/P521-4 6 19799446 ns/op 1533 B/op 21 allocs/op BenchmarkECDH/X25519-4 100 1213966 ns/op 376 B/op 9 allocs/op PASS ok crypto/ecdh 0.639s goos: linux goarch: amd64 pkg: crypto/ecdsa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSign/P256-4 1496 75568 ns/op 2544 B/op 33 allocs/op BenchmarkSign/P384-4 48 2546993 ns/op 2712 B/op 34 allocs/op BenchmarkSign/P521-4 19 5743915 ns/op 3097 B/op 35 allocs/op BenchmarkVerify/P256-4 924 125769 ns/op 480 B/op 10 allocs/op BenchmarkVerify/P384-4 14 7421177 ns/op 640 B/op 14 allocs/op BenchmarkVerify/P521-4 6 19737941 ns/op 960 B/op 14 allocs/op BenchmarkGenerateKey/P256-4 3673 31360 ns/op 928 B/op 14 allocs/op BenchmarkGenerateKey/P384-4 62 1796165 ns/op 1128 B/op 17 allocs/op BenchmarkGenerateKey/P521-4 25 4933397 ns/op 1447 B/op 17 allocs/op PASS ok crypto/ecdsa 1.468s goos: linux goarch: amd64 pkg: crypto/ed25519 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkKeyGeneration-4 322 347738 ns/op BenchmarkNewKeyFromSeed-4 340 357104 ns/op BenchmarkSigning-4 292 379551 ns/op BenchmarkVerification-4 212 549535 ns/op PASS ok crypto/ed25519 0.660s goos: linux goarch: amd64 pkg: crypto/elliptic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScalarBaseMult/P256-4 4593 23423 ns/op 368 B/op 6 allocs/op BenchmarkScalarBaseMult/P224-4 164 729634 ns/op 376 B/op 9 allocs/op BenchmarkScalarBaseMult/P384-4 60 1861535 ns/op 504 B/op 9 allocs/op BenchmarkScalarBaseMult/P521-4 24 4893745 ns/op 696 B/op 9 allocs/op BenchmarkScalarMult/P256-4 1408 82192 ns/op 448 B/op 7 allocs/op BenchmarkScalarMult/P224-4 58 1883183 ns/op 440 B/op 10 allocs/op BenchmarkScalarMult/P384-4 22 5203717 ns/op 616 B/op 10 allocs/op BenchmarkScalarMult/P521-4 8 14194595 ns/op 840 B/op 10 allocs/op BenchmarkMarshalUnmarshal/P256/Uncompressed-4 13108 8729 ns/op 544 B/op 8 allocs/op BenchmarkMarshalUnmarshal/P256/Compressed-4 5810 18899 ns/op 592 B/op 9 allocs/op BenchmarkMarshalUnmarshal/P224/Uncompressed-4 3909 27711 ns/op 560 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P224/Compressed-4 82 1288225 ns/op 592 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P384/Uncompressed-4 2577 45138 ns/op 784 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P384/Compressed-4 308 383756 ns/op 848 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P521/Uncompressed-4 1615 72006 ns/op 1104 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P521/Compressed-4 97 1229588 ns/op 1184 B/op 15 allocs/op PASS ok crypto/elliptic 2.421s goos: linux goarch: amd64 pkg: crypto/hmac cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHMACSHA256_1K-4 14410 8088 ns/op 126.61 MB/s BenchmarkHMACSHA256_32-4 24678 4832 ns/op 6.62 MB/s BenchmarkNewWriteSum-4 12192 8857 ns/op 3.61 MB/s PASS ok crypto/hmac 0.618s goos: linux goarch: amd64 pkg: crypto/internal/bigmod cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkModAdd-4 56872 2057 ns/op BenchmarkModSub-4 71641 1616 ns/op BenchmarkMontgomeryRepr-4 28250 4319 ns/op BenchmarkMontgomeryMul-4 29780 4038 ns/op BenchmarkModMul-4 14202 8679 ns/op BenchmarkExpBig-4 15 7497351 ns/op BenchmarkExp-4 7 15876160 ns/op PASS ok crypto/internal/bigmod 1.148s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncodingDecoding-4 3720 33029 ns/op BenchmarkScalarBaseMult-4 340 331946 ns/op BenchmarkScalarMult-4 162 731975 ns/op BenchmarkVarTimeDoubleScalarBaseMult-4 232 508039 ns/op PASS ok crypto/internal/edwards25519 0.713s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519/field cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAdd-4 521089 215.7 ns/op BenchmarkMultiply-4 4572681 27.12 ns/op BenchmarkSquare-4 5365837 23.14 ns/op BenchmarkInvert-4 24500 4907 ns/op BenchmarkMult32-4 1412433 80.57 ns/op PASS ok crypto/internal/edwards25519/field 0.842s goos: linux goarch: amd64 pkg: crypto/internal/nistec cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScalarMult/P224-4 57 1820550 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P256-4 1683 72586 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P384-4 22 4806048 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P521-4 8 13784684 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P224-4 186 663102 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P256-4 7998 14941 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P384-4 69 1665003 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P521-4 26 4271892 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec 1.115s goos: linux goarch: amd64 pkg: crypto/internal/nistec/fiat cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMul/P224-4 573366 182.7 ns/op 0 B/op 0 allocs/op BenchmarkMul/P384-4 304813 373.2 ns/op 0 B/op 0 allocs/op BenchmarkMul/P521-4 115011 988.0 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P224-4 676882 179.6 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P384-4 319742 363.2 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P521-4 116840 985.7 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec/fiat 0.778s goos: linux goarch: amd64 pkg: crypto/md5 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes-4 110959 998.1 ns/op 8.02 MB/s BenchmarkHash64-4 128604 897.8 ns/op 71.28 MB/s BenchmarkHash128-4 118322 1028 ns/op 124.52 MB/s BenchmarkHash256-4 92755 1238 ns/op 206.71 MB/s BenchmarkHash512-4 68574 1672 ns/op 306.29 MB/s BenchmarkHash1K-4 45430 2700 ns/op 379.26 MB/s BenchmarkHash8K-4 7003 15883 ns/op 515.78 MB/s BenchmarkHash1M-4 60 1930592 ns/op 543.14 MB/s BenchmarkHash8M-4 7 15047551 ns/op 557.47 MB/s BenchmarkHash8BytesUnaligned-4 112647 957.1 ns/op 8.36 MB/s BenchmarkHash1KUnaligned-4 46302 2647 ns/op 386.90 MB/s BenchmarkHash8KUnaligned-4 7387 15124 ns/op 541.67 MB/s PASS ok crypto/md5 1.589s goos: linux goarch: amd64 pkg: crypto/rand cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPrime-4 1 247411654 ns/op PASS ok crypto/rand 0.282s goos: linux goarch: amd64 pkg: crypto/rc4 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRC4_128-4 14253 8099 ns/op 15.81 MB/s BenchmarkRC4_1K-4 1702 64918 ns/op 15.77 MB/s BenchmarkRC4_8K-4 232 498337 ns/op 16.25 MB/s PASS ok crypto/rc4 0.526s goos: linux goarch: amd64 pkg: crypto/rsa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecryptPKCS1v15/2048-4 12 9188016 ns/op BenchmarkDecryptPKCS1v15/3072-4 5 20529021 ns/op BenchmarkDecryptPKCS1v15/4096-4 3 39300517 ns/op BenchmarkEncryptPKCS1v15/2048-4 37 2816544 ns/op BenchmarkDecryptOAEP/2048-4 12 9246165 ns/op BenchmarkEncryptOAEP/2048-4 37 2902101 ns/op BenchmarkSignPKCS1v15/2048-4 12 9458772 ns/op BenchmarkVerifyPKCS1v15/2048-4 38 2952784 ns/op BenchmarkSignPSS/2048-4 12 9313059 ns/op BenchmarkVerifyPSS/2048-4 44 2929782 ns/op PASS ok crypto/rsa 1.583s goos: linux goarch: amd64 pkg: crypto/sha1 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 101720 1117 ns/op 7.16 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum-4 121466 935.0 ns/op 8.56 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/New-4 70573 1625 ns/op 196.96 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/Sum-4 78957 1452 ns/op 220.34 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 47799 2507 ns/op 408.54 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum-4 54538 2236 ns/op 457.97 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 10000 11639 ns/op 703.83 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum-4 10000 11394 ns/op 718.97 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha1 1.081s goos: linux goarch: amd64 pkg: crypto/sha256 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 76624 1491 ns/op 5.37 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum224-4 92365 1237 ns/op 6.47 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 91053 1323 ns/op 6.05 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 26043 4675 ns/op 219.02 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum224-4 27519 4523 ns/op 226.42 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 25864 4525 ns/op 226.32 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 4056 28622 ns/op 286.21 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum224-4 4292 28415 ns/op 288.30 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 4221 28512 ns/op 287.32 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha256 1.325s goos: linux goarch: amd64 pkg: crypto/sha512 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 56846 2049 ns/op 3.90 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum384-4 66489 1637 ns/op 4.89 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum512-4 60490 1899 ns/op 4.21 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 27416 4344 ns/op 235.75 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum384-4 30688 3847 ns/op 266.16 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum512-4 28772 4099 ns/op 249.80 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 5559 21112 ns/op 388.03 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum384-4 5713 20798 ns/op 393.88 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum512-4 5649 20695 ns/op 395.84 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha512 1.315s goos: linux goarch: amd64 pkg: crypto/subtle cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkConstantTimeByteEq-4 16705252 6.852 ns/op BenchmarkConstantTimeEq-4 17195622 7.016 ns/op BenchmarkConstantTimeLessOrEq-4 15968326 7.453 ns/op BenchmarkXORBytes/8Bytes-4 4615928 25.29 ns/op 316.35 MB/s BenchmarkXORBytes/128Bytes-4 4149964 28.48 ns/op 4494.82 MB/s BenchmarkXORBytes/2048Bytes-4 972026 108.1 ns/op 18953.00 MB/s BenchmarkXORBytes/32768Bytes-4 57770 1982 ns/op 16531.06 MB/s PASS ok crypto/subtle 0.958s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: crypto/tls cpu: AMD EPYC 7B12 BenchmarkCertCache/0-4 182 828949 ns/op BenchmarkCertCache/1-4 164 697346 ns/op BenchmarkCertCache/2-4 165 851259 ns/op BenchmarkCertCache/3-4 190 737066 ns/op BenchmarkHandshakeServer/RSA-4 42 2719417 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv13-4 34 3354915 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv12-4 36 2933108 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv13-4 128 920386 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv12-4 183 625158 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv13-4 58 2067888 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv12-4 66 1699750 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv13-4 4 29266828 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12-4 4 27454528 ns/op BenchmarkThroughput/MaxPacket/1MB/TLSv12-4 6 17290934 ns/op 60.64 MB/s BenchmarkThroughput/MaxPacket/1MB/TLSv13-4 5 24809002 ns/op 42.27 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv12-4 4 28521543 ns/op 73.53 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv13-4 3 39666701 ns/op 52.87 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv12-4 3 45703661 ns/op 91.77 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv13-4 2 68620841 ns/op 61.12 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv12-4 2 90030854 ns/op 93.17 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv13-4 1 117389103 ns/op 71.46 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv12-4 1 144190251 ns/op 116.35 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv13-4 1 267641914 ns/op 62.69 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv12-4 1 297453212 ns/op 112.81 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv13-4 1 428030135 ns/op 78.39 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv12-4 1 641077702 ns/op 104.68 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv13-4 1 903465086 ns/op 74.28 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv12-4 7 17875743 ns/op 58.66 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv13-4 4 25019426 ns/op 41.91 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv12-4 4 29343136 ns/op 71.47 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv13-4 3 34831321 ns/op 60.21 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv12-4 3 50238500 ns/op 83.49 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv13-4 2 67720861 ns/op 61.94 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv12-4 2 85445260 ns/op 98.18 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv13-4 1 115820153 ns/op 72.43 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv12-4 1 160435330 ns/op 104.57 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv13-4 1 226094486 ns/op 74.20 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv12-4 1 313465691 ns/op 107.04 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv13-4 1 442240613 ns/op 75.87 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv12-4 1 630676853 ns/op 106.41 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv13-4 1 924851755 ns/op 72.56 MB/s BenchmarkLatency/MaxPacket/200kbps/TLSv12-4 1 702298498 ns/op BenchmarkLatency/MaxPacket/200kbps/TLSv13-4 1 705259688 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv12-4 1 287062672 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv13-4 1 286875293 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv12-4 1 148723251 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv13-4 1 148208661 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv12-4 2 79158016 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv13-4 2 79411160 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv12-4 3 38101454 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv13-4 3 37167841 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv12-4 1 141254151 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv13-4 1 144128271 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv12-4 2 62404966 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv13-4 2 62847471 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv12-4 3 36605418 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv13-4 3 36066818 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv12-4 5 24004695 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv13-4 5 23449539 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv12-4 7 16720060 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv13-4 7 14992435 ns/op PASS ok crypto/tls 16.579s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: crypto/x509 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCreateCertificate/RSA_2048-4 8 12665282 ns/op BenchmarkCreateCertificate/ECDSA_P256-4 306 381068 ns/op BenchmarkParseCertificate/ecdsa_leaf-4 1012 100816 ns/op 13187 B/op 238 allocs/op BenchmarkParseCertificate/rsa_leaf-4 939 117275 ns/op 14610 B/op 262 allocs/op PASS ok crypto/x509 1.054s goos: linux goarch: amd64 pkg: database/sql cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkConcurrentDBExec-4 27 3714443 ns/op 279581 B/op 1638 allocs/op BenchmarkConcurrentStmtQuery-4 30 3955031 ns/op 262052 B/op 2026 allocs/op BenchmarkConcurrentStmtExec-4 44 2804677 ns/op 217925 B/op 656 allocs/op BenchmarkConcurrentTxQuery-4 32 3611498 ns/op 267441 B/op 2153 allocs/op BenchmarkConcurrentTxExec-4 56 1987796 ns/op 87807 B/op 1554 allocs/op BenchmarkConcurrentTxStmtQuery-4 33 3266507 ns/op 104037 B/op 2067 allocs/op BenchmarkConcurrentTxStmtExec-4 94 1156669 ns/op 40087 B/op 381 allocs/op BenchmarkConcurrentRandom-4 28 3768413 ns/op 232222 B/op 1806 allocs/op BenchmarkManyConcurrentQueries-4 2130 53876 ns/op 3983 B/op 20 allocs/op BenchmarkGrabConn-4 197268 537.1 ns/op 0 B/op 0 allocs/op PASS ok database/sql 1.515s goos: linux goarch: amd64 pkg: debug/gosym cpu: Intel(R) Xeon(R) CPU @ 2.20GHz Benchmark115/NewLineTable-4 232795 505.1 ns/op 384 B/op 3 allocs/op Benchmark115/NewTable-4 74 1562019 ns/op 188278 B/op 14 allocs/op Benchmark115/LineToPC-4 78 1503520 ns/op 0 B/op 0 allocs/op Benchmark115/PCToLine-4 19334 6279 ns/op 0 B/op 0 allocs/op PASS ok debug/gosym 0.752s goos: linux goarch: amd64 pkg: encoding/asn1 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMarshal-4 682 160386 ns/op 9528 B/op 363 allocs/op BenchmarkUnmarshal-4 2898 37234 ns/op 784 B/op 43 allocs/op PASS ok encoding/asn1 0.285s goos: linux goarch: amd64 pkg: encoding/base32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode-4 285 420121 ns/op 19.50 MB/s BenchmarkEncodeToString-4 229 463307 ns/op 17.68 MB/s BenchmarkDecode-4 148 800010 ns/op 16.39 MB/s BenchmarkDecodeString-4 144 808125 ns/op 16.23 MB/s PASS ok encoding/base32 0.752s goos: linux goarch: amd64 pkg: encoding/base64 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncodeToString-4 320 320793 ns/op 25.54 MB/s BenchmarkDecodeString/2-4 277053 397.2 ns/op 10.07 MB/s BenchmarkDecodeString/4-4 234421 523.2 ns/op 15.29 MB/s BenchmarkDecodeString/8-4 175431 636.2 ns/op 18.86 MB/s BenchmarkDecodeString/64-4 35749 3218 ns/op 27.35 MB/s BenchmarkDecodeString/8192-4 330 351615 ns/op 31.07 MB/s BenchmarkNewEncoding-4 85573 1321 ns/op 193.77 MB/s PASS ok encoding/base64 1.013s goos: linux goarch: amd64 pkg: encoding/binary cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadSlice1000Int32s-4 1330 82467 ns/op 48.50 MB/s BenchmarkReadStruct-4 18777 6601 ns/op 11.36 MB/s BenchmarkWriteStruct-4 18936 6241 ns/op 12.02 MB/s BenchmarkReadInts-4 49800 2310 ns/op 12.99 MB/s BenchmarkWriteInts-4 40890 2807 ns/op 10.69 MB/s BenchmarkWriteSlice1000Int32s-4 1346 85240 ns/op 46.93 MB/s BenchmarkPutUint16-4 3342235 34.48 ns/op 58.00 MB/s BenchmarkAppendUint16-4 3436477 34.66 ns/op 57.71 MB/s BenchmarkPutUint32-4 2416675 47.96 ns/op 83.40 MB/s BenchmarkAppendUint32-4 2517550 47.72 ns/op 83.82 MB/s BenchmarkPutUint64-4 1100989 108.3 ns/op 73.84 MB/s BenchmarkAppendUint64-4 998173 111.6 ns/op 71.71 MB/s BenchmarkLittleEndianPutUint16-4 3516277 33.04 ns/op 60.53 MB/s BenchmarkLittleEndianAppendUint16-4 3291873 34.87 ns/op 57.35 MB/s BenchmarkLittleEndianPutUint32-4 2458110 45.88 ns/op 87.19 MB/s BenchmarkLittleEndianAppendUint32-4 2596609 45.72 ns/op 87.48 MB/s BenchmarkLittleEndianPutUint64-4 985519 107.7 ns/op 74.26 MB/s BenchmarkLittleEndianAppendUint64-4 1000000 109.9 ns/op 72.81 MB/s BenchmarkReadFloats-4 176401 677.6 ns/op 17.71 MB/s BenchmarkWriteFloats-4 144020 845.6 ns/op 14.19 MB/s BenchmarkReadSlice1000Float32s-4 1354 88251 ns/op 45.33 MB/s BenchmarkWriteSlice1000Float32s-4 1153 97124 ns/op 41.18 MB/s BenchmarkReadSlice1000Uint8s-4 89748 1350 ns/op 740.69 MB/s BenchmarkWriteSlice1000Uint8s-4 115206 981.6 ns/op 1018.70 MB/s BenchmarkPutUvarint32-4 749005 149.8 ns/op 26.70 MB/s BenchmarkPutUvarint64-4 198774 571.8 ns/op 13.99 MB/s PASS ok encoding/binary 3.947s goos: linux goarch: amd64 pkg: encoding/csv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRead-4 6921 16642 ns/op 736 B/op 16 allocs/op BenchmarkReadWithFieldsPerRecord-4 7236 15978 ns/op 736 B/op 16 allocs/op BenchmarkReadWithoutFieldsPerRecord-4 7191 15999 ns/op 736 B/op 16 allocs/op BenchmarkReadLargeFields-4 4486 26465 ns/op 3937 B/op 24 allocs/op BenchmarkReadReuseRecord-4 8275 14823 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithFieldsPerRecord-4 7948 14664 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithoutFieldsPerRecord-4 8092 15106 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordLargeFields-4 4725 25579 ns/op 2977 B/op 12 allocs/op BenchmarkWrite-4 14133 8239 ns/op PASS ok encoding/csv 1.674s goos: linux goarch: amd64 pkg: encoding/gob cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEndToEndPipe-4 13092 12223 ns/op BenchmarkEndToEndByteBuffer-4 17991 7499 ns/op BenchmarkEndToEndSliceByteBuffer-4 249 421026 ns/op BenchmarkEncodeComplex128Slice-4 823 144375 ns/op BenchmarkEncodeFloat64Slice-4 1671 78718 ns/op BenchmarkEncodeInt32Slice-4 1663 71647 ns/op BenchmarkEncodeStringSlice-4 2385 46312 ns/op BenchmarkEncodeInterfaceSlice-4 72 1539933 ns/op BenchmarkDecodeComplex128Slice-4 657 175211 ns/op BenchmarkDecodeFloat64Slice-4 1010 108217 ns/op BenchmarkDecodeInt32Slice-4 1107 94037 ns/op BenchmarkDecodeStringSlice-4 715 152887 ns/op BenchmarkDecodeStringsSlice-4 283 376903 ns/op BenchmarkDecodeBytesSlice-4 664 209549 ns/op BenchmarkDecodeInterfaceSlice-4 97 1035805 ns/op BenchmarkDecodeMap-4 100 1244592 ns/op PASS ok encoding/gob 2.576s goos: linux goarch: amd64 pkg: encoding/hex cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode/256-4 13208 8819 ns/op 29.03 MB/s BenchmarkEncode/1024-4 3261 35984 ns/op 28.46 MB/s BenchmarkEncode/4096-4 820 143272 ns/op 28.59 MB/s BenchmarkEncode/16384-4 212 577755 ns/op 28.36 MB/s BenchmarkDecode/256-4 26046 4497 ns/op 56.92 MB/s BenchmarkDecode/1024-4 6036 18141 ns/op 56.45 MB/s BenchmarkDecode/4096-4 1626 72092 ns/op 56.82 MB/s BenchmarkDecode/16384-4 408 286642 ns/op 57.16 MB/s BenchmarkDump/256-4 1309 86735 ns/op 2.95 MB/s BenchmarkDump/1024-4 343 349408 ns/op 2.93 MB/s BenchmarkDump/4096-4 86 1385516 ns/op 2.96 MB/s BenchmarkDump/16384-4 20 5825519 ns/op 2.81 MB/s PASS ok encoding/hex 1.860s goos: linux goarch: amd64 pkg: encoding/json cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCodeEncoder-4 1 167818384 ns/op 11.56 MB/s 8391744 B/op 58 allocs/op BenchmarkCodeEncoderError-4 1 110300415 ns/op 17.59 MB/s 5592 B/op 76 allocs/op BenchmarkCodeMarshal-4 1 123610511 ns/op 15.70 MB/s 1944072 B/op 19 allocs/op BenchmarkCodeMarshalError-4 1 132221343 ns/op 14.68 MB/s 2077800 B/op 93 allocs/op BenchmarkMarshalBytes/32-4 23180 5215 ns/op BenchmarkMarshalBytes/256-4 5755 20259 ns/op BenchmarkMarshalBytes/4096-4 500 236717 ns/op BenchmarkMarshalBytesError/32-4 61 1842153 ns/op BenchmarkMarshalBytesError/256-4 57 1922649 ns/op BenchmarkMarshalBytesError/4096-4 52 2174255 ns/op BenchmarkCodeDecoder-4 1 420169778 ns/op 4.62 MB/s 11017088 B/op 91358 allocs/op BenchmarkUnicodeDecoder-4 37129 3179 ns/op 4.40 MB/s 40 B/op 2 allocs/op BenchmarkDecoderStream-4 49774 2135 ns/op 16 B/op 1 allocs/op BenchmarkCodeUnmarshal-4 1 346543058 ns/op 5.60 MB/s 2939816 B/op 91328 allocs/op BenchmarkCodeUnmarshalReuse-4 1 349020923 ns/op 5.56 MB/s 2939984 B/op 91331 allocs/op BenchmarkUnmarshalString-4 69870 1823 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalFloat64-4 145903 824.2 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalInt64-4 380752 378.7 ns/op 144 B/op 1 allocs/op BenchmarkIssue10335-4 77106 1379 ns/op 176 B/op 3 allocs/op BenchmarkIssue34127-4 88507 1230 ns/op 83 B/op 2 allocs/op BenchmarkUnmapped-4 20677 6025 ns/op 208 B/op 4 allocs/op BenchmarkTypeFieldsCache/MissTypes1-4 3484 41096 ns/op BenchmarkTypeFieldsCache/MissTypes10-4 637 164843 ns/op BenchmarkTypeFieldsCache/MissTypes100-4 96 1245395 ns/op BenchmarkTypeFieldsCache/MissTypes1000-4 8 12724287 ns/op BenchmarkTypeFieldsCache/HitTypes1-4 532540 206.5 ns/op BenchmarkTypeFieldsCache/HitTypes10-4 531223 213.0 ns/op BenchmarkTypeFieldsCache/HitTypes100-4 524832 204.8 ns/op BenchmarkTypeFieldsCache/HitTypes1000-4 573453 198.4 ns/op BenchmarkEncodeMarshaler-4 76154 1543 ns/op 76 B/op 2 allocs/op BenchmarkEncoderEncode-4 92161 1218 ns/op 44 B/op 0 allocs/op BenchmarkNumberIsValid-4 3916962 29.43 ns/op BenchmarkNumberIsValidRegexp-4 21886 5534 ns/op PASS ok encoding/json 7.471s goos: linux goarch: amd64 pkg: encoding/pem cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode-4 48 2448052 ns/op 26.77 MB/s BenchmarkDecode-4 24 5134595 ns/op 17.29 MB/s PASS ok encoding/pem 0.379s goos: linux goarch: amd64 pkg: encoding/xml cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMarshal-4 2227 45304 ns/op 6280 B/op 24 allocs/op BenchmarkUnmarshal-4 1012 127039 ns/op 8290 B/op 188 allocs/op BenchmarkHTMLAutoClose-4 4447 27337 ns/op PASS ok encoding/xml 0.591s goos: linux goarch: amd64 pkg: expvar cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkIntAdd-4 319526 405.1 ns/op BenchmarkIntSet-4 409972 319.9 ns/op BenchmarkFloatAdd-4 80578 1770 ns/op BenchmarkFloatSet-4 374970 295.8 ns/op BenchmarkStringSet-4 318009 329.2 ns/op BenchmarkMapSet-4 66073 1835 ns/op BenchmarkMapSetDifferent-4 73458 1653 ns/op BenchmarkMapSetDifferentRandom-4 235 459301 ns/op BenchmarkMapSetString-4 102334 1669 ns/op BenchmarkMapAddSame-4 40208 3039 ns/op BenchmarkMapAddDifferent-4 17595 6021 ns/op BenchmarkMapAddDifferentRandom-4 218 529762 ns/op BenchmarkMapAddSameSteadyState-4 226363 459.6 ns/op BenchmarkMapAddDifferentSteadyState-4 106437 999.1 ns/op BenchmarkRealworldExpvarUsage-4 18826 8898 ns/op PASS ok expvar 2.822s goos: linux goarch: amd64 pkg: fmt cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSprintfPadding-4 84488 1281 ns/op BenchmarkSprintfEmpty-4 475518 297.7 ns/op BenchmarkSprintfString-4 256585 396.4 ns/op BenchmarkSprintfTruncateString-4 302902 457.0 ns/op BenchmarkSprintfTruncateBytes-4 156051 743.8 ns/op BenchmarkSprintfSlowParsingPath-4 273640 462.2 ns/op BenchmarkSprintfQuoteString-4 42718 2787 ns/op BenchmarkSprintfInt-4 228343 491.1 ns/op BenchmarkSprintfIntInt-4 178885 681.0 ns/op BenchmarkSprintfPrefixedInt-4 172002 597.0 ns/op BenchmarkSprintfFloat-4 138324 826.0 ns/op BenchmarkSprintfComplex-4 59802 2204 ns/op BenchmarkSprintfBoolean-4 330712 503.2 ns/op BenchmarkSprintfHexString-4 115641 1159 ns/op BenchmarkSprintfHexBytes-4 94309 1266 ns/op BenchmarkSprintfBytes-4 42044 2694 ns/op BenchmarkSprintfStringer-4 94426 1245 ns/op BenchmarkSprintfStructure-4 43446 3578 ns/op BenchmarkManyArgs-4 75306 1576 ns/op BenchmarkFprintInt-4 77461 1562 ns/op BenchmarkFprintfBytes-4 79737 1464 ns/op BenchmarkFprintIntNoAlloc-4 75429 1626 ns/op BenchmarkScanInts-4 36 3125677 ns/op BenchmarkScanRecursiveInt-4 1 374239498 ns/op BenchmarkScanRecursiveIntReaderWrapper-4 1 419550113 ns/op PASS ok fmt 4.675s goos: linux goarch: amd64 pkg: go/build cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkImportVendor-4 487 214898 ns/op PASS ok go/build 0.174s goos: linux goarch: amd64 pkg: go/constant cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStringAdd/1-4 48225 2209 ns/op 160 B/op 2 allocs/op BenchmarkStringAdd/4-4 13088 8795 ns/op 832 B/op 9 allocs/op BenchmarkStringAdd/16-4 3663 30410 ns/op 3168 B/op 23 allocs/op BenchmarkStringAdd/64-4 1063 110882 ns/op 11744 B/op 73 allocs/op BenchmarkStringAdd/256-4 253 437274 ns/op 47840 B/op 267 allocs/op BenchmarkStringAdd/1024-4 62 2317421 ns/op 206176 B/op 1038 allocs/op BenchmarkStringAdd/4096-4 13 9463509 ns/op 865632 B/op 4114 allocs/op BenchmarkStringAdd/16384-4 3 41844393 ns/op 3634528 B/op 16407 allocs/op BenchmarkStringAdd/65536-4 1 194495859 ns/op 15259072 B/op 65566 allocs/op PASS ok go/constant 1.641s goos: linux goarch: amd64 pkg: go/format cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFormat/array1-10000-4 1 258243272 ns/op 0.25 MB/s 46367456 B/op 48960 allocs/op PASS ok go/format 0.324s goos: linux goarch: amd64 pkg: go/parser cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkParse-4 6 20095555 ns/op 2.68 MB/s BenchmarkParseOnly-4 6 16989930 ns/op 3.17 MB/s BenchmarkResolve-4 54 2165885 ns/op 24.87 MB/s PASS ok go/parser 1.453s goos: linux goarch: amd64 pkg: go/printer cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPrintFile-4 1 145777984 ns/op 0.36 MB/s 4732568 B/op 27560 allocs/op BenchmarkPrintDecl-4 655 153156 ns/op 0.21 MB/s 16519 B/op 51 allocs/op PASS ok go/printer 0.315s goos: linux goarch: amd64 pkg: go/scanner cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScan-4 270 439595 ns/op BenchmarkScanFiles/go/types/expr.go-4 13 8785583 ns/op 6.33 MB/s BenchmarkScanFiles/go/parser/parser.go-4 9 12057030 ns/op 5.97 MB/s BenchmarkScanFiles/net/http/server.go-4 6 17020947 ns/op 6.65 MB/s BenchmarkScanFiles/go/scanner/errors.go-4 225 518953 ns/op 5.93 MB/s PASS ok go/scanner 0.739s goos: linux goarch: amd64 pkg: go/token cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSearchInts-4 981199 109.2 ns/op PASS ok go/token 0.156s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: go/types cpu: AMD EPYC 7B12 BenchmarkLookupFieldOrMethod-4 174 714695 ns/op BenchmarkNamed/Underlying/nongeneric-4 1000000 101.0 ns/op BenchmarkNamed/Underlying/generic-4 1213804 101.0 ns/op BenchmarkNamed/Underlying/src_instance-4 1000000 104.7 ns/op BenchmarkNamed/Underlying/user_instance-4 1000000 101.6 ns/op BenchmarkNamed/NewMethodSet/nongeneric-4 23094 5162 ns/op BenchmarkNamed/NewMethodSet/generic-4 22746 5095 ns/op BenchmarkNamed/NewMethodSet/src_instance-4 23540 5132 ns/op BenchmarkNamed/NewMethodSet/user_instance-4 23581 5068 ns/op BenchmarkCheck/http/funcbodies/info-4 1 455596739 ns/op 67008 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 367663843 ns/op 83033 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 206546690 ns/op 147785 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 190504001 ns/op 160238 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 348056375 ns/op 14714 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 1 104416536 ns/op 49027 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 2 64392452 ns/op 79509 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 2 63633627 ns/op 80479 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 137633654 ns/op 15742 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 2 59618768 ns/op 36333 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 3 45290648 ns/op 47827 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 3 44625175 ns/op 48551 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 840865372 ns/op 75387 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 494975678 ns/op 128064 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 120467795 ns/op 526001 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 2 96526286 ns/op 656610 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 1549124260 ns/op 1287 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 90926886 ns/op 21915 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 2 77647231 ns/op 25663 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 2 77335736 ns/op 25750 lines/s PASS ok go/types 18.090s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: hash/adler32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAdler32KB-4 9862 12152 ns/op 84.27 MB/s PASS ok hash/adler32 0.256s goos: linux goarch: amd64 pkg: hash/crc32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCRC32/poly=IEEE/size=15/align=0-4 215689 534.3 ns/op 28.08 MB/s BenchmarkCRC32/poly=IEEE/size=15/align=1-4 200203 514.6 ns/op 29.15 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=0-4 116847 977.8 ns/op 40.91 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=1-4 121800 944.2 ns/op 42.36 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=0-4 496965 242.5 ns/op 2111.50 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=1-4 479044 240.3 ns/op 2130.29 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=0-4 413541 286.9 ns/op 3569.44 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=1-4 399842 283.2 ns/op 3616.15 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=0-4 259986 468.3 ns/op 8746.73 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=1-4 257277 486.1 ns/op 8426.67 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=0-4 49074 2445 ns/op 13403.84 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=1-4 53109 2235 ns/op 14661.25 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=0-4 497644 236.5 ns/op 63.44 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=1-4 537984 242.4 ns/op 61.88 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=0-4 476293 247.2 ns/op 161.84 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=1-4 475484 248.9 ns/op 160.70 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=0-4 328888 353.1 ns/op 1449.91 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=1-4 338394 346.1 ns/op 1479.17 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=0-4 284481 434.3 ns/op 2357.84 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=1-4 268212 424.9 ns/op 2410.14 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=0-4 228783 509.6 ns/op 8037.01 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=1-4 242851 513.2 ns/op 7981.82 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=0-4 48464 2530 ns/op 12952.78 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=1-4 46899 2504 ns/op 13088.20 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=0-4 234907 507.6 ns/op 29.55 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=1-4 235894 496.1 ns/op 30.23 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=0-4 112014 1056 ns/op 37.89 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=1-4 122203 988.2 ns/op 40.48 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=0-4 8728 13606 ns/op 37.63 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=1-4 8082 14106 ns/op 36.30 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=0-4 4027 28430 ns/op 36.02 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=1-4 3974 28046 ns/op 36.51 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=0-4 1052 114035 ns/op 35.92 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=1-4 1074 113858 ns/op 35.97 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=0-4 132 888438 ns/op 36.88 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=1-4 129 925891 ns/op 35.39 MB/s PASS ok hash/crc32 4.866s goos: linux goarch: amd64 pkg: hash/crc64 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCrc64/ISO64KB-4 88 1191986 ns/op 54.98 MB/s BenchmarkCrc64/ISO4KB-4 1084 105253 ns/op 38.92 MB/s BenchmarkCrc64/ISO1KB-4 5221 22818 ns/op 44.88 MB/s BenchmarkCrc64/ECMA64KB-4 94 1191744 ns/op 54.99 MB/s BenchmarkCrc64/Random64KB-4 100 1108345 ns/op 59.13 MB/s BenchmarkCrc64/Random16KB-4 408 285000 ns/op 57.49 MB/s PASS ok hash/crc64 0.775s goos: linux goarch: amd64 pkg: hash/fnv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFnv32KB-4 9842 12074 ns/op 84.81 MB/s BenchmarkFnv32aKB-4 9522 12321 ns/op 83.11 MB/s BenchmarkFnv64KB-4 10000 11989 ns/op 85.41 MB/s BenchmarkFnv64aKB-4 8559 12281 ns/op 83.38 MB/s BenchmarkFnv128KB-4 2227 54859 ns/op 18.67 MB/s BenchmarkFnv128aKB-4 2156 55276 ns/op 18.53 MB/s PASS ok hash/fnv 0.950s goos: linux goarch: amd64 pkg: hash/maphash cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash/n=4/Write-4 655440 180.7 ns/op 22.13 MB/s BenchmarkHash/n=4/Bytes-4 4936772 25.27 ns/op 158.31 MB/s BenchmarkHash/n=4/String-4 1802270 66.94 ns/op 59.75 MB/s BenchmarkHash/n=8/Write-4 565723 179.3 ns/op 44.61 MB/s BenchmarkHash/n=8/Bytes-4 4949320 24.55 ns/op 325.85 MB/s BenchmarkHash/n=8/String-4 1768647 67.52 ns/op 118.49 MB/s BenchmarkHash/n=16/Write-4 639848 188.1 ns/op 85.07 MB/s BenchmarkHash/n=16/Bytes-4 4731240 24.49 ns/op 653.23 MB/s BenchmarkHash/n=16/String-4 1790937 65.80 ns/op 243.17 MB/s BenchmarkHash/n=32/Write-4 586389 194.0 ns/op 164.98 MB/s BenchmarkHash/n=32/Bytes-4 4764664 23.71 ns/op 1349.51 MB/s BenchmarkHash/n=32/String-4 1737676 66.50 ns/op 481.19 MB/s BenchmarkHash/n=64/Write-4 572792 207.6 ns/op 308.25 MB/s BenchmarkHash/n=64/Bytes-4 4439830 25.71 ns/op 2488.83 MB/s BenchmarkHash/n=64/String-4 1689457 71.74 ns/op 892.17 MB/s BenchmarkHash/n=256/Write-4 406060 276.0 ns/op 927.42 MB/s BenchmarkHash/n=256/Bytes-4 2575879 46.65 ns/op 5487.34 MB/s BenchmarkHash/n=256/String-4 926343 127.3 ns/op 2011.24 MB/s BenchmarkHash/n=320/Write-4 427058 269.0 ns/op 1189.41 MB/s BenchmarkHash/n=320/Bytes-4 2034403 60.00 ns/op 5333.09 MB/s BenchmarkHash/n=320/String-4 630914 173.2 ns/op 1847.47 MB/s BenchmarkHash/n=1024/Write-4 279400 431.8 ns/op 2371.43 MB/s BenchmarkHash/n=1024/Bytes-4 740817 155.2 ns/op 6597.41 MB/s BenchmarkHash/n=1024/String-4 264969 440.2 ns/op 2326.12 MB/s BenchmarkHash/n=4096/Write-4 129837 945.6 ns/op 4331.62 MB/s BenchmarkHash/n=4096/Bytes-4 199952 571.3 ns/op 7169.53 MB/s BenchmarkHash/n=4096/String-4 70290 1661 ns/op 2466.39 MB/s BenchmarkHash/n=16384/Write-4 38280 3124 ns/op 5243.83 MB/s BenchmarkHash/n=16384/Bytes-4 52152 2252 ns/op 7275.26 MB/s BenchmarkHash/n=16384/String-4 17454 6563 ns/op 2496.39 MB/s PASS ok hash/maphash 4.515s goos: linux goarch: amd64 pkg: html cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEscape-4 910 130622 ns/op BenchmarkEscapeNone-4 109652 1017 ns/op BenchmarkUnescape-4 760 152150 ns/op BenchmarkUnescapeNone-4 513768 220.8 ns/op BenchmarkUnescapeSparse-4 12344 9033 ns/op BenchmarkUnescapeDense-4 1146 103679 ns/op PASS ok html 0.976s goos: linux goarch: amd64 pkg: html/template cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCSSEscaper-4 9514 12423 ns/op BenchmarkCSSEscaperNoSpecials-4 46807 2460 ns/op BenchmarkDecodeCSS-4 27103 4449 ns/op BenchmarkDecodeCSSNoSpecials-4 4689997 25.44 ns/op BenchmarkCSSValueFilter-4 120075 979.0 ns/op BenchmarkCSSValueFilterOk-4 82017 1417 ns/op BenchmarkEscapedExecute-4 4478 24787 ns/op BenchmarkHTMLNospaceEscaper-4 10000 10469 ns/op BenchmarkHTMLNospaceEscaperNoSpecials-4 71101 1712 ns/op BenchmarkStripTags-4 21676 5499 ns/op BenchmarkStripTagsNoSpecials-4 294618 390.4 ns/op BenchmarkJSValEscaperWithNum-4 25474 4744 ns/op BenchmarkJSValEscaperWithStr-4 5824 19980 ns/op BenchmarkJSValEscaperWithStrNoSpecials-4 19807 5938 ns/op BenchmarkJSValEscaperWithObj-4 4226 24345 ns/op BenchmarkJSValEscaperWithObjNoSpecials-4 14102 8216 ns/op BenchmarkJSStrEscaperNoSpecials-4 64668 1922 ns/op BenchmarkJSStrEscaper-4 10000 10111 ns/op BenchmarkJSRegexpEscaperNoSpecials-4 54974 2097 ns/op BenchmarkJSRegexpEscaper-4 10000 10629 ns/op BenchmarkTemplateSpecialTags-4 94 1226148 ns/op BenchmarkURLEscaper-4 4094 26160 ns/op BenchmarkURLEscaperNoSpecials-4 177288 621.8 ns/op BenchmarkURLNormalizer-4 5724 19672 ns/op BenchmarkURLNormalizerNoSpecials-4 165104 646.4 ns/op BenchmarkSrcsetFilter-4 19315 5833 ns/op BenchmarkSrcsetFilterNoSpecials-4 105991 1038 ns/op PASS ok html/template 4.121s goos: linux goarch: amd64 pkg: image cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAt/rgba-4 632338 178.9 ns/op 16 B/op 1 allocs/op BenchmarkAt/rgba64-4 436932 257.5 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba-4 687883 179.2 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba64-4 407280 255.5 ns/op 16 B/op 1 allocs/op BenchmarkAt/alpha-4 1898646 64.30 ns/op 0 B/op 0 allocs/op BenchmarkAt/alpha16-4 1253160 94.74 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray-4 1862958 64.40 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray16-4 1240869 93.71 ns/op 0 B/op 0 allocs/op BenchmarkAt/paletted-4 1447762 84.69 ns/op 0 B/op 0 allocs/op BenchmarkSet/rgba-4 425019 258.0 ns/op 16 B/op 1 allocs/op BenchmarkSet/rgba64-4 368892 319.1 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba-4 473745 254.2 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba64-4 352904 333.7 ns/op 16 B/op 1 allocs/op BenchmarkSet/alpha-4 734023 142.8 ns/op 0 B/op 0 allocs/op BenchmarkSet/alpha16-4 603540 203.3 ns/op 16 B/op 1 allocs/op BenchmarkSet/gray-4 926078 121.9 ns/op 0 B/op 0 allocs/op BenchmarkSet/gray16-4 584820 206.0 ns/op 16 B/op 1 allocs/op BenchmarkSet/paletted-4 427968 273.0 ns/op 0 B/op 0 allocs/op BenchmarkRGBAAt-4 1426449 83.69 ns/op BenchmarkRGBASetRGBA-4 1473357 82.08 ns/op BenchmarkRGBA64At-4 791998 143.1 ns/op BenchmarkRGBA64SetRGBA64-4 736563 140.9 ns/op BenchmarkNRGBAAt-4 1397787 85.77 ns/op BenchmarkNRGBASetNRGBA-4 1370952 81.73 ns/op BenchmarkNRGBA64At-4 775033 150.5 ns/op BenchmarkNRGBA64SetNRGBA64-4 836190 138.6 ns/op BenchmarkAlphaAt-4 2342401 50.00 ns/op BenchmarkAlphaSetAlpha-4 2467182 48.99 ns/op BenchmarkAlpha16At-4 1516106 78.75 ns/op BenchmarkAlphaSetAlpha16-4 1547443 75.36 ns/op BenchmarkGrayAt-4 2411305 49.91 ns/op BenchmarkGraySetGray-4 2495806 48.72 ns/op BenchmarkGray16At-4 1557313 77.45 ns/op BenchmarkGraySetGray16-4 1530260 76.02 ns/op PASS ok image 5.584s goos: linux goarch: amd64 pkg: image/color cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkYCbCrToRGB/0-4 4216029 27.70 ns/op BenchmarkYCbCrToRGB/128-4 4293927 28.19 ns/op BenchmarkYCbCrToRGB/255-4 4012552 29.38 ns/op BenchmarkRGBToYCbCr/0-4 4406976 27.99 ns/op BenchmarkRGBToYCbCr/Cb-4 4189885 27.75 ns/op BenchmarkRGBToYCbCr/Cr-4 4131978 27.94 ns/op BenchmarkYCbCrToRGBA/0-4 3412611 35.97 ns/op BenchmarkYCbCrToRGBA/128-4 3124550 38.32 ns/op BenchmarkYCbCrToRGBA/255-4 3201664 35.97 ns/op BenchmarkNYCbCrAToRGBA/0-4 3384277 35.43 ns/op BenchmarkNYCbCrAToRGBA/128-4 3422947 35.48 ns/op BenchmarkNYCbCrAToRGBA/255-4 3231663 36.63 ns/op PASS ok image/color 1.913s goos: linux goarch: amd64 pkg: image/draw cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFillOver-4 4 31555914 ns/op BenchmarkFillSrc-4 356 336456 ns/op BenchmarkCopyOver-4 7 16159292 ns/op BenchmarkCopySrc-4 458 252443 ns/op BenchmarkNRGBAOver-4 6 17582082 ns/op BenchmarkNRGBASrc-4 9 11373454 ns/op BenchmarkYCbCr-4 9 12466125 ns/op BenchmarkGray-4 18 6655810 ns/op BenchmarkCMYK-4 10 11382152 ns/op BenchmarkGlyphOver-4 21 5277122 ns/op BenchmarkRGBAMaskOver-4 4 28291866 ns/op BenchmarkGrayMaskOver-4 5 21508218 ns/op BenchmarkRGBA64ImageMaskOver-4 3 34344344 ns/op BenchmarkRGBA-4 5 23572629 ns/op BenchmarkPalettedFill-4 966 130800 ns/op BenchmarkPalettedRGBA-4 4 25527426 ns/op BenchmarkGenericOver-4 2 50767720 ns/op BenchmarkGenericMaskOver-4 5 21237105 ns/op BenchmarkGenericSrc-4 3 33727467 ns/op BenchmarkGenericMaskSrc-4 4 28784475 ns/op PASS ok image/draw 6.093s goos: linux goarch: amd64 pkg: image/gif cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecode-4 22 4741633 ns/op 3.26 MB/s 47848 B/op 267 allocs/op BenchmarkEncodeRandomPaletted-4 1 117729846 ns/op 2.61 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRandomRGBA-4 1 3177399009 ns/op 0.39 MB/s 417248 B/op 13 allocs/op BenchmarkEncodeRealisticPaletted-4 54 2204160 ns/op 7.01 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRealisticRGBA-4 1 160608107 ns/op 0.38 MB/s 105952 B/op 13 allocs/op PASS ok image/gif 4.283s goos: linux goarch: amd64 pkg: image/jpeg cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFDCT-4 3717 28013 ns/op BenchmarkIDCT-4 3938 26382 ns/op BenchmarkDecodeBaseline-4 9 11795787 ns/op 5.24 MB/s 63024 B/op 5 allocs/op BenchmarkDecodeProgressive-4 6 17193310 ns/op 3.59 MB/s 259712 B/op 13 allocs/op BenchmarkEncodeRGBA-4 1 155456529 ns/op 7.90 MB/s 4400 B/op 4 allocs/op BenchmarkEncodeYCbCr-4 1 188708933 ns/op 4.88 MB/s 4400 B/op 4 allocs/op PASS ok image/jpeg 1.266s goos: linux goarch: amd64 pkg: image/png cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPaeth-4 12142143 8.951 ns/op BenchmarkDecodeGray-4 12 8724528 ns/op 7.51 MB/s 137024 B/op 102 allocs/op BenchmarkDecodeNRGBAGradient-4 3 36470227 ns/op 7.19 MB/s 337328 B/op 188 allocs/op BenchmarkDecodeNRGBAOpaque-4 4 31500036 ns/op 8.32 MB/s 346592 B/op 152 allocs/op BenchmarkDecodePaletted-4 24 5227360 ns/op 12.54 MB/s 139456 B/op 309 allocs/op BenchmarkDecodeRGB-4 4 30034327 ns/op 8.73 MB/s 332000 B/op 157 allocs/op BenchmarkDecodeInterlacing-4 3 36285905 ns/op 7.22 MB/s 605216 B/op 268 allocs/op BenchmarkEncodeGray-4 2 55427039 ns/op 5.54 MB/s 852184 B/op 29 allocs/op BenchmarkEncodeGrayWithBufferPool-4 2 54596638 ns/op 5.63 MB/s 426080 B/op 14 allocs/op BenchmarkEncodeNRGBOpaque-4 1 181148177 ns/op 6.78 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeNRGBA-4 1 198392838 ns/op 6.19 MB/s 864088 B/op 29 allocs/op BenchmarkEncodePaletted-4 4 29962670 ns/op 10.25 MB/s 848592 B/op 32 allocs/op BenchmarkEncodeRGBOpaque-4 1 179344234 ns/op 6.85 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeRGBA-4 1 717713853 ns/op 1.71 MB/s 864088 B/op 29 allocs/op PASS ok image/png 3.528s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: index/suffixarray cpu: AMD EPYC 7B12 BenchmarkNew/text=opticks/size=100K/bits=32-4 3 42955349 ns/op 2.33 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=opticks/size=100K/bits=64-4 3 38037929 ns/op 2.63 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=32-4 1 229146513 ns/op 2.18 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=64-4 1 185116514 ns/op 2.70 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=32-4 3 44530035 ns/op 2.25 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=64-4 3 35755772 ns/op 2.80 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=32-4 1 216946454 ns/op 2.30 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=64-4 1 189811114 ns/op 2.63 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=32-4 1 464908056 ns/op 2.15 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=64-4 1 417650157 ns/op 2.39 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=32-4 1 2961147560 ns/op 1.69 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=64-4 1 2818499384 ns/op 1.77 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=32-4 14 7927064 ns/op 12.62 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=64-4 14 7956543 ns/op 12.57 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=32-4 3 39659399 ns/op 12.61 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=64-4 3 37372869 ns/op 13.38 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=32-4 2 71673733 ns/op 13.95 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=64-4 2 75403672 ns/op 13.26 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=32-4 1 343224850 ns/op 14.57 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=64-4 1 378937218 ns/op 13.19 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=32-4 2 50252310 ns/op 1.99 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=64-4 3 38696602 ns/op 2.58 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=32-4 1 273941053 ns/op 1.83 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=64-4 1 255409589 ns/op 1.96 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=32-4 1 588615818 ns/op 1.70 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=64-4 1 637086114 ns/op 1.57 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=32-4 1 5280877550 ns/op 0.95 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=64-4 1 5238272839 ns/op 0.95 MB/s 40001616 B/op 2 allocs/op BenchmarkSaveRestore/bits=32-4 1 136212747 ns/op 30.69 MB/s 5275648 B/op 4 allocs/op BenchmarkSaveRestore/bits=64-4 1 129503303 ns/op 32.28 MB/s 9469952 B/op 4 allocs/op PASS ok index/suffixarray 35.498s goos: linux goarch: amd64 pkg: internal/fuzz cpu: AMD EPYC 7B12 BenchmarkMarshalCorpusFile/1-4 37032 3074 ns/op 0.33 MB/s BenchmarkMarshalCorpusFile/2-4 37898 3187 ns/op 0.63 MB/s BenchmarkMarshalCorpusFile/4-4 34429 3523 ns/op 1.14 MB/s BenchmarkMarshalCorpusFile/8-4 28521 4316 ns/op 1.85 MB/s BenchmarkMarshalCorpusFile/16-4 22443 5429 ns/op 2.95 MB/s BenchmarkMarshalCorpusFile/32-4 15090 7950 ns/op 4.03 MB/s BenchmarkMarshalCorpusFile/64-4 9518 12406 ns/op 5.16 MB/s BenchmarkMarshalCorpusFile/128-4 6116 19892 ns/op 6.43 MB/s BenchmarkMarshalCorpusFile/256-4 2683 39029 ns/op 6.56 MB/s BenchmarkMarshalCorpusFile/512-4 1500 75473 ns/op 6.78 MB/s BenchmarkMarshalCorpusFile/1024-4 802 142435 ns/op 7.19 MB/s BenchmarkMarshalCorpusFile/2048-4 403 286712 ns/op 7.14 MB/s BenchmarkMarshalCorpusFile/4096-4 206 552456 ns/op 7.41 MB/s BenchmarkMarshalCorpusFile/8192-4 99 1112506 ns/op 7.36 MB/s BenchmarkMarshalCorpusFile/16384-4 51 2208760 ns/op 7.42 MB/s BenchmarkMarshalCorpusFile/32768-4 24 5173087 ns/op 6.33 MB/s BenchmarkMarshalCorpusFile/65536-4 12 10127639 ns/op 6.47 MB/s BenchmarkMarshalCorpusFile/131072-4 5 22681516 ns/op 5.78 MB/s BenchmarkMarshalCorpusFile/262144-4 3 40417453 ns/op 6.49 MB/s BenchmarkMarshalCorpusFile/524288-4 1 111557008 ns/op 4.70 MB/s BenchmarkMarshalCorpusFile/1048576-4 1 161148221 ns/op 6.51 MB/s BenchmarkUnmarshalCorpusFile/1-4 9714 11288 ns/op 0.09 MB/s BenchmarkUnmarshalCorpusFile/2-4 10254 11719 ns/op 0.17 MB/s BenchmarkUnmarshalCorpusFile/4-4 9096 12757 ns/op 0.31 MB/s BenchmarkUnmarshalCorpusFile/8-4 8174 14990 ns/op 0.53 MB/s BenchmarkUnmarshalCorpusFile/16-4 5833 17920 ns/op 0.89 MB/s BenchmarkUnmarshalCorpusFile/32-4 4092 24460 ns/op 1.31 MB/s BenchmarkUnmarshalCorpusFile/64-4 3859 29361 ns/op 2.18 MB/s BenchmarkUnmarshalCorpusFile/128-4 2917 37506 ns/op 3.41 MB/s BenchmarkUnmarshalCorpusFile/256-4 1114 98829 ns/op 2.59 MB/s BenchmarkUnmarshalCorpusFile/512-4 576 189226 ns/op 2.71 MB/s BenchmarkUnmarshalCorpusFile/1024-4 310 365930 ns/op 2.80 MB/s BenchmarkUnmarshalCorpusFile/2048-4 162 780784 ns/op 2.62 MB/s BenchmarkUnmarshalCorpusFile/4096-4 79 1479283 ns/op 2.77 MB/s BenchmarkUnmarshalCorpusFile/8192-4 36 2963507 ns/op 2.76 MB/s BenchmarkUnmarshalCorpusFile/16384-4 19 5439870 ns/op 3.01 MB/s BenchmarkUnmarshalCorpusFile/32768-4 9 11693489 ns/op 2.80 MB/s BenchmarkUnmarshalCorpusFile/65536-4 5 21995482 ns/op 2.98 MB/s BenchmarkUnmarshalCorpusFile/131072-4 3 44571510 ns/op 2.94 MB/s BenchmarkUnmarshalCorpusFile/262144-4 2 90999082 ns/op 2.88 MB/s BenchmarkUnmarshalCorpusFile/524288-4 1 192271144 ns/op 2.73 MB/s BenchmarkUnmarshalCorpusFile/1048576-4 1 382047917 ns/op 2.74 MB/s BenchmarkMutatorBytes/1-4 37452 3206 ns/op BenchmarkMutatorBytes/10-4 38889 3050 ns/op BenchmarkMutatorBytes/100-4 37077 3303 ns/op BenchmarkMutatorBytes/1000-4 25518 4896 ns/op BenchmarkMutatorBytes/10000-4 7684 19051 ns/op BenchmarkMutatorBytes/100000-4 1141 123004 ns/op BenchmarkMutatorString/1-4 35512 3362 ns/op BenchmarkMutatorString/10-4 35043 3282 ns/op BenchmarkMutatorString/100-4 33301 3793 ns/op BenchmarkMutatorString/1000-4 17888 6725 ns/op BenchmarkMutatorString/10000-4 4706 37008 ns/op BenchmarkMutatorString/100000-4 405 307146 ns/op BenchmarkMutatorAllBasicTypes/[]uint8-4 19336 5670 ns/op BenchmarkMutatorAllBasicTypes/string-4 20023 5885 ns/op BenchmarkMutatorAllBasicTypes/bool-4 62224 1890 ns/op BenchmarkMutatorAllBasicTypes/float32-4 53550 2129 ns/op BenchmarkMutatorAllBasicTypes/float64-4 55917 2110 ns/op BenchmarkMutatorAllBasicTypes/int-4 60328 1982 ns/op BenchmarkMutatorAllBasicTypes/int8-4 60996 1975 ns/op BenchmarkMutatorAllBasicTypes/int16-4 60351 1983 ns/op BenchmarkMutatorAllBasicTypes/int32-4 58333 2001 ns/op BenchmarkMutatorAllBasicTypes/int64-4 60361 1980 ns/op BenchmarkMutatorAllBasicTypes/uint8-4 56307 2056 ns/op BenchmarkMutatorAllBasicTypes/uint16-4 58440 2040 ns/op BenchmarkMutatorAllBasicTypes/uint32-4 58574 2034 ns/op BenchmarkMutatorAllBasicTypes/uint64-4 58766 2052 ns/op PASS ok internal/fuzz 11.609s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: internal/intern cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStress-4 33240 3595 ns/op 0 B/op 0 allocs/op BenchmarkGetByString-4 132086 900.7 ns/op 0 B/op 0 allocs/op PASS ok internal/intern 0.396s goos: linux goarch: amd64 pkg: internal/poll cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSplicePipe/SplicePipeWithPool-4 34770 3957 ns/op BenchmarkSplicePipe/SplicePipeWithoutPool-4 6524 17755 ns/op BenchmarkSplicePipePoolParallel-4 85662 1366 ns/op BenchmarkSplicePipeNativeParallel-4 21043 6102 ns/op PASS ok internal/poll 0.815s goos: linux goarch: amd64 pkg: internal/trace cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMMU-4 4 25152976 ns/op PASS ok internal/trace 3.089s goos: linux goarch: amd64 pkg: io cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCopyNSmall-4 10000 16762 ns/op BenchmarkCopyNLarge-4 128 802665 ns/op PASS ok io 0.430s goos: linux goarch: amd64 pkg: log cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkItoa-4 222924 516.0 ns/op BenchmarkPrintln-4 24351 4928 ns/op 76 B/op 1 allocs/op BenchmarkPrintlnNoFlags-4 36928 3166 ns/op 65 B/op 0 allocs/op BenchmarkConcurrent-4 2206 51945 ns/op BenchmarkDiscard-4 882340 120.0 ns/op 0 B/op 0 allocs/op PASS ok log 0.885s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: log/slog cpu: AMD EPYC 7B12 BenchmarkWriteTime-4 85118 1367 ns/op BenchmarkJSONHandler/defaults-4 6848 15154 ns/op 515 B/op 0 allocs/op BenchmarkJSONHandler/time_format-4 4298 24992 ns/op 785 B/op 6 allocs/op BenchmarkJSONHandler/time_unix-4 4573 21976 ns/op 762 B/op 5 allocs/op BenchmarkPreformatting/separate-4 7416 14716 ns/op 519 B/op 0 allocs/op BenchmarkPreformatting/struct-4 7474 14973 ns/op 527 B/op 1 allocs/op BenchmarkPreformatting/struct_file-4 5935 18127 ns/op 521 B/op 0 allocs/op BenchmarkJSONEncoding/json.Marshal-4 32942 3659 ns/op 80 B/op 3 allocs/op BenchmarkJSONEncoding/Encoder.Encode-4 32630 3708 ns/op 64 B/op 2 allocs/op BenchmarkNopLog/no_attrs-4 71418 1674 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-4 49291 2560 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-parallel-4 55122 2002 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/keys-values-4 53644 2362 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-4 49738 2523 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-parallel-4 49600 2328 ns/op 0 B/op 0 allocs/op BenchmarkPC/0-4 497841 237.0 ns/op 0 B/op 0 allocs/op BenchmarkPC/1-4 373659 319.5 ns/op 0 B/op 0 allocs/op BenchmarkPC/2-4 263116 457.1 ns/op 0 B/op 0 allocs/op BenchmarkPC/3-4 190207 635.3 ns/op 0 B/op 0 allocs/op BenchmarkPC/4-4 155294 769.6 ns/op 0 B/op 0 allocs/op BenchmarkSourceLine/alone-4 374199 305.0 ns/op BenchmarkSourceLine/stringifying-4 84039 1388 ns/op BenchmarkRecord-4 4321 24047 ns/op BenchmarkDispatch/switch-checked-4 187476 628.2 ns/op BenchmarkDispatch/As-4 182406 625.7 ns/op BenchmarkDispatch/Visit-4 176590 662.3 ns/op BenchmarkUnsafeStrings-4 19398 6294 ns/op 0 B/op 0 allocs/op --- BENCH: BenchmarkUnsafeStrings-4 value_test.go:213: Value size = 24 value_test.go:213: Value size = 24 value_test.go:213: Value size = 24 value_test.go:213: Value size = 24 PASS ok log/slog 3.609s goos: linux goarch: amd64 pkg: math cpu: AMD EPYC 7B12 BenchmarkAcos-4 3565686 33.51 ns/op BenchmarkAcosh-4 1462435 82.40 ns/op BenchmarkAsin-4 3572606 33.45 ns/op BenchmarkAsinh-4 1412173 84.25 ns/op BenchmarkAtan-4 5321535 22.47 ns/op BenchmarkAtanh-4 1380244 85.17 ns/op BenchmarkAtan2-4 3058658 39.57 ns/op BenchmarkCbrt-4 1999082 59.75 ns/op BenchmarkCeil-4 21388238 5.560 ns/op BenchmarkCompare-4 4551828 26.58 ns/op BenchmarkCompare32-4 5676630 20.96 ns/op BenchmarkCopysign-4 3501207 35.37 ns/op BenchmarkCos-4 1509694 79.42 ns/op BenchmarkCosh-4 1950414 61.62 ns/op BenchmarkErf-4 5388123 22.18 ns/op BenchmarkErfc-4 5065029 23.45 ns/op BenchmarkErfinv-4 4273101 28.12 ns/op BenchmarkErfcinv-4 4258627 27.98 ns/op BenchmarkExp-4 6988400 17.15 ns/op BenchmarkExpGo-4 1000000 100.7 ns/op BenchmarkExpm1-4 3488751 34.30 ns/op BenchmarkExp2-4 1274377 91.90 ns/op BenchmarkExp2Go-4 1000000 101.5 ns/op BenchmarkAbs-4 4412545 25.95 ns/op BenchmarkDim-4 9825675 11.44 ns/op BenchmarkFloor-4 21611964 5.646 ns/op BenchmarkMax-4 15090447 7.895 ns/op BenchmarkMin-4 15767130 7.580 ns/op BenchmarkMod-4 384690 300.7 ns/op BenchmarkFrexp-4 2257926 54.02 ns/op BenchmarkGamma-4 818078 148.0 ns/op BenchmarkHypot-4 11686405 9.995 ns/op BenchmarkHypotGo-4 1892276 63.42 ns/op BenchmarkIlogb-4 2636767 44.99 ns/op BenchmarkJ0-4 298636 406.4 ns/op BenchmarkJ1-4 281847 419.3 ns/op BenchmarkJn-4 131767 897.1 ns/op BenchmarkLdexp-4 2099302 55.74 ns/op BenchmarkLgamma-4 1000000 120.9 ns/op BenchmarkLog-4 7305210 16.35 ns/op BenchmarkLogb-4 2666880 45.08 ns/op BenchmarkLog1p-4 1914951 62.50 ns/op BenchmarkLog10-4 6910048 17.43 ns/op BenchmarkLog2-4 1790125 66.61 ns/op BenchmarkModf-4 3278677 36.49 ns/op BenchmarkNextafter32-4 3114831 38.55 ns/op BenchmarkNextafter64-4 3173109 37.74 ns/op BenchmarkPowInt-4 617106 188.0 ns/op BenchmarkPowFrac-4 464847 250.1 ns/op BenchmarkPow10Pos-4 5151918 23.21 ns/op BenchmarkPow10Neg-4 5309959 22.83 ns/op BenchmarkRound-4 3889215 30.04 ns/op BenchmarkRoundToEven-4 10170532 12.45 ns/op BenchmarkRemainder-4 540306 215.9 ns/op BenchmarkSignbit-4 5721726 19.68 ns/op BenchmarkSin-4 1828522 63.75 ns/op BenchmarkSincos-4 1000000 101.0 ns/op BenchmarkSinh-4 2552059 46.96 ns/op BenchmarkSqrtIndirect-4 19142354 6.213 ns/op BenchmarkSqrtLatency-4 13058437 9.180 ns/op BenchmarkSqrtIndirectLatency-4 13104111 9.161 ns/op BenchmarkSqrtGoLatency-4 1412512 84.06 ns/op BenchmarkSqrtPrime-4 62318 1908 ns/op BenchmarkTan-4 1781198 66.92 ns/op BenchmarkTanh-4 1806687 65.97 ns/op BenchmarkTrunc-4 21252550 5.884 ns/op BenchmarkY0-4 281083 411.5 ns/op BenchmarkY1-4 278550 413.9 ns/op BenchmarkYn-4 137558 851.7 ns/op BenchmarkFloat64bits-4 6586702 18.07 ns/op BenchmarkFloat64frombits-4 6098662 19.23 ns/op BenchmarkFloat32bits-4 6504325 18.56 ns/op BenchmarkFloat32frombits-4 6448440 18.79 ns/op BenchmarkFMA-4 20191108 5.905 ns/op PASS ok math 11.170s goos: linux goarch: amd64 pkg: math/big cpu: AMD EPYC 7B12 BenchmarkAddVV/1-4 14867428 8.064 ns/op 7936.80 MB/s BenchmarkAddVV/2-4 13463742 8.862 ns/op 14443.28 MB/s BenchmarkAddVV/3-4 12411265 9.374 ns/op 20482.61 MB/s BenchmarkAddVV/4-4 12528154 9.538 ns/op 26839.01 MB/s BenchmarkAddVV/5-4 11770009 10.10 ns/op 31695.96 MB/s BenchmarkAddVV/10-4 9138258 13.11 ns/op 48802.51 MB/s BenchmarkAddVV/100-4 2094660 57.40 ns/op 111491.15 MB/s BenchmarkAddVV/1000-4 232035 512.2 ns/op 124947.44 MB/s BenchmarkSubVV/1-4 14937939 8.030 ns/op 7969.93 MB/s BenchmarkSubVV/2-4 13380961 8.925 ns/op 14342.03 MB/s BenchmarkSubVV/3-4 12482517 9.428 ns/op 20364.46 MB/s BenchmarkSubVV/4-4 12451419 9.559 ns/op 26780.37 MB/s BenchmarkSubVV/5-4 11885289 10.09 ns/op 31699.80 MB/s BenchmarkSubVV/10-4 9111502 13.13 ns/op 48734.94 MB/s BenchmarkSubVV/100-4 2077708 57.26 ns/op 111769.92 MB/s BenchmarkSubVV/1000-4 232932 513.1 ns/op 124736.25 MB/s BenchmarkAddVW/1-4 16539206 7.222 ns/op 1107.72 MB/s BenchmarkAddVW/2-4 14889304 7.923 ns/op 2019.50 MB/s BenchmarkAddVW/3-4 14069024 8.508 ns/op 2820.71 MB/s BenchmarkAddVW/4-4 13992168 8.498 ns/op 3765.38 MB/s BenchmarkAddVW/5-4 13146470 9.054 ns/op 4418.01 MB/s BenchmarkAddVW/10-4 11059321 10.84 ns/op 7381.81 MB/s BenchmarkAddVW/100-4 334035 337.5 ns/op 2370.61 MB/s BenchmarkAddVW/1000-4 52878 2258 ns/op 3542.22 MB/s BenchmarkAddVWext/1-4 14590381 7.554 ns/op 1059.10 MB/s BenchmarkAddVWext/2-4 14558307 8.205 ns/op 1949.95 MB/s BenchmarkAddVWext/3-4 13355776 8.968 ns/op 2676.24 MB/s BenchmarkAddVWext/4-4 13902364 8.367 ns/op 3824.58 MB/s BenchmarkAddVWext/5-4 13225695 9.024 ns/op 4432.86 MB/s BenchmarkAddVWext/10-4 11002789 10.80 ns/op 7410.31 MB/s BenchmarkAddVWext/100-4 104436 1164 ns/op 687.11 MB/s BenchmarkAddVWext/1000-4 10000 10587 ns/op 755.67 MB/s BenchmarkSubVW/1-4 16487803 7.196 ns/op 1111.72 MB/s BenchmarkSubVW/2-4 15176726 7.691 ns/op 2080.44 MB/s BenchmarkSubVW/3-4 13922007 8.561 ns/op 2803.26 MB/s BenchmarkSubVW/4-4 14101096 8.544 ns/op 3745.18 MB/s BenchmarkSubVW/5-4 13178577 9.066 ns/op 4411.85 MB/s BenchmarkSubVW/10-4 10980188 10.99 ns/op 7276.49 MB/s BenchmarkSubVW/100-4 344898 352.8 ns/op 2267.89 MB/s BenchmarkSubVW/1000-4 52873 2254 ns/op 3549.12 MB/s BenchmarkSubVWext/1-4 15771427 7.522 ns/op 1063.52 MB/s BenchmarkSubVWext/2-4 11882793 8.874 ns/op 1802.94 MB/s BenchmarkSubVWext/3-4 14164964 8.494 ns/op 2825.41 MB/s BenchmarkSubVWext/4-4 14031548 8.480 ns/op 3773.52 MB/s BenchmarkSubVWext/5-4 13184268 9.036 ns/op 4426.50 MB/s BenchmarkSubVWext/10-4 10899890 11.02 ns/op 7259.31 MB/s BenchmarkSubVWext/100-4 96777 1189 ns/op 672.96 MB/s BenchmarkSubVWext/1000-4 9558 10653 ns/op 750.96 MB/s BenchmarkMulAddVWW/1-4 12416002 8.854 ns/op 7228.43 MB/s BenchmarkMulAddVWW/2-4 12330968 9.993 ns/op 12809.09 MB/s BenchmarkMulAddVWW/3-4 13366264 8.974 ns/op 21394.14 MB/s BenchmarkMulAddVWW/4-4 12432739 9.636 ns/op 26566.93 MB/s BenchmarkMulAddVWW/5-4 11737417 10.21 ns/op 31339.47 MB/s BenchmarkMulAddVWW/10-4 8346088 14.23 ns/op 44984.60 MB/s BenchmarkMulAddVWW/100-4 1359352 88.70 ns/op 72149.40 MB/s BenchmarkMulAddVWW/1000-4 138804 855.4 ns/op 74814.84 MB/s BenchmarkAddMulVVW/1-4 14537269 8.219 ns/op 7786.83 MB/s BenchmarkAddMulVVW/2-4 14136512 8.229 ns/op 15554.07 MB/s BenchmarkAddMulVVW/3-4 13151772 9.174 ns/op 20927.66 MB/s BenchmarkAddMulVVW/4-4 11779238 9.563 ns/op 26770.29 MB/s BenchmarkAddMulVVW/5-4 11345301 10.93 ns/op 29287.23 MB/s BenchmarkAddMulVVW/10-4 9327854 12.85 ns/op 49815.45 MB/s BenchmarkAddMulVVW/100-4 1703545 70.31 ns/op 91022.44 MB/s BenchmarkAddMulVVW/1000-4 184126 648.2 ns/op 98738.36 MB/s BenchmarkDivWVW/1-4 3197856 37.55 ns/op 1704.26 MB/s BenchmarkDivWVW/2-4 2127830 57.73 ns/op 2217.06 MB/s BenchmarkDivWVW/3-4 1489789 75.17 ns/op 2554.27 MB/s BenchmarkDivWVW/4-4 1315329 90.55 ns/op 2827.16 MB/s BenchmarkDivWVW/5-4 1210246 98.60 ns/op 3245.35 MB/s BenchmarkDivWVW/10-4 588348 201.2 ns/op 3181.54 MB/s BenchmarkDivWVW/100-4 73653 1634 ns/op 3916.87 MB/s BenchmarkDivWVW/1000-4 7132 16146 ns/op 3963.95 MB/s BenchmarkNonZeroShifts/1/shrVU-4 13942372 8.173 ns/op BenchmarkNonZeroShifts/1/shlVU-4 14521188 7.412 ns/op BenchmarkNonZeroShifts/2/shrVU-4 12119785 8.958 ns/op BenchmarkNonZeroShifts/2/shlVU-4 12926514 8.343 ns/op BenchmarkNonZeroShifts/3/shrVU-4 11013766 9.871 ns/op BenchmarkNonZeroShifts/3/shlVU-4 11482698 9.502 ns/op BenchmarkNonZeroShifts/4/shrVU-4 10004548 10.95 ns/op BenchmarkNonZeroShifts/4/shlVU-4 10360891 10.95 ns/op BenchmarkNonZeroShifts/5/shrVU-4 9285212 11.90 ns/op BenchmarkNonZeroShifts/5/shlVU-4 9691398 12.09 ns/op BenchmarkNonZeroShifts/10/shrVU-4 6775549 17.02 ns/op BenchmarkNonZeroShifts/10/shlVU-4 6800341 16.87 ns/op BenchmarkNonZeroShifts/100/shrVU-4 1000000 114.0 ns/op BenchmarkNonZeroShifts/100/shlVU-4 1000000 114.4 ns/op BenchmarkNonZeroShifts/1000/shrVU-4 119670 1002 ns/op BenchmarkNonZeroShifts/1000/shlVU-4 118722 1000 ns/op BenchmarkDecimalConversion-4 224 519936 ns/op BenchmarkFloatString/100-4 13363 9518 ns/op 392 B/op 8 allocs/op BenchmarkFloatString/1000-4 243 489007 ns/op 2904 B/op 9 allocs/op BenchmarkFloatString/10000-4 3 41238109 ns/op 60037 B/op 44 allocs/op BenchmarkFloatString/100000-4 1 4004615076 ns/op 857992 B/op 510 allocs/op BenchmarkFloatAdd/10-4 167492 720.5 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100-4 175255 681.5 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/1000-4 149895 798.0 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/10000-4 87116 1360 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100000-4 17181 6979 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10-4 215992 524.4 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100-4 216037 497.0 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/1000-4 208425 566.8 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10000-4 150720 797.0 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100000-4 41889 2846 ns/op 0 B/op 0 allocs/op BenchmarkParseFloatSmallExp-4 1916 59532 ns/op BenchmarkParseFloatLargeExp-4 456 258655 ns/op BenchmarkGCD10x10/WithoutXY-4 201957 575.5 ns/op BenchmarkGCD10x10/WithXY-4 59401 2009 ns/op BenchmarkGCD10x100/WithoutXY-4 116066 1045 ns/op BenchmarkGCD10x100/WithXY-4 18417 6635 ns/op BenchmarkGCD10x1000/WithoutXY-4 75768 1521 ns/op BenchmarkGCD10x1000/WithXY-4 15712 7809 ns/op BenchmarkGCD100x100/WithoutXY-4 30250 4015 ns/op BenchmarkGCD100x100/WithXY-4 11586 10543 ns/op BenchmarkGCD100x1000/WithoutXY-4 14031 8809 ns/op BenchmarkGCD100x1000/WithXY-4 6888 17370 ns/op BenchmarkGCD1000x1000/WithoutXY-4 2490 48358 ns/op BenchmarkGCD1000x1000/WithXY-4 1276 84390 ns/op BenchmarkHilbert-4 22 5141707 ns/op BenchmarkBinomial-4 15265 8158 ns/op BenchmarkQuoRem-4 26282 4930 ns/op BenchmarkExp-4 16 6462772 ns/op BenchmarkExpMont/Odd-4 140 802715 ns/op 2601 B/op 22 allocs/op BenchmarkExpMont/Even1-4 136 896281 ns/op 3362 B/op 38 allocs/op BenchmarkExpMont/Even2-4 133 896254 ns/op 3868 B/op 54 allocs/op BenchmarkExpMont/Even3-4 134 849524 ns/op 3864 B/op 54 allocs/op BenchmarkExpMont/Even4-4 130 905716 ns/op 3828 B/op 53 allocs/op BenchmarkExpMont/Even8-4 132 849075 ns/op 3838 B/op 53 allocs/op BenchmarkExpMont/Even32-4 132 842091 ns/op 3855 B/op 53 allocs/op BenchmarkExpMont/Even64-4 166 713342 ns/op 3640 B/op 53 allocs/op BenchmarkExpMont/Even96-4 159 748950 ns/op 3780 B/op 51 allocs/op BenchmarkExpMont/Even128-4 180 660894 ns/op 3245 B/op 50 allocs/op BenchmarkExpMont/Even255-4 195 606792 ns/op 2940 B/op 47 allocs/op BenchmarkExpMont/SmallEven1-4 412 278929 ns/op 1312 B/op 34 allocs/op BenchmarkExpMont/SmallEven2-4 387 288409 ns/op 1732 B/op 46 allocs/op BenchmarkExpMont/SmallEven3-4 406 284830 ns/op 1742 B/op 47 allocs/op BenchmarkExpMont/SmallEven4-4 378 288204 ns/op 1732 B/op 47 allocs/op BenchmarkExp2-4 18 6415225 ns/op BenchmarkBitset-4 800896 140.3 ns/op BenchmarkBitsetNeg-4 460604 248.0 ns/op BenchmarkBitsetOrig-4 253617 462.9 ns/op BenchmarkBitsetNegOrig-4 174127 681.4 ns/op BenchmarkModSqrt225_Tonelli-4 129 889712 ns/op BenchmarkModSqrt225_3Mod4-4 426 280154 ns/op BenchmarkModSqrt231_Tonelli-4 121 913174 ns/op BenchmarkModSqrt231_5Mod8-4 360 321111 ns/op BenchmarkModInverse-4 14048 8908 ns/op BenchmarkSqrt-4 1761 65478 ns/op BenchmarkIntSqr/1-4 1462280 82.93 ns/op BenchmarkIntSqr/2-4 747616 159.7 ns/op BenchmarkIntSqr/3-4 650222 183.4 ns/op BenchmarkIntSqr/5-4 434744 253.3 ns/op BenchmarkIntSqr/8-4 355945 340.5 ns/op BenchmarkIntSqr/10-4 287100 408.8 ns/op BenchmarkIntSqr/20-4 59994 2086 ns/op BenchmarkIntSqr/30-4 46051 2841 ns/op BenchmarkIntSqr/50-4 29136 4206 ns/op BenchmarkIntSqr/80-4 17013 7032 ns/op BenchmarkIntSqr/100-4 13258 9122 ns/op BenchmarkIntSqr/200-4 4150 24279 ns/op BenchmarkIntSqr/300-4 2137 61177 ns/op BenchmarkIntSqr/500-4 920 125353 ns/op BenchmarkIntSqr/800-4 361 338493 ns/op BenchmarkIntSqr/1000-4 276 425640 ns/op BenchmarkDiv/20/10-4 421491 255.2 ns/op BenchmarkDiv/40/20-4 462339 255.4 ns/op BenchmarkDiv/100/50-4 399686 297.1 ns/op BenchmarkDiv/200/100-4 59990 2129 ns/op BenchmarkDiv/400/200-4 56088 2196 ns/op BenchmarkDiv/1000/500-4 48136 2704 ns/op BenchmarkDiv/2000/1000-4 35557 3538 ns/op BenchmarkDiv/20000/10000-4 1258 91400 ns/op BenchmarkDiv/200000/100000-4 30 3909838 ns/op BenchmarkDiv/2000000/1000000-4 1 104580936 ns/op BenchmarkDiv/20000000/10000000-4 1 3055682891 ns/op BenchmarkMul-4 6 18886567 ns/op BenchmarkNatMul/10-4 203019 542.6 ns/op BenchmarkNatMul/100-4 7410 16223 ns/op BenchmarkNatMul/1000-4 216 542299 ns/op BenchmarkZeroShifts/Shl-4 21658 5167 ns/op BenchmarkZeroShifts/ShlSame-4 5429050 22.00 ns/op BenchmarkZeroShifts/Shr-4 23296 4902 ns/op BenchmarkZeroShifts/ShrSame-4 5027464 21.64 ns/op BenchmarkExp3Power/0x10-4 194540 629.8 ns/op BenchmarkExp3Power/0x40-4 172273 717.0 ns/op BenchmarkExp3Power/0x100-4 103969 1179 ns/op BenchmarkExp3Power/0x400-4 50002 2367 ns/op BenchmarkExp3Power/0x1000-4 12104 9900 ns/op BenchmarkExp3Power/0x4000-4 2475 47971 ns/op BenchmarkExp3Power/0x10000-4 276 428166 ns/op BenchmarkExp3Power/0x40000-4 25 4771061 ns/op BenchmarkExp3Power/0x100000-4 3 47765499 ns/op BenchmarkExp3Power/0x400000-4 1 449046106 ns/op BenchmarkFibo-4 4 33065644 ns/op BenchmarkNatSqr/1-4 905899 125.1 ns/op BenchmarkNatSqr/2-4 577088 211.0 ns/op BenchmarkNatSqr/3-4 497866 249.5 ns/op BenchmarkNatSqr/5-4 338733 335.1 ns/op BenchmarkNatSqr/8-4 264583 451.1 ns/op BenchmarkNatSqr/10-4 213682 543.4 ns/op BenchmarkNatSqr/20-4 54754 2094 ns/op BenchmarkNatSqr/30-4 42514 2792 ns/op BenchmarkNatSqr/50-4 26083 4623 ns/op BenchmarkNatSqr/80-4 15734 7678 ns/op BenchmarkNatSqr/100-4 12098 10080 ns/op BenchmarkNatSqr/200-4 4436 26105 ns/op BenchmarkNatSqr/300-4 1986 58520 ns/op BenchmarkNatSqr/500-4 950 121756 ns/op BenchmarkNatSqr/800-4 414 281781 ns/op BenchmarkNatSqr/1000-4 302 392449 ns/op BenchmarkNatSetBytes/8-4 905967 133.5 ns/op BenchmarkNatSetBytes/24-4 282872 422.7 ns/op BenchmarkNatSetBytes/128-4 68000 1708 ns/op BenchmarkNatSetBytes/7-4 943915 124.4 ns/op BenchmarkNatSetBytes/23-4 274987 419.7 ns/op BenchmarkNatSetBytes/127-4 71012 1670 ns/op BenchmarkScanPi-4 261 430500 ns/op BenchmarkStringPiParallel-4 777 144596 ns/op BenchmarkScan/10/Base2-4 43101 2523 ns/op BenchmarkScan/100/Base2-4 4836 22429 ns/op BenchmarkScan/1000/Base2-4 489 221408 ns/op BenchmarkScan/10/Base8-4 110234 1053 ns/op BenchmarkScan/100/Base8-4 15508 7755 ns/op BenchmarkScan/1000/Base8-4 1366 85245 ns/op BenchmarkScan/10/Base10-4 120848 977.7 ns/op BenchmarkScan/100/Base10-4 15250 7447 ns/op BenchmarkScan/1000/Base10-4 1550 76620 ns/op BenchmarkScan/10/Base16-4 131572 914.4 ns/op BenchmarkScan/100/Base16-4 18913 6292 ns/op BenchmarkScan/1000/Base16-4 1711 61255 ns/op BenchmarkString/10/Base2-4 209518 571.8 ns/op BenchmarkString/100/Base2-4 31580 3740 ns/op BenchmarkString/1000/Base2-4 3079 35704 ns/op BenchmarkString/10/Base8-4 377456 315.5 ns/op BenchmarkString/100/Base8-4 78529 1504 ns/op BenchmarkString/1000/Base8-4 8085 12847 ns/op BenchmarkString/10/Base10-4 220429 533.9 ns/op BenchmarkString/100/Base10-4 51048 2348 ns/op BenchmarkString/1000/Base10-4 5371 19704 ns/op BenchmarkString/10/Base16-4 416317 281.1 ns/op BenchmarkString/100/Base16-4 104370 1109 ns/op BenchmarkString/1000/Base16-4 13155 9160 ns/op BenchmarkLeafSize/0-4 52 2200376 ns/op BenchmarkLeafSize/1-4 501 221298 ns/op BenchmarkLeafSize/2-4 506 224261 ns/op BenchmarkLeafSize/3-4 369 310932 ns/op BenchmarkLeafSize/4-4 547 218981 ns/op BenchmarkLeafSize/5-4 340 351376 ns/op BenchmarkLeafSize/6-4 366 305142 ns/op BenchmarkLeafSize/7-4 396 292869 ns/op BenchmarkLeafSize/8-4 549 215877 ns/op BenchmarkLeafSize/9-4 273 431572 ns/op BenchmarkLeafSize/10-4 321 353891 ns/op BenchmarkLeafSize/11-4 357 342285 ns/op BenchmarkLeafSize/12-4 373 312510 ns/op BenchmarkLeafSize/13-4 342 339306 ns/op BenchmarkLeafSize/14-4 384 291150 ns/op BenchmarkLeafSize/15-4 410 268684 ns/op BenchmarkLeafSize/16-4 494 214260 ns/op BenchmarkLeafSize/32-4 507 221328 ns/op BenchmarkLeafSize/64-4 511 231907 ns/op BenchmarkProbablyPrime/n=0-4 10 10148034 ns/op BenchmarkProbablyPrime/n=1-4 9 11372302 ns/op BenchmarkProbablyPrime/n=5-4 7 16746392 ns/op BenchmarkProbablyPrime/n=10-4 5 22981645 ns/op BenchmarkProbablyPrime/n=20-4 3 34589759 ns/op BenchmarkProbablyPrime/Lucas-4 13 8621974 ns/op BenchmarkProbablyPrime/MillerRabinBase2-4 78 1315031 ns/op BenchmarkRatCmp-4 220126 525.5 ns/op BenchmarkFloatSqrt/64-4 22869 5236 ns/op 208 B/op 5 allocs/op BenchmarkFloatSqrt/128-4 14179 8349 ns/op 256 B/op 5 allocs/op BenchmarkFloatSqrt/256-4 10168 11822 ns/op 352 B/op 5 allocs/op BenchmarkFloatSqrt/1000-4 4310 23521 ns/op 1312 B/op 6 allocs/op BenchmarkFloatSqrt/10000-4 924 121541 ns/op 18192 B/op 10 allocs/op BenchmarkFloatSqrt/100000-4 70 1592850 ns/op 174083 B/op 19 allocs/op BenchmarkFloatSqrt/1000000-4 1 124201196 ns/op 3835152 B/op 648 allocs/op PASS ok math/big 48.370s goos: linux goarch: amd64 pkg: math/bits cpu: AMD EPYC 7B12 BenchmarkLeadingZeros-4 10602241 10.96 ns/op BenchmarkLeadingZeros8-4 10769101 11.15 ns/op BenchmarkLeadingZeros16-4 11810814 9.838 ns/op BenchmarkLeadingZeros32-4 11754182 10.22 ns/op BenchmarkLeadingZeros64-4 11099712 10.20 ns/op BenchmarkTrailingZeros-4 12485132 9.539 ns/op BenchmarkTrailingZeros8-4 8903416 12.80 ns/op BenchmarkTrailingZeros16-4 11190103 10.74 ns/op BenchmarkTrailingZeros32-4 11036450 10.02 ns/op BenchmarkTrailingZeros64-4 12614010 9.489 ns/op BenchmarkOnesCount-4 12648247 9.488 ns/op BenchmarkOnesCount8-4 12019674 9.944 ns/op BenchmarkOnesCount16-4 12951548 9.178 ns/op BenchmarkOnesCount32-4 11399246 10.76 ns/op BenchmarkOnesCount64-4 12058785 9.203 ns/op BenchmarkRotateLeft-4 11472141 9.469 ns/op BenchmarkRotateLeft8-4 12328845 9.510 ns/op BenchmarkRotateLeft16-4 13052856 9.191 ns/op BenchmarkRotateLeft32-4 12522633 9.680 ns/op BenchmarkRotateLeft64-4 11081763 9.599 ns/op BenchmarkReverse-4 19294651 6.235 ns/op BenchmarkReverse8-4 20203958 5.244 ns/op BenchmarkReverse16-4 21499634 5.628 ns/op BenchmarkReverse32-4 19908123 5.936 ns/op BenchmarkReverse64-4 19171839 6.222 ns/op BenchmarkReverseBytes-4 22408540 5.254 ns/op BenchmarkReverseBytes16-4 22726626 5.267 ns/op BenchmarkReverseBytes32-4 22763482 5.308 ns/op BenchmarkReverseBytes64-4 20259384 5.322 ns/op BenchmarkAdd-4 12848692 9.322 ns/op BenchmarkAdd32-4 12293065 9.600 ns/op BenchmarkAdd64-4 12601837 9.170 ns/op BenchmarkAdd64multiple-4 21605037 5.246 ns/op BenchmarkSub-4 13003041 9.165 ns/op BenchmarkSub32-4 11109679 9.512 ns/op BenchmarkSub64-4 13003885 9.252 ns/op BenchmarkSub64multiple-4 20231853 5.239 ns/op BenchmarkMul-4 11551278 9.182 ns/op BenchmarkMul32-4 12507802 9.505 ns/op BenchmarkMul64-4 11447911 9.204 ns/op BenchmarkDiv-4 12542341 9.559 ns/op BenchmarkDiv32-4 10693194 9.507 ns/op BenchmarkDiv64-4 12521193 9.979 ns/op PASS ok math/bits 5.637s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: math/cmplx cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAbs-4 11415919 10.44 ns/op BenchmarkAcos-4 524767 225.6 ns/op BenchmarkAcosh-4 452900 243.4 ns/op BenchmarkAsin-4 441178 226.7 ns/op BenchmarkAsinh-4 540403 224.9 ns/op BenchmarkAtan-4 875298 141.8 ns/op BenchmarkAtanh-4 806900 136.7 ns/op BenchmarkConj-4 17985616 5.806 ns/op BenchmarkCos-4 601122 192.4 ns/op BenchmarkCosh-4 609654 197.5 ns/op BenchmarkExp-4 781443 148.2 ns/op BenchmarkLog-4 1000000 113.8 ns/op BenchmarkLog10-4 973281 113.1 ns/op BenchmarkPhase-4 2040172 59.33 ns/op BenchmarkPolar-4 1521741 79.39 ns/op BenchmarkPow-4 240597 486.8 ns/op BenchmarkRect-4 1000000 118.4 ns/op BenchmarkSin-4 609111 200.5 ns/op BenchmarkSinh-4 602716 204.0 ns/op BenchmarkSqrt-4 1000000 110.0 ns/op BenchmarkTan-4 382604 316.5 ns/op BenchmarkTanh-4 406797 286.1 ns/op PASS ok math/cmplx 3.090s goos: linux goarch: amd64 pkg: math/rand cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkInt63Threadsafe-4 788342 149.8 ns/op BenchmarkInt63ThreadsafeParallel-4 602140 195.2 ns/op BenchmarkInt63Unthreadsafe-4 1253143 97.33 ns/op BenchmarkIntn1000-4 902473 130.3 ns/op BenchmarkInt63n1000-4 954568 127.5 ns/op BenchmarkInt31n1000-4 1000000 114.9 ns/op BenchmarkFloat32-4 953497 117.9 ns/op BenchmarkFloat64-4 1000000 101.4 ns/op BenchmarkPerm3-4 200419 593.2 ns/op BenchmarkPerm30-4 24669 4666 ns/op BenchmarkPerm30ViaShuffle-4 27212 4620 ns/op BenchmarkShuffleOverhead-4 18598 6569 ns/op BenchmarkRead3-4 932773 129.6 ns/op BenchmarkRead64-4 79765 1512 ns/op BenchmarkRead1000-4 5442 23015 ns/op BenchmarkConcurrent-4 179750 789.0 ns/op PASS ok math/rand 2.397s goos: linux goarch: amd64 pkg: mime cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkQEncodeWord-4 42632 2666 ns/op BenchmarkQDecodeWord-4 102534 1104 ns/op BenchmarkQDecodeHeader-4 88281 1218 ns/op BenchmarkTypeByExtension/.html-4 493590 226.9 ns/op BenchmarkTypeByExtension/.HTML-4 277948 361.6 ns/op BenchmarkTypeByExtension/.unused-4 402600 278.1 ns/op BenchmarkExtensionsByType/text/html-4 202778 589.7 ns/op BenchmarkExtensionsByType/text/html;_charset=utf-8-4 89211 1376 ns/op BenchmarkExtensionsByType/application/octet-stream-4 151854 864.5 ns/op PASS ok mime 1.477s goos: linux goarch: amd64 pkg: mime/quotedprintable cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkWriter-4 999 116836 ns/op PASS ok mime/quotedprintable 0.171s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: net cpu: AMD EPYC 7B12 BenchmarkGoLookupIP-4 148 807319 ns/op 8467 B/op 91 allocs/op BenchmarkGoLookupIPNoSuchHost-4 15 7006504 ns/op 19630 B/op 161 allocs/op BenchmarkGoLookupIPWithBrokenNameServer-4 1 5007811678 ns/op 158688 B/op 230 allocs/op BenchmarkDNSName-4 114199 1006 ns/op BenchmarkInterfaces-4 1900 59441 ns/op BenchmarkInterfaceByIndex-4 2458 45709 ns/op BenchmarkInterfaceByName-4 1815 60130 ns/op BenchmarkInterfaceAddrs-4 1255 92201 ns/op BenchmarkInterfacesAndAddrs-4 4351 24107 ns/op BenchmarkInterfacesAndMulticastAddrs-4 727 156708 ns/op BenchmarkParseIP-4 7612 16078 ns/op BenchmarkParseIPValidIPv4-4 455601 252.4 ns/op BenchmarkParseIPValidIPv6-4 208137 567.5 ns/op BenchmarkIPString/IPv4-4 125086 1001 ns/op 32 B/op 2 allocs/op BenchmarkIPString/IPv6-4 11721 10148 ns/op 216 B/op 11 allocs/op BenchmarkIPMaskString-4 59217 2014 ns/op BenchmarkIPEqual/IPv4-4 1200866 90.29 ns/op BenchmarkIPEqual/IPv6-4 1226356 95.15 ns/op BenchmarkSendFile/1024-4 1 227036154 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/2048-4 1 222789548 ns/op 0.01 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/4096-4 1 222411267 ns/op 0.02 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/8192-4 1 222606908 ns/op 0.04 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/16384-4 1 222401626 ns/op 0.07 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/32768-4 4771 24399 ns/op 1343.03 MB/s 0 B/op 0 allocs/op BenchmarkSendFile/65536-4 2403 48111 ns/op 1362.19 MB/s 0 B/op 0 allocs/op BenchmarkSendFile/131072-4 1243 89581 ns/op 1463.17 MB/s 0 B/op 0 allocs/op BenchmarkSendFile/262144-4 708 151766 ns/op 1727.29 MB/s 0 B/op 0 allocs/op BenchmarkSendFile/524288-4 307 383198 ns/op 1368.19 MB/s 2 B/op 0 allocs/op BenchmarkSendFile/1048576-4 174 767056 ns/op 1367.01 MB/s 2 B/op 0 allocs/op BenchmarkSplice/tcp-to-tcp/1024-4 12537 9112 ns/op 112.38 MB/s BenchmarkSplice/tcp-to-tcp/2048-4 11673 9661 ns/op 212.00 MB/s BenchmarkSplice/tcp-to-tcp/4096-4 10794 11132 ns/op 367.95 MB/s BenchmarkSplice/tcp-to-tcp/8192-4 8163 14432 ns/op 567.63 MB/s BenchmarkSplice/tcp-to-tcp/16384-4 5917 19754 ns/op 829.39 MB/s BenchmarkSplice/tcp-to-tcp/32768-4 3602 32076 ns/op 1021.57 MB/s BenchmarkSplice/tcp-to-tcp/65536-4 1983 60537 ns/op 1082.57 MB/s BenchmarkSplice/tcp-to-tcp/131072-4 1118 106935 ns/op 1225.72 MB/s BenchmarkSplice/tcp-to-tcp/262144-4 554 187466 ns/op 1398.35 MB/s BenchmarkSplice/tcp-to-tcp/524288-4 288 348009 ns/op 1506.54 MB/s BenchmarkSplice/tcp-to-tcp/1048576-4 189 607355 ns/op 1726.46 MB/s BenchmarkSplice/unix-to-tcp/1024-4 31837 4605 ns/op 222.37 MB/s BenchmarkSplice/unix-to-tcp/2048-4 23248 5599 ns/op 365.80 MB/s BenchmarkSplice/unix-to-tcp/4096-4 19772 6027 ns/op 679.60 MB/s BenchmarkSplice/unix-to-tcp/8192-4 14827 9517 ns/op 860.79 MB/s BenchmarkSplice/unix-to-tcp/16384-4 9205 13996 ns/op 1170.65 MB/s BenchmarkSplice/unix-to-tcp/32768-4 3254 32000 ns/op 1024.01 MB/s BenchmarkSplice/unix-to-tcp/65536-4 2134 48698 ns/op 1345.76 MB/s BenchmarkSplice/unix-to-tcp/131072-4 1314 83107 ns/op 1577.15 MB/s BenchmarkSplice/unix-to-tcp/262144-4 651 161038 ns/op 1627.84 MB/s BenchmarkSplice/unix-to-tcp/524288-4 333 342721 ns/op 1529.78 MB/s BenchmarkSplice/unix-to-tcp/1048576-4 168 662788 ns/op 1582.07 MB/s BenchmarkSpliceFile/tcp-to-file/1024-4 12624 11408 ns/op 89.76 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/2048-4 10509 10782 ns/op 189.95 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/4096-4 10262 11568 ns/op 354.09 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/8192-4 7527 16241 ns/op 504.39 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/16384-4 4593 28236 ns/op 580.26 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/32768-4 3672 37733 ns/op 868.41 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/65536-4 2320 47064 ns/op 1392.50 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/131072-4 1516 84593 ns/op 1549.44 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/262144-4 776 145882 ns/op 1796.96 MB/s 1 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/524288-4 440 281331 ns/op 1863.60 MB/s 2 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/1048576-4 223 558148 ns/op 1878.67 MB/s 4 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/1024-4 37094 3748 ns/op 273.23 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/2048-4 24637 4673 ns/op 438.22 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/4096-4 18510 6804 ns/op 602.03 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/8192-4 13164 10971 ns/op 746.68 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/16384-4 6996 15356 ns/op 1066.98 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/32768-4 4066 36657 ns/op 893.90 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/65536-4 2594 39512 ns/op 1658.65 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/131072-4 1509 71729 ns/op 1827.31 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/262144-4 826 149376 ns/op 1754.93 MB/s 1 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/524288-4 447 264653 ns/op 1981.04 MB/s 2 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/1048576-4 183 561724 ns/op 1866.71 MB/s 5 B/op 0 allocs/op BenchmarkTCP4OneShot-4 2614 46065 ns/op BenchmarkTCP4OneShotTimeout-4 2113 47498 ns/op BenchmarkTCP4Persistent-4 14486 7836 ns/op BenchmarkTCP4PersistentTimeout-4 15741 8255 ns/op BenchmarkTCP6OneShot-4 2654 44704 ns/op BenchmarkTCP6OneShotTimeout-4 2281 47175 ns/op BenchmarkTCP6Persistent-4 15694 7719 ns/op BenchmarkTCP6PersistentTimeout-4 15997 7588 ns/op BenchmarkTCP4ConcurrentReadWrite-4 36216 4419 ns/op BenchmarkTCP6ConcurrentReadWrite-4 23258 5120 ns/op BenchmarkSetReadDeadline-4 152194 786.8 ns/op BenchmarkReadWriteMsgUDPAddrPort-4 9144 15311 ns/op 0 B/op 0 allocs/op BenchmarkWriteToReadFromUDP-4 7626 15147 ns/op 16 B/op 1 allocs/op BenchmarkWriteToReadFromUDPAddrPort-4 12220 9961 ns/op 0 B/op 0 allocs/op PASS ok net 31.475s goos: linux goarch: amd64 pkg: net/http cpu: AMD EPYC 7B12 BenchmarkCookieString-4 29296 3876 ns/op 176 B/op 1 allocs/op BenchmarkReadSetCookies-4 11637 10446 ns/op 1168 B/op 21 allocs/op BenchmarkReadCookies-4 16614 7327 ns/op 1840 B/op 11 allocs/op BenchmarkHeaderWriteSubset-4 18944 6280 ns/op 45 B/op 0 allocs/op BenchmarkCopyValues-4 37796 3181 ns/op 736 B/op 11 allocs/op BenchmarkHexEscapeNonASCII-4 50818 2226 ns/op 192 B/op 2 allocs/op BenchmarkServerMatch-4 877294 124.2 ns/op BenchmarkReadRequestChrome-4 4141 26710 ns/op 22.87 MB/s 1844 B/op 14 allocs/op BenchmarkReadRequestCurl-4 11618 10383 ns/op 7.51 MB/s 940 B/op 9 allocs/op BenchmarkReadRequestApachebench-4 11384 10184 ns/op 8.05 MB/s 940 B/op 9 allocs/op BenchmarkReadRequestSiege-4 7116 14863 ns/op 10.16 MB/s 1036 B/op 11 allocs/op BenchmarkReadRequestWrk-4 17475 6614 ns/op 6.05 MB/s 876 B/op 7 allocs/op BenchmarkFileAndServer_1KB/h1-4 364 277910 ns/op 3.68 MB/s BenchmarkFileAndServer_1KB/https1-4 264 431215 ns/op 2.37 MB/s BenchmarkFileAndServer_1KB/h2-4 186 607030 ns/op 1.69 MB/s BenchmarkFileAndServer_16MB/h1-4 3 41898133 ns/op 400.43 MB/s BenchmarkFileAndServer_16MB/https1-4 2 80411746 ns/op 208.64 MB/s BenchmarkFileAndServer_16MB/h2-4 1 192090963 ns/op 87.34 MB/s BenchmarkFileAndServer_64MB/h1-4 1 153959080 ns/op 435.89 MB/s BenchmarkFileAndServer_64MB/https1-4 1 364272844 ns/op 184.23 MB/s BenchmarkFileAndServer_64MB/h2-4 1 780610381 ns/op 85.97 MB/s BenchmarkServeMux-4 276 435691 ns/op 17280 B/op 360 allocs/op BenchmarkServeMux_SkipServe-4 351 339378 ns/op 0 B/op 0 allocs/op BenchmarkClientServer/h1-4 433 263950 ns/op 5858 B/op 64 allocs/op BenchmarkClientServer/https1-4 258 404629 ns/op 6620 B/op 74 allocs/op BenchmarkClientServer/h2-4 216 501569 ns/op 9926 B/op 80 allocs/op BenchmarkClientServerParallel/4/h1-4 1342 97293 ns/op 10034 B/op 79 allocs/op BenchmarkClientServerParallel/4/https1-4 39 4061290 ns/op 100088 B/op 1082 allocs/op --- BENCH: BenchmarkClientServerParallel/4/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42398: read tcp 127.0.0.1:34185->127.0.0.1:42398: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42414: read tcp 127.0.0.1:34185->127.0.0.1:42414: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42418: write tcp 127.0.0.1:34185->127.0.0.1:42418: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42424: write tcp 127.0.0.1:34185->127.0.0.1:42424: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51548: read tcp 127.0.0.1:38861->127.0.0.1:51548: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51610: write tcp 127.0.0.1:38861->127.0.0.1:51610: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51590: write tcp 127.0.0.1:38861->127.0.0.1:51590: use of closed network connection BenchmarkClientServerParallel/4/h2-4 328 320235 ns/op 13505 B/op 129 allocs/op --- BENCH: BenchmarkClientServerParallel/4/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46132: read tcp 127.0.0.1:32871->127.0.0.1:46132: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46116: read tcp 127.0.0.1:32871->127.0.0.1:46116: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46152: write tcp 127.0.0.1:32871->127.0.0.1:46152: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:60398: read tcp 127.0.0.1:35769->127.0.0.1:60398: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:60424: write tcp 127.0.0.1:35769->127.0.0.1:60424: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:60372: write tcp 127.0.0.1:35769->127.0.0.1:60372: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35732: read tcp 127.0.0.1:46227->127.0.0.1:35732: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:39820: read tcp 127.0.0.1:40105->127.0.0.1:39820: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:39762: write tcp 127.0.0.1:40105->127.0.0.1:39762: use of closed network connection BenchmarkClientServerParallel/64/h1-4 852 126877 ns/op 16683 B/op 104 allocs/op BenchmarkClientServerParallel/64/https1-4 121 1530867 ns/op 41326 B/op 455 allocs/op --- BENCH: BenchmarkClientServerParallel/64/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35928: read tcp 127.0.0.1:39005->127.0.0.1:35928: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35922: write tcp 127.0.0.1:39005->127.0.0.1:35922: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35926: write tcp 127.0.0.1:39005->127.0.0.1:35926: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41834: read tcp 127.0.0.1:42951->127.0.0.1:41834: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41838: read tcp 127.0.0.1:42951->127.0.0.1:41838: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42008: write tcp 127.0.0.1:42951->127.0.0.1:42008: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41984: read tcp 127.0.0.1:42951->127.0.0.1:41984: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42024: read tcp 127.0.0.1:42951->127.0.0.1:42024: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42040: read tcp 127.0.0.1:42951->127.0.0.1:42040: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42056: read tcp 127.0.0.1:42951->127.0.0.1:42056: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h2-4 63 1965227 ns/op 59121 B/op 654 allocs/op --- BENCH: BenchmarkClientServerParallel/64/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:39510: read tcp 127.0.0.1:42495->127.0.0.1:39510: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:39470: read tcp 127.0.0.1:42495->127.0.0.1:39470: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:39506: write tcp 127.0.0.1:42495->127.0.0.1:39506: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:39514: write tcp 127.0.0.1:42495->127.0.0.1:39514: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:40862: write tcp 127.0.0.1:44123->127.0.0.1:40862: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:40884: read tcp 127.0.0.1:44123->127.0.0.1:40884: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:40892: read tcp 127.0.0.1:44123->127.0.0.1:40892: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:40780: read tcp 127.0.0.1:44123->127.0.0.1:40780: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:40860: read tcp 127.0.0.1:44123->127.0.0.1:40860: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:40916: read tcp 127.0.0.1:44123->127.0.0.1:40916: use of closed network connection ... [output truncated] BenchmarkServer-4 200 509401 ns/op 2797 B/op 22 allocs/op BenchmarkClient-4 372 317953 ns/op 3741 B/op 45 allocs/op BenchmarkServerFakeConnNoKeepAlive-4 735 142572 ns/op 7451 B/op 54 allocs/op BenchmarkServerFakeConnWithKeepAlive-4 1578 77628 ns/op 3026 B/op 24 allocs/op BenchmarkServerFakeConnWithKeepAliveLite-4 1954 77000 ns/op 1954 B/op 14 allocs/op BenchmarkServerHandlerTypeLen-4 1812 71950 ns/op 2764 B/op 21 allocs/op BenchmarkServerHandlerNoLen-4 1624 64391 ns/op 2707 B/op 19 allocs/op BenchmarkServerHandlerNoType-4 1792 62809 ns/op 2726 B/op 20 allocs/op BenchmarkServerHandlerNoHeader-4 1890 71481 ns/op 1922 B/op 14 allocs/op BenchmarkServerHijack-4 1220 103223 ns/op 16683 B/op 50 allocs/op BenchmarkCloseNotifier/h1-4 408 283645 ns/op 6037 B/op 52 allocs/op BenchmarkResponseStatusLine-4 479722 227.8 ns/op 0 B/op 0 allocs/op PASS ok net/http 10.661s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: net/http/httputil cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkServeHTTP-4 5970 20698 ns/op 34073 B/op 12 allocs/op PASS ok net/http/httputil 0.318s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: net/netip cpu: AMD EPYC 7B12 BenchmarkIPNextPrev-4 105615 1163 ns/op BenchmarkBinaryMarshalRoundTrip/ipv4-4 515078 203.4 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6-4 203997 553.4 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6+zone-4 68865 1786 ns/op BenchmarkStdIPv4-4 140139 814.0 ns/op 16 B/op 1 allocs/op BenchmarkIPv4-4 122774 1047 ns/op 0 B/op 0 allocs/op BenchmarkIPv4_inline-4 120369 982.7 ns/op 0 B/op 0 allocs/op BenchmarkStdIPv6-4 87710 1350 ns/op 16 B/op 1 allocs/op BenchmarkIPv6-4 79683 1428 ns/op 0 B/op 0 allocs/op BenchmarkIPv4Contains-4 2029730 61.65 ns/op 0 B/op 0 allocs/op BenchmarkIPv6Contains-4 1781126 73.01 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v4-4 1468592 82.51 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6-4 306115 407.2 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_ellipsis-4 322296 370.7 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_v4-4 293444 395.5 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_zone-4 87331 1391 ns/op 0 B/op 0 allocs/op BenchmarkStdParseIP/v4-4 332191 354.2 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6-4 152112 784.7 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_ellipsis-4 154651 752.4 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_v4-4 150232 784.2 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_zone-4 78086 1521 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v4-4 380799 306.4 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v6-4 133917 888.7 ns/op 48 B/op 1 allocs/op BenchmarkIPString/v6_ellipsis-4 176659 676.6 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_v4-4 263160 440.1 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_zone-4 165601 720.4 ns/op 24 B/op 1 allocs/op BenchmarkIPStringExpanded/v4-4 337798 352.4 ns/op 16 B/op 1 allocs/op BenchmarkIPStringExpanded/v6-4 186469 640.6 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_ellipsis-4 183829 646.0 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_v4-4 189783 642.0 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_zone-4 137532 854.8 ns/op 128 B/op 2 allocs/op BenchmarkIPMarshalText-4 468350 229.8 ns/op 16 B/op 1 allocs/op BenchmarkAddrPortString/v4-4 166051 727.8 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortString/v6-4 102116 1191 ns/op 112 B/op 3 allocs/op BenchmarkAddrPortString/v6_ellipsis-4 123879 972.1 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_v4-4 165602 700.9 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_zone-4 115574 1015 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortMarshalText/v4-4 279681 421.5 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6-4 124134 981.4 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_ellipsis-4 152827 779.1 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_v4-4 199170 581.5 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_zone-4 139376 846.6 ns/op 64 B/op 1 allocs/op BenchmarkPrefixMasking/IPv4_/32-4 1263314 100.4 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/17-4 1222472 102.9 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/0-4 1209169 98.82 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/128-4 1000000 102.7 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/65-4 1000000 108.0 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/0-4 1000000 101.0 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/128-4 1000000 101.2 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/65-4 1000000 102.7 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/0-4 1000000 102.9 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMarshalText-4 386120 309.9 ns/op 24 B/op 1 allocs/op BenchmarkParseAddrPort/v4-4 630135 186.7 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6-4 217488 525.5 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_ellipsis-4 235392 495.4 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_v4-4 226671 520.2 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_zone-4 77347 1553 ns/op 0 B/op 0 allocs/op BenchmarkAs16-4 650409 181.2 ns/op PASS ok net/netip 7.884s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. 2023/03/24 03:09:03 Test RPC server listening on 127.0.0.1:43463 2023/03/24 03:09:03 Test HTTP RPC server listening on 127.0.0.1:39577 goos: linux goarch: amd64 pkg: net/rpc cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEndToEnd-4 1054 96875 ns/op BenchmarkEndToEndHTTP-4 1208 96886 ns/op BenchmarkEndToEndAsync-4 2835 47660 ns/op BenchmarkEndToEndAsyncHTTP-4 2712 45527 ns/op PASS ok net/rpc 0.946s goos: linux goarch: amd64 pkg: net/textproto cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadMIMEHeader/client_headers-4 3054 35194 ns/op BenchmarkReadMIMEHeader/server_headers-4 4692 22275 ns/op BenchmarkUncommon-4 25672 4464 ns/op 480 B/op 5 allocs/op PASS ok net/textproto 0.435s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: net/url cpu: AMD EPYC 7B12 BenchmarkString-4 4248 24376 ns/op 1616 B/op 60 allocs/op BenchmarkResolvePath-4 97893 1183 ns/op 32 B/op 2 allocs/op BenchmarkQueryEscape/#00-4 524218 203.4 ns/op 16 B/op 1 allocs/op BenchmarkQueryEscape/#01-4 109473 1111 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#02-4 196783 590.3 ns/op 32 B/op 1 allocs/op BenchmarkQueryEscape/#03-4 93717 1271 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#04-4 17629 6682 ns/op 832 B/op 2 allocs/op BenchmarkPathEscape/#00-4 392658 285.0 ns/op 16 B/op 1 allocs/op BenchmarkPathEscape/#01-4 105043 1134 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#02-4 199420 598.3 ns/op 32 B/op 1 allocs/op BenchmarkPathEscape/#03-4 95361 1275 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#04-4 19298 6103 ns/op 704 B/op 2 allocs/op BenchmarkQueryUnescape/#00-4 196843 594.9 ns/op 16 B/op 1 allocs/op BenchmarkQueryUnescape/#01-4 82546 1465 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#02-4 75895 1449 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#03-4 38235 3100 ns/op 64 B/op 1 allocs/op BenchmarkQueryUnescape/#04-4 6051 17329 ns/op 320 B/op 1 allocs/op BenchmarkPathUnescape/#00-4 200244 604.4 ns/op 16 B/op 1 allocs/op BenchmarkPathUnescape/#01-4 79923 1454 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#02-4 78820 1443 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#03-4 35803 3092 ns/op 64 B/op 1 allocs/op BenchmarkPathUnescape/#04-4 6406 17685 ns/op 320 B/op 1 allocs/op PASS ok net/url 3.011s goos: linux goarch: amd64 pkg: os cpu: AMD EPYC 7B12 BenchmarkExpand/noop-4 3042632 37.01 ns/op 0 B/op 0 allocs/op BenchmarkExpand/multiple-4 178268 663.4 ns/op 48 B/op 2 allocs/op BenchmarkReaddirname-4 928 117855 ns/op --- BENCH: BenchmarkReaddirname-4 os_test.go:501: benchmarkReaddirname ".": 122 entries os_test.go:501: benchmarkReaddirname ".": 122 entries os_test.go:501: benchmarkReaddirname ".": 122 entries BenchmarkReaddir-4 345 343279 ns/op --- BENCH: BenchmarkReaddir-4 os_test.go:518: benchmarkReaddir ".": 122 entries os_test.go:518: benchmarkReaddir ".": 122 entries os_test.go:518: benchmarkReaddir ".": 122 entries BenchmarkReadDir-4 796 146675 ns/op --- BENCH: BenchmarkReadDir-4 os_test.go:535: benchmarkReadDir ".": 122 entries os_test.go:535: benchmarkReadDir ".": 122 entries os_test.go:535: benchmarkReadDir ".": 122 entries BenchmarkStatDot-4 82280 1424 ns/op BenchmarkStatFile-4 64629 1794 ns/op BenchmarkStatDir-4 67957 1716 ns/op BenchmarkLstatDot-4 83049 1403 ns/op BenchmarkLstatFile-4 64894 1799 ns/op BenchmarkLstatDir-4 68319 1741 ns/op PASS ok os 1.549s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: os/exec cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExecHostname-4 116 1034248 ns/op 6555 B/op 29 allocs/op PASS ok os/exec 0.253s goos: linux goarch: amd64 pkg: os/user cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCurrent-4 358630 294.8 ns/op PASS ok os/user 0.212s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: reflect cpu: AMD EPYC 7B12 BenchmarkBool-4 4255615 27.58 ns/op BenchmarkString-4 2354053 46.62 ns/op BenchmarkBytes-4 2087680 54.11 ns/op BenchmarkNamedBytes-4 826047 147.0 ns/op BenchmarkBytesArray-4 696018 171.8 ns/op BenchmarkSliceLen-4 2705032 44.59 ns/op BenchmarkMapLen-4 1462362 79.90 ns/op BenchmarkStringLen-4 1615574 70.07 ns/op BenchmarkArrayLen-4 1513953 79.22 ns/op BenchmarkSliceCap-4 2679080 45.10 ns/op BenchmarkDeepEqual/int8-4 644890 175.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int8-4 111753 1022 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int16-4 514153 230.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int16-4 103588 1070 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int32-4 496912 232.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int32-4 110152 1077 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int64-4 498903 218.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int64-4 111678 1071 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int-4 508662 225.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int-4 106942 1081 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint8-4 657433 178.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8-4 120172 856.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint16-4 508778 239.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint16-4 111108 1079 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint32-4 527084 229.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint32-4 111842 1077 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint64-4 489324 228.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint64-4 106968 1070 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint-4 509062 221.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint-4 111807 1071 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uintptr-4 507963 230.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uintptr-4 111607 1080 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float32-4 493442 225.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float32-4 105189 1067 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float64-4 505902 222.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float64-4 108404 1111 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex64-4 495624 228.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex64-4 112158 1059 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex128-4 520504 218.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex128-4 106654 1073 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/bool-4 628054 191.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]bool-4 111817 1020 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/string-4 537388 222.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]string-4 107025 1081 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8#01-4 135162 846.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][]uint8-4 69302 1708 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[6]uint8-4 70749 1613 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][6]uint8-4 45850 2508 ns/op 0 B/op 0 allocs/op BenchmarkIsZero/ArrayComparable-4 265096 422.0 ns/op BenchmarkIsZero/ArrayIncomparable-4 42576 2813 ns/op BenchmarkIsZero/StructComparable-4 823892 132.6 ns/op BenchmarkIsZero/StructIncomparable-4 183757 616.5 ns/op BenchmarkSetZero/Bool/Direct-4 3762438 28.59 ns/op BenchmarkSetZero/Bool/CachedZero-4 1543692 72.12 ns/op BenchmarkSetZero/Bool/NewZero-4 1247000 96.43 ns/op BenchmarkSetZero/Int/Direct-4 2217964 51.12 ns/op BenchmarkSetZero/Int/CachedZero-4 1660196 72.51 ns/op BenchmarkSetZero/Int/NewZero-4 1000000 102.8 ns/op BenchmarkSetZero/Uint/Direct-4 2367667 50.45 ns/op BenchmarkSetZero/Uint/CachedZero-4 1662793 72.11 ns/op BenchmarkSetZero/Uint/NewZero-4 1000000 101.0 ns/op BenchmarkSetZero/Float/Direct-4 2264070 50.46 ns/op BenchmarkSetZero/Float/CachedZero-4 1657134 71.53 ns/op BenchmarkSetZero/Float/NewZero-4 1253049 95.69 ns/op BenchmarkSetZero/Complex/Direct-4 2228905 50.63 ns/op BenchmarkSetZero/Complex/CachedZero-4 1558926 72.47 ns/op BenchmarkSetZero/Complex/NewZero-4 1000000 103.0 ns/op BenchmarkSetZero/Array/Direct-4 3839474 31.29 ns/op BenchmarkSetZero/Array/CachedZero-4 1678164 71.34 ns/op BenchmarkSetZero/Array/NewZero-4 1286379 96.51 ns/op BenchmarkSetZero/Chan/Direct-4 2286733 48.82 ns/op BenchmarkSetZero/Chan/CachedZero-4 1260218 92.04 ns/op BenchmarkSetZero/Chan/NewZero-4 1000000 111.6 ns/op BenchmarkSetZero/Func/Direct-4 2417300 48.89 ns/op BenchmarkSetZero/Func/CachedZero-4 1226698 93.00 ns/op BenchmarkSetZero/Func/NewZero-4 1000000 113.0 ns/op BenchmarkSetZero/Interface/Direct-4 1994292 56.39 ns/op BenchmarkSetZero/Interface/CachedZero-4 1688714 70.81 ns/op BenchmarkSetZero/Interface/NewZero-4 1209608 95.24 ns/op BenchmarkSetZero/Map/Direct-4 2441304 49.08 ns/op BenchmarkSetZero/Map/CachedZero-4 1210744 93.01 ns/op BenchmarkSetZero/Map/NewZero-4 1000000 113.1 ns/op BenchmarkSetZero/Pointer/Direct-4 2457099 48.87 ns/op BenchmarkSetZero/Pointer/CachedZero-4 1280006 92.84 ns/op BenchmarkSetZero/Pointer/NewZero-4 990392 112.6 ns/op BenchmarkSetZero/Slice/Direct-4 2000414 60.00 ns/op BenchmarkSetZero/Slice/CachedZero-4 1657998 72.31 ns/op BenchmarkSetZero/Slice/NewZero-4 1239541 93.09 ns/op BenchmarkSetZero/String/Direct-4 2393598 50.58 ns/op BenchmarkSetZero/String/CachedZero-4 1667884 71.88 ns/op BenchmarkSetZero/String/NewZero-4 1252280 94.56 ns/op BenchmarkSetZero/Struct/Direct-4 3848062 31.21 ns/op BenchmarkSetZero/Struct/CachedZero-4 1649698 73.23 ns/op BenchmarkSetZero/Struct/NewZero-4 1275655 95.32 ns/op BenchmarkSelect/1-4 184488 630.4 ns/op 80 B/op 5 allocs/op BenchmarkSelect/4-4 97561 1246 ns/op 208 B/op 8 allocs/op BenchmarkSelect/8-4 53136 2280 ns/op 672 B/op 13 allocs/op BenchmarkCall-4 202972 607.9 ns/op 0 B/op 0 allocs/op BenchmarkCallMethod-4 149277 807.7 ns/op 0 B/op 0 allocs/op BenchmarkCallArgCopy/size=128-4 80980 1295 ns/op 98.83 MB/s BenchmarkCallArgCopy/size=256-4 88928 1393 ns/op 183.75 MB/s BenchmarkCallArgCopy/size=1024-4 74232 1592 ns/op 643.40 MB/s BenchmarkCallArgCopy/size=4096-4 43932 3179 ns/op 1288.60 MB/s BenchmarkCallArgCopy/size=65536-4 4358 28594 ns/op 2291.94 MB/s BenchmarkPtrTo-4 718802 196.5 ns/op BenchmarkFieldByName1-4 840565 159.7 ns/op BenchmarkFieldByName2-4 67831 1718 ns/op BenchmarkFieldByName3-4 9123 11536 ns/op BenchmarkInterfaceBig-4 4768570 23.87 ns/op BenchmarkInterfaceSmall-4 3995479 27.65 ns/op BenchmarkNew-4 2049093 56.97 ns/op BenchmarkMap/StringKeys/MapIndex-4 3388 33711 ns/op 0 B/op 0 allocs/op BenchmarkMap/StringKeys/SetMapIndex-4 3146 35963 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/MapIndex-4 3157 37090 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/SetMapIndex-4 3056 36334 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/MapIndex-4 3384 34845 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/SetMapIndex-4 3104 35732 ns/op 0 B/op 0 allocs/op BenchmarkMapIterNext-4 270441 439.6 ns/op PASS ok reflect 18.186s goos: linux goarch: amd64 pkg: regexp cpu: AMD EPYC 7B12 BenchmarkFind-4 13909 9112 ns/op 9242 B/op 1 allocs/op BenchmarkFindAllNoMatches-4 18451 6319 ns/op 9219 B/op 1 allocs/op BenchmarkFindString-4 14170 8582 ns/op 9153 B/op 1 allocs/op BenchmarkFindSubmatch-4 12873 9149 ns/op 9301 B/op 2 allocs/op BenchmarkFindStringSubmatch-4 13664 8766 ns/op 9287 B/op 2 allocs/op BenchmarkLiteral-4 20065 5651 ns/op BenchmarkNotLiteral-4 4380 25343 ns/op BenchmarkMatchClass-4 3258 33207 ns/op BenchmarkMatchClass_InRange-4 4009 32167 ns/op BenchmarkReplaceAll-4 2746 39658 ns/op BenchmarkAnchoredLiteralShortNonMatch-4 21996 5532 ns/op BenchmarkAnchoredLiteralLongNonMatch-4 42694 2787 ns/op BenchmarkAnchoredShortMatch-4 17641 6953 ns/op BenchmarkAnchoredLongMatch-4 20456 5813 ns/op BenchmarkOnePassShortA-4 20823 5502 ns/op BenchmarkNotOnePassShortA-4 9626 13039 ns/op BenchmarkOnePassShortB-4 28872 4227 ns/op BenchmarkNotOnePassShortB-4 12116 10070 ns/op BenchmarkOnePassLongPrefix-4 86936 1474 ns/op BenchmarkOnePassLongNotPrefix-4 29397 3913 ns/op BenchmarkMatchParallelShared-4 22004 5353 ns/op BenchmarkMatchParallelCopied-4 20198 4979 ns/op BenchmarkQuoteMetaAll-4 168602 655.2 ns/op 21.37 MB/s BenchmarkQuoteMetaNone-4 369534 326.0 ns/op 79.76 MB/s BenchmarkCompile/Onepass-4 4209 26361 ns/op 4144 B/op 52 allocs/op BenchmarkCompile/Medium-4 1648 67968 ns/op 9704 B/op 112 allocs/op BenchmarkCompile/Hard-4 196 612652 ns/op 84760 B/op 424 allocs/op BenchmarkMatch/Easy0/16-4 3986646 29.73 ns/op 538.24 MB/s BenchmarkMatch/Easy0/32-4 21699 5630 ns/op 5.68 MB/s BenchmarkMatch/Easy0/1K-4 7116 15426 ns/op 66.38 MB/s BenchmarkMatch/Easy0i/16-4 3962767 26.97 ns/op 593.18 MB/s BenchmarkMatch/Easy0i/32-4 5926 19925 ns/op 1.61 MB/s BenchmarkMatch/Easy0i/1K-4 253 425978 ns/op 2.40 MB/s BenchmarkMatch/Easy1/16-4 4337871 26.99 ns/op 592.87 MB/s BenchmarkMatch/Easy1/32-4 23317 5399 ns/op 5.93 MB/s BenchmarkMatch/Easy1/1K-4 4939 21749 ns/op 47.08 MB/s BenchmarkMatch/Medium/16-4 4366734 27.06 ns/op 591.20 MB/s BenchmarkMatch/Medium/32-4 6994 17006 ns/op 1.88 MB/s BenchmarkMatch/Medium/1K-4 328 362690 ns/op 2.82 MB/s BenchmarkMatch/Hard/16-4 4341972 27.34 ns/op 585.20 MB/s BenchmarkMatch/Hard/32-4 4436 27411 ns/op 1.17 MB/s BenchmarkMatch/Hard/1K-4 170 639294 ns/op 1.60 MB/s BenchmarkMatch/Hard1/16-4 1639 75487 ns/op 0.21 MB/s BenchmarkMatch/Hard1/32-4 872 133237 ns/op 0.24 MB/s BenchmarkMatch/Hard1/1K-4 30 3926860 ns/op 0.26 MB/s BenchmarkMatch_onepass_regex/16-4 32398 3717 ns/op 4.30 MB/s 23 B/op 0 allocs/op BenchmarkMatch_onepass_regex/32-4 19110 6334 ns/op 5.05 MB/s 24 B/op 0 allocs/op BenchmarkMatch_onepass_regex/1K-4 656 185355 ns/op 5.52 MB/s 22 B/op 0 allocs/op PASS ok regexp 7.743s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: regexp/syntax cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEmptyOpContext-4 621327 191.1 ns/op BenchmarkIsWordChar-4 171945 717.9 ns/op PASS ok regexp/syntax 1.381s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: runtime cpu: AMD EPYC 7B12 BenchmarkCallers/cached-4 73162 1641 ns/op BenchmarkCallers/inlined-4 62996 1898 ns/op BenchmarkCallers/no-cache-4 15010 7968 ns/op BenchmarkMakeChan/Byte-4 1352640 84.87 ns/op BenchmarkMakeChan/Int-4 1000000 111.1 ns/op BenchmarkMakeChan/Ptr-4 613370 178.2 ns/op BenchmarkMakeChan/Struct/0-4 1355259 90.83 ns/op BenchmarkMakeChan/Struct/32-4 781842 195.0 ns/op BenchmarkMakeChan/Struct/40-4 561278 222.0 ns/op BenchmarkChanNonblocking-4 12521841 9.574 ns/op BenchmarkSelectUncontended-4 1155556 103.9 ns/op BenchmarkSelectSyncContended-4 34434 3956 ns/op BenchmarkSelectAsyncContended-4 116994 1079 ns/op BenchmarkSelectNonblock-4 7162672 15.99 ns/op BenchmarkChanUncontended-4 14911 10922 ns/op BenchmarkChanContended-4 1270 104123 ns/op BenchmarkChanSync-4 180372 731.6 ns/op BenchmarkChanSyncWork-4 10000 12818 ns/op BenchmarkChanProdCons0-4 96075 1441 ns/op BenchmarkChanProdCons10-4 126500 966.4 ns/op BenchmarkChanProdCons100-4 177630 862.7 ns/op BenchmarkChanProdConsWork0-4 80209 1766 ns/op BenchmarkChanProdConsWork10-4 87888 1405 ns/op BenchmarkChanProdConsWork100-4 93145 1296 ns/op BenchmarkSelectProdCons-4 67461 1609 ns/op BenchmarkReceiveDataFromClosedChan-4 983251 118.9 ns/op BenchmarkChanCreation-4 250065 472.4 ns/op BenchmarkChanSem-4 141498 1034 ns/op BenchmarkChanPopular-4 123 1016352 ns/op BenchmarkChanClosed-4 1090855 105.9 ns/op BenchmarkCallClosure-4 7238336 14.71 ns/op BenchmarkCallClosure1-4 7119289 15.58 ns/op BenchmarkCallClosure2-4 1446939 80.67 ns/op BenchmarkCallClosure3-4 1685689 68.98 ns/op BenchmarkCallClosure4-4 1484439 80.28 ns/op BenchmarkComplex128DivNormal-4 12352333 9.723 ns/op BenchmarkComplex128DivNisNaN-4 9474178 12.79 ns/op BenchmarkComplex128DivDisNaN-4 9297853 13.00 ns/op BenchmarkComplex128DivNisInf-4 12189790 9.829 ns/op BenchmarkComplex128DivDisInf-4 6978267 17.39 ns/op BenchmarkSetTypePtr-4 43722679 2.657 ns/op 3011.42 MB/s BenchmarkSetTypePtr8-4 13079016 9.157 ns/op 6989.41 MB/s BenchmarkSetTypePtr16-4 13065031 9.168 ns/op 13961.88 MB/s BenchmarkSetTypePtr32-4 13092056 9.152 ns/op 27972.02 MB/s BenchmarkSetTypePtr64-4 13057666 9.158 ns/op 55905.78 MB/s BenchmarkSetTypePtr126-4 8283039 14.47 ns/op 69642.88 MB/s BenchmarkSetTypePtr128-4 8518144 13.99 ns/op 73183.69 MB/s BenchmarkSetTypePtrSlice-4 1000000 102.6 ns/op 79838.67 MB/s BenchmarkSetTypeNode1-4 13106527 9.166 ns/op 2618.32 MB/s BenchmarkSetTypeNode1Slice-4 5651245 21.11 ns/op 36375.80 MB/s BenchmarkSetTypeNode8-4 12989286 9.186 ns/op 8708.67 MB/s BenchmarkSetTypeNode8Slice-4 2692878 44.86 ns/op 57064.38 MB/s BenchmarkSetTypeNode64-4 8268588 14.51 ns/op 36400.00 MB/s BenchmarkSetTypeNode64Slice-4 310963 379.4 ns/op 44537.46 MB/s BenchmarkSetTypeNode64Dead-4 10408783 11.52 ns/op 45820.55 MB/s BenchmarkSetTypeNode64DeadSlice-4 363145 327.5 ns/op 51592.23 MB/s BenchmarkSetTypeNode124-4 8199445 14.56 ns/op 69219.05 MB/s BenchmarkSetTypeNode124Slice-4 257920 465.4 ns/op 69312.82 MB/s BenchmarkSetTypeNode126-4 8187585 14.12 ns/op 72500.54 MB/s BenchmarkSetTypeNode126Slice-4 252297 473.7 ns/op 69174.08 MB/s BenchmarkSetTypeNode128-4 5903362 20.10 ns/op 51743.12 MB/s BenchmarkSetTypeNode128Slice-4 195411 605.1 ns/op 55002.38 MB/s BenchmarkSetTypeNode130-4 5935975 20.00 ns/op 52813.16 MB/s BenchmarkSetTypeNode130Slice-4 193742 610.7 ns/op 55330.44 MB/s BenchmarkSetTypeNode1024-4 1000000 102.3 ns/op 80228.54 MB/s BenchmarkSetTypeNode1024Slice-4 34976 3392 ns/op 77434.87 MB/s BenchmarkAllocation-4 4598 28979 ns/op BenchmarkReadMemStats-4 4147 27146 ns/op BenchmarkReadMemStatsLatency-4 1 91940 p50-ns 91940 p90-ns 91940 p99-ns BenchmarkWriteBarrier-4 3591991 37.09 ns/op BenchmarkBulkWriteBarrier-4 6733546 16.06 ns/op BenchmarkScanStackNoLocals-4 4 34311171 ns/op BenchmarkMSpanCountAlloc/bits=64-4 14404323 8.228 ns/op BenchmarkMSpanCountAlloc/bits=128-4 13553343 8.967 ns/op BenchmarkMSpanCountAlloc/bits=256-4 10841494 10.65 ns/op BenchmarkMSpanCountAlloc/bits=512-4 8003876 14.40 ns/op BenchmarkMSpanCountAlloc/bits=1024-4 6016260 19.98 ns/op BenchmarkHash5-4 8854954 13.91 ns/op 359.45 MB/s BenchmarkHash16-4 8179465 14.76 ns/op 1083.96 MB/s BenchmarkHash64-4 8611153 14.57 ns/op 4392.74 MB/s BenchmarkHash1024-4 3647331 32.74 ns/op 31275.58 MB/s BenchmarkHash65536-4 85627 1398 ns/op 46890.57 MB/s BenchmarkAlignedLoad-4 11298397 12.26 ns/op BenchmarkUnalignedLoad-4 10496443 10.81 ns/op BenchmarkEqEfaceConcrete-4 8890821 13.44 ns/op BenchmarkEqIfaceConcrete-4 8516550 14.31 ns/op BenchmarkNeEfaceConcrete-4 7644936 16.35 ns/op BenchmarkNeIfaceConcrete-4 9141717 13.49 ns/op BenchmarkConvT2EByteSized/bool-4 7214922 14.45 ns/op BenchmarkConvT2EByteSized/uint8-4 7985070 15.13 ns/op BenchmarkConvT2ESmall-4 7411864 16.22 ns/op BenchmarkConvT2EUintptr-4 7007354 16.61 ns/op BenchmarkConvT2ELarge-4 1000000 103.7 ns/op BenchmarkConvT2ISmall-4 6941480 16.95 ns/op BenchmarkConvT2IUintptr-4 6108244 17.50 ns/op BenchmarkConvT2ILarge-4 1000000 100.7 ns/op BenchmarkConvI2E-4 6376640 17.17 ns/op BenchmarkConvI2I-4 5299335 23.19 ns/op BenchmarkAssertE2T-4 5421824 21.74 ns/op BenchmarkAssertE2TLarge-4 3312817 35.89 ns/op BenchmarkAssertE2I-4 5345923 20.83 ns/op BenchmarkAssertI2T-4 6111784 19.78 ns/op BenchmarkAssertI2I-4 5420845 21.53 ns/op BenchmarkAssertI2E-4 7779968 15.01 ns/op BenchmarkAssertE2E-4 8011753 14.70 ns/op BenchmarkAssertE2T2-4 4622686 26.38 ns/op BenchmarkAssertE2T2Blank-4 5560209 21.48 ns/op BenchmarkAssertI2E2-4 5834924 20.79 ns/op BenchmarkAssertI2E2Blank-4 7001785 14.73 ns/op BenchmarkAssertE2E2-4 6113216 19.95 ns/op BenchmarkAssertE2E2Blank-4 7590019 14.93 ns/op BenchmarkConvT2Ezero/zero/16-4 6920528 17.30 ns/op BenchmarkConvT2Ezero/zero/32-4 6747180 18.09 ns/op BenchmarkConvT2Ezero/zero/64-4 6624693 17.83 ns/op BenchmarkConvT2Ezero/zero/str-4 6628063 17.09 ns/op BenchmarkConvT2Ezero/zero/slice-4 7228447 16.56 ns/op BenchmarkConvT2Ezero/zero/big-4 293877 415.2 ns/op BenchmarkConvT2Ezero/nonzero/str-4 1388317 85.90 ns/op BenchmarkConvT2Ezero/nonzero/slice-4 1379594 86.95 ns/op BenchmarkConvT2Ezero/nonzero/big-4 307893 395.7 ns/op BenchmarkConvT2Ezero/smallint/16-4 7092501 16.85 ns/op BenchmarkConvT2Ezero/smallint/32-4 7113511 18.98 ns/op BenchmarkConvT2Ezero/smallint/64-4 6870453 17.50 ns/op BenchmarkConvT2Ezero/largeint/16-4 1777710 66.84 ns/op BenchmarkConvT2Ezero/largeint/32-4 1834468 68.54 ns/op BenchmarkConvT2Ezero/largeint/64-4 1734408 64.75 ns/op BenchmarkMalloc8-4 1489431 79.82 ns/op BenchmarkMalloc16-4 1505840 82.63 ns/op BenchmarkMallocTypeInfo8-4 1397602 86.66 ns/op BenchmarkMallocTypeInfo16-4 1246977 97.95 ns/op BenchmarkMallocLargeStruct-4 248673 500.2 ns/op BenchmarkGoroutineSelect-4 75 1708920 ns/op BenchmarkGoroutineBlocking-4 92 1484494 ns/op BenchmarkGoroutineForRange-4 79 1460752 ns/op BenchmarkGoroutineIdle-4 87 1511116 ns/op BenchmarkHashStringSpeed-4 2921697 39.73 ns/op BenchmarkHashBytesSpeed-4 1505746 79.41 ns/op BenchmarkHashInt32Speed-4 3654565 33.24 ns/op BenchmarkHashInt64Speed-4 3604659 30.45 ns/op BenchmarkHashStringArraySpeed-4 679792 179.3 ns/op BenchmarkMegMap-4 3904219 29.94 ns/op BenchmarkMegOneMap-4 4861303 24.62 ns/op BenchmarkMegEqMap-4 3543 29454 ns/op BenchmarkMegEmptyMap-4 6170145 19.44 ns/op BenchmarkSmallStrMap-4 4201315 29.78 ns/op BenchmarkMapStringKeysEight_16-4 4133367 32.23 ns/op BenchmarkMapStringKeysEight_32-4 4369190 27.47 ns/op BenchmarkMapStringKeysEight_64-4 4249816 28.37 ns/op BenchmarkMapStringKeysEight_1M-4 4287177 28.81 ns/op BenchmarkIntMap-4 4959741 24.41 ns/op BenchmarkMapFirst/1-4 6104391 19.68 ns/op BenchmarkMapFirst/2-4 5874837 20.30 ns/op BenchmarkMapFirst/3-4 6119476 19.59 ns/op BenchmarkMapFirst/4-4 5914838 19.64 ns/op BenchmarkMapFirst/5-4 5842920 19.67 ns/op BenchmarkMapFirst/6-4 5887092 20.69 ns/op BenchmarkMapFirst/7-4 5994776 19.73 ns/op BenchmarkMapFirst/8-4 5636470 21.44 ns/op BenchmarkMapFirst/9-4 5269390 23.79 ns/op BenchmarkMapFirst/10-4 4595185 23.65 ns/op BenchmarkMapFirst/11-4 4544406 24.81 ns/op BenchmarkMapFirst/12-4 5074287 25.17 ns/op BenchmarkMapFirst/13-4 5228378 22.75 ns/op BenchmarkMapFirst/14-4 4940473 23.61 ns/op BenchmarkMapFirst/15-4 4968187 23.61 ns/op BenchmarkMapFirst/16-4 4960369 26.07 ns/op BenchmarkMapMid/1-4 4461922 24.12 ns/op BenchmarkMapMid/2-4 4677499 25.28 ns/op BenchmarkMapMid/3-4 4824987 24.90 ns/op BenchmarkMapMid/4-4 4495122 26.45 ns/op BenchmarkMapMid/5-4 4746600 25.17 ns/op BenchmarkMapMid/6-4 4642214 26.06 ns/op BenchmarkMapMid/7-4 4433468 26.92 ns/op BenchmarkMapMid/8-4 4423340 25.94 ns/op BenchmarkMapMid/9-4 3998013 31.63 ns/op BenchmarkMapMid/10-4 3787878 28.58 ns/op BenchmarkMapMid/11-4 3735123 32.05 ns/op BenchmarkMapMid/12-4 3880371 30.77 ns/op BenchmarkMapMid/13-4 3922678 30.43 ns/op BenchmarkMapMid/14-4 3844862 29.73 ns/op BenchmarkMapMid/15-4 3777208 29.99 ns/op BenchmarkMapMid/16-4 3757372 31.77 ns/op BenchmarkMapLast/1-4 4993173 24.53 ns/op BenchmarkMapLast/2-4 4705806 25.45 ns/op BenchmarkMapLast/3-4 4784980 26.64 ns/op BenchmarkMapLast/4-4 4472553 26.35 ns/op BenchmarkMapLast/5-4 4331672 26.58 ns/op BenchmarkMapLast/6-4 4251235 27.68 ns/op BenchmarkMapLast/7-4 4247163 28.16 ns/op BenchmarkMapLast/8-4 4089428 28.57 ns/op BenchmarkMapLast/9-4 3766953 31.14 ns/op BenchmarkMapLast/10-4 3765822 32.21 ns/op BenchmarkMapLast/11-4 3781082 31.54 ns/op BenchmarkMapLast/12-4 3472356 32.46 ns/op BenchmarkMapLast/13-4 3743059 30.13 ns/op BenchmarkMapLast/14-4 3711624 31.64 ns/op BenchmarkMapLast/15-4 3788098 31.70 ns/op BenchmarkMapLast/16-4 3679909 31.85 ns/op BenchmarkMapCycle-4 2512203 46.81 ns/op BenchmarkRepeatedLookupStrMapKey32-4 4007420 28.25 ns/op BenchmarkRepeatedLookupStrMapKey1M-4 4878 22467 ns/op BenchmarkMakeMap/[Byte]Byte-4 702879 172.7 ns/op BenchmarkMakeMap/[Int]Int-4 429582 290.0 ns/op BenchmarkNewEmptyMap-4 13897118 8.313 ns/op 0 B/op 0 allocs/op BenchmarkNewSmallMap-4 2009523 59.37 ns/op 0 B/op 0 allocs/op BenchmarkMapIter-4 624868 191.0 ns/op BenchmarkMapIterEmpty-4 6816184 17.62 ns/op BenchmarkSameLengthMap-4 5824590 20.53 ns/op BenchmarkBigKeyMap-4 1607521 75.11 ns/op BenchmarkBigValMap-4 1527312 78.19 ns/op BenchmarkSmallKeyMap-4 3408819 34.57 ns/op BenchmarkMapPopulate/1-4 2575101 46.82 ns/op 0 B/op 0 allocs/op BenchmarkMapPopulate/10-4 152342 791.0 ns/op 179 B/op 1 allocs/op BenchmarkMapPopulate/100-4 9175 14193 ns/op 6278 B/op 15 allocs/op BenchmarkMapPopulate/1000-4 925 133350 ns/op 51757 B/op 55 allocs/op BenchmarkMapPopulate/10000-4 79 1536866 ns/op 416390 B/op 203 allocs/op BenchmarkMapPopulate/100000-4 6 18914124 ns/op 6530477 B/op 2903 allocs/op BenchmarkComplexAlgMap-4 579099 208.5 ns/op BenchmarkGoMapClear/Reflexive/1-4 806667 144.9 ns/op BenchmarkGoMapClear/Reflexive/10-4 717586 163.0 ns/op BenchmarkGoMapClear/Reflexive/100-4 255484 482.6 ns/op BenchmarkGoMapClear/Reflexive/1000-4 46702 2612 ns/op BenchmarkGoMapClear/Reflexive/10000-4 5280 19361 ns/op BenchmarkGoMapClear/NonReflexive/1-4 560804 210.8 ns/op BenchmarkGoMapClear/NonReflexive/10-4 489142 240.3 ns/op BenchmarkGoMapClear/NonReflexive/100-4 214045 532.9 ns/op BenchmarkGoMapClear/NonReflexive/1000-4 45374 2668 ns/op BenchmarkGoMapClear/NonReflexive/10000-4 5416 20071 ns/op BenchmarkMapStringConversion/32/simple-4 1786989 67.79 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/struct-4 1826145 63.78 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/array-4 1612136 73.80 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/simple-4 1743950 67.87 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/struct-4 1724332 68.54 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/array-4 1534194 78.61 ns/op 0 B/op 0 allocs/op BenchmarkMapInterfaceString-4 2260855 48.93 ns/op BenchmarkMapInterfacePtr-4 2496590 51.60 ns/op BenchmarkNewEmptyMapHintLessThan8-4 6069444 20.96 ns/op 0 B/op 0 allocs/op BenchmarkNewEmptyMapHintGreaterThan8-4 187285 749.7 ns/op 1152 B/op 1 allocs/op BenchmarkMapPop100-4 6033 19035 ns/op BenchmarkMapPop1000-4 439 271385 ns/op BenchmarkMapPop10000-4 26 4830680 ns/op BenchmarkMapAssign/Int32/256-4 2803309 43.28 ns/op BenchmarkMapAssign/Int32/65536-4 1513838 69.17 ns/op BenchmarkMapAssign/Int64/256-4 2763808 41.83 ns/op BenchmarkMapAssign/Int64/65536-4 1469954 73.49 ns/op BenchmarkMapAssign/Str/256-4 2157068 55.90 ns/op BenchmarkMapAssign/Str/65536-4 1063666 142.1 ns/op BenchmarkMapOperatorAssign/Int32/256-4 1767658 66.37 ns/op BenchmarkMapOperatorAssign/Int32/65536-4 1188891 90.40 ns/op BenchmarkMapOperatorAssign/Int64/256-4 1725481 70.58 ns/op BenchmarkMapOperatorAssign/Int64/65536-4 1132692 108.9 ns/op BenchmarkMapOperatorAssign/Str/256-4 550814 2114 ns/op BenchmarkMapOperatorAssign/Str/65536-4 341608 317.2 ns/op BenchmarkMapAppendAssign/Int32/256-4 1000000 109.6 ns/op 32 B/op 0 allocs/op BenchmarkMapAppendAssign/Int32/65536-4 365630 286.6 ns/op 46 B/op 0 allocs/op BenchmarkMapAppendAssign/Int64/256-4 1000000 103.8 ns/op 32 B/op 0 allocs/op BenchmarkMapAppendAssign/Int64/65536-4 349898 319.9 ns/op 52 B/op 0 allocs/op BenchmarkMapAppendAssign/Str/256-4 797685 156.1 ns/op 56 B/op 0 allocs/op BenchmarkMapAppendAssign/Str/65536-4 226212 478.5 ns/op 86 B/op 0 allocs/op BenchmarkMapDelete/Int32/100-4 2053071 70.35 ns/op BenchmarkMapDelete/Int32/1000-4 2161544 55.15 ns/op BenchmarkMapDelete/Int32/10000-4 2103562 56.96 ns/op BenchmarkMapDelete/Int64/100-4 2167344 56.46 ns/op BenchmarkMapDelete/Int64/1000-4 2292130 52.36 ns/op BenchmarkMapDelete/Int64/10000-4 2155316 54.04 ns/op BenchmarkMapDelete/Str/100-4 1694599 71.96 ns/op BenchmarkMapDelete/Str/1000-4 1803673 66.70 ns/op BenchmarkMapDelete/Str/10000-4 1676515 71.40 ns/op BenchmarkMapDelete/Pointer/100-4 1902124 70.82 ns/op BenchmarkMapDelete/Pointer/1000-4 2008726 60.40 ns/op BenchmarkMapDelete/Pointer/10000-4 1996371 60.29 ns/op BenchmarkMemmove/0-4 17372289 6.867 ns/op BenchmarkMemmove/1-4 1986901 57.11 ns/op 17.51 MB/s BenchmarkMemmove/2-4 1987166 60.35 ns/op 33.14 MB/s BenchmarkMemmove/3-4 1988108 59.67 ns/op 50.28 MB/s BenchmarkMemmove/4-4 1990580 61.59 ns/op 64.95 MB/s BenchmarkMemmove/5-4 1957803 60.13 ns/op 83.16 MB/s BenchmarkMemmove/6-4 1991254 63.17 ns/op 94.98 MB/s BenchmarkMemmove/7-4 1987286 61.21 ns/op 114.37 MB/s BenchmarkMemmove/8-4 2159253 53.14 ns/op 150.53 MB/s BenchmarkMemmove/9-4 1999466 60.65 ns/op 148.39 MB/s BenchmarkMemmove/10-4 1994709 60.78 ns/op 164.52 MB/s BenchmarkMemmove/11-4 1978402 61.99 ns/op 177.45 MB/s BenchmarkMemmove/12-4 1933944 61.10 ns/op 196.39 MB/s BenchmarkMemmove/13-4 1955013 60.34 ns/op 215.44 MB/s BenchmarkMemmove/14-4 1988517 60.16 ns/op 232.71 MB/s BenchmarkMemmove/15-4 1954342 62.18 ns/op 241.24 MB/s BenchmarkMemmove/16-4 2047980 59.22 ns/op 270.19 MB/s BenchmarkMemmove/32-4 1947782 61.65 ns/op 519.10 MB/s BenchmarkMemmove/64-4 1628097 66.97 ns/op 955.72 MB/s BenchmarkMemmove/128-4 1367364 80.81 ns/op 1583.92 MB/s BenchmarkMemmove/256-4 1000000 102.3 ns/op 2503.33 MB/s BenchmarkMemmove/512-4 670945 178.0 ns/op 2875.89 MB/s BenchmarkMemmove/1024-4 477134 247.9 ns/op 4130.06 MB/s BenchmarkMemmove/2048-4 284116 421.3 ns/op 4861.42 MB/s BenchmarkMemmove/4096-4 154746 776.4 ns/op 5275.63 MB/s BenchmarkMemmoveOverlap/32-4 1943010 61.92 ns/op 516.78 MB/s BenchmarkMemmoveOverlap/64-4 1733806 67.60 ns/op 946.70 MB/s BenchmarkMemmoveOverlap/128-4 1512084 78.94 ns/op 1621.57 MB/s BenchmarkMemmoveOverlap/256-4 1000000 102.2 ns/op 2504.09 MB/s BenchmarkMemmoveOverlap/512-4 652719 177.9 ns/op 2877.86 MB/s BenchmarkMemmoveOverlap/1024-4 466945 247.6 ns/op 4135.27 MB/s BenchmarkMemmoveOverlap/2048-4 281316 426.0 ns/op 4807.67 MB/s BenchmarkMemmoveOverlap/4096-4 150816 782.2 ns/op 5236.79 MB/s BenchmarkMemmoveUnalignedDst/0-4 18239460 6.566 ns/op BenchmarkMemmoveUnalignedDst/1-4 2096450 58.12 ns/op 17.21 MB/s BenchmarkMemmoveUnalignedDst/2-4 1991856 59.98 ns/op 33.34 MB/s BenchmarkMemmoveUnalignedDst/3-4 2016344 60.14 ns/op 49.89 MB/s BenchmarkMemmoveUnalignedDst/4-4 1940581 59.64 ns/op 67.06 MB/s BenchmarkMemmoveUnalignedDst/5-4 1921956 62.78 ns/op 79.64 MB/s BenchmarkMemmoveUnalignedDst/6-4 1895601 62.33 ns/op 96.26 MB/s BenchmarkMemmoveUnalignedDst/7-4 1936900 61.01 ns/op 114.74 MB/s BenchmarkMemmoveUnalignedDst/8-4 2265189 52.93 ns/op 151.14 MB/s BenchmarkMemmoveUnalignedDst/9-4 1967793 61.04 ns/op 147.44 MB/s BenchmarkMemmoveUnalignedDst/10-4 1974174 60.36 ns/op 165.67 MB/s BenchmarkMemmoveUnalignedDst/11-4 1913001 60.47 ns/op 181.92 MB/s BenchmarkMemmoveUnalignedDst/12-4 1969965 60.82 ns/op 197.32 MB/s BenchmarkMemmoveUnalignedDst/13-4 1756656 60.46 ns/op 215.01 MB/s BenchmarkMemmoveUnalignedDst/14-4 1760383 61.72 ns/op 226.84 MB/s BenchmarkMemmoveUnalignedDst/15-4 1944748 60.55 ns/op 247.74 MB/s BenchmarkMemmoveUnalignedDst/16-4 1829811 61.26 ns/op 261.16 MB/s BenchmarkMemmoveUnalignedDst/32-4 1832870 65.86 ns/op 485.88 MB/s BenchmarkMemmoveUnalignedDst/64-4 1607785 75.19 ns/op 851.17 MB/s BenchmarkMemmoveUnalignedDst/128-4 1432120 83.75 ns/op 1528.33 MB/s BenchmarkMemmoveUnalignedDst/256-4 1000000 105.9 ns/op 2417.39 MB/s BenchmarkMemmoveUnalignedDst/512-4 649138 181.9 ns/op 2814.94 MB/s BenchmarkMemmoveUnalignedDst/1024-4 472744 253.2 ns/op 4043.44 MB/s BenchmarkMemmoveUnalignedDst/2048-4 275016 425.9 ns/op 4808.39 MB/s BenchmarkMemmoveUnalignedDst/4096-4 148386 804.0 ns/op 5094.43 MB/s BenchmarkMemmoveUnalignedDstOverlap/32-4 1782963 66.90 ns/op 478.33 MB/s BenchmarkMemmoveUnalignedDstOverlap/64-4 1604631 77.43 ns/op 826.57 MB/s BenchmarkMemmoveUnalignedDstOverlap/128-4 1386918 92.82 ns/op 1379.08 MB/s BenchmarkMemmoveUnalignedDstOverlap/256-4 1000000 109.9 ns/op 2328.80 MB/s BenchmarkMemmoveUnalignedDstOverlap/512-4 660668 174.4 ns/op 2936.04 MB/s BenchmarkMemmoveUnalignedDstOverlap/1024-4 464397 255.0 ns/op 4015.93 MB/s BenchmarkMemmoveUnalignedDstOverlap/2048-4 278814 425.7 ns/op 4810.58 MB/s BenchmarkMemmoveUnalignedDstOverlap/4096-4 150812 784.8 ns/op 5219.16 MB/s BenchmarkMemmoveUnalignedSrc/0-4 17486434 6.862 ns/op BenchmarkMemmoveUnalignedSrc/1-4 2060619 57.25 ns/op 17.47 MB/s BenchmarkMemmoveUnalignedSrc/2-4 2003776 60.06 ns/op 33.30 MB/s BenchmarkMemmoveUnalignedSrc/3-4 1974097 59.76 ns/op 50.20 MB/s BenchmarkMemmoveUnalignedSrc/4-4 1990594 60.50 ns/op 66.12 MB/s BenchmarkMemmoveUnalignedSrc/5-4 2000020 62.48 ns/op 80.02 MB/s BenchmarkMemmoveUnalignedSrc/6-4 1984831 60.88 ns/op 98.55 MB/s BenchmarkMemmoveUnalignedSrc/7-4 1921812 63.47 ns/op 110.28 MB/s BenchmarkMemmoveUnalignedSrc/8-4 2168601 53.29 ns/op 150.12 MB/s BenchmarkMemmoveUnalignedSrc/9-4 1943054 60.88 ns/op 147.82 MB/s BenchmarkMemmoveUnalignedSrc/10-4 1890128 60.38 ns/op 165.61 MB/s BenchmarkMemmoveUnalignedSrc/11-4 1974890 60.45 ns/op 181.96 MB/s BenchmarkMemmoveUnalignedSrc/12-4 1714260 60.24 ns/op 199.20 MB/s BenchmarkMemmoveUnalignedSrc/13-4 1997925 60.37 ns/op 215.34 MB/s BenchmarkMemmoveUnalignedSrc/14-4 1941283 60.18 ns/op 232.65 MB/s BenchmarkMemmoveUnalignedSrc/15-4 1903423 60.95 ns/op 246.11 MB/s BenchmarkMemmoveUnalignedSrc/16-4 1882666 62.47 ns/op 256.13 MB/s BenchmarkMemmoveUnalignedSrc/32-4 1776213 69.71 ns/op 459.02 MB/s BenchmarkMemmoveUnalignedSrc/64-4 1574222 74.01 ns/op 864.73 MB/s BenchmarkMemmoveUnalignedSrc/128-4 1353369 85.99 ns/op 1488.63 MB/s BenchmarkMemmoveUnalignedSrc/256-4 1000000 108.4 ns/op 2360.73 MB/s BenchmarkMemmoveUnalignedSrc/512-4 646519 175.8 ns/op 2913.20 MB/s BenchmarkMemmoveUnalignedSrc/1024-4 476493 252.9 ns/op 4048.38 MB/s BenchmarkMemmoveUnalignedSrc/2048-4 278120 427.8 ns/op 4787.77 MB/s BenchmarkMemmoveUnalignedSrc/4096-4 152660 784.8 ns/op 5219.17 MB/s BenchmarkMemmoveUnalignedSrcOverlap/32-4 1731630 68.29 ns/op 468.59 MB/s BenchmarkMemmoveUnalignedSrcOverlap/64-4 1444149 75.44 ns/op 848.34 MB/s BenchmarkMemmoveUnalignedSrcOverlap/128-4 1385313 84.90 ns/op 1507.57 MB/s BenchmarkMemmoveUnalignedSrcOverlap/256-4 1000000 109.4 ns/op 2339.21 MB/s BenchmarkMemmoveUnalignedSrcOverlap/512-4 640381 183.8 ns/op 2786.10 MB/s BenchmarkMemmoveUnalignedSrcOverlap/1024-4 467818 250.9 ns/op 4081.43 MB/s BenchmarkMemmoveUnalignedSrcOverlap/2048-4 276117 426.7 ns/op 4799.71 MB/s BenchmarkMemmoveUnalignedSrcOverlap/4096-4 150693 786.2 ns/op 5209.95 MB/s BenchmarkMemclr/5-4 15958647 7.563 ns/op 661.11 MB/s BenchmarkMemclr/16-4 15803977 7.515 ns/op 2129.01 MB/s BenchmarkMemclr/64-4 14581642 8.199 ns/op 7805.47 MB/s BenchmarkMemclr/256-4 14024989 8.522 ns/op 30039.51 MB/s BenchmarkMemclr/4096-4 2598612 46.18 ns/op 88690.77 MB/s BenchmarkMemclr/65536-4 165817 726.3 ns/op 90235.97 MB/s BenchmarkMemclr/1M-4 5986 16846 ns/op 62243.92 MB/s BenchmarkMemclr/4M-4 1536 72802 ns/op 57612.12 MB/s BenchmarkMemclr/8M-4 753 156188 ns/op 53708.42 MB/s BenchmarkMemclr/16M-4 129 927156 ns/op 18095.35 MB/s BenchmarkMemclr/64M-4 36 2988548 ns/op 22455.34 MB/s BenchmarkGoMemclr/5-4 2715049 45.29 ns/op 110.39 MB/s BenchmarkGoMemclr/16-4 803970 143.2 ns/op 111.75 MB/s BenchmarkGoMemclr/64-4 223778 530.4 ns/op 120.66 MB/s BenchmarkGoMemclr/256-4 57747 2075 ns/op 123.40 MB/s BenchmarkMemclrRange/1K_2K-4 80470 1467 ns/op 65364.31 MB/s BenchmarkMemclrRange/2K_8K-4 28513 4211 ns/op 79195.26 MB/s BenchmarkMemclrRange/4K_16K-4 32733 3670 ns/op 88031.90 MB/s BenchmarkMemclrRange/160K_228K-4 6505 18152 ns/op 91608.52 MB/s BenchmarkClearFat7-4 9235366 12.98 ns/op BenchmarkClearFat8-4 10553730 11.39 ns/op BenchmarkClearFat11-4 9244088 12.95 ns/op BenchmarkClearFat12-4 9542115 12.68 ns/op BenchmarkClearFat13-4 9126316 13.02 ns/op BenchmarkClearFat14-4 9478606 12.74 ns/op BenchmarkClearFat15-4 8267857 13.76 ns/op BenchmarkClearFat16-4 9964917 11.96 ns/op BenchmarkClearFat24-4 9295797 12.97 ns/op BenchmarkClearFat32-4 8553186 13.28 ns/op BenchmarkClearFat40-4 7514620 15.98 ns/op BenchmarkClearFat48-4 8024152 14.97 ns/op BenchmarkClearFat56-4 7228688 15.93 ns/op BenchmarkClearFat64-4 7391601 16.27 ns/op BenchmarkClearFat72-4 6230602 18.88 ns/op BenchmarkClearFat128-4 5000606 23.86 ns/op BenchmarkClearFat256-4 3433066 34.96 ns/op BenchmarkClearFat512-4 1840910 70.14 ns/op BenchmarkClearFat1024-4 993375 116.2 ns/op BenchmarkClearFat1032-4 964598 120.3 ns/op BenchmarkClearFat1040-4 838215 138.1 ns/op BenchmarkCopyFat7-4 9418215 12.67 ns/op BenchmarkCopyFat8-4 10279105 11.71 ns/op BenchmarkCopyFat11-4 9203626 13.02 ns/op BenchmarkCopyFat12-4 9036580 13.03 ns/op BenchmarkCopyFat13-4 9194340 12.97 ns/op BenchmarkCopyFat14-4 9271422 12.99 ns/op BenchmarkCopyFat15-4 9218148 13.01 ns/op BenchmarkCopyFat16-4 10046097 11.96 ns/op BenchmarkCopyFat24-4 9225099 12.99 ns/op BenchmarkCopyFat32-4 8356639 13.33 ns/op BenchmarkCopyFat64-4 7397065 16.29 ns/op BenchmarkCopyFat72-4 5993085 18.97 ns/op BenchmarkCopyFat128-4 4961389 24.57 ns/op BenchmarkCopyFat256-4 3398161 35.42 ns/op BenchmarkCopyFat512-4 1570472 77.09 ns/op BenchmarkCopyFat520-4 1557236 78.96 ns/op BenchmarkCopyFat1024-4 945201 126.6 ns/op BenchmarkCopyFat1032-4 929582 128.6 ns/op BenchmarkCopyFat1040-4 848043 141.7 ns/op BenchmarkIssue18740/2byte-4 429 258932 ns/op BenchmarkIssue18740/4byte-4 706 163260 ns/op BenchmarkIssue18740/8byte-4 1244 96526 ns/op BenchmarkMemclrKnownSize1-4 10761457 10.81 ns/op 92.49 MB/s BenchmarkMemclrKnownSize2-4 7267054 16.37 ns/op 122.15 MB/s BenchmarkMemclrKnownSize4-4 3995846 29.21 ns/op 136.94 MB/s BenchmarkMemclrKnownSize8-4 1793978 67.28 ns/op 118.91 MB/s BenchmarkMemclrKnownSize16-4 802084 142.3 ns/op 112.42 MB/s BenchmarkMemclrKnownSize32-4 421866 280.8 ns/op 113.96 MB/s BenchmarkMemclrKnownSize64-4 196629 527.1 ns/op 121.42 MB/s BenchmarkMemclrKnownSize112-4 133726 879.0 ns/op 127.42 MB/s BenchmarkMemclrKnownSize128-4 114736 1039 ns/op 123.24 MB/s BenchmarkMemclrKnownSize192-4 74386 1562 ns/op 122.90 MB/s BenchmarkMemclrKnownSize248-4 62036 1923 ns/op 128.98 MB/s BenchmarkMemclrKnownSize256-4 60406 1993 ns/op 128.48 MB/s BenchmarkMemclrKnownSize512-4 30270 3946 ns/op 129.77 MB/s BenchmarkMemclrKnownSize1024-4 14971 7899 ns/op 129.63 MB/s BenchmarkMemclrKnownSize4096-4 3367 35312 ns/op 115.99 MB/s BenchmarkMemclrKnownSize512KiB-4 27 4290217 ns/op 122.21 MB/s BenchmarkReadMetricsLatency-4 21933 3730 p50-ns 4749 p90-ns 16230 p99-ns BenchmarkFinalizer-4 147 888592 ns/op BenchmarkFinalizerRun-4 341976 730.0 ns/op BenchmarkPallocBitsSummarize/Unpacked00-4 8570432 13.99 ns/op BenchmarkPallocBitsSummarize/UnpackedFFFFFFFFFFFFFFFF-4 2487028 48.14 ns/op BenchmarkPallocBitsSummarize/UnpackedAA-4 2061264 58.40 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAAAAAAAAAA-4 2060877 58.20 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000AAAAAAAA-4 1389406 86.52 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAA00000001-4 1254046 96.80 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBBBBBBBBBB-4 1957683 61.62 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000BBBBBBBB-4 1317398 90.91 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBB00000001-4 1366251 88.59 ns/op BenchmarkPallocBitsSummarize/UnpackedCCCCCCCCCCCCCCCC-4 1826454 65.72 ns/op BenchmarkPallocBitsSummarize/Unpacked4444444444444444-4 1798386 65.83 ns/op BenchmarkPallocBitsSummarize/Unpacked4040404040404040-4 1640692 73.69 ns/op BenchmarkPallocBitsSummarize/Unpacked4000400040004000-4 1489401 80.65 ns/op BenchmarkPallocBitsSummarize/Unpacked1000404044CCAAFF-4 1393380 86.37 ns/op BenchmarkFindBitRange64/Pattern00Size2-4 7799120 15.43 ns/op BenchmarkFindBitRange64/Pattern00Size8-4 6801378 15.38 ns/op BenchmarkFindBitRange64/Pattern00Size32-4 7787979 15.40 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize2-4 7309986 15.43 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize8-4 6285272 16.35 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize32-4 6092953 17.92 ns/op BenchmarkFindBitRange64/PatternAASize2-4 7911908 15.23 ns/op BenchmarkFindBitRange64/PatternAASize8-4 7782832 15.40 ns/op BenchmarkFindBitRange64/PatternAASize32-4 7709920 15.38 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize2-4 7880422 15.07 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize8-4 7808786 15.66 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize32-4 7725846 15.37 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize2-4 7889484 15.14 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize8-4 7803903 15.44 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize32-4 7730558 16.36 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size2-4 7935343 15.06 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size8-4 7506831 15.57 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size32-4 7041195 15.36 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize2-4 7897365 15.05 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize8-4 7156897 16.05 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize32-4 7421425 16.34 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize2-4 7952724 15.13 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize8-4 7482458 16.32 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize32-4 7413754 16.22 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size2-4 7017162 15.12 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size8-4 7353112 16.07 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size32-4 7404601 16.07 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize2-4 6525739 17.07 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize8-4 7319085 16.02 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize32-4 7220115 16.07 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size2-4 7970949 15.25 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size8-4 7814025 15.37 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size32-4 7359751 15.49 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size2-4 7926631 15.16 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size8-4 7789198 15.40 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size32-4 7780411 15.46 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size2-4 7814556 15.06 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size8-4 7804258 15.56 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size32-4 7741406 15.38 ns/op BenchmarkNetpollBreak-4 3676 29716 ns/op BenchmarkPingPongHog-4 393 357761 ns/op BenchmarkStackGrowth-4 154764 770.8 ns/op BenchmarkStackGrowthDeep-4 1510 78871 ns/op BenchmarkCreateGoroutines-4 48710 2286 ns/op BenchmarkCreateGoroutinesParallel-4 44736 2757 ns/op BenchmarkCreateGoroutinesCapture-4 7170 17135 ns/op 144 B/op 5 allocs/op BenchmarkCreateGoroutinesSingle-4 83073 2604 ns/op BenchmarkClosureCall-4 25524132 4.266 ns/op BenchmarkWakeupParallelSpinning/0s-4 7767 23455 ns/op BenchmarkWakeupParallelSpinning/1µs-4 4314 35960 ns/op BenchmarkWakeupParallelSpinning/2µs-4 3579 32742 ns/op BenchmarkWakeupParallelSpinning/5µs-4 2901 41425 ns/op BenchmarkWakeupParallelSpinning/10µs-4 1920 60260 ns/op BenchmarkWakeupParallelSpinning/20µs-4 1213 100786 ns/op BenchmarkWakeupParallelSpinning/50µs-4 613 189878 ns/op BenchmarkWakeupParallelSpinning/100µs-4 348 332464 ns/op BenchmarkWakeupParallelSyscall/0s-4 733 162300 ns/op BenchmarkWakeupParallelSyscall/1µs-4 734 163251 ns/op BenchmarkWakeupParallelSyscall/2µs-4 729 151974 ns/op BenchmarkWakeupParallelSyscall/5µs-4 756 176965 ns/op BenchmarkWakeupParallelSyscall/10µs-4 652 179300 ns/op BenchmarkWakeupParallelSyscall/20µs-4 577 195524 ns/op BenchmarkWakeupParallelSyscall/50µs-4 453 237902 ns/op BenchmarkWakeupParallelSyscall/100µs-4 321 369045 ns/op BenchmarkMatmult-4 3879140 28.15 ns/op BenchmarkFastrand-4 13887627 8.676 ns/op BenchmarkFastrand64-4 13945245 8.342 ns/op BenchmarkFastrandHashiter-4 4501996 22.45 ns/op BenchmarkFastrandn/2-4 6532765 16.01 ns/op BenchmarkFastrandn/3-4 7133264 15.92 ns/op BenchmarkFastrandn/4-4 7677774 15.77 ns/op BenchmarkFastrandn/5-4 7523199 15.52 ns/op BenchmarkIfaceCmp100-4 105721 1008 ns/op BenchmarkIfaceCmpNil100-4 215727 540.9 ns/op BenchmarkEfaceCmpDiff-4 43348 2437 ns/op BenchmarkEfaceCmpDiffIndirect-4 38036 2882 ns/op BenchmarkDefer-4 1877876 64.20 ns/op BenchmarkDefer10-4 920258 130.8 ns/op BenchmarkDeferMany-4 548097 328.1 ns/op BenchmarkPanicRecover-4 208636 583.1 ns/op BenchmarkGoroutineProfile/small-nil/idle-4 5125 24706 ns/op 24230 p50-ns 33720 p90-ns 41730 p99-ns BenchmarkGoroutineProfile/small-nil/loaded-4 4663 28563 ns/op 24470 p50-ns 31700 p90-ns 70570 p99-ns BenchmarkGoroutineProfile/small/idle-4 2893 38421 ns/op 36990 p50-ns 39400 p90-ns 53840 p99-ns BenchmarkGoroutineProfile/small/loaded-4 326 390838 ns/op 260930 p50-ns 435960 p90-ns 5697244 p99-ns BenchmarkGoroutineProfile/large-nil/idle-4 4647 22175 ns/op 20360 p50-ns 31880 p90-ns 49131 p99-ns BenchmarkGoroutineProfile/large-nil/loaded-4 5757 28694 ns/op 25510 p50-ns 34090 p90-ns 87291 p99-ns BenchmarkGoroutineProfile/large/idle-4 19 6087164 ns/op 6031363 p50-ns 6553464 p90-ns 6572044 p99-ns BenchmarkGoroutineProfile/large/loaded-4 16 8925958 ns/op 7004294 p50-ns 14170838 p90-ns 20320212 p99-ns BenchmarkGoroutineProfile/sparse-nil/idle-4 5157 24854 ns/op 24150 p50-ns 33140 p90-ns 46060 p99-ns BenchmarkGoroutineProfile/sparse-nil/loaded-4 4788 27536 ns/op 24571 p50-ns 32410 p90-ns 59910 p99-ns BenchmarkGoroutineProfile/sparse/idle-4 1465 81082 ns/op 78940 p50-ns 85050 p90-ns 103740 p99-ns BenchmarkGoroutineProfile/sparse/loaded-4 474 286241 ns/op 188010 p50-ns 355461 p90-ns 2994232 p99-ns BenchmarkRWMutexUncontended-4 4513406 23.10 ns/op BenchmarkRWMutexWrite100-4 614880 209.1 ns/op BenchmarkRWMutexWrite10-4 472855 262.2 ns/op BenchmarkRWMutexWorkWrite100-4 385218 329.8 ns/op BenchmarkRWMutexWorkWrite10-4 58722 2056 ns/op BenchmarkSemTable/OneAddrCollision/n=1000-4 1872 61724 ns/op BenchmarkSemTable/ManyAddrCollision/n=1000-4 1064 111028 ns/op BenchmarkSemTable/OneAddrCollision/n=2000-4 1000 119255 ns/op BenchmarkSemTable/ManyAddrCollision/n=2000-4 506 229054 ns/op BenchmarkSemTable/OneAddrCollision/n=4000-4 478 233613 ns/op BenchmarkSemTable/ManyAddrCollision/n=4000-4 236 478849 ns/op BenchmarkSemTable/OneAddrCollision/n=8000-4 238 485511 ns/op BenchmarkSemTable/ManyAddrCollision/n=8000-4 117 990914 ns/op BenchmarkMakeSliceCopy/mallocmove/Byte-4 416582 317.9 ns/op BenchmarkMakeSliceCopy/mallocmove/Int-4 332430 326.4 ns/op BenchmarkMakeSliceCopy/mallocmove/Ptr-4 278996 383.4 ns/op BenchmarkMakeSliceCopy/makecopy/Byte-4 366110 321.9 ns/op BenchmarkMakeSliceCopy/makecopy/Int-4 356242 340.9 ns/op BenchmarkMakeSliceCopy/makecopy/Ptr-4 311690 389.8 ns/op BenchmarkMakeSliceCopy/nilappend/Byte-4 364820 365.6 ns/op BenchmarkMakeSliceCopy/nilappend/Int-4 344188 343.3 ns/op BenchmarkMakeSliceCopy/nilappend/Ptr-4 290268 406.5 ns/op BenchmarkMakeSlice/Byte-4 2218458 54.43 ns/op BenchmarkMakeSlice/Int16-4 2201859 54.05 ns/op BenchmarkMakeSlice/Int-4 1753608 67.32 ns/op BenchmarkMakeSlice/Ptr-4 1368037 84.35 ns/op BenchmarkMakeSlice/Struct/24-4 1000000 108.7 ns/op BenchmarkMakeSlice/Struct/32-4 1000000 119.6 ns/op BenchmarkMakeSlice/Struct/40-4 1000000 133.9 ns/op BenchmarkGrowSlice/Byte-4 829668 149.8 ns/op BenchmarkGrowSlice/Int16-4 746936 151.8 ns/op BenchmarkGrowSlice/Int-4 706504 194.3 ns/op BenchmarkGrowSlice/Ptr-4 552139 232.0 ns/op BenchmarkGrowSlice/Struct/24-4 416604 327.1 ns/op BenchmarkGrowSlice/Struct/32-4 295444 368.8 ns/op BenchmarkGrowSlice/Struct/40-4 267388 435.7 ns/op BenchmarkExtendSlice/IntSlice-4 572122 222.8 ns/op BenchmarkExtendSlice/PointerSlice-4 470232 271.2 ns/op BenchmarkExtendSlice/NoGrow-4 984484 127.4 ns/op BenchmarkAppend-4 844814 122.2 ns/op BenchmarkAppendGrowByte-4 6 17534000 ns/op BenchmarkAppendGrowString-4 1 306125279 ns/op BenchmarkAppendSlice/1Bytes-4 2098452 56.54 ns/op BenchmarkAppendSlice/4Bytes-4 1979622 59.50 ns/op BenchmarkAppendSlice/7Bytes-4 1897611 62.02 ns/op BenchmarkAppendSlice/8Bytes-4 2019367 59.14 ns/op BenchmarkAppendSlice/15Bytes-4 1918358 62.29 ns/op BenchmarkAppendSlice/16Bytes-4 1952689 61.33 ns/op BenchmarkAppendSlice/32Bytes-4 1935110 63.93 ns/op BenchmarkAppendSliceLarge/1024Bytes-4 106171 1083 ns/op BenchmarkAppendSliceLarge/4096Bytes-4 29481 3927 ns/op BenchmarkAppendSliceLarge/16384Bytes-4 8376 14942 ns/op BenchmarkAppendSliceLarge/65536Bytes-4 2360 51508 ns/op BenchmarkAppendSliceLarge/262144Bytes-4 162 674348 ns/op BenchmarkAppendSliceLarge/1048576Bytes-4 43 3200887 ns/op BenchmarkAppendStr/1Bytes-4 1750435 67.87 ns/op BenchmarkAppendStr/4Bytes-4 1623560 75.23 ns/op BenchmarkAppendStr/8Bytes-4 1530939 75.24 ns/op BenchmarkAppendStr/16Bytes-4 1542002 76.79 ns/op BenchmarkAppendStr/32Bytes-4 1582066 72.34 ns/op BenchmarkAppendSpecialCase-4 904573 120.9 ns/op BenchmarkCopy/1Byte-4 2159727 55.99 ns/op 17.86 MB/s BenchmarkCopy/1String-4 2026023 60.53 ns/op 16.52 MB/s BenchmarkCopy/2Byte-4 2056429 59.09 ns/op 33.85 MB/s BenchmarkCopy/2String-4 1965766 60.21 ns/op 33.22 MB/s BenchmarkCopy/4Byte-4 2036318 58.87 ns/op 67.94 MB/s BenchmarkCopy/4String-4 1981431 63.39 ns/op 63.10 MB/s BenchmarkCopy/8Byte-4 2242369 53.00 ns/op 150.95 MB/s BenchmarkCopy/8String-4 2209168 54.35 ns/op 147.20 MB/s BenchmarkCopy/12Byte-4 2024575 59.06 ns/op 203.17 MB/s BenchmarkCopy/12String-4 1997416 61.18 ns/op 196.15 MB/s BenchmarkCopy/16Byte-4 2067516 57.28 ns/op 279.32 MB/s BenchmarkCopy/16String-4 1942903 60.02 ns/op 266.57 MB/s BenchmarkCopy/32Byte-4 1711455 68.05 ns/op 470.27 MB/s BenchmarkCopy/32String-4 1760022 62.43 ns/op 512.59 MB/s BenchmarkCopy/128Byte-4 1484337 80.30 ns/op 1594.01 MB/s BenchmarkCopy/128String-4 1433923 82.13 ns/op 1558.43 MB/s BenchmarkCopy/1024Byte-4 477766 246.3 ns/op 4156.77 MB/s BenchmarkCopy/1024String-4 411962 290.7 ns/op 3522.46 MB/s BenchmarkAppendInPlace/NoGrow/Byte-4 40414 2931 ns/op BenchmarkAppendInPlace/NoGrow/1Ptr-4 27496 4524 ns/op BenchmarkAppendInPlace/NoGrow/2Ptr-4 16915 7208 ns/op BenchmarkAppendInPlace/NoGrow/3Ptr-4 13711 8566 ns/op BenchmarkAppendInPlace/NoGrow/4Ptr-4 10000 11612 ns/op BenchmarkAppendInPlace/Grow/Byte-4 159747 782.5 ns/op BenchmarkAppendInPlace/Grow/1Ptr-4 156030 752.4 ns/op BenchmarkAppendInPlace/Grow/2Ptr-4 113982 908.5 ns/op BenchmarkAppendInPlace/Grow/3Ptr-4 105237 1135 ns/op BenchmarkAppendInPlace/Grow/4Ptr-4 94945 1293 ns/op BenchmarkStackCopyPtr-4 1 129855866 ns/op BenchmarkStackCopy-4 2 84146859 ns/op BenchmarkStackCopyNoCache-4 27 4191567 ns/op BenchmarkStackCopyWithStkobj-4 2 55534908 ns/op BenchmarkIssue18138-4 627 203974 ns/op BenchmarkCompareStringEqual-4 13069480 7.854 ns/op BenchmarkCompareStringIdentical-4 18997371 5.911 ns/op BenchmarkCompareStringSameLength-4 16605194 6.871 ns/op BenchmarkCompareStringDifferentLength-4 24433383 4.588 ns/op BenchmarkCompareStringBigUnaligned-4 3396 30784 ns/op 34062.81 MB/s BenchmarkCompareStringBig-4 3434 32139 ns/op 32626.87 MB/s BenchmarkConcatStringAndBytes-4 2273389 52.58 ns/op BenchmarkSliceByteToString/1-4 2470786 49.00 ns/op BenchmarkSliceByteToString/2-4 1000000 106.7 ns/op BenchmarkSliceByteToString/4-4 1000000 104.8 ns/op BenchmarkSliceByteToString/8-4 1000000 103.0 ns/op BenchmarkSliceByteToString/16-4 1000000 106.5 ns/op BenchmarkSliceByteToString/32-4 1000000 120.4 ns/op BenchmarkSliceByteToString/64-4 897088 136.5 ns/op BenchmarkSliceByteToString/128-4 821860 177.2 ns/op BenchmarkRuneCount/lenruneslice/ASCII-4 2441860 48.01 ns/op BenchmarkRuneCount/lenruneslice/Japanese-4 1000000 105.5 ns/op BenchmarkRuneCount/lenruneslice/MixedLength-4 1312138 105.0 ns/op BenchmarkRuneCount/rangeloop/ASCII-4 4160940 29.29 ns/op BenchmarkRuneCount/rangeloop/Japanese-4 2091951 56.94 ns/op BenchmarkRuneCount/rangeloop/MixedLength-4 2246563 53.53 ns/op BenchmarkRuneCount/utf8.RuneCountInString/ASCII-4 2750703 43.31 ns/op BenchmarkRuneCount/utf8.RuneCountInString/Japanese-4 505402 230.7 ns/op BenchmarkRuneCount/utf8.RuneCountInString/MixedLength-4 607858 195.4 ns/op BenchmarkRuneIterate/range/ASCII-4 7577881 15.17 ns/op BenchmarkRuneIterate/range/Japanese-4 2530778 47.66 ns/op BenchmarkRuneIterate/range/MixedLength-4 2909817 40.40 ns/op BenchmarkRuneIterate/range1/ASCII-4 7906148 15.23 ns/op BenchmarkRuneIterate/range1/Japanese-4 2545845 46.93 ns/op BenchmarkRuneIterate/range1/MixedLength-4 2964360 40.00 ns/op BenchmarkRuneIterate/range2/ASCII-4 7878565 15.06 ns/op BenchmarkRuneIterate/range2/Japanese-4 2552050 47.08 ns/op BenchmarkRuneIterate/range2/MixedLength-4 2902489 41.32 ns/op BenchmarkArrayEqual-4 22984660 4.905 ns/op BenchmarkFunc/Name-4 6537385 18.10 ns/op BenchmarkFunc/Entry-4 12877602 8.521 ns/op BenchmarkFunc/FileLine-4 1798464 68.99 ns/op PASS ok runtime 131.710s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: runtime/cgo cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHandle/non-concurrent-4 26826 4472 ns/op BenchmarkHandle/concurrent-4 11121 10077 ns/op PASS ok runtime/cgo 0.532s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: runtime/internal/atomic cpu: AMD EPYC 7B12 BenchmarkAtomicLoad64-4 20277188 5.366 ns/op BenchmarkAtomicStore64-4 18696390 6.235 ns/op BenchmarkAtomicLoad-4 22556348 5.255 ns/op BenchmarkAtomicStore-4 19102041 6.231 ns/op BenchmarkAnd8-4 17351094 6.872 ns/op BenchmarkAnd-4 16549233 6.224 ns/op BenchmarkAnd8Parallel-4 3427147 32.69 ns/op BenchmarkAndParallel-4 3543255 34.62 ns/op BenchmarkOr8-4 16929470 6.867 ns/op BenchmarkOr-4 19163114 6.213 ns/op BenchmarkOr8Parallel-4 3468183 36.69 ns/op BenchmarkOrParallel-4 3354832 35.48 ns/op BenchmarkXadd-4 2897571 38.02 ns/op BenchmarkXadd64-4 3342927 41.12 ns/op BenchmarkCas-4 2541363 41.30 ns/op BenchmarkCas64-4 2822169 43.60 ns/op BenchmarkXchg-4 3056425 37.30 ns/op BenchmarkXchg64-4 3269964 35.25 ns/op PASS ok runtime/internal/atomic 2.637s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: runtime/internal/math cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMulUintptr/small-4 4054669 27.78 ns/op BenchmarkMulUintptr/large-4 3375132 34.28 ns/op PASS ok runtime/internal/math 0.339s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: runtime/pprof cpu: AMD EPYC 7B12 BenchmarkGoroutine/Profile.WriteTo_idle_50-4 28 4938401 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_50-4 12 10061237 ns/op 803.4 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_50-4 834 160660 ns/op 6.631 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_500-4 12 10856119 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_500-4 6 17655431 ns/op 1337 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_500-4 168 682840 ns/op 53.38 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_5000-4 2 75188180 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_5000-4 1 112294447 ns/op 9023 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_5000-4 18 6552958 ns/op 525.8 concurrent_launches/op PASS ok runtime/pprof 1.997s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: runtime/race cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSyncLeak-4 40 3242974 ns/op BenchmarkStackLeak-4 17587 6650 ns/op PASS ok runtime/race 0.488s goos: linux goarch: amd64 pkg: runtime/trace cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStartRegion-4 5495751 20.18 ns/op 0 B/op 0 allocs/op BenchmarkNewTask-4 240204 508.8 ns/op 64 B/op 2 allocs/op PASS ok runtime/trace 0.406s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: slices cpu: AMD EPYC 7B12 BenchmarkCompact/nil-4 8681484 13.77 ns/op BenchmarkCompact/one-4 1844016 64.78 ns/op BenchmarkCompact/sorted-4 1000000 111.2 ns/op BenchmarkCompact/1_item-4 1000000 104.5 ns/op BenchmarkCompact/unsorted-4 1000000 114.9 ns/op BenchmarkCompact/many-4 821298 144.8 ns/op BenchmarkReplace/naive-fast-4 100514 1219 ns/op BenchmarkReplace/optimized-fast-4 124296 942.1 ns/op BenchmarkReplace/naive-slow-4 62336 1924 ns/op BenchmarkReplace/optimized-slow-4 76618 1522 ns/op PASS ok slices 1.464s goos: linux goarch: amd64 pkg: sort cpu: AMD EPYC 7B12 BenchmarkSearchWrappers-4 153967 759.8 ns/op BenchmarkSortString1K-4 188 671433 ns/op BenchmarkSortString1K_Slice-4 204 608458 ns/op BenchmarkStableString1K-4 94 1147455 ns/op BenchmarkSortInt1K-4 210 517165 ns/op BenchmarkSortInt1K_Sorted-4 3409 40611 ns/op BenchmarkSortInt1K_Reversed-4 2151 60575 ns/op BenchmarkSortInt1K_Mod8-4 484 208338 ns/op BenchmarkStableInt1K-4 154 784772 ns/op BenchmarkStableInt1K_Slice-4 163 688480 ns/op BenchmarkSortInt64K-4 2 55597164 ns/op BenchmarkSortInt64K_Slice-4 3 43984070 ns/op BenchmarkStableInt64K-4 2 70576894 ns/op BenchmarkSort1e2-4 400 296104 ns/op BenchmarkStable1e2-4 183 632388 ns/op BenchmarkSort1e4-4 2 59740922 ns/op BenchmarkStable1e4-4 1 220010963 ns/op PASS ok sort 3.509s goos: linux goarch: amd64 pkg: strconv cpu: AMD EPYC 7B12 BenchmarkAtof64Decimal-4 724261 143.8 ns/op BenchmarkAtof64Float-4 724794 150.4 ns/op BenchmarkAtof64FloatExp-4 606712 186.3 ns/op BenchmarkAtof64Big-4 436046 259.0 ns/op BenchmarkAtof64RandomBits-4 439804 264.8 ns/op BenchmarkAtof64RandomFloats-4 469460 240.5 ns/op BenchmarkAtof64RandomLongFloats-4 409736 273.7 ns/op BenchmarkAtof32Decimal-4 842916 137.9 ns/op BenchmarkAtof32Float-4 778168 152.9 ns/op BenchmarkAtof32FloatExp-4 598750 190.5 ns/op BenchmarkAtof32Random-4 376274 303.1 ns/op BenchmarkAtof32RandomLong-4 171958 725.7 ns/op BenchmarkParseInt/Pos/7bit-4 1556496 77.49 ns/op BenchmarkParseInt/Pos/26bit-4 770490 150.9 ns/op BenchmarkParseInt/Pos/31bit-4 700656 168.2 ns/op BenchmarkParseInt/Pos/56bit-4 471591 269.8 ns/op BenchmarkParseInt/Pos/63bit-4 437698 257.4 ns/op BenchmarkParseInt/Neg/7bit-4 1536303 77.69 ns/op BenchmarkParseInt/Neg/26bit-4 727677 154.7 ns/op BenchmarkParseInt/Neg/31bit-4 698437 166.4 ns/op BenchmarkParseInt/Neg/56bit-4 469226 233.0 ns/op BenchmarkParseInt/Neg/63bit-4 440577 265.3 ns/op BenchmarkAtoi/Pos/7bit-4 2087647 51.44 ns/op BenchmarkAtoi/Pos/26bit-4 1000000 116.8 ns/op BenchmarkAtoi/Pos/31bit-4 987158 130.3 ns/op BenchmarkAtoi/Pos/56bit-4 564957 197.9 ns/op BenchmarkAtoi/Pos/63bit-4 405708 289.1 ns/op BenchmarkAtoi/Neg/7bit-4 2115672 56.15 ns/op BenchmarkAtoi/Neg/26bit-4 935497 110.2 ns/op BenchmarkAtoi/Neg/31bit-4 915100 123.9 ns/op BenchmarkAtoi/Neg/56bit-4 590289 197.5 ns/op BenchmarkAtoi/Neg/63bit-4 433497 272.8 ns/op BenchmarkFormatFloat/Decimal-4 116335 968.5 ns/op BenchmarkFormatFloat/Float-4 112034 1081 ns/op BenchmarkFormatFloat/Exp-4 115513 1046 ns/op BenchmarkFormatFloat/NegExp-4 115002 1036 ns/op BenchmarkFormatFloat/LongExp-4 101203 1199 ns/op BenchmarkFormatFloat/Big-4 98625 1256 ns/op BenchmarkFormatFloat/BinaryExp-4 206340 567.8 ns/op BenchmarkFormatFloat/32Integer-4 128401 982.8 ns/op BenchmarkFormatFloat/32ExactFraction-4 121021 984.9 ns/op BenchmarkFormatFloat/32Point-4 111324 1054 ns/op BenchmarkFormatFloat/32Exp-4 117463 1028 ns/op BenchmarkFormatFloat/32NegExp-4 116922 1013 ns/op BenchmarkFormatFloat/32Shortest-4 115959 981.2 ns/op BenchmarkFormatFloat/32Fixed8Hard-4 142258 849.8 ns/op BenchmarkFormatFloat/32Fixed9Hard-4 138883 867.8 ns/op BenchmarkFormatFloat/64Fixed1-4 149371 769.1 ns/op BenchmarkFormatFloat/64Fixed2-4 157335 757.7 ns/op BenchmarkFormatFloat/64Fixed3-4 154368 782.0 ns/op BenchmarkFormatFloat/64Fixed4-4 153399 784.8 ns/op BenchmarkFormatFloat/64Fixed12-4 94678 1288 ns/op BenchmarkFormatFloat/64Fixed16-4 121299 1025 ns/op BenchmarkFormatFloat/64Fixed12Hard-4 117530 1036 ns/op BenchmarkFormatFloat/64Fixed17Hard-4 111525 1084 ns/op BenchmarkFormatFloat/64Fixed18Hard-4 2707 42238 ns/op BenchmarkFormatFloat/Slowpath64-4 101786 1201 ns/op BenchmarkFormatFloat/SlowpathDenormal64-4 96379 1193 ns/op BenchmarkAppendFloat/Decimal-4 153790 774.9 ns/op BenchmarkAppendFloat/Float-4 131583 955.1 ns/op BenchmarkAppendFloat/Exp-4 145816 821.9 ns/op BenchmarkAppendFloat/NegExp-4 136234 874.6 ns/op BenchmarkAppendFloat/LongExp-4 112303 988.8 ns/op BenchmarkAppendFloat/Big-4 118328 1016 ns/op BenchmarkAppendFloat/BinaryExp-4 313137 360.9 ns/op BenchmarkAppendFloat/32Integer-4 156759 772.4 ns/op BenchmarkAppendFloat/32ExactFraction-4 143720 822.0 ns/op BenchmarkAppendFloat/32Point-4 127976 916.1 ns/op BenchmarkAppendFloat/32Exp-4 136017 828.3 ns/op BenchmarkAppendFloat/32NegExp-4 145300 817.2 ns/op BenchmarkAppendFloat/32Shortest-4 161066 729.4 ns/op BenchmarkAppendFloat/32Fixed8Hard-4 184204 643.2 ns/op BenchmarkAppendFloat/32Fixed9Hard-4 165519 663.2 ns/op BenchmarkAppendFloat/64Fixed1-4 192229 586.3 ns/op BenchmarkAppendFloat/64Fixed2-4 198788 589.4 ns/op BenchmarkAppendFloat/64Fixed3-4 200244 595.0 ns/op BenchmarkAppendFloat/64Fixed4-4 199656 586.1 ns/op BenchmarkAppendFloat/64Fixed12-4 116176 1025 ns/op BenchmarkAppendFloat/64Fixed16-4 148132 807.0 ns/op BenchmarkAppendFloat/64Fixed12Hard-4 155430 769.0 ns/op BenchmarkAppendFloat/64Fixed17Hard-4 134812 884.2 ns/op BenchmarkAppendFloat/64Fixed18Hard-4 2890 37756 ns/op BenchmarkAppendFloat/Slowpath64-4 121420 969.3 ns/op BenchmarkAppendFloat/SlowpathDenormal64-4 123354 955.5 ns/op BenchmarkFormatInt-4 15996 7574 ns/op BenchmarkAppendInt-4 17028 6708 ns/op BenchmarkFormatUint-4 85549 1332 ns/op BenchmarkAppendUint-4 100621 1174 ns/op BenchmarkFormatIntSmall/7-4 3116031 37.48 ns/op BenchmarkFormatIntSmall/42-4 3035010 37.19 ns/op BenchmarkAppendIntSmall-4 1340551 89.95 ns/op BenchmarkAppendUintVarlen/1-4 1402434 87.24 ns/op BenchmarkAppendUintVarlen/12-4 1299123 91.50 ns/op BenchmarkAppendUintVarlen/123-4 923140 127.6 ns/op BenchmarkAppendUintVarlen/1234-4 882385 128.8 ns/op BenchmarkAppendUintVarlen/12345-4 847672 131.1 ns/op BenchmarkAppendUintVarlen/123456-4 847941 132.8 ns/op BenchmarkAppendUintVarlen/1234567-4 825218 135.1 ns/op BenchmarkAppendUintVarlen/12345678-4 932668 128.7 ns/op BenchmarkAppendUintVarlen/123456789-4 834706 139.4 ns/op BenchmarkAppendUintVarlen/1234567890-4 774498 140.6 ns/op BenchmarkAppendUintVarlen/12345678901-4 789945 141.3 ns/op BenchmarkAppendUintVarlen/123456789012-4 808500 141.8 ns/op BenchmarkAppendUintVarlen/1234567890123-4 806884 144.8 ns/op BenchmarkAppendUintVarlen/12345678901234-4 834375 141.4 ns/op BenchmarkAppendUintVarlen/123456789012345-4 795439 145.0 ns/op BenchmarkAppendUintVarlen/1234567890123456-4 854390 136.5 ns/op BenchmarkAppendUintVarlen/12345678901234567-4 803922 149.3 ns/op BenchmarkAppendUintVarlen/123456789012345678-4 792204 149.6 ns/op BenchmarkAppendUintVarlen/1234567890123456789-4 749530 151.3 ns/op BenchmarkAppendUintVarlen/12345678901234567890-4 755476 155.4 ns/op BenchmarkQuote-4 45726 2603 ns/op BenchmarkQuoteRune-4 419428 281.6 ns/op BenchmarkAppendQuote-4 54645 2220 ns/op BenchmarkAppendQuoteRune-4 818955 139.2 ns/op BenchmarkUnquoteEasy-4 1411610 85.28 ns/op BenchmarkUnquoteHard-4 49743 2447 ns/op PASS ok strconv 15.667s goos: linux goarch: amd64 pkg: strings cpu: AMD EPYC 7B12 BenchmarkBuildString_Builder/1Write_NoGrow-4 411763 277.2 ns/op 48 B/op 1 allocs/op BenchmarkBuildString_Builder/3Write_NoGrow-4 142628 820.9 ns/op 336 B/op 3 allocs/op BenchmarkBuildString_Builder/3Write_Grow-4 191139 623.4 ns/op 112 B/op 1 allocs/op BenchmarkBuildString_ByteBuffer/1Write_NoGrow-4 299230 387.9 ns/op 112 B/op 2 allocs/op BenchmarkBuildString_ByteBuffer/3Write_NoGrow-4 86277 1326 ns/op 432 B/op 4 allocs/op BenchmarkBuildString_ByteBuffer/3Write_Grow-4 104042 1148 ns/op 336 B/op 3 allocs/op BenchmarkClone-4 654596 180.6 ns/op 48 B/op 1 allocs/op BenchmarkGenericNoMatch-4 24174 4823 ns/op BenchmarkGenericMatch1-4 2186 54698 ns/op BenchmarkGenericMatch2-4 444 250019 ns/op BenchmarkSingleMaxSkipping-4 9054 13754 ns/op 727.06 MB/s BenchmarkSingleLongSuffixFail-4 16710 6678 ns/op 150.05 MB/s BenchmarkSingleMatch-4 242 469543 ns/op 31.95 MB/s BenchmarkByteByteNoMatch-4 91099 1302 ns/op BenchmarkByteByteMatch-4 22803 5164 ns/op BenchmarkByteStringMatch-4 28435 4298 ns/op BenchmarkHTMLEscapeNew-4 87103 1428 ns/op BenchmarkHTMLEscapeOld-4 89277 1335 ns/op BenchmarkByteStringReplacerWriteString-4 1436 79716 ns/op BenchmarkByteReplacerWriteString-4 1760 68364 ns/op BenchmarkByteByteReplaces-4 3206 34872 ns/op BenchmarkByteByteMap-4 10000 10602 ns/op BenchmarkMap/identity/ASCII-4 847476 139.8 ns/op BenchmarkMap/identity/Greek-4 572925 209.0 ns/op BenchmarkMap/change/ASCII-4 40392 2948 ns/op BenchmarkMap/change/Greek-4 28320 4198 ns/op BenchmarkIndexRune-4 2004211 59.59 ns/op BenchmarkIndexRuneLongString-4 1605627 75.22 ns/op BenchmarkIndexRuneFastPath-4 5033048 23.82 ns/op BenchmarkIndex-4 4899247 24.36 ns/op BenchmarkLastIndex-4 5047129 23.40 ns/op BenchmarkIndexByte-4 11787002 9.501 ns/op BenchmarkToUpper/#00-4 3178173 39.06 ns/op BenchmarkToUpper/ONLYUPPER-4 2435853 46.97 ns/op BenchmarkToUpper/abc-4 319252 389.0 ns/op BenchmarkToUpper/AbC123-4 238369 504.5 ns/op BenchmarkToUpper/azAZ09_-4 261949 458.1 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 56101 2128 ns/op BenchmarkToUpper/RENAN_BASTOS_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 72482 1616 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 35773 3367 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 60638 1979 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 116722 998.4 ns/op BenchmarkToLower/#00-4 3196233 37.31 ns/op BenchmarkToLower/abc-4 3096255 39.56 ns/op BenchmarkToLower/AbC123-4 221461 545.0 ns/op BenchmarkToLower/azAZ09_-4 213784 554.7 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 94746 1245 ns/op BenchmarkToLower/renan_bastos_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 68854 1754 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 36152 3297 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 73537 1612 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 109688 1008 ns/op BenchmarkMapNoChanges-4 1000000 101.4 ns/op BenchmarkTrim-4 35137 3256 ns/op 0 B/op 0 allocs/op BenchmarkToValidUTF8/Valid-4 3479832 34.27 ns/op BenchmarkToValidUTF8/InvalidASCII-4 184748 650.1 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 123430 951.7 ns/op BenchmarkEqualFold/Tests-4 52992 2249 ns/op BenchmarkEqualFold/ASCII-4 4138390 28.61 ns/op BenchmarkEqualFold/UnicodePrefix-4 110769 1061 ns/op BenchmarkEqualFold/UnicodeSuffix-4 116445 997.8 ns/op BenchmarkIndexHard1-4 1208 99660 ns/op BenchmarkIndexHard2-4 864 138830 ns/op BenchmarkIndexHard3-4 216 566836 ns/op BenchmarkIndexHard4-4 213 569516 ns/op BenchmarkLastIndexHard1-4 68 1723387 ns/op BenchmarkLastIndexHard2-4 66 1721193 ns/op BenchmarkLastIndexHard3-4 68 1722402 ns/op BenchmarkCountHard1-4 1196 99829 ns/op BenchmarkCountHard2-4 862 138518 ns/op BenchmarkCountHard3-4 217 565791 ns/op BenchmarkIndexTorture-4 8878 13364 ns/op BenchmarkCountTorture-4 8726 13366 ns/op BenchmarkCountTortureOverlapping-4 1266 88112 ns/op BenchmarkCountByte/10-4 4817462 24.47 ns/op 408.65 MB/s BenchmarkCountByte/32-4 4608652 25.82 ns/op 1239.30 MB/s BenchmarkCountByte/4096-4 891696 132.0 ns/op 31027.15 MB/s BenchmarkCountByte/4194304-4 1142 103328 ns/op 40592.28 MB/s BenchmarkCountByte/67108864-4 30 4064928 ns/op 16509.24 MB/s BenchmarkFields/ASCII/16-4 283226 430.3 ns/op 37.18 MB/s 48 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 26916 4367 ns/op 58.62 MB/s 320 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 1608 72298 ns/op 56.65 MB/s 6144 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 81 1248397 ns/op 52.50 MB/s 98304 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 6 19591014 ns/op 53.52 MB/s 1507328 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 126748 924.7 ns/op 17.30 MB/s 64 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 12039 9960 ns/op 25.70 MB/s 240 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 636 179768 ns/op 22.78 MB/s 21504 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 39 3160838 ns/op 20.73 MB/s 463104 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 2 56054522 ns/op 18.71 MB/s 10449152 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 216481 543.7 ns/op 29.43 MB/s 48 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 22081 5290 ns/op 48.39 MB/s 320 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 1170 101697 ns/op 40.28 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 61 1958847 ns/op 33.46 MB/s 463105 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 3 38037968 ns/op 27.57 MB/s 10449152 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 150807 782.6 ns/op 20.44 MB/s 64 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 15498 7561 ns/op 33.86 MB/s 240 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 832 142279 ns/op 28.79 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 46 2549457 ns/op 25.71 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 3 46875661 ns/op 22.37 MB/s 10449152 B/op 24 allocs/op BenchmarkSplitEmptySeparator-4 2 63694369 ns/op BenchmarkSplitSingleByteSeparator-4 24 4644893 ns/op BenchmarkSplitMultiByteSeparator-4 39 2793857 ns/op BenchmarkSplitNSingleByteSeparator-4 264284 438.9 ns/op BenchmarkSplitNMultiByteSeparator-4 191191 617.1 ns/op BenchmarkRepeat/5x0-4 3633006 34.44 ns/op BenchmarkRepeat/5x1-4 3695402 32.04 ns/op BenchmarkRepeat/5x2-4 263803 456.3 ns/op BenchmarkRepeat/5x6-4 162972 732.3 ns/op BenchmarkRepeat/10x0-4 3670906 33.48 ns/op BenchmarkRepeat/10x1-4 3642048 31.81 ns/op BenchmarkRepeat/10x2-4 263992 459.8 ns/op BenchmarkRepeat/10x6-4 163042 743.9 ns/op BenchmarkRepeatLarge/256/1-4 75996 1562 ns/op 163.86 MB/s BenchmarkRepeatLarge/256/16-4 126009 973.4 ns/op 262.98 MB/s BenchmarkRepeatLarge/512/1-4 60774 1874 ns/op 273.20 MB/s BenchmarkRepeatLarge/512/16-4 89652 1248 ns/op 410.28 MB/s BenchmarkRepeatLarge/1024/1-4 49968 2326 ns/op 440.23 MB/s BenchmarkRepeatLarge/1024/16-4 59365 1760 ns/op 581.79 MB/s BenchmarkRepeatLarge/2048/1-4 36460 3268 ns/op 626.66 MB/s BenchmarkRepeatLarge/2048/16-4 45061 2584 ns/op 792.54 MB/s BenchmarkRepeatLarge/4096/1-4 24412 4820 ns/op 849.73 MB/s BenchmarkRepeatLarge/4096/16-4 28929 4193 ns/op 976.94 MB/s BenchmarkRepeatLarge/8192/1-4 14731 8142 ns/op 1006.11 MB/s BenchmarkRepeatLarge/8192/16-4 16261 7204 ns/op 1137.16 MB/s BenchmarkRepeatLarge/8192/4097-4 5816221 20.48 ns/op 200072.52 MB/s BenchmarkRepeatLarge/16384/1-4 8356 13957 ns/op 1173.86 MB/s BenchmarkRepeatLarge/16384/16-4 9397 13039 ns/op 1256.53 MB/s BenchmarkRepeatLarge/16384/4097-4 12936 9440 ns/op 1302.02 MB/s BenchmarkRepeatLarge/32768/1-4 4676 25011 ns/op 1310.15 MB/s BenchmarkRepeatLarge/32768/16-4 5252 23122 ns/op 1417.15 MB/s BenchmarkRepeatLarge/32768/4097-4 4878 20523 ns/op 1397.41 MB/s BenchmarkRepeatLarge/65536/1-4 2646 45035 ns/op 1455.24 MB/s BenchmarkRepeatLarge/65536/16-4 2586 42010 ns/op 1560.02 MB/s BenchmarkRepeatLarge/65536/4097-4 2626 43851 ns/op 1401.46 MB/s BenchmarkRepeatLarge/131072/1-4 504 228128 ns/op 574.56 MB/s BenchmarkRepeatLarge/131072/16-4 501 228427 ns/op 573.80 MB/s BenchmarkRepeatLarge/131072/4097-4 530 224848 ns/op 564.86 MB/s BenchmarkRepeatLarge/262144/1-4 255 469590 ns/op 558.24 MB/s BenchmarkRepeatLarge/262144/16-4 250 449256 ns/op 583.51 MB/s BenchmarkRepeatLarge/262144/4097-4 266 443954 ns/op 581.39 MB/s BenchmarkRepeatLarge/524288/1-4 130 864101 ns/op 606.74 MB/s BenchmarkRepeatLarge/524288/16-4 138 880567 ns/op 595.40 MB/s BenchmarkRepeatLarge/524288/4097-4 133 883136 ns/op 589.17 MB/s BenchmarkRepeatLarge/1048576/1-4 72 1747275 ns/op 600.12 MB/s BenchmarkRepeatLarge/1048576/16-4 73 1668790 ns/op 628.35 MB/s BenchmarkRepeatLarge/1048576/4097-4 79 1715043 ns/op 609.16 MB/s BenchmarkRepeatLarge/2097152/1-4 38 3246733 ns/op 645.93 MB/s BenchmarkRepeatLarge/2097152/16-4 46 3173647 ns/op 660.80 MB/s BenchmarkRepeatLarge/2097152/4097-4 38 3216693 ns/op 650.84 MB/s BenchmarkRepeatLarge/4194304/1-4 18 6265018 ns/op 669.48 MB/s BenchmarkRepeatLarge/4194304/16-4 19 6042441 ns/op 694.14 MB/s BenchmarkRepeatLarge/4194304/4097-4 19 6258032 ns/op 669.74 MB/s BenchmarkRepeatLarge/8388608/1-4 9 13131590 ns/op 638.81 MB/s BenchmarkRepeatLarge/8388608/16-4 9 12585225 ns/op 666.54 MB/s BenchmarkRepeatLarge/8388608/4097-4 8 12943319 ns/op 647.95 MB/s BenchmarkRepeatLarge/16777216/1-4 5 24585592 ns/op 682.40 MB/s BenchmarkRepeatLarge/16777216/16-4 5 24238320 ns/op 692.18 MB/s BenchmarkRepeatLarge/16777216/4097-4 4 25425308 ns/op 659.86 MB/s BenchmarkRepeatLarge/33554432/1-4 3 46149778 ns/op 727.08 MB/s BenchmarkRepeatLarge/33554432/16-4 3 45777368 ns/op 732.99 MB/s BenchmarkRepeatLarge/33554432/4097-4 3 46839327 ns/op 716.37 MB/s BenchmarkRepeatLarge/67108864/1-4 2 83126950 ns/op 807.31 MB/s BenchmarkRepeatLarge/67108864/16-4 2 84724278 ns/op 792.09 MB/s BenchmarkRepeatLarge/67108864/4097-4 2 85419234 ns/op 785.64 MB/s BenchmarkRepeatLarge/134217728/1-4 1 169878597 ns/op 790.08 MB/s BenchmarkRepeatLarge/134217728/16-4 1 166032620 ns/op 808.38 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 171227777 ns/op 783.85 MB/s BenchmarkRepeatLarge/268435456/1-4 1 324356202 ns/op 827.59 MB/s BenchmarkRepeatLarge/268435456/16-4 1 331768158 ns/op 809.11 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 333558148 ns/op 804.76 MB/s BenchmarkRepeatLarge/536870912/1-4 1 628678894 ns/op 853.97 MB/s BenchmarkRepeatLarge/536870912/16-4 1 649353665 ns/op 826.78 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 663930647 ns/op 808.62 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 1273242221 ns/op 843.31 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 1293476672 ns/op 830.12 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 1317570619 ns/op 814.94 MB/s BenchmarkIndexAnyASCII/1:1-4 2391223 50.06 ns/op BenchmarkIndexAnyASCII/1:2-4 2222608 54.11 ns/op BenchmarkIndexAnyASCII/1:4-4 2201640 53.61 ns/op BenchmarkIndexAnyASCII/1:8-4 2218968 54.49 ns/op BenchmarkIndexAnyASCII/1:16-4 2204680 53.49 ns/op BenchmarkIndexAnyASCII/1:32-4 2071024 54.16 ns/op BenchmarkIndexAnyASCII/1:64-4 2193618 53.85 ns/op BenchmarkIndexAnyASCII/16:1-4 2400217 49.87 ns/op BenchmarkIndexAnyASCII/16:2-4 913492 132.4 ns/op BenchmarkIndexAnyASCII/16:4-4 888014 133.9 ns/op BenchmarkIndexAnyASCII/16:8-4 821529 143.8 ns/op BenchmarkIndexAnyASCII/16:16-4 727219 154.7 ns/op BenchmarkIndexAnyASCII/16:32-4 558393 194.5 ns/op BenchmarkIndexAnyASCII/16:64-4 433634 264.9 ns/op BenchmarkIndexAnyASCII/256:1-4 2174656 54.87 ns/op BenchmarkIndexAnyASCII/256:2-4 85188 1397 ns/op BenchmarkIndexAnyASCII/256:4-4 86168 1402 ns/op BenchmarkIndexAnyASCII/256:8-4 85138 1407 ns/op BenchmarkIndexAnyASCII/256:16-4 84890 1414 ns/op BenchmarkIndexAnyASCII/256:32-4 81949 1459 ns/op BenchmarkIndexAnyASCII/256:64-4 77882 1524 ns/op BenchmarkIndexAnyUTF8/1:1-4 2488303 48.12 ns/op BenchmarkIndexAnyUTF8/1:2-4 2152078 56.47 ns/op BenchmarkIndexAnyUTF8/1:4-4 2131836 56.26 ns/op BenchmarkIndexAnyUTF8/1:8-4 2141158 55.72 ns/op BenchmarkIndexAnyUTF8/1:16-4 2145735 56.07 ns/op BenchmarkIndexAnyUTF8/1:32-4 2113359 56.37 ns/op BenchmarkIndexAnyUTF8/1:64-4 2145768 55.80 ns/op BenchmarkIndexAnyUTF8/16:1-4 2001640 59.98 ns/op BenchmarkIndexAnyUTF8/16:2-4 324127 342.8 ns/op BenchmarkIndexAnyUTF8/16:4-4 345668 340.6 ns/op BenchmarkIndexAnyUTF8/16:8-4 341425 340.4 ns/op BenchmarkIndexAnyUTF8/16:16-4 342021 341.0 ns/op BenchmarkIndexAnyUTF8/16:32-4 343756 347.3 ns/op BenchmarkIndexAnyUTF8/16:64-4 349658 341.0 ns/op BenchmarkIndexAnyUTF8/256:1-4 392142 305.0 ns/op BenchmarkIndexAnyUTF8/256:2-4 23816 4705 ns/op BenchmarkIndexAnyUTF8/256:4-4 25216 4696 ns/op BenchmarkIndexAnyUTF8/256:8-4 25503 4721 ns/op BenchmarkIndexAnyUTF8/256:16-4 25322 4706 ns/op BenchmarkIndexAnyUTF8/256:32-4 24955 4807 ns/op BenchmarkIndexAnyUTF8/256:64-4 25461 4703 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2333346 50.80 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2347189 51.01 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2313978 51.06 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2351034 51.84 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2349847 52.08 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2341897 51.42 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2327052 51.96 ns/op BenchmarkLastIndexAnyASCII/16:1-4 920641 128.9 ns/op BenchmarkLastIndexAnyASCII/16:2-4 901632 130.3 ns/op BenchmarkLastIndexAnyASCII/16:4-4 885373 133.4 ns/op BenchmarkLastIndexAnyASCII/16:8-4 800517 144.5 ns/op BenchmarkLastIndexAnyASCII/16:16-4 781310 151.7 ns/op BenchmarkLastIndexAnyASCII/16:32-4 568470 203.3 ns/op BenchmarkLastIndexAnyASCII/16:64-4 459092 258.1 ns/op BenchmarkLastIndexAnyASCII/256:1-4 86449 1393 ns/op BenchmarkLastIndexAnyASCII/256:2-4 85602 1395 ns/op BenchmarkLastIndexAnyASCII/256:4-4 85448 1396 ns/op BenchmarkLastIndexAnyASCII/256:8-4 85668 1402 ns/op BenchmarkLastIndexAnyASCII/256:16-4 84577 1423 ns/op BenchmarkLastIndexAnyASCII/256:32-4 82531 1451 ns/op BenchmarkLastIndexAnyASCII/256:64-4 78680 1522 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2366542 51.03 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2315592 51.10 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2346392 51.65 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2318270 51.71 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2300788 51.90 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2294510 51.41 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2321906 50.95 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 394053 298.1 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 205903 576.1 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 208596 581.0 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 207590 586.1 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 206877 575.5 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 205635 585.9 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 204411 573.0 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 29269 4107 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 14274 8418 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 14120 8441 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 14239 8534 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 14235 8413 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 14086 8515 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 14246 8467 ns/op BenchmarkTrimASCII/1:1-4 3252708 34.30 ns/op BenchmarkTrimASCII/1:2-4 2732166 44.06 ns/op BenchmarkTrimASCII/1:4-4 2677550 45.32 ns/op BenchmarkTrimASCII/1:8-4 2364409 51.54 ns/op BenchmarkTrimASCII/1:16-4 1973872 61.34 ns/op BenchmarkTrimASCII/16:1-4 3049753 39.03 ns/op BenchmarkTrimASCII/16:2-4 900211 132.0 ns/op BenchmarkTrimASCII/16:4-4 878637 132.8 ns/op BenchmarkTrimASCII/16:8-4 741092 142.2 ns/op BenchmarkTrimASCII/16:16-4 716481 154.3 ns/op BenchmarkTrimASCII/256:1-4 855194 128.2 ns/op BenchmarkTrimASCII/256:2-4 86312 1390 ns/op BenchmarkTrimASCII/256:4-4 86445 1395 ns/op BenchmarkTrimASCII/256:8-4 85486 1406 ns/op BenchmarkTrimASCII/256:16-4 84580 1431 ns/op BenchmarkTrimASCII/4096:1-4 83757 1388 ns/op BenchmarkTrimASCII/4096:2-4 5428 21542 ns/op BenchmarkTrimASCII/4096:4-4 4934 21545 ns/op BenchmarkTrimASCII/4096:8-4 4902 21499 ns/op BenchmarkTrimASCII/4096:16-4 5410 21561 ns/op BenchmarkTrimByte-4 4447069 24.90 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 19369 6198 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 19321 6231 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 1224 97221 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 2431 49033 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 4785 24309 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 9000 12766 ns/op BenchmarkJoin/0-4 5635837 21.14 ns/op 0 B/op 0 allocs/op BenchmarkJoin/1-4 4509704 29.62 ns/op 0 B/op 0 allocs/op BenchmarkJoin/2-4 200901 586.4 ns/op 16 B/op 1 allocs/op BenchmarkJoin/3-4 141856 860.7 ns/op 24 B/op 1 allocs/op BenchmarkJoin/4-4 104670 1142 ns/op 48 B/op 1 allocs/op BenchmarkJoin/5-4 86638 1400 ns/op 48 B/op 1 allocs/op BenchmarkJoin/6-4 72765 1641 ns/op 64 B/op 1 allocs/op BenchmarkJoin/7-4 62424 1930 ns/op 64 B/op 1 allocs/op BenchmarkTrimSpace/NoTrim-4 2853174 42.28 ns/op BenchmarkTrimSpace/ASCII-4 1659518 69.01 ns/op BenchmarkTrimSpace/SomeNonASCII-4 149515 795.5 ns/op BenchmarkTrimSpace/JustNonASCII-4 78762 1512 ns/op BenchmarkReplaceAll-4 116134 972.0 ns/op 16 B/op 1 allocs/op PASS ok strings 52.358s goos: linux goarch: amd64 pkg: sync cpu: AMD EPYC 7B12 BenchmarkCond1-4 57800 1987 ns/op BenchmarkCond2-4 20449 6241 ns/op BenchmarkCond4-4 10000 10894 ns/op BenchmarkCond8-4 9842 14267 ns/op BenchmarkCond16-4 5892 30469 ns/op BenchmarkCond32-4 1226 103175 ns/op BenchmarkLoadMostlyHits/*sync_test.DeepCopyMap-4 625377 192.6 ns/op BenchmarkLoadMostlyHits/*sync_test.RWMutexMap-4 200379 554.8 ns/op BenchmarkLoadMostlyHits/*sync.Map-4 707496 172.7 ns/op BenchmarkLoadMostlyMisses/*sync_test.DeepCopyMap-4 683008 157.9 ns/op BenchmarkLoadMostlyMisses/*sync_test.RWMutexMap-4 205382 620.6 ns/op BenchmarkLoadMostlyMisses/*sync.Map-4 836160 147.5 ns/op BenchmarkLoadOrStoreBalanced/*sync_test.RWMutexMap-4 80425 1521 ns/op BenchmarkLoadOrStoreBalanced/*sync.Map-4 85188 1591 ns/op BenchmarkLoadOrStoreUnique/*sync_test.RWMutexMap-4 65485 2188 ns/op BenchmarkLoadOrStoreUnique/*sync.Map-4 51542 2622 ns/op BenchmarkLoadOrStoreCollision/*sync_test.DeepCopyMap-4 652755 251.1 ns/op BenchmarkLoadOrStoreCollision/*sync_test.RWMutexMap-4 152917 822.5 ns/op BenchmarkLoadOrStoreCollision/*sync.Map-4 727326 194.6 ns/op BenchmarkLoadAndDeleteBalanced/*sync_test.RWMutexMap-4 142292 840.2 ns/op BenchmarkLoadAndDeleteBalanced/*sync.Map-4 842833 118.9 ns/op BenchmarkLoadAndDeleteUnique/*sync_test.RWMutexMap-4 185896 753.8 ns/op BenchmarkLoadAndDeleteUnique/*sync.Map-4 2037873 87.12 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.DeepCopyMap-4 51327 2245 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.RWMutexMap-4 136188 995.5 ns/op BenchmarkLoadAndDeleteCollision/*sync.Map-4 213392 603.6 ns/op BenchmarkRange/*sync_test.DeepCopyMap-4 6615 15843 ns/op BenchmarkRange/*sync_test.RWMutexMap-4 290 448085 ns/op BenchmarkRange/*sync.Map-4 1460 88749 ns/op BenchmarkAdversarialAlloc/*sync_test.DeepCopyMap-4 104866 1294 ns/op BenchmarkAdversarialAlloc/*sync_test.RWMutexMap-4 180955 627.3 ns/op BenchmarkAdversarialAlloc/*sync.Map-4 79177 1796 ns/op BenchmarkAdversarialDelete/*sync_test.DeepCopyMap-4 107205 956.8 ns/op BenchmarkAdversarialDelete/*sync_test.RWMutexMap-4 219801 594.5 ns/op BenchmarkAdversarialDelete/*sync.Map-4 181357 721.5 ns/op BenchmarkDeleteCollision/*sync_test.DeepCopyMap-4 84992 1481 ns/op BenchmarkDeleteCollision/*sync_test.RWMutexMap-4 174759 643.6 ns/op BenchmarkDeleteCollision/*sync.Map-4 1000000 232.6 ns/op BenchmarkSwapCollision/*sync_test.DeepCopyMap-4 57847 2025 ns/op BenchmarkSwapCollision/*sync_test.RWMutexMap-4 127886 820.5 ns/op BenchmarkSwapCollision/*sync.Map-4 58573 1868 ns/op BenchmarkSwapMostlyHits/*sync_test.DeepCopyMap-4 424 283955 ns/op BenchmarkSwapMostlyHits/*sync_test.RWMutexMap-4 104498 1183 ns/op BenchmarkSwapMostlyHits/*sync.Map-4 243403 423.4 ns/op BenchmarkSwapMostlyMisses/*sync_test.DeepCopyMap-4 25491 4995 ns/op BenchmarkSwapMostlyMisses/*sync_test.RWMutexMap-4 60147 1893 ns/op BenchmarkSwapMostlyMisses/*sync.Map-4 22945 4823 ns/op BenchmarkCompareAndSwapCollision/*sync_test.DeepCopyMap-4 219566 490.1 ns/op BenchmarkCompareAndSwapCollision/*sync_test.RWMutexMap-4 101391 1190 ns/op BenchmarkCompareAndSwapCollision/*sync.Map-4 139220 845.6 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.DeepCopyMap-4 1937166 61.69 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.RWMutexMap-4 164692 745.0 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync.Map-4 1794982 57.84 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.DeepCopyMap-4 724999 294.1 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.RWMutexMap-4 155850 837.3 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync.Map-4 601436 207.9 ns/op BenchmarkCompareAndSwapMostlyHits/*sync_test.RWMutexMap-4 83671 1351 ns/op BenchmarkCompareAndSwapMostlyHits/*sync.Map-4 302376 422.5 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.DeepCopyMap-4 488394 215.0 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.RWMutexMap-4 123050 1027 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync.Map-4 598297 208.9 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.DeepCopyMap-4 143983 792.3 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.RWMutexMap-4 92788 1140 ns/op BenchmarkCompareAndDeleteCollision/*sync.Map-4 173320 750.1 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync_test.RWMutexMap-4 56073 2127 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync.Map-4 176761 634.3 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.DeepCopyMap-4 470510 217.7 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.RWMutexMap-4 116498 976.7 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync.Map-4 757101 147.6 ns/op BenchmarkUncontendedSemaphore-4 6336067 18.41 ns/op BenchmarkContendedSemaphore-4 4349178 31.55 ns/op BenchmarkMutexUncontended-4 1125956 138.3 ns/op BenchmarkMutex-4 157513 653.9 ns/op BenchmarkMutexSlack-4 166870 699.8 ns/op BenchmarkMutexWork-4 134870 775.5 ns/op BenchmarkMutexWorkSlack-4 128343 838.9 ns/op BenchmarkMutexNoSpin-4 49300 2253 ns/op BenchmarkMutexSpin-4 81680 2167 ns/op BenchmarkOnce-4 1000000 129.9 ns/op BenchmarkSemaUncontended-4 7797478 15.35 ns/op BenchmarkSemaSyntNonblock-4 1891134 55.23 ns/op BenchmarkSemaSyntBlock-4 1631366 79.65 ns/op BenchmarkSemaWorkNonblock-4 1000000 136.6 ns/op BenchmarkSemaWorkBlock-4 926390 130.7 ns/op BenchmarkRWMutexUncontended-4 536978 202.4 ns/op BenchmarkRWMutexWrite100-4 337453 399.0 ns/op BenchmarkRWMutexWrite10-4 251980 407.6 ns/op BenchmarkRWMutexWorkWrite100-4 231926 511.2 ns/op BenchmarkRWMutexWorkWrite10-4 199750 543.3 ns/op BenchmarkWaitGroupUncontended-4 764024 144.7 ns/op BenchmarkWaitGroupAddDone-4 448160 417.6 ns/op BenchmarkWaitGroupAddDoneWork-4 338386 352.9 ns/op BenchmarkWaitGroupWait-4 4191925 28.75 ns/op BenchmarkWaitGroupWaitWork-4 2860144 42.91 ns/op BenchmarkWaitGroupActuallyWait-4 33370 3816 ns/op 32 B/op 2 allocs/op PASS ok sync 16.498s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: sync/atomic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkValueRead-4 572462 195.1 ns/op PASS ok sync/atomic 0.246s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: testing cpu: AMD EPYC 7B12 BenchmarkTBHelper-4 106888 1105 ns/op 0 B/op 0 allocs/op PASS ok testing 0.158s goos: linux goarch: amd64 pkg: text/tabwriter cpu: AMD EPYC 7B12 BenchmarkTable/1x10/new-4 8062 14832 ns/op 1520 B/op 21 allocs/op BenchmarkTable/1x10/reuse-4 11317 10424 ns/op 0 B/op 0 allocs/op BenchmarkTable/1x1000/new-4 94 1206983 ns/op 129392 B/op 1025 allocs/op BenchmarkTable/1x1000/reuse-4 121 983438 ns/op 1069 B/op 8 allocs/op BenchmarkTable/1x100000/new-4 1 148180660 ns/op 19393104 B/op 100058 allocs/op BenchmarkTable/1x100000/reuse-4 1 140766559 ns/op 19393104 B/op 100058 allocs/op BenchmarkTable/10x10/new-4 1657 65785 ns/op 5056 B/op 31 allocs/op BenchmarkTable/10x10/reuse-4 1917 55888 ns/op 2 B/op 0 allocs/op BenchmarkTable/10x1000/new-4 20 5588495 ns/op 413572 B/op 1039 allocs/op BenchmarkTable/10x1000/reuse-4 19 5642246 ns/op 21766 B/op 54 allocs/op BenchmarkTable/10x100000/new-4 1 618284060 ns/op 48120800 B/op 100074 allocs/op BenchmarkTable/10x100000/reuse-4 1 620164160 ns/op 48120704 B/op 100073 allocs/op BenchmarkTable/100x10/new-4 214 555522 ns/op 39296 B/op 41 allocs/op BenchmarkTable/100x10/reuse-4 228 528046 ns/op 172 B/op 0 allocs/op BenchmarkTable/100x1000/new-4 2 54265368 ns/op 3288960 B/op 1053 allocs/op BenchmarkTable/100x1000/reuse-4 2 52483154 ns/op 1644480 B/op 526 allocs/op BenchmarkTable/100x100000/new-4 1 6157904612 ns/op 335150048 B/op 100090 allocs/op BenchmarkTable/100x100000/reuse-4 1 6084531107 ns/op 335150152 B/op 100092 allocs/op BenchmarkPyramid/10-4 2919 38758 ns/op 4872 B/op 35 allocs/op BenchmarkPyramid/100-4 40 2928005 ns/op 409132 B/op 230 allocs/op BenchmarkPyramid/1000-4 1 285402889 ns/op 35625256 B/op 2055 allocs/op BenchmarkRagged/10-4 2643 44543 ns/op 4512 B/op 34 allocs/op BenchmarkRagged/100-4 277 429229 ns/op 41008 B/op 188 allocs/op BenchmarkRagged/1000-4 26 4151278 ns/op 427424 B/op 1661 allocs/op BenchmarkCode-4 6759 15972 ns/op 624 B/op 13 allocs/op PASS ok text/tabwriter 16.897s goos: linux goarch: amd64 pkg: text/template/parse cpu: AMD EPYC 7B12 BenchmarkParseLarge-4 2 79169250 ns/op BenchmarkVariableString-4 92432 1214 ns/op 80 B/op 3 allocs/op BenchmarkListString-4 2042 55668 ns/op 2515 B/op 39 allocs/op PASS ok text/template/parse 0.522s goos: linux goarch: amd64 pkg: time cpu: AMD EPYC 7B12 BenchmarkAfterFunc-4 33 3182787 ns/op BenchmarkAfter-4 102 1063915 ns/op BenchmarkStop-4 201 539192 ns/op BenchmarkSimultaneousAfterFunc-4 25 4058547 ns/op BenchmarkStartStop-4 212 508577 ns/op BenchmarkReset-4 2718 40074 ns/op BenchmarkSleep-4 36 3623774 ns/op BenchmarkParallelTimerLatency-4 52 226644 avg-late-ns 1532860 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=1-4 36 320656 avg-late-ns 889641 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=2-4 32 366788 avg-late-ns 1167940 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=3-4 34 389932 avg-late-ns 1169015 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=4-4 33 353991 avg-late-ns 1588546 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=5-4 31 326379 avg-late-ns 1467482 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=6-4 31 310872 avg-late-ns 1942084 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=7-4 30 167168 avg-late-ns 1610706 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=8-4 27 146863 avg-late-ns 1150305 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=9-4 26 211169 avg-late-ns 1191475 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=10-4 26 878930 avg-late-ns 3816334 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=2ms/tickers-per-P=1-4 34 302978 avg-late-ns 822887 max-late-ns BenchmarkTicker-4 355 327622 ns/op BenchmarkTickerReset-4 4741 23874 ns/op BenchmarkTickerResetNaive-4 279 487468 ns/op BenchmarkNow-4 1227903 95.56 ns/op BenchmarkNowUnixNano-4 1278632 92.37 ns/op BenchmarkNowUnixMilli-4 1294999 91.41 ns/op BenchmarkNowUnixMicro-4 1313636 91.42 ns/op BenchmarkFormat-4 60106 2027 ns/op BenchmarkFormatRFC3339-4 86080 1432 ns/op BenchmarkFormatRFC3339Nano-4 83570 1429 ns/op BenchmarkFormatNow-4 78674 1446 ns/op BenchmarkMarshalJSON-4 121518 1008 ns/op BenchmarkMarshalText-4 116560 977.9 ns/op BenchmarkParse-4 144282 816.0 ns/op BenchmarkParseRFC3339UTC-4 321922 348.8 ns/op BenchmarkParseRFC3339UTCBytes-4 229254 512.4 ns/op BenchmarkParseRFC3339TZ-4 100468 1193 ns/op BenchmarkParseRFC3339TZBytes-4 81842 1459 ns/op BenchmarkParseDuration-4 630026 190.9 ns/op BenchmarkHour-4 1000000 111.1 ns/op BenchmarkSecond-4 1000000 110.4 ns/op BenchmarkYear-4 779817 146.2 ns/op BenchmarkDay-4 675900 173.5 ns/op BenchmarkISOWeek-4 762776 147.2 ns/op BenchmarkGoString-4 80984 1476 ns/op BenchmarkUnmarshalText-4 71822 1671 ns/op PASS ok time 11.475s goos: linux goarch: amd64 pkg: unicode/utf16 cpu: AMD EPYC 7B12 BenchmarkDecodeValidASCII-4 672675 168.9 ns/op BenchmarkDecodeValidJapaneseChars-4 778760 144.8 ns/op BenchmarkDecodeRune-4 1926410 60.94 ns/op BenchmarkEncodeValidASCII-4 534446 205.8 ns/op BenchmarkEncodeValidJapaneseChars-4 771198 148.5 ns/op BenchmarkAppendRuneValidASCII-4 1568476 75.93 ns/op BenchmarkAppendRuneValidJapaneseChars-4 2334608 44.51 ns/op BenchmarkEncodeRune-4 3097950 35.54 ns/op PASS ok unicode/utf16 1.190s goos: linux goarch: amd64 pkg: unicode/utf8 cpu: AMD EPYC 7B12 BenchmarkRuneCountTenASCIIChars-4 1179096 102.4 ns/op BenchmarkRuneCountTenJapaneseChars-4 213705 530.5 ns/op BenchmarkRuneCountInStringTenASCIIChars-4 4334586 27.64 ns/op BenchmarkRuneCountInStringTenJapaneseChars-4 555778 215.3 ns/op BenchmarkValidTenASCIIChars-4 1205870 101.8 ns/op BenchmarkValid100KASCIIChars-4 135 840607 ns/op BenchmarkValidTenJapaneseChars-4 202105 605.8 ns/op BenchmarkValidLongMostlyASCII-4 124 893208 ns/op BenchmarkValidLongJapanese-4 68 1881018 ns/op BenchmarkValidStringTenASCIIChars-4 4704375 23.24 ns/op BenchmarkValidString100KASCIIChars-4 10000 10189 ns/op BenchmarkValidStringTenJapaneseChars-4 540133 200.9 ns/op BenchmarkValidStringLongMostlyASCII-4 1148 102386 ns/op BenchmarkValidStringLongJapanese-4 198 566475 ns/op BenchmarkEncodeASCIIRune-4 4795771 25.02 ns/op BenchmarkEncodeJapaneseRune-4 2795853 43.70 ns/op BenchmarkAppendASCIIRune-4 11006698 10.83 ns/op BenchmarkAppendJapaneseRune-4 3116751 37.20 ns/op BenchmarkDecodeASCIIRune-4 3203380 36.75 ns/op BenchmarkDecodeJapaneseRune-4 2113869 56.74 ns/op BenchmarkFullRune/ASCII-4 4104274 29.83 ns/op BenchmarkFullRune/Incomplete-4 1671724 68.87 ns/op BenchmarkFullRune/Japanese-4 3660772 28.87 ns/op PASS ok unicode/utf8 3.640s goos: linux goarch: amd64 pkg: cmd/api cpu: AMD EPYC 7B12 BenchmarkAll-4 1 48630255791 ns/op PASS ok cmd/api 54.233s goos: linux goarch: amd64 pkg: cmd/compile/internal/reflectdata cpu: AMD EPYC 7B12 BenchmarkEqArrayOfStrings5-4 1000000 104.1 ns/op BenchmarkEqArrayOfStrings64-4 143820 817.2 ns/op BenchmarkEqArrayOfStrings1024-4 9842 13508 ns/op BenchmarkEqArrayOfFloats5-4 1231177 96.19 ns/op BenchmarkEqArrayOfFloats64-4 146476 816.0 ns/op BenchmarkEqArrayOfFloats1024-4 8626 13810 ns/op BenchmarkEqStruct-4 16501465 6.239 ns/op PASS ok cmd/compile/internal/reflectdata 1.090s goos: linux goarch: amd64 pkg: cmd/compile/internal/ssa cpu: AMD EPYC 7B12 BenchmarkPhioptPass-4 10000 54549 ns/op BenchmarkCopyElim1-4 752 144442 ns/op BenchmarkCopyElim10-4 828 144642 ns/op BenchmarkCopyElim100-4 408 270480 ns/op BenchmarkCopyElim1000-4 73 1577281 ns/op BenchmarkCopyElim10000-4 4 25991936 ns/op BenchmarkCopyElim100000-4 1 489094321 ns/op BenchmarkDeadCode/1-4 667 165039 ns/op BenchmarkDeadCode/10-4 651 189236 ns/op BenchmarkDeadCode/100-4 309 409534 ns/op BenchmarkDeadCode/1000-4 56 2264531 ns/op BenchmarkDeadCode/10000-4 4 25845134 ns/op BenchmarkDeadCode/100000-4 1 346454409 ns/op BenchmarkDeadCode/200000-4 1 739363545 ns/op BenchmarkDominatorsLinear-4 14 7770923 ns/op 1.29 MB/s BenchmarkDominatorsFwdBack-4 10 10602101 ns/op 0.94 MB/s BenchmarkDominatorsManyPred-4 10 11078906 ns/op 0.90 MB/s BenchmarkDominatorsMaxPred-4 10 11674616 ns/op 0.86 MB/s BenchmarkDominatorsMaxPredVal-4 10 10795750 ns/op 0.93 MB/s BenchmarkFuse/1-4 646 168870 ns/op BenchmarkFuse/10-4 559 222899 ns/op BenchmarkFuse/100-4 180 638738 ns/op BenchmarkFuse/1000-4 24 4901419 ns/op BenchmarkFuse/10000-4 2 60772946 ns/op BenchmarkNilCheckDeep1-4 12192 9690 ns/op 0.10 MB/s 238 B/op 4 allocs/op BenchmarkNilCheckDeep10-4 4933 24395 ns/op 0.41 MB/s 232 B/op 4 allocs/op BenchmarkNilCheckDeep100-4 724 163396 ns/op 0.61 MB/s 675 B/op 4 allocs/op BenchmarkNilCheckDeep1000-4 69 1569895 ns/op 0.64 MB/s 4702 B/op 4 allocs/op BenchmarkNilCheckDeep10000-4 6 19195326 ns/op 0.52 MB/s 164213 B/op 7 allocs/op BenchmarkDSEPass-4 31 3652480 ns/op 46732 B/op 7 allocs/op BenchmarkDSEPassBlock-4 1 125818173 ns/op 4267616 B/op 108653 allocs/op BenchmarkCSEPass-4 7 14923599 ns/op 103442 B/op 9 allocs/op BenchmarkCSEPassBlock-4 1 158213061 ns/op 5688904 B/op 97638 allocs/op BenchmarkDeadcodePass-4 204 564747 ns/op 90238 B/op 3 allocs/op BenchmarkDeadcodePassBlock-4 1 123301743 ns/op 4024336 B/op 44801 allocs/op BenchmarkMultiPass-4 82 1300645 ns/op 219350 B/op 10 allocs/op BenchmarkMultiPassBlock-4 1 247299445 ns/op 11216720 B/op 150027 allocs/op BenchmarkCondRewrite/SoloJump-4 3233478 37.78 ns/op BenchmarkCondRewrite/CombJump-4 2729553 37.85 ns/op PASS ok cmd/compile/internal/ssa 13.084s goos: linux goarch: amd64 pkg: cmd/compile/internal/test cpu: AMD EPYC 7B12 BenchmarkLoadAdd-4 8344 13440 ns/op BenchmarkExtShift-4 18078 6562 ns/op BenchmarkModify-4 8751 12520 ns/op BenchmarkMullImm-4 18103 6586 ns/op BenchmarkConstModify-4 8593 13027 ns/op BenchmarkBitSet-4 19964 6012 ns/op BenchmarkBitClear-4 18855 6132 ns/op BenchmarkBitToggle-4 19680 6102 ns/op BenchmarkBitSetConst-4 155894 754.3 ns/op BenchmarkBitClearConst-4 153818 827.1 ns/op BenchmarkBitToggleConst-4 155874 752.6 ns/op BenchmarkDivconstI64-4 8925648 12.21 ns/op BenchmarkModconstI64-4 9603102 12.64 ns/op BenchmarkDivisiblePow2constI64-4 8758809 13.55 ns/op BenchmarkDivisibleconstI64-4 9646107 11.85 ns/op BenchmarkDivisibleWDivconstI64-4 7488200 15.82 ns/op BenchmarkDivconstU64/3-4 8826344 12.18 ns/op BenchmarkDivconstU64/5-4 8580192 12.48 ns/op BenchmarkDivconstU64/37-4 9734727 13.79 ns/op BenchmarkDivconstU64/1234567-4 8455216 13.48 ns/op BenchmarkModconstU64-4 9775663 12.88 ns/op BenchmarkDivisibleconstU64-4 9759531 12.17 ns/op BenchmarkDivisibleWDivconstU64-4 7278739 16.63 ns/op BenchmarkDivconstI32-4 9206322 12.16 ns/op BenchmarkModconstI32-4 9646464 12.53 ns/op BenchmarkDivisiblePow2constI32-4 8775507 13.08 ns/op BenchmarkDivisibleconstI32-4 9821115 11.93 ns/op BenchmarkDivisibleWDivconstI32-4 6339250 16.01 ns/op BenchmarkDivconstU32-4 8783678 12.37 ns/op BenchmarkModconstU32-4 8568783 13.25 ns/op BenchmarkDivisibleconstU32-4 8400901 11.95 ns/op BenchmarkDivisibleWDivconstU32-4 6755949 16.11 ns/op BenchmarkDivconstI16-4 8603000 12.51 ns/op BenchmarkModconstI16-4 8889328 13.44 ns/op BenchmarkDivisiblePow2constI16-4 9909115 11.78 ns/op BenchmarkDivisibleconstI16-4 9041754 12.16 ns/op BenchmarkDivisibleWDivconstI16-4 7336119 16.69 ns/op BenchmarkDivconstU16-4 10180136 11.90 ns/op BenchmarkModconstU16-4 8872496 13.05 ns/op BenchmarkDivisibleconstU16-4 10076758 12.08 ns/op BenchmarkDivisibleWDivconstU16-4 6662589 18.03 ns/op BenchmarkDivconstI8-4 10065229 11.80 ns/op BenchmarkModconstI8-4 9863746 11.72 ns/op BenchmarkDivisiblePow2constI8-4 9988702 11.93 ns/op BenchmarkDivisibleconstI8-4 9510742 11.86 ns/op BenchmarkDivisibleWDivconstI8-4 6699474 15.82 ns/op BenchmarkDivconstU8-4 10022223 11.89 ns/op BenchmarkModconstU8-4 8978701 12.05 ns/op BenchmarkDivisibleconstU8-4 10172852 11.87 ns/op BenchmarkDivisibleWDivconstU8-4 7013166 17.77 ns/op BenchmarkMul2-4 243494 487.0 ns/op BenchmarkMulNeg2-4 246188 484.4 ns/op BenchmarkEfaceInteger-4 3464181 31.72 ns/op BenchmarkMulconstI32/3-4 16573323 6.557 ns/op BenchmarkMulconstI32/5-4 18237858 6.589 ns/op BenchmarkMulconstI32/12-4 16319491 7.399 ns/op BenchmarkMulconstI32/120-4 17645317 6.581 ns/op BenchmarkMulconstI32/-120-4 16615041 7.225 ns/op BenchmarkMulconstI32/65537-4 18166374 6.544 ns/op BenchmarkMulconstI32/65538-4 17548987 6.539 ns/op BenchmarkMulconstI64/3-4 18284234 6.584 ns/op BenchmarkMulconstI64/5-4 18243843 6.550 ns/op BenchmarkMulconstI64/12-4 17911700 6.548 ns/op BenchmarkMulconstI64/120-4 17277146 6.553 ns/op BenchmarkMulconstI64/-120-4 16607407 7.189 ns/op BenchmarkMulconstI64/65537-4 18284544 6.571 ns/op BenchmarkMulconstI64/65538-4 18205982 6.588 ns/op BenchmarkMulconstU32/3-4 18148954 6.556 ns/op BenchmarkMulconstU32/5-4 18144645 6.563 ns/op BenchmarkMulconstU32/12-4 18306604 6.571 ns/op BenchmarkMulconstU32/120-4 16708597 7.204 ns/op BenchmarkMulconstU32/65537-4 16526466 6.598 ns/op BenchmarkMulconstU32/65538-4 17641684 6.542 ns/op BenchmarkMulconstU64/3-4 15880428 7.206 ns/op BenchmarkMulconstU64/5-4 18179062 6.539 ns/op BenchmarkMulconstU64/12-4 16667013 6.797 ns/op BenchmarkMulconstU64/120-4 16872057 6.576 ns/op BenchmarkMulconstU64/65537-4 18347750 7.078 ns/op BenchmarkMulconstU64/65538-4 18363558 6.566 ns/op BenchmarkShiftArithmeticRight-4 18323575 6.547 ns/op BenchmarkSwitch8Predictable-4 12313779 8.747 ns/op BenchmarkSwitch8Unpredictable-4 6458817 17.25 ns/op BenchmarkSwitch32Predictable-4 11151990 10.28 ns/op BenchmarkSwitch32Unpredictable-4 6694776 17.28 ns/op BenchmarkSwitchStringPredictable-4 5615205 20.54 ns/op BenchmarkSwitchStringUnpredictable-4 4849519 24.01 ns/op PASS ok cmd/compile/internal/test 11.679s goos: linux goarch: amd64 pkg: cmd/compile/internal/types2 cpu: AMD EPYC 7B12 BenchmarkLookupFieldOrMethod-4 165 736224 ns/op BenchmarkNamed/Underlying/nongeneric-4 1168308 101.3 ns/op BenchmarkNamed/Underlying/generic-4 1000000 100.2 ns/op BenchmarkNamed/Underlying/src_instance-4 1000000 100.7 ns/op BenchmarkNamed/Underlying/user_instance-4 1000000 104.8 ns/op BenchmarkCheck/http/funcbodies/info-4 1 423259372 ns/op 72217 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 313348986 ns/op 97542 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 133984824 ns/op 228075 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 114744295 ns/op 266275 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 315527096 ns/op 16256 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 2 80803171 ns/op 63478 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 4 29104162 ns/op 176216 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 4 26354339 ns/op 194595 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 119896545 ns/op 18094 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 3 35825575 ns/op 60543 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 6 18898969 ns/op 114788 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 6 18195506 ns/op 119233 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 832464663 ns/op 76331 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 513159928 ns/op 123816 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 130947524 ns/op 485151 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 2 98158230 ns/op 647166 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 374107323 ns/op 5340 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 58040228 ns/op 34417 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 4 33820881 ns/op 59059 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 3 33756392 ns/op 59169 lines/s PASS ok cmd/compile/internal/types2 14.998s goos: linux goarch: amd64 pkg: cmd/go cpu: AMD EPYC 7B12 BenchmarkExecGoEnv-4 189 604126 ns/op 1449423 sys-ns/op 710196 user-ns/op PASS ok cmd/go 0.196s goos: linux goarch: amd64 pkg: cmd/internal/notsha256 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes/New-4 73928 1607 ns/op 4.98 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 86734 1371 ns/op 5.83 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 19396 6099 ns/op 167.91 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 20310 5897 ns/op 173.63 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 3124 37912 ns/op 216.08 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 3050 37845 ns/op 216.46 MB/s 0 B/op 0 allocs/op PASS ok cmd/internal/notsha256 0.905s All tests passed.