linux-amd64-race at 2716dfd99580b63dc3b0b2dba4a31e50649f4922 :: 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-rn526daad" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=0s" "GO_STAGE0_DL_DELAY=100ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-race" "GO_DISABLE_OUTBOUND_NETWORK=1" "GOBIN=" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache" "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-rn526daad" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=0s" "GO_STAGE0_DL_DELAY=100ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-race" "GO_DISABLE_OUTBOUND_NETWORK=1" "GOBIN=" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache" "PWD=/workdir/go/bin"] in dir /workdir/go/bin ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Testing packages. ok archive/tar 1.078s ok archive/zip 2.033s ok bufio 0.288s ok bytes 1.882s ok compress/bzip2 0.384s ok compress/flate 5.504s ok compress/gzip 10.973s ok compress/lzw 0.489s ok compress/zlib 4.077s ok container/heap 0.034s ok container/list 0.024s ok container/ring 0.024s ok context 0.034s ok crypto 0.026s ok crypto/aes 0.067s ok crypto/cipher 0.054s ok crypto/des 0.054s ok crypto/dsa 0.024s ok crypto/ecdh 0.206s ok crypto/ecdsa 0.125s ok crypto/ed25519 0.388s ok crypto/elliptic 0.044s ok crypto/hmac 0.033s ok crypto/internal/alias 0.023s ok crypto/internal/bigmod 2.258s ok crypto/internal/boring 0.024s ok crypto/internal/boring/bcache 0.337s ok crypto/internal/edwards25519 33.436s ok crypto/internal/edwards25519/field 11.476s ok crypto/internal/nistec 0.793s ok crypto/internal/nistec/fiat 0.024s [no tests to run] ok crypto/md5 0.036s ok crypto/rand 0.221s ok crypto/rc4 0.429s ok crypto/rsa 1.260s ok crypto/sha1 0.048s ok crypto/sha256 0.029s ok crypto/sha512 0.023s ok crypto/subtle 0.317s ok crypto/tls 1.429s ok crypto/x509 1.005s ok database/sql 0.331s ok database/sql/driver 0.026s ok debug/buildinfo 0.036s ok debug/dwarf 0.074s ok debug/elf 1.160s ok debug/gosym 0.267s ok debug/macho 0.034s ok debug/pe 0.045s ok debug/plan9obj 0.024s ok embed 0.024s [no tests to run] ok embed/internal/embedtest 0.022s ok encoding/ascii85 0.034s ok encoding/asn1 0.033s ok encoding/base32 0.066s ok encoding/base64 0.034s ok encoding/binary 0.034s ok encoding/csv 0.054s ok encoding/gob 17.362s ok encoding/hex 0.034s ok encoding/json 1.018s ok encoding/pem 1.644s ok encoding/xml 0.171s ok errors 0.034s ok expvar 0.024s ok flag 0.101s ok fmt 0.480s ok go/ast 0.036s ok go/build 3.695s ok go/build/constraint 0.033s ok go/constant 0.034s ok go/doc 0.217s ok go/doc/comment 1.838s ok go/format 0.055s ok go/importer 0.168s ok go/internal/gccgoimporter 0.054s ok go/internal/gcimporter 0.993s ok go/internal/srcimporter 10.863s ok go/parser 0.703s ok go/printer 1.249s ok go/scanner 0.034s ok go/token 0.115s ok go/types 28.645s ok hash 0.035s ok hash/adler32 0.034s ok hash/crc32 0.054s ok hash/crc64 0.033s ok hash/fnv 0.024s ok hash/maphash 0.024s ok html 0.023s ok html/template 0.198s ok image 0.378s ok image/color 0.045s ok image/draw 0.550s ok image/gif 0.784s ok image/jpeg 1.150s ok image/png 2.605s ok index/suffixarray 0.836s ok internal/abi 0.052s ok internal/buildcfg 0.026s ok internal/coverage/cformat 0.024s ok internal/coverage/cmerge 0.025s ok internal/coverage/pods 0.024s ok internal/coverage/slicereader 0.024s ok internal/coverage/slicewriter 0.022s ok internal/coverage/test 0.054s ok internal/cpu 0.070s ok internal/dag 0.024s ok internal/diff 0.023s ok internal/fmtsort 0.024s ok internal/fuzz 0.044s ok internal/godebug 0.023s ok internal/intern 0.239s ok internal/itoa 0.025s ok internal/poll 0.431s ok internal/profile 0.023s ok internal/reflectlite 0.248s ok internal/safefilepath 0.024s ok internal/saferio 0.241s ok internal/singleflight 0.097s ok internal/testenv 0.023s ok internal/trace 0.141s ok internal/types/errors 0.328s ok internal/unsafeheader 0.025s ok internal/xcoff 0.044s ok io 0.056s ok io/fs 0.236s ok io/ioutil 0.034s ok log 0.033s ok log/slog 0.047s ok log/slog/internal/buffer 0.024s ok log/syslog 1.247s ok maps 0.024s ok math 0.034s ok math/big 2.603s ok math/bits 0.033s ok math/cmplx 0.024s ok math/rand 2.064s ok mime 0.038s ok mime/multipart 5.432s ok mime/quotedprintable 0.055s ok net 16.261s ok net/http 6.124s ok net/http/cgi 0.432s ok net/http/cookiejar 0.036s ok net/http/fcgi 0.132s ok net/http/httptest 0.174s ok net/http/httptrace 0.025s ok net/http/httputil 0.650s ok net/http/internal 0.035s ok net/http/internal/ascii 0.024s ok net/http/pprof 5.171s ok net/internal/socktest 0.023s ok net/mail 0.034s ok net/netip 0.296s ok net/rpc 0.066s ok net/rpc/jsonrpc 0.035s ok net/smtp 0.065s ok net/textproto 0.035s ok net/url 0.033s ok os 0.508s ok os/exec 0.198s ok os/exec/internal/fdtest 0.024s ok os/signal 2.215s ok os/user 0.023s ok path 0.025s ok path/filepath 0.055s ok plugin 0.023s ok reflect 0.491s ok regexp 2.778s ok regexp/syntax 3.893s ok runtime 28.432s ok runtime/cgo 0.033s ok runtime/coverage 0.028s ok runtime/debug 0.085s ok runtime/internal/atomic 0.056s ok runtime/internal/math 0.026s ok runtime/internal/sys 0.024s ok runtime/internal/syscall 0.024s ok runtime/metrics 0.023s ok runtime/pprof 6.741s ok runtime/race 7.812s ok runtime/trace 3.385s ok slices 0.027s ok sort 0.389s ok strconv 1.984s ok strings 1.203s ok sync 0.352s ok sync/atomic 1.456s ok syscall 2.791s ok testing 0.963s ok testing/fstest 0.025s ok testing/iotest 0.024s ok testing/quick 0.158s ok text/scanner 0.037s ok text/tabwriter 0.026s ok text/template 0.086s ok text/template/parse 0.034s ok time 2.191s ok unicode 0.034s ok unicode/utf16 0.021s ok unicode/utf8 0.034s ok cmd/addr2line 1.081s ok cmd/api 5.763s ok cmd/asm/internal/asm 2.983s ok cmd/asm/internal/lex 0.024s ok cmd/compile/internal/abt 0.054s ##### 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/amd64 51.651s ##### 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/base 0.023s ok cmd/compile/internal/compare 0.023s ok cmd/compile/internal/dwarfgen 0.391s ok cmd/compile/internal/importer 0.719s ok cmd/compile/internal/ir 0.023s ok cmd/compile/internal/logopt 0.175s ok cmd/compile/internal/loopvar 14.971s ok cmd/compile/internal/noder 0.026s ok cmd/compile/internal/reflectdata 0.023s [no tests to run] ok cmd/compile/internal/ssa 20.141s ok cmd/compile/internal/syntax 0.136s ok cmd/compile/internal/test 10.199s ok cmd/compile/internal/typecheck 0.201s ok cmd/compile/internal/types 0.023s ok cmd/compile/internal/types2 7.279s ok cmd/covdata 0.023s ok cmd/cover 1.086s ok cmd/dist 0.024s ok cmd/doc 0.544s ok cmd/fix 0.587s ##### 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 38.283s ##### 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/internal/auth 0.026s ok cmd/go/internal/cache 0.081s ok cmd/go/internal/fsys 0.045s ok cmd/go/internal/generate 0.034s ok cmd/go/internal/get 0.035s ok cmd/go/internal/imports 0.034s ok cmd/go/internal/load 0.035s ok cmd/go/internal/lockedfile 0.147s ok cmd/go/internal/lockedfile/internal/filelock 0.067s ok cmd/go/internal/modconv 0.046s ok cmd/go/internal/modfetch 0.035s ok cmd/go/internal/modfetch/codehost 0.034s ok cmd/go/internal/modfetch/zip_sum_test 0.024s ok cmd/go/internal/modindex 0.510s ok cmd/go/internal/modload 0.035s ok cmd/go/internal/mvs 0.045s ok cmd/go/internal/par 0.107s ok cmd/go/internal/str 0.024s ok cmd/go/internal/test 0.036s ok cmd/go/internal/vcs 0.035s ok cmd/go/internal/vcweb 0.036s ok cmd/go/internal/vcweb/vcstest 2.881s ok cmd/go/internal/web 0.025s ok cmd/go/internal/work 0.118s ok cmd/gofmt 0.208s ok cmd/internal/archive 0.332s ok cmd/internal/buildid 0.543s ok cmd/internal/cov 0.229s ok cmd/internal/dwarf 0.024s ok cmd/internal/edit 0.025s ok cmd/internal/goobj 0.025s ok cmd/internal/moddeps 0.815s ok cmd/internal/notsha256 0.026s ok cmd/internal/obj 0.413s ok cmd/internal/obj/ppc64 0.089s ok cmd/internal/obj/riscv 0.037s ok cmd/internal/obj/s390x 0.026s ok cmd/internal/obj/x86 0.138s ok cmd/internal/objabi 0.028s ok cmd/internal/pkgpath 0.132s ok cmd/internal/pkgpattern 0.035s ok cmd/internal/quoted 0.023s ok cmd/internal/src 0.025s ok cmd/internal/test2json 0.684s ok cmd/link 2.605s ok cmd/link/internal/benchmark 0.027s ok cmd/link/internal/ld 2.414s ok cmd/link/internal/loader 0.040s ok cmd/nm 0.647s ok cmd/objdump 0.963s ok cmd/pack 0.376s ok cmd/pprof 1.392s ok cmd/trace 0.281s ok cmd/vet 7.898s ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: archive/tar cpu: AMD EPYC 7B12 Benchmark/Writer/USTAR-4 3103 36182 ns/op 1368 B/op 25 allocs/op Benchmark/Writer/GNU-4 2306 46635 ns/op 1863 B/op 37 allocs/op Benchmark/Writer/PAX-4 1657 68153 ns/op 2560 B/op 59 allocs/op Benchmark/Reader/USTAR-4 4417 24599 ns/op 5142 B/op 16 allocs/op Benchmark/Reader/GNU-4 6261 17575 ns/op 5210 B/op 15 allocs/op Benchmark/Reader/PAX-4 2103 50570 ns/op 8877 B/op 33 allocs/op PASS ok archive/tar 0.732s goos: linux goarch: amd64 pkg: archive/zip cpu: AMD EPYC 7B12 BenchmarkCompressedZipGarbage-4 1 307296569 ns/op 1642696 B/op 99 allocs/op BenchmarkZip64Test-4 1 147071490 ns/op BenchmarkZip64TestSizes/4096-4 1566 72322 ns/op BenchmarkZip64TestSizes/1048576-4 165 660949 ns/op BenchmarkZip64TestSizes/67108864-4 1 142049629 ns/op PASS ok archive/zip 1.227s goos: linux goarch: amd64 pkg: bufio cpu: AMD EPYC 7B12 BenchmarkReaderCopyOptimal-4 234538 476.3 ns/op BenchmarkReaderCopyUnoptimal-4 139164 814.2 ns/op BenchmarkReaderCopyNoWriteTo-4 8061 13754 ns/op BenchmarkReaderWriteToOptimal-4 10736 11215 ns/op BenchmarkReaderReadString-4 129194 893.1 ns/op 144 B/op 1 allocs/op BenchmarkWriterCopyOptimal-4 224590 524.8 ns/op BenchmarkWriterCopyUnoptimal-4 216763 547.7 ns/op BenchmarkWriterCopyNoReadFrom-4 10000 14709 ns/op BenchmarkReaderEmpty-4 40795 2651 ns/op 4224 B/op 3 allocs/op BenchmarkWriterEmpty-4 35794 3169 ns/op 4096 B/op 1 allocs/op BenchmarkWriterFlush-4 507536 200.1 ns/op 0 B/op 0 allocs/op PASS ok bufio 1.544s ##### 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: bytes cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadString-4 5810 20333 ns/op 1611.55 MB/s BenchmarkWriteByte-4 499 229267 ns/op 17.87 MB/s BenchmarkWriteRune-4 270 442917 ns/op 27.74 MB/s BenchmarkBufferNotEmptyWriteRead-4 28 3914053 ns/op BenchmarkBufferFullSmallReads-4 100 1044452 ns/op BenchmarkBufferWriteBlock/N4096-4 7362 15075 ns/op 14336 B/op 6 allocs/op BenchmarkBufferWriteBlock/N65536-4 428 259487 ns/op 260096 B/op 14 allocs/op BenchmarkBufferWriteBlock/N1048576-4 5 20092588 ns/op 4192256 B/op 22 allocs/op BenchmarkBufferAppendNoCopy-4 1 130677221 ns/op 128.39 MB/s 33554432 B/op 2 allocs/op BenchmarkIndexByte/10-4 4364395 24.48 ns/op 408.53 MB/s BenchmarkIndexByte/32-4 4544940 25.51 ns/op 1254.40 MB/s BenchmarkIndexByte/4K-4 911964 130.9 ns/op 31281.78 MB/s BenchmarkIndexBytePortable/10-4 803748 140.8 ns/op 71.02 MB/s BenchmarkIndexBytePortable/32-4 266092 443.9 ns/op 72.08 MB/s BenchmarkIndexBytePortable/4K-4 2242 52793 ns/op 77.59 MB/s BenchmarkIndexRune/10-4 1234490 98.32 ns/op 101.71 MB/s BenchmarkIndexRune/32-4 1236324 97.56 ns/op 328.01 MB/s BenchmarkIndexRune/4K-4 388477 304.4 ns/op 13454.22 MB/s BenchmarkIndexRuneASCII/10-4 4769968 23.85 ns/op 419.21 MB/s BenchmarkIndexRuneASCII/32-4 4476057 25.81 ns/op 1239.96 MB/s BenchmarkIndexRuneASCII/4K-4 911018 131.8 ns/op 31088.32 MB/s BenchmarkEqual/0-4 7257147 15.00 ns/op BenchmarkEqual/1-4 1469527 81.55 ns/op 12.26 MB/s BenchmarkEqual/6-4 1476930 78.15 ns/op 76.77 MB/s BenchmarkEqual/9-4 1514964 78.51 ns/op 114.64 MB/s BenchmarkEqual/15-4 1484162 79.91 ns/op 187.71 MB/s BenchmarkEqual/16-4 1600148 75.16 ns/op 212.88 MB/s BenchmarkEqual/20-4 1443654 81.87 ns/op 244.30 MB/s BenchmarkEqual/32-4 1494141 80.23 ns/op 398.84 MB/s BenchmarkEqual/4K-4 107376 1103 ns/op 3713.09 MB/s BenchmarkIndex/10-4 3351062 35.47 ns/op 281.97 MB/s BenchmarkIndex/32-4 3178668 37.56 ns/op 851.88 MB/s BenchmarkIndex/4K-4 18242 6534 ns/op 626.90 MB/s BenchmarkIndexEasy/10-4 3118333 36.55 ns/op 273.60 MB/s BenchmarkIndexEasy/32-4 3099165 37.53 ns/op 852.66 MB/s BenchmarkIndexEasy/4K-4 496699 239.0 ns/op 17139.55 MB/s BenchmarkCount/10-4 1521646 78.24 ns/op 127.81 MB/s BenchmarkCount/32-4 1519592 78.26 ns/op 408.92 MB/s BenchmarkCount/4K-4 18027 6589 ns/op 621.64 MB/s BenchmarkCountEasy/10-4 1561645 76.62 ns/op 130.52 MB/s BenchmarkCountEasy/32-4 1524026 78.10 ns/op 409.75 MB/s BenchmarkCountEasy/4K-4 408588 281.8 ns/op 14536.77 MB/s BenchmarkCountSingle/10-4 3958676 30.46 ns/op 328.26 MB/s BenchmarkCountSingle/32-4 3723379 32.21 ns/op 993.43 MB/s BenchmarkCountSingle/4K-4 806823 141.2 ns/op 29005.05 MB/s BenchmarkToUpper/#00-4 2883211 41.11 ns/op BenchmarkToUpper/ONLYUPPER-4 314890 381.0 ns/op BenchmarkToUpper/abc-4 491978 229.8 ns/op BenchmarkToUpper/AbC123-4 290116 399.6 ns/op BenchmarkToUpper/azAZ09_-4 273595 437.5 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 81450 1453 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 41094 2842 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 55608 2148 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 126781 914.8 ns/op BenchmarkToLower/#00-4 2912098 41.71 ns/op BenchmarkToLower/abc-4 476151 259.4 ns/op BenchmarkToLower/AbC123-4 271950 397.7 ns/op BenchmarkToLower/azAZ09_-4 274878 436.3 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 82424 1472 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 41293 2914 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 69607 1688 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 124244 962.2 ns/op BenchmarkFields/ASCII/16-4 122577 949.4 ns/op 16.85 MB/s 80 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 9025 13165 ns/op 19.45 MB/s 576 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 565 205208 ns/op 19.96 MB/s 9472 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 30 3831402 ns/op 17.10 MB/s 147456 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 2 59939256 ns/op 17.49 MB/s 2277376 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 88386 1340 ns/op 11.94 MB/s 24 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 6015 19289 ns/op 13.27 MB/s 576 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 364 318624 ns/op 12.86 MB/s 24832 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 18 6349135 ns/op 10.32 MB/s 512256 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 1 121831552 ns/op 8.61 MB/s 11219200 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 146332 791.2 ns/op 20.22 MB/s 80 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 12506 9535 ns/op 26.85 MB/s 576 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 675 167759 ns/op 24.42 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 32 3821552 ns/op 17.15 MB/s 512256 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 84333672 ns/op 12.43 MB/s 11219200 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 122263 972.5 ns/op 16.45 MB/s 24 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 9212 13096 ns/op 19.55 MB/s 576 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 504 224443 ns/op 18.25 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 22 4774068 ns/op 13.73 MB/s 512256 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 1 100410757 ns/op 10.44 MB/s 11219200 B/op 24 allocs/op BenchmarkTrimSpace/NoTrim-4 2052532 59.17 ns/op BenchmarkTrimSpace/ASCII-4 1000000 112.2 ns/op BenchmarkTrimSpace/SomeNonASCII-4 107559 1073 ns/op BenchmarkTrimSpace/JustNonASCII-4 50949 2352 ns/op BenchmarkToValidUTF8/Valid-4 491774 246.3 ns/op BenchmarkToValidUTF8/InvalidASCII-4 327504 350.9 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 96723 1217 ns/op BenchmarkIndexHard1-4 802 142421 ns/op BenchmarkIndexHard2-4 590 199817 ns/op BenchmarkIndexHard3-4 151 790348 ns/op BenchmarkIndexHard4-4 184 638155 ns/op BenchmarkLastIndexHard1-4 5 22153550 ns/op BenchmarkLastIndexHard2-4 4 28511964 ns/op BenchmarkLastIndexHard3-4 4 31229423 ns/op BenchmarkCountHard1-4 840 141716 ns/op BenchmarkCountHard2-4 603 199158 ns/op BenchmarkCountHard3-4 150 797153 ns/op BenchmarkSplitEmptySeparator-4 1 170271198 ns/op BenchmarkSplitSingleByteSeparator-4 10 11332078 ns/op BenchmarkSplitMultiByteSeparator-4 12 9804048 ns/op BenchmarkSplitNSingleByteSeparator-4 204475 588.1 ns/op BenchmarkSplitNMultiByteSeparator-4 69345 1576 ns/op BenchmarkRepeat-4 186799 603.7 ns/op BenchmarkRepeatLarge/256/1-4 150589 775.2 ns/op 330.23 MB/s BenchmarkRepeatLarge/256/16-4 233569 515.9 ns/op 496.24 MB/s BenchmarkRepeatLarge/512/1-4 118622 1024 ns/op 500.12 MB/s BenchmarkRepeatLarge/512/16-4 152731 747.2 ns/op 685.19 MB/s BenchmarkRepeatLarge/1024/1-4 70378 1566 ns/op 654.02 MB/s BenchmarkRepeatLarge/1024/16-4 94813 1272 ns/op 804.80 MB/s BenchmarkRepeatLarge/2048/1-4 44194 2627 ns/op 779.50 MB/s BenchmarkRepeatLarge/2048/16-4 48326 2266 ns/op 903.88 MB/s BenchmarkRepeatLarge/4096/1-4 25513 4447 ns/op 921.01 MB/s BenchmarkRepeatLarge/4096/16-4 27945 4201 ns/op 975.04 MB/s BenchmarkRepeatLarge/8192/1-4 14883 8336 ns/op 982.70 MB/s BenchmarkRepeatLarge/8192/16-4 14967 7552 ns/op 1084.75 MB/s BenchmarkRepeatLarge/8192/4097-4 24538 4725 ns/op 867.03 MB/s BenchmarkRepeatLarge/16384/1-4 9080 14552 ns/op 1125.91 MB/s BenchmarkRepeatLarge/16384/16-4 8046 13912 ns/op 1177.70 MB/s BenchmarkRepeatLarge/16384/4097-4 9433 11482 ns/op 1070.48 MB/s BenchmarkRepeatLarge/32768/1-4 4412 25843 ns/op 1267.95 MB/s BenchmarkRepeatLarge/32768/16-4 3925 26950 ns/op 1215.87 MB/s BenchmarkRepeatLarge/32768/4097-4 4549 25703 ns/op 1115.78 MB/s BenchmarkRepeatLarge/65536/1-4 2442 51601 ns/op 1270.06 MB/s BenchmarkRepeatLarge/65536/16-4 1998 52217 ns/op 1255.07 MB/s BenchmarkRepeatLarge/65536/4097-4 2191 50508 ns/op 1216.74 MB/s BenchmarkRepeatLarge/131072/1-4 208 544011 ns/op 240.94 MB/s BenchmarkRepeatLarge/131072/16-4 219 524041 ns/op 250.12 MB/s BenchmarkRepeatLarge/131072/4097-4 228 519089 ns/op 244.67 MB/s BenchmarkRepeatLarge/262144/1-4 97 1109249 ns/op 236.33 MB/s BenchmarkRepeatLarge/262144/16-4 100 1049775 ns/op 249.71 MB/s BenchmarkRepeatLarge/262144/4097-4 100 1044206 ns/op 247.18 MB/s BenchmarkRepeatLarge/524288/1-4 60 2130357 ns/op 246.10 MB/s BenchmarkRepeatLarge/524288/16-4 57 2086117 ns/op 251.32 MB/s BenchmarkRepeatLarge/524288/4097-4 61 2042653 ns/op 254.73 MB/s BenchmarkRepeatLarge/1048576/1-4 27 4174483 ns/op 251.19 MB/s BenchmarkRepeatLarge/1048576/16-4 30 4131896 ns/op 253.78 MB/s BenchmarkRepeatLarge/1048576/4097-4 30 4130448 ns/op 252.94 MB/s BenchmarkRepeatLarge/2097152/1-4 15 7971740 ns/op 263.07 MB/s BenchmarkRepeatLarge/2097152/16-4 14 7940792 ns/op 264.10 MB/s BenchmarkRepeatLarge/2097152/4097-4 14 8091926 ns/op 258.72 MB/s BenchmarkRepeatLarge/4194304/1-4 7 15534115 ns/op 270.01 MB/s BenchmarkRepeatLarge/4194304/16-4 7 15932148 ns/op 263.26 MB/s BenchmarkRepeatLarge/4194304/4097-4 7 16597136 ns/op 252.53 MB/s BenchmarkRepeatLarge/8388608/1-4 4 31337250 ns/op 267.69 MB/s BenchmarkRepeatLarge/8388608/16-4 4 31425250 ns/op 266.94 MB/s BenchmarkRepeatLarge/8388608/4097-4 4 31198544 ns/op 268.81 MB/s BenchmarkRepeatLarge/16777216/1-4 2 66344607 ns/op 252.88 MB/s BenchmarkRepeatLarge/16777216/16-4 2 61165544 ns/op 274.29 MB/s BenchmarkRepeatLarge/16777216/4097-4 2 61377734 ns/op 273.34 MB/s BenchmarkRepeatLarge/33554432/1-4 1 121118473 ns/op 277.04 MB/s BenchmarkRepeatLarge/33554432/16-4 1 118293773 ns/op 283.65 MB/s BenchmarkRepeatLarge/33554432/4097-4 1 120768071 ns/op 277.84 MB/s BenchmarkRepeatLarge/67108864/1-4 1 231746080 ns/op 289.58 MB/s BenchmarkRepeatLarge/67108864/16-4 1 237438045 ns/op 282.64 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 239869074 ns/op 279.77 MB/s BenchmarkRepeatLarge/134217728/1-4 1 467532198 ns/op 287.08 MB/s BenchmarkRepeatLarge/134217728/16-4 1 472490149 ns/op 284.06 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 463635928 ns/op 289.49 MB/s BenchmarkRepeatLarge/268435456/1-4 1 921414824 ns/op 291.33 MB/s BenchmarkRepeatLarge/268435456/16-4 1 919269639 ns/op 292.01 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 949010115 ns/op 282.86 MB/s BenchmarkRepeatLarge/536870912/1-4 1 1831377503 ns/op 293.15 MB/s BenchmarkRepeatLarge/536870912/16-4 1 1836885323 ns/op 292.27 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 1833012513 ns/op 292.89 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 3932233169 ns/op 273.06 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 3717261273 ns/op 288.85 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 3732933888 ns/op 287.64 MB/s BenchmarkBytesCompare/1-4 8819365 12.52 ns/op BenchmarkBytesCompare/2-4 8819955 12.86 ns/op BenchmarkBytesCompare/4-4 9344757 12.81 ns/op BenchmarkBytesCompare/8-4 9984144 11.83 ns/op BenchmarkBytesCompare/16-4 10150437 11.92 ns/op BenchmarkBytesCompare/32-4 9219330 13.13 ns/op BenchmarkBytesCompare/64-4 8177655 14.76 ns/op BenchmarkBytesCompare/128-4 7809374 15.47 ns/op BenchmarkBytesCompare/256-4 5493097 19.65 ns/op BenchmarkBytesCompare/512-4 3955438 30.27 ns/op BenchmarkBytesCompare/1024-4 2480625 48.60 ns/op BenchmarkBytesCompare/2048-4 1424979 85.01 ns/op BenchmarkIndexAnyASCII/1:1-4 2337417 49.69 ns/op BenchmarkIndexAnyASCII/1:2-4 2373208 48.35 ns/op BenchmarkIndexAnyASCII/1:4-4 2391909 48.47 ns/op BenchmarkIndexAnyASCII/1:8-4 2398080 48.30 ns/op BenchmarkIndexAnyASCII/1:16-4 2470138 47.66 ns/op BenchmarkIndexAnyASCII/1:32-4 2378457 49.51 ns/op BenchmarkIndexAnyASCII/1:64-4 2387360 47.90 ns/op BenchmarkIndexAnyASCII/16:1-4 2152383 54.79 ns/op BenchmarkIndexAnyASCII/16:2-4 420745 271.0 ns/op BenchmarkIndexAnyASCII/16:4-4 414922 272.8 ns/op BenchmarkIndexAnyASCII/16:8-4 397023 276.0 ns/op BenchmarkIndexAnyASCII/16:16-4 391798 294.4 ns/op BenchmarkIndexAnyASCII/16:32-4 371316 316.6 ns/op BenchmarkIndexAnyASCII/16:64-4 320684 371.3 ns/op BenchmarkIndexAnyASCII/256:1-4 1928668 61.64 ns/op BenchmarkIndexAnyASCII/256:2-4 33561 3612 ns/op BenchmarkIndexAnyASCII/256:4-4 33151 3580 ns/op BenchmarkIndexAnyASCII/256:8-4 34014 3559 ns/op BenchmarkIndexAnyASCII/256:16-4 33246 3585 ns/op BenchmarkIndexAnyASCII/256:32-4 32904 3652 ns/op BenchmarkIndexAnyASCII/256:64-4 32414 3694 ns/op BenchmarkIndexAnyUTF8/1:1-4 2349877 50.29 ns/op BenchmarkIndexAnyUTF8/1:2-4 2398250 48.40 ns/op BenchmarkIndexAnyUTF8/1:4-4 2392789 48.72 ns/op BenchmarkIndexAnyUTF8/1:8-4 2376058 48.70 ns/op BenchmarkIndexAnyUTF8/1:16-4 2460601 48.24 ns/op BenchmarkIndexAnyUTF8/1:32-4 2385922 48.78 ns/op BenchmarkIndexAnyUTF8/1:64-4 2423749 48.63 ns/op BenchmarkIndexAnyUTF8/16:1-4 150020 788.6 ns/op BenchmarkIndexAnyUTF8/16:2-4 264249 439.1 ns/op BenchmarkIndexAnyUTF8/16:4-4 263084 439.0 ns/op BenchmarkIndexAnyUTF8/16:8-4 263042 439.9 ns/op BenchmarkIndexAnyUTF8/16:16-4 273296 436.0 ns/op BenchmarkIndexAnyUTF8/16:32-4 259521 455.2 ns/op BenchmarkIndexAnyUTF8/16:64-4 261918 462.1 ns/op BenchmarkIndexAnyUTF8/256:1-4 9729 11802 ns/op BenchmarkIndexAnyUTF8/256:2-4 18810 6289 ns/op BenchmarkIndexAnyUTF8/256:4-4 19080 6323 ns/op BenchmarkIndexAnyUTF8/256:8-4 18919 6408 ns/op BenchmarkIndexAnyUTF8/256:16-4 19308 6241 ns/op BenchmarkIndexAnyUTF8/256:32-4 18661 6448 ns/op BenchmarkIndexAnyUTF8/256:64-4 18212 6558 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2263114 51.35 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2343948 50.50 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2300491 50.28 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2332208 50.09 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2327251 50.10 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2284508 50.55 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2284520 49.75 ns/op BenchmarkLastIndexAnyASCII/16:1-4 328464 362.8 ns/op BenchmarkLastIndexAnyASCII/16:2-4 327081 358.8 ns/op BenchmarkLastIndexAnyASCII/16:4-4 310317 360.1 ns/op BenchmarkLastIndexAnyASCII/16:8-4 318241 367.9 ns/op BenchmarkLastIndexAnyASCII/16:16-4 303381 380.7 ns/op BenchmarkLastIndexAnyASCII/16:32-4 285452 407.6 ns/op BenchmarkLastIndexAnyASCII/16:64-4 256852 455.9 ns/op BenchmarkLastIndexAnyASCII/256:1-4 23804 5074 ns/op BenchmarkLastIndexAnyASCII/256:2-4 23791 4967 ns/op BenchmarkLastIndexAnyASCII/256:4-4 24122 4941 ns/op BenchmarkLastIndexAnyASCII/256:8-4 24022 4970 ns/op BenchmarkLastIndexAnyASCII/256:16-4 23802 5017 ns/op BenchmarkLastIndexAnyASCII/256:32-4 23673 5018 ns/op BenchmarkLastIndexAnyASCII/256:64-4 23630 5115 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2363464 49.60 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2435977 48.70 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2440596 48.03 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2447994 48.15 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2458734 47.76 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2415127 48.62 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2436081 48.44 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 230619 486.8 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 262986 437.8 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 272787 440.5 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 268340 441.4 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 272724 431.2 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 256556 442.8 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 264224 449.2 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 17226 6924 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 19032 6317 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 19353 6256 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 19167 6197 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 19423 6196 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 18850 6393 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 18493 6509 ns/op BenchmarkTrimASCII/1:1-4 2579919 45.10 ns/op BenchmarkTrimASCII/1:2-4 2195679 54.61 ns/op BenchmarkTrimASCII/1:4-4 2137084 55.85 ns/op BenchmarkTrimASCII/1:8-4 1950772 61.48 ns/op BenchmarkTrimASCII/1:16-4 1652798 72.51 ns/op BenchmarkTrimASCII/16:1-4 437172 267.5 ns/op BenchmarkTrimASCII/16:2-4 323936 369.0 ns/op BenchmarkTrimASCII/16:4-4 315908 371.0 ns/op BenchmarkTrimASCII/16:8-4 322249 366.5 ns/op BenchmarkTrimASCII/16:16-4 308215 379.6 ns/op BenchmarkTrimASCII/256:1-4 34461 3461 ns/op BenchmarkTrimASCII/256:2-4 23192 5045 ns/op BenchmarkTrimASCII/256:4-4 23446 5124 ns/op BenchmarkTrimASCII/256:8-4 23256 5046 ns/op BenchmarkTrimASCII/256:16-4 23553 5041 ns/op BenchmarkTrimASCII/4096:1-4 2158 54776 ns/op BenchmarkTrimASCII/4096:2-4 1495 80610 ns/op BenchmarkTrimASCII/4096:4-4 1480 80662 ns/op BenchmarkTrimASCII/4096:8-4 1480 79821 ns/op BenchmarkTrimASCII/4096:16-4 1480 79767 ns/op BenchmarkTrimByte-4 1553340 76.80 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 13155 9109 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 13086 9086 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 684 170969 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 1341 85819 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 2626 42959 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 4696 23211 ns/op BenchmarkCompareBytesEqual-4 10375100 10.66 ns/op BenchmarkCompareBytesToNil-4 11763651 10.07 ns/op BenchmarkCompareBytesEmpty-4 11669406 9.019 ns/op BenchmarkCompareBytesIdentical-4 11857272 8.887 ns/op BenchmarkCompareBytesSameLength-4 10419397 10.41 ns/op BenchmarkCompareBytesDifferentLength-4 10582128 10.62 ns/op BenchmarkCompareBytesBigUnaligned/offset=1-4 1388 85670 ns/op 12239.77 MB/s BenchmarkCompareBytesBigUnaligned/offset=2-4 1377 85361 ns/op 12284.18 MB/s BenchmarkCompareBytesBigUnaligned/offset=3-4 1387 80546 ns/op 13018.40 MB/s BenchmarkCompareBytesBigUnaligned/offset=4-4 1384 85220 ns/op 12304.44 MB/s BenchmarkCompareBytesBigUnaligned/offset=5-4 1398 85278 ns/op 12296.13 MB/s BenchmarkCompareBytesBigUnaligned/offset=6-4 1387 85598 ns/op 12250.17 MB/s BenchmarkCompareBytesBigUnaligned/offset=7-4 1386 80189 ns/op 13076.42 MB/s BenchmarkCompareBytesBig-4 1366 82985 ns/op 12635.85 MB/s BenchmarkCompareBytesBigIdentical-4 12741358 9.399 ns/op 111569294.43 MB/s PASS ok bytes 69.359s ##### 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: compress/bzip2 cpu: AMD EPYC 7B12 BenchmarkDecodeDigits-4 2 70242085 ns/op 1.42 MB/s 3612268 B/op 51 allocs/op BenchmarkDecodeNewton-4 1 278100489 ns/op 2.04 MB/s 3629856 B/op 50 allocs/op BenchmarkDecodeRand-4 5 21604026 ns/op 0.76 MB/s 3646766 B/op 52 allocs/op PASS ok compress/bzip2 1.231s goos: linux goarch: amd64 pkg: compress/flate cpu: AMD EPYC 7B12 BenchmarkDecode/Digits/Huffman/1e4-4 68 1746333 ns/op 5.73 MB/s 42589 B/op 5 allocs/op BenchmarkDecode/Digits/Huffman/1e5-4 7 15579759 ns/op 6.42 MB/s 44123 B/op 6 allocs/op BenchmarkDecode/Digits/Huffman/1e6-4 1 156887049 ns/op 6.37 MB/s 49264 B/op 9 allocs/op BenchmarkDecode/Digits/Speed/1e4-4 66 1731746 ns/op 5.77 MB/s 42607 B/op 8 allocs/op BenchmarkDecode/Digits/Speed/1e5-4 6 18967396 ns/op 5.27 MB/s 47749 B/op 13 allocs/op BenchmarkDecode/Digits/Speed/1e6-4 1 191839018 ns/op 5.21 MB/s 53024 B/op 77 allocs/op BenchmarkDecode/Digits/Default/1e4-4 62 1841636 ns/op 5.43 MB/s 43359 B/op 7 allocs/op BenchmarkDecode/Digits/Default/1e5-4 6 17909152 ns/op 5.58 MB/s 45002 B/op 14 allocs/op BenchmarkDecode/Digits/Default/1e6-4 1 170915538 ns/op 5.85 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Digits/Compression/1e4-4 67 1848163 ns/op 5.41 MB/s 43518 B/op 7 allocs/op BenchmarkDecode/Digits/Compression/1e5-4 6 17872982 ns/op 5.60 MB/s 42264 B/op 13 allocs/op BenchmarkDecode/Digits/Compression/1e6-4 1 170116390 ns/op 5.88 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Newton/Huffman/1e4-4 61 1930550 ns/op 5.18 MB/s 43799 B/op 14 allocs/op BenchmarkDecode/Newton/Huffman/1e5-4 6 17031556 ns/op 5.87 MB/s 49202 B/op 24 allocs/op BenchmarkDecode/Newton/Huffman/1e6-4 1 173493779 ns/op 5.76 MB/s 88512 B/op 165 allocs/op BenchmarkDecode/Newton/Speed/1e4-4 70 1561098 ns/op 6.41 MB/s 43146 B/op 18 allocs/op BenchmarkDecode/Newton/Speed/1e5-4 8 13460928 ns/op 7.43 MB/s 46858 B/op 32 allocs/op BenchmarkDecode/Newton/Speed/1e6-4 1 129121720 ns/op 7.74 MB/s 89696 B/op 232 allocs/op BenchmarkDecode/Newton/Default/1e4-4 78 1339855 ns/op 7.46 MB/s 43370 B/op 15 allocs/op BenchmarkDecode/Newton/Default/1e5-4 10 10062156 ns/op 9.94 MB/s 44575 B/op 32 allocs/op BenchmarkDecode/Newton/Default/1e6-4 1 106259570 ns/op 9.41 MB/s 70320 B/op 162 allocs/op BenchmarkDecode/Newton/Compression/1e4-4 86 1335680 ns/op 7.49 MB/s 43058 B/op 15 allocs/op BenchmarkDecode/Newton/Compression/1e5-4 10 10044899 ns/op 9.96 MB/s 45396 B/op 32 allocs/op BenchmarkDecode/Newton/Compression/1e6-4 1 100899739 ns/op 9.91 MB/s 72120 B/op 154 allocs/op BenchmarkEncode/Digits/Huffman/1e4-4 100 1058359 ns/op 9.45 MB/s BenchmarkEncode/Digits/Huffman/1e5-4 12 10080866 ns/op 9.92 MB/s BenchmarkEncode/Digits/Huffman/1e6-4 1 106987809 ns/op 9.35 MB/s BenchmarkEncode/Digits/Speed/1e4-4 54 2131610 ns/op 4.69 MB/s BenchmarkEncode/Digits/Speed/1e5-4 6 18925742 ns/op 5.28 MB/s BenchmarkEncode/Digits/Speed/1e6-4 1 184344719 ns/op 5.42 MB/s BenchmarkEncode/Digits/Default/1e4-4 18 5992218 ns/op 1.67 MB/s BenchmarkEncode/Digits/Default/1e5-4 2 66836006 ns/op 1.50 MB/s BenchmarkEncode/Digits/Default/1e6-4 1 687635878 ns/op 1.45 MB/s BenchmarkEncode/Digits/Compression/1e4-4 19 6066194 ns/op 1.65 MB/s BenchmarkEncode/Digits/Compression/1e5-4 2 66363300 ns/op 1.51 MB/s BenchmarkEncode/Digits/Compression/1e6-4 1 670331930 ns/op 1.49 MB/s BenchmarkEncode/Newton/Huffman/1e4-4 84 1291205 ns/op 7.74 MB/s BenchmarkEncode/Newton/Huffman/1e5-4 10 11288433 ns/op 8.86 MB/s BenchmarkEncode/Newton/Huffman/1e6-4 1 113787730 ns/op 8.79 MB/s BenchmarkEncode/Newton/Speed/1e4-4 56 1982290 ns/op 5.04 MB/s BenchmarkEncode/Newton/Speed/1e5-4 7 14877479 ns/op 6.72 MB/s BenchmarkEncode/Newton/Speed/1e6-4 1 140793360 ns/op 7.10 MB/s BenchmarkEncode/Newton/Default/1e4-4 19 5926549 ns/op 1.69 MB/s BenchmarkEncode/Newton/Default/1e5-4 2 59742015 ns/op 1.67 MB/s BenchmarkEncode/Newton/Default/1e6-4 1 598016218 ns/op 1.67 MB/s BenchmarkEncode/Newton/Compression/1e4-4 18 5873640 ns/op 1.70 MB/s BenchmarkEncode/Newton/Compression/1e5-4 2 76268014 ns/op 1.31 MB/s BenchmarkEncode/Newton/Compression/1e6-4 1 770296298 ns/op 1.30 MB/s PASS ok compress/flate 13.052s goos: linux goarch: amd64 pkg: compress/lzw cpu: AMD EPYC 7B12 BenchmarkDecoder/1e4-4 50 2156160 ns/op 4.64 MB/s BenchmarkDecoder/1e-Reuse4-4 49 2440181 ns/op 4.10 MB/s BenchmarkDecoder/1e5-4 5 22537648 ns/op 4.44 MB/s BenchmarkDecoder/1e-Reuse5-4 5 21686368 ns/op 4.61 MB/s BenchmarkDecoder/1e6-4 1 210451250 ns/op 4.75 MB/s BenchmarkDecoder/1e-Reuse6-4 1 218787221 ns/op 4.57 MB/s BenchmarkEncoder/1e4-4 60 1773985 ns/op 5.64 MB/s BenchmarkEncoder/1e-Reuse4-4 61 1684854 ns/op 5.94 MB/s BenchmarkEncoder/1e5-4 6 17146640 ns/op 5.83 MB/s BenchmarkEncoder/1e-Reuse5-4 6 17000176 ns/op 5.88 MB/s BenchmarkEncoder/1e6-4 1 189389910 ns/op 5.28 MB/s BenchmarkEncoder/1e-Reuse6-4 1 186291079 ns/op 5.37 MB/s PASS ok compress/lzw 2.477s goos: linux goarch: amd64 pkg: container/heap cpu: AMD EPYC 7B12 BenchmarkDup-4 31 3626376 ns/op PASS ok container/heap 0.228s goos: linux goarch: amd64 pkg: context cpu: AMD EPYC 7B12 BenchmarkCommonParentCancel-4 19822 6092 ns/op BenchmarkWithTimeout/concurrency=40-4 4346 24425 ns/op BenchmarkWithTimeout/concurrency=4000-4 4748 25522 ns/op BenchmarkWithTimeout/concurrency=400000-4 6134 21374 ns/op BenchmarkCancelTree/depth=1/Root=Background-4 368937 297.5 ns/op BenchmarkCancelTree/depth=1/Root=OpenCanceler-4 15128 7919 ns/op BenchmarkCancelTree/depth=1/Root=ClosedCanceler-4 18786 5956 ns/op BenchmarkCancelTree/depth=10/Root=Background-4 2926 46682 ns/op BenchmarkCancelTree/depth=10/Root=OpenCanceler-4 2066 53504 ns/op BenchmarkCancelTree/depth=10/Root=ClosedCanceler-4 3100 36885 ns/op BenchmarkCancelTree/depth=100/Root=Background-4 316 391951 ns/op BenchmarkCancelTree/depth=100/Root=OpenCanceler-4 225 549280 ns/op BenchmarkCancelTree/depth=100/Root=ClosedCanceler-4 332 365776 ns/op BenchmarkCancelTree/depth=1000/Root=Background-4 30 3972165 ns/op BenchmarkCancelTree/depth=1000/Root=OpenCanceler-4 18 6333956 ns/op BenchmarkCancelTree/depth=1000/Root=ClosedCanceler-4 31 3600670 ns/op BenchmarkCheckCanceled/Err-4 285614 406.2 ns/op BenchmarkCheckCanceled/Done-4 527661 219.6 ns/op BenchmarkContextCancelDone-4 714986 170.1 ns/op BenchmarkDeepValueNewGoRoutine/depth=10-4 22254 5621 ns/op BenchmarkDeepValueNewGoRoutine/depth=20-4 15248 7162 ns/op BenchmarkDeepValueNewGoRoutine/depth=30-4 16389 8024 ns/op BenchmarkDeepValueNewGoRoutine/depth=50-4 13021 9806 ns/op BenchmarkDeepValueNewGoRoutine/depth=100-4 8618 14917 ns/op BenchmarkDeepValueSameGoRoutine/depth=10-4 571866 189.8 ns/op BenchmarkDeepValueSameGoRoutine/depth=20-4 349297 327.9 ns/op BenchmarkDeepValueSameGoRoutine/depth=30-4 235252 486.4 ns/op BenchmarkDeepValueSameGoRoutine/depth=50-4 149146 744.5 ns/op BenchmarkDeepValueSameGoRoutine/depth=100-4 81921 1444 ns/op PASS ok context 11.267s goos: linux goarch: amd64 pkg: crypto/aes cpu: AMD EPYC 7B12 BenchmarkEncrypt-4 2334672 51.14 ns/op 312.85 MB/s BenchmarkDecrypt-4 2155065 50.88 ns/op 314.48 MB/s BenchmarkExpand-4 1663069 73.82 ns/op PASS ok crypto/aes 0.575s goos: linux goarch: amd64 pkg: crypto/cipher cpu: AMD EPYC 7B12 BenchmarkAESGCM/Open-128-64-4 221250 523.6 ns/op 122.23 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-64-4 448102 252.9 ns/op 253.05 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-64-4 221416 536.5 ns/op 119.30 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-64-4 437230 265.9 ns/op 240.68 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-1350-4 136393 873.3 ns/op 1545.91 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-1350-4 193520 610.6 ns/op 2211.04 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-1350-4 130068 924.7 ns/op 1460.00 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-1350-4 174768 665.0 ns/op 2030.05 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-8192-4 45216 2651 ns/op 3089.98 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-8192-4 51111 2291 ns/op 3575.56 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-8192-4 42124 2821 ns/op 2904.14 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-8192-4 46755 2542 ns/op 3223.10 MB/s 0 B/op 0 allocs/op BenchmarkAESCFBEncrypt1K-4 7388 15536 ns/op 65.59 MB/s BenchmarkAESCFBDecrypt1K-4 7716 15473 ns/op 65.86 MB/s BenchmarkAESCFBDecrypt8K-4 1003 119704 ns/op 68.39 MB/s BenchmarkAESOFB1K-4 10000 10325 ns/op 98.69 MB/s BenchmarkAESCTR1K-4 15859 7543 ns/op 135.09 MB/s BenchmarkAESCTR8K-4 1987 60327 ns/op 135.71 MB/s BenchmarkAESCBCEncrypt1K-4 16646 7259 ns/op 141.06 MB/s BenchmarkAESCBCDecrypt1K-4 22669 5250 ns/op 195.03 MB/s PASS ok crypto/cipher 2.804s goos: linux goarch: amd64 pkg: crypto/des cpu: AMD EPYC 7B12 BenchmarkEncrypt-4 88734 1332 ns/op 6.01 MB/s BenchmarkDecrypt-4 90496 1328 ns/op 6.02 MB/s BenchmarkTDESEncrypt-4 34752 3475 ns/op 2.30 MB/s BenchmarkTDESDecrypt-4 34214 3491 ns/op 2.29 MB/s PASS ok crypto/des 0.615s goos: linux goarch: amd64 pkg: crypto/ecdh cpu: AMD EPYC 7B12 BenchmarkECDH/P256-4 1174 99732 ns/op 760 B/op 12 allocs/op BenchmarkECDH/P384-4 15 7685605 ns/op 1088 B/op 21 allocs/op BenchmarkECDH/P521-4 5 21307528 ns/op 1531 B/op 21 allocs/op BenchmarkECDH/X25519-4 96 1171512 ns/op 376 B/op 9 allocs/op PASS ok crypto/ecdh 0.704s goos: linux goarch: amd64 pkg: crypto/ecdsa cpu: AMD EPYC 7B12 BenchmarkSign/P256-4 1995 57749 ns/op 2544 B/op 33 allocs/op BenchmarkSign/P384-4 51 2310662 ns/op 2712 B/op 34 allocs/op BenchmarkSign/P521-4 21 5660434 ns/op 3095 B/op 35 allocs/op BenchmarkVerify/P256-4 1107 105590 ns/op 480 B/op 10 allocs/op BenchmarkVerify/P384-4 15 7194899 ns/op 640 B/op 14 allocs/op BenchmarkVerify/P521-4 6 18763187 ns/op 960 B/op 14 allocs/op BenchmarkGenerateKey/P256-4 4622 23982 ns/op 927 B/op 14 allocs/op BenchmarkGenerateKey/P384-4 67 1616706 ns/op 1127 B/op 17 allocs/op BenchmarkGenerateKey/P521-4 24 4866629 ns/op 1446 B/op 17 allocs/op PASS ok crypto/ecdsa 1.435s goos: linux goarch: amd64 pkg: crypto/ed25519 cpu: AMD EPYC 7B12 BenchmarkKeyGeneration-4 318 339249 ns/op BenchmarkNewKeyFromSeed-4 310 350071 ns/op BenchmarkSigning-4 301 367893 ns/op BenchmarkVerification-4 205 538607 ns/op PASS ok crypto/ed25519 0.625s goos: linux goarch: amd64 pkg: crypto/elliptic cpu: AMD EPYC 7B12 BenchmarkScalarBaseMult/P256-4 6241 18378 ns/op 368 B/op 6 allocs/op BenchmarkScalarBaseMult/P224-4 176 661416 ns/op 376 B/op 9 allocs/op BenchmarkScalarBaseMult/P384-4 61 1897230 ns/op 504 B/op 9 allocs/op BenchmarkScalarBaseMult/P521-4 25 4839357 ns/op 696 B/op 9 allocs/op BenchmarkScalarMult/P256-4 1654 71145 ns/op 448 B/op 7 allocs/op BenchmarkScalarMult/P224-4 69 1681089 ns/op 440 B/op 10 allocs/op BenchmarkScalarMult/P384-4 24 4835775 ns/op 616 B/op 10 allocs/op BenchmarkScalarMult/P521-4 7 14773428 ns/op 840 B/op 10 allocs/op BenchmarkMarshalUnmarshal/P256/Uncompressed-4 13846 8282 ns/op 544 B/op 8 allocs/op BenchmarkMarshalUnmarshal/P256/Compressed-4 6795 17196 ns/op 592 B/op 9 allocs/op BenchmarkMarshalUnmarshal/P224/Uncompressed-4 3939 26897 ns/op 560 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P224/Compressed-4 86 1256457 ns/op 592 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P384/Uncompressed-4 2716 43328 ns/op 784 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P384/Compressed-4 322 338405 ns/op 848 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P521/Uncompressed-4 1728 69056 ns/op 1104 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P521/Compressed-4 93 1168218 ns/op 1184 B/op 15 allocs/op PASS ok crypto/elliptic 2.270s goos: linux goarch: amd64 pkg: crypto/hmac cpu: AMD EPYC 7B12 BenchmarkHMACSHA256_1K-4 16275 7313 ns/op 140.03 MB/s BenchmarkHMACSHA256_32-4 25462 4719 ns/op 6.78 MB/s BenchmarkNewWriteSum-4 12937 8610 ns/op 3.72 MB/s PASS ok crypto/hmac 0.597s goos: linux goarch: amd64 pkg: crypto/internal/bigmod cpu: AMD EPYC 7B12 BenchmarkModAdd-4 66351 1786 ns/op BenchmarkModSub-4 82160 1431 ns/op BenchmarkMontgomeryRepr-4 26898 4483 ns/op BenchmarkMontgomeryMul-4 27678 4262 ns/op BenchmarkModMul-4 13309 8999 ns/op BenchmarkExpBig-4 18 6378133 ns/op BenchmarkExp-4 7 16659514 ns/op PASS ok crypto/internal/bigmod 1.152s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519 cpu: AMD EPYC 7B12 BenchmarkEncodingDecoding-4 3480 29288 ns/op BenchmarkScalarBaseMult-4 381 308155 ns/op BenchmarkScalarMult-4 151 719319 ns/op BenchmarkVarTimeDoubleScalarBaseMult-4 226 476415 ns/op PASS ok crypto/internal/edwards25519 0.614s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519/field cpu: AMD EPYC 7B12 BenchmarkAdd-4 609084 183.6 ns/op BenchmarkMultiply-4 5072599 23.53 ns/op BenchmarkSquare-4 6577389 18.26 ns/op BenchmarkInvert-4 27130 4424 ns/op BenchmarkMult32-4 1640389 74.50 ns/op PASS ok crypto/internal/edwards25519/field 0.795s goos: linux goarch: amd64 pkg: crypto/internal/nistec cpu: AMD EPYC 7B12 BenchmarkScalarMult/P224-4 60 1828862 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P256-4 1950 61299 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P384-4 24 4890297 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P521-4 7 15061762 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P224-4 181 596778 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P256-4 9960 11548 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P384-4 70 1513203 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P521-4 27 4018299 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec 1.076s goos: linux goarch: amd64 pkg: crypto/internal/nistec/fiat cpu: AMD EPYC 7B12 BenchmarkMul/P224-4 704439 157.5 ns/op 0 B/op 0 allocs/op BenchmarkMul/P384-4 363404 318.7 ns/op 0 B/op 0 allocs/op BenchmarkMul/P521-4 124928 948.3 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P224-4 755181 172.2 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P384-4 371343 316.4 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P521-4 122974 965.7 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec/fiat 0.793s goos: linux goarch: amd64 pkg: crypto/md5 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes-4 121716 932.5 ns/op 8.58 MB/s BenchmarkHash64-4 141532 820.4 ns/op 78.01 MB/s BenchmarkHash128-4 130092 916.6 ns/op 139.65 MB/s BenchmarkHash256-4 106132 1126 ns/op 227.29 MB/s BenchmarkHash512-4 75909 1562 ns/op 327.83 MB/s BenchmarkHash1K-4 50050 2392 ns/op 428.01 MB/s BenchmarkHash8K-4 8340 14247 ns/op 574.99 MB/s BenchmarkHash1M-4 66 1735852 ns/op 604.07 MB/s BenchmarkHash8M-4 8 13809493 ns/op 607.45 MB/s BenchmarkHash8BytesUnaligned-4 123271 924.8 ns/op 8.65 MB/s BenchmarkHash1KUnaligned-4 50078 2392 ns/op 428.07 MB/s BenchmarkHash8KUnaligned-4 8266 14250 ns/op 574.87 MB/s PASS ok crypto/md5 1.586s goos: linux goarch: amd64 pkg: crypto/rand cpu: AMD EPYC 7B12 BenchmarkPrime-4 1 116659835 ns/op PASS ok crypto/rand 0.145s goos: linux goarch: amd64 pkg: crypto/rc4 cpu: AMD EPYC 7B12 BenchmarkRC4_128-4 15320 8014 ns/op 15.97 MB/s BenchmarkRC4_1K-4 1732 68081 ns/op 15.04 MB/s BenchmarkRC4_8K-4 222 496230 ns/op 16.32 MB/s PASS ok crypto/rc4 0.515s goos: linux goarch: amd64 pkg: crypto/rsa cpu: AMD EPYC 7B12 BenchmarkDecryptPKCS1v15/2048-4 13 8971009 ns/op BenchmarkDecryptPKCS1v15/3072-4 5 20572273 ns/op BenchmarkDecryptPKCS1v15/4096-4 3 39092855 ns/op BenchmarkEncryptPKCS1v15/2048-4 43 2698390 ns/op BenchmarkDecryptOAEP/2048-4 13 9139705 ns/op BenchmarkEncryptOAEP/2048-4 43 2607506 ns/op BenchmarkSignPKCS1v15/2048-4 12 8717329 ns/op BenchmarkVerifyPKCS1v15/2048-4 49 2681175 ns/op BenchmarkSignPSS/2048-4 12 9037280 ns/op BenchmarkVerifyPSS/2048-4 48 2522165 ns/op PASS ok crypto/rsa 1.572s goos: linux goarch: amd64 pkg: crypto/sha1 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes/New-4 108326 1076 ns/op 7.43 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum-4 132624 875.5 ns/op 9.14 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/New-4 83918 1425 ns/op 224.58 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/Sum-4 97934 1234 ns/op 259.27 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 53744 2197 ns/op 466.09 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum-4 59704 2024 ns/op 506.02 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 10000 10416 ns/op 786.49 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum-4 10000 10242 ns/op 799.81 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha1 1.058s goos: linux goarch: amd64 pkg: crypto/sha256 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes/New-4 86374 1341 ns/op 5.97 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum224-4 102154 1155 ns/op 6.93 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 97708 1197 ns/op 6.68 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 30478 3935 ns/op 260.24 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum224-4 33558 3647 ns/op 280.80 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 31705 3772 ns/op 271.45 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 5166 23168 ns/op 353.59 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum224-4 5138 22871 ns/op 358.18 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 5038 22976 ns/op 356.55 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha256 1.262s goos: linux goarch: amd64 pkg: crypto/sha512 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes/New-4 58234 1873 ns/op 4.27 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum384-4 78886 1461 ns/op 5.48 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum512-4 75244 1675 ns/op 4.78 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 35293 3428 ns/op 298.72 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum384-4 39656 3015 ns/op 339.68 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum512-4 37528 3182 ns/op 321.80 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 7261 15787 ns/op 518.90 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum384-4 7544 15351 ns/op 533.66 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum512-4 7509 15559 ns/op 526.50 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha512 1.254s goos: linux goarch: amd64 pkg: crypto/subtle cpu: AMD EPYC 7B12 BenchmarkConstantTimeByteEq-4 21286710 5.263 ns/op BenchmarkConstantTimeEq-4 20300755 5.825 ns/op BenchmarkConstantTimeLessOrEq-4 22638006 5.241 ns/op BenchmarkXORBytes/8Bytes-4 5419549 22.14 ns/op 361.41 MB/s BenchmarkXORBytes/128Bytes-4 4818351 24.95 ns/op 5131.21 MB/s BenchmarkXORBytes/2048Bytes-4 1519503 79.69 ns/op 25700.09 MB/s BenchmarkXORBytes/32768Bytes-4 112623 1045 ns/op 31344.24 MB/s PASS ok crypto/subtle 1.035s goos: linux goarch: amd64 pkg: crypto/tls cpu: AMD EPYC 7B12 BenchmarkCertCache/0-4 166 744783 ns/op BenchmarkCertCache/1-4 165 693342 ns/op BenchmarkCertCache/2-4 162 745567 ns/op BenchmarkCertCache/3-4 193 710793 ns/op BenchmarkHandshakeServer/RSA-4 39 2685349 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv13-4 33 3251787 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv12-4 34 3068990 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv13-4 128 911110 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv12-4 200 605824 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv13-4 57 2002121 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv12-4 67 1610974 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv13-4 4 28418514 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12-4 4 26458946 ns/op BenchmarkThroughput/MaxPacket/1MB/TLSv12-4 6 18250684 ns/op 57.45 MB/s BenchmarkThroughput/MaxPacket/1MB/TLSv13-4 6 21305276 ns/op 49.22 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv12-4 4 29138984 ns/op 71.97 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv13-4 3 37344375 ns/op 56.16 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv12-4 2 52295842 ns/op 80.20 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv13-4 2 67109137 ns/op 62.50 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv12-4 2 84411501 ns/op 99.38 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv13-4 1 139335023 ns/op 60.20 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv12-4 1 161816483 ns/op 103.68 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv13-4 1 203987061 ns/op 82.25 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv12-4 1 341289805 ns/op 98.32 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv13-4 1 477501389 ns/op 70.27 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv12-4 1 662602821 ns/op 101.28 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv13-4 1 824899253 ns/op 81.35 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv12-4 6 17505368 ns/op 59.90 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv13-4 5 22392191 ns/op 46.83 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv12-4 4 28822166 ns/op 72.76 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv13-4 3 36020178 ns/op 58.22 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv12-4 3 48735051 ns/op 86.06 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv13-4 2 55177298 ns/op 76.02 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv12-4 2 97071066 ns/op 86.42 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv13-4 1 119534644 ns/op 70.18 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv12-4 1 165633803 ns/op 101.29 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv13-4 1 220423380 ns/op 76.11 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv12-4 1 308421326 ns/op 108.79 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv13-4 1 445037901 ns/op 75.40 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv12-4 1 660927431 ns/op 101.54 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv13-4 1 851207943 ns/op 78.84 MB/s BenchmarkLatency/MaxPacket/200kbps/TLSv12-4 1 701527009 ns/op BenchmarkLatency/MaxPacket/200kbps/TLSv13-4 1 704773799 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv12-4 1 286520467 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv13-4 1 287626107 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv12-4 1 147952454 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv13-4 1 148898413 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv12-4 2 79975551 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv13-4 2 78736746 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv12-4 3 38358725 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv13-4 3 37273368 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv12-4 1 140881174 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv13-4 1 144866804 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv12-4 2 62520712 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv13-4 2 62705782 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv12-4 3 37213078 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv13-4 3 36099795 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv12-4 5 23893321 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv13-4 5 22664305 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv12-4 7 16391735 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv13-4 7 14656337 ns/op PASS ok crypto/tls 16.318s goos: linux goarch: amd64 pkg: crypto/x509 cpu: AMD EPYC 7B12 BenchmarkCreateCertificate/RSA_2048-4 9 12410393 ns/op BenchmarkCreateCertificate/ECDSA_P256-4 372 311819 ns/op BenchmarkParseCertificate/ecdsa_leaf-4 1219 93960 ns/op 13188 B/op 238 allocs/op BenchmarkParseCertificate/rsa_leaf-4 1134 103119 ns/op 14611 B/op 262 allocs/op PASS ok crypto/x509 0.864s goos: linux goarch: amd64 pkg: database/sql cpu: AMD EPYC 7B12 BenchmarkConcurrentDBExec-4 39 2996928 ns/op 279899 B/op 1637 allocs/op BenchmarkConcurrentStmtQuery-4 36 3316701 ns/op 262156 B/op 2017 allocs/op BenchmarkConcurrentStmtExec-4 45 2293589 ns/op 216644 B/op 670 allocs/op BenchmarkConcurrentTxQuery-4 48 2937688 ns/op 267140 B/op 2151 allocs/op BenchmarkConcurrentTxExec-4 66 1846559 ns/op 90274 B/op 1555 allocs/op BenchmarkConcurrentTxStmtQuery-4 42 2720449 ns/op 103664 B/op 2058 allocs/op BenchmarkConcurrentTxStmtExec-4 121 942646 ns/op 40171 B/op 382 allocs/op BenchmarkConcurrentRandom-4 40 3015999 ns/op 226788 B/op 1852 allocs/op BenchmarkManyConcurrentQueries-4 2517 47304 ns/op 3971 B/op 20 allocs/op BenchmarkGrabConn-4 235141 482.1 ns/op 0 B/op 0 allocs/op PASS ok database/sql 1.543s goos: linux goarch: amd64 pkg: debug/gosym cpu: AMD EPYC 7B12 Benchmark115/NewLineTable-4 273482 420.5 ns/op 384 B/op 3 allocs/op Benchmark115/NewTable-4 106 1119064 ns/op 188250 B/op 13 allocs/op Benchmark115/LineToPC-4 75 1505416 ns/op 0 B/op 0 allocs/op Benchmark115/PCToLine-4 20698 5866 ns/op 0 B/op 0 allocs/op PASS ok debug/gosym 0.760s goos: linux goarch: amd64 pkg: encoding/asn1 cpu: AMD EPYC 7B12 BenchmarkMarshal-4 702 153629 ns/op 9528 B/op 363 allocs/op BenchmarkUnmarshal-4 2780 41294 ns/op 784 B/op 43 allocs/op PASS ok encoding/asn1 0.279s goos: linux goarch: amd64 pkg: encoding/base32 cpu: AMD EPYC 7B12 BenchmarkEncode-4 366 366422 ns/op 22.36 MB/s BenchmarkEncodeToString-4 282 383841 ns/op 21.34 MB/s BenchmarkDecode-4 163 679835 ns/op 19.29 MB/s BenchmarkDecodeString-4 171 762450 ns/op 17.20 MB/s PASS ok encoding/base32 0.744s goos: linux goarch: amd64 pkg: encoding/base64 cpu: AMD EPYC 7B12 BenchmarkEncodeToString-4 412 281469 ns/op 29.10 MB/s BenchmarkDecodeString/2-4 307476 370.6 ns/op 10.79 MB/s BenchmarkDecodeString/4-4 243742 497.7 ns/op 16.07 MB/s BenchmarkDecodeString/8-4 196669 580.8 ns/op 20.66 MB/s BenchmarkDecodeString/64-4 39174 2930 ns/op 30.03 MB/s BenchmarkDecodeString/8192-4 411 287539 ns/op 37.99 MB/s BenchmarkNewEncoding-4 106518 1139 ns/op 224.74 MB/s PASS ok encoding/base64 0.993s goos: linux goarch: amd64 pkg: encoding/binary cpu: AMD EPYC 7B12 BenchmarkReadSlice1000Int32s-4 1616 72524 ns/op 55.15 MB/s BenchmarkReadStruct-4 17668 6834 ns/op 10.98 MB/s BenchmarkWriteStruct-4 19065 6171 ns/op 12.15 MB/s BenchmarkReadInts-4 49354 2437 ns/op 12.31 MB/s BenchmarkWriteInts-4 39819 3021 ns/op 9.93 MB/s BenchmarkWriteSlice1000Int32s-4 1414 77653 ns/op 51.51 MB/s BenchmarkPutUint16-4 3789699 31.05 ns/op 64.42 MB/s BenchmarkAppendUint16-4 3903572 30.11 ns/op 66.43 MB/s BenchmarkPutUint32-4 2836976 41.36 ns/op 96.71 MB/s BenchmarkAppendUint32-4 2985292 40.42 ns/op 98.97 MB/s BenchmarkPutUint64-4 1475758 80.79 ns/op 99.02 MB/s BenchmarkAppendUint64-4 1364724 79.60 ns/op 100.51 MB/s BenchmarkLittleEndianPutUint16-4 3838345 31.09 ns/op 64.33 MB/s BenchmarkLittleEndianAppendUint16-4 4029621 29.18 ns/op 68.54 MB/s BenchmarkLittleEndianPutUint32-4 2788995 41.22 ns/op 97.05 MB/s BenchmarkLittleEndianAppendUint32-4 2729586 42.12 ns/op 94.97 MB/s BenchmarkLittleEndianPutUint64-4 1465203 81.60 ns/op 98.04 MB/s BenchmarkLittleEndianAppendUint64-4 1289310 87.75 ns/op 91.17 MB/s BenchmarkReadFloats-4 157650 724.6 ns/op 16.56 MB/s BenchmarkWriteFloats-4 134900 872.7 ns/op 13.75 MB/s BenchmarkReadSlice1000Float32s-4 1482 81261 ns/op 49.22 MB/s BenchmarkWriteSlice1000Float32s-4 1389 91410 ns/op 43.76 MB/s BenchmarkReadSlice1000Uint8s-4 91873 1249 ns/op 800.96 MB/s BenchmarkWriteSlice1000Uint8s-4 116568 988.1 ns/op 1012.01 MB/s BenchmarkPutUvarint32-4 955497 129.0 ns/op 31.00 MB/s BenchmarkPutUvarint64-4 267268 454.5 ns/op 17.60 MB/s PASS ok encoding/binary 4.081s goos: linux goarch: amd64 pkg: encoding/csv cpu: AMD EPYC 7B12 BenchmarkRead-4 6500 16032 ns/op 736 B/op 16 allocs/op BenchmarkReadWithFieldsPerRecord-4 7621 15669 ns/op 736 B/op 16 allocs/op BenchmarkReadWithoutFieldsPerRecord-4 6457 15761 ns/op 736 B/op 16 allocs/op BenchmarkReadLargeFields-4 3966 25746 ns/op 3938 B/op 24 allocs/op BenchmarkReadReuseRecord-4 8292 14246 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithFieldsPerRecord-4 7813 14294 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithoutFieldsPerRecord-4 7681 14361 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordLargeFields-4 4950 24284 ns/op 2977 B/op 12 allocs/op BenchmarkWrite-4 13724 8361 ns/op PASS ok encoding/csv 1.344s goos: linux goarch: amd64 pkg: encoding/gob cpu: AMD EPYC 7B12 BenchmarkEndToEndPipe-4 13214 9294 ns/op BenchmarkEndToEndByteBuffer-4 16083 7724 ns/op BenchmarkEndToEndSliceByteBuffer-4 240 506813 ns/op BenchmarkEncodeComplex128Slice-4 782 148275 ns/op BenchmarkEncodeFloat64Slice-4 1536 73292 ns/op BenchmarkEncodeInt32Slice-4 1596 76198 ns/op BenchmarkEncodeStringSlice-4 2073 56537 ns/op BenchmarkEncodeInterfaceSlice-4 55 2144186 ns/op BenchmarkDecodeComplex128Slice-4 586 176918 ns/op BenchmarkDecodeFloat64Slice-4 1162 88979 ns/op BenchmarkDecodeInt32Slice-4 1417 82134 ns/op BenchmarkDecodeStringSlice-4 825 136442 ns/op BenchmarkDecodeStringsSlice-4 295 370983 ns/op BenchmarkDecodeBytesSlice-4 687 179064 ns/op BenchmarkDecodeInterfaceSlice-4 112 1076868 ns/op BenchmarkDecodeMap-4 92 1238771 ns/op PASS ok encoding/gob 2.736s goos: linux goarch: amd64 pkg: encoding/hex cpu: AMD EPYC 7B12 BenchmarkEncode/256-4 16600 6897 ns/op 37.12 MB/s BenchmarkEncode/1024-4 4432 28525 ns/op 35.90 MB/s BenchmarkEncode/4096-4 1047 103197 ns/op 39.69 MB/s BenchmarkEncode/16384-4 264 495423 ns/op 33.07 MB/s BenchmarkDecode/256-4 35974 3384 ns/op 75.66 MB/s BenchmarkDecode/1024-4 8094 13076 ns/op 78.31 MB/s BenchmarkDecode/4096-4 1844 65253 ns/op 62.77 MB/s BenchmarkDecode/16384-4 568 237635 ns/op 68.95 MB/s BenchmarkDump/256-4 1370 83626 ns/op 3.06 MB/s BenchmarkDump/1024-4 363 328464 ns/op 3.12 MB/s BenchmarkDump/4096-4 87 1315819 ns/op 3.11 MB/s BenchmarkDump/16384-4 21 5355535 ns/op 3.06 MB/s PASS ok encoding/hex 1.707s goos: linux goarch: amd64 pkg: encoding/json cpu: AMD EPYC 7B12 BenchmarkCodeEncoder-4 1 160136423 ns/op 12.12 MB/s 8390704 B/op 54 allocs/op BenchmarkCodeEncoderError-4 1 142182304 ns/op 13.65 MB/s 8525904 B/op 141 allocs/op BenchmarkCodeMarshal-4 1 160197943 ns/op 12.11 MB/s 10332408 B/op 57 allocs/op BenchmarkCodeMarshalError-4 1 165361003 ns/op 11.73 MB/s 10335480 B/op 111 allocs/op BenchmarkMarshalBytes/32-4 22466 5310 ns/op BenchmarkMarshalBytes/256-4 5868 18784 ns/op BenchmarkMarshalBytes/4096-4 522 217518 ns/op BenchmarkMarshalBytesError/32-4 61 1871493 ns/op BenchmarkMarshalBytesError/256-4 62 1889902 ns/op BenchmarkMarshalBytesError/4096-4 57 2101985 ns/op BenchmarkCodeDecoder-4 1 426872302 ns/op 4.55 MB/s 11017088 B/op 91358 allocs/op BenchmarkUnicodeDecoder-4 32986 3482 ns/op 4.02 MB/s 40 B/op 2 allocs/op BenchmarkDecoderStream-4 41857 2445 ns/op 16 B/op 1 allocs/op BenchmarkCodeUnmarshal-4 1 381078113 ns/op 5.09 MB/s 2938152 B/op 91324 allocs/op BenchmarkCodeUnmarshalReuse-4 1 367938144 ns/op 5.27 MB/s 2938640 B/op 91328 allocs/op BenchmarkUnmarshalString-4 60734 1997 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalFloat64-4 117176 1041 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalInt64-4 308992 433.7 ns/op 144 B/op 1 allocs/op BenchmarkIssue10335-4 52112 2226 ns/op 176 B/op 3 allocs/op BenchmarkIssue34127-4 68101 1641 ns/op 83 B/op 2 allocs/op BenchmarkUnmapped-4 16995 6865 ns/op 208 B/op 4 allocs/op BenchmarkTypeFieldsCache/MissTypes1-4 3420 30029 ns/op BenchmarkTypeFieldsCache/MissTypes10-4 853 141718 ns/op BenchmarkTypeFieldsCache/MissTypes100-4 90 1116614 ns/op BenchmarkTypeFieldsCache/MissTypes1000-4 12 11042410 ns/op BenchmarkTypeFieldsCache/HitTypes1-4 544212 199.5 ns/op BenchmarkTypeFieldsCache/HitTypes10-4 680307 177.1 ns/op BenchmarkTypeFieldsCache/HitTypes100-4 488990 208.7 ns/op BenchmarkTypeFieldsCache/HitTypes1000-4 533102 208.2 ns/op BenchmarkEncodeMarshaler-4 63174 1922 ns/op 75 B/op 1 allocs/op BenchmarkEncoderEncode-4 64734 1775 ns/op 44 B/op 0 allocs/op BenchmarkNumberIsValid-4 4881918 23.00 ns/op BenchmarkNumberIsValidRegexp-4 20586 6035 ns/op PASS ok encoding/json 6.952s goos: linux goarch: amd64 pkg: encoding/pem cpu: AMD EPYC 7B12 BenchmarkEncode-4 48 2092449 ns/op 31.32 MB/s BenchmarkDecode-4 27 4084254 ns/op 21.74 MB/s PASS ok encoding/pem 0.256s goos: linux goarch: amd64 pkg: encoding/xml cpu: AMD EPYC 7B12 BenchmarkMarshal-4 2648 43688 ns/op 6280 B/op 24 allocs/op BenchmarkUnmarshal-4 873 119857 ns/op 8289 B/op 188 allocs/op BenchmarkHTMLAutoClose-4 4738 25414 ns/op PASS ok encoding/xml 0.565s goos: linux goarch: amd64 pkg: expvar cpu: AMD EPYC 7B12 BenchmarkIntAdd-4 281335 375.9 ns/op BenchmarkIntSet-4 506764 349.7 ns/op BenchmarkFloatAdd-4 89760 1318 ns/op BenchmarkFloatSet-4 401270 295.8 ns/op BenchmarkStringSet-4 357096 423.6 ns/op BenchmarkMapSet-4 64312 2202 ns/op BenchmarkMapSetDifferent-4 58815 1912 ns/op BenchmarkMapSetDifferentRandom-4 301 394424 ns/op BenchmarkMapSetString-4 58432 2375 ns/op BenchmarkMapAddSame-4 31057 3280 ns/op BenchmarkMapAddDifferent-4 15624 7685 ns/op BenchmarkMapAddDifferentRandom-4 234 469631 ns/op BenchmarkMapAddSameSteadyState-4 226545 479.1 ns/op BenchmarkMapAddDifferentSteadyState-4 140491 911.5 ns/op BenchmarkRealworldExpvarUsage-4 34468 4767 ns/op PASS ok expvar 2.551s goos: linux goarch: amd64 pkg: fmt cpu: AMD EPYC 7B12 BenchmarkSprintfPadding-4 100227 1139 ns/op BenchmarkSprintfEmpty-4 394147 306.4 ns/op BenchmarkSprintfString-4 256316 421.2 ns/op BenchmarkSprintfTruncateString-4 248882 500.2 ns/op BenchmarkSprintfTruncateBytes-4 120758 870.7 ns/op BenchmarkSprintfSlowParsingPath-4 261153 465.0 ns/op BenchmarkSprintfQuoteString-4 38492 3117 ns/op BenchmarkSprintfInt-4 254700 435.9 ns/op BenchmarkSprintfIntInt-4 166626 617.6 ns/op BenchmarkSprintfPrefixedInt-4 193796 522.6 ns/op BenchmarkSprintfFloat-4 112117 909.2 ns/op BenchmarkSprintfComplex-4 52322 1929 ns/op BenchmarkSprintfBoolean-4 260269 457.3 ns/op BenchmarkSprintfHexString-4 120726 888.7 ns/op BenchmarkSprintfHexBytes-4 67444 1751 ns/op BenchmarkSprintfBytes-4 37686 3158 ns/op BenchmarkSprintfStringer-4 83856 1434 ns/op BenchmarkSprintfStructure-4 33952 3348 ns/op BenchmarkManyArgs-4 71089 1626 ns/op BenchmarkFprintInt-4 74470 1573 ns/op BenchmarkFprintfBytes-4 81561 1486 ns/op BenchmarkFprintIntNoAlloc-4 78363 1591 ns/op BenchmarkScanInts-4 37 3179046 ns/op BenchmarkScanRecursiveInt-4 1 305236184 ns/op BenchmarkScanRecursiveIntReaderWrapper-4 1 342047744 ns/op PASS ok fmt 3.962s goos: linux goarch: amd64 pkg: go/build cpu: AMD EPYC 7B12 BenchmarkImportVendor-4 895 130066 ns/op PASS ok go/build 0.149s goos: linux goarch: amd64 pkg: go/constant cpu: AMD EPYC 7B12 BenchmarkStringAdd/1-4 49539 2265 ns/op 160 B/op 2 allocs/op BenchmarkStringAdd/4-4 14726 8103 ns/op 832 B/op 9 allocs/op BenchmarkStringAdd/16-4 4381 26005 ns/op 3168 B/op 23 allocs/op BenchmarkStringAdd/64-4 1257 96744 ns/op 11744 B/op 73 allocs/op BenchmarkStringAdd/256-4 325 380496 ns/op 47840 B/op 267 allocs/op BenchmarkStringAdd/1024-4 69 1674432 ns/op 206176 B/op 1038 allocs/op BenchmarkStringAdd/4096-4 18 6912187 ns/op 865632 B/op 4114 allocs/op BenchmarkStringAdd/16384-4 4 27816422 ns/op 3634552 B/op 16407 allocs/op BenchmarkStringAdd/65536-4 1 118031048 ns/op 15258976 B/op 65565 allocs/op PASS ok go/constant 1.390s goos: linux goarch: amd64 pkg: go/format cpu: AMD EPYC 7B12 BenchmarkFormat/array1-10000-4 1 252159655 ns/op 0.26 MB/s 46432096 B/op 48953 allocs/op PASS ok go/format 0.308s goos: linux goarch: amd64 pkg: go/parser cpu: AMD EPYC 7B12 BenchmarkParse-4 6 19205316 ns/op 2.80 MB/s BenchmarkParseOnly-4 6 16967611 ns/op 3.17 MB/s BenchmarkResolve-4 55 2143301 ns/op 25.13 MB/s PASS ok go/parser 1.359s goos: linux goarch: amd64 pkg: go/printer cpu: AMD EPYC 7B12 BenchmarkPrintFile-4 1 138256507 ns/op 0.38 MB/s 5186840 B/op 27641 allocs/op BenchmarkPrintDecl-4 836 139095 ns/op 0.23 MB/s 16569 B/op 51 allocs/op PASS ok go/printer 0.298s goos: linux goarch: amd64 pkg: go/scanner cpu: AMD EPYC 7B12 BenchmarkScan-4 270 435739 ns/op BenchmarkScanFiles/go/types/expr.go-4 13 8939924 ns/op 6.22 MB/s BenchmarkScanFiles/go/parser/parser.go-4 9 11882059 ns/op 6.06 MB/s BenchmarkScanFiles/net/http/server.go-4 6 17638695 ns/op 6.42 MB/s BenchmarkScanFiles/go/scanner/errors.go-4 230 507266 ns/op 6.07 MB/s PASS ok go/scanner 0.734s goos: linux goarch: amd64 pkg: go/token cpu: AMD EPYC 7B12 BenchmarkSearchInts-4 1379900 86.26 ns/op PASS ok go/token 0.236s ##### 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: go/types cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLookupFieldOrMethod-4 138 857235 ns/op BenchmarkNamed/Underlying/nongeneric-4 764965 134.0 ns/op BenchmarkNamed/Underlying/generic-4 915162 130.9 ns/op BenchmarkNamed/Underlying/src_instance-4 854473 132.0 ns/op BenchmarkNamed/Underlying/user_instance-4 873008 132.4 ns/op BenchmarkNamed/NewMethodSet/nongeneric-4 22310 5200 ns/op BenchmarkNamed/NewMethodSet/generic-4 22477 5246 ns/op BenchmarkNamed/NewMethodSet/src_instance-4 21978 5468 ns/op BenchmarkNamed/NewMethodSet/user_instance-4 22152 5339 ns/op BenchmarkCheck/http/funcbodies/info-4 1 597044767 ns/op 51133 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 416641915 ns/op 73252 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 243524086 ns/op 125335 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 215580026 ns/op 141556 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 400052726 ns/op 12802 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 1 113394474 ns/op 45142 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 2 70178905 ns/op 72956 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 2 69844390 ns/op 73317 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 164335570 ns/op 13167 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 2 64483606 ns/op 33589 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 3 49320876 ns/op 43925 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 3 48352230 ns/op 44799 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1106579866 ns/op 57373 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 583250839 ns/op 108844 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 152879745 ns/op 415125 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 119450683 ns/op 531153 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 1844280280 ns/op 1081 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 1 100744414 ns/op 19768 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 2 86147329 ns/op 23127 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 2 83877917 ns/op 23754 lines/s PASS ok go/types 19.089s ##### 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: hash/adler32 cpu: AMD EPYC 7B12 BenchmarkAdler32KB-4 13860 8932 ns/op 114.65 MB/s PASS ok hash/adler32 0.240s goos: linux goarch: amd64 pkg: hash/crc32 cpu: AMD EPYC 7B12 BenchmarkCRC32/poly=IEEE/size=15/align=0-4 257050 446.1 ns/op 33.62 MB/s BenchmarkCRC32/poly=IEEE/size=15/align=1-4 262296 443.5 ns/op 33.82 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=0-4 139381 833.5 ns/op 47.99 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=1-4 145959 789.2 ns/op 50.68 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=0-4 490225 226.3 ns/op 2262.44 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=1-4 525122 238.9 ns/op 2143.60 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=0-4 444396 266.5 ns/op 3843.04 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=1-4 445952 281.4 ns/op 3638.30 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=0-4 227968 516.3 ns/op 7932.63 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=1-4 230636 518.6 ns/op 7898.66 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=0-4 41659 2877 ns/op 11390.13 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=1-4 41706 2883 ns/op 11367.19 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=0-4 556524 213.2 ns/op 70.37 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=1-4 551763 211.4 ns/op 70.97 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=0-4 532873 217.8 ns/op 183.69 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=1-4 537750 221.6 ns/op 180.47 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=0-4 372166 297.3 ns/op 1722.21 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=1-4 373210 312.5 ns/op 1638.14 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=0-4 316291 383.5 ns/op 2670.08 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=1-4 315429 387.7 ns/op 2641.55 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=0-4 250045 460.3 ns/op 8899.44 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=1-4 261289 464.2 ns/op 8823.95 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=0-4 53775 2225 ns/op 14724.27 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=1-4 54294 2253 ns/op 14547.19 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=0-4 258627 421.1 ns/op 35.62 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=1-4 283424 422.8 ns/op 35.48 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=0-4 141010 862.8 ns/op 46.36 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=1-4 134346 854.6 ns/op 46.80 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=0-4 10000 10281 ns/op 49.80 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=1-4 10000 10156 ns/op 50.41 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=0-4 5583 21244 ns/op 48.20 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=1-4 5636 21332 ns/op 48.00 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=0-4 1342 90215 ns/op 45.40 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=1-4 1354 90057 ns/op 45.48 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=0-4 168 719219 ns/op 45.56 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=1-4 158 739534 ns/op 44.31 MB/s PASS ok hash/crc32 4.755s goos: linux goarch: amd64 pkg: hash/crc64 cpu: AMD EPYC 7B12 BenchmarkCrc64/ISO64KB-4 100 1045020 ns/op 62.71 MB/s BenchmarkCrc64/ISO4KB-4 1440 81966 ns/op 49.97 MB/s BenchmarkCrc64/ISO1KB-4 6064 19043 ns/op 53.77 MB/s BenchmarkCrc64/ECMA64KB-4 100 1039030 ns/op 63.07 MB/s BenchmarkCrc64/Random64KB-4 128 939448 ns/op 69.76 MB/s BenchmarkCrc64/Random16KB-4 490 243573 ns/op 67.27 MB/s PASS ok hash/crc64 0.858s goos: linux goarch: amd64 pkg: hash/fnv cpu: AMD EPYC 7B12 BenchmarkFnv32KB-4 12942 8716 ns/op 117.49 MB/s BenchmarkFnv32aKB-4 13548 9162 ns/op 111.77 MB/s BenchmarkFnv64KB-4 13326 9087 ns/op 112.69 MB/s BenchmarkFnv64aKB-4 13024 9020 ns/op 113.53 MB/s BenchmarkFnv128KB-4 2557 47541 ns/op 21.54 MB/s BenchmarkFnv128aKB-4 2598 46021 ns/op 22.25 MB/s PASS ok hash/fnv 1.139s goos: linux goarch: amd64 pkg: hash/maphash cpu: AMD EPYC 7B12 BenchmarkHash/n=4/Write-4 568693 189.4 ns/op 21.12 MB/s BenchmarkHash/n=4/Bytes-4 4827772 24.98 ns/op 160.12 MB/s BenchmarkHash/n=4/String-4 1613001 72.48 ns/op 55.19 MB/s BenchmarkHash/n=8/Write-4 628732 183.5 ns/op 43.60 MB/s BenchmarkHash/n=8/Bytes-4 4495281 25.14 ns/op 318.28 MB/s BenchmarkHash/n=8/String-4 1732904 72.99 ns/op 109.61 MB/s BenchmarkHash/n=16/Write-4 621307 188.0 ns/op 85.10 MB/s BenchmarkHash/n=16/Bytes-4 4710997 25.54 ns/op 626.40 MB/s BenchmarkHash/n=16/String-4 1582107 72.93 ns/op 219.40 MB/s BenchmarkHash/n=32/Write-4 616382 190.5 ns/op 167.96 MB/s BenchmarkHash/n=32/Bytes-4 4968548 23.95 ns/op 1335.94 MB/s BenchmarkHash/n=32/String-4 1774622 70.85 ns/op 451.65 MB/s BenchmarkHash/n=64/Write-4 594297 198.5 ns/op 322.46 MB/s BenchmarkHash/n=64/Bytes-4 4854100 24.74 ns/op 2587.20 MB/s BenchmarkHash/n=64/String-4 1585377 70.54 ns/op 907.30 MB/s BenchmarkHash/n=256/Write-4 466869 257.9 ns/op 992.61 MB/s BenchmarkHash/n=256/Bytes-4 3814401 31.35 ns/op 8165.47 MB/s BenchmarkHash/n=256/String-4 906542 118.7 ns/op 2156.86 MB/s BenchmarkHash/n=320/Write-4 461282 254.9 ns/op 1255.60 MB/s BenchmarkHash/n=320/Bytes-4 2991669 40.07 ns/op 7986.70 MB/s BenchmarkHash/n=320/String-4 718524 180.7 ns/op 1771.06 MB/s BenchmarkHash/n=1024/Write-4 324676 371.7 ns/op 2754.73 MB/s BenchmarkHash/n=1024/Bytes-4 1000000 104.4 ns/op 9809.47 MB/s BenchmarkHash/n=1024/String-4 286150 433.9 ns/op 2359.98 MB/s BenchmarkHash/n=4096/Write-4 140804 849.8 ns/op 4820.09 MB/s BenchmarkHash/n=4096/Bytes-4 291696 404.9 ns/op 10116.61 MB/s BenchmarkHash/n=4096/String-4 83325 1515 ns/op 2704.05 MB/s BenchmarkHash/n=16384/Write-4 48039 2396 ns/op 6839.47 MB/s BenchmarkHash/n=16384/Bytes-4 74870 1582 ns/op 10355.93 MB/s BenchmarkHash/n=16384/String-4 21578 5842 ns/op 2804.31 MB/s PASS ok hash/maphash 4.386s goos: linux goarch: amd64 pkg: html cpu: AMD EPYC 7B12 BenchmarkEscape-4 982 111683 ns/op BenchmarkEscapeNone-4 129272 925.9 ns/op BenchmarkUnescape-4 814 141181 ns/op BenchmarkUnescapeNone-4 587035 187.7 ns/op BenchmarkUnescapeSparse-4 12674 9388 ns/op BenchmarkUnescapeDense-4 1188 97726 ns/op PASS ok html 0.875s goos: linux goarch: amd64 pkg: html/template cpu: AMD EPYC 7B12 BenchmarkCSSEscaper-4 9360 12753 ns/op BenchmarkCSSEscaperNoSpecials-4 41409 2776 ns/op BenchmarkDecodeCSS-4 27469 4355 ns/op BenchmarkDecodeCSSNoSpecials-4 4893936 25.10 ns/op BenchmarkCSSValueFilter-4 120255 978.2 ns/op BenchmarkCSSValueFilterOk-4 84889 1413 ns/op BenchmarkEscapedExecute-4 4636 26006 ns/op BenchmarkHTMLNospaceEscaper-4 10000 10805 ns/op BenchmarkHTMLNospaceEscaperNoSpecials-4 57334 1866 ns/op BenchmarkStripTags-4 20284 5774 ns/op BenchmarkStripTagsNoSpecials-4 314070 369.4 ns/op BenchmarkJSValEscaperWithNum-4 23536 5305 ns/op BenchmarkJSValEscaperWithStr-4 5414 20451 ns/op BenchmarkJSValEscaperWithStrNoSpecials-4 19052 6269 ns/op BenchmarkJSValEscaperWithObj-4 4579 24524 ns/op BenchmarkJSValEscaperWithObjNoSpecials-4 13540 8792 ns/op BenchmarkJSStrEscaperNoSpecials-4 54386 2095 ns/op BenchmarkJSStrEscaper-4 10000 10643 ns/op BenchmarkJSRegexpEscaperNoSpecials-4 48537 2366 ns/op BenchmarkJSRegexpEscaper-4 9627 11305 ns/op BenchmarkTemplateSpecialTags-4 100 1149660 ns/op BenchmarkURLEscaper-4 4116 27303 ns/op BenchmarkURLEscaperNoSpecials-4 188031 624.8 ns/op BenchmarkURLNormalizer-4 5978 20029 ns/op BenchmarkURLNormalizerNoSpecials-4 177765 673.2 ns/op BenchmarkSrcsetFilter-4 18172 6282 ns/op BenchmarkSrcsetFilterNoSpecials-4 113890 1048 ns/op PASS ok html/template 4.172s goos: linux goarch: amd64 pkg: image cpu: AMD EPYC 7B12 BenchmarkAt/rgba-4 540196 194.5 ns/op 16 B/op 1 allocs/op BenchmarkAt/rgba64-4 431745 258.7 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba-4 579398 193.6 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba64-4 508491 237.8 ns/op 16 B/op 1 allocs/op BenchmarkAt/alpha-4 1724073 70.23 ns/op 0 B/op 0 allocs/op BenchmarkAt/alpha16-4 1305111 93.70 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray-4 2046198 58.09 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray16-4 1335074 89.86 ns/op 0 B/op 0 allocs/op BenchmarkAt/paletted-4 1391512 86.88 ns/op 0 B/op 0 allocs/op BenchmarkSet/rgba-4 421671 267.2 ns/op 16 B/op 1 allocs/op BenchmarkSet/rgba64-4 398472 309.8 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba-4 460339 264.3 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba64-4 383458 314.4 ns/op 16 B/op 1 allocs/op BenchmarkSet/alpha-4 771379 153.4 ns/op 0 B/op 0 allocs/op BenchmarkSet/alpha16-4 550627 229.5 ns/op 16 B/op 1 allocs/op BenchmarkSet/gray-4 838621 126.0 ns/op 0 B/op 0 allocs/op BenchmarkSet/gray16-4 547929 219.2 ns/op 16 B/op 1 allocs/op BenchmarkSet/paletted-4 427354 267.9 ns/op 0 B/op 0 allocs/op BenchmarkRGBAAt-4 1432515 79.77 ns/op BenchmarkRGBASetRGBA-4 1419526 84.43 ns/op BenchmarkRGBA64At-4 855840 136.3 ns/op BenchmarkRGBA64SetRGBA64-4 893941 128.6 ns/op BenchmarkNRGBAAt-4 1582030 75.91 ns/op BenchmarkNRGBASetNRGBA-4 1440621 81.75 ns/op BenchmarkNRGBA64At-4 932588 123.9 ns/op BenchmarkNRGBA64SetNRGBA64-4 945015 130.6 ns/op BenchmarkAlphaAt-4 2874511 41.99 ns/op BenchmarkAlphaSetAlpha-4 2457962 42.32 ns/op BenchmarkAlpha16At-4 1692194 70.49 ns/op BenchmarkAlphaSetAlpha16-4 1590807 74.13 ns/op BenchmarkGrayAt-4 2579986 41.38 ns/op BenchmarkGraySetGray-4 1821277 66.44 ns/op BenchmarkGray16At-4 1744680 68.62 ns/op BenchmarkGraySetGray16-4 1570471 74.08 ns/op PASS ok image 5.511s goos: linux goarch: amd64 pkg: image/color cpu: AMD EPYC 7B12 BenchmarkYCbCrToRGB/0-4 5502405 21.36 ns/op BenchmarkYCbCrToRGB/128-4 5518600 21.67 ns/op BenchmarkYCbCrToRGB/255-4 5232170 23.84 ns/op BenchmarkRGBToYCbCr/0-4 5454537 21.58 ns/op BenchmarkRGBToYCbCr/Cb-4 5669013 21.06 ns/op BenchmarkRGBToYCbCr/Cr-4 5532484 21.51 ns/op BenchmarkYCbCrToRGBA/0-4 4466860 26.56 ns/op BenchmarkYCbCrToRGBA/128-4 4232686 28.23 ns/op BenchmarkYCbCrToRGBA/255-4 4303954 28.49 ns/op BenchmarkNYCbCrAToRGBA/0-4 4268546 27.61 ns/op BenchmarkNYCbCrAToRGBA/128-4 4416128 27.57 ns/op BenchmarkNYCbCrAToRGBA/255-4 4401226 28.49 ns/op PASS ok image/color 1.819s goos: linux goarch: amd64 pkg: image/draw cpu: AMD EPYC 7B12 BenchmarkFillOver-4 4 29210992 ns/op BenchmarkFillSrc-4 398 289571 ns/op BenchmarkCopyOver-4 7 14347345 ns/op BenchmarkCopySrc-4 590 192206 ns/op BenchmarkNRGBAOver-4 8 14482158 ns/op BenchmarkNRGBASrc-4 12 9246383 ns/op BenchmarkYCbCr-4 9 12002623 ns/op BenchmarkGray-4 21 4962270 ns/op BenchmarkCMYK-4 12 9863098 ns/op BenchmarkGlyphOver-4 22 4666712 ns/op BenchmarkRGBAMaskOver-4 5 23020246 ns/op BenchmarkGrayMaskOver-4 6 17630875 ns/op BenchmarkRGBA64ImageMaskOver-4 4 32722244 ns/op BenchmarkRGBA-4 5 23158669 ns/op BenchmarkPalettedFill-4 1063 117008 ns/op BenchmarkPalettedRGBA-4 5 24097560 ns/op BenchmarkGenericOver-4 2 51076559 ns/op BenchmarkGenericMaskOver-4 5 20529220 ns/op BenchmarkGenericSrc-4 4 33097062 ns/op BenchmarkGenericMaskSrc-4 4 29267887 ns/op PASS ok image/draw 6.508s goos: linux goarch: amd64 pkg: image/gif cpu: AMD EPYC 7B12 BenchmarkDecode-4 25 4605248 ns/op 3.35 MB/s 47848 B/op 267 allocs/op BenchmarkEncodeRandomPaletted-4 1 107264658 ns/op 2.86 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRandomRGBA-4 1 2349717417 ns/op 0.52 MB/s 417248 B/op 13 allocs/op BenchmarkEncodeRealisticPaletted-4 63 1753357 ns/op 8.81 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRealisticRGBA-4 1 115398778 ns/op 0.54 MB/s 105952 B/op 13 allocs/op PASS ok image/gif 3.306s goos: linux goarch: amd64 pkg: image/jpeg cpu: AMD EPYC 7B12 BenchmarkFDCT-4 4587 22470 ns/op BenchmarkIDCT-4 5005 23132 ns/op BenchmarkDecodeBaseline-4 9 11318190 ns/op 5.46 MB/s 63024 B/op 5 allocs/op BenchmarkDecodeProgressive-4 7 16392622 ns/op 3.77 MB/s 259712 B/op 13 allocs/op BenchmarkEncodeRGBA-4 1 144820798 ns/op 8.48 MB/s 4400 B/op 4 allocs/op BenchmarkEncodeYCbCr-4 1 176718997 ns/op 5.22 MB/s 4400 B/op 4 allocs/op PASS ok image/jpeg 1.186s goos: linux goarch: amd64 pkg: image/png cpu: AMD EPYC 7B12 BenchmarkPaeth-4 14923869 7.505 ns/op BenchmarkDecodeGray-4 13 7931284 ns/op 8.26 MB/s 137024 B/op 102 allocs/op BenchmarkDecodeNRGBAGradient-4 3 33481783 ns/op 7.83 MB/s 337328 B/op 188 allocs/op BenchmarkDecodeNRGBAOpaque-4 4 27075822 ns/op 9.68 MB/s 346592 B/op 152 allocs/op BenchmarkDecodePaletted-4 24 4696714 ns/op 13.95 MB/s 139456 B/op 309 allocs/op BenchmarkDecodeRGB-4 4 25997334 ns/op 10.08 MB/s 332000 B/op 157 allocs/op BenchmarkDecodeInterlacing-4 4 32096650 ns/op 8.17 MB/s 605216 B/op 268 allocs/op BenchmarkEncodeGray-4 3 47706396 ns/op 6.44 MB/s 852184 B/op 29 allocs/op BenchmarkEncodeGrayWithBufferPool-4 3 47473209 ns/op 6.47 MB/s 284053 B/op 9 allocs/op BenchmarkEncodeNRGBOpaque-4 1 167045767 ns/op 7.36 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeNRGBA-4 1 181505346 ns/op 6.77 MB/s 864088 B/op 29 allocs/op BenchmarkEncodePaletted-4 4 26215927 ns/op 11.72 MB/s 848592 B/op 32 allocs/op BenchmarkEncodeRGBOpaque-4 1 164554037 ns/op 7.47 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeRGBA-4 1 669413667 ns/op 1.84 MB/s 864088 B/op 29 allocs/op PASS ok image/png 3.566s ##### 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: index/suffixarray cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkNew/text=opticks/size=100K/bits=32-4 2 52872260 ns/op 1.89 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=opticks/size=100K/bits=64-4 3 43600562 ns/op 2.29 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=32-4 1 307629668 ns/op 1.63 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=64-4 1 296200934 ns/op 1.69 MB/s 4006064 B/op 3 allocs/op BenchmarkNew/text=go/size=100K/bits=32-4 2 51604006 ns/op 1.94 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=64-4 3 43124964 ns/op 2.32 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=32-4 1 290097887 ns/op 1.72 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=64-4 1 277285152 ns/op 1.80 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=32-4 1 650170602 ns/op 1.54 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=64-4 1 638089941 ns/op 1.57 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=32-4 1 3997753589 ns/op 1.25 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=64-4 1 3832677413 ns/op 1.30 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=32-4 10 10153017 ns/op 9.85 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=64-4 9 11465845 ns/op 8.72 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=32-4 3 50490098 ns/op 9.90 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=64-4 2 55931016 ns/op 8.94 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=32-4 1 100204074 ns/op 9.98 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=64-4 1 116522296 ns/op 8.58 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=32-4 1 500206881 ns/op 10.00 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=64-4 1 553823165 ns/op 9.03 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=32-4 2 59950788 ns/op 1.67 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=64-4 2 50450316 ns/op 1.98 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=32-4 1 370138367 ns/op 1.35 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=64-4 1 382332984 ns/op 1.31 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=32-4 1 849705152 ns/op 1.18 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=64-4 1 942889794 ns/op 1.06 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=32-4 1 5983823983 ns/op 0.84 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=64-4 1 5665921577 ns/op 0.88 MB/s 40001616 B/op 2 allocs/op BenchmarkSaveRestore/bits=32-4 1 181836733 ns/op 22.99 MB/s 5275648 B/op 4 allocs/op BenchmarkSaveRestore/bits=64-4 1 186078997 ns/op 22.46 MB/s 9469952 B/op 4 allocs/op PASS ok index/suffixarray 43.710s ##### 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: internal/fuzz cpu: AMD EPYC 7B12 BenchmarkMarshalCorpusFile/1-4 36980 3119 ns/op 0.32 MB/s BenchmarkMarshalCorpusFile/2-4 36973 3215 ns/op 0.62 MB/s BenchmarkMarshalCorpusFile/4-4 32715 3515 ns/op 1.14 MB/s BenchmarkMarshalCorpusFile/8-4 27792 4125 ns/op 1.94 MB/s BenchmarkMarshalCorpusFile/16-4 21919 5252 ns/op 3.05 MB/s BenchmarkMarshalCorpusFile/32-4 14986 8033 ns/op 3.98 MB/s BenchmarkMarshalCorpusFile/64-4 9351 12172 ns/op 5.26 MB/s BenchmarkMarshalCorpusFile/128-4 6234 19410 ns/op 6.59 MB/s BenchmarkMarshalCorpusFile/256-4 2750 37814 ns/op 6.77 MB/s BenchmarkMarshalCorpusFile/512-4 1512 73305 ns/op 6.98 MB/s BenchmarkMarshalCorpusFile/1024-4 786 141924 ns/op 7.22 MB/s BenchmarkMarshalCorpusFile/2048-4 408 287818 ns/op 7.12 MB/s BenchmarkMarshalCorpusFile/4096-4 205 572808 ns/op 7.15 MB/s BenchmarkMarshalCorpusFile/8192-4 99 1132346 ns/op 7.23 MB/s BenchmarkMarshalCorpusFile/16384-4 49 2259931 ns/op 7.25 MB/s BenchmarkMarshalCorpusFile/32768-4 24 5043206 ns/op 6.50 MB/s BenchmarkMarshalCorpusFile/65536-4 12 11229526 ns/op 5.84 MB/s BenchmarkMarshalCorpusFile/131072-4 5 24308985 ns/op 5.39 MB/s BenchmarkMarshalCorpusFile/262144-4 3 43769213 ns/op 5.99 MB/s BenchmarkMarshalCorpusFile/524288-4 1 105383488 ns/op 4.98 MB/s BenchmarkMarshalCorpusFile/1048576-4 1 266607105 ns/op 3.93 MB/s BenchmarkUnmarshalCorpusFile/1-4 10000 11450 ns/op 0.09 MB/s BenchmarkUnmarshalCorpusFile/2-4 10183 11660 ns/op 0.17 MB/s BenchmarkUnmarshalCorpusFile/4-4 8810 12403 ns/op 0.32 MB/s BenchmarkUnmarshalCorpusFile/8-4 8535 14255 ns/op 0.56 MB/s BenchmarkUnmarshalCorpusFile/16-4 6000 17807 ns/op 0.90 MB/s BenchmarkUnmarshalCorpusFile/32-4 4423 25397 ns/op 1.26 MB/s BenchmarkUnmarshalCorpusFile/64-4 3415 29626 ns/op 2.16 MB/s BenchmarkUnmarshalCorpusFile/128-4 2707 37413 ns/op 3.42 MB/s BenchmarkUnmarshalCorpusFile/256-4 1126 105774 ns/op 2.42 MB/s BenchmarkUnmarshalCorpusFile/512-4 598 187117 ns/op 2.74 MB/s BenchmarkUnmarshalCorpusFile/1024-4 310 355893 ns/op 2.88 MB/s BenchmarkUnmarshalCorpusFile/2048-4 168 703046 ns/op 2.91 MB/s BenchmarkUnmarshalCorpusFile/4096-4 79 1493963 ns/op 2.74 MB/s BenchmarkUnmarshalCorpusFile/8192-4 38 2790342 ns/op 2.94 MB/s BenchmarkUnmarshalCorpusFile/16384-4 19 5850690 ns/op 2.80 MB/s BenchmarkUnmarshalCorpusFile/32768-4 9 11763405 ns/op 2.79 MB/s BenchmarkUnmarshalCorpusFile/65536-4 5 21856244 ns/op 3.00 MB/s BenchmarkUnmarshalCorpusFile/131072-4 3 47042823 ns/op 2.79 MB/s BenchmarkUnmarshalCorpusFile/262144-4 2 92532580 ns/op 2.83 MB/s BenchmarkUnmarshalCorpusFile/524288-4 1 177967313 ns/op 2.95 MB/s BenchmarkUnmarshalCorpusFile/1048576-4 1 382260626 ns/op 2.74 MB/s BenchmarkMutatorBytes/1-4 36312 3225 ns/op BenchmarkMutatorBytes/10-4 36918 3231 ns/op BenchmarkMutatorBytes/100-4 35025 3425 ns/op BenchmarkMutatorBytes/1000-4 25419 4874 ns/op BenchmarkMutatorBytes/10000-4 7627 18677 ns/op BenchmarkMutatorBytes/100000-4 1144 121196 ns/op BenchmarkMutatorString/1-4 32085 3370 ns/op BenchmarkMutatorString/10-4 35780 3335 ns/op BenchmarkMutatorString/100-4 33253 3862 ns/op BenchmarkMutatorString/1000-4 17182 6638 ns/op BenchmarkMutatorString/10000-4 4480 35556 ns/op BenchmarkMutatorString/100000-4 411 299023 ns/op BenchmarkMutatorAllBasicTypes/[]uint8-4 20592 5703 ns/op BenchmarkMutatorAllBasicTypes/string-4 19102 5839 ns/op BenchmarkMutatorAllBasicTypes/bool-4 62308 1876 ns/op BenchmarkMutatorAllBasicTypes/float32-4 56016 2124 ns/op BenchmarkMutatorAllBasicTypes/float64-4 54436 2116 ns/op BenchmarkMutatorAllBasicTypes/int-4 60276 1996 ns/op BenchmarkMutatorAllBasicTypes/int8-4 57980 1903 ns/op BenchmarkMutatorAllBasicTypes/int16-4 58018 1985 ns/op BenchmarkMutatorAllBasicTypes/int32-4 57459 1988 ns/op BenchmarkMutatorAllBasicTypes/int64-4 57668 2030 ns/op BenchmarkMutatorAllBasicTypes/uint8-4 57963 2050 ns/op BenchmarkMutatorAllBasicTypes/uint16-4 58704 2059 ns/op BenchmarkMutatorAllBasicTypes/uint32-4 58395 2032 ns/op BenchmarkMutatorAllBasicTypes/uint64-4 56624 2031 ns/op PASS ok internal/fuzz 11.361s goos: linux goarch: amd64 pkg: internal/intern cpu: AMD EPYC 7B12 BenchmarkStress-4 34782 3170 ns/op 0 B/op 0 allocs/op BenchmarkGetByString-4 137389 911.4 ns/op 0 B/op 0 allocs/op PASS ok internal/intern 0.377s goos: linux goarch: amd64 pkg: internal/poll cpu: AMD EPYC 7B12 BenchmarkSplicePipe/SplicePipeWithPool-4 58350 1770 ns/op BenchmarkSplicePipe/SplicePipeWithoutPool-4 22486 5257 ns/op BenchmarkSplicePipePoolParallel-4 142384 841.5 ns/op BenchmarkSplicePipeNativeParallel-4 37030 3402 ns/op PASS ok internal/poll 0.864s goos: linux goarch: amd64 pkg: internal/trace cpu: AMD EPYC 7B12 BenchmarkMMU-4 6 19204284 ns/op PASS ok internal/trace 1.566s goos: linux goarch: amd64 pkg: io cpu: AMD EPYC 7B12 BenchmarkCopyNSmall-4 24265 5588 ns/op BenchmarkCopyNLarge-4 442 278739 ns/op PASS ok io 0.570s goos: linux goarch: amd64 pkg: log cpu: AMD EPYC 7B12 BenchmarkItoa-4 211203 537.2 ns/op BenchmarkPrintln-4 23768 4954 ns/op 76 B/op 1 allocs/op BenchmarkPrintlnNoFlags-4 37558 3249 ns/op 65 B/op 1 allocs/op BenchmarkConcurrent-4 3148 50910 ns/op BenchmarkDiscard-4 1312898 91.51 ns/op 0 B/op 0 allocs/op PASS ok log 1.036s goos: linux goarch: amd64 pkg: log/slog cpu: AMD EPYC 7B12 BenchmarkWriteTime-4 88401 1325 ns/op BenchmarkJSONHandler/defaults-4 7102 15246 ns/op 521 B/op 0 allocs/op BenchmarkJSONHandler/time_format-4 4206 24517 ns/op 758 B/op 6 allocs/op BenchmarkJSONHandler/time_unix-4 5372 21417 ns/op 764 B/op 5 allocs/op BenchmarkPreformatting/separate-4 7377 14451 ns/op 515 B/op 0 allocs/op BenchmarkPreformatting/struct-4 6939 14481 ns/op 524 B/op 1 allocs/op BenchmarkPreformatting/struct_file-4 6200 18100 ns/op 520 B/op 0 allocs/op BenchmarkJSONEncoding/json.Marshal-4 32502 3712 ns/op 80 B/op 3 allocs/op BenchmarkJSONEncoding/Encoder.Encode-4 32292 3746 ns/op 64 B/op 2 allocs/op BenchmarkNopLog/no_attrs-4 73996 1631 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-4 50649 2491 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-parallel-4 47230 2271 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/keys-values-4 53493 2373 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-4 51169 2464 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-parallel-4 47666 2408 ns/op 0 B/op 0 allocs/op BenchmarkPC/0-4 481861 248.3 ns/op 0 B/op 0 allocs/op BenchmarkPC/1-4 352630 329.2 ns/op 0 B/op 0 allocs/op BenchmarkPC/2-4 246913 477.5 ns/op 0 B/op 0 allocs/op BenchmarkPC/3-4 182304 662.2 ns/op 0 B/op 0 allocs/op BenchmarkPC/4-4 150550 799.7 ns/op 0 B/op 0 allocs/op BenchmarkSourceLine/alone-4 354752 324.6 ns/op BenchmarkSourceLine/stringifying-4 83546 1376 ns/op BenchmarkRecord-4 4420 23550 ns/op BenchmarkDispatch/switch-checked-4 196050 606.6 ns/op BenchmarkDispatch/As-4 201445 595.9 ns/op BenchmarkDispatch/Visit-4 184082 655.6 ns/op BenchmarkUnsafeStrings-4 17505 6363 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.611s goos: linux goarch: amd64 pkg: math cpu: AMD EPYC 7B12 BenchmarkAcos-4 3564572 33.54 ns/op BenchmarkAcosh-4 1578954 75.53 ns/op BenchmarkAsin-4 3558062 33.52 ns/op BenchmarkAsinh-4 1464986 76.24 ns/op BenchmarkAtan-4 5365800 22.48 ns/op BenchmarkAtanh-4 1517796 78.60 ns/op BenchmarkAtan2-4 3015319 40.27 ns/op BenchmarkCbrt-4 1986853 59.02 ns/op BenchmarkCeil-4 21413733 5.642 ns/op BenchmarkCompare-4 4800358 24.94 ns/op BenchmarkCompare32-4 5912235 20.26 ns/op BenchmarkCopysign-4 3699476 32.27 ns/op BenchmarkCos-4 1557919 77.26 ns/op BenchmarkCosh-4 1935883 62.05 ns/op BenchmarkErf-4 5294203 22.28 ns/op BenchmarkErfc-4 5065158 23.77 ns/op BenchmarkErfinv-4 4281728 28.06 ns/op BenchmarkErfcinv-4 4280146 28.05 ns/op BenchmarkExp-4 7005486 17.21 ns/op BenchmarkExpGo-4 1000000 103.8 ns/op BenchmarkExpm1-4 3525416 33.93 ns/op BenchmarkExp2-4 1355260 87.16 ns/op BenchmarkExp2Go-4 1279657 93.57 ns/op BenchmarkAbs-4 4665736 24.78 ns/op BenchmarkDim-4 11080598 11.46 ns/op BenchmarkFloor-4 20481870 5.646 ns/op BenchmarkMax-4 15082728 7.884 ns/op BenchmarkMin-4 15744704 7.546 ns/op BenchmarkMod-4 405812 286.0 ns/op BenchmarkFrexp-4 2339422 52.21 ns/op BenchmarkGamma-4 826963 145.3 ns/op BenchmarkHypot-4 12160148 10.60 ns/op BenchmarkHypotGo-4 1939950 60.62 ns/op BenchmarkIlogb-4 2788490 46.15 ns/op BenchmarkJ0-4 305577 388.0 ns/op BenchmarkJ1-4 298231 398.8 ns/op BenchmarkJn-4 138097 871.8 ns/op BenchmarkLdexp-4 2301387 53.51 ns/op BenchmarkLgamma-4 1000000 113.7 ns/op BenchmarkLog-4 7281385 16.40 ns/op BenchmarkLogb-4 2792007 43.40 ns/op BenchmarkLog1p-4 1863584 62.86 ns/op BenchmarkLog10-4 6905222 17.37 ns/op BenchmarkLog2-4 1820127 65.41 ns/op BenchmarkModf-4 3285571 36.47 ns/op BenchmarkNextafter32-4 3209038 37.31 ns/op BenchmarkNextafter64-4 3165253 36.64 ns/op BenchmarkPowInt-4 621162 179.1 ns/op BenchmarkPowFrac-4 480613 243.0 ns/op BenchmarkPow10Pos-4 5049862 22.59 ns/op BenchmarkPow10Neg-4 4841205 22.57 ns/op BenchmarkRound-4 4247601 29.16 ns/op BenchmarkRoundToEven-4 10768531 10.51 ns/op BenchmarkRemainder-4 558723 208.4 ns/op BenchmarkSignbit-4 5496986 19.00 ns/op BenchmarkSin-4 1810557 65.68 ns/op BenchmarkSincos-4 1000000 105.1 ns/op BenchmarkSinh-4 2545960 47.04 ns/op BenchmarkSqrtIndirect-4 21201600 5.578 ns/op BenchmarkSqrtLatency-4 13019899 9.181 ns/op BenchmarkSqrtIndirectLatency-4 12977208 9.160 ns/op BenchmarkSqrtGoLatency-4 1363644 84.53 ns/op BenchmarkSqrtPrime-4 62491 1908 ns/op BenchmarkTan-4 1807867 66.62 ns/op BenchmarkTanh-4 1830801 65.22 ns/op BenchmarkTrunc-4 20507071 5.584 ns/op BenchmarkY0-4 312136 382.9 ns/op BenchmarkY1-4 273968 387.9 ns/op BenchmarkYn-4 149535 828.3 ns/op BenchmarkFloat64bits-4 6966096 17.63 ns/op BenchmarkFloat64frombits-4 6961974 17.75 ns/op BenchmarkFloat32bits-4 6185094 18.79 ns/op BenchmarkFloat32frombits-4 6492928 19.67 ns/op BenchmarkFMA-4 20158952 5.891 ns/op PASS ok math 11.326s ##### 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/big cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAddVV/1-4 12713118 9.363 ns/op 6835.07 MB/s BenchmarkAddVV/2-4 11555305 10.41 ns/op 12291.07 MB/s BenchmarkAddVV/3-4 9835018 12.25 ns/op 15667.97 MB/s BenchmarkAddVV/4-4 10940092 10.99 ns/op 23291.54 MB/s BenchmarkAddVV/5-4 9646710 12.44 ns/op 25733.81 MB/s BenchmarkAddVV/10-4 7899441 15.23 ns/op 42009.18 MB/s BenchmarkAddVV/100-4 1858287 65.02 ns/op 98428.67 MB/s BenchmarkAddVV/1000-4 197551 580.4 ns/op 110273.31 MB/s BenchmarkSubVV/1-4 12501606 9.408 ns/op 6802.57 MB/s BenchmarkSubVV/2-4 11450950 10.44 ns/op 12266.33 MB/s BenchmarkSubVV/3-4 9683552 12.26 ns/op 15660.67 MB/s BenchmarkSubVV/4-4 10098507 11.82 ns/op 21666.35 MB/s BenchmarkSubVV/5-4 9400647 12.68 ns/op 25237.65 MB/s BenchmarkSubVV/10-4 7977766 15.24 ns/op 41992.80 MB/s BenchmarkSubVV/100-4 1879860 64.52 ns/op 99194.15 MB/s BenchmarkSubVV/1000-4 204890 583.0 ns/op 109786.16 MB/s BenchmarkAddVW/1-4 14492923 8.297 ns/op 964.16 MB/s BenchmarkAddVW/2-4 13222694 8.976 ns/op 1782.50 MB/s BenchmarkAddVW/3-4 11936188 10.07 ns/op 2384.47 MB/s BenchmarkAddVW/4-4 11940061 9.860 ns/op 3245.33 MB/s BenchmarkAddVW/5-4 11099520 10.64 ns/op 3760.43 MB/s BenchmarkAddVW/10-4 9343885 12.80 ns/op 6249.49 MB/s BenchmarkAddVW/100-4 245097 451.1 ns/op 1773.59 MB/s BenchmarkAddVW/1000-4 35095 3431 ns/op 2331.42 MB/s BenchmarkAddVWext/1-4 14035306 8.516 ns/op 939.44 MB/s BenchmarkAddVWext/2-4 11921626 9.982 ns/op 1602.94 MB/s BenchmarkAddVWext/3-4 10161596 11.62 ns/op 2065.58 MB/s BenchmarkAddVWext/4-4 12146722 9.849 ns/op 3249.19 MB/s BenchmarkAddVWext/5-4 11094174 10.80 ns/op 3703.47 MB/s BenchmarkAddVWext/10-4 9151478 13.05 ns/op 6131.43 MB/s BenchmarkAddVWext/100-4 79893 1461 ns/op 547.43 MB/s BenchmarkAddVWext/1000-4 8295 14091 ns/op 567.72 MB/s BenchmarkSubVW/1-4 14090053 8.644 ns/op 925.46 MB/s BenchmarkSubVW/2-4 13124616 9.040 ns/op 1769.90 MB/s BenchmarkSubVW/3-4 12031820 9.913 ns/op 2421.16 MB/s BenchmarkSubVW/4-4 12140823 9.835 ns/op 3253.70 MB/s BenchmarkSubVW/5-4 11156490 10.72 ns/op 3731.13 MB/s BenchmarkSubVW/10-4 9033412 13.14 ns/op 6088.35 MB/s BenchmarkSubVW/100-4 260331 459.1 ns/op 1742.50 MB/s BenchmarkSubVW/1000-4 35206 3366 ns/op 2376.96 MB/s BenchmarkSubVWext/1-4 13720722 8.702 ns/op 919.34 MB/s BenchmarkSubVWext/2-4 12563097 9.385 ns/op 1704.85 MB/s BenchmarkSubVWext/3-4 11280406 10.57 ns/op 2270.60 MB/s BenchmarkSubVWext/4-4 12148196 9.871 ns/op 3241.96 MB/s BenchmarkSubVWext/5-4 11029180 10.81 ns/op 3701.98 MB/s BenchmarkSubVWext/10-4 9187000 13.12 ns/op 6099.50 MB/s BenchmarkSubVWext/100-4 81782 1464 ns/op 546.56 MB/s BenchmarkSubVWext/1000-4 8120 14237 ns/op 561.91 MB/s BenchmarkMulAddVWW/1-4 10769833 11.12 ns/op 5755.76 MB/s BenchmarkMulAddVWW/2-4 9703855 12.47 ns/op 10266.43 MB/s BenchmarkMulAddVWW/3-4 10217533 11.56 ns/op 16610.91 MB/s BenchmarkMulAddVWW/4-4 9596451 12.49 ns/op 20489.38 MB/s BenchmarkMulAddVWW/5-4 8637986 13.88 ns/op 23057.91 MB/s BenchmarkMulAddVWW/10-4 6651890 18.03 ns/op 35503.45 MB/s BenchmarkMulAddVWW/100-4 1000000 101.3 ns/op 63191.70 MB/s BenchmarkMulAddVWW/1000-4 125418 947.9 ns/op 67520.83 MB/s BenchmarkAddMulVVW/1-4 12682426 9.455 ns/op 6768.94 MB/s BenchmarkAddMulVVW/2-4 11247415 10.63 ns/op 12039.26 MB/s BenchmarkAddMulVVW/3-4 10208804 11.66 ns/op 16466.17 MB/s BenchmarkAddMulVVW/4-4 9260653 12.89 ns/op 19865.04 MB/s BenchmarkAddMulVVW/5-4 8560177 14.02 ns/op 22826.66 MB/s BenchmarkAddMulVVW/10-4 7177449 16.88 ns/op 37909.35 MB/s BenchmarkAddMulVVW/100-4 1489694 80.88 ns/op 79128.40 MB/s BenchmarkAddMulVVW/1000-4 166515 714.9 ns/op 89523.56 MB/s BenchmarkDivWVW/1-4 2663222 45.02 ns/op 1421.70 MB/s BenchmarkDivWVW/2-4 1240099 95.74 ns/op 1336.92 MB/s BenchmarkDivWVW/3-4 923732 124.3 ns/op 1544.52 MB/s BenchmarkDivWVW/4-4 796682 145.3 ns/op 1762.30 MB/s BenchmarkDivWVW/5-4 777577 151.6 ns/op 2110.68 MB/s BenchmarkDivWVW/10-4 405889 284.4 ns/op 2250.09 MB/s BenchmarkDivWVW/100-4 55046 2179 ns/op 2937.43 MB/s BenchmarkDivWVW/1000-4 5526 21426 ns/op 2987.08 MB/s BenchmarkNonZeroShifts/1/shrVU-4 11645078 9.047 ns/op BenchmarkNonZeroShifts/1/shlVU-4 11639214 8.713 ns/op BenchmarkNonZeroShifts/2/shrVU-4 10618278 10.19 ns/op BenchmarkNonZeroShifts/2/shlVU-4 10841552 9.489 ns/op BenchmarkNonZeroShifts/3/shrVU-4 9533748 10.91 ns/op BenchmarkNonZeroShifts/3/shlVU-4 9921145 10.26 ns/op BenchmarkNonZeroShifts/4/shrVU-4 9558072 11.65 ns/op BenchmarkNonZeroShifts/4/shlVU-4 9517220 10.94 ns/op BenchmarkNonZeroShifts/5/shrVU-4 8682544 12.78 ns/op BenchmarkNonZeroShifts/5/shlVU-4 9002576 11.81 ns/op BenchmarkNonZeroShifts/10/shrVU-4 6784324 16.91 ns/op BenchmarkNonZeroShifts/10/shlVU-4 6893395 15.78 ns/op BenchmarkNonZeroShifts/100/shrVU-4 1000000 109.3 ns/op BenchmarkNonZeroShifts/100/shlVU-4 1269872 90.85 ns/op BenchmarkNonZeroShifts/1000/shrVU-4 129128 913.1 ns/op BenchmarkNonZeroShifts/1000/shlVU-4 153854 775.3 ns/op BenchmarkDecimalConversion-4 205 570663 ns/op BenchmarkFloatString/100-4 10000 10239 ns/op 392 B/op 8 allocs/op BenchmarkFloatString/1000-4 223 531831 ns/op 2909 B/op 10 allocs/op BenchmarkFloatString/10000-4 3 49452330 ns/op 61165 B/op 52 allocs/op BenchmarkFloatString/100000-4 1 4853398201 ns/op 854616 B/op 529 allocs/op BenchmarkFloatAdd/10-4 173028 676.1 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100-4 171484 682.1 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/1000-4 156988 766.4 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/10000-4 87038 1360 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100000-4 17272 6896 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10-4 222693 522.5 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100-4 226612 510.3 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/1000-4 222466 536.4 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10000-4 155488 737.8 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100000-4 45315 2625 ns/op 0 B/op 0 allocs/op BenchmarkParseFloatSmallExp-4 2020 57851 ns/op BenchmarkParseFloatLargeExp-4 444 252743 ns/op BenchmarkGCD10x10/WithoutXY-4 205095 580.9 ns/op BenchmarkGCD10x10/WithXY-4 58984 2021 ns/op BenchmarkGCD10x100/WithoutXY-4 98275 1177 ns/op BenchmarkGCD10x100/WithXY-4 17618 6826 ns/op BenchmarkGCD10x1000/WithoutXY-4 61682 1737 ns/op BenchmarkGCD10x1000/WithXY-4 14588 8182 ns/op BenchmarkGCD100x100/WithoutXY-4 25088 4604 ns/op BenchmarkGCD100x100/WithXY-4 10957 11234 ns/op BenchmarkGCD100x1000/WithoutXY-4 12536 10149 ns/op BenchmarkGCD100x1000/WithXY-4 5883 18501 ns/op BenchmarkGCD1000x1000/WithoutXY-4 2194 54145 ns/op BenchmarkGCD1000x1000/WithXY-4 1195 95156 ns/op BenchmarkHilbert-4 21 4972142 ns/op BenchmarkBinomial-4 15099 7917 ns/op BenchmarkQuoRem-4 22038 5805 ns/op BenchmarkExp-4 15 7293615 ns/op BenchmarkExpMont/Odd-4 129 923413 ns/op 2584 B/op 21 allocs/op BenchmarkExpMont/Even1-4 127 929680 ns/op 3356 B/op 37 allocs/op BenchmarkExpMont/Even2-4 123 964402 ns/op 3812 B/op 52 allocs/op BenchmarkExpMont/Even3-4 123 960838 ns/op 3853 B/op 53 allocs/op BenchmarkExpMont/Even4-4 123 955595 ns/op 3845 B/op 53 allocs/op BenchmarkExpMont/Even8-4 124 958424 ns/op 3849 B/op 53 allocs/op BenchmarkExpMont/Even32-4 123 961049 ns/op 3860 B/op 53 allocs/op BenchmarkExpMont/Even64-4 148 798212 ns/op 3645 B/op 54 allocs/op BenchmarkExpMont/Even96-4 142 829519 ns/op 3793 B/op 51 allocs/op BenchmarkExpMont/Even128-4 163 717343 ns/op 3239 B/op 50 allocs/op BenchmarkExpMont/Even255-4 188 636365 ns/op 2959 B/op 47 allocs/op BenchmarkExpMont/SmallEven1-4 439 265787 ns/op 1312 B/op 34 allocs/op BenchmarkExpMont/SmallEven2-4 402 290001 ns/op 1715 B/op 46 allocs/op BenchmarkExpMont/SmallEven3-4 402 296687 ns/op 1734 B/op 47 allocs/op BenchmarkExpMont/SmallEven4-4 403 292685 ns/op 1746 B/op 47 allocs/op BenchmarkExp2-4 15 7266494 ns/op BenchmarkBitset-4 789109 145.1 ns/op BenchmarkBitsetNeg-4 448969 260.4 ns/op BenchmarkBitsetOrig-4 244315 480.2 ns/op BenchmarkBitsetNegOrig-4 157590 744.5 ns/op BenchmarkModSqrt225_Tonelli-4 100 1005546 ns/op BenchmarkModSqrt225_3Mod4-4 388 307877 ns/op BenchmarkModSqrt231_Tonelli-4 100 1054601 ns/op BenchmarkModSqrt231_5Mod8-4 333 360905 ns/op BenchmarkModInverse-4 13015 9414 ns/op BenchmarkSqrt-4 1731 70039 ns/op BenchmarkIntSqr/1-4 1414576 83.45 ns/op BenchmarkIntSqr/2-4 768900 151.7 ns/op BenchmarkIntSqr/3-4 648235 182.0 ns/op BenchmarkIntSqr/5-4 422659 267.8 ns/op BenchmarkIntSqr/8-4 314998 370.9 ns/op BenchmarkIntSqr/10-4 255982 467.1 ns/op BenchmarkIntSqr/20-4 50706 2469 ns/op BenchmarkIntSqr/30-4 36963 3321 ns/op BenchmarkIntSqr/50-4 22657 5300 ns/op BenchmarkIntSqr/80-4 13374 9041 ns/op BenchmarkIntSqr/100-4 10185 11679 ns/op BenchmarkIntSqr/200-4 3763 30606 ns/op BenchmarkIntSqr/300-4 1584 78005 ns/op BenchmarkIntSqr/500-4 745 156990 ns/op BenchmarkIntSqr/800-4 296 406203 ns/op BenchmarkIntSqr/1000-4 229 506834 ns/op BenchmarkDiv/20/10-4 428836 270.8 ns/op BenchmarkDiv/40/20-4 439923 268.5 ns/op BenchmarkDiv/100/50-4 368589 310.2 ns/op BenchmarkDiv/200/100-4 53433 2264 ns/op BenchmarkDiv/400/200-4 52894 2414 ns/op BenchmarkDiv/1000/500-4 41924 2977 ns/op BenchmarkDiv/2000/1000-4 31504 4086 ns/op BenchmarkDiv/20000/10000-4 1021 110504 ns/op BenchmarkDiv/200000/100000-4 27 4619144 ns/op BenchmarkDiv/2000000/1000000-4 1 126181050 ns/op BenchmarkDiv/20000000/10000000-4 1 3681805434 ns/op BenchmarkMul-4 5 23118679 ns/op BenchmarkNatMul/10-4 151870 659.1 ns/op BenchmarkNatMul/100-4 4881 20947 ns/op BenchmarkNatMul/1000-4 170 684579 ns/op BenchmarkZeroShifts/Shl-4 17035 7061 ns/op BenchmarkZeroShifts/ShlSame-4 5284982 22.32 ns/op BenchmarkZeroShifts/Shr-4 15198 7153 ns/op BenchmarkZeroShifts/ShrSame-4 5428760 21.53 ns/op BenchmarkExp3Power/0x10-4 177273 634.8 ns/op BenchmarkExp3Power/0x40-4 153165 758.3 ns/op BenchmarkExp3Power/0x100-4 90192 1240 ns/op BenchmarkExp3Power/0x400-4 42048 2671 ns/op BenchmarkExp3Power/0x1000-4 9862 12102 ns/op BenchmarkExp3Power/0x4000-4 1826 62757 ns/op BenchmarkExp3Power/0x10000-4 205 571099 ns/op BenchmarkExp3Power/0x40000-4 16 6572894 ns/op BenchmarkExp3Power/0x100000-4 2 62104012 ns/op BenchmarkExp3Power/0x400000-4 1 561032478 ns/op BenchmarkFibo-4 3 39276245 ns/op BenchmarkNatSqr/1-4 807976 133.3 ns/op BenchmarkNatSqr/2-4 579409 226.2 ns/op BenchmarkNatSqr/3-4 382695 270.1 ns/op BenchmarkNatSqr/5-4 270576 381.6 ns/op BenchmarkNatSqr/8-4 199186 540.2 ns/op BenchmarkNatSqr/10-4 161497 650.5 ns/op BenchmarkNatSqr/20-4 43201 2618 ns/op BenchmarkNatSqr/30-4 33160 3529 ns/op BenchmarkNatSqr/50-4 20276 5851 ns/op BenchmarkNatSqr/80-4 12391 9721 ns/op BenchmarkNatSqr/100-4 8216 12942 ns/op BenchmarkNatSqr/200-4 3643 33241 ns/op BenchmarkNatSqr/300-4 1350 77876 ns/op BenchmarkNatSqr/500-4 702 156062 ns/op BenchmarkNatSqr/800-4 309 371461 ns/op BenchmarkNatSqr/1000-4 235 505747 ns/op BenchmarkNatSetBytes/8-4 637598 166.8 ns/op BenchmarkNatSetBytes/24-4 203034 569.2 ns/op BenchmarkNatSetBytes/128-4 47358 2514 ns/op BenchmarkNatSetBytes/7-4 767379 149.8 ns/op BenchmarkNatSetBytes/23-4 209272 542.6 ns/op BenchmarkNatSetBytes/127-4 47271 2484 ns/op BenchmarkScanPi-4 246 472545 ns/op BenchmarkStringPiParallel-4 762 175908 ns/op BenchmarkScan/10/Base2-4 42194 2825 ns/op BenchmarkScan/100/Base2-4 4216 24910 ns/op BenchmarkScan/1000/Base2-4 488 242906 ns/op BenchmarkScan/10/Base8-4 101994 1160 ns/op BenchmarkScan/100/Base8-4 13680 8637 ns/op BenchmarkScan/1000/Base8-4 1372 84380 ns/op BenchmarkScan/10/Base10-4 108021 1089 ns/op BenchmarkScan/100/Base10-4 15121 7912 ns/op BenchmarkScan/1000/Base10-4 1542 76996 ns/op BenchmarkScan/10/Base16-4 120417 1004 ns/op BenchmarkScan/100/Base16-4 16954 7139 ns/op BenchmarkScan/1000/Base16-4 1695 68292 ns/op BenchmarkString/10/Base2-4 177942 656.2 ns/op BenchmarkString/100/Base2-4 23572 5015 ns/op BenchmarkString/1000/Base2-4 2451 47986 ns/op BenchmarkString/10/Base8-4 359364 334.9 ns/op BenchmarkString/100/Base8-4 63531 1867 ns/op BenchmarkString/1000/Base8-4 6890 17234 ns/op BenchmarkString/10/Base10-4 200941 580.4 ns/op BenchmarkString/100/Base10-4 38800 3018 ns/op BenchmarkString/1000/Base10-4 4952 23593 ns/op BenchmarkString/10/Base16-4 382488 296.7 ns/op BenchmarkString/100/Base16-4 82687 1422 ns/op BenchmarkString/1000/Base16-4 9399 12450 ns/op BenchmarkLeafSize/0-4 43 2774456 ns/op BenchmarkLeafSize/1-4 402 278871 ns/op BenchmarkLeafSize/2-4 409 280763 ns/op BenchmarkLeafSize/3-4 301 381234 ns/op BenchmarkLeafSize/4-4 400 275464 ns/op BenchmarkLeafSize/5-4 268 434033 ns/op BenchmarkLeafSize/6-4 306 371443 ns/op BenchmarkLeafSize/7-4 327 352728 ns/op BenchmarkLeafSize/8-4 414 270172 ns/op BenchmarkLeafSize/9-4 229 514085 ns/op BenchmarkLeafSize/10-4 276 423461 ns/op BenchmarkLeafSize/11-4 290 416152 ns/op BenchmarkLeafSize/12-4 307 374027 ns/op BenchmarkLeafSize/13-4 286 406862 ns/op BenchmarkLeafSize/14-4 325 351274 ns/op BenchmarkLeafSize/15-4 351 322511 ns/op BenchmarkLeafSize/16-4 427 266333 ns/op BenchmarkLeafSize/32-4 428 272013 ns/op BenchmarkLeafSize/64-4 387 297565 ns/op BenchmarkProbablyPrime/n=0-4 9 11258685 ns/op BenchmarkProbablyPrime/n=1-4 9 12501973 ns/op BenchmarkProbablyPrime/n=5-4 6 18506425 ns/op BenchmarkProbablyPrime/n=10-4 4 25378493 ns/op BenchmarkProbablyPrime/n=20-4 3 39520054 ns/op BenchmarkProbablyPrime/Lucas-4 12 9610285 ns/op BenchmarkProbablyPrime/MillerRabinBase2-4 78 1456745 ns/op BenchmarkRatCmp-4 202366 543.9 ns/op BenchmarkFloatSqrt/64-4 22339 5257 ns/op 208 B/op 5 allocs/op BenchmarkFloatSqrt/128-4 14156 8392 ns/op 256 B/op 5 allocs/op BenchmarkFloatSqrt/256-4 9496 11950 ns/op 352 B/op 5 allocs/op BenchmarkFloatSqrt/1000-4 4326 23700 ns/op 1312 B/op 6 allocs/op BenchmarkFloatSqrt/10000-4 804 145242 ns/op 18015 B/op 9 allocs/op BenchmarkFloatSqrt/100000-4 61 1913689 ns/op 178532 B/op 22 allocs/op BenchmarkFloatSqrt/1000000-4 1 149290926 ns/op 3811760 B/op 641 allocs/op PASS ok math/big 49.875s ##### 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: math/bits cpu: AMD EPYC 7B12 BenchmarkLeadingZeros-4 10730284 10.98 ns/op BenchmarkLeadingZeros8-4 10625787 11.32 ns/op BenchmarkLeadingZeros16-4 11432185 10.49 ns/op BenchmarkLeadingZeros32-4 11802891 10.16 ns/op BenchmarkLeadingZeros64-4 11810616 10.17 ns/op BenchmarkTrailingZeros-4 12604484 9.507 ns/op BenchmarkTrailingZeros8-4 9359139 12.32 ns/op BenchmarkTrailingZeros16-4 11087722 10.76 ns/op BenchmarkTrailingZeros32-4 12084286 9.831 ns/op BenchmarkTrailingZeros64-4 12098102 9.565 ns/op BenchmarkOnesCount-4 11724967 9.534 ns/op BenchmarkOnesCount8-4 12508846 10.80 ns/op BenchmarkOnesCount16-4 12884812 9.188 ns/op BenchmarkOnesCount32-4 12640586 9.842 ns/op BenchmarkOnesCount64-4 12956220 9.223 ns/op BenchmarkRotateLeft-4 11282086 9.228 ns/op BenchmarkRotateLeft8-4 10473496 9.593 ns/op BenchmarkRotateLeft16-4 12550226 9.189 ns/op BenchmarkRotateLeft32-4 11047412 9.490 ns/op BenchmarkRotateLeft64-4 12627724 10.16 ns/op BenchmarkReverse-4 19250883 6.245 ns/op BenchmarkReverse8-4 22556899 5.257 ns/op BenchmarkReverse16-4 19806068 5.639 ns/op BenchmarkReverse32-4 19273636 5.937 ns/op BenchmarkReverse64-4 19262778 6.233 ns/op BenchmarkReverseBytes-4 20244349 5.883 ns/op BenchmarkReverseBytes16-4 22736444 5.897 ns/op BenchmarkReverseBytes32-4 22740752 5.898 ns/op BenchmarkReverseBytes64-4 20294610 5.900 ns/op BenchmarkAdd-4 13000491 9.068 ns/op BenchmarkAdd32-4 11075402 10.86 ns/op BenchmarkAdd64-4 13003491 9.191 ns/op BenchmarkAdd64multiple-4 22100830 5.242 ns/op BenchmarkSub-4 11399139 9.180 ns/op BenchmarkSub32-4 11827950 9.510 ns/op BenchmarkSub64-4 10713202 10.52 ns/op BenchmarkSub64multiple-4 22509847 5.247 ns/op BenchmarkMul-4 12559434 10.21 ns/op BenchmarkMul32-4 11096715 10.14 ns/op BenchmarkMul64-4 13056392 9.208 ns/op BenchmarkDiv-4 11110843 10.28 ns/op BenchmarkDiv32-4 12551989 9.508 ns/op BenchmarkDiv64-4 12544282 10.09 ns/op PASS ok math/bits 5.832s goos: linux goarch: amd64 pkg: math/cmplx cpu: AMD EPYC 7B12 BenchmarkAbs-4 12185437 8.636 ns/op BenchmarkAcos-4 575666 183.5 ns/op BenchmarkAcosh-4 559886 203.9 ns/op BenchmarkAsin-4 649986 184.3 ns/op BenchmarkAsinh-4 632523 183.4 ns/op BenchmarkAtan-4 1000000 107.5 ns/op BenchmarkAtanh-4 1000000 115.4 ns/op BenchmarkConj-4 21041408 5.262 ns/op BenchmarkCos-4 608328 191.7 ns/op BenchmarkCosh-4 729274 168.5 ns/op BenchmarkExp-4 891536 130.8 ns/op BenchmarkLog-4 1396550 83.62 ns/op BenchmarkLog10-4 1432557 83.99 ns/op BenchmarkPhase-4 2841740 42.30 ns/op BenchmarkPolar-4 2120503 56.80 ns/op BenchmarkPow-4 255104 463.1 ns/op BenchmarkRect-4 1221322 100.6 ns/op BenchmarkSin-4 683709 170.1 ns/op BenchmarkSinh-4 714322 168.1 ns/op BenchmarkSqrt-4 1270410 94.08 ns/op BenchmarkTan-4 441154 272.9 ns/op BenchmarkTanh-4 442264 269.6 ns/op PASS ok math/cmplx 3.166s goos: linux goarch: amd64 pkg: math/rand cpu: AMD EPYC 7B12 BenchmarkInt63Threadsafe-4 969433 124.4 ns/op BenchmarkInt63ThreadsafeParallel-4 699100 143.9 ns/op BenchmarkInt63Unthreadsafe-4 1000000 101.4 ns/op BenchmarkIntn1000-4 789624 133.4 ns/op BenchmarkInt63n1000-4 871326 118.1 ns/op BenchmarkInt31n1000-4 989020 130.3 ns/op BenchmarkFloat32-4 933656 119.4 ns/op BenchmarkFloat64-4 1000000 102.5 ns/op BenchmarkPerm3-4 197090 607.3 ns/op BenchmarkPerm30-4 24145 5015 ns/op BenchmarkPerm30ViaShuffle-4 22164 4937 ns/op BenchmarkShuffleOverhead-4 17071 6954 ns/op BenchmarkRead3-4 823377 135.1 ns/op BenchmarkRead64-4 84769 1387 ns/op BenchmarkRead1000-4 5084 21307 ns/op BenchmarkConcurrent-4 211254 515.0 ns/op PASS ok math/rand 2.150s goos: linux goarch: amd64 pkg: mime cpu: AMD EPYC 7B12 BenchmarkQEncodeWord-4 48601 2584 ns/op BenchmarkQDecodeWord-4 110090 1047 ns/op BenchmarkQDecodeHeader-4 105084 1157 ns/op BenchmarkTypeByExtension/.html-4 557358 206.4 ns/op BenchmarkTypeByExtension/.HTML-4 285808 365.3 ns/op BenchmarkTypeByExtension/.unused-4 439936 253.0 ns/op BenchmarkExtensionsByType/text/html-4 188956 647.4 ns/op BenchmarkExtensionsByType/text/html;_charset=utf-8-4 104769 1193 ns/op BenchmarkExtensionsByType/application/octet-stream-4 138928 943.2 ns/op PASS ok mime 1.402s goos: linux goarch: amd64 pkg: mime/quotedprintable cpu: AMD EPYC 7B12 BenchmarkWriter-4 951 117652 ns/op PASS ok mime/quotedprintable 0.139s ##### 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 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkGoLookupIP-4 50 2049168 ns/op 8540 B/op 91 allocs/op BenchmarkGoLookupIPNoSuchHost-4 13 7816844 ns/op 19486 B/op 160 allocs/op BenchmarkGoLookupIPWithBrokenNameServer-4 1 5003481696 ns/op 159936 B/op 233 allocs/op BenchmarkDNSName-4 108904 985.2 ns/op BenchmarkInterfaces-4 1347 86874 ns/op BenchmarkInterfaceByIndex-4 1711 71355 ns/op BenchmarkInterfaceByName-4 1232 85967 ns/op BenchmarkInterfaceAddrs-4 813 132101 ns/op BenchmarkInterfacesAndAddrs-4 2868 39897 ns/op BenchmarkInterfacesAndMulticastAddrs-4 565 214689 ns/op BenchmarkParseIP-4 6105 17263 ns/op BenchmarkParseIPValidIPv4-4 357106 308.0 ns/op BenchmarkParseIPValidIPv6-4 186062 641.0 ns/op BenchmarkIPString/IPv4-4 111968 1049 ns/op 32 B/op 2 allocs/op BenchmarkIPString/IPv6-4 10000 11347 ns/op 216 B/op 11 allocs/op BenchmarkIPMaskString-4 46928 2483 ns/op BenchmarkIPEqual/IPv4-4 1082420 103.7 ns/op BenchmarkIPEqual/IPv6-4 1151204 100.5 ns/op BenchmarkSendFile/1024-4 1 221003555 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/2048-4 1 222244860 ns/op 0.01 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/4096-4 1 222296581 ns/op 0.02 MB/s 552 B/op 12 allocs/op BenchmarkSendFile/8192-4 1 221627719 ns/op 0.04 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/16384-4 1 223084564 ns/op 0.07 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/32768-4 3172 37691 ns/op 869.38 MB/s 0 B/op 0 allocs/op BenchmarkSendFile/65536-4 1656 77289 ns/op 847.93 MB/s 0 B/op 0 allocs/op BenchmarkSendFile/131072-4 758 152010 ns/op 862.26 MB/s 0 B/op 0 allocs/op BenchmarkSendFile/262144-4 436 278512 ns/op 941.23 MB/s 1 B/op 0 allocs/op BenchmarkSendFile/524288-4 159 670217 ns/op 782.27 MB/s 3 B/op 0 allocs/op BenchmarkSendFile/1048576-4 79 1273668 ns/op 823.27 MB/s 7 B/op 0 allocs/op BenchmarkSplice/tcp-to-tcp/1024-4 8312 12466 ns/op 82.14 MB/s BenchmarkSplice/tcp-to-tcp/2048-4 6766 14863 ns/op 137.79 MB/s BenchmarkSplice/tcp-to-tcp/4096-4 7653 15732 ns/op 260.36 MB/s BenchmarkSplice/tcp-to-tcp/8192-4 5739 24359 ns/op 336.30 MB/s BenchmarkSplice/tcp-to-tcp/16384-4 3214 34159 ns/op 479.64 MB/s BenchmarkSplice/tcp-to-tcp/32768-4 2251 48000 ns/op 682.67 MB/s BenchmarkSplice/tcp-to-tcp/65536-4 1410 89228 ns/op 734.48 MB/s BenchmarkSplice/tcp-to-tcp/131072-4 584 180494 ns/op 726.19 MB/s BenchmarkSplice/tcp-to-tcp/262144-4 324 337883 ns/op 775.84 MB/s BenchmarkSplice/tcp-to-tcp/524288-4 184 680753 ns/op 770.16 MB/s BenchmarkSplice/tcp-to-tcp/1048576-4 81 1392509 ns/op 753.01 MB/s BenchmarkSplice/unix-to-tcp/1024-4 18355 5964 ns/op 171.70 MB/s BenchmarkSplice/unix-to-tcp/2048-4 13822 8309 ns/op 246.48 MB/s BenchmarkSplice/unix-to-tcp/4096-4 10215 10348 ns/op 395.82 MB/s BenchmarkSplice/unix-to-tcp/8192-4 7242 15363 ns/op 533.22 MB/s BenchmarkSplice/unix-to-tcp/16384-4 4911 25297 ns/op 647.67 MB/s BenchmarkSplice/unix-to-tcp/32768-4 2086 61083 ns/op 536.45 MB/s BenchmarkSplice/unix-to-tcp/65536-4 1406 81569 ns/op 803.44 MB/s BenchmarkSplice/unix-to-tcp/131072-4 586 171050 ns/op 766.28 MB/s BenchmarkSplice/unix-to-tcp/262144-4 332 329222 ns/op 796.25 MB/s BenchmarkSplice/unix-to-tcp/524288-4 171 631282 ns/op 830.51 MB/s BenchmarkSplice/unix-to-tcp/1048576-4 63 1891403 ns/op 554.39 MB/s BenchmarkSpliceFile/tcp-to-file/1024-4 10401 12049 ns/op 84.99 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/2048-4 8784 14188 ns/op 144.34 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/4096-4 5596 18800 ns/op 217.87 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/8192-4 6020 20644 ns/op 396.83 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/16384-4 4167 27399 ns/op 597.97 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/32768-4 2097 47782 ns/op 685.77 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/65536-4 1412 74596 ns/op 878.54 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/131072-4 637 158139 ns/op 828.84 MB/s 1 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/262144-4 391 283882 ns/op 923.42 MB/s 2 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/524288-4 211 599154 ns/op 875.05 MB/s 4 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/1048576-4 96 1155046 ns/op 907.82 MB/s 9 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/1024-4 18324 6134 ns/op 166.93 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/2048-4 15636 7363 ns/op 278.15 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/4096-4 10705 10046 ns/op 407.72 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/8192-4 6330 16634 ns/op 492.49 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/16384-4 4779 23013 ns/op 711.95 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/32768-4 2038 59315 ns/op 552.44 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/65536-4 1159 86514 ns/op 757.52 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/131072-4 872 149402 ns/op 877.31 MB/s 1 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/262144-4 321 328923 ns/op 796.98 MB/s 2 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/524288-4 201 574022 ns/op 913.36 MB/s 4 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/1048576-4 109 1101482 ns/op 951.97 MB/s 8 B/op 0 allocs/op BenchmarkTCP4OneShot-4 1852 56477 ns/op BenchmarkTCP4OneShotTimeout-4 2271 53361 ns/op BenchmarkTCP4Persistent-4 12802 9375 ns/op BenchmarkTCP4PersistentTimeout-4 14380 9739 ns/op BenchmarkTCP6OneShot-4 1765 59687 ns/op BenchmarkTCP6OneShotTimeout-4 1862 55193 ns/op BenchmarkTCP6Persistent-4 11518 8858 ns/op BenchmarkTCP6PersistentTimeout-4 12423 10485 ns/op BenchmarkTCP4ConcurrentReadWrite-4 25105 5278 ns/op BenchmarkTCP6ConcurrentReadWrite-4 26706 5096 ns/op BenchmarkSetReadDeadline-4 124022 899.1 ns/op BenchmarkReadWriteMsgUDPAddrPort-4 9574 11983 ns/op 0 B/op 0 allocs/op BenchmarkWriteToReadFromUDP-4 9594 11769 ns/op 16 B/op 1 allocs/op BenchmarkWriteToReadFromUDPAddrPort-4 10000 11588 ns/op 0 B/op 0 allocs/op PASS ok net 36.731s goos: linux goarch: amd64 pkg: net/http cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCookieString-4 27279 4058 ns/op 176 B/op 1 allocs/op BenchmarkReadSetCookies-4 11384 10447 ns/op 1168 B/op 21 allocs/op BenchmarkReadCookies-4 14782 7966 ns/op 1840 B/op 11 allocs/op BenchmarkHeaderWriteSubset-4 18549 6501 ns/op 46 B/op 0 allocs/op BenchmarkCopyValues-4 33036 3443 ns/op 736 B/op 11 allocs/op BenchmarkHexEscapeNonASCII-4 50430 2286 ns/op 192 B/op 2 allocs/op BenchmarkServerMatch-4 922176 125.7 ns/op BenchmarkReadRequestChrome-4 3608 30628 ns/op 19.95 MB/s 1844 B/op 14 allocs/op BenchmarkReadRequestCurl-4 11796 10071 ns/op 7.74 MB/s 939 B/op 9 allocs/op BenchmarkReadRequestApachebench-4 11480 10215 ns/op 8.03 MB/s 940 B/op 9 allocs/op BenchmarkReadRequestSiege-4 7000 15213 ns/op 9.93 MB/s 1036 B/op 11 allocs/op BenchmarkReadRequestWrk-4 17727 6587 ns/op 6.07 MB/s 876 B/op 7 allocs/op BenchmarkFileAndServer_1KB/h1-4 322 349098 ns/op 2.93 MB/s BenchmarkFileAndServer_1KB/https1-4 234 460296 ns/op 2.22 MB/s BenchmarkFileAndServer_1KB/h2-4 150 790453 ns/op 1.30 MB/s BenchmarkFileAndServer_16MB/h1-4 2 54231978 ns/op 309.36 MB/s BenchmarkFileAndServer_16MB/https1-4 1 138676156 ns/op 120.98 MB/s BenchmarkFileAndServer_16MB/h2-4 1 227455625 ns/op 73.76 MB/s BenchmarkFileAndServer_64MB/h1-4 1 218325676 ns/op 307.38 MB/s BenchmarkFileAndServer_64MB/https1-4 1 493553381 ns/op 135.97 MB/s BenchmarkFileAndServer_64MB/h2-4 1 979472164 ns/op 68.52 MB/s BenchmarkServeMux-4 278 444902 ns/op 17280 B/op 360 allocs/op BenchmarkServeMux_SkipServe-4 361 349471 ns/op 0 B/op 0 allocs/op BenchmarkClientServer/h1-4 398 302904 ns/op 5880 B/op 64 allocs/op BenchmarkClientServer/https1-4 242 431181 ns/op 6547 B/op 74 allocs/op BenchmarkClientServer/h2-4 182 602634 ns/op 10156 B/op 82 allocs/op BenchmarkClientServerParallel/4/h1-4 888 122640 ns/op 9981 B/op 79 allocs/op BenchmarkClientServerParallel/4/https1-4 34 4048975 ns/op 89393 B/op 965 allocs/op --- BENCH: BenchmarkClientServerParallel/4/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:33324: read tcp 127.0.0.1:33909->127.0.0.1:33324: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:33302: write tcp 127.0.0.1:33909->127.0.0.1:33302: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55116: read tcp 127.0.0.1:45485->127.0.0.1:55116: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54974: write tcp 127.0.0.1:45485->127.0.0.1:54974: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55028: read tcp 127.0.0.1:45485->127.0.0.1:55028: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55032: read tcp 127.0.0.1:45485->127.0.0.1:55032: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55012: write tcp 127.0.0.1:45485->127.0.0.1:55012: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:40042: read tcp 127.0.0.1:33837->127.0.0.1:40042: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:40206: write tcp 127.0.0.1:33837->127.0.0.1:40206: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:40236: write tcp 127.0.0.1:33837->127.0.0.1:40236: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/4/h2-4 142 704246 ns/op 19786 B/op 206 allocs/op --- BENCH: BenchmarkClientServerParallel/4/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:50988: read tcp 127.0.0.1:41293->127.0.0.1:50988: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:50976: write tcp 127.0.0.1:41293->127.0.0.1:50976: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41682: read tcp 127.0.0.1:45231->127.0.0.1:41682: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41736: read tcp 127.0.0.1:45231->127.0.0.1:41736: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41770: read tcp 127.0.0.1:45231->127.0.0.1:41770: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41750: write tcp 127.0.0.1:45231->127.0.0.1:41750: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41688: write tcp 127.0.0.1:45231->127.0.0.1:41688: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:58902: read tcp 127.0.0.1:33931->127.0.0.1:58902: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:39248: write tcp 127.0.0.1:36743->127.0.0.1:39248: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:39270: write tcp 127.0.0.1:36743->127.0.0.1:39270: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h1-4 602 215810 ns/op 19086 B/op 105 allocs/op BenchmarkClientServerParallel/64/https1-4 28 4518600 ns/op 111714 B/op 1195 allocs/op --- BENCH: BenchmarkClientServerParallel/64/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41278: write tcp 127.0.0.1:44933->127.0.0.1:41278: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41266: write tcp 127.0.0.1:44933->127.0.0.1:41266: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:37480: read tcp 127.0.0.1:36821->127.0.0.1:37480: use of closed network connection BenchmarkClientServerParallel/64/h2-4 61 2340863 ns/op 59941 B/op 665 allocs/op --- BENCH: BenchmarkClientServerParallel/64/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59862: read tcp 127.0.0.1:46657->127.0.0.1:59862: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59830: write tcp 127.0.0.1:46657->127.0.0.1:59830: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:34546: read tcp 127.0.0.1:35543->127.0.0.1:34546: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:34632: write tcp 127.0.0.1:35543->127.0.0.1:34632: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:34606: write tcp 127.0.0.1:35543->127.0.0.1:34606: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:34658: write tcp 127.0.0.1:35543->127.0.0.1:34658: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:34556: read tcp 127.0.0.1:35543->127.0.0.1:34556: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:34672: read tcp 127.0.0.1:35543->127.0.0.1:34672: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:34682: read tcp 127.0.0.1:35543->127.0.0.1:34682: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:34694: read tcp 127.0.0.1:35543->127.0.0.1:34694: use of closed network connection ... [output truncated] BenchmarkServer-4 127 822557 ns/op 3116 B/op 23 allocs/op BenchmarkClient-4 304 379189 ns/op 3762 B/op 45 allocs/op BenchmarkServerFakeConnNoKeepAlive-4 610 165310 ns/op 7390 B/op 54 allocs/op BenchmarkServerFakeConnWithKeepAlive-4 1314 88213 ns/op 3048 B/op 24 allocs/op BenchmarkServerFakeConnWithKeepAliveLite-4 1695 67474 ns/op 1939 B/op 14 allocs/op BenchmarkServerHandlerTypeLen-4 1563 81882 ns/op 2763 B/op 21 allocs/op BenchmarkServerHandlerNoLen-4 1617 71075 ns/op 2680 B/op 19 allocs/op BenchmarkServerHandlerNoType-4 1683 71675 ns/op 2728 B/op 20 allocs/op BenchmarkServerHandlerNoHeader-4 1836 66357 ns/op 1905 B/op 14 allocs/op BenchmarkServerHijack-4 1094 112025 ns/op 16747 B/op 50 allocs/op BenchmarkCloseNotifier/h1-4 394 292572 ns/op 6067 B/op 52 allocs/op BenchmarkResponseStatusLine-4 506595 218.2 ns/op 0 B/op 0 allocs/op PASS ok net/http 10.752s ##### 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/http/httputil cpu: AMD EPYC 7B12 BenchmarkServeHTTP-4 6110 19916 ns/op 34073 B/op 12 allocs/op PASS ok net/http/httputil 0.238s goos: linux goarch: amd64 pkg: net/netip cpu: AMD EPYC 7B12 BenchmarkIPNextPrev-4 86528 1315 ns/op BenchmarkBinaryMarshalRoundTrip/ipv4-4 520742 209.2 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6-4 207879 576.2 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6+zone-4 64738 1821 ns/op BenchmarkStdIPv4-4 143409 811.4 ns/op 16 B/op 1 allocs/op BenchmarkIPv4-4 121932 967.3 ns/op 0 B/op 0 allocs/op BenchmarkIPv4_inline-4 123486 971.1 ns/op 0 B/op 0 allocs/op BenchmarkStdIPv6-4 82682 1330 ns/op 16 B/op 1 allocs/op BenchmarkIPv6-4 88857 1330 ns/op 0 B/op 0 allocs/op BenchmarkIPv4Contains-4 1808968 60.24 ns/op 0 B/op 0 allocs/op BenchmarkIPv6Contains-4 1859056 64.39 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v4-4 1381293 83.05 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6-4 298152 404.3 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_ellipsis-4 319904 371.7 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_v4-4 294628 384.8 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_zone-4 84171 1430 ns/op 0 B/op 0 allocs/op BenchmarkStdParseIP/v4-4 319948 358.0 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6-4 153117 767.0 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_ellipsis-4 158745 744.7 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_v4-4 152901 780.8 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_zone-4 74452 1574 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v4-4 371754 307.4 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v6-4 116014 887.4 ns/op 48 B/op 1 allocs/op BenchmarkIPString/v6_ellipsis-4 177882 660.8 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_v4-4 274698 437.6 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_zone-4 160032 735.7 ns/op 24 B/op 1 allocs/op BenchmarkIPStringExpanded/v4-4 334816 373.3 ns/op 16 B/op 1 allocs/op BenchmarkIPStringExpanded/v6-4 171094 650.9 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_ellipsis-4 179294 648.1 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_v4-4 181189 643.1 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_zone-4 135732 868.4 ns/op 128 B/op 2 allocs/op BenchmarkIPMarshalText-4 521463 230.1 ns/op 16 B/op 1 allocs/op BenchmarkAddrPortString/v4-4 161868 738.2 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortString/v6-4 98379 1176 ns/op 112 B/op 3 allocs/op BenchmarkAddrPortString/v6_ellipsis-4 121642 933.1 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_v4-4 169078 711.1 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_zone-4 115768 1016 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortMarshalText/v4-4 271173 416.1 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6-4 116335 971.4 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_ellipsis-4 149864 787.2 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_v4-4 197348 598.5 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_zone-4 138591 854.6 ns/op 64 B/op 1 allocs/op BenchmarkPrefixMasking/IPv4_/32-4 1253928 100.5 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/17-4 1000000 103.5 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/0-4 1234647 96.68 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/128-4 1245310 98.54 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/65-4 1236565 98.31 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/0-4 1000000 103.6 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/128-4 1000000 102.1 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/65-4 1254622 98.47 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/0-4 1000000 109.7 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMarshalText-4 353232 307.7 ns/op 24 B/op 1 allocs/op BenchmarkParseAddrPort/v4-4 625657 189.2 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6-4 215569 529.0 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_ellipsis-4 237675 500.7 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_v4-4 219070 521.6 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_zone-4 74890 1598 ns/op 0 B/op 0 allocs/op BenchmarkAs16-4 655636 186.0 ns/op PASS ok net/netip 8.048s 2023/03/24 18:38:56 Test RPC server listening on 127.0.0.1:43171 2023/03/24 18:38:56 Test HTTP RPC server listening on 127.0.0.1:44623 goos: linux goarch: amd64 pkg: net/rpc cpu: AMD EPYC 7B12 BenchmarkEndToEnd-4 1527 78367 ns/op BenchmarkEndToEndHTTP-4 1383 73913 ns/op BenchmarkEndToEndAsync-4 3112 37352 ns/op BenchmarkEndToEndAsyncHTTP-4 3381 36256 ns/op PASS ok net/rpc 0.779s goos: linux goarch: amd64 pkg: net/textproto cpu: AMD EPYC 7B12 BenchmarkReadMIMEHeader/client_headers-4 3900 27230 ns/op BenchmarkReadMIMEHeader/server_headers-4 6340 19168 ns/op BenchmarkUncommon-4 28970 4060 ns/op 480 B/op 5 allocs/op PASS ok net/textproto 0.516s goos: linux goarch: amd64 pkg: net/url cpu: AMD EPYC 7B12 BenchmarkString-4 4461 23509 ns/op 1616 B/op 60 allocs/op BenchmarkResolvePath-4 98650 1187 ns/op 32 B/op 2 allocs/op BenchmarkQueryEscape/#00-4 528524 205.2 ns/op 16 B/op 1 allocs/op BenchmarkQueryEscape/#01-4 104354 1120 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#02-4 191059 578.3 ns/op 32 B/op 1 allocs/op BenchmarkQueryEscape/#03-4 95082 1231 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#04-4 17524 6803 ns/op 832 B/op 2 allocs/op BenchmarkPathEscape/#00-4 419986 293.6 ns/op 16 B/op 1 allocs/op BenchmarkPathEscape/#01-4 101456 1158 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#02-4 205220 576.5 ns/op 32 B/op 1 allocs/op BenchmarkPathEscape/#03-4 92990 1210 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#04-4 19096 6208 ns/op 704 B/op 2 allocs/op BenchmarkQueryUnescape/#00-4 208852 582.0 ns/op 16 B/op 1 allocs/op BenchmarkQueryUnescape/#01-4 84648 1383 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#02-4 82633 1405 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#03-4 39550 3070 ns/op 64 B/op 1 allocs/op BenchmarkQueryUnescape/#04-4 6462 18400 ns/op 320 B/op 1 allocs/op BenchmarkPathUnescape/#00-4 171296 586.2 ns/op 16 B/op 1 allocs/op BenchmarkPathUnescape/#01-4 84555 1366 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#02-4 83924 1394 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#03-4 39483 3021 ns/op 64 B/op 1 allocs/op BenchmarkPathUnescape/#04-4 6442 16170 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 4321351 27.58 ns/op 0 B/op 0 allocs/op BenchmarkExpand/multiple-4 183064 608.1 ns/op 48 B/op 2 allocs/op BenchmarkReaddirname-4 928 118821 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 337 344328 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 736 153185 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 83860 1417 ns/op BenchmarkStatFile-4 65260 1780 ns/op BenchmarkStatDir-4 71060 1698 ns/op BenchmarkLstatDot-4 83665 1410 ns/op BenchmarkLstatFile-4 64874 1816 ns/op BenchmarkLstatDir-4 69786 1685 ns/op PASS ok os 1.533s goos: linux goarch: amd64 pkg: os/exec cpu: AMD EPYC 7B12 BenchmarkExecHostname-4 228 521073 ns/op 6560 B/op 29 allocs/op PASS ok os/exec 0.196s goos: linux goarch: amd64 pkg: os/user cpu: AMD EPYC 7B12 BenchmarkCurrent-4 461403 248.2 ns/op PASS ok os/user 0.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 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: reflect cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkBool-4 3541663 33.68 ns/op BenchmarkString-4 2297575 51.81 ns/op BenchmarkBytes-4 1928299 60.54 ns/op BenchmarkNamedBytes-4 775656 150.7 ns/op BenchmarkBytesArray-4 665125 178.7 ns/op BenchmarkSliceLen-4 2290814 52.52 ns/op BenchmarkMapLen-4 1480442 81.49 ns/op BenchmarkStringLen-4 1777104 67.87 ns/op BenchmarkArrayLen-4 1735765 69.44 ns/op BenchmarkSliceCap-4 2382482 50.29 ns/op BenchmarkDeepEqual/int8-4 682800 169.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int8-4 116025 1023 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int16-4 513288 224.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int16-4 109700 1071 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int32-4 538342 220.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int32-4 109969 1083 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int64-4 526773 224.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int64-4 111884 1083 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int-4 543518 217.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int-4 111019 1070 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint8-4 706070 169.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8-4 141745 829.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint16-4 532294 223.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint16-4 107973 1077 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint32-4 507800 226.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint32-4 109503 1078 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint64-4 525762 226.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint64-4 110140 1070 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint-4 498112 221.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint-4 110054 1080 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uintptr-4 532982 221.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uintptr-4 110166 1079 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float32-4 523524 221.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float32-4 110329 1077 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float64-4 538774 217.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float64-4 110070 1082 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex64-4 534534 223.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex64-4 110768 1071 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex128-4 531242 223.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex128-4 109459 1084 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/bool-4 696326 166.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]bool-4 118108 1010 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/string-4 537796 212.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]string-4 109626 1077 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8#01-4 145790 817.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][]uint8-4 67844 1731 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[6]uint8-4 69536 1700 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][6]uint8-4 45333 2605 ns/op 0 B/op 0 allocs/op BenchmarkIsZero/ArrayComparable-4 286072 411.9 ns/op BenchmarkIsZero/ArrayIncomparable-4 39408 3035 ns/op BenchmarkIsZero/StructComparable-4 926625 128.3 ns/op BenchmarkIsZero/StructIncomparable-4 175974 672.5 ns/op BenchmarkSetZero/Bool/Direct-4 4266638 29.33 ns/op BenchmarkSetZero/Bool/CachedZero-4 1715671 69.66 ns/op BenchmarkSetZero/Bool/NewZero-4 1241877 96.64 ns/op BenchmarkSetZero/Int/Direct-4 2489176 47.54 ns/op BenchmarkSetZero/Int/CachedZero-4 1723108 69.26 ns/op BenchmarkSetZero/Int/NewZero-4 1236018 96.53 ns/op BenchmarkSetZero/Uint/Direct-4 2510954 51.74 ns/op BenchmarkSetZero/Uint/CachedZero-4 1730424 69.73 ns/op BenchmarkSetZero/Uint/NewZero-4 1231470 96.63 ns/op BenchmarkSetZero/Float/Direct-4 2366536 47.67 ns/op BenchmarkSetZero/Float/CachedZero-4 1816066 66.47 ns/op BenchmarkSetZero/Float/NewZero-4 1295574 92.84 ns/op BenchmarkSetZero/Complex/Direct-4 2482621 48.97 ns/op BenchmarkSetZero/Complex/CachedZero-4 1804513 66.31 ns/op BenchmarkSetZero/Complex/NewZero-4 1308387 91.94 ns/op BenchmarkSetZero/Array/Direct-4 4209475 28.18 ns/op BenchmarkSetZero/Array/CachedZero-4 1744594 68.27 ns/op BenchmarkSetZero/Array/NewZero-4 1304488 91.84 ns/op BenchmarkSetZero/Chan/Direct-4 2533396 47.27 ns/op BenchmarkSetZero/Chan/CachedZero-4 1362308 89.10 ns/op BenchmarkSetZero/Chan/NewZero-4 989370 112.4 ns/op BenchmarkSetZero/Func/Direct-4 2542579 47.42 ns/op BenchmarkSetZero/Func/CachedZero-4 1362316 88.55 ns/op BenchmarkSetZero/Func/NewZero-4 1000000 112.8 ns/op BenchmarkSetZero/Interface/Direct-4 2222379 52.37 ns/op BenchmarkSetZero/Interface/CachedZero-4 1816164 65.90 ns/op BenchmarkSetZero/Interface/NewZero-4 1305134 91.75 ns/op BenchmarkSetZero/Map/Direct-4 2547147 46.96 ns/op BenchmarkSetZero/Map/CachedZero-4 1360351 87.68 ns/op BenchmarkSetZero/Map/NewZero-4 991320 112.8 ns/op BenchmarkSetZero/Pointer/Direct-4 2540464 47.33 ns/op BenchmarkSetZero/Pointer/CachedZero-4 1358889 88.12 ns/op BenchmarkSetZero/Pointer/NewZero-4 1000000 113.4 ns/op BenchmarkSetZero/Slice/Direct-4 2194993 54.52 ns/op BenchmarkSetZero/Slice/CachedZero-4 1795411 66.92 ns/op BenchmarkSetZero/Slice/NewZero-4 1306088 92.59 ns/op BenchmarkSetZero/String/Direct-4 2492962 48.08 ns/op BenchmarkSetZero/String/CachedZero-4 1800428 66.45 ns/op BenchmarkSetZero/String/NewZero-4 1299465 92.15 ns/op BenchmarkSetZero/Struct/Direct-4 4297718 27.64 ns/op BenchmarkSetZero/Struct/CachedZero-4 1798838 66.46 ns/op BenchmarkSetZero/Struct/NewZero-4 1304260 92.15 ns/op BenchmarkSelect/1-4 167296 678.9 ns/op 80 B/op 5 allocs/op BenchmarkSelect/4-4 90835 1363 ns/op 208 B/op 8 allocs/op BenchmarkSelect/8-4 44050 2513 ns/op 672 B/op 13 allocs/op BenchmarkCall-4 170200 698.8 ns/op 0 B/op 0 allocs/op BenchmarkCallMethod-4 135054 887.7 ns/op 0 B/op 0 allocs/op BenchmarkCallArgCopy/size=128-4 123421 902.8 ns/op 141.79 MB/s BenchmarkCallArgCopy/size=256-4 121138 1088 ns/op 235.32 MB/s BenchmarkCallArgCopy/size=1024-4 81700 1627 ns/op 629.40 MB/s BenchmarkCallArgCopy/size=4096-4 37836 3384 ns/op 1210.43 MB/s BenchmarkCallArgCopy/size=65536-4 3070 38101 ns/op 1720.04 MB/s BenchmarkPtrTo-4 448022 250.4 ns/op BenchmarkFieldByName1-4 820197 139.6 ns/op BenchmarkFieldByName2-4 70783 1777 ns/op BenchmarkFieldByName3-4 7704 13508 ns/op BenchmarkInterfaceBig-4 5115888 23.05 ns/op BenchmarkInterfaceSmall-4 5118015 23.13 ns/op BenchmarkNew-4 1947129 64.02 ns/op BenchmarkMap/StringKeys/MapIndex-4 3192 36982 ns/op 0 B/op 0 allocs/op BenchmarkMap/StringKeys/SetMapIndex-4 3170 37538 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/MapIndex-4 2989 38741 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/SetMapIndex-4 3032 37751 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/MapIndex-4 3183 37209 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/SetMapIndex-4 3166 37087 ns/op 0 B/op 0 allocs/op BenchmarkMapIterNext-4 253450 447.4 ns/op PASS ok reflect 18.576s ##### 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: regexp cpu: AMD EPYC 7B12 BenchmarkFind-4 13167 8920 ns/op 9315 B/op 1 allocs/op BenchmarkFindAllNoMatches-4 17823 6085 ns/op 9222 B/op 1 allocs/op BenchmarkFindString-4 14484 8363 ns/op 9051 B/op 1 allocs/op BenchmarkFindSubmatch-4 12583 9457 ns/op 9373 B/op 2 allocs/op BenchmarkFindStringSubmatch-4 13206 9512 ns/op 9350 B/op 2 allocs/op BenchmarkLiteral-4 19977 5680 ns/op BenchmarkNotLiteral-4 4525 25129 ns/op BenchmarkMatchClass-4 3153 32205 ns/op BenchmarkMatchClass_InRange-4 3391 30994 ns/op BenchmarkReplaceAll-4 3139 39191 ns/op BenchmarkAnchoredLiteralShortNonMatch-4 22912 5969 ns/op BenchmarkAnchoredLiteralLongNonMatch-4 43646 2775 ns/op BenchmarkAnchoredShortMatch-4 19338 6173 ns/op BenchmarkAnchoredLongMatch-4 20688 5782 ns/op BenchmarkOnePassShortA-4 22256 5573 ns/op BenchmarkNotOnePassShortA-4 9438 13072 ns/op BenchmarkOnePassShortB-4 28594 4298 ns/op BenchmarkNotOnePassShortB-4 10000 10529 ns/op BenchmarkOnePassLongPrefix-4 89061 1413 ns/op BenchmarkOnePassLongNotPrefix-4 31716 4192 ns/op BenchmarkMatchParallelShared-4 19593 5618 ns/op BenchmarkMatchParallelCopied-4 20378 5806 ns/op BenchmarkQuoteMetaAll-4 171604 681.4 ns/op 20.55 MB/s BenchmarkQuoteMetaNone-4 340447 320.3 ns/op 81.17 MB/s BenchmarkCompile/Onepass-4 4146 27187 ns/op 4144 B/op 52 allocs/op BenchmarkCompile/Medium-4 1707 69056 ns/op 9704 B/op 112 allocs/op BenchmarkCompile/Hard-4 200 600626 ns/op 84760 B/op 424 allocs/op BenchmarkMatch/Easy0/16-4 4241532 27.11 ns/op 590.09 MB/s BenchmarkMatch/Easy0/32-4 21384 5359 ns/op 5.97 MB/s BenchmarkMatch/Easy0/1K-4 6673 15499 ns/op 66.07 MB/s BenchmarkMatch/Easy0i/16-4 4313262 27.32 ns/op 585.65 MB/s BenchmarkMatch/Easy0i/32-4 5558 19648 ns/op 1.63 MB/s BenchmarkMatch/Easy0i/1K-4 276 431139 ns/op 2.38 MB/s BenchmarkMatch/Easy1/16-4 4274302 27.10 ns/op 590.30 MB/s BenchmarkMatch/Easy1/32-4 23091 5302 ns/op 6.04 MB/s BenchmarkMatch/Easy1/1K-4 5642 22060 ns/op 46.42 MB/s BenchmarkMatch/Medium/16-4 4177630 30.81 ns/op 519.32 MB/s BenchmarkMatch/Medium/32-4 7442 17567 ns/op 1.82 MB/s BenchmarkMatch/Medium/1K-4 326 366184 ns/op 2.80 MB/s BenchmarkMatch/Hard/16-4 4303057 27.06 ns/op 591.29 MB/s BenchmarkMatch/Hard/32-4 3994 27420 ns/op 1.17 MB/s BenchmarkMatch/Hard/1K-4 181 657697 ns/op 1.56 MB/s BenchmarkMatch/Hard1/16-4 1492 75636 ns/op 0.21 MB/s BenchmarkMatch/Hard1/32-4 813 138263 ns/op 0.23 MB/s BenchmarkMatch/Hard1/1K-4 28 4395360 ns/op 0.23 MB/s BenchmarkMatch_onepass_regex/16-4 32424 3708 ns/op 4.31 MB/s 24 B/op 0 allocs/op BenchmarkMatch_onepass_regex/32-4 18520 6340 ns/op 5.05 MB/s 24 B/op 0 allocs/op BenchmarkMatch_onepass_regex/1K-4 652 166069 ns/op 6.17 MB/s 23 B/op 0 allocs/op PASS ok regexp 7.567s goos: linux goarch: amd64 pkg: regexp/syntax cpu: AMD EPYC 7B12 BenchmarkEmptyOpContext-4 672690 163.4 ns/op BenchmarkIsWordChar-4 211879 591.0 ns/op PASS ok regexp/syntax 1.175s ##### 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 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCallers/cached-4 70911 1677 ns/op BenchmarkCallers/inlined-4 51966 2300 ns/op BenchmarkCallers/no-cache-4 10000 10205 ns/op BenchmarkMakeChan/Byte-4 1151112 100.4 ns/op BenchmarkMakeChan/Int-4 910413 114.9 ns/op BenchmarkMakeChan/Ptr-4 608116 199.3 ns/op BenchmarkMakeChan/Struct/0-4 1321110 87.90 ns/op BenchmarkMakeChan/Struct/32-4 576334 277.0 ns/op BenchmarkMakeChan/Struct/40-4 412593 271.0 ns/op BenchmarkChanNonblocking-4 10611499 11.23 ns/op BenchmarkSelectUncontended-4 848094 126.9 ns/op BenchmarkSelectSyncContended-4 38415 3106 ns/op BenchmarkSelectAsyncContended-4 106962 1160 ns/op BenchmarkSelectNonblock-4 5936700 19.04 ns/op BenchmarkChanUncontended-4 12986 9664 ns/op BenchmarkChanContended-4 1717 76016 ns/op BenchmarkChanSync-4 146140 720.7 ns/op BenchmarkChanSyncWork-4 10000 35241 ns/op BenchmarkChanProdCons0-4 99636 1232 ns/op BenchmarkChanProdCons10-4 137102 978.3 ns/op BenchmarkChanProdCons100-4 144561 920.4 ns/op BenchmarkChanProdConsWork0-4 79252 1526 ns/op BenchmarkChanProdConsWork10-4 90954 1373 ns/op BenchmarkChanProdConsWork100-4 98156 1301 ns/op BenchmarkSelectProdCons-4 75627 1657 ns/op BenchmarkReceiveDataFromClosedChan-4 664414 177.5 ns/op BenchmarkChanCreation-4 216616 483.5 ns/op BenchmarkChanSem-4 176227 724.5 ns/op BenchmarkChanPopular-4 86 1209543 ns/op BenchmarkChanClosed-4 532104 250.0 ns/op BenchmarkCallClosure-4 5813031 20.64 ns/op BenchmarkCallClosure1-4 6213849 19.31 ns/op BenchmarkCallClosure2-4 1349720 88.02 ns/op BenchmarkCallClosure3-4 1552840 74.88 ns/op BenchmarkCallClosure4-4 1389163 82.82 ns/op BenchmarkComplex128DivNormal-4 10023621 11.87 ns/op BenchmarkComplex128DivNisNaN-4 7491901 16.08 ns/op BenchmarkComplex128DivDisNaN-4 7395838 16.09 ns/op BenchmarkComplex128DivNisInf-4 9836828 12.13 ns/op BenchmarkComplex128DivDisInf-4 5624521 21.23 ns/op BenchmarkSetTypePtr-4 49120436 2.449 ns/op 3266.85 MB/s BenchmarkSetTypePtr8-4 9674764 12.44 ns/op 5142.91 MB/s BenchmarkSetTypePtr16-4 9644883 12.40 ns/op 10323.20 MB/s BenchmarkSetTypePtr32-4 9615432 12.41 ns/op 20636.15 MB/s BenchmarkSetTypePtr64-4 9599834 12.40 ns/op 41276.84 MB/s BenchmarkSetTypePtr126-4 5651865 21.05 ns/op 47878.84 MB/s BenchmarkSetTypePtr128-4 5873276 20.47 ns/op 50029.61 MB/s BenchmarkSetTypePtrSlice-4 718554 164.2 ns/op 49882.88 MB/s BenchmarkSetTypeNode1-4 9514465 12.43 ns/op 1931.39 MB/s BenchmarkSetTypeNode1Slice-4 2996116 40.04 ns/op 19181.13 MB/s BenchmarkSetTypeNode8-4 9662720 12.49 ns/op 6405.69 MB/s BenchmarkSetTypeNode8Slice-4 1572747 76.51 ns/op 33458.66 MB/s BenchmarkSetTypeNode64-4 5659834 21.12 ns/op 25005.90 MB/s BenchmarkSetTypeNode64Slice-4 229594 521.8 ns/op 32379.19 MB/s BenchmarkSetTypeNode64Dead-4 7573218 15.81 ns/op 33404.72 MB/s BenchmarkSetTypeNode64DeadSlice-4 257787 464.5 ns/op 36375.76 MB/s BenchmarkSetTypeNode124-4 5666415 21.16 ns/op 47645.73 MB/s BenchmarkSetTypeNode124Slice-4 180259 660.5 ns/op 48832.51 MB/s BenchmarkSetTypeNode126-4 5878842 20.28 ns/op 50482.79 MB/s BenchmarkSetTypeNode126Slice-4 179839 668.2 ns/op 49035.96 MB/s BenchmarkSetTypeNode128-4 3992622 29.63 ns/op 35097.04 MB/s BenchmarkSetTypeNode128Slice-4 142946 837.7 ns/op 39729.19 MB/s BenchmarkSetTypeNode130-4 4063213 29.60 ns/op 35680.08 MB/s BenchmarkSetTypeNode130Slice-4 140614 846.9 ns/op 39901.34 MB/s BenchmarkSetTypeNode1024-4 763350 156.9 ns/op 52321.91 MB/s BenchmarkSetTypeNode1024Slice-4 24404 4910 ns/op 53495.42 MB/s BenchmarkAllocation-4 3630 30881 ns/op BenchmarkReadMemStats-4 6225 19160 ns/op BenchmarkReadMemStatsLatency-4 1 74235 p50-ns 74235 p90-ns 74235 p99-ns BenchmarkWriteBarrier-4 2731525 47.17 ns/op BenchmarkBulkWriteBarrier-4 6139671 19.75 ns/op BenchmarkScanStackNoLocals-4 3 51357968 ns/op BenchmarkMSpanCountAlloc/bits=64-4 10198846 12.33 ns/op BenchmarkMSpanCountAlloc/bits=128-4 11527182 12.76 ns/op BenchmarkMSpanCountAlloc/bits=256-4 8743545 14.37 ns/op BenchmarkMSpanCountAlloc/bits=512-4 7331160 18.84 ns/op BenchmarkMSpanCountAlloc/bits=1024-4 4891809 24.51 ns/op BenchmarkHash5-4 5889031 20.58 ns/op 242.97 MB/s BenchmarkHash16-4 6168859 19.37 ns/op 826.09 MB/s BenchmarkHash64-4 5789714 20.65 ns/op 3099.18 MB/s BenchmarkHash1024-4 1991907 60.42 ns/op 16948.76 MB/s BenchmarkHash65536-4 38630 3095 ns/op 21172.86 MB/s BenchmarkAlignedLoad-4 6558111 17.20 ns/op BenchmarkUnalignedLoad-4 6904976 16.70 ns/op BenchmarkEqEfaceConcrete-4 5956771 20.27 ns/op BenchmarkEqIfaceConcrete-4 5463074 21.86 ns/op BenchmarkNeEfaceConcrete-4 5447725 21.51 ns/op BenchmarkNeIfaceConcrete-4 5531911 22.35 ns/op BenchmarkConvT2EByteSized/bool-4 6370708 18.80 ns/op BenchmarkConvT2EByteSized/uint8-4 5853937 20.44 ns/op BenchmarkConvT2ESmall-4 5563849 21.52 ns/op BenchmarkConvT2EUintptr-4 5081054 23.51 ns/op BenchmarkConvT2ELarge-4 1000000 100.1 ns/op BenchmarkConvT2ISmall-4 5591977 21.45 ns/op BenchmarkConvT2IUintptr-4 5272740 22.74 ns/op BenchmarkConvT2ILarge-4 1250262 100.9 ns/op BenchmarkConvI2E-4 4420994 26.41 ns/op BenchmarkConvI2I-4 3777466 30.82 ns/op BenchmarkAssertE2T-4 4456410 27.08 ns/op BenchmarkAssertE2TLarge-4 2570335 47.08 ns/op BenchmarkAssertE2I-4 4176264 28.21 ns/op BenchmarkAssertI2T-4 4202924 28.50 ns/op BenchmarkAssertI2I-4 3970138 29.46 ns/op BenchmarkAssertI2E-4 5147869 23.10 ns/op BenchmarkAssertE2E-4 5461783 21.17 ns/op BenchmarkAssertE2T2-4 3590810 33.50 ns/op BenchmarkAssertE2T2Blank-4 4150635 28.83 ns/op BenchmarkAssertI2E2-4 4134285 29.20 ns/op BenchmarkAssertI2E2Blank-4 5417924 21.30 ns/op BenchmarkAssertE2E2-4 4364497 27.75 ns/op BenchmarkAssertE2E2Blank-4 5380888 20.56 ns/op BenchmarkConvT2Ezero/zero/16-4 5106718 23.42 ns/op BenchmarkConvT2Ezero/zero/32-4 5015202 23.99 ns/op BenchmarkConvT2Ezero/zero/64-4 5208571 23.23 ns/op BenchmarkConvT2Ezero/zero/str-4 5229220 22.99 ns/op BenchmarkConvT2Ezero/zero/slice-4 5126022 23.30 ns/op BenchmarkConvT2Ezero/zero/big-4 278170 468.4 ns/op BenchmarkConvT2Ezero/nonzero/str-4 1379850 84.73 ns/op BenchmarkConvT2Ezero/nonzero/slice-4 1266039 93.60 ns/op BenchmarkConvT2Ezero/nonzero/big-4 277074 473.4 ns/op BenchmarkConvT2Ezero/smallint/16-4 4964053 24.31 ns/op BenchmarkConvT2Ezero/smallint/32-4 5076241 23.89 ns/op BenchmarkConvT2Ezero/smallint/64-4 5193859 23.00 ns/op BenchmarkConvT2Ezero/largeint/16-4 1668559 73.16 ns/op BenchmarkConvT2Ezero/largeint/32-4 1728865 70.41 ns/op BenchmarkConvT2Ezero/largeint/64-4 1658155 72.19 ns/op BenchmarkMalloc8-4 1464256 81.51 ns/op BenchmarkMalloc16-4 1429756 82.92 ns/op BenchmarkMallocTypeInfo8-4 1392133 80.11 ns/op BenchmarkMallocTypeInfo16-4 1216992 97.26 ns/op BenchmarkMallocLargeStruct-4 191913 613.2 ns/op BenchmarkGoroutineSelect-4 68 1699036 ns/op BenchmarkGoroutineBlocking-4 80 1715788 ns/op BenchmarkGoroutineForRange-4 67 1740126 ns/op BenchmarkGoroutineIdle-4 84 1712437 ns/op BenchmarkHashStringSpeed-4 2307654 54.24 ns/op BenchmarkHashBytesSpeed-4 1427985 80.85 ns/op BenchmarkHashInt32Speed-4 3382676 39.70 ns/op BenchmarkHashInt64Speed-4 3152550 34.62 ns/op BenchmarkHashStringArraySpeed-4 583153 189.3 ns/op BenchmarkMegMap-4 3010226 38.45 ns/op BenchmarkMegOneMap-4 3719798 32.06 ns/op BenchmarkMegEqMap-4 1389 85937 ns/op BenchmarkMegEmptyMap-4 4344604 26.53 ns/op BenchmarkSmallStrMap-4 3204531 37.59 ns/op BenchmarkMapStringKeysEight_16-4 3252571 37.19 ns/op BenchmarkMapStringKeysEight_32-4 3323558 35.66 ns/op BenchmarkMapStringKeysEight_64-4 3136460 37.21 ns/op BenchmarkMapStringKeysEight_1M-4 3128478 37.99 ns/op BenchmarkIntMap-4 3999572 29.97 ns/op BenchmarkMapFirst/1-4 4915870 24.47 ns/op BenchmarkMapFirst/2-4 4588594 26.00 ns/op BenchmarkMapFirst/3-4 4868302 24.16 ns/op BenchmarkMapFirst/4-4 4575475 24.32 ns/op BenchmarkMapFirst/5-4 4578036 24.39 ns/op BenchmarkMapFirst/6-4 4365928 26.60 ns/op BenchmarkMapFirst/7-4 4576476 24.39 ns/op BenchmarkMapFirst/8-4 4286228 27.64 ns/op BenchmarkMapFirst/9-4 4145263 28.94 ns/op BenchmarkMapFirst/10-4 3889686 29.44 ns/op BenchmarkMapFirst/11-4 4291383 30.11 ns/op BenchmarkMapFirst/12-4 3980462 28.11 ns/op BenchmarkMapFirst/13-4 4314018 28.67 ns/op BenchmarkMapFirst/14-4 3902018 28.74 ns/op BenchmarkMapFirst/15-4 4063710 27.86 ns/op BenchmarkMapFirst/16-4 3965264 29.66 ns/op BenchmarkMapMid/1-4 3796752 31.49 ns/op BenchmarkMapMid/2-4 3782846 32.38 ns/op BenchmarkMapMid/3-4 3708338 31.69 ns/op BenchmarkMapMid/4-4 3672384 31.59 ns/op BenchmarkMapMid/5-4 3809049 29.43 ns/op BenchmarkMapMid/6-4 3781885 31.65 ns/op BenchmarkMapMid/7-4 3708147 31.59 ns/op BenchmarkMapMid/8-4 3647667 30.53 ns/op BenchmarkMapMid/9-4 3689208 33.78 ns/op BenchmarkMapMid/10-4 3371833 34.71 ns/op BenchmarkMapMid/11-4 3346263 34.83 ns/op BenchmarkMapMid/12-4 3214826 35.30 ns/op BenchmarkMapMid/13-4 3618289 34.67 ns/op BenchmarkMapMid/14-4 3370086 34.58 ns/op BenchmarkMapMid/15-4 3669862 32.78 ns/op BenchmarkMapMid/16-4 3367912 35.84 ns/op BenchmarkMapLast/1-4 3735003 31.88 ns/op BenchmarkMapLast/2-4 3714376 31.79 ns/op BenchmarkMapLast/3-4 3825222 31.38 ns/op BenchmarkMapLast/4-4 3535746 32.23 ns/op BenchmarkMapLast/5-4 3902402 32.91 ns/op BenchmarkMapLast/6-4 3570776 33.45 ns/op BenchmarkMapLast/7-4 3567241 33.74 ns/op BenchmarkMapLast/8-4 3394053 33.84 ns/op BenchmarkMapLast/9-4 3568456 33.50 ns/op BenchmarkMapLast/10-4 3430768 37.39 ns/op BenchmarkMapLast/11-4 3652812 35.87 ns/op BenchmarkMapLast/12-4 3324132 33.68 ns/op BenchmarkMapLast/13-4 3637610 34.23 ns/op BenchmarkMapLast/14-4 3265917 34.29 ns/op BenchmarkMapLast/15-4 3350214 33.59 ns/op BenchmarkMapLast/16-4 3054327 33.30 ns/op BenchmarkMapCycle-4 2004718 58.24 ns/op BenchmarkRepeatedLookupStrMapKey32-4 3564312 33.98 ns/op BenchmarkRepeatedLookupStrMapKey1M-4 2378 50065 ns/op BenchmarkMakeMap/[Byte]Byte-4 677356 176.7 ns/op BenchmarkMakeMap/[Int]Int-4 393955 298.9 ns/op BenchmarkNewEmptyMap-4 10839945 10.93 ns/op 0 B/op 0 allocs/op BenchmarkNewSmallMap-4 1712473 68.10 ns/op 0 B/op 0 allocs/op BenchmarkMapIter-4 468896 250.3 ns/op BenchmarkMapIterEmpty-4 5607848 21.24 ns/op BenchmarkSameLengthMap-4 4648107 25.02 ns/op BenchmarkBigKeyMap-4 1619889 74.07 ns/op BenchmarkBigValMap-4 1533013 76.72 ns/op BenchmarkSmallKeyMap-4 2780624 42.74 ns/op BenchmarkMapPopulate/1-4 2245176 53.20 ns/op 0 B/op 0 allocs/op BenchmarkMapPopulate/10-4 124306 841.1 ns/op 179 B/op 1 allocs/op BenchmarkMapPopulate/100-4 6978 16537 ns/op 6274 B/op 15 allocs/op BenchmarkMapPopulate/1000-4 688 150150 ns/op 51781 B/op 55 allocs/op BenchmarkMapPopulate/10000-4 50 2390254 ns/op 416061 B/op 200 allocs/op BenchmarkMapPopulate/100000-4 3 36686458 ns/op 6531794 B/op 2894 allocs/op BenchmarkComplexAlgMap-4 433857 253.2 ns/op BenchmarkGoMapClear/Reflexive/1-4 722284 159.6 ns/op BenchmarkGoMapClear/Reflexive/10-4 655070 176.2 ns/op BenchmarkGoMapClear/Reflexive/100-4 232735 518.6 ns/op BenchmarkGoMapClear/Reflexive/1000-4 41888 2873 ns/op BenchmarkGoMapClear/Reflexive/10000-4 5510 21748 ns/op BenchmarkGoMapClear/NonReflexive/1-4 560929 210.1 ns/op BenchmarkGoMapClear/NonReflexive/10-4 483231 241.7 ns/op BenchmarkGoMapClear/NonReflexive/100-4 210926 570.4 ns/op BenchmarkGoMapClear/NonReflexive/1000-4 40540 2990 ns/op BenchmarkGoMapClear/NonReflexive/10000-4 5446 21960 ns/op BenchmarkMapStringConversion/32/simple-4 1880538 62.75 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/struct-4 1681468 69.85 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/array-4 1565482 76.46 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/simple-4 1820496 65.31 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/struct-4 1501946 78.52 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/array-4 1423604 83.85 ns/op 0 B/op 0 allocs/op BenchmarkMapInterfaceString-4 1702774 66.67 ns/op BenchmarkMapInterfacePtr-4 1939153 56.10 ns/op BenchmarkNewEmptyMapHintLessThan8-4 3952010 30.46 ns/op 0 B/op 0 allocs/op BenchmarkNewEmptyMapHintGreaterThan8-4 120696 872.9 ns/op 1152 B/op 1 allocs/op BenchmarkMapPop100-4 5301 23408 ns/op BenchmarkMapPop1000-4 379 329782 ns/op BenchmarkMapPop10000-4 20 6322701 ns/op BenchmarkMapAssign/Int32/256-4 2319728 51.30 ns/op BenchmarkMapAssign/Int32/65536-4 1126311 103.1 ns/op BenchmarkMapAssign/Int64/256-4 2215011 50.37 ns/op BenchmarkMapAssign/Int64/65536-4 957565 117.7 ns/op BenchmarkMapAssign/Str/256-4 1914129 61.02 ns/op BenchmarkMapAssign/Str/65536-4 428319 237.3 ns/op BenchmarkMapOperatorAssign/Int32/256-4 1521313 77.16 ns/op BenchmarkMapOperatorAssign/Int32/65536-4 633836 171.5 ns/op BenchmarkMapOperatorAssign/Int64/256-4 1574920 75.87 ns/op BenchmarkMapOperatorAssign/Int64/65536-4 576232 196.0 ns/op BenchmarkMapOperatorAssign/Str/256-4 481077 2330 ns/op BenchmarkMapOperatorAssign/Str/65536-4 144123 723.6 ns/op BenchmarkMapAppendAssign/Int32/256-4 853282 164.8 ns/op 26 B/op 0 allocs/op BenchmarkMapAppendAssign/Int32/65536-4 184794 588.6 ns/op 67 B/op 1 allocs/op BenchmarkMapAppendAssign/Int64/256-4 913363 179.6 ns/op 35 B/op 0 allocs/op BenchmarkMapAppendAssign/Int64/65536-4 154287 665.6 ns/op 82 B/op 1 allocs/op BenchmarkMapAppendAssign/Str/256-4 558858 255.3 ns/op 55 B/op 0 allocs/op BenchmarkMapAppendAssign/Str/65536-4 104791 1078 ns/op 138 B/op 1 allocs/op BenchmarkMapDelete/Int32/100-4 1890808 64.33 ns/op BenchmarkMapDelete/Int32/1000-4 1977746 61.02 ns/op BenchmarkMapDelete/Int32/10000-4 1890662 63.47 ns/op BenchmarkMapDelete/Int64/100-4 1567560 67.03 ns/op BenchmarkMapDelete/Int64/1000-4 1873939 63.76 ns/op BenchmarkMapDelete/Int64/10000-4 1831369 67.17 ns/op BenchmarkMapDelete/Str/100-4 1495438 92.71 ns/op BenchmarkMapDelete/Str/1000-4 1305534 81.37 ns/op BenchmarkMapDelete/Str/10000-4 1429599 85.02 ns/op BenchmarkMapDelete/Pointer/100-4 1665740 73.13 ns/op BenchmarkMapDelete/Pointer/1000-4 1613426 69.79 ns/op BenchmarkMapDelete/Pointer/10000-4 1558556 70.97 ns/op BenchmarkMemmove/0-4 14994997 8.028 ns/op BenchmarkMemmove/1-4 1953081 61.04 ns/op 16.38 MB/s BenchmarkMemmove/2-4 1883818 64.07 ns/op 31.21 MB/s BenchmarkMemmove/3-4 1893037 63.17 ns/op 47.49 MB/s BenchmarkMemmove/4-4 1872075 64.00 ns/op 62.50 MB/s BenchmarkMemmove/5-4 1853954 64.62 ns/op 77.38 MB/s BenchmarkMemmove/6-4 1846082 65.29 ns/op 91.89 MB/s BenchmarkMemmove/7-4 1850505 64.00 ns/op 109.37 MB/s BenchmarkMemmove/8-4 1965298 60.01 ns/op 133.31 MB/s BenchmarkMemmove/9-4 1827708 65.67 ns/op 137.04 MB/s BenchmarkMemmove/10-4 1849851 65.15 ns/op 153.50 MB/s BenchmarkMemmove/11-4 1807052 65.48 ns/op 167.99 MB/s BenchmarkMemmove/12-4 1827459 65.13 ns/op 184.24 MB/s BenchmarkMemmove/13-4 1799088 65.03 ns/op 199.92 MB/s BenchmarkMemmove/14-4 1834952 65.59 ns/op 213.45 MB/s BenchmarkMemmove/15-4 1832884 65.82 ns/op 227.90 MB/s BenchmarkMemmove/16-4 1937560 62.06 ns/op 257.79 MB/s BenchmarkMemmove/32-4 1807478 65.76 ns/op 486.64 MB/s BenchmarkMemmove/64-4 1639780 72.78 ns/op 879.39 MB/s BenchmarkMemmove/128-4 1393148 85.93 ns/op 1489.57 MB/s BenchmarkMemmove/256-4 1000000 110.6 ns/op 2315.17 MB/s BenchmarkMemmove/512-4 570522 201.5 ns/op 2540.37 MB/s BenchmarkMemmove/1024-4 405476 294.8 ns/op 3473.30 MB/s BenchmarkMemmove/2048-4 240704 496.2 ns/op 4127.45 MB/s BenchmarkMemmove/4096-4 131203 911.9 ns/op 4491.55 MB/s BenchmarkMemmoveOverlap/32-4 1835211 65.19 ns/op 490.89 MB/s BenchmarkMemmoveOverlap/64-4 1592962 72.81 ns/op 879.02 MB/s BenchmarkMemmoveOverlap/128-4 1382421 85.58 ns/op 1495.70 MB/s BenchmarkMemmoveOverlap/256-4 1000000 112.3 ns/op 2279.07 MB/s BenchmarkMemmoveOverlap/512-4 597669 197.6 ns/op 2590.65 MB/s BenchmarkMemmoveOverlap/1024-4 412574 290.5 ns/op 3525.15 MB/s BenchmarkMemmoveOverlap/2048-4 236432 493.8 ns/op 4147.63 MB/s BenchmarkMemmoveOverlap/4096-4 130412 915.4 ns/op 4474.68 MB/s BenchmarkMemmoveUnalignedDst/0-4 14075149 8.476 ns/op BenchmarkMemmoveUnalignedDst/1-4 1920584 62.60 ns/op 15.97 MB/s BenchmarkMemmoveUnalignedDst/2-4 1849502 64.31 ns/op 31.10 MB/s BenchmarkMemmoveUnalignedDst/3-4 1879550 63.50 ns/op 47.24 MB/s BenchmarkMemmoveUnalignedDst/4-4 1882098 63.54 ns/op 62.95 MB/s BenchmarkMemmoveUnalignedDst/5-4 1854680 64.05 ns/op 78.06 MB/s BenchmarkMemmoveUnalignedDst/6-4 1865307 64.15 ns/op 93.53 MB/s BenchmarkMemmoveUnalignedDst/7-4 1861082 64.13 ns/op 109.15 MB/s BenchmarkMemmoveUnalignedDst/8-4 1966525 60.62 ns/op 131.96 MB/s BenchmarkMemmoveUnalignedDst/9-4 1846910 64.02 ns/op 140.57 MB/s BenchmarkMemmoveUnalignedDst/10-4 1853565 64.31 ns/op 155.49 MB/s BenchmarkMemmoveUnalignedDst/11-4 1861236 64.10 ns/op 171.61 MB/s BenchmarkMemmoveUnalignedDst/12-4 1865257 63.77 ns/op 188.18 MB/s BenchmarkMemmoveUnalignedDst/13-4 1848481 64.57 ns/op 201.33 MB/s BenchmarkMemmoveUnalignedDst/14-4 1836114 63.84 ns/op 219.30 MB/s BenchmarkMemmoveUnalignedDst/15-4 1850318 63.94 ns/op 234.60 MB/s BenchmarkMemmoveUnalignedDst/16-4 1858059 64.58 ns/op 247.75 MB/s BenchmarkMemmoveUnalignedDst/32-4 1764806 67.58 ns/op 473.48 MB/s BenchmarkMemmoveUnalignedDst/64-4 1565800 76.58 ns/op 835.70 MB/s BenchmarkMemmoveUnalignedDst/128-4 1338259 90.47 ns/op 1414.82 MB/s BenchmarkMemmoveUnalignedDst/256-4 1000000 114.2 ns/op 2241.68 MB/s BenchmarkMemmoveUnalignedDst/512-4 588252 204.1 ns/op 2508.45 MB/s BenchmarkMemmoveUnalignedDst/1024-4 379400 313.0 ns/op 3271.57 MB/s BenchmarkMemmoveUnalignedDst/2048-4 235162 510.7 ns/op 4010.47 MB/s BenchmarkMemmoveUnalignedDst/4096-4 125901 946.8 ns/op 4325.97 MB/s BenchmarkMemmoveUnalignedDstOverlap/32-4 1704165 70.07 ns/op 456.69 MB/s BenchmarkMemmoveUnalignedDstOverlap/64-4 1536777 77.22 ns/op 828.80 MB/s BenchmarkMemmoveUnalignedDstOverlap/128-4 1288695 93.25 ns/op 1372.63 MB/s BenchmarkMemmoveUnalignedDstOverlap/256-4 987146 118.2 ns/op 2166.15 MB/s BenchmarkMemmoveUnalignedDstOverlap/512-4 592666 201.2 ns/op 2544.19 MB/s BenchmarkMemmoveUnalignedDstOverlap/1024-4 386622 301.6 ns/op 3395.16 MB/s BenchmarkMemmoveUnalignedDstOverlap/2048-4 232790 509.0 ns/op 4023.30 MB/s BenchmarkMemmoveUnalignedDstOverlap/4096-4 129208 922.5 ns/op 4439.87 MB/s BenchmarkMemmoveUnalignedSrc/0-4 14668335 8.037 ns/op BenchmarkMemmoveUnalignedSrc/1-4 1937462 61.15 ns/op 16.35 MB/s BenchmarkMemmoveUnalignedSrc/2-4 1860790 63.91 ns/op 31.29 MB/s BenchmarkMemmoveUnalignedSrc/3-4 1888981 64.47 ns/op 46.54 MB/s BenchmarkMemmoveUnalignedSrc/4-4 1868488 64.39 ns/op 62.12 MB/s BenchmarkMemmoveUnalignedSrc/5-4 1862932 64.65 ns/op 77.34 MB/s BenchmarkMemmoveUnalignedSrc/6-4 1870521 64.53 ns/op 92.98 MB/s BenchmarkMemmoveUnalignedSrc/7-4 1867018 64.57 ns/op 108.41 MB/s BenchmarkMemmoveUnalignedSrc/8-4 1970007 59.69 ns/op 134.04 MB/s BenchmarkMemmoveUnalignedSrc/9-4 1816291 65.11 ns/op 138.24 MB/s BenchmarkMemmoveUnalignedSrc/10-4 1826406 64.91 ns/op 154.05 MB/s BenchmarkMemmoveUnalignedSrc/11-4 1835287 65.08 ns/op 169.03 MB/s BenchmarkMemmoveUnalignedSrc/12-4 1846306 65.60 ns/op 182.93 MB/s BenchmarkMemmoveUnalignedSrc/13-4 1844686 64.71 ns/op 200.91 MB/s BenchmarkMemmoveUnalignedSrc/14-4 1828405 65.19 ns/op 214.75 MB/s BenchmarkMemmoveUnalignedSrc/15-4 1847326 65.14 ns/op 230.26 MB/s BenchmarkMemmoveUnalignedSrc/16-4 1869672 63.93 ns/op 250.29 MB/s BenchmarkMemmoveUnalignedSrc/32-4 1736083 69.46 ns/op 460.67 MB/s BenchmarkMemmoveUnalignedSrc/64-4 1573056 75.77 ns/op 844.66 MB/s BenchmarkMemmoveUnalignedSrc/128-4 1333573 90.94 ns/op 1407.48 MB/s BenchmarkMemmoveUnalignedSrc/256-4 973693 116.6 ns/op 2194.79 MB/s BenchmarkMemmoveUnalignedSrc/512-4 544102 206.3 ns/op 2482.35 MB/s BenchmarkMemmoveUnalignedSrc/1024-4 383780 304.3 ns/op 3365.28 MB/s BenchmarkMemmoveUnalignedSrc/2048-4 236329 506.8 ns/op 4041.27 MB/s BenchmarkMemmoveUnalignedSrc/4096-4 128498 929.1 ns/op 4408.40 MB/s BenchmarkMemmoveUnalignedSrcOverlap/32-4 1761565 67.53 ns/op 473.88 MB/s BenchmarkMemmoveUnalignedSrcOverlap/64-4 1549923 76.26 ns/op 839.25 MB/s BenchmarkMemmoveUnalignedSrcOverlap/128-4 1336480 90.33 ns/op 1416.95 MB/s BenchmarkMemmoveUnalignedSrcOverlap/256-4 955224 127.4 ns/op 2010.00 MB/s BenchmarkMemmoveUnalignedSrcOverlap/512-4 583503 201.7 ns/op 2538.13 MB/s BenchmarkMemmoveUnalignedSrcOverlap/1024-4 399048 299.6 ns/op 3417.76 MB/s BenchmarkMemmoveUnalignedSrcOverlap/2048-4 238452 504.3 ns/op 4061.30 MB/s BenchmarkMemmoveUnalignedSrcOverlap/4096-4 129690 932.3 ns/op 4393.60 MB/s BenchmarkMemclr/5-4 11186307 10.68 ns/op 468.12 MB/s BenchmarkMemclr/16-4 10874865 11.05 ns/op 1447.36 MB/s BenchmarkMemclr/64-4 10672899 11.23 ns/op 5697.38 MB/s BenchmarkMemclr/256-4 9587248 12.41 ns/op 20630.42 MB/s BenchmarkMemclr/4096-4 2335347 51.49 ns/op 79545.43 MB/s BenchmarkMemclr/65536-4 74756 1460 ns/op 44888.19 MB/s BenchmarkMemclr/1M-4 2757 41091 ns/op 25518.59 MB/s BenchmarkMemclr/4M-4 693 169416 ns/op 24757.48 MB/s BenchmarkMemclr/8M-4 302 385420 ns/op 21764.84 MB/s BenchmarkMemclr/16M-4 78 1790713 ns/op 9369.01 MB/s BenchmarkMemclr/64M-4 12 9648033 ns/op 6955.70 MB/s BenchmarkGoMemclr/5-4 2241470 53.29 ns/op 93.82 MB/s BenchmarkGoMemclr/16-4 553743 214.8 ns/op 74.49 MB/s BenchmarkGoMemclr/64-4 153805 776.7 ns/op 82.40 MB/s BenchmarkGoMemclr/256-4 39378 3056 ns/op 83.77 MB/s BenchmarkMemclrRange/1K_2K-4 70452 1717 ns/op 55841.72 MB/s BenchmarkMemclrRange/2K_8K-4 30744 3909 ns/op 85321.67 MB/s BenchmarkMemclrRange/4K_16K-4 43084 2830 ns/op 114171.90 MB/s BenchmarkMemclrRange/160K_228K-4 1802 58908 ns/op 28228.37 MB/s BenchmarkClearFat7-4 6406651 18.29 ns/op BenchmarkClearFat8-4 7326586 16.08 ns/op BenchmarkClearFat11-4 6286372 19.08 ns/op BenchmarkClearFat12-4 6130375 19.71 ns/op BenchmarkClearFat13-4 6372906 19.08 ns/op BenchmarkClearFat14-4 6221655 18.89 ns/op BenchmarkClearFat15-4 6252951 18.93 ns/op BenchmarkClearFat16-4 7060852 17.43 ns/op BenchmarkClearFat24-4 6562468 18.32 ns/op BenchmarkClearFat32-4 6058050 19.70 ns/op BenchmarkClearFat40-4 5900372 20.27 ns/op BenchmarkClearFat48-4 5766313 20.70 ns/op BenchmarkClearFat56-4 5310704 22.43 ns/op BenchmarkClearFat64-4 4968570 24.03 ns/op BenchmarkClearFat72-4 4917393 24.38 ns/op BenchmarkClearFat128-4 3822469 31.07 ns/op BenchmarkClearFat256-4 2845525 42.52 ns/op BenchmarkClearFat512-4 1355397 88.40 ns/op BenchmarkClearFat1024-4 831831 140.6 ns/op BenchmarkClearFat1032-4 749714 148.0 ns/op BenchmarkClearFat1040-4 801394 148.1 ns/op BenchmarkCopyFat7-4 6136158 19.45 ns/op BenchmarkCopyFat8-4 7369813 16.53 ns/op BenchmarkCopyFat11-4 6380455 18.42 ns/op BenchmarkCopyFat12-4 6431456 18.79 ns/op BenchmarkCopyFat13-4 6331392 18.67 ns/op BenchmarkCopyFat14-4 6450627 18.78 ns/op BenchmarkCopyFat15-4 6516535 18.79 ns/op BenchmarkCopyFat16-4 7025905 17.82 ns/op BenchmarkCopyFat24-4 6431542 18.53 ns/op BenchmarkCopyFat32-4 6171288 19.28 ns/op BenchmarkCopyFat64-4 5205240 23.36 ns/op BenchmarkCopyFat72-4 4982508 23.49 ns/op BenchmarkCopyFat128-4 3779655 31.88 ns/op BenchmarkCopyFat256-4 2609168 45.87 ns/op BenchmarkCopyFat512-4 1292787 92.50 ns/op BenchmarkCopyFat520-4 1273557 94.91 ns/op BenchmarkCopyFat1024-4 767115 149.6 ns/op BenchmarkCopyFat1032-4 792846 150.3 ns/op BenchmarkCopyFat1040-4 766410 154.9 ns/op BenchmarkIssue18740/2byte-4 416 281960 ns/op BenchmarkIssue18740/4byte-4 712 166210 ns/op BenchmarkIssue18740/8byte-4 1011 116997 ns/op BenchmarkMemclrKnownSize1-4 8579926 13.27 ns/op 75.34 MB/s BenchmarkMemclrKnownSize2-4 5572944 21.28 ns/op 93.99 MB/s BenchmarkMemclrKnownSize4-4 3560824 33.27 ns/op 120.22 MB/s BenchmarkMemclrKnownSize8-4 1000000 100.6 ns/op 79.50 MB/s BenchmarkMemclrKnownSize16-4 578558 204.5 ns/op 78.23 MB/s BenchmarkMemclrKnownSize32-4 291279 408.1 ns/op 78.41 MB/s BenchmarkMemclrKnownSize64-4 152992 786.8 ns/op 81.34 MB/s BenchmarkMemclrKnownSize112-4 81954 1317 ns/op 85.02 MB/s BenchmarkMemclrKnownSize128-4 77944 1653 ns/op 77.43 MB/s BenchmarkMemclrKnownSize192-4 51525 2324 ns/op 82.61 MB/s BenchmarkMemclrKnownSize248-4 39346 3107 ns/op 79.82 MB/s BenchmarkMemclrKnownSize256-4 38697 3089 ns/op 82.87 MB/s BenchmarkMemclrKnownSize512-4 19822 6036 ns/op 84.82 MB/s BenchmarkMemclrKnownSize1024-4 9638 12528 ns/op 81.74 MB/s BenchmarkMemclrKnownSize4096-4 2452 48644 ns/op 84.20 MB/s BenchmarkMemclrKnownSize512KiB-4 18 6384244 ns/op 82.12 MB/s BenchmarkReadMetricsLatency-4 18667 4252 p50-ns 6634 p90-ns 12689 p99-ns BenchmarkFinalizer-4 171 712883 ns/op BenchmarkFinalizerRun-4 182149 858.6 ns/op BenchmarkPallocBitsSummarize/Unpacked00-4 6478324 18.29 ns/op BenchmarkPallocBitsSummarize/UnpackedFFFFFFFFFFFFFFFF-4 3143588 38.00 ns/op BenchmarkPallocBitsSummarize/UnpackedAA-4 2355657 50.93 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAAAAAAAAAA-4 2291082 52.16 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000AAAAAAAA-4 1312364 91.57 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAA00000001-4 1175970 101.7 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBBBBBBBBBB-4 2174883 55.26 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000BBBBBBBB-4 1258030 94.44 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBB00000001-4 1324336 91.08 ns/op BenchmarkPallocBitsSummarize/UnpackedCCCCCCCCCCCCCCCC-4 1958450 61.08 ns/op BenchmarkPallocBitsSummarize/Unpacked4444444444444444-4 1954081 61.33 ns/op BenchmarkPallocBitsSummarize/Unpacked4040404040404040-4 1686448 70.87 ns/op BenchmarkPallocBitsSummarize/Unpacked4000400040004000-4 1468166 81.86 ns/op BenchmarkPallocBitsSummarize/Unpacked1000404044CCAAFF-4 1335196 89.27 ns/op BenchmarkFindBitRange64/Pattern00Size2-4 5341675 22.27 ns/op BenchmarkFindBitRange64/Pattern00Size8-4 5719743 21.25 ns/op BenchmarkFindBitRange64/Pattern00Size32-4 5683083 21.07 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize2-4 5629906 21.46 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize8-4 5344852 22.51 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize32-4 4946916 24.37 ns/op BenchmarkFindBitRange64/PatternAASize2-4 5562813 21.51 ns/op BenchmarkFindBitRange64/PatternAASize8-4 5577243 21.35 ns/op BenchmarkFindBitRange64/PatternAASize32-4 5682710 21.15 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize2-4 5556028 21.42 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize8-4 5665662 21.26 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize32-4 5606589 21.14 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize2-4 5574536 21.35 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize8-4 5664046 21.26 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize32-4 5667714 21.04 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size2-4 5591611 21.43 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size8-4 5643735 21.26 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size32-4 5684985 21.15 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize2-4 5647434 21.35 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize8-4 5551850 21.77 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize32-4 5516454 21.81 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize2-4 5627602 21.57 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize8-4 5567022 21.73 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize32-4 5539555 21.81 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size2-4 5619380 21.38 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size8-4 5418932 21.85 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size32-4 5519710 21.95 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize2-4 5552576 21.31 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize8-4 5524510 21.80 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize32-4 5496786 21.85 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size2-4 5577334 21.46 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size8-4 5623102 20.93 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size32-4 5662658 21.14 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size2-4 5634394 21.42 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size8-4 5696900 21.16 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size32-4 5683605 21.15 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size2-4 5583198 21.43 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size8-4 5617256 21.16 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size32-4 5642600 21.15 ns/op BenchmarkNetpollBreak-4 3716 28386 ns/op BenchmarkPingPongHog-4 392 356701 ns/op BenchmarkStackGrowth-4 98400 1091 ns/op BenchmarkStackGrowthDeep-4 880 116130 ns/op BenchmarkCreateGoroutines-4 49102 2472 ns/op BenchmarkCreateGoroutinesParallel-4 48536 3922 ns/op BenchmarkCreateGoroutinesCapture-4 9606 12572 ns/op 144 B/op 5 allocs/op BenchmarkCreateGoroutinesSingle-4 44754 2805 ns/op BenchmarkClosureCall-4 16081396 6.492 ns/op BenchmarkWakeupParallelSpinning/0s-4 5408 19913 ns/op BenchmarkWakeupParallelSpinning/1µs-4 6318 23436 ns/op BenchmarkWakeupParallelSpinning/2µs-4 5145 27729 ns/op BenchmarkWakeupParallelSpinning/5µs-4 3516 37490 ns/op BenchmarkWakeupParallelSpinning/10µs-4 2067 56993 ns/op BenchmarkWakeupParallelSpinning/20µs-4 1251 96059 ns/op BenchmarkWakeupParallelSpinning/50µs-4 648 191802 ns/op BenchmarkWakeupParallelSpinning/100µs-4 355 338513 ns/op BenchmarkWakeupParallelSyscall/0s-4 748 153813 ns/op BenchmarkWakeupParallelSyscall/1µs-4 802 156219 ns/op BenchmarkWakeupParallelSyscall/2µs-4 717 156190 ns/op BenchmarkWakeupParallelSyscall/5µs-4 717 165720 ns/op BenchmarkWakeupParallelSyscall/10µs-4 698 174050 ns/op BenchmarkWakeupParallelSyscall/20µs-4 613 198273 ns/op BenchmarkWakeupParallelSyscall/50µs-4 462 264067 ns/op BenchmarkWakeupParallelSyscall/100µs-4 320 369906 ns/op BenchmarkMatmult-4 3885045 37.19 ns/op BenchmarkFastrand-4 12546536 9.576 ns/op BenchmarkFastrand64-4 12547412 9.489 ns/op BenchmarkFastrandHashiter-4 4467267 25.11 ns/op BenchmarkFastrandn/2-4 5305142 22.76 ns/op BenchmarkFastrandn/3-4 6032965 19.72 ns/op BenchmarkFastrandn/4-4 5944681 20.23 ns/op BenchmarkFastrandn/5-4 5893383 20.28 ns/op BenchmarkIfaceCmp100-4 80026 1491 ns/op BenchmarkIfaceCmpNil100-4 172374 699.8 ns/op BenchmarkEfaceCmpDiff-4 33006 3622 ns/op BenchmarkEfaceCmpDiffIndirect-4 29676 4054 ns/op BenchmarkDefer-4 1594443 75.81 ns/op BenchmarkDefer10-4 786838 159.5 ns/op BenchmarkDeferMany-4 443724 522.2 ns/op BenchmarkPanicRecover-4 182574 649.6 ns/op BenchmarkGoroutineProfile/small-nil/idle-4 7750 16134 ns/op 15198 p50-ns 18473 p90-ns 25019 p99-ns BenchmarkGoroutineProfile/small-nil/loaded-4 6744 19386 ns/op 17039 p50-ns 21004 p90-ns 58232 p99-ns BenchmarkGoroutineProfile/small/idle-4 3210 37747 ns/op 36296 p50-ns 38801 p90-ns 49972 p99-ns BenchmarkGoroutineProfile/small/loaded-4 597 251048 ns/op 125555 p50-ns 347135 p90-ns 3005587 p99-ns BenchmarkGoroutineProfile/large-nil/idle-4 7159 16502 ns/op 14927 p50-ns 19168 p90-ns 29855 p99-ns BenchmarkGoroutineProfile/large-nil/loaded-4 7735 19116 ns/op 15515 p50-ns 20623 p90-ns 60615 p99-ns BenchmarkGoroutineProfile/large/idle-4 13 8858294 ns/op 8804440 p50-ns 8985234 p90-ns 9138195 p99-ns BenchmarkGoroutineProfile/large/loaded-4 12 13378547 ns/op 9604943 p50-ns 25800031 p90-ns 25882864 p99-ns BenchmarkGoroutineProfile/sparse-nil/idle-4 6531 16714 ns/op 16898 p50-ns 19523 p90-ns 28066 p99-ns BenchmarkGoroutineProfile/sparse-nil/loaded-4 6031 21564 ns/op 16893 p50-ns 21201 p90-ns 179461 p99-ns BenchmarkGoroutineProfile/sparse/idle-4 894 127381 ns/op 114911 p50-ns 168421 p90-ns 207431 p99-ns BenchmarkGoroutineProfile/sparse/loaded-4 476 419868 ns/op 269738 p50-ns 365318 p90-ns 4171010 p99-ns BenchmarkRWMutexUncontended-4 3141259 37.27 ns/op BenchmarkRWMutexWrite100-4 569157 199.5 ns/op BenchmarkRWMutexWrite10-4 166698 696.3 ns/op BenchmarkRWMutexWorkWrite100-4 519777 224.3 ns/op BenchmarkRWMutexWorkWrite10-4 72316 1721 ns/op BenchmarkSemTable/OneAddrCollision/n=1000-4 1732 67783 ns/op BenchmarkSemTable/ManyAddrCollision/n=1000-4 856 138967 ns/op BenchmarkSemTable/OneAddrCollision/n=2000-4 944 122993 ns/op BenchmarkSemTable/ManyAddrCollision/n=2000-4 426 278319 ns/op BenchmarkSemTable/OneAddrCollision/n=4000-4 474 248708 ns/op BenchmarkSemTable/ManyAddrCollision/n=4000-4 186 605211 ns/op BenchmarkSemTable/OneAddrCollision/n=8000-4 235 500619 ns/op BenchmarkSemTable/ManyAddrCollision/n=8000-4 94 1209052 ns/op BenchmarkMakeSliceCopy/mallocmove/Byte-4 296806 345.9 ns/op BenchmarkMakeSliceCopy/mallocmove/Int-4 342218 345.7 ns/op BenchmarkMakeSliceCopy/mallocmove/Ptr-4 310459 397.3 ns/op BenchmarkMakeSliceCopy/makecopy/Byte-4 273885 394.7 ns/op BenchmarkMakeSliceCopy/makecopy/Int-4 304695 422.1 ns/op BenchmarkMakeSliceCopy/makecopy/Ptr-4 277413 445.5 ns/op BenchmarkMakeSliceCopy/nilappend/Byte-4 285372 443.7 ns/op BenchmarkMakeSliceCopy/nilappend/Int-4 293259 417.8 ns/op BenchmarkMakeSliceCopy/nilappend/Ptr-4 248586 501.3 ns/op BenchmarkMakeSlice/Byte-4 2003625 58.94 ns/op BenchmarkMakeSlice/Int16-4 2014855 57.95 ns/op BenchmarkMakeSlice/Int-4 1633243 72.73 ns/op BenchmarkMakeSlice/Ptr-4 1000000 103.8 ns/op BenchmarkMakeSlice/Struct/24-4 911287 121.7 ns/op BenchmarkMakeSlice/Struct/32-4 1000000 141.2 ns/op BenchmarkMakeSlice/Struct/40-4 609847 170.5 ns/op BenchmarkGrowSlice/Byte-4 806529 154.2 ns/op BenchmarkGrowSlice/Int16-4 780159 160.4 ns/op BenchmarkGrowSlice/Int-4 551790 210.9 ns/op BenchmarkGrowSlice/Ptr-4 508461 249.1 ns/op BenchmarkGrowSlice/Struct/24-4 307870 357.7 ns/op BenchmarkGrowSlice/Struct/32-4 301497 428.4 ns/op BenchmarkGrowSlice/Struct/40-4 242014 513.2 ns/op BenchmarkExtendSlice/IntSlice-4 528115 245.4 ns/op BenchmarkExtendSlice/PointerSlice-4 403552 313.7 ns/op BenchmarkExtendSlice/NoGrow-4 812334 143.7 ns/op BenchmarkAppend-4 845186 138.5 ns/op BenchmarkAppendGrowByte-4 4 33983026 ns/op BenchmarkAppendGrowString-4 1 437840730 ns/op BenchmarkAppendSlice/1Bytes-4 1901046 63.79 ns/op BenchmarkAppendSlice/4Bytes-4 1863928 64.64 ns/op BenchmarkAppendSlice/7Bytes-4 1811103 66.26 ns/op BenchmarkAppendSlice/8Bytes-4 1876368 64.61 ns/op BenchmarkAppendSlice/15Bytes-4 1771005 67.39 ns/op BenchmarkAppendSlice/16Bytes-4 1810555 66.15 ns/op BenchmarkAppendSlice/32Bytes-4 1800742 66.38 ns/op BenchmarkAppendSliceLarge/1024Bytes-4 91904 1203 ns/op BenchmarkAppendSliceLarge/4096Bytes-4 23938 4456 ns/op BenchmarkAppendSliceLarge/16384Bytes-4 10000 16407 ns/op BenchmarkAppendSliceLarge/65536Bytes-4 1728 66218 ns/op BenchmarkAppendSliceLarge/262144Bytes-4 100 1123357 ns/op BenchmarkAppendSliceLarge/1048576Bytes-4 20 5590480 ns/op BenchmarkAppendStr/1Bytes-4 1405716 84.75 ns/op BenchmarkAppendStr/4Bytes-4 1450414 82.21 ns/op BenchmarkAppendStr/8Bytes-4 1419195 84.46 ns/op BenchmarkAppendStr/16Bytes-4 1396837 84.86 ns/op BenchmarkAppendStr/32Bytes-4 1421180 83.80 ns/op BenchmarkAppendSpecialCase-4 827635 141.1 ns/op BenchmarkCopy/1Byte-4 1935435 60.63 ns/op 16.49 MB/s BenchmarkCopy/1String-4 1930705 62.37 ns/op 16.03 MB/s BenchmarkCopy/2Byte-4 1899967 64.64 ns/op 30.94 MB/s BenchmarkCopy/2String-4 1883157 63.68 ns/op 31.41 MB/s BenchmarkCopy/4Byte-4 1919713 62.78 ns/op 63.72 MB/s BenchmarkCopy/4String-4 1873302 63.61 ns/op 62.88 MB/s BenchmarkCopy/8Byte-4 1959090 61.41 ns/op 130.28 MB/s BenchmarkCopy/8String-4 1919062 62.21 ns/op 128.60 MB/s BenchmarkCopy/12Byte-4 1836285 64.43 ns/op 186.25 MB/s BenchmarkCopy/12String-4 1893363 63.42 ns/op 189.21 MB/s BenchmarkCopy/16Byte-4 1917720 62.50 ns/op 256.01 MB/s BenchmarkCopy/16String-4 1889540 63.60 ns/op 251.58 MB/s BenchmarkCopy/32Byte-4 1824890 65.69 ns/op 487.11 MB/s BenchmarkCopy/32String-4 1785267 67.97 ns/op 470.78 MB/s BenchmarkCopy/128Byte-4 1368808 87.24 ns/op 1467.20 MB/s BenchmarkCopy/128String-4 1304988 91.87 ns/op 1393.34 MB/s BenchmarkCopy/1024Byte-4 398314 299.5 ns/op 3419.39 MB/s BenchmarkCopy/1024String-4 350601 338.2 ns/op 3028.00 MB/s BenchmarkAppendInPlace/NoGrow/Byte-4 28416 4056 ns/op BenchmarkAppendInPlace/NoGrow/1Ptr-4 19212 6142 ns/op BenchmarkAppendInPlace/NoGrow/2Ptr-4 12511 9305 ns/op BenchmarkAppendInPlace/NoGrow/3Ptr-4 10000 11940 ns/op BenchmarkAppendInPlace/NoGrow/4Ptr-4 10000 14945 ns/op BenchmarkAppendInPlace/Grow/Byte-4 136575 828.8 ns/op BenchmarkAppendInPlace/Grow/1Ptr-4 134323 844.5 ns/op BenchmarkAppendInPlace/Grow/2Ptr-4 117465 1071 ns/op BenchmarkAppendInPlace/Grow/3Ptr-4 80191 1304 ns/op BenchmarkAppendInPlace/Grow/4Ptr-4 74108 1462 ns/op BenchmarkStackCopyPtr-4 1 166006287 ns/op BenchmarkStackCopy-4 1 104926989 ns/op BenchmarkStackCopyNoCache-4 22 4962052 ns/op BenchmarkStackCopyWithStkobj-4 1 117933454 ns/op BenchmarkIssue18138-4 784 183759 ns/op BenchmarkCompareStringEqual-4 9822844 10.69 ns/op BenchmarkCompareStringIdentical-4 14189871 7.323 ns/op BenchmarkCompareStringSameLength-4 11604061 10.22 ns/op BenchmarkCompareStringDifferentLength-4 16703520 6.047 ns/op BenchmarkCompareStringBigUnaligned-4 1237 108362 ns/op 9676.71 MB/s BenchmarkCompareStringBig-4 1064 97273 ns/op 10779.87 MB/s BenchmarkConcatStringAndBytes-4 2231130 53.81 ns/op BenchmarkSliceByteToString/1-4 2208097 54.87 ns/op BenchmarkSliceByteToString/2-4 1000000 108.1 ns/op BenchmarkSliceByteToString/4-4 1000000 107.1 ns/op BenchmarkSliceByteToString/8-4 1000000 110.6 ns/op BenchmarkSliceByteToString/16-4 1000000 112.1 ns/op BenchmarkSliceByteToString/32-4 1000000 121.5 ns/op BenchmarkSliceByteToString/64-4 956988 145.1 ns/op BenchmarkSliceByteToString/128-4 714576 195.6 ns/op BenchmarkRuneCount/lenruneslice/ASCII-4 2196170 54.55 ns/op BenchmarkRuneCount/lenruneslice/Japanese-4 841743 139.2 ns/op BenchmarkRuneCount/lenruneslice/MixedLength-4 988693 121.7 ns/op BenchmarkRuneCount/rangeloop/ASCII-4 2922655 40.18 ns/op BenchmarkRuneCount/rangeloop/Japanese-4 1558056 74.47 ns/op BenchmarkRuneCount/rangeloop/MixedLength-4 1775230 64.52 ns/op BenchmarkRuneCount/utf8.RuneCountInString/ASCII-4 2127970 55.78 ns/op BenchmarkRuneCount/utf8.RuneCountInString/Japanese-4 434818 273.2 ns/op BenchmarkRuneCount/utf8.RuneCountInString/MixedLength-4 507716 221.8 ns/op BenchmarkRuneIterate/range/ASCII-4 5188947 23.17 ns/op BenchmarkRuneIterate/range/Japanese-4 2034242 58.48 ns/op BenchmarkRuneIterate/range/MixedLength-4 2132492 56.41 ns/op BenchmarkRuneIterate/range1/ASCII-4 5201481 23.03 ns/op BenchmarkRuneIterate/range1/Japanese-4 2050323 59.17 ns/op BenchmarkRuneIterate/range1/MixedLength-4 2153676 55.74 ns/op BenchmarkRuneIterate/range2/ASCII-4 5201781 22.90 ns/op BenchmarkRuneIterate/range2/Japanese-4 2053347 58.36 ns/op BenchmarkRuneIterate/range2/MixedLength-4 2207436 53.87 ns/op BenchmarkArrayEqual-4 19933387 6.018 ns/op BenchmarkFunc/Name-4 4559055 23.82 ns/op BenchmarkFunc/Entry-4 9200978 12.23 ns/op BenchmarkFunc/FileLine-4 1523437 75.16 ns/op PASS ok runtime 138.416s ##### 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/cgo cpu: AMD EPYC 7B12 BenchmarkHandle/non-concurrent-4 27816 3888 ns/op BenchmarkHandle/concurrent-4 17606 6515 ns/op PASS ok runtime/cgo 0.369s goos: linux goarch: amd64 pkg: runtime/internal/atomic cpu: AMD EPYC 7B12 BenchmarkAtomicLoad64-4 22915611 5.257 ns/op BenchmarkAtomicStore64-4 19131950 6.230 ns/op BenchmarkAtomicLoad-4 22688899 5.240 ns/op BenchmarkAtomicStore-4 19178611 6.229 ns/op BenchmarkAnd8-4 17457236 6.892 ns/op BenchmarkAnd-4 18830382 6.224 ns/op BenchmarkAnd8Parallel-4 2916664 41.54 ns/op BenchmarkAndParallel-4 3077076 43.18 ns/op BenchmarkOr8-4 17457490 6.869 ns/op BenchmarkOr-4 19109953 6.219 ns/op BenchmarkOr8Parallel-4 3066786 36.85 ns/op BenchmarkOrParallel-4 3164092 41.34 ns/op BenchmarkXadd-4 2872148 39.77 ns/op BenchmarkXadd64-4 3866215 38.05 ns/op BenchmarkCas-4 2898536 41.41 ns/op BenchmarkCas64-4 2674474 46.26 ns/op BenchmarkXchg-4 3871196 30.70 ns/op BenchmarkXchg64-4 4038699 37.59 ns/op PASS ok runtime/internal/atomic 3.046s goos: linux goarch: amd64 pkg: runtime/internal/math cpu: AMD EPYC 7B12 BenchmarkMulUintptr/small-4 5075437 22.06 ns/op BenchmarkMulUintptr/large-4 3877734 29.82 ns/op PASS ok runtime/internal/math 0.312s goos: linux goarch: amd64 pkg: runtime/pprof cpu: AMD EPYC 7B12 BenchmarkGoroutine/Profile.WriteTo_idle_50-4 27 4616231 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_50-4 10 10144806 ns/op 656.5 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_50-4 698 157485 ns/op 4.334 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_500-4 10 10542852 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_500-4 6 19587406 ns/op 1271 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_500-4 156 732174 ns/op 54.52 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_5000-4 2 74942584 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_5000-4 1 101538509 ns/op 8446 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_5000-4 18 6474252 ns/op 486.8 concurrent_launches/op PASS ok runtime/pprof 1.665s goos: linux goarch: amd64 pkg: runtime/race cpu: AMD EPYC 7B12 BenchmarkSyncLeak-4 37 2989160 ns/op BenchmarkStackLeak-4 18187 6327 ns/op PASS ok runtime/race 0.450s goos: linux goarch: amd64 pkg: runtime/trace cpu: AMD EPYC 7B12 BenchmarkStartRegion-4 4656336 23.69 ns/op 0 B/op 0 allocs/op BenchmarkNewTask-4 315568 512.2 ns/op 64 B/op 2 allocs/op PASS ok runtime/trace 0.343s goos: linux goarch: amd64 pkg: slices cpu: AMD EPYC 7B12 BenchmarkCompact/nil-4 8520904 13.76 ns/op BenchmarkCompact/one-4 1894357 62.04 ns/op BenchmarkCompact/sorted-4 959370 116.4 ns/op BenchmarkCompact/1_item-4 1000000 104.3 ns/op BenchmarkCompact/unsorted-4 1000000 110.2 ns/op BenchmarkCompact/many-4 828562 146.0 ns/op BenchmarkReplace/naive-fast-4 96370 1253 ns/op BenchmarkReplace/optimized-fast-4 114984 1025 ns/op BenchmarkReplace/naive-slow-4 59600 1980 ns/op BenchmarkReplace/optimized-slow-4 71618 1566 ns/op PASS ok slices 1.452s goos: linux goarch: amd64 pkg: sort cpu: AMD EPYC 7B12 BenchmarkSearchWrappers-4 166268 699.2 ns/op BenchmarkSortString1K-4 174 654044 ns/op BenchmarkSortString1K_Slice-4 212 588646 ns/op BenchmarkStableString1K-4 98 1064609 ns/op BenchmarkSortInt1K-4 223 526147 ns/op BenchmarkSortInt1K_Sorted-4 3212 41598 ns/op BenchmarkSortInt1K_Reversed-4 1743 65025 ns/op BenchmarkSortInt1K_Mod8-4 553 211801 ns/op BenchmarkStableInt1K-4 136 822891 ns/op BenchmarkStableInt1K_Slice-4 160 746903 ns/op BenchmarkSortInt64K-4 2 53580884 ns/op BenchmarkSortInt64K_Slice-4 3 43832323 ns/op BenchmarkStableInt64K-4 2 73808519 ns/op BenchmarkSort1e2-4 436 248453 ns/op BenchmarkStable1e2-4 196 635196 ns/op BenchmarkSort1e4-4 2 51823140 ns/op BenchmarkStable1e4-4 1 200764408 ns/op PASS ok sort 3.473s ##### 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: strconv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAtof64Decimal-4 861448 140.2 ns/op BenchmarkAtof64Float-4 736357 162.1 ns/op BenchmarkAtof64FloatExp-4 605229 188.3 ns/op BenchmarkAtof64Big-4 422113 273.5 ns/op BenchmarkAtof64RandomBits-4 392949 290.3 ns/op BenchmarkAtof64RandomFloats-4 428912 265.6 ns/op BenchmarkAtof64RandomLongFloats-4 387536 303.9 ns/op BenchmarkAtof32Decimal-4 847264 140.2 ns/op BenchmarkAtof32Float-4 739837 156.6 ns/op BenchmarkAtof32FloatExp-4 590727 193.1 ns/op BenchmarkAtof32Random-4 360284 329.4 ns/op BenchmarkAtof32RandomLong-4 150405 793.9 ns/op BenchmarkParseInt/Pos/7bit-4 1422122 84.86 ns/op BenchmarkParseInt/Pos/26bit-4 606492 190.7 ns/op BenchmarkParseInt/Pos/31bit-4 549912 207.8 ns/op BenchmarkParseInt/Pos/56bit-4 364150 325.5 ns/op BenchmarkParseInt/Pos/63bit-4 331834 352.6 ns/op BenchmarkParseInt/Neg/7bit-4 1402248 85.74 ns/op BenchmarkParseInt/Neg/26bit-4 585001 190.2 ns/op BenchmarkParseInt/Neg/31bit-4 553980 207.9 ns/op BenchmarkParseInt/Neg/56bit-4 349101 330.6 ns/op BenchmarkParseInt/Neg/63bit-4 324640 346.9 ns/op BenchmarkAtoi/Pos/7bit-4 2099347 54.11 ns/op BenchmarkAtoi/Pos/26bit-4 814436 139.1 ns/op BenchmarkAtoi/Pos/31bit-4 760591 156.5 ns/op BenchmarkAtoi/Pos/56bit-4 438142 267.8 ns/op BenchmarkAtoi/Pos/63bit-4 321080 365.5 ns/op BenchmarkAtoi/Neg/7bit-4 2031780 59.44 ns/op BenchmarkAtoi/Neg/26bit-4 812077 140.9 ns/op BenchmarkAtoi/Neg/31bit-4 733786 157.5 ns/op BenchmarkAtoi/Neg/56bit-4 441879 262.0 ns/op BenchmarkAtoi/Neg/63bit-4 318241 367.9 ns/op BenchmarkFormatFloat/Decimal-4 114996 1078 ns/op BenchmarkFormatFloat/Float-4 108374 1128 ns/op BenchmarkFormatFloat/Exp-4 114402 1034 ns/op BenchmarkFormatFloat/NegExp-4 114284 1029 ns/op BenchmarkFormatFloat/LongExp-4 96294 1248 ns/op BenchmarkFormatFloat/Big-4 92272 1301 ns/op BenchmarkFormatFloat/BinaryExp-4 212152 590.0 ns/op BenchmarkFormatFloat/32Integer-4 114568 1028 ns/op BenchmarkFormatFloat/32ExactFraction-4 122700 978.0 ns/op BenchmarkFormatFloat/32Point-4 101948 1103 ns/op BenchmarkFormatFloat/32Exp-4 117091 1019 ns/op BenchmarkFormatFloat/32NegExp-4 114064 1026 ns/op BenchmarkFormatFloat/32Shortest-4 119043 991.3 ns/op BenchmarkFormatFloat/32Fixed8Hard-4 138438 876.8 ns/op BenchmarkFormatFloat/32Fixed9Hard-4 131353 898.5 ns/op BenchmarkFormatFloat/64Fixed1-4 151620 777.8 ns/op BenchmarkFormatFloat/64Fixed2-4 156889 776.5 ns/op BenchmarkFormatFloat/64Fixed3-4 148578 776.6 ns/op BenchmarkFormatFloat/64Fixed4-4 158577 768.0 ns/op BenchmarkFormatFloat/64Fixed12-4 87736 1370 ns/op BenchmarkFormatFloat/64Fixed16-4 109845 1098 ns/op BenchmarkFormatFloat/64Fixed12Hard-4 111343 1061 ns/op BenchmarkFormatFloat/64Fixed17Hard-4 101880 1151 ns/op BenchmarkFormatFloat/64Fixed18Hard-4 2328 50553 ns/op BenchmarkFormatFloat/Slowpath64-4 93547 1249 ns/op BenchmarkFormatFloat/SlowpathDenormal64-4 94828 1245 ns/op BenchmarkAppendFloat/Decimal-4 140108 844.8 ns/op BenchmarkAppendFloat/Float-4 125131 947.7 ns/op BenchmarkAppendFloat/Exp-4 137968 854.5 ns/op BenchmarkAppendFloat/NegExp-4 138753 843.4 ns/op BenchmarkAppendFloat/LongExp-4 109461 1051 ns/op BenchmarkAppendFloat/Big-4 108800 1087 ns/op BenchmarkAppendFloat/BinaryExp-4 320150 366.2 ns/op BenchmarkAppendFloat/32Integer-4 140830 848.3 ns/op BenchmarkAppendFloat/32ExactFraction-4 139458 846.9 ns/op BenchmarkAppendFloat/32Point-4 134098 894.2 ns/op BenchmarkAppendFloat/32Exp-4 142650 828.5 ns/op BenchmarkAppendFloat/32NegExp-4 145444 840.8 ns/op BenchmarkAppendFloat/32Shortest-4 160640 742.9 ns/op BenchmarkAppendFloat/32Fixed8Hard-4 176614 660.4 ns/op BenchmarkAppendFloat/32Fixed9Hard-4 171628 687.9 ns/op BenchmarkAppendFloat/64Fixed1-4 198528 592.4 ns/op BenchmarkAppendFloat/64Fixed2-4 197328 588.1 ns/op BenchmarkAppendFloat/64Fixed3-4 196886 589.7 ns/op BenchmarkAppendFloat/64Fixed4-4 198962 584.3 ns/op BenchmarkAppendFloat/64Fixed12-4 103148 1138 ns/op BenchmarkAppendFloat/64Fixed16-4 135969 870.7 ns/op BenchmarkAppendFloat/64Fixed12Hard-4 146228 801.6 ns/op BenchmarkAppendFloat/64Fixed17Hard-4 126440 936.9 ns/op BenchmarkAppendFloat/64Fixed18Hard-4 2338 49631 ns/op BenchmarkAppendFloat/Slowpath64-4 112509 1031 ns/op BenchmarkAppendFloat/SlowpathDenormal64-4 113506 1027 ns/op BenchmarkFormatInt-4 15435 7570 ns/op BenchmarkAppendInt-4 17662 6783 ns/op BenchmarkFormatUint-4 82876 1379 ns/op BenchmarkAppendUint-4 97072 1184 ns/op BenchmarkFormatIntSmall/7-4 2955669 39.77 ns/op BenchmarkFormatIntSmall/42-4 2983117 38.19 ns/op BenchmarkAppendIntSmall-4 1432641 83.52 ns/op BenchmarkAppendUintVarlen/1-4 1414262 84.42 ns/op BenchmarkAppendUintVarlen/12-4 1372628 86.95 ns/op BenchmarkAppendUintVarlen/123-4 971143 117.2 ns/op BenchmarkAppendUintVarlen/1234-4 959761 118.2 ns/op BenchmarkAppendUintVarlen/12345-4 941604 121.5 ns/op BenchmarkAppendUintVarlen/123456-4 893818 122.9 ns/op BenchmarkAppendUintVarlen/1234567-4 834525 125.8 ns/op BenchmarkAppendUintVarlen/12345678-4 858333 125.3 ns/op BenchmarkAppendUintVarlen/123456789-4 878523 129.1 ns/op BenchmarkAppendUintVarlen/1234567890-4 892023 128.2 ns/op BenchmarkAppendUintVarlen/12345678901-4 875840 130.6 ns/op BenchmarkAppendUintVarlen/123456789012-4 870510 131.4 ns/op BenchmarkAppendUintVarlen/1234567890123-4 806504 132.7 ns/op BenchmarkAppendUintVarlen/12345678901234-4 855808 133.0 ns/op BenchmarkAppendUintVarlen/123456789012345-4 837835 136.1 ns/op BenchmarkAppendUintVarlen/1234567890123456-4 837650 134.3 ns/op BenchmarkAppendUintVarlen/12345678901234567-4 770928 140.7 ns/op BenchmarkAppendUintVarlen/123456789012345678-4 816992 140.5 ns/op BenchmarkAppendUintVarlen/1234567890123456789-4 777856 142.2 ns/op BenchmarkAppendUintVarlen/12345678901234567890-4 797118 142.6 ns/op BenchmarkQuote-4 45897 2574 ns/op BenchmarkQuoteRune-4 439468 255.2 ns/op BenchmarkAppendQuote-4 55004 2157 ns/op BenchmarkAppendQuoteRune-4 847833 133.0 ns/op BenchmarkUnquoteEasy-4 1405506 86.42 ns/op BenchmarkUnquoteHard-4 48604 2367 ns/op PASS ok strconv 16.003s goos: linux goarch: amd64 pkg: strings cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkBuildString_Builder/1Write_NoGrow-4 389202 292.6 ns/op 48 B/op 1 allocs/op BenchmarkBuildString_Builder/3Write_NoGrow-4 139772 862.5 ns/op 336 B/op 3 allocs/op BenchmarkBuildString_Builder/3Write_Grow-4 187899 633.5 ns/op 112 B/op 1 allocs/op BenchmarkBuildString_ByteBuffer/1Write_NoGrow-4 262623 399.8 ns/op 112 B/op 2 allocs/op BenchmarkBuildString_ByteBuffer/3Write_NoGrow-4 77016 1308 ns/op 432 B/op 4 allocs/op BenchmarkBuildString_ByteBuffer/3Write_Grow-4 97078 1123 ns/op 336 B/op 3 allocs/op BenchmarkClone-4 622147 181.5 ns/op 48 B/op 1 allocs/op BenchmarkGenericNoMatch-4 20940 5577 ns/op BenchmarkGenericMatch1-4 2148 51801 ns/op BenchmarkGenericMatch2-4 432 271471 ns/op BenchmarkSingleMaxSkipping-4 7844 14614 ns/op 684.26 MB/s BenchmarkSingleLongSuffixFail-4 13896 8633 ns/op 116.07 MB/s BenchmarkSingleMatch-4 243 477534 ns/op 31.41 MB/s BenchmarkByteByteNoMatch-4 72960 1645 ns/op BenchmarkByteByteMatch-4 19353 6171 ns/op BenchmarkByteStringMatch-4 22575 5135 ns/op BenchmarkHTMLEscapeNew-4 72442 1650 ns/op BenchmarkHTMLEscapeOld-4 82426 1359 ns/op BenchmarkByteStringReplacerWriteString-4 1450 80538 ns/op BenchmarkByteReplacerWriteString-4 1562 76649 ns/op BenchmarkByteByteReplaces-4 3327 33873 ns/op BenchmarkByteByteMap-4 10000 11224 ns/op BenchmarkMap/identity/ASCII-4 650970 175.3 ns/op BenchmarkMap/identity/Greek-4 478998 243.7 ns/op BenchmarkMap/change/ASCII-4 38517 3103 ns/op BenchmarkMap/change/Greek-4 28941 4093 ns/op BenchmarkIndexRune-4 1963765 60.95 ns/op BenchmarkIndexRuneLongString-4 1633388 74.43 ns/op BenchmarkIndexRuneFastPath-4 4421362 26.85 ns/op BenchmarkIndex-4 4393783 26.69 ns/op BenchmarkLastIndex-4 4567934 26.32 ns/op BenchmarkIndexByte-4 10088641 11.04 ns/op BenchmarkToUpper/#00-4 3111379 38.39 ns/op BenchmarkToUpper/ONLYUPPER-4 2362342 50.79 ns/op BenchmarkToUpper/abc-4 329217 371.2 ns/op BenchmarkToUpper/AbC123-4 252286 471.8 ns/op BenchmarkToUpper/azAZ09_-4 279213 439.6 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 55392 2157 ns/op BenchmarkToUpper/RENAN_BASTOS_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 72327 1649 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 33595 3567 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 55747 2139 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 123984 968.1 ns/op BenchmarkToLower/#00-4 2944406 40.58 ns/op BenchmarkToLower/abc-4 2704542 44.45 ns/op BenchmarkToLower/AbC123-4 224349 516.2 ns/op BenchmarkToLower/azAZ09_-4 205518 524.1 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 93434 1201 ns/op BenchmarkToLower/renan_bastos_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 67154 1780 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 34657 3470 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 76444 1556 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 118407 1001 ns/op BenchmarkMapNoChanges-4 958123 122.9 ns/op BenchmarkTrim-4 36950 3210 ns/op 0 B/op 0 allocs/op BenchmarkToValidUTF8/Valid-4 3209576 37.18 ns/op BenchmarkToValidUTF8/InvalidASCII-4 194023 609.1 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 126384 935.9 ns/op BenchmarkEqualFold/Tests-4 52861 2194 ns/op BenchmarkEqualFold/ASCII-4 3598161 33.60 ns/op BenchmarkEqualFold/UnicodePrefix-4 106035 1119 ns/op BenchmarkEqualFold/UnicodeSuffix-4 115160 1017 ns/op BenchmarkIndexHard1-4 841 142955 ns/op BenchmarkIndexHard2-4 602 197557 ns/op BenchmarkIndexHard3-4 151 790848 ns/op BenchmarkIndexHard4-4 184 642364 ns/op BenchmarkLastIndexHard1-4 58 1973681 ns/op BenchmarkLastIndexHard2-4 60 1979525 ns/op BenchmarkLastIndexHard3-4 58 1984280 ns/op BenchmarkCountHard1-4 844 141772 ns/op BenchmarkCountHard2-4 600 198586 ns/op BenchmarkCountHard3-4 151 795488 ns/op BenchmarkIndexTorture-4 6919 15559 ns/op BenchmarkCountTorture-4 7473 15581 ns/op BenchmarkCountTortureOverlapping-4 664 165544 ns/op BenchmarkCountByte/10-4 4288960 27.13 ns/op 368.59 MB/s BenchmarkCountByte/32-4 4122447 28.92 ns/op 1106.43 MB/s BenchmarkCountByte/4096-4 872887 137.3 ns/op 29833.47 MB/s BenchmarkCountByte/4194304-4 668 168019 ns/op 24963.29 MB/s BenchmarkCountByte/67108864-4 20 5612310 ns/op 11957.44 MB/s BenchmarkFields/ASCII/16-4 237955 484.8 ns/op 33.00 MB/s 64 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 20018 5838 ns/op 43.85 MB/s 384 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 1196 90981 ns/op 45.02 MB/s 6144 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 62 1782110 ns/op 36.77 MB/s 98304 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 4 28491587 ns/op 36.80 MB/s 1515544 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 129412 912.9 ns/op 17.53 MB/s 48 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 10267 11583 ns/op 22.10 MB/s 352 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 536 209855 ns/op 19.52 MB/s 21888 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 27 4357520 ns/op 15.04 MB/s 463107 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 2 89651409 ns/op 11.70 MB/s 10457344 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 163105 720.4 ns/op 22.21 MB/s 64 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 16929 6943 ns/op 36.87 MB/s 384 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 932 126769 ns/op 32.31 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 37 3043369 ns/op 21.53 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 69516039 ns/op 15.08 MB/s 10457344 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 154738 754.1 ns/op 21.22 MB/s 48 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 13562 8631 ns/op 29.66 MB/s 352 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 718 161769 ns/op 25.32 MB/s 21888 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 32 3620302 ns/op 18.10 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 2 77514637 ns/op 13.53 MB/s 10457344 B/op 24 allocs/op BenchmarkSplitEmptySeparator-4 1 105361535 ns/op BenchmarkSplitSingleByteSeparator-4 14 7986954 ns/op BenchmarkSplitMultiByteSeparator-4 28 3938666 ns/op BenchmarkSplitNSingleByteSeparator-4 202966 501.1 ns/op BenchmarkSplitNMultiByteSeparator-4 158442 697.7 ns/op BenchmarkRepeat/5x0-4 3331966 35.71 ns/op BenchmarkRepeat/5x1-4 3483632 34.19 ns/op BenchmarkRepeat/5x2-4 261010 455.2 ns/op BenchmarkRepeat/5x6-4 158076 741.7 ns/op BenchmarkRepeat/10x0-4 3321144 35.94 ns/op BenchmarkRepeat/10x1-4 3481422 34.17 ns/op BenchmarkRepeat/10x2-4 264534 457.0 ns/op BenchmarkRepeat/10x6-4 157886 763.1 ns/op BenchmarkRepeatLarge/256/1-4 71773 1559 ns/op 164.17 MB/s BenchmarkRepeatLarge/256/16-4 105172 992.6 ns/op 257.91 MB/s BenchmarkRepeatLarge/512/1-4 56431 1932 ns/op 264.98 MB/s BenchmarkRepeatLarge/512/16-4 82417 1393 ns/op 367.55 MB/s BenchmarkRepeatLarge/1024/1-4 43268 2555 ns/op 400.83 MB/s BenchmarkRepeatLarge/1024/16-4 56791 1926 ns/op 531.54 MB/s BenchmarkRepeatLarge/2048/1-4 31196 3594 ns/op 569.90 MB/s BenchmarkRepeatLarge/2048/16-4 33891 3041 ns/op 673.52 MB/s BenchmarkRepeatLarge/4096/1-4 21062 5564 ns/op 736.21 MB/s BenchmarkRepeatLarge/4096/16-4 20800 4946 ns/op 828.17 MB/s BenchmarkRepeatLarge/8192/1-4 13380 9394 ns/op 872.01 MB/s BenchmarkRepeatLarge/8192/16-4 13200 8407 ns/op 974.45 MB/s BenchmarkRepeatLarge/8192/4097-4 5582570 21.00 ns/op 195123.67 MB/s BenchmarkRepeatLarge/16384/1-4 7664 15463 ns/op 1059.57 MB/s BenchmarkRepeatLarge/16384/16-4 9220 15755 ns/op 1039.94 MB/s BenchmarkRepeatLarge/16384/4097-4 9138 11647 ns/op 1055.27 MB/s BenchmarkRepeatLarge/32768/1-4 4140 27966 ns/op 1171.72 MB/s BenchmarkRepeatLarge/32768/16-4 4044 27378 ns/op 1196.86 MB/s BenchmarkRepeatLarge/32768/4097-4 4646 25179 ns/op 1139.00 MB/s BenchmarkRepeatLarge/65536/1-4 1904 53133 ns/op 1233.43 MB/s BenchmarkRepeatLarge/65536/16-4 1968 52378 ns/op 1251.21 MB/s BenchmarkRepeatLarge/65536/4097-4 2401 52306 ns/op 1174.92 MB/s BenchmarkRepeatLarge/131072/1-4 223 537419 ns/op 243.89 MB/s BenchmarkRepeatLarge/131072/16-4 222 539126 ns/op 243.12 MB/s BenchmarkRepeatLarge/131072/4097-4 226 540537 ns/op 234.96 MB/s BenchmarkRepeatLarge/262144/1-4 100 1061899 ns/op 246.86 MB/s BenchmarkRepeatLarge/262144/16-4 100 1047387 ns/op 250.28 MB/s BenchmarkRepeatLarge/262144/4097-4 100 1047808 ns/op 246.33 MB/s BenchmarkRepeatLarge/524288/1-4 61 2063830 ns/op 254.04 MB/s BenchmarkRepeatLarge/524288/16-4 61 2042432 ns/op 256.70 MB/s BenchmarkRepeatLarge/524288/4097-4 54 2091048 ns/op 248.83 MB/s BenchmarkRepeatLarge/1048576/1-4 31 4134037 ns/op 253.64 MB/s BenchmarkRepeatLarge/1048576/16-4 27 4134067 ns/op 253.64 MB/s BenchmarkRepeatLarge/1048576/4097-4 30 4192169 ns/op 249.21 MB/s BenchmarkRepeatLarge/2097152/1-4 13 7907992 ns/op 265.19 MB/s BenchmarkRepeatLarge/2097152/16-4 14 7971448 ns/op 263.08 MB/s BenchmarkRepeatLarge/2097152/4097-4 14 8152681 ns/op 256.79 MB/s BenchmarkRepeatLarge/4194304/1-4 7 15730694 ns/op 266.63 MB/s BenchmarkRepeatLarge/4194304/16-4 7 16056872 ns/op 261.22 MB/s BenchmarkRepeatLarge/4194304/4097-4 7 16070336 ns/op 260.81 MB/s BenchmarkRepeatLarge/8388608/1-4 4 31116571 ns/op 269.59 MB/s BenchmarkRepeatLarge/8388608/16-4 4 31480904 ns/op 266.47 MB/s BenchmarkRepeatLarge/8388608/4097-4 4 31155322 ns/op 269.19 MB/s BenchmarkRepeatLarge/16777216/1-4 2 64376496 ns/op 260.61 MB/s BenchmarkRepeatLarge/16777216/16-4 2 61746084 ns/op 271.71 MB/s BenchmarkRepeatLarge/16777216/4097-4 2 62529047 ns/op 268.31 MB/s BenchmarkRepeatLarge/33554432/1-4 1 119281395 ns/op 281.30 MB/s BenchmarkRepeatLarge/33554432/16-4 1 123222905 ns/op 272.31 MB/s BenchmarkRepeatLarge/33554432/4097-4 1 125570222 ns/op 267.22 MB/s BenchmarkRepeatLarge/67108864/1-4 1 239034702 ns/op 280.75 MB/s BenchmarkRepeatLarge/67108864/16-4 1 235076269 ns/op 285.48 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 243073716 ns/op 276.08 MB/s BenchmarkRepeatLarge/134217728/1-4 1 474762842 ns/op 282.70 MB/s BenchmarkRepeatLarge/134217728/16-4 1 473471138 ns/op 283.48 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 478253887 ns/op 280.64 MB/s BenchmarkRepeatLarge/268435456/1-4 1 951063171 ns/op 282.25 MB/s BenchmarkRepeatLarge/268435456/16-4 1 912877328 ns/op 294.05 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 948830668 ns/op 282.91 MB/s BenchmarkRepeatLarge/536870912/1-4 1 1854211014 ns/op 289.54 MB/s BenchmarkRepeatLarge/536870912/16-4 1 1839808183 ns/op 291.81 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 1849685398 ns/op 290.25 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 3797208025 ns/op 282.77 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 3686263775 ns/op 291.28 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 3821141320 ns/op 281.00 MB/s BenchmarkIndexAnyASCII/1:1-4 2010514 59.37 ns/op BenchmarkIndexAnyASCII/1:2-4 1986448 60.91 ns/op BenchmarkIndexAnyASCII/1:4-4 1971936 61.22 ns/op BenchmarkIndexAnyASCII/1:8-4 1965364 61.07 ns/op BenchmarkIndexAnyASCII/1:16-4 1951117 60.97 ns/op BenchmarkIndexAnyASCII/1:32-4 1969779 60.75 ns/op BenchmarkIndexAnyASCII/1:64-4 2020404 59.09 ns/op BenchmarkIndexAnyASCII/16:1-4 2085778 57.83 ns/op BenchmarkIndexAnyASCII/16:2-4 752392 154.4 ns/op BenchmarkIndexAnyASCII/16:4-4 758841 154.8 ns/op BenchmarkIndexAnyASCII/16:8-4 715610 163.9 ns/op BenchmarkIndexAnyASCII/16:16-4 674208 172.7 ns/op BenchmarkIndexAnyASCII/16:32-4 596787 200.1 ns/op BenchmarkIndexAnyASCII/16:64-4 480076 244.6 ns/op BenchmarkIndexAnyASCII/256:1-4 1882341 64.51 ns/op BenchmarkIndexAnyASCII/256:2-4 73766 1623 ns/op BenchmarkIndexAnyASCII/256:4-4 73393 1637 ns/op BenchmarkIndexAnyASCII/256:8-4 72463 1652 ns/op BenchmarkIndexAnyASCII/256:16-4 71377 1671 ns/op BenchmarkIndexAnyASCII/256:32-4 69940 1710 ns/op BenchmarkIndexAnyASCII/256:64-4 68128 1770 ns/op BenchmarkIndexAnyUTF8/1:1-4 2081587 57.13 ns/op BenchmarkIndexAnyUTF8/1:2-4 1994217 60.03 ns/op BenchmarkIndexAnyUTF8/1:4-4 1999155 60.22 ns/op BenchmarkIndexAnyUTF8/1:8-4 2009043 59.75 ns/op BenchmarkIndexAnyUTF8/1:16-4 2011708 59.77 ns/op BenchmarkIndexAnyUTF8/1:32-4 2009623 59.46 ns/op BenchmarkIndexAnyUTF8/1:64-4 2022480 58.78 ns/op BenchmarkIndexAnyUTF8/16:1-4 1686513 70.02 ns/op BenchmarkIndexAnyUTF8/16:2-4 286731 402.3 ns/op BenchmarkIndexAnyUTF8/16:4-4 290822 398.9 ns/op BenchmarkIndexAnyUTF8/16:8-4 292710 400.2 ns/op BenchmarkIndexAnyUTF8/16:16-4 295519 393.1 ns/op BenchmarkIndexAnyUTF8/16:32-4 290856 403.2 ns/op BenchmarkIndexAnyUTF8/16:64-4 298035 394.1 ns/op BenchmarkIndexAnyUTF8/256:1-4 335088 353.6 ns/op BenchmarkIndexAnyUTF8/256:2-4 21772 5446 ns/op BenchmarkIndexAnyUTF8/256:4-4 21927 5522 ns/op BenchmarkIndexAnyUTF8/256:8-4 21926 5508 ns/op BenchmarkIndexAnyUTF8/256:16-4 22168 5419 ns/op BenchmarkIndexAnyUTF8/256:32-4 21802 5508 ns/op BenchmarkIndexAnyUTF8/256:64-4 22017 5412 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2010168 59.02 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2022412 58.21 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2081238 57.41 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2072863 58.67 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2052427 57.91 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2048630 57.94 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2084712 58.16 ns/op BenchmarkLastIndexAnyASCII/16:1-4 783351 148.3 ns/op BenchmarkLastIndexAnyASCII/16:2-4 779313 149.8 ns/op BenchmarkLastIndexAnyASCII/16:4-4 776469 152.3 ns/op BenchmarkLastIndexAnyASCII/16:8-4 730046 162.4 ns/op BenchmarkLastIndexAnyASCII/16:16-4 686410 171.8 ns/op BenchmarkLastIndexAnyASCII/16:32-4 594717 198.8 ns/op BenchmarkLastIndexAnyASCII/16:64-4 492979 244.5 ns/op BenchmarkLastIndexAnyASCII/256:1-4 73222 1638 ns/op BenchmarkLastIndexAnyASCII/256:2-4 71617 1647 ns/op BenchmarkLastIndexAnyASCII/256:4-4 72110 1651 ns/op BenchmarkLastIndexAnyASCII/256:8-4 71155 1678 ns/op BenchmarkLastIndexAnyASCII/256:16-4 70996 1690 ns/op BenchmarkLastIndexAnyASCII/256:32-4 70080 1700 ns/op BenchmarkLastIndexAnyASCII/256:64-4 67347 1755 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2013118 59.94 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2075073 58.17 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2075835 57.72 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2084697 58.04 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2066382 58.00 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2065002 57.93 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2070502 57.73 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 369057 316.3 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 184712 632.2 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 187336 627.5 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 180427 625.5 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 183555 646.8 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 173414 673.1 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 169646 681.4 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 28598 4205 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 13303 9434 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 13178 9048 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 13422 9074 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 12529 9480 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 10000 10137 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 10000 10086 ns/op BenchmarkTrimASCII/1:1-4 3136986 37.72 ns/op BenchmarkTrimASCII/1:2-4 2459143 49.13 ns/op BenchmarkTrimASCII/1:4-4 2396896 50.74 ns/op BenchmarkTrimASCII/1:8-4 2139957 56.04 ns/op BenchmarkTrimASCII/1:16-4 1782411 68.47 ns/op BenchmarkTrimASCII/16:1-4 2646540 44.92 ns/op BenchmarkTrimASCII/16:2-4 738568 157.1 ns/op BenchmarkTrimASCII/16:4-4 726128 158.7 ns/op BenchmarkTrimASCII/16:8-4 717840 162.8 ns/op BenchmarkTrimASCII/16:16-4 659619 173.3 ns/op BenchmarkTrimASCII/256:1-4 757154 155.2 ns/op BenchmarkTrimASCII/256:2-4 69867 1711 ns/op BenchmarkTrimASCII/256:4-4 70264 1712 ns/op BenchmarkTrimASCII/256:8-4 69799 1704 ns/op BenchmarkTrimASCII/256:16-4 69796 1734 ns/op BenchmarkTrimASCII/4096:1-4 74305 1603 ns/op BenchmarkTrimASCII/4096:2-4 4514 27105 ns/op BenchmarkTrimASCII/4096:4-4 4434 26880 ns/op BenchmarkTrimASCII/4096:8-4 4428 27443 ns/op BenchmarkTrimASCII/4096:16-4 4380 26853 ns/op BenchmarkTrimByte-4 4090879 28.84 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 13386 8953 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 13377 8985 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 1141 104497 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 2353 50312 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 4568 25140 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 8026 14553 ns/op BenchmarkJoin/0-4 5023306 23.68 ns/op 0 B/op 0 allocs/op BenchmarkJoin/1-4 4051160 28.74 ns/op 0 B/op 0 allocs/op BenchmarkJoin/2-4 205406 596.6 ns/op 16 B/op 1 allocs/op BenchmarkJoin/3-4 139041 858.1 ns/op 24 B/op 1 allocs/op BenchmarkJoin/4-4 103390 1153 ns/op 48 B/op 1 allocs/op BenchmarkJoin/5-4 83185 1498 ns/op 48 B/op 1 allocs/op BenchmarkJoin/6-4 71019 1682 ns/op 64 B/op 1 allocs/op BenchmarkJoin/7-4 60900 1981 ns/op 64 B/op 1 allocs/op BenchmarkTrimSpace/NoTrim-4 2566269 46.36 ns/op BenchmarkTrimSpace/ASCII-4 1510236 79.39 ns/op BenchmarkTrimSpace/SomeNonASCII-4 138138 851.9 ns/op BenchmarkTrimSpace/JustNonASCII-4 72103 1654 ns/op BenchmarkReplaceAll-4 121221 977.1 ns/op 16 B/op 1 allocs/op PASS ok strings 66.790s goos: linux goarch: amd64 pkg: sync cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCond1-4 55780 2180 ns/op BenchmarkCond2-4 17062 6389 ns/op BenchmarkCond4-4 15246 8380 ns/op BenchmarkCond8-4 10000 15210 ns/op BenchmarkCond16-4 4171 34341 ns/op BenchmarkCond32-4 2017 78612 ns/op BenchmarkLoadMostlyHits/*sync_test.DeepCopyMap-4 462116 258.7 ns/op BenchmarkLoadMostlyHits/*sync_test.RWMutexMap-4 288277 415.1 ns/op BenchmarkLoadMostlyHits/*sync.Map-4 502501 228.0 ns/op BenchmarkLoadMostlyMisses/*sync_test.DeepCopyMap-4 453399 281.2 ns/op BenchmarkLoadMostlyMisses/*sync_test.RWMutexMap-4 279145 400.2 ns/op BenchmarkLoadMostlyMisses/*sync.Map-4 485406 215.7 ns/op BenchmarkLoadOrStoreBalanced/*sync_test.RWMutexMap-4 89542 1619 ns/op BenchmarkLoadOrStoreBalanced/*sync.Map-4 74330 1839 ns/op BenchmarkLoadOrStoreUnique/*sync_test.RWMutexMap-4 55154 2881 ns/op BenchmarkLoadOrStoreUnique/*sync.Map-4 48364 2642 ns/op BenchmarkLoadOrStoreCollision/*sync_test.DeepCopyMap-4 482325 284.5 ns/op BenchmarkLoadOrStoreCollision/*sync_test.RWMutexMap-4 178380 703.9 ns/op BenchmarkLoadOrStoreCollision/*sync.Map-4 504524 234.4 ns/op BenchmarkLoadAndDeleteBalanced/*sync_test.RWMutexMap-4 143472 813.8 ns/op BenchmarkLoadAndDeleteBalanced/*sync.Map-4 474352 245.8 ns/op BenchmarkLoadAndDeleteUnique/*sync_test.RWMutexMap-4 157464 708.9 ns/op BenchmarkLoadAndDeleteUnique/*sync.Map-4 1928100 64.29 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.DeepCopyMap-4 43999 2927 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.RWMutexMap-4 123400 1006 ns/op BenchmarkLoadAndDeleteCollision/*sync.Map-4 564492 588.1 ns/op BenchmarkRange/*sync_test.DeepCopyMap-4 7600 15317 ns/op BenchmarkRange/*sync_test.RWMutexMap-4 300 382546 ns/op BenchmarkRange/*sync.Map-4 1347 85463 ns/op BenchmarkAdversarialAlloc/*sync_test.DeepCopyMap-4 81705 1238 ns/op BenchmarkAdversarialAlloc/*sync_test.RWMutexMap-4 191690 568.7 ns/op BenchmarkAdversarialAlloc/*sync.Map-4 63733 1777 ns/op BenchmarkAdversarialDelete/*sync_test.DeepCopyMap-4 91280 1105 ns/op BenchmarkAdversarialDelete/*sync_test.RWMutexMap-4 241849 510.7 ns/op BenchmarkAdversarialDelete/*sync.Map-4 133983 831.4 ns/op BenchmarkDeleteCollision/*sync_test.DeepCopyMap-4 62737 1614 ns/op BenchmarkDeleteCollision/*sync_test.RWMutexMap-4 174597 642.7 ns/op BenchmarkDeleteCollision/*sync.Map-4 555249 224.4 ns/op BenchmarkSwapCollision/*sync_test.DeepCopyMap-4 48778 2521 ns/op BenchmarkSwapCollision/*sync_test.RWMutexMap-4 147608 866.1 ns/op BenchmarkSwapCollision/*sync.Map-4 78345 1578 ns/op BenchmarkSwapMostlyHits/*sync_test.DeepCopyMap-4 258 451884 ns/op BenchmarkSwapMostlyHits/*sync_test.RWMutexMap-4 97856 1245 ns/op BenchmarkSwapMostlyHits/*sync.Map-4 344522 321.5 ns/op BenchmarkSwapMostlyMisses/*sync_test.DeepCopyMap-4 19614 5427 ns/op BenchmarkSwapMostlyMisses/*sync_test.RWMutexMap-4 50532 1993 ns/op BenchmarkSwapMostlyMisses/*sync.Map-4 20878 5567 ns/op BenchmarkCompareAndSwapCollision/*sync_test.DeepCopyMap-4 208321 804.3 ns/op BenchmarkCompareAndSwapCollision/*sync_test.RWMutexMap-4 116247 1116 ns/op BenchmarkCompareAndSwapCollision/*sync.Map-4 169066 797.0 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.DeepCopyMap-4 1767092 58.50 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.RWMutexMap-4 185433 705.5 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync.Map-4 1593560 65.63 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.DeepCopyMap-4 529965 256.8 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.RWMutexMap-4 148093 839.0 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync.Map-4 465601 241.3 ns/op BenchmarkCompareAndSwapMostlyHits/*sync_test.RWMutexMap-4 93589 1365 ns/op BenchmarkCompareAndSwapMostlyHits/*sync.Map-4 293812 364.7 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.DeepCopyMap-4 453296 290.0 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.RWMutexMap-4 110006 1041 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync.Map-4 490767 219.6 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.DeepCopyMap-4 96466 1314 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.RWMutexMap-4 92899 1138 ns/op BenchmarkCompareAndDeleteCollision/*sync.Map-4 362461 808.7 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync_test.RWMutexMap-4 50546 2214 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync.Map-4 189516 616.5 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.DeepCopyMap-4 428478 281.7 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.RWMutexMap-4 125910 989.9 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync.Map-4 513734 233.7 ns/op BenchmarkUncontendedSemaphore-4 3392101 35.17 ns/op BenchmarkContendedSemaphore-4 2781330 51.71 ns/op BenchmarkMutexUncontended-4 662598 153.4 ns/op BenchmarkMutex-4 159153 819.7 ns/op BenchmarkMutexSlack-4 138961 819.4 ns/op BenchmarkMutexWork-4 121999 963.6 ns/op BenchmarkMutexWorkSlack-4 108376 1005 ns/op BenchmarkMutexNoSpin-4 54004 2143 ns/op BenchmarkMutexSpin-4 52785 2059 ns/op BenchmarkOnce-4 506786 272.2 ns/op BenchmarkSemaUncontended-4 6312040 19.58 ns/op BenchmarkSemaSyntNonblock-4 1000000 104.6 ns/op BenchmarkSemaSyntBlock-4 1000000 103.3 ns/op BenchmarkSemaWorkNonblock-4 867541 139.6 ns/op BenchmarkSemaWorkBlock-4 788058 152.0 ns/op BenchmarkRWMutexUncontended-4 369255 283.1 ns/op BenchmarkRWMutexWrite100-4 304900 403.1 ns/op BenchmarkRWMutexWrite10-4 229308 451.3 ns/op BenchmarkRWMutexWorkWrite100-4 233842 473.9 ns/op BenchmarkRWMutexWorkWrite10-4 191233 606.4 ns/op BenchmarkWaitGroupUncontended-4 746152 145.2 ns/op BenchmarkWaitGroupAddDone-4 303163 403.1 ns/op BenchmarkWaitGroupAddDoneWork-4 389770 451.8 ns/op BenchmarkWaitGroupWait-4 4919706 25.21 ns/op BenchmarkWaitGroupWaitWork-4 3369074 35.24 ns/op BenchmarkWaitGroupActuallyWait-4 39626 3060 ns/op 32 B/op 2 allocs/op PASS ok sync 17.076s ##### 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: sync/atomic cpu: AMD EPYC 7B12 BenchmarkValueRead-4 432609 297.5 ns/op PASS ok sync/atomic 0.159s goos: linux goarch: amd64 pkg: testing cpu: AMD EPYC 7B12 BenchmarkTBHelper-4 107898 1103 ns/op 0 B/op 0 allocs/op PASS ok testing 0.159s ##### 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: text/tabwriter cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkTable/1x10/new-4 7712 14278 ns/op 1520 B/op 21 allocs/op BenchmarkTable/1x10/reuse-4 11556 10318 ns/op 0 B/op 0 allocs/op BenchmarkTable/1x1000/new-4 94 1224533 ns/op 129393 B/op 1025 allocs/op BenchmarkTable/1x1000/reuse-4 122 963669 ns/op 1060 B/op 8 allocs/op BenchmarkTable/1x100000/new-4 1 183752404 ns/op 19393008 B/op 100057 allocs/op BenchmarkTable/1x100000/reuse-4 1 182093570 ns/op 19393008 B/op 100057 allocs/op BenchmarkTable/10x10/new-4 1801 64905 ns/op 5056 B/op 31 allocs/op BenchmarkTable/10x10/reuse-4 1956 55532 ns/op 2 B/op 0 allocs/op BenchmarkTable/10x1000/new-4 19 5928852 ns/op 413568 B/op 1039 allocs/op BenchmarkTable/10x1000/reuse-4 21 5299541 ns/op 19693 B/op 49 allocs/op BenchmarkTable/10x100000/new-4 1 745567188 ns/op 48120704 B/op 100073 allocs/op BenchmarkTable/10x100000/reuse-4 1 727799606 ns/op 48120704 B/op 100073 allocs/op BenchmarkTable/100x10/new-4 218 555391 ns/op 39296 B/op 41 allocs/op BenchmarkTable/100x10/reuse-4 244 484653 ns/op 161 B/op 0 allocs/op BenchmarkTable/100x1000/new-4 2 59931320 ns/op 3288960 B/op 1053 allocs/op BenchmarkTable/100x1000/reuse-4 2 57473471 ns/op 1644480 B/op 526 allocs/op BenchmarkTable/100x100000/new-4 1 7256555422 ns/op 335150048 B/op 100090 allocs/op BenchmarkTable/100x100000/reuse-4 1 6997981530 ns/op 335150056 B/op 100091 allocs/op BenchmarkPyramid/10-4 2766 42658 ns/op 4872 B/op 35 allocs/op BenchmarkPyramid/100-4 38 2986231 ns/op 409130 B/op 230 allocs/op BenchmarkPyramid/1000-4 1 327389783 ns/op 35625256 B/op 2055 allocs/op BenchmarkRagged/10-4 2244 46365 ns/op 4512 B/op 34 allocs/op BenchmarkRagged/100-4 259 432508 ns/op 41008 B/op 188 allocs/op BenchmarkRagged/1000-4 26 4442694 ns/op 427427 B/op 1661 allocs/op BenchmarkCode-4 6615 15648 ns/op 624 B/op 13 allocs/op PASS ok text/tabwriter 19.546s ##### 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: text/template/parse cpu: AMD EPYC 7B12 BenchmarkParseLarge-4 2 77299469 ns/op BenchmarkVariableString-4 90012 1177 ns/op 80 B/op 3 allocs/op BenchmarkListString-4 2154 56943 ns/op 2491 B/op 39 allocs/op PASS ok text/template/parse 0.523s ##### 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: time cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAfterFunc-4 34 3028473 ns/op BenchmarkAfter-4 111 1036119 ns/op BenchmarkStop-4 205 640333 ns/op BenchmarkSimultaneousAfterFunc-4 24 4390498 ns/op BenchmarkStartStop-4 206 591270 ns/op BenchmarkReset-4 2396 54052 ns/op BenchmarkSleep-4 33 3613453 ns/op BenchmarkParallelTimerLatency-4 46 364650 avg-late-ns 12196586 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=1-4 36 317998 avg-late-ns 874690 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=2-4 32 370204 avg-late-ns 1107896 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=3-4 34 370115 avg-late-ns 1333315 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=4-4 33 383310 avg-late-ns 1616838 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=5-4 31 322223 avg-late-ns 1544287 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=6-4 32 256222 avg-late-ns 2541041 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=7-4 30 231326 avg-late-ns 2090467 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=8-4 27 193491 avg-late-ns 1219573 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=9-4 25 180266 avg-late-ns 1488605 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=10-4 26 992265 avg-late-ns 3849598 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=2ms/tickers-per-P=1-4 34 319941 avg-late-ns 1141379 max-late-ns BenchmarkTicker-4 394 382267 ns/op BenchmarkTickerReset-4 3756 28932 ns/op BenchmarkTickerResetNaive-4 181 665445 ns/op BenchmarkNow-4 1000000 109.6 ns/op BenchmarkNowUnixNano-4 1169866 102.2 ns/op BenchmarkNowUnixMilli-4 1000000 110.3 ns/op BenchmarkNowUnixMicro-4 1000000 104.0 ns/op BenchmarkFormat-4 58225 2018 ns/op BenchmarkFormatRFC3339-4 78681 1534 ns/op BenchmarkFormatRFC3339Nano-4 79030 1517 ns/op BenchmarkFormatNow-4 78556 1484 ns/op BenchmarkMarshalJSON-4 106484 1141 ns/op BenchmarkMarshalText-4 107976 1114 ns/op BenchmarkParse-4 142650 826.4 ns/op BenchmarkParseRFC3339UTC-4 334191 358.6 ns/op BenchmarkParseRFC3339UTCBytes-4 205774 541.4 ns/op BenchmarkParseRFC3339TZ-4 102590 1163 ns/op BenchmarkParseRFC3339TZBytes-4 77844 1511 ns/op BenchmarkParseDuration-4 530433 217.0 ns/op BenchmarkHour-4 841444 140.1 ns/op BenchmarkSecond-4 872282 137.8 ns/op BenchmarkYear-4 619879 193.5 ns/op BenchmarkDay-4 592144 201.2 ns/op BenchmarkISOWeek-4 634039 187.5 ns/op BenchmarkGoString-4 77415 1587 ns/op BenchmarkUnmarshalText-4 68914 1717 ns/op PASS ok time 11.504s ##### 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: unicode/utf16 cpu: AMD EPYC 7B12 BenchmarkDecodeValidASCII-4 645782 172.3 ns/op BenchmarkDecodeValidJapaneseChars-4 719643 145.2 ns/op BenchmarkDecodeRune-4 1661712 67.81 ns/op BenchmarkEncodeValidASCII-4 567037 200.3 ns/op BenchmarkEncodeValidJapaneseChars-4 709852 159.4 ns/op BenchmarkAppendRuneValidASCII-4 1577988 76.06 ns/op BenchmarkAppendRuneValidJapaneseChars-4 2696170 44.30 ns/op BenchmarkEncodeRune-4 3259537 37.30 ns/op PASS ok unicode/utf16 1.215s ##### 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: unicode/utf8 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRuneCountTenASCIIChars-4 817412 143.7 ns/op BenchmarkRuneCountTenJapaneseChars-4 168787 675.0 ns/op BenchmarkRuneCountInStringTenASCIIChars-4 3810468 31.29 ns/op BenchmarkRuneCountInStringTenJapaneseChars-4 412963 285.3 ns/op BenchmarkValidTenASCIIChars-4 842331 136.6 ns/op BenchmarkValid100KASCIIChars-4 92 1304291 ns/op BenchmarkValidTenJapaneseChars-4 154200 771.6 ns/op BenchmarkValidLongMostlyASCII-4 84 1402125 ns/op BenchmarkValidLongJapanese-4 54 2217805 ns/op BenchmarkValidStringTenASCIIChars-4 4710555 25.17 ns/op BenchmarkValidString100KASCIIChars-4 9304 12273 ns/op BenchmarkValidStringTenJapaneseChars-4 406425 272.6 ns/op BenchmarkValidStringLongMostlyASCII-4 1197 98651 ns/op BenchmarkValidStringLongJapanese-4 156 790483 ns/op BenchmarkEncodeASCIIRune-4 4324922 27.96 ns/op BenchmarkEncodeJapaneseRune-4 2529033 44.31 ns/op BenchmarkAppendASCIIRune-4 8662140 14.02 ns/op BenchmarkAppendJapaneseRune-4 2923808 39.17 ns/op BenchmarkDecodeASCIIRune-4 2863906 42.39 ns/op BenchmarkDecodeJapaneseRune-4 1897688 63.23 ns/op BenchmarkFullRune/ASCII-4 3388495 35.29 ns/op BenchmarkFullRune/Incomplete-4 1504857 78.43 ns/op BenchmarkFullRune/Japanese-4 3482752 34.24 ns/op PASS ok unicode/utf8 3.749s goos: linux goarch: amd64 pkg: cmd/api cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAll-4 1 57876862929 ns/op PASS ok cmd/api 65.100s ##### 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: cmd/compile/internal/reflectdata cpu: AMD EPYC 7B12 BenchmarkEqArrayOfStrings5-4 1000000 102.8 ns/op BenchmarkEqArrayOfStrings64-4 140565 796.4 ns/op BenchmarkEqArrayOfStrings1024-4 8230 13457 ns/op BenchmarkEqArrayOfFloats5-4 1314408 90.77 ns/op BenchmarkEqArrayOfFloats64-4 142176 866.3 ns/op BenchmarkEqArrayOfFloats1024-4 8466 13207 ns/op BenchmarkEqStruct-4 18208191 6.233 ns/op PASS ok cmd/compile/internal/reflectdata 0.968s ##### 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: cmd/compile/internal/ssa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPhioptPass-4 10000 60818 ns/op BenchmarkCopyElim1-4 770 167917 ns/op BenchmarkCopyElim10-4 598 184633 ns/op BenchmarkCopyElim100-4 314 345046 ns/op BenchmarkCopyElim1000-4 54 2119298 ns/op BenchmarkCopyElim10000-4 3 43037139 ns/op BenchmarkCopyElim100000-4 1 717763805 ns/op BenchmarkDeadCode/1-4 628 195055 ns/op BenchmarkDeadCode/10-4 506 233961 ns/op BenchmarkDeadCode/100-4 236 479080 ns/op BenchmarkDeadCode/1000-4 46 2617793 ns/op BenchmarkDeadCode/10000-4 3 35196521 ns/op BenchmarkDeadCode/100000-4 1 448833036 ns/op BenchmarkDeadCode/200000-4 1 989219934 ns/op BenchmarkDominatorsLinear-4 13 8932396 ns/op 1.12 MB/s BenchmarkDominatorsFwdBack-4 9 13006701 ns/op 0.77 MB/s BenchmarkDominatorsManyPred-4 9 13372122 ns/op 0.75 MB/s BenchmarkDominatorsMaxPred-4 9 12830522 ns/op 0.78 MB/s BenchmarkDominatorsMaxPredVal-4 9 13434306 ns/op 0.74 MB/s BenchmarkFuse/1-4 601 208481 ns/op BenchmarkFuse/10-4 421 260594 ns/op BenchmarkFuse/100-4 144 853013 ns/op BenchmarkFuse/1000-4 19 5997640 ns/op BenchmarkFuse/10000-4 2 82778706 ns/op BenchmarkNilCheckDeep1-4 12931 9458 ns/op 0.11 MB/s 237 B/op 4 allocs/op BenchmarkNilCheckDeep10-4 5064 22524 ns/op 0.44 MB/s 234 B/op 4 allocs/op BenchmarkNilCheckDeep100-4 762 156953 ns/op 0.64 MB/s 735 B/op 4 allocs/op BenchmarkNilCheckDeep1000-4 72 1499281 ns/op 0.67 MB/s 4391 B/op 4 allocs/op BenchmarkNilCheckDeep10000-4 6 18180145 ns/op 0.55 MB/s 82265 B/op 6 allocs/op BenchmarkDSEPass-4 33 3592745 ns/op 51861 B/op 7 allocs/op BenchmarkDSEPassBlock-4 1 117882388 ns/op 4245376 B/op 108221 allocs/op BenchmarkCSEPass-4 7 14822762 ns/op 94075 B/op 9 allocs/op BenchmarkCSEPassBlock-4 1 149383457 ns/op 5688344 B/op 97634 allocs/op BenchmarkDeadcodePass-4 180 633631 ns/op 86926 B/op 3 allocs/op BenchmarkDeadcodePassBlock-4 1 125113070 ns/op 4031704 B/op 44841 allocs/op BenchmarkMultiPass-4 66 1701641 ns/op 234495 B/op 11 allocs/op BenchmarkMultiPassBlock-4 1 255726585 ns/op 11244104 B/op 150030 allocs/op BenchmarkCondRewrite/SoloJump-4 3104168 38.33 ns/op BenchmarkCondRewrite/CombJump-4 2928915 40.81 ns/op PASS ok cmd/compile/internal/ssa 14.575s goos: linux goarch: amd64 pkg: cmd/compile/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLoadAdd-4 9158 12299 ns/op BenchmarkExtShift-4 16274 7468 ns/op BenchmarkModify-4 9684 11692 ns/op BenchmarkMullImm-4 16783 7175 ns/op BenchmarkConstModify-4 9258 12314 ns/op BenchmarkBitSet-4 19407 6231 ns/op BenchmarkBitClear-4 20665 5466 ns/op BenchmarkBitToggle-4 20922 5508 ns/op BenchmarkBitSetConst-4 152583 754.7 ns/op BenchmarkBitClearConst-4 161865 700.1 ns/op BenchmarkBitToggleConst-4 156807 754.7 ns/op BenchmarkDivconstI64-4 8946490 13.49 ns/op BenchmarkModconstI64-4 8606323 13.98 ns/op BenchmarkDivisiblePow2constI64-4 8909076 13.41 ns/op BenchmarkDivisibleconstI64-4 8804578 13.49 ns/op BenchmarkDivisibleWDivconstI64-4 6748707 18.04 ns/op BenchmarkDivconstU64/3-4 8733355 13.67 ns/op BenchmarkDivconstU64/5-4 8069647 14.84 ns/op BenchmarkDivconstU64/37-4 8487496 13.89 ns/op BenchmarkDivconstU64/1234567-4 8985082 13.50 ns/op BenchmarkModconstU64-4 9296643 12.94 ns/op BenchmarkDivisibleconstU64-4 8730373 13.74 ns/op BenchmarkDivisibleWDivconstU64-4 6783447 17.67 ns/op BenchmarkDivconstI32-4 8881000 13.45 ns/op BenchmarkModconstI32-4 8486564 14.09 ns/op BenchmarkDivisiblePow2constI32-4 9021676 13.29 ns/op BenchmarkDivisibleconstI32-4 8403964 13.74 ns/op BenchmarkDivisibleWDivconstI32-4 6804674 17.54 ns/op BenchmarkDivconstU32-4 8672751 13.71 ns/op BenchmarkModconstU32-4 8281100 14.14 ns/op BenchmarkDivisibleconstU32-4 9260113 12.84 ns/op BenchmarkDivisibleWDivconstU32-4 6867618 17.31 ns/op BenchmarkDivconstI16-4 8280184 14.35 ns/op BenchmarkModconstI16-4 8713083 13.64 ns/op BenchmarkDivisiblePow2constI16-4 8987112 13.38 ns/op BenchmarkDivisibleconstI16-4 8994640 13.39 ns/op BenchmarkDivisibleWDivconstI16-4 6865377 17.33 ns/op BenchmarkDivconstU16-4 8851220 13.66 ns/op BenchmarkModconstU16-4 8892204 13.48 ns/op BenchmarkDivisibleconstU16-4 8752244 13.58 ns/op BenchmarkDivisibleWDivconstU16-4 6766227 17.55 ns/op BenchmarkDivconstI8-4 8777474 13.59 ns/op BenchmarkModconstI8-4 8693697 13.57 ns/op BenchmarkDivisiblePow2constI8-4 9014954 13.20 ns/op BenchmarkDivisibleconstI8-4 8890461 13.42 ns/op BenchmarkDivisibleWDivconstI8-4 7162246 16.72 ns/op BenchmarkDivconstU8-4 9100166 13.21 ns/op BenchmarkModconstU8-4 8605828 14.00 ns/op BenchmarkDivisibleconstU8-4 8796961 13.62 ns/op BenchmarkDivisibleWDivconstU8-4 6341745 18.25 ns/op BenchmarkMul2-4 164463 720.2 ns/op BenchmarkMulNeg2-4 163567 725.7 ns/op BenchmarkEfaceInteger-4 3691905 27.95 ns/op BenchmarkMulconstI32/3-4 15652477 7.728 ns/op BenchmarkMulconstI32/5-4 16662502 7.154 ns/op BenchmarkMulconstI32/12-4 16304896 7.343 ns/op BenchmarkMulconstI32/120-4 16596913 7.195 ns/op BenchmarkMulconstI32/-120-4 16665189 7.194 ns/op BenchmarkMulconstI32/65537-4 16294125 7.354 ns/op BenchmarkMulconstI32/65538-4 16325988 7.320 ns/op BenchmarkMulconstI64/3-4 16748216 7.162 ns/op BenchmarkMulconstI64/5-4 16237008 7.211 ns/op BenchmarkMulconstI64/12-4 16193127 7.371 ns/op BenchmarkMulconstI64/120-4 16729093 7.180 ns/op BenchmarkMulconstI64/-120-4 16661176 7.214 ns/op BenchmarkMulconstI64/65537-4 16216989 7.387 ns/op BenchmarkMulconstI64/65538-4 16229401 7.392 ns/op BenchmarkMulconstU32/3-4 16704945 7.156 ns/op BenchmarkMulconstU32/5-4 16620898 7.141 ns/op BenchmarkMulconstU32/12-4 16312660 7.334 ns/op BenchmarkMulconstU32/120-4 16766140 7.211 ns/op BenchmarkMulconstU32/65537-4 16315641 7.386 ns/op BenchmarkMulconstU32/65538-4 16339198 7.386 ns/op BenchmarkMulconstU64/3-4 16685854 7.160 ns/op BenchmarkMulconstU64/5-4 16497824 7.170 ns/op BenchmarkMulconstU64/12-4 16183845 7.375 ns/op BenchmarkMulconstU64/120-4 15876801 7.465 ns/op BenchmarkMulconstU64/65537-4 16238301 7.342 ns/op BenchmarkMulconstU64/65538-4 16265976 7.372 ns/op BenchmarkShiftArithmeticRight-4 19659146 5.856 ns/op BenchmarkSwitch8Predictable-4 13155997 8.078 ns/op BenchmarkSwitch8Unpredictable-4 5715086 17.70 ns/op BenchmarkSwitch32Predictable-4 8305639 12.25 ns/op BenchmarkSwitch32Unpredictable-4 5750918 17.62 ns/op BenchmarkSwitchStringPredictable-4 6639339 16.09 ns/op BenchmarkSwitchStringUnpredictable-4 4282719 24.58 ns/op PASS ok cmd/compile/internal/test 12.006s goos: linux goarch: amd64 pkg: cmd/compile/internal/types2 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLookupFieldOrMethod-4 140 860462 ns/op BenchmarkNamed/Underlying/nongeneric-4 821283 140.5 ns/op BenchmarkNamed/Underlying/generic-4 855744 135.6 ns/op BenchmarkNamed/Underlying/src_instance-4 836546 136.4 ns/op BenchmarkNamed/Underlying/user_instance-4 832621 138.5 ns/op BenchmarkCheck/http/funcbodies/info-4 1 544977695 ns/op 56085 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 351283972 ns/op 86999 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 162225889 ns/op 188360 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 138953427 ns/op 219849 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 394837863 ns/op 12992 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 2 85677434 ns/op 59852 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 3 35128869 ns/op 145991 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 4 32985991 ns/op 155443 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 131406301 ns/op 16508 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 3 39155305 ns/op 55389 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 5 20952876 ns/op 103533 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 6 19797276 ns/op 109526 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1100160032 ns/op 57846 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 574689891 ns/op 110727 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 157982484 ns/op 402643 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 116045595 ns/op 547998 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 448369555 ns/op 4456 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 63293502 ns/op 31549 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 3 38783529 ns/op 51484 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 3 37917974 ns/op 52660 lines/s PASS ok cmd/compile/internal/types2 15.584s goos: linux goarch: amd64 pkg: cmd/go cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExecGoEnv-4 121 1031981 ns/op 2310298 sys-ns/op 1569901 user-ns/op PASS ok cmd/go 0.238s ##### 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: cmd/internal/notsha256 cpu: AMD EPYC 7B12 BenchmarkHash8Bytes/New-4 74487 1571 ns/op 5.09 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 88734 1348 ns/op 5.93 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 19749 6064 ns/op 168.88 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 20355 5852 ns/op 174.99 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 2947 38144 ns/op 214.77 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 3276 37695 ns/op 217.33 MB/s 0 B/op 0 allocs/op PASS ok cmd/internal/notsha256 0.906s All tests passed.