linux-amd64-race at ff07c540b13983aff41e2af4196853602c1192dd :: 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-rn0389e95" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=0s" "GO_STAGE0_DL_DELAY=200ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-race" "GO_DISABLE_OUTBOUND_NETWORK=1" "GOBIN=" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache" "GOPLSCACHE=/workdir/goplscache" "PWD=/workdir/go/src"] in dir /workdir/go/src Building Go cmd/dist using /workdir/go1.4. (go1.17.13 linux/amd64) Building Go toolchain1 using /workdir/go1.4. Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. Building Go toolchain2 using go_bootstrap and Go toolchain1. Building Go toolchain3 using go_bootstrap and Go toolchain2. Building packages and commands for linux/amd64. --- Installed Go for linux/amd64 in /workdir/go Installed commands in /workdir/go/bin *** You need to add /workdir/go/bin to your PATH. :: Running /workdir/go/bin/go with args ["/workdir/go/bin/go" "install" "-race" "std"] and env ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "HOSTNAME=buildlet-linux-amd64-bullseye-rn0389e95" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=0s" "GO_STAGE0_DL_DELAY=200ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-race" "GO_DISABLE_OUTBOUND_NETWORK=1" "GOBIN=" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache" "GOPLSCACHE=/workdir/goplscache" "PWD=/workdir/go/bin"] in dir /workdir/go/bin ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Testing packages. ok archive/tar 2.193s ok archive/zip 3.359s ok bufio 1.308s ok bytes 4.254s ok cmp 1.017s ok compress/bzip2 1.456s ok compress/flate 6.744s ok compress/gzip 13.018s ok compress/lzw 1.566s ok compress/zlib 5.971s ok container/heap 1.022s ok container/list 1.018s ok container/ring 1.020s ok context 1.046s ok crypto 1.017s ok crypto/aes 1.053s ok crypto/cipher 1.047s ok crypto/des 1.050s ok crypto/dsa 1.019s ok crypto/ecdh 1.210s ok crypto/ecdsa 1.129s ok crypto/ed25519 1.376s ok crypto/elliptic 1.041s ok crypto/hmac 1.020s ok crypto/internal/alias 1.016s ok crypto/internal/bigmod 3.617s ok crypto/internal/boring 1.017s ok crypto/internal/boring/bcache 1.381s ok crypto/internal/edwards25519 37.484s ok crypto/internal/edwards25519/field 13.200s ok crypto/internal/nistec 1.821s ok crypto/internal/nistec/fiat 1.017s [no tests to run] ok crypto/md5 1.023s ok crypto/rand 1.306s ok crypto/rc4 1.440s ok crypto/rsa 2.588s ok crypto/sha1 1.039s ok crypto/sha256 1.022s ok crypto/sha512 1.023s ok crypto/subtle 1.427s ok crypto/tls 3.668s ok crypto/x509 2.373s ok database/sql 1.354s ok database/sql/driver 1.016s ok debug/buildinfo 1.037s ok debug/dwarf 1.080s ok debug/elf 2.237s ok debug/gosym 1.323s ok debug/macho 1.038s ok debug/pe 1.049s ok debug/plan9obj 1.016s ok embed 1.017s [no tests to run] ok embed/internal/embedtest 1.019s ok encoding/ascii85 1.022s ok encoding/asn1 1.022s ok encoding/base32 1.060s ok encoding/base64 1.024s ok encoding/binary 1.024s ok encoding/csv 1.056s ok encoding/gob 20.814s ok encoding/hex 1.024s ok encoding/json 2.309s ok encoding/pem 3.309s ok encoding/xml 1.212s ok errors 1.024s ok expvar 1.018s ok flag 3.103s ok fmt 1.557s ok go/ast 1.027s ok go/build 5.369s ok go/build/constraint 1.023s ok go/constant 1.025s ok go/doc 1.238s ok go/doc/comment 3.107s ok go/format 1.046s ok go/importer 1.176s ok go/internal/gccgoimporter 1.046s ok go/internal/gcimporter 2.221s ok go/internal/srcimporter 14.940s ok go/parser 1.889s ok go/printer 2.287s ok go/scanner 1.023s ok go/token 1.113s ok go/types 33.731s ok hash 1.020s ok hash/adler32 1.047s ok hash/crc32 1.050s ok hash/crc64 1.028s ok hash/fnv 1.017s ok hash/maphash 1.018s ok html 1.018s ok html/template 1.226s ok image 1.415s ok image/color 1.039s ok image/draw 1.557s ok image/gif 1.900s ok image/jpeg 2.281s ok image/png 4.117s ok index/suffixarray 1.950s ok internal/abi 1.056s ok internal/buildcfg 1.017s ok internal/coverage/cformat 1.017s ok internal/coverage/cmerge 1.016s ok internal/coverage/pods 1.019s ok internal/coverage/slicereader 1.016s ok internal/coverage/slicewriter 1.015s ok internal/coverage/test 1.044s ok internal/cpu 3.049s ok internal/dag 1.017s ok internal/diff 1.018s ok internal/fmtsort 1.017s ok internal/fuzz 1.036s ok internal/godebug 13.794s ok internal/godebugs 1.016s ok internal/intern 1.229s ok internal/itoa 1.016s ok internal/poll 1.502s ok internal/profile 1.018s ok internal/reflectlite 1.019s ok internal/safefilepath 1.016s ok internal/saferio 1.275s ok internal/singleflight 1.106s ok internal/testenv 1.167s ok internal/trace 1.166s ok internal/types/errors 1.375s ok internal/unsafeheader 1.016s ok internal/xcoff 1.033s ok internal/zstd 1.020s ok io 1.053s ok io/fs 1.245s ok io/ioutil 1.026s ok log 1.029s ok log/slog 1.042s ok log/slog/internal/benchmarks 1.017s ok log/slog/internal/buffer 1.016s ok log/syslog 2.239s ok maps 1.018s ok math 1.029s ok math/big 4.007s ok math/bits 1.029s ok math/cmplx 1.020s ok math/rand 4.072s ok mime 1.037s ok mime/multipart 6.174s ok mime/quotedprintable 1.051s ok net 40.692s ok net/http 7.985s ok net/http/cgi 12.413s ok net/http/cookiejar 1.026s ok net/http/fcgi 1.127s ok net/http/httptest 1.177s ok net/http/httptrace 1.017s ok net/http/httputil 1.660s ok net/http/internal 1.021s ok net/http/internal/ascii 1.017s ok net/http/pprof 6.177s ok net/internal/socktest 1.018s ok net/mail 1.024s ok net/netip 1.338s ok net/rpc 1.057s ok net/rpc/jsonrpc 1.028s ok net/smtp 1.066s ok net/textproto 1.047s ok net/url 1.031s ok os 6.367s ok os/exec 4.126s ok os/exec/internal/fdtest 1.016s ok os/signal 17.093s ok os/user 1.018s ok path 1.021s ok path/filepath 1.065s ok plugin 1.016s ok reflect 1.549s ok regexp 4.140s ok regexp/syntax 5.420s ok runtime 39.334s ok runtime/cgo 1.017s ok runtime/coverage 1.019s ok runtime/debug 2.087s ok runtime/internal/atomic 1.073s ok runtime/internal/math 1.018s ok runtime/internal/sys 1.017s ok runtime/internal/syscall 1.016s ok runtime/internal/wasitest 1.017s ok runtime/metrics 1.028s ok runtime/pprof 19.221s ok runtime/race 11.893s ok runtime/trace 4.254s ok slices 1.455s ok sort 1.397s ok strconv 3.316s ok strings 2.585s ok sync 1.476s ok sync/atomic 2.773s ok syscall 11.078s ok testing 2.781s ok testing/fstest 1.021s ok testing/iotest 1.019s ok testing/quick 1.163s ok testing/slogtest 1.018s ok text/scanner 1.031s ok text/tabwriter 1.020s ok text/template 1.089s ok text/template/parse 1.032s ok time 3.234s ok unicode 1.024s ok unicode/utf16 1.018s ok unicode/utf8 1.032s ok cmd/addr2line 4.306s ok cmd/api 14.290s ok cmd/asm/internal/asm 4.345s ok cmd/asm/internal/lex 1.020s ok cmd/cgo/internal/swig 1.762s ok cmd/cgo/internal/test 2.236s ok cmd/cgo/internal/testcarchive 22.114s ok cmd/cgo/internal/testcshared 5.771s ok cmd/cgo/internal/testerrors 10.085s ok cmd/cgo/internal/testfortran 2.368s ok cmd/cgo/internal/testgodefs 1.620s ok cmd/cgo/internal/testlife 1.629s ok cmd/cgo/internal/testnocgo 1.016s ok cmd/cgo/internal/testplugin 29.277s ok cmd/cgo/internal/testsanitizers 17.907s ok cmd/cgo/internal/testshared 41.699s ok cmd/cgo/internal/testso 2.426s ok cmd/cgo/internal/teststdio 2.408s ok cmd/cgo/internal/testtls 1.017s ok cmd/compile/internal/abt 1.043s ok cmd/compile/internal/amd64 56.254s ok cmd/compile/internal/base 1.018s ok cmd/compile/internal/compare 1.018s ok cmd/compile/internal/dwarfgen 1.425s ok cmd/compile/internal/importer 1.856s ok cmd/compile/internal/ir 1.017s ok cmd/compile/internal/logopt 1.204s ok cmd/compile/internal/loopvar 25.433s ok cmd/compile/internal/noder 1.021s ok cmd/compile/internal/reflectdata 1.018s [no tests to run] ok cmd/compile/internal/ssa 23.634s ok cmd/compile/internal/syntax 1.139s ok cmd/compile/internal/test 12.904s ok cmd/compile/internal/typecheck 1.234s ok cmd/compile/internal/types 1.017s ok cmd/compile/internal/types2 8.799s ok cmd/covdata 1.021s ok cmd/cover 15.853s ok cmd/dist 1.018s ok cmd/distpack 1.017s ok cmd/doc 1.777s ok cmd/fix 1.824s ok cmd/go 202.431s ok cmd/go/internal/auth 1.018s ok cmd/go/internal/cache 1.124s ok cmd/go/internal/envcmd 1.036s ok cmd/go/internal/fsys 1.043s ok cmd/go/internal/generate 1.028s ok cmd/go/internal/get 1.028s ok cmd/go/internal/gover 1.018s ok cmd/go/internal/imports 1.030s ok cmd/go/internal/load 1.025s ok cmd/go/internal/lockedfile 2.151s ok cmd/go/internal/lockedfile/internal/filelock 2.055s ok cmd/go/internal/modconv 1.033s ok cmd/go/internal/modfetch 1.028s ok cmd/go/internal/modfetch/codehost 1.441s ok cmd/go/internal/modfetch/zip_sum_test 1.021s ok cmd/go/internal/modindex 1.601s ok cmd/go/internal/modload 1.029s ok cmd/go/internal/mvs 1.044s ok cmd/go/internal/par 1.105s ok cmd/go/internal/str 1.017s ok cmd/go/internal/test 1.040s ok cmd/go/internal/vcs 1.024s ok cmd/go/internal/vcweb 1.024s ok cmd/go/internal/vcweb/vcstest 5.209s ok cmd/go/internal/web 1.020s ok cmd/go/internal/work 1.131s ok cmd/gofmt 1.202s ok cmd/internal/archive 1.389s ok cmd/internal/bootstrap_test 1.016s ok cmd/internal/buildid 1.548s ok cmd/internal/cov 1.267s ok cmd/internal/dwarf 1.018s ok cmd/internal/edit 1.016s ok cmd/internal/goobj 1.016s ok cmd/internal/moddeps 2.140s ok cmd/internal/notsha256 1.018s ok cmd/internal/obj 1.467s ok cmd/internal/obj/ppc64 1.093s ok cmd/internal/obj/riscv 1.036s ok cmd/internal/obj/s390x 1.017s ok cmd/internal/obj/x86 1.167s ok cmd/internal/objabi 1.017s ok cmd/internal/pkgpath 5.083s ok cmd/internal/pkgpattern 1.021s ok cmd/internal/quoted 1.019s ok cmd/internal/src 1.017s ok cmd/internal/test2json 1.748s ok cmd/link 9.877s ok cmd/link/internal/benchmark 1.019s ok cmd/link/internal/ld 3.633s ok cmd/link/internal/loader 1.052s ok cmd/nm 9.197s ok cmd/objdump 5.120s ok cmd/pack 7.326s ok cmd/pprof 3.460s ok cmd/trace 1.281s ok cmd/vet 31.518s ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: archive/tar cpu: Intel(R) Xeon(R) CPU @ 2.20GHz Benchmark/Writer/USTAR-4 2676 39095 ns/op 1368 B/op 25 allocs/op Benchmark/Writer/GNU-4 2131 50705 ns/op 1854 B/op 36 allocs/op Benchmark/Writer/PAX-4 1573 76945 ns/op 2560 B/op 59 allocs/op Benchmark/Reader/USTAR-4 4034 28687 ns/op 5126 B/op 15 allocs/op Benchmark/Reader/GNU-4 5260 20399 ns/op 5178 B/op 15 allocs/op Benchmark/Reader/PAX-4 2037 59287 ns/op 8836 B/op 33 allocs/op PASS ok archive/tar 1.845s goos: linux goarch: amd64 pkg: archive/zip cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCompressedZipGarbage-4 1 345111533 ns/op 14880 B/op 66 allocs/op BenchmarkZip64Test-4 1 161648397 ns/op BenchmarkZip64TestSizes/4096-4 1293 99624 ns/op BenchmarkZip64TestSizes/1048576-4 166 693276 ns/op BenchmarkZip64TestSizes/67108864-4 1 138883331 ns/op PASS ok archive/zip 2.311s goos: linux goarch: amd64 pkg: bufio cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReaderCopyOptimal-4 232305 485.8 ns/op BenchmarkReaderCopyUnoptimal-4 140484 813.9 ns/op BenchmarkReaderCopyNoWriteTo-4 7826 17757 ns/op BenchmarkReaderWriteToOptimal-4 6678 15651 ns/op BenchmarkReaderReadString-4 130192 862.7 ns/op 144 B/op 1 allocs/op BenchmarkWriterCopyOptimal-4 214273 554.8 ns/op BenchmarkWriterCopyUnoptimal-4 216682 552.8 ns/op BenchmarkWriterCopyNoReadFrom-4 7454 17837 ns/op BenchmarkReaderEmpty-4 38108 3037 ns/op 4224 B/op 3 allocs/op BenchmarkWriterEmpty-4 26982 4118 ns/op 4096 B/op 1 allocs/op BenchmarkWriterFlush-4 561817 194.9 ns/op 0 B/op 0 allocs/op PASS ok bufio 2.523s goos: linux goarch: amd64 pkg: bytes cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadString-4 5332 20754 ns/op 1578.86 MB/s BenchmarkWriteByte-4 486 239470 ns/op 17.10 MB/s BenchmarkWriteRune-4 273 437058 ns/op 28.12 MB/s BenchmarkBufferNotEmptyWriteRead-4 31 3601818 ns/op BenchmarkBufferFullSmallReads-4 100 1005783 ns/op BenchmarkBufferWriteBlock/N4096-4 8788 13264 ns/op 14336 B/op 6 allocs/op BenchmarkBufferWriteBlock/N65536-4 512 211381 ns/op 260096 B/op 14 allocs/op BenchmarkBufferWriteBlock/N1048576-4 6 22643642 ns/op 4192256 B/op 22 allocs/op BenchmarkBufferAppendNoCopy-4 1 145441022 ns/op 115.35 MB/s 33554432 B/op 2 allocs/op BenchmarkIndexByte/10-4 4811350 24.34 ns/op 410.85 MB/s BenchmarkIndexByte/32-4 4643695 25.58 ns/op 1251.18 MB/s BenchmarkIndexByte/4K-4 850954 134.9 ns/op 30360.60 MB/s BenchmarkIndexBytePortable/10-4 874176 126.0 ns/op 79.37 MB/s BenchmarkIndexBytePortable/32-4 280819 408.2 ns/op 78.40 MB/s BenchmarkIndexBytePortable/4K-4 2462 48699 ns/op 84.11 MB/s BenchmarkIndexRune/10-4 1225389 94.57 ns/op 105.74 MB/s BenchmarkIndexRune/32-4 1305387 91.63 ns/op 349.23 MB/s BenchmarkIndexRune/4K-4 393387 304.0 ns/op 13474.87 MB/s BenchmarkIndexRuneASCII/10-4 4995890 24.04 ns/op 416.02 MB/s BenchmarkIndexRuneASCII/32-4 4706200 24.99 ns/op 1280.42 MB/s BenchmarkIndexRuneASCII/4K-4 913567 130.3 ns/op 31432.10 MB/s BenchmarkEqual/0-4 8113776 14.71 ns/op BenchmarkEqual/1-4 1628090 74.83 ns/op 13.36 MB/s BenchmarkEqual/6-4 1587194 75.54 ns/op 79.43 MB/s BenchmarkEqual/9-4 1546701 76.71 ns/op 117.33 MB/s BenchmarkEqual/15-4 1559440 77.61 ns/op 193.27 MB/s BenchmarkEqual/16-4 1593858 72.83 ns/op 219.68 MB/s BenchmarkEqual/20-4 1497990 78.64 ns/op 254.31 MB/s BenchmarkEqual/32-4 1537729 79.20 ns/op 404.05 MB/s BenchmarkEqual/4K-4 110418 1080 ns/op 3793.20 MB/s BenchmarkIndex/10-4 3123853 38.56 ns/op 259.32 MB/s BenchmarkIndex/32-4 3416510 34.59 ns/op 925.23 MB/s BenchmarkIndex/4K-4 35802 3358 ns/op 1219.73 MB/s BenchmarkIndexEasy/10-4 3116697 38.14 ns/op 262.22 MB/s BenchmarkIndexEasy/32-4 3340186 35.47 ns/op 902.28 MB/s BenchmarkIndexEasy/4K-4 449676 243.4 ns/op 16826.73 MB/s BenchmarkCount/10-4 1630597 73.58 ns/op 135.91 MB/s BenchmarkCount/32-4 1662807 72.31 ns/op 442.53 MB/s BenchmarkCount/4K-4 35259 3418 ns/op 1198.47 MB/s BenchmarkCountEasy/10-4 1660335 72.69 ns/op 137.58 MB/s BenchmarkCountEasy/32-4 1632093 72.92 ns/op 438.85 MB/s BenchmarkCountEasy/4K-4 431320 275.7 ns/op 14854.69 MB/s BenchmarkCountSingle/10-4 3824822 31.26 ns/op 319.95 MB/s BenchmarkCountSingle/32-4 3546182 33.68 ns/op 950.22 MB/s BenchmarkCountSingle/4K-4 731644 155.5 ns/op 26332.98 MB/s BenchmarkToUpper/#00-4 2882340 41.59 ns/op BenchmarkToUpper/ONLYUPPER-4 302983 402.3 ns/op BenchmarkToUpper/abc-4 501228 243.7 ns/op BenchmarkToUpper/AbC123-4 314492 390.0 ns/op BenchmarkToUpper/azAZ09_-4 292142 425.3 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 87945 1383 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 41061 2908 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 57696 2134 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 129091 921.6 ns/op BenchmarkToLower/#00-4 2902234 41.21 ns/op BenchmarkToLower/abc-4 477880 257.8 ns/op BenchmarkToLower/AbC123-4 305110 394.1 ns/op BenchmarkToLower/azAZ09_-4 281444 430.3 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 86935 1353 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 42342 2854 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 68548 1662 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 124821 942.7 ns/op BenchmarkFields/ASCII/16-4 149875 777.6 ns/op 20.58 MB/s 24 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 9103 12531 ns/op 20.43 MB/s 704 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 625 188814 ns/op 21.69 MB/s 9472 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 34 3673462 ns/op 17.84 MB/s 147456 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 2 58386404 ns/op 17.96 MB/s 2269184 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 83509 1439 ns/op 11.12 MB/s 24 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 6296 18353 ns/op 13.95 MB/s 480 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 378 304477 ns/op 13.45 MB/s 23552 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 19 6233631 ns/op 10.51 MB/s 512261 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 1 123715094 ns/op 8.48 MB/s 11211008 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 182947 652.7 ns/op 24.51 MB/s 24 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 12412 9608 ns/op 26.64 MB/s 704 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 708 168342 ns/op 24.33 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 27 3876549 ns/op 16.91 MB/s 512256 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 86358761 ns/op 12.14 MB/s 11211008 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 105216 1057 ns/op 15.13 MB/s 24 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 9028 12953 ns/op 19.76 MB/s 480 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 553 211587 ns/op 19.36 MB/s 23552 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 25 4760113 ns/op 13.77 MB/s 512259 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 1 102731397 ns/op 10.21 MB/s 11211008 B/op 24 allocs/op BenchmarkTrimSpace/NoTrim-4 1992547 59.59 ns/op BenchmarkTrimSpace/ASCII-4 984027 120.2 ns/op BenchmarkTrimSpace/SomeNonASCII-4 116344 1027 ns/op BenchmarkTrimSpace/JustNonASCII-4 51668 2294 ns/op BenchmarkToValidUTF8/Valid-4 515631 247.1 ns/op BenchmarkToValidUTF8/InvalidASCII-4 318667 344.7 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 100360 1167 ns/op BenchmarkIndexHard1-4 848 138267 ns/op BenchmarkIndexHard2-4 619 194362 ns/op BenchmarkIndexHard3-4 152 781622 ns/op BenchmarkIndexHard4-4 132 915105 ns/op BenchmarkLastIndexHard1-4 5 20745059 ns/op BenchmarkLastIndexHard2-4 4 26088090 ns/op BenchmarkLastIndexHard3-4 4 27928293 ns/op BenchmarkCountHard1-4 866 137796 ns/op BenchmarkCountHard2-4 606 192190 ns/op BenchmarkCountHard3-4 151 781162 ns/op BenchmarkSplitEmptySeparator-4 1 182353075 ns/op BenchmarkSplitSingleByteSeparator-4 8 12525068 ns/op BenchmarkSplitMultiByteSeparator-4 12 10044165 ns/op BenchmarkSplitNSingleByteSeparator-4 173481 587.7 ns/op BenchmarkSplitNMultiByteSeparator-4 74079 1563 ns/op BenchmarkRepeat-4 202268 596.5 ns/op BenchmarkRepeatLarge/256/1-4 132292 759.3 ns/op 337.17 MB/s BenchmarkRepeatLarge/256/16-4 229591 509.7 ns/op 502.23 MB/s BenchmarkRepeatLarge/512/1-4 104481 1027 ns/op 498.40 MB/s BenchmarkRepeatLarge/512/16-4 141978 706.1 ns/op 725.12 MB/s BenchmarkRepeatLarge/1024/1-4 80214 1522 ns/op 672.72 MB/s BenchmarkRepeatLarge/1024/16-4 84298 1202 ns/op 852.10 MB/s BenchmarkRepeatLarge/2048/1-4 47101 2464 ns/op 831.11 MB/s BenchmarkRepeatLarge/2048/16-4 47476 2121 ns/op 965.63 MB/s BenchmarkRepeatLarge/4096/1-4 25728 4245 ns/op 964.82 MB/s BenchmarkRepeatLarge/4096/16-4 28784 3778 ns/op 1084.21 MB/s BenchmarkRepeatLarge/8192/1-4 13731 7869 ns/op 1041.05 MB/s BenchmarkRepeatLarge/8192/16-4 17011 7595 ns/op 1078.63 MB/s BenchmarkRepeatLarge/8192/4097-4 31118 3519 ns/op 1164.31 MB/s BenchmarkRepeatLarge/16384/1-4 9453 13419 ns/op 1220.98 MB/s BenchmarkRepeatLarge/16384/16-4 8973 13715 ns/op 1194.59 MB/s BenchmarkRepeatLarge/16384/4097-4 12825 9077 ns/op 1354.13 MB/s BenchmarkRepeatLarge/32768/1-4 5052 24890 ns/op 1316.49 MB/s BenchmarkRepeatLarge/32768/16-4 4296 27660 ns/op 1184.66 MB/s BenchmarkRepeatLarge/32768/4097-4 5408 24264 ns/op 1181.97 MB/s BenchmarkRepeatLarge/65536/1-4 2541 50582 ns/op 1295.63 MB/s BenchmarkRepeatLarge/65536/16-4 2323 47434 ns/op 1381.64 MB/s BenchmarkRepeatLarge/65536/4097-4 2527 45964 ns/op 1337.01 MB/s BenchmarkRepeatLarge/131072/1-4 188 613122 ns/op 213.78 MB/s BenchmarkRepeatLarge/131072/16-4 187 605004 ns/op 216.65 MB/s BenchmarkRepeatLarge/131072/4097-4 196 595043 ns/op 213.44 MB/s BenchmarkRepeatLarge/262144/1-4 100 1212712 ns/op 216.16 MB/s BenchmarkRepeatLarge/262144/16-4 100 1200186 ns/op 218.42 MB/s BenchmarkRepeatLarge/262144/4097-4 100 1210025 ns/op 213.31 MB/s BenchmarkRepeatLarge/524288/1-4 43 2421630 ns/op 216.50 MB/s BenchmarkRepeatLarge/524288/16-4 46 2452222 ns/op 213.80 MB/s BenchmarkRepeatLarge/524288/4097-4 52 2481366 ns/op 209.69 MB/s BenchmarkRepeatLarge/1048576/1-4 25 4930322 ns/op 212.68 MB/s BenchmarkRepeatLarge/1048576/16-4 22 4860965 ns/op 215.71 MB/s BenchmarkRepeatLarge/1048576/4097-4 25 4952842 ns/op 210.94 MB/s BenchmarkRepeatLarge/2097152/1-4 14 8853368 ns/op 236.88 MB/s BenchmarkRepeatLarge/2097152/16-4 13 8952106 ns/op 234.26 MB/s BenchmarkRepeatLarge/2097152/4097-4 14 9081723 ns/op 230.53 MB/s BenchmarkRepeatLarge/4194304/1-4 6 18252176 ns/op 229.80 MB/s BenchmarkRepeatLarge/4194304/16-4 6 18480819 ns/op 226.95 MB/s BenchmarkRepeatLarge/4194304/4097-4 6 17552699 ns/op 238.78 MB/s BenchmarkRepeatLarge/8388608/1-4 3 36745490 ns/op 228.29 MB/s BenchmarkRepeatLarge/8388608/16-4 3 35899045 ns/op 233.67 MB/s BenchmarkRepeatLarge/8388608/4097-4 3 35669709 ns/op 235.12 MB/s BenchmarkRepeatLarge/16777216/1-4 2 69024470 ns/op 243.06 MB/s BenchmarkRepeatLarge/16777216/16-4 2 70941423 ns/op 236.49 MB/s BenchmarkRepeatLarge/16777216/4097-4 2 71929200 ns/op 233.25 MB/s BenchmarkRepeatLarge/33554432/1-4 1 138921352 ns/op 241.54 MB/s BenchmarkRepeatLarge/33554432/16-4 1 140167231 ns/op 239.39 MB/s BenchmarkRepeatLarge/33554432/4097-4 1 139616002 ns/op 240.33 MB/s BenchmarkRepeatLarge/67108864/1-4 1 269556758 ns/op 248.96 MB/s BenchmarkRepeatLarge/67108864/16-4 1 274976584 ns/op 244.05 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 272401227 ns/op 246.36 MB/s BenchmarkRepeatLarge/134217728/1-4 1 536722861 ns/op 250.07 MB/s BenchmarkRepeatLarge/134217728/16-4 1 539182048 ns/op 248.93 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 560233203 ns/op 239.57 MB/s BenchmarkRepeatLarge/268435456/1-4 1 1015240410 ns/op 264.41 MB/s BenchmarkRepeatLarge/268435456/16-4 1 1081234091 ns/op 248.27 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 1079918367 ns/op 248.57 MB/s BenchmarkRepeatLarge/536870912/1-4 1 2174463784 ns/op 246.90 MB/s BenchmarkRepeatLarge/536870912/16-4 1 2201418600 ns/op 243.87 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 2197897842 ns/op 244.27 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 4196273435 ns/op 255.88 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 4337323356 ns/op 247.56 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 4355726054 ns/op 246.51 MB/s BenchmarkBytesCompare/1-4 10111111 11.46 ns/op BenchmarkBytesCompare/2-4 10449979 10.96 ns/op BenchmarkBytesCompare/4-4 10349277 11.06 ns/op BenchmarkBytesCompare/8-4 10526305 11.09 ns/op BenchmarkBytesCompare/16-4 10972580 10.78 ns/op BenchmarkBytesCompare/32-4 9675573 12.56 ns/op BenchmarkBytesCompare/64-4 9950290 12.08 ns/op BenchmarkBytesCompare/128-4 8457336 14.13 ns/op BenchmarkBytesCompare/256-4 6809475 17.53 ns/op BenchmarkBytesCompare/512-4 4989675 23.00 ns/op BenchmarkBytesCompare/1024-4 3301202 35.84 ns/op BenchmarkBytesCompare/2048-4 1952124 61.09 ns/op BenchmarkIndexAnyASCII/1:1-4 2353134 51.01 ns/op BenchmarkIndexAnyASCII/1:2-4 2286200 52.55 ns/op BenchmarkIndexAnyASCII/1:4-4 2289038 51.92 ns/op BenchmarkIndexAnyASCII/1:8-4 2334561 51.89 ns/op BenchmarkIndexAnyASCII/1:16-4 2335620 51.14 ns/op BenchmarkIndexAnyASCII/1:32-4 2290284 52.39 ns/op BenchmarkIndexAnyASCII/1:64-4 2288518 52.44 ns/op BenchmarkIndexAnyASCII/16:1-4 2245988 52.37 ns/op BenchmarkIndexAnyASCII/16:2-4 478096 247.6 ns/op BenchmarkIndexAnyASCII/16:4-4 467056 247.7 ns/op BenchmarkIndexAnyASCII/16:8-4 447963 257.6 ns/op BenchmarkIndexAnyASCII/16:16-4 431976 265.6 ns/op BenchmarkIndexAnyASCII/16:32-4 395239 299.9 ns/op BenchmarkIndexAnyASCII/16:64-4 339590 353.8 ns/op BenchmarkIndexAnyASCII/256:1-4 1969263 58.09 ns/op BenchmarkIndexAnyASCII/256:2-4 37095 3209 ns/op BenchmarkIndexAnyASCII/256:4-4 37446 3179 ns/op BenchmarkIndexAnyASCII/256:8-4 37314 3217 ns/op BenchmarkIndexAnyASCII/256:16-4 37477 3206 ns/op BenchmarkIndexAnyASCII/256:32-4 37233 3266 ns/op BenchmarkIndexAnyASCII/256:64-4 36066 3290 ns/op BenchmarkIndexAnyUTF8/1:1-4 2290425 51.81 ns/op BenchmarkIndexAnyUTF8/1:2-4 2268440 53.10 ns/op BenchmarkIndexAnyUTF8/1:4-4 2275486 52.69 ns/op BenchmarkIndexAnyUTF8/1:8-4 2250073 52.64 ns/op BenchmarkIndexAnyUTF8/1:16-4 2312000 51.97 ns/op BenchmarkIndexAnyUTF8/1:32-4 2304016 52.36 ns/op BenchmarkIndexAnyUTF8/1:64-4 2267841 52.46 ns/op BenchmarkIndexAnyUTF8/16:1-4 158206 730.7 ns/op BenchmarkIndexAnyUTF8/16:2-4 291559 405.7 ns/op BenchmarkIndexAnyUTF8/16:4-4 282088 403.7 ns/op BenchmarkIndexAnyUTF8/16:8-4 290743 402.3 ns/op BenchmarkIndexAnyUTF8/16:16-4 290208 400.0 ns/op BenchmarkIndexAnyUTF8/16:32-4 277647 422.2 ns/op BenchmarkIndexAnyUTF8/16:64-4 279036 426.3 ns/op BenchmarkIndexAnyUTF8/256:1-4 10000 10883 ns/op BenchmarkIndexAnyUTF8/256:2-4 20439 5961 ns/op BenchmarkIndexAnyUTF8/256:4-4 20265 5736 ns/op BenchmarkIndexAnyUTF8/256:8-4 20793 5730 ns/op BenchmarkIndexAnyUTF8/256:16-4 21408 5617 ns/op BenchmarkIndexAnyUTF8/256:32-4 19639 6075 ns/op BenchmarkIndexAnyUTF8/256:64-4 20067 5920 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2349163 51.23 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2344573 51.97 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2335380 51.34 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2299934 51.06 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2391993 50.33 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2372250 51.22 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2341689 51.18 ns/op BenchmarkLastIndexAnyASCII/16:1-4 353380 326.1 ns/op BenchmarkLastIndexAnyASCII/16:2-4 356566 330.3 ns/op BenchmarkLastIndexAnyASCII/16:4-4 355741 331.0 ns/op BenchmarkLastIndexAnyASCII/16:8-4 344935 330.7 ns/op BenchmarkLastIndexAnyASCII/16:16-4 334573 340.0 ns/op BenchmarkLastIndexAnyASCII/16:32-4 316524 369.6 ns/op BenchmarkLastIndexAnyASCII/16:64-4 280807 426.6 ns/op BenchmarkLastIndexAnyASCII/256:1-4 27454 4370 ns/op BenchmarkLastIndexAnyASCII/256:2-4 27148 4381 ns/op BenchmarkLastIndexAnyASCII/256:4-4 27507 4393 ns/op BenchmarkLastIndexAnyASCII/256:8-4 27426 4342 ns/op BenchmarkLastIndexAnyASCII/256:16-4 26985 4387 ns/op BenchmarkLastIndexAnyASCII/256:32-4 27308 4433 ns/op BenchmarkLastIndexAnyASCII/256:64-4 26774 4468 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2357906 51.24 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2350339 51.00 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2357055 50.55 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2370235 51.67 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2352432 50.59 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2359737 51.29 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2335076 51.24 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 260901 440.7 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 289760 415.1 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 267554 414.3 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 283519 411.9 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 288166 409.6 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 267704 431.7 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 274227 429.8 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 18974 6348 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 19022 5788 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 20306 6357 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 20649 5984 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 21002 5700 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 19660 5967 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 19792 6190 ns/op BenchmarkTrimASCII/1:1-4 2674999 44.89 ns/op BenchmarkTrimASCII/1:2-4 2163882 55.47 ns/op BenchmarkTrimASCII/1:4-4 2101684 57.57 ns/op BenchmarkTrimASCII/1:8-4 1927098 61.60 ns/op BenchmarkTrimASCII/1:16-4 1698892 71.10 ns/op BenchmarkTrimASCII/16:1-4 483811 242.8 ns/op BenchmarkTrimASCII/16:2-4 361593 326.7 ns/op BenchmarkTrimASCII/16:4-4 350253 334.2 ns/op BenchmarkTrimASCII/16:8-4 352532 330.8 ns/op BenchmarkTrimASCII/16:16-4 347168 341.9 ns/op BenchmarkTrimASCII/256:1-4 37688 3161 ns/op BenchmarkTrimASCII/256:2-4 27241 4421 ns/op BenchmarkTrimASCII/256:4-4 26269 4464 ns/op BenchmarkTrimASCII/256:8-4 27096 4479 ns/op BenchmarkTrimASCII/256:16-4 26876 4438 ns/op BenchmarkTrimASCII/4096:1-4 2319 50135 ns/op BenchmarkTrimASCII/4096:2-4 1692 69827 ns/op BenchmarkTrimASCII/4096:4-4 1651 70414 ns/op BenchmarkTrimASCII/4096:8-4 1684 71448 ns/op BenchmarkTrimASCII/4096:16-4 1672 70104 ns/op BenchmarkTrimByte-4 1473536 81.35 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 13668 8756 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 13549 8776 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 645 181294 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 1234 90829 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 2464 46252 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 4198 24711 ns/op BenchmarkCompareBytesEqual-4 11378116 10.54 ns/op BenchmarkCompareBytesToNil-4 11669167 10.14 ns/op BenchmarkCompareBytesEmpty-4 12522688 9.458 ns/op BenchmarkCompareBytesIdentical-4 12707074 9.387 ns/op BenchmarkCompareBytesSameLength-4 10617909 11.32 ns/op BenchmarkCompareBytesDifferentLength-4 11214454 10.56 ns/op BenchmarkCompareBytesBigUnaligned/offset=1-4 1846 64139 ns/op 16348.72 MB/s BenchmarkCompareBytesBigUnaligned/offset=2-4 1838 64094 ns/op 16360.18 MB/s BenchmarkCompareBytesBigUnaligned/offset=3-4 1884 64330 ns/op 16300.02 MB/s BenchmarkCompareBytesBigUnaligned/offset=4-4 1788 66157 ns/op 15850.08 MB/s BenchmarkCompareBytesBigUnaligned/offset=5-4 1790 64304 ns/op 16306.66 MB/s BenchmarkCompareBytesBigUnaligned/offset=6-4 1848 63904 ns/op 16408.78 MB/s BenchmarkCompareBytesBigUnaligned/offset=7-4 1873 63994 ns/op 16385.64 MB/s BenchmarkCompareBytesBig-4 1834 63385 ns/op 16543.03 MB/s BenchmarkCompareBytesBigIdentical-4 13747033 8.715 ns/op 120316024.80 MB/s PASS ok bytes 73.170s goos: linux goarch: amd64 pkg: compress/bzip2 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecodeDigits-4 2 77383558 ns/op 1.29 MB/s 3616376 B/op 52 allocs/op BenchmarkDecodeNewton-4 1 313050903 ns/op 1.81 MB/s 3629856 B/op 50 allocs/op BenchmarkDecodeRand-4 5 24316016 ns/op 0.67 MB/s 3645019 B/op 51 allocs/op PASS ok compress/bzip2 2.355s goos: linux goarch: amd64 pkg: compress/flate cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecode/Digits/Huffman/1e4-4 61 1790463 ns/op 5.59 MB/s 42826 B/op 5 allocs/op BenchmarkDecode/Digits/Huffman/1e5-4 6 16999861 ns/op 5.88 MB/s 46092 B/op 6 allocs/op BenchmarkDecode/Digits/Huffman/1e6-4 1 171214708 ns/op 5.84 MB/s 49264 B/op 9 allocs/op BenchmarkDecode/Digits/Speed/1e4-4 62 1792755 ns/op 5.58 MB/s 41941 B/op 8 allocs/op BenchmarkDecode/Digits/Speed/1e5-4 6 17414654 ns/op 5.74 MB/s 45010 B/op 12 allocs/op BenchmarkDecode/Digits/Speed/1e6-4 1 178004773 ns/op 5.62 MB/s 53024 B/op 77 allocs/op BenchmarkDecode/Digits/Default/1e4-4 63 1745996 ns/op 5.73 MB/s 43184 B/op 7 allocs/op BenchmarkDecode/Digits/Default/1e5-4 6 16678000 ns/op 6.00 MB/s 42264 B/op 13 allocs/op BenchmarkDecode/Digits/Default/1e6-4 1 170270039 ns/op 5.87 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Digits/Compression/1e4-4 63 1740552 ns/op 5.75 MB/s 42662 B/op 7 allocs/op BenchmarkDecode/Digits/Compression/1e5-4 6 16737955 ns/op 5.97 MB/s 43633 B/op 14 allocs/op BenchmarkDecode/Digits/Compression/1e6-4 1 169977658 ns/op 5.88 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Newton/Huffman/1e4-4 56 1948917 ns/op 5.13 MB/s 44028 B/op 14 allocs/op BenchmarkDecode/Newton/Huffman/1e5-4 6 18697638 ns/op 5.35 MB/s 49202 B/op 24 allocs/op BenchmarkDecode/Newton/Huffman/1e6-4 1 187660962 ns/op 5.33 MB/s 88512 B/op 165 allocs/op BenchmarkDecode/Newton/Speed/1e4-4 69 1505207 ns/op 6.64 MB/s 42580 B/op 18 allocs/op BenchmarkDecode/Newton/Speed/1e5-4 8 12709693 ns/op 7.87 MB/s 46858 B/op 32 allocs/op BenchmarkDecode/Newton/Speed/1e6-4 1 129291915 ns/op 7.73 MB/s 89696 B/op 232 allocs/op BenchmarkDecode/Newton/Default/1e4-4 85 1373670 ns/op 7.28 MB/s 42502 B/op 15 allocs/op BenchmarkDecode/Newton/Default/1e5-4 10 10161395 ns/op 9.84 MB/s 45396 B/op 32 allocs/op BenchmarkDecode/Newton/Default/1e6-4 1 100696594 ns/op 9.93 MB/s 70320 B/op 162 allocs/op BenchmarkDecode/Newton/Compression/1e4-4 82 1348588 ns/op 7.42 MB/s 42655 B/op 15 allocs/op BenchmarkDecode/Newton/Compression/1e5-4 10 10004175 ns/op 10.00 MB/s 47040 B/op 33 allocs/op BenchmarkDecode/Newton/Compression/1e6-4 2 99451048 ns/op 10.06 MB/s 67752 B/op 152 allocs/op BenchmarkEncode/Digits/Huffman/1e4-4 97 1217726 ns/op 8.21 MB/s BenchmarkEncode/Digits/Huffman/1e5-4 9 11776869 ns/op 8.49 MB/s BenchmarkEncode/Digits/Huffman/1e6-4 1 116535585 ns/op 8.58 MB/s BenchmarkEncode/Digits/Speed/1e4-4 45 2281862 ns/op 4.38 MB/s BenchmarkEncode/Digits/Speed/1e5-4 5 20163440 ns/op 4.96 MB/s BenchmarkEncode/Digits/Speed/1e6-4 1 199189528 ns/op 5.02 MB/s BenchmarkEncode/Digits/Default/1e4-4 18 6594974 ns/op 1.52 MB/s BenchmarkEncode/Digits/Default/1e5-4 2 80370590 ns/op 1.24 MB/s BenchmarkEncode/Digits/Default/1e6-4 1 845206254 ns/op 1.18 MB/s BenchmarkEncode/Digits/Compression/1e4-4 16 6676427 ns/op 1.50 MB/s BenchmarkEncode/Digits/Compression/1e5-4 2 82559816 ns/op 1.21 MB/s BenchmarkEncode/Digits/Compression/1e6-4 1 828424045 ns/op 1.21 MB/s BenchmarkEncode/Newton/Huffman/1e4-4 76 1461125 ns/op 6.84 MB/s BenchmarkEncode/Newton/Huffman/1e5-4 8 12796527 ns/op 7.81 MB/s BenchmarkEncode/Newton/Huffman/1e6-4 1 125224615 ns/op 7.99 MB/s BenchmarkEncode/Newton/Speed/1e4-4 50 2134518 ns/op 4.68 MB/s BenchmarkEncode/Newton/Speed/1e5-4 6 16803266 ns/op 5.95 MB/s BenchmarkEncode/Newton/Speed/1e6-4 1 164102989 ns/op 6.09 MB/s BenchmarkEncode/Newton/Default/1e4-4 18 6521761 ns/op 1.53 MB/s BenchmarkEncode/Newton/Default/1e5-4 2 73335376 ns/op 1.36 MB/s BenchmarkEncode/Newton/Default/1e6-4 1 744911238 ns/op 1.34 MB/s BenchmarkEncode/Newton/Compression/1e4-4 18 6512797 ns/op 1.54 MB/s BenchmarkEncode/Newton/Compression/1e5-4 2 91178416 ns/op 1.10 MB/s BenchmarkEncode/Newton/Compression/1e6-4 1 937504071 ns/op 1.07 MB/s PASS ok compress/flate 17.334s goos: linux goarch: amd64 pkg: compress/lzw cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecoder/1e4-4 50 2265454 ns/op 4.41 MB/s BenchmarkDecoder/1e-Reuse4-4 49 2346499 ns/op 4.26 MB/s BenchmarkDecoder/1e5-4 5 22692091 ns/op 4.41 MB/s BenchmarkDecoder/1e-Reuse5-4 5 22610628 ns/op 4.42 MB/s BenchmarkDecoder/1e6-4 1 224135384 ns/op 4.46 MB/s BenchmarkDecoder/1e-Reuse6-4 1 227412785 ns/op 4.40 MB/s BenchmarkEncoder/1e4-4 48 2141172 ns/op 4.67 MB/s BenchmarkEncoder/1e-Reuse4-4 64 1819894 ns/op 5.49 MB/s BenchmarkEncoder/1e5-4 6 19202188 ns/op 5.21 MB/s BenchmarkEncoder/1e-Reuse5-4 6 18745191 ns/op 5.33 MB/s BenchmarkEncoder/1e6-4 1 196579867 ns/op 5.09 MB/s BenchmarkEncoder/1e-Reuse6-4 1 191430979 ns/op 5.22 MB/s PASS ok compress/lzw 3.765s goos: linux goarch: amd64 pkg: container/heap cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDup-4 30 3923398 ns/op PASS ok container/heap 1.237s goos: linux goarch: amd64 pkg: context cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCommonParentCancel-4 17215 5871 ns/op BenchmarkWithTimeout/concurrency=40-4 5110 23628 ns/op BenchmarkWithTimeout/concurrency=4000-4 4906 25300 ns/op BenchmarkWithTimeout/concurrency=400000-4 6198 20837 ns/op BenchmarkCancelTree/depth=1/Root=Background-4 375037 284.1 ns/op BenchmarkCancelTree/depth=1/Root=OpenCanceler-4 10000 10240 ns/op BenchmarkCancelTree/depth=1/Root=ClosedCanceler-4 15284 7667 ns/op BenchmarkCancelTree/depth=10/Root=Background-4 2662 45646 ns/op BenchmarkCancelTree/depth=10/Root=OpenCanceler-4 1686 103183 ns/op BenchmarkCancelTree/depth=10/Root=ClosedCanceler-4 2278 47260 ns/op BenchmarkCancelTree/depth=100/Root=Background-4 228 510132 ns/op BenchmarkCancelTree/depth=100/Root=OpenCanceler-4 168 719506 ns/op BenchmarkCancelTree/depth=100/Root=ClosedCanceler-4 254 464465 ns/op BenchmarkCancelTree/depth=1000/Root=Background-4 22 5306383 ns/op BenchmarkCancelTree/depth=1000/Root=OpenCanceler-4 12 8771235 ns/op BenchmarkCancelTree/depth=1000/Root=ClosedCanceler-4 22 4739501 ns/op BenchmarkCheckCanceled/Err-4 252108 455.8 ns/op BenchmarkCheckCanceled/Done-4 389470 299.4 ns/op BenchmarkContextCancelDone-4 454449 246.9 ns/op BenchmarkDeepValueNewGoRoutine/depth=10-4 22761 4963 ns/op BenchmarkDeepValueNewGoRoutine/depth=20-4 20565 5790 ns/op BenchmarkDeepValueNewGoRoutine/depth=30-4 19189 6175 ns/op BenchmarkDeepValueNewGoRoutine/depth=50-4 15712 7180 ns/op BenchmarkDeepValueNewGoRoutine/depth=100-4 10000 10137 ns/op BenchmarkDeepValueSameGoRoutine/depth=10-4 525396 228.7 ns/op BenchmarkDeepValueSameGoRoutine/depth=20-4 298657 404.7 ns/op BenchmarkDeepValueSameGoRoutine/depth=30-4 202725 581.5 ns/op BenchmarkDeepValueSameGoRoutine/depth=50-4 129421 932.3 ns/op BenchmarkDeepValueSameGoRoutine/depth=100-4 65214 1815 ns/op PASS ok context 14.431s goos: linux goarch: amd64 pkg: crypto/aes cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncrypt-4 1603074 69.15 ns/op 231.37 MB/s BenchmarkDecrypt-4 1699950 68.61 ns/op 233.22 MB/s BenchmarkExpand-4 924620 119.4 ns/op PASS ok crypto/aes 1.515s goos: linux goarch: amd64 pkg: crypto/cipher cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAESGCM/Open-128-64-4 170893 658.0 ns/op 97.27 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-64-4 357986 293.9 ns/op 217.78 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-64-4 173946 678.4 ns/op 94.34 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-64-4 370606 310.7 ns/op 206.00 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-1350-4 116973 1025 ns/op 1317.61 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-1350-4 180314 664.2 ns/op 2032.53 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-1350-4 105499 1121 ns/op 1204.80 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-1350-4 148918 798.6 ns/op 1690.39 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-8192-4 41155 2906 ns/op 2819.26 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-8192-4 52790 2287 ns/op 3581.57 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-8192-4 34075 3506 ns/op 2336.41 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-8192-4 39894 3057 ns/op 2679.83 MB/s 0 B/op 0 allocs/op BenchmarkAESCFBEncrypt1K-4 6576 16828 ns/op 60.56 MB/s BenchmarkAESCFBDecrypt1K-4 7124 16298 ns/op 62.52 MB/s BenchmarkAESCFBDecrypt8K-4 907 128875 ns/op 63.53 MB/s BenchmarkAESOFB1K-4 10000 11159 ns/op 91.32 MB/s BenchmarkAESCTR1K-4 13789 8749 ns/op 116.47 MB/s BenchmarkAESCTR8K-4 1678 69414 ns/op 117.94 MB/s BenchmarkAESCBCEncrypt1K-4 12871 8549 ns/op 119.78 MB/s BenchmarkAESCBCDecrypt1K-4 17956 6632 ns/op 154.39 MB/s PASS ok crypto/cipher 3.913s goos: linux goarch: amd64 pkg: crypto/des cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncrypt-4 65162 1597 ns/op 5.01 MB/s BenchmarkDecrypt-4 79220 1496 ns/op 5.35 MB/s BenchmarkTDESEncrypt-4 30351 3942 ns/op 2.03 MB/s BenchmarkTDESDecrypt-4 30334 3919 ns/op 2.04 MB/s PASS ok crypto/des 1.602s goos: linux goarch: amd64 pkg: crypto/ecdh cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkECDH/P256-4 931 124108 ns/op 760 B/op 12 allocs/op BenchmarkECDH/P384-4 15 7554564 ns/op 1087 B/op 21 allocs/op BenchmarkECDH/P521-4 6 19869034 ns/op 1538 B/op 21 allocs/op BenchmarkECDH/X25519-4 96 1216584 ns/op 375 B/op 9 allocs/op PASS ok crypto/ecdh 1.619s goos: linux goarch: amd64 pkg: crypto/ecdsa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSign/P256-4 1633 66445 ns/op 2511 B/op 33 allocs/op BenchmarkSign/P384-4 34 3433745 ns/op 2680 B/op 34 allocs/op BenchmarkSign/P521-4 13 8198538 ns/op 3065 B/op 35 allocs/op BenchmarkVerify/P256-4 943 125495 ns/op 432 B/op 8 allocs/op BenchmarkVerify/P384-4 13 8550075 ns/op 592 B/op 12 allocs/op BenchmarkVerify/P521-4 5 22282670 ns/op 912 B/op 12 allocs/op BenchmarkGenerateKey/P256-4 4028 28417 ns/op 895 B/op 14 allocs/op BenchmarkGenerateKey/P384-4 62 1893880 ns/op 1094 B/op 17 allocs/op BenchmarkGenerateKey/P521-4 24 4823137 ns/op 1419 B/op 17 allocs/op PASS ok crypto/ecdsa 2.563s goos: linux goarch: amd64 pkg: crypto/ed25519 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkKeyGeneration-4 321 357218 ns/op BenchmarkNewKeyFromSeed-4 331 357913 ns/op BenchmarkSigning-4 315 375932 ns/op BenchmarkVerification-4 216 544583 ns/op PASS ok crypto/ed25519 1.650s goos: linux goarch: amd64 pkg: crypto/elliptic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScalarBaseMult/P256-4 4816 23544 ns/op 368 B/op 6 allocs/op BenchmarkScalarBaseMult/P224-4 156 761996 ns/op 376 B/op 9 allocs/op BenchmarkScalarBaseMult/P384-4 58 1994408 ns/op 504 B/op 9 allocs/op BenchmarkScalarBaseMult/P521-4 22 5177820 ns/op 696 B/op 9 allocs/op BenchmarkScalarMult/P256-4 1359 86794 ns/op 448 B/op 7 allocs/op BenchmarkScalarMult/P224-4 60 1933010 ns/op 440 B/op 10 allocs/op BenchmarkScalarMult/P384-4 21 5309310 ns/op 616 B/op 10 allocs/op BenchmarkScalarMult/P521-4 7 14978300 ns/op 840 B/op 10 allocs/op BenchmarkMarshalUnmarshal/P256/Uncompressed-4 12632 9136 ns/op 544 B/op 8 allocs/op BenchmarkMarshalUnmarshal/P256/Compressed-4 5667 19957 ns/op 592 B/op 9 allocs/op BenchmarkMarshalUnmarshal/P224/Uncompressed-4 3720 30336 ns/op 560 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P224/Compressed-4 82 1295828 ns/op 592 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P384/Uncompressed-4 2408 47556 ns/op 784 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P384/Compressed-4 298 396245 ns/op 848 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P521/Uncompressed-4 1467 76897 ns/op 1104 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P521/Compressed-4 90 1242483 ns/op 1184 B/op 15 allocs/op PASS ok crypto/elliptic 3.305s goos: linux goarch: amd64 pkg: crypto/hmac cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHMACSHA256_1K-4 14872 7999 ns/op 128.02 MB/s BenchmarkHMACSHA256_32-4 24349 4899 ns/op 6.53 MB/s BenchmarkNewWriteSum-4 10000 10139 ns/op 3.16 MB/s PASS ok crypto/hmac 1.499s goos: linux goarch: amd64 pkg: crypto/internal/bigmod cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkModAdd-4 52760 2214 ns/op BenchmarkModSub-4 53630 2235 ns/op BenchmarkMontgomeryRepr-4 27244 4402 ns/op BenchmarkMontgomeryMul-4 26781 4421 ns/op BenchmarkModMul-4 13368 9093 ns/op BenchmarkExpBig-4 15 7373123 ns/op BenchmarkExp-4 6 18196443 ns/op PASS ok crypto/internal/bigmod 2.160s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncodingDecoding-4 3162 33059 ns/op BenchmarkScalarBaseMult-4 350 336257 ns/op BenchmarkScalarMult-4 159 760072 ns/op BenchmarkVarTimeDoubleScalarBaseMult-4 235 510930 ns/op PASS ok crypto/internal/edwards25519 1.637s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519/field cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAdd-4 520651 210.8 ns/op BenchmarkMultiply-4 4268019 28.04 ns/op BenchmarkSquare-4 5293004 22.62 ns/op BenchmarkInvert-4 24751 4834 ns/op BenchmarkMult32-4 1531582 77.89 ns/op PASS ok crypto/internal/edwards25519/field 1.801s goos: linux goarch: amd64 pkg: crypto/internal/nistec cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScalarMult/P224-4 56 1851345 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P256-4 1609 75168 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P384-4 21 5153031 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P521-4 8 14078520 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P224-4 174 675341 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P256-4 7806 15241 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P384-4 67 1727053 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P521-4 25 4357761 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec 2.085s goos: linux goarch: amd64 pkg: crypto/internal/nistec/fiat cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMul/P224-4 582421 184.6 ns/op 0 B/op 0 allocs/op BenchmarkMul/P384-4 312901 362.9 ns/op 0 B/op 0 allocs/op BenchmarkMul/P521-4 117243 1016 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P224-4 654717 179.4 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P384-4 319860 370.9 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P521-4 115327 1009 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec/fiat 1.758s goos: linux goarch: amd64 pkg: crypto/md5 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes-4 121208 979.1 ns/op 8.17 MB/s BenchmarkHash64-4 124947 914.9 ns/op 69.95 MB/s BenchmarkHash128-4 117034 1016 ns/op 126.00 MB/s BenchmarkHash256-4 93854 1272 ns/op 201.26 MB/s BenchmarkHash512-4 66340 1754 ns/op 291.95 MB/s BenchmarkHash1K-4 43720 2719 ns/op 376.63 MB/s BenchmarkHash8K-4 7242 16124 ns/op 508.05 MB/s BenchmarkHash1M-4 57 1966728 ns/op 533.16 MB/s BenchmarkHash8M-4 7 15754078 ns/op 532.47 MB/s BenchmarkHash8BytesUnaligned-4 114199 991.0 ns/op 8.07 MB/s BenchmarkHash1KUnaligned-4 43610 2742 ns/op 373.45 MB/s BenchmarkHash8KUnaligned-4 7375 16237 ns/op 504.53 MB/s PASS ok crypto/md5 2.687s goos: linux goarch: amd64 pkg: crypto/rand cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPrime-4 1 202211486 ns/op PASS ok crypto/rand 1.222s goos: linux goarch: amd64 pkg: crypto/rc4 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRC4_128-4 13165 9071 ns/op 14.11 MB/s BenchmarkRC4_1K-4 1585 71581 ns/op 14.31 MB/s BenchmarkRC4_8K-4 208 571510 ns/op 14.17 MB/s PASS ok crypto/rc4 1.533s goos: linux goarch: amd64 pkg: crypto/rsa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecryptPKCS1v15/2048-4 10 10348119 ns/op BenchmarkDecryptPKCS1v15/3072-4 5 23093771 ns/op BenchmarkDecryptPKCS1v15/4096-4 3 41704162 ns/op BenchmarkEncryptPKCS1v15/2048-4 43 2620155 ns/op BenchmarkDecryptOAEP/2048-4 10 10423186 ns/op BenchmarkEncryptOAEP/2048-4 40 2644195 ns/op BenchmarkSignPKCS1v15/2048-4 10 10262004 ns/op BenchmarkVerifyPKCS1v15/2048-4 44 2594512 ns/op BenchmarkSignPSS/2048-4 10 10562985 ns/op BenchmarkVerifyPSS/2048-4 43 2636237 ns/op PASS ok crypto/rsa 2.597s goos: linux goarch: amd64 pkg: crypto/sha1 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 105037 1100 ns/op 7.27 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum-4 123703 931.7 ns/op 8.59 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/New-4 74356 1588 ns/op 201.46 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/Sum-4 86288 1374 ns/op 232.92 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 48440 2443 ns/op 419.13 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum-4 52963 2253 ns/op 454.51 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 10000 11814 ns/op 693.39 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum-4 10000 11659 ns/op 702.63 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha1 2.085s goos: linux goarch: amd64 pkg: crypto/sha256 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 79399 1443 ns/op 5.54 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum224-4 94612 1230 ns/op 6.51 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 91891 1312 ns/op 6.10 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 25470 4706 ns/op 217.58 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum224-4 27038 4442 ns/op 230.54 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 26496 4557 ns/op 224.69 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 4080 28402 ns/op 288.43 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum224-4 4206 27992 ns/op 292.66 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 4136 28526 ns/op 287.18 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha256 2.290s goos: linux goarch: amd64 pkg: crypto/sha512 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 58833 2028 ns/op 3.95 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum384-4 73569 1602 ns/op 4.99 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum512-4 65931 1798 ns/op 4.45 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 28317 4235 ns/op 241.79 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum384-4 31424 3768 ns/op 271.75 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum512-4 29736 3966 ns/op 258.17 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 5673 20099 ns/op 407.57 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum384-4 5874 19780 ns/op 414.15 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum512-4 5900 19858 ns/op 412.54 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha512 2.281s goos: linux goarch: amd64 pkg: crypto/subtle cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkConstantTimeByteEq-4 19688430 6.083 ns/op BenchmarkConstantTimeEq-4 19684004 6.095 ns/op BenchmarkConstantTimeLessOrEq-4 19446585 6.156 ns/op BenchmarkXORBytes/8Bytes-4 4392043 25.07 ns/op 319.07 MB/s BenchmarkXORBytes/128Bytes-4 3924720 30.28 ns/op 4226.56 MB/s BenchmarkXORBytes/2048Bytes-4 901978 129.4 ns/op 15820.86 MB/s BenchmarkXORBytes/32768Bytes-4 61446 1974 ns/op 16600.77 MB/s PASS ok crypto/subtle 2.253s goos: linux goarch: amd64 pkg: crypto/tls cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCertCache/0-4 100 1076403 ns/op BenchmarkCertCache/1-4 128 809027 ns/op BenchmarkCertCache/2-4 141 914086 ns/op BenchmarkCertCache/3-4 160 814122 ns/op BenchmarkHandshakeServer/RSA-4 16 7136089 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv13-4 14 7814850 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv12-4 15 7307941 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv13-4 91 1188737 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv12-4 147 821177 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv13-4 50 2334094 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv12-4 60 2056845 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv13-4 4 32239702 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12-4 4 32543063 ns/op BenchmarkThroughput/MaxPacket/1MB/TLSv12-4 4 25630269 ns/op 40.91 MB/s BenchmarkThroughput/MaxPacket/1MB/TLSv13-4 4 29891912 ns/op 35.08 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv12-4 3 38878590 ns/op 53.94 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv13-4 3 47537899 ns/op 44.12 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv12-4 2 63657624 ns/op 65.89 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv13-4 2 82619371 ns/op 50.77 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv12-4 1 124059042 ns/op 67.62 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv13-4 1 156314639 ns/op 53.66 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv12-4 1 223042522 ns/op 75.22 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv13-4 1 350197031 ns/op 47.91 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv12-4 1 467054849 ns/op 71.84 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv13-4 1 668520424 ns/op 50.19 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv12-4 1 946297691 ns/op 70.92 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv13-4 1 1111919575 ns/op 60.35 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv12-4 4 26365622 ns/op 39.77 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv13-4 4 34309498 ns/op 30.56 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv12-4 3 47465888 ns/op 44.18 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv13-4 2 52842294 ns/op 39.69 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv12-4 2 77457764 ns/op 54.15 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv13-4 1 107709522 ns/op 38.94 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv12-4 1 126253850 ns/op 66.44 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv13-4 1 160162111 ns/op 52.38 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv12-4 1 224595434 ns/op 74.70 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv13-4 1 341949369 ns/op 49.06 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv12-4 1 433640922 ns/op 77.38 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv13-4 1 534850985 ns/op 62.74 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv12-4 1 874657738 ns/op 76.73 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv13-4 1 1161795129 ns/op 57.76 MB/s BenchmarkLatency/MaxPacket/200kbps/TLSv12-4 1 707556793 ns/op BenchmarkLatency/MaxPacket/200kbps/TLSv13-4 1 709210240 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv12-4 1 290938496 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv13-4 1 291361986 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv12-4 1 153634024 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv13-4 1 153283366 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv12-4 2 84825764 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv13-4 2 84290451 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv12-4 3 43571624 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv13-4 3 41828657 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv12-4 1 147655378 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv13-4 1 149758430 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv12-4 2 67605605 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv13-4 2 68121249 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv12-4 3 41058639 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv13-4 3 40948713 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv12-4 4 28667264 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv13-4 4 27525221 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv12-4 5 21759141 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv13-4 6 19781729 ns/op PASS ok crypto/tls 19.964s goos: linux goarch: amd64 pkg: crypto/x509 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCreateCertificate/RSA_2048-4 8 13926668 ns/op BenchmarkCreateCertificate/ECDSA_P256-4 326 357365 ns/op BenchmarkParseCertificate/ecdsa_leaf-4 1040 110736 ns/op 12099 B/op 164 allocs/op BenchmarkParseCertificate/rsa_leaf-4 966 119797 ns/op 13507 B/op 187 allocs/op PASS ok crypto/x509 1.985s goos: linux goarch: amd64 pkg: database/sql cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkConcurrentDBExec-4 32 3376637 ns/op 280412 B/op 1637 allocs/op BenchmarkConcurrentStmtQuery-4 30 3603165 ns/op 260161 B/op 2011 allocs/op BenchmarkConcurrentStmtExec-4 49 2431181 ns/op 216850 B/op 642 allocs/op BenchmarkConcurrentTxQuery-4 33 3394645 ns/op 274217 B/op 2150 allocs/op BenchmarkConcurrentTxExec-4 60 2110647 ns/op 87793 B/op 1554 allocs/op BenchmarkConcurrentTxStmtQuery-4 36 3077470 ns/op 105944 B/op 2120 allocs/op BenchmarkConcurrentTxStmtExec-4 100 1069626 ns/op 40094 B/op 381 allocs/op BenchmarkConcurrentRandom-4 36 3231294 ns/op 228701 B/op 1816 allocs/op BenchmarkManyConcurrentQueries-4 2161 51165 ns/op 3993 B/op 20 allocs/op BenchmarkGrabConn-4 180532 619.4 ns/op 0 B/op 0 allocs/op PASS ok database/sql 2.403s goos: linux goarch: amd64 pkg: debug/gosym cpu: Intel(R) Xeon(R) CPU @ 2.20GHz Benchmark115/NewLineTable-4 211585 496.0 ns/op 384 B/op 3 allocs/op Benchmark115/NewTable-4 74 1586209 ns/op 188233 B/op 13 allocs/op Benchmark115/LineToPC-4 78 1636900 ns/op 0 B/op 0 allocs/op Benchmark115/PCToLine-4 17252 6952 ns/op 0 B/op 0 allocs/op PASS ok debug/gosym 1.764s goos: linux goarch: amd64 pkg: encoding/asn1 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkObjectIdentifierString-4 60308 1957 ns/op BenchmarkMarshal-4 735 155229 ns/op 9528 B/op 363 allocs/op BenchmarkUnmarshal-4 2518 42661 ns/op 784 B/op 43 allocs/op PASS ok encoding/asn1 1.409s goos: linux goarch: amd64 pkg: encoding/base32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode-4 265 444359 ns/op 18.44 MB/s BenchmarkEncodeToString-4 226 488996 ns/op 16.75 MB/s BenchmarkDecode-4 140 842062 ns/op 15.57 MB/s BenchmarkDecodeString-4 139 853312 ns/op 15.37 MB/s PASS ok encoding/base32 1.741s goos: linux goarch: amd64 pkg: encoding/base64 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncodeToString-4 312 349421 ns/op 23.44 MB/s BenchmarkDecodeString/2-4 266074 425.7 ns/op 9.40 MB/s BenchmarkDecodeString/4-4 225046 532.9 ns/op 15.01 MB/s BenchmarkDecodeString/8-4 182475 659.9 ns/op 18.19 MB/s BenchmarkDecodeString/64-4 33135 3536 ns/op 24.89 MB/s BenchmarkDecodeString/8192-4 310 371784 ns/op 29.38 MB/s BenchmarkNewEncoding-4 87877 1313 ns/op 194.91 MB/s PASS ok encoding/base64 2.002s goos: linux goarch: amd64 pkg: encoding/binary cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadSlice1000Int32s-4 1335 84669 ns/op 47.24 MB/s BenchmarkReadStruct-4 16881 7026 ns/op 10.68 MB/s BenchmarkWriteStruct-4 15714 7562 ns/op 9.92 MB/s BenchmarkReadInts-4 47985 2442 ns/op 12.28 MB/s BenchmarkWriteInts-4 45904 2561 ns/op 11.71 MB/s BenchmarkWriteSlice1000Int32s-4 1303 89707 ns/op 44.59 MB/s BenchmarkPutUint16-4 3426981 34.57 ns/op 57.85 MB/s BenchmarkAppendUint16-4 3221686 35.80 ns/op 55.87 MB/s BenchmarkPutUint32-4 2443998 49.11 ns/op 81.46 MB/s BenchmarkAppendUint32-4 2382853 50.48 ns/op 79.24 MB/s BenchmarkPutUint64-4 1074186 110.1 ns/op 72.65 MB/s BenchmarkAppendUint64-4 1000000 109.2 ns/op 73.24 MB/s BenchmarkLittleEndianPutUint16-4 3411303 34.82 ns/op 57.44 MB/s BenchmarkLittleEndianAppendUint16-4 3284782 35.38 ns/op 56.52 MB/s BenchmarkLittleEndianPutUint32-4 2451997 49.05 ns/op 81.55 MB/s BenchmarkLittleEndianAppendUint32-4 2483638 48.83 ns/op 81.91 MB/s BenchmarkLittleEndianPutUint64-4 1000000 111.0 ns/op 72.09 MB/s BenchmarkLittleEndianAppendUint64-4 1000000 110.0 ns/op 72.71 MB/s BenchmarkReadFloats-4 163060 747.0 ns/op 16.06 MB/s BenchmarkWriteFloats-4 159216 748.2 ns/op 16.04 MB/s BenchmarkReadSlice1000Float32s-4 1258 95551 ns/op 41.86 MB/s BenchmarkWriteSlice1000Float32s-4 1141 104721 ns/op 38.20 MB/s BenchmarkReadSlice1000Uint8s-4 85486 1301 ns/op 768.72 MB/s BenchmarkWriteSlice1000Uint8s-4 106562 970.6 ns/op 1030.25 MB/s BenchmarkPutUvarint32-4 701456 153.6 ns/op 26.04 MB/s BenchmarkPutUvarint64-4 209254 571.1 ns/op 14.01 MB/s PASS ok encoding/binary 5.053s goos: linux goarch: amd64 pkg: encoding/csv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRead-4 5506 18243 ns/op 737 B/op 16 allocs/op BenchmarkReadWithFieldsPerRecord-4 6925 16963 ns/op 736 B/op 16 allocs/op BenchmarkReadWithoutFieldsPerRecord-4 7083 16889 ns/op 736 B/op 16 allocs/op BenchmarkReadLargeFields-4 4305 26818 ns/op 3938 B/op 24 allocs/op BenchmarkReadReuseRecord-4 7837 15455 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithFieldsPerRecord-4 6957 15333 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithoutFieldsPerRecord-4 7767 15376 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordLargeFields-4 4638 26100 ns/op 2977 B/op 12 allocs/op BenchmarkWrite-4 12687 9487 ns/op PASS ok encoding/csv 2.472s goos: linux goarch: amd64 pkg: encoding/gob cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEndToEndPipe-4 10705 10923 ns/op 1814 B/op 2 allocs/op BenchmarkEndToEndByteBuffer-4 15484 8185 ns/op 1812 B/op 2 allocs/op BenchmarkEndToEndSliceByteBuffer-4 279 407209 ns/op 16701 B/op 330 allocs/op BenchmarkEncodeComplex128Slice-4 805 137199 ns/op 609 B/op 0 allocs/op BenchmarkEncodeFloat64Slice-4 1713 74484 ns/op 50 B/op 0 allocs/op BenchmarkEncodeInt32Slice-4 1725 66598 ns/op 50 B/op 0 allocs/op BenchmarkEncodeStringSlice-4 2420 45161 ns/op 160 B/op 0 allocs/op BenchmarkEncodeInterfaceSlice-4 70 1662079 ns/op 33649 B/op 251 allocs/op BenchmarkDecodeComplex128Slice-4 660 216176 ns/op 25220 B/op 169 allocs/op BenchmarkDecodeFloat64Slice-4 1316 91052 ns/op 10794 B/op 169 allocs/op BenchmarkDecodeInt32Slice-4 1470 86412 ns/op 9756 B/op 169 allocs/op BenchmarkDecodeStringSlice-4 861 154261 ns/op 39134 B/op 1169 allocs/op BenchmarkDecodeStringsSlice-4 300 427850 ns/op 66305 B/op 2203 allocs/op BenchmarkDecodeBytesSlice-4 670 190924 ns/op 23627 B/op 186 allocs/op BenchmarkDecodeInterfaceSlice-4 105 1225113 ns/op 82976 B/op 3178 allocs/op BenchmarkDecodeMap-4 73 1630077 ns/op 54132 B/op 181 allocs/op PASS ok encoding/gob 3.771s goos: linux goarch: amd64 pkg: encoding/hex cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode/256-4 12828 9369 ns/op 27.33 MB/s BenchmarkEncode/1024-4 2976 37395 ns/op 27.38 MB/s BenchmarkEncode/4096-4 790 150475 ns/op 27.22 MB/s BenchmarkEncode/16384-4 199 608652 ns/op 26.92 MB/s BenchmarkDecode/256-4 24081 5043 ns/op 50.77 MB/s BenchmarkDecode/1024-4 5937 19750 ns/op 51.85 MB/s BenchmarkDecode/4096-4 1496 78694 ns/op 52.05 MB/s BenchmarkDecode/16384-4 378 314937 ns/op 52.02 MB/s BenchmarkDump/256-4 1322 89467 ns/op 2.86 MB/s BenchmarkDump/1024-4 343 348359 ns/op 2.94 MB/s BenchmarkDump/4096-4 84 1410390 ns/op 2.90 MB/s BenchmarkDump/16384-4 20 5986176 ns/op 2.74 MB/s PASS ok encoding/hex 2.782s goos: linux goarch: amd64 pkg: encoding/json cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCodeEncoder-4 1 174579979 ns/op 11.12 MB/s 8391848 B/op 60 allocs/op BenchmarkCodeEncoderError-4 1 149687585 ns/op 12.96 MB/s 8525488 B/op 140 allocs/op BenchmarkCodeMarshal-4 1 151970893 ns/op 12.77 MB/s 10202288 B/op 36 allocs/op BenchmarkCodeMarshalError-4 1 131489176 ns/op 14.76 MB/s 1946064 B/op 69 allocs/op BenchmarkMarshalBytes/32-4 21339 5644 ns/op BenchmarkMarshalBytes/256-4 4700 21765 ns/op BenchmarkMarshalBytes/4096-4 454 257374 ns/op BenchmarkMarshalBytesError/32-4 56 2082857 ns/op BenchmarkMarshalBytesError/256-4 55 2127110 ns/op BenchmarkMarshalBytesError/4096-4 49 2361140 ns/op BenchmarkCodeDecoder-4 1 443707986 ns/op 4.37 MB/s 11015840 B/op 91355 allocs/op BenchmarkUnicodeDecoder-4 35505 3347 ns/op 4.18 MB/s 40 B/op 2 allocs/op BenchmarkDecoderStream-4 46028 2466 ns/op 16 B/op 1 allocs/op BenchmarkCodeUnmarshal-4 1 378735030 ns/op 5.12 MB/s 2938568 B/op 91325 allocs/op BenchmarkCodeUnmarshalReuse-4 1 364736197 ns/op 5.32 MB/s 2938224 B/op 91327 allocs/op BenchmarkUnmarshalString-4 55059 2221 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalFloat64-4 146181 970.4 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalInt64-4 287374 468.4 ns/op 144 B/op 1 allocs/op BenchmarkIssue10335-4 70267 1667 ns/op 176 B/op 3 allocs/op BenchmarkIssue34127-4 84550 1350 ns/op 83 B/op 2 allocs/op BenchmarkUnmapped-4 16194 7188 ns/op 208 B/op 4 allocs/op BenchmarkTypeFieldsCache/MissTypes1-4 4039 31222 ns/op BenchmarkTypeFieldsCache/MissTypes10-4 886 141452 ns/op BenchmarkTypeFieldsCache/MissTypes100-4 86 1270215 ns/op BenchmarkTypeFieldsCache/MissTypes1000-4 10 12272654 ns/op BenchmarkTypeFieldsCache/HitTypes1-4 513003 241.0 ns/op BenchmarkTypeFieldsCache/HitTypes10-4 419892 238.9 ns/op BenchmarkTypeFieldsCache/HitTypes100-4 455586 236.7 ns/op BenchmarkTypeFieldsCache/HitTypes1000-4 457502 251.0 ns/op BenchmarkEncodeMarshaler-4 56322 1815 ns/op 75 B/op 1 allocs/op BenchmarkEncoderEncode-4 69232 1495 ns/op 43 B/op 0 allocs/op BenchmarkNumberIsValid-4 4097353 29.21 ns/op BenchmarkNumberIsValidRegexp-4 20700 5899 ns/op PASS ok encoding/json 8.370s goos: linux goarch: amd64 pkg: encoding/pem cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode-4 45 2542736 ns/op 25.77 MB/s BenchmarkDecode-4 22 5449615 ns/op 16.29 MB/s PASS ok encoding/pem 1.361s goos: linux goarch: amd64 pkg: encoding/xml cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMarshal-4 2576 44469 ns/op 6280 B/op 24 allocs/op BenchmarkUnmarshal-4 843 120579 ns/op 8217 B/op 185 allocs/op BenchmarkHTMLAutoClose-4 4480 26690 ns/op PASS ok encoding/xml 1.387s goos: linux goarch: amd64 pkg: expvar cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkIntAdd-4 268201 457.2 ns/op BenchmarkIntSet-4 326709 396.3 ns/op BenchmarkFloatAdd-4 71416 2092 ns/op BenchmarkFloatSet-4 355852 357.8 ns/op BenchmarkStringSet-4 320066 403.3 ns/op BenchmarkMapSet-4 65338 1915 ns/op BenchmarkMapSetDifferent-4 56017 2036 ns/op BenchmarkMapSetDifferentRandom-4 228 473516 ns/op BenchmarkMapSetString-4 72584 1845 ns/op BenchmarkMapAddSame-4 38379 3229 ns/op BenchmarkMapAddDifferent-4 15565 8721 ns/op BenchmarkMapAddDifferentRandom-4 198 591378 ns/op BenchmarkMapAddSameSteadyState-4 207726 517.5 ns/op BenchmarkMapAddDifferentSteadyState-4 95185 1053 ns/op BenchmarkRealworldExpvarUsage-4 19702 5535 ns/op PASS ok expvar 3.407s goos: linux goarch: amd64 pkg: fmt cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSprintfPadding-4 90482 1233 ns/op BenchmarkSprintfEmpty-4 407901 343.1 ns/op BenchmarkSprintfString-4 233828 430.5 ns/op BenchmarkSprintfTruncateString-4 227102 507.7 ns/op BenchmarkSprintfTruncateBytes-4 124479 865.6 ns/op BenchmarkSprintfSlowParsingPath-4 283924 465.6 ns/op BenchmarkSprintfQuoteString-4 35290 3124 ns/op BenchmarkSprintfInt-4 263673 451.9 ns/op BenchmarkSprintfIntInt-4 159092 713.8 ns/op BenchmarkSprintfPrefixedInt-4 195544 555.0 ns/op BenchmarkSprintfFloat-4 148960 803.3 ns/op BenchmarkSprintfComplex-4 60776 1862 ns/op BenchmarkSprintfBoolean-4 308588 398.1 ns/op BenchmarkSprintfHexString-4 106958 942.9 ns/op BenchmarkSprintfHexBytes-4 75244 1637 ns/op BenchmarkSprintfBytes-4 48394 2672 ns/op BenchmarkSprintfStringer-4 86881 1581 ns/op BenchmarkSprintfStructure-4 40371 3252 ns/op BenchmarkManyArgs-4 57474 1761 ns/op BenchmarkFprintInt-4 69993 1753 ns/op BenchmarkFprintfBytes-4 76125 1599 ns/op BenchmarkFprintIntNoAlloc-4 69800 1770 ns/op BenchmarkScanInts-4 36 3260646 ns/op BenchmarkScanRecursiveInt-4 1 377616939 ns/op BenchmarkScanRecursiveIntReaderWrapper-4 1 415322084 ns/op PASS ok fmt 5.595s goos: linux goarch: amd64 pkg: go/build cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkImportVendor-4 588 184388 ns/op PASS ok go/build 1.155s goos: linux goarch: amd64 pkg: go/constant cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStringAdd/1-4 39806 2515 ns/op 160 B/op 2 allocs/op BenchmarkStringAdd/4-4 13485 8965 ns/op 832 B/op 9 allocs/op BenchmarkStringAdd/16-4 3628 30493 ns/op 3168 B/op 23 allocs/op BenchmarkStringAdd/64-4 1010 113226 ns/op 11744 B/op 73 allocs/op BenchmarkStringAdd/256-4 258 451953 ns/op 47840 B/op 267 allocs/op BenchmarkStringAdd/1024-4 46 2229453 ns/op 206176 B/op 1038 allocs/op BenchmarkStringAdd/4096-4 12 9398295 ns/op 865632 B/op 4114 allocs/op BenchmarkStringAdd/16384-4 3 40353928 ns/op 3634528 B/op 16407 allocs/op BenchmarkStringAdd/65536-4 1 178892770 ns/op 15258976 B/op 65565 allocs/op PASS ok go/constant 2.441s goos: linux goarch: amd64 pkg: go/format cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFormat/array1-10000-4 1 273868130 ns/op 0.24 MB/s 46028272 B/op 48887 allocs/op PASS ok go/format 1.320s goos: linux goarch: amd64 pkg: go/parser cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkParse-4 5 20168420 ns/op 2.67 MB/s BenchmarkParseOnly-4 6 17428764 ns/op 3.09 MB/s BenchmarkResolve-4 46 2474934 ns/op 21.76 MB/s PASS ok go/parser 2.218s goos: linux goarch: amd64 pkg: go/printer cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPrintFile-4 1 153139386 ns/op 0.34 MB/s 5455912 B/op 27690 allocs/op BenchmarkPrintDecl-4 674 157434 ns/op 0.20 MB/s 16161 B/op 51 allocs/op PASS ok go/printer 1.302s goos: linux goarch: amd64 pkg: go/scanner cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScan-4 261 456722 ns/op BenchmarkScanFiles/go/types/expr.go-4 13 8080418 ns/op 6.14 MB/s BenchmarkScanFiles/go/parser/parser.go-4 8 12786232 ns/op 5.67 MB/s BenchmarkScanFiles/net/http/server.go-4 6 18123061 ns/op 6.25 MB/s BenchmarkScanFiles/go/scanner/errors.go-4 216 544544 ns/op 5.65 MB/s PASS ok go/scanner 1.729s goos: linux goarch: amd64 pkg: go/token cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSearchInts-4 1135305 103.8 ns/op PASS ok go/token 1.238s goos: linux goarch: amd64 pkg: go/types cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLookupFieldOrMethod-4 144 839123 ns/op BenchmarkNamed/Underlying/nongeneric-4 721280 142.5 ns/op BenchmarkNamed/Underlying/generic-4 718135 145.3 ns/op BenchmarkNamed/Underlying/src_instance-4 832318 140.6 ns/op BenchmarkNamed/Underlying/user_instance-4 824638 140.7 ns/op BenchmarkNamed/NewMethodSet/nongeneric-4 20288 5819 ns/op BenchmarkNamed/NewMethodSet/generic-4 20289 5685 ns/op BenchmarkNamed/NewMethodSet/src_instance-4 20403 5723 ns/op BenchmarkNamed/NewMethodSet/user_instance-4 20036 5931 ns/op BenchmarkCheck/http/funcbodies/info-4 1 632246870 ns/op 48325 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 426818170 ns/op 71582 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 250535044 ns/op 121934 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 207486543 ns/op 147196 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 498837336 ns/op 10375 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 1 115074979 ns/op 44967 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 2 65775362 ns/op 78652 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 2 64151752 ns/op 80650 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 182261307 ns/op 11887 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 2 64011416 ns/op 33838 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 3 46550271 ns/op 46536 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 3 44527251 ns/op 48642 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1305602127 ns/op 49919 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 625469541 ns/op 104195 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 186898449 ns/op 348652 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 129722831 ns/op 502265 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 2098755558 ns/op 951.5 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 92411125 ns/op 21603 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 2 75929782 ns/op 26294 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 2 76855763 ns/op 25978 lines/s PASS ok go/types 21.349s goos: linux goarch: amd64 pkg: hash/adler32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAdler32KB-4 8708 13714 ns/op 74.67 MB/s PASS ok hash/adler32 1.237s goos: linux goarch: amd64 pkg: hash/crc32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCRC32/poly=IEEE/size=15/align=0-4 194884 580.5 ns/op 25.84 MB/s BenchmarkCRC32/poly=IEEE/size=15/align=1-4 202234 559.1 ns/op 26.83 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=0-4 104067 1124 ns/op 35.58 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=1-4 114188 1046 ns/op 38.23 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=0-4 427329 264.6 ns/op 1935.05 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=1-4 443430 263.2 ns/op 1944.93 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=0-4 392414 302.6 ns/op 3383.66 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=1-4 384664 302.5 ns/op 3385.50 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=0-4 232983 514.5 ns/op 7961.19 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=1-4 234850 503.6 ns/op 8133.41 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=0-4 51802 2353 ns/op 13926.93 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=1-4 52882 2277 ns/op 14390.60 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=0-4 389672 276.0 ns/op 54.36 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=1-4 403346 280.9 ns/op 53.40 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=0-4 406736 279.2 ns/op 143.29 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=1-4 417382 272.7 ns/op 146.68 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=0-4 304002 373.0 ns/op 1372.63 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=1-4 313659 380.0 ns/op 1347.20 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=0-4 250592 470.6 ns/op 2176.12 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=1-4 247399 477.5 ns/op 2144.36 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=0-4 211568 554.0 ns/op 7394.01 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=1-4 208346 556.5 ns/op 7359.66 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=0-4 46348 2570 ns/op 12752.50 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=1-4 45516 2659 ns/op 12325.00 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=0-4 201217 574.9 ns/op 26.09 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=1-4 193570 586.9 ns/op 25.56 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=0-4 96909 1222 ns/op 32.74 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=1-4 100125 1166 ns/op 34.30 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=0-4 7164 16328 ns/op 31.36 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=1-4 7216 15896 ns/op 32.21 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=0-4 3560 34130 ns/op 30.00 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=1-4 3466 33877 ns/op 30.23 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=0-4 858 135686 ns/op 30.19 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=1-4 861 135324 ns/op 30.27 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=0-4 100 1093674 ns/op 29.96 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=1-4 100 1105057 ns/op 29.65 MB/s PASS ok hash/crc32 5.587s goos: linux goarch: amd64 pkg: hash/crc64 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCrc64/ISO64KB-4 87 1394942 ns/op 46.98 MB/s BenchmarkCrc64/ISO4KB-4 1003 117225 ns/op 34.94 MB/s BenchmarkCrc64/ISO1KB-4 4639 24919 ns/op 41.09 MB/s BenchmarkCrc64/ECMA64KB-4 86 1401038 ns/op 46.78 MB/s BenchmarkCrc64/Random64KB-4 90 1219594 ns/op 53.74 MB/s BenchmarkCrc64/Random16KB-4 375 314630 ns/op 52.07 MB/s PASS ok hash/crc64 1.788s goos: linux goarch: amd64 pkg: hash/fnv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFnv32KB-4 8722 13859 ns/op 73.88 MB/s BenchmarkFnv32aKB-4 7242 13820 ns/op 74.10 MB/s BenchmarkFnv64KB-4 8581 13875 ns/op 73.80 MB/s BenchmarkFnv64aKB-4 8296 13895 ns/op 73.69 MB/s BenchmarkFnv128KB-4 1952 58801 ns/op 17.41 MB/s BenchmarkFnv128aKB-4 2052 56742 ns/op 18.05 MB/s PASS ok hash/fnv 1.830s goos: linux goarch: amd64 pkg: hash/maphash cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash/n=4/Write-4 581896 203.6 ns/op 19.65 MB/s BenchmarkHash/n=4/Bytes-4 3852976 30.80 ns/op 129.87 MB/s BenchmarkHash/n=4/String-4 1665297 71.61 ns/op 55.85 MB/s BenchmarkHash/n=8/Write-4 531620 197.4 ns/op 40.52 MB/s BenchmarkHash/n=8/Bytes-4 3639822 30.84 ns/op 259.43 MB/s BenchmarkHash/n=8/String-4 1777009 66.35 ns/op 120.57 MB/s BenchmarkHash/n=16/Write-4 575709 199.4 ns/op 80.25 MB/s BenchmarkHash/n=16/Bytes-4 4417512 26.80 ns/op 597.03 MB/s BenchmarkHash/n=16/String-4 1858660 65.01 ns/op 246.12 MB/s BenchmarkHash/n=32/Write-4 551283 210.0 ns/op 152.36 MB/s BenchmarkHash/n=32/Bytes-4 4288684 28.29 ns/op 1131.09 MB/s BenchmarkHash/n=32/String-4 1692254 69.82 ns/op 458.34 MB/s BenchmarkHash/n=64/Write-4 523639 220.6 ns/op 290.10 MB/s BenchmarkHash/n=64/Bytes-4 3939991 30.42 ns/op 2103.72 MB/s BenchmarkHash/n=64/String-4 1745719 68.54 ns/op 933.76 MB/s BenchmarkHash/n=256/Write-4 395349 303.4 ns/op 843.78 MB/s BenchmarkHash/n=256/Bytes-4 2175843 55.10 ns/op 4645.97 MB/s BenchmarkHash/n=256/String-4 888283 128.8 ns/op 1987.96 MB/s BenchmarkHash/n=320/Write-4 396772 295.1 ns/op 1084.34 MB/s BenchmarkHash/n=320/Bytes-4 1761276 68.72 ns/op 4656.53 MB/s BenchmarkHash/n=320/String-4 604612 175.6 ns/op 1822.62 MB/s BenchmarkHash/n=1024/Write-4 261684 450.6 ns/op 2272.50 MB/s BenchmarkHash/n=1024/Bytes-4 730389 160.5 ns/op 6381.78 MB/s BenchmarkHash/n=1024/String-4 252552 453.3 ns/op 2259.05 MB/s BenchmarkHash/n=4096/Write-4 122352 986.0 ns/op 4154.28 MB/s BenchmarkHash/n=4096/Bytes-4 205680 581.7 ns/op 7041.72 MB/s BenchmarkHash/n=4096/String-4 68713 1728 ns/op 2370.75 MB/s BenchmarkHash/n=16384/Write-4 38277 3161 ns/op 5182.59 MB/s BenchmarkHash/n=16384/Bytes-4 53253 2255 ns/op 7264.43 MB/s BenchmarkHash/n=16384/String-4 17325 6955 ns/op 2355.66 MB/s PASS ok hash/maphash 5.539s goos: linux goarch: amd64 pkg: html cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEscape-4 733 141744 ns/op BenchmarkEscapeNone-4 122840 970.0 ns/op BenchmarkUnescape-4 739 154987 ns/op BenchmarkUnescapeNone-4 510351 228.4 ns/op BenchmarkUnescapeSparse-4 10807 10830 ns/op BenchmarkUnescapeDense-4 1045 104984 ns/op PASS ok html 1.968s goos: linux goarch: amd64 pkg: html/template cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCSSEscaper-4 9296 12543 ns/op BenchmarkCSSEscaperNoSpecials-4 44276 2666 ns/op BenchmarkDecodeCSS-4 27189 4339 ns/op BenchmarkDecodeCSSNoSpecials-4 4377807 27.74 ns/op BenchmarkCSSValueFilter-4 110253 1070 ns/op BenchmarkCSSValueFilterOk-4 77854 1553 ns/op BenchmarkEscapedExecute-4 4340 25124 ns/op BenchmarkHTMLNospaceEscaper-4 10000 10669 ns/op BenchmarkHTMLNospaceEscaperNoSpecials-4 66894 1778 ns/op BenchmarkStripTags-4 21013 5545 ns/op BenchmarkStripTagsNoSpecials-4 277071 388.8 ns/op BenchmarkJSValEscaperWithNum-4 23787 5093 ns/op BenchmarkJSValEscaperWithStr-4 4802 22611 ns/op BenchmarkJSValEscaperWithStrNoSpecials-4 17733 6550 ns/op BenchmarkJSValEscaperWithObj-4 4472 26347 ns/op BenchmarkJSValEscaperWithObjNoSpecials-4 12841 9181 ns/op BenchmarkJSStrEscaperNoSpecials-4 58632 1972 ns/op BenchmarkJSStrEscaper-4 10000 10152 ns/op BenchmarkJSRegexpEscaperNoSpecials-4 52524 2271 ns/op BenchmarkJSRegexpEscaper-4 10000 10951 ns/op BenchmarkTemplateSpecialTags-4 80 1308324 ns/op BenchmarkURLEscaper-4 3856 28058 ns/op BenchmarkURLEscaperNoSpecials-4 162174 694.4 ns/op BenchmarkURLNormalizer-4 4940 20808 ns/op BenchmarkURLNormalizerNoSpecials-4 154882 732.6 ns/op BenchmarkSrcsetFilter-4 18295 6468 ns/op BenchmarkSrcsetFilterNoSpecials-4 102879 1106 ns/op PASS ok html/template 4.860s goos: linux goarch: amd64 pkg: image cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAt/rgba-4 586472 194.8 ns/op 16 B/op 1 allocs/op BenchmarkAt/rgba64-4 396709 274.7 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba-4 571510 194.0 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba64-4 436106 270.4 ns/op 16 B/op 1 allocs/op BenchmarkAt/alpha-4 1817229 66.03 ns/op 0 B/op 0 allocs/op BenchmarkAt/alpha16-4 1000000 102.5 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray-4 1804027 66.36 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray16-4 1209523 99.16 ns/op 0 B/op 0 allocs/op BenchmarkAt/paletted-4 1397752 84.92 ns/op 0 B/op 0 allocs/op BenchmarkSet/rgba-4 429975 262.9 ns/op 16 B/op 1 allocs/op BenchmarkSet/rgba64-4 344312 326.7 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba-4 446844 271.7 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba64-4 330752 334.1 ns/op 16 B/op 1 allocs/op BenchmarkSet/alpha-4 817111 146.3 ns/op 0 B/op 0 allocs/op BenchmarkSet/alpha16-4 551020 216.5 ns/op 16 B/op 1 allocs/op BenchmarkSet/gray-4 917653 127.2 ns/op 0 B/op 0 allocs/op BenchmarkSet/gray16-4 577732 227.6 ns/op 16 B/op 1 allocs/op BenchmarkSet/paletted-4 412011 275.8 ns/op 0 B/op 0 allocs/op BenchmarkRGBAAt-4 1366118 86.80 ns/op BenchmarkRGBASetRGBA-4 1341615 86.10 ns/op BenchmarkRGBA64At-4 706095 163.1 ns/op BenchmarkRGBA64SetRGBA64-4 771470 147.7 ns/op BenchmarkNRGBAAt-4 1424589 84.53 ns/op BenchmarkNRGBASetNRGBA-4 1413747 84.10 ns/op BenchmarkNRGBA64At-4 697803 164.8 ns/op BenchmarkNRGBA64SetNRGBA64-4 801644 147.5 ns/op BenchmarkAlphaAt-4 2265913 52.75 ns/op BenchmarkAlphaSetAlpha-4 2329468 50.97 ns/op BenchmarkAlpha16At-4 1501813 81.80 ns/op BenchmarkAlphaSetAlpha16-4 1518922 79.14 ns/op BenchmarkGrayAt-4 2306670 51.87 ns/op BenchmarkGraySetGray-4 2341416 51.05 ns/op BenchmarkGray16At-4 1492326 78.63 ns/op BenchmarkGraySetGray16-4 1544269 77.58 ns/op PASS ok image 6.556s goos: linux goarch: amd64 pkg: image/color cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkYCbCrToRGB/0-4 3917455 27.04 ns/op BenchmarkYCbCrToRGB/128-4 4026544 26.73 ns/op BenchmarkYCbCrToRGB/255-4 4199146 25.92 ns/op BenchmarkRGBToYCbCr/0-4 4094308 25.91 ns/op BenchmarkRGBToYCbCr/Cb-4 4257225 25.88 ns/op BenchmarkRGBToYCbCr/Cr-4 4311070 26.82 ns/op BenchmarkYCbCrToRGBA/0-4 3449302 32.67 ns/op BenchmarkYCbCrToRGBA/128-4 3227576 35.48 ns/op BenchmarkYCbCrToRGBA/255-4 3365398 32.85 ns/op BenchmarkNYCbCrAToRGBA/0-4 3209062 34.97 ns/op BenchmarkNYCbCrAToRGBA/128-4 3186032 35.60 ns/op BenchmarkNYCbCrAToRGBA/255-4 3257318 34.48 ns/op PASS ok image/color 2.782s goos: linux goarch: amd64 pkg: image/draw cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFillOver-4 4 31282868 ns/op BenchmarkFillSrc-4 362 338512 ns/op BenchmarkCopyOver-4 7 16190805 ns/op BenchmarkCopySrc-4 450 266460 ns/op BenchmarkNRGBAOver-4 6 16679798 ns/op BenchmarkNRGBASrc-4 10 11185588 ns/op BenchmarkYCbCr-4 8 12574517 ns/op BenchmarkGray-4 16 6831176 ns/op BenchmarkCMYK-4 9 11234383 ns/op BenchmarkGlyphOver-4 21 5389520 ns/op BenchmarkRGBAMaskOver-4 4 27999420 ns/op BenchmarkGrayMaskOver-4 5 21440059 ns/op BenchmarkRGBA64ImageMaskOver-4 3 34530322 ns/op BenchmarkRGBA-4 5 23453211 ns/op BenchmarkPalettedFill-4 967 126434 ns/op BenchmarkPalettedRGBA-4 4 26222081 ns/op BenchmarkGenericOver-4 2 51401180 ns/op BenchmarkGenericMaskOver-4 5 21312122 ns/op BenchmarkGenericSrc-4 3 34265124 ns/op BenchmarkGenericMaskSrc-4 4 29506989 ns/op PASS ok image/draw 7.162s goos: linux goarch: amd64 pkg: image/gif cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecode-4 22 4651152 ns/op 3.32 MB/s 47848 B/op 267 allocs/op BenchmarkEncodeRandomPaletted-4 1 110476495 ns/op 2.78 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRandomRGBA-4 1 3035388359 ns/op 0.40 MB/s 417248 B/op 13 allocs/op BenchmarkEncodeRealisticPaletted-4 56 2057572 ns/op 7.51 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRealisticRGBA-4 1 150355978 ns/op 0.41 MB/s 105952 B/op 13 allocs/op PASS ok image/gif 5.079s goos: linux goarch: amd64 pkg: image/jpeg cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFDCT-4 3624 28896 ns/op BenchmarkIDCT-4 3926 27714 ns/op BenchmarkDecodeBaseline-4 9 12449868 ns/op 4.96 MB/s 63024 B/op 5 allocs/op BenchmarkDecodeProgressive-4 6 17311732 ns/op 3.57 MB/s 259712 B/op 13 allocs/op BenchmarkEncodeRGBA-4 1 153589091 ns/op 8.00 MB/s 4400 B/op 4 allocs/op BenchmarkEncodeYCbCr-4 1 192135616 ns/op 4.80 MB/s 4400 B/op 4 allocs/op PASS ok image/jpeg 2.247s goos: linux goarch: amd64 pkg: image/png cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPaeth-4 12362755 9.915 ns/op BenchmarkDecodeGray-4 12 9198819 ns/op 7.12 MB/s 137024 B/op 102 allocs/op BenchmarkDecodeNRGBAGradient-4 3 39993830 ns/op 6.55 MB/s 337328 B/op 188 allocs/op BenchmarkDecodeNRGBAOpaque-4 3 34296263 ns/op 7.64 MB/s 346592 B/op 152 allocs/op BenchmarkDecodePaletted-4 21 5358796 ns/op 12.23 MB/s 139456 B/op 309 allocs/op BenchmarkDecodeRGB-4 4 32026885 ns/op 8.19 MB/s 332000 B/op 157 allocs/op BenchmarkDecodeInterlacing-4 3 39282850 ns/op 6.67 MB/s 605216 B/op 268 allocs/op BenchmarkEncodeGray-4 2 60917403 ns/op 5.04 MB/s 852184 B/op 29 allocs/op BenchmarkEncodeGrayWithBufferPool-4 2 59875244 ns/op 5.13 MB/s 426080 B/op 14 allocs/op BenchmarkEncodeNRGBOpaque-4 1 196085710 ns/op 6.27 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeNRGBA-4 1 216851180 ns/op 5.67 MB/s 864088 B/op 29 allocs/op BenchmarkEncodePaletted-4 4 30762585 ns/op 9.99 MB/s 848592 B/op 32 allocs/op BenchmarkEncodeRGBOpaque-4 1 196770150 ns/op 6.24 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeRGBA-4 1 823022499 ns/op 1.49 MB/s 864088 B/op 29 allocs/op PASS ok image/png 4.796s goos: linux goarch: amd64 pkg: index/suffixarray cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkNew/text=opticks/size=100K/bits=32-4 2 55325662 ns/op 1.81 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=opticks/size=100K/bits=64-4 3 44674341 ns/op 2.24 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=32-4 1 290526605 ns/op 1.72 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=64-4 1 258341366 ns/op 1.94 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=32-4 2 52541478 ns/op 1.90 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=64-4 3 43784878 ns/op 2.28 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=32-4 1 275308558 ns/op 1.82 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=64-4 1 245739913 ns/op 2.03 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=32-4 1 592929909 ns/op 1.69 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=64-4 1 579934437 ns/op 1.72 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=32-4 1 3601670796 ns/op 1.39 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=64-4 1 3606936786 ns/op 1.39 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=32-4 12 9508225 ns/op 10.52 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=64-4 10 11160446 ns/op 8.96 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=32-4 3 48620085 ns/op 10.28 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=64-4 2 55602718 ns/op 8.99 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=32-4 2 93752842 ns/op 10.67 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=64-4 1 109712509 ns/op 9.11 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=32-4 1 494346442 ns/op 10.11 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=64-4 1 539916304 ns/op 9.26 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=32-4 2 60204387 ns/op 1.66 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=64-4 2 50696062 ns/op 1.97 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=32-4 1 342881763 ns/op 1.46 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=64-4 1 311914820 ns/op 1.60 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=32-4 1 717902827 ns/op 1.39 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=64-4 1 783943324 ns/op 1.28 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=32-4 1 5361759065 ns/op 0.93 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=64-4 1 5756239554 ns/op 0.87 MB/s 40001616 B/op 2 allocs/op BenchmarkSaveRestore/bits=32-4 1 177886931 ns/op 23.50 MB/s 5275648 B/op 4 allocs/op BenchmarkSaveRestore/bits=64-4 1 188536861 ns/op 22.17 MB/s 9469952 B/op 4 allocs/op PASS ok index/suffixarray 43.555s goos: linux goarch: amd64 pkg: internal/fuzz cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMarshalCorpusFile/1-4 34390 3063 ns/op 0.33 MB/s BenchmarkMarshalCorpusFile/2-4 34872 3231 ns/op 0.62 MB/s BenchmarkMarshalCorpusFile/4-4 32721 3465 ns/op 1.15 MB/s BenchmarkMarshalCorpusFile/8-4 27202 4243 ns/op 1.89 MB/s BenchmarkMarshalCorpusFile/16-4 21997 5341 ns/op 3.00 MB/s BenchmarkMarshalCorpusFile/32-4 14700 7929 ns/op 4.04 MB/s BenchmarkMarshalCorpusFile/64-4 9412 12688 ns/op 5.04 MB/s BenchmarkMarshalCorpusFile/128-4 5877 19878 ns/op 6.44 MB/s BenchmarkMarshalCorpusFile/256-4 3169 39031 ns/op 6.56 MB/s BenchmarkMarshalCorpusFile/512-4 1467 74524 ns/op 6.87 MB/s BenchmarkMarshalCorpusFile/1024-4 826 143587 ns/op 7.13 MB/s BenchmarkMarshalCorpusFile/2048-4 390 286459 ns/op 7.15 MB/s BenchmarkMarshalCorpusFile/4096-4 206 564643 ns/op 7.25 MB/s BenchmarkMarshalCorpusFile/8192-4 100 1155168 ns/op 7.09 MB/s BenchmarkMarshalCorpusFile/16384-4 51 2242778 ns/op 7.31 MB/s BenchmarkMarshalCorpusFile/32768-4 19 6383066 ns/op 5.13 MB/s BenchmarkMarshalCorpusFile/65536-4 8 13505483 ns/op 4.85 MB/s BenchmarkMarshalCorpusFile/131072-4 4 29377047 ns/op 4.46 MB/s BenchmarkMarshalCorpusFile/262144-4 2 56637636 ns/op 4.63 MB/s BenchmarkMarshalCorpusFile/524288-4 1 114473159 ns/op 4.58 MB/s BenchmarkMarshalCorpusFile/1048576-4 1 214377247 ns/op 4.89 MB/s BenchmarkUnmarshalCorpusFile/1-4 8499 12550 ns/op 0.08 MB/s BenchmarkUnmarshalCorpusFile/2-4 9727 12357 ns/op 0.16 MB/s BenchmarkUnmarshalCorpusFile/4-4 7582 14082 ns/op 0.28 MB/s BenchmarkUnmarshalCorpusFile/8-4 7711 15663 ns/op 0.51 MB/s BenchmarkUnmarshalCorpusFile/16-4 6438 18649 ns/op 0.86 MB/s BenchmarkUnmarshalCorpusFile/32-4 4386 27191 ns/op 1.18 MB/s BenchmarkUnmarshalCorpusFile/64-4 3213 31441 ns/op 2.04 MB/s BenchmarkUnmarshalCorpusFile/128-4 2694 40805 ns/op 3.14 MB/s BenchmarkUnmarshalCorpusFile/256-4 1041 107738 ns/op 2.38 MB/s BenchmarkUnmarshalCorpusFile/512-4 613 201604 ns/op 2.54 MB/s BenchmarkUnmarshalCorpusFile/1024-4 307 381589 ns/op 2.68 MB/s BenchmarkUnmarshalCorpusFile/2048-4 156 762917 ns/op 2.68 MB/s BenchmarkUnmarshalCorpusFile/4096-4 78 1491522 ns/op 2.75 MB/s BenchmarkUnmarshalCorpusFile/8192-4 39 2987915 ns/op 2.74 MB/s BenchmarkUnmarshalCorpusFile/16384-4 19 5919216 ns/op 2.77 MB/s BenchmarkUnmarshalCorpusFile/32768-4 9 11806221 ns/op 2.78 MB/s BenchmarkUnmarshalCorpusFile/65536-4 5 23908042 ns/op 2.74 MB/s BenchmarkUnmarshalCorpusFile/131072-4 3 47783731 ns/op 2.74 MB/s BenchmarkUnmarshalCorpusFile/262144-4 2 97223797 ns/op 2.70 MB/s BenchmarkUnmarshalCorpusFile/524288-4 1 198627067 ns/op 2.64 MB/s BenchmarkUnmarshalCorpusFile/1048576-4 1 397465902 ns/op 2.64 MB/s BenchmarkMutatorBytes/1-4 37514 3163 ns/op BenchmarkMutatorBytes/10-4 38900 2994 ns/op BenchmarkMutatorBytes/100-4 36313 3256 ns/op BenchmarkMutatorBytes/1000-4 25978 4936 ns/op BenchmarkMutatorBytes/10000-4 7194 21906 ns/op BenchmarkMutatorBytes/100000-4 1033 140801 ns/op BenchmarkMutatorString/1-4 36541 3234 ns/op BenchmarkMutatorString/10-4 37303 3278 ns/op BenchmarkMutatorString/100-4 33243 4055 ns/op BenchmarkMutatorString/1000-4 16935 7582 ns/op BenchmarkMutatorString/10000-4 3098 60626 ns/op BenchmarkMutatorString/100000-4 165 657171 ns/op BenchmarkMutatorAllBasicTypes/[]uint8-4 21357 5751 ns/op BenchmarkMutatorAllBasicTypes/string-4 20305 5907 ns/op BenchmarkMutatorAllBasicTypes/bool-4 66729 1842 ns/op BenchmarkMutatorAllBasicTypes/float32-4 58275 2056 ns/op BenchmarkMutatorAllBasicTypes/float64-4 58893 2058 ns/op BenchmarkMutatorAllBasicTypes/int-4 61642 1925 ns/op BenchmarkMutatorAllBasicTypes/int8-4 62606 1936 ns/op BenchmarkMutatorAllBasicTypes/int16-4 61186 1928 ns/op BenchmarkMutatorAllBasicTypes/int32-4 61978 1947 ns/op BenchmarkMutatorAllBasicTypes/int64-4 62486 1898 ns/op BenchmarkMutatorAllBasicTypes/uint8-4 60908 1970 ns/op BenchmarkMutatorAllBasicTypes/uint16-4 61294 1960 ns/op BenchmarkMutatorAllBasicTypes/uint32-4 60628 1984 ns/op BenchmarkMutatorAllBasicTypes/uint64-4 60931 1976 ns/op PASS ok internal/fuzz 13.201s goos: linux goarch: amd64 pkg: internal/intern cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStress-4 27835 3632 ns/op 0 B/op 0 allocs/op BenchmarkGetByString-4 125598 950.4 ns/op 0 B/op 0 allocs/op PASS ok internal/intern 1.270s goos: linux goarch: amd64 pkg: internal/poll cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSplicePipe/SplicePipeWithPool-4 40156 3307 ns/op BenchmarkSplicePipe/SplicePipeWithoutPool-4 12199 9919 ns/op BenchmarkSplicePipePoolParallel-4 107920 1350 ns/op BenchmarkSplicePipeNativeParallel-4 26593 3982 ns/op PASS ok internal/poll 2.041s goos: linux goarch: amd64 pkg: internal/trace cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMMU-4 5 21407781 ns/op PASS ok internal/trace 4.072s PASS ok internal/zstd 1.023s goos: linux goarch: amd64 pkg: io cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCopyNSmall-4 10000 15210 ns/op BenchmarkCopyNLarge-4 138 1104991 ns/op PASS ok io 1.424s goos: linux goarch: amd64 pkg: log cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkItoa-4 212834 526.1 ns/op BenchmarkPrintln-4 22188 5234 ns/op 77 B/op 1 allocs/op BenchmarkPrintlnNoFlags-4 34832 3476 ns/op 66 B/op 0 allocs/op BenchmarkConcurrent-4 2324 46727 ns/op BenchmarkDiscard-4 899936 128.5 ns/op 0 B/op 0 allocs/op PASS ok log 1.812s goos: linux goarch: amd64 pkg: log/slog cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkWriteTime-4 82389 1413 ns/op BenchmarkJSONHandler/defaults-4 7516 15314 ns/op 537 B/op 1 allocs/op BenchmarkJSONHandler/time_format-4 4681 25539 ns/op 802 B/op 6 allocs/op BenchmarkJSONHandler/time_unix-4 5085 22630 ns/op 768 B/op 5 allocs/op BenchmarkPreformatting/separate-4 7311 15157 ns/op 519 B/op 0 allocs/op BenchmarkPreformatting/struct-4 7591 15049 ns/op 530 B/op 1 allocs/op BenchmarkPreformatting/struct_file-4 5101 21097 ns/op 522 B/op 0 allocs/op BenchmarkJSONEncoding/json.Marshal-4 31064 3859 ns/op 79 B/op 2 allocs/op BenchmarkJSONEncoding/Encoder.Encode-4 30739 3819 ns/op 64 B/op 2 allocs/op BenchmarkNopLog/no_attrs-4 64016 1882 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-4 55280 2298 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-parallel-4 45441 2477 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/keys-values-4 52407 2459 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-4 55033 2303 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-parallel-4 47635 2422 ns/op 0 B/op 0 allocs/op BenchmarkPC/0-4 430119 277.1 ns/op 0 B/op 0 allocs/op BenchmarkPC/1-4 322993 369.0 ns/op 0 B/op 0 allocs/op BenchmarkPC/2-4 223632 530.3 ns/op 0 B/op 0 allocs/op BenchmarkPC/3-4 155091 743.6 ns/op 0 B/op 0 allocs/op BenchmarkPC/4-4 128611 915.2 ns/op 0 B/op 0 allocs/op BenchmarkRecord-4 7482 14981 ns/op BenchmarkDispatch/switch-checked-4 200481 572.4 ns/op BenchmarkDispatch/As-4 183962 640.1 ns/op BenchmarkDispatch/Visit-4 195031 592.0 ns/op BenchmarkUnsafeStrings-4 18924 6321 ns/op 0 B/op 0 allocs/op --- BENCH: BenchmarkUnsafeStrings-4 value_test.go:251: Value size = 24 value_test.go:251: Value size = 24 value_test.go:251: Value size = 24 value_test.go:251: Value size = 24 PASS ok log/slog 4.685s goos: linux goarch: amd64 pkg: log/slog/internal/benchmarks cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAttrs/disabled/5_args-4 2144673 55.28 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/5_args_ctx-4 1942238 67.44 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/10_args-4 1415616 84.23 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/40_args-4 456751 262.3 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args-4 69219 1691 ns/op 261 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args_ctx-4 73410 1759 ns/op 256 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/10_args-4 41611 3014 ns/op 469 B/op 1 allocs/op BenchmarkAttrs/fastText_discard/40_args-4 15829 7966 ns/op 2055 B/op 1 allocs/op BenchmarkAttrs/Text_discard/5_args-4 15081 7979 ns/op 615 B/op 3 allocs/op BenchmarkAttrs/Text_discard/5_args_ctx-4 13566 7879 ns/op 614 B/op 3 allocs/op BenchmarkAttrs/Text_discard/10_args-4 9121 12289 ns/op 910 B/op 7 allocs/op BenchmarkAttrs/Text_discard/40_args-4 3324 36174 ns/op 3012 B/op 22 allocs/op BenchmarkAttrs/JSON_discard/5_args-4 17752 7188 ns/op 528 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/5_args_ctx-4 16233 7012 ns/op 523 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/10_args-4 12556 10178 ns/op 739 B/op 2 allocs/op BenchmarkAttrs/JSON_discard/40_args-4 3688 29280 ns/op 2317 B/op 2 allocs/op PASS ok log/slog/internal/benchmarks 4.226s goos: linux goarch: amd64 pkg: maps cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMapClone-4 3 43349146 ns/op BenchmarkKeys-4 6 17023365 ns/op BenchmarkValues-4 7 16357913 ns/op PASS ok maps 5.281s goos: linux goarch: amd64 pkg: math cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAcos-4 3538114 33.98 ns/op BenchmarkAcosh-4 1269079 96.29 ns/op BenchmarkAsin-4 3530515 33.78 ns/op BenchmarkAsinh-4 1213442 98.41 ns/op BenchmarkAtan-4 4283230 28.12 ns/op BenchmarkAtanh-4 1241920 95.29 ns/op BenchmarkAtan2-4 2412864 49.24 ns/op BenchmarkCbrt-4 1666558 72.02 ns/op BenchmarkCeil-4 16761494 6.821 ns/op BenchmarkCompare-4 3613496 32.94 ns/op BenchmarkCompare32-4 4737790 25.35 ns/op BenchmarkCopysign-4 2908071 41.01 ns/op BenchmarkCos-4 1370174 86.78 ns/op BenchmarkCosh-4 1673802 71.56 ns/op BenchmarkErf-4 4591638 25.88 ns/op BenchmarkErfc-4 4464150 26.54 ns/op BenchmarkErfinv-4 4031437 29.51 ns/op BenchmarkErfcinv-4 4114482 29.09 ns/op BenchmarkExp-4 6037472 19.75 ns/op BenchmarkExpGo-4 968523 116.7 ns/op BenchmarkExpm1-4 3197751 37.59 ns/op BenchmarkExp2-4 1000000 104.5 ns/op BenchmarkExp2Go-4 973387 114.2 ns/op BenchmarkAbs-4 3735537 32.29 ns/op BenchmarkDim-4 7304862 15.75 ns/op BenchmarkFloor-4 16224602 6.828 ns/op BenchmarkMax-4 11278336 9.855 ns/op BenchmarkMin-4 11789980 9.628 ns/op BenchmarkMod-4 328219 327.8 ns/op BenchmarkFrexp-4 2014095 59.22 ns/op BenchmarkGamma-4 718537 168.6 ns/op BenchmarkHypot-4 10375077 10.64 ns/op BenchmarkHypotGo-4 1647286 73.21 ns/op BenchmarkIlogb-4 2361930 50.34 ns/op BenchmarkJ0-4 261810 460.8 ns/op BenchmarkJ1-4 255124 452.3 ns/op BenchmarkJn-4 119732 971.8 ns/op BenchmarkLdexp-4 1974919 60.30 ns/op BenchmarkLgamma-4 1000000 116.0 ns/op BenchmarkLog-4 5888259 18.72 ns/op BenchmarkLogb-4 2351736 50.95 ns/op BenchmarkLog1p-4 1516425 79.72 ns/op BenchmarkLog10-4 5638404 20.02 ns/op BenchmarkLog2-4 1624899 73.17 ns/op BenchmarkModf-4 2891545 41.24 ns/op BenchmarkNextafter32-4 2826352 42.59 ns/op BenchmarkNextafter64-4 2986772 39.87 ns/op BenchmarkPowInt-4 590126 202.3 ns/op BenchmarkPowFrac-4 415408 265.7 ns/op BenchmarkPow10Pos-4 4004610 29.75 ns/op BenchmarkPow10Neg-4 3929398 30.62 ns/op BenchmarkRound-4 3704234 32.04 ns/op BenchmarkRoundToEven-4 7772420 15.27 ns/op BenchmarkRemainder-4 509805 226.1 ns/op BenchmarkSignbit-4 5061070 23.37 ns/op BenchmarkSin-4 1684996 69.73 ns/op BenchmarkSincos-4 1000000 118.3 ns/op BenchmarkSinh-4 2409914 49.14 ns/op BenchmarkSqrtIndirect-4 17111108 6.195 ns/op BenchmarkSqrtLatency-4 16424223 6.549 ns/op BenchmarkSqrtIndirectLatency-4 16347577 6.531 ns/op BenchmarkSqrtGoLatency-4 1204203 99.69 ns/op BenchmarkSqrtPrime-4 33555 3571 ns/op BenchmarkTan-4 1564926 76.47 ns/op BenchmarkTanh-4 1583559 76.55 ns/op BenchmarkTrunc-4 15339474 7.178 ns/op BenchmarkY0-4 258987 459.6 ns/op BenchmarkY1-4 255358 458.0 ns/op BenchmarkYn-4 124221 945.3 ns/op BenchmarkFloat64bits-4 5317278 22.48 ns/op BenchmarkFloat64frombits-4 4893871 24.16 ns/op BenchmarkFloat32bits-4 5236044 22.96 ns/op BenchmarkFloat32frombits-4 5105088 23.52 ns/op BenchmarkFMA-4 16245763 6.570 ns/op PASS ok math 12.415s goos: linux goarch: amd64 pkg: math/big cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAddVV/1-4 12043538 9.845 ns/op 6500.68 MB/s BenchmarkAddVV/2-4 10826067 10.97 ns/op 11666.90 MB/s BenchmarkAddVV/3-4 10224285 11.92 ns/op 16105.93 MB/s BenchmarkAddVV/4-4 11025082 10.70 ns/op 23919.76 MB/s BenchmarkAddVV/5-4 10038084 11.94 ns/op 26807.45 MB/s BenchmarkAddVV/10-4 7883146 15.24 ns/op 41998.73 MB/s BenchmarkAddVV/100-4 1832038 64.83 ns/op 98713.71 MB/s BenchmarkAddVV/1000-4 205195 577.5 ns/op 110827.62 MB/s BenchmarkSubVV/1-4 12163564 9.841 ns/op 6503.12 MB/s BenchmarkSubVV/2-4 10737693 10.94 ns/op 11699.36 MB/s BenchmarkSubVV/3-4 10146328 11.87 ns/op 16175.30 MB/s BenchmarkSubVV/4-4 11058678 10.78 ns/op 23739.28 MB/s BenchmarkSubVV/5-4 10165084 11.84 ns/op 27031.93 MB/s BenchmarkSubVV/10-4 7895347 15.22 ns/op 42040.87 MB/s BenchmarkSubVV/100-4 1832388 65.29 ns/op 98021.22 MB/s BenchmarkSubVV/1000-4 207154 580.0 ns/op 110345.58 MB/s BenchmarkAddVW/1-4 11989803 10.18 ns/op 785.84 MB/s BenchmarkAddVW/2-4 10915386 10.93 ns/op 1464.32 MB/s BenchmarkAddVW/3-4 9991544 11.83 ns/op 2027.88 MB/s BenchmarkAddVW/4-4 11648024 10.35 ns/op 3091.82 MB/s BenchmarkAddVW/5-4 11399760 10.47 ns/op 3819.19 MB/s BenchmarkAddVW/10-4 8861679 13.39 ns/op 5975.93 MB/s BenchmarkAddVW/100-4 318465 334.9 ns/op 2388.72 MB/s BenchmarkAddVW/1000-4 53130 2244 ns/op 3565.20 MB/s BenchmarkAddVWext/1-4 11959156 10.09 ns/op 792.81 MB/s BenchmarkAddVWext/2-4 11041231 10.91 ns/op 1466.45 MB/s BenchmarkAddVWext/3-4 10372921 11.75 ns/op 2043.01 MB/s BenchmarkAddVWext/4-4 11620101 10.37 ns/op 3084.64 MB/s BenchmarkAddVWext/5-4 11399568 10.46 ns/op 3825.89 MB/s BenchmarkAddVWext/10-4 8960397 13.47 ns/op 5940.70 MB/s BenchmarkAddVWext/100-4 87175 1369 ns/op 584.43 MB/s BenchmarkAddVWext/1000-4 8754 13211 ns/op 605.54 MB/s BenchmarkSubVW/1-4 11798420 9.994 ns/op 800.44 MB/s BenchmarkSubVW/2-4 10795776 11.10 ns/op 1441.44 MB/s BenchmarkSubVW/3-4 9835854 12.00 ns/op 1999.70 MB/s BenchmarkSubVW/4-4 11474636 10.34 ns/op 3093.88 MB/s BenchmarkSubVW/5-4 11139340 10.59 ns/op 3775.79 MB/s BenchmarkSubVW/10-4 8682390 13.71 ns/op 5833.67 MB/s BenchmarkSubVW/100-4 348038 342.2 ns/op 2337.52 MB/s BenchmarkSubVW/1000-4 53212 2248 ns/op 3558.81 MB/s BenchmarkSubVWext/1-4 11847556 10.00 ns/op 799.60 MB/s BenchmarkSubVWext/2-4 10705848 11.14 ns/op 1436.70 MB/s BenchmarkSubVWext/3-4 10054572 11.82 ns/op 2030.63 MB/s BenchmarkSubVWext/4-4 11390454 10.32 ns/op 3099.63 MB/s BenchmarkSubVWext/5-4 11398746 10.52 ns/op 3803.77 MB/s BenchmarkSubVWext/10-4 8834011 13.65 ns/op 5862.51 MB/s BenchmarkSubVWext/100-4 86976 1371 ns/op 583.40 MB/s BenchmarkSubVWext/1000-4 8565 13190 ns/op 606.53 MB/s BenchmarkMulAddVWW/1-4 10285072 11.53 ns/op 5550.49 MB/s BenchmarkMulAddVWW/2-4 9784594 12.47 ns/op 10266.10 MB/s BenchmarkMulAddVWW/3-4 10296675 11.53 ns/op 16655.22 MB/s BenchmarkMulAddVWW/4-4 9394126 12.47 ns/op 20529.66 MB/s BenchmarkMulAddVWW/5-4 8221161 14.63 ns/op 21869.66 MB/s BenchmarkMulAddVWW/10-4 6612554 18.20 ns/op 35170.88 MB/s BenchmarkMulAddVWW/100-4 1240186 96.52 ns/op 66307.49 MB/s BenchmarkMulAddVWW/1000-4 131314 909.0 ns/op 70403.39 MB/s BenchmarkAddMulVVW/1-4 11047312 10.72 ns/op 5972.49 MB/s BenchmarkAddMulVVW/2-4 10102758 11.80 ns/op 10844.68 MB/s BenchmarkAddMulVVW/3-4 9350444 12.83 ns/op 14967.96 MB/s BenchmarkAddMulVVW/4-4 8762812 13.48 ns/op 18996.72 MB/s BenchmarkAddMulVVW/5-4 8461832 14.18 ns/op 22564.96 MB/s BenchmarkAddMulVVW/10-4 7016104 17.10 ns/op 37432.52 MB/s BenchmarkAddMulVVW/100-4 1415164 85.00 ns/op 75293.56 MB/s BenchmarkAddMulVVW/1000-4 152828 783.9 ns/op 81638.80 MB/s BenchmarkDivWVW/1-4 3128409 37.93 ns/op 1687.52 MB/s BenchmarkDivWVW/2-4 1329885 90.60 ns/op 1412.83 MB/s BenchmarkDivWVW/3-4 981328 116.6 ns/op 1646.53 MB/s BenchmarkDivWVW/4-4 863301 136.6 ns/op 1874.00 MB/s BenchmarkDivWVW/5-4 785359 144.0 ns/op 2221.78 MB/s BenchmarkDivWVW/10-4 436354 273.1 ns/op 2343.43 MB/s BenchmarkDivWVW/100-4 55990 2123 ns/op 3014.75 MB/s BenchmarkDivWVW/1000-4 5721 20658 ns/op 3098.06 MB/s BenchmarkNonZeroShifts/1/shrVU-4 12250584 9.817 ns/op BenchmarkNonZeroShifts/1/shlVU-4 12615104 9.531 ns/op BenchmarkNonZeroShifts/2/shrVU-4 11303514 10.62 ns/op BenchmarkNonZeroShifts/2/shlVU-4 10928431 10.67 ns/op BenchmarkNonZeroShifts/3/shrVU-4 10047294 11.77 ns/op BenchmarkNonZeroShifts/3/shlVU-4 10506235 11.39 ns/op BenchmarkNonZeroShifts/4/shrVU-4 9466887 12.68 ns/op BenchmarkNonZeroShifts/4/shlVU-4 9876604 12.20 ns/op BenchmarkNonZeroShifts/5/shrVU-4 8879895 13.52 ns/op BenchmarkNonZeroShifts/5/shlVU-4 9060271 13.30 ns/op BenchmarkNonZeroShifts/10/shrVU-4 6854875 17.46 ns/op BenchmarkNonZeroShifts/10/shlVU-4 6693068 17.77 ns/op BenchmarkNonZeroShifts/100/shrVU-4 1000000 103.7 ns/op BenchmarkNonZeroShifts/100/shlVU-4 1335361 90.86 ns/op BenchmarkNonZeroShifts/1000/shrVU-4 128755 926.2 ns/op BenchmarkNonZeroShifts/1000/shlVU-4 158083 753.7 ns/op BenchmarkDecimalConversion-4 208 538461 ns/op BenchmarkFloatString/100-4 10000 10413 ns/op 392 B/op 8 allocs/op BenchmarkFloatString/1000-4 234 510237 ns/op 2905 B/op 9 allocs/op BenchmarkFloatString/10000-4 3 47915185 ns/op 60778 B/op 50 allocs/op BenchmarkFloatString/100000-4 1 4711757422 ns/op 836976 B/op 516 allocs/op BenchmarkFloatAdd/10-4 161631 678.5 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100-4 172506 693.8 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/1000-4 155210 759.5 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/10000-4 89044 1351 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100000-4 17422 6841 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10-4 226010 517.1 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100-4 226948 519.8 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/1000-4 218760 534.2 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10000-4 162484 743.2 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100000-4 45106 2645 ns/op 0 B/op 0 allocs/op BenchmarkParseFloatSmallExp-4 1922 62157 ns/op BenchmarkParseFloatLargeExp-4 423 262048 ns/op BenchmarkGCD10x10/WithoutXY-4 203535 584.7 ns/op BenchmarkGCD10x10/WithXY-4 59954 1989 ns/op BenchmarkGCD10x100/WithoutXY-4 93094 1214 ns/op BenchmarkGCD10x100/WithXY-4 17271 7041 ns/op BenchmarkGCD10x1000/WithoutXY-4 61780 1771 ns/op BenchmarkGCD10x1000/WithXY-4 14166 8530 ns/op BenchmarkGCD100x100/WithoutXY-4 24530 4507 ns/op BenchmarkGCD100x100/WithXY-4 9392 11299 ns/op BenchmarkGCD100x1000/WithoutXY-4 12094 9572 ns/op BenchmarkGCD100x1000/WithXY-4 5468 19347 ns/op BenchmarkGCD1000x1000/WithoutXY-4 2191 54644 ns/op BenchmarkGCD1000x1000/WithXY-4 1222 96555 ns/op BenchmarkHilbert-4 21 5242589 ns/op BenchmarkBinomial-4 14710 8056 ns/op BenchmarkQuoRem-4 20884 5997 ns/op BenchmarkExp-4 14 7576742 ns/op BenchmarkExpMont/Odd-4 126 942630 ns/op 2602 B/op 22 allocs/op BenchmarkExpMont/Even1-4 124 958342 ns/op 3364 B/op 38 allocs/op BenchmarkExpMont/Even2-4 120 988974 ns/op 3871 B/op 54 allocs/op BenchmarkExpMont/Even3-4 122 974503 ns/op 3849 B/op 53 allocs/op BenchmarkExpMont/Even4-4 122 971537 ns/op 3850 B/op 53 allocs/op BenchmarkExpMont/Even8-4 122 983938 ns/op 3866 B/op 53 allocs/op BenchmarkExpMont/Even32-4 121 990237 ns/op 3819 B/op 52 allocs/op BenchmarkExpMont/Even64-4 148 811480 ns/op 3646 B/op 54 allocs/op BenchmarkExpMont/Even96-4 144 831516 ns/op 3786 B/op 51 allocs/op BenchmarkExpMont/Even128-4 154 781341 ns/op 3245 B/op 50 allocs/op BenchmarkExpMont/Even255-4 186 646442 ns/op 2934 B/op 47 allocs/op BenchmarkExpMont/SmallEven1-4 456 260468 ns/op 1312 B/op 34 allocs/op BenchmarkExpMont/SmallEven2-4 403 290632 ns/op 1726 B/op 46 allocs/op BenchmarkExpMont/SmallEven3-4 400 292223 ns/op 1741 B/op 47 allocs/op BenchmarkExpMont/SmallEven4-4 399 290573 ns/op 1764 B/op 48 allocs/op BenchmarkExp2-4 14 7596709 ns/op BenchmarkBitset-4 775916 141.4 ns/op BenchmarkBitsetNeg-4 442706 258.0 ns/op BenchmarkBitsetOrig-4 228079 486.5 ns/op BenchmarkBitsetNegOrig-4 138810 784.8 ns/op BenchmarkModSqrt225_Tonelli-4 100 1068562 ns/op BenchmarkModSqrt225_3Mod4-4 364 328087 ns/op BenchmarkModSqrt231_Tonelli-4 99 1108306 ns/op BenchmarkModSqrt231_5Mod8-4 309 378267 ns/op BenchmarkModInverse-4 12123 9658 ns/op BenchmarkSqrt-4 1555 72079 ns/op BenchmarkIntSqr/1-4 1356020 87.38 ns/op BenchmarkIntSqr/2-4 745207 158.6 ns/op BenchmarkIntSqr/3-4 620092 190.3 ns/op BenchmarkIntSqr/5-4 437864 272.2 ns/op BenchmarkIntSqr/8-4 303414 394.3 ns/op BenchmarkIntSqr/10-4 240182 497.2 ns/op BenchmarkIntSqr/20-4 50628 2462 ns/op BenchmarkIntSqr/30-4 36982 3393 ns/op BenchmarkIntSqr/50-4 22219 5218 ns/op BenchmarkIntSqr/80-4 13568 8774 ns/op BenchmarkIntSqr/100-4 8920 11683 ns/op BenchmarkIntSqr/200-4 3549 31983 ns/op BenchmarkIntSqr/300-4 1569 69547 ns/op BenchmarkIntSqr/500-4 813 154593 ns/op BenchmarkIntSqr/800-4 308 381725 ns/op BenchmarkIntSqr/1000-4 228 511495 ns/op BenchmarkDiv/20/10-4 425922 273.8 ns/op BenchmarkDiv/40/20-4 419406 274.5 ns/op BenchmarkDiv/100/50-4 374805 318.7 ns/op BenchmarkDiv/200/100-4 49124 2448 ns/op BenchmarkDiv/400/200-4 48372 2571 ns/op BenchmarkDiv/1000/500-4 38850 3167 ns/op BenchmarkDiv/2000/1000-4 28634 4234 ns/op BenchmarkDiv/20000/10000-4 1023 110040 ns/op BenchmarkDiv/200000/100000-4 27 4547126 ns/op BenchmarkDiv/2000000/1000000-4 1 129614719 ns/op BenchmarkDiv/20000000/10000000-4 1 3759668250 ns/op BenchmarkMul-4 4 25276888 ns/op BenchmarkNatMul/10-4 173575 668.0 ns/op BenchmarkNatMul/100-4 6078 20478 ns/op BenchmarkNatMul/1000-4 164 702112 ns/op BenchmarkZeroShifts/Shl-4 22154 5350 ns/op BenchmarkZeroShifts/ShlSame-4 5470576 21.72 ns/op BenchmarkZeroShifts/Shr-4 20503 5755 ns/op BenchmarkZeroShifts/ShrSame-4 5501656 21.47 ns/op BenchmarkExp3Power/0x10-4 171187 637.1 ns/op BenchmarkExp3Power/0x40-4 172048 735.6 ns/op BenchmarkExp3Power/0x100-4 96494 1211 ns/op BenchmarkExp3Power/0x400-4 41374 2650 ns/op BenchmarkExp3Power/0x1000-4 10000 11872 ns/op BenchmarkExp3Power/0x4000-4 1668 62733 ns/op BenchmarkExp3Power/0x10000-4 208 554583 ns/op BenchmarkExp3Power/0x40000-4 19 6467913 ns/op BenchmarkExp3Power/0x100000-4 2 59245478 ns/op BenchmarkExp3Power/0x400000-4 1 533762557 ns/op BenchmarkFibo-4 3 39641981 ns/op BenchmarkNatSqr/1-4 981525 126.3 ns/op BenchmarkNatSqr/2-4 549619 225.7 ns/op BenchmarkNatSqr/3-4 429159 273.8 ns/op BenchmarkNatSqr/5-4 346525 381.8 ns/op BenchmarkNatSqr/8-4 196543 563.9 ns/op BenchmarkNatSqr/10-4 169862 674.8 ns/op BenchmarkNatSqr/20-4 42100 2618 ns/op BenchmarkNatSqr/30-4 33001 3339 ns/op BenchmarkNatSqr/50-4 20486 5636 ns/op BenchmarkNatSqr/80-4 12205 10154 ns/op BenchmarkNatSqr/100-4 9748 12838 ns/op BenchmarkNatSqr/200-4 3596 33955 ns/op BenchmarkNatSqr/300-4 1470 76409 ns/op BenchmarkNatSqr/500-4 716 158490 ns/op BenchmarkNatSqr/800-4 315 369504 ns/op BenchmarkNatSqr/1000-4 232 493385 ns/op BenchmarkNatSetBytes/8-4 762019 145.0 ns/op BenchmarkNatSetBytes/24-4 219674 511.8 ns/op BenchmarkNatSetBytes/128-4 53865 2166 ns/op BenchmarkNatSetBytes/7-4 851788 132.2 ns/op BenchmarkNatSetBytes/23-4 216200 491.8 ns/op BenchmarkNatSetBytes/127-4 53736 2141 ns/op BenchmarkScanPi-4 249 461555 ns/op BenchmarkStringPiParallel-4 738 187647 ns/op BenchmarkScan/10/Base2-4 41223 2820 ns/op BenchmarkScan/100/Base2-4 4828 24371 ns/op BenchmarkScan/1000/Base2-4 500 237721 ns/op BenchmarkScan/10/Base8-4 103064 1163 ns/op BenchmarkScan/100/Base8-4 12536 8579 ns/op BenchmarkScan/1000/Base8-4 1356 83663 ns/op BenchmarkScan/10/Base10-4 107816 1100 ns/op BenchmarkScan/100/Base10-4 14688 7920 ns/op BenchmarkScan/1000/Base10-4 1525 76149 ns/op BenchmarkScan/10/Base16-4 119343 981.5 ns/op BenchmarkScan/100/Base16-4 17203 6893 ns/op BenchmarkScan/1000/Base16-4 1611 66607 ns/op BenchmarkString/10/Base2-4 163556 687.6 ns/op BenchmarkString/100/Base2-4 23584 4759 ns/op BenchmarkString/1000/Base2-4 2530 47653 ns/op BenchmarkString/10/Base8-4 326922 343.2 ns/op BenchmarkString/100/Base8-4 63937 1828 ns/op BenchmarkString/1000/Base8-4 6658 16849 ns/op BenchmarkString/10/Base10-4 217542 549.8 ns/op BenchmarkString/100/Base10-4 38373 3017 ns/op BenchmarkString/1000/Base10-4 4993 24615 ns/op BenchmarkString/10/Base16-4 374534 317.3 ns/op BenchmarkString/100/Base16-4 80287 1419 ns/op BenchmarkString/1000/Base16-4 9828 12191 ns/op BenchmarkLeafSize/0-4 44 2711569 ns/op BenchmarkLeafSize/1-4 387 279693 ns/op BenchmarkLeafSize/2-4 408 276840 ns/op BenchmarkLeafSize/3-4 295 393336 ns/op BenchmarkLeafSize/4-4 393 275310 ns/op BenchmarkLeafSize/5-4 265 426189 ns/op BenchmarkLeafSize/6-4 304 376694 ns/op BenchmarkLeafSize/7-4 322 351047 ns/op BenchmarkLeafSize/8-4 408 268098 ns/op BenchmarkLeafSize/9-4 224 504448 ns/op BenchmarkLeafSize/10-4 267 428717 ns/op BenchmarkLeafSize/11-4 274 412316 ns/op BenchmarkLeafSize/12-4 306 376865 ns/op BenchmarkLeafSize/13-4 288 401762 ns/op BenchmarkLeafSize/14-4 320 352966 ns/op BenchmarkLeafSize/15-4 339 328611 ns/op BenchmarkLeafSize/16-4 400 275280 ns/op BenchmarkLeafSize/32-4 409 275865 ns/op BenchmarkLeafSize/64-4 373 295431 ns/op BenchmarkProbablyPrime/n=0-4 9 11668015 ns/op BenchmarkProbablyPrime/n=1-4 8 13204688 ns/op BenchmarkProbablyPrime/n=5-4 6 19735920 ns/op BenchmarkProbablyPrime/n=10-4 4 26709484 ns/op BenchmarkProbablyPrime/n=20-4 3 42369393 ns/op BenchmarkProbablyPrime/Lucas-4 10 10278545 ns/op BenchmarkProbablyPrime/MillerRabinBase2-4 76 1537463 ns/op BenchmarkRatCmp-4 209157 528.4 ns/op BenchmarkFloatSqrt/64-4 22018 5308 ns/op 208 B/op 5 allocs/op BenchmarkFloatSqrt/128-4 14060 8373 ns/op 256 B/op 5 allocs/op BenchmarkFloatSqrt/256-4 8442 12052 ns/op 352 B/op 5 allocs/op BenchmarkFloatSqrt/1000-4 4802 24179 ns/op 1312 B/op 6 allocs/op BenchmarkFloatSqrt/10000-4 810 142364 ns/op 18183 B/op 10 allocs/op BenchmarkFloatSqrt/100000-4 60 1875515 ns/op 176640 B/op 21 allocs/op BenchmarkFloatSqrt/1000000-4 1 152861375 ns/op 3820832 B/op 650 allocs/op PASS ok math/big 50.611s goos: linux goarch: amd64 pkg: math/bits cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLeadingZeros-4 7773703 15.49 ns/op BenchmarkLeadingZeros8-4 7541941 15.86 ns/op BenchmarkLeadingZeros16-4 8903737 13.46 ns/op BenchmarkLeadingZeros32-4 8166214 14.15 ns/op BenchmarkLeadingZeros64-4 8858536 13.57 ns/op BenchmarkTrailingZeros-4 8329593 14.33 ns/op BenchmarkTrailingZeros8-4 8354748 14.53 ns/op BenchmarkTrailingZeros16-4 8487998 14.19 ns/op BenchmarkTrailingZeros32-4 8304645 14.48 ns/op BenchmarkTrailingZeros64-4 7994578 14.73 ns/op BenchmarkOnesCount-4 8499460 13.87 ns/op BenchmarkOnesCount8-4 8697388 13.67 ns/op BenchmarkOnesCount16-4 8316075 14.50 ns/op BenchmarkOnesCount32-4 8251765 14.51 ns/op BenchmarkOnesCount64-4 8497174 14.04 ns/op BenchmarkRotateLeft-4 9016855 13.33 ns/op BenchmarkRotateLeft8-4 8855185 13.32 ns/op BenchmarkRotateLeft16-4 8938952 13.25 ns/op BenchmarkRotateLeft32-4 8684965 13.72 ns/op BenchmarkRotateLeft64-4 9124246 13.12 ns/op BenchmarkReverse-4 13022402 8.407 ns/op BenchmarkReverse8-4 16898816 6.175 ns/op BenchmarkReverse16-4 16461871 6.586 ns/op BenchmarkReverse32-4 14242252 7.655 ns/op BenchmarkReverse64-4 13662231 8.025 ns/op BenchmarkReverseBytes-4 16587687 6.870 ns/op BenchmarkReverseBytes16-4 16613397 6.796 ns/op BenchmarkReverseBytes32-4 16825413 6.198 ns/op BenchmarkReverseBytes64-4 16751601 6.727 ns/op BenchmarkAdd-4 8788796 13.82 ns/op BenchmarkAdd32-4 8677875 13.71 ns/op BenchmarkAdd64-4 8661020 13.80 ns/op BenchmarkAdd64multiple-4 17066479 6.916 ns/op BenchmarkSub-4 8487946 14.28 ns/op BenchmarkSub32-4 7164920 14.34 ns/op BenchmarkSub64-4 8554260 13.63 ns/op BenchmarkSub64multiple-4 16764507 6.972 ns/op BenchmarkMul-4 8980162 13.22 ns/op BenchmarkMul32-4 9056618 13.24 ns/op BenchmarkMul64-4 9107630 13.19 ns/op BenchmarkDiv-4 2770110 43.32 ns/op BenchmarkDiv32-4 5602166 21.33 ns/op BenchmarkDiv64-4 2786708 42.98 ns/op PASS ok math/bits 6.783s goos: linux goarch: amd64 pkg: math/cmplx cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAbs-4 10352888 11.60 ns/op BenchmarkAcos-4 520227 230.2 ns/op BenchmarkAcosh-4 459356 247.7 ns/op BenchmarkAsin-4 512170 229.8 ns/op BenchmarkAsinh-4 517675 229.4 ns/op BenchmarkAtan-4 872168 138.8 ns/op BenchmarkAtanh-4 856657 138.1 ns/op BenchmarkConj-4 18285162 6.571 ns/op BenchmarkCos-4 532743 195.8 ns/op BenchmarkCosh-4 601048 199.7 ns/op BenchmarkExp-4 796513 147.9 ns/op BenchmarkLog-4 1000000 115.3 ns/op BenchmarkLog10-4 1000000 115.5 ns/op BenchmarkPhase-4 2077227 57.74 ns/op BenchmarkPolar-4 1484503 79.23 ns/op BenchmarkPow-4 241146 489.3 ns/op BenchmarkRect-4 1000000 117.3 ns/op BenchmarkSin-4 587871 202.3 ns/op BenchmarkSinh-4 562434 201.5 ns/op BenchmarkSqrt-4 1000000 111.2 ns/op BenchmarkTan-4 376652 315.1 ns/op BenchmarkTanh-4 410823 288.1 ns/op PASS ok math/cmplx 3.940s goos: linux goarch: amd64 pkg: math/rand cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkInt63Threadsafe-4 759938 158.2 ns/op BenchmarkInt63ThreadsafeParallel-4 574620 192.1 ns/op BenchmarkInt63Unthreadsafe-4 1239710 97.93 ns/op BenchmarkIntn1000-4 803754 129.8 ns/op BenchmarkInt63n1000-4 930702 124.5 ns/op BenchmarkInt31n1000-4 1000000 113.7 ns/op BenchmarkFloat32-4 991016 113.6 ns/op BenchmarkFloat64-4 1209084 98.23 ns/op BenchmarkPerm3-4 202506 616.9 ns/op BenchmarkPerm30-4 24300 4803 ns/op BenchmarkPerm30ViaShuffle-4 26480 4545 ns/op BenchmarkShuffleOverhead-4 18660 6428 ns/op BenchmarkRead3-4 892100 128.4 ns/op BenchmarkRead64-4 78054 1538 ns/op BenchmarkRead1000-4 5246 22904 ns/op BenchmarkConcurrent-4 202233 645.2 ns/op PASS ok math/rand 3.448s goos: linux goarch: amd64 pkg: mime cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkQEncodeWord-4 43632 2738 ns/op BenchmarkQDecodeWord-4 99651 1154 ns/op BenchmarkQDecodeHeader-4 99586 1220 ns/op BenchmarkTypeByExtension/.html-4 345343 312.2 ns/op BenchmarkTypeByExtension/.HTML-4 296119 352.9 ns/op BenchmarkTypeByExtension/.unused-4 347352 342.8 ns/op BenchmarkExtensionsByType/text/html-4 154406 804.8 ns/op BenchmarkExtensionsByType/text/html;_charset=utf-8-4 81142 1481 ns/op BenchmarkExtensionsByType/application/octet-stream-4 112338 1091 ns/op PASS ok mime 2.419s goos: linux goarch: amd64 pkg: mime/multipart cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadForm/fields/maxMemory=0-4 678 173862 ns/op 48331 B/op 187 allocs/op BenchmarkReadForm/fields/maxMemory=1048576-4 594 177120 ns/op 48472 B/op 187 allocs/op BenchmarkReadForm/files/maxMemory=0-4 235 484000 ns/op 104468 B/op 271 allocs/op BenchmarkReadForm/files/maxMemory=1048576-4 506 225442 ns/op 50022 B/op 207 allocs/op PASS ok mime/multipart 1.704s goos: linux goarch: amd64 pkg: mime/quotedprintable cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkWriter-4 938 122639 ns/op PASS ok mime/quotedprintable 1.148s goos: linux goarch: amd64 pkg: net cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkGoLookupIP-4 51 3369391 ns/op 8603 B/op 91 allocs/op BenchmarkGoLookupIPNoSuchHost-4 14 7282442 ns/op 19521 B/op 160 allocs/op BenchmarkGoLookupIPWithBrokenNameServer-4 1 5003455785 ns/op 158736 B/op 230 allocs/op BenchmarkDNSName-4 119506 958.0 ns/op BenchmarkInterfaces-4 760 156148 ns/op 16807 B/op 42 allocs/op BenchmarkInterfaceByIndex-4 942 121926 ns/op 12370 B/op 25 allocs/op BenchmarkInterfaceByName-4 769 144484 ns/op 16982 B/op 43 allocs/op BenchmarkInterfaceAddrs-4 529 213782 ns/op 22778 B/op 103 allocs/op BenchmarkInterfacesAndAddrs-4 1858 62981 ns/op 3912 B/op 33 allocs/op BenchmarkInterfacesAndMulticastAddrs-4 402 266966 ns/op 137587 B/op 51 allocs/op BenchmarkParseIP-4 5478 18408 ns/op BenchmarkParseIPValidIPv4-4 334656 312.0 ns/op BenchmarkParseIPValidIPv6-4 179562 654.1 ns/op BenchmarkIPString/IPv4-4 113492 1070 ns/op 32 B/op 2 allocs/op BenchmarkIPString/IPv6-4 10130 11547 ns/op 216 B/op 11 allocs/op BenchmarkIPMaskString-4 43935 2560 ns/op BenchmarkIPEqual/IPv4-4 1185880 103.7 ns/op BenchmarkIPEqual/IPv6-4 1181240 100.9 ns/op BenchmarkSendFile/1024-4 1 1214559125 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/2048-4 1 1214262075 ns/op 0.00 MB/s 712 B/op 13 allocs/op BenchmarkSendFile/4096-4 1 1214171954 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/8192-4 1 1206236177 ns/op 0.01 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/16384-4 1 1206268619 ns/op 0.01 MB/s 616 B/op 12 allocs/op BenchmarkSendFile/32768-4 1 1020737873 ns/op 0.03 MB/s 616 B/op 12 allocs/op BenchmarkSendFile/65536-4 1 1021149232 ns/op 0.06 MB/s 616 B/op 12 allocs/op BenchmarkSendFile/131072-4 1 1021732365 ns/op 0.13 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/262144-4 1 1022195445 ns/op 0.26 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/524288-4 1 1022821625 ns/op 0.51 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/1048576-4 1 1026250776 ns/op 1.02 MB/s 616 B/op 12 allocs/op BenchmarkSplice/tcp-to-tcp/1024-4 1 1021160795 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/2048-4 1 1020392184 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/4096-4 1 1021861236 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/8192-4 1 1020985027 ns/op 0.01 MB/s BenchmarkSplice/tcp-to-tcp/16384-4 1 1021104879 ns/op 0.02 MB/s BenchmarkSplice/tcp-to-tcp/32768-4 1 1021468302 ns/op 0.03 MB/s BenchmarkSplice/tcp-to-tcp/65536-4 1 1021099155 ns/op 0.06 MB/s BenchmarkSplice/tcp-to-tcp/131072-4 1 1021623529 ns/op 0.13 MB/s BenchmarkSplice/tcp-to-tcp/262144-4 1 1021514852 ns/op 0.26 MB/s BenchmarkSplice/tcp-to-tcp/524288-4 1 1023268826 ns/op 0.51 MB/s BenchmarkSplice/tcp-to-tcp/1048576-4 1 1025488030 ns/op 1.02 MB/s BenchmarkSplice/unix-to-tcp/1024-4 1 1021154987 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/2048-4 1 1020334583 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/4096-4 1 1020944406 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/8192-4 1 1020689983 ns/op 0.01 MB/s BenchmarkSplice/unix-to-tcp/16384-4 1 1020560682 ns/op 0.02 MB/s BenchmarkSplice/unix-to-tcp/32768-4 1 1021280581 ns/op 0.03 MB/s BenchmarkSplice/unix-to-tcp/65536-4 1 1020816360 ns/op 0.06 MB/s BenchmarkSplice/unix-to-tcp/131072-4 1 1021079597 ns/op 0.13 MB/s BenchmarkSplice/unix-to-tcp/262144-4 1 1021169205 ns/op 0.26 MB/s BenchmarkSplice/unix-to-tcp/524288-4 1 1022827580 ns/op 0.51 MB/s BenchmarkSplice/unix-to-tcp/1048576-4 1 1025476400 ns/op 1.02 MB/s BenchmarkSpliceFile/tcp-to-file/1024-4 1 1020568155 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/2048-4 1 1020198435 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/4096-4 1 1020930795 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/8192-4 1 1020831648 ns/op 0.01 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/16384-4 1 1020403091 ns/op 0.02 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/32768-4 1 1020721913 ns/op 0.03 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/65536-4 1 1020744546 ns/op 0.06 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/131072-4 1 1021461850 ns/op 0.13 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/tcp-to-file/262144-4 1 1022295599 ns/op 0.26 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/524288-4 1 1023734151 ns/op 0.51 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/1048576-4 1 1025808886 ns/op 1.02 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/1024-4 1 1020841279 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/2048-4 1 1020537694 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/4096-4 1 1020492410 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/8192-4 1 1020331957 ns/op 0.01 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/16384-4 1 1020861529 ns/op 0.02 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/32768-4 1 1020440726 ns/op 0.03 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/65536-4 1 1020747700 ns/op 0.06 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/131072-4 1 1020999300 ns/op 0.13 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/262144-4 1 1022431009 ns/op 0.26 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/524288-4 1 1023363391 ns/op 0.51 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/1048576-4 1 1025176751 ns/op 1.02 MB/s 896 B/op 8 allocs/op BenchmarkTCP4OneShot-4 1274 84395 ns/op BenchmarkTCP4OneShotTimeout-4 1399 80219 ns/op BenchmarkTCP4Persistent-4 9219 14255 ns/op BenchmarkTCP4PersistentTimeout-4 8769 14446 ns/op BenchmarkTCP6OneShot-4 1503 80398 ns/op BenchmarkTCP6OneShotTimeout-4 1629 81581 ns/op BenchmarkTCP6Persistent-4 8269 14743 ns/op BenchmarkTCP6PersistentTimeout-4 9175 14284 ns/op BenchmarkTCP4ConcurrentReadWrite-4 20077 7270 ns/op BenchmarkTCP6ConcurrentReadWrite-4 18110 7778 ns/op BenchmarkSetReadDeadline-4 123072 929.5 ns/op BenchmarkReadWriteMsgUDPAddrPort-4 5635 20038 ns/op 0 B/op 0 allocs/op BenchmarkWriteToReadFromUDP-4 3438 30483 ns/op 16 B/op 1 allocs/op BenchmarkWriteToReadFromUDPAddrPort-4 6334 18859 ns/op 0 B/op 0 allocs/op PASS ok net 69.061s goos: linux goarch: amd64 pkg: net/http cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCookieString-4 27586 4201 ns/op 176 B/op 1 allocs/op BenchmarkReadSetCookies-4 11036 10618 ns/op 1168 B/op 21 allocs/op BenchmarkReadCookies-4 12542 9402 ns/op 1840 B/op 11 allocs/op BenchmarkHeaderWriteSubset-4 18697 6452 ns/op 45 B/op 0 allocs/op BenchmarkCopyValues-4 31461 3632 ns/op 736 B/op 11 allocs/op BenchmarkHexEscapeNonASCII-4 50481 2316 ns/op 192 B/op 2 allocs/op BenchmarkServerMatch-4 906326 133.4 ns/op BenchmarkReadRequestChrome-4 3573 30475 ns/op 20.05 MB/s 1476 B/op 14 allocs/op BenchmarkReadRequestCurl-4 11065 10713 ns/op 7.28 MB/s 924 B/op 9 allocs/op BenchmarkReadRequestApachebench-4 10000 10943 ns/op 7.49 MB/s 923 B/op 9 allocs/op BenchmarkReadRequestSiege-4 7496 15793 ns/op 9.56 MB/s 1020 B/op 11 allocs/op BenchmarkReadRequestWrk-4 17724 6730 ns/op 5.94 MB/s 860 B/op 7 allocs/op BenchmarkFileAndServer_1KB/h1-4 278 438691 ns/op 2.33 MB/s BenchmarkFileAndServer_1KB/https1-4 177 574286 ns/op 1.78 MB/s BenchmarkFileAndServer_1KB/h2-4 134 920985 ns/op 1.11 MB/s BenchmarkFileAndServer_16MB/h1-4 2 62069823 ns/op 270.30 MB/s BenchmarkFileAndServer_16MB/https1-4 1 125950326 ns/op 133.21 MB/s BenchmarkFileAndServer_16MB/h2-4 1 210753172 ns/op 79.61 MB/s BenchmarkFileAndServer_64MB/h1-4 1 260804139 ns/op 257.32 MB/s BenchmarkFileAndServer_64MB/https1-4 1 481337972 ns/op 139.42 MB/s BenchmarkFileAndServer_64MB/h2-4 1 932143045 ns/op 71.99 MB/s BenchmarkServeMux-4 254 462878 ns/op 17280 B/op 360 allocs/op BenchmarkServeMux_SkipServe-4 354 357522 ns/op 0 B/op 0 allocs/op BenchmarkClientServer/h1-4 324 387980 ns/op 5839 B/op 64 allocs/op BenchmarkClientServer/https1-4 211 552518 ns/op 6575 B/op 75 allocs/op BenchmarkClientServer/h2-4 139 750354 ns/op 9994 B/op 84 allocs/op BenchmarkClientServerParallel/4/h1-4 868 136917 ns/op 10061 B/op 80 allocs/op BenchmarkClientServerParallel/4/https1-4 26 5020309 ns/op 101150 B/op 1102 allocs/op --- BENCH: BenchmarkClientServerParallel/4/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:53536: read tcp 127.0.0.1:36785->127.0.0.1:53536: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:53518: read tcp 127.0.0.1:36785->127.0.0.1:53518: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:53538: write tcp 127.0.0.1:36785->127.0.0.1:53538: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59354: read tcp 127.0.0.1:33607->127.0.0.1:59354: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59360: write tcp 127.0.0.1:33607->127.0.0.1:59360: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59370: write tcp 127.0.0.1:33607->127.0.0.1:59370: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41770: read tcp 127.0.0.1:35979->127.0.0.1:41770: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41746: read tcp 127.0.0.1:35979->127.0.0.1:41746: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41782: read tcp 127.0.0.1:35979->127.0.0.1:41782: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41798: write tcp 127.0.0.1:35979->127.0.0.1:41798: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/4/h2-4 129 837492 ns/op 21240 B/op 222 allocs/op --- BENCH: BenchmarkClientServerParallel/4/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49574: read tcp 127.0.0.1:32913->127.0.0.1:49574: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49552: write tcp 127.0.0.1:32913->127.0.0.1:49552: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49562: write tcp 127.0.0.1:32913->127.0.0.1:49562: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54212: write tcp 127.0.0.1:44191->127.0.0.1:54212: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54222: read tcp 127.0.0.1:44191->127.0.0.1:54222: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54230: read tcp 127.0.0.1:44191->127.0.0.1:54230: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54282: read tcp 127.0.0.1:44191->127.0.0.1:54282: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54264: read tcp 127.0.0.1:44191->127.0.0.1:54264: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54250: write tcp 127.0.0.1:44191->127.0.0.1:54250: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54202: write tcp 127.0.0.1:44191->127.0.0.1:54202: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h1-4 378 300961 ns/op 20255 B/op 117 allocs/op BenchmarkClientServerParallel/64/https1-4 39 5980935 ns/op 114135 B/op 1218 allocs/op --- BENCH: BenchmarkClientServerParallel/64/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:47822: write tcp 127.0.0.1:37465->127.0.0.1:47822: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:47808: write tcp 127.0.0.1:37465->127.0.0.1:47808: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:57180: read tcp 127.0.0.1:38725->127.0.0.1:57180: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:57196: read tcp 127.0.0.1:38725->127.0.0.1:57196: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:57142: read tcp 127.0.0.1:38725->127.0.0.1:57142: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:57260: read tcp 127.0.0.1:38725->127.0.0.1:57260: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:57236: read tcp 127.0.0.1:38725->127.0.0.1:57236: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:57244: read tcp 127.0.0.1:38725->127.0.0.1:57244: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:57246: read tcp 127.0.0.1:38725->127.0.0.1:57246: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:57276: read tcp 127.0.0.1:38725->127.0.0.1:57276: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h2-4 38 4234804 ns/op 91137 B/op 1049 allocs/op --- BENCH: BenchmarkClientServerParallel/64/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:38512: write tcp 127.0.0.1:43449->127.0.0.1:38512: 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:43449->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:47142: write tcp 127.0.0.1:45077->127.0.0.1:47142: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:47110: write tcp 127.0.0.1:45077->127.0.0.1:47110: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:47162: write tcp 127.0.0.1:45077->127.0.0.1:47162: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:47200: write tcp 127.0.0.1:45077->127.0.0.1:47200: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42952: write tcp 127.0.0.1:40167->127.0.0.1:42952: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42972: read tcp 127.0.0.1:40167->127.0.0.1:42972: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:43078: read tcp 127.0.0.1:40167->127.0.0.1:43078: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:43126: read tcp 127.0.0.1:40167->127.0.0.1:43126: use of closed network connection ... [output truncated] BenchmarkServer-4 1 1040498672 ns/op 28504 B/op 144 allocs/op BenchmarkClient-4 253 463895 ns/op 3729 B/op 45 allocs/op BenchmarkServerFakeConnNoKeepAlive-4 590 205159 ns/op 7555 B/op 54 allocs/op BenchmarkServerFakeConnWithKeepAlive-4 1050 115013 ns/op 3086 B/op 24 allocs/op BenchmarkServerFakeConnWithKeepAliveLite-4 1467 89717 ns/op 1880 B/op 14 allocs/op BenchmarkServerHandlerTypeLen-4 1429 92927 ns/op 2768 B/op 21 allocs/op BenchmarkServerHandlerNoLen-4 1328 86556 ns/op 2689 B/op 19 allocs/op BenchmarkServerHandlerNoType-4 1348 87148 ns/op 2707 B/op 20 allocs/op BenchmarkServerHandlerNoHeader-4 1419 78050 ns/op 1907 B/op 14 allocs/op BenchmarkServerHijack-4 834 141147 ns/op 16740 B/op 50 allocs/op BenchmarkCloseNotifier/h1-4 320 413531 ns/op 6009 B/op 52 allocs/op BenchmarkResponseStatusLine-4 481737 229.6 ns/op 0 B/op 0 allocs/op PASS ok net/http 15.889s goos: linux goarch: amd64 pkg: net/http/httputil cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkServeHTTP-4 3913 27286 ns/op 34074 B/op 12 allocs/op PASS ok net/http/httputil 1.195s goos: linux goarch: amd64 pkg: net/netip cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkIPNextPrev-4 84297 1375 ns/op BenchmarkBinaryMarshalRoundTrip/ipv4-4 588510 189.8 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6-4 193383 635.2 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6+zone-4 67738 1780 ns/op BenchmarkStdIPv4-4 119419 991.5 ns/op 16 B/op 1 allocs/op BenchmarkIPv4-4 83396 1423 ns/op 0 B/op 0 allocs/op BenchmarkIPv4_inline-4 87366 1358 ns/op 0 B/op 0 allocs/op BenchmarkStdIPv6-4 77128 1545 ns/op 16 B/op 1 allocs/op BenchmarkIPv6-4 67670 1775 ns/op 0 B/op 0 allocs/op BenchmarkIPv4Contains-4 1540094 77.16 ns/op 0 B/op 0 allocs/op BenchmarkIPv6Contains-4 1398582 85.60 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v4-4 1288062 93.11 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6-4 271150 438.0 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_ellipsis-4 302229 396.8 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_v4-4 271240 444.6 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_zone-4 83170 1419 ns/op 0 B/op 0 allocs/op BenchmarkStdParseIP/v4-4 275442 434.1 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6-4 141890 793.0 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_ellipsis-4 156364 758.1 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_v4-4 137756 818.5 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_zone-4 78967 1547 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v4-4 349011 333.8 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v6-4 120669 987.1 ns/op 48 B/op 1 allocs/op BenchmarkIPString/v6_ellipsis-4 163069 733.8 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_v4-4 256543 486.0 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_zone-4 151674 792.8 ns/op 24 B/op 1 allocs/op BenchmarkIPStringExpanded/v4-4 313515 395.5 ns/op 16 B/op 1 allocs/op BenchmarkIPStringExpanded/v6-4 140708 802.9 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_ellipsis-4 145542 794.9 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_v4-4 150789 802.4 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_zone-4 107431 1039 ns/op 128 B/op 2 allocs/op BenchmarkIPMarshalText-4 405895 258.3 ns/op 16 B/op 1 allocs/op BenchmarkAddrPortString/v4-4 165490 749.6 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortString/v6-4 89581 1300 ns/op 112 B/op 3 allocs/op BenchmarkAddrPortString/v6_ellipsis-4 116046 1049 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_v4-4 150526 785.3 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_zone-4 106897 1141 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortMarshalText/v4-4 251846 451.7 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6-4 116457 1005 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_ellipsis-4 134966 864.7 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_v4-4 183993 636.7 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_zone-4 130215 901.3 ns/op 64 B/op 1 allocs/op BenchmarkPrefixMasking/IPv4_/32-4 1000000 111.0 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/17-4 1000000 115.4 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/0-4 986466 114.6 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/128-4 919856 119.3 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/65-4 972813 119.1 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/0-4 998106 119.2 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/128-4 949198 119.6 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/65-4 991738 120.1 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/0-4 955803 119.1 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMarshalText-4 343444 347.6 ns/op 24 B/op 1 allocs/op BenchmarkParseAddrPort/v4-4 589288 201.5 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6-4 212920 564.4 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_ellipsis-4 227019 519.1 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_v4-4 207800 570.5 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_zone-4 77658 1540 ns/op 0 B/op 0 allocs/op BenchmarkAs16-4 513915 228.0 ns/op PASS ok net/netip 9.028s 2023/05/25 18:18:02 Test RPC server listening on 127.0.0.1:41007 2023/05/25 18:18:02 Test HTTP RPC server listening on 127.0.0.1:40075 goos: linux goarch: amd64 pkg: net/rpc cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEndToEnd-4 1290 92418 ns/op BenchmarkEndToEndHTTP-4 1351 75061 ns/op BenchmarkEndToEndAsync-4 3264 38732 ns/op BenchmarkEndToEndAsyncHTTP-4 3183 39301 ns/op PASS ok net/rpc 1.707s goos: linux goarch: amd64 pkg: net/textproto cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadMIMEHeader/client_headers-4 2958 35584 ns/op BenchmarkReadMIMEHeader/server_headers-4 5250 22357 ns/op BenchmarkUncommon-4 24902 4607 ns/op 464 B/op 5 allocs/op PASS ok net/textproto 1.516s goos: linux goarch: amd64 pkg: net/url cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkString-4 3938 25685 ns/op 1616 B/op 60 allocs/op BenchmarkResolvePath-4 97075 1163 ns/op 32 B/op 2 allocs/op BenchmarkQueryEscape/#00-4 552522 202.5 ns/op 16 B/op 1 allocs/op BenchmarkQueryEscape/#01-4 93937 1266 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#02-4 179656 677.8 ns/op 32 B/op 1 allocs/op BenchmarkQueryEscape/#03-4 84258 1413 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#04-4 14293 8161 ns/op 832 B/op 2 allocs/op BenchmarkPathEscape/#00-4 366432 316.5 ns/op 16 B/op 1 allocs/op BenchmarkPathEscape/#01-4 90276 1500 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#02-4 174432 689.0 ns/op 32 B/op 1 allocs/op BenchmarkPathEscape/#03-4 84967 1412 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#04-4 15614 7343 ns/op 704 B/op 2 allocs/op BenchmarkQueryUnescape/#00-4 195129 602.9 ns/op 16 B/op 1 allocs/op BenchmarkQueryUnescape/#01-4 77413 1513 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#02-4 77574 1542 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#03-4 34664 3425 ns/op 64 B/op 1 allocs/op BenchmarkQueryUnescape/#04-4 6128 18968 ns/op 320 B/op 1 allocs/op BenchmarkPathUnescape/#00-4 195919 604.2 ns/op 16 B/op 1 allocs/op BenchmarkPathUnescape/#01-4 77137 1531 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#02-4 77162 1545 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#03-4 34857 3413 ns/op 64 B/op 1 allocs/op BenchmarkPathUnescape/#04-4 5852 18621 ns/op 320 B/op 1 allocs/op PASS ok net/url 4.133s goos: linux goarch: amd64 pkg: os cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExpand/noop-4 3146258 36.94 ns/op 0 B/op 0 allocs/op BenchmarkExpand/multiple-4 166406 713.1 ns/op 48 B/op 2 allocs/op BenchmarkReaddirname-4 624 188277 ns/op --- BENCH: BenchmarkReaddirname-4 os_test.go:512: benchmarkReaddirname ".": 130 entries os_test.go:512: benchmarkReaddirname ".": 130 entries os_test.go:512: benchmarkReaddirname ".": 130 entries BenchmarkReaddir-4 164 701002 ns/op --- BENCH: BenchmarkReaddir-4 os_test.go:529: benchmarkReaddir ".": 130 entries os_test.go:529: benchmarkReaddir ".": 130 entries os_test.go:529: benchmarkReaddir ".": 130 entries BenchmarkReadDir-4 530 220748 ns/op --- BENCH: BenchmarkReadDir-4 os_test.go:546: benchmarkReadDir ".": 130 entries os_test.go:546: benchmarkReadDir ".": 130 entries os_test.go:546: benchmarkReadDir ".": 130 entries BenchmarkStatDot-4 34364 3399 ns/op BenchmarkStatFile-4 25506 4621 ns/op BenchmarkStatDir-4 27306 4273 ns/op BenchmarkLstatDot-4 35388 3346 ns/op BenchmarkLstatFile-4 25563 4551 ns/op BenchmarkLstatDir-4 27424 4301 ns/op PASS ok os 2.769s goos: linux goarch: amd64 pkg: os/exec cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExecHostname-4 142 835576 ns/op 6774 B/op 30 allocs/op PASS ok os/exec 1.229s goos: linux goarch: amd64 pkg: os/user cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCurrent-4 389546 299.6 ns/op PASS ok os/user 1.228s goos: linux goarch: amd64 pkg: reflect cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkBool-4 3760550 31.49 ns/op BenchmarkString-4 2301072 51.86 ns/op BenchmarkBytes-4 1939718 61.94 ns/op BenchmarkNamedBytes-4 1000000 112.7 ns/op BenchmarkBytesArray-4 723904 163.7 ns/op BenchmarkSliceLen-4 2100826 56.71 ns/op BenchmarkMapLen-4 915028 132.0 ns/op BenchmarkStringLen-4 1827828 64.69 ns/op BenchmarkArrayLen-4 1296298 92.64 ns/op BenchmarkSliceCap-4 2428614 49.90 ns/op BenchmarkDeepEqual/int8-4 450110 258.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int8-4 94564 1257 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int16-4 377122 315.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int16-4 92538 1301 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int32-4 380398 313.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int32-4 88218 1310 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int64-4 377415 313.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int64-4 89857 1304 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int-4 383277 311.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int-4 92041 1304 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint8-4 431240 266.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8-4 117638 980.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint16-4 370094 319.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint16-4 90414 1314 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint32-4 363638 323.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint32-4 87495 1319 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint64-4 366752 322.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint64-4 89402 1319 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint-4 360223 320.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint-4 90499 1346 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uintptr-4 360288 317.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uintptr-4 90422 1320 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float32-4 362073 316.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float32-4 90217 1328 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float64-4 356949 312.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float64-4 92480 1315 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex64-4 365462 315.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex64-4 91473 1302 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex128-4 385560 313.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex128-4 91192 1303 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/bool-4 457089 257.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]bool-4 95244 1249 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/string-4 383928 303.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]string-4 90085 1316 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8#01-4 125041 967.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][]uint8-4 59625 1978 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[6]uint8-4 45634 2601 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][6]uint8-4 32828 3598 ns/op 0 B/op 0 allocs/op BenchmarkIsZero/ArrayComparable-4 258751 466.5 ns/op BenchmarkIsZero/ArrayIncomparable-4 30504 3926 ns/op BenchmarkIsZero/StructComparable-4 545976 216.0 ns/op BenchmarkIsZero/StructIncomparable-4 137986 906.1 ns/op BenchmarkSetZero/Bool/Direct-4 4309306 27.78 ns/op BenchmarkSetZero/Bool/CachedZero-4 816536 142.2 ns/op BenchmarkSetZero/Bool/NewZero-4 616266 187.2 ns/op BenchmarkSetZero/Int/Direct-4 2565778 46.86 ns/op BenchmarkSetZero/Int/CachedZero-4 820579 141.5 ns/op BenchmarkSetZero/Int/NewZero-4 580226 186.2 ns/op BenchmarkSetZero/Uint/Direct-4 2540144 47.40 ns/op BenchmarkSetZero/Uint/CachedZero-4 810576 141.9 ns/op BenchmarkSetZero/Uint/NewZero-4 625749 186.6 ns/op BenchmarkSetZero/Float/Direct-4 2559844 47.49 ns/op BenchmarkSetZero/Float/CachedZero-4 775212 142.4 ns/op BenchmarkSetZero/Float/NewZero-4 627957 186.9 ns/op BenchmarkSetZero/Complex/Direct-4 2544153 47.27 ns/op BenchmarkSetZero/Complex/CachedZero-4 813639 141.7 ns/op BenchmarkSetZero/Complex/NewZero-4 634824 188.1 ns/op BenchmarkSetZero/Array/Direct-4 2219006 54.02 ns/op BenchmarkSetZero/Array/CachedZero-4 802504 142.0 ns/op BenchmarkSetZero/Array/NewZero-4 637148 189.0 ns/op BenchmarkSetZero/Chan/Direct-4 2582707 47.07 ns/op BenchmarkSetZero/Chan/CachedZero-4 829818 142.0 ns/op BenchmarkSetZero/Chan/NewZero-4 631755 182.0 ns/op BenchmarkSetZero/Func/Direct-4 2602662 46.10 ns/op BenchmarkSetZero/Func/CachedZero-4 849894 138.7 ns/op BenchmarkSetZero/Func/NewZero-4 638640 182.2 ns/op BenchmarkSetZero/Interface/Direct-4 2370261 50.25 ns/op BenchmarkSetZero/Interface/CachedZero-4 827515 141.9 ns/op BenchmarkSetZero/Interface/NewZero-4 626742 185.6 ns/op BenchmarkSetZero/Map/Direct-4 2616525 45.95 ns/op BenchmarkSetZero/Map/CachedZero-4 818128 139.4 ns/op BenchmarkSetZero/Map/NewZero-4 639057 182.7 ns/op BenchmarkSetZero/Pointer/Direct-4 2614558 45.99 ns/op BenchmarkSetZero/Pointer/CachedZero-4 838705 138.8 ns/op BenchmarkSetZero/Pointer/NewZero-4 640550 181.4 ns/op BenchmarkSetZero/Slice/Direct-4 2287513 51.68 ns/op BenchmarkSetZero/Slice/CachedZero-4 782842 141.5 ns/op BenchmarkSetZero/Slice/NewZero-4 617610 187.8 ns/op BenchmarkSetZero/String/Direct-4 2553508 46.60 ns/op BenchmarkSetZero/String/CachedZero-4 805429 142.8 ns/op BenchmarkSetZero/String/NewZero-4 633585 187.7 ns/op BenchmarkSetZero/Struct/Direct-4 2229514 53.86 ns/op BenchmarkSetZero/Struct/CachedZero-4 800314 145.1 ns/op BenchmarkSetZero/Struct/NewZero-4 619503 187.3 ns/op BenchmarkSelect/1-4 141255 785.7 ns/op 80 B/op 5 allocs/op BenchmarkSelect/4-4 62398 1822 ns/op 208 B/op 8 allocs/op BenchmarkSelect/8-4 32232 3494 ns/op 672 B/op 13 allocs/op BenchmarkCall-4 199761 571.0 ns/op 0 B/op 0 allocs/op BenchmarkCallMethod-4 164228 723.3 ns/op 0 B/op 0 allocs/op BenchmarkCallArgCopy/size=128-4 121264 1004 ns/op 127.52 MB/s BenchmarkCallArgCopy/size=256-4 104272 993.6 ns/op 257.64 MB/s BenchmarkCallArgCopy/size=1024-4 98860 1473 ns/op 695.18 MB/s BenchmarkCallArgCopy/size=4096-4 33626 3203 ns/op 1278.76 MB/s BenchmarkCallArgCopy/size=65536-4 2193 46108 ns/op 1421.35 MB/s BenchmarkFieldByName1-4 1174360 100.0 ns/op BenchmarkFieldByName2-4 78908 1470 ns/op BenchmarkFieldByName3-4 11636 10872 ns/op BenchmarkInterfaceBig-4 4167609 28.72 ns/op BenchmarkInterfaceSmall-4 4114663 31.67 ns/op BenchmarkNew-4 1663646 77.04 ns/op BenchmarkMap/StringKeys/MapIndex-4 2245 52575 ns/op 0 B/op 0 allocs/op BenchmarkMap/StringKeys/SetMapIndex-4 1900 63344 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/MapIndex-4 2296 51931 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/SetMapIndex-4 1911 60907 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/MapIndex-4 2383 50666 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/SetMapIndex-4 1905 60319 ns/op 0 B/op 0 allocs/op BenchmarkMapIterNext-4 222078 520.6 ns/op PASS ok reflect 17.737s goos: linux goarch: amd64 pkg: regexp cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFind-4 11772 8666 ns/op 9515 B/op 1 allocs/op BenchmarkFindAllNoMatches-4 20161 6387 ns/op 9441 B/op 1 allocs/op BenchmarkFindString-4 13419 8837 ns/op 9148 B/op 1 allocs/op BenchmarkFindSubmatch-4 12883 8909 ns/op 9608 B/op 2 allocs/op BenchmarkFindStringSubmatch-4 10521 9590 ns/op 9407 B/op 2 allocs/op BenchmarkLiteral-4 18050 6535 ns/op BenchmarkNotLiteral-4 4518 27260 ns/op BenchmarkMatchClass-4 3210 35066 ns/op BenchmarkMatchClass_InRange-4 3416 34523 ns/op BenchmarkReplaceAll-4 3009 39566 ns/op BenchmarkAnchoredLiteralShortNonMatch-4 19334 6550 ns/op BenchmarkAnchoredLiteralLongNonMatch-4 38826 3027 ns/op BenchmarkAnchoredShortMatch-4 17905 6671 ns/op BenchmarkAnchoredLongMatch-4 19897 5785 ns/op BenchmarkOnePassShortA-4 21081 5674 ns/op BenchmarkNotOnePassShortA-4 7599 14446 ns/op BenchmarkOnePassShortB-4 27360 4380 ns/op BenchmarkNotOnePassShortB-4 10621 11081 ns/op BenchmarkOnePassLongPrefix-4 85609 1434 ns/op BenchmarkOnePassLongNotPrefix-4 28766 4098 ns/op BenchmarkMatchParallelShared-4 22414 5503 ns/op BenchmarkMatchParallelCopied-4 21979 5256 ns/op BenchmarkQuoteMetaAll-4 135285 829.5 ns/op 16.88 MB/s BenchmarkQuoteMetaNone-4 294788 396.3 ns/op 65.61 MB/s BenchmarkCompile/Onepass-4 3446 31556 ns/op 4144 B/op 52 allocs/op BenchmarkCompile/Medium-4 1542 75149 ns/op 9704 B/op 112 allocs/op BenchmarkCompile/Hard-4 187 622316 ns/op 84760 B/op 424 allocs/op BenchmarkMatch/Easy0/16-4 3947166 30.20 ns/op 529.87 MB/s BenchmarkMatch/Easy0/32-4 17720 6858 ns/op 4.67 MB/s BenchmarkMatch/Easy0/1K-4 6242 18110 ns/op 56.54 MB/s BenchmarkMatch/Easy0i/16-4 3865803 30.15 ns/op 530.73 MB/s BenchmarkMatch/Easy0i/32-4 5086 22007 ns/op 1.45 MB/s BenchmarkMatch/Easy0i/1K-4 259 456324 ns/op 2.24 MB/s BenchmarkMatch/Easy1/16-4 3986469 30.10 ns/op 531.53 MB/s BenchmarkMatch/Easy1/32-4 19584 6205 ns/op 5.16 MB/s BenchmarkMatch/Easy1/1K-4 4870 25211 ns/op 40.62 MB/s BenchmarkMatch/Medium/16-4 3836870 29.99 ns/op 533.43 MB/s BenchmarkMatch/Medium/32-4 5109 20062 ns/op 1.60 MB/s BenchmarkMatch/Medium/1K-4 290 410846 ns/op 2.49 MB/s BenchmarkMatch/Hard/16-4 3938628 29.82 ns/op 536.50 MB/s BenchmarkMatch/Hard/32-4 3525 30070 ns/op 1.06 MB/s BenchmarkMatch/Hard/1K-4 166 712933 ns/op 1.44 MB/s BenchmarkMatch/Hard1/16-4 1501 83413 ns/op 0.19 MB/s BenchmarkMatch/Hard1/32-4 795 145870 ns/op 0.22 MB/s BenchmarkMatch/Hard1/1K-4 26 4514176 ns/op 0.23 MB/s BenchmarkMatch_onepass_regex/16-4 30139 3930 ns/op 4.07 MB/s 24 B/op 0 allocs/op BenchmarkMatch_onepass_regex/32-4 18468 6531 ns/op 4.90 MB/s 24 B/op 0 allocs/op BenchmarkMatch_onepass_regex/1K-4 678 172016 ns/op 5.95 MB/s 25 B/op 0 allocs/op PASS ok regexp 8.668s goos: linux goarch: amd64 pkg: regexp/syntax cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEmptyOpContext-4 616856 190.8 ns/op BenchmarkIsWordChar-4 168750 710.2 ns/op PASS ok regexp/syntax 2.314s goos: linux goarch: amd64 pkg: runtime cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCallers/cached-4 70449 1706 ns/op BenchmarkCallers/inlined-4 54090 2224 ns/op BenchmarkCallers/no-cache-4 10000 10351 ns/op BenchmarkFPCallers/cached-4 2727564 43.79 ns/op BenchmarkMakeChan/Byte-4 1178336 96.34 ns/op BenchmarkMakeChan/Int-4 933801 129.5 ns/op BenchmarkMakeChan/Ptr-4 566796 202.9 ns/op BenchmarkMakeChan/Struct/0-4 1321561 94.58 ns/op BenchmarkMakeChan/Struct/32-4 564217 210.7 ns/op BenchmarkMakeChan/Struct/40-4 500839 251.0 ns/op BenchmarkChanNonblocking-4 12619334 9.498 ns/op BenchmarkSelectUncontended-4 891402 112.9 ns/op BenchmarkSelectSyncContended-4 24439 5424 ns/op BenchmarkSelectAsyncContended-4 88822 1297 ns/op BenchmarkSelectNonblock-4 6421760 18.26 ns/op BenchmarkChanUncontended-4 10155 10410 ns/op BenchmarkChanContended-4 1074 110033 ns/op BenchmarkChanSync-4 171831 699.2 ns/op BenchmarkChanSyncWork-4 10000 33516 ns/op BenchmarkChanProdCons0-4 80623 1499 ns/op BenchmarkChanProdCons10-4 102596 1474 ns/op BenchmarkChanProdCons100-4 94880 1199 ns/op BenchmarkChanProdConsWork0-4 64612 1739 ns/op BenchmarkChanProdConsWork10-4 79917 1458 ns/op BenchmarkChanProdConsWork100-4 84259 1539 ns/op BenchmarkSelectProdCons-4 58938 1887 ns/op BenchmarkReceiveDataFromClosedChan-4 545996 215.5 ns/op BenchmarkChanCreation-4 246387 463.4 ns/op BenchmarkChanSem-4 121593 1098 ns/op BenchmarkChanPopular-4 88 1280684 ns/op BenchmarkChanClosed-4 660142 184.6 ns/op BenchmarkCallClosure-4 5922721 20.06 ns/op BenchmarkCallClosure1-4 6236030 19.21 ns/op BenchmarkCallClosure2-4 1349245 86.12 ns/op BenchmarkCallClosure3-4 1599991 80.13 ns/op BenchmarkCallClosure4-4 1294687 87.32 ns/op BenchmarkComplex128DivNormal-4 9571988 11.69 ns/op BenchmarkComplex128DivNisNaN-4 7328607 15.68 ns/op BenchmarkComplex128DivDisNaN-4 7489646 15.26 ns/op BenchmarkComplex128DivNisInf-4 9675643 11.67 ns/op BenchmarkComplex128DivDisInf-4 5535330 20.73 ns/op BenchmarkSetTypePtr-4 40658311 2.906 ns/op 2752.74 MB/s BenchmarkSetTypePtr8-4 9874675 11.98 ns/op 5342.42 MB/s BenchmarkSetTypePtr16-4 10001736 12.01 ns/op 10654.68 MB/s BenchmarkSetTypePtr32-4 9967521 12.03 ns/op 21272.05 MB/s BenchmarkSetTypePtr64-4 9952383 12.01 ns/op 42647.89 MB/s BenchmarkSetTypePtr126-4 5690928 21.15 ns/op 47650.68 MB/s BenchmarkSetTypePtr128-4 5881464 20.38 ns/op 50245.89 MB/s BenchmarkSetTypePtrSlice-4 675404 170.1 ns/op 48167.95 MB/s BenchmarkSetTypeNode1-4 9885259 12.03 ns/op 1994.56 MB/s BenchmarkSetTypeNode1Slice-4 3003505 41.43 ns/op 18536.33 MB/s BenchmarkSetTypeNode8-4 9717883 12.04 ns/op 6644.39 MB/s BenchmarkSetTypeNode8Slice-4 1469653 80.89 ns/op 31647.34 MB/s BenchmarkSetTypeNode64-4 5675191 21.13 ns/op 24986.22 MB/s BenchmarkSetTypeNode64Slice-4 213952 554.0 ns/op 30496.35 MB/s BenchmarkSetTypeNode64Dead-4 7245056 16.35 ns/op 32299.51 MB/s BenchmarkSetTypeNode64DeadSlice-4 245464 485.8 ns/op 34776.97 MB/s BenchmarkSetTypeNode124-4 5700248 21.12 ns/op 47716.10 MB/s BenchmarkSetTypeNode124Slice-4 167542 713.5 ns/op 45210.87 MB/s BenchmarkSetTypeNode126-4 5889571 20.34 ns/op 50349.18 MB/s BenchmarkSetTypeNode126Slice-4 163522 724.1 ns/op 45252.93 MB/s BenchmarkSetTypeNode128-4 3908025 30.18 ns/op 34458.99 MB/s BenchmarkSetTypeNode128Slice-4 135266 883.1 ns/op 37687.31 MB/s BenchmarkSetTypeNode130-4 3923044 30.09 ns/op 35095.02 MB/s BenchmarkSetTypeNode130Slice-4 134628 889.8 ns/op 37975.46 MB/s BenchmarkSetTypeNode1024-4 720645 164.6 ns/op 49855.20 MB/s BenchmarkSetTypeNode1024Slice-4 23360 5145 ns/op 51045.81 MB/s BenchmarkAllocation-4 3283 36458 ns/op BenchmarkReadMemStats-4 4288 30464 ns/op BenchmarkReadMemStatsLatency-4 1 147168 p50-ns 147168 p90-ns 147168 p99-ns BenchmarkWriteBarrier-4 2876161 46.89 ns/op BenchmarkBulkWriteBarrier-4 7717789 20.74 ns/op BenchmarkScanStackNoLocals-4 2 53975717 ns/op BenchmarkMSpanCountAlloc/bits=64-4 10896795 10.70 ns/op BenchmarkMSpanCountAlloc/bits=128-4 9213296 11.62 ns/op BenchmarkMSpanCountAlloc/bits=256-4 8883308 13.61 ns/op BenchmarkMSpanCountAlloc/bits=512-4 6697576 17.28 ns/op BenchmarkMSpanCountAlloc/bits=1024-4 4814347 25.83 ns/op BenchmarkHash5-4 6121212 19.48 ns/op 256.70 MB/s BenchmarkHash16-4 5969296 19.46 ns/op 822.07 MB/s BenchmarkHash64-4 5962278 18.84 ns/op 3396.74 MB/s BenchmarkHash1024-4 1851369 64.59 ns/op 15855.05 MB/s BenchmarkHash65536-4 39806 3024 ns/op 21675.19 MB/s BenchmarkAlignedLoad-4 7366389 16.41 ns/op BenchmarkUnalignedLoad-4 7169172 16.54 ns/op BenchmarkEqEfaceConcrete-4 5475016 21.95 ns/op BenchmarkEqIfaceConcrete-4 6186018 19.41 ns/op BenchmarkNeEfaceConcrete-4 6079093 19.70 ns/op BenchmarkNeIfaceConcrete-4 6132433 19.55 ns/op BenchmarkConvT2EByteSized/bool-4 5855727 20.17 ns/op BenchmarkConvT2EByteSized/uint8-4 6037028 19.95 ns/op BenchmarkConvT2ESmall-4 5544697 21.59 ns/op BenchmarkConvT2EUintptr-4 5292909 22.62 ns/op BenchmarkConvT2ELarge-4 1000000 106.0 ns/op BenchmarkConvT2ISmall-4 5371449 22.47 ns/op BenchmarkConvT2IUintptr-4 5215455 22.90 ns/op BenchmarkConvT2ILarge-4 1000000 102.0 ns/op BenchmarkConvI2E-4 4659604 25.37 ns/op BenchmarkConvI2I-4 4205251 28.80 ns/op BenchmarkAssertE2T-4 4413344 27.34 ns/op BenchmarkAssertE2TLarge-4 2402517 48.27 ns/op BenchmarkAssertE2I-4 4064188 29.28 ns/op BenchmarkAssertI2T-4 4136047 28.95 ns/op BenchmarkAssertI2I-4 4265370 28.34 ns/op BenchmarkAssertI2E-4 5788110 20.62 ns/op BenchmarkAssertE2E-4 5494167 21.75 ns/op BenchmarkAssertE2T2-4 3401458 35.31 ns/op BenchmarkAssertE2T2Blank-4 4162310 28.63 ns/op BenchmarkAssertI2E2-4 4342432 27.51 ns/op BenchmarkAssertI2E2Blank-4 5891360 20.30 ns/op BenchmarkAssertE2E2-4 4313110 27.60 ns/op BenchmarkAssertE2E2Blank-4 5890134 20.33 ns/op BenchmarkConvT2Ezero/zero/16-4 5527962 21.59 ns/op BenchmarkConvT2Ezero/zero/32-4 5267284 22.48 ns/op BenchmarkConvT2Ezero/zero/64-4 5263518 22.70 ns/op BenchmarkConvT2Ezero/zero/str-4 5096124 23.33 ns/op BenchmarkConvT2Ezero/zero/slice-4 5358312 22.57 ns/op BenchmarkConvT2Ezero/zero/big-4 194467 517.1 ns/op BenchmarkConvT2Ezero/nonzero/str-4 1291122 90.31 ns/op BenchmarkConvT2Ezero/nonzero/slice-4 1324804 89.43 ns/op BenchmarkConvT2Ezero/nonzero/big-4 246391 456.2 ns/op BenchmarkConvT2Ezero/smallint/16-4 5168526 22.66 ns/op BenchmarkConvT2Ezero/smallint/32-4 5316822 22.39 ns/op BenchmarkConvT2Ezero/smallint/64-4 5327130 22.55 ns/op BenchmarkConvT2Ezero/largeint/16-4 1713325 67.68 ns/op BenchmarkConvT2Ezero/largeint/32-4 1753378 69.28 ns/op BenchmarkConvT2Ezero/largeint/64-4 1825358 66.35 ns/op BenchmarkMalloc8-4 1499349 84.98 ns/op BenchmarkMalloc16-4 1276400 90.67 ns/op BenchmarkMallocTypeInfo8-4 1466228 83.65 ns/op BenchmarkMallocTypeInfo16-4 1207974 97.14 ns/op BenchmarkMallocLargeStruct-4 207225 559.3 ns/op BenchmarkGoroutineSelect-4 72 1820796 ns/op BenchmarkGoroutineBlocking-4 67 1732831 ns/op BenchmarkGoroutineForRange-4 98 1805075 ns/op BenchmarkGoroutineIdle-4 90 1737262 ns/op BenchmarkHashStringSpeed-4 2240756 56.64 ns/op BenchmarkHashBytesSpeed-4 1382833 88.61 ns/op BenchmarkHashInt32Speed-4 2901666 39.07 ns/op BenchmarkHashInt64Speed-4 2928620 41.14 ns/op BenchmarkHashStringArraySpeed-4 582399 204.6 ns/op BenchmarkMegMap-4 3163459 38.65 ns/op BenchmarkMegOneMap-4 3992197 30.08 ns/op BenchmarkMegEqMap-4 1928 62878 ns/op BenchmarkMegEmptyMap-4 4433748 26.97 ns/op BenchmarkSmallStrMap-4 3259750 37.54 ns/op BenchmarkMapStringKeysEight_16-4 3332409 36.06 ns/op BenchmarkMapStringKeysEight_32-4 3371257 35.08 ns/op BenchmarkMapStringKeysEight_64-4 3219367 37.03 ns/op BenchmarkMapStringKeysEight_1M-4 3224371 36.67 ns/op BenchmarkIntMap-4 3848916 31.50 ns/op BenchmarkMapFirst/1-4 4624524 26.53 ns/op BenchmarkMapFirst/2-4 4352662 26.49 ns/op BenchmarkMapFirst/3-4 4676031 26.56 ns/op BenchmarkMapFirst/4-4 4361418 26.87 ns/op BenchmarkMapFirst/5-4 4321894 26.90 ns/op BenchmarkMapFirst/6-4 4311135 27.26 ns/op BenchmarkMapFirst/7-4 4416579 27.07 ns/op BenchmarkMapFirst/8-4 4133766 27.09 ns/op BenchmarkMapFirst/9-4 3809688 31.41 ns/op BenchmarkMapFirst/10-4 3645206 32.33 ns/op BenchmarkMapFirst/11-4 3720184 32.67 ns/op BenchmarkMapFirst/12-4 3751333 31.51 ns/op BenchmarkMapFirst/13-4 3812115 30.69 ns/op BenchmarkMapFirst/14-4 3950707 31.46 ns/op BenchmarkMapFirst/15-4 3857570 31.19 ns/op BenchmarkMapFirst/16-4 3751862 30.51 ns/op BenchmarkMapMid/1-4 3764023 31.55 ns/op BenchmarkMapMid/2-4 3656574 32.19 ns/op BenchmarkMapMid/3-4 3808618 32.40 ns/op BenchmarkMapMid/4-4 3536991 33.49 ns/op BenchmarkMapMid/5-4 3619362 32.75 ns/op BenchmarkMapMid/6-4 3463885 34.15 ns/op BenchmarkMapMid/7-4 3629875 34.17 ns/op BenchmarkMapMid/8-4 3359940 35.32 ns/op BenchmarkMapMid/9-4 3237355 37.35 ns/op BenchmarkMapMid/10-4 3008342 41.03 ns/op BenchmarkMapMid/11-4 2994189 39.98 ns/op BenchmarkMapMid/12-4 2915703 40.10 ns/op BenchmarkMapMid/13-4 3123225 35.79 ns/op BenchmarkMapMid/14-4 3391785 39.40 ns/op BenchmarkMapMid/15-4 3214294 37.33 ns/op BenchmarkMapMid/16-4 3166078 37.40 ns/op BenchmarkMapLast/1-4 3858168 31.03 ns/op BenchmarkMapLast/2-4 3653233 32.42 ns/op BenchmarkMapLast/3-4 3643598 32.75 ns/op BenchmarkMapLast/4-4 3482538 35.18 ns/op BenchmarkMapLast/5-4 3630523 33.19 ns/op BenchmarkMapLast/6-4 3489517 35.13 ns/op BenchmarkMapLast/7-4 3510643 34.43 ns/op BenchmarkMapLast/8-4 3287209 36.61 ns/op BenchmarkMapLast/9-4 3106902 38.90 ns/op BenchmarkMapLast/10-4 2988502 42.93 ns/op BenchmarkMapLast/11-4 3228915 40.63 ns/op BenchmarkMapLast/12-4 3136192 41.10 ns/op BenchmarkMapLast/13-4 3159945 37.61 ns/op BenchmarkMapLast/14-4 3001537 36.77 ns/op BenchmarkMapLast/15-4 3140442 40.35 ns/op BenchmarkMapLast/16-4 2972907 37.93 ns/op BenchmarkMapCycle-4 2006601 60.61 ns/op BenchmarkRepeatedLookupStrMapKey32-4 3230779 37.97 ns/op BenchmarkRepeatedLookupStrMapKey1M-4 2332 49696 ns/op BenchmarkMakeMap/[Byte]Byte-4 605487 181.3 ns/op BenchmarkMakeMap/[Int]Int-4 406203 320.0 ns/op BenchmarkNewEmptyMap-4 11527672 9.496 ns/op 0 B/op 0 allocs/op BenchmarkNewSmallMap-4 1560466 76.46 ns/op 0 B/op 0 allocs/op BenchmarkMapIter-4 452084 253.6 ns/op BenchmarkMapIterEmpty-4 5357113 22.80 ns/op BenchmarkSameLengthMap-4 4373563 27.28 ns/op BenchmarkBigKeyMap-4 1645563 70.39 ns/op BenchmarkBigValMap-4 1482358 78.60 ns/op BenchmarkSmallKeyMap-4 2887519 41.26 ns/op BenchmarkMapPopulate/1-4 2210263 53.96 ns/op 0 B/op 0 allocs/op BenchmarkMapPopulate/10-4 119391 919.4 ns/op 179 B/op 1 allocs/op BenchmarkMapPopulate/100-4 7328 16330 ns/op 6271 B/op 15 allocs/op BenchmarkMapPopulate/1000-4 765 150001 ns/op 51783 B/op 56 allocs/op BenchmarkMapPopulate/10000-4 46 2672128 ns/op 416301 B/op 200 allocs/op BenchmarkMapPopulate/100000-4 3 39371001 ns/op 6528525 B/op 2908 allocs/op BenchmarkComplexAlgMap-4 443952 251.6 ns/op BenchmarkGoMapClear/Reflexive/1-4 635292 176.1 ns/op BenchmarkGoMapClear/Reflexive/10-4 585121 194.7 ns/op BenchmarkGoMapClear/Reflexive/100-4 217551 539.4 ns/op BenchmarkGoMapClear/Reflexive/1000-4 39843 3013 ns/op BenchmarkGoMapClear/Reflexive/10000-4 5097 23657 ns/op BenchmarkGoMapClear/NonReflexive/1-4 503522 230.5 ns/op BenchmarkGoMapClear/NonReflexive/10-4 472086 252.3 ns/op BenchmarkGoMapClear/NonReflexive/100-4 205675 591.8 ns/op BenchmarkGoMapClear/NonReflexive/1000-4 39102 3065 ns/op BenchmarkGoMapClear/NonReflexive/10000-4 5014 23899 ns/op BenchmarkMapStringConversion/32/simple-4 1769155 70.42 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/struct-4 1660759 70.79 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/array-4 1548464 74.29 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/simple-4 1620860 74.63 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/struct-4 1507314 78.69 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/array-4 1422744 81.16 ns/op 0 B/op 0 allocs/op BenchmarkMapInterfaceString-4 1788061 66.59 ns/op BenchmarkMapInterfacePtr-4 1965530 62.58 ns/op BenchmarkNewEmptyMapHintLessThan8-4 4490448 26.80 ns/op 0 B/op 0 allocs/op BenchmarkNewEmptyMapHintGreaterThan8-4 116250 895.0 ns/op 1152 B/op 1 allocs/op BenchmarkMapPop100-4 4968 23289 ns/op BenchmarkMapPop1000-4 391 314810 ns/op BenchmarkMapPop10000-4 19 6518978 ns/op BenchmarkMapAssign/Int32/256-4 2320772 50.54 ns/op BenchmarkMapAssign/Int32/65536-4 1162432 98.39 ns/op BenchmarkMapAssign/Int64/256-4 2318002 52.59 ns/op BenchmarkMapAssign/Int64/65536-4 991918 110.6 ns/op BenchmarkMapAssign/Str/256-4 1872526 63.72 ns/op BenchmarkMapAssign/Str/65536-4 571539 201.8 ns/op BenchmarkMapOperatorAssign/Int32/256-4 1464805 80.52 ns/op BenchmarkMapOperatorAssign/Int32/65536-4 733716 158.6 ns/op BenchmarkMapOperatorAssign/Int64/256-4 1465802 82.12 ns/op BenchmarkMapOperatorAssign/Int64/65536-4 639912 185.6 ns/op BenchmarkMapOperatorAssign/Str/256-4 459552 2350 ns/op BenchmarkMapOperatorAssign/Str/65536-4 151935 720.4 ns/op BenchmarkMapAppendAssign/Int32/256-4 716337 196.7 ns/op 31 B/op 0 allocs/op BenchmarkMapAppendAssign/Int32/65536-4 150757 667.3 ns/op 75 B/op 1 allocs/op BenchmarkMapAppendAssign/Int64/256-4 867375 199.3 ns/op 25 B/op 0 allocs/op BenchmarkMapAppendAssign/Int64/65536-4 144496 768.3 ns/op 85 B/op 1 allocs/op BenchmarkMapAppendAssign/Str/256-4 488496 321.3 ns/op 63 B/op 0 allocs/op BenchmarkMapAppendAssign/Str/65536-4 94230 1330 ns/op 150 B/op 1 allocs/op BenchmarkMapDelete/Int32/100-4 1801058 65.17 ns/op BenchmarkMapDelete/Int32/1000-4 1880992 63.64 ns/op BenchmarkMapDelete/Int32/10000-4 1756120 67.92 ns/op BenchmarkMapDelete/Int64/100-4 1853569 94.58 ns/op BenchmarkMapDelete/Int64/1000-4 1831446 63.35 ns/op BenchmarkMapDelete/Int64/10000-4 1535158 74.32 ns/op BenchmarkMapDelete/Str/100-4 1240410 84.06 ns/op BenchmarkMapDelete/Str/1000-4 1483640 81.26 ns/op BenchmarkMapDelete/Str/10000-4 1000000 103.4 ns/op BenchmarkMapDelete/Pointer/100-4 1388557 73.40 ns/op BenchmarkMapDelete/Pointer/1000-4 1687776 70.69 ns/op BenchmarkMapDelete/Pointer/10000-4 1454944 85.91 ns/op BenchmarkMemmove/0-4 13985007 8.414 ns/op BenchmarkMemmove/1-4 2009301 60.02 ns/op 16.66 MB/s BenchmarkMemmove/2-4 1892767 60.74 ns/op 32.93 MB/s BenchmarkMemmove/3-4 1943679 61.55 ns/op 48.74 MB/s BenchmarkMemmove/4-4 1934198 62.72 ns/op 63.77 MB/s BenchmarkMemmove/5-4 1908253 62.29 ns/op 80.27 MB/s BenchmarkMemmove/6-4 1894170 61.19 ns/op 98.05 MB/s BenchmarkMemmove/7-4 1973697 61.25 ns/op 114.29 MB/s BenchmarkMemmove/8-4 2058612 59.17 ns/op 135.20 MB/s BenchmarkMemmove/9-4 1768785 67.30 ns/op 133.73 MB/s BenchmarkMemmove/10-4 1768176 66.23 ns/op 151.00 MB/s BenchmarkMemmove/11-4 1814628 66.09 ns/op 166.44 MB/s BenchmarkMemmove/12-4 1783964 66.83 ns/op 179.55 MB/s BenchmarkMemmove/13-4 1814655 66.12 ns/op 196.63 MB/s BenchmarkMemmove/14-4 1839736 66.06 ns/op 211.94 MB/s BenchmarkMemmove/15-4 1827253 65.63 ns/op 228.54 MB/s BenchmarkMemmove/16-4 1956105 60.21 ns/op 265.74 MB/s BenchmarkMemmove/32-4 1912250 65.66 ns/op 487.39 MB/s BenchmarkMemmove/64-4 1696921 68.59 ns/op 933.12 MB/s BenchmarkMemmove/128-4 1426153 83.87 ns/op 1526.21 MB/s BenchmarkMemmove/256-4 881140 128.8 ns/op 1986.90 MB/s BenchmarkMemmove/512-4 654118 183.3 ns/op 2792.49 MB/s BenchmarkMemmove/1024-4 410749 287.0 ns/op 3568.27 MB/s BenchmarkMemmove/2048-4 248182 487.2 ns/op 4203.45 MB/s BenchmarkMemmove/4096-4 133506 885.5 ns/op 4625.81 MB/s BenchmarkMemmoveOverlap/32-4 1843803 63.69 ns/op 502.45 MB/s BenchmarkMemmoveOverlap/64-4 1675267 71.08 ns/op 900.41 MB/s BenchmarkMemmoveOverlap/128-4 1438641 84.63 ns/op 1512.50 MB/s BenchmarkMemmoveOverlap/256-4 907251 129.5 ns/op 1977.53 MB/s BenchmarkMemmoveOverlap/512-4 647338 179.7 ns/op 2848.41 MB/s BenchmarkMemmoveOverlap/1024-4 414942 281.2 ns/op 3641.02 MB/s BenchmarkMemmoveOverlap/2048-4 244412 486.7 ns/op 4207.78 MB/s BenchmarkMemmoveOverlap/4096-4 132728 897.7 ns/op 4562.78 MB/s BenchmarkMemmoveUnalignedDst/0-4 12803060 9.220 ns/op BenchmarkMemmoveUnalignedDst/1-4 1971568 61.55 ns/op 16.25 MB/s BenchmarkMemmoveUnalignedDst/2-4 1898650 64.56 ns/op 30.98 MB/s BenchmarkMemmoveUnalignedDst/3-4 1898779 63.18 ns/op 47.49 MB/s BenchmarkMemmoveUnalignedDst/4-4 1904106 62.96 ns/op 63.53 MB/s BenchmarkMemmoveUnalignedDst/5-4 1899124 64.62 ns/op 77.37 MB/s BenchmarkMemmoveUnalignedDst/6-4 1868371 62.78 ns/op 95.57 MB/s BenchmarkMemmoveUnalignedDst/7-4 1915183 64.11 ns/op 109.19 MB/s BenchmarkMemmoveUnalignedDst/8-4 1979397 59.02 ns/op 135.55 MB/s BenchmarkMemmoveUnalignedDst/9-4 1794739 66.62 ns/op 135.10 MB/s BenchmarkMemmoveUnalignedDst/10-4 1811202 66.70 ns/op 149.92 MB/s BenchmarkMemmoveUnalignedDst/11-4 1783791 66.46 ns/op 165.52 MB/s BenchmarkMemmoveUnalignedDst/12-4 1791896 65.23 ns/op 183.97 MB/s BenchmarkMemmoveUnalignedDst/13-4 1784582 66.44 ns/op 195.66 MB/s BenchmarkMemmoveUnalignedDst/14-4 1794938 65.49 ns/op 213.79 MB/s BenchmarkMemmoveUnalignedDst/15-4 1839955 65.03 ns/op 230.68 MB/s BenchmarkMemmoveUnalignedDst/16-4 1829168 64.95 ns/op 246.36 MB/s BenchmarkMemmoveUnalignedDst/32-4 1718226 68.62 ns/op 466.34 MB/s BenchmarkMemmoveUnalignedDst/64-4 1606383 75.49 ns/op 847.75 MB/s BenchmarkMemmoveUnalignedDst/128-4 1373092 88.60 ns/op 1444.75 MB/s BenchmarkMemmoveUnalignedDst/256-4 853695 133.9 ns/op 1912.57 MB/s BenchmarkMemmoveUnalignedDst/512-4 612811 188.5 ns/op 2716.60 MB/s BenchmarkMemmoveUnalignedDst/1024-4 392655 305.1 ns/op 3356.26 MB/s BenchmarkMemmoveUnalignedDst/2048-4 239859 493.9 ns/op 4146.88 MB/s BenchmarkMemmoveUnalignedDst/4096-4 129225 923.4 ns/op 4435.96 MB/s BenchmarkMemmoveUnalignedDstOverlap/32-4 1698384 70.97 ns/op 450.89 MB/s BenchmarkMemmoveUnalignedDstOverlap/64-4 1508978 78.50 ns/op 815.26 MB/s BenchmarkMemmoveUnalignedDstOverlap/128-4 1327881 90.48 ns/op 1414.68 MB/s BenchmarkMemmoveUnalignedDstOverlap/256-4 1050430 113.9 ns/op 2247.94 MB/s BenchmarkMemmoveUnalignedDstOverlap/512-4 609205 194.0 ns/op 2639.27 MB/s BenchmarkMemmoveUnalignedDstOverlap/1024-4 378084 302.3 ns/op 3387.27 MB/s BenchmarkMemmoveUnalignedDstOverlap/2048-4 232905 506.9 ns/op 4039.93 MB/s BenchmarkMemmoveUnalignedDstOverlap/4096-4 129799 919.3 ns/op 4455.55 MB/s BenchmarkMemmoveUnalignedSrc/0-4 12898490 9.104 ns/op BenchmarkMemmoveUnalignedSrc/1-4 1967677 61.43 ns/op 16.28 MB/s BenchmarkMemmoveUnalignedSrc/2-4 1886338 63.40 ns/op 31.55 MB/s BenchmarkMemmoveUnalignedSrc/3-4 1911691 64.21 ns/op 46.72 MB/s BenchmarkMemmoveUnalignedSrc/4-4 1878915 62.89 ns/op 63.60 MB/s BenchmarkMemmoveUnalignedSrc/5-4 1863924 61.31 ns/op 81.55 MB/s BenchmarkMemmoveUnalignedSrc/6-4 1856119 64.38 ns/op 93.20 MB/s BenchmarkMemmoveUnalignedSrc/7-4 1893439 63.89 ns/op 109.56 MB/s BenchmarkMemmoveUnalignedSrc/8-4 2001178 59.08 ns/op 135.41 MB/s BenchmarkMemmoveUnalignedSrc/9-4 1786813 66.92 ns/op 134.50 MB/s BenchmarkMemmoveUnalignedSrc/10-4 1820365 65.71 ns/op 152.18 MB/s BenchmarkMemmoveUnalignedSrc/11-4 1734366 68.46 ns/op 160.68 MB/s BenchmarkMemmoveUnalignedSrc/12-4 1834843 65.72 ns/op 182.60 MB/s BenchmarkMemmoveUnalignedSrc/13-4 1808325 66.69 ns/op 194.92 MB/s BenchmarkMemmoveUnalignedSrc/14-4 1801915 66.28 ns/op 211.23 MB/s BenchmarkMemmoveUnalignedSrc/15-4 1804408 65.67 ns/op 228.42 MB/s BenchmarkMemmoveUnalignedSrc/16-4 1835538 65.27 ns/op 245.12 MB/s BenchmarkMemmoveUnalignedSrc/32-4 1693684 69.93 ns/op 457.59 MB/s BenchmarkMemmoveUnalignedSrc/64-4 1564586 76.91 ns/op 832.12 MB/s BenchmarkMemmoveUnalignedSrc/128-4 1353214 88.13 ns/op 1452.41 MB/s BenchmarkMemmoveUnalignedSrc/256-4 880509 115.8 ns/op 2211.33 MB/s BenchmarkMemmoveUnalignedSrc/512-4 627261 189.5 ns/op 2701.90 MB/s BenchmarkMemmoveUnalignedSrc/1024-4 394232 299.3 ns/op 3421.63 MB/s BenchmarkMemmoveUnalignedSrc/2048-4 237006 501.8 ns/op 4081.02 MB/s BenchmarkMemmoveUnalignedSrc/4096-4 129445 930.0 ns/op 4404.29 MB/s BenchmarkMemmoveUnalignedSrcOverlap/32-4 1770472 69.45 ns/op 460.75 MB/s BenchmarkMemmoveUnalignedSrcOverlap/64-4 1611994 75.07 ns/op 852.58 MB/s BenchmarkMemmoveUnalignedSrcOverlap/128-4 1394618 87.12 ns/op 1469.18 MB/s BenchmarkMemmoveUnalignedSrcOverlap/256-4 909888 130.6 ns/op 1960.74 MB/s BenchmarkMemmoveUnalignedSrcOverlap/512-4 630096 182.4 ns/op 2807.50 MB/s BenchmarkMemmoveUnalignedSrcOverlap/1024-4 396687 290.8 ns/op 3520.93 MB/s BenchmarkMemmoveUnalignedSrcOverlap/2048-4 236011 491.6 ns/op 4165.78 MB/s BenchmarkMemmoveUnalignedSrcOverlap/4096-4 130441 905.9 ns/op 4521.35 MB/s BenchmarkMemclr/5-4 12856777 9.111 ns/op 548.78 MB/s BenchmarkMemclr/16-4 12628750 9.430 ns/op 1696.74 MB/s BenchmarkMemclr/64-4 11807479 10.19 ns/op 6281.97 MB/s BenchmarkMemclr/256-4 10563058 11.40 ns/op 22463.99 MB/s BenchmarkMemclr/4096-4 1703275 70.68 ns/op 57951.03 MB/s BenchmarkMemclr/65536-4 38970 2947 ns/op 22237.86 MB/s BenchmarkMemclr/1M-4 2480 49539 ns/op 21166.48 MB/s BenchmarkMemclr/4M-4 632 190803 ns/op 21982.36 MB/s BenchmarkMemclr/8M-4 310 402004 ns/op 20866.96 MB/s BenchmarkMemclr/16M-4 140 848175 ns/op 19780.38 MB/s BenchmarkMemclr/64M-4 26 4262908 ns/op 15742.51 MB/s BenchmarkMemclrUnaligned/0_5-4 7155472 16.93 ns/op 295.26 MB/s BenchmarkMemclrUnaligned/0_16-4 6971856 17.21 ns/op 929.82 MB/s BenchmarkMemclrUnaligned/0_64-4 6881946 17.42 ns/op 3674.76 MB/s BenchmarkMemclrUnaligned/0_256-4 6363902 19.22 ns/op 13318.91 MB/s BenchmarkMemclrUnaligned/0_4096-4 1568937 75.27 ns/op 54418.88 MB/s BenchmarkMemclrUnaligned/0_65536-4 40478 2720 ns/op 24091.83 MB/s BenchmarkMemclrUnaligned/1_5-4 7134135 16.85 ns/op 296.73 MB/s BenchmarkMemclrUnaligned/1_16-4 7030198 17.04 ns/op 938.90 MB/s BenchmarkMemclrUnaligned/1_64-4 6737664 17.44 ns/op 3668.88 MB/s BenchmarkMemclrUnaligned/1_256-4 6245800 18.95 ns/op 13508.96 MB/s BenchmarkMemclrUnaligned/1_4096-4 950139 130.7 ns/op 31342.15 MB/s BenchmarkMemclrUnaligned/1_65536-4 43316 2860 ns/op 22913.13 MB/s BenchmarkMemclrUnaligned/4_5-4 7133143 16.72 ns/op 299.08 MB/s BenchmarkMemclrUnaligned/4_16-4 6993820 17.17 ns/op 931.65 MB/s BenchmarkMemclrUnaligned/4_64-4 6849301 17.56 ns/op 3643.92 MB/s BenchmarkMemclrUnaligned/4_256-4 6257914 18.98 ns/op 13486.54 MB/s BenchmarkMemclrUnaligned/4_4096-4 907624 129.9 ns/op 31522.62 MB/s BenchmarkMemclrUnaligned/4_65536-4 44246 2774 ns/op 23622.32 MB/s BenchmarkMemclrUnaligned/7_5-4 7172841 16.75 ns/op 298.45 MB/s BenchmarkMemclrUnaligned/7_16-4 6981721 17.10 ns/op 935.82 MB/s BenchmarkMemclrUnaligned/7_64-4 6816892 17.47 ns/op 3663.88 MB/s BenchmarkMemclrUnaligned/7_256-4 6340022 18.87 ns/op 13570.04 MB/s BenchmarkMemclrUnaligned/7_4096-4 957973 125.8 ns/op 32570.51 MB/s BenchmarkMemclrUnaligned/7_65536-4 43432 2664 ns/op 24597.66 MB/s BenchmarkMemclrUnaligned/0_1M-4 2528 50083 ns/op 20936.87 MB/s BenchmarkMemclrUnaligned/0_4M-4 626 190537 ns/op 22013.06 MB/s BenchmarkMemclrUnaligned/0_8M-4 291 395705 ns/op 21199.15 MB/s BenchmarkMemclrUnaligned/0_16M-4 142 830036 ns/op 20212.63 MB/s BenchmarkMemclrUnaligned/0_64M-4 26 4267304 ns/op 15726.29 MB/s BenchmarkMemclrUnaligned/1_1M-4 2425 48273 ns/op 21721.83 MB/s BenchmarkMemclrUnaligned/1_4M-4 615 194726 ns/op 21539.55 MB/s BenchmarkMemclrUnaligned/1_8M-4 301 406088 ns/op 20657.10 MB/s BenchmarkMemclrUnaligned/1_16M-4 136 880123 ns/op 19062.35 MB/s BenchmarkMemclrUnaligned/1_64M-4 26 4267746 ns/op 15724.66 MB/s BenchmarkMemclrUnaligned/4_1M-4 2378 47833 ns/op 21921.60 MB/s BenchmarkMemclrUnaligned/4_4M-4 590 188018 ns/op 22307.94 MB/s BenchmarkMemclrUnaligned/4_8M-4 300 408393 ns/op 20540.52 MB/s BenchmarkMemclrUnaligned/4_16M-4 138 838946 ns/op 19997.97 MB/s BenchmarkMemclrUnaligned/4_64M-4 25 4276325 ns/op 15693.11 MB/s BenchmarkMemclrUnaligned/7_1M-4 2497 46803 ns/op 22404.12 MB/s BenchmarkMemclrUnaligned/7_4M-4 630 194647 ns/op 21548.28 MB/s BenchmarkMemclrUnaligned/7_8M-4 295 401297 ns/op 20903.72 MB/s BenchmarkMemclrUnaligned/7_16M-4 148 866067 ns/op 19371.74 MB/s BenchmarkMemclrUnaligned/7_64M-4 26 4288677 ns/op 15647.92 MB/s BenchmarkGoMemclr/5-4 2232490 52.13 ns/op 95.91 MB/s BenchmarkGoMemclr/16-4 561554 209.9 ns/op 76.23 MB/s BenchmarkGoMemclr/64-4 147628 800.4 ns/op 79.96 MB/s BenchmarkGoMemclr/256-4 38739 3153 ns/op 81.21 MB/s BenchmarkMemclrRange/1K_2K-4 65668 1807 ns/op 53067.55 MB/s BenchmarkMemclrRange/2K_8K-4 21318 5668 ns/op 58847.48 MB/s BenchmarkMemclrRange/4K_16K-4 25975 4601 ns/op 70210.30 MB/s BenchmarkMemclrRange/160K_228K-4 1520 74756 ns/op 22243.79 MB/s BenchmarkClearFat7-4 6587694 18.01 ns/op BenchmarkClearFat8-4 7073264 16.73 ns/op BenchmarkClearFat11-4 6150291 18.61 ns/op BenchmarkClearFat12-4 6386838 18.84 ns/op BenchmarkClearFat13-4 6193677 19.18 ns/op BenchmarkClearFat14-4 5980920 19.50 ns/op BenchmarkClearFat15-4 6233257 19.01 ns/op BenchmarkClearFat16-4 6883843 17.56 ns/op BenchmarkClearFat24-4 6205657 18.70 ns/op BenchmarkClearFat32-4 6245287 19.18 ns/op BenchmarkClearFat40-4 5978446 19.81 ns/op BenchmarkClearFat48-4 5803740 20.46 ns/op BenchmarkClearFat56-4 5584429 21.49 ns/op BenchmarkClearFat64-4 5404419 22.51 ns/op BenchmarkClearFat72-4 4914374 23.47 ns/op BenchmarkClearFat128-4 4027124 30.26 ns/op BenchmarkClearFat256-4 2322196 51.61 ns/op BenchmarkClearFat512-4 1540982 78.56 ns/op BenchmarkClearFat1024-4 872719 136.9 ns/op BenchmarkClearFat1032-4 783492 145.5 ns/op BenchmarkClearFat1040-4 824241 145.8 ns/op BenchmarkCopyFat7-4 6547287 18.17 ns/op BenchmarkCopyFat8-4 7270129 16.48 ns/op BenchmarkCopyFat11-4 6317347 18.60 ns/op BenchmarkCopyFat12-4 6330177 19.02 ns/op BenchmarkCopyFat13-4 6327255 19.10 ns/op BenchmarkCopyFat14-4 6226436 19.04 ns/op BenchmarkCopyFat15-4 6308259 19.06 ns/op BenchmarkCopyFat16-4 6752391 17.67 ns/op BenchmarkCopyFat24-4 6207225 18.88 ns/op BenchmarkCopyFat32-4 6271687 19.18 ns/op BenchmarkCopyFat64-4 5291806 22.16 ns/op BenchmarkCopyFat72-4 4966544 24.14 ns/op BenchmarkCopyFat128-4 3762320 31.71 ns/op BenchmarkCopyFat256-4 2169164 54.34 ns/op BenchmarkCopyFat512-4 1414312 84.60 ns/op BenchmarkCopyFat520-4 1402582 85.86 ns/op BenchmarkCopyFat1024-4 823264 144.1 ns/op BenchmarkCopyFat1032-4 803260 149.3 ns/op BenchmarkCopyFat1040-4 787116 151.4 ns/op BenchmarkIssue18740/2byte-4 424 290319 ns/op BenchmarkIssue18740/4byte-4 699 171652 ns/op BenchmarkIssue18740/8byte-4 1070 113559 ns/op BenchmarkMemclrKnownSize1-4 9011530 13.33 ns/op 74.99 MB/s BenchmarkMemclrKnownSize2-4 5520478 21.53 ns/op 92.90 MB/s BenchmarkMemclrKnownSize4-4 3525439 34.03 ns/op 117.55 MB/s BenchmarkMemclrKnownSize8-4 1000000 101.4 ns/op 78.89 MB/s BenchmarkMemclrKnownSize16-4 574944 202.2 ns/op 79.11 MB/s BenchmarkMemclrKnownSize32-4 301866 393.7 ns/op 81.27 MB/s BenchmarkMemclrKnownSize64-4 149658 772.0 ns/op 82.90 MB/s BenchmarkMemclrKnownSize112-4 89079 1316 ns/op 85.12 MB/s BenchmarkMemclrKnownSize128-4 76480 1547 ns/op 82.76 MB/s BenchmarkMemclrKnownSize192-4 52570 2263 ns/op 84.83 MB/s BenchmarkMemclrKnownSize248-4 40477 2965 ns/op 83.64 MB/s BenchmarkMemclrKnownSize256-4 40743 2979 ns/op 85.93 MB/s BenchmarkMemclrKnownSize512-4 20042 6184 ns/op 82.80 MB/s BenchmarkMemclrKnownSize1024-4 10000 11880 ns/op 86.20 MB/s BenchmarkMemclrKnownSize4096-4 2455 49157 ns/op 83.33 MB/s BenchmarkMemclrKnownSize512KiB-4 18 6386368 ns/op 82.09 MB/s BenchmarkReadMetricsLatency-4 10000 5673 p50-ns 8304 p90-ns 22676 p99-ns BenchmarkFinalizer-4 184 593727 ns/op BenchmarkFinalizerRun-4 231117 723.7 ns/op BenchmarkPallocBitsSummarize/Unpacked00-4 6630366 17.37 ns/op BenchmarkPallocBitsSummarize/UnpackedFFFFFFFFFFFFFFFF-4 2947428 42.82 ns/op BenchmarkPallocBitsSummarize/UnpackedAA-4 2202585 53.87 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAAAAAAAAAA-4 2083960 56.64 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000AAAAAAAA-4 1326133 90.37 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAA00000001-4 1210689 98.19 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBBBBBBBBBB-4 1995334 59.80 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000BBBBBBBB-4 1282790 92.81 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBB00000001-4 1314702 90.17 ns/op BenchmarkPallocBitsSummarize/UnpackedCCCCCCCCCCCCCCCC-4 1806037 65.65 ns/op BenchmarkPallocBitsSummarize/Unpacked4444444444444444-4 1814991 65.84 ns/op BenchmarkPallocBitsSummarize/Unpacked4040404040404040-4 1598612 74.28 ns/op BenchmarkPallocBitsSummarize/Unpacked4000400040004000-4 1430536 83.16 ns/op BenchmarkPallocBitsSummarize/Unpacked1000404044CCAAFF-4 1351909 88.30 ns/op BenchmarkFindBitRange64/Pattern00Size2-4 5526470 21.62 ns/op BenchmarkFindBitRange64/Pattern00Size8-4 6027392 19.94 ns/op BenchmarkFindBitRange64/Pattern00Size32-4 6020950 19.89 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize2-4 5805747 20.52 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize8-4 5424722 22.06 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize32-4 4966621 24.10 ns/op BenchmarkFindBitRange64/PatternAASize2-4 5851442 20.57 ns/op BenchmarkFindBitRange64/PatternAASize8-4 5973789 20.01 ns/op BenchmarkFindBitRange64/PatternAASize32-4 5983269 19.96 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize2-4 5821938 20.59 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize8-4 5993973 19.89 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize32-4 5963955 20.10 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize2-4 5828235 20.69 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize8-4 5993593 20.06 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize32-4 5959177 20.01 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size2-4 5795026 20.75 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size8-4 6004362 20.07 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size32-4 5927289 20.27 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize2-4 5797934 20.85 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize8-4 5654955 21.22 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize32-4 5496064 21.20 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize2-4 5812155 20.62 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize8-4 5643213 21.20 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize32-4 5639383 21.09 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size2-4 5837848 20.53 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size8-4 5591190 21.06 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size32-4 5685651 21.21 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize2-4 5865274 20.51 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize8-4 5657494 21.12 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize32-4 5567298 21.29 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size2-4 5832907 20.47 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size8-4 5946394 20.09 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size32-4 5997258 19.96 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size2-4 5862399 20.63 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size8-4 6002156 19.98 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size32-4 6038298 19.99 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size2-4 5796231 20.54 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size8-4 5944314 20.01 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size32-4 5964942 20.00 ns/op BenchmarkNetpollBreak-4 3790 30549 ns/op BenchmarkPinnerPinUnpinBatch-4 980 108835 ns/op BenchmarkPinnerPinUnpinBatchDouble-4 228 524104 ns/op BenchmarkPinnerPinUnpinBatchTiny-4 1060 115124 ns/op BenchmarkPinnerPinUnpin-4 1217950 99.53 ns/op BenchmarkPinnerPinUnpinTiny-4 1000000 108.8 ns/op BenchmarkPinnerPinUnpinDouble-4 451244 265.1 ns/op BenchmarkPinnerPinUnpinParallel-4 3599474 32.75 ns/op BenchmarkPinnerPinUnpinParallelTiny-4 3680305 32.50 ns/op BenchmarkPinnerPinUnpinParallelDouble-4 236318 560.1 ns/op BenchmarkPinnerIsPinnedOnPinned-4 5391421 21.55 ns/op BenchmarkPinnerIsPinnedOnUnpinned-4 5651985 20.42 ns/op BenchmarkPinnerIsPinnedOnPinnedParallel-4 8884183 12.56 ns/op BenchmarkPinnerIsPinnedOnUnpinnedParallel-4 7423477 13.77 ns/op BenchmarkPingPongHog-4 390 362806 ns/op BenchmarkStackGrowth-4 104217 1053 ns/op BenchmarkStackGrowthDeep-4 1113 113895 ns/op BenchmarkCreateGoroutines-4 47986 2547 ns/op BenchmarkCreateGoroutinesParallel-4 44544 2551 ns/op BenchmarkCreateGoroutinesCapture-4 6600 40085 ns/op 144 B/op 5 allocs/op BenchmarkCreateGoroutinesSingle-4 41101 3009 ns/op BenchmarkClosureCall-4 18250278 6.526 ns/op BenchmarkWakeupParallelSpinning/0s-4 6492 16968 ns/op BenchmarkWakeupParallelSpinning/1µs-4 4633 23281 ns/op BenchmarkWakeupParallelSpinning/2µs-4 4070 28132 ns/op BenchmarkWakeupParallelSpinning/5µs-4 3159 39550 ns/op BenchmarkWakeupParallelSpinning/10µs-4 1906 58054 ns/op BenchmarkWakeupParallelSpinning/20µs-4 1252 96410 ns/op BenchmarkWakeupParallelSpinning/50µs-4 645 201978 ns/op BenchmarkWakeupParallelSpinning/100µs-4 319 366382 ns/op BenchmarkWakeupParallelSyscall/0s-4 674 164795 ns/op BenchmarkWakeupParallelSyscall/1µs-4 716 167277 ns/op BenchmarkWakeupParallelSyscall/2µs-4 748 168763 ns/op BenchmarkWakeupParallelSyscall/5µs-4 681 172734 ns/op BenchmarkWakeupParallelSyscall/10µs-4 636 194132 ns/op BenchmarkWakeupParallelSyscall/20µs-4 566 203230 ns/op BenchmarkWakeupParallelSyscall/50µs-4 444 326716 ns/op BenchmarkWakeupParallelSyscall/100µs-4 312 379862 ns/op BenchmarkMatmult-4 3038588 35.73 ns/op BenchmarkFastrand-4 12705139 9.084 ns/op BenchmarkFastrand64-4 13298826 8.926 ns/op BenchmarkFastrandHashiter-4 4344159 32.96 ns/op BenchmarkFastrandn/2-4 5526432 21.53 ns/op BenchmarkFastrandn/3-4 5969120 20.29 ns/op BenchmarkFastrandn/4-4 5755681 20.51 ns/op BenchmarkFastrandn/5-4 5827533 20.53 ns/op BenchmarkIfaceCmp100-4 90470 1301 ns/op BenchmarkIfaceCmpNil100-4 152430 783.8 ns/op BenchmarkEfaceCmpDiff-4 35634 3340 ns/op BenchmarkEfaceCmpDiffIndirect-4 30969 3876 ns/op BenchmarkDefer-4 1678590 70.99 ns/op BenchmarkDefer10-4 816086 152.7 ns/op BenchmarkDeferMany-4 403666 585.3 ns/op BenchmarkPanicRecover-4 165772 691.8 ns/op BenchmarkGoroutineProfile/small-nil/idle-4 5554 23025 ns/op 22102 p50-ns 25903 p90-ns 39600 p99-ns BenchmarkGoroutineProfile/small-nil/loaded-4 4272 31668 ns/op 22195 p50-ns 29061 p90-ns 151267 p99-ns BenchmarkGoroutineProfile/small/idle-4 2367 49641 ns/op 46819 p50-ns 50966 p90-ns 84704 p99-ns BenchmarkGoroutineProfile/small/loaded-4 367 333279 ns/op 172619 p50-ns 334233 p90-ns 4420903 p99-ns BenchmarkGoroutineProfile/large-nil/idle-4 4512 23305 ns/op 22106 p50-ns 26167 p90-ns 52364 p99-ns BenchmarkGoroutineProfile/large-nil/loaded-4 5229 27117 ns/op 22092 p50-ns 28024 p90-ns 182566 p99-ns BenchmarkGoroutineProfile/large/idle-4 14 7532761 ns/op 7547673 p50-ns 7802140 p90-ns 8276194 p99-ns BenchmarkGoroutineProfile/large/loaded-4 12 13262380 ns/op 9462933 p50-ns 19023958 p90-ns 30199061 p99-ns BenchmarkGoroutineProfile/sparse-nil/idle-4 5406 23677 ns/op 22023 p50-ns 27414 p90-ns 53421 p99-ns BenchmarkGoroutineProfile/sparse-nil/loaded-4 4353 30459 ns/op 22194 p50-ns 33776 p90-ns 200516 p99-ns BenchmarkGoroutineProfile/sparse/idle-4 843 130888 ns/op 126957 p50-ns 138644 p90-ns 191177 p99-ns BenchmarkGoroutineProfile/sparse/loaded-4 255 470689 ns/op 268124 p50-ns 474452 p90-ns 4234159 p99-ns BenchmarkRWMutexUncontended-4 3092398 38.23 ns/op BenchmarkRWMutexWrite100-4 624600 200.6 ns/op BenchmarkRWMutexWrite10-4 144802 1232 ns/op BenchmarkRWMutexWorkWrite100-4 482346 247.3 ns/op BenchmarkRWMutexWorkWrite10-4 248088 1252 ns/op BenchmarkSemTable/OneAddrCollision/n=1000-4 1762 67396 ns/op BenchmarkSemTable/ManyAddrCollision/n=1000-4 774 134727 ns/op BenchmarkSemTable/OneAddrCollision/n=2000-4 824 132466 ns/op BenchmarkSemTable/ManyAddrCollision/n=2000-4 432 284875 ns/op BenchmarkSemTable/OneAddrCollision/n=4000-4 439 270328 ns/op BenchmarkSemTable/ManyAddrCollision/n=4000-4 193 592652 ns/op BenchmarkSemTable/OneAddrCollision/n=8000-4 218 540443 ns/op BenchmarkSemTable/ManyAddrCollision/n=8000-4 94 1224174 ns/op BenchmarkMakeSliceCopy/mallocmove/Byte-4 266445 422.0 ns/op BenchmarkMakeSliceCopy/mallocmove/Int-4 305080 395.9 ns/op BenchmarkMakeSliceCopy/mallocmove/Ptr-4 277742 448.9 ns/op BenchmarkMakeSliceCopy/makecopy/Byte-4 268252 390.4 ns/op BenchmarkMakeSliceCopy/makecopy/Int-4 303608 408.7 ns/op BenchmarkMakeSliceCopy/makecopy/Ptr-4 263701 438.2 ns/op BenchmarkMakeSliceCopy/nilappend/Byte-4 261890 396.1 ns/op BenchmarkMakeSliceCopy/nilappend/Int-4 271304 390.6 ns/op BenchmarkMakeSliceCopy/nilappend/Ptr-4 265182 445.9 ns/op BenchmarkMakeSlice/Byte-4 1859116 63.94 ns/op BenchmarkMakeSlice/Int16-4 1835460 63.56 ns/op BenchmarkMakeSlice/Int-4 1489342 80.05 ns/op BenchmarkMakeSlice/Ptr-4 1127538 104.3 ns/op BenchmarkMakeSlice/Struct/24-4 840333 129.2 ns/op BenchmarkMakeSlice/Struct/32-4 905500 138.6 ns/op BenchmarkMakeSlice/Struct/40-4 582390 176.0 ns/op BenchmarkGrowSlice/Byte-4 837397 159.4 ns/op BenchmarkGrowSlice/Int16-4 682702 175.0 ns/op BenchmarkGrowSlice/Int-4 536083 219.9 ns/op BenchmarkGrowSlice/Ptr-4 438495 264.9 ns/op BenchmarkGrowSlice/Struct/24-4 275636 374.3 ns/op BenchmarkGrowSlice/Struct/32-4 283338 487.4 ns/op BenchmarkGrowSlice/Struct/40-4 217796 582.6 ns/op BenchmarkExtendSlice/IntSlice-4 465738 261.4 ns/op BenchmarkExtendSlice/PointerSlice-4 385346 326.9 ns/op BenchmarkExtendSlice/NoGrow-4 882783 152.2 ns/op BenchmarkAppend-4 675998 157.4 ns/op BenchmarkAppendGrowByte-4 3 35675770 ns/op BenchmarkAppendGrowString-4 1 436301184 ns/op BenchmarkAppendSlice/1Bytes-4 1975490 61.10 ns/op BenchmarkAppendSlice/4Bytes-4 1849766 60.40 ns/op BenchmarkAppendSlice/7Bytes-4 1815522 65.66 ns/op BenchmarkAppendSlice/8Bytes-4 1842805 61.27 ns/op BenchmarkAppendSlice/15Bytes-4 1715066 68.79 ns/op BenchmarkAppendSlice/16Bytes-4 1859216 64.22 ns/op BenchmarkAppendSlice/32Bytes-4 1868733 64.50 ns/op BenchmarkAppendSliceLarge/1024Bytes-4 79725 1391 ns/op BenchmarkAppendSliceLarge/4096Bytes-4 25935 4804 ns/op BenchmarkAppendSliceLarge/16384Bytes-4 5892 18398 ns/op BenchmarkAppendSliceLarge/65536Bytes-4 1375 73394 ns/op BenchmarkAppendSliceLarge/262144Bytes-4 80 1369740 ns/op BenchmarkAppendSliceLarge/1048576Bytes-4 19 6158108 ns/op BenchmarkAppendStr/1Bytes-4 1460116 84.22 ns/op BenchmarkAppendStr/4Bytes-4 1458382 82.27 ns/op BenchmarkAppendStr/8Bytes-4 1406924 83.27 ns/op BenchmarkAppendStr/16Bytes-4 1382540 83.92 ns/op BenchmarkAppendStr/32Bytes-4 1407333 84.87 ns/op BenchmarkAppendSpecialCase-4 725570 162.0 ns/op BenchmarkCopy/1Byte-4 2004261 59.40 ns/op 16.83 MB/s BenchmarkCopy/1String-4 2004370 60.60 ns/op 16.50 MB/s BenchmarkCopy/2Byte-4 1904553 61.74 ns/op 32.39 MB/s BenchmarkCopy/2String-4 1994761 60.25 ns/op 33.19 MB/s BenchmarkCopy/4Byte-4 1901332 59.81 ns/op 66.88 MB/s BenchmarkCopy/4String-4 2040685 59.23 ns/op 67.53 MB/s BenchmarkCopy/8Byte-4 2002975 58.46 ns/op 136.85 MB/s BenchmarkCopy/8String-4 2043789 60.77 ns/op 131.64 MB/s BenchmarkCopy/12Byte-4 1813723 64.00 ns/op 187.49 MB/s BenchmarkCopy/12String-4 1866170 64.06 ns/op 187.32 MB/s BenchmarkCopy/16Byte-4 1949688 59.73 ns/op 267.86 MB/s BenchmarkCopy/16String-4 1968487 62.41 ns/op 256.36 MB/s BenchmarkCopy/32Byte-4 1899661 63.98 ns/op 500.12 MB/s BenchmarkCopy/32String-4 1787346 66.42 ns/op 481.80 MB/s BenchmarkCopy/128Byte-4 1431579 97.63 ns/op 1311.05 MB/s BenchmarkCopy/128String-4 1333255 90.25 ns/op 1418.22 MB/s BenchmarkCopy/1024Byte-4 403849 286.4 ns/op 3575.51 MB/s BenchmarkCopy/1024String-4 349440 333.2 ns/op 3072.82 MB/s BenchmarkAppendInPlace/NoGrow/Byte-4 28677 4038 ns/op BenchmarkAppendInPlace/NoGrow/1Ptr-4 19701 6012 ns/op BenchmarkAppendInPlace/NoGrow/2Ptr-4 12835 9038 ns/op BenchmarkAppendInPlace/NoGrow/3Ptr-4 9748 11328 ns/op BenchmarkAppendInPlace/NoGrow/4Ptr-4 8322 15593 ns/op BenchmarkAppendInPlace/Grow/Byte-4 132954 884.1 ns/op BenchmarkAppendInPlace/Grow/1Ptr-4 138573 920.3 ns/op BenchmarkAppendInPlace/Grow/2Ptr-4 101013 1181 ns/op BenchmarkAppendInPlace/Grow/3Ptr-4 82177 1392 ns/op BenchmarkAppendInPlace/Grow/4Ptr-4 65260 1576 ns/op BenchmarkStackCopyPtr-4 1 192779779 ns/op BenchmarkStackCopy-4 1 108199611 ns/op BenchmarkStackCopyNoCache-4 21 5654891 ns/op BenchmarkStackCopyWithStkobj-4 1 131824790 ns/op BenchmarkIssue18138-4 675 224733 ns/op BenchmarkCompareStringEqual-4 10197871 11.60 ns/op BenchmarkCompareStringIdentical-4 14117274 8.171 ns/op BenchmarkCompareStringSameLength-4 11950600 10.09 ns/op BenchmarkCompareStringDifferentLength-4 17995096 6.571 ns/op BenchmarkCompareStringBigUnaligned-4 1291 92326 ns/op 11357.39 MB/s BenchmarkCompareStringBig-4 1398 77065 ns/op 13606.46 MB/s BenchmarkConcatStringAndBytes-4 2109727 56.48 ns/op BenchmarkSliceByteToString/1-4 2204158 56.42 ns/op BenchmarkSliceByteToString/2-4 1000000 108.7 ns/op BenchmarkSliceByteToString/4-4 1000000 107.3 ns/op BenchmarkSliceByteToString/8-4 1000000 106.2 ns/op BenchmarkSliceByteToString/16-4 1000000 117.5 ns/op BenchmarkSliceByteToString/32-4 980894 125.7 ns/op BenchmarkSliceByteToString/64-4 951976 156.0 ns/op BenchmarkSliceByteToString/128-4 794328 206.5 ns/op BenchmarkRuneCount/lenruneslice/ASCII-4 2128988 55.60 ns/op BenchmarkRuneCount/lenruneslice/Japanese-4 893212 134.7 ns/op BenchmarkRuneCount/lenruneslice/MixedLength-4 958654 120.8 ns/op BenchmarkRuneCount/rangeloop/ASCII-4 3215511 37.22 ns/op BenchmarkRuneCount/rangeloop/Japanese-4 1588986 75.39 ns/op BenchmarkRuneCount/rangeloop/MixedLength-4 1744926 68.52 ns/op BenchmarkRuneCount/utf8.RuneCountInString/ASCII-4 2074726 57.10 ns/op BenchmarkRuneCount/utf8.RuneCountInString/Japanese-4 443280 266.0 ns/op BenchmarkRuneCount/utf8.RuneCountInString/MixedLength-4 497196 221.0 ns/op BenchmarkRuneIterate/range/ASCII-4 5612800 20.45 ns/op BenchmarkRuneIterate/range/Japanese-4 1980127 59.45 ns/op BenchmarkRuneIterate/range/MixedLength-4 2236377 52.85 ns/op BenchmarkRuneIterate/range1/ASCII-4 5625967 20.46 ns/op BenchmarkRuneIterate/range1/Japanese-4 1964144 59.32 ns/op BenchmarkRuneIterate/range1/MixedLength-4 2225712 53.91 ns/op BenchmarkRuneIterate/range2/ASCII-4 5695171 20.39 ns/op BenchmarkRuneIterate/range2/Japanese-4 1982778 59.71 ns/op BenchmarkRuneIterate/range2/MixedLength-4 2199246 55.00 ns/op BenchmarkArrayEqual-4 16975430 6.943 ns/op BenchmarkFunc/Name-4 2815282 42.77 ns/op BenchmarkFunc/Entry-4 9967856 11.94 ns/op BenchmarkFunc/FileLine-4 1554054 77.16 ns/op PASS ok runtime 151.352s goos: linux goarch: amd64 pkg: runtime/cgo cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHandle/non-concurrent-4 26049 4677 ns/op BenchmarkHandle/concurrent-4 13501 8344 ns/op PASS ok runtime/cgo 1.481s goos: linux goarch: amd64 pkg: runtime/internal/atomic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAtomicLoad64-4 19364289 6.183 ns/op BenchmarkAtomicStore64-4 9914190 11.96 ns/op BenchmarkAtomicLoad-4 19179417 6.162 ns/op BenchmarkAtomicStore-4 9995425 12.00 ns/op BenchmarkAnd8-4 10022816 12.00 ns/op BenchmarkAnd-4 9957511 11.97 ns/op BenchmarkAnd8Parallel-4 4145078 35.98 ns/op BenchmarkAndParallel-4 4615738 37.29 ns/op BenchmarkOr8-4 9941445 12.04 ns/op BenchmarkOr-4 9993964 11.98 ns/op BenchmarkOr8Parallel-4 3388508 45.88 ns/op BenchmarkOrParallel-4 4015255 38.42 ns/op BenchmarkXadd-4 3541464 46.71 ns/op BenchmarkXadd64-4 3332538 40.84 ns/op BenchmarkCas-4 2943507 47.45 ns/op BenchmarkCas64-4 2478294 50.94 ns/op BenchmarkXchg-4 2965864 47.15 ns/op BenchmarkXchg64-4 2477262 47.90 ns/op PASS ok runtime/internal/atomic 3.945s goos: linux goarch: amd64 pkg: runtime/internal/math cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMulUintptr/small-4 4013764 27.77 ns/op BenchmarkMulUintptr/large-4 3375104 36.22 ns/op PASS ok runtime/internal/math 1.326s goos: linux goarch: amd64 pkg: runtime/pprof cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkGoroutine/Profile.WriteTo_idle_50-4 18 6554387 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_50-4 14 9921432 ns/op 723.2 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_50-4 793 134246 ns/op 5.095 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_500-4 8 13958918 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_500-4 6 21579594 ns/op 1358 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_500-4 153 883104 ns/op 52.46 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_5000-4 2 83657198 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_5000-4 1 112797380 ns/op 7976 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_5000-4 12 9005168 ns/op 559.7 concurrent_launches/op PASS ok runtime/pprof 2.857s goos: linux goarch: amd64 pkg: runtime/race cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSyncLeak-4 32 3477249 ns/op BenchmarkStackLeak-4 17718 5922 ns/op PASS ok runtime/race 1.450s goos: linux goarch: amd64 pkg: runtime/trace cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStartRegion-4 4292985 26.90 ns/op 0 B/op 0 allocs/op BenchmarkNewTask-4 206368 546.6 ns/op 64 B/op 2 allocs/op PASS ok runtime/trace 1.393s goos: linux goarch: amd64 pkg: slices cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEqualFunc_Large-4 26 4334613 ns/op BenchmarkIndex_Large-4 15967 7918 ns/op BenchmarkIndexFunc_Large-4 111 1124052 ns/op BenchmarkCompact/nil-4 7146709 17.14 ns/op BenchmarkCompact/one-4 1849434 64.78 ns/op BenchmarkCompact/sorted-4 1203122 98.53 ns/op BenchmarkCompact/1_item-4 1000000 111.7 ns/op BenchmarkCompact/unsorted-4 1208972 99.75 ns/op BenchmarkCompact/many-4 672800 173.8 ns/op BenchmarkCompact_Large-4 774 154973 ns/op BenchmarkCompactFunc_Large-4 50 2046945 ns/op BenchmarkReplace/naive-fast-4 90542 1317 ns/op BenchmarkReplace/optimized-fast-4 101572 1151 ns/op BenchmarkReplace/naive-slow-4 35572 3499 ns/op BenchmarkReplace/optimized-slow-4 42321 2773 ns/op BenchmarkSortInts-4 2 93198878 ns/op BenchmarkSlicesSortInts-4 2 61251772 ns/op BenchmarkSlicesSortInts_Sorted-4 56 2106144 ns/op BenchmarkSlicesSortInts_Reversed-4 36 3302460 ns/op BenchmarkSortStrings-4 1 140703784 ns/op BenchmarkSlicesSortStrings-4 2 94534748 ns/op BenchmarkSortStructs-4 1 158452702 ns/op BenchmarkSortFuncStructs-4 1 143548756 ns/op BenchmarkBinarySearchFloats/Size16-4 1210528 99.89 ns/op BenchmarkBinarySearchFloats/Size32-4 1000000 113.3 ns/op BenchmarkBinarySearchFloats/Size64-4 919417 128.4 ns/op BenchmarkBinarySearchFloats/Size128-4 781539 152.3 ns/op BenchmarkBinarySearchFloats/Size512-4 620606 180.9 ns/op BenchmarkBinarySearchFloats/Size1024-4 560288 194.1 ns/op BenchmarkBinarySearchFuncStruct/Size16-4 556297 195.9 ns/op BenchmarkBinarySearchFuncStruct/Size32-4 478713 240.6 ns/op BenchmarkBinarySearchFuncStruct/Size64-4 426412 274.6 ns/op BenchmarkBinarySearchFuncStruct/Size128-4 382828 308.4 ns/op BenchmarkBinarySearchFuncStruct/Size512-4 316939 376.3 ns/op BenchmarkBinarySearchFuncStruct/Size1024-4 291278 410.1 ns/op PASS ok slices 19.313s goos: linux goarch: amd64 pkg: sort cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSearchWrappers-4 183315 655.0 ns/op BenchmarkSortString1K-4 170 657173 ns/op BenchmarkSortString1K_Slice-4 210 572529 ns/op BenchmarkStableString1K-4 92 1089975 ns/op BenchmarkSortInt1K-4 222 539768 ns/op BenchmarkSortInt1K_Sorted-4 3219 43512 ns/op BenchmarkSortInt1K_Reversed-4 1992 91643 ns/op BenchmarkSortInt1K_Mod8-4 452 236373 ns/op BenchmarkStableInt1K-4 147 874307 ns/op BenchmarkStableInt1K_Slice-4 166 716510 ns/op BenchmarkSortInt64K-4 2 52367392 ns/op BenchmarkSortInt64K_Slice-4 3 45143231 ns/op BenchmarkStableInt64K-4 2 71971230 ns/op BenchmarkSort1e2-4 481 268873 ns/op BenchmarkStable1e2-4 174 693195 ns/op BenchmarkSort1e4-4 2 51253192 ns/op BenchmarkStable1e4-4 1 226514683 ns/op PASS ok sort 5.054s goos: linux goarch: amd64 pkg: strconv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAtof64Decimal-4 845174 138.0 ns/op BenchmarkAtof64Float-4 615214 163.4 ns/op BenchmarkAtof64FloatExp-4 613380 189.2 ns/op BenchmarkAtof64Big-4 443386 263.0 ns/op BenchmarkAtof64RandomBits-4 155424 774.4 ns/op BenchmarkAtof64RandomFloats-4 447646 257.7 ns/op BenchmarkAtof64RandomLongFloats-4 241855 500.8 ns/op BenchmarkAtof32Decimal-4 866408 136.7 ns/op BenchmarkAtof32Float-4 752856 157.6 ns/op BenchmarkAtof32FloatExp-4 633316 187.5 ns/op BenchmarkAtof32Random-4 375546 315.0 ns/op BenchmarkAtof32RandomLong-4 153897 764.3 ns/op BenchmarkParseInt/Pos/7bit-4 1348990 88.55 ns/op BenchmarkParseInt/Pos/26bit-4 612913 184.6 ns/op BenchmarkParseInt/Pos/31bit-4 577231 202.0 ns/op BenchmarkParseInt/Pos/56bit-4 387668 304.8 ns/op BenchmarkParseInt/Pos/63bit-4 344290 326.3 ns/op BenchmarkParseInt/Neg/7bit-4 1341946 88.96 ns/op BenchmarkParseInt/Neg/26bit-4 638811 182.4 ns/op BenchmarkParseInt/Neg/31bit-4 573307 204.0 ns/op BenchmarkParseInt/Neg/56bit-4 391761 302.2 ns/op BenchmarkParseInt/Neg/63bit-4 362524 321.5 ns/op BenchmarkAtoi/Pos/7bit-4 1976592 62.08 ns/op BenchmarkAtoi/Pos/26bit-4 841622 133.6 ns/op BenchmarkAtoi/Pos/31bit-4 771356 148.6 ns/op BenchmarkAtoi/Pos/56bit-4 450834 255.4 ns/op BenchmarkAtoi/Pos/63bit-4 326104 338.7 ns/op BenchmarkAtoi/Neg/7bit-4 2002818 60.77 ns/op BenchmarkAtoi/Neg/26bit-4 824444 134.2 ns/op BenchmarkAtoi/Neg/31bit-4 767716 148.7 ns/op BenchmarkAtoi/Neg/56bit-4 464961 251.3 ns/op BenchmarkAtoi/Neg/63bit-4 326210 339.5 ns/op BenchmarkFormatFloat/Decimal-4 113104 1113 ns/op BenchmarkFormatFloat/Float-4 102991 1164 ns/op BenchmarkFormatFloat/Exp-4 115746 1075 ns/op BenchmarkFormatFloat/NegExp-4 111343 1071 ns/op BenchmarkFormatFloat/LongExp-4 88238 1305 ns/op BenchmarkFormatFloat/Big-4 90830 1322 ns/op BenchmarkFormatFloat/BinaryExp-4 204529 586.9 ns/op BenchmarkFormatFloat/32Integer-4 110634 1082 ns/op BenchmarkFormatFloat/32ExactFraction-4 115263 1065 ns/op BenchmarkFormatFloat/32Point-4 105006 1119 ns/op BenchmarkFormatFloat/32Exp-4 116974 1044 ns/op BenchmarkFormatFloat/32NegExp-4 118998 1031 ns/op BenchmarkFormatFloat/32Shortest-4 121600 994.8 ns/op BenchmarkFormatFloat/32Fixed8Hard-4 135127 881.6 ns/op BenchmarkFormatFloat/32Fixed9Hard-4 126454 961.5 ns/op BenchmarkFormatFloat/64Fixed1-4 148405 793.1 ns/op BenchmarkFormatFloat/64Fixed2-4 146682 808.1 ns/op BenchmarkFormatFloat/64Fixed3-4 151302 784.1 ns/op BenchmarkFormatFloat/64Fixed4-4 152904 809.4 ns/op BenchmarkFormatFloat/64Fixed12-4 85524 1392 ns/op BenchmarkFormatFloat/64Fixed16-4 109015 1104 ns/op BenchmarkFormatFloat/64Fixed12Hard-4 110157 1061 ns/op BenchmarkFormatFloat/64Fixed17Hard-4 101883 1189 ns/op BenchmarkFormatFloat/64Fixed18Hard-4 2400 48151 ns/op BenchmarkFormatFloat/Slowpath64-4 94952 1276 ns/op BenchmarkFormatFloat/SlowpathDenormal64-4 93514 1270 ns/op BenchmarkAppendFloat/Decimal-4 140283 839.2 ns/op BenchmarkAppendFloat/Float-4 121849 969.1 ns/op BenchmarkAppendFloat/Exp-4 138226 858.6 ns/op BenchmarkAppendFloat/NegExp-4 139886 855.0 ns/op BenchmarkAppendFloat/LongExp-4 111436 1061 ns/op BenchmarkAppendFloat/Big-4 108974 1097 ns/op BenchmarkAppendFloat/BinaryExp-4 326865 360.3 ns/op BenchmarkAppendFloat/32Integer-4 141766 843.3 ns/op BenchmarkAppendFloat/32ExactFraction-4 139044 848.8 ns/op BenchmarkAppendFloat/32Point-4 132822 898.1 ns/op BenchmarkAppendFloat/32Exp-4 138511 846.4 ns/op BenchmarkAppendFloat/32NegExp-4 143226 833.7 ns/op BenchmarkAppendFloat/32Shortest-4 157879 747.1 ns/op BenchmarkAppendFloat/32Fixed8Hard-4 177344 676.1 ns/op BenchmarkAppendFloat/32Fixed9Hard-4 169906 699.6 ns/op BenchmarkAppendFloat/64Fixed1-4 195225 614.9 ns/op BenchmarkAppendFloat/64Fixed2-4 197346 609.8 ns/op BenchmarkAppendFloat/64Fixed3-4 197043 615.8 ns/op BenchmarkAppendFloat/64Fixed4-4 192919 609.8 ns/op BenchmarkAppendFloat/64Fixed12-4 104583 1132 ns/op BenchmarkAppendFloat/64Fixed16-4 135008 873.5 ns/op BenchmarkAppendFloat/64Fixed12Hard-4 145102 805.6 ns/op BenchmarkAppendFloat/64Fixed17Hard-4 124356 953.0 ns/op BenchmarkAppendFloat/64Fixed18Hard-4 2439 48139 ns/op BenchmarkAppendFloat/Slowpath64-4 113737 1051 ns/op BenchmarkAppendFloat/SlowpathDenormal64-4 114692 1029 ns/op BenchmarkFormatInt-4 14100 8001 ns/op BenchmarkAppendInt-4 17194 7123 ns/op BenchmarkFormatUint-4 78931 1424 ns/op BenchmarkAppendUint-4 93345 1273 ns/op BenchmarkFormatIntSmall/7-4 2838594 42.15 ns/op BenchmarkFormatIntSmall/42-4 2909361 41.27 ns/op BenchmarkAppendIntSmall-4 1470909 82.61 ns/op BenchmarkAppendUintVarlen/1-4 1427967 83.98 ns/op BenchmarkAppendUintVarlen/12-4 1388955 86.80 ns/op BenchmarkAppendUintVarlen/123-4 938666 117.2 ns/op BenchmarkAppendUintVarlen/1234-4 905709 118.3 ns/op BenchmarkAppendUintVarlen/12345-4 927316 120.3 ns/op BenchmarkAppendUintVarlen/123456-4 917275 122.2 ns/op BenchmarkAppendUintVarlen/1234567-4 913663 123.3 ns/op BenchmarkAppendUintVarlen/12345678-4 887101 121.2 ns/op BenchmarkAppendUintVarlen/123456789-4 914725 127.1 ns/op BenchmarkAppendUintVarlen/1234567890-4 886765 131.0 ns/op BenchmarkAppendUintVarlen/12345678901-4 897691 129.7 ns/op BenchmarkAppendUintVarlen/123456789012-4 852249 140.9 ns/op BenchmarkAppendUintVarlen/1234567890123-4 847249 133.4 ns/op BenchmarkAppendUintVarlen/12345678901234-4 851779 133.8 ns/op BenchmarkAppendUintVarlen/123456789012345-4 872950 134.5 ns/op BenchmarkAppendUintVarlen/1234567890123456-4 871372 134.4 ns/op BenchmarkAppendUintVarlen/12345678901234567-4 836698 140.2 ns/op BenchmarkAppendUintVarlen/123456789012345678-4 799634 140.3 ns/op BenchmarkAppendUintVarlen/1234567890123456789-4 815308 142.8 ns/op BenchmarkAppendUintVarlen/12345678901234567890-4 812666 143.3 ns/op BenchmarkQuote-4 46098 2548 ns/op BenchmarkQuoteRune-4 459441 249.2 ns/op BenchmarkAppendQuote-4 57722 2050 ns/op BenchmarkAppendQuoteRune-4 842766 133.9 ns/op BenchmarkUnquoteEasy-4 1354604 88.38 ns/op BenchmarkUnquoteHard-4 48406 2354 ns/op PASS ok strconv 17.085s goos: linux goarch: amd64 pkg: strings cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkBuildString_Builder/1Write_NoGrow-4 433230 270.8 ns/op 48 B/op 1 allocs/op BenchmarkBuildString_Builder/3Write_NoGrow-4 135536 895.0 ns/op 336 B/op 3 allocs/op BenchmarkBuildString_Builder/3Write_Grow-4 184632 641.0 ns/op 112 B/op 1 allocs/op BenchmarkBuildString_ByteBuffer/1Write_NoGrow-4 257476 420.8 ns/op 112 B/op 2 allocs/op BenchmarkBuildString_ByteBuffer/3Write_NoGrow-4 82162 1304 ns/op 432 B/op 4 allocs/op BenchmarkBuildString_ByteBuffer/3Write_Grow-4 95781 1164 ns/op 336 B/op 3 allocs/op BenchmarkClone-4 632618 192.5 ns/op 48 B/op 1 allocs/op BenchmarkGenericNoMatch-4 20286 5893 ns/op BenchmarkGenericMatch1-4 2077 52151 ns/op BenchmarkGenericMatch2-4 433 273207 ns/op BenchmarkSingleMaxSkipping-4 8505 14092 ns/op 709.62 MB/s BenchmarkSingleLongSuffixFail-4 14911 8003 ns/op 125.20 MB/s BenchmarkSingleMatch-4 249 463001 ns/op 32.40 MB/s BenchmarkByteByteNoMatch-4 68138 1674 ns/op BenchmarkByteByteMatch-4 19359 6063 ns/op BenchmarkByteStringMatch-4 22950 4963 ns/op BenchmarkHTMLEscapeNew-4 73774 1579 ns/op BenchmarkHTMLEscapeOld-4 87836 1310 ns/op BenchmarkByteStringReplacerWriteString-4 1426 81091 ns/op BenchmarkByteReplacerWriteString-4 1602 72678 ns/op BenchmarkByteByteReplaces-4 3621 33076 ns/op BenchmarkByteByteMap-4 10000 11425 ns/op BenchmarkMap/identity/ASCII-4 601152 187.5 ns/op BenchmarkMap/identity/Greek-4 423116 275.5 ns/op BenchmarkMap/change/ASCII-4 38298 3092 ns/op BenchmarkMap/change/Greek-4 28677 4125 ns/op BenchmarkIndexRune-4 2084365 62.63 ns/op BenchmarkIndexRuneLongString-4 1624284 74.00 ns/op BenchmarkIndexRuneFastPath-4 4973718 23.96 ns/op BenchmarkIndex-4 4308206 24.76 ns/op BenchmarkLastIndex-4 4659606 24.47 ns/op BenchmarkIndexByte-4 11068015 10.71 ns/op BenchmarkToUpper/#00-4 3224583 38.09 ns/op BenchmarkToUpper/ONLYUPPER-4 2291860 51.13 ns/op BenchmarkToUpper/abc-4 329023 374.2 ns/op BenchmarkToUpper/AbC123-4 264967 464.6 ns/op BenchmarkToUpper/azAZ09_-4 286243 436.7 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 55183 2136 ns/op BenchmarkToUpper/RENAN_BASTOS_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 72410 1677 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 34014 3520 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 57946 2074 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 121611 974.6 ns/op BenchmarkToLower/#00-4 3236954 37.62 ns/op BenchmarkToLower/abc-4 2763549 41.83 ns/op BenchmarkToLower/AbC123-4 238227 515.1 ns/op BenchmarkToLower/azAZ09_-4 230859 513.5 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 101025 1196 ns/op BenchmarkToLower/renan_bastos_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 66836 1823 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 35475 3424 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 76785 1534 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 118968 994.7 ns/op BenchmarkMapNoChanges-4 786848 148.2 ns/op BenchmarkTrim-4 37423 3201 ns/op 0 B/op 0 allocs/op BenchmarkToValidUTF8/Valid-4 3019268 39.03 ns/op BenchmarkToValidUTF8/InvalidASCII-4 199204 608.1 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 127795 905.8 ns/op BenchmarkEqualFold/Tests-4 53193 2252 ns/op BenchmarkEqualFold/ASCII-4 3310436 36.20 ns/op BenchmarkEqualFold/UnicodePrefix-4 110695 1078 ns/op BenchmarkEqualFold/UnicodeSuffix-4 115441 1025 ns/op BenchmarkIndexHard1-4 871 137318 ns/op BenchmarkIndexHard2-4 625 193219 ns/op BenchmarkIndexHard3-4 152 781225 ns/op BenchmarkIndexHard4-4 132 906683 ns/op BenchmarkLastIndexHard1-4 61 1920876 ns/op BenchmarkLastIndexHard2-4 62 1916508 ns/op BenchmarkLastIndexHard3-4 62 1918706 ns/op BenchmarkCountHard1-4 858 137334 ns/op BenchmarkCountHard2-4 624 191535 ns/op BenchmarkCountHard3-4 152 782765 ns/op BenchmarkIndexTorture-4 7980 14978 ns/op BenchmarkCountTorture-4 7897 15067 ns/op BenchmarkCountTortureOverlapping-4 698 155249 ns/op BenchmarkCountByte/10-4 4676272 24.59 ns/op 406.71 MB/s BenchmarkCountByte/32-4 4470165 26.39 ns/op 1212.78 MB/s BenchmarkCountByte/4096-4 798790 151.3 ns/op 27070.10 MB/s BenchmarkCountByte/4194304-4 723 164136 ns/op 25553.80 MB/s BenchmarkCountByte/67108864-4 16 6597927 ns/op 10171.20 MB/s BenchmarkFields/ASCII/16-4 293504 399.9 ns/op 40.01 MB/s 16 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 21618 5406 ns/op 47.35 MB/s 288 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 1316 88647 ns/op 46.21 MB/s 6144 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 64 1792762 ns/op 36.56 MB/s 98304 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 4 28368132 ns/op 36.96 MB/s 1507328 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 138970 822.4 ns/op 19.45 MB/s 32 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 10615 11048 ns/op 23.17 MB/s 448 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 585 196839 ns/op 20.81 MB/s 21504 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 24 4293951 ns/op 15.26 MB/s 463104 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 2 93028368 ns/op 11.27 MB/s 10449152 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 238808 498.5 ns/op 32.10 MB/s 16 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 19784 5893 ns/op 43.44 MB/s 288 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 924 121089 ns/op 33.83 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 37 3105178 ns/op 21.11 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 71729368 ns/op 14.62 MB/s 10449152 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 171316 629.5 ns/op 25.42 MB/s 32 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 13444 8498 ns/op 30.12 MB/s 448 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 752 157772 ns/op 25.96 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 31 3629041 ns/op 18.06 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 2 83022712 ns/op 12.63 MB/s 10449200 B/op 24 allocs/op BenchmarkSplitEmptySeparator-4 1 121384458 ns/op BenchmarkSplitSingleByteSeparator-4 13 8833325 ns/op BenchmarkSplitMultiByteSeparator-4 27 3997387 ns/op BenchmarkSplitNSingleByteSeparator-4 227870 507.5 ns/op BenchmarkSplitNMultiByteSeparator-4 152941 700.8 ns/op BenchmarkRepeat/5x0-4 3632809 33.59 ns/op BenchmarkRepeat/5x1-4 3479319 32.91 ns/op BenchmarkRepeat/5x2-4 274128 450.8 ns/op BenchmarkRepeat/5x6-4 153699 743.5 ns/op BenchmarkRepeat/10x0-4 3563868 33.14 ns/op BenchmarkRepeat/10x1-4 3442960 33.09 ns/op BenchmarkRepeat/10x2-4 263551 461.7 ns/op BenchmarkRepeat/10x6-4 149996 755.7 ns/op BenchmarkRepeatLarge/256/1-4 71898 1516 ns/op 168.91 MB/s BenchmarkRepeatLarge/256/16-4 103748 995.6 ns/op 257.12 MB/s BenchmarkRepeatLarge/512/1-4 52424 1974 ns/op 259.37 MB/s BenchmarkRepeatLarge/512/16-4 79057 1335 ns/op 383.63 MB/s BenchmarkRepeatLarge/1024/1-4 42598 2549 ns/op 401.69 MB/s BenchmarkRepeatLarge/1024/16-4 57450 1945 ns/op 526.47 MB/s BenchmarkRepeatLarge/2048/1-4 30861 3521 ns/op 581.71 MB/s BenchmarkRepeatLarge/2048/16-4 39720 2837 ns/op 721.98 MB/s BenchmarkRepeatLarge/4096/1-4 23025 4985 ns/op 821.72 MB/s BenchmarkRepeatLarge/4096/16-4 26296 4630 ns/op 884.60 MB/s BenchmarkRepeatLarge/8192/1-4 14500 7753 ns/op 1056.66 MB/s BenchmarkRepeatLarge/8192/16-4 14301 7544 ns/op 1085.83 MB/s BenchmarkRepeatLarge/8192/4097-4 5728838 20.40 ns/op 200848.60 MB/s BenchmarkRepeatLarge/16384/1-4 7849 14282 ns/op 1147.21 MB/s BenchmarkRepeatLarge/16384/16-4 7692 13286 ns/op 1233.17 MB/s BenchmarkRepeatLarge/16384/4097-4 12801 9822 ns/op 1251.41 MB/s BenchmarkRepeatLarge/32768/1-4 4608 24732 ns/op 1324.91 MB/s BenchmarkRepeatLarge/32768/16-4 4710 26115 ns/op 1254.75 MB/s BenchmarkRepeatLarge/32768/4097-4 5072 23084 ns/op 1242.36 MB/s BenchmarkRepeatLarge/65536/1-4 2324 49361 ns/op 1327.70 MB/s BenchmarkRepeatLarge/65536/16-4 2524 50692 ns/op 1292.82 MB/s BenchmarkRepeatLarge/65536/4097-4 2144 54623 ns/op 1125.07 MB/s BenchmarkRepeatLarge/131072/1-4 181 635914 ns/op 206.12 MB/s BenchmarkRepeatLarge/131072/16-4 182 623568 ns/op 210.20 MB/s BenchmarkRepeatLarge/131072/4097-4 187 622183 ns/op 204.13 MB/s BenchmarkRepeatLarge/262144/1-4 100 1245493 ns/op 210.47 MB/s BenchmarkRepeatLarge/262144/16-4 100 1253391 ns/op 209.15 MB/s BenchmarkRepeatLarge/262144/4097-4 88 1250974 ns/op 206.33 MB/s BenchmarkRepeatLarge/524288/1-4 54 2472453 ns/op 212.05 MB/s BenchmarkRepeatLarge/524288/16-4 55 2433031 ns/op 215.49 MB/s BenchmarkRepeatLarge/524288/4097-4 54 2516894 ns/op 206.73 MB/s BenchmarkRepeatLarge/1048576/1-4 26 4763689 ns/op 220.12 MB/s BenchmarkRepeatLarge/1048576/16-4 26 4669266 ns/op 224.57 MB/s BenchmarkRepeatLarge/1048576/4097-4 27 4808076 ns/op 217.29 MB/s BenchmarkRepeatLarge/2097152/1-4 13 8766983 ns/op 239.21 MB/s BenchmarkRepeatLarge/2097152/16-4 12 8967441 ns/op 233.86 MB/s BenchmarkRepeatLarge/2097152/4097-4 13 9066384 ns/op 230.92 MB/s BenchmarkRepeatLarge/4194304/1-4 6 17666616 ns/op 237.41 MB/s BenchmarkRepeatLarge/4194304/16-4 6 18008500 ns/op 232.91 MB/s BenchmarkRepeatLarge/4194304/4097-4 6 17962131 ns/op 233.34 MB/s BenchmarkRepeatLarge/8388608/1-4 3 36787602 ns/op 228.03 MB/s BenchmarkRepeatLarge/8388608/16-4 3 36171472 ns/op 231.91 MB/s BenchmarkRepeatLarge/8388608/4097-4 3 35751463 ns/op 234.58 MB/s BenchmarkRepeatLarge/16777216/1-4 2 70851846 ns/op 236.79 MB/s BenchmarkRepeatLarge/16777216/16-4 2 69500710 ns/op 241.40 MB/s BenchmarkRepeatLarge/16777216/4097-4 2 70669418 ns/op 237.40 MB/s BenchmarkRepeatLarge/33554432/1-4 1 141338738 ns/op 237.40 MB/s BenchmarkRepeatLarge/33554432/16-4 1 141559373 ns/op 237.03 MB/s BenchmarkRepeatLarge/33554432/4097-4 1 140474625 ns/op 238.86 MB/s BenchmarkRepeatLarge/67108864/1-4 1 290701883 ns/op 230.85 MB/s BenchmarkRepeatLarge/67108864/16-4 1 280559398 ns/op 239.20 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 277816916 ns/op 241.56 MB/s BenchmarkRepeatLarge/134217728/1-4 1 532179880 ns/op 252.20 MB/s BenchmarkRepeatLarge/134217728/16-4 1 539979714 ns/op 248.56 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 543317674 ns/op 247.03 MB/s BenchmarkRepeatLarge/268435456/1-4 1 1063805341 ns/op 252.34 MB/s BenchmarkRepeatLarge/268435456/16-4 1 1120416476 ns/op 239.59 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 1089260352 ns/op 246.44 MB/s BenchmarkRepeatLarge/536870912/1-4 1 2163916866 ns/op 248.10 MB/s BenchmarkRepeatLarge/536870912/16-4 1 2218299425 ns/op 242.02 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 2228630211 ns/op 240.90 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 4342419620 ns/op 247.27 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 4378774944 ns/op 245.22 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 4453950124 ns/op 241.08 MB/s BenchmarkIndexAnyASCII/1:1-4 2260702 51.82 ns/op BenchmarkIndexAnyASCII/1:2-4 2178008 53.57 ns/op BenchmarkIndexAnyASCII/1:4-4 2182914 53.49 ns/op BenchmarkIndexAnyASCII/1:8-4 2157516 53.96 ns/op BenchmarkIndexAnyASCII/1:16-4 2160666 54.41 ns/op BenchmarkIndexAnyASCII/1:32-4 2141572 54.62 ns/op BenchmarkIndexAnyASCII/1:64-4 2149662 54.64 ns/op BenchmarkIndexAnyASCII/16:1-4 2330998 50.80 ns/op BenchmarkIndexAnyASCII/16:2-4 728299 164.6 ns/op BenchmarkIndexAnyASCII/16:4-4 722188 167.0 ns/op BenchmarkIndexAnyASCII/16:8-4 699675 168.4 ns/op BenchmarkIndexAnyASCII/16:16-4 657810 177.9 ns/op BenchmarkIndexAnyASCII/16:32-4 572608 208.5 ns/op BenchmarkIndexAnyASCII/16:64-4 456418 258.5 ns/op BenchmarkIndexAnyASCII/256:1-4 2038947 57.08 ns/op BenchmarkIndexAnyASCII/256:2-4 64410 1829 ns/op BenchmarkIndexAnyASCII/256:4-4 65214 1841 ns/op BenchmarkIndexAnyASCII/256:8-4 65311 1839 ns/op BenchmarkIndexAnyASCII/256:16-4 64905 1859 ns/op BenchmarkIndexAnyASCII/256:32-4 63631 1879 ns/op BenchmarkIndexAnyASCII/256:64-4 62754 1936 ns/op BenchmarkIndexAnyUTF8/1:1-4 2353594 50.32 ns/op BenchmarkIndexAnyUTF8/1:2-4 2190937 53.80 ns/op BenchmarkIndexAnyUTF8/1:4-4 2165756 54.12 ns/op BenchmarkIndexAnyUTF8/1:8-4 2175487 54.27 ns/op BenchmarkIndexAnyUTF8/1:16-4 2191572 53.34 ns/op BenchmarkIndexAnyUTF8/1:32-4 2154955 54.46 ns/op BenchmarkIndexAnyUTF8/1:64-4 2170951 54.48 ns/op BenchmarkIndexAnyUTF8/16:1-4 1739496 68.83 ns/op BenchmarkIndexAnyUTF8/16:2-4 314781 361.6 ns/op BenchmarkIndexAnyUTF8/16:4-4 310914 367.4 ns/op BenchmarkIndexAnyUTF8/16:8-4 312609 361.3 ns/op BenchmarkIndexAnyUTF8/16:16-4 332782 347.9 ns/op BenchmarkIndexAnyUTF8/16:32-4 327523 361.7 ns/op BenchmarkIndexAnyUTF8/16:64-4 324606 361.8 ns/op BenchmarkIndexAnyUTF8/256:1-4 438784 262.0 ns/op BenchmarkIndexAnyUTF8/256:2-4 23763 5054 ns/op BenchmarkIndexAnyUTF8/256:4-4 23413 4990 ns/op BenchmarkIndexAnyUTF8/256:8-4 24063 4949 ns/op BenchmarkIndexAnyUTF8/256:16-4 25034 4821 ns/op BenchmarkIndexAnyUTF8/256:32-4 23551 5002 ns/op BenchmarkIndexAnyUTF8/256:64-4 23888 5026 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2182198 55.06 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2191597 52.45 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2226699 52.70 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2204550 52.42 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2214498 52.69 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2159473 53.74 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2161321 54.72 ns/op BenchmarkLastIndexAnyASCII/16:1-4 759421 160.8 ns/op BenchmarkLastIndexAnyASCII/16:2-4 749480 160.1 ns/op BenchmarkLastIndexAnyASCII/16:4-4 699072 161.6 ns/op BenchmarkLastIndexAnyASCII/16:8-4 717770 163.3 ns/op BenchmarkLastIndexAnyASCII/16:16-4 665382 171.8 ns/op BenchmarkLastIndexAnyASCII/16:32-4 593031 203.0 ns/op BenchmarkLastIndexAnyASCII/16:64-4 468192 253.9 ns/op BenchmarkLastIndexAnyASCII/256:1-4 68170 1757 ns/op BenchmarkLastIndexAnyASCII/256:2-4 68828 1748 ns/op BenchmarkLastIndexAnyASCII/256:4-4 67792 1741 ns/op BenchmarkLastIndexAnyASCII/256:8-4 68008 1742 ns/op BenchmarkLastIndexAnyASCII/256:16-4 68245 1787 ns/op BenchmarkLastIndexAnyASCII/256:32-4 67245 1779 ns/op BenchmarkLastIndexAnyASCII/256:64-4 65516 1829 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2205432 53.52 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2179849 52.34 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2230430 52.40 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2175495 52.18 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2216908 52.39 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2208218 52.98 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2199919 53.35 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 387973 297.6 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 194602 593.0 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 195985 596.8 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 197484 595.1 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 199707 587.7 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 196106 601.6 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 196540 605.9 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 31071 3862 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 13602 8766 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 13468 8713 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 13540 8803 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 13844 8850 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 13261 9018 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 13356 9155 ns/op BenchmarkTrimASCII/1:1-4 3163772 37.57 ns/op BenchmarkTrimASCII/1:2-4 2379230 48.37 ns/op BenchmarkTrimASCII/1:4-4 2261683 51.31 ns/op BenchmarkTrimASCII/1:8-4 2172367 54.64 ns/op BenchmarkTrimASCII/1:16-4 1840495 63.79 ns/op BenchmarkTrimASCII/16:1-4 2717410 44.49 ns/op BenchmarkTrimASCII/16:2-4 685366 161.7 ns/op BenchmarkTrimASCII/16:4-4 689878 163.2 ns/op BenchmarkTrimASCII/16:8-4 671600 165.2 ns/op BenchmarkTrimASCII/16:16-4 671666 177.9 ns/op BenchmarkTrimASCII/256:1-4 847160 141.2 ns/op BenchmarkTrimASCII/256:2-4 65584 1745 ns/op BenchmarkTrimASCII/256:4-4 67390 1742 ns/op BenchmarkTrimASCII/256:8-4 65671 1753 ns/op BenchmarkTrimASCII/256:16-4 65505 1819 ns/op BenchmarkTrimASCII/4096:1-4 66506 1541 ns/op BenchmarkTrimASCII/4096:2-4 4327 26985 ns/op BenchmarkTrimASCII/4096:4-4 4174 27154 ns/op BenchmarkTrimASCII/4096:8-4 4285 27180 ns/op BenchmarkTrimASCII/4096:16-4 4350 27407 ns/op BenchmarkTrimByte-4 4121068 28.37 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 13924 8585 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 13921 8699 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 1015 116422 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 2044 58203 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 4062 29158 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 7095 16047 ns/op BenchmarkJoin/0-4 5522876 21.00 ns/op 0 B/op 0 allocs/op BenchmarkJoin/1-4 4335534 26.99 ns/op 0 B/op 0 allocs/op BenchmarkJoin/2-4 198952 610.0 ns/op 16 B/op 1 allocs/op BenchmarkJoin/3-4 133327 839.5 ns/op 24 B/op 1 allocs/op BenchmarkJoin/4-4 104958 1179 ns/op 48 B/op 1 allocs/op BenchmarkJoin/5-4 82582 1436 ns/op 48 B/op 1 allocs/op BenchmarkJoin/6-4 71708 1695 ns/op 64 B/op 1 allocs/op BenchmarkJoin/7-4 61659 1951 ns/op 64 B/op 1 allocs/op BenchmarkTrimSpace/NoTrim-4 2646165 44.86 ns/op BenchmarkTrimSpace/ASCII-4 1527850 78.78 ns/op BenchmarkTrimSpace/SomeNonASCII-4 143395 788.3 ns/op BenchmarkTrimSpace/JustNonASCII-4 76476 1547 ns/op BenchmarkReplaceAll-4 127664 950.2 ns/op 16 B/op 1 allocs/op PASS ok strings 72.024s goos: linux goarch: amd64 pkg: sync cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCond1-4 51386 2084 ns/op BenchmarkCond2-4 19588 6780 ns/op BenchmarkCond4-4 15578 8133 ns/op BenchmarkCond8-4 8296 14439 ns/op BenchmarkCond16-4 3836 31322 ns/op BenchmarkCond32-4 1657 78320 ns/op BenchmarkLoadMostlyHits/*sync_test.DeepCopyMap-4 422307 249.0 ns/op BenchmarkLoadMostlyHits/*sync_test.RWMutexMap-4 333382 387.6 ns/op BenchmarkLoadMostlyHits/*sync.Map-4 586088 195.1 ns/op BenchmarkLoadMostlyMisses/*sync_test.DeepCopyMap-4 455924 224.1 ns/op BenchmarkLoadMostlyMisses/*sync_test.RWMutexMap-4 321858 405.7 ns/op BenchmarkLoadMostlyMisses/*sync.Map-4 596185 184.8 ns/op BenchmarkLoadOrStoreBalanced/*sync_test.RWMutexMap-4 74178 1964 ns/op BenchmarkLoadOrStoreBalanced/*sync.Map-4 69379 2323 ns/op BenchmarkLoadOrStoreUnique/*sync_test.RWMutexMap-4 49068 2533 ns/op BenchmarkLoadOrStoreUnique/*sync.Map-4 36823 3706 ns/op BenchmarkLoadOrStoreCollision/*sync_test.DeepCopyMap-4 558504 229.4 ns/op BenchmarkLoadOrStoreCollision/*sync_test.RWMutexMap-4 128236 1168 ns/op BenchmarkLoadOrStoreCollision/*sync.Map-4 528327 210.3 ns/op BenchmarkLoadAndDeleteBalanced/*sync_test.RWMutexMap-4 153585 989.7 ns/op BenchmarkLoadAndDeleteBalanced/*sync.Map-4 571993 209.7 ns/op BenchmarkLoadAndDeleteUnique/*sync_test.RWMutexMap-4 139189 796.5 ns/op BenchmarkLoadAndDeleteUnique/*sync.Map-4 1859874 58.31 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.DeepCopyMap-4 44180 2890 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.RWMutexMap-4 100238 1312 ns/op BenchmarkLoadAndDeleteCollision/*sync.Map-4 495344 295.3 ns/op BenchmarkRange/*sync_test.DeepCopyMap-4 8338 15093 ns/op BenchmarkRange/*sync_test.RWMutexMap-4 327 328205 ns/op BenchmarkRange/*sync.Map-4 1060 100031 ns/op BenchmarkAdversarialAlloc/*sync_test.DeepCopyMap-4 70563 1521 ns/op BenchmarkAdversarialAlloc/*sync_test.RWMutexMap-4 164407 623.9 ns/op BenchmarkAdversarialAlloc/*sync.Map-4 50305 2086 ns/op BenchmarkAdversarialDelete/*sync_test.DeepCopyMap-4 87528 1574 ns/op BenchmarkAdversarialDelete/*sync_test.RWMutexMap-4 250914 498.4 ns/op BenchmarkAdversarialDelete/*sync.Map-4 141166 956.7 ns/op BenchmarkDeleteCollision/*sync_test.DeepCopyMap-4 75751 1671 ns/op BenchmarkDeleteCollision/*sync_test.RWMutexMap-4 196486 924.1 ns/op BenchmarkDeleteCollision/*sync.Map-4 749211 194.1 ns/op BenchmarkSwapCollision/*sync_test.DeepCopyMap-4 43964 2320 ns/op BenchmarkSwapCollision/*sync_test.RWMutexMap-4 141686 853.9 ns/op BenchmarkSwapCollision/*sync.Map-4 77028 2125 ns/op BenchmarkSwapMostlyHits/*sync_test.DeepCopyMap-4 212 549354 ns/op BenchmarkSwapMostlyHits/*sync_test.RWMutexMap-4 91548 1230 ns/op BenchmarkSwapMostlyHits/*sync.Map-4 319030 371.5 ns/op BenchmarkSwapMostlyMisses/*sync_test.DeepCopyMap-4 17196 6254 ns/op BenchmarkSwapMostlyMisses/*sync_test.RWMutexMap-4 57399 1971 ns/op BenchmarkSwapMostlyMisses/*sync.Map-4 18211 7167 ns/op BenchmarkCompareAndSwapCollision/*sync_test.DeepCopyMap-4 291992 433.9 ns/op BenchmarkCompareAndSwapCollision/*sync_test.RWMutexMap-4 97275 1596 ns/op BenchmarkCompareAndSwapCollision/*sync.Map-4 157206 674.9 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.DeepCopyMap-4 1721179 71.07 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.RWMutexMap-4 169293 766.9 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync.Map-4 1988895 64.13 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.DeepCopyMap-4 520772 208.4 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.RWMutexMap-4 151124 786.4 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync.Map-4 427051 240.4 ns/op BenchmarkCompareAndSwapMostlyHits/*sync_test.RWMutexMap-4 83894 1343 ns/op BenchmarkCompareAndSwapMostlyHits/*sync.Map-4 274292 378.2 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.DeepCopyMap-4 415764 258.8 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.RWMutexMap-4 114478 1200 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync.Map-4 523054 216.2 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.DeepCopyMap-4 218084 498.6 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.RWMutexMap-4 106528 1498 ns/op BenchmarkCompareAndDeleteCollision/*sync.Map-4 175191 656.6 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync_test.RWMutexMap-4 41836 2641 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync.Map-4 180054 629.2 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.DeepCopyMap-4 354208 304.4 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.RWMutexMap-4 100836 1047 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync.Map-4 615626 187.2 ns/op BenchmarkUncontendedSemaphore-4 3480598 34.14 ns/op BenchmarkContendedSemaphore-4 2726064 53.23 ns/op BenchmarkMutexUncontended-4 904652 131.9 ns/op BenchmarkMutex-4 141969 928.9 ns/op BenchmarkMutexSlack-4 163984 976.6 ns/op BenchmarkMutexWork-4 128540 1103 ns/op BenchmarkMutexWorkSlack-4 95745 1131 ns/op BenchmarkMutexNoSpin-4 47901 2382 ns/op BenchmarkMutexSpin-4 39103 2965 ns/op BenchmarkOnce-4 702902 205.2 ns/op BenchmarkOnceFunc/v=Once-4 1217828 100.2 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Global-4 929409 121.3 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Local-4 983682 118.2 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Once-4 1000000 106.0 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Global-4 874395 133.7 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Local-4 862230 126.2 ns/op 0 B/op 0 allocs/op BenchmarkSemaUncontended-4 7198388 15.78 ns/op BenchmarkSemaSyntNonblock-4 1467300 87.30 ns/op BenchmarkSemaSyntBlock-4 1256215 101.4 ns/op BenchmarkSemaWorkNonblock-4 907659 125.5 ns/op BenchmarkSemaWorkBlock-4 939279 129.9 ns/op BenchmarkRWMutexUncontended-4 433798 275.6 ns/op BenchmarkRWMutexWrite100-4 292664 429.7 ns/op BenchmarkRWMutexWrite10-4 221248 546.0 ns/op BenchmarkRWMutexWorkWrite100-4 222229 592.7 ns/op BenchmarkRWMutexWorkWrite10-4 163004 720.3 ns/op BenchmarkWaitGroupUncontended-4 902376 122.5 ns/op BenchmarkWaitGroupAddDone-4 374005 311.8 ns/op BenchmarkWaitGroupAddDoneWork-4 406860 286.2 ns/op BenchmarkWaitGroupWait-4 4518417 25.40 ns/op BenchmarkWaitGroupWaitWork-4 3016335 39.95 ns/op BenchmarkWaitGroupActuallyWait-4 40990 2956 ns/op 32 B/op 2 allocs/op PASS ok sync 20.634s goos: linux goarch: amd64 pkg: sync/atomic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkValueRead-4 448400 250.0 ns/op PASS ok sync/atomic 1.135s PASS ok syscall 1.022s goos: linux goarch: amd64 pkg: testing cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkTBHelper-4 90147 1266 ns/op 0 B/op 0 allocs/op PASS ok testing 1.153s goos: linux goarch: amd64 pkg: text/tabwriter cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkTable/1x10/new-4 7694 14618 ns/op 1520 B/op 21 allocs/op BenchmarkTable/1x10/reuse-4 11760 10164 ns/op 0 B/op 0 allocs/op BenchmarkTable/1x1000/new-4 93 1204676 ns/op 129392 B/op 1025 allocs/op BenchmarkTable/1x1000/reuse-4 124 949884 ns/op 1043 B/op 8 allocs/op BenchmarkTable/1x100000/new-4 1 188341813 ns/op 19393008 B/op 100057 allocs/op BenchmarkTable/1x100000/reuse-4 1 183028965 ns/op 19393008 B/op 100057 allocs/op BenchmarkTable/10x10/new-4 1788 65167 ns/op 5056 B/op 31 allocs/op BenchmarkTable/10x10/reuse-4 2047 54597 ns/op 2 B/op 0 allocs/op BenchmarkTable/10x1000/new-4 19 5891928 ns/op 413573 B/op 1039 allocs/op BenchmarkTable/10x1000/reuse-4 19 5356823 ns/op 21766 B/op 54 allocs/op BenchmarkTable/10x100000/new-4 1 732119723 ns/op 48120704 B/op 100073 allocs/op BenchmarkTable/10x100000/reuse-4 1 738186278 ns/op 48120704 B/op 100073 allocs/op BenchmarkTable/100x10/new-4 223 553041 ns/op 39296 B/op 41 allocs/op BenchmarkTable/100x10/reuse-4 241 486311 ns/op 163 B/op 0 allocs/op BenchmarkTable/100x1000/new-4 2 59008774 ns/op 3288960 B/op 1053 allocs/op BenchmarkTable/100x1000/reuse-4 2 55868774 ns/op 1644480 B/op 526 allocs/op BenchmarkTable/100x100000/new-4 1 7023537687 ns/op 335149952 B/op 100089 allocs/op BenchmarkTable/100x100000/reuse-4 1 6917430247 ns/op 335150144 B/op 100091 allocs/op BenchmarkPyramid/10-4 2582 44426 ns/op 4872 B/op 35 allocs/op BenchmarkPyramid/100-4 39 2962822 ns/op 409128 B/op 230 allocs/op BenchmarkPyramid/1000-4 1 307376396 ns/op 35625256 B/op 2055 allocs/op BenchmarkRagged/10-4 2527 46633 ns/op 4512 B/op 34 allocs/op BenchmarkRagged/100-4 265 444231 ns/op 41008 B/op 188 allocs/op BenchmarkRagged/1000-4 27 4388239 ns/op 427502 B/op 1661 allocs/op BenchmarkCode-4 6922 15724 ns/op 624 B/op 13 allocs/op PASS ok text/tabwriter 20.055s goos: linux goarch: amd64 pkg: text/template/parse cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkParseLarge-4 2 82623133 ns/op BenchmarkVariableString-4 95472 1208 ns/op 80 B/op 3 allocs/op BenchmarkListString-4 1995 56836 ns/op 2511 B/op 39 allocs/op PASS ok text/template/parse 1.529s goos: linux goarch: amd64 pkg: time cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAfterFunc-4 40 2932733 ns/op BenchmarkAfter-4 123 1115097 ns/op BenchmarkStop-4 225 585851 ns/op BenchmarkSimultaneousAfterFunc-4 27 4423455 ns/op BenchmarkStartStop-4 241 532633 ns/op BenchmarkReset-4 2599 52554 ns/op BenchmarkSleep-4 31 3795750 ns/op BenchmarkParallelTimerLatency-4 50 248005 avg-late-ns 1367831 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=1-4 37 360188 avg-late-ns 880609 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=2-4 32 386839 avg-late-ns 1290971 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=3-4 34 385252 avg-late-ns 1396999 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=4-4 33 377817 avg-late-ns 1534827 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=5-4 31 302613 avg-late-ns 1436358 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=6-4 31 190197 avg-late-ns 1761779 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=7-4 28 175595 avg-late-ns 1860703 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=8-4 27 213505 avg-late-ns 1516047 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=9-4 26 150548 avg-late-ns 1157597 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=10-4 26 861805 avg-late-ns 3175193 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=2ms/tickers-per-P=1-4 34 288077 avg-late-ns 1131204 max-late-ns BenchmarkTicker-4 327 428249 ns/op BenchmarkTickerReset-4 3984 30319 ns/op BenchmarkTickerResetNaive-4 196 634444 ns/op BenchmarkNow-4 1228027 96.94 ns/op BenchmarkNowUnixNano-4 1245386 95.12 ns/op BenchmarkNowUnixMilli-4 1235671 96.42 ns/op BenchmarkNowUnixMicro-4 1238164 95.78 ns/op BenchmarkFormat-4 57741 2116 ns/op BenchmarkFormatRFC3339-4 77571 1584 ns/op BenchmarkFormatRFC3339Nano-4 75902 1640 ns/op BenchmarkFormatNow-4 78831 1562 ns/op BenchmarkMarshalJSON-4 106166 1167 ns/op BenchmarkMarshalText-4 112170 1130 ns/op BenchmarkParse-4 138546 872.2 ns/op BenchmarkParseRFC3339UTC-4 307494 385.2 ns/op BenchmarkParseRFC3339UTCBytes-4 207986 554.6 ns/op BenchmarkParseRFC3339TZ-4 98335 1214 ns/op BenchmarkParseRFC3339TZBytes-4 77710 1550 ns/op BenchmarkParseDuration-4 483562 247.0 ns/op BenchmarkHour-4 841406 133.6 ns/op BenchmarkSecond-4 910312 131.5 ns/op BenchmarkYear-4 652028 175.7 ns/op BenchmarkDay-4 623960 191.9 ns/op BenchmarkISOWeek-4 661377 180.5 ns/op BenchmarkGoString-4 78344 1584 ns/op BenchmarkUnmarshalText-4 68476 1732 ns/op PASS ok time 12.649s goos: linux goarch: amd64 pkg: unicode/utf16 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecodeValidASCII-4 615199 181.8 ns/op BenchmarkDecodeValidJapaneseChars-4 695280 155.3 ns/op BenchmarkDecodeRune-4 1669946 71.27 ns/op BenchmarkEncodeValidASCII-4 520140 199.5 ns/op BenchmarkEncodeValidJapaneseChars-4 792051 139.5 ns/op BenchmarkAppendRuneValidASCII-4 1417431 84.02 ns/op BenchmarkAppendRuneValidJapaneseChars-4 2222860 53.64 ns/op BenchmarkEncodeRune-4 2759158 41.93 ns/op PASS ok unicode/utf16 2.218s goos: linux goarch: amd64 pkg: unicode/utf8 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRuneCountTenASCIIChars-4 936358 127.6 ns/op BenchmarkRuneCountTenJapaneseChars-4 175945 638.3 ns/op BenchmarkRuneCountInStringTenASCIIChars-4 3714634 32.24 ns/op BenchmarkRuneCountInStringTenJapaneseChars-4 449758 261.6 ns/op BenchmarkValidTenASCIIChars-4 938058 125.2 ns/op BenchmarkValid100KASCIIChars-4 103 1160037 ns/op BenchmarkValidTenJapaneseChars-4 164072 690.3 ns/op BenchmarkValidLongMostlyASCII-4 98 1217467 ns/op BenchmarkValidLongJapanese-4 49 2049007 ns/op BenchmarkValidStringTenASCIIChars-4 4607820 26.27 ns/op BenchmarkValidString100KASCIIChars-4 9248 12312 ns/op BenchmarkValidStringTenJapaneseChars-4 424874 251.7 ns/op BenchmarkValidStringLongMostlyASCII-4 1260 94458 ns/op BenchmarkValidStringLongJapanese-4 158 751983 ns/op BenchmarkEncodeASCIIRune-4 4477831 26.59 ns/op BenchmarkEncodeJapaneseRune-4 2476717 48.44 ns/op BenchmarkAppendASCIIRune-4 10089894 11.47 ns/op BenchmarkAppendJapaneseRune-4 3077496 38.48 ns/op BenchmarkDecodeASCIIRune-4 2730067 41.55 ns/op BenchmarkDecodeJapaneseRune-4 1943408 62.49 ns/op BenchmarkFullRune/ASCII-4 3499556 34.32 ns/op BenchmarkFullRune/Incomplete-4 1644592 72.36 ns/op BenchmarkFullRune/Japanese-4 3621920 33.19 ns/op PASS ok unicode/utf8 4.548s goos: linux goarch: amd64 pkg: cmd/api cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAll-4 1 73400539256 ns/op PASS ok cmd/api 74.833s goos: linux goarch: amd64 pkg: cmd/cgo/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCgoCall/add-int-4 369656 293.9 ns/op BenchmarkCgoCall/one-pointer-4 311742 349.8 ns/op BenchmarkCgoCall/eight-pointers-4 174582 689.1 ns/op BenchmarkCgoCall/eight-pointers-nil-4 341203 348.6 ns/op BenchmarkCgoCall/eight-pointers-array-4 16339 6833 ns/op BenchmarkCgoCall/eight-pointers-slice-4 30733 3878 ns/op BenchmarkGoString-4 1000000 108.0 ns/op BenchmarkCGoCallback-4 47326 2466 ns/op BenchmarkCGoInCThread-4 285553 395.4 ns/op PASS ok cmd/cgo/internal/test 2.230s goos: linux goarch: amd64 pkg: cmd/compile/internal/reflectdata cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEqArrayOfStrings5-4 1159995 101.3 ns/op BenchmarkEqArrayOfStrings64-4 140662 840.0 ns/op BenchmarkEqArrayOfStrings1024-4 9661 12032 ns/op BenchmarkEqArrayOfFloats5-4 1367805 86.56 ns/op BenchmarkEqArrayOfFloats64-4 136647 866.0 ns/op BenchmarkEqArrayOfFloats1024-4 9073 12997 ns/op BenchmarkEqArrayOfStructsEq-4 2638 45186 ns/op BenchmarkEqArrayOfStructsNotEq-4 4552 25126 ns/op BenchmarkEqStruct-4 18047821 6.525 ns/op PASS ok cmd/compile/internal/reflectdata 2.303s goos: linux goarch: amd64 pkg: cmd/compile/internal/ssa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPhioptPass-4 10000 57814 ns/op BenchmarkCopyElim1-4 579 177690 ns/op BenchmarkCopyElim10-4 576 208633 ns/op BenchmarkCopyElim100-4 300 378982 ns/op BenchmarkCopyElim1000-4 51 2358179 ns/op BenchmarkCopyElim10000-4 3 45002521 ns/op BenchmarkCopyElim100000-4 1 748080000 ns/op BenchmarkDeadCode/1-4 592 200117 ns/op BenchmarkDeadCode/10-4 468 226692 ns/op BenchmarkDeadCode/100-4 231 522926 ns/op BenchmarkDeadCode/1000-4 38 2882210 ns/op BenchmarkDeadCode/10000-4 3 35599631 ns/op BenchmarkDeadCode/100000-4 1 459438931 ns/op BenchmarkDeadCode/200000-4 1 1009636197 ns/op BenchmarkDominatorsLinear-4 13 8503652 ns/op 1.18 MB/s BenchmarkDominatorsFwdBack-4 10 11527979 ns/op 0.87 MB/s BenchmarkDominatorsManyPred-4 10 11536207 ns/op 0.87 MB/s BenchmarkDominatorsMaxPred-4 10 11776116 ns/op 0.85 MB/s BenchmarkDominatorsMaxPredVal-4 12 12013145 ns/op 0.83 MB/s BenchmarkFuse/1-4 514 219961 ns/op BenchmarkFuse/10-4 380 292567 ns/op BenchmarkFuse/100-4 136 893762 ns/op BenchmarkFuse/1000-4 20 5790882 ns/op BenchmarkFuse/10000-4 2 79969506 ns/op BenchmarkNilCheckDeep1-4 12946 9453 ns/op 0.11 MB/s 235 B/op 4 allocs/op BenchmarkNilCheckDeep10-4 5187 22759 ns/op 0.44 MB/s 235 B/op 4 allocs/op BenchmarkNilCheckDeep100-4 786 150376 ns/op 0.67 MB/s 683 B/op 4 allocs/op BenchmarkNilCheckDeep1000-4 74 1448931 ns/op 0.69 MB/s 4969 B/op 4 allocs/op BenchmarkNilCheckDeep10000-4 7 15994189 ns/op 0.63 MB/s 65837 B/op 5 allocs/op BenchmarkDSEPass-4 32 3556127 ns/op 69887 B/op 8 allocs/op BenchmarkDSEPassBlock-4 1 118852419 ns/op 4236608 B/op 108072 allocs/op BenchmarkCSEPass-4 7 14519581 ns/op 84714 B/op 9 allocs/op BenchmarkCSEPassBlock-4 1 151460084 ns/op 5640184 B/op 97290 allocs/op BenchmarkDeadcodePass-4 168 672459 ns/op 90128 B/op 3 allocs/op BenchmarkDeadcodePassBlock-4 1 124468320 ns/op 4037440 B/op 44931 allocs/op BenchmarkMultiPass-4 68 1679306 ns/op 214622 B/op 10 allocs/op BenchmarkMultiPassBlock-4 1 258559525 ns/op 11215896 B/op 149882 allocs/op BenchmarkCondRewrite/SoloJump-4 2980142 39.60 ns/op BenchmarkCondRewrite/CombJump-4 2936632 40.52 ns/op PASS ok cmd/compile/internal/ssa 15.847s goos: linux goarch: amd64 pkg: cmd/compile/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLoadAdd-4 9262 12353 ns/op BenchmarkExtShift-4 16759 7265 ns/op BenchmarkModify-4 9788 11999 ns/op BenchmarkMullImm-4 16539 7190 ns/op BenchmarkConstModify-4 9144 11987 ns/op BenchmarkBitSet-4 19329 6143 ns/op BenchmarkBitClear-4 19527 6143 ns/op BenchmarkBitToggle-4 19504 6140 ns/op BenchmarkBitSetConst-4 149595 799.9 ns/op BenchmarkBitClearConst-4 156175 774.8 ns/op BenchmarkBitToggleConst-4 154945 780.2 ns/op BenchmarkDivconstI64-4 8754990 13.38 ns/op BenchmarkModconstI64-4 8659524 13.10 ns/op BenchmarkDivisiblePow2constI64-4 8706374 13.43 ns/op BenchmarkDivisibleconstI64-4 9618132 12.00 ns/op BenchmarkDivisibleWDivconstI64-4 6466767 18.68 ns/op BenchmarkDivconstU64/3-4 9341352 12.41 ns/op BenchmarkDivconstU64/5-4 8630906 13.12 ns/op BenchmarkDivconstU64/37-4 8914377 12.50 ns/op BenchmarkDivconstU64/1234567-4 9370300 12.43 ns/op BenchmarkModconstU64-4 8752759 13.31 ns/op BenchmarkDivisibleconstU64-4 9639189 12.17 ns/op BenchmarkDivisibleWDivconstU64-4 6522235 18.26 ns/op BenchmarkDivconstI32-4 9093397 12.51 ns/op BenchmarkModconstI32-4 9150441 12.87 ns/op BenchmarkDivisiblePow2constI32-4 8832146 13.05 ns/op BenchmarkDivisibleconstI32-4 9084948 12.71 ns/op BenchmarkDivisibleWDivconstI32-4 6498548 18.51 ns/op BenchmarkDivconstU32-4 9635200 12.13 ns/op BenchmarkModconstU32-4 8623102 13.63 ns/op BenchmarkDivisibleconstU32-4 9352400 12.43 ns/op BenchmarkDivisibleWDivconstU32-4 6506452 18.54 ns/op BenchmarkDivconstI16-4 9568974 12.13 ns/op BenchmarkModconstI16-4 8833293 13.16 ns/op BenchmarkDivisiblePow2constI16-4 9234944 12.49 ns/op BenchmarkDivisibleconstI16-4 9537448 12.15 ns/op BenchmarkDivisibleWDivconstI16-4 6393472 18.64 ns/op BenchmarkDivconstU16-4 9259962 12.50 ns/op BenchmarkModconstU16-4 9253965 12.65 ns/op BenchmarkDivisibleconstU16-4 9328370 12.44 ns/op BenchmarkDivisibleWDivconstU16-4 6640102 18.08 ns/op BenchmarkDivconstI8-4 9561999 12.10 ns/op BenchmarkModconstI8-4 8842983 12.82 ns/op BenchmarkDivisiblePow2constI8-4 8844450 13.20 ns/op BenchmarkDivisibleconstI8-4 9389980 12.47 ns/op BenchmarkDivisibleWDivconstI8-4 6656934 18.04 ns/op BenchmarkDivconstU8-4 9345740 12.52 ns/op BenchmarkModconstU8-4 9632474 12.16 ns/op BenchmarkDivisibleconstU8-4 9006510 13.11 ns/op BenchmarkDivisibleWDivconstU8-4 6411908 18.78 ns/op BenchmarkMul2-4 220605 540.2 ns/op BenchmarkMulNeg2-4 220954 540.1 ns/op BenchmarkEfaceInteger-4 4274048 28.49 ns/op BenchmarkDiv64UnsignedSmall-4 6998706 15.36 ns/op BenchmarkDiv64Small-4 5649493 18.31 ns/op BenchmarkDiv64SmallNegDivisor-4 6182025 18.34 ns/op BenchmarkDiv64SmallNegDividend-4 6210768 18.16 ns/op BenchmarkDiv64SmallNegBoth-4 6247562 18.48 ns/op BenchmarkDiv64Unsigned-4 6737791 17.69 ns/op BenchmarkDiv64-4 5699804 20.89 ns/op BenchmarkDiv64NegDivisor-4 5728610 20.56 ns/op BenchmarkDiv64NegDividend-4 5676834 20.87 ns/op BenchmarkDiv64NegBoth-4 5652318 20.72 ns/op BenchmarkMod64UnsignedSmall-4 7152098 14.86 ns/op BenchmarkMod64Small-4 6273450 18.01 ns/op BenchmarkMod64SmallNegDivisor-4 6350484 18.17 ns/op BenchmarkMod64SmallNegDividend-4 6462740 18.12 ns/op BenchmarkMod64SmallNegBoth-4 6255236 18.31 ns/op BenchmarkMod64Unsigned-4 6885066 17.09 ns/op BenchmarkMod64-4 5763813 20.42 ns/op BenchmarkMod64NegDivisor-4 5737098 20.44 ns/op BenchmarkMod64NegDividend-4 5789650 20.42 ns/op BenchmarkMod64NegBoth-4 5722962 20.49 ns/op BenchmarkMulconstI32/3-4 17913776 6.178 ns/op BenchmarkMulconstI32/5-4 17952228 6.203 ns/op BenchmarkMulconstI32/12-4 17121633 6.206 ns/op BenchmarkMulconstI32/120-4 18023822 6.224 ns/op BenchmarkMulconstI32/-120-4 18141823 6.186 ns/op BenchmarkMulconstI32/65537-4 16846467 6.170 ns/op BenchmarkMulconstI32/65538-4 17299690 6.209 ns/op BenchmarkMulconstI64/3-4 16611031 6.852 ns/op BenchmarkMulconstI64/5-4 16564275 6.906 ns/op BenchmarkMulconstI64/12-4 17332884 6.183 ns/op BenchmarkMulconstI64/120-4 16652484 6.879 ns/op BenchmarkMulconstI64/-120-4 15520134 6.876 ns/op BenchmarkMulconstI64/65537-4 17277992 6.555 ns/op BenchmarkMulconstI64/65538-4 16963486 6.201 ns/op BenchmarkMulconstU32/3-4 18227728 6.183 ns/op BenchmarkMulconstU32/5-4 17879289 6.223 ns/op BenchmarkMulconstU32/12-4 17303240 6.187 ns/op BenchmarkMulconstU32/120-4 18241459 6.158 ns/op BenchmarkMulconstU32/65537-4 17415936 6.156 ns/op BenchmarkMulconstU32/65538-4 17245014 6.207 ns/op BenchmarkMulconstU64/3-4 16197289 6.918 ns/op BenchmarkMulconstU64/5-4 16505378 6.756 ns/op BenchmarkMulconstU64/12-4 17367020 6.169 ns/op BenchmarkMulconstU64/120-4 16644589 6.914 ns/op BenchmarkMulconstU64/65537-4 16596240 6.288 ns/op BenchmarkMulconstU64/65538-4 17077020 6.237 ns/op BenchmarkShiftArithmeticRight-4 18155181 6.540 ns/op BenchmarkSwitch8Predictable-4 13747880 8.688 ns/op BenchmarkSwitch8Unpredictable-4 6424772 18.21 ns/op BenchmarkSwitch32Predictable-4 8288325 14.48 ns/op BenchmarkSwitch32Unpredictable-4 6565753 18.36 ns/op BenchmarkSwitchStringPredictable-4 7522243 15.43 ns/op BenchmarkSwitchStringUnpredictable-4 4733390 25.19 ns/op PASS ok cmd/compile/internal/test 15.620s goos: linux goarch: amd64 pkg: cmd/compile/internal/types2 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLookupFieldOrMethod-4 135 844754 ns/op BenchmarkNamed/Underlying/nongeneric-4 902881 124.9 ns/op BenchmarkNamed/Underlying/generic-4 921200 128.9 ns/op BenchmarkNamed/Underlying/src_instance-4 944197 124.5 ns/op BenchmarkNamed/Underlying/user_instance-4 908392 126.7 ns/op BenchmarkCheck/http/funcbodies/info-4 1 583718326 ns/op 52407 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 373396567 ns/op 81920 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 170103474 ns/op 179782 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 140879800 ns/op 217070 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 466246476 ns/op 11117 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 2 92749370 ns/op 55876 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 3 33846250 ns/op 153099 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 4 33601952 ns/op 154217 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 149914768 ns/op 14472 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 3 40294367 ns/op 53842 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 5 21677215 ns/op 100069 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 6 20393408 ns/op 106363 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1272649656 ns/op 51333 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 607884418 ns/op 107465 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 176456319 ns/op 370077 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 130807049 ns/op 499193 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 485854656 ns/op 4120 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 64827696 ns/op 30866 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 3 39999832 ns/op 50027 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 3 38380449 ns/op 52142 lines/s PASS ok cmd/compile/internal/types2 17.574s goos: linux goarch: amd64 pkg: cmd/go cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExecGoEnv-4 104 1057457 ns/op 2615250 sys-ns/op 1213250 user-ns/op PASS ok cmd/go 1.216s goos: linux goarch: amd64 pkg: cmd/internal/notsha256 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 67758 1723 ns/op 4.64 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 78852 1488 ns/op 5.37 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 14584 8209 ns/op 124.74 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 14619 7976 ns/op 128.38 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 2272 52509 ns/op 156.01 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 2266 52126 ns/op 157.16 MB/s 0 B/op 0 allocs/op PASS ok cmd/internal/notsha256 1.943s All tests passed.