linux-amd64-race at 0ed364a46379f9561b72a29e7fdad15a1e191325 :: 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-rndcbf207" "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-rndcbf207" "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: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Testing packages. ok archive/tar 1.143s ok archive/zip 2.272s ok bufio 0.302s ok bytes 3.179s ok compress/bzip2 0.465s ok compress/flate 5.594s ok compress/gzip 11.973s ok compress/lzw 0.576s ok compress/zlib 4.707s ok container/heap 0.041s ok container/list 0.029s ok container/ring 0.030s ok context 0.044s ok crypto 0.029s ok crypto/aes 0.071s ok crypto/cipher 0.059s ok crypto/des 0.059s ok crypto/dsa 0.028s ok crypto/ecdh 0.221s ok crypto/ecdsa 0.141s ok crypto/ed25519 0.384s ok crypto/elliptic 0.050s ok crypto/hmac 0.039s ok crypto/internal/alias 0.030s ok crypto/internal/bigmod 2.249s ok crypto/internal/boring 0.029s ok crypto/internal/boring/bcache 0.347s ok crypto/internal/edwards25519 34.601s ok crypto/internal/edwards25519/field 12.566s ok crypto/internal/nistec 0.788s ok crypto/internal/nistec/fiat 0.029s [no tests to run] ok crypto/md5 0.042s ok crypto/rand 0.316s ok crypto/rc4 0.454s ok crypto/rsa 1.416s ok crypto/sha1 0.051s ok crypto/sha256 0.040s ok crypto/sha512 0.039s ok crypto/subtle 0.438s ok crypto/tls 1.562s ok crypto/x509 1.153s ok database/sql 0.351s ok database/sql/driver 0.029s ok debug/buildinfo 0.049s ok debug/dwarf 0.090s ok debug/elf 1.265s ok debug/gosym 0.334s ok debug/macho 0.039s ok debug/pe 0.060s ok debug/plan9obj 0.029s ok embed 0.029s [no tests to run] ok embed/internal/embedtest 0.028s ok encoding/ascii85 0.039s ok encoding/asn1 0.038s ok encoding/base32 0.082s ok encoding/base64 0.040s ok encoding/binary 0.038s ok encoding/csv 0.074s ok encoding/gob 18.524s ok encoding/hex 0.039s ok encoding/json 1.176s ok encoding/pem 2.391s ok encoding/xml 0.237s ok errors 0.040s ok expvar 0.029s ok flag 0.136s ok fmt 0.589s ok go/ast 0.040s ok go/build 4.256s ok go/build/constraint 0.038s ok go/constant 0.039s ok go/doc 0.253s ok go/doc/comment 2.030s ok go/format 0.061s ok go/importer 0.194s ok go/internal/gccgoimporter 0.060s ok go/internal/gcimporter 1.187s ok go/internal/srcimporter 13.125s ok go/parser 0.870s ok go/printer 1.275s ok go/scanner 0.039s ok go/token 0.122s ok go/types 32.329s ok hash 0.039s ok hash/adler32 0.049s ok hash/crc32 0.070s ok hash/crc64 0.039s ok hash/fnv 0.029s ok hash/maphash 0.029s ok html 0.029s ok html/template 0.233s ok image 0.413s ok image/color 0.051s ok image/draw 0.577s ok image/gif 0.893s ok image/jpeg 1.296s ok image/png 3.115s ok index/suffixarray 0.988s ok internal/abi 0.054s ok internal/buildcfg 0.029s ok internal/coverage/cformat 0.029s ok internal/coverage/cmerge 0.029s ok internal/coverage/pods 0.030s ok internal/coverage/slicereader 0.028s ok internal/coverage/slicewriter 0.028s ok internal/coverage/test 0.059s ok internal/cpu 0.085s ok internal/dag 0.028s ok internal/diff 0.028s ok internal/fmtsort 0.029s ok internal/fuzz 0.049s ok internal/godebug 0.029s ok internal/intern 0.207s ok internal/itoa 0.029s ok internal/poll 0.536s ok internal/profile 0.028s ok internal/reflectlite 0.264s ok internal/safefilepath 0.026s ok internal/saferio 0.274s ok internal/singleflight 0.103s ok internal/testenv 0.029s ok internal/trace 0.179s ok internal/types/errors 0.366s ok internal/unsafeheader 0.029s ok internal/xcoff 0.049s ok io 0.065s ok io/fs 0.262s ok io/ioutil 0.039s ok log 0.039s ok log/slog 0.053s ok log/slog/internal/buffer 0.029s ok log/syslog 1.259s ok maps 0.029s ok math 0.049s ok math/big 2.991s ok math/bits 0.040s ok math/cmplx 0.030s ok math/rand 2.026s ok mime 0.055s ok mime/multipart 6.636s ok mime/quotedprintable 0.070s ok net 17.646s ok net/http 6.209s ok net/http/cgi 0.546s ok net/http/cookiejar 0.041s ok net/http/fcgi 0.153s ok net/http/httptest 0.181s ok net/http/httptrace 0.030s ok net/http/httputil 0.682s ok net/http/internal 0.040s ok net/http/internal/ascii 0.029s ok net/http/pprof 5.199s ok net/internal/socktest 0.029s ok net/mail 0.039s ok net/netip 0.365s ok net/rpc 0.074s ok net/rpc/jsonrpc 0.040s ok net/smtp 0.070s ok net/textproto 0.040s ok net/url 0.050s ok os 0.637s ok os/exec 0.233s ok os/exec/internal/fdtest 0.029s ok os/signal 2.297s ok os/user 0.028s ok path 0.029s ok path/filepath 0.079s ok plugin 0.029s ok reflect 0.594s ok regexp 3.113s ok regexp/syntax 4.374s ok runtime 33.479s ok runtime/cgo 0.027s ok runtime/coverage 0.029s ok runtime/debug 0.120s ok runtime/internal/atomic 0.086s ok runtime/internal/math 0.031s ok runtime/internal/sys 0.028s ok runtime/internal/syscall 0.028s ok runtime/metrics 0.039s ok runtime/pprof 7.468s ok runtime/race 9.706s ok runtime/trace 3.397s ok slices 0.032s ok sort 0.404s ok strconv 2.297s ok strings 1.558s ok sync 0.482s ok sync/atomic 1.762s ok syscall 3.148s ok testing 1.114s ok testing/fstest 0.029s ok testing/iotest 0.030s ok testing/quick 0.173s ok text/scanner 0.049s ok text/tabwriter 0.039s ok text/template 0.101s ok text/template/parse 0.050s ok time 2.328s ok unicode 0.040s ok unicode/utf16 0.032s ok unicode/utf8 0.051s ok cmd/addr2line 1.343s ok cmd/api 7.460s ok cmd/asm/internal/asm 3.223s ok cmd/asm/internal/lex 0.029s ok cmd/compile/internal/abt 0.060s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/amd64 51.074s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/base 0.029s ok cmd/compile/internal/compare 0.029s ok cmd/compile/internal/dwarfgen 0.443s ok cmd/compile/internal/importer 0.866s ok cmd/compile/internal/ir 0.030s ok cmd/compile/internal/logopt 0.213s ok cmd/compile/internal/loopvar 18.516s ok cmd/compile/internal/noder 0.040s ok cmd/compile/internal/reflectdata 0.029s [no tests to run] ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/ssa 18.260s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Testing packages. ok cmd/compile/internal/syntax 0.134s ok cmd/compile/internal/test 12.241s ok cmd/compile/internal/typecheck 0.262s ok cmd/compile/internal/types 0.029s ok cmd/compile/internal/types2 7.980s ok cmd/covdata 0.028s ok cmd/cover 1.518s ok cmd/dist 0.032s ok cmd/doc 0.783s ok cmd/fix 0.831s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Testing packages. ok cmd/go 32.765s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Testing packages. ok cmd/go/internal/auth 0.029s ok cmd/go/internal/cache 0.136s ok cmd/go/internal/fsys 0.059s ok cmd/go/internal/generate 0.039s ok cmd/go/internal/get 0.039s ok cmd/go/internal/imports 0.039s ok cmd/go/internal/load 0.039s ok cmd/go/internal/lockedfile 0.177s ok cmd/go/internal/lockedfile/internal/filelock 0.079s ok cmd/go/internal/modconv 0.039s ok cmd/go/internal/modfetch 0.040s ok cmd/go/internal/modfetch/codehost 0.039s ok cmd/go/internal/modfetch/zip_sum_test 0.040s ok cmd/go/internal/modindex 0.576s ok cmd/go/internal/modload 0.039s ok cmd/go/internal/mvs 0.049s ok cmd/go/internal/par 0.121s ok cmd/go/internal/str 0.030s ok cmd/go/internal/test 0.050s ok cmd/go/internal/vcs 0.039s ok cmd/go/internal/vcweb 0.040s ok cmd/go/internal/vcweb/vcstest 3.922s ok cmd/go/internal/web 0.029s ok cmd/go/internal/work 0.140s ok cmd/gofmt 0.225s ok cmd/internal/archive 0.423s ok cmd/internal/buildid 0.565s ok cmd/internal/cov 0.290s ok cmd/internal/dwarf 0.028s ok cmd/internal/edit 0.031s ok cmd/internal/goobj 0.032s ok cmd/internal/moddeps 1.049s ok cmd/internal/notsha256 0.035s ok cmd/internal/obj 0.497s ok cmd/internal/obj/ppc64 0.100s ok cmd/internal/obj/riscv 0.044s ok cmd/internal/obj/s390x 0.032s ok cmd/internal/obj/x86 0.175s ok cmd/internal/objabi 0.026s ok cmd/internal/pkgpath 0.151s ok cmd/internal/pkgpattern 0.039s ok cmd/internal/quoted 0.029s ok cmd/internal/src 0.028s ok cmd/internal/test2json 0.700s ok cmd/link 3.200s ok cmd/link/internal/benchmark 0.032s ok cmd/link/internal/ld 2.676s ok cmd/link/internal/loader 0.057s ok cmd/nm 0.858s ok cmd/objdump 1.292s ok cmd/pack 0.536s ok cmd/pprof 1.489s ok cmd/trace 0.293s ok cmd/vet 10.334s ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: archive/tar cpu: Intel(R) Xeon(R) CPU @ 2.20GHz Benchmark/Writer/USTAR-4 2756 38296 ns/op 1368 B/op 25 allocs/op Benchmark/Writer/GNU-4 2046 49547 ns/op 1850 B/op 36 allocs/op Benchmark/Writer/PAX-4 1596 74159 ns/op 2560 B/op 59 allocs/op Benchmark/Reader/USTAR-4 3684 28034 ns/op 5262 B/op 16 allocs/op Benchmark/Reader/GNU-4 6151 18931 ns/op 5117 B/op 14 allocs/op Benchmark/Reader/PAX-4 2032 56238 ns/op 8702 B/op 33 allocs/op PASS ok archive/tar 0.836s goos: linux goarch: amd64 pkg: archive/zip cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCompressedZipGarbage-4 1 339498027 ns/op 829096 B/op 84 allocs/op BenchmarkZip64Test-4 1 159991398 ns/op BenchmarkZip64TestSizes/4096-4 1450 88326 ns/op BenchmarkZip64TestSizes/1048576-4 154 766782 ns/op BenchmarkZip64TestSizes/67108864-4 1 133761927 ns/op PASS ok archive/zip 1.324s goos: linux goarch: amd64 pkg: bufio cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReaderCopyOptimal-4 222940 489.2 ns/op BenchmarkReaderCopyUnoptimal-4 138372 803.8 ns/op BenchmarkReaderCopyNoWriteTo-4 9234 14932 ns/op BenchmarkReaderWriteToOptimal-4 7281 15172 ns/op BenchmarkReaderReadString-4 129361 852.6 ns/op 144 B/op 1 allocs/op BenchmarkWriterCopyOptimal-4 218914 541.3 ns/op BenchmarkWriterCopyUnoptimal-4 213111 551.1 ns/op BenchmarkWriterCopyNoReadFrom-4 7782 13367 ns/op BenchmarkReaderEmpty-4 49767 2557 ns/op 4224 B/op 3 allocs/op BenchmarkWriterEmpty-4 32896 3481 ns/op 4096 B/op 1 allocs/op BenchmarkWriterFlush-4 543234 190.1 ns/op 0 B/op 0 allocs/op PASS ok bufio 1.746s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: bytes cpu: AMD EPYC 7B12 BenchmarkReadString-4 6657 17917 ns/op 1828.89 MB/s BenchmarkWriteByte-4 483 245957 ns/op 16.65 MB/s BenchmarkWriteRune-4 260 461708 ns/op 26.61 MB/s BenchmarkBufferNotEmptyWriteRead-4 32 3594680 ns/op BenchmarkBufferFullSmallReads-4 99 1165635 ns/op BenchmarkBufferWriteBlock/N4096-4 9542 12880 ns/op 14336 B/op 6 allocs/op BenchmarkBufferWriteBlock/N65536-4 552 206642 ns/op 260097 B/op 14 allocs/op BenchmarkBufferWriteBlock/N1048576-4 10 11833725 ns/op 4192256 B/op 22 allocs/op BenchmarkBufferAppendNoCopy-4 9 11521638 ns/op 1456.15 MB/s 3728270 B/op 0 allocs/op BenchmarkIndexByte/10-4 5072454 25.90 ns/op 386.06 MB/s BenchmarkIndexByte/32-4 4378375 26.95 ns/op 1187.39 MB/s BenchmarkIndexByte/4K-4 1000000 118.8 ns/op 34478.10 MB/s BenchmarkIndexBytePortable/10-4 975736 120.9 ns/op 82.74 MB/s BenchmarkIndexBytePortable/32-4 357897 321.5 ns/op 99.53 MB/s BenchmarkIndexBytePortable/4K-4 3051 40626 ns/op 100.82 MB/s BenchmarkIndexRune/10-4 1000000 110.0 ns/op 90.87 MB/s BenchmarkIndexRune/32-4 1000000 116.7 ns/op 274.20 MB/s BenchmarkIndexRune/4K-4 409932 289.7 ns/op 14137.45 MB/s BenchmarkIndexRuneASCII/10-4 4756124 26.22 ns/op 381.42 MB/s BenchmarkIndexRuneASCII/32-4 4413871 25.21 ns/op 1269.43 MB/s BenchmarkIndexRuneASCII/4K-4 977875 121.1 ns/op 33813.39 MB/s BenchmarkEqual/0-4 9862153 11.83 ns/op BenchmarkEqual/1-4 1473270 80.08 ns/op 12.49 MB/s BenchmarkEqual/6-4 1479723 80.51 ns/op 74.53 MB/s BenchmarkEqual/9-4 1515954 84.16 ns/op 106.94 MB/s BenchmarkEqual/15-4 1446316 80.67 ns/op 185.95 MB/s BenchmarkEqual/16-4 1566115 76.70 ns/op 208.60 MB/s BenchmarkEqual/20-4 1370430 83.29 ns/op 240.13 MB/s BenchmarkEqual/32-4 1413368 85.14 ns/op 375.84 MB/s BenchmarkEqual/4K-4 130735 904.3 ns/op 4529.36 MB/s BenchmarkIndex/10-4 3373899 37.53 ns/op 266.44 MB/s BenchmarkIndex/32-4 3553910 33.13 ns/op 965.81 MB/s BenchmarkIndex/4K-4 27290 4403 ns/op 930.35 MB/s BenchmarkIndexEasy/10-4 3412633 36.62 ns/op 273.07 MB/s BenchmarkIndexEasy/32-4 3593558 32.50 ns/op 984.59 MB/s BenchmarkIndexEasy/4K-4 552195 215.7 ns/op 18992.51 MB/s BenchmarkCount/10-4 1416693 79.57 ns/op 125.68 MB/s BenchmarkCount/32-4 1566244 77.38 ns/op 413.52 MB/s BenchmarkCount/4K-4 27070 4444 ns/op 921.67 MB/s BenchmarkCountEasy/10-4 1426184 82.31 ns/op 121.50 MB/s BenchmarkCountEasy/32-4 1542685 78.18 ns/op 409.33 MB/s BenchmarkCountEasy/4K-4 460938 252.8 ns/op 16200.34 MB/s BenchmarkCountSingle/10-4 3424020 33.99 ns/op 294.23 MB/s BenchmarkCountSingle/32-4 3291244 35.53 ns/op 900.55 MB/s BenchmarkCountSingle/4K-4 800293 143.0 ns/op 28636.52 MB/s BenchmarkToUpper/#00-4 2594485 46.62 ns/op BenchmarkToUpper/ONLYUPPER-4 329607 363.9 ns/op BenchmarkToUpper/abc-4 459837 237.0 ns/op BenchmarkToUpper/AbC123-4 289560 379.7 ns/op BenchmarkToUpper/azAZ09_-4 292530 409.1 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 97674 1218 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 42494 2829 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 63376 1907 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 133214 894.8 ns/op BenchmarkToLower/#00-4 2635314 45.11 ns/op BenchmarkToLower/abc-4 436190 271.5 ns/op BenchmarkToLower/AbC123-4 285625 385.2 ns/op BenchmarkToLower/azAZ09_-4 299787 426.8 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 97737 1244 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 43179 2728 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 75166 1593 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 137199 888.5 ns/op BenchmarkFields/ASCII/16-4 156007 764.8 ns/op 20.92 MB/s 80 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 12470 9961 ns/op 25.70 MB/s 704 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 770 162201 ns/op 25.25 MB/s 9472 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 44 2568037 ns/op 25.52 MB/s 147456 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 3 42269389 ns/op 24.81 MB/s 2269184 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 83725 1420 ns/op 11.27 MB/s 80 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 6302 18795 ns/op 13.62 MB/s 640 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 398 286457 ns/op 14.30 MB/s 24832 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 24 5012854 ns/op 13.07 MB/s 512260 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 2 85738656 ns/op 12.23 MB/s 11211008 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 156588 766.9 ns/op 20.86 MB/s 80 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 13143 9256 ns/op 27.66 MB/s 704 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 720 154368 ns/op 26.53 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 44 2924564 ns/op 22.41 MB/s 512256 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 53162516 ns/op 19.72 MB/s 11211008 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 112071 1128 ns/op 14.18 MB/s 80 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 8810 13415 ns/op 19.08 MB/s 640 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 525 216262 ns/op 18.94 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 33 3679325 ns/op 17.81 MB/s 512264 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 2 69997848 ns/op 14.98 MB/s 11211008 B/op 24 allocs/op BenchmarkTrimSpace/NoTrim-4 1955275 60.23 ns/op BenchmarkTrimSpace/ASCII-4 1000000 105.2 ns/op BenchmarkTrimSpace/SomeNonASCII-4 102979 1033 ns/op BenchmarkTrimSpace/JustNonASCII-4 51969 2278 ns/op BenchmarkToValidUTF8/Valid-4 524566 223.0 ns/op BenchmarkToValidUTF8/InvalidASCII-4 346047 349.4 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 100863 1211 ns/op BenchmarkIndexHard1-4 1168 101378 ns/op BenchmarkIndexHard2-4 837 139488 ns/op BenchmarkIndexHard3-4 211 572614 ns/op BenchmarkIndexHard4-4 207 569958 ns/op BenchmarkLastIndexHard1-4 6 17355134 ns/op BenchmarkLastIndexHard2-4 5 21117516 ns/op BenchmarkLastIndexHard3-4 5 22412739 ns/op BenchmarkCountHard1-4 1201 99630 ns/op BenchmarkCountHard2-4 855 139091 ns/op BenchmarkCountHard3-4 208 562472 ns/op BenchmarkSplitEmptySeparator-4 1 105550623 ns/op BenchmarkSplitSingleByteSeparator-4 19 6044756 ns/op BenchmarkSplitMultiByteSeparator-4 14 7936572 ns/op BenchmarkSplitNSingleByteSeparator-4 198799 536.3 ns/op BenchmarkSplitNMultiByteSeparator-4 77283 1527 ns/op BenchmarkRepeat-4 188138 571.2 ns/op BenchmarkRepeatLarge/256/1-4 164391 702.4 ns/op 364.47 MB/s BenchmarkRepeatLarge/256/16-4 245571 448.8 ns/op 570.39 MB/s BenchmarkRepeatLarge/512/1-4 119827 919.0 ns/op 557.12 MB/s BenchmarkRepeatLarge/512/16-4 161314 639.4 ns/op 800.75 MB/s BenchmarkRepeatLarge/1024/1-4 88816 1297 ns/op 789.27 MB/s BenchmarkRepeatLarge/1024/16-4 106827 1028 ns/op 996.36 MB/s BenchmarkRepeatLarge/2048/1-4 55915 2145 ns/op 954.57 MB/s BenchmarkRepeatLarge/2048/16-4 63903 1905 ns/op 1075.25 MB/s BenchmarkRepeatLarge/4096/1-4 30406 3698 ns/op 1107.59 MB/s BenchmarkRepeatLarge/4096/16-4 35308 3462 ns/op 1183.18 MB/s BenchmarkRepeatLarge/8192/1-4 18258 6939 ns/op 1180.53 MB/s BenchmarkRepeatLarge/8192/16-4 18130 6756 ns/op 1212.63 MB/s BenchmarkRepeatLarge/8192/4097-4 30979 3580 ns/op 1144.40 MB/s BenchmarkRepeatLarge/16384/1-4 10000 12568 ns/op 1303.58 MB/s BenchmarkRepeatLarge/16384/16-4 10000 12355 ns/op 1326.12 MB/s BenchmarkRepeatLarge/16384/4097-4 12392 9529 ns/op 1289.85 MB/s BenchmarkRepeatLarge/32768/1-4 4482 22769 ns/op 1439.18 MB/s BenchmarkRepeatLarge/32768/16-4 5282 22717 ns/op 1442.45 MB/s BenchmarkRepeatLarge/32768/4097-4 4414 22717 ns/op 1262.44 MB/s BenchmarkRepeatLarge/65536/1-4 2418 47003 ns/op 1394.28 MB/s BenchmarkRepeatLarge/65536/16-4 2376 44173 ns/op 1483.62 MB/s BenchmarkRepeatLarge/65536/4097-4 2721 43266 ns/op 1420.39 MB/s BenchmarkRepeatLarge/131072/1-4 514 225204 ns/op 582.01 MB/s BenchmarkRepeatLarge/131072/16-4 544 220546 ns/op 594.31 MB/s BenchmarkRepeatLarge/131072/4097-4 532 219403 ns/op 578.88 MB/s BenchmarkRepeatLarge/262144/1-4 266 456476 ns/op 574.28 MB/s BenchmarkRepeatLarge/262144/16-4 256 450633 ns/op 581.72 MB/s BenchmarkRepeatLarge/262144/4097-4 264 445259 ns/op 579.69 MB/s BenchmarkRepeatLarge/524288/1-4 134 946294 ns/op 554.04 MB/s BenchmarkRepeatLarge/524288/16-4 132 842914 ns/op 621.99 MB/s BenchmarkRepeatLarge/524288/4097-4 127 889551 ns/op 584.92 MB/s BenchmarkRepeatLarge/1048576/1-4 76 1769994 ns/op 592.42 MB/s BenchmarkRepeatLarge/1048576/16-4 86 1740382 ns/op 602.50 MB/s BenchmarkRepeatLarge/1048576/4097-4 70 1738618 ns/op 600.90 MB/s BenchmarkRepeatLarge/2097152/1-4 38 3269244 ns/op 641.48 MB/s BenchmarkRepeatLarge/2097152/16-4 43 3175114 ns/op 660.50 MB/s BenchmarkRepeatLarge/2097152/4097-4 39 3235988 ns/op 646.96 MB/s BenchmarkRepeatLarge/4194304/1-4 18 6322527 ns/op 663.39 MB/s BenchmarkRepeatLarge/4194304/16-4 18 6271848 ns/op 668.75 MB/s BenchmarkRepeatLarge/4194304/4097-4 18 6481422 ns/op 646.65 MB/s BenchmarkRepeatLarge/8388608/1-4 8 12707184 ns/op 660.15 MB/s BenchmarkRepeatLarge/8388608/16-4 9 12693800 ns/op 660.84 MB/s BenchmarkRepeatLarge/8388608/4097-4 8 13285167 ns/op 631.27 MB/s BenchmarkRepeatLarge/16777216/1-4 5 24578509 ns/op 682.60 MB/s BenchmarkRepeatLarge/16777216/16-4 5 25266891 ns/op 664.00 MB/s BenchmarkRepeatLarge/16777216/4097-4 5 24434171 ns/op 686.63 MB/s BenchmarkRepeatLarge/33554432/1-4 3 44381265 ns/op 756.05 MB/s BenchmarkRepeatLarge/33554432/16-4 3 48616609 ns/op 690.18 MB/s BenchmarkRepeatLarge/33554432/4097-4 3 47493392 ns/op 706.51 MB/s BenchmarkRepeatLarge/67108864/1-4 2 84902900 ns/op 790.42 MB/s BenchmarkRepeatLarge/67108864/16-4 2 86952371 ns/op 771.79 MB/s BenchmarkRepeatLarge/67108864/4097-4 2 87624336 ns/op 765.87 MB/s BenchmarkRepeatLarge/134217728/1-4 1 164954341 ns/op 813.67 MB/s BenchmarkRepeatLarge/134217728/16-4 1 167100900 ns/op 803.21 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 169167161 ns/op 793.40 MB/s BenchmarkRepeatLarge/268435456/1-4 1 329490671 ns/op 814.70 MB/s BenchmarkRepeatLarge/268435456/16-4 1 327292901 ns/op 820.17 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 330909830 ns/op 811.20 MB/s BenchmarkRepeatLarge/536870912/1-4 1 630942429 ns/op 850.90 MB/s BenchmarkRepeatLarge/536870912/16-4 1 659072442 ns/op 814.59 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 662318722 ns/op 810.59 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 1314852544 ns/op 816.63 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 1299699982 ns/op 826.15 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 1273755008 ns/op 842.97 MB/s BenchmarkBytesCompare/1-4 12583270 8.864 ns/op BenchmarkBytesCompare/2-4 12129921 9.220 ns/op BenchmarkBytesCompare/4-4 11775486 9.842 ns/op BenchmarkBytesCompare/8-4 13056462 9.164 ns/op BenchmarkBytesCompare/16-4 13072947 9.165 ns/op BenchmarkBytesCompare/32-4 12145438 9.899 ns/op BenchmarkBytesCompare/64-4 11770473 10.17 ns/op BenchmarkBytesCompare/128-4 11440609 10.50 ns/op BenchmarkBytesCompare/256-4 8682111 12.73 ns/op BenchmarkBytesCompare/512-4 6509766 18.22 ns/op BenchmarkBytesCompare/1024-4 4338157 27.48 ns/op BenchmarkBytesCompare/2048-4 2611039 46.10 ns/op BenchmarkIndexAnyASCII/1:1-4 2407155 47.20 ns/op BenchmarkIndexAnyASCII/1:2-4 2539434 47.95 ns/op BenchmarkIndexAnyASCII/1:4-4 2521934 48.22 ns/op BenchmarkIndexAnyASCII/1:8-4 2500993 48.09 ns/op BenchmarkIndexAnyASCII/1:16-4 2530420 47.42 ns/op BenchmarkIndexAnyASCII/1:32-4 2467467 49.21 ns/op BenchmarkIndexAnyASCII/1:64-4 2467053 45.95 ns/op BenchmarkIndexAnyASCII/16:1-4 2244290 51.77 ns/op BenchmarkIndexAnyASCII/16:2-4 586117 204.0 ns/op BenchmarkIndexAnyASCII/16:4-4 566900 207.2 ns/op BenchmarkIndexAnyASCII/16:8-4 516334 217.9 ns/op BenchmarkIndexAnyASCII/16:16-4 508784 228.6 ns/op BenchmarkIndexAnyASCII/16:32-4 438294 267.8 ns/op BenchmarkIndexAnyASCII/16:64-4 356992 335.1 ns/op BenchmarkIndexAnyASCII/256:1-4 2062488 57.17 ns/op BenchmarkIndexAnyASCII/256:2-4 42212 2517 ns/op BenchmarkIndexAnyASCII/256:4-4 44803 2519 ns/op BenchmarkIndexAnyASCII/256:8-4 47200 2525 ns/op BenchmarkIndexAnyASCII/256:16-4 44211 2537 ns/op BenchmarkIndexAnyASCII/256:32-4 43604 2593 ns/op BenchmarkIndexAnyASCII/256:64-4 42690 2660 ns/op BenchmarkIndexAnyUTF8/1:1-4 2356016 50.07 ns/op BenchmarkIndexAnyUTF8/1:2-4 2452906 47.31 ns/op BenchmarkIndexAnyUTF8/1:4-4 2479394 47.10 ns/op BenchmarkIndexAnyUTF8/1:8-4 2394499 47.66 ns/op BenchmarkIndexAnyUTF8/1:16-4 2218240 47.37 ns/op BenchmarkIndexAnyUTF8/1:32-4 2422222 48.77 ns/op BenchmarkIndexAnyUTF8/1:64-4 2461884 45.99 ns/op BenchmarkIndexAnyUTF8/16:1-4 162988 755.8 ns/op BenchmarkIndexAnyUTF8/16:2-4 324910 362.6 ns/op BenchmarkIndexAnyUTF8/16:4-4 329983 359.6 ns/op BenchmarkIndexAnyUTF8/16:8-4 296464 370.2 ns/op BenchmarkIndexAnyUTF8/16:16-4 324687 357.4 ns/op BenchmarkIndexAnyUTF8/16:32-4 320714 368.7 ns/op BenchmarkIndexAnyUTF8/16:64-4 331390 356.1 ns/op BenchmarkIndexAnyUTF8/256:1-4 10000 10448 ns/op BenchmarkIndexAnyUTF8/256:2-4 23319 4955 ns/op BenchmarkIndexAnyUTF8/256:4-4 23552 4964 ns/op BenchmarkIndexAnyUTF8/256:8-4 23882 4937 ns/op BenchmarkIndexAnyUTF8/256:16-4 23797 4896 ns/op BenchmarkIndexAnyUTF8/256:32-4 22929 5098 ns/op BenchmarkIndexAnyUTF8/256:64-4 23678 4873 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2313873 52.92 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2296069 50.76 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2253508 52.47 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2299074 51.93 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2270305 51.60 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2236750 50.51 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2281977 51.47 ns/op BenchmarkLastIndexAnyASCII/16:1-4 435117 268.1 ns/op BenchmarkLastIndexAnyASCII/16:2-4 437391 272.3 ns/op BenchmarkLastIndexAnyASCII/16:4-4 435717 273.3 ns/op BenchmarkLastIndexAnyASCII/16:8-4 421929 289.5 ns/op BenchmarkLastIndexAnyASCII/16:16-4 402730 291.9 ns/op BenchmarkLastIndexAnyASCII/16:32-4 349444 337.3 ns/op BenchmarkLastIndexAnyASCII/16:64-4 279840 399.8 ns/op BenchmarkLastIndexAnyASCII/256:1-4 29084 3626 ns/op BenchmarkLastIndexAnyASCII/256:2-4 32374 3506 ns/op BenchmarkLastIndexAnyASCII/256:4-4 31870 3610 ns/op BenchmarkLastIndexAnyASCII/256:8-4 31444 3625 ns/op BenchmarkLastIndexAnyASCII/256:16-4 31402 3477 ns/op BenchmarkLastIndexAnyASCII/256:32-4 31303 3667 ns/op BenchmarkLastIndexAnyASCII/256:64-4 30654 3569 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2402763 48.78 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2475314 46.04 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2468049 47.64 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2497953 47.76 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2502062 46.21 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2398627 48.15 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2492082 47.61 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 270868 441.9 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 341172 344.7 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 335868 347.3 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 337328 348.8 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 323714 345.4 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 321237 375.8 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 318412 384.5 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 19551 6334 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 25003 4771 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 24248 4765 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 23913 4921 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 24753 4779 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 23030 5137 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 24580 4567 ns/op BenchmarkTrimASCII/1:1-4 2777842 42.70 ns/op BenchmarkTrimASCII/1:2-4 2338429 48.89 ns/op BenchmarkTrimASCII/1:4-4 2306985 54.15 ns/op BenchmarkTrimASCII/1:8-4 2097043 57.20 ns/op BenchmarkTrimASCII/1:16-4 1801004 66.45 ns/op BenchmarkTrimASCII/16:1-4 553998 207.1 ns/op BenchmarkTrimASCII/16:2-4 416323 278.9 ns/op BenchmarkTrimASCII/16:4-4 421083 284.2 ns/op BenchmarkTrimASCII/16:8-4 406196 293.4 ns/op BenchmarkTrimASCII/16:16-4 367784 325.4 ns/op BenchmarkTrimASCII/256:1-4 47584 2511 ns/op BenchmarkTrimASCII/256:2-4 32260 3716 ns/op BenchmarkTrimASCII/256:4-4 32377 3729 ns/op BenchmarkTrimASCII/256:8-4 32870 3696 ns/op BenchmarkTrimASCII/256:16-4 28368 4220 ns/op BenchmarkTrimASCII/4096:1-4 2886 39537 ns/op BenchmarkTrimASCII/4096:2-4 1872 58790 ns/op BenchmarkTrimASCII/4096:4-4 2053 58226 ns/op BenchmarkTrimASCII/4096:8-4 2025 56553 ns/op BenchmarkTrimASCII/4096:16-4 1980 59000 ns/op BenchmarkTrimByte-4 1614846 73.50 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 19014 6278 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 18962 6309 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 763 152981 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 1528 76638 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 3013 38375 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 5826 19462 ns/op BenchmarkCompareBytesEqual-4 13509249 8.598 ns/op BenchmarkCompareBytesToNil-4 14068850 7.549 ns/op BenchmarkCompareBytesEmpty-4 15735349 7.209 ns/op BenchmarkCompareBytesIdentical-4 15871105 7.222 ns/op BenchmarkCompareBytesSameLength-4 12591787 8.849 ns/op BenchmarkCompareBytesDifferentLength-4 12642382 8.902 ns/op BenchmarkCompareBytesBigUnaligned/offset=1-4 3392 30590 ns/op 34278.93 MB/s BenchmarkCompareBytesBigUnaligned/offset=2-4 4137 29905 ns/op 35063.57 MB/s BenchmarkCompareBytesBigUnaligned/offset=3-4 3374 30113 ns/op 34821.80 MB/s BenchmarkCompareBytesBigUnaligned/offset=4-4 3973 30430 ns/op 34459.06 MB/s BenchmarkCompareBytesBigUnaligned/offset=5-4 3897 28988 ns/op 36173.53 MB/s BenchmarkCompareBytesBigUnaligned/offset=6-4 3405 30463 ns/op 34421.35 MB/s BenchmarkCompareBytesBigUnaligned/offset=7-4 3924 30225 ns/op 34692.53 MB/s BenchmarkCompareBytesBig-4 4159 29588 ns/op 35439.11 MB/s BenchmarkCompareBytesBigIdentical-4 15976650 7.224 ns/op 145161245.33 MB/s PASS ok bytes 55.233s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: compress/bzip2 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecodeDigits-4 2 73517640 ns/op 1.36 MB/s 3616380 B/op 52 allocs/op BenchmarkDecodeNewton-4 1 294122605 ns/op 1.93 MB/s 3629856 B/op 50 allocs/op BenchmarkDecodeRand-4 5 23174956 ns/op 0.71 MB/s 3645123 B/op 51 allocs/op PASS ok compress/bzip2 1.304s goos: linux goarch: amd64 pkg: compress/flate cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecode/Digits/Huffman/1e4-4 61 1725024 ns/op 5.80 MB/s 42422 B/op 5 allocs/op BenchmarkDecode/Digits/Huffman/1e5-4 7 16450727 ns/op 6.08 MB/s 41776 B/op 5 allocs/op BenchmarkDecode/Digits/Huffman/1e6-4 1 166071215 ns/op 6.02 MB/s 49264 B/op 9 allocs/op BenchmarkDecode/Digits/Speed/1e4-4 61 1750302 ns/op 5.71 MB/s 42232 B/op 8 allocs/op BenchmarkDecode/Digits/Speed/1e5-4 6 17300559 ns/op 5.78 MB/s 43641 B/op 12 allocs/op BenchmarkDecode/Digits/Speed/1e6-4 1 178388472 ns/op 5.61 MB/s 53024 B/op 77 allocs/op BenchmarkDecode/Digits/Default/1e4-4 67 1713519 ns/op 5.84 MB/s 42292 B/op 7 allocs/op BenchmarkDecode/Digits/Default/1e5-4 7 16363335 ns/op 6.11 MB/s 46750 B/op 14 allocs/op BenchmarkDecode/Digits/Default/1e6-4 1 167147927 ns/op 5.98 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Digits/Compression/1e4-4 62 1739377 ns/op 5.75 MB/s 43491 B/op 7 allocs/op BenchmarkDecode/Digits/Compression/1e5-4 6 17378149 ns/op 5.75 MB/s 42264 B/op 13 allocs/op BenchmarkDecode/Digits/Compression/1e6-4 1 166097525 ns/op 6.02 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Newton/Huffman/1e4-4 60 1885428 ns/op 5.30 MB/s 43294 B/op 14 allocs/op BenchmarkDecode/Newton/Huffman/1e5-4 6 18122254 ns/op 5.52 MB/s 47833 B/op 24 allocs/op BenchmarkDecode/Newton/Huffman/1e6-4 1 186316497 ns/op 5.37 MB/s 88512 B/op 165 allocs/op BenchmarkDecode/Newton/Speed/1e4-4 78 1501964 ns/op 6.66 MB/s 42948 B/op 18 allocs/op BenchmarkDecode/Newton/Speed/1e5-4 8 12552059 ns/op 7.97 MB/s 46858 B/op 32 allocs/op BenchmarkDecode/Newton/Speed/1e6-4 1 126672344 ns/op 7.89 MB/s 89696 B/op 232 allocs/op BenchmarkDecode/Newton/Default/1e4-4 85 1352138 ns/op 7.40 MB/s 43468 B/op 15 allocs/op BenchmarkDecode/Newton/Default/1e5-4 12 9874513 ns/op 10.13 MB/s 44292 B/op 32 allocs/op BenchmarkDecode/Newton/Default/1e6-4 1 100035006 ns/op 10.00 MB/s 70320 B/op 162 allocs/op BenchmarkDecode/Newton/Compression/1e4-4 84 1354048 ns/op 7.39 MB/s 43791 B/op 15 allocs/op BenchmarkDecode/Newton/Compression/1e5-4 12 9923089 ns/op 10.08 MB/s 45662 B/op 32 allocs/op BenchmarkDecode/Newton/Compression/1e6-4 2 98344009 ns/op 10.17 MB/s 67752 B/op 152 allocs/op BenchmarkEncode/Digits/Huffman/1e4-4 96 1230087 ns/op 8.13 MB/s BenchmarkEncode/Digits/Huffman/1e5-4 9 11718286 ns/op 8.53 MB/s BenchmarkEncode/Digits/Huffman/1e6-4 1 118843782 ns/op 8.41 MB/s BenchmarkEncode/Digits/Speed/1e4-4 48 2251440 ns/op 4.44 MB/s BenchmarkEncode/Digits/Speed/1e5-4 6 19820806 ns/op 5.05 MB/s BenchmarkEncode/Digits/Speed/1e6-4 1 193636492 ns/op 5.16 MB/s BenchmarkEncode/Digits/Default/1e4-4 18 6458321 ns/op 1.55 MB/s BenchmarkEncode/Digits/Default/1e5-4 2 75381564 ns/op 1.33 MB/s BenchmarkEncode/Digits/Default/1e6-4 1 786902857 ns/op 1.27 MB/s BenchmarkEncode/Digits/Compression/1e4-4 18 6401162 ns/op 1.56 MB/s BenchmarkEncode/Digits/Compression/1e5-4 2 75107968 ns/op 1.33 MB/s BenchmarkEncode/Digits/Compression/1e6-4 1 778425618 ns/op 1.28 MB/s BenchmarkEncode/Newton/Huffman/1e4-4 79 1493598 ns/op 6.70 MB/s BenchmarkEncode/Newton/Huffman/1e5-4 8 12565497 ns/op 7.96 MB/s BenchmarkEncode/Newton/Huffman/1e6-4 1 124534327 ns/op 8.03 MB/s BenchmarkEncode/Newton/Speed/1e4-4 50 2102338 ns/op 4.76 MB/s BenchmarkEncode/Newton/Speed/1e5-4 7 16010394 ns/op 6.25 MB/s BenchmarkEncode/Newton/Speed/1e6-4 1 156796203 ns/op 6.38 MB/s BenchmarkEncode/Newton/Default/1e4-4 18 6270422 ns/op 1.59 MB/s BenchmarkEncode/Newton/Default/1e5-4 2 70710670 ns/op 1.41 MB/s BenchmarkEncode/Newton/Default/1e6-4 1 716784271 ns/op 1.40 MB/s BenchmarkEncode/Newton/Compression/1e4-4 18 6387672 ns/op 1.57 MB/s BenchmarkEncode/Newton/Compression/1e5-4 2 87678481 ns/op 1.14 MB/s BenchmarkEncode/Newton/Compression/1e6-4 1 912174550 ns/op 1.10 MB/s PASS ok compress/flate 16.621s goos: linux goarch: amd64 pkg: compress/lzw cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecoder/1e4-4 51 2202482 ns/op 4.54 MB/s BenchmarkDecoder/1e-Reuse4-4 51 2297949 ns/op 4.35 MB/s BenchmarkDecoder/1e5-4 5 21573550 ns/op 4.64 MB/s BenchmarkDecoder/1e-Reuse5-4 5 21864782 ns/op 4.57 MB/s BenchmarkDecoder/1e6-4 1 218760682 ns/op 4.57 MB/s BenchmarkDecoder/1e-Reuse6-4 1 217355313 ns/op 4.60 MB/s BenchmarkEncoder/1e4-4 52 2103555 ns/op 4.75 MB/s BenchmarkEncoder/1e-Reuse4-4 67 1779285 ns/op 5.62 MB/s BenchmarkEncoder/1e5-4 6 18808802 ns/op 5.32 MB/s BenchmarkEncoder/1e-Reuse5-4 6 18625220 ns/op 5.37 MB/s BenchmarkEncoder/1e6-4 1 191476589 ns/op 5.22 MB/s BenchmarkEncoder/1e-Reuse6-4 1 186274458 ns/op 5.37 MB/s PASS ok compress/lzw 2.658s goos: linux goarch: amd64 pkg: container/heap cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDup-4 31 3713955 ns/op PASS ok container/heap 0.254s goos: linux goarch: amd64 pkg: context cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCommonParentCancel-4 19198 5423 ns/op BenchmarkWithTimeout/concurrency=40-4 4774 22030 ns/op BenchmarkWithTimeout/concurrency=4000-4 4533 23164 ns/op BenchmarkWithTimeout/concurrency=400000-4 5943 18775 ns/op BenchmarkCancelTree/depth=1/Root=Background-4 423883 270.0 ns/op BenchmarkCancelTree/depth=1/Root=OpenCanceler-4 12427 9671 ns/op BenchmarkCancelTree/depth=1/Root=ClosedCanceler-4 15860 7591 ns/op BenchmarkCancelTree/depth=10/Root=Background-4 2763 44064 ns/op BenchmarkCancelTree/depth=10/Root=OpenCanceler-4 1868 95057 ns/op BenchmarkCancelTree/depth=10/Root=ClosedCanceler-4 2394 44501 ns/op BenchmarkCancelTree/depth=100/Root=Background-4 242 497599 ns/op BenchmarkCancelTree/depth=100/Root=OpenCanceler-4 172 690082 ns/op BenchmarkCancelTree/depth=100/Root=ClosedCanceler-4 273 438102 ns/op BenchmarkCancelTree/depth=1000/Root=Background-4 22 4946482 ns/op BenchmarkCancelTree/depth=1000/Root=OpenCanceler-4 13 8350643 ns/op BenchmarkCancelTree/depth=1000/Root=ClosedCanceler-4 26 4449817 ns/op BenchmarkCheckCanceled/Err-4 262960 436.4 ns/op BenchmarkCheckCanceled/Done-4 417348 283.7 ns/op BenchmarkContextCancelDone-4 526537 234.9 ns/op BenchmarkDeepValueNewGoRoutine/depth=10-4 24944 4964 ns/op BenchmarkDeepValueNewGoRoutine/depth=20-4 21666 5502 ns/op BenchmarkDeepValueNewGoRoutine/depth=30-4 20151 6128 ns/op BenchmarkDeepValueNewGoRoutine/depth=50-4 16404 7119 ns/op BenchmarkDeepValueNewGoRoutine/depth=100-4 12276 9920 ns/op BenchmarkDeepValueSameGoRoutine/depth=10-4 555396 211.3 ns/op BenchmarkDeepValueSameGoRoutine/depth=20-4 323877 370.2 ns/op BenchmarkDeepValueSameGoRoutine/depth=30-4 216428 549.8 ns/op BenchmarkDeepValueSameGoRoutine/depth=50-4 140110 849.3 ns/op BenchmarkDeepValueSameGoRoutine/depth=100-4 70393 1671 ns/op PASS ok context 13.197s goos: linux goarch: amd64 pkg: crypto/aes cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncrypt-4 1756406 68.00 ns/op 235.29 MB/s BenchmarkDecrypt-4 1737840 68.08 ns/op 235.01 MB/s BenchmarkExpand-4 1000000 114.4 ns/op PASS ok crypto/aes 0.537s goos: linux goarch: amd64 pkg: crypto/cipher cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAESGCM/Open-128-64-4 185000 640.7 ns/op 99.90 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-64-4 374199 289.2 ns/op 221.29 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-64-4 176400 663.8 ns/op 96.41 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-64-4 381970 306.6 ns/op 208.72 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-1350-4 118959 1002 ns/op 1346.87 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-1350-4 173587 655.9 ns/op 2058.32 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-1350-4 107780 1112 ns/op 1213.84 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-1350-4 150218 790.3 ns/op 1708.21 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-8192-4 40899 2878 ns/op 2846.36 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-8192-4 53151 2274 ns/op 3602.62 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-8192-4 34532 3458 ns/op 2368.95 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-8192-4 39656 3002 ns/op 2729.04 MB/s 0 B/op 0 allocs/op BenchmarkAESCFBEncrypt1K-4 6784 16121 ns/op 63.21 MB/s BenchmarkAESCFBDecrypt1K-4 7412 16102 ns/op 63.28 MB/s BenchmarkAESCFBDecrypt8K-4 936 126333 ns/op 64.80 MB/s BenchmarkAESOFB1K-4 10000 10973 ns/op 92.86 MB/s BenchmarkAESCTR1K-4 13753 8770 ns/op 116.19 MB/s BenchmarkAESCTR8K-4 1765 67596 ns/op 121.12 MB/s BenchmarkAESCBCEncrypt1K-4 14613 8494 ns/op 120.55 MB/s BenchmarkAESCBCDecrypt1K-4 18126 6633 ns/op 154.37 MB/s PASS ok crypto/cipher 2.953s goos: linux goarch: amd64 pkg: crypto/des cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncrypt-4 75616 1548 ns/op 5.17 MB/s BenchmarkDecrypt-4 81398 1443 ns/op 5.54 MB/s BenchmarkTDESEncrypt-4 31600 3799 ns/op 2.11 MB/s BenchmarkTDESDecrypt-4 32086 3696 ns/op 2.16 MB/s PASS ok crypto/des 0.620s goos: linux goarch: amd64 pkg: crypto/ecdh cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkECDH/P256-4 939 121343 ns/op 760 B/op 12 allocs/op BenchmarkECDH/P384-4 15 7550723 ns/op 1087 B/op 21 allocs/op BenchmarkECDH/P521-4 6 20151493 ns/op 1538 B/op 21 allocs/op BenchmarkECDH/X25519-4 97 1218641 ns/op 376 B/op 9 allocs/op PASS ok crypto/ecdh 0.633s goos: linux goarch: amd64 pkg: crypto/ecdsa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSign/P256-4 1591 69384 ns/op 2544 B/op 33 allocs/op BenchmarkSign/P384-4 46 2517889 ns/op 2712 B/op 34 allocs/op BenchmarkSign/P521-4 20 5783704 ns/op 3095 B/op 35 allocs/op BenchmarkVerify/P256-4 942 127550 ns/op 480 B/op 10 allocs/op BenchmarkVerify/P384-4 15 7472531 ns/op 640 B/op 14 allocs/op BenchmarkVerify/P521-4 6 19423808 ns/op 960 B/op 14 allocs/op BenchmarkGenerateKey/P256-4 3768 30030 ns/op 927 B/op 14 allocs/op BenchmarkGenerateKey/P384-4 64 1858985 ns/op 1126 B/op 17 allocs/op BenchmarkGenerateKey/P521-4 24 4879150 ns/op 1449 B/op 17 allocs/op PASS ok crypto/ecdsa 1.473s goos: linux goarch: amd64 pkg: crypto/ed25519 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkKeyGeneration-4 324 351906 ns/op BenchmarkNewKeyFromSeed-4 334 358085 ns/op BenchmarkSigning-4 310 380425 ns/op BenchmarkVerification-4 216 549279 ns/op PASS ok crypto/ed25519 0.647s goos: linux goarch: amd64 pkg: crypto/elliptic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScalarBaseMult/P256-4 4894 24032 ns/op 368 B/op 6 allocs/op BenchmarkScalarBaseMult/P224-4 159 744303 ns/op 376 B/op 9 allocs/op BenchmarkScalarBaseMult/P384-4 58 1943616 ns/op 504 B/op 9 allocs/op BenchmarkScalarBaseMult/P521-4 22 4906807 ns/op 696 B/op 9 allocs/op BenchmarkScalarMult/P256-4 1380 85976 ns/op 448 B/op 7 allocs/op BenchmarkScalarMult/P224-4 62 1866467 ns/op 440 B/op 10 allocs/op BenchmarkScalarMult/P384-4 22 5094925 ns/op 616 B/op 10 allocs/op BenchmarkScalarMult/P521-4 8 13990606 ns/op 840 B/op 10 allocs/op BenchmarkMarshalUnmarshal/P256/Uncompressed-4 12752 9002 ns/op 544 B/op 8 allocs/op BenchmarkMarshalUnmarshal/P256/Compressed-4 5882 19792 ns/op 592 B/op 9 allocs/op BenchmarkMarshalUnmarshal/P224/Uncompressed-4 3616 29403 ns/op 560 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P224/Compressed-4 86 1272263 ns/op 592 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P384/Uncompressed-4 2532 46487 ns/op 784 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P384/Compressed-4 313 383850 ns/op 848 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P521/Uncompressed-4 1548 76558 ns/op 1104 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P521/Compressed-4 96 1195176 ns/op 1184 B/op 15 allocs/op PASS ok crypto/elliptic 2.435s goos: linux goarch: amd64 pkg: crypto/hmac cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHMACSHA256_1K-4 14847 7971 ns/op 128.47 MB/s BenchmarkHMACSHA256_32-4 25050 4778 ns/op 6.70 MB/s BenchmarkNewWriteSum-4 12062 9283 ns/op 3.45 MB/s PASS ok crypto/hmac 0.622s goos: linux goarch: amd64 pkg: crypto/internal/bigmod cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkModAdd-4 61070 1932 ns/op BenchmarkModSub-4 76281 1547 ns/op BenchmarkMontgomeryRepr-4 27045 4418 ns/op BenchmarkMontgomeryMul-4 28387 4176 ns/op BenchmarkModMul-4 13759 8749 ns/op BenchmarkExpBig-4 15 7251967 ns/op BenchmarkExp-4 7 15484650 ns/op PASS ok crypto/internal/bigmod 1.149s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncodingDecoding-4 3594 33372 ns/op BenchmarkScalarBaseMult-4 346 332032 ns/op BenchmarkScalarMult-4 162 745650 ns/op BenchmarkVarTimeDoubleScalarBaseMult-4 237 507983 ns/op PASS ok crypto/internal/edwards25519 0.741s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519/field cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAdd-4 495208 211.4 ns/op BenchmarkMultiply-4 4137117 29.29 ns/op BenchmarkSquare-4 5264797 22.74 ns/op BenchmarkInvert-4 24718 4835 ns/op BenchmarkMult32-4 1498138 80.56 ns/op PASS ok crypto/internal/edwards25519/field 0.820s goos: linux goarch: amd64 pkg: crypto/internal/nistec cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScalarMult/P224-4 57 1801741 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P256-4 1599 74298 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P384-4 21 4984403 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P521-4 8 13691008 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P224-4 180 651551 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P256-4 7902 14902 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P384-4 69 1635650 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P521-4 26 4167991 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec 1.082s goos: linux goarch: amd64 pkg: crypto/internal/nistec/fiat cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMul/P224-4 635016 176.0 ns/op 0 B/op 0 allocs/op BenchmarkMul/P384-4 320814 351.0 ns/op 0 B/op 0 allocs/op BenchmarkMul/P521-4 124648 958.8 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P224-4 675514 175.3 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P384-4 340068 352.0 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P521-4 122430 952.9 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec/fiat 0.773s goos: linux goarch: amd64 pkg: crypto/md5 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes-4 115251 1005 ns/op 7.96 MB/s BenchmarkHash64-4 127315 921.3 ns/op 69.47 MB/s BenchmarkHash128-4 117942 1028 ns/op 124.47 MB/s BenchmarkHash256-4 94970 1257 ns/op 203.62 MB/s BenchmarkHash512-4 68469 1734 ns/op 295.32 MB/s BenchmarkHash1K-4 44460 2709 ns/op 378.04 MB/s BenchmarkHash8K-4 7467 16146 ns/op 507.36 MB/s BenchmarkHash1M-4 60 1952082 ns/op 537.16 MB/s BenchmarkHash8M-4 7 15542933 ns/op 539.71 MB/s BenchmarkHash8BytesUnaligned-4 113533 990.4 ns/op 8.08 MB/s BenchmarkHash1KUnaligned-4 44422 2693 ns/op 380.26 MB/s BenchmarkHash8KUnaligned-4 7484 16173 ns/op 506.51 MB/s PASS ok crypto/md5 1.613s goos: linux goarch: amd64 pkg: crypto/rand cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPrime-4 1 839455431 ns/op PASS ok crypto/rand 0.872s goos: linux goarch: amd64 pkg: crypto/rc4 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRC4_128-4 13429 8888 ns/op 14.40 MB/s BenchmarkRC4_1K-4 1596 70785 ns/op 14.47 MB/s BenchmarkRC4_8K-4 210 568522 ns/op 14.24 MB/s PASS ok crypto/rc4 0.548s goos: linux goarch: amd64 pkg: crypto/rsa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecryptPKCS1v15/2048-4 13 8914009 ns/op BenchmarkDecryptPKCS1v15/3072-4 5 20815330 ns/op BenchmarkDecryptPKCS1v15/4096-4 3 38680165 ns/op BenchmarkEncryptPKCS1v15/2048-4 39 2796385 ns/op BenchmarkDecryptOAEP/2048-4 12 8951935 ns/op BenchmarkEncryptOAEP/2048-4 38 2791710 ns/op BenchmarkSignPKCS1v15/2048-4 12 9066345 ns/op BenchmarkVerifyPKCS1v15/2048-4 42 2856132 ns/op BenchmarkSignPSS/2048-4 12 9060471 ns/op BenchmarkVerifyPSS/2048-4 40 2882651 ns/op PASS ok crypto/rsa 1.578s goos: linux goarch: amd64 pkg: crypto/sha1 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 102891 1127 ns/op 7.10 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum-4 126074 925.1 ns/op 8.65 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/New-4 75246 1564 ns/op 204.61 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/Sum-4 86038 1381 ns/op 231.74 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 49279 2419 ns/op 423.39 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum-4 53827 2228 ns/op 459.70 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 9854 11756 ns/op 696.82 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum-4 10000 11582 ns/op 707.31 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha1 1.107s goos: linux goarch: amd64 pkg: crypto/sha256 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 79768 1460 ns/op 5.48 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum224-4 94627 1244 ns/op 6.43 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 90466 1322 ns/op 6.05 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 25284 4678 ns/op 218.89 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum224-4 27014 4427 ns/op 231.33 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 26589 4501 ns/op 227.52 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 4188 28215 ns/op 290.34 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum224-4 4254 27973 ns/op 292.85 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 4212 28054 ns/op 292.01 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha256 1.310s goos: linux goarch: amd64 pkg: crypto/sha512 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 52446 2044 ns/op 3.91 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum384-4 71762 1630 ns/op 4.91 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum512-4 65282 1869 ns/op 4.28 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 28266 4251 ns/op 240.88 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum384-4 31330 3801 ns/op 269.44 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum512-4 29776 4015 ns/op 255.02 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 5836 20143 ns/op 406.70 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum384-4 6007 19716 ns/op 415.49 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum512-4 5854 20062 ns/op 408.33 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha512 1.299s goos: linux goarch: amd64 pkg: crypto/subtle cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkConstantTimeByteEq-4 16710547 7.297 ns/op BenchmarkConstantTimeEq-4 16763791 7.139 ns/op BenchmarkConstantTimeLessOrEq-4 16339803 7.452 ns/op BenchmarkXORBytes/8Bytes-4 4431906 26.50 ns/op 301.86 MB/s BenchmarkXORBytes/128Bytes-4 3915427 29.79 ns/op 4296.86 MB/s BenchmarkXORBytes/2048Bytes-4 923527 129.3 ns/op 15840.49 MB/s BenchmarkXORBytes/32768Bytes-4 61149 1954 ns/op 16768.35 MB/s PASS ok crypto/subtle 1.090s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: crypto/tls cpu: AMD EPYC 7B12 BenchmarkCertCache/0-4 183 772324 ns/op BenchmarkCertCache/1-4 164 723592 ns/op BenchmarkCertCache/2-4 151 731455 ns/op BenchmarkCertCache/3-4 192 737682 ns/op BenchmarkHandshakeServer/RSA-4 39 2857914 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv13-4 31 3372103 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv12-4 36 3056471 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv13-4 126 943193 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv12-4 184 649795 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv13-4 58 2109184 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv12-4 64 1802494 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv13-4 4 29428039 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12-4 4 27637304 ns/op BenchmarkThroughput/MaxPacket/1MB/TLSv12-4 6 18815654 ns/op 55.73 MB/s BenchmarkThroughput/MaxPacket/1MB/TLSv13-4 5 24289024 ns/op 43.17 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv12-4 4 29701872 ns/op 70.61 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv13-4 3 37394799 ns/op 56.08 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv12-4 3 49953957 ns/op 83.96 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv13-4 2 68763765 ns/op 61.00 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv12-4 2 99516854 ns/op 84.29 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv13-4 1 111647097 ns/op 75.14 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv12-4 1 153205803 ns/op 109.51 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv13-4 1 222037412 ns/op 75.56 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv12-4 1 328102738 ns/op 102.27 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv13-4 1 461572958 ns/op 72.70 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv12-4 1 658041667 ns/op 101.98 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv13-4 1 944235840 ns/op 71.07 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv12-4 6 18952951 ns/op 55.33 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv13-4 5 25449312 ns/op 41.20 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv12-4 4 30806450 ns/op 68.08 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv13-4 3 36950876 ns/op 56.76 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv12-4 2 53386533 ns/op 78.56 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv13-4 2 75108751 ns/op 55.84 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv12-4 2 89618758 ns/op 93.60 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv13-4 1 115696706 ns/op 72.51 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv12-4 1 171176345 ns/op 98.01 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv13-4 1 222788723 ns/op 75.31 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv12-4 1 341928051 ns/op 98.13 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv13-4 1 455046028 ns/op 73.74 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv12-4 1 691758003 ns/op 97.01 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv13-4 1 862667947 ns/op 77.79 MB/s BenchmarkLatency/MaxPacket/200kbps/TLSv12-4 1 702336934 ns/op BenchmarkLatency/MaxPacket/200kbps/TLSv13-4 1 705320194 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv12-4 1 287888633 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv13-4 1 287503894 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv12-4 1 149336272 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv13-4 1 148814052 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv12-4 2 80235082 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv13-4 2 79745702 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv12-4 3 38613023 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv13-4 3 37589775 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv12-4 1 142432071 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv13-4 1 144943051 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv12-4 2 62998784 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv13-4 2 63856454 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv12-4 3 36853355 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv13-4 3 37026992 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv12-4 5 23852711 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv13-4 5 22948197 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv12-4 7 16805934 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv13-4 7 15393845 ns/op PASS ok crypto/tls 17.080s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: crypto/x509 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCreateCertificate/RSA_2048-4 9 12208964 ns/op BenchmarkCreateCertificate/ECDSA_P256-4 320 356872 ns/op BenchmarkParseCertificate/ecdsa_leaf-4 975 104521 ns/op 13187 B/op 238 allocs/op BenchmarkParseCertificate/rsa_leaf-4 975 117160 ns/op 14613 B/op 262 allocs/op PASS ok crypto/x509 0.908s goos: linux goarch: amd64 pkg: database/sql cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkConcurrentDBExec-4 32 3192208 ns/op 280373 B/op 1631 allocs/op BenchmarkConcurrentStmtQuery-4 36 3551637 ns/op 259294 B/op 2006 allocs/op BenchmarkConcurrentStmtExec-4 51 2376443 ns/op 216261 B/op 628 allocs/op BenchmarkConcurrentTxQuery-4 40 3162400 ns/op 266667 B/op 2146 allocs/op BenchmarkConcurrentTxExec-4 55 1929967 ns/op 87798 B/op 1554 allocs/op BenchmarkConcurrentTxStmtQuery-4 42 2759720 ns/op 104720 B/op 2076 allocs/op BenchmarkConcurrentTxStmtExec-4 100 1022673 ns/op 40128 B/op 381 allocs/op BenchmarkConcurrentRandom-4 33 3171593 ns/op 227466 B/op 1828 allocs/op BenchmarkManyConcurrentQueries-4 2475 46930 ns/op 3973 B/op 20 allocs/op BenchmarkGrabConn-4 234013 529.8 ns/op 0 B/op 0 allocs/op PASS ok database/sql 1.435s goos: linux goarch: amd64 pkg: debug/gosym cpu: Intel(R) Xeon(R) CPU @ 2.20GHz Benchmark115/NewLineTable-4 237932 494.2 ns/op 384 B/op 3 allocs/op Benchmark115/NewTable-4 70 1608975 ns/op 188213 B/op 13 allocs/op Benchmark115/LineToPC-4 76 1613467 ns/op 0 B/op 0 allocs/op Benchmark115/PCToLine-4 17169 6982 ns/op 0 B/op 0 allocs/op PASS ok debug/gosym 0.770s goos: linux goarch: amd64 pkg: encoding/asn1 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMarshal-4 698 156068 ns/op 9528 B/op 363 allocs/op BenchmarkUnmarshal-4 2565 39520 ns/op 784 B/op 43 allocs/op PASS ok encoding/asn1 0.276s goos: linux goarch: amd64 pkg: encoding/base32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode-4 258 464096 ns/op 17.65 MB/s BenchmarkEncodeToString-4 229 485125 ns/op 16.89 MB/s BenchmarkDecode-4 138 852678 ns/op 15.38 MB/s BenchmarkDecodeString-4 138 842548 ns/op 15.56 MB/s PASS ok encoding/base32 0.764s goos: linux goarch: amd64 pkg: encoding/base64 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncodeToString-4 309 351714 ns/op 23.29 MB/s BenchmarkDecodeString/2-4 252840 429.0 ns/op 9.32 MB/s BenchmarkDecodeString/4-4 222777 535.0 ns/op 14.95 MB/s BenchmarkDecodeString/8-4 165141 662.9 ns/op 18.10 MB/s BenchmarkDecodeString/64-4 33294 3512 ns/op 25.06 MB/s BenchmarkDecodeString/8192-4 304 376119 ns/op 29.04 MB/s BenchmarkNewEncoding-4 93109 1296 ns/op 197.57 MB/s PASS ok encoding/base64 1.004s goos: linux goarch: amd64 pkg: encoding/binary cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadSlice1000Int32s-4 1344 88095 ns/op 45.41 MB/s BenchmarkReadStruct-4 17383 6807 ns/op 11.02 MB/s BenchmarkWriteStruct-4 18928 6312 ns/op 11.88 MB/s BenchmarkReadInts-4 49050 2425 ns/op 12.37 MB/s BenchmarkWriteInts-4 41191 3003 ns/op 9.99 MB/s BenchmarkWriteSlice1000Int32s-4 1318 87901 ns/op 45.51 MB/s BenchmarkPutUint16-4 3566130 33.84 ns/op 59.10 MB/s BenchmarkAppendUint16-4 3648470 32.73 ns/op 61.10 MB/s BenchmarkPutUint32-4 2631418 43.25 ns/op 92.49 MB/s BenchmarkAppendUint32-4 2629688 44.71 ns/op 89.47 MB/s BenchmarkPutUint64-4 1114984 106.8 ns/op 74.89 MB/s BenchmarkAppendUint64-4 1000000 111.3 ns/op 71.86 MB/s BenchmarkLittleEndianPutUint16-4 3599479 33.30 ns/op 60.06 MB/s BenchmarkLittleEndianAppendUint16-4 3552739 33.61 ns/op 59.51 MB/s BenchmarkLittleEndianPutUint32-4 2571452 43.54 ns/op 91.86 MB/s BenchmarkLittleEndianAppendUint32-4 2761563 42.17 ns/op 94.85 MB/s BenchmarkLittleEndianPutUint64-4 1000000 109.4 ns/op 73.12 MB/s BenchmarkLittleEndianAppendUint64-4 1000000 108.4 ns/op 73.83 MB/s BenchmarkReadFloats-4 172251 742.0 ns/op 16.17 MB/s BenchmarkWriteFloats-4 148899 830.4 ns/op 14.45 MB/s BenchmarkReadSlice1000Float32s-4 1173 94682 ns/op 42.25 MB/s BenchmarkWriteSlice1000Float32s-4 1160 100758 ns/op 39.70 MB/s BenchmarkReadSlice1000Uint8s-4 76148 1359 ns/op 736.07 MB/s BenchmarkWriteSlice1000Uint8s-4 113835 994.3 ns/op 1005.69 MB/s BenchmarkPutUvarint32-4 844858 145.6 ns/op 27.48 MB/s BenchmarkPutUvarint64-4 209826 558.7 ns/op 14.32 MB/s PASS ok encoding/binary 3.952s goos: linux goarch: amd64 pkg: encoding/csv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRead-4 5542 18070 ns/op 736 B/op 16 allocs/op BenchmarkReadWithFieldsPerRecord-4 6992 16343 ns/op 736 B/op 16 allocs/op BenchmarkReadWithoutFieldsPerRecord-4 6990 16859 ns/op 736 B/op 16 allocs/op BenchmarkReadLargeFields-4 4408 27303 ns/op 3938 B/op 24 allocs/op BenchmarkReadReuseRecord-4 7194 15167 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithFieldsPerRecord-4 7131 15175 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithoutFieldsPerRecord-4 7075 15294 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordLargeFields-4 4754 25972 ns/op 2977 B/op 12 allocs/op BenchmarkWrite-4 13152 8889 ns/op PASS ok encoding/csv 1.444s goos: linux goarch: amd64 pkg: encoding/gob cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEndToEndPipe-4 12927 10984 ns/op BenchmarkEndToEndByteBuffer-4 14870 6756 ns/op BenchmarkEndToEndSliceByteBuffer-4 243 434516 ns/op BenchmarkEncodeComplex128Slice-4 836 142970 ns/op BenchmarkEncodeFloat64Slice-4 1669 76656 ns/op BenchmarkEncodeInt32Slice-4 1473 69905 ns/op BenchmarkEncodeStringSlice-4 2649 45008 ns/op BenchmarkEncodeInterfaceSlice-4 75 1595426 ns/op BenchmarkDecodeComplex128Slice-4 676 213166 ns/op BenchmarkDecodeFloat64Slice-4 1114 97165 ns/op BenchmarkDecodeInt32Slice-4 1095 92221 ns/op BenchmarkDecodeStringSlice-4 703 142549 ns/op BenchmarkDecodeStringsSlice-4 346 434120 ns/op BenchmarkDecodeBytesSlice-4 661 206919 ns/op BenchmarkDecodeInterfaceSlice-4 120 994844 ns/op BenchmarkDecodeMap-4 81 1282579 ns/op PASS ok encoding/gob 3.113s goos: linux goarch: amd64 pkg: encoding/hex cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode/256-4 13083 9207 ns/op 27.80 MB/s BenchmarkEncode/1024-4 3044 36685 ns/op 27.91 MB/s BenchmarkEncode/4096-4 808 147082 ns/op 27.85 MB/s BenchmarkEncode/16384-4 201 587531 ns/op 27.89 MB/s BenchmarkDecode/256-4 24816 4888 ns/op 52.37 MB/s BenchmarkDecode/1024-4 5910 19323 ns/op 52.99 MB/s BenchmarkDecode/4096-4 1563 76051 ns/op 53.86 MB/s BenchmarkDecode/16384-4 393 305166 ns/op 53.69 MB/s BenchmarkDump/256-4 1324 91657 ns/op 2.79 MB/s BenchmarkDump/1024-4 334 359640 ns/op 2.85 MB/s BenchmarkDump/4096-4 84 1420116 ns/op 2.88 MB/s BenchmarkDump/16384-4 19 5926785 ns/op 2.76 MB/s PASS ok encoding/hex 1.779s goos: linux goarch: amd64 pkg: encoding/json cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCodeEncoder-4 1 163662518 ns/op 11.86 MB/s 8391840 B/op 59 allocs/op BenchmarkCodeEncoderError-4 1 114598518 ns/op 16.93 MB/s 5592 B/op 76 allocs/op BenchmarkCodeMarshal-4 1 125915022 ns/op 15.41 MB/s 1943240 B/op 17 allocs/op BenchmarkCodeMarshalError-4 1 131379522 ns/op 14.77 MB/s 1946712 B/op 69 allocs/op BenchmarkMarshalBytes/32-4 22160 5339 ns/op BenchmarkMarshalBytes/256-4 5209 21291 ns/op BenchmarkMarshalBytes/4096-4 470 256482 ns/op BenchmarkMarshalBytesError/32-4 57 1921336 ns/op BenchmarkMarshalBytesError/256-4 61 1904141 ns/op BenchmarkMarshalBytesError/4096-4 54 2167425 ns/op BenchmarkCodeDecoder-4 1 432262714 ns/op 4.49 MB/s 11016256 B/op 91356 allocs/op BenchmarkUnicodeDecoder-4 35036 3372 ns/op 4.15 MB/s 40 B/op 2 allocs/op BenchmarkDecoderStream-4 48766 2223 ns/op 16 B/op 1 allocs/op BenchmarkCodeUnmarshal-4 1 371162664 ns/op 5.23 MB/s 2938152 B/op 91324 allocs/op BenchmarkCodeUnmarshalReuse-4 1 362199672 ns/op 5.36 MB/s 2938640 B/op 91328 allocs/op BenchmarkUnmarshalString-4 54830 2218 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalFloat64-4 143179 854.3 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalInt64-4 259546 443.3 ns/op 144 B/op 1 allocs/op BenchmarkIssue10335-4 73948 1442 ns/op 176 B/op 3 allocs/op BenchmarkIssue34127-4 84633 1284 ns/op 84 B/op 2 allocs/op BenchmarkUnmapped-4 18583 6446 ns/op 208 B/op 4 allocs/op BenchmarkTypeFieldsCache/MissTypes1-4 3831 30493 ns/op BenchmarkTypeFieldsCache/MissTypes10-4 846 143631 ns/op BenchmarkTypeFieldsCache/MissTypes100-4 100 1178225 ns/op BenchmarkTypeFieldsCache/MissTypes1000-4 13 11377852 ns/op BenchmarkTypeFieldsCache/HitTypes1-4 465588 253.3 ns/op BenchmarkTypeFieldsCache/HitTypes10-4 452659 259.7 ns/op BenchmarkTypeFieldsCache/HitTypes100-4 473252 246.8 ns/op BenchmarkTypeFieldsCache/HitTypes1000-4 460018 249.3 ns/op BenchmarkEncodeMarshaler-4 77404 1709 ns/op 76 B/op 2 allocs/op BenchmarkEncoderEncode-4 86217 1259 ns/op 44 B/op 0 allocs/op BenchmarkNumberIsValid-4 3821602 27.67 ns/op BenchmarkNumberIsValidRegexp-4 21206 5755 ns/op PASS ok encoding/json 7.229s goos: linux goarch: amd64 pkg: encoding/pem cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode-4 43 2740559 ns/op 23.91 MB/s BenchmarkDecode-4 22 5416911 ns/op 16.39 MB/s PASS ok encoding/pem 0.383s goos: linux goarch: amd64 pkg: encoding/xml cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMarshal-4 2947 48455 ns/op 6280 B/op 24 allocs/op BenchmarkUnmarshal-4 819 138517 ns/op 8290 B/op 188 allocs/op BenchmarkHTMLAutoClose-4 4758 26892 ns/op PASS ok encoding/xml 0.723s goos: linux goarch: amd64 pkg: expvar cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkIntAdd-4 319366 423.9 ns/op BenchmarkIntSet-4 328102 375.1 ns/op BenchmarkFloatAdd-4 56233 2022 ns/op BenchmarkFloatSet-4 341307 360.4 ns/op BenchmarkStringSet-4 371574 321.9 ns/op BenchmarkMapSet-4 67069 1866 ns/op BenchmarkMapSetDifferent-4 56713 2047 ns/op BenchmarkMapSetDifferentRandom-4 240 457659 ns/op BenchmarkMapSetString-4 98270 1990 ns/op BenchmarkMapAddSame-4 40056 3153 ns/op BenchmarkMapAddDifferent-4 16102 7577 ns/op BenchmarkMapAddDifferentRandom-4 213 555977 ns/op BenchmarkMapAddSameSteadyState-4 244453 416.8 ns/op BenchmarkMapAddDifferentSteadyState-4 113706 986.8 ns/op BenchmarkRealworldExpvarUsage-4 25346 4816 ns/op PASS ok expvar 2.623s goos: linux goarch: amd64 pkg: fmt cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSprintfPadding-4 107394 1101 ns/op BenchmarkSprintfEmpty-4 474426 276.7 ns/op BenchmarkSprintfString-4 322771 390.1 ns/op BenchmarkSprintfTruncateString-4 235533 429.3 ns/op BenchmarkSprintfTruncateBytes-4 148035 760.7 ns/op BenchmarkSprintfSlowParsingPath-4 270499 438.4 ns/op BenchmarkSprintfQuoteString-4 39332 3162 ns/op BenchmarkSprintfInt-4 279938 423.7 ns/op BenchmarkSprintfIntInt-4 144126 735.0 ns/op BenchmarkSprintfPrefixedInt-4 262052 537.6 ns/op BenchmarkSprintfFloat-4 167689 812.6 ns/op BenchmarkSprintfComplex-4 65779 1980 ns/op BenchmarkSprintfBoolean-4 287576 432.2 ns/op BenchmarkSprintfHexString-4 116092 1036 ns/op BenchmarkSprintfHexBytes-4 85227 1485 ns/op BenchmarkSprintfBytes-4 46416 2342 ns/op BenchmarkSprintfStringer-4 77715 1486 ns/op BenchmarkSprintfStructure-4 43447 2998 ns/op BenchmarkManyArgs-4 68127 1832 ns/op BenchmarkFprintInt-4 76920 1582 ns/op BenchmarkFprintfBytes-4 81285 1501 ns/op BenchmarkFprintIntNoAlloc-4 77538 1576 ns/op BenchmarkScanInts-4 36 3174345 ns/op BenchmarkScanRecursiveInt-4 1 383568149 ns/op BenchmarkScanRecursiveIntReaderWrapper-4 1 419394356 ns/op PASS ok fmt 4.557s goos: linux goarch: amd64 pkg: go/build cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkImportVendor-4 615 187272 ns/op PASS ok go/build 0.171s goos: linux goarch: amd64 pkg: go/constant cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStringAdd/1-4 49462 2198 ns/op 160 B/op 2 allocs/op BenchmarkStringAdd/4-4 14058 8383 ns/op 832 B/op 9 allocs/op BenchmarkStringAdd/16-4 3584 29140 ns/op 3168 B/op 23 allocs/op BenchmarkStringAdd/64-4 1048 107697 ns/op 11744 B/op 73 allocs/op BenchmarkStringAdd/256-4 266 446313 ns/op 47840 B/op 267 allocs/op BenchmarkStringAdd/1024-4 58 2161719 ns/op 206177 B/op 1038 allocs/op BenchmarkStringAdd/4096-4 13 8598021 ns/op 865632 B/op 4114 allocs/op BenchmarkStringAdd/16384-4 3 37604764 ns/op 3634528 B/op 16407 allocs/op BenchmarkStringAdd/65536-4 1 170679125 ns/op 15259072 B/op 65566 allocs/op PASS ok go/constant 1.522s goos: linux goarch: amd64 pkg: go/format cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFormat/array1-10000-4 1 255579050 ns/op 0.25 MB/s 45524392 B/op 48798 allocs/op PASS ok go/format 0.315s goos: linux goarch: amd64 pkg: go/parser cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkParse-4 6 19728239 ns/op 2.73 MB/s BenchmarkParseOnly-4 6 16850728 ns/op 3.20 MB/s BenchmarkResolve-4 51 2358766 ns/op 22.83 MB/s PASS ok go/parser 1.397s goos: linux goarch: amd64 pkg: go/printer cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPrintFile-4 1 151342951 ns/op 0.34 MB/s 5438208 B/op 27682 allocs/op BenchmarkPrintDecl-4 702 154066 ns/op 0.21 MB/s 16124 B/op 51 allocs/op PASS ok go/printer 0.319s goos: linux goarch: amd64 pkg: go/scanner cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScan-4 264 449060 ns/op BenchmarkScanFiles/go/types/expr.go-4 12 9040618 ns/op 6.15 MB/s BenchmarkScanFiles/go/parser/parser.go-4 9 12159876 ns/op 5.92 MB/s BenchmarkScanFiles/net/http/server.go-4 6 17122734 ns/op 6.61 MB/s BenchmarkScanFiles/go/scanner/errors.go-4 228 534318 ns/op 5.76 MB/s PASS ok go/scanner 0.745s goos: linux goarch: amd64 pkg: go/token cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSearchInts-4 1174202 101.6 ns/op PASS ok go/token 0.226s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: go/types cpu: AMD EPYC 7B12 BenchmarkLookupFieldOrMethod-4 172 657591 ns/op BenchmarkNamed/Underlying/nongeneric-4 1216406 100.3 ns/op BenchmarkNamed/Underlying/generic-4 1278201 94.28 ns/op BenchmarkNamed/Underlying/src_instance-4 1273130 97.97 ns/op BenchmarkNamed/Underlying/user_instance-4 1223199 96.18 ns/op BenchmarkNamed/NewMethodSet/nongeneric-4 24093 4991 ns/op BenchmarkNamed/NewMethodSet/generic-4 23678 5044 ns/op BenchmarkNamed/NewMethodSet/src_instance-4 24042 4977 ns/op BenchmarkNamed/NewMethodSet/user_instance-4 23853 4984 ns/op BenchmarkCheck/http/funcbodies/info-4 1 463145958 ns/op 65915 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 372957495 ns/op 81857 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 210165991 ns/op 145090 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 185827627 ns/op 164245 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 359037826 ns/op 14263 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 1 101828215 ns/op 50276 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 2 61736448 ns/op 82931 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 2 59794918 ns/op 85625 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 137172337 ns/op 15793 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 2 59786913 ns/op 36229 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 3 44989719 ns/op 48147 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 3 44118736 ns/op 49105 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 813801385 ns/op 78030 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 505153817 ns/op 125703 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 134505507 ns/op 471891 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 100265205 ns/op 632980 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 1582855407 ns/op 1259 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 90887310 ns/op 21921 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 2 76434549 ns/op 26069 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 2 75662420 ns/op 26331 lines/s PASS ok go/types 17.543s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: hash/adler32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAdler32KB-4 8692 13752 ns/op 74.46 MB/s PASS ok hash/adler32 0.257s goos: linux goarch: amd64 pkg: hash/crc32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCRC32/poly=IEEE/size=15/align=0-4 202346 571.6 ns/op 26.24 MB/s BenchmarkCRC32/poly=IEEE/size=15/align=1-4 207237 548.6 ns/op 27.34 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=0-4 106885 1106 ns/op 36.16 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=1-4 113377 1054 ns/op 37.97 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=0-4 464500 251.1 ns/op 2038.74 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=1-4 465441 249.1 ns/op 2055.49 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=0-4 415738 286.5 ns/op 3573.82 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=1-4 407704 283.8 ns/op 3607.81 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=0-4 240360 498.1 ns/op 8223.47 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=1-4 243020 488.6 ns/op 8382.84 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=0-4 51592 2328 ns/op 14076.58 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=1-4 51442 2280 ns/op 14371.14 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=0-4 451215 252.5 ns/op 59.40 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=1-4 474264 254.1 ns/op 59.02 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=0-4 456304 254.6 ns/op 157.08 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=1-4 461860 256.2 ns/op 156.15 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=0-4 316150 373.4 ns/op 1371.37 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=1-4 318956 380.2 ns/op 1346.82 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=0-4 263618 468.0 ns/op 2187.93 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=1-4 255938 451.0 ns/op 2270.56 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=0-4 222283 529.9 ns/op 7729.62 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=1-4 223236 528.5 ns/op 7750.15 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=0-4 46213 2592 ns/op 12640.45 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=1-4 45046 2638 ns/op 12421.01 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=0-4 204333 554.7 ns/op 27.04 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=1-4 214412 556.6 ns/op 26.95 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=0-4 98654 1195 ns/op 33.47 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=1-4 104485 1111 ns/op 36.00 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=0-4 7359 16204 ns/op 31.60 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=1-4 7092 16603 ns/op 30.84 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=0-4 3507 34357 ns/op 29.80 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=1-4 3514 33719 ns/op 30.37 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=0-4 854 136970 ns/op 29.90 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=1-4 877 136497 ns/op 30.01 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=0-4 100 1092035 ns/op 30.01 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=1-4 100 1086332 ns/op 30.16 MB/s PASS ok hash/crc32 4.632s goos: linux goarch: amd64 pkg: hash/crc64 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCrc64/ISO64KB-4 86 1397225 ns/op 46.90 MB/s BenchmarkCrc64/ISO4KB-4 961 117629 ns/op 34.82 MB/s BenchmarkCrc64/ISO1KB-4 4501 25572 ns/op 40.04 MB/s BenchmarkCrc64/ECMA64KB-4 86 1394645 ns/op 46.99 MB/s BenchmarkCrc64/Random64KB-4 92 1236812 ns/op 52.99 MB/s BenchmarkCrc64/Random16KB-4 369 319511 ns/op 51.28 MB/s PASS ok hash/crc64 0.803s goos: linux goarch: amd64 pkg: hash/fnv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFnv32KB-4 8622 13810 ns/op 74.15 MB/s BenchmarkFnv32aKB-4 8682 13921 ns/op 73.56 MB/s BenchmarkFnv64KB-4 8438 13924 ns/op 73.54 MB/s BenchmarkFnv64aKB-4 8455 13842 ns/op 73.98 MB/s BenchmarkFnv128KB-4 2020 58171 ns/op 17.60 MB/s BenchmarkFnv128aKB-4 2023 57016 ns/op 17.96 MB/s PASS ok hash/fnv 0.922s goos: linux goarch: amd64 pkg: hash/maphash cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash/n=4/Write-4 632341 189.3 ns/op 21.13 MB/s BenchmarkHash/n=4/Bytes-4 3965738 30.31 ns/op 131.95 MB/s BenchmarkHash/n=4/String-4 1773298 67.84 ns/op 58.97 MB/s BenchmarkHash/n=8/Write-4 575426 186.3 ns/op 42.95 MB/s BenchmarkHash/n=8/Bytes-4 4112496 29.01 ns/op 275.74 MB/s BenchmarkHash/n=8/String-4 1757820 69.62 ns/op 114.91 MB/s BenchmarkHash/n=16/Write-4 607182 193.9 ns/op 82.50 MB/s BenchmarkHash/n=16/Bytes-4 4376119 25.90 ns/op 617.72 MB/s BenchmarkHash/n=16/String-4 1793706 66.40 ns/op 240.97 MB/s BenchmarkHash/n=32/Write-4 577092 198.7 ns/op 161.09 MB/s BenchmarkHash/n=32/Bytes-4 4408311 27.63 ns/op 1158.13 MB/s BenchmarkHash/n=32/String-4 1773984 67.87 ns/op 471.47 MB/s BenchmarkHash/n=64/Write-4 535132 216.1 ns/op 296.15 MB/s BenchmarkHash/n=64/Bytes-4 3938678 29.76 ns/op 2150.42 MB/s BenchmarkHash/n=64/String-4 1737522 69.10 ns/op 926.15 MB/s BenchmarkHash/n=256/Write-4 402312 291.9 ns/op 876.88 MB/s BenchmarkHash/n=256/Bytes-4 2224911 53.77 ns/op 4760.72 MB/s BenchmarkHash/n=256/String-4 923695 129.8 ns/op 1971.95 MB/s BenchmarkHash/n=320/Write-4 413906 287.5 ns/op 1112.99 MB/s BenchmarkHash/n=320/Bytes-4 1805848 66.57 ns/op 4807.26 MB/s BenchmarkHash/n=320/String-4 648432 177.8 ns/op 1799.57 MB/s BenchmarkHash/n=1024/Write-4 273043 439.5 ns/op 2329.77 MB/s BenchmarkHash/n=1024/Bytes-4 756159 159.9 ns/op 6404.10 MB/s BenchmarkHash/n=1024/String-4 260809 455.8 ns/op 2246.46 MB/s BenchmarkHash/n=4096/Write-4 121848 979.5 ns/op 4181.93 MB/s BenchmarkHash/n=4096/Bytes-4 207549 577.9 ns/op 7088.26 MB/s BenchmarkHash/n=4096/String-4 68304 1756 ns/op 2332.91 MB/s BenchmarkHash/n=16384/Write-4 38017 3167 ns/op 5173.93 MB/s BenchmarkHash/n=16384/Bytes-4 53474 2239 ns/op 7316.95 MB/s BenchmarkHash/n=16384/String-4 17006 7063 ns/op 2319.65 MB/s PASS ok hash/maphash 4.643s goos: linux goarch: amd64 pkg: html cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEscape-4 806 131379 ns/op BenchmarkEscapeNone-4 120284 951.2 ns/op BenchmarkUnescape-4 769 148214 ns/op BenchmarkUnescapeNone-4 534270 224.5 ns/op BenchmarkUnescapeSparse-4 11798 9340 ns/op BenchmarkUnescapeDense-4 1136 102307 ns/op PASS ok html 0.862s goos: linux goarch: amd64 pkg: html/template cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCSSEscaper-4 9199 12591 ns/op BenchmarkCSSEscaperNoSpecials-4 43790 2634 ns/op BenchmarkDecodeCSS-4 26505 4515 ns/op BenchmarkDecodeCSSNoSpecials-4 4585014 27.54 ns/op BenchmarkCSSValueFilter-4 119766 965.0 ns/op BenchmarkCSSValueFilterOk-4 81931 1484 ns/op BenchmarkEscapedExecute-4 4167 24665 ns/op BenchmarkHTMLNospaceEscaper-4 10000 10668 ns/op BenchmarkHTMLNospaceEscaperNoSpecials-4 67944 1748 ns/op BenchmarkStripTags-4 21238 5504 ns/op BenchmarkStripTagsNoSpecials-4 293704 374.3 ns/op BenchmarkJSValEscaperWithNum-4 24591 4920 ns/op BenchmarkJSValEscaperWithStr-4 5401 21488 ns/op BenchmarkJSValEscaperWithStrNoSpecials-4 18757 6389 ns/op BenchmarkJSValEscaperWithObj-4 4438 25967 ns/op BenchmarkJSValEscaperWithObjNoSpecials-4 13576 8865 ns/op BenchmarkJSStrEscaperNoSpecials-4 59977 1976 ns/op BenchmarkJSStrEscaper-4 10000 10265 ns/op BenchmarkJSRegexpEscaperNoSpecials-4 54042 2201 ns/op BenchmarkJSRegexpEscaper-4 10000 11073 ns/op BenchmarkTemplateSpecialTags-4 91 1302014 ns/op BenchmarkURLEscaper-4 4129 25542 ns/op BenchmarkURLEscaperNoSpecials-4 192720 629.9 ns/op BenchmarkURLNormalizer-4 5223 19224 ns/op BenchmarkURLNormalizerNoSpecials-4 181300 667.5 ns/op BenchmarkSrcsetFilter-4 19813 5985 ns/op BenchmarkSrcsetFilterNoSpecials-4 110611 1047 ns/op PASS ok html/template 4.077s goos: linux goarch: amd64 pkg: image cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAt/rgba-4 611421 202.3 ns/op 16 B/op 1 allocs/op BenchmarkAt/rgba64-4 404523 270.3 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba-4 552511 194.9 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba64-4 420310 277.6 ns/op 16 B/op 1 allocs/op BenchmarkAt/alpha-4 1865446 64.25 ns/op 0 B/op 0 allocs/op BenchmarkAt/alpha16-4 1240016 97.06 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray-4 1839387 64.86 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray16-4 1237416 95.76 ns/op 0 B/op 0 allocs/op BenchmarkAt/paletted-4 1442508 83.32 ns/op 0 B/op 0 allocs/op BenchmarkSet/rgba-4 452245 253.4 ns/op 16 B/op 1 allocs/op BenchmarkSet/rgba64-4 343149 333.6 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba-4 428582 262.3 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba64-4 319100 323.1 ns/op 16 B/op 1 allocs/op BenchmarkSet/alpha-4 849354 140.4 ns/op 0 B/op 0 allocs/op BenchmarkSet/alpha16-4 532807 217.0 ns/op 16 B/op 1 allocs/op BenchmarkSet/gray-4 990031 121.7 ns/op 0 B/op 0 allocs/op BenchmarkSet/gray16-4 558967 208.1 ns/op 16 B/op 1 allocs/op BenchmarkSet/paletted-4 399946 275.4 ns/op 0 B/op 0 allocs/op BenchmarkRGBAAt-4 1383818 84.63 ns/op BenchmarkRGBASetRGBA-4 1413650 82.74 ns/op BenchmarkRGBA64At-4 726266 162.6 ns/op BenchmarkRGBA64SetRGBA64-4 819134 143.4 ns/op BenchmarkNRGBAAt-4 1409054 84.97 ns/op BenchmarkNRGBASetNRGBA-4 1426900 82.05 ns/op BenchmarkNRGBA64At-4 724812 162.8 ns/op BenchmarkNRGBA64SetNRGBA64-4 816253 141.0 ns/op BenchmarkAlphaAt-4 2380497 50.16 ns/op BenchmarkAlphaSetAlpha-4 2417192 49.63 ns/op BenchmarkAlpha16At-4 1577270 75.36 ns/op BenchmarkAlphaSetAlpha16-4 1595670 73.68 ns/op BenchmarkGrayAt-4 2411750 50.51 ns/op BenchmarkGraySetGray-4 2319223 51.25 ns/op BenchmarkGray16At-4 1554882 76.75 ns/op BenchmarkGraySetGray16-4 1634374 74.66 ns/op PASS ok image 5.523s goos: linux goarch: amd64 pkg: image/color cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkYCbCrToRGB/0-4 4221228 28.71 ns/op BenchmarkYCbCrToRGB/128-4 4024136 30.12 ns/op BenchmarkYCbCrToRGB/255-4 4127983 29.22 ns/op BenchmarkRGBToYCbCr/0-4 4152511 28.74 ns/op BenchmarkRGBToYCbCr/Cb-4 4185639 28.66 ns/op BenchmarkRGBToYCbCr/Cr-4 4114926 28.79 ns/op BenchmarkYCbCrToRGBA/0-4 3331951 35.62 ns/op BenchmarkYCbCrToRGBA/128-4 3207157 37.93 ns/op BenchmarkYCbCrToRGBA/255-4 3302959 36.48 ns/op BenchmarkNYCbCrAToRGBA/0-4 3320444 36.07 ns/op BenchmarkNYCbCrAToRGBA/128-4 3317688 36.21 ns/op BenchmarkNYCbCrAToRGBA/255-4 3260284 36.78 ns/op PASS ok image/color 1.905s goos: linux goarch: amd64 pkg: image/draw cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFillOver-4 3 34062624 ns/op BenchmarkFillSrc-4 310 371842 ns/op BenchmarkCopyOver-4 6 17433285 ns/op BenchmarkCopySrc-4 410 283423 ns/op BenchmarkNRGBAOver-4 6 18987167 ns/op BenchmarkNRGBASrc-4 9 11782889 ns/op BenchmarkYCbCr-4 8 13446630 ns/op BenchmarkGray-4 16 6913313 ns/op BenchmarkCMYK-4 9 12038008 ns/op BenchmarkGlyphOver-4 20 5852894 ns/op BenchmarkRGBAMaskOver-4 4 30532542 ns/op BenchmarkGrayMaskOver-4 5 23269261 ns/op BenchmarkRGBA64ImageMaskOver-4 3 38324746 ns/op BenchmarkRGBA-4 4 25309314 ns/op BenchmarkPalettedFill-4 903 133915 ns/op BenchmarkPalettedRGBA-4 4 25614554 ns/op BenchmarkGenericOver-4 2 56076234 ns/op BenchmarkGenericMaskOver-4 5 22380951 ns/op BenchmarkGenericSrc-4 3 36872526 ns/op BenchmarkGenericMaskSrc-4 4 32126689 ns/op PASS ok image/draw 5.905s goos: linux goarch: amd64 pkg: image/gif cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecode-4 22 4721758 ns/op 3.27 MB/s 47848 B/op 267 allocs/op BenchmarkEncodeRandomPaletted-4 1 115746999 ns/op 2.65 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRandomRGBA-4 1 3063945875 ns/op 0.40 MB/s 417248 B/op 13 allocs/op BenchmarkEncodeRealisticPaletted-4 56 2082947 ns/op 7.42 MB/s 79985 B/op 7 allocs/op BenchmarkEncodeRealisticRGBA-4 1 149723595 ns/op 0.41 MB/s 105952 B/op 13 allocs/op PASS ok image/gif 4.137s goos: linux goarch: amd64 pkg: image/jpeg cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFDCT-4 3625 29232 ns/op BenchmarkIDCT-4 3925 27850 ns/op BenchmarkDecodeBaseline-4 9 12444800 ns/op 4.97 MB/s 63024 B/op 5 allocs/op BenchmarkDecodeProgressive-4 6 17581693 ns/op 3.52 MB/s 259712 B/op 13 allocs/op BenchmarkEncodeRGBA-4 1 155726553 ns/op 7.89 MB/s 4400 B/op 4 allocs/op BenchmarkEncodeYCbCr-4 1 194423159 ns/op 4.74 MB/s 4400 B/op 4 allocs/op PASS ok image/jpeg 1.379s goos: linux goarch: amd64 pkg: image/png cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPaeth-4 12277441 8.659 ns/op BenchmarkDecodeGray-4 12 9270138 ns/op 7.07 MB/s 137024 B/op 102 allocs/op BenchmarkDecodeNRGBAGradient-4 3 39273758 ns/op 6.67 MB/s 337328 B/op 188 allocs/op BenchmarkDecodeNRGBAOpaque-4 3 34039428 ns/op 7.70 MB/s 346592 B/op 152 allocs/op BenchmarkDecodePaletted-4 20 5353702 ns/op 12.24 MB/s 139456 B/op 309 allocs/op BenchmarkDecodeRGB-4 4 31928805 ns/op 8.21 MB/s 332000 B/op 157 allocs/op BenchmarkDecodeInterlacing-4 3 39547569 ns/op 6.63 MB/s 605216 B/op 268 allocs/op BenchmarkEncodeGray-4 2 61266109 ns/op 5.01 MB/s 852184 B/op 29 allocs/op BenchmarkEncodeGrayWithBufferPool-4 2 59935582 ns/op 5.13 MB/s 426080 B/op 14 allocs/op BenchmarkEncodeNRGBOpaque-4 1 197250896 ns/op 6.23 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeNRGBA-4 1 216354906 ns/op 5.68 MB/s 864088 B/op 29 allocs/op BenchmarkEncodePaletted-4 4 30281567 ns/op 10.14 MB/s 848616 B/op 32 allocs/op BenchmarkEncodeRGBOpaque-4 1 195989991 ns/op 6.27 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeRGBA-4 1 802675024 ns/op 1.53 MB/s 864088 B/op 29 allocs/op PASS ok image/png 3.679s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: index/suffixarray cpu: AMD EPYC 7B12 BenchmarkNew/text=opticks/size=100K/bits=32-4 3 45754140 ns/op 2.19 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=opticks/size=100K/bits=64-4 3 38720696 ns/op 2.58 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=32-4 1 248694299 ns/op 2.01 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=64-4 1 195647324 ns/op 2.56 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=32-4 3 46169247 ns/op 2.17 MB/s 401490 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=64-4 3 38995713 ns/op 2.56 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=32-4 1 229766608 ns/op 2.18 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=64-4 1 197887995 ns/op 2.53 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=32-4 1 496927078 ns/op 2.01 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=64-4 1 455303725 ns/op 2.20 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=32-4 1 3111870357 ns/op 1.61 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=64-4 1 3097010686 ns/op 1.61 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=32-4 14 7770529 ns/op 12.87 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=64-4 14 8320652 ns/op 12.02 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=32-4 3 38056666 ns/op 13.14 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=64-4 3 40941613 ns/op 12.21 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=32-4 2 71520970 ns/op 13.98 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=64-4 2 78696151 ns/op 12.71 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=32-4 1 384309519 ns/op 13.01 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=64-4 1 370515889 ns/op 13.49 MB/s 40001624 B/op 3 allocs/op BenchmarkNew/text=rand/size=100K/bits=32-4 2 50043264 ns/op 2.00 MB/s 540752 B/op 3 allocs/op BenchmarkNew/text=rand/size=100K/bits=64-4 3 40181206 ns/op 2.49 MB/s 1073232 B/op 3 allocs/op BenchmarkNew/text=rand/size=500K/bits=32-4 1 287609292 ns/op 1.74 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=64-4 1 292717922 ns/op 1.71 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=32-4 1 686672174 ns/op 1.46 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=64-4 1 746220820 ns/op 1.34 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=32-4 1 5748823338 ns/op 0.87 MB/s 20004952 B/op 3 allocs/op BenchmarkNew/text=rand/size=5M/bits=64-4 1 5394671630 ns/op 0.93 MB/s 40001616 B/op 2 allocs/op BenchmarkSaveRestore/bits=32-4 1 138547266 ns/op 30.17 MB/s 5275648 B/op 4 allocs/op BenchmarkSaveRestore/bits=64-4 1 131560494 ns/op 31.77 MB/s 9469952 B/op 4 allocs/op PASS ok index/suffixarray 36.887s goos: linux goarch: amd64 pkg: internal/fuzz cpu: AMD EPYC 7B12 BenchmarkMarshalCorpusFile/1-4 37065 3149 ns/op 0.32 MB/s BenchmarkMarshalCorpusFile/2-4 36046 3336 ns/op 0.60 MB/s BenchmarkMarshalCorpusFile/4-4 33116 3656 ns/op 1.09 MB/s BenchmarkMarshalCorpusFile/8-4 27428 4321 ns/op 1.85 MB/s BenchmarkMarshalCorpusFile/16-4 21426 5587 ns/op 2.86 MB/s BenchmarkMarshalCorpusFile/32-4 14703 8161 ns/op 3.92 MB/s BenchmarkMarshalCorpusFile/64-4 9420 12724 ns/op 5.03 MB/s BenchmarkMarshalCorpusFile/128-4 4818 21666 ns/op 5.91 MB/s BenchmarkMarshalCorpusFile/256-4 2673 39843 ns/op 6.43 MB/s BenchmarkMarshalCorpusFile/512-4 1468 78093 ns/op 6.56 MB/s BenchmarkMarshalCorpusFile/1024-4 765 148897 ns/op 6.88 MB/s BenchmarkMarshalCorpusFile/2048-4 404 292438 ns/op 7.00 MB/s BenchmarkMarshalCorpusFile/4096-4 202 598383 ns/op 6.85 MB/s BenchmarkMarshalCorpusFile/8192-4 98 1186025 ns/op 6.91 MB/s BenchmarkMarshalCorpusFile/16384-4 45 2415854 ns/op 6.78 MB/s BenchmarkMarshalCorpusFile/32768-4 22 5330290 ns/op 6.15 MB/s BenchmarkMarshalCorpusFile/65536-4 10 10449060 ns/op 6.27 MB/s BenchmarkMarshalCorpusFile/131072-4 5 22309681 ns/op 5.88 MB/s BenchmarkMarshalCorpusFile/262144-4 3 42287571 ns/op 6.20 MB/s BenchmarkMarshalCorpusFile/524288-4 1 107041343 ns/op 4.90 MB/s BenchmarkMarshalCorpusFile/1048576-4 1 173361685 ns/op 6.05 MB/s BenchmarkUnmarshalCorpusFile/1-4 9708 11706 ns/op 0.09 MB/s BenchmarkUnmarshalCorpusFile/2-4 9828 12321 ns/op 0.16 MB/s BenchmarkUnmarshalCorpusFile/4-4 7371 13662 ns/op 0.29 MB/s BenchmarkUnmarshalCorpusFile/8-4 8101 14605 ns/op 0.55 MB/s BenchmarkUnmarshalCorpusFile/16-4 6024 17841 ns/op 0.90 MB/s BenchmarkUnmarshalCorpusFile/32-4 4161 25514 ns/op 1.25 MB/s BenchmarkUnmarshalCorpusFile/64-4 3730 31954 ns/op 2.00 MB/s BenchmarkUnmarshalCorpusFile/128-4 2619 42379 ns/op 3.02 MB/s BenchmarkUnmarshalCorpusFile/256-4 1099 101733 ns/op 2.52 MB/s BenchmarkUnmarshalCorpusFile/512-4 578 191891 ns/op 2.67 MB/s BenchmarkUnmarshalCorpusFile/1024-4 300 373505 ns/op 2.74 MB/s BenchmarkUnmarshalCorpusFile/2048-4 152 790673 ns/op 2.59 MB/s BenchmarkUnmarshalCorpusFile/4096-4 73 1482940 ns/op 2.76 MB/s BenchmarkUnmarshalCorpusFile/8192-4 36 3103713 ns/op 2.64 MB/s BenchmarkUnmarshalCorpusFile/16384-4 19 6139401 ns/op 2.67 MB/s BenchmarkUnmarshalCorpusFile/32768-4 9 12399103 ns/op 2.64 MB/s BenchmarkUnmarshalCorpusFile/65536-4 5 23245205 ns/op 2.82 MB/s BenchmarkUnmarshalCorpusFile/131072-4 3 46958511 ns/op 2.79 MB/s BenchmarkUnmarshalCorpusFile/262144-4 2 99804062 ns/op 2.63 MB/s BenchmarkUnmarshalCorpusFile/524288-4 1 200686955 ns/op 2.61 MB/s BenchmarkUnmarshalCorpusFile/1048576-4 1 386603819 ns/op 2.71 MB/s BenchmarkMutatorBytes/1-4 37134 3497 ns/op BenchmarkMutatorBytes/10-4 37418 3180 ns/op BenchmarkMutatorBytes/100-4 34357 3479 ns/op BenchmarkMutatorBytes/1000-4 24494 5014 ns/op BenchmarkMutatorBytes/10000-4 7506 20095 ns/op BenchmarkMutatorBytes/100000-4 1059 127477 ns/op BenchmarkMutatorString/1-4 35557 3501 ns/op BenchmarkMutatorString/10-4 33445 3399 ns/op BenchmarkMutatorString/100-4 32334 3886 ns/op BenchmarkMutatorString/1000-4 17232 6904 ns/op BenchmarkMutatorString/10000-4 4633 38033 ns/op BenchmarkMutatorString/100000-4 409 327229 ns/op BenchmarkMutatorAllBasicTypes/[]uint8-4 19419 5954 ns/op BenchmarkMutatorAllBasicTypes/string-4 19734 6079 ns/op BenchmarkMutatorAllBasicTypes/bool-4 61981 1931 ns/op BenchmarkMutatorAllBasicTypes/float32-4 54279 2184 ns/op BenchmarkMutatorAllBasicTypes/float64-4 53013 2263 ns/op BenchmarkMutatorAllBasicTypes/int-4 58052 2067 ns/op BenchmarkMutatorAllBasicTypes/int8-4 59575 2116 ns/op BenchmarkMutatorAllBasicTypes/int16-4 56302 2046 ns/op BenchmarkMutatorAllBasicTypes/int32-4 56284 2059 ns/op BenchmarkMutatorAllBasicTypes/int64-4 56529 2068 ns/op BenchmarkMutatorAllBasicTypes/uint8-4 57512 2100 ns/op BenchmarkMutatorAllBasicTypes/uint16-4 57032 2091 ns/op BenchmarkMutatorAllBasicTypes/uint32-4 57182 2097 ns/op BenchmarkMutatorAllBasicTypes/uint64-4 54045 2079 ns/op PASS ok internal/fuzz 11.774s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: internal/intern cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStress-4 35910 3727 ns/op 0 B/op 0 allocs/op BenchmarkGetByString-4 131658 918.2 ns/op 0 B/op 0 allocs/op PASS ok internal/intern 0.328s goos: linux goarch: amd64 pkg: internal/poll cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSplicePipe/SplicePipeWithPool-4 30361 3321 ns/op BenchmarkSplicePipe/SplicePipeWithoutPool-4 8146 12344 ns/op BenchmarkSplicePipePoolParallel-4 103551 1093 ns/op BenchmarkSplicePipeNativeParallel-4 30120 3747 ns/op PASS ok internal/poll 0.629s goos: linux goarch: amd64 pkg: internal/trace cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMMU-4 5 24892601 ns/op PASS ok internal/trace 3.029s goos: linux goarch: amd64 pkg: io cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCopyNSmall-4 10000 15218 ns/op BenchmarkCopyNLarge-4 100 1059269 ns/op PASS ok io 0.302s goos: linux goarch: amd64 pkg: log cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkItoa-4 215612 517.5 ns/op BenchmarkPrintln-4 23284 5066 ns/op 77 B/op 1 allocs/op BenchmarkPrintlnNoFlags-4 36352 3310 ns/op 66 B/op 1 allocs/op BenchmarkConcurrent-4 3110 44160 ns/op BenchmarkDiscard-4 829587 129.1 ns/op 0 B/op 0 allocs/op PASS ok log 0.933s goos: linux goarch: amd64 pkg: log/slog cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkWriteTime-4 82659 1419 ns/op BenchmarkJSONHandler/defaults-4 6142 16545 ns/op 525 B/op 1 allocs/op BenchmarkJSONHandler/time_format-4 4497 25680 ns/op 779 B/op 6 allocs/op BenchmarkJSONHandler/time_unix-4 5384 22209 ns/op 740 B/op 5 allocs/op BenchmarkPreformatting/separate-4 7518 15647 ns/op 520 B/op 0 allocs/op BenchmarkPreformatting/struct-4 6906 15823 ns/op 514 B/op 0 allocs/op BenchmarkPreformatting/struct_file-4 5570 21150 ns/op 534 B/op 1 allocs/op BenchmarkJSONEncoding/json.Marshal-4 31816 3738 ns/op 80 B/op 3 allocs/op BenchmarkJSONEncoding/Encoder.Encode-4 32377 3806 ns/op 63 B/op 1 allocs/op BenchmarkNopLog/no_attrs-4 61623 2004 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-4 43297 2904 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-parallel-4 39690 2868 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/keys-values-4 45823 2709 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-4 42962 2913 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-parallel-4 44847 2567 ns/op 0 B/op 0 allocs/op BenchmarkPC/0-4 446992 268.5 ns/op 0 B/op 0 allocs/op BenchmarkPC/1-4 333656 363.9 ns/op 0 B/op 0 allocs/op BenchmarkPC/2-4 230920 520.3 ns/op 0 B/op 0 allocs/op BenchmarkPC/3-4 163141 729.6 ns/op 0 B/op 0 allocs/op BenchmarkPC/4-4 132937 906.0 ns/op 0 B/op 0 allocs/op BenchmarkSourceLine/alone-4 310575 372.1 ns/op BenchmarkSourceLine/stringifying-4 71575 1533 ns/op BenchmarkRecord-4 3832 26250 ns/op BenchmarkDispatch/switch-checked-4 204300 582.7 ns/op BenchmarkDispatch/As-4 188918 640.5 ns/op BenchmarkDispatch/Visit-4 186505 625.9 ns/op BenchmarkUnsafeStrings-4 20007 5959 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.848s ##### 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 cpu: AMD EPYC 7B12 BenchmarkAcos-4 3543810 33.56 ns/op BenchmarkAcosh-4 1558576 78.00 ns/op BenchmarkAsin-4 3566365 33.95 ns/op BenchmarkAsinh-4 1489531 80.64 ns/op BenchmarkAtan-4 5416485 22.11 ns/op BenchmarkAtanh-4 1501274 79.70 ns/op BenchmarkAtan2-4 3108372 37.91 ns/op BenchmarkCbrt-4 2012472 59.33 ns/op BenchmarkCeil-4 22232926 5.264 ns/op BenchmarkCompare-4 4852826 24.06 ns/op BenchmarkCompare32-4 5938270 19.98 ns/op BenchmarkCopysign-4 3818186 31.46 ns/op BenchmarkCos-4 1654555 73.12 ns/op BenchmarkCosh-4 1841024 65.23 ns/op BenchmarkErf-4 5501934 21.79 ns/op BenchmarkErfc-4 5543203 21.43 ns/op BenchmarkErfinv-4 4286930 28.00 ns/op BenchmarkErfcinv-4 4278279 28.08 ns/op BenchmarkExp-4 6922022 17.19 ns/op BenchmarkExpGo-4 1215117 96.06 ns/op BenchmarkExpm1-4 3530170 33.97 ns/op BenchmarkExp2-4 1381974 87.12 ns/op BenchmarkExp2Go-4 1285690 95.85 ns/op BenchmarkAbs-4 5011198 24.35 ns/op BenchmarkDim-4 11304138 9.614 ns/op BenchmarkFloor-4 22461141 5.897 ns/op BenchmarkMax-4 15749292 7.261 ns/op BenchmarkMin-4 15535928 7.556 ns/op BenchmarkMod-4 416739 280.3 ns/op BenchmarkFrexp-4 2200305 54.21 ns/op BenchmarkGamma-4 912498 133.1 ns/op BenchmarkHypot-4 11655644 9.944 ns/op BenchmarkHypotGo-4 2113336 55.44 ns/op BenchmarkIlogb-4 2846980 41.97 ns/op BenchmarkJ0-4 325491 370.9 ns/op BenchmarkJ1-4 311559 377.2 ns/op BenchmarkJn-4 133200 847.4 ns/op BenchmarkLdexp-4 2313520 51.93 ns/op BenchmarkLgamma-4 1266469 94.72 ns/op BenchmarkLog-4 7182861 16.50 ns/op BenchmarkLogb-4 2805051 43.20 ns/op BenchmarkLog1p-4 1916187 64.07 ns/op BenchmarkLog10-4 6886165 17.34 ns/op BenchmarkLog2-4 1869559 64.27 ns/op BenchmarkModf-4 3285440 36.39 ns/op BenchmarkNextafter32-4 3188563 38.08 ns/op BenchmarkNextafter64-4 3261031 36.59 ns/op BenchmarkPowInt-4 624813 176.6 ns/op BenchmarkPowFrac-4 492271 232.9 ns/op BenchmarkPow10Pos-4 5806014 20.65 ns/op BenchmarkPow10Neg-4 5362726 23.04 ns/op BenchmarkRound-4 4379799 27.54 ns/op BenchmarkRoundToEven-4 11794039 10.41 ns/op BenchmarkRemainder-4 595465 211.2 ns/op BenchmarkSignbit-4 6646688 18.52 ns/op BenchmarkSin-4 1907266 62.50 ns/op BenchmarkSincos-4 1352632 91.91 ns/op BenchmarkSinh-4 2534325 47.13 ns/op BenchmarkSqrtIndirect-4 22264520 5.258 ns/op BenchmarkSqrtLatency-4 13102868 9.214 ns/op BenchmarkSqrtIndirectLatency-4 12880800 9.205 ns/op BenchmarkSqrtGoLatency-4 1814022 65.39 ns/op BenchmarkSqrtPrime-4 62768 1916 ns/op BenchmarkTan-4 1825788 66.48 ns/op BenchmarkTanh-4 1827597 66.14 ns/op BenchmarkTrunc-4 22931527 5.287 ns/op BenchmarkY0-4 330267 360.1 ns/op BenchmarkY1-4 298939 373.8 ns/op BenchmarkYn-4 151003 897.7 ns/op BenchmarkFloat64bits-4 7314877 16.38 ns/op BenchmarkFloat64frombits-4 6885592 17.36 ns/op BenchmarkFloat32bits-4 7082628 16.74 ns/op BenchmarkFloat32frombits-4 6929922 17.04 ns/op BenchmarkFMA-4 22614584 5.330 ns/op PASS ok math 11.536s goos: linux goarch: amd64 pkg: math/big cpu: AMD EPYC 7B12 BenchmarkAddVV/1-4 14547682 8.077 ns/op 7924.09 MB/s BenchmarkAddVV/2-4 13260669 8.956 ns/op 14292.00 MB/s BenchmarkAddVV/3-4 12448022 9.428 ns/op 20365.55 MB/s BenchmarkAddVV/4-4 12389353 9.609 ns/op 26641.39 MB/s BenchmarkAddVV/5-4 11733777 10.27 ns/op 31155.49 MB/s BenchmarkAddVV/10-4 9083061 13.09 ns/op 48890.57 MB/s BenchmarkAddVV/100-4 2079120 57.29 ns/op 111721.96 MB/s BenchmarkAddVV/1000-4 235155 506.9 ns/op 126253.69 MB/s BenchmarkSubVV/1-4 14759755 8.111 ns/op 7890.92 MB/s BenchmarkSubVV/2-4 13513472 8.922 ns/op 14346.50 MB/s BenchmarkSubVV/3-4 12613566 9.396 ns/op 20434.98 MB/s BenchmarkSubVV/4-4 12361312 9.599 ns/op 26668.07 MB/s BenchmarkSubVV/5-4 11781320 10.23 ns/op 31291.60 MB/s BenchmarkSubVV/10-4 9057435 13.13 ns/op 48750.14 MB/s BenchmarkSubVV/100-4 2093346 57.47 ns/op 111368.40 MB/s BenchmarkSubVV/1000-4 231541 508.7 ns/op 125819.77 MB/s BenchmarkAddVW/1-4 15022954 7.887 ns/op 1014.36 MB/s BenchmarkAddVW/2-4 14380964 8.261 ns/op 1936.77 MB/s BenchmarkAddVW/3-4 13823983 8.654 ns/op 2773.31 MB/s BenchmarkAddVW/4-4 13744104 8.649 ns/op 3699.69 MB/s BenchmarkAddVW/5-4 13009207 9.179 ns/op 4357.61 MB/s BenchmarkAddVW/10-4 10865938 10.98 ns/op 7285.47 MB/s BenchmarkAddVW/100-4 320376 345.7 ns/op 2314.19 MB/s BenchmarkAddVW/1000-4 52442 2269 ns/op 3525.83 MB/s BenchmarkAddVWext/1-4 15655521 7.695 ns/op 1039.63 MB/s BenchmarkAddVWext/2-4 15043782 7.997 ns/op 2000.68 MB/s BenchmarkAddVWext/3-4 13666964 8.845 ns/op 2713.37 MB/s BenchmarkAddVWext/4-4 13918840 8.490 ns/op 3769.13 MB/s BenchmarkAddVWext/5-4 13122261 9.047 ns/op 4421.27 MB/s BenchmarkAddVWext/10-4 11203324 10.77 ns/op 7427.50 MB/s BenchmarkAddVWext/100-4 100290 1231 ns/op 649.73 MB/s BenchmarkAddVWext/1000-4 9877 12476 ns/op 641.22 MB/s BenchmarkSubVW/1-4 15184784 7.907 ns/op 1011.73 MB/s BenchmarkSubVW/2-4 13473176 8.809 ns/op 1816.37 MB/s BenchmarkSubVW/3-4 12953414 9.341 ns/op 2569.36 MB/s BenchmarkSubVW/4-4 13928714 8.566 ns/op 3735.68 MB/s BenchmarkSubVW/5-4 12973708 9.140 ns/op 4376.47 MB/s BenchmarkSubVW/10-4 10516430 11.08 ns/op 7218.92 MB/s BenchmarkSubVW/100-4 330937 357.7 ns/op 2236.82 MB/s BenchmarkSubVW/1000-4 52561 2269 ns/op 3525.89 MB/s BenchmarkSubVWext/1-4 13493157 7.602 ns/op 1052.35 MB/s BenchmarkSubVWext/2-4 13932110 8.206 ns/op 1949.86 MB/s BenchmarkSubVWext/3-4 13243357 8.893 ns/op 2698.79 MB/s BenchmarkSubVWext/4-4 13872453 8.501 ns/op 3764.20 MB/s BenchmarkSubVWext/5-4 12739534 9.054 ns/op 4417.83 MB/s BenchmarkSubVWext/10-4 10968633 11.05 ns/op 7239.71 MB/s BenchmarkSubVWext/100-4 101862 1202 ns/op 665.73 MB/s BenchmarkSubVWext/1000-4 8742 11463 ns/op 697.88 MB/s BenchmarkMulAddVWW/1-4 13537255 8.787 ns/op 7283.26 MB/s BenchmarkMulAddVWW/2-4 12310602 9.669 ns/op 13238.14 MB/s BenchmarkMulAddVWW/3-4 12898488 9.021 ns/op 21282.55 MB/s BenchmarkMulAddVWW/4-4 12402722 9.597 ns/op 26674.60 MB/s BenchmarkMulAddVWW/5-4 11749874 10.28 ns/op 31119.94 MB/s BenchmarkMulAddVWW/10-4 8381484 14.27 ns/op 44858.80 MB/s BenchmarkMulAddVWW/100-4 1337109 88.79 ns/op 72078.98 MB/s BenchmarkMulAddVWW/1000-4 139740 856.7 ns/op 74705.52 MB/s BenchmarkAddMulVVW/1-4 13871859 8.675 ns/op 7377.78 MB/s BenchmarkAddMulVVW/2-4 13279424 8.917 ns/op 14354.01 MB/s BenchmarkAddMulVVW/3-4 12735952 9.326 ns/op 20587.38 MB/s BenchmarkAddMulVVW/4-4 12199825 9.628 ns/op 26589.98 MB/s BenchmarkAddMulVVW/5-4 11205009 10.53 ns/op 30375.07 MB/s BenchmarkAddMulVVW/10-4 9197499 12.97 ns/op 49346.09 MB/s BenchmarkAddMulVVW/100-4 1692193 71.75 ns/op 89202.80 MB/s BenchmarkAddMulVVW/1000-4 184102 663.6 ns/op 96445.11 MB/s BenchmarkDivWVW/1-4 3378600 35.44 ns/op 1805.81 MB/s BenchmarkDivWVW/2-4 1980273 59.40 ns/op 2154.83 MB/s BenchmarkDivWVW/3-4 1530780 78.38 ns/op 2449.58 MB/s BenchmarkDivWVW/4-4 1241134 95.49 ns/op 2681.04 MB/s BenchmarkDivWVW/5-4 1000000 108.5 ns/op 2949.98 MB/s BenchmarkDivWVW/10-4 565291 208.6 ns/op 3067.59 MB/s BenchmarkDivWVW/100-4 71341 1682 ns/op 3805.95 MB/s BenchmarkDivWVW/1000-4 7052 16453 ns/op 3889.81 MB/s BenchmarkNonZeroShifts/1/shrVU-4 13467444 8.369 ns/op BenchmarkNonZeroShifts/1/shlVU-4 12627224 8.228 ns/op BenchmarkNonZeroShifts/2/shrVU-4 11391570 9.502 ns/op BenchmarkNonZeroShifts/2/shlVU-4 11766164 9.270 ns/op BenchmarkNonZeroShifts/3/shrVU-4 10456317 10.83 ns/op BenchmarkNonZeroShifts/3/shlVU-4 10779302 10.27 ns/op BenchmarkNonZeroShifts/4/shrVU-4 9576262 11.52 ns/op BenchmarkNonZeroShifts/4/shlVU-4 9822728 11.28 ns/op BenchmarkNonZeroShifts/5/shrVU-4 8842375 12.56 ns/op BenchmarkNonZeroShifts/5/shlVU-4 9100626 12.26 ns/op BenchmarkNonZeroShifts/10/shrVU-4 6512128 17.38 ns/op BenchmarkNonZeroShifts/10/shlVU-4 6615789 17.27 ns/op BenchmarkNonZeroShifts/100/shrVU-4 969469 117.1 ns/op BenchmarkNonZeroShifts/100/shlVU-4 1000000 115.9 ns/op BenchmarkNonZeroShifts/1000/shrVU-4 118431 1015 ns/op BenchmarkNonZeroShifts/1000/shlVU-4 117160 1015 ns/op BenchmarkDecimalConversion-4 232 515678 ns/op BenchmarkFloatString/100-4 12878 9541 ns/op 392 B/op 8 allocs/op BenchmarkFloatString/1000-4 231 478293 ns/op 2915 B/op 10 allocs/op BenchmarkFloatString/10000-4 3 47801544 ns/op 60365 B/op 48 allocs/op BenchmarkFloatString/100000-4 1 4226721983 ns/op 836632 B/op 527 allocs/op BenchmarkFloatAdd/10-4 161630 682.6 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100-4 172232 689.9 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/1000-4 159530 755.2 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/10000-4 87674 1356 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100000-4 17121 6989 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10-4 219674 539.6 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100-4 227391 541.3 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/1000-4 217484 553.9 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10000-4 153015 775.0 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100000-4 41583 2910 ns/op 0 B/op 0 allocs/op BenchmarkParseFloatSmallExp-4 1886 61015 ns/op BenchmarkParseFloatLargeExp-4 450 260481 ns/op BenchmarkGCD10x10/WithoutXY-4 218204 553.5 ns/op BenchmarkGCD10x10/WithXY-4 58528 2016 ns/op BenchmarkGCD10x100/WithoutXY-4 111861 1052 ns/op BenchmarkGCD10x100/WithXY-4 17926 6805 ns/op BenchmarkGCD10x1000/WithoutXY-4 76216 1547 ns/op BenchmarkGCD10x1000/WithXY-4 15558 7913 ns/op BenchmarkGCD100x100/WithoutXY-4 29973 4047 ns/op BenchmarkGCD100x100/WithXY-4 11222 11020 ns/op BenchmarkGCD100x1000/WithoutXY-4 13782 8842 ns/op BenchmarkGCD100x1000/WithXY-4 6286 17856 ns/op BenchmarkGCD1000x1000/WithoutXY-4 2396 46740 ns/op BenchmarkGCD1000x1000/WithXY-4 1275 88015 ns/op BenchmarkHilbert-4 21 5128620 ns/op BenchmarkBinomial-4 14490 8525 ns/op BenchmarkQuoRem-4 25898 5643 ns/op BenchmarkExp-4 16 6650552 ns/op BenchmarkExpMont/Odd-4 140 806127 ns/op 2591 B/op 22 allocs/op BenchmarkExpMont/Even1-4 139 816660 ns/op 3375 B/op 38 allocs/op BenchmarkExpMont/Even2-4 138 851576 ns/op 3856 B/op 53 allocs/op BenchmarkExpMont/Even3-4 132 910069 ns/op 3851 B/op 53 allocs/op BenchmarkExpMont/Even4-4 132 854505 ns/op 3818 B/op 52 allocs/op BenchmarkExpMont/Even8-4 132 847980 ns/op 3826 B/op 52 allocs/op BenchmarkExpMont/Even32-4 136 852176 ns/op 3868 B/op 54 allocs/op BenchmarkExpMont/Even64-4 154 771990 ns/op 3631 B/op 53 allocs/op BenchmarkExpMont/Even96-4 147 753350 ns/op 3789 B/op 51 allocs/op BenchmarkExpMont/Even128-4 171 684573 ns/op 3257 B/op 50 allocs/op BenchmarkExpMont/Even255-4 183 617183 ns/op 2929 B/op 47 allocs/op BenchmarkExpMont/SmallEven1-4 423 279189 ns/op 1312 B/op 34 allocs/op BenchmarkExpMont/SmallEven2-4 375 311303 ns/op 1730 B/op 46 allocs/op BenchmarkExpMont/SmallEven3-4 368 313977 ns/op 1754 B/op 48 allocs/op BenchmarkExpMont/SmallEven4-4 374 319097 ns/op 1741 B/op 47 allocs/op BenchmarkExp2-4 16 6498191 ns/op BenchmarkBitset-4 789291 149.6 ns/op BenchmarkBitsetNeg-4 422576 275.0 ns/op BenchmarkBitsetOrig-4 256726 471.5 ns/op BenchmarkBitsetNegOrig-4 162466 707.6 ns/op BenchmarkModSqrt225_Tonelli-4 127 905228 ns/op BenchmarkModSqrt225_3Mod4-4 414 275606 ns/op BenchmarkModSqrt231_Tonelli-4 122 938816 ns/op BenchmarkModSqrt231_5Mod8-4 351 325778 ns/op BenchmarkModInverse-4 13569 9145 ns/op BenchmarkSqrt-4 1740 66167 ns/op BenchmarkIntSqr/1-4 1283212 91.71 ns/op BenchmarkIntSqr/2-4 702464 174.9 ns/op BenchmarkIntSqr/3-4 586332 202.0 ns/op BenchmarkIntSqr/5-4 418405 268.0 ns/op BenchmarkIntSqr/8-4 315050 376.2 ns/op BenchmarkIntSqr/10-4 263666 429.9 ns/op BenchmarkIntSqr/20-4 57909 2175 ns/op BenchmarkIntSqr/30-4 45544 2878 ns/op BenchmarkIntSqr/50-4 29036 4325 ns/op BenchmarkIntSqr/80-4 16962 7276 ns/op BenchmarkIntSqr/100-4 12904 9327 ns/op BenchmarkIntSqr/200-4 4346 24648 ns/op BenchmarkIntSqr/300-4 2040 63268 ns/op BenchmarkIntSqr/500-4 918 129519 ns/op BenchmarkIntSqr/800-4 355 336960 ns/op BenchmarkIntSqr/1000-4 274 415308 ns/op BenchmarkDiv/20/10-4 428950 276.3 ns/op BenchmarkDiv/40/20-4 426400 275.4 ns/op BenchmarkDiv/100/50-4 415911 288.0 ns/op BenchmarkDiv/200/100-4 58446 2180 ns/op BenchmarkDiv/400/200-4 57036 2295 ns/op BenchmarkDiv/1000/500-4 47172 2903 ns/op BenchmarkDiv/2000/1000-4 36225 3915 ns/op BenchmarkDiv/20000/10000-4 1215 96762 ns/op BenchmarkDiv/200000/100000-4 30 4055838 ns/op BenchmarkDiv/2000000/1000000-4 1 106788320 ns/op BenchmarkDiv/20000000/10000000-4 1 3120576715 ns/op BenchmarkMul-4 6 18964054 ns/op BenchmarkNatMul/10-4 203577 560.0 ns/op BenchmarkNatMul/100-4 7515 16631 ns/op BenchmarkNatMul/1000-4 213 552432 ns/op BenchmarkZeroShifts/Shl-4 22320 5120 ns/op BenchmarkZeroShifts/ShlSame-4 4868542 24.60 ns/op BenchmarkZeroShifts/Shr-4 22137 5258 ns/op BenchmarkZeroShifts/ShrSame-4 4588866 26.11 ns/op BenchmarkExp3Power/0x10-4 182779 622.0 ns/op BenchmarkExp3Power/0x40-4 166888 736.2 ns/op BenchmarkExp3Power/0x100-4 102810 1200 ns/op BenchmarkExp3Power/0x400-4 49057 2421 ns/op BenchmarkExp3Power/0x1000-4 10000 10201 ns/op BenchmarkExp3Power/0x4000-4 2344 48908 ns/op BenchmarkExp3Power/0x10000-4 273 437604 ns/op BenchmarkExp3Power/0x40000-4 24 4748014 ns/op BenchmarkExp3Power/0x100000-4 3 48670184 ns/op BenchmarkExp3Power/0x400000-4 1 452296980 ns/op BenchmarkFibo-4 3 33805681 ns/op BenchmarkNatSqr/1-4 924477 125.7 ns/op BenchmarkNatSqr/2-4 520386 227.9 ns/op BenchmarkNatSqr/3-4 434624 259.1 ns/op BenchmarkNatSqr/5-4 331551 350.1 ns/op BenchmarkNatSqr/8-4 248961 476.6 ns/op BenchmarkNatSqr/10-4 205339 554.6 ns/op BenchmarkNatSqr/20-4 53460 2124 ns/op BenchmarkNatSqr/30-4 42202 2930 ns/op BenchmarkNatSqr/50-4 25024 4659 ns/op BenchmarkNatSqr/80-4 15178 7747 ns/op BenchmarkNatSqr/100-4 11664 10230 ns/op BenchmarkNatSqr/200-4 4083 26327 ns/op BenchmarkNatSqr/300-4 1873 61865 ns/op BenchmarkNatSqr/500-4 932 126688 ns/op BenchmarkNatSqr/800-4 409 285856 ns/op BenchmarkNatSqr/1000-4 298 398797 ns/op BenchmarkNatSetBytes/8-4 823554 132.7 ns/op BenchmarkNatSetBytes/24-4 253435 465.6 ns/op BenchmarkNatSetBytes/128-4 60862 1948 ns/op BenchmarkNatSetBytes/7-4 941553 119.9 ns/op BenchmarkNatSetBytes/23-4 252790 447.0 ns/op BenchmarkNatSetBytes/127-4 62827 1919 ns/op BenchmarkScanPi-4 264 451723 ns/op BenchmarkStringPiParallel-4 664 169655 ns/op BenchmarkScan/10/Base2-4 45764 2622 ns/op BenchmarkScan/100/Base2-4 4424 23397 ns/op BenchmarkScan/1000/Base2-4 470 232806 ns/op BenchmarkScan/10/Base8-4 105807 1118 ns/op BenchmarkScan/100/Base8-4 14814 8337 ns/op BenchmarkScan/1000/Base8-4 1332 87050 ns/op BenchmarkScan/10/Base10-4 114682 1064 ns/op BenchmarkScan/100/Base10-4 16028 7528 ns/op BenchmarkScan/1000/Base10-4 1480 72098 ns/op BenchmarkScan/10/Base16-4 130387 940.4 ns/op BenchmarkScan/100/Base16-4 18295 6560 ns/op BenchmarkScan/1000/Base16-4 1695 63351 ns/op BenchmarkString/10/Base2-4 216074 523.9 ns/op BenchmarkString/100/Base2-4 31612 3767 ns/op BenchmarkString/1000/Base2-4 3262 35896 ns/op BenchmarkString/10/Base8-4 409375 290.2 ns/op BenchmarkString/100/Base8-4 79803 1469 ns/op BenchmarkString/1000/Base8-4 8466 12844 ns/op BenchmarkString/10/Base10-4 233150 521.0 ns/op BenchmarkString/100/Base10-4 49744 2431 ns/op BenchmarkString/1000/Base10-4 5420 20848 ns/op BenchmarkString/10/Base16-4 455179 273.9 ns/op BenchmarkString/100/Base16-4 108480 1100 ns/op BenchmarkString/1000/Base16-4 12847 9325 ns/op BenchmarkLeafSize/0-4 48 2259332 ns/op BenchmarkLeafSize/1-4 464 239729 ns/op BenchmarkLeafSize/2-4 480 240344 ns/op BenchmarkLeafSize/3-4 346 324907 ns/op BenchmarkLeafSize/4-4 464 233143 ns/op BenchmarkLeafSize/5-4 309 372532 ns/op BenchmarkLeafSize/6-4 356 328652 ns/op BenchmarkLeafSize/7-4 394 302343 ns/op BenchmarkLeafSize/8-4 510 226605 ns/op BenchmarkLeafSize/9-4 259 441735 ns/op BenchmarkLeafSize/10-4 309 359993 ns/op BenchmarkLeafSize/11-4 334 353049 ns/op BenchmarkLeafSize/12-4 356 328497 ns/op BenchmarkLeafSize/13-4 332 338355 ns/op BenchmarkLeafSize/14-4 374 298768 ns/op BenchmarkLeafSize/15-4 405 275162 ns/op BenchmarkLeafSize/16-4 494 222072 ns/op BenchmarkLeafSize/32-4 475 231630 ns/op BenchmarkLeafSize/64-4 474 242011 ns/op BenchmarkProbablyPrime/n=0-4 10 10491979 ns/op BenchmarkProbablyPrime/n=1-4 9 11804699 ns/op BenchmarkProbablyPrime/n=5-4 6 16865583 ns/op BenchmarkProbablyPrime/n=10-4 5 22843802 ns/op BenchmarkProbablyPrime/n=20-4 3 35584323 ns/op BenchmarkProbablyPrime/Lucas-4 12 9075382 ns/op BenchmarkProbablyPrime/MillerRabinBase2-4 88 1324010 ns/op BenchmarkRatCmp-4 212924 520.8 ns/op BenchmarkFloatSqrt/64-4 20845 5385 ns/op 208 B/op 5 allocs/op BenchmarkFloatSqrt/128-4 13975 8532 ns/op 256 B/op 5 allocs/op BenchmarkFloatSqrt/256-4 9915 12038 ns/op 352 B/op 5 allocs/op BenchmarkFloatSqrt/1000-4 5186 23331 ns/op 1312 B/op 6 allocs/op BenchmarkFloatSqrt/10000-4 922 122995 ns/op 18071 B/op 9 allocs/op BenchmarkFloatSqrt/100000-4 68 1618884 ns/op 175818 B/op 20 allocs/op BenchmarkFloatSqrt/1000000-4 1 126296600 ns/op 3920640 B/op 702 allocs/op PASS ok math/big 48.520s ##### 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/bits cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLeadingZeros-4 7850468 15.13 ns/op BenchmarkLeadingZeros8-4 7723804 15.42 ns/op BenchmarkLeadingZeros16-4 8763016 13.57 ns/op BenchmarkLeadingZeros32-4 8990617 13.37 ns/op BenchmarkLeadingZeros64-4 8253606 14.50 ns/op BenchmarkTrailingZeros-4 8826118 13.38 ns/op BenchmarkTrailingZeros8-4 8921367 13.34 ns/op BenchmarkTrailingZeros16-4 8846499 13.58 ns/op BenchmarkTrailingZeros32-4 8926552 13.35 ns/op BenchmarkTrailingZeros64-4 8716249 13.62 ns/op BenchmarkOnesCount-4 8945966 13.37 ns/op BenchmarkOnesCount8-4 9247569 12.90 ns/op BenchmarkOnesCount16-4 8655525 13.92 ns/op BenchmarkOnesCount32-4 8669092 13.86 ns/op BenchmarkOnesCount64-4 8629993 13.85 ns/op BenchmarkRotateLeft-4 8532450 13.81 ns/op BenchmarkRotateLeft8-4 9346249 12.85 ns/op BenchmarkRotateLeft16-4 9194342 13.19 ns/op BenchmarkRotateLeft32-4 9306704 12.86 ns/op BenchmarkRotateLeft64-4 9298411 12.88 ns/op BenchmarkReverse-4 12252454 9.475 ns/op BenchmarkReverse8-4 15690876 7.518 ns/op BenchmarkReverse16-4 14842755 7.858 ns/op BenchmarkReverse32-4 13585482 8.650 ns/op BenchmarkReverse64-4 12425127 9.650 ns/op BenchmarkReverseBytes-4 16650544 7.254 ns/op BenchmarkReverseBytes16-4 16684370 7.202 ns/op BenchmarkReverseBytes32-4 16636326 7.164 ns/op BenchmarkReverseBytes64-4 16764585 7.149 ns/op BenchmarkAdd-4 8680466 13.95 ns/op BenchmarkAdd32-4 9286408 12.92 ns/op BenchmarkAdd64-4 8773897 13.56 ns/op BenchmarkAdd64multiple-4 18571869 6.511 ns/op BenchmarkSub-4 8981392 13.37 ns/op BenchmarkSub32-4 8903955 13.37 ns/op BenchmarkSub64-4 8921492 13.67 ns/op BenchmarkSub64multiple-4 18041493 6.541 ns/op BenchmarkMul-4 9143155 13.13 ns/op BenchmarkMul32-4 9231560 12.88 ns/op BenchmarkMul64-4 9071094 13.09 ns/op BenchmarkDiv-4 2643662 45.29 ns/op BenchmarkDiv32-4 5560419 21.49 ns/op BenchmarkDiv64-4 2599388 46.05 ns/op PASS ok math/bits 5.885s goos: linux goarch: amd64 pkg: math/cmplx cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAbs-4 10318261 10.57 ns/op BenchmarkAcos-4 467391 255.8 ns/op BenchmarkAcosh-4 417349 276.2 ns/op BenchmarkAsin-4 462231 255.4 ns/op BenchmarkAsinh-4 470677 255.5 ns/op BenchmarkAtan-4 724156 164.2 ns/op BenchmarkAtanh-4 696553 162.3 ns/op BenchmarkConj-4 22696119 5.272 ns/op BenchmarkCos-4 520722 207.5 ns/op BenchmarkCosh-4 587024 204.2 ns/op BenchmarkExp-4 777854 153.4 ns/op BenchmarkLog-4 792220 142.5 ns/op BenchmarkLog10-4 813158 142.9 ns/op BenchmarkPhase-4 1777429 66.62 ns/op BenchmarkPolar-4 1220322 98.56 ns/op BenchmarkPow-4 230509 514.8 ns/op BenchmarkRect-4 1000000 114.6 ns/op BenchmarkSin-4 568371 204.3 ns/op BenchmarkSinh-4 576825 204.7 ns/op BenchmarkSqrt-4 1000000 115.2 ns/op BenchmarkTan-4 363265 322.2 ns/op BenchmarkTanh-4 393284 299.7 ns/op PASS ok math/cmplx 3.062s goos: linux goarch: amd64 pkg: math/rand cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkInt63Threadsafe-4 766044 157.1 ns/op BenchmarkInt63ThreadsafeParallel-4 553801 241.2 ns/op BenchmarkInt63Unthreadsafe-4 1255413 95.36 ns/op BenchmarkIntn1000-4 840915 135.1 ns/op BenchmarkInt63n1000-4 899208 126.2 ns/op BenchmarkInt31n1000-4 962506 116.4 ns/op BenchmarkFloat32-4 998818 112.9 ns/op BenchmarkFloat64-4 1245915 96.13 ns/op BenchmarkPerm3-4 200132 616.9 ns/op BenchmarkPerm30-4 23366 5040 ns/op BenchmarkPerm30ViaShuffle-4 26685 4473 ns/op BenchmarkShuffleOverhead-4 18289 6567 ns/op BenchmarkRead3-4 900222 127.3 ns/op BenchmarkRead64-4 76611 1542 ns/op BenchmarkRead1000-4 5244 22791 ns/op BenchmarkConcurrent-4 153780 912.1 ns/op PASS ok math/rand 2.499s goos: linux goarch: amd64 pkg: mime cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkQEncodeWord-4 43190 2751 ns/op BenchmarkQDecodeWord-4 99006 1107 ns/op BenchmarkQDecodeHeader-4 95652 1190 ns/op BenchmarkTypeByExtension/.html-4 438036 253.1 ns/op BenchmarkTypeByExtension/.HTML-4 301323 340.0 ns/op BenchmarkTypeByExtension/.unused-4 296085 357.9 ns/op BenchmarkExtensionsByType/text/html-4 156565 736.9 ns/op BenchmarkExtensionsByType/text/html;_charset=utf-8-4 89475 1352 ns/op BenchmarkExtensionsByType/application/octet-stream-4 107032 1019 ns/op PASS ok mime 1.470s goos: linux goarch: amd64 pkg: mime/quotedprintable cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkWriter-4 930 124137 ns/op PASS ok mime/quotedprintable 0.165s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: net cpu: AMD EPYC 7B12 BenchmarkGoLookupIP-4 130 883623 ns/op 8482 B/op 91 allocs/op BenchmarkGoLookupIPNoSuchHost-4 13 8299605 ns/op 19420 B/op 160 allocs/op BenchmarkGoLookupIPWithBrokenNameServer-4 1 5009663927 ns/op 158784 B/op 231 allocs/op BenchmarkDNSName-4 120544 968.7 ns/op BenchmarkInterfaces-4 1850 61898 ns/op BenchmarkInterfaceByIndex-4 2412 46705 ns/op BenchmarkInterfaceByName-4 1872 59778 ns/op BenchmarkInterfaceAddrs-4 1242 93934 ns/op BenchmarkInterfacesAndAddrs-4 4546 24678 ns/op BenchmarkInterfacesAndMulticastAddrs-4 691 166657 ns/op BenchmarkParseIP-4 6596 15934 ns/op BenchmarkParseIPValidIPv4-4 472648 239.4 ns/op BenchmarkParseIPValidIPv6-4 208096 568.1 ns/op BenchmarkIPString/IPv4-4 125203 982.0 ns/op 32 B/op 2 allocs/op BenchmarkIPString/IPv6-4 9619 10583 ns/op 216 B/op 11 allocs/op BenchmarkIPMaskString-4 57600 2090 ns/op BenchmarkIPEqual/IPv4-4 1237120 96.83 ns/op BenchmarkIPEqual/IPv6-4 1253485 94.24 ns/op BenchmarkSendFile/1024-4 1 226944144 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/2048-4 1 222244359 ns/op 0.01 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/4096-4 1 222608699 ns/op 0.02 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/8192-4 1 222290955 ns/op 0.04 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/16384-4 1 222293067 ns/op 0.07 MB/s 584 B/op 12 allocs/op BenchmarkSendFile/32768-4 5332 22113 ns/op 1481.85 MB/s 0 B/op 0 allocs/op BenchmarkSendFile/65536-4 2580 43307 ns/op 1513.29 MB/s 0 B/op 0 allocs/op BenchmarkSendFile/131072-4 1315 77414 ns/op 1693.13 MB/s 0 B/op 0 allocs/op BenchmarkSendFile/262144-4 844 174305 ns/op 1503.94 MB/s 0 B/op 0 allocs/op BenchmarkSendFile/524288-4 321 332887 ns/op 1574.97 MB/s 1 B/op 0 allocs/op BenchmarkSendFile/1048576-4 150 681541 ns/op 1538.54 MB/s 4 B/op 0 allocs/op BenchmarkSplice/tcp-to-tcp/1024-4 14930 8677 ns/op 118.01 MB/s BenchmarkSplice/tcp-to-tcp/2048-4 10926 9973 ns/op 205.35 MB/s BenchmarkSplice/tcp-to-tcp/4096-4 10008 11686 ns/op 350.51 MB/s BenchmarkSplice/tcp-to-tcp/8192-4 10452 14925 ns/op 548.87 MB/s BenchmarkSplice/tcp-to-tcp/16384-4 5175 21483 ns/op 762.66 MB/s BenchmarkSplice/tcp-to-tcp/32768-4 3784 30327 ns/op 1080.50 MB/s BenchmarkSplice/tcp-to-tcp/65536-4 1995 55152 ns/op 1188.28 MB/s BenchmarkSplice/tcp-to-tcp/131072-4 1131 95436 ns/op 1373.40 MB/s BenchmarkSplice/tcp-to-tcp/262144-4 692 200071 ns/op 1310.25 MB/s BenchmarkSplice/tcp-to-tcp/524288-4 319 338097 ns/op 1550.71 MB/s BenchmarkSplice/tcp-to-tcp/1048576-4 169 618039 ns/op 1696.62 MB/s BenchmarkSplice/unix-to-tcp/1024-4 20179 4988 ns/op 205.29 MB/s BenchmarkSplice/unix-to-tcp/2048-4 23643 5386 ns/op 380.27 MB/s BenchmarkSplice/unix-to-tcp/4096-4 16635 6501 ns/op 630.03 MB/s BenchmarkSplice/unix-to-tcp/8192-4 11695 8955 ns/op 914.79 MB/s BenchmarkSplice/unix-to-tcp/16384-4 9166 13455 ns/op 1217.69 MB/s BenchmarkSplice/unix-to-tcp/32768-4 4704 23149 ns/op 1415.53 MB/s BenchmarkSplice/unix-to-tcp/65536-4 2212 47161 ns/op 1389.62 MB/s BenchmarkSplice/unix-to-tcp/131072-4 1219 84746 ns/op 1546.65 MB/s BenchmarkSplice/unix-to-tcp/262144-4 588 180697 ns/op 1450.74 MB/s BenchmarkSplice/unix-to-tcp/524288-4 340 358266 ns/op 1463.40 MB/s BenchmarkSplice/unix-to-tcp/1048576-4 176 631729 ns/op 1659.85 MB/s BenchmarkSpliceFile/tcp-to-file/1024-4 10435 11478 ns/op 89.21 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/2048-4 7240 15207 ns/op 134.67 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/4096-4 10395 11944 ns/op 342.93 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/8192-4 8010 15429 ns/op 530.96 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/16384-4 5077 22370 ns/op 732.40 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/32768-4 4483 27615 ns/op 1186.61 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/65536-4 2628 46970 ns/op 1395.26 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/131072-4 1152 93997 ns/op 1394.42 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/262144-4 790 163182 ns/op 1606.45 MB/s 1 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/524288-4 412 364191 ns/op 1439.60 MB/s 2 B/op 0 allocs/op BenchmarkSpliceFile/tcp-to-file/1048576-4 207 577145 ns/op 1816.83 MB/s 4 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/1024-4 29995 3766 ns/op 271.87 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/2048-4 26728 4831 ns/op 423.91 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/4096-4 14190 7299 ns/op 561.14 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/8192-4 12789 10050 ns/op 815.11 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/16384-4 7717 16072 ns/op 1019.39 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/32768-4 5008 21842 ns/op 1500.20 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/65536-4 2404 61372 ns/op 1067.85 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/131072-4 1425 80172 ns/op 1634.89 MB/s 0 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/262144-4 772 140425 ns/op 1866.79 MB/s 1 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/524288-4 380 295499 ns/op 1774.25 MB/s 2 B/op 0 allocs/op BenchmarkSpliceFile/unix-to-file/1048576-4 182 570837 ns/op 1836.91 MB/s 5 B/op 0 allocs/op BenchmarkTCP4OneShot-4 2635 46705 ns/op BenchmarkTCP4OneShotTimeout-4 2164 46862 ns/op BenchmarkTCP4Persistent-4 16682 7026 ns/op BenchmarkTCP4PersistentTimeout-4 14727 7469 ns/op BenchmarkTCP6OneShot-4 2528 42972 ns/op BenchmarkTCP6OneShotTimeout-4 2302 48015 ns/op BenchmarkTCP6Persistent-4 15334 7850 ns/op BenchmarkTCP6PersistentTimeout-4 15414 7238 ns/op BenchmarkTCP4ConcurrentReadWrite-4 30828 5114 ns/op BenchmarkTCP6ConcurrentReadWrite-4 32019 4791 ns/op BenchmarkSetReadDeadline-4 150039 782.8 ns/op BenchmarkReadWriteMsgUDPAddrPort-4 9144 14530 ns/op 0 B/op 0 allocs/op BenchmarkWriteToReadFromUDP-4 10000 10408 ns/op 16 B/op 1 allocs/op BenchmarkWriteToReadFromUDPAddrPort-4 10000 10168 ns/op 0 B/op 0 allocs/op PASS ok net 32.482s goos: linux goarch: amd64 pkg: net/http cpu: AMD EPYC 7B12 BenchmarkCookieString-4 29934 3933 ns/op 176 B/op 1 allocs/op BenchmarkReadSetCookies-4 11346 10445 ns/op 1168 B/op 21 allocs/op BenchmarkReadCookies-4 16449 7420 ns/op 1840 B/op 11 allocs/op BenchmarkHeaderWriteSubset-4 19214 6284 ns/op 46 B/op 0 allocs/op BenchmarkCopyValues-4 36565 3241 ns/op 736 B/op 11 allocs/op BenchmarkHexEscapeNonASCII-4 52690 2277 ns/op 192 B/op 2 allocs/op BenchmarkServerMatch-4 999300 110.5 ns/op BenchmarkReadRequestChrome-4 4120 27366 ns/op 22.33 MB/s 1844 B/op 14 allocs/op BenchmarkReadRequestCurl-4 11875 10331 ns/op 7.55 MB/s 940 B/op 9 allocs/op BenchmarkReadRequestApachebench-4 9568 10636 ns/op 7.71 MB/s 940 B/op 9 allocs/op BenchmarkReadRequestSiege-4 8082 14810 ns/op 10.20 MB/s 1035 B/op 11 allocs/op BenchmarkReadRequestWrk-4 18097 6638 ns/op 6.03 MB/s 876 B/op 7 allocs/op BenchmarkFileAndServer_1KB/h1-4 344 307468 ns/op 3.33 MB/s BenchmarkFileAndServer_1KB/https1-4 234 452500 ns/op 2.26 MB/s BenchmarkFileAndServer_1KB/h2-4 169 671685 ns/op 1.52 MB/s BenchmarkFileAndServer_16MB/h1-4 3 37487882 ns/op 447.54 MB/s BenchmarkFileAndServer_16MB/https1-4 2 83722555 ns/op 200.39 MB/s BenchmarkFileAndServer_16MB/h2-4 1 201923431 ns/op 83.09 MB/s BenchmarkFileAndServer_64MB/h1-4 1 138940718 ns/op 483.00 MB/s BenchmarkFileAndServer_64MB/https1-4 1 355885780 ns/op 188.57 MB/s BenchmarkFileAndServer_64MB/h2-4 1 778973363 ns/op 86.15 MB/s BenchmarkServeMux-4 285 427540 ns/op 17280 B/op 360 allocs/op BenchmarkServeMux_SkipServe-4 372 331276 ns/op 0 B/op 0 allocs/op BenchmarkClientServer/h1-4 426 262130 ns/op 5933 B/op 64 allocs/op BenchmarkClientServer/https1-4 276 379412 ns/op 6655 B/op 74 allocs/op BenchmarkClientServer/h2-4 222 491001 ns/op 9886 B/op 80 allocs/op BenchmarkClientServerParallel/4/h1-4 1377 87792 ns/op 10248 B/op 80 allocs/op BenchmarkClientServerParallel/4/https1-4 39 3067731 ns/op 78933 B/op 849 allocs/op --- BENCH: BenchmarkClientServerParallel/4/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:38508: read tcp 127.0.0.1:36005->127.0.0.1:38508: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:38518: read tcp 127.0.0.1:36005->127.0.0.1:38518: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:38524: write tcp 127.0.0.1:36005->127.0.0.1:38524: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:38502: write tcp 127.0.0.1:36005->127.0.0.1:38502: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:33366: read tcp 127.0.0.1:44383->127.0.0.1:33366: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:33300: write tcp 127.0.0.1:44383->127.0.0.1:33300: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:33370: write tcp 127.0.0.1:44383->127.0.0.1:33370: use of closed network connection BenchmarkClientServerParallel/4/h2-4 337 358558 ns/op 13433 B/op 127 allocs/op --- BENCH: BenchmarkClientServerParallel/4/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:47694: read tcp 127.0.0.1:39073->127.0.0.1:47694: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:47672: write tcp 127.0.0.1:39073->127.0.0.1:47672: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:47720: write tcp 127.0.0.1:39073->127.0.0.1:47720: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59262: read tcp 127.0.0.1:41089->127.0.0.1:59262: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59326: read tcp 127.0.0.1:41089->127.0.0.1:59326: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59288: write tcp 127.0.0.1:41089->127.0.0.1:59288: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:36600: read tcp 127.0.0.1:39185->127.0.0.1:36600: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:36666: read tcp 127.0.0.1:39185->127.0.0.1:36666: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:36682: write tcp 127.0.0.1:39185->127.0.0.1:36682: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:53944: write tcp 127.0.0.1:43529->127.0.0.1:53944: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h1-4 792 133806 ns/op 17288 B/op 105 allocs/op BenchmarkClientServerParallel/64/https1-4 84 4311389 ns/op 109345 B/op 1172 allocs/op --- BENCH: BenchmarkClientServerParallel/64/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:47810: write tcp 127.0.0.1:38823->127.0.0.1:47810: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:47774: write tcp 127.0.0.1:38823->127.0.0.1:47774: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49948: read tcp 127.0.0.1:34021->127.0.0.1:49948: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49852: read tcp 127.0.0.1:34021->127.0.0.1:49852: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49844: read tcp 127.0.0.1:34021->127.0.0.1:49844: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49838: read tcp 127.0.0.1:34021->127.0.0.1:49838: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49866: write tcp 127.0.0.1:34021->127.0.0.1:49866: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49930: read tcp 127.0.0.1:34021->127.0.0.1:49930: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49894: read tcp 127.0.0.1:34021->127.0.0.1:49894: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49892: read tcp 127.0.0.1:34021->127.0.0.1:49892: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h2-4 123 3292851 ns/op 74833 B/op 868 allocs/op --- BENCH: BenchmarkClientServerParallel/64/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:39590: read tcp 127.0.0.1:40539->127.0.0.1:39590: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:39596: read tcp 127.0.0.1:40539->127.0.0.1:39596: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:39610: write tcp 127.0.0.1:40539->127.0.0.1:39610: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:53990: read tcp 127.0.0.1:44491->127.0.0.1:53990: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:53994: read tcp 127.0.0.1:44491->127.0.0.1:53994: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54074: write tcp 127.0.0.1:44491->127.0.0.1:54074: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54078: write tcp 127.0.0.1:44491->127.0.0.1:54078: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59702: write tcp 127.0.0.1:40581->127.0.0.1:59702: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59736: write tcp 127.0.0.1:40581->127.0.0.1:59736: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59754: write tcp 127.0.0.1:40581->127.0.0.1:59754: use of closed network connection ... [output truncated] BenchmarkServer-4 228 509685 ns/op 3025 B/op 22 allocs/op BenchmarkClient-4 367 338729 ns/op 3752 B/op 45 allocs/op BenchmarkServerFakeConnNoKeepAlive-4 681 150957 ns/op 7409 B/op 54 allocs/op BenchmarkServerFakeConnWithKeepAlive-4 1537 74142 ns/op 3037 B/op 24 allocs/op BenchmarkServerFakeConnWithKeepAliveLite-4 1617 67425 ns/op 1887 B/op 13 allocs/op BenchmarkServerHandlerTypeLen-4 1582 76595 ns/op 2814 B/op 21 allocs/op BenchmarkServerHandlerNoLen-4 1896 71612 ns/op 2676 B/op 19 allocs/op BenchmarkServerHandlerNoType-4 1646 73879 ns/op 2743 B/op 20 allocs/op BenchmarkServerHandlerNoHeader-4 1375 73634 ns/op 1895 B/op 14 allocs/op BenchmarkServerHijack-4 1183 97411 ns/op 16720 B/op 50 allocs/op BenchmarkCloseNotifier/h1-4 384 296622 ns/op 6015 B/op 52 allocs/op BenchmarkResponseStatusLine-4 548325 206.9 ns/op 0 B/op 0 allocs/op PASS ok net/http 11.425s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: net/http/httputil cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkServeHTTP-4 5956 19809 ns/op 34073 B/op 12 allocs/op PASS ok net/http/httputil 0.314s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: net/netip cpu: AMD EPYC 7B12 BenchmarkIPNextPrev-4 95881 1227 ns/op BenchmarkBinaryMarshalRoundTrip/ipv4-4 521503 214.8 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6-4 212226 564.6 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6+zone-4 65452 1868 ns/op BenchmarkStdIPv4-4 143092 821.0 ns/op 16 B/op 1 allocs/op BenchmarkIPv4-4 119365 1002 ns/op 0 B/op 0 allocs/op BenchmarkIPv4_inline-4 120846 990.6 ns/op 0 B/op 0 allocs/op BenchmarkStdIPv6-4 85410 1394 ns/op 16 B/op 1 allocs/op BenchmarkIPv6-4 85707 1349 ns/op 0 B/op 0 allocs/op BenchmarkIPv4Contains-4 1792770 66.61 ns/op 0 B/op 0 allocs/op BenchmarkIPv6Contains-4 1682544 71.06 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v4-4 1299069 92.18 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6-4 275794 408.2 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_ellipsis-4 310306 389.4 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_v4-4 284095 406.4 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_zone-4 83089 1446 ns/op 0 B/op 0 allocs/op BenchmarkStdParseIP/v4-4 313940 370.0 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6-4 145245 799.6 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_ellipsis-4 151393 762.5 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_v4-4 143238 816.9 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_zone-4 74851 1601 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v4-4 355590 323.7 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v6-4 137251 851.8 ns/op 48 B/op 1 allocs/op BenchmarkIPString/v6_ellipsis-4 178957 651.9 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_v4-4 260540 452.9 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_zone-4 158726 734.4 ns/op 24 B/op 1 allocs/op BenchmarkIPStringExpanded/v4-4 321602 376.0 ns/op 16 B/op 1 allocs/op BenchmarkIPStringExpanded/v6-4 181202 650.1 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_ellipsis-4 179296 648.4 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_v4-4 179660 658.1 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_zone-4 130485 884.0 ns/op 128 B/op 2 allocs/op BenchmarkIPMarshalText-4 490446 250.8 ns/op 16 B/op 1 allocs/op BenchmarkAddrPortString/v4-4 159993 779.7 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortString/v6-4 104296 1149 ns/op 112 B/op 3 allocs/op BenchmarkAddrPortString/v6_ellipsis-4 124965 963.7 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_v4-4 151983 732.9 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_zone-4 114008 1042 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortMarshalText/v4-4 265464 438.6 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6-4 124557 891.6 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_ellipsis-4 148194 793.1 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_v4-4 191509 614.2 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_zone-4 139753 856.8 ns/op 64 B/op 1 allocs/op BenchmarkPrefixMasking/IPv4_/32-4 1000000 100.3 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/17-4 1000000 101.6 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/0-4 1236151 102.5 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/128-4 1000000 102.2 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/65-4 1000000 104.3 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/0-4 1000000 108.1 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/128-4 1000000 103.4 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/65-4 1000000 104.3 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/0-4 1000000 108.8 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMarshalText-4 379573 313.0 ns/op 24 B/op 1 allocs/op BenchmarkParseAddrPort/v4-4 595069 201.0 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6-4 221300 540.6 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_ellipsis-4 230908 512.4 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_v4-4 216031 560.7 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_zone-4 75267 1620 ns/op 0 B/op 0 allocs/op BenchmarkAs16-4 598912 191.4 ns/op PASS ok net/netip 7.666s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. 2023/03/24 19:12:50 Test RPC server listening on 127.0.0.1:40305 2023/03/24 19:12:50 Test HTTP RPC server listening on 127.0.0.1:38609 goos: linux goarch: amd64 pkg: net/rpc cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEndToEnd-4 1473 72218 ns/op BenchmarkEndToEndHTTP-4 1657 71026 ns/op BenchmarkEndToEndAsync-4 3381 38663 ns/op BenchmarkEndToEndAsyncHTTP-4 3308 33961 ns/op PASS ok net/rpc 0.873s goos: linux goarch: amd64 pkg: net/textproto cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadMIMEHeader/client_headers-4 2973 35218 ns/op BenchmarkReadMIMEHeader/server_headers-4 4791 21414 ns/op BenchmarkUncommon-4 26482 4425 ns/op 480 B/op 5 allocs/op PASS ok net/textproto 0.421s goos: linux goarch: amd64 pkg: net/url cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkString-4 4852 22898 ns/op 1616 B/op 60 allocs/op BenchmarkResolvePath-4 96288 1179 ns/op 32 B/op 2 allocs/op BenchmarkQueryEscape/#00-4 581906 197.4 ns/op 16 B/op 1 allocs/op BenchmarkQueryEscape/#01-4 81522 1376 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#02-4 165982 715.2 ns/op 32 B/op 1 allocs/op BenchmarkQueryEscape/#03-4 79514 1546 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#04-4 12930 9103 ns/op 832 B/op 2 allocs/op BenchmarkPathEscape/#00-4 343923 315.1 ns/op 16 B/op 1 allocs/op BenchmarkPathEscape/#01-4 83323 1420 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#02-4 162900 713.5 ns/op 32 B/op 1 allocs/op BenchmarkPathEscape/#03-4 78001 1539 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#04-4 14683 7943 ns/op 704 B/op 2 allocs/op BenchmarkQueryUnescape/#00-4 197947 610.8 ns/op 16 B/op 1 allocs/op BenchmarkQueryUnescape/#01-4 77725 1545 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#02-4 73503 1584 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#03-4 33970 3471 ns/op 64 B/op 1 allocs/op BenchmarkQueryUnescape/#04-4 6188 18936 ns/op 320 B/op 1 allocs/op BenchmarkPathUnescape/#00-4 194157 608.9 ns/op 16 B/op 1 allocs/op BenchmarkPathUnescape/#01-4 74593 1536 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#02-4 75795 1573 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#03-4 34647 3444 ns/op 64 B/op 1 allocs/op BenchmarkPathUnescape/#04-4 6165 18902 ns/op 320 B/op 1 allocs/op PASS ok net/url 3.201s ##### 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: os cpu: AMD EPYC 7B12 BenchmarkExpand/noop-4 3395754 35.66 ns/op 0 B/op 0 allocs/op BenchmarkExpand/multiple-4 184436 641.9 ns/op 48 B/op 2 allocs/op BenchmarkReaddirname-4 867 120983 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 340 344524 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 722 151224 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 81296 1458 ns/op BenchmarkStatFile-4 64588 1764 ns/op BenchmarkStatDir-4 70012 1707 ns/op BenchmarkLstatDot-4 81031 1428 ns/op BenchmarkLstatFile-4 66428 1822 ns/op BenchmarkLstatDir-4 69790 1721 ns/op PASS ok os 1.556s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: os/exec cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExecHostname-4 160 718621 ns/op 6568 B/op 29 allocs/op PASS ok os/exec 0.222s goos: linux goarch: amd64 pkg: os/user cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCurrent-4 387712 293.1 ns/op PASS ok os/user 0.235s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: reflect cpu: AMD EPYC 7B12 BenchmarkBool-4 3784449 31.33 ns/op BenchmarkString-4 2385740 50.86 ns/op BenchmarkBytes-4 2032609 58.71 ns/op BenchmarkNamedBytes-4 754616 150.1 ns/op BenchmarkBytesArray-4 668228 180.3 ns/op BenchmarkSliceLen-4 2417425 51.21 ns/op BenchmarkMapLen-4 1328060 83.42 ns/op BenchmarkStringLen-4 1597152 73.65 ns/op BenchmarkArrayLen-4 1612616 73.42 ns/op BenchmarkSliceCap-4 2248203 51.11 ns/op BenchmarkDeepEqual/int8-4 651780 182.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int8-4 107010 1123 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int16-4 471358 243.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int16-4 101065 1182 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int32-4 461241 253.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int32-4 97471 1162 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int64-4 486649 238.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int64-4 98907 1172 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int-4 465740 243.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int-4 98812 1160 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint8-4 638402 184.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8-4 125128 884.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint16-4 479109 243.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint16-4 99229 1178 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint32-4 476594 249.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint32-4 98050 1164 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint64-4 476596 240.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint64-4 99789 1203 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint-4 489420 244.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint-4 99681 1168 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uintptr-4 457111 242.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uintptr-4 99249 1151 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float32-4 476348 242.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float32-4 102759 1163 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float64-4 487650 234.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float64-4 100856 1184 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex64-4 489973 244.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex64-4 100219 1194 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex128-4 485966 239.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex128-4 102102 1147 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/bool-4 622981 186.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]bool-4 104929 1111 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/string-4 503682 235.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]string-4 97788 1150 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8#01-4 134161 892.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][]uint8-4 62706 1848 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[6]uint8-4 65516 1773 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][6]uint8-4 44314 2720 ns/op 0 B/op 0 allocs/op BenchmarkIsZero/ArrayComparable-4 269426 442.7 ns/op BenchmarkIsZero/ArrayIncomparable-4 39424 2936 ns/op BenchmarkIsZero/StructComparable-4 819268 141.3 ns/op BenchmarkIsZero/StructIncomparable-4 176517 663.3 ns/op BenchmarkSetZero/Bool/Direct-4 3703780 31.51 ns/op BenchmarkSetZero/Bool/CachedZero-4 1583313 71.27 ns/op BenchmarkSetZero/Bool/NewZero-4 1238942 97.96 ns/op BenchmarkSetZero/Int/Direct-4 2185828 52.13 ns/op BenchmarkSetZero/Int/CachedZero-4 1594911 72.58 ns/op BenchmarkSetZero/Int/NewZero-4 1235916 97.22 ns/op BenchmarkSetZero/Uint/Direct-4 2197692 52.30 ns/op BenchmarkSetZero/Uint/CachedZero-4 1657472 71.59 ns/op BenchmarkSetZero/Uint/NewZero-4 1000000 105.6 ns/op BenchmarkSetZero/Float/Direct-4 2215332 51.89 ns/op BenchmarkSetZero/Float/CachedZero-4 1641260 71.96 ns/op BenchmarkSetZero/Float/NewZero-4 1219990 98.23 ns/op BenchmarkSetZero/Complex/Direct-4 2132775 52.69 ns/op BenchmarkSetZero/Complex/CachedZero-4 1484346 72.11 ns/op BenchmarkSetZero/Complex/NewZero-4 1219786 98.81 ns/op BenchmarkSetZero/Array/Direct-4 4043290 29.91 ns/op BenchmarkSetZero/Array/CachedZero-4 1669831 72.78 ns/op BenchmarkSetZero/Array/NewZero-4 1000000 102.7 ns/op BenchmarkSetZero/Chan/Direct-4 2249839 51.82 ns/op BenchmarkSetZero/Chan/CachedZero-4 1268896 88.11 ns/op BenchmarkSetZero/Chan/NewZero-4 991677 123.3 ns/op BenchmarkSetZero/Func/Direct-4 2368684 52.01 ns/op BenchmarkSetZero/Func/CachedZero-4 1349408 90.07 ns/op BenchmarkSetZero/Func/NewZero-4 989168 114.7 ns/op BenchmarkSetZero/Interface/Direct-4 2075690 56.52 ns/op BenchmarkSetZero/Interface/CachedZero-4 1611668 74.50 ns/op BenchmarkSetZero/Interface/NewZero-4 1233201 99.38 ns/op BenchmarkSetZero/Map/Direct-4 2332395 53.47 ns/op BenchmarkSetZero/Map/CachedZero-4 1338928 88.52 ns/op BenchmarkSetZero/Map/NewZero-4 994455 117.1 ns/op BenchmarkSetZero/Pointer/Direct-4 2238484 49.83 ns/op BenchmarkSetZero/Pointer/CachedZero-4 1368441 87.67 ns/op BenchmarkSetZero/Pointer/NewZero-4 982623 116.9 ns/op BenchmarkSetZero/Slice/Direct-4 1942410 58.87 ns/op BenchmarkSetZero/Slice/CachedZero-4 1698303 72.00 ns/op BenchmarkSetZero/Slice/NewZero-4 1209565 99.44 ns/op BenchmarkSetZero/String/Direct-4 2381612 51.37 ns/op BenchmarkSetZero/String/CachedZero-4 1606309 73.72 ns/op BenchmarkSetZero/String/NewZero-4 1204040 97.23 ns/op BenchmarkSetZero/Struct/Direct-4 4086369 29.91 ns/op BenchmarkSetZero/Struct/CachedZero-4 1640626 72.01 ns/op BenchmarkSetZero/Struct/NewZero-4 1233454 98.10 ns/op BenchmarkSelect/1-4 177432 653.3 ns/op 80 B/op 5 allocs/op BenchmarkSelect/4-4 91552 1248 ns/op 208 B/op 8 allocs/op BenchmarkSelect/8-4 51799 2283 ns/op 672 B/op 13 allocs/op BenchmarkCall-4 180663 628.5 ns/op 0 B/op 0 allocs/op BenchmarkCallMethod-4 146216 827.9 ns/op 0 B/op 0 allocs/op BenchmarkCallArgCopy/size=128-4 94299 1313 ns/op 97.52 MB/s BenchmarkCallArgCopy/size=256-4 90486 1328 ns/op 192.82 MB/s BenchmarkCallArgCopy/size=1024-4 73375 1607 ns/op 637.16 MB/s BenchmarkCallArgCopy/size=4096-4 39727 2813 ns/op 1456.13 MB/s BenchmarkCallArgCopy/size=65536-4 4251 33198 ns/op 1974.07 MB/s BenchmarkPtrTo-4 609632 205.7 ns/op BenchmarkFieldByName1-4 789930 142.9 ns/op BenchmarkFieldByName2-4 71916 1557 ns/op BenchmarkFieldByName3-4 9370 11356 ns/op BenchmarkInterfaceBig-4 3837672 27.00 ns/op BenchmarkInterfaceSmall-4 4817142 25.70 ns/op BenchmarkNew-4 2147499 56.75 ns/op BenchmarkMap/StringKeys/MapIndex-4 3282 34946 ns/op 0 B/op 0 allocs/op BenchmarkMap/StringKeys/SetMapIndex-4 3244 36639 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/MapIndex-4 3123 36253 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/SetMapIndex-4 3014 37230 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/MapIndex-4 3266 35137 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/SetMapIndex-4 3146 36501 ns/op 0 B/op 0 allocs/op BenchmarkMapIterNext-4 246469 462.5 ns/op PASS ok reflect 18.495s goos: linux goarch: amd64 pkg: regexp cpu: AMD EPYC 7B12 BenchmarkFind-4 13338 9031 ns/op 9243 B/op 1 allocs/op BenchmarkFindAllNoMatches-4 18883 6316 ns/op 9222 B/op 1 allocs/op BenchmarkFindString-4 14431 8586 ns/op 9144 B/op 1 allocs/op BenchmarkFindSubmatch-4 13003 9843 ns/op 9343 B/op 2 allocs/op BenchmarkFindStringSubmatch-4 13260 8924 ns/op 9502 B/op 2 allocs/op BenchmarkLiteral-4 17264 5844 ns/op BenchmarkNotLiteral-4 4213 24285 ns/op BenchmarkMatchClass-4 3426 32820 ns/op BenchmarkMatchClass_InRange-4 3292 32285 ns/op BenchmarkReplaceAll-4 2480 42071 ns/op BenchmarkAnchoredLiteralShortNonMatch-4 20061 6374 ns/op BenchmarkAnchoredLiteralLongNonMatch-4 43189 2717 ns/op BenchmarkAnchoredShortMatch-4 17132 6690 ns/op BenchmarkAnchoredLongMatch-4 20806 5653 ns/op BenchmarkOnePassShortA-4 22971 5406 ns/op BenchmarkNotOnePassShortA-4 8863 12910 ns/op BenchmarkOnePassShortB-4 29263 4255 ns/op BenchmarkNotOnePassShortB-4 10000 10167 ns/op BenchmarkOnePassLongPrefix-4 93286 1365 ns/op BenchmarkOnePassLongNotPrefix-4 31354 4049 ns/op BenchmarkMatchParallelShared-4 21350 5244 ns/op BenchmarkMatchParallelCopied-4 20754 5265 ns/op BenchmarkQuoteMetaAll-4 177254 639.1 ns/op 21.91 MB/s BenchmarkQuoteMetaNone-4 381853 305.9 ns/op 85.01 MB/s BenchmarkCompile/Onepass-4 4254 26326 ns/op 4144 B/op 52 allocs/op BenchmarkCompile/Medium-4 1651 67943 ns/op 9704 B/op 112 allocs/op BenchmarkCompile/Hard-4 200 579616 ns/op 84760 B/op 424 allocs/op BenchmarkMatch/Easy0/16-4 4301758 26.90 ns/op 594.72 MB/s BenchmarkMatch/Easy0/32-4 21579 5530 ns/op 5.79 MB/s BenchmarkMatch/Easy0/1K-4 6982 16061 ns/op 63.76 MB/s BenchmarkMatch/Easy0i/16-4 4409907 26.27 ns/op 609.05 MB/s BenchmarkMatch/Easy0i/32-4 5620 19176 ns/op 1.67 MB/s BenchmarkMatch/Easy0i/1K-4 286 416331 ns/op 2.46 MB/s BenchmarkMatch/Easy1/16-4 4324840 26.37 ns/op 606.78 MB/s BenchmarkMatch/Easy1/32-4 20006 6078 ns/op 5.26 MB/s BenchmarkMatch/Easy1/1K-4 5278 22574 ns/op 45.36 MB/s BenchmarkMatch/Medium/16-4 4222946 26.20 ns/op 610.72 MB/s BenchmarkMatch/Medium/32-4 6636 16846 ns/op 1.90 MB/s BenchmarkMatch/Medium/1K-4 340 348749 ns/op 2.94 MB/s BenchmarkMatch/Hard/16-4 4528456 26.39 ns/op 606.25 MB/s BenchmarkMatch/Hard/32-4 4518 26867 ns/op 1.19 MB/s BenchmarkMatch/Hard/1K-4 188 635478 ns/op 1.61 MB/s BenchmarkMatch/Hard1/16-4 1717 73065 ns/op 0.22 MB/s BenchmarkMatch/Hard1/32-4 919 127509 ns/op 0.25 MB/s BenchmarkMatch/Hard1/1K-4 27 4227879 ns/op 0.24 MB/s BenchmarkMatch_onepass_regex/16-4 31302 3824 ns/op 4.18 MB/s 24 B/op 0 allocs/op BenchmarkMatch_onepass_regex/32-4 18198 6534 ns/op 4.90 MB/s 23 B/op 0 allocs/op BenchmarkMatch_onepass_regex/1K-4 656 174098 ns/op 5.88 MB/s 25 B/op 0 allocs/op PASS ok regexp 7.416s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: regexp/syntax cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEmptyOpContext-4 626878 187.0 ns/op BenchmarkIsWordChar-4 192434 616.4 ns/op PASS ok regexp/syntax 1.280s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: runtime cpu: AMD EPYC 7B12 BenchmarkCallers/cached-4 72649 1698 ns/op BenchmarkCallers/inlined-4 61729 1965 ns/op BenchmarkCallers/no-cache-4 14743 8149 ns/op BenchmarkMakeChan/Byte-4 1000000 105.2 ns/op BenchmarkMakeChan/Int-4 987312 119.5 ns/op BenchmarkMakeChan/Ptr-4 615235 186.6 ns/op BenchmarkMakeChan/Struct/0-4 1286919 88.96 ns/op BenchmarkMakeChan/Struct/32-4 618316 208.3 ns/op BenchmarkMakeChan/Struct/40-4 458883 227.8 ns/op BenchmarkChanNonblocking-4 11861185 9.458 ns/op BenchmarkSelectUncontended-4 1180526 92.96 ns/op BenchmarkSelectSyncContended-4 47316 3531 ns/op BenchmarkSelectAsyncContended-4 118994 1163 ns/op BenchmarkSelectNonblock-4 7395427 16.16 ns/op BenchmarkChanUncontended-4 14205 13333 ns/op BenchmarkChanContended-4 1272 79818 ns/op BenchmarkChanSync-4 165033 688.6 ns/op BenchmarkChanSyncWork-4 10000 12062 ns/op BenchmarkChanProdCons0-4 142279 1078 ns/op BenchmarkChanProdCons10-4 147829 901.4 ns/op BenchmarkChanProdCons100-4 165427 990.0 ns/op BenchmarkChanProdConsWork0-4 63160 1902 ns/op BenchmarkChanProdConsWork10-4 90556 1195 ns/op BenchmarkChanProdConsWork100-4 87951 1327 ns/op BenchmarkSelectProdCons-4 74629 1790 ns/op BenchmarkReceiveDataFromClosedChan-4 1000000 113.6 ns/op BenchmarkChanCreation-4 230004 493.2 ns/op BenchmarkChanSem-4 193940 946.8 ns/op BenchmarkChanPopular-4 121 1197148 ns/op BenchmarkChanClosed-4 886497 128.1 ns/op BenchmarkCallClosure-4 7954155 15.24 ns/op BenchmarkCallClosure1-4 7832686 15.03 ns/op BenchmarkCallClosure2-4 1496259 79.24 ns/op BenchmarkCallClosure3-4 1674619 71.40 ns/op BenchmarkCallClosure4-4 1363952 86.58 ns/op BenchmarkComplex128DivNormal-4 12216298 9.811 ns/op BenchmarkComplex128DivNisNaN-4 9444630 12.63 ns/op BenchmarkComplex128DivDisNaN-4 9254166 12.96 ns/op BenchmarkComplex128DivNisInf-4 11963973 9.828 ns/op BenchmarkComplex128DivDisInf-4 7054104 16.99 ns/op BenchmarkSetTypePtr-4 44928002 2.662 ns/op 3004.73 MB/s BenchmarkSetTypePtr8-4 13083278 9.219 ns/op 6942.22 MB/s BenchmarkSetTypePtr16-4 13034988 9.167 ns/op 13962.95 MB/s BenchmarkSetTypePtr32-4 13070270 9.335 ns/op 27423.22 MB/s BenchmarkSetTypePtr64-4 13055266 9.228 ns/op 55482.03 MB/s BenchmarkSetTypePtr126-4 8222791 14.60 ns/op 69060.92 MB/s BenchmarkSetTypePtr128-4 8491779 14.05 ns/op 72884.00 MB/s BenchmarkSetTypePtrSlice-4 1000000 102.5 ns/op 79932.42 MB/s BenchmarkSetTypeNode1-4 13053141 9.208 ns/op 2606.31 MB/s BenchmarkSetTypeNode1Slice-4 5651406 20.99 ns/op 36592.15 MB/s BenchmarkSetTypeNode8-4 13037010 9.197 ns/op 8698.76 MB/s BenchmarkSetTypeNode8Slice-4 2662774 44.53 ns/op 57485.94 MB/s BenchmarkSetTypeNode64-4 8074976 14.54 ns/op 36313.84 MB/s BenchmarkSetTypeNode64Slice-4 308745 379.5 ns/op 44526.07 MB/s BenchmarkSetTypeNode64Dead-4 10280403 11.59 ns/op 45540.85 MB/s BenchmarkSetTypeNode64DeadSlice-4 355443 334.0 ns/op 50588.42 MB/s BenchmarkSetTypeNode124-4 8110622 14.55 ns/op 69297.60 MB/s BenchmarkSetTypeNode124Slice-4 251253 464.1 ns/op 69508.41 MB/s BenchmarkSetTypeNode126-4 8431867 14.04 ns/op 72928.23 MB/s BenchmarkSetTypeNode126Slice-4 250413 472.5 ns/op 69350.49 MB/s BenchmarkSetTypeNode128-4 5997956 20.00 ns/op 52003.17 MB/s BenchmarkSetTypeNode128Slice-4 198118 614.4 ns/op 54170.66 MB/s BenchmarkSetTypeNode130-4 5834278 20.08 ns/op 52576.57 MB/s BenchmarkSetTypeNode130Slice-4 191366 614.8 ns/op 54966.22 MB/s BenchmarkSetTypeNode1024-4 1000000 104.9 ns/op 78251.37 MB/s BenchmarkSetTypeNode1024Slice-4 35017 3402 ns/op 77204.09 MB/s BenchmarkAllocation-4 3784 27069 ns/op BenchmarkReadMemStats-4 3907 29930 ns/op BenchmarkReadMemStatsLatency-4 1 240170 p50-ns 240170 p90-ns 240170 p99-ns BenchmarkWriteBarrier-4 2743362 43.91 ns/op BenchmarkBulkWriteBarrier-4 9846405 14.66 ns/op BenchmarkScanStackNoLocals-4 3 34656110 ns/op BenchmarkMSpanCountAlloc/bits=64-4 12418590 9.207 ns/op BenchmarkMSpanCountAlloc/bits=128-4 13253308 9.260 ns/op BenchmarkMSpanCountAlloc/bits=256-4 10869612 10.94 ns/op BenchmarkMSpanCountAlloc/bits=512-4 8261240 15.10 ns/op BenchmarkMSpanCountAlloc/bits=1024-4 6080938 20.81 ns/op BenchmarkHash5-4 8288407 14.71 ns/op 339.90 MB/s BenchmarkHash16-4 7152162 15.16 ns/op 1055.73 MB/s BenchmarkHash64-4 8238711 15.35 ns/op 4168.67 MB/s BenchmarkHash1024-4 3612530 33.02 ns/op 31010.93 MB/s BenchmarkHash65536-4 85755 1429 ns/op 45851.48 MB/s BenchmarkAlignedLoad-4 10388600 12.07 ns/op BenchmarkUnalignedLoad-4 9858883 11.51 ns/op BenchmarkEqEfaceConcrete-4 8182423 14.41 ns/op BenchmarkEqIfaceConcrete-4 7958655 15.96 ns/op BenchmarkNeEfaceConcrete-4 7170033 15.30 ns/op BenchmarkNeIfaceConcrete-4 7479074 14.78 ns/op BenchmarkConvT2EByteSized/bool-4 8108571 14.77 ns/op BenchmarkConvT2EByteSized/uint8-4 7332262 16.31 ns/op BenchmarkConvT2ESmall-4 7273245 16.17 ns/op BenchmarkConvT2EUintptr-4 6584800 17.63 ns/op BenchmarkConvT2ELarge-4 1215524 98.29 ns/op BenchmarkConvT2ISmall-4 6717163 16.49 ns/op BenchmarkConvT2IUintptr-4 6962732 17.62 ns/op BenchmarkConvT2ILarge-4 1000000 104.3 ns/op BenchmarkConvI2E-4 6292970 18.58 ns/op BenchmarkConvI2I-4 5042085 24.31 ns/op BenchmarkAssertE2T-4 5731412 20.72 ns/op BenchmarkAssertE2TLarge-4 3293190 34.41 ns/op BenchmarkAssertE2I-4 5253948 21.31 ns/op BenchmarkAssertI2T-4 5427510 25.29 ns/op BenchmarkAssertI2I-4 5517780 22.81 ns/op BenchmarkAssertI2E-4 7459548 15.68 ns/op BenchmarkAssertE2E-4 7232302 15.13 ns/op BenchmarkAssertE2T2-4 4239627 27.01 ns/op BenchmarkAssertE2T2Blank-4 5646182 20.49 ns/op BenchmarkAssertI2E2-4 5028086 22.64 ns/op BenchmarkAssertI2E2Blank-4 7654812 17.30 ns/op BenchmarkAssertE2E2-4 4925298 21.67 ns/op BenchmarkAssertE2E2Blank-4 7547642 15.46 ns/op BenchmarkConvT2Ezero/zero/16-4 7402598 17.97 ns/op BenchmarkConvT2Ezero/zero/32-4 6286987 18.83 ns/op BenchmarkConvT2Ezero/zero/64-4 6940908 17.66 ns/op BenchmarkConvT2Ezero/zero/str-4 7018719 16.93 ns/op BenchmarkConvT2Ezero/zero/slice-4 6366823 18.05 ns/op BenchmarkConvT2Ezero/zero/big-4 306517 437.1 ns/op BenchmarkConvT2Ezero/nonzero/str-4 1235191 94.90 ns/op BenchmarkConvT2Ezero/nonzero/slice-4 1354646 87.33 ns/op BenchmarkConvT2Ezero/nonzero/big-4 252645 481.9 ns/op BenchmarkConvT2Ezero/smallint/16-4 6233959 17.30 ns/op BenchmarkConvT2Ezero/smallint/32-4 7214311 16.69 ns/op BenchmarkConvT2Ezero/smallint/64-4 6160056 17.43 ns/op BenchmarkConvT2Ezero/largeint/16-4 1800968 67.67 ns/op BenchmarkConvT2Ezero/largeint/32-4 1730924 67.58 ns/op BenchmarkConvT2Ezero/largeint/64-4 1787330 65.66 ns/op BenchmarkMalloc8-4 1481466 80.48 ns/op BenchmarkMalloc16-4 1407282 84.84 ns/op BenchmarkMallocTypeInfo8-4 1382804 87.22 ns/op BenchmarkMallocTypeInfo16-4 1262438 96.30 ns/op BenchmarkMallocLargeStruct-4 285849 558.1 ns/op BenchmarkGoroutineSelect-4 66 1924726 ns/op BenchmarkGoroutineBlocking-4 72 1602103 ns/op BenchmarkGoroutineForRange-4 76 1703289 ns/op BenchmarkGoroutineIdle-4 100 1356944 ns/op BenchmarkHashStringSpeed-4 2643498 42.21 ns/op BenchmarkHashBytesSpeed-4 1442914 84.62 ns/op BenchmarkHashInt32Speed-4 3602078 29.87 ns/op BenchmarkHashInt64Speed-4 3425150 35.71 ns/op BenchmarkHashStringArraySpeed-4 612980 187.6 ns/op BenchmarkMegMap-4 3412959 29.92 ns/op BenchmarkMegOneMap-4 4985983 23.26 ns/op BenchmarkMegEqMap-4 3520 29041 ns/op BenchmarkMegEmptyMap-4 6209992 19.47 ns/op BenchmarkSmallStrMap-4 3963642 30.27 ns/op BenchmarkMapStringKeysEight_16-4 3997045 29.04 ns/op BenchmarkMapStringKeysEight_32-4 4268149 27.95 ns/op BenchmarkMapStringKeysEight_64-4 4134836 28.65 ns/op BenchmarkMapStringKeysEight_1M-4 4156710 28.79 ns/op BenchmarkIntMap-4 4893661 24.56 ns/op BenchmarkMapFirst/1-4 6065224 19.75 ns/op BenchmarkMapFirst/2-4 5893054 20.34 ns/op BenchmarkMapFirst/3-4 6074432 19.66 ns/op BenchmarkMapFirst/4-4 5696498 20.53 ns/op BenchmarkMapFirst/5-4 5891955 19.66 ns/op BenchmarkMapFirst/6-4 5854946 21.55 ns/op BenchmarkMapFirst/7-4 5993080 19.62 ns/op BenchmarkMapFirst/8-4 5214594 23.18 ns/op BenchmarkMapFirst/9-4 4907457 23.02 ns/op BenchmarkMapFirst/10-4 4965688 24.70 ns/op BenchmarkMapFirst/11-4 4967608 24.02 ns/op BenchmarkMapFirst/12-4 4535540 24.50 ns/op BenchmarkMapFirst/13-4 5260620 22.79 ns/op BenchmarkMapFirst/14-4 4899097 23.93 ns/op BenchmarkMapFirst/15-4 5293278 26.00 ns/op BenchmarkMapFirst/16-4 4876772 26.34 ns/op BenchmarkMapMid/1-4 4791336 23.96 ns/op BenchmarkMapMid/2-4 4797820 25.06 ns/op BenchmarkMapMid/3-4 4825890 24.57 ns/op BenchmarkMapMid/4-4 4654123 25.38 ns/op BenchmarkMapMid/5-4 4732930 24.27 ns/op BenchmarkMapMid/6-4 4572709 26.06 ns/op BenchmarkMapMid/7-4 4276538 28.14 ns/op BenchmarkMapMid/8-4 4480054 25.86 ns/op BenchmarkMapMid/9-4 3821859 28.37 ns/op BenchmarkMapMid/10-4 3721707 31.68 ns/op BenchmarkMapMid/11-4 3716926 31.05 ns/op BenchmarkMapMid/12-4 3681303 34.45 ns/op BenchmarkMapMid/13-4 3675322 31.61 ns/op BenchmarkMapMid/14-4 3772155 28.99 ns/op BenchmarkMapMid/15-4 3768879 29.08 ns/op BenchmarkMapMid/16-4 3939966 28.12 ns/op BenchmarkMapLast/1-4 5024020 23.90 ns/op BenchmarkMapLast/2-4 4750545 24.88 ns/op BenchmarkMapLast/3-4 4341378 25.50 ns/op BenchmarkMapLast/4-4 4071123 29.65 ns/op BenchmarkMapLast/5-4 4661253 26.42 ns/op BenchmarkMapLast/6-4 4317108 27.68 ns/op BenchmarkMapLast/7-4 4279870 28.65 ns/op BenchmarkMapLast/8-4 3782292 29.03 ns/op BenchmarkMapLast/9-4 3668234 32.39 ns/op BenchmarkMapLast/10-4 3665773 29.80 ns/op BenchmarkMapLast/11-4 3758155 31.63 ns/op BenchmarkMapLast/12-4 3533544 32.46 ns/op BenchmarkMapLast/13-4 3935319 32.87 ns/op BenchmarkMapLast/14-4 3951268 29.67 ns/op BenchmarkMapLast/15-4 3710252 31.12 ns/op BenchmarkMapLast/16-4 3660741 29.23 ns/op BenchmarkMapCycle-4 2604699 46.91 ns/op BenchmarkRepeatedLookupStrMapKey32-4 4179163 28.71 ns/op BenchmarkRepeatedLookupStrMapKey1M-4 4857 22992 ns/op BenchmarkMakeMap/[Byte]Byte-4 640399 178.5 ns/op BenchmarkMakeMap/[Int]Int-4 431446 333.3 ns/op BenchmarkNewEmptyMap-4 12969129 8.540 ns/op 0 B/op 0 allocs/op BenchmarkNewSmallMap-4 2015673 59.61 ns/op 0 B/op 0 allocs/op BenchmarkMapIter-4 620866 195.1 ns/op BenchmarkMapIterEmpty-4 6774072 17.72 ns/op BenchmarkSameLengthMap-4 5754355 20.77 ns/op BenchmarkBigKeyMap-4 1688217 71.23 ns/op BenchmarkBigValMap-4 1606164 75.15 ns/op BenchmarkSmallKeyMap-4 3177832 36.20 ns/op BenchmarkMapPopulate/1-4 2426498 45.53 ns/op 0 B/op 0 allocs/op BenchmarkMapPopulate/10-4 150411 792.1 ns/op 179 B/op 1 allocs/op BenchmarkMapPopulate/100-4 7994 15116 ns/op 6273 B/op 15 allocs/op BenchmarkMapPopulate/1000-4 886 135598 ns/op 51783 B/op 56 allocs/op BenchmarkMapPopulate/10000-4 81 1606243 ns/op 416416 B/op 202 allocs/op BenchmarkMapPopulate/100000-4 5 21799311 ns/op 6527096 B/op 2895 allocs/op BenchmarkComplexAlgMap-4 538416 220.0 ns/op BenchmarkGoMapClear/Reflexive/1-4 816732 147.5 ns/op BenchmarkGoMapClear/Reflexive/10-4 665464 168.6 ns/op BenchmarkGoMapClear/Reflexive/100-4 265141 452.4 ns/op BenchmarkGoMapClear/Reflexive/1000-4 47992 2500 ns/op BenchmarkGoMapClear/Reflexive/10000-4 5352 19412 ns/op BenchmarkGoMapClear/NonReflexive/1-4 569947 209.0 ns/op BenchmarkGoMapClear/NonReflexive/10-4 518901 229.3 ns/op BenchmarkGoMapClear/NonReflexive/100-4 232644 504.0 ns/op BenchmarkGoMapClear/NonReflexive/1000-4 47347 2519 ns/op BenchmarkGoMapClear/NonReflexive/10000-4 5595 19340 ns/op BenchmarkMapStringConversion/32/simple-4 1912878 61.60 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/struct-4 1808925 66.85 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/array-4 1671934 71.55 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/simple-4 1827648 65.23 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/struct-4 1710276 69.36 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/array-4 1571924 76.67 ns/op 0 B/op 0 allocs/op BenchmarkMapInterfaceString-4 2277994 53.01 ns/op BenchmarkMapInterfacePtr-4 2331328 48.46 ns/op BenchmarkNewEmptyMapHintLessThan8-4 5271444 22.23 ns/op 0 B/op 0 allocs/op BenchmarkNewEmptyMapHintGreaterThan8-4 163471 779.7 ns/op 1152 B/op 1 allocs/op BenchmarkMapPop100-4 6130 18975 ns/op BenchmarkMapPop1000-4 421 285801 ns/op BenchmarkMapPop10000-4 24 5068417 ns/op BenchmarkMapAssign/Int32/256-4 2756908 43.33 ns/op BenchmarkMapAssign/Int32/65536-4 1636510 82.89 ns/op BenchmarkMapAssign/Int64/256-4 2780226 42.64 ns/op BenchmarkMapAssign/Int64/65536-4 1542848 93.06 ns/op BenchmarkMapAssign/Str/256-4 2118374 54.31 ns/op BenchmarkMapAssign/Str/65536-4 876068 141.7 ns/op BenchmarkMapOperatorAssign/Int32/256-4 1764008 67.64 ns/op BenchmarkMapOperatorAssign/Int32/65536-4 1057189 107.2 ns/op BenchmarkMapOperatorAssign/Int64/256-4 1813956 65.69 ns/op BenchmarkMapOperatorAssign/Int64/65536-4 875971 128.6 ns/op BenchmarkMapOperatorAssign/Str/256-4 558098 2426 ns/op BenchmarkMapOperatorAssign/Str/65536-4 284461 373.2 ns/op BenchmarkMapAppendAssign/Int32/256-4 1000000 108.1 ns/op 32 B/op 0 allocs/op BenchmarkMapAppendAssign/Int32/65536-4 376635 315.0 ns/op 45 B/op 0 allocs/op BenchmarkMapAppendAssign/Int64/256-4 991080 111.4 ns/op 33 B/op 0 allocs/op BenchmarkMapAppendAssign/Int64/65536-4 313899 345.0 ns/op 55 B/op 0 allocs/op BenchmarkMapAppendAssign/Str/256-4 797336 161.4 ns/op 57 B/op 0 allocs/op BenchmarkMapAppendAssign/Str/65536-4 200646 529.8 ns/op 97 B/op 0 allocs/op BenchmarkMapDelete/Int32/100-4 1869864 58.14 ns/op BenchmarkMapDelete/Int32/1000-4 2080983 53.17 ns/op BenchmarkMapDelete/Int32/10000-4 2187933 54.22 ns/op BenchmarkMapDelete/Int64/100-4 2103438 56.32 ns/op BenchmarkMapDelete/Int64/1000-4 2215699 54.33 ns/op BenchmarkMapDelete/Int64/10000-4 2119748 55.33 ns/op BenchmarkMapDelete/Str/100-4 1579480 68.82 ns/op BenchmarkMapDelete/Str/1000-4 1764351 66.94 ns/op BenchmarkMapDelete/Str/10000-4 1666143 72.82 ns/op BenchmarkMapDelete/Pointer/100-4 1937655 67.70 ns/op BenchmarkMapDelete/Pointer/1000-4 2000851 75.21 ns/op BenchmarkMapDelete/Pointer/10000-4 1944483 61.62 ns/op BenchmarkMemmove/0-4 17396613 6.902 ns/op BenchmarkMemmove/1-4 2189035 53.89 ns/op 18.56 MB/s BenchmarkMemmove/2-4 2129029 56.17 ns/op 35.61 MB/s BenchmarkMemmove/3-4 2158036 55.70 ns/op 53.86 MB/s BenchmarkMemmove/4-4 2158940 55.70 ns/op 71.81 MB/s BenchmarkMemmove/5-4 1925497 56.77 ns/op 88.07 MB/s BenchmarkMemmove/6-4 2106771 57.51 ns/op 104.33 MB/s BenchmarkMemmove/7-4 2116701 56.74 ns/op 123.37 MB/s BenchmarkMemmove/8-4 2426395 49.50 ns/op 161.63 MB/s BenchmarkMemmove/9-4 2128942 56.74 ns/op 158.62 MB/s BenchmarkMemmove/10-4 2136490 56.04 ns/op 178.43 MB/s BenchmarkMemmove/11-4 2143035 56.49 ns/op 194.74 MB/s BenchmarkMemmove/12-4 2139766 56.48 ns/op 212.48 MB/s BenchmarkMemmove/13-4 2119440 56.40 ns/op 230.52 MB/s BenchmarkMemmove/14-4 2123716 56.73 ns/op 246.76 MB/s BenchmarkMemmove/15-4 2135180 56.14 ns/op 267.17 MB/s BenchmarkMemmove/16-4 2226904 53.76 ns/op 297.63 MB/s BenchmarkMemmove/32-4 2077435 57.37 ns/op 557.81 MB/s BenchmarkMemmove/64-4 1867789 65.13 ns/op 982.64 MB/s BenchmarkMemmove/128-4 1575319 75.90 ns/op 1686.50 MB/s BenchmarkMemmove/256-4 1201796 100.1 ns/op 2557.25 MB/s BenchmarkMemmove/512-4 654100 181.4 ns/op 2823.27 MB/s BenchmarkMemmove/1024-4 485899 242.9 ns/op 4216.08 MB/s BenchmarkMemmove/2048-4 275276 418.8 ns/op 4889.78 MB/s BenchmarkMemmove/4096-4 153776 781.3 ns/op 5242.33 MB/s BenchmarkMemmoveOverlap/32-4 2071336 57.65 ns/op 555.03 MB/s BenchmarkMemmoveOverlap/64-4 1817332 64.84 ns/op 987.08 MB/s BenchmarkMemmoveOverlap/128-4 1553902 77.04 ns/op 1661.53 MB/s BenchmarkMemmoveOverlap/256-4 1000000 102.3 ns/op 2501.44 MB/s BenchmarkMemmoveOverlap/512-4 681531 172.5 ns/op 2968.19 MB/s BenchmarkMemmoveOverlap/1024-4 486964 245.4 ns/op 4172.52 MB/s BenchmarkMemmoveOverlap/2048-4 285769 421.7 ns/op 4856.06 MB/s BenchmarkMemmoveOverlap/4096-4 154068 782.0 ns/op 5237.61 MB/s BenchmarkMemmoveUnalignedDst/0-4 16662493 7.206 ns/op BenchmarkMemmoveUnalignedDst/1-4 2215101 53.99 ns/op 18.52 MB/s BenchmarkMemmoveUnalignedDst/2-4 2125107 56.39 ns/op 35.47 MB/s BenchmarkMemmoveUnalignedDst/3-4 2148417 55.88 ns/op 53.69 MB/s BenchmarkMemmoveUnalignedDst/4-4 2149167 56.42 ns/op 70.90 MB/s BenchmarkMemmoveUnalignedDst/5-4 2088586 57.40 ns/op 87.11 MB/s BenchmarkMemmoveUnalignedDst/6-4 2077746 57.82 ns/op 103.77 MB/s BenchmarkMemmoveUnalignedDst/7-4 2111979 59.22 ns/op 118.20 MB/s BenchmarkMemmoveUnalignedDst/8-4 2418043 49.94 ns/op 160.19 MB/s BenchmarkMemmoveUnalignedDst/9-4 2109088 56.95 ns/op 158.04 MB/s BenchmarkMemmoveUnalignedDst/10-4 2129094 56.50 ns/op 176.99 MB/s BenchmarkMemmoveUnalignedDst/11-4 2128022 56.92 ns/op 193.24 MB/s BenchmarkMemmoveUnalignedDst/12-4 2121576 56.60 ns/op 212.00 MB/s BenchmarkMemmoveUnalignedDst/13-4 2108275 56.94 ns/op 228.32 MB/s BenchmarkMemmoveUnalignedDst/14-4 2120377 56.49 ns/op 247.82 MB/s BenchmarkMemmoveUnalignedDst/15-4 2119711 56.83 ns/op 263.94 MB/s BenchmarkMemmoveUnalignedDst/16-4 2059282 57.58 ns/op 277.86 MB/s BenchmarkMemmoveUnalignedDst/32-4 1901856 62.10 ns/op 515.26 MB/s BenchmarkMemmoveUnalignedDst/64-4 1730436 69.61 ns/op 919.36 MB/s BenchmarkMemmoveUnalignedDst/128-4 1475691 81.53 ns/op 1569.94 MB/s BenchmarkMemmoveUnalignedDst/256-4 1000000 103.9 ns/op 2463.49 MB/s BenchmarkMemmoveUnalignedDst/512-4 655734 181.2 ns/op 2826.37 MB/s BenchmarkMemmoveUnalignedDst/1024-4 425491 247.4 ns/op 4139.73 MB/s BenchmarkMemmoveUnalignedDst/2048-4 282513 421.7 ns/op 4856.31 MB/s BenchmarkMemmoveUnalignedDst/4096-4 147895 798.6 ns/op 5128.99 MB/s BenchmarkMemmoveUnalignedDstOverlap/32-4 1909428 64.94 ns/op 492.80 MB/s BenchmarkMemmoveUnalignedDstOverlap/64-4 1685280 69.63 ns/op 919.18 MB/s BenchmarkMemmoveUnalignedDstOverlap/128-4 1443634 83.02 ns/op 1541.73 MB/s BenchmarkMemmoveUnalignedDstOverlap/256-4 1000000 105.1 ns/op 2435.81 MB/s BenchmarkMemmoveUnalignedDstOverlap/512-4 670185 174.1 ns/op 2941.02 MB/s BenchmarkMemmoveUnalignedDstOverlap/1024-4 466933 255.3 ns/op 4010.37 MB/s BenchmarkMemmoveUnalignedDstOverlap/2048-4 277302 425.4 ns/op 4814.09 MB/s BenchmarkMemmoveUnalignedDstOverlap/4096-4 151015 784.9 ns/op 5218.66 MB/s BenchmarkMemmoveUnalignedSrc/0-4 17248878 6.886 ns/op BenchmarkMemmoveUnalignedSrc/1-4 2233406 53.99 ns/op 18.52 MB/s BenchmarkMemmoveUnalignedSrc/2-4 2143695 56.23 ns/op 35.57 MB/s BenchmarkMemmoveUnalignedSrc/3-4 2167056 55.89 ns/op 53.68 MB/s BenchmarkMemmoveUnalignedSrc/4-4 2149671 55.79 ns/op 71.69 MB/s BenchmarkMemmoveUnalignedSrc/5-4 2073111 57.17 ns/op 87.46 MB/s BenchmarkMemmoveUnalignedSrc/6-4 2088314 57.65 ns/op 104.07 MB/s BenchmarkMemmoveUnalignedSrc/7-4 2011792 57.26 ns/op 122.25 MB/s BenchmarkMemmoveUnalignedSrc/8-4 2428266 49.30 ns/op 162.28 MB/s BenchmarkMemmoveUnalignedSrc/9-4 2129160 56.39 ns/op 159.60 MB/s BenchmarkMemmoveUnalignedSrc/10-4 2129500 57.01 ns/op 175.41 MB/s BenchmarkMemmoveUnalignedSrc/11-4 2126976 56.53 ns/op 194.60 MB/s BenchmarkMemmoveUnalignedSrc/12-4 2134100 56.82 ns/op 211.19 MB/s BenchmarkMemmoveUnalignedSrc/13-4 2124734 56.71 ns/op 229.24 MB/s BenchmarkMemmoveUnalignedSrc/14-4 2117606 56.55 ns/op 247.59 MB/s BenchmarkMemmoveUnalignedSrc/15-4 2125314 56.54 ns/op 265.30 MB/s BenchmarkMemmoveUnalignedSrc/16-4 2048901 57.25 ns/op 279.47 MB/s BenchmarkMemmoveUnalignedSrc/32-4 1796541 61.79 ns/op 517.87 MB/s BenchmarkMemmoveUnalignedSrc/64-4 1717773 69.32 ns/op 923.22 MB/s BenchmarkMemmoveUnalignedSrc/128-4 1476915 80.08 ns/op 1598.45 MB/s BenchmarkMemmoveUnalignedSrc/256-4 1000000 101.8 ns/op 2515.32 MB/s BenchmarkMemmoveUnalignedSrc/512-4 671125 177.3 ns/op 2888.05 MB/s BenchmarkMemmoveUnalignedSrc/1024-4 470589 254.6 ns/op 4021.39 MB/s BenchmarkMemmoveUnalignedSrc/2048-4 280676 423.6 ns/op 4835.29 MB/s BenchmarkMemmoveUnalignedSrc/4096-4 141266 785.7 ns/op 5213.03 MB/s BenchmarkMemmoveUnalignedSrcOverlap/32-4 1930087 61.73 ns/op 518.36 MB/s BenchmarkMemmoveUnalignedSrcOverlap/64-4 1748617 68.78 ns/op 930.56 MB/s BenchmarkMemmoveUnalignedSrcOverlap/128-4 1479313 81.30 ns/op 1574.35 MB/s BenchmarkMemmoveUnalignedSrcOverlap/256-4 1000000 104.8 ns/op 2443.00 MB/s BenchmarkMemmoveUnalignedSrcOverlap/512-4 666063 178.2 ns/op 2872.57 MB/s BenchmarkMemmoveUnalignedSrcOverlap/1024-4 475761 248.9 ns/op 4113.39 MB/s BenchmarkMemmoveUnalignedSrcOverlap/2048-4 277990 424.8 ns/op 4821.21 MB/s BenchmarkMemmoveUnalignedSrcOverlap/4096-4 152310 786.3 ns/op 5209.46 MB/s BenchmarkMemclr/5-4 15096250 7.906 ns/op 632.45 MB/s BenchmarkMemclr/16-4 15266529 7.883 ns/op 2029.64 MB/s BenchmarkMemclr/64-4 13871146 8.622 ns/op 7422.75 MB/s BenchmarkMemclr/256-4 13437908 8.903 ns/op 28754.56 MB/s BenchmarkMemclr/4096-4 2587150 46.99 ns/op 87163.71 MB/s BenchmarkMemclr/65536-4 165102 728.3 ns/op 89990.41 MB/s BenchmarkMemclr/1M-4 7108 17197 ns/op 60973.97 MB/s BenchmarkMemclr/4M-4 1533 72618 ns/op 57758.42 MB/s BenchmarkMemclr/8M-4 805 151389 ns/op 55411.00 MB/s BenchmarkMemclr/16M-4 100 1216909 ns/op 13786.74 MB/s BenchmarkMemclr/64M-4 39 3264513 ns/op 20557.08 MB/s BenchmarkGoMemclr/5-4 2775645 42.42 ns/op 117.87 MB/s BenchmarkGoMemclr/16-4 751898 160.2 ns/op 99.89 MB/s BenchmarkGoMemclr/64-4 209146 555.5 ns/op 115.21 MB/s BenchmarkGoMemclr/256-4 55536 2153 ns/op 118.90 MB/s BenchmarkMemclrRange/1K_2K-4 80952 1467 ns/op 65376.28 MB/s BenchmarkMemclrRange/2K_8K-4 28688 4158 ns/op 80217.04 MB/s BenchmarkMemclrRange/4K_16K-4 32580 3666 ns/op 88127.14 MB/s BenchmarkMemclrRange/160K_228K-4 6438 17970 ns/op 92538.08 MB/s BenchmarkClearFat7-4 8960294 13.36 ns/op BenchmarkClearFat8-4 10188972 11.68 ns/op BenchmarkClearFat11-4 9016287 13.33 ns/op BenchmarkClearFat12-4 9207200 13.07 ns/op BenchmarkClearFat13-4 8421686 15.60 ns/op BenchmarkClearFat14-4 9203733 12.97 ns/op BenchmarkClearFat15-4 8623597 14.54 ns/op BenchmarkClearFat16-4 9069384 12.45 ns/op BenchmarkClearFat24-4 8022475 13.40 ns/op BenchmarkClearFat32-4 8611881 13.78 ns/op BenchmarkClearFat40-4 7785769 14.97 ns/op BenchmarkClearFat48-4 7756394 15.31 ns/op BenchmarkClearFat56-4 7361762 16.34 ns/op BenchmarkClearFat64-4 7207092 16.67 ns/op BenchmarkClearFat72-4 6716576 18.14 ns/op BenchmarkClearFat128-4 4788520 24.78 ns/op BenchmarkClearFat256-4 3280000 35.26 ns/op BenchmarkClearFat512-4 1719960 70.18 ns/op BenchmarkClearFat1024-4 996679 117.1 ns/op BenchmarkClearFat1032-4 943359 120.8 ns/op BenchmarkClearFat1040-4 852000 138.4 ns/op BenchmarkCopyFat7-4 9234372 14.30 ns/op BenchmarkCopyFat8-4 9885868 12.08 ns/op BenchmarkCopyFat11-4 9027172 13.35 ns/op BenchmarkCopyFat12-4 8954302 13.41 ns/op BenchmarkCopyFat13-4 8935414 13.42 ns/op BenchmarkCopyFat14-4 8922458 13.39 ns/op BenchmarkCopyFat15-4 8939421 13.38 ns/op BenchmarkCopyFat16-4 9630046 12.43 ns/op BenchmarkCopyFat24-4 8225535 14.02 ns/op BenchmarkCopyFat32-4 7513146 15.01 ns/op BenchmarkCopyFat64-4 7148736 16.61 ns/op BenchmarkCopyFat72-4 6338536 17.73 ns/op BenchmarkCopyFat128-4 4821913 25.09 ns/op BenchmarkCopyFat256-4 3357910 35.78 ns/op BenchmarkCopyFat512-4 1636651 75.33 ns/op BenchmarkCopyFat520-4 1622500 74.44 ns/op BenchmarkCopyFat1024-4 947666 127.0 ns/op BenchmarkCopyFat1032-4 918133 129.2 ns/op BenchmarkCopyFat1040-4 828758 140.4 ns/op BenchmarkIssue18740/2byte-4 462 256959 ns/op BenchmarkIssue18740/4byte-4 769 156211 ns/op BenchmarkIssue18740/8byte-4 1314 91270 ns/op BenchmarkMemclrKnownSize1-4 10353450 10.83 ns/op 92.38 MB/s BenchmarkMemclrKnownSize2-4 7216398 16.30 ns/op 122.68 MB/s BenchmarkMemclrKnownSize4-4 4274242 27.87 ns/op 143.51 MB/s BenchmarkMemclrKnownSize8-4 1794475 69.95 ns/op 114.37 MB/s BenchmarkMemclrKnownSize16-4 788037 147.9 ns/op 108.15 MB/s BenchmarkMemclrKnownSize32-4 418350 273.1 ns/op 117.18 MB/s BenchmarkMemclrKnownSize64-4 208438 546.6 ns/op 117.09 MB/s BenchmarkMemclrKnownSize112-4 129472 916.0 ns/op 122.27 MB/s BenchmarkMemclrKnownSize128-4 110989 1051 ns/op 121.80 MB/s BenchmarkMemclrKnownSize192-4 73904 1613 ns/op 119.06 MB/s BenchmarkMemclrKnownSize248-4 58954 2017 ns/op 122.97 MB/s BenchmarkMemclrKnownSize256-4 58206 2019 ns/op 126.79 MB/s BenchmarkMemclrKnownSize512-4 29073 4135 ns/op 123.82 MB/s BenchmarkMemclrKnownSize1024-4 14644 8273 ns/op 123.78 MB/s BenchmarkMemclrKnownSize4096-4 3532 32938 ns/op 124.35 MB/s BenchmarkMemclrKnownSize512KiB-4 27 4281274 ns/op 122.46 MB/s BenchmarkReadMetricsLatency-4 20953 3760 p50-ns 4880 p90-ns 23400 p99-ns BenchmarkFinalizer-4 135 870785 ns/op BenchmarkFinalizerRun-4 230914 702.9 ns/op BenchmarkPallocBitsSummarize/Unpacked00-4 8450949 18.63 ns/op BenchmarkPallocBitsSummarize/UnpackedFFFFFFFFFFFFFFFF-4 2495583 47.99 ns/op BenchmarkPallocBitsSummarize/UnpackedAA-4 2069983 58.09 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAAAAAAAAAA-4 2058336 58.52 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000AAAAAAAA-4 1357074 88.20 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAA00000001-4 1259276 95.32 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBBBBBBBBBB-4 1946126 61.58 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000BBBBBBBB-4 1312045 91.77 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBB00000001-4 1366528 88.74 ns/op BenchmarkPallocBitsSummarize/UnpackedCCCCCCCCCCCCCCCC-4 1816982 66.08 ns/op BenchmarkPallocBitsSummarize/Unpacked4444444444444444-4 1798460 66.02 ns/op BenchmarkPallocBitsSummarize/Unpacked4040404040404040-4 1621808 74.07 ns/op BenchmarkPallocBitsSummarize/Unpacked4000400040004000-4 1470363 81.09 ns/op BenchmarkPallocBitsSummarize/Unpacked1000404044CCAAFF-4 1382227 86.68 ns/op BenchmarkFindBitRange64/Pattern00Size2-4 6884869 17.56 ns/op BenchmarkFindBitRange64/Pattern00Size8-4 6786410 16.40 ns/op BenchmarkFindBitRange64/Pattern00Size32-4 7290969 16.44 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize2-4 7147419 16.06 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize8-4 6495908 17.60 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize32-4 6269242 18.80 ns/op BenchmarkFindBitRange64/PatternAASize2-4 7324305 16.08 ns/op BenchmarkFindBitRange64/PatternAASize8-4 6464275 17.47 ns/op BenchmarkFindBitRange64/PatternAASize32-4 6317140 16.91 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize2-4 7174015 16.07 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize8-4 6454306 16.63 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize32-4 6294780 17.08 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize2-4 7353908 16.16 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize8-4 6229399 17.17 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize32-4 5779258 18.39 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size2-4 6656601 16.11 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size8-4 7314586 16.62 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size32-4 7215643 17.74 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize2-4 7323393 16.08 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize8-4 6517737 17.21 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize32-4 6289863 17.43 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize2-4 7485256 16.71 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize8-4 6992059 18.20 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize32-4 6383082 17.11 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size2-4 6433855 16.09 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size8-4 6972590 17.46 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size32-4 6607869 17.57 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize2-4 7366326 16.19 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize8-4 6985482 18.54 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize32-4 6180916 17.18 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size2-4 6545918 16.19 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size8-4 6185386 16.40 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size32-4 7305960 16.84 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size2-4 7322799 16.12 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size8-4 7069924 16.91 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size32-4 6195074 16.57 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size2-4 7183484 16.32 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size8-4 6234052 16.46 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size32-4 6931405 17.71 ns/op BenchmarkNetpollBreak-4 3669 29120 ns/op BenchmarkPingPongHog-4 415 339004 ns/op BenchmarkStackGrowth-4 159758 749.8 ns/op BenchmarkStackGrowthDeep-4 1375 80346 ns/op BenchmarkCreateGoroutines-4 59124 2418 ns/op BenchmarkCreateGoroutinesParallel-4 40248 2927 ns/op BenchmarkCreateGoroutinesCapture-4 7820 21058 ns/op 144 B/op 5 allocs/op BenchmarkCreateGoroutinesSingle-4 38985 2948 ns/op BenchmarkClosureCall-4 23878168 4.626 ns/op BenchmarkWakeupParallelSpinning/0s-4 4609 23083 ns/op BenchmarkWakeupParallelSpinning/1µs-4 3992 25323 ns/op BenchmarkWakeupParallelSpinning/2µs-4 3624 33530 ns/op BenchmarkWakeupParallelSpinning/5µs-4 3060 40167 ns/op BenchmarkWakeupParallelSpinning/10µs-4 1826 59342 ns/op BenchmarkWakeupParallelSpinning/20µs-4 1164 99950 ns/op BenchmarkWakeupParallelSpinning/50µs-4 578 200930 ns/op BenchmarkWakeupParallelSpinning/100µs-4 348 335274 ns/op BenchmarkWakeupParallelSyscall/0s-4 699 167470 ns/op BenchmarkWakeupParallelSyscall/1µs-4 856 166378 ns/op BenchmarkWakeupParallelSyscall/2µs-4 686 170756 ns/op BenchmarkWakeupParallelSyscall/5µs-4 660 178283 ns/op BenchmarkWakeupParallelSyscall/10µs-4 686 186364 ns/op BenchmarkWakeupParallelSyscall/20µs-4 542 213998 ns/op BenchmarkWakeupParallelSyscall/50µs-4 412 276060 ns/op BenchmarkWakeupParallelSyscall/100µs-4 331 373005 ns/op BenchmarkMatmult-4 4039246 30.05 ns/op BenchmarkFastrand-4 13891254 8.134 ns/op BenchmarkFastrand64-4 13493564 8.254 ns/op BenchmarkFastrandHashiter-4 5290264 22.89 ns/op BenchmarkFastrandn/2-4 7154326 17.57 ns/op BenchmarkFastrandn/3-4 6771459 16.86 ns/op BenchmarkFastrandn/4-4 6746486 18.23 ns/op BenchmarkFastrandn/5-4 6313294 17.93 ns/op BenchmarkIfaceCmp100-4 106218 1097 ns/op BenchmarkIfaceCmpNil100-4 187686 574.4 ns/op BenchmarkEfaceCmpDiff-4 44931 2675 ns/op BenchmarkEfaceCmpDiffIndirect-4 42771 2813 ns/op BenchmarkDefer-4 1836164 65.21 ns/op BenchmarkDefer10-4 931300 134.1 ns/op BenchmarkDeferMany-4 544953 338.4 ns/op BenchmarkPanicRecover-4 209362 565.7 ns/op BenchmarkGoroutineProfile/small-nil/idle-4 4804 24867 ns/op 24650 p50-ns 31450 p90-ns 58580 p99-ns BenchmarkGoroutineProfile/small-nil/loaded-4 4434 28775 ns/op 25340 p50-ns 33770 p90-ns 89090 p99-ns BenchmarkGoroutineProfile/small/idle-4 3212 38312 ns/op 36210 p50-ns 40440 p90-ns 60109 p99-ns BenchmarkGoroutineProfile/small/loaded-4 458 256024 ns/op 129100 p50-ns 396320 p90-ns 2141620 p99-ns BenchmarkGoroutineProfile/large-nil/idle-4 5320 26233 ns/op 24850 p50-ns 31650 p90-ns 50670 p99-ns BenchmarkGoroutineProfile/large-nil/loaded-4 4485 25736 ns/op 24550 p50-ns 30609 p90-ns 51751 p99-ns BenchmarkGoroutineProfile/large/idle-4 18 6121935 ns/op 6076962 p50-ns 6317351 p90-ns 6500832 p99-ns BenchmarkGoroutineProfile/large/loaded-4 15 8327189 ns/op 6656411 p50-ns 11032183 p90-ns 21526655 p99-ns BenchmarkGoroutineProfile/sparse-nil/idle-4 4771 23931 ns/op 24330 p50-ns 32780 p90-ns 49870 p99-ns BenchmarkGoroutineProfile/sparse-nil/loaded-4 3972 26789 ns/op 24850 p50-ns 30660 p90-ns 99500 p99-ns BenchmarkGoroutineProfile/sparse/idle-4 1314 85141 ns/op 82440 p50-ns 89730 p90-ns 102100 p99-ns BenchmarkGoroutineProfile/sparse/loaded-4 391 263364 ns/op 178460 p50-ns 319300 p90-ns 1619220 p99-ns BenchmarkRWMutexUncontended-4 4226616 25.01 ns/op BenchmarkRWMutexWrite100-4 625396 217.5 ns/op BenchmarkRWMutexWrite10-4 504312 361.6 ns/op BenchmarkRWMutexWorkWrite100-4 334317 327.0 ns/op BenchmarkRWMutexWorkWrite10-4 60994 1846 ns/op BenchmarkSemTable/OneAddrCollision/n=1000-4 1915 61283 ns/op BenchmarkSemTable/ManyAddrCollision/n=1000-4 1063 109908 ns/op BenchmarkSemTable/OneAddrCollision/n=2000-4 968 120912 ns/op BenchmarkSemTable/ManyAddrCollision/n=2000-4 519 226763 ns/op BenchmarkSemTable/OneAddrCollision/n=4000-4 495 242486 ns/op BenchmarkSemTable/ManyAddrCollision/n=4000-4 244 480279 ns/op BenchmarkSemTable/OneAddrCollision/n=8000-4 246 486980 ns/op BenchmarkSemTable/ManyAddrCollision/n=8000-4 116 994798 ns/op BenchmarkMakeSliceCopy/mallocmove/Byte-4 419785 318.0 ns/op BenchmarkMakeSliceCopy/mallocmove/Int-4 398940 316.9 ns/op BenchmarkMakeSliceCopy/mallocmove/Ptr-4 283525 367.2 ns/op BenchmarkMakeSliceCopy/makecopy/Byte-4 333246 354.4 ns/op BenchmarkMakeSliceCopy/makecopy/Int-4 380300 329.8 ns/op BenchmarkMakeSliceCopy/makecopy/Ptr-4 308529 386.0 ns/op BenchmarkMakeSliceCopy/nilappend/Byte-4 327816 362.8 ns/op BenchmarkMakeSliceCopy/nilappend/Int-4 283477 367.7 ns/op BenchmarkMakeSliceCopy/nilappend/Ptr-4 295800 410.3 ns/op BenchmarkMakeSlice/Byte-4 2152636 55.91 ns/op BenchmarkMakeSlice/Int16-4 2120552 56.82 ns/op BenchmarkMakeSlice/Int-4 1681754 68.81 ns/op BenchmarkMakeSlice/Ptr-4 1357723 89.29 ns/op BenchmarkMakeSlice/Struct/24-4 1000000 105.5 ns/op BenchmarkMakeSlice/Struct/32-4 1000000 139.4 ns/op BenchmarkMakeSlice/Struct/40-4 1000000 148.6 ns/op BenchmarkGrowSlice/Byte-4 726760 146.9 ns/op BenchmarkGrowSlice/Int16-4 783933 155.3 ns/op BenchmarkGrowSlice/Int-4 697021 199.4 ns/op BenchmarkGrowSlice/Ptr-4 556443 242.9 ns/op BenchmarkGrowSlice/Struct/24-4 417117 321.1 ns/op BenchmarkGrowSlice/Struct/32-4 290822 380.4 ns/op BenchmarkGrowSlice/Struct/40-4 250952 437.6 ns/op BenchmarkExtendSlice/IntSlice-4 589326 232.7 ns/op BenchmarkExtendSlice/PointerSlice-4 475287 267.1 ns/op BenchmarkExtendSlice/NoGrow-4 866355 131.5 ns/op BenchmarkAppend-4 1000000 111.6 ns/op BenchmarkAppendGrowByte-4 6 17361068 ns/op BenchmarkAppendGrowString-4 1 250755281 ns/op BenchmarkAppendSlice/1Bytes-4 2205888 54.06 ns/op BenchmarkAppendSlice/4Bytes-4 2156542 55.49 ns/op BenchmarkAppendSlice/7Bytes-4 2025318 59.68 ns/op BenchmarkAppendSlice/8Bytes-4 2188689 54.81 ns/op BenchmarkAppendSlice/15Bytes-4 2048564 58.74 ns/op BenchmarkAppendSlice/16Bytes-4 2090028 57.42 ns/op BenchmarkAppendSlice/32Bytes-4 2063740 58.14 ns/op BenchmarkAppendSliceLarge/1024Bytes-4 107145 1083 ns/op BenchmarkAppendSliceLarge/4096Bytes-4 27925 4154 ns/op BenchmarkAppendSliceLarge/16384Bytes-4 10000 16029 ns/op BenchmarkAppendSliceLarge/65536Bytes-4 1856 58443 ns/op BenchmarkAppendSliceLarge/262144Bytes-4 178 692597 ns/op BenchmarkAppendSliceLarge/1048576Bytes-4 40 3394248 ns/op BenchmarkAppendStr/1Bytes-4 1710897 69.60 ns/op BenchmarkAppendStr/4Bytes-4 1666203 71.72 ns/op BenchmarkAppendStr/8Bytes-4 1645650 73.06 ns/op BenchmarkAppendStr/16Bytes-4 1617085 73.95 ns/op BenchmarkAppendStr/32Bytes-4 1668076 70.09 ns/op BenchmarkAppendSpecialCase-4 998900 116.1 ns/op BenchmarkCopy/1Byte-4 2161663 55.58 ns/op 17.99 MB/s BenchmarkCopy/1String-4 2040714 54.03 ns/op 18.51 MB/s BenchmarkCopy/2Byte-4 2083407 57.31 ns/op 34.90 MB/s BenchmarkCopy/2String-4 2195353 54.18 ns/op 36.92 MB/s BenchmarkCopy/4Byte-4 2071666 57.37 ns/op 69.73 MB/s BenchmarkCopy/4String-4 2233786 54.36 ns/op 73.58 MB/s BenchmarkCopy/8Byte-4 1941613 52.54 ns/op 152.27 MB/s BenchmarkCopy/8String-4 2429398 49.50 ns/op 161.62 MB/s BenchmarkCopy/12Byte-4 2072648 58.02 ns/op 206.82 MB/s BenchmarkCopy/12String-4 2197935 54.83 ns/op 218.86 MB/s BenchmarkCopy/16Byte-4 2099101 57.13 ns/op 280.06 MB/s BenchmarkCopy/16String-4 2211608 54.58 ns/op 293.16 MB/s BenchmarkCopy/32Byte-4 1978995 60.22 ns/op 531.38 MB/s BenchmarkCopy/32String-4 2087686 57.51 ns/op 556.39 MB/s BenchmarkCopy/128Byte-4 1504712 80.24 ns/op 1595.16 MB/s BenchmarkCopy/128String-4 1447746 77.31 ns/op 1655.68 MB/s BenchmarkCopy/1024Byte-4 487339 247.2 ns/op 4141.80 MB/s BenchmarkCopy/1024String-4 419394 285.1 ns/op 3591.55 MB/s BenchmarkAppendInPlace/NoGrow/Byte-4 37221 3052 ns/op BenchmarkAppendInPlace/NoGrow/1Ptr-4 27577 4594 ns/op BenchmarkAppendInPlace/NoGrow/2Ptr-4 16021 7719 ns/op BenchmarkAppendInPlace/NoGrow/3Ptr-4 12823 9137 ns/op BenchmarkAppendInPlace/NoGrow/4Ptr-4 10000 11952 ns/op BenchmarkAppendInPlace/Grow/Byte-4 162691 792.0 ns/op BenchmarkAppendInPlace/Grow/1Ptr-4 150369 765.0 ns/op BenchmarkAppendInPlace/Grow/2Ptr-4 125738 928.9 ns/op BenchmarkAppendInPlace/Grow/3Ptr-4 113008 1117 ns/op BenchmarkAppendInPlace/Grow/4Ptr-4 92455 1276 ns/op BenchmarkStackCopyPtr-4 1 133649393 ns/op BenchmarkStackCopy-4 2 83301666 ns/op BenchmarkStackCopyNoCache-4 26 4213653 ns/op BenchmarkStackCopyWithStkobj-4 2 55863124 ns/op BenchmarkIssue18138-4 728 154973 ns/op BenchmarkCompareStringEqual-4 11735043 8.545 ns/op BenchmarkCompareStringIdentical-4 17985716 6.237 ns/op BenchmarkCompareStringSameLength-4 15915854 7.549 ns/op BenchmarkCompareStringDifferentLength-4 24050066 4.638 ns/op BenchmarkCompareStringBigUnaligned-4 3164 36326 ns/op 28865.91 MB/s BenchmarkCompareStringBig-4 3272 35366 ns/op 29649.48 MB/s BenchmarkConcatStringAndBytes-4 2359101 50.55 ns/op BenchmarkSliceByteToString/1-4 2419020 46.96 ns/op BenchmarkSliceByteToString/2-4 986930 104.6 ns/op BenchmarkSliceByteToString/4-4 1000000 106.3 ns/op BenchmarkSliceByteToString/8-4 1000000 104.6 ns/op BenchmarkSliceByteToString/16-4 1000000 106.2 ns/op BenchmarkSliceByteToString/32-4 1000000 111.8 ns/op BenchmarkSliceByteToString/64-4 999266 132.3 ns/op BenchmarkSliceByteToString/128-4 809202 181.4 ns/op BenchmarkRuneCount/lenruneslice/ASCII-4 2528859 47.27 ns/op BenchmarkRuneCount/lenruneslice/Japanese-4 1000000 105.8 ns/op BenchmarkRuneCount/lenruneslice/MixedLength-4 1279492 91.77 ns/op BenchmarkRuneCount/rangeloop/ASCII-4 4486488 25.79 ns/op BenchmarkRuneCount/rangeloop/Japanese-4 2023570 57.90 ns/op BenchmarkRuneCount/rangeloop/MixedLength-4 2290080 49.91 ns/op BenchmarkRuneCount/utf8.RuneCountInString/ASCII-4 2694012 45.26 ns/op BenchmarkRuneCount/utf8.RuneCountInString/Japanese-4 575301 202.8 ns/op BenchmarkRuneCount/utf8.RuneCountInString/MixedLength-4 633151 192.9 ns/op BenchmarkRuneIterate/range/ASCII-4 7771273 15.39 ns/op BenchmarkRuneIterate/range/Japanese-4 2602879 46.13 ns/op BenchmarkRuneIterate/range/MixedLength-4 3081219 39.30 ns/op BenchmarkRuneIterate/range1/ASCII-4 7828557 15.72 ns/op BenchmarkRuneIterate/range1/Japanese-4 2615434 45.96 ns/op BenchmarkRuneIterate/range1/MixedLength-4 3090252 39.05 ns/op BenchmarkRuneIterate/range2/ASCII-4 7494878 16.00 ns/op BenchmarkRuneIterate/range2/Japanese-4 2599912 46.11 ns/op BenchmarkRuneIterate/range2/MixedLength-4 3010536 39.07 ns/op BenchmarkArrayEqual-4 22101600 4.921 ns/op BenchmarkFunc/Name-4 5854016 20.15 ns/op BenchmarkFunc/Entry-4 13033262 8.873 ns/op BenchmarkFunc/FileLine-4 1659020 74.73 ns/op PASS ok runtime 131.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: runtime/cgo cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHandle/non-concurrent-4 27882 4406 ns/op BenchmarkHandle/concurrent-4 17152 7422 ns/op PASS ok runtime/cgo 0.516s goos: linux goarch: amd64 pkg: runtime/internal/atomic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAtomicLoad64-4 21129282 5.699 ns/op BenchmarkAtomicStore64-4 9942004 12.01 ns/op BenchmarkAtomicLoad-4 21049068 5.679 ns/op BenchmarkAtomicStore-4 9981942 12.14 ns/op BenchmarkAnd8-4 9924120 12.10 ns/op BenchmarkAnd-4 9971151 12.03 ns/op BenchmarkAnd8Parallel-4 4206274 42.77 ns/op BenchmarkAndParallel-4 2577906 48.05 ns/op BenchmarkOr8-4 9996277 12.00 ns/op BenchmarkOr-4 10003984 12.10 ns/op BenchmarkOr8Parallel-4 3140476 45.36 ns/op BenchmarkOrParallel-4 3180978 44.31 ns/op BenchmarkXadd-4 3171538 45.81 ns/op BenchmarkXadd64-4 2550160 40.99 ns/op BenchmarkCas-4 2415994 51.24 ns/op BenchmarkCas64-4 2602066 51.03 ns/op BenchmarkXchg-4 3092473 46.47 ns/op BenchmarkXchg64-4 2554240 47.67 ns/op PASS ok runtime/internal/atomic 2.905s goos: linux goarch: amd64 pkg: runtime/internal/math cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMulUintptr/small-4 4661293 25.52 ns/op BenchmarkMulUintptr/large-4 3581101 31.72 ns/op PASS ok runtime/internal/math 0.330s ##### Test execution environment. # GOARCH: amd64 # CPU: AMD EPYC 7B12 # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: runtime/pprof cpu: AMD EPYC 7B12 BenchmarkGoroutine/Profile.WriteTo_idle_50-4 27 4411776 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_50-4 10 10932532 ns/op 695.9 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_50-4 723 158178 ns/op 4.603 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_500-4 10 10469236 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_500-4 6 19372572 ns/op 1605 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_500-4 154 759277 ns/op 58.10 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_5000-4 2 75163501 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_5000-4 1 102018055 ns/op 8358 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_5000-4 18 8310882 ns/op 624.3 concurrent_launches/op PASS ok runtime/pprof 1.704s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: runtime/race cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSyncLeak-4 38 3046389 ns/op BenchmarkStackLeak-4 19657 5901 ns/op PASS ok runtime/race 0.376s goos: linux goarch: amd64 pkg: runtime/trace cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStartRegion-4 5115589 20.91 ns/op 0 B/op 0 allocs/op BenchmarkNewTask-4 232664 530.3 ns/op 64 B/op 2 allocs/op PASS ok runtime/trace 0.408s goos: linux goarch: amd64 pkg: slices cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCompact/nil-4 6784275 17.69 ns/op BenchmarkCompact/one-4 1977849 61.29 ns/op BenchmarkCompact/sorted-4 1000000 103.2 ns/op BenchmarkCompact/1_item-4 1245668 96.03 ns/op BenchmarkCompact/unsorted-4 1000000 103.1 ns/op BenchmarkCompact/many-4 840199 139.4 ns/op BenchmarkReplace/naive-fast-4 81615 1394 ns/op BenchmarkReplace/optimized-fast-4 83320 1216 ns/op BenchmarkReplace/naive-slow-4 49471 2264 ns/op BenchmarkReplace/optimized-slow-4 63460 1755 ns/op PASS ok slices 1.507s ##### 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: sort cpu: AMD EPYC 7B12 BenchmarkSearchWrappers-4 175904 658.3 ns/op BenchmarkSortString1K-4 178 628271 ns/op BenchmarkSortString1K_Slice-4 205 590807 ns/op BenchmarkStableString1K-4 100 1169631 ns/op BenchmarkSortInt1K-4 237 497862 ns/op BenchmarkSortInt1K_Sorted-4 3343 34159 ns/op BenchmarkSortInt1K_Reversed-4 2254 59649 ns/op BenchmarkSortInt1K_Mod8-4 592 205727 ns/op BenchmarkStableInt1K-4 156 824931 ns/op BenchmarkStableInt1K_Slice-4 176 658872 ns/op BenchmarkSortInt64K-4 2 53583766 ns/op BenchmarkSortInt64K_Slice-4 3 42113878 ns/op BenchmarkStableInt64K-4 2 74036257 ns/op BenchmarkSort1e2-4 531 304019 ns/op BenchmarkStable1e2-4 171 619897 ns/op BenchmarkSort1e4-4 2 50696302 ns/op BenchmarkStable1e4-4 1 215759017 ns/op PASS ok sort 3.541s goos: linux goarch: amd64 pkg: strconv cpu: AMD EPYC 7B12 BenchmarkAtof64Decimal-4 712257 150.3 ns/op BenchmarkAtof64Float-4 668478 174.5 ns/op BenchmarkAtof64FloatExp-4 597877 193.2 ns/op BenchmarkAtof64Big-4 467902 250.9 ns/op BenchmarkAtof64RandomBits-4 269563 433.2 ns/op BenchmarkAtof64RandomFloats-4 469341 242.9 ns/op BenchmarkAtof64RandomLongFloats-4 435153 271.9 ns/op BenchmarkAtof32Decimal-4 828471 142.6 ns/op BenchmarkAtof32Float-4 675949 170.9 ns/op BenchmarkAtof32FloatExp-4 594026 196.8 ns/op BenchmarkAtof32Random-4 368246 319.1 ns/op BenchmarkAtof32RandomLong-4 158010 686.4 ns/op BenchmarkParseInt/Pos/7bit-4 1279969 88.93 ns/op BenchmarkParseInt/Pos/26bit-4 657062 172.7 ns/op BenchmarkParseInt/Pos/31bit-4 569719 185.2 ns/op BenchmarkParseInt/Pos/56bit-4 449924 280.9 ns/op BenchmarkParseInt/Pos/63bit-4 345742 331.9 ns/op BenchmarkParseInt/Neg/7bit-4 1000000 102.6 ns/op BenchmarkParseInt/Neg/26bit-4 659452 195.5 ns/op BenchmarkParseInt/Neg/31bit-4 518566 215.6 ns/op BenchmarkParseInt/Neg/56bit-4 423423 290.8 ns/op BenchmarkParseInt/Neg/63bit-4 347200 305.9 ns/op BenchmarkAtoi/Pos/7bit-4 2216164 55.76 ns/op BenchmarkAtoi/Pos/26bit-4 927420 112.2 ns/op BenchmarkAtoi/Pos/31bit-4 817683 123.5 ns/op BenchmarkAtoi/Pos/56bit-4 561754 207.0 ns/op BenchmarkAtoi/Pos/63bit-4 320268 357.3 ns/op BenchmarkAtoi/Neg/7bit-4 2031492 60.44 ns/op BenchmarkAtoi/Neg/26bit-4 1000000 116.3 ns/op BenchmarkAtoi/Neg/31bit-4 910705 123.8 ns/op BenchmarkAtoi/Neg/56bit-4 576330 205.4 ns/op BenchmarkAtoi/Neg/63bit-4 331833 360.4 ns/op BenchmarkFormatFloat/Decimal-4 122035 993.2 ns/op BenchmarkFormatFloat/Float-4 107696 1137 ns/op BenchmarkFormatFloat/Exp-4 113169 1064 ns/op BenchmarkFormatFloat/NegExp-4 112806 1080 ns/op BenchmarkFormatFloat/LongExp-4 98101 1277 ns/op BenchmarkFormatFloat/Big-4 92901 1253 ns/op BenchmarkFormatFloat/BinaryExp-4 212343 567.3 ns/op BenchmarkFormatFloat/32Integer-4 122364 979.4 ns/op BenchmarkFormatFloat/32ExactFraction-4 120380 1004 ns/op BenchmarkFormatFloat/32Point-4 108280 1117 ns/op BenchmarkFormatFloat/32Exp-4 112804 1072 ns/op BenchmarkFormatFloat/32NegExp-4 114230 1068 ns/op BenchmarkFormatFloat/32Shortest-4 117577 1030 ns/op BenchmarkFormatFloat/32Fixed8Hard-4 136448 871.5 ns/op BenchmarkFormatFloat/32Fixed9Hard-4 125347 927.8 ns/op BenchmarkFormatFloat/64Fixed1-4 151136 798.1 ns/op BenchmarkFormatFloat/64Fixed2-4 149932 816.0 ns/op BenchmarkFormatFloat/64Fixed3-4 144320 805.6 ns/op BenchmarkFormatFloat/64Fixed4-4 145202 797.0 ns/op BenchmarkFormatFloat/64Fixed12-4 90115 1358 ns/op BenchmarkFormatFloat/64Fixed16-4 115699 1047 ns/op BenchmarkFormatFloat/64Fixed12Hard-4 113649 1077 ns/op BenchmarkFormatFloat/64Fixed17Hard-4 107376 1129 ns/op BenchmarkFormatFloat/64Fixed18Hard-4 2652 40648 ns/op BenchmarkFormatFloat/Slowpath64-4 96918 1236 ns/op BenchmarkFormatFloat/SlowpathDenormal64-4 94622 1233 ns/op BenchmarkAppendFloat/Decimal-4 151075 796.3 ns/op BenchmarkAppendFloat/Float-4 128096 930.8 ns/op BenchmarkAppendFloat/Exp-4 141207 845.4 ns/op BenchmarkAppendFloat/NegExp-4 131569 845.6 ns/op BenchmarkAppendFloat/LongExp-4 118020 1016 ns/op BenchmarkAppendFloat/Big-4 113630 1134 ns/op BenchmarkAppendFloat/BinaryExp-4 322266 366.7 ns/op BenchmarkAppendFloat/32Integer-4 147838 798.7 ns/op BenchmarkAppendFloat/32ExactFraction-4 144964 820.2 ns/op BenchmarkAppendFloat/32Point-4 124947 963.5 ns/op BenchmarkAppendFloat/32Exp-4 133017 842.0 ns/op BenchmarkAppendFloat/32NegExp-4 134745 835.3 ns/op BenchmarkAppendFloat/32Shortest-4 159576 752.8 ns/op BenchmarkAppendFloat/32Fixed8Hard-4 178609 674.5 ns/op BenchmarkAppendFloat/32Fixed9Hard-4 169651 695.7 ns/op BenchmarkAppendFloat/64Fixed1-4 199638 597.0 ns/op BenchmarkAppendFloat/64Fixed2-4 197726 596.9 ns/op BenchmarkAppendFloat/64Fixed3-4 194484 601.2 ns/op BenchmarkAppendFloat/64Fixed4-4 187150 601.5 ns/op BenchmarkAppendFloat/64Fixed12-4 109946 1094 ns/op BenchmarkAppendFloat/64Fixed16-4 143912 829.5 ns/op BenchmarkAppendFloat/64Fixed12Hard-4 153405 796.1 ns/op BenchmarkAppendFloat/64Fixed17Hard-4 131382 907.7 ns/op BenchmarkAppendFloat/64Fixed18Hard-4 2809 43742 ns/op BenchmarkAppendFloat/Slowpath64-4 118051 1002 ns/op BenchmarkAppendFloat/SlowpathDenormal64-4 117744 1032 ns/op BenchmarkFormatInt-4 15133 7545 ns/op BenchmarkAppendInt-4 18093 6622 ns/op BenchmarkFormatUint-4 85340 1381 ns/op BenchmarkAppendUint-4 102178 1142 ns/op BenchmarkFormatIntSmall/7-4 2858584 42.75 ns/op BenchmarkFormatIntSmall/42-4 2989778 40.35 ns/op BenchmarkAppendIntSmall-4 1367144 86.50 ns/op BenchmarkAppendUintVarlen/1-4 1297550 91.70 ns/op BenchmarkAppendUintVarlen/12-4 1268680 93.55 ns/op BenchmarkAppendUintVarlen/123-4 949246 125.1 ns/op BenchmarkAppendUintVarlen/1234-4 937909 123.2 ns/op BenchmarkAppendUintVarlen/12345-4 928188 127.1 ns/op BenchmarkAppendUintVarlen/123456-4 920994 130.3 ns/op BenchmarkAppendUintVarlen/1234567-4 878116 134.3 ns/op BenchmarkAppendUintVarlen/12345678-4 903634 127.6 ns/op BenchmarkAppendUintVarlen/123456789-4 817810 143.3 ns/op BenchmarkAppendUintVarlen/1234567890-4 902377 132.5 ns/op BenchmarkAppendUintVarlen/12345678901-4 891682 133.7 ns/op BenchmarkAppendUintVarlen/123456789012-4 872866 132.6 ns/op BenchmarkAppendUintVarlen/1234567890123-4 842228 137.0 ns/op BenchmarkAppendUintVarlen/12345678901234-4 827260 131.8 ns/op BenchmarkAppendUintVarlen/123456789012345-4 858490 136.3 ns/op BenchmarkAppendUintVarlen/1234567890123456-4 843898 135.5 ns/op BenchmarkAppendUintVarlen/12345678901234567-4 804505 139.6 ns/op BenchmarkAppendUintVarlen/123456789012345678-4 787292 149.6 ns/op BenchmarkAppendUintVarlen/1234567890123456789-4 798902 143.5 ns/op BenchmarkAppendUintVarlen/12345678901234567890-4 809012 144.4 ns/op BenchmarkQuote-4 46621 2602 ns/op BenchmarkQuoteRune-4 420234 268.7 ns/op BenchmarkAppendQuote-4 54177 2160 ns/op BenchmarkAppendQuoteRune-4 793702 146.4 ns/op BenchmarkUnquoteEasy-4 1441940 83.79 ns/op BenchmarkUnquoteHard-4 48976 2378 ns/op PASS ok strconv 15.735s goos: linux goarch: amd64 pkg: strings cpu: AMD EPYC 7B12 BenchmarkBuildString_Builder/1Write_NoGrow-4 384735 266.6 ns/op 48 B/op 1 allocs/op BenchmarkBuildString_Builder/3Write_NoGrow-4 136682 805.9 ns/op 336 B/op 3 allocs/op BenchmarkBuildString_Builder/3Write_Grow-4 202239 588.2 ns/op 112 B/op 1 allocs/op BenchmarkBuildString_ByteBuffer/1Write_NoGrow-4 311462 381.3 ns/op 112 B/op 2 allocs/op BenchmarkBuildString_ByteBuffer/3Write_NoGrow-4 91945 1258 ns/op 432 B/op 4 allocs/op BenchmarkBuildString_ByteBuffer/3Write_Grow-4 110058 1075 ns/op 336 B/op 3 allocs/op BenchmarkClone-4 763854 163.8 ns/op 48 B/op 1 allocs/op BenchmarkGenericNoMatch-4 25335 4611 ns/op BenchmarkGenericMatch1-4 2167 51877 ns/op BenchmarkGenericMatch2-4 442 268580 ns/op BenchmarkSingleMaxSkipping-4 8650 12865 ns/op 777.29 MB/s BenchmarkSingleLongSuffixFail-4 17482 6215 ns/op 161.22 MB/s BenchmarkSingleMatch-4 261 450999 ns/op 33.26 MB/s BenchmarkByteByteNoMatch-4 96314 1237 ns/op BenchmarkByteByteMatch-4 21552 5041 ns/op BenchmarkByteStringMatch-4 29298 3971 ns/op BenchmarkHTMLEscapeNew-4 86737 1402 ns/op BenchmarkHTMLEscapeOld-4 93530 1263 ns/op BenchmarkByteStringReplacerWriteString-4 1484 76937 ns/op BenchmarkByteReplacerWriteString-4 1652 67458 ns/op BenchmarkByteByteReplaces-4 3556 32148 ns/op BenchmarkByteByteMap-4 10000 11040 ns/op BenchmarkMap/identity/ASCII-4 681810 171.0 ns/op BenchmarkMap/identity/Greek-4 530503 213.0 ns/op BenchmarkMap/change/ASCII-4 41437 2940 ns/op BenchmarkMap/change/Greek-4 29241 4145 ns/op BenchmarkIndexRune-4 1987772 57.48 ns/op BenchmarkIndexRuneLongString-4 1475374 78.99 ns/op BenchmarkIndexRuneFastPath-4 5346351 22.80 ns/op BenchmarkIndex-4 5265926 22.78 ns/op BenchmarkLastIndex-4 5606917 21.80 ns/op BenchmarkIndexByte-4 11695722 9.497 ns/op BenchmarkToUpper/#00-4 3711484 32.64 ns/op BenchmarkToUpper/ONLYUPPER-4 2467687 49.52 ns/op BenchmarkToUpper/abc-4 299541 370.7 ns/op BenchmarkToUpper/AbC123-4 243580 483.6 ns/op BenchmarkToUpper/azAZ09_-4 277309 436.9 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 60112 2002 ns/op BenchmarkToUpper/RENAN_BASTOS_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 76971 1572 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 37308 3238 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 63718 1850 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 123781 942.5 ns/op BenchmarkToLower/#00-4 3731438 32.70 ns/op BenchmarkToLower/abc-4 3356025 35.34 ns/op BenchmarkToLower/AbC123-4 212091 551.2 ns/op BenchmarkToLower/azAZ09_-4 213116 528.7 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 98308 1179 ns/op BenchmarkToLower/renan_bastos_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 70107 1695 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 35672 3152 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 81110 1486 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 127951 940.1 ns/op BenchmarkMapNoChanges-4 882060 123.3 ns/op BenchmarkTrim-4 35986 3271 ns/op 0 B/op 0 allocs/op BenchmarkToValidUTF8/Valid-4 3248536 33.91 ns/op BenchmarkToValidUTF8/InvalidASCII-4 194353 606.8 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 131332 873.8 ns/op BenchmarkEqualFold/Tests-4 55635 2110 ns/op BenchmarkEqualFold/ASCII-4 3291020 36.92 ns/op BenchmarkEqualFold/UnicodePrefix-4 115914 957.0 ns/op BenchmarkEqualFold/UnicodeSuffix-4 131026 902.2 ns/op BenchmarkIndexHard1-4 1192 99807 ns/op BenchmarkIndexHard2-4 866 138566 ns/op BenchmarkIndexHard3-4 207 554988 ns/op BenchmarkIndexHard4-4 208 568982 ns/op BenchmarkLastIndexHard1-4 68 1725597 ns/op BenchmarkLastIndexHard2-4 68 1726754 ns/op BenchmarkLastIndexHard3-4 58 1738568 ns/op BenchmarkCountHard1-4 1200 98904 ns/op BenchmarkCountHard2-4 853 139060 ns/op BenchmarkCountHard3-4 207 569894 ns/op BenchmarkIndexTorture-4 8776 13478 ns/op BenchmarkCountTorture-4 8540 13423 ns/op BenchmarkCountTortureOverlapping-4 1279 86171 ns/op BenchmarkCountByte/10-4 5071614 24.08 ns/op 415.21 MB/s BenchmarkCountByte/32-4 4887294 24.86 ns/op 1287.02 MB/s BenchmarkCountByte/4096-4 913477 131.8 ns/op 31078.70 MB/s BenchmarkCountByte/4194304-4 1124 104520 ns/op 40129.35 MB/s BenchmarkCountByte/67108864-4 26 4301837 ns/op 15600.05 MB/s BenchmarkFields/ASCII/16-4 295893 399.2 ns/op 40.08 MB/s 48 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 25678 4548 ns/op 56.28 MB/s 416 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 1615 70615 ns/op 58.00 MB/s 6144 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 100 1188928 ns/op 55.12 MB/s 98304 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 6 18962266 ns/op 55.30 MB/s 1507328 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 140830 896.9 ns/op 17.84 MB/s 32 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 12031 9922 ns/op 25.80 MB/s 320 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 682 163623 ns/op 25.03 MB/s 21504 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 37 2993725 ns/op 21.89 MB/s 463104 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 2 53942872 ns/op 19.44 MB/s 10457344 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 224739 524.2 ns/op 30.52 MB/s 48 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 20239 5660 ns/op 45.23 MB/s 416 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 1156 98150 ns/op 41.73 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 67 1910452 ns/op 34.30 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 3 37565158 ns/op 27.91 MB/s 10449152 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 147308 754.9 ns/op 21.19 MB/s 32 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 16952 7220 ns/op 35.46 MB/s 320 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 908 130536 ns/op 31.38 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 49 2403325 ns/op 27.27 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 3 45756393 ns/op 22.92 MB/s 10457344 B/op 24 allocs/op BenchmarkSplitEmptySeparator-4 2 58234026 ns/op BenchmarkSplitSingleByteSeparator-4 24 4474123 ns/op BenchmarkSplitMultiByteSeparator-4 40 2952345 ns/op BenchmarkSplitNSingleByteSeparator-4 287017 421.2 ns/op BenchmarkSplitNMultiByteSeparator-4 182928 660.6 ns/op BenchmarkRepeat/5x0-4 4011728 29.89 ns/op BenchmarkRepeat/5x1-4 3457833 33.84 ns/op BenchmarkRepeat/5x2-4 276644 429.2 ns/op BenchmarkRepeat/5x6-4 177487 690.5 ns/op BenchmarkRepeat/10x0-4 3919758 31.47 ns/op BenchmarkRepeat/10x1-4 3502383 32.72 ns/op BenchmarkRepeat/10x2-4 257743 436.1 ns/op BenchmarkRepeat/10x6-4 161570 719.7 ns/op BenchmarkRepeatLarge/256/1-4 81253 1457 ns/op 175.74 MB/s BenchmarkRepeatLarge/256/16-4 131560 886.7 ns/op 288.71 MB/s BenchmarkRepeatLarge/512/1-4 66159 1758 ns/op 291.29 MB/s BenchmarkRepeatLarge/512/16-4 95947 1177 ns/op 434.93 MB/s BenchmarkRepeatLarge/1024/1-4 54034 2226 ns/op 460.08 MB/s BenchmarkRepeatLarge/1024/16-4 74359 1623 ns/op 630.99 MB/s BenchmarkRepeatLarge/2048/1-4 38083 3027 ns/op 676.52 MB/s BenchmarkRepeatLarge/2048/16-4 47508 2556 ns/op 801.22 MB/s BenchmarkRepeatLarge/4096/1-4 25200 4745 ns/op 863.19 MB/s BenchmarkRepeatLarge/4096/16-4 28483 4300 ns/op 952.52 MB/s BenchmarkRepeatLarge/8192/1-4 14428 8017 ns/op 1021.87 MB/s BenchmarkRepeatLarge/8192/16-4 15154 7354 ns/op 1114.01 MB/s BenchmarkRepeatLarge/8192/4097-4 6116812 19.97 ns/op 205149.30 MB/s BenchmarkRepeatLarge/16384/1-4 8392 13756 ns/op 1191.03 MB/s BenchmarkRepeatLarge/16384/16-4 9602 13002 ns/op 1260.10 MB/s BenchmarkRepeatLarge/16384/4097-4 10000 10105 ns/op 1216.31 MB/s BenchmarkRepeatLarge/32768/1-4 4568 25038 ns/op 1308.75 MB/s BenchmarkRepeatLarge/32768/16-4 4750 23786 ns/op 1377.63 MB/s BenchmarkRepeatLarge/32768/4097-4 4896 22572 ns/op 1270.55 MB/s BenchmarkRepeatLarge/65536/1-4 2322 47623 ns/op 1376.14 MB/s BenchmarkRepeatLarge/65536/16-4 2444 47585 ns/op 1377.25 MB/s BenchmarkRepeatLarge/65536/4097-4 2338 45572 ns/op 1348.52 MB/s BenchmarkRepeatLarge/131072/1-4 500 248674 ns/op 527.08 MB/s BenchmarkRepeatLarge/131072/16-4 490 235570 ns/op 556.40 MB/s BenchmarkRepeatLarge/131072/4097-4 496 243019 ns/op 522.62 MB/s BenchmarkRepeatLarge/262144/1-4 258 476065 ns/op 550.65 MB/s BenchmarkRepeatLarge/262144/16-4 253 454572 ns/op 576.68 MB/s BenchmarkRepeatLarge/262144/4097-4 268 450975 ns/op 572.34 MB/s BenchmarkRepeatLarge/524288/1-4 128 875980 ns/op 598.52 MB/s BenchmarkRepeatLarge/524288/16-4 132 875369 ns/op 598.93 MB/s BenchmarkRepeatLarge/524288/4097-4 135 941541 ns/op 552.62 MB/s BenchmarkRepeatLarge/1048576/1-4 74 1751684 ns/op 598.61 MB/s BenchmarkRepeatLarge/1048576/16-4 70 1739032 ns/op 602.97 MB/s BenchmarkRepeatLarge/1048576/4097-4 82 1748894 ns/op 597.37 MB/s BenchmarkRepeatLarge/2097152/1-4 39 3252396 ns/op 644.80 MB/s BenchmarkRepeatLarge/2097152/16-4 34 3194861 ns/op 656.41 MB/s BenchmarkRepeatLarge/2097152/4097-4 44 3278011 ns/op 638.67 MB/s BenchmarkRepeatLarge/4194304/1-4 18 6136473 ns/op 683.50 MB/s BenchmarkRepeatLarge/4194304/16-4 19 6449550 ns/op 650.33 MB/s BenchmarkRepeatLarge/4194304/4097-4 16 6303120 ns/op 664.95 MB/s BenchmarkRepeatLarge/8388608/1-4 9 13142772 ns/op 638.27 MB/s BenchmarkRepeatLarge/8388608/16-4 8 13006749 ns/op 644.94 MB/s BenchmarkRepeatLarge/8388608/4097-4 8 13476478 ns/op 622.31 MB/s BenchmarkRepeatLarge/16777216/1-4 5 25135302 ns/op 667.48 MB/s BenchmarkRepeatLarge/16777216/16-4 5 24952928 ns/op 672.35 MB/s BenchmarkRepeatLarge/16777216/4097-4 4 25304728 ns/op 663.01 MB/s BenchmarkRepeatLarge/33554432/1-4 3 44683547 ns/op 750.93 MB/s BenchmarkRepeatLarge/33554432/16-4 3 46903203 ns/op 715.40 MB/s BenchmarkRepeatLarge/33554432/4097-4 3 48934977 ns/op 685.69 MB/s BenchmarkRepeatLarge/67108864/1-4 2 84463540 ns/op 794.53 MB/s BenchmarkRepeatLarge/67108864/16-4 2 84968034 ns/op 789.81 MB/s BenchmarkRepeatLarge/67108864/4097-4 2 88316904 ns/op 759.86 MB/s BenchmarkRepeatLarge/134217728/1-4 1 169317778 ns/op 792.70 MB/s BenchmarkRepeatLarge/134217728/16-4 1 171754818 ns/op 781.45 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 174973527 ns/op 767.07 MB/s BenchmarkRepeatLarge/268435456/1-4 1 325678217 ns/op 824.24 MB/s BenchmarkRepeatLarge/268435456/16-4 1 323851287 ns/op 828.88 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 342378926 ns/op 784.03 MB/s BenchmarkRepeatLarge/536870912/1-4 1 647897184 ns/op 828.64 MB/s BenchmarkRepeatLarge/536870912/16-4 1 657885553 ns/op 816.06 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 648460434 ns/op 827.92 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 1291753388 ns/op 831.23 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 1285266628 ns/op 835.42 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 1325084725 ns/op 810.32 MB/s BenchmarkIndexAnyASCII/1:1-4 2494446 47.82 ns/op BenchmarkIndexAnyASCII/1:2-4 2265484 53.26 ns/op BenchmarkIndexAnyASCII/1:4-4 2075619 52.72 ns/op BenchmarkIndexAnyASCII/1:8-4 2085037 52.31 ns/op BenchmarkIndexAnyASCII/1:16-4 2297553 53.75 ns/op BenchmarkIndexAnyASCII/1:32-4 2224652 53.17 ns/op BenchmarkIndexAnyASCII/1:64-4 2323348 52.15 ns/op BenchmarkIndexAnyASCII/16:1-4 2506834 48.07 ns/op BenchmarkIndexAnyASCII/16:2-4 827032 139.7 ns/op BenchmarkIndexAnyASCII/16:4-4 777559 155.4 ns/op BenchmarkIndexAnyASCII/16:8-4 763057 153.2 ns/op BenchmarkIndexAnyASCII/16:16-4 676212 173.9 ns/op BenchmarkIndexAnyASCII/16:32-4 519626 216.4 ns/op BenchmarkIndexAnyASCII/16:64-4 442929 269.1 ns/op BenchmarkIndexAnyASCII/256:1-4 2287802 52.35 ns/op BenchmarkIndexAnyASCII/256:2-4 76461 1560 ns/op BenchmarkIndexAnyASCII/256:4-4 76953 1557 ns/op BenchmarkIndexAnyASCII/256:8-4 76382 1574 ns/op BenchmarkIndexAnyASCII/256:16-4 76118 1589 ns/op BenchmarkIndexAnyASCII/256:32-4 73327 1617 ns/op BenchmarkIndexAnyASCII/256:64-4 62959 1681 ns/op BenchmarkIndexAnyUTF8/1:1-4 2415430 49.50 ns/op BenchmarkIndexAnyUTF8/1:2-4 2251099 54.25 ns/op BenchmarkIndexAnyUTF8/1:4-4 2217613 55.06 ns/op BenchmarkIndexAnyUTF8/1:8-4 2173124 53.84 ns/op BenchmarkIndexAnyUTF8/1:16-4 2212440 53.02 ns/op BenchmarkIndexAnyUTF8/1:32-4 1993622 54.47 ns/op BenchmarkIndexAnyUTF8/1:64-4 2258407 54.53 ns/op BenchmarkIndexAnyUTF8/16:1-4 1812814 66.60 ns/op BenchmarkIndexAnyUTF8/16:2-4 333488 332.3 ns/op BenchmarkIndexAnyUTF8/16:4-4 334672 334.5 ns/op BenchmarkIndexAnyUTF8/16:8-4 361783 333.8 ns/op BenchmarkIndexAnyUTF8/16:16-4 366889 331.1 ns/op BenchmarkIndexAnyUTF8/16:32-4 353528 337.5 ns/op BenchmarkIndexAnyUTF8/16:64-4 372096 330.2 ns/op BenchmarkIndexAnyUTF8/256:1-4 383124 313.1 ns/op BenchmarkIndexAnyUTF8/256:2-4 25932 4618 ns/op BenchmarkIndexAnyUTF8/256:4-4 24188 4597 ns/op BenchmarkIndexAnyUTF8/256:8-4 26137 4628 ns/op BenchmarkIndexAnyUTF8/256:16-4 26127 4601 ns/op BenchmarkIndexAnyUTF8/256:32-4 24039 4710 ns/op BenchmarkIndexAnyUTF8/256:64-4 24345 4607 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2518488 47.53 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2518022 47.64 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2528631 48.26 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2254045 48.26 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2449554 48.66 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2199902 48.89 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2259841 53.82 ns/op BenchmarkLastIndexAnyASCII/16:1-4 788679 151.9 ns/op BenchmarkLastIndexAnyASCII/16:2-4 850550 137.7 ns/op BenchmarkLastIndexAnyASCII/16:4-4 781412 139.1 ns/op BenchmarkLastIndexAnyASCII/16:8-4 763057 150.4 ns/op BenchmarkLastIndexAnyASCII/16:16-4 746170 155.0 ns/op BenchmarkLastIndexAnyASCII/16:32-4 603784 200.4 ns/op BenchmarkLastIndexAnyASCII/16:64-4 437577 265.8 ns/op BenchmarkLastIndexAnyASCII/256:1-4 69340 1554 ns/op BenchmarkLastIndexAnyASCII/256:2-4 77080 1560 ns/op BenchmarkLastIndexAnyASCII/256:4-4 69529 1559 ns/op BenchmarkLastIndexAnyASCII/256:8-4 76060 1569 ns/op BenchmarkLastIndexAnyASCII/256:16-4 68872 1741 ns/op BenchmarkLastIndexAnyASCII/256:32-4 73609 1623 ns/op BenchmarkLastIndexAnyASCII/256:64-4 64257 1690 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2305098 51.36 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2499865 47.24 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2455369 49.09 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2501631 48.98 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2468829 47.25 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2456829 49.07 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2517506 49.07 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 400502 281.3 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 215575 551.6 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 198925 554.6 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 213062 560.6 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 219192 562.1 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 214174 563.1 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 212624 568.2 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 30492 3789 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 15068 8063 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 14949 8024 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 14842 8028 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 13959 8075 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 14750 8195 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 14878 8166 ns/op BenchmarkTrimASCII/1:1-4 3751650 31.73 ns/op BenchmarkTrimASCII/1:2-4 2949325 41.09 ns/op BenchmarkTrimASCII/1:4-4 2835286 41.18 ns/op BenchmarkTrimASCII/1:8-4 2394297 50.73 ns/op BenchmarkTrimASCII/1:16-4 2015181 65.20 ns/op BenchmarkTrimASCII/16:1-4 3126130 37.30 ns/op BenchmarkTrimASCII/16:2-4 855895 124.0 ns/op BenchmarkTrimASCII/16:4-4 884995 128.3 ns/op BenchmarkTrimASCII/16:8-4 774537 140.8 ns/op BenchmarkTrimASCII/16:16-4 737454 162.6 ns/op BenchmarkTrimASCII/256:1-4 916953 131.8 ns/op BenchmarkTrimASCII/256:2-4 90440 1315 ns/op BenchmarkTrimASCII/256:4-4 80910 1308 ns/op BenchmarkTrimASCII/256:8-4 90168 1326 ns/op BenchmarkTrimASCII/256:16-4 79812 1497 ns/op BenchmarkTrimASCII/4096:1-4 86744 1389 ns/op BenchmarkTrimASCII/4096:2-4 5200 20222 ns/op BenchmarkTrimASCII/4096:4-4 5451 20201 ns/op BenchmarkTrimASCII/4096:8-4 5100 20210 ns/op BenchmarkTrimASCII/4096:16-4 5632 20307 ns/op BenchmarkTrimByte-4 4880985 23.70 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 19309 6193 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 19306 6219 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 1227 97420 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 2439 48679 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 4324 24436 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 8708 12806 ns/op BenchmarkJoin/0-4 5999310 19.87 ns/op 0 B/op 0 allocs/op BenchmarkJoin/1-4 4702375 25.43 ns/op 0 B/op 0 allocs/op BenchmarkJoin/2-4 199898 564.2 ns/op 16 B/op 1 allocs/op BenchmarkJoin/3-4 144694 819.5 ns/op 24 B/op 1 allocs/op BenchmarkJoin/4-4 108412 1087 ns/op 48 B/op 1 allocs/op BenchmarkJoin/5-4 88081 1328 ns/op 48 B/op 1 allocs/op BenchmarkJoin/6-4 77330 1568 ns/op 64 B/op 1 allocs/op BenchmarkJoin/7-4 65929 1833 ns/op 64 B/op 1 allocs/op BenchmarkTrimSpace/NoTrim-4 3009607 39.37 ns/op BenchmarkTrimSpace/ASCII-4 1872620 64.39 ns/op BenchmarkTrimSpace/SomeNonASCII-4 159416 742.9 ns/op BenchmarkTrimSpace/JustNonASCII-4 86572 1371 ns/op BenchmarkReplaceAll-4 121864 912.0 ns/op 16 B/op 1 allocs/op PASS ok strings 52.044s goos: linux goarch: amd64 pkg: sync cpu: AMD EPYC 7B12 BenchmarkCond1-4 55915 2162 ns/op BenchmarkCond2-4 19192 5776 ns/op BenchmarkCond4-4 10000 10405 ns/op BenchmarkCond8-4 6568 15256 ns/op BenchmarkCond16-4 5181 38683 ns/op BenchmarkCond32-4 2155 74390 ns/op BenchmarkLoadMostlyHits/*sync_test.DeepCopyMap-4 576860 192.0 ns/op BenchmarkLoadMostlyHits/*sync_test.RWMutexMap-4 223107 540.7 ns/op BenchmarkLoadMostlyHits/*sync.Map-4 605625 171.5 ns/op BenchmarkLoadMostlyMisses/*sync_test.DeepCopyMap-4 545317 199.7 ns/op BenchmarkLoadMostlyMisses/*sync_test.RWMutexMap-4 187768 590.5 ns/op BenchmarkLoadMostlyMisses/*sync.Map-4 626088 160.8 ns/op BenchmarkLoadOrStoreBalanced/*sync_test.RWMutexMap-4 87878 1475 ns/op BenchmarkLoadOrStoreBalanced/*sync.Map-4 73399 1711 ns/op BenchmarkLoadOrStoreUnique/*sync_test.RWMutexMap-4 69087 2128 ns/op BenchmarkLoadOrStoreUnique/*sync.Map-4 49933 2841 ns/op BenchmarkLoadOrStoreCollision/*sync_test.DeepCopyMap-4 613640 164.8 ns/op BenchmarkLoadOrStoreCollision/*sync_test.RWMutexMap-4 148228 815.4 ns/op BenchmarkLoadOrStoreCollision/*sync.Map-4 596031 218.4 ns/op BenchmarkLoadAndDeleteBalanced/*sync_test.RWMutexMap-4 142384 826.2 ns/op BenchmarkLoadAndDeleteBalanced/*sync.Map-4 838668 147.0 ns/op BenchmarkLoadAndDeleteUnique/*sync_test.RWMutexMap-4 169159 710.3 ns/op BenchmarkLoadAndDeleteUnique/*sync.Map-4 1979758 53.65 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.DeepCopyMap-4 44937 2230 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.RWMutexMap-4 119942 1018 ns/op BenchmarkLoadAndDeleteCollision/*sync.Map-4 238102 638.9 ns/op BenchmarkRange/*sync_test.DeepCopyMap-4 6751 15976 ns/op BenchmarkRange/*sync_test.RWMutexMap-4 307 507753 ns/op BenchmarkRange/*sync.Map-4 1201 110409 ns/op BenchmarkAdversarialAlloc/*sync_test.DeepCopyMap-4 92691 1296 ns/op BenchmarkAdversarialAlloc/*sync_test.RWMutexMap-4 194449 601.4 ns/op BenchmarkAdversarialAlloc/*sync.Map-4 69151 1761 ns/op BenchmarkAdversarialDelete/*sync_test.DeepCopyMap-4 104594 1014 ns/op BenchmarkAdversarialDelete/*sync_test.RWMutexMap-4 190959 568.1 ns/op BenchmarkAdversarialDelete/*sync.Map-4 150978 773.9 ns/op BenchmarkDeleteCollision/*sync_test.DeepCopyMap-4 76963 1422 ns/op BenchmarkDeleteCollision/*sync_test.RWMutexMap-4 184416 616.8 ns/op BenchmarkDeleteCollision/*sync.Map-4 836108 218.1 ns/op BenchmarkSwapCollision/*sync_test.DeepCopyMap-4 51295 2215 ns/op BenchmarkSwapCollision/*sync_test.RWMutexMap-4 122372 920.6 ns/op BenchmarkSwapCollision/*sync.Map-4 52532 2115 ns/op BenchmarkSwapMostlyHits/*sync_test.DeepCopyMap-4 387 297528 ns/op BenchmarkSwapMostlyHits/*sync_test.RWMutexMap-4 94249 1221 ns/op BenchmarkSwapMostlyHits/*sync.Map-4 325809 444.3 ns/op BenchmarkSwapMostlyMisses/*sync_test.DeepCopyMap-4 22304 4633 ns/op BenchmarkSwapMostlyMisses/*sync_test.RWMutexMap-4 63309 2006 ns/op BenchmarkSwapMostlyMisses/*sync.Map-4 24846 5206 ns/op BenchmarkCompareAndSwapCollision/*sync_test.DeepCopyMap-4 319686 480.3 ns/op BenchmarkCompareAndSwapCollision/*sync_test.RWMutexMap-4 87422 1190 ns/op BenchmarkCompareAndSwapCollision/*sync.Map-4 138969 873.8 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.DeepCopyMap-4 1691049 63.69 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.RWMutexMap-4 153334 720.2 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync.Map-4 1807116 84.31 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.DeepCopyMap-4 697094 205.0 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.RWMutexMap-4 147079 915.3 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync.Map-4 418476 334.9 ns/op BenchmarkCompareAndSwapMostlyHits/*sync_test.RWMutexMap-4 88051 1510 ns/op BenchmarkCompareAndSwapMostlyHits/*sync.Map-4 279897 389.4 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.DeepCopyMap-4 482062 235.0 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.RWMutexMap-4 112822 1078 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync.Map-4 673740 188.2 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.DeepCopyMap-4 149600 1042 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.RWMutexMap-4 98181 1162 ns/op BenchmarkCompareAndDeleteCollision/*sync.Map-4 136686 881.4 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync_test.RWMutexMap-4 55354 2174 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync.Map-4 204079 628.5 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.DeepCopyMap-4 519464 222.5 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.RWMutexMap-4 105932 1048 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync.Map-4 639174 170.8 ns/op BenchmarkUncontendedSemaphore-4 6970093 17.20 ns/op BenchmarkContendedSemaphore-4 5089675 28.09 ns/op BenchmarkMutexUncontended-4 1177798 103.8 ns/op BenchmarkMutex-4 170154 753.5 ns/op BenchmarkMutexSlack-4 175425 779.1 ns/op BenchmarkMutexWork-4 140952 857.4 ns/op BenchmarkMutexWorkSlack-4 169836 882.0 ns/op BenchmarkMutexNoSpin-4 43621 2765 ns/op BenchmarkMutexSpin-4 73983 1776 ns/op BenchmarkOnce-4 905242 111.8 ns/op BenchmarkSemaUncontended-4 7919352 15.66 ns/op BenchmarkSemaSyntNonblock-4 1690867 61.25 ns/op BenchmarkSemaSyntBlock-4 1743864 75.36 ns/op BenchmarkSemaWorkNonblock-4 1000000 101.1 ns/op BenchmarkSemaWorkBlock-4 796326 153.3 ns/op BenchmarkRWMutexUncontended-4 576055 196.7 ns/op BenchmarkRWMutexWrite100-4 365113 389.6 ns/op BenchmarkRWMutexWrite10-4 297148 389.1 ns/op BenchmarkRWMutexWorkWrite100-4 207296 508.9 ns/op BenchmarkRWMutexWorkWrite10-4 228450 555.7 ns/op BenchmarkWaitGroupUncontended-4 835624 126.4 ns/op BenchmarkWaitGroupAddDone-4 1076127 246.1 ns/op BenchmarkWaitGroupAddDoneWork-4 347124 364.7 ns/op BenchmarkWaitGroupWait-4 3783878 28.99 ns/op BenchmarkWaitGroupWaitWork-4 2607517 45.78 ns/op BenchmarkWaitGroupActuallyWait-4 26908 4324 ns/op 32 B/op 2 allocs/op PASS ok sync 16.893s ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.89+ #1 SMP Sat Mar 18 09:27:02 UTC 2023 x86_64 ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: sync/atomic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkValueRead-4 479427 254.1 ns/op PASS ok sync/atomic 0.158s goos: linux goarch: amd64 pkg: testing cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkTBHelper-4 96672 1224 ns/op 0 B/op 0 allocs/op PASS ok testing 0.163s ##### 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/tabwriter cpu: AMD EPYC 7B12 BenchmarkTable/1x10/new-4 8306 14135 ns/op 1520 B/op 21 allocs/op BenchmarkTable/1x10/reuse-4 11571 10268 ns/op 0 B/op 0 allocs/op BenchmarkTable/1x1000/new-4 86 1200492 ns/op 129392 B/op 1025 allocs/op BenchmarkTable/1x1000/reuse-4 123 965472 ns/op 1051 B/op 8 allocs/op BenchmarkTable/1x100000/new-4 1 148302791 ns/op 19393008 B/op 100057 allocs/op BenchmarkTable/1x100000/reuse-4 1 139830590 ns/op 19393008 B/op 100057 allocs/op BenchmarkTable/10x10/new-4 1651 63424 ns/op 5056 B/op 31 allocs/op BenchmarkTable/10x10/reuse-4 1926 54429 ns/op 2 B/op 0 allocs/op BenchmarkTable/10x1000/new-4 19 5959280 ns/op 413568 B/op 1039 allocs/op BenchmarkTable/10x1000/reuse-4 18 5671723 ns/op 22976 B/op 57 allocs/op BenchmarkTable/10x100000/new-4 1 628684689 ns/op 48120704 B/op 100073 allocs/op BenchmarkTable/10x100000/reuse-4 1 623150369 ns/op 48120704 B/op 100073 allocs/op BenchmarkTable/100x10/new-4 222 552186 ns/op 39296 B/op 41 allocs/op BenchmarkTable/100x10/reuse-4 228 525105 ns/op 172 B/op 0 allocs/op BenchmarkTable/100x1000/new-4 2 55449810 ns/op 3288960 B/op 1053 allocs/op BenchmarkTable/100x1000/reuse-4 2 53970060 ns/op 1644480 B/op 526 allocs/op BenchmarkTable/100x100000/new-4 1 6359775412 ns/op 335150048 B/op 100090 allocs/op BenchmarkTable/100x100000/reuse-4 1 6249104774 ns/op 335149968 B/op 100091 allocs/op BenchmarkPyramid/10-4 2865 38952 ns/op 4872 B/op 35 allocs/op BenchmarkPyramid/100-4 40 2908140 ns/op 409128 B/op 230 allocs/op BenchmarkPyramid/1000-4 1 293966413 ns/op 35625256 B/op 2055 allocs/op BenchmarkRagged/10-4 2588 43662 ns/op 4512 B/op 34 allocs/op BenchmarkRagged/100-4 277 430432 ns/op 41008 B/op 188 allocs/op BenchmarkRagged/1000-4 26 4214813 ns/op 427424 B/op 1661 allocs/op BenchmarkCode-4 7088 14957 ns/op 624 B/op 13 allocs/op PASS ok text/tabwriter 17.258s goos: linux goarch: amd64 pkg: text/template/parse cpu: AMD EPYC 7B12 BenchmarkParseLarge-4 2 72785291 ns/op BenchmarkVariableString-4 100443 1165 ns/op 80 B/op 3 allocs/op BenchmarkListString-4 2106 55101 ns/op 2507 B/op 39 allocs/op PASS ok text/template/parse 0.499s goos: linux goarch: amd64 pkg: time cpu: AMD EPYC 7B12 BenchmarkAfterFunc-4 34 4198472 ns/op BenchmarkAfter-4 93 1161393 ns/op BenchmarkStop-4 196 527669 ns/op BenchmarkSimultaneousAfterFunc-4 28 4696535 ns/op BenchmarkStartStop-4 217 567073 ns/op BenchmarkReset-4 3298 42687 ns/op BenchmarkSleep-4 32 3988410 ns/op BenchmarkParallelTimerLatency-4 50 222667 avg-late-ns 2189920 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=1-4 37 324860 avg-late-ns 1010554 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=2-4 32 338331 avg-late-ns 891653 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=3-4 34 410464 avg-late-ns 1257180 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=4-4 33 311645 avg-late-ns 1416383 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=5-4 31 332016 avg-late-ns 1813231 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=6-4 31 220617 avg-late-ns 1516525 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=7-4 30 186200 avg-late-ns 2168490 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=8-4 27 170882 avg-late-ns 1191962 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=9-4 26 199788 avg-late-ns 1443032 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=10-4 26 849943 avg-late-ns 5394242 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=2ms/tickers-per-P=1-4 34 318853 avg-late-ns 888632 max-late-ns BenchmarkTicker-4 352 390302 ns/op BenchmarkTickerReset-4 4665 26596 ns/op BenchmarkTickerResetNaive-4 180 565089 ns/op BenchmarkNow-4 1276425 96.28 ns/op BenchmarkNowUnixNano-4 1000000 102.1 ns/op BenchmarkNowUnixMilli-4 1201167 99.54 ns/op BenchmarkNowUnixMicro-4 1000000 100.6 ns/op BenchmarkFormat-4 59853 2032 ns/op BenchmarkFormatRFC3339-4 83640 1457 ns/op BenchmarkFormatRFC3339Nano-4 82245 1468 ns/op BenchmarkFormatNow-4 83326 1441 ns/op BenchmarkMarshalJSON-4 113156 1072 ns/op BenchmarkMarshalText-4 111348 1056 ns/op BenchmarkParse-4 138319 906.9 ns/op BenchmarkParseRFC3339UTC-4 319612 353.2 ns/op BenchmarkParseRFC3339UTCBytes-4 218739 538.5 ns/op BenchmarkParseRFC3339TZ-4 98298 1199 ns/op BenchmarkParseRFC3339TZBytes-4 79184 1507 ns/op BenchmarkParseDuration-4 586779 202.1 ns/op BenchmarkHour-4 995601 115.8 ns/op BenchmarkSecond-4 1000000 112.3 ns/op BenchmarkYear-4 755286 157.3 ns/op BenchmarkDay-4 700987 169.0 ns/op BenchmarkISOWeek-4 744739 160.7 ns/op BenchmarkGoString-4 76690 1518 ns/op BenchmarkUnmarshalText-4 66182 1681 ns/op PASS ok time 10.929s goos: linux goarch: amd64 pkg: unicode/utf16 cpu: AMD EPYC 7B12 BenchmarkDecodeValidASCII-4 620535 166.5 ns/op BenchmarkDecodeValidJapaneseChars-4 813867 140.2 ns/op BenchmarkDecodeRune-4 1517894 76.01 ns/op BenchmarkEncodeValidASCII-4 548852 194.5 ns/op BenchmarkEncodeValidJapaneseChars-4 760070 139.3 ns/op BenchmarkAppendRuneValidASCII-4 1747524 68.43 ns/op BenchmarkAppendRuneValidJapaneseChars-4 2713773 42.37 ns/op BenchmarkEncodeRune-4 3522028 38.34 ns/op PASS ok unicode/utf16 1.207s goos: linux goarch: amd64 pkg: unicode/utf8 cpu: AMD EPYC 7B12 BenchmarkRuneCountTenASCIIChars-4 1164387 102.4 ns/op BenchmarkRuneCountTenJapaneseChars-4 210349 526.3 ns/op BenchmarkRuneCountInStringTenASCIIChars-4 4348092 27.62 ns/op BenchmarkRuneCountInStringTenJapaneseChars-4 542734 220.2 ns/op BenchmarkValidTenASCIIChars-4 1281614 94.71 ns/op BenchmarkValid100KASCIIChars-4 146 815163 ns/op BenchmarkValidTenJapaneseChars-4 213738 566.6 ns/op BenchmarkValidLongMostlyASCII-4 129 916283 ns/op BenchmarkValidLongJapanese-4 68 1756813 ns/op BenchmarkValidStringTenASCIIChars-4 5156455 22.11 ns/op BenchmarkValidString100KASCIIChars-4 10000 10265 ns/op BenchmarkValidStringTenJapaneseChars-4 556154 194.5 ns/op BenchmarkValidStringLongMostlyASCII-4 1063 112437 ns/op BenchmarkValidStringLongJapanese-4 224 533376 ns/op BenchmarkEncodeASCIIRune-4 4905880 24.38 ns/op BenchmarkEncodeJapaneseRune-4 2880189 41.23 ns/op BenchmarkAppendASCIIRune-4 11767636 10.20 ns/op BenchmarkAppendJapaneseRune-4 3263059 36.45 ns/op BenchmarkDecodeASCIIRune-4 3373064 35.50 ns/op BenchmarkDecodeJapaneseRune-4 2249329 54.47 ns/op BenchmarkFullRune/ASCII-4 4270036 28.64 ns/op BenchmarkFullRune/Incomplete-4 1819587 64.85 ns/op BenchmarkFullRune/Japanese-4 4540426 26.48 ns/op PASS ok unicode/utf8 3.636s goos: linux goarch: amd64 pkg: cmd/api cpu: AMD EPYC 7B12 BenchmarkAll-4 1 51191241042 ns/op PASS ok cmd/api 57.058s goos: linux goarch: amd64 pkg: cmd/compile/internal/reflectdata cpu: AMD EPYC 7B12 BenchmarkEqArrayOfStrings5-4 1079851 109.6 ns/op BenchmarkEqArrayOfStrings64-4 137544 860.1 ns/op BenchmarkEqArrayOfStrings1024-4 7754 14514 ns/op BenchmarkEqArrayOfFloats5-4 1279918 94.98 ns/op BenchmarkEqArrayOfFloats64-4 136971 876.8 ns/op BenchmarkEqArrayOfFloats1024-4 7591 14866 ns/op BenchmarkEqStruct-4 17370612 7.064 ns/op PASS ok cmd/compile/internal/reflectdata 1.098s goos: linux goarch: amd64 pkg: cmd/compile/internal/ssa cpu: AMD EPYC 7B12 BenchmarkPhioptPass-4 10000 55323 ns/op BenchmarkCopyElim1-4 693 163812 ns/op BenchmarkCopyElim10-4 651 169561 ns/op BenchmarkCopyElim100-4 398 307447 ns/op BenchmarkCopyElim1000-4 72 1552598 ns/op BenchmarkCopyElim10000-4 4 27959750 ns/op BenchmarkCopyElim100000-4 1 514346195 ns/op BenchmarkDeadCode/1-4 678 159234 ns/op BenchmarkDeadCode/10-4 618 178116 ns/op BenchmarkDeadCode/100-4 301 396642 ns/op BenchmarkDeadCode/1000-4 62 2300640 ns/op BenchmarkDeadCode/10000-4 4 26300923 ns/op BenchmarkDeadCode/100000-4 1 378959660 ns/op BenchmarkDeadCode/200000-4 1 795857216 ns/op BenchmarkDominatorsLinear-4 15 7993493 ns/op 1.25 MB/s BenchmarkDominatorsFwdBack-4 10 12702306 ns/op 0.79 MB/s BenchmarkDominatorsManyPred-4 9 12506035 ns/op 0.80 MB/s BenchmarkDominatorsMaxPred-4 9 11744665 ns/op 0.85 MB/s BenchmarkDominatorsMaxPredVal-4 12 12482013 ns/op 0.80 MB/s BenchmarkFuse/1-4 615 172293 ns/op BenchmarkFuse/10-4 542 207591 ns/op BenchmarkFuse/100-4 172 665690 ns/op BenchmarkFuse/1000-4 25 5131477 ns/op BenchmarkFuse/10000-4 2 62700162 ns/op BenchmarkNilCheckDeep1-4 12022 10411 ns/op 0.10 MB/s 235 B/op 4 allocs/op BenchmarkNilCheckDeep10-4 4772 24754 ns/op 0.40 MB/s 239 B/op 4 allocs/op BenchmarkNilCheckDeep100-4 712 166535 ns/op 0.60 MB/s 681 B/op 4 allocs/op BenchmarkNilCheckDeep1000-4 66 1609153 ns/op 0.62 MB/s 4538 B/op 4 allocs/op BenchmarkNilCheckDeep10000-4 6 18583435 ns/op 0.54 MB/s 142372 B/op 7 allocs/op BenchmarkDSEPass-4 28 3895970 ns/op 63446 B/op 8 allocs/op BenchmarkDSEPassBlock-4 1 129589759 ns/op 4256592 B/op 108479 allocs/op BenchmarkCSEPass-4 7 16857358 ns/op 122173 B/op 10 allocs/op BenchmarkCSEPassBlock-4 1 168877616 ns/op 5683864 B/op 97602 allocs/op BenchmarkDeadcodePass-4 189 606862 ns/op 94206 B/op 3 allocs/op BenchmarkDeadcodePassBlock-4 1 133290860 ns/op 4040448 B/op 44873 allocs/op BenchmarkMultiPass-4 78 1398738 ns/op 240634 B/op 11 allocs/op BenchmarkMultiPassBlock-4 1 258821229 ns/op 11161488 B/op 149532 allocs/op BenchmarkCondRewrite/SoloJump-4 2932680 40.34 ns/op BenchmarkCondRewrite/CombJump-4 2754391 42.65 ns/op PASS ok cmd/compile/internal/ssa 14.493s goos: linux goarch: amd64 pkg: cmd/compile/internal/test cpu: AMD EPYC 7B12 BenchmarkLoadAdd-4 8037 15159 ns/op BenchmarkExtShift-4 17216 6929 ns/op BenchmarkModify-4 8406 13812 ns/op BenchmarkMullImm-4 17245 6962 ns/op BenchmarkConstModify-4 8317 13863 ns/op BenchmarkBitSet-4 18842 6438 ns/op BenchmarkBitClear-4 18766 6461 ns/op BenchmarkBitToggle-4 18720 6481 ns/op BenchmarkBitSetConst-4 144231 798.4 ns/op BenchmarkBitClearConst-4 133887 807.0 ns/op BenchmarkBitToggleConst-4 149683 801.3 ns/op BenchmarkDivconstI64-4 8076326 14.01 ns/op BenchmarkModconstI64-4 8628703 13.82 ns/op BenchmarkDivisiblePow2constI64-4 8102167 14.49 ns/op BenchmarkDivisibleconstI64-4 8701118 14.02 ns/op BenchmarkDivisibleWDivconstI64-4 6499551 18.05 ns/op BenchmarkDivconstU64/3-4 8375248 13.40 ns/op BenchmarkDivconstU64/5-4 8266232 13.78 ns/op BenchmarkDivconstU64/37-4 8854245 13.55 ns/op BenchmarkDivconstU64/1234567-4 8615774 13.51 ns/op BenchmarkModconstU64-4 7330974 15.71 ns/op BenchmarkDivisibleconstU64-4 8319460 13.68 ns/op BenchmarkDivisibleWDivconstU64-4 6023636 18.32 ns/op BenchmarkDivconstI32-4 8828865 13.56 ns/op BenchmarkModconstI32-4 8595039 13.85 ns/op BenchmarkDivisiblePow2constI32-4 8653837 13.14 ns/op BenchmarkDivisibleconstI32-4 8945008 13.01 ns/op BenchmarkDivisibleWDivconstI32-4 6221638 18.24 ns/op BenchmarkDivconstU32-4 7904361 14.02 ns/op BenchmarkModconstU32-4 8697214 13.94 ns/op BenchmarkDivisibleconstU32-4 9165132 13.26 ns/op BenchmarkDivisibleWDivconstU32-4 6156984 18.16 ns/op BenchmarkDivconstI16-4 8223423 13.86 ns/op BenchmarkModconstI16-4 8508898 14.17 ns/op BenchmarkDivisiblePow2constI16-4 8863885 13.11 ns/op BenchmarkDivisibleconstI16-4 9139778 13.26 ns/op BenchmarkDivisibleWDivconstI16-4 6408772 18.96 ns/op BenchmarkDivconstU16-4 8754963 13.12 ns/op BenchmarkModconstU16-4 9045223 13.20 ns/op BenchmarkDivisibleconstU16-4 9010725 13.26 ns/op BenchmarkDivisibleWDivconstU16-4 6401898 18.71 ns/op BenchmarkDivconstI8-4 8996182 13.15 ns/op BenchmarkModconstI8-4 9113215 13.22 ns/op BenchmarkDivisiblePow2constI8-4 8997760 13.29 ns/op BenchmarkDivisibleconstI8-4 9052920 13.42 ns/op BenchmarkDivisibleWDivconstI8-4 6622149 18.40 ns/op BenchmarkDivconstU8-4 8582130 13.20 ns/op BenchmarkModconstU8-4 9165754 14.50 ns/op BenchmarkDivisibleconstU8-4 8295571 13.26 ns/op BenchmarkDivisibleWDivconstU8-4 6320599 18.06 ns/op BenchmarkMul2-4 246145 490.7 ns/op BenchmarkMulNeg2-4 243926 489.4 ns/op BenchmarkEfaceInteger-4 3895720 28.91 ns/op BenchmarkMulconstI32/3-4 17446954 6.920 ns/op BenchmarkMulconstI32/5-4 17342917 6.895 ns/op BenchmarkMulconstI32/12-4 17123358 6.919 ns/op BenchmarkMulconstI32/120-4 17472589 6.872 ns/op BenchmarkMulconstI32/-120-4 17309198 6.904 ns/op BenchmarkMulconstI32/65537-4 17301386 6.872 ns/op BenchmarkMulconstI32/65538-4 17321890 6.869 ns/op BenchmarkMulconstI64/3-4 17260347 6.898 ns/op BenchmarkMulconstI64/5-4 17321815 6.911 ns/op BenchmarkMulconstI64/12-4 15788350 6.885 ns/op BenchmarkMulconstI64/120-4 17263603 6.903 ns/op BenchmarkMulconstI64/-120-4 17351894 6.882 ns/op BenchmarkMulconstI64/65537-4 17361712 6.946 ns/op BenchmarkMulconstI64/65538-4 17357343 6.884 ns/op BenchmarkMulconstU32/3-4 17357042 6.897 ns/op BenchmarkMulconstU32/5-4 17478315 6.891 ns/op BenchmarkMulconstU32/12-4 17084449 6.888 ns/op BenchmarkMulconstU32/120-4 17100249 6.896 ns/op BenchmarkMulconstU32/65537-4 17407122 6.884 ns/op BenchmarkMulconstU32/65538-4 17416621 6.898 ns/op BenchmarkMulconstU64/3-4 16943336 6.906 ns/op BenchmarkMulconstU64/5-4 17342844 6.884 ns/op BenchmarkMulconstU64/12-4 17226849 6.903 ns/op BenchmarkMulconstU64/120-4 17424385 6.894 ns/op BenchmarkMulconstU64/65537-4 17255830 6.946 ns/op BenchmarkMulconstU64/65538-4 17388302 6.882 ns/op BenchmarkShiftArithmeticRight-4 17487609 6.892 ns/op BenchmarkSwitch8Predictable-4 12543824 9.116 ns/op BenchmarkSwitch8Unpredictable-4 6587007 17.74 ns/op BenchmarkSwitch32Predictable-4 10512594 11.08 ns/op BenchmarkSwitch32Unpredictable-4 6685861 17.77 ns/op BenchmarkSwitchStringPredictable-4 6261543 18.36 ns/op BenchmarkSwitchStringUnpredictable-4 4666142 24.80 ns/op PASS ok cmd/compile/internal/test 11.883s goos: linux goarch: amd64 pkg: cmd/compile/internal/types2 cpu: AMD EPYC 7B12 BenchmarkLookupFieldOrMethod-4 172 719769 ns/op BenchmarkNamed/Underlying/nongeneric-4 1165890 102.4 ns/op BenchmarkNamed/Underlying/generic-4 1000000 106.5 ns/op BenchmarkNamed/Underlying/src_instance-4 1000000 107.2 ns/op BenchmarkNamed/Underlying/user_instance-4 1000000 102.8 ns/op BenchmarkCheck/http/funcbodies/info-4 1 425466734 ns/op 71840 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 323017638 ns/op 94625 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 128611007 ns/op 237570 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 118170626 ns/op 258562 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 324929638 ns/op 15786 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 2 79948360 ns/op 64149 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 4 29812104 ns/op 171981 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 4 29190807 ns/op 175634 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 120587487 ns/op 17988 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 3 37396432 ns/op 58012 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 6 19677536 ns/op 110243 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 6 18796549 ns/op 115419 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 859386507 ns/op 74069 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 518177968 ns/op 122842 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 126428437 ns/op 503256 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 2 101102296 ns/op 629454 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 375525921 ns/op 5320 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 59786784 ns/op 33404 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 3 34151042 ns/op 58475 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 4 33977487 ns/op 58778 lines/s PASS ok cmd/compile/internal/types2 15.135s goos: linux goarch: amd64 pkg: cmd/go cpu: AMD EPYC 7B12 BenchmarkExecGoEnv-4 182 609038 ns/op 1346637 sys-ns/op 854995 user-ns/op PASS ok cmd/go 0.196s ##### 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/internal/notsha256 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 67323 1744 ns/op 4.59 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 77082 1521 ns/op 5.26 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 14301 8325 ns/op 123.01 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 14816 8090 ns/op 126.58 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 2199 53730 ns/op 152.47 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 2227 53839 ns/op 152.16 MB/s 0 B/op 0 allocs/op PASS ok cmd/internal/notsha256 0.971s All tests passed.