linux-amd64-race at 6f7824f7a4d62998b03f3ddc5c12938a9a247e85 :: 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-rn3769925" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=24s" "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-rn3769925" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=24s" "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.154s ok archive/zip 3.303s ok bufio 1.278s ok bytes 4.219s ok cmp 1.017s ok compress/bzip2 1.446s ok compress/flate 6.577s ok compress/gzip 12.913s ok compress/lzw 1.565s ok compress/zlib 5.660s ok container/heap 1.022s ok container/list 1.018s ok container/ring 1.019s ok context 1.043s ok crypto 1.017s ok crypto/aes 1.055s ok crypto/cipher 1.048s ok crypto/des 1.048s ok crypto/dsa 1.018s ok crypto/ecdh 1.207s ok crypto/ecdsa 1.128s ok crypto/ed25519 1.366s ok crypto/elliptic 1.038s ok crypto/hmac 1.020s ok crypto/internal/alias 1.017s ok crypto/internal/bigmod 3.600s ok crypto/internal/boring 1.017s ok crypto/internal/boring/bcache 1.336s ok crypto/internal/edwards25519 37.374s ok crypto/internal/edwards25519/field 13.096s ok crypto/internal/nistec 1.811s ok crypto/internal/nistec/fiat 1.016s [no tests to run] ok crypto/md5 1.024s ok crypto/rand 1.310s ok crypto/rc4 1.440s ok crypto/rsa 2.548s ok crypto/sha1 1.040s ok crypto/sha256 1.022s ok crypto/sha512 1.023s ok crypto/subtle 1.419s ok crypto/tls 3.705s ok crypto/x509 2.310s ok database/sql 1.338s ok database/sql/driver 1.016s ok debug/buildinfo 1.034s ok debug/dwarf 1.078s ok debug/elf 2.232s ok debug/gosym 1.312s ok debug/macho 1.028s ok debug/pe 1.049s ok debug/plan9obj 1.016s ok embed 1.017s [no tests to run] ok embed/internal/embedtest 1.018s ok encoding/ascii85 1.021s ok encoding/asn1 1.022s ok encoding/base32 1.061s ok encoding/base64 1.025s ok encoding/binary 1.023s ok encoding/csv 1.058s ok encoding/gob 20.084s ok encoding/hex 1.024s ok encoding/json 2.304s ok encoding/pem 3.320s ok encoding/xml 1.214s ok errors 1.023s ok expvar 1.018s ok flag 3.101s ok fmt 1.553s ok go/ast 1.027s ok go/build 5.462s ok go/build/constraint 1.022s ok go/constant 1.024s ok go/doc 1.236s ok go/doc/comment 3.047s ok go/format 1.050s ok go/importer 1.174s ok go/internal/gccgoimporter 1.047s ok go/internal/gcimporter 2.141s ok go/internal/srcimporter 14.761s ok go/parser 1.836s ok go/printer 2.279s ok go/scanner 1.023s ok go/token 1.110s ok go/types 33.289s ok hash 1.021s ok hash/adler32 1.046s ok hash/crc32 1.049s ok hash/crc64 1.027s ok hash/fnv 1.017s ok hash/maphash 1.017s ok html 1.018s ok html/template 1.222s ok image 1.411s ok image/color 1.040s ok image/draw 1.551s ok image/gif 1.860s ok image/jpeg 2.255s ok image/png 4.017s ok index/suffixarray 1.948s ok internal/abi 1.053s ok internal/buildcfg 1.016s ok internal/coverage/cformat 1.017s ok internal/coverage/cmerge 1.017s ok internal/coverage/pods 1.018s ok internal/coverage/slicereader 1.015s ok internal/coverage/slicewriter 1.016s ok internal/coverage/test 1.043s ok internal/cpu 3.050s ok internal/dag 1.017s ok internal/diff 1.018s ok internal/fmtsort 1.017s ok internal/fuzz 1.036s ok internal/godebug 13.770s ok internal/godebugs 1.016s ok internal/intern 1.224s ok internal/itoa 1.016s ok internal/poll 1.488s ok internal/profile 1.019s ok internal/reflectlite 1.019s ok internal/safefilepath 1.015s ok internal/saferio 1.241s ok internal/singleflight 1.114s ok internal/testenv 1.152s ok internal/trace 1.161s ok internal/types/errors 1.349s ok internal/unsafeheader 1.016s ok internal/xcoff 1.034s ok internal/zstd 1.019s ok io 1.053s ok io/fs 1.245s ok io/ioutil 1.021s ok log 1.028s ok log/slog 1.043s ok log/slog/internal/benchmarks 1.016s ok log/slog/internal/buffer 1.017s ok log/syslog 2.238s ok maps 1.019s ok math 1.030s ok math/big 3.940s ok math/bits 1.026s ok math/cmplx 1.018s ok math/rand 4.047s ok mime 1.047s ok mime/multipart 6.267s ok mime/quotedprintable 1.052s ok net 40.887s ok net/http 7.533s ok net/http/cgi 12.407s ok net/http/cookiejar 1.025s ok net/http/fcgi 1.126s ok net/http/httptest 1.180s ok net/http/httptrace 1.016s ok net/http/httputil 1.654s ok net/http/internal 1.020s ok net/http/internal/ascii 1.016s ok net/http/pprof 6.177s ok net/internal/socktest 1.017s ok net/mail 1.023s ok net/netip 1.320s ok net/rpc 1.055s ok net/rpc/jsonrpc 1.025s ok net/smtp 1.064s ok net/textproto 1.045s ok net/url 1.030s ok os 6.335s ok os/exec 4.108s ok os/exec/internal/fdtest 1.015s ok os/signal 17.059s ok os/user 1.017s ok path 1.018s ok path/filepath 1.063s ok plugin 1.016s ok reflect 1.562s ok regexp 4.098s ok regexp/syntax 5.383s ok runtime 38.379s ok runtime/cgo 1.017s ok runtime/coverage 1.018s ok runtime/debug 2.084s ok runtime/internal/atomic 1.069s ok runtime/internal/math 1.016s ok runtime/internal/sys 1.017s ok runtime/internal/syscall 1.016s ok runtime/metrics 1.027s ok runtime/pprof 19.959s ok runtime/race 11.820s ok runtime/trace 4.395s ok slices 1.521s ok sort 1.399s ok strconv 3.283s ok strings 2.589s ok sync 1.454s ok sync/atomic 2.770s ok syscall 11.060s ok testing 3.130s ok testing/fstest 1.020s ok testing/iotest 1.018s ok testing/quick 1.162s ok testing/slogtest 1.020s ok text/scanner 1.032s ok text/tabwriter 1.021s ok text/template 1.086s ok text/template/parse 1.031s ok time 3.242s ok unicode 1.023s ok unicode/utf16 1.018s ok unicode/utf8 1.033s ok cmd/addr2line 4.358s ok cmd/api 14.430s ok cmd/asm/internal/asm 4.322s ok cmd/asm/internal/lex 1.019s ok cmd/cgo/internal/swig 1.738s ok cmd/cgo/internal/test 2.230s ok cmd/cgo/internal/testcarchive 22.094s ok cmd/cgo/internal/testcshared 6.064s ok cmd/cgo/internal/testerrors 10.235s ok cmd/cgo/internal/testfortran 2.324s ok cmd/cgo/internal/testgodefs 1.596s ok cmd/cgo/internal/testlife 1.611s ok cmd/cgo/internal/testnocgo 1.016s ok cmd/cgo/internal/testplugin 28.820s ok cmd/cgo/internal/testsanitizers 17.671s ok cmd/cgo/internal/testshared 40.185s ok cmd/cgo/internal/testso 2.429s ok cmd/cgo/internal/teststdio 2.360s ok cmd/cgo/internal/testtls 1.016s ok cmd/compile/internal/abt 1.042s ok cmd/compile/internal/amd64 55.713s ok cmd/compile/internal/base 1.018s ok cmd/compile/internal/compare 1.018s ok cmd/compile/internal/dwarfgen 1.441s ok cmd/compile/internal/importer 1.839s ok cmd/compile/internal/ir 1.016s ok cmd/compile/internal/logopt 1.202s ok cmd/compile/internal/loopvar 25.531s ok cmd/compile/internal/noder 1.021s ok cmd/compile/internal/reflectdata 1.018s [no tests to run] ok cmd/compile/internal/ssa 22.011s ok cmd/compile/internal/syntax 1.135s ok cmd/compile/internal/test 12.950s ok cmd/compile/internal/typecheck 1.240s ok cmd/compile/internal/types 1.017s ok cmd/compile/internal/types2 8.713s ok cmd/covdata 1.020s ok cmd/cover 15.825s ok cmd/dist 1.019s ok cmd/distpack 1.017s ok cmd/doc 1.707s ok cmd/fix 1.772s ok cmd/go 208.178s ok cmd/go/internal/auth 1.017s ok cmd/go/internal/cache 1.124s ok cmd/go/internal/envcmd 1.037s ok cmd/go/internal/fsys 1.046s ok cmd/go/internal/generate 1.029s ok cmd/go/internal/get 1.029s ok cmd/go/internal/gover 1.018s ok cmd/go/internal/imports 1.028s ok cmd/go/internal/load 1.025s ok cmd/go/internal/lockedfile 2.166s ok cmd/go/internal/lockedfile/internal/filelock 2.054s ok cmd/go/internal/modconv 1.039s ok cmd/go/internal/modfetch 1.029s ok cmd/go/internal/modfetch/codehost 1.436s ok cmd/go/internal/modfetch/zip_sum_test 1.021s ok cmd/go/internal/modindex 1.587s ok cmd/go/internal/modload 1.029s ok cmd/go/internal/mvs 1.040s ok cmd/go/internal/par 1.104s ok cmd/go/internal/str 1.016s ok cmd/go/internal/test 1.038s ok cmd/go/internal/vcs 1.023s ok cmd/go/internal/vcweb 1.024s ok cmd/go/internal/vcweb/vcstest 5.009s ok cmd/go/internal/web 1.019s ok cmd/go/internal/work 1.131s ok cmd/gofmt 1.204s ok cmd/internal/archive 1.407s ok cmd/internal/bootstrap_test 1.017s ok cmd/internal/buildid 1.538s ok cmd/internal/cov 1.266s ok cmd/internal/dwarf 1.017s ok cmd/internal/edit 1.015s ok cmd/internal/goobj 1.016s ok cmd/internal/moddeps 2.125s ok cmd/internal/notsha256 1.019s ok cmd/internal/obj 1.461s ok cmd/internal/obj/ppc64 1.093s ok cmd/internal/obj/riscv 1.037s ok cmd/internal/obj/s390x 1.016s ok cmd/internal/obj/x86 1.151s ok cmd/internal/objabi 1.016s ok cmd/internal/pkgpath 5.080s ok cmd/internal/pkgpattern 1.020s ok cmd/internal/quoted 1.017s ok cmd/internal/src 1.017s ok cmd/internal/test2json 1.747s ok cmd/link 9.817s ok cmd/link/internal/benchmark 1.019s ok cmd/link/internal/ld 3.767s ok cmd/link/internal/loader 1.047s ok cmd/nm 9.196s ok cmd/objdump 5.124s ok cmd/pack 7.335s ok cmd/pprof 3.467s ok cmd/trace 1.274s ok cmd/vet 30.475s ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: archive/tar cpu: Intel(R) Xeon(R) CPU @ 2.20GHz Benchmark/Writer/USTAR-4 2610 39473 ns/op 1368 B/op 25 allocs/op Benchmark/Writer/GNU-4 2072 50263 ns/op 1859 B/op 37 allocs/op Benchmark/Writer/PAX-4 1478 76661 ns/op 2560 B/op 59 allocs/op Benchmark/Reader/USTAR-4 3445 29746 ns/op 5095 B/op 15 allocs/op Benchmark/Reader/GNU-4 5281 20330 ns/op 5130 B/op 15 allocs/op Benchmark/Reader/PAX-4 1840 58842 ns/op 9158 B/op 33 allocs/op PASS ok archive/tar 1.708s goos: linux goarch: amd64 pkg: archive/zip cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCompressedZipGarbage-4 1 340191053 ns/op 828480 B/op 81 allocs/op BenchmarkZip64Test-4 1 162697621 ns/op BenchmarkZip64TestSizes/4096-4 1245 93941 ns/op BenchmarkZip64TestSizes/1048576-4 169 763109 ns/op BenchmarkZip64TestSizes/67108864-4 1 137544676 ns/op PASS ok archive/zip 2.311s goos: linux goarch: amd64 pkg: bufio cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReaderCopyOptimal-4 244581 473.1 ns/op BenchmarkReaderCopyUnoptimal-4 148471 797.3 ns/op BenchmarkReaderCopyNoWriteTo-4 7856 14423 ns/op BenchmarkReaderWriteToOptimal-4 7522 15774 ns/op BenchmarkReaderReadString-4 135566 855.9 ns/op 144 B/op 1 allocs/op BenchmarkWriterCopyOptimal-4 213981 549.3 ns/op BenchmarkWriterCopyUnoptimal-4 194533 555.6 ns/op BenchmarkWriterCopyNoReadFrom-4 8320 16649 ns/op BenchmarkReaderEmpty-4 42164 2578 ns/op 4224 B/op 3 allocs/op BenchmarkWriterEmpty-4 32175 3561 ns/op 4096 B/op 1 allocs/op BenchmarkWriterFlush-4 583387 191.1 ns/op 0 B/op 0 allocs/op PASS ok bufio 2.741s goos: linux goarch: amd64 pkg: bytes cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadString-4 6147 17434 ns/op 1879.51 MB/s BenchmarkWriteByte-4 471 245608 ns/op 16.68 MB/s BenchmarkWriteRune-4 260 462010 ns/op 26.60 MB/s BenchmarkBufferNotEmptyWriteRead-4 31 3690404 ns/op BenchmarkBufferFullSmallReads-4 100 1033993 ns/op BenchmarkBufferWriteBlock/N4096-4 7921 14863 ns/op 14336 B/op 6 allocs/op BenchmarkBufferWriteBlock/N65536-4 448 256642 ns/op 260096 B/op 14 allocs/op BenchmarkBufferWriteBlock/N1048576-4 6 22807912 ns/op 4192256 B/op 22 allocs/op BenchmarkBufferAppendNoCopy-4 1 131097853 ns/op 127.97 MB/s 33554432 B/op 2 allocs/op BenchmarkIndexByte/10-4 4609026 25.65 ns/op 389.86 MB/s BenchmarkIndexByte/32-4 4433558 27.12 ns/op 1180.00 MB/s BenchmarkIndexByte/4K-4 900070 133.3 ns/op 30729.63 MB/s BenchmarkIndexBytePortable/10-4 811525 142.1 ns/op 70.38 MB/s BenchmarkIndexBytePortable/32-4 264346 450.2 ns/op 71.08 MB/s BenchmarkIndexBytePortable/4K-4 2174 53650 ns/op 76.35 MB/s BenchmarkIndexRune/10-4 1000000 102.7 ns/op 97.36 MB/s BenchmarkIndexRune/32-4 1000000 100.6 ns/op 317.95 MB/s BenchmarkIndexRune/4K-4 374186 307.5 ns/op 13320.05 MB/s BenchmarkIndexRuneASCII/10-4 4525182 26.59 ns/op 376.10 MB/s BenchmarkIndexRuneASCII/32-4 4300093 27.66 ns/op 1157.08 MB/s BenchmarkIndexRuneASCII/4K-4 867176 135.8 ns/op 30167.95 MB/s BenchmarkEqual/0-4 7075738 16.91 ns/op BenchmarkEqual/1-4 1459916 81.54 ns/op 12.26 MB/s BenchmarkEqual/6-4 1419673 85.48 ns/op 70.19 MB/s BenchmarkEqual/9-4 1422037 84.32 ns/op 106.74 MB/s BenchmarkEqual/15-4 1432243 85.29 ns/op 175.88 MB/s BenchmarkEqual/16-4 1498008 81.06 ns/op 197.38 MB/s BenchmarkEqual/20-4 1411866 84.71 ns/op 236.10 MB/s BenchmarkEqual/32-4 1363419 86.43 ns/op 370.26 MB/s BenchmarkEqual/4K-4 108765 1103 ns/op 3712.56 MB/s BenchmarkIndex/10-4 2989141 39.95 ns/op 250.30 MB/s BenchmarkIndex/32-4 3094220 38.73 ns/op 826.24 MB/s BenchmarkIndex/4K-4 18349 6652 ns/op 615.73 MB/s BenchmarkIndexEasy/10-4 2867643 41.45 ns/op 241.25 MB/s BenchmarkIndexEasy/32-4 3029427 39.92 ns/op 801.57 MB/s BenchmarkIndexEasy/4K-4 480166 245.6 ns/op 16680.53 MB/s BenchmarkCount/10-4 1500346 80.36 ns/op 124.44 MB/s BenchmarkCount/32-4 1467981 84.49 ns/op 378.76 MB/s BenchmarkCount/4K-4 18042 6604 ns/op 620.26 MB/s BenchmarkCountEasy/10-4 1494627 80.38 ns/op 124.40 MB/s BenchmarkCountEasy/32-4 1448209 83.09 ns/op 385.14 MB/s BenchmarkCountEasy/4K-4 407157 279.6 ns/op 14649.47 MB/s BenchmarkCountSingle/10-4 3557928 33.53 ns/op 298.22 MB/s BenchmarkCountSingle/32-4 3411307 35.70 ns/op 896.35 MB/s BenchmarkCountSingle/4K-4 767396 141.7 ns/op 28907.33 MB/s BenchmarkToUpper/#00-4 2912443 41.02 ns/op BenchmarkToUpper/ONLYUPPER-4 292675 403.2 ns/op BenchmarkToUpper/abc-4 493885 245.3 ns/op BenchmarkToUpper/AbC123-4 288291 415.0 ns/op BenchmarkToUpper/azAZ09_-4 250152 461.9 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 77145 1529 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 39484 2999 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 55276 2192 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 123427 955.2 ns/op BenchmarkToLower/#00-4 2737243 43.05 ns/op BenchmarkToLower/abc-4 450493 266.6 ns/op BenchmarkToLower/AbC123-4 275834 405.2 ns/op BenchmarkToLower/azAZ09_-4 276512 439.2 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 80494 1496 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 41164 2980 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 70010 1713 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 118876 983.3 ns/op BenchmarkFields/ASCII/16-4 140218 859.6 ns/op 18.61 MB/s 24 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 8119 13989 ns/op 18.30 MB/s 768 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 538 212031 ns/op 19.32 MB/s 9472 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 31 3864677 ns/op 16.96 MB/s 147456 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 2 60946889 ns/op 17.20 MB/s 2269184 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 78336 1499 ns/op 10.67 MB/s 48 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 5882 19640 ns/op 13.03 MB/s 704 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 355 328399 ns/op 12.47 MB/s 24832 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 18 6558870 ns/op 9.99 MB/s 512261 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 1 129588239 ns/op 8.09 MB/s 11202816 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 175868 686.1 ns/op 23.32 MB/s 24 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 10000 10612 ns/op 24.12 MB/s 768 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 657 177878 ns/op 23.03 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 28 3961201 ns/op 16.54 MB/s 512256 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 84533626 ns/op 12.40 MB/s 11211008 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 108142 1105 ns/op 14.48 MB/s 48 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 8836 13378 ns/op 19.14 MB/s 704 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 488 231679 ns/op 17.68 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 21 4945567 ns/op 13.25 MB/s 512256 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 1 103176242 ns/op 10.16 MB/s 11202816 B/op 24 allocs/op BenchmarkTrimSpace/NoTrim-4 1876464 61.69 ns/op BenchmarkTrimSpace/ASCII-4 942944 124.0 ns/op BenchmarkTrimSpace/SomeNonASCII-4 109146 1104 ns/op BenchmarkTrimSpace/JustNonASCII-4 49022 2414 ns/op BenchmarkToValidUTF8/Valid-4 500332 249.1 ns/op BenchmarkToValidUTF8/InvalidASCII-4 317764 352.5 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 101370 1233 ns/op BenchmarkIndexHard1-4 806 143557 ns/op BenchmarkIndexHard2-4 596 201245 ns/op BenchmarkIndexHard3-4 150 797931 ns/op BenchmarkIndexHard4-4 183 652793 ns/op BenchmarkLastIndexHard1-4 5 22108997 ns/op BenchmarkLastIndexHard2-4 4 28848160 ns/op BenchmarkLastIndexHard3-4 4 31429146 ns/op BenchmarkCountHard1-4 834 142896 ns/op BenchmarkCountHard2-4 601 198772 ns/op BenchmarkCountHard3-4 150 799280 ns/op BenchmarkSplitEmptySeparator-4 1 177589231 ns/op BenchmarkSplitSingleByteSeparator-4 10 11070836 ns/op BenchmarkSplitMultiByteSeparator-4 10 10331784 ns/op BenchmarkSplitNSingleByteSeparator-4 172604 604.2 ns/op BenchmarkSplitNMultiByteSeparator-4 70944 1574 ns/op BenchmarkRepeat-4 192787 605.4 ns/op BenchmarkRepeatLarge/256/1-4 133537 779.4 ns/op 328.44 MB/s BenchmarkRepeatLarge/256/16-4 194786 523.6 ns/op 488.89 MB/s BenchmarkRepeatLarge/512/1-4 93205 1079 ns/op 474.47 MB/s BenchmarkRepeatLarge/512/16-4 157035 755.1 ns/op 678.04 MB/s BenchmarkRepeatLarge/1024/1-4 70371 1575 ns/op 650.09 MB/s BenchmarkRepeatLarge/1024/16-4 96847 1245 ns/op 822.69 MB/s BenchmarkRepeatLarge/2048/1-4 45958 2489 ns/op 822.67 MB/s BenchmarkRepeatLarge/2048/16-4 48841 2201 ns/op 930.39 MB/s BenchmarkRepeatLarge/4096/1-4 26772 4266 ns/op 960.14 MB/s BenchmarkRepeatLarge/4096/16-4 28653 3852 ns/op 1063.26 MB/s BenchmarkRepeatLarge/8192/1-4 15716 7476 ns/op 1095.76 MB/s BenchmarkRepeatLarge/8192/16-4 16656 7288 ns/op 1124.11 MB/s BenchmarkRepeatLarge/8192/4097-4 24858 4356 ns/op 940.63 MB/s BenchmarkRepeatLarge/16384/1-4 8785 13878 ns/op 1180.57 MB/s BenchmarkRepeatLarge/16384/16-4 8788 13414 ns/op 1221.43 MB/s BenchmarkRepeatLarge/16384/4097-4 10000 10833 ns/op 1134.58 MB/s BenchmarkRepeatLarge/32768/1-4 4663 26535 ns/op 1234.92 MB/s BenchmarkRepeatLarge/32768/16-4 5308 25553 ns/op 1282.35 MB/s BenchmarkRepeatLarge/32768/4097-4 4995 23309 ns/op 1230.39 MB/s BenchmarkRepeatLarge/65536/1-4 2497 48633 ns/op 1347.57 MB/s BenchmarkRepeatLarge/65536/16-4 2529 46125 ns/op 1420.84 MB/s BenchmarkRepeatLarge/65536/4097-4 2337 51243 ns/op 1199.27 MB/s BenchmarkRepeatLarge/131072/1-4 230 515849 ns/op 254.09 MB/s BenchmarkRepeatLarge/131072/16-4 225 515497 ns/op 254.26 MB/s BenchmarkRepeatLarge/131072/4097-4 226 523263 ns/op 242.72 MB/s BenchmarkRepeatLarge/262144/1-4 100 1031628 ns/op 254.11 MB/s BenchmarkRepeatLarge/262144/16-4 100 1023638 ns/op 256.09 MB/s BenchmarkRepeatLarge/262144/4097-4 100 1054807 ns/op 244.70 MB/s BenchmarkRepeatLarge/524288/1-4 62 2022142 ns/op 259.27 MB/s BenchmarkRepeatLarge/524288/16-4 62 2025868 ns/op 258.80 MB/s BenchmarkRepeatLarge/524288/4097-4 56 2031725 ns/op 256.10 MB/s BenchmarkRepeatLarge/1048576/1-4 30 4063701 ns/op 258.03 MB/s BenchmarkRepeatLarge/1048576/16-4 27 4022860 ns/op 260.65 MB/s BenchmarkRepeatLarge/1048576/4097-4 30 4286646 ns/op 243.72 MB/s BenchmarkRepeatLarge/2097152/1-4 15 7836304 ns/op 267.62 MB/s BenchmarkRepeatLarge/2097152/16-4 14 7964424 ns/op 263.31 MB/s BenchmarkRepeatLarge/2097152/4097-4 15 7929406 ns/op 264.03 MB/s BenchmarkRepeatLarge/4194304/1-4 7 16100896 ns/op 260.50 MB/s BenchmarkRepeatLarge/4194304/16-4 7 15755747 ns/op 266.21 MB/s BenchmarkRepeatLarge/4194304/4097-4 7 15800601 ns/op 265.26 MB/s BenchmarkRepeatLarge/8388608/1-4 3 33645197 ns/op 249.33 MB/s BenchmarkRepeatLarge/8388608/16-4 4 30959433 ns/op 270.95 MB/s BenchmarkRepeatLarge/8388608/4097-4 4 32338802 ns/op 259.33 MB/s BenchmarkRepeatLarge/16777216/1-4 2 61112630 ns/op 274.53 MB/s BenchmarkRepeatLarge/16777216/16-4 2 62384654 ns/op 268.93 MB/s BenchmarkRepeatLarge/16777216/4097-4 2 62181626 ns/op 269.81 MB/s BenchmarkRepeatLarge/33554432/1-4 1 119815753 ns/op 280.05 MB/s BenchmarkRepeatLarge/33554432/16-4 1 117780046 ns/op 284.89 MB/s BenchmarkRepeatLarge/33554432/4097-4 1 120390209 ns/op 278.71 MB/s BenchmarkRepeatLarge/67108864/1-4 1 234942175 ns/op 285.64 MB/s BenchmarkRepeatLarge/67108864/16-4 1 235183564 ns/op 285.35 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 235758390 ns/op 284.65 MB/s BenchmarkRepeatLarge/134217728/1-4 1 474378746 ns/op 282.93 MB/s BenchmarkRepeatLarge/134217728/16-4 1 478535578 ns/op 280.48 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 467067015 ns/op 287.36 MB/s BenchmarkRepeatLarge/268435456/1-4 1 920818632 ns/op 291.52 MB/s BenchmarkRepeatLarge/268435456/16-4 1 905260255 ns/op 296.53 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 912478569 ns/op 294.18 MB/s BenchmarkRepeatLarge/536870912/1-4 1 1855626416 ns/op 289.32 MB/s BenchmarkRepeatLarge/536870912/16-4 1 1849529461 ns/op 290.27 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 1768434593 ns/op 303.59 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 3784967558 ns/op 283.69 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 3624346732 ns/op 296.26 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 3596183559 ns/op 298.58 MB/s BenchmarkBytesCompare/1-4 8914262 13.06 ns/op BenchmarkBytesCompare/2-4 9256030 12.18 ns/op BenchmarkBytesCompare/4-4 8954068 12.15 ns/op BenchmarkBytesCompare/8-4 9790833 11.16 ns/op BenchmarkBytesCompare/16-4 9843394 11.21 ns/op BenchmarkBytesCompare/32-4 9053317 12.77 ns/op BenchmarkBytesCompare/64-4 8574169 13.68 ns/op BenchmarkBytesCompare/128-4 7528846 15.98 ns/op BenchmarkBytesCompare/256-4 5346541 22.17 ns/op BenchmarkBytesCompare/512-4 3871640 29.31 ns/op BenchmarkBytesCompare/1024-4 2440921 46.98 ns/op BenchmarkBytesCompare/2048-4 1388384 84.23 ns/op BenchmarkIndexAnyASCII/1:1-4 2290498 51.15 ns/op BenchmarkIndexAnyASCII/1:2-4 2411838 50.25 ns/op BenchmarkIndexAnyASCII/1:4-4 2410839 49.73 ns/op BenchmarkIndexAnyASCII/1:8-4 2374580 49.91 ns/op BenchmarkIndexAnyASCII/1:16-4 2337076 50.32 ns/op BenchmarkIndexAnyASCII/1:32-4 2348252 50.26 ns/op BenchmarkIndexAnyASCII/1:64-4 2397475 49.95 ns/op BenchmarkIndexAnyASCII/16:1-4 1999668 58.24 ns/op BenchmarkIndexAnyASCII/16:2-4 415660 281.2 ns/op BenchmarkIndexAnyASCII/16:4-4 423008 280.0 ns/op BenchmarkIndexAnyASCII/16:8-4 404653 281.3 ns/op BenchmarkIndexAnyASCII/16:16-4 375192 303.7 ns/op BenchmarkIndexAnyASCII/16:32-4 340968 327.6 ns/op BenchmarkIndexAnyASCII/16:64-4 317354 378.4 ns/op BenchmarkIndexAnyASCII/256:1-4 1810045 64.98 ns/op BenchmarkIndexAnyASCII/256:2-4 32408 3636 ns/op BenchmarkIndexAnyASCII/256:4-4 33337 3633 ns/op BenchmarkIndexAnyASCII/256:8-4 32272 3656 ns/op BenchmarkIndexAnyASCII/256:16-4 32798 3640 ns/op BenchmarkIndexAnyASCII/256:32-4 32838 3639 ns/op BenchmarkIndexAnyASCII/256:64-4 32415 3717 ns/op BenchmarkIndexAnyUTF8/1:1-4 2307886 52.87 ns/op BenchmarkIndexAnyUTF8/1:2-4 2285542 51.88 ns/op BenchmarkIndexAnyUTF8/1:4-4 2314036 51.38 ns/op BenchmarkIndexAnyUTF8/1:8-4 2319548 52.01 ns/op BenchmarkIndexAnyUTF8/1:16-4 2341136 51.14 ns/op BenchmarkIndexAnyUTF8/1:32-4 2364362 52.11 ns/op BenchmarkIndexAnyUTF8/1:64-4 2250680 52.82 ns/op BenchmarkIndexAnyUTF8/16:1-4 144182 810.8 ns/op BenchmarkIndexAnyUTF8/16:2-4 268311 446.2 ns/op BenchmarkIndexAnyUTF8/16:4-4 267782 447.8 ns/op BenchmarkIndexAnyUTF8/16:8-4 262849 437.9 ns/op BenchmarkIndexAnyUTF8/16:16-4 265238 439.5 ns/op BenchmarkIndexAnyUTF8/16:32-4 246450 453.7 ns/op BenchmarkIndexAnyUTF8/16:64-4 260264 460.4 ns/op BenchmarkIndexAnyUTF8/256:1-4 9607 11791 ns/op BenchmarkIndexAnyUTF8/256:2-4 19191 6284 ns/op BenchmarkIndexAnyUTF8/256:4-4 19346 6268 ns/op BenchmarkIndexAnyUTF8/256:8-4 19315 6239 ns/op BenchmarkIndexAnyUTF8/256:16-4 18891 6244 ns/op BenchmarkIndexAnyUTF8/256:32-4 18393 6455 ns/op BenchmarkIndexAnyUTF8/256:64-4 18679 6472 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2268998 52.41 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2309170 52.11 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2352195 51.09 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2337182 51.56 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2304224 50.56 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2329356 50.96 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2321247 51.44 ns/op BenchmarkLastIndexAnyASCII/16:1-4 329024 357.4 ns/op BenchmarkLastIndexAnyASCII/16:2-4 326468 363.6 ns/op BenchmarkLastIndexAnyASCII/16:4-4 320528 363.2 ns/op BenchmarkLastIndexAnyASCII/16:8-4 320505 366.2 ns/op BenchmarkLastIndexAnyASCII/16:16-4 302085 382.1 ns/op BenchmarkLastIndexAnyASCII/16:32-4 287997 412.9 ns/op BenchmarkLastIndexAnyASCII/16:64-4 255135 459.8 ns/op BenchmarkLastIndexAnyASCII/256:1-4 24300 4909 ns/op BenchmarkLastIndexAnyASCII/256:2-4 24394 4900 ns/op BenchmarkLastIndexAnyASCII/256:4-4 23755 4906 ns/op BenchmarkLastIndexAnyASCII/256:8-4 24459 4909 ns/op BenchmarkLastIndexAnyASCII/256:16-4 24334 4976 ns/op BenchmarkLastIndexAnyASCII/256:32-4 24212 4942 ns/op BenchmarkLastIndexAnyASCII/256:64-4 23973 5048 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2236668 52.07 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2319662 51.12 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2318020 51.51 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2338026 51.47 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2311848 50.95 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2292276 51.18 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2310210 51.23 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 223664 507.4 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 270133 439.8 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 271647 437.6 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 271934 436.0 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 270072 439.4 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 258732 458.1 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 259953 457.2 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 16419 7237 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 19378 6163 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 19419 6255 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 19400 6216 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 18982 6313 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 18286 6553 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 18379 6498 ns/op BenchmarkTrimASCII/1:1-4 2516437 47.12 ns/op BenchmarkTrimASCII/1:2-4 2164621 56.20 ns/op BenchmarkTrimASCII/1:4-4 2089574 56.87 ns/op BenchmarkTrimASCII/1:8-4 1925606 62.95 ns/op BenchmarkTrimASCII/1:16-4 1645363 72.48 ns/op BenchmarkTrimASCII/16:1-4 423613 280.8 ns/op BenchmarkTrimASCII/16:2-4 304621 380.2 ns/op BenchmarkTrimASCII/16:4-4 302142 378.9 ns/op BenchmarkTrimASCII/16:8-4 318578 376.8 ns/op BenchmarkTrimASCII/16:16-4 302221 391.3 ns/op BenchmarkTrimASCII/256:1-4 32685 3662 ns/op BenchmarkTrimASCII/256:2-4 23602 5151 ns/op BenchmarkTrimASCII/256:4-4 23386 5100 ns/op BenchmarkTrimASCII/256:8-4 23217 5081 ns/op BenchmarkTrimASCII/256:16-4 23588 5081 ns/op BenchmarkTrimASCII/4096:1-4 2036 58357 ns/op BenchmarkTrimASCII/4096:2-4 1454 80074 ns/op BenchmarkTrimASCII/4096:4-4 1479 80417 ns/op BenchmarkTrimASCII/4096:8-4 1490 81148 ns/op BenchmarkTrimASCII/4096:16-4 1464 80395 ns/op BenchmarkTrimByte-4 1436485 83.51 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 13113 9111 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 13095 9089 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 666 172856 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 1332 86179 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 2576 43779 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 4640 23309 ns/op BenchmarkCompareBytesEqual-4 9920149 12.03 ns/op BenchmarkCompareBytesToNil-4 11718351 10.23 ns/op BenchmarkCompareBytesEmpty-4 11508643 10.33 ns/op BenchmarkCompareBytesIdentical-4 11169489 10.52 ns/op BenchmarkCompareBytesSameLength-4 10580559 11.34 ns/op BenchmarkCompareBytesDifferentLength-4 10041013 11.91 ns/op BenchmarkCompareBytesBigUnaligned/offset=1-4 1389 85890 ns/op 12208.45 MB/s BenchmarkCompareBytesBigUnaligned/offset=2-4 1760 85930 ns/op 12202.81 MB/s BenchmarkCompareBytesBigUnaligned/offset=3-4 1364 85194 ns/op 12308.16 MB/s BenchmarkCompareBytesBigUnaligned/offset=4-4 1390 76732 ns/op 13665.55 MB/s BenchmarkCompareBytesBigUnaligned/offset=5-4 1507 74023 ns/op 14165.75 MB/s BenchmarkCompareBytesBigUnaligned/offset=6-4 1714 78919 ns/op 13286.85 MB/s BenchmarkCompareBytesBigUnaligned/offset=7-4 1390 76683 ns/op 13674.26 MB/s BenchmarkCompareBytesBig-4 1324 78079 ns/op 13429.80 MB/s BenchmarkCompareBytesBigIdentical-4 12171968 9.834 ns/op 106632562.44 MB/s PASS ok bytes 69.892s goos: linux goarch: amd64 pkg: compress/bzip2 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecodeDigits-4 2 75406756 ns/op 1.33 MB/s 3616636 B/op 53 allocs/op BenchmarkDecodeNewton-4 1 329934420 ns/op 1.72 MB/s 3629856 B/op 50 allocs/op BenchmarkDecodeRand-4 5 24353461 ns/op 0.67 MB/s 3645123 B/op 51 allocs/op PASS ok compress/bzip2 2.377s goos: linux goarch: amd64 pkg: compress/flate cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecode/Digits/Huffman/1e4-4 60 1763972 ns/op 5.67 MB/s 43412 B/op 5 allocs/op BenchmarkDecode/Digits/Huffman/1e5-4 6 16798850 ns/op 5.95 MB/s 43353 B/op 6 allocs/op BenchmarkDecode/Digits/Huffman/1e6-4 1 169944184 ns/op 5.88 MB/s 49264 B/op 9 allocs/op BenchmarkDecode/Digits/Speed/1e4-4 64 1764465 ns/op 5.67 MB/s 42798 B/op 8 allocs/op BenchmarkDecode/Digits/Speed/1e5-4 6 17699491 ns/op 5.65 MB/s 47749 B/op 13 allocs/op BenchmarkDecode/Digits/Speed/1e6-4 1 177984219 ns/op 5.62 MB/s 53024 B/op 77 allocs/op BenchmarkDecode/Digits/Default/1e4-4 64 1748348 ns/op 5.72 MB/s 43143 B/op 7 allocs/op BenchmarkDecode/Digits/Default/1e5-4 6 16675837 ns/op 6.00 MB/s 47741 B/op 15 allocs/op BenchmarkDecode/Digits/Default/1e6-4 1 167760361 ns/op 5.96 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Digits/Compression/1e4-4 64 1749831 ns/op 5.71 MB/s 42758 B/op 7 allocs/op BenchmarkDecode/Digits/Compression/1e5-4 7 16546210 ns/op 6.04 MB/s 45577 B/op 14 allocs/op BenchmarkDecode/Digits/Compression/1e6-4 1 167798676 ns/op 5.96 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Newton/Huffman/1e4-4 56 1920308 ns/op 5.21 MB/s 43442 B/op 14 allocs/op BenchmarkDecode/Newton/Huffman/1e5-4 6 18783730 ns/op 5.32 MB/s 47833 B/op 24 allocs/op BenchmarkDecode/Newton/Huffman/1e6-4 1 188340000 ns/op 5.31 MB/s 88512 B/op 165 allocs/op BenchmarkDecode/Newton/Speed/1e4-4 75 1525942 ns/op 6.55 MB/s 43020 B/op 18 allocs/op BenchmarkDecode/Newton/Speed/1e5-4 8 12668091 ns/op 7.89 MB/s 49939 B/op 32 allocs/op BenchmarkDecode/Newton/Speed/1e6-4 1 129007518 ns/op 7.75 MB/s 89696 B/op 232 allocs/op BenchmarkDecode/Newton/Default/1e4-4 79 1387841 ns/op 7.21 MB/s 42509 B/op 15 allocs/op BenchmarkDecode/Newton/Default/1e5-4 10 10016062 ns/op 9.98 MB/s 45396 B/op 32 allocs/op BenchmarkDecode/Newton/Default/1e6-4 1 101223723 ns/op 9.88 MB/s 70320 B/op 162 allocs/op BenchmarkDecode/Newton/Compression/1e4-4 80 1357630 ns/op 7.37 MB/s 43723 B/op 15 allocs/op BenchmarkDecode/Newton/Compression/1e5-4 10 10037494 ns/op 9.96 MB/s 45396 B/op 32 allocs/op BenchmarkDecode/Newton/Compression/1e6-4 1 101451027 ns/op 9.86 MB/s 72120 B/op 154 allocs/op BenchmarkEncode/Digits/Huffman/1e4-4 97 1246657 ns/op 8.02 MB/s BenchmarkEncode/Digits/Huffman/1e5-4 9 11847340 ns/op 8.44 MB/s BenchmarkEncode/Digits/Huffman/1e6-4 1 118175583 ns/op 8.46 MB/s BenchmarkEncode/Digits/Speed/1e4-4 51 2350607 ns/op 4.25 MB/s BenchmarkEncode/Digits/Speed/1e5-4 5 20754559 ns/op 4.82 MB/s BenchmarkEncode/Digits/Speed/1e6-4 1 203232151 ns/op 4.92 MB/s BenchmarkEncode/Digits/Default/1e4-4 18 6751599 ns/op 1.48 MB/s BenchmarkEncode/Digits/Default/1e5-4 2 81993514 ns/op 1.22 MB/s BenchmarkEncode/Digits/Default/1e6-4 1 832514237 ns/op 1.20 MB/s BenchmarkEncode/Digits/Compression/1e4-4 16 6640378 ns/op 1.51 MB/s BenchmarkEncode/Digits/Compression/1e5-4 2 83668009 ns/op 1.20 MB/s BenchmarkEncode/Digits/Compression/1e6-4 1 838711713 ns/op 1.19 MB/s BenchmarkEncode/Newton/Huffman/1e4-4 69 1468302 ns/op 6.81 MB/s BenchmarkEncode/Newton/Huffman/1e5-4 8 12576507 ns/op 7.95 MB/s BenchmarkEncode/Newton/Huffman/1e6-4 1 126104344 ns/op 7.93 MB/s BenchmarkEncode/Newton/Speed/1e4-4 48 2215351 ns/op 4.51 MB/s BenchmarkEncode/Newton/Speed/1e5-4 6 16902467 ns/op 5.92 MB/s BenchmarkEncode/Newton/Speed/1e6-4 1 163723298 ns/op 6.11 MB/s BenchmarkEncode/Newton/Default/1e4-4 18 6460070 ns/op 1.55 MB/s BenchmarkEncode/Newton/Default/1e5-4 2 73486870 ns/op 1.36 MB/s BenchmarkEncode/Newton/Default/1e6-4 1 752441435 ns/op 1.33 MB/s BenchmarkEncode/Newton/Compression/1e4-4 16 6508401 ns/op 1.54 MB/s BenchmarkEncode/Newton/Compression/1e5-4 2 93292328 ns/op 1.07 MB/s BenchmarkEncode/Newton/Compression/1e6-4 1 964953612 ns/op 1.04 MB/s PASS ok compress/flate 16.720s goos: linux goarch: amd64 pkg: compress/lzw cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecoder/1e4-4 49 2256759 ns/op 4.43 MB/s BenchmarkDecoder/1e-Reuse4-4 50 2369504 ns/op 4.22 MB/s BenchmarkDecoder/1e5-4 5 22286546 ns/op 4.49 MB/s BenchmarkDecoder/1e-Reuse5-4 5 22831116 ns/op 4.38 MB/s BenchmarkDecoder/1e6-4 1 224161657 ns/op 4.46 MB/s BenchmarkDecoder/1e-Reuse6-4 1 226230708 ns/op 4.42 MB/s BenchmarkEncoder/1e4-4 51 2190442 ns/op 4.57 MB/s BenchmarkEncoder/1e-Reuse4-4 64 1804583 ns/op 5.54 MB/s BenchmarkEncoder/1e5-4 6 19102701 ns/op 5.23 MB/s BenchmarkEncoder/1e-Reuse5-4 6 19057853 ns/op 5.25 MB/s BenchmarkEncoder/1e6-4 1 194810372 ns/op 5.13 MB/s BenchmarkEncoder/1e-Reuse6-4 1 191304045 ns/op 5.23 MB/s PASS ok compress/lzw 3.710s goos: linux goarch: amd64 pkg: container/heap cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDup-4 30 3878984 ns/op PASS ok container/heap 1.238s goos: linux goarch: amd64 pkg: context cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCommonParentCancel-4 18453 6287 ns/op BenchmarkWithTimeout/concurrency=40-4 4968 26096 ns/op BenchmarkWithTimeout/concurrency=4000-4 4908 25443 ns/op BenchmarkWithTimeout/concurrency=400000-4 6266 25830 ns/op BenchmarkCancelTree/depth=1/Root=Background-4 411778 298.7 ns/op BenchmarkCancelTree/depth=1/Root=OpenCanceler-4 13092 11100 ns/op BenchmarkCancelTree/depth=1/Root=ClosedCanceler-4 14270 7717 ns/op BenchmarkCancelTree/depth=10/Root=Background-4 2578 50246 ns/op BenchmarkCancelTree/depth=10/Root=OpenCanceler-4 1672 77917 ns/op BenchmarkCancelTree/depth=10/Root=ClosedCanceler-4 2276 57340 ns/op BenchmarkCancelTree/depth=100/Root=Background-4 216 557445 ns/op BenchmarkCancelTree/depth=100/Root=OpenCanceler-4 150 1083699 ns/op BenchmarkCancelTree/depth=100/Root=ClosedCanceler-4 240 464645 ns/op BenchmarkCancelTree/depth=1000/Root=Background-4 19 5526466 ns/op BenchmarkCancelTree/depth=1000/Root=OpenCanceler-4 12 9592470 ns/op BenchmarkCancelTree/depth=1000/Root=ClosedCanceler-4 21 4924701 ns/op BenchmarkCheckCanceled/Err-4 252172 451.6 ns/op BenchmarkCheckCanceled/Done-4 382232 295.4 ns/op BenchmarkContextCancelDone-4 434948 268.8 ns/op BenchmarkDeepValueNewGoRoutine/depth=10-4 21756 5271 ns/op BenchmarkDeepValueNewGoRoutine/depth=20-4 20384 6109 ns/op BenchmarkDeepValueNewGoRoutine/depth=30-4 18097 6599 ns/op BenchmarkDeepValueNewGoRoutine/depth=50-4 15553 7694 ns/op BenchmarkDeepValueNewGoRoutine/depth=100-4 11416 10153 ns/op BenchmarkDeepValueSameGoRoutine/depth=10-4 509296 229.3 ns/op BenchmarkDeepValueSameGoRoutine/depth=20-4 296259 410.1 ns/op BenchmarkDeepValueSameGoRoutine/depth=30-4 205156 586.4 ns/op BenchmarkDeepValueSameGoRoutine/depth=50-4 127917 926.4 ns/op BenchmarkDeepValueSameGoRoutine/depth=100-4 66577 1805 ns/op PASS ok context 12.972s goos: linux goarch: amd64 pkg: crypto/aes cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncrypt-4 1738346 68.99 ns/op 231.93 MB/s BenchmarkDecrypt-4 1751469 68.21 ns/op 234.58 MB/s BenchmarkExpand-4 960015 118.8 ns/op PASS ok crypto/aes 1.522s goos: linux goarch: amd64 pkg: crypto/cipher cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAESGCM/Open-128-64-4 172654 658.1 ns/op 97.25 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-64-4 363238 294.0 ns/op 217.70 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-64-4 176108 675.2 ns/op 94.79 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-64-4 372394 310.5 ns/op 206.10 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-1350-4 116574 1019 ns/op 1324.52 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-1350-4 158737 666.2 ns/op 2026.35 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-1350-4 106767 1131 ns/op 1193.42 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-1350-4 133869 798.6 ns/op 1690.54 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-8192-4 40879 2905 ns/op 2820.41 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-8192-4 52636 2279 ns/op 3594.36 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-8192-4 34276 3484 ns/op 2351.30 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-8192-4 39607 3052 ns/op 2684.26 MB/s 0 B/op 0 allocs/op BenchmarkAESCFBEncrypt1K-4 6571 16872 ns/op 60.39 MB/s BenchmarkAESCFBDecrypt1K-4 7185 16381 ns/op 62.21 MB/s BenchmarkAESCFBDecrypt8K-4 933 129393 ns/op 63.27 MB/s BenchmarkAESOFB1K-4 10000 11169 ns/op 91.24 MB/s BenchmarkAESCTR1K-4 13993 8577 ns/op 118.81 MB/s BenchmarkAESCTR8K-4 1705 68076 ns/op 120.26 MB/s BenchmarkAESCBCEncrypt1K-4 14480 8328 ns/op 122.96 MB/s BenchmarkAESCBCDecrypt1K-4 18135 6647 ns/op 154.07 MB/s PASS ok crypto/cipher 3.838s goos: linux goarch: amd64 pkg: crypto/des cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncrypt-4 71372 1602 ns/op 4.99 MB/s BenchmarkDecrypt-4 79404 1473 ns/op 5.43 MB/s BenchmarkTDESEncrypt-4 30340 3953 ns/op 2.02 MB/s BenchmarkTDESDecrypt-4 30915 3874 ns/op 2.07 MB/s PASS ok crypto/des 1.611s goos: linux goarch: amd64 pkg: crypto/ecdh cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkECDH/P256-4 932 122333 ns/op 760 B/op 12 allocs/op BenchmarkECDH/P384-4 15 7512497 ns/op 1086 B/op 21 allocs/op BenchmarkECDH/P521-4 6 19767363 ns/op 1536 B/op 21 allocs/op BenchmarkECDH/X25519-4 97 1212399 ns/op 375 B/op 9 allocs/op PASS ok crypto/ecdh 1.617s goos: linux goarch: amd64 pkg: crypto/ecdsa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSign/P256-4 1746 63391 ns/op 2512 B/op 33 allocs/op BenchmarkSign/P384-4 34 3380203 ns/op 2678 B/op 34 allocs/op BenchmarkSign/P521-4 14 8214731 ns/op 3060 B/op 35 allocs/op BenchmarkVerify/P256-4 939 124666 ns/op 432 B/op 8 allocs/op BenchmarkVerify/P384-4 13 8432890 ns/op 592 B/op 12 allocs/op BenchmarkVerify/P521-4 5 21913012 ns/op 912 B/op 12 allocs/op BenchmarkGenerateKey/P256-4 3925 28973 ns/op 896 B/op 14 allocs/op BenchmarkGenerateKey/P384-4 62 1890073 ns/op 1096 B/op 17 allocs/op BenchmarkGenerateKey/P521-4 24 4898455 ns/op 1416 B/op 17 allocs/op PASS ok crypto/ecdsa 2.663s goos: linux goarch: amd64 pkg: crypto/ed25519 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkKeyGeneration-4 324 358674 ns/op BenchmarkNewKeyFromSeed-4 331 353393 ns/op BenchmarkSigning-4 315 378213 ns/op BenchmarkVerification-4 218 549023 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 4852 23725 ns/op 368 B/op 6 allocs/op BenchmarkScalarBaseMult/P224-4 157 769304 ns/op 376 B/op 9 allocs/op BenchmarkScalarBaseMult/P384-4 57 1966524 ns/op 504 B/op 9 allocs/op BenchmarkScalarBaseMult/P521-4 22 5027875 ns/op 696 B/op 9 allocs/op BenchmarkScalarMult/P256-4 1358 86664 ns/op 448 B/op 7 allocs/op BenchmarkScalarMult/P224-4 61 1937902 ns/op 440 B/op 10 allocs/op BenchmarkScalarMult/P384-4 21 5303175 ns/op 616 B/op 10 allocs/op BenchmarkScalarMult/P521-4 7 14655923 ns/op 840 B/op 10 allocs/op BenchmarkMarshalUnmarshal/P256/Uncompressed-4 12412 9229 ns/op 544 B/op 8 allocs/op BenchmarkMarshalUnmarshal/P256/Compressed-4 6034 19880 ns/op 592 B/op 9 allocs/op BenchmarkMarshalUnmarshal/P224/Uncompressed-4 3586 29852 ns/op 560 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P224/Compressed-4 85 1303496 ns/op 592 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P384/Uncompressed-4 2463 48340 ns/op 784 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P384/Compressed-4 303 388820 ns/op 848 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P521/Uncompressed-4 1526 76613 ns/op 1104 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P521/Compressed-4 93 1245155 ns/op 1184 B/op 15 allocs/op PASS ok crypto/elliptic 3.416s goos: linux goarch: amd64 pkg: crypto/hmac cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHMACSHA256_1K-4 14775 8148 ns/op 125.67 MB/s BenchmarkHMACSHA256_32-4 24343 4821 ns/op 6.64 MB/s BenchmarkNewWriteSum-4 12010 9505 ns/op 3.37 MB/s PASS ok crypto/hmac 1.613s goos: linux goarch: amd64 pkg: crypto/internal/bigmod cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkModAdd-4 52006 2230 ns/op BenchmarkModSub-4 53730 2200 ns/op BenchmarkMontgomeryRepr-4 27271 4372 ns/op BenchmarkMontgomeryMul-4 27128 4474 ns/op BenchmarkModMul-4 13314 9189 ns/op BenchmarkExpBig-4 15 7388553 ns/op BenchmarkExp-4 6 17916429 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 3603 33730 ns/op BenchmarkScalarBaseMult-4 344 332092 ns/op BenchmarkScalarMult-4 157 761991 ns/op BenchmarkVarTimeDoubleScalarBaseMult-4 236 505244 ns/op PASS ok crypto/internal/edwards25519 1.748s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519/field cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAdd-4 523165 208.0 ns/op BenchmarkMultiply-4 4350574 27.94 ns/op BenchmarkSquare-4 5195456 22.70 ns/op BenchmarkInvert-4 24837 4819 ns/op BenchmarkMult32-4 1498862 78.28 ns/op PASS ok crypto/internal/edwards25519/field 1.798s goos: linux goarch: amd64 pkg: crypto/internal/nistec cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScalarMult/P224-4 55 1864202 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P256-4 1606 74643 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P384-4 21 5163584 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P521-4 8 14133617 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P224-4 178 660897 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P256-4 7773 15043 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P384-4 64 1703814 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P521-4 25 4274024 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec 2.077s goos: linux goarch: amd64 pkg: crypto/internal/nistec/fiat cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMul/P224-4 596096 184.5 ns/op 0 B/op 0 allocs/op BenchmarkMul/P384-4 311281 363.9 ns/op 0 B/op 0 allocs/op BenchmarkMul/P521-4 114871 1015 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P224-4 670460 179.2 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P384-4 318393 369.7 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P521-4 117310 1007 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec/fiat 1.760s goos: linux goarch: amd64 pkg: crypto/md5 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes-4 121546 986.8 ns/op 8.11 MB/s BenchmarkHash64-4 124383 913.1 ns/op 70.09 MB/s BenchmarkHash128-4 116854 1017 ns/op 125.90 MB/s BenchmarkHash256-4 93332 1263 ns/op 202.68 MB/s BenchmarkHash512-4 68805 1745 ns/op 293.49 MB/s BenchmarkHash1K-4 43694 2708 ns/op 378.10 MB/s BenchmarkHash8K-4 7444 16175 ns/op 506.45 MB/s BenchmarkHash1M-4 60 1953641 ns/op 536.73 MB/s BenchmarkHash8M-4 7 15642662 ns/op 536.26 MB/s BenchmarkHash8BytesUnaligned-4 115474 980.4 ns/op 8.16 MB/s BenchmarkHash1KUnaligned-4 43827 2734 ns/op 374.61 MB/s BenchmarkHash8KUnaligned-4 7336 16095 ns/op 508.98 MB/s PASS ok crypto/md5 2.699s goos: linux goarch: amd64 pkg: crypto/rand cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPrime-4 1 442986718 ns/op PASS ok crypto/rand 1.462s goos: linux goarch: amd64 pkg: crypto/rc4 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRC4_128-4 13010 9266 ns/op 13.81 MB/s BenchmarkRC4_1K-4 1552 71813 ns/op 14.26 MB/s BenchmarkRC4_8K-4 208 568724 ns/op 14.24 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 10404926 ns/op BenchmarkDecryptPKCS1v15/3072-4 5 23260007 ns/op BenchmarkDecryptPKCS1v15/4096-4 3 41340283 ns/op BenchmarkEncryptPKCS1v15/2048-4 40 2616118 ns/op BenchmarkDecryptOAEP/2048-4 10 10392554 ns/op BenchmarkEncryptOAEP/2048-4 40 2667223 ns/op BenchmarkSignPKCS1v15/2048-4 10 10410936 ns/op BenchmarkVerifyPKCS1v15/2048-4 45 2622033 ns/op BenchmarkSignPSS/2048-4 10 10658929 ns/op BenchmarkVerifyPSS/2048-4 44 2644412 ns/op PASS ok crypto/rsa 2.601s goos: linux goarch: amd64 pkg: crypto/sha1 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 105246 1108 ns/op 7.22 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum-4 123393 940.3 ns/op 8.51 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/New-4 73989 1591 ns/op 201.11 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/Sum-4 86486 1380 ns/op 231.86 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 48726 2445 ns/op 418.77 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum-4 52639 2249 ns/op 455.25 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 9056 11855 ns/op 690.99 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum-4 9754 11680 ns/op 701.37 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha1 2.066s goos: linux goarch: amd64 pkg: crypto/sha256 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 80343 1431 ns/op 5.59 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum224-4 95600 1231 ns/op 6.50 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 91668 1304 ns/op 6.13 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 25524 4680 ns/op 218.81 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum224-4 26666 4451 ns/op 230.08 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 26505 4528 ns/op 226.16 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 4262 28464 ns/op 287.80 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum224-4 4185 28025 ns/op 292.31 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 4184 28033 ns/op 292.23 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha256 2.292s goos: linux goarch: amd64 pkg: crypto/sha512 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 58456 2001 ns/op 4.00 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum384-4 73873 1591 ns/op 5.03 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum512-4 65304 1807 ns/op 4.43 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 28512 4190 ns/op 244.40 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum384-4 31768 3787 ns/op 270.42 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum512-4 30321 3959 ns/op 258.66 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 5838 20091 ns/op 407.74 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum384-4 5917 19831 ns/op 413.09 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum512-4 5883 19948 ns/op 410.67 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha512 2.287s goos: linux goarch: amd64 pkg: crypto/subtle cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkConstantTimeByteEq-4 19743872 6.116 ns/op BenchmarkConstantTimeEq-4 19685432 6.082 ns/op BenchmarkConstantTimeLessOrEq-4 19484672 6.159 ns/op BenchmarkXORBytes/8Bytes-4 4551786 24.62 ns/op 325.00 MB/s BenchmarkXORBytes/128Bytes-4 4075314 28.77 ns/op 4449.31 MB/s BenchmarkXORBytes/2048Bytes-4 915073 130.2 ns/op 15731.10 MB/s BenchmarkXORBytes/32768Bytes-4 61269 1957 ns/op 16745.86 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 164 824066 ns/op BenchmarkCertCache/1-4 171 772059 ns/op BenchmarkCertCache/2-4 147 814021 ns/op BenchmarkCertCache/3-4 193 749515 ns/op BenchmarkHandshakeServer/RSA-4 15 7532572 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv13-4 14 8225968 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv12-4 15 7547675 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv13-4 104 1146100 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv12-4 154 775109 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv13-4 50 2388200 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv12-4 57 1978271 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv13-4 4 32696293 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12-4 4 33245659 ns/op BenchmarkThroughput/MaxPacket/1MB/TLSv12-4 4 25169338 ns/op 41.66 MB/s BenchmarkThroughput/MaxPacket/1MB/TLSv13-4 4 29313383 ns/op 35.77 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv12-4 3 35575987 ns/op 58.95 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv13-4 2 52777440 ns/op 39.74 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv12-4 2 64309786 ns/op 65.22 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv13-4 2 78420796 ns/op 53.48 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv12-4 1 118153658 ns/op 71.00 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv13-4 1 154285175 ns/op 54.37 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv12-4 1 213369049 ns/op 78.63 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv13-4 1 250194797 ns/op 67.06 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv12-4 1 443852385 ns/op 75.60 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv13-4 1 619842543 ns/op 54.13 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv12-4 1 869038819 ns/op 77.22 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv13-4 1 1079685661 ns/op 62.16 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv12-4 4 25745542 ns/op 40.73 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv13-4 4 31915275 ns/op 32.85 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv12-4 3 36379665 ns/op 57.65 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv13-4 2 50007294 ns/op 41.94 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv12-4 2 64256914 ns/op 65.27 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv13-4 2 83732308 ns/op 50.09 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv12-4 1 128553058 ns/op 65.25 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv13-4 1 188855613 ns/op 44.42 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv12-4 1 228469316 ns/op 73.43 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv13-4 1 300497578 ns/op 55.83 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv12-4 1 420902292 ns/op 79.72 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv13-4 1 604792943 ns/op 55.48 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv12-4 1 815057017 ns/op 82.34 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv13-4 1 1179139503 ns/op 56.91 MB/s BenchmarkLatency/MaxPacket/200kbps/TLSv12-4 1 707326742 ns/op BenchmarkLatency/MaxPacket/200kbps/TLSv13-4 1 709608983 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv12-4 1 291725947 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv13-4 1 290952655 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv12-4 1 153966967 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv13-4 1 153902469 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv12-4 2 84511774 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv13-4 2 83499859 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv12-4 3 43443844 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv13-4 3 42156594 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv12-4 1 145749611 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv13-4 1 148895617 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv12-4 2 67678270 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv13-4 2 67891380 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv12-4 3 41538156 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv13-4 3 40592636 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv12-4 4 28370394 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv13-4 4 27672516 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv12-4 5 20869222 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv13-4 6 19920619 ns/op PASS ok crypto/tls 19.599s goos: linux goarch: amd64 pkg: crypto/x509 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCreateCertificate/RSA_2048-4 8 14329253 ns/op BenchmarkCreateCertificate/ECDSA_P256-4 320 362136 ns/op BenchmarkParseCertificate/ecdsa_leaf-4 994 112070 ns/op 12098 B/op 164 allocs/op BenchmarkParseCertificate/rsa_leaf-4 897 122903 ns/op 13507 B/op 187 allocs/op PASS ok crypto/x509 1.959s goos: linux goarch: amd64 pkg: database/sql cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkConcurrentDBExec-4 31 3396082 ns/op 279588 B/op 1632 allocs/op BenchmarkConcurrentStmtQuery-4 27 3775803 ns/op 260567 B/op 2010 allocs/op BenchmarkConcurrentStmtExec-4 50 2534025 ns/op 216949 B/op 645 allocs/op BenchmarkConcurrentTxQuery-4 34 3347072 ns/op 274660 B/op 2153 allocs/op BenchmarkConcurrentTxExec-4 69 1987804 ns/op 87783 B/op 1554 allocs/op BenchmarkConcurrentTxStmtQuery-4 37 3300312 ns/op 105248 B/op 2109 allocs/op BenchmarkConcurrentTxStmtExec-4 116 1006907 ns/op 41415 B/op 381 allocs/op BenchmarkConcurrentRandom-4 33 3309211 ns/op 227027 B/op 1828 allocs/op BenchmarkManyConcurrentQueries-4 2253 48168 ns/op 3994 B/op 20 allocs/op BenchmarkGrabConn-4 191415 627.1 ns/op 0 B/op 0 allocs/op PASS ok database/sql 2.539s goos: linux goarch: amd64 pkg: debug/gosym cpu: Intel(R) Xeon(R) CPU @ 2.20GHz Benchmark115/NewLineTable-4 231614 509.5 ns/op 384 B/op 3 allocs/op Benchmark115/NewTable-4 72 1616615 ns/op 188214 B/op 13 allocs/op Benchmark115/LineToPC-4 66 1616591 ns/op 0 B/op 0 allocs/op Benchmark115/PCToLine-4 17155 6967 ns/op 0 B/op 0 allocs/op PASS ok debug/gosym 1.745s goos: linux goarch: amd64 pkg: encoding/asn1 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkObjectIdentifierString-4 61940 1903 ns/op BenchmarkMarshal-4 745 159429 ns/op 9528 B/op 363 allocs/op BenchmarkUnmarshal-4 2749 42491 ns/op 784 B/op 43 allocs/op PASS ok encoding/asn1 1.422s goos: linux goarch: amd64 pkg: encoding/base32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode-4 265 441249 ns/op 18.57 MB/s BenchmarkEncodeToString-4 226 491027 ns/op 16.68 MB/s BenchmarkDecode-4 140 845058 ns/op 15.52 MB/s BenchmarkDecodeString-4 139 849549 ns/op 15.43 MB/s PASS ok encoding/base32 1.745s goos: linux goarch: amd64 pkg: encoding/base64 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncodeToString-4 291 355670 ns/op 23.03 MB/s BenchmarkDecodeString/2-4 254980 418.7 ns/op 9.55 MB/s BenchmarkDecodeString/4-4 220909 538.2 ns/op 14.86 MB/s BenchmarkDecodeString/8-4 179317 664.1 ns/op 18.07 MB/s BenchmarkDecodeString/64-4 33058 3520 ns/op 25.00 MB/s BenchmarkDecodeString/8192-4 310 375521 ns/op 29.09 MB/s BenchmarkNewEncoding-4 85064 1317 ns/op 194.41 MB/s PASS ok encoding/base64 1.990s goos: linux goarch: amd64 pkg: encoding/binary cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadSlice1000Int32s-4 1112 91989 ns/op 43.48 MB/s BenchmarkReadStruct-4 16684 7073 ns/op 10.60 MB/s BenchmarkWriteStruct-4 15544 7608 ns/op 9.86 MB/s BenchmarkReadInts-4 48504 2494 ns/op 12.03 MB/s BenchmarkWriteInts-4 46419 2585 ns/op 11.60 MB/s BenchmarkWriteSlice1000Int32s-4 1288 90452 ns/op 44.22 MB/s BenchmarkPutUint16-4 3412707 34.43 ns/op 58.08 MB/s BenchmarkAppendUint16-4 3273340 35.58 ns/op 56.21 MB/s BenchmarkPutUint32-4 2420050 49.02 ns/op 81.60 MB/s BenchmarkAppendUint32-4 2359480 50.73 ns/op 78.85 MB/s BenchmarkPutUint64-4 1054810 111.2 ns/op 71.93 MB/s BenchmarkAppendUint64-4 1000000 109.2 ns/op 73.25 MB/s BenchmarkLittleEndianPutUint16-4 3388345 34.58 ns/op 57.84 MB/s BenchmarkLittleEndianAppendUint16-4 3303585 34.98 ns/op 57.17 MB/s BenchmarkLittleEndianPutUint32-4 2458330 48.75 ns/op 82.05 MB/s BenchmarkLittleEndianAppendUint32-4 2477540 48.24 ns/op 82.93 MB/s BenchmarkLittleEndianPutUint64-4 979633 112.8 ns/op 70.91 MB/s BenchmarkLittleEndianAppendUint64-4 1000000 110.0 ns/op 72.70 MB/s BenchmarkReadFloats-4 165266 724.5 ns/op 16.56 MB/s BenchmarkWriteFloats-4 152451 761.1 ns/op 15.77 MB/s BenchmarkReadSlice1000Float32s-4 1239 95171 ns/op 42.03 MB/s BenchmarkWriteSlice1000Float32s-4 1129 104416 ns/op 38.31 MB/s BenchmarkReadSlice1000Uint8s-4 76447 1375 ns/op 727.52 MB/s BenchmarkWriteSlice1000Uint8s-4 96207 1068 ns/op 936.02 MB/s BenchmarkPutUvarint32-4 652218 153.6 ns/op 26.04 MB/s BenchmarkPutUvarint64-4 203997 567.4 ns/op 14.10 MB/s PASS ok encoding/binary 4.832s goos: linux goarch: amd64 pkg: encoding/csv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRead-4 6640 17114 ns/op 736 B/op 16 allocs/op BenchmarkReadWithFieldsPerRecord-4 6824 17048 ns/op 736 B/op 16 allocs/op BenchmarkReadWithoutFieldsPerRecord-4 7132 17202 ns/op 736 B/op 16 allocs/op BenchmarkReadLargeFields-4 3754 27910 ns/op 3938 B/op 24 allocs/op BenchmarkReadReuseRecord-4 6688 15261 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithFieldsPerRecord-4 7299 15234 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithoutFieldsPerRecord-4 7737 15325 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordLargeFields-4 4557 26667 ns/op 2977 B/op 12 allocs/op BenchmarkWrite-4 11515 9672 ns/op PASS ok encoding/csv 2.371s goos: linux goarch: amd64 pkg: encoding/gob cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEndToEndPipe-4 9969 11528 ns/op 1814 B/op 2 allocs/op BenchmarkEndToEndByteBuffer-4 15771 8333 ns/op 1812 B/op 2 allocs/op BenchmarkEndToEndSliceByteBuffer-4 277 454967 ns/op 16680 B/op 330 allocs/op BenchmarkEncodeComplex128Slice-4 792 136846 ns/op 621 B/op 0 allocs/op BenchmarkEncodeFloat64Slice-4 1644 76982 ns/op 53 B/op 0 allocs/op BenchmarkEncodeInt32Slice-4 1802 73565 ns/op 48 B/op 0 allocs/op BenchmarkEncodeStringSlice-4 2665 44590 ns/op 145 B/op 0 allocs/op BenchmarkEncodeInterfaceSlice-4 66 1721684 ns/op 34553 B/op 255 allocs/op BenchmarkDecodeComplex128Slice-4 657 211059 ns/op 25222 B/op 169 allocs/op BenchmarkDecodeFloat64Slice-4 1137 108367 ns/op 10798 B/op 169 allocs/op BenchmarkDecodeInt32Slice-4 1191 88514 ns/op 9760 B/op 169 allocs/op BenchmarkDecodeStringSlice-4 921 161473 ns/op 39131 B/op 1169 allocs/op BenchmarkDecodeStringsSlice-4 301 380264 ns/op 66305 B/op 2203 allocs/op BenchmarkDecodeBytesSlice-4 614 203233 ns/op 23676 B/op 188 allocs/op BenchmarkDecodeInterfaceSlice-4 103 1205094 ns/op 82983 B/op 3178 allocs/op BenchmarkDecodeMap-4 68 1658415 ns/op 54122 B/op 181 allocs/op PASS ok encoding/gob 4.278s goos: linux goarch: amd64 pkg: encoding/hex cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode/256-4 12763 9403 ns/op 27.22 MB/s BenchmarkEncode/1024-4 2923 37472 ns/op 27.33 MB/s BenchmarkEncode/4096-4 800 149642 ns/op 27.37 MB/s BenchmarkEncode/16384-4 199 601842 ns/op 27.22 MB/s BenchmarkDecode/256-4 24104 4951 ns/op 51.71 MB/s BenchmarkDecode/1024-4 5826 19766 ns/op 51.81 MB/s BenchmarkDecode/4096-4 1486 79806 ns/op 51.32 MB/s BenchmarkDecode/16384-4 372 318747 ns/op 51.40 MB/s BenchmarkDump/256-4 1339 91221 ns/op 2.81 MB/s BenchmarkDump/1024-4 327 347126 ns/op 2.95 MB/s BenchmarkDump/4096-4 80 1409803 ns/op 2.91 MB/s BenchmarkDump/16384-4 19 5884525 ns/op 2.78 MB/s PASS ok encoding/hex 2.757s goos: linux goarch: amd64 pkg: encoding/json cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCodeEncoder-4 1 163871512 ns/op 11.84 MB/s 8391320 B/op 57 allocs/op BenchmarkCodeEncoderError-4 1 152242157 ns/op 12.75 MB/s 8394856 B/op 116 allocs/op BenchmarkCodeMarshal-4 1 127878483 ns/op 15.17 MB/s 1942832 B/op 17 allocs/op BenchmarkCodeMarshalError-4 1 162487331 ns/op 11.94 MB/s 10337048 B/op 114 allocs/op BenchmarkMarshalBytes/32-4 20922 5679 ns/op BenchmarkMarshalBytes/256-4 5335 21872 ns/op BenchmarkMarshalBytes/4096-4 445 258456 ns/op BenchmarkMarshalBytesError/32-4 54 2070986 ns/op BenchmarkMarshalBytesError/256-4 54 2119691 ns/op BenchmarkMarshalBytesError/4096-4 49 2386139 ns/op BenchmarkCodeDecoder-4 1 443647010 ns/op 4.37 MB/s 11015840 B/op 91355 allocs/op BenchmarkUnicodeDecoder-4 34120 3394 ns/op 4.12 MB/s 40 B/op 2 allocs/op BenchmarkDecoderStream-4 44558 2456 ns/op 16 B/op 1 allocs/op BenchmarkCodeUnmarshal-4 1 376246497 ns/op 5.16 MB/s 2938152 B/op 91324 allocs/op BenchmarkCodeUnmarshalReuse-4 1 363101003 ns/op 5.34 MB/s 2938224 B/op 91327 allocs/op BenchmarkUnmarshalString-4 55675 2208 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalFloat64-4 110790 940.7 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalInt64-4 248548 474.5 ns/op 144 B/op 1 allocs/op BenchmarkIssue10335-4 78433 1677 ns/op 176 B/op 3 allocs/op BenchmarkIssue34127-4 90598 1253 ns/op 83 B/op 2 allocs/op BenchmarkUnmapped-4 17792 6602 ns/op 208 B/op 4 allocs/op BenchmarkTypeFieldsCache/MissTypes1-4 3478 33339 ns/op BenchmarkTypeFieldsCache/MissTypes10-4 751 143962 ns/op BenchmarkTypeFieldsCache/MissTypes100-4 97 1244112 ns/op BenchmarkTypeFieldsCache/MissTypes1000-4 9 11149085 ns/op BenchmarkTypeFieldsCache/HitTypes1-4 378069 266.2 ns/op BenchmarkTypeFieldsCache/HitTypes10-4 393758 280.6 ns/op BenchmarkTypeFieldsCache/HitTypes100-4 412830 259.2 ns/op BenchmarkTypeFieldsCache/HitTypes1000-4 405715 264.8 ns/op BenchmarkEncodeMarshaler-4 54996 1826 ns/op 75 B/op 1 allocs/op BenchmarkEncoderEncode-4 71299 1409 ns/op 43 B/op 0 allocs/op BenchmarkNumberIsValid-4 4124809 29.06 ns/op BenchmarkNumberIsValidRegexp-4 20835 5906 ns/op PASS ok encoding/json 8.271s goos: linux goarch: amd64 pkg: encoding/pem cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode-4 46 2527907 ns/op 25.93 MB/s BenchmarkDecode-4 22 5351966 ns/op 16.59 MB/s PASS ok encoding/pem 1.367s goos: linux goarch: amd64 pkg: encoding/xml cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMarshal-4 2396 46663 ns/op 6280 B/op 24 allocs/op BenchmarkUnmarshal-4 880 114794 ns/op 8217 B/op 185 allocs/op BenchmarkHTMLAutoClose-4 3716 27261 ns/op PASS ok encoding/xml 1.366s goos: linux goarch: amd64 pkg: expvar cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkIntAdd-4 241916 447.3 ns/op BenchmarkIntSet-4 273901 373.5 ns/op BenchmarkFloatAdd-4 73720 2092 ns/op BenchmarkFloatSet-4 349780 384.0 ns/op BenchmarkStringSet-4 290924 360.2 ns/op BenchmarkMapSet-4 79131 2012 ns/op BenchmarkMapSetDifferent-4 51880 2157 ns/op BenchmarkMapSetDifferentRandom-4 223 477093 ns/op BenchmarkMapSetString-4 68380 1941 ns/op BenchmarkMapAddSame-4 37724 3532 ns/op BenchmarkMapAddDifferent-4 14684 7539 ns/op BenchmarkMapAddDifferentRandom-4 192 628897 ns/op BenchmarkMapAddSameSteadyState-4 241195 515.6 ns/op BenchmarkMapAddDifferentSteadyState-4 111289 1112 ns/op BenchmarkRealworldExpvarUsage-4 19288 6100 ns/op PASS ok expvar 3.538s goos: linux goarch: amd64 pkg: fmt cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSprintfPadding-4 83606 1302 ns/op BenchmarkSprintfEmpty-4 349880 301.4 ns/op BenchmarkSprintfString-4 301432 453.0 ns/op BenchmarkSprintfTruncateString-4 265434 467.6 ns/op BenchmarkSprintfTruncateBytes-4 149550 799.9 ns/op BenchmarkSprintfSlowParsingPath-4 264486 481.1 ns/op BenchmarkSprintfQuoteString-4 36927 3191 ns/op BenchmarkSprintfInt-4 206858 536.6 ns/op BenchmarkSprintfIntInt-4 162760 762.9 ns/op BenchmarkSprintfPrefixedInt-4 228771 550.5 ns/op BenchmarkSprintfFloat-4 121713 875.5 ns/op BenchmarkSprintfComplex-4 58886 2064 ns/op BenchmarkSprintfBoolean-4 239382 488.7 ns/op BenchmarkSprintfHexString-4 123906 1122 ns/op BenchmarkSprintfHexBytes-4 81096 1556 ns/op BenchmarkSprintfBytes-4 41907 2607 ns/op BenchmarkSprintfStringer-4 70711 1662 ns/op BenchmarkSprintfStructure-4 31304 3374 ns/op BenchmarkManyArgs-4 73054 1634 ns/op BenchmarkFprintInt-4 68011 1794 ns/op BenchmarkFprintfBytes-4 74442 1648 ns/op BenchmarkFprintIntNoAlloc-4 66760 1805 ns/op BenchmarkScanInts-4 34 3268895 ns/op BenchmarkScanRecursiveInt-4 1 384029203 ns/op BenchmarkScanRecursiveIntReaderWrapper-4 1 418136726 ns/op PASS ok fmt 5.442s goos: linux goarch: amd64 pkg: go/build cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkImportVendor-4 525 193297 ns/op PASS ok go/build 1.153s goos: linux goarch: amd64 pkg: go/constant cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStringAdd/1-4 40212 2610 ns/op 160 B/op 2 allocs/op BenchmarkStringAdd/4-4 13188 8916 ns/op 832 B/op 9 allocs/op BenchmarkStringAdd/16-4 3554 31085 ns/op 3168 B/op 23 allocs/op BenchmarkStringAdd/64-4 949 123396 ns/op 11744 B/op 73 allocs/op BenchmarkStringAdd/256-4 237 482286 ns/op 47840 B/op 267 allocs/op BenchmarkStringAdd/1024-4 51 2429751 ns/op 206177 B/op 1038 allocs/op BenchmarkStringAdd/4096-4 12 9767950 ns/op 865632 B/op 4114 allocs/op BenchmarkStringAdd/16384-4 3 41728930 ns/op 3634528 B/op 16407 allocs/op BenchmarkStringAdd/65536-4 1 187879267 ns/op 15258976 B/op 65565 allocs/op PASS ok go/constant 2.499s goos: linux goarch: amd64 pkg: go/format cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFormat/array1-10000-4 1 278541143 ns/op 0.23 MB/s 46096728 B/op 48911 allocs/op PASS ok go/format 1.323s goos: linux goarch: amd64 pkg: go/parser cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkParse-4 5 20376377 ns/op 2.64 MB/s BenchmarkParseOnly-4 6 17452467 ns/op 3.09 MB/s BenchmarkResolve-4 46 2534907 ns/op 21.25 MB/s PASS ok go/parser 2.226s goos: linux goarch: amd64 pkg: go/printer cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPrintFile-4 1 152446927 ns/op 0.34 MB/s 5169616 B/op 27636 allocs/op BenchmarkPrintDecl-4 682 161527 ns/op 0.20 MB/s 16830 B/op 51 allocs/op PASS ok go/printer 1.305s goos: linux goarch: amd64 pkg: go/scanner cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScan-4 262 453739 ns/op BenchmarkScanFiles/go/types/expr.go-4 13 7941488 ns/op 6.25 MB/s BenchmarkScanFiles/go/parser/parser.go-4 8 12524058 ns/op 5.79 MB/s BenchmarkScanFiles/net/http/server.go-4 6 17966943 ns/op 6.31 MB/s BenchmarkScanFiles/go/scanner/errors.go-4 220 548287 ns/op 5.61 MB/s PASS ok go/scanner 1.724s goos: linux goarch: amd64 pkg: go/token cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSearchInts-4 1159533 102.7 ns/op PASS ok go/token 1.220s goos: linux goarch: amd64 pkg: go/types cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLookupFieldOrMethod-4 139 867701 ns/op BenchmarkNamed/Underlying/nongeneric-4 845956 140.6 ns/op BenchmarkNamed/Underlying/generic-4 844297 141.1 ns/op BenchmarkNamed/Underlying/src_instance-4 837830 142.1 ns/op BenchmarkNamed/Underlying/user_instance-4 826080 142.8 ns/op BenchmarkNamed/NewMethodSet/nongeneric-4 21927 5356 ns/op BenchmarkNamed/NewMethodSet/generic-4 21678 5439 ns/op BenchmarkNamed/NewMethodSet/src_instance-4 20659 5469 ns/op BenchmarkNamed/NewMethodSet/user_instance-4 21442 5533 ns/op BenchmarkCheck/http/funcbodies/info-4 1 610936948 ns/op 50011 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 427077063 ns/op 71536 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 233214093 ns/op 130945 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 217694194 ns/op 140270 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 470868634 ns/op 10991 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 1 115110216 ns/op 44954 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 2 68659104 ns/op 75346 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 2 63560013 ns/op 81390 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 160313418 ns/op 13512 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 2 65084474 ns/op 33278 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 3 48036870 ns/op 45099 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 3 47871004 ns/op 45247 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1153934222 ns/op 56463 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 617362428 ns/op 105532 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 177665418 ns/op 366588 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 133946310 ns/op 486142 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 1959297841 ns/op 1019 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 99481762 ns/op 20066 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 2 78466776 ns/op 25439 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 2 78818314 ns/op 25330 lines/s PASS ok go/types 20.606s goos: linux goarch: amd64 pkg: hash/adler32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAdler32KB-4 8734 13692 ns/op 74.79 MB/s PASS ok hash/adler32 1.235s goos: linux goarch: amd64 pkg: hash/crc32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCRC32/poly=IEEE/size=15/align=0-4 193435 585.3 ns/op 25.63 MB/s BenchmarkCRC32/poly=IEEE/size=15/align=1-4 197512 561.1 ns/op 26.73 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=0-4 104084 1130 ns/op 35.39 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=1-4 111993 1062 ns/op 37.66 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=0-4 434454 264.8 ns/op 1933.87 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=1-4 445340 264.4 ns/op 1936.17 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=0-4 382574 305.5 ns/op 3351.90 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=1-4 394318 304.8 ns/op 3359.74 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=0-4 236206 508.2 ns/op 8059.43 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=1-4 233662 504.5 ns/op 8119.60 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=0-4 51540 2329 ns/op 14068.90 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=1-4 52363 2303 ns/op 14229.71 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=0-4 399753 272.2 ns/op 55.10 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=1-4 427498 271.7 ns/op 55.21 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=0-4 432955 273.8 ns/op 146.10 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=1-4 427358 273.0 ns/op 146.54 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=0-4 315433 378.9 ns/op 1351.38 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=1-4 313564 378.3 ns/op 1353.54 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=0-4 246864 471.3 ns/op 2172.71 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=1-4 247965 475.3 ns/op 2154.39 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=0-4 214776 551.4 ns/op 7428.33 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=1-4 211728 566.2 ns/op 7233.79 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=0-4 46147 2588 ns/op 12663.61 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=1-4 45596 2607 ns/op 12569.56 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=0-4 203042 573.0 ns/op 26.18 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=1-4 201727 586.5 ns/op 25.57 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=0-4 97513 1200 ns/op 33.33 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=1-4 100813 1157 ns/op 34.56 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=0-4 7155 18063 ns/op 28.35 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=1-4 7082 16029 ns/op 31.94 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=0-4 3523 34031 ns/op 30.09 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=1-4 3505 33424 ns/op 30.64 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=0-4 870 136405 ns/op 30.03 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=1-4 884 135221 ns/op 30.29 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=0-4 100 1087298 ns/op 30.14 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=1-4 100 1089721 ns/op 30.07 MB/s PASS ok hash/crc32 5.630s goos: linux goarch: amd64 pkg: hash/crc64 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCrc64/ISO64KB-4 88 1386638 ns/op 47.26 MB/s BenchmarkCrc64/ISO4KB-4 1006 116281 ns/op 35.23 MB/s BenchmarkCrc64/ISO1KB-4 4592 24989 ns/op 40.98 MB/s BenchmarkCrc64/ECMA64KB-4 85 1388811 ns/op 47.19 MB/s BenchmarkCrc64/Random64KB-4 92 1224449 ns/op 53.52 MB/s BenchmarkCrc64/Random16KB-4 370 315349 ns/op 51.96 MB/s PASS ok hash/crc64 1.787s goos: linux goarch: amd64 pkg: hash/fnv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFnv32KB-4 8737 13722 ns/op 74.62 MB/s BenchmarkFnv32aKB-4 8644 13785 ns/op 74.28 MB/s BenchmarkFnv64KB-4 8437 13896 ns/op 73.69 MB/s BenchmarkFnv64aKB-4 8432 13801 ns/op 74.19 MB/s BenchmarkFnv128KB-4 2006 58484 ns/op 17.51 MB/s BenchmarkFnv128aKB-4 2104 56282 ns/op 18.19 MB/s PASS ok hash/fnv 1.954s goos: linux goarch: amd64 pkg: hash/maphash cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash/n=4/Write-4 506707 198.2 ns/op 20.18 MB/s BenchmarkHash/n=4/Bytes-4 4006591 29.37 ns/op 136.20 MB/s BenchmarkHash/n=4/String-4 1782007 66.65 ns/op 60.02 MB/s BenchmarkHash/n=8/Write-4 537010 197.0 ns/op 40.60 MB/s BenchmarkHash/n=8/Bytes-4 4092612 29.47 ns/op 271.48 MB/s BenchmarkHash/n=8/String-4 1716313 67.36 ns/op 118.76 MB/s BenchmarkHash/n=16/Write-4 571539 198.5 ns/op 80.60 MB/s BenchmarkHash/n=16/Bytes-4 4425733 26.79 ns/op 597.15 MB/s BenchmarkHash/n=16/String-4 1849418 64.35 ns/op 248.65 MB/s BenchmarkHash/n=32/Write-4 554241 204.7 ns/op 156.32 MB/s BenchmarkHash/n=32/Bytes-4 4337766 27.73 ns/op 1154.12 MB/s BenchmarkHash/n=32/String-4 1810664 66.06 ns/op 484.38 MB/s BenchmarkHash/n=64/Write-4 524157 222.1 ns/op 288.21 MB/s BenchmarkHash/n=64/Bytes-4 3931567 30.11 ns/op 2125.82 MB/s BenchmarkHash/n=64/String-4 1741941 67.76 ns/op 944.49 MB/s BenchmarkHash/n=256/Write-4 381561 300.0 ns/op 853.44 MB/s BenchmarkHash/n=256/Bytes-4 2204649 54.21 ns/op 4721.94 MB/s BenchmarkHash/n=256/String-4 871165 126.5 ns/op 2023.56 MB/s BenchmarkHash/n=320/Write-4 384512 290.4 ns/op 1102.02 MB/s BenchmarkHash/n=320/Bytes-4 1789255 67.53 ns/op 4738.49 MB/s BenchmarkHash/n=320/String-4 653319 178.0 ns/op 1798.13 MB/s BenchmarkHash/n=1024/Write-4 260311 444.1 ns/op 2305.76 MB/s BenchmarkHash/n=1024/Bytes-4 737240 159.9 ns/op 6404.48 MB/s BenchmarkHash/n=1024/String-4 253567 452.0 ns/op 2265.32 MB/s BenchmarkHash/n=4096/Write-4 120999 975.8 ns/op 4197.44 MB/s BenchmarkHash/n=4096/Bytes-4 205593 578.9 ns/op 7074.97 MB/s BenchmarkHash/n=4096/String-4 68944 1735 ns/op 2361.36 MB/s BenchmarkHash/n=16384/Write-4 38119 3121 ns/op 5250.02 MB/s BenchmarkHash/n=16384/Bytes-4 53169 2242 ns/op 7306.48 MB/s BenchmarkHash/n=16384/String-4 16693 7100 ns/op 2307.65 MB/s PASS ok hash/maphash 5.403s goos: linux goarch: amd64 pkg: html cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEscape-4 751 143823 ns/op BenchmarkEscapeNone-4 119338 956.5 ns/op BenchmarkUnescape-4 657 163054 ns/op BenchmarkUnescapeNone-4 517042 228.3 ns/op BenchmarkUnescapeSparse-4 10393 11239 ns/op BenchmarkUnescapeDense-4 1132 104952 ns/op PASS ok html 1.874s goos: linux goarch: amd64 pkg: html/template cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCSSEscaper-4 9316 12365 ns/op BenchmarkCSSEscaperNoSpecials-4 44970 2638 ns/op BenchmarkDecodeCSS-4 26811 4372 ns/op BenchmarkDecodeCSSNoSpecials-4 4350522 27.29 ns/op BenchmarkCSSValueFilter-4 106555 1089 ns/op BenchmarkCSSValueFilterOk-4 78752 1506 ns/op BenchmarkEscapedExecute-4 4159 24832 ns/op BenchmarkHTMLNospaceEscaper-4 10000 10733 ns/op BenchmarkHTMLNospaceEscaperNoSpecials-4 65985 1798 ns/op BenchmarkStripTags-4 20972 5591 ns/op BenchmarkStripTagsNoSpecials-4 314127 392.7 ns/op BenchmarkJSValEscaperWithNum-4 23560 5048 ns/op BenchmarkJSValEscaperWithStr-4 5418 21947 ns/op BenchmarkJSValEscaperWithStrNoSpecials-4 17961 6573 ns/op BenchmarkJSValEscaperWithObj-4 4348 26136 ns/op BenchmarkJSValEscaperWithObjNoSpecials-4 12962 9048 ns/op BenchmarkJSStrEscaperNoSpecials-4 59715 1977 ns/op BenchmarkJSStrEscaper-4 10000 10093 ns/op BenchmarkJSRegexpEscaperNoSpecials-4 52426 2228 ns/op BenchmarkJSRegexpEscaper-4 10000 10874 ns/op BenchmarkTemplateSpecialTags-4 82 1295711 ns/op BenchmarkURLEscaper-4 4246 28137 ns/op BenchmarkURLEscaperNoSpecials-4 166452 717.3 ns/op BenchmarkURLNormalizer-4 5084 20880 ns/op BenchmarkURLNormalizerNoSpecials-4 162445 743.3 ns/op BenchmarkSrcsetFilter-4 18343 6473 ns/op BenchmarkSrcsetFilterNoSpecials-4 96136 1101 ns/op PASS ok html/template 4.982s goos: linux goarch: amd64 pkg: image cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAt/rgba-4 505064 202.1 ns/op 16 B/op 1 allocs/op BenchmarkAt/rgba64-4 401260 270.3 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba-4 647624 194.1 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba64-4 440659 271.2 ns/op 16 B/op 1 allocs/op BenchmarkAt/alpha-4 1800505 66.24 ns/op 0 B/op 0 allocs/op BenchmarkAt/alpha16-4 1000000 101.6 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray-4 1831196 65.23 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray16-4 1200183 99.75 ns/op 0 B/op 0 allocs/op BenchmarkAt/paletted-4 1385685 84.48 ns/op 0 B/op 0 allocs/op BenchmarkSet/rgba-4 431811 263.5 ns/op 16 B/op 1 allocs/op BenchmarkSet/rgba64-4 337461 328.3 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba-4 457844 262.8 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba64-4 334524 334.5 ns/op 16 B/op 1 allocs/op BenchmarkSet/alpha-4 785110 148.1 ns/op 0 B/op 0 allocs/op BenchmarkSet/alpha16-4 548554 214.5 ns/op 16 B/op 1 allocs/op BenchmarkSet/gray-4 919761 126.0 ns/op 0 B/op 0 allocs/op BenchmarkSet/gray16-4 540333 216.2 ns/op 16 B/op 1 allocs/op BenchmarkSet/paletted-4 425059 272.9 ns/op 0 B/op 0 allocs/op BenchmarkRGBAAt-4 1377417 86.38 ns/op BenchmarkRGBASetRGBA-4 1379209 86.16 ns/op BenchmarkRGBA64At-4 696228 163.0 ns/op BenchmarkRGBA64SetRGBA64-4 800170 145.7 ns/op BenchmarkNRGBAAt-4 1411581 84.11 ns/op BenchmarkNRGBASetNRGBA-4 1409812 84.14 ns/op BenchmarkNRGBA64At-4 710972 165.4 ns/op BenchmarkNRGBA64SetNRGBA64-4 745184 146.5 ns/op BenchmarkAlphaAt-4 2262651 52.91 ns/op BenchmarkAlphaSetAlpha-4 2353857 50.97 ns/op BenchmarkAlpha16At-4 1506020 79.61 ns/op BenchmarkAlphaSetAlpha16-4 1518856 78.67 ns/op BenchmarkGrayAt-4 2307099 51.84 ns/op BenchmarkGraySetGray-4 2332006 50.90 ns/op BenchmarkGray16At-4 1511812 78.41 ns/op BenchmarkGraySetGray16-4 1530284 77.61 ns/op PASS ok image 6.334s goos: linux goarch: amd64 pkg: image/color cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkYCbCrToRGB/0-4 4031794 27.12 ns/op BenchmarkYCbCrToRGB/128-4 3991363 26.55 ns/op BenchmarkYCbCrToRGB/255-4 4221514 25.91 ns/op BenchmarkRGBToYCbCr/0-4 4170086 25.99 ns/op BenchmarkRGBToYCbCr/Cb-4 4233063 25.91 ns/op BenchmarkRGBToYCbCr/Cr-4 4283010 26.63 ns/op BenchmarkYCbCrToRGBA/0-4 3440788 32.29 ns/op BenchmarkYCbCrToRGBA/128-4 3206691 35.25 ns/op BenchmarkYCbCrToRGBA/255-4 3374430 32.43 ns/op BenchmarkNYCbCrAToRGBA/0-4 3191294 34.87 ns/op BenchmarkNYCbCrAToRGBA/128-4 3177854 35.55 ns/op BenchmarkNYCbCrAToRGBA/255-4 3265491 34.45 ns/op PASS ok image/color 2.801s goos: linux goarch: amd64 pkg: image/draw cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFillOver-4 3 33657466 ns/op BenchmarkFillSrc-4 309 375700 ns/op BenchmarkCopyOver-4 6 17300522 ns/op BenchmarkCopySrc-4 409 285861 ns/op BenchmarkNRGBAOver-4 6 18933396 ns/op BenchmarkNRGBASrc-4 9 12011625 ns/op BenchmarkYCbCr-4 8 13646418 ns/op BenchmarkGray-4 16 6871165 ns/op BenchmarkCMYK-4 9 12171245 ns/op BenchmarkGlyphOver-4 19 5996497 ns/op BenchmarkRGBAMaskOver-4 4 31220516 ns/op BenchmarkGrayMaskOver-4 5 23213802 ns/op BenchmarkRGBA64ImageMaskOver-4 3 38451411 ns/op BenchmarkRGBA-4 4 25190156 ns/op BenchmarkPalettedFill-4 898 132069 ns/op BenchmarkPalettedRGBA-4 4 25986218 ns/op BenchmarkGenericOver-4 2 55374596 ns/op BenchmarkGenericMaskOver-4 5 22941322 ns/op BenchmarkGenericSrc-4 3 36500189 ns/op BenchmarkGenericMaskSrc-4 4 30428834 ns/op PASS ok image/draw 6.911s goos: linux goarch: amd64 pkg: image/gif cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecode-4 25 4578942 ns/op 3.37 MB/s 47848 B/op 267 allocs/op BenchmarkEncodeRandomPaletted-4 1 110723787 ns/op 2.77 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRandomRGBA-4 1 3016538922 ns/op 0.41 MB/s 417248 B/op 13 allocs/op BenchmarkEncodeRealisticPaletted-4 54 2056674 ns/op 7.51 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRealisticRGBA-4 1 152815674 ns/op 0.40 MB/s 105952 B/op 13 allocs/op PASS ok image/gif 5.149s goos: linux goarch: amd64 pkg: image/jpeg cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFDCT-4 3640 29341 ns/op BenchmarkIDCT-4 3910 27702 ns/op BenchmarkDecodeBaseline-4 9 12482461 ns/op 4.95 MB/s 63024 B/op 5 allocs/op BenchmarkDecodeProgressive-4 6 17430067 ns/op 3.55 MB/s 259712 B/op 13 allocs/op BenchmarkEncodeRGBA-4 1 153823559 ns/op 7.99 MB/s 4400 B/op 4 allocs/op BenchmarkEncodeYCbCr-4 1 193397297 ns/op 4.77 MB/s 4400 B/op 4 allocs/op PASS ok image/jpeg 2.251s goos: linux goarch: amd64 pkg: image/png cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPaeth-4 10321602 9.882 ns/op BenchmarkDecodeGray-4 12 9087175 ns/op 7.21 MB/s 137024 B/op 102 allocs/op BenchmarkDecodeNRGBAGradient-4 3 39129245 ns/op 6.70 MB/s 337328 B/op 188 allocs/op BenchmarkDecodeNRGBAOpaque-4 3 34187405 ns/op 7.67 MB/s 346592 B/op 152 allocs/op BenchmarkDecodePaletted-4 21 5363265 ns/op 12.22 MB/s 139456 B/op 309 allocs/op BenchmarkDecodeRGB-4 4 31906262 ns/op 8.22 MB/s 332000 B/op 157 allocs/op BenchmarkDecodeInterlacing-4 3 39394751 ns/op 6.65 MB/s 605216 B/op 268 allocs/op BenchmarkEncodeGray-4 2 61354689 ns/op 5.01 MB/s 852184 B/op 29 allocs/op BenchmarkEncodeGrayWithBufferPool-4 2 60097332 ns/op 5.11 MB/s 426080 B/op 14 allocs/op BenchmarkEncodeNRGBOpaque-4 1 194542176 ns/op 6.32 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeNRGBA-4 1 214987665 ns/op 5.72 MB/s 864088 B/op 29 allocs/op BenchmarkEncodePaletted-4 4 30121385 ns/op 10.20 MB/s 848592 B/op 32 allocs/op BenchmarkEncodeRGBOpaque-4 1 197855834 ns/op 6.21 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeRGBA-4 1 821466674 ns/op 1.50 MB/s 864088 B/op 29 allocs/op PASS ok image/png 4.671s goos: linux goarch: amd64 pkg: index/suffixarray cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkNew/text=opticks/size=100K/bits=32-4 2 53449846 ns/op 1.87 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=opticks/size=100K/bits=64-4 3 44573029 ns/op 2.24 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=32-4 1 308834059 ns/op 1.62 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=64-4 1 290457951 ns/op 1.72 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=32-4 2 52929586 ns/op 1.89 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=64-4 3 44385791 ns/op 2.25 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=32-4 1 295451539 ns/op 1.69 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=64-4 1 275701671 ns/op 1.81 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=32-4 1 656653387 ns/op 1.52 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=64-4 1 640020157 ns/op 1.56 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=32-4 1 4073646997 ns/op 1.23 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=64-4 1 3883200295 ns/op 1.29 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=32-4 10 10089929 ns/op 9.91 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=64-4 9 11879297 ns/op 8.42 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=32-4 3 50298957 ns/op 9.94 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=64-4 2 55987579 ns/op 8.93 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=32-4 1 100167611 ns/op 9.98 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=64-4 1 113598779 ns/op 8.80 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=32-4 1 494197504 ns/op 10.12 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=64-4 1 550320455 ns/op 9.09 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=32-4 2 60260774 ns/op 1.66 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=64-4 2 52879618 ns/op 1.89 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=32-4 1 370632636 ns/op 1.35 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=64-4 1 383246605 ns/op 1.30 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=32-4 1 862874709 ns/op 1.16 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=64-4 1 914703307 ns/op 1.09 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=32-4 1 5801483855 ns/op 0.86 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=64-4 1 5605867202 ns/op 0.89 MB/s 40001616 B/op 2 allocs/op BenchmarkSaveRestore/bits=32-4 1 185344281 ns/op 22.55 MB/s 5275648 B/op 4 allocs/op BenchmarkSaveRestore/bits=64-4 1 187024668 ns/op 22.35 MB/s 9469952 B/op 4 allocs/op PASS ok index/suffixarray 45.564s goos: linux goarch: amd64 pkg: internal/fuzz cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMarshalCorpusFile/1-4 34723 2964 ns/op 0.34 MB/s BenchmarkMarshalCorpusFile/2-4 36490 3149 ns/op 0.64 MB/s BenchmarkMarshalCorpusFile/4-4 33206 3468 ns/op 1.15 MB/s BenchmarkMarshalCorpusFile/8-4 27388 4188 ns/op 1.91 MB/s BenchmarkMarshalCorpusFile/16-4 21396 5510 ns/op 2.90 MB/s BenchmarkMarshalCorpusFile/32-4 14910 7976 ns/op 4.01 MB/s BenchmarkMarshalCorpusFile/64-4 9464 12350 ns/op 5.18 MB/s BenchmarkMarshalCorpusFile/128-4 5971 20269 ns/op 6.31 MB/s BenchmarkMarshalCorpusFile/256-4 2619 39520 ns/op 6.48 MB/s BenchmarkMarshalCorpusFile/512-4 1404 76809 ns/op 6.67 MB/s BenchmarkMarshalCorpusFile/1024-4 766 150148 ns/op 6.82 MB/s BenchmarkMarshalCorpusFile/2048-4 369 303193 ns/op 6.75 MB/s BenchmarkMarshalCorpusFile/4096-4 196 589736 ns/op 6.95 MB/s BenchmarkMarshalCorpusFile/8192-4 93 1190109 ns/op 6.88 MB/s BenchmarkMarshalCorpusFile/16384-4 49 2348759 ns/op 6.98 MB/s BenchmarkMarshalCorpusFile/32768-4 19 6254426 ns/op 5.24 MB/s BenchmarkMarshalCorpusFile/65536-4 8 12931003 ns/op 5.07 MB/s BenchmarkMarshalCorpusFile/131072-4 4 27761054 ns/op 4.72 MB/s BenchmarkMarshalCorpusFile/262144-4 2 53850982 ns/op 4.87 MB/s BenchmarkMarshalCorpusFile/524288-4 1 125181369 ns/op 4.19 MB/s BenchmarkMarshalCorpusFile/1048576-4 1 216571678 ns/op 4.84 MB/s BenchmarkUnmarshalCorpusFile/1-4 8959 12197 ns/op 0.08 MB/s BenchmarkUnmarshalCorpusFile/2-4 8736 12369 ns/op 0.16 MB/s BenchmarkUnmarshalCorpusFile/4-4 7914 13187 ns/op 0.30 MB/s BenchmarkUnmarshalCorpusFile/8-4 7078 15316 ns/op 0.52 MB/s BenchmarkUnmarshalCorpusFile/16-4 6439 18025 ns/op 0.89 MB/s BenchmarkUnmarshalCorpusFile/32-4 3831 27537 ns/op 1.16 MB/s BenchmarkUnmarshalCorpusFile/64-4 3824 31424 ns/op 2.04 MB/s BenchmarkUnmarshalCorpusFile/128-4 2818 41642 ns/op 3.07 MB/s BenchmarkUnmarshalCorpusFile/256-4 1086 110723 ns/op 2.31 MB/s BenchmarkUnmarshalCorpusFile/512-4 576 205692 ns/op 2.49 MB/s BenchmarkUnmarshalCorpusFile/1024-4 301 394383 ns/op 2.60 MB/s BenchmarkUnmarshalCorpusFile/2048-4 151 784039 ns/op 2.61 MB/s BenchmarkUnmarshalCorpusFile/4096-4 72 1556340 ns/op 2.63 MB/s BenchmarkUnmarshalCorpusFile/8192-4 38 3089389 ns/op 2.65 MB/s BenchmarkUnmarshalCorpusFile/16384-4 18 6228811 ns/op 2.63 MB/s BenchmarkUnmarshalCorpusFile/32768-4 9 12347862 ns/op 2.65 MB/s BenchmarkUnmarshalCorpusFile/65536-4 5 25206150 ns/op 2.60 MB/s BenchmarkUnmarshalCorpusFile/131072-4 2 50750848 ns/op 2.58 MB/s BenchmarkUnmarshalCorpusFile/262144-4 1 102088886 ns/op 2.57 MB/s BenchmarkUnmarshalCorpusFile/524288-4 1 205501817 ns/op 2.55 MB/s BenchmarkUnmarshalCorpusFile/1048576-4 1 412027003 ns/op 2.54 MB/s BenchmarkMutatorBytes/1-4 30000 3368 ns/op BenchmarkMutatorBytes/10-4 38736 3138 ns/op BenchmarkMutatorBytes/100-4 35041 3448 ns/op BenchmarkMutatorBytes/1000-4 23689 5350 ns/op BenchmarkMutatorBytes/10000-4 6014 24238 ns/op BenchmarkMutatorBytes/100000-4 818 150837 ns/op BenchmarkMutatorString/1-4 30000 3411 ns/op BenchmarkMutatorString/10-4 36002 3408 ns/op BenchmarkMutatorString/100-4 31161 4145 ns/op BenchmarkMutatorString/1000-4 12958 7980 ns/op BenchmarkMutatorString/10000-4 3362 66872 ns/op BenchmarkMutatorString/100000-4 204 610323 ns/op BenchmarkMutatorAllBasicTypes/[]uint8-4 18363 5984 ns/op BenchmarkMutatorAllBasicTypes/string-4 18932 6183 ns/op BenchmarkMutatorAllBasicTypes/bool-4 62535 1946 ns/op BenchmarkMutatorAllBasicTypes/float32-4 55608 2131 ns/op BenchmarkMutatorAllBasicTypes/float64-4 55743 2181 ns/op BenchmarkMutatorAllBasicTypes/int-4 59137 2028 ns/op BenchmarkMutatorAllBasicTypes/int8-4 58958 1984 ns/op BenchmarkMutatorAllBasicTypes/int16-4 59434 1994 ns/op BenchmarkMutatorAllBasicTypes/int32-4 59281 2034 ns/op BenchmarkMutatorAllBasicTypes/int64-4 59886 2021 ns/op BenchmarkMutatorAllBasicTypes/uint8-4 57926 2063 ns/op BenchmarkMutatorAllBasicTypes/uint16-4 58269 2094 ns/op BenchmarkMutatorAllBasicTypes/uint32-4 57944 2085 ns/op BenchmarkMutatorAllBasicTypes/uint64-4 58141 2074 ns/op PASS ok internal/fuzz 12.538s goos: linux goarch: amd64 pkg: internal/intern cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStress-4 32005 3652 ns/op 0 B/op 0 allocs/op BenchmarkGetByString-4 126805 953.0 ns/op 0 B/op 0 allocs/op PASS ok internal/intern 1.380s goos: linux goarch: amd64 pkg: internal/poll cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSplicePipe/SplicePipeWithPool-4 35050 3503 ns/op BenchmarkSplicePipe/SplicePipeWithoutPool-4 11190 9886 ns/op BenchmarkSplicePipePoolParallel-4 113361 1439 ns/op BenchmarkSplicePipeNativeParallel-4 28357 3815 ns/op PASS ok internal/poll 1.920s goos: linux goarch: amd64 pkg: internal/trace cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMMU-4 5 21252799 ns/op PASS ok internal/trace 4.049s PASS ok internal/zstd 1.022s goos: linux goarch: amd64 pkg: io cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCopyNSmall-4 10000 15530 ns/op BenchmarkCopyNLarge-4 139 1026837 ns/op PASS ok io 1.416s goos: linux goarch: amd64 pkg: log cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkItoa-4 213919 524.8 ns/op BenchmarkPrintln-4 22646 5341 ns/op 77 B/op 1 allocs/op BenchmarkPrintlnNoFlags-4 34236 3508 ns/op 66 B/op 1 allocs/op BenchmarkConcurrent-4 2320 52097 ns/op BenchmarkDiscard-4 915892 127.8 ns/op 0 B/op 0 allocs/op PASS ok log 1.823s goos: linux goarch: amd64 pkg: log/slog cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkWriteTime-4 81704 1435 ns/op BenchmarkJSONHandler/defaults-4 6212 16639 ns/op 537 B/op 1 allocs/op BenchmarkJSONHandler/time_format-4 3897 25829 ns/op 780 B/op 6 allocs/op BenchmarkJSONHandler/time_unix-4 5120 22580 ns/op 767 B/op 5 allocs/op BenchmarkPreformatting/separate-4 7065 15494 ns/op 531 B/op 1 allocs/op BenchmarkPreformatting/struct-4 7920 15657 ns/op 527 B/op 1 allocs/op BenchmarkPreformatting/struct_file-4 5660 20703 ns/op 530 B/op 1 allocs/op BenchmarkJSONEncoding/json.Marshal-4 30862 3937 ns/op 79 B/op 2 allocs/op BenchmarkJSONEncoding/Encoder.Encode-4 30746 3950 ns/op 63 B/op 1 allocs/op BenchmarkNopLog/no_attrs-4 60856 1931 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-4 52892 2416 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-parallel-4 41836 2453 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/keys-values-4 49690 2566 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-4 51990 2433 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-parallel-4 45674 2655 ns/op 0 B/op 0 allocs/op BenchmarkPC/0-4 437695 271.1 ns/op 0 B/op 0 allocs/op BenchmarkPC/1-4 328740 361.6 ns/op 0 B/op 0 allocs/op BenchmarkPC/2-4 228495 518.6 ns/op 0 B/op 0 allocs/op BenchmarkPC/3-4 159324 748.0 ns/op 0 B/op 0 allocs/op BenchmarkPC/4-4 133503 907.6 ns/op 0 B/op 0 allocs/op BenchmarkRecord-4 6062 17202 ns/op BenchmarkDispatch/switch-checked-4 197743 613.1 ns/op BenchmarkDispatch/As-4 186504 636.7 ns/op BenchmarkDispatch/Visit-4 185712 632.1 ns/op BenchmarkUnsafeStrings-4 18547 6462 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.388s goos: linux goarch: amd64 pkg: log/slog/internal/benchmarks cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAttrs/disabled/5_args-4 2155938 55.48 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/5_args_ctx-4 1528988 66.13 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/10_args-4 951152 109.6 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/40_args-4 406227 301.4 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args-4 75451 1795 ns/op 263 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args_ctx-4 57170 1762 ns/op 260 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/10_args-4 49018 2384 ns/op 470 B/op 1 allocs/op BenchmarkAttrs/fastText_discard/40_args-4 15938 7957 ns/op 2064 B/op 1 allocs/op BenchmarkAttrs/Text_discard/5_args-4 13723 8087 ns/op 603 B/op 3 allocs/op BenchmarkAttrs/Text_discard/5_args_ctx-4 15091 8785 ns/op 611 B/op 3 allocs/op BenchmarkAttrs/Text_discard/10_args-4 8797 11568 ns/op 913 B/op 7 allocs/op BenchmarkAttrs/Text_discard/40_args-4 3147 36647 ns/op 3017 B/op 22 allocs/op BenchmarkAttrs/JSON_discard/5_args-4 16456 7359 ns/op 527 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/5_args_ctx-4 18166 6468 ns/op 521 B/op 0 allocs/op BenchmarkAttrs/JSON_discard/10_args-4 12430 10147 ns/op 725 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/40_args-4 3789 27281 ns/op 2344 B/op 2 allocs/op PASS ok log/slog/internal/benchmarks 3.933s goos: linux goarch: amd64 pkg: maps cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMapClone-4 3 46819241 ns/op BenchmarkKeys-4 6 17551780 ns/op BenchmarkValues-4 7 16727931 ns/op PASS ok maps 6.104s goos: linux goarch: amd64 pkg: math cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAcos-4 2187129 54.16 ns/op BenchmarkAcosh-4 930514 110.9 ns/op BenchmarkAsin-4 2221490 54.33 ns/op BenchmarkAsinh-4 1000000 117.5 ns/op BenchmarkAtan-4 2930050 41.12 ns/op BenchmarkAtanh-4 993780 112.0 ns/op BenchmarkAtan2-4 2105372 56.78 ns/op BenchmarkCbrt-4 1430204 83.30 ns/op BenchmarkCeil-4 21190344 5.678 ns/op BenchmarkCompare-4 3685045 32.86 ns/op BenchmarkCompare32-4 4836325 24.77 ns/op BenchmarkCopysign-4 2913435 40.76 ns/op BenchmarkCos-4 1354946 87.87 ns/op BenchmarkCosh-4 1474398 81.28 ns/op BenchmarkErf-4 2802488 42.83 ns/op BenchmarkErfc-4 2691132 44.17 ns/op BenchmarkErfinv-4 2464353 48.41 ns/op BenchmarkErfcinv-4 2439744 49.06 ns/op BenchmarkExp-4 5867332 19.36 ns/op BenchmarkExpGo-4 882009 125.3 ns/op BenchmarkExpm1-4 2022520 59.53 ns/op BenchmarkExp2-4 945141 117.6 ns/op BenchmarkExp2Go-4 913934 125.7 ns/op BenchmarkAbs-4 3703531 32.40 ns/op BenchmarkDim-4 7992822 14.93 ns/op BenchmarkFloor-4 20958184 5.677 ns/op BenchmarkMax-4 14126848 8.485 ns/op BenchmarkMin-4 13759634 8.646 ns/op BenchmarkMod-4 315225 340.3 ns/op BenchmarkFrexp-4 2028396 59.31 ns/op BenchmarkGamma-4 688905 172.3 ns/op BenchmarkHypot-4 10167150 10.90 ns/op BenchmarkHypotGo-4 1508203 79.80 ns/op BenchmarkIlogb-4 2409033 48.65 ns/op BenchmarkJ0-4 239274 489.5 ns/op BenchmarkJ1-4 240871 481.2 ns/op BenchmarkJn-4 114952 1035 ns/op BenchmarkLdexp-4 1979622 60.59 ns/op BenchmarkLgamma-4 857002 137.8 ns/op BenchmarkLog-4 5040750 21.32 ns/op BenchmarkLogb-4 2449786 48.75 ns/op BenchmarkLog1p-4 1311109 91.53 ns/op BenchmarkLog10-4 4834737 23.02 ns/op BenchmarkLog2-4 1552530 77.90 ns/op BenchmarkModf-4 2977434 39.68 ns/op BenchmarkNextafter32-4 2900533 41.22 ns/op BenchmarkNextafter64-4 2924277 41.77 ns/op BenchmarkPowInt-4 601783 196.9 ns/op BenchmarkPowFrac-4 439741 273.0 ns/op BenchmarkPow10Pos-4 4228450 28.05 ns/op BenchmarkPow10Neg-4 4027702 30.03 ns/op BenchmarkRound-4 3641377 32.82 ns/op BenchmarkRoundToEven-4 8122250 14.91 ns/op BenchmarkRemainder-4 500911 226.9 ns/op BenchmarkSignbit-4 5038243 23.52 ns/op BenchmarkSin-4 1620800 74.83 ns/op BenchmarkSincos-4 974586 119.5 ns/op BenchmarkSinh-4 1755280 68.14 ns/op BenchmarkSqrtIndirect-4 16283736 6.504 ns/op BenchmarkSqrtLatency-4 16317309 6.841 ns/op BenchmarkSqrtIndirectLatency-4 15954976 6.783 ns/op BenchmarkSqrtGoLatency-4 1000000 105.5 ns/op BenchmarkSqrtPrime-4 32300 3735 ns/op BenchmarkTan-4 1485970 80.71 ns/op BenchmarkTanh-4 1361277 88.07 ns/op BenchmarkTrunc-4 16488474 6.123 ns/op BenchmarkY0-4 251494 476.3 ns/op BenchmarkY1-4 247596 472.6 ns/op BenchmarkYn-4 119415 995.8 ns/op BenchmarkFloat64bits-4 5703346 21.00 ns/op BenchmarkFloat64frombits-4 5146758 23.21 ns/op BenchmarkFloat32bits-4 5013337 23.33 ns/op BenchmarkFloat32frombits-4 4841533 24.85 ns/op BenchmarkFMA-4 19783944 6.094 ns/op PASS ok math 12.609s goos: linux goarch: amd64 pkg: math/big cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAddVV/1-4 12533977 9.515 ns/op 6725.88 MB/s BenchmarkAddVV/2-4 11436468 10.52 ns/op 12163.74 MB/s BenchmarkAddVV/3-4 9775435 12.33 ns/op 15568.23 MB/s BenchmarkAddVV/4-4 10771861 11.13 ns/op 23002.57 MB/s BenchmarkAddVV/5-4 9509193 12.70 ns/op 25192.25 MB/s BenchmarkAddVV/10-4 7896283 15.27 ns/op 41918.69 MB/s BenchmarkAddVV/100-4 1674595 71.75 ns/op 89194.77 MB/s BenchmarkAddVV/1000-4 203554 581.5 ns/op 110068.27 MB/s BenchmarkSubVV/1-4 12760364 9.428 ns/op 6788.49 MB/s BenchmarkSubVV/2-4 11396643 10.42 ns/op 12282.03 MB/s BenchmarkSubVV/3-4 9210698 13.05 ns/op 14711.74 MB/s BenchmarkSubVV/4-4 10801252 11.08 ns/op 23104.26 MB/s BenchmarkSubVV/5-4 9489508 12.58 ns/op 25432.24 MB/s BenchmarkSubVV/10-4 7875913 15.20 ns/op 42114.45 MB/s BenchmarkSubVV/100-4 1677476 71.78 ns/op 89167.05 MB/s BenchmarkSubVV/1000-4 198348 583.8 ns/op 109626.66 MB/s BenchmarkAddVW/1-4 13803139 8.743 ns/op 914.98 MB/s BenchmarkAddVW/2-4 12738421 9.370 ns/op 1707.63 MB/s BenchmarkAddVW/3-4 10990366 10.98 ns/op 2185.76 MB/s BenchmarkAddVW/4-4 11685386 9.889 ns/op 3235.89 MB/s BenchmarkAddVW/5-4 11036815 10.98 ns/op 3643.15 MB/s BenchmarkAddVW/10-4 8865897 13.16 ns/op 6079.52 MB/s BenchmarkAddVW/100-4 265370 448.4 ns/op 1783.97 MB/s BenchmarkAddVW/1000-4 35056 3428 ns/op 2333.64 MB/s BenchmarkAddVWext/1-4 14404923 8.362 ns/op 956.66 MB/s BenchmarkAddVWext/2-4 13145187 9.167 ns/op 1745.43 MB/s BenchmarkAddVWext/3-4 12399284 9.578 ns/op 2505.67 MB/s BenchmarkAddVWext/4-4 11875665 9.941 ns/op 3218.83 MB/s BenchmarkAddVWext/5-4 11030541 10.93 ns/op 3660.33 MB/s BenchmarkAddVWext/10-4 9139261 13.20 ns/op 6059.02 MB/s BenchmarkAddVWext/100-4 81009 1472 ns/op 543.56 MB/s BenchmarkAddVWext/1000-4 8382 14226 ns/op 562.35 MB/s BenchmarkSubVW/1-4 13540713 8.758 ns/op 913.42 MB/s BenchmarkSubVW/2-4 11752416 10.19 ns/op 1570.34 MB/s BenchmarkSubVW/3-4 9040190 11.66 ns/op 2058.72 MB/s BenchmarkSubVW/4-4 12051837 9.910 ns/op 3229.12 MB/s BenchmarkSubVW/5-4 10701068 10.77 ns/op 3712.41 MB/s BenchmarkSubVW/10-4 9146976 13.18 ns/op 6068.60 MB/s BenchmarkSubVW/100-4 262066 450.6 ns/op 1775.25 MB/s BenchmarkSubVW/1000-4 35020 3406 ns/op 2348.61 MB/s BenchmarkSubVWext/1-4 13771250 8.648 ns/op 925.12 MB/s BenchmarkSubVWext/2-4 13070865 9.081 ns/op 1761.90 MB/s BenchmarkSubVWext/3-4 11824532 10.15 ns/op 2364.47 MB/s BenchmarkSubVWext/4-4 12033001 9.892 ns/op 3234.97 MB/s BenchmarkSubVWext/5-4 11162606 10.78 ns/op 3711.58 MB/s BenchmarkSubVWext/10-4 9125184 13.18 ns/op 6071.70 MB/s BenchmarkSubVWext/100-4 81010 1468 ns/op 544.86 MB/s BenchmarkSubVWext/1000-4 8306 14134 ns/op 566.02 MB/s BenchmarkMulAddVWW/1-4 11549281 10.21 ns/op 6268.72 MB/s BenchmarkMulAddVWW/2-4 10800322 11.10 ns/op 11527.71 MB/s BenchmarkMulAddVWW/3-4 9851286 12.15 ns/op 15802.93 MB/s BenchmarkMulAddVWW/4-4 9153831 13.12 ns/op 19514.16 MB/s BenchmarkMulAddVWW/5-4 8471889 14.16 ns/op 22595.67 MB/s BenchmarkMulAddVWW/10-4 6543679 18.16 ns/op 35241.63 MB/s BenchmarkMulAddVWW/100-4 1000000 107.6 ns/op 59456.93 MB/s BenchmarkMulAddVWW/1000-4 125522 932.6 ns/op 68624.53 MB/s BenchmarkAddMulVVW/1-4 12186020 9.793 ns/op 6535.03 MB/s BenchmarkAddMulVVW/2-4 11248411 10.78 ns/op 11869.89 MB/s BenchmarkAddMulVVW/3-4 10218454 11.76 ns/op 16324.00 MB/s BenchmarkAddMulVVW/4-4 9126910 12.93 ns/op 19805.37 MB/s BenchmarkAddMulVVW/5-4 8397799 14.15 ns/op 22620.11 MB/s BenchmarkAddMulVVW/10-4 7095084 16.98 ns/op 37693.23 MB/s BenchmarkAddMulVVW/100-4 1467208 80.94 ns/op 79069.28 MB/s BenchmarkAddMulVVW/1000-4 166675 716.4 ns/op 89333.82 MB/s BenchmarkDivWVW/1-4 2664310 45.08 ns/op 1419.84 MB/s BenchmarkDivWVW/2-4 1241148 95.36 ns/op 1342.24 MB/s BenchmarkDivWVW/3-4 959674 125.1 ns/op 1535.31 MB/s BenchmarkDivWVW/4-4 808216 147.6 ns/op 1734.85 MB/s BenchmarkDivWVW/5-4 770983 152.3 ns/op 2101.47 MB/s BenchmarkDivWVW/10-4 415236 283.9 ns/op 2254.46 MB/s BenchmarkDivWVW/100-4 54380 2169 ns/op 2950.30 MB/s BenchmarkDivWVW/1000-4 5493 20950 ns/op 3054.94 MB/s BenchmarkNonZeroShifts/1/shrVU-4 11572286 10.48 ns/op BenchmarkNonZeroShifts/1/shlVU-4 11705246 10.10 ns/op BenchmarkNonZeroShifts/2/shrVU-4 10529001 11.40 ns/op BenchmarkNonZeroShifts/2/shlVU-4 10863207 11.17 ns/op BenchmarkNonZeroShifts/3/shrVU-4 9664473 12.47 ns/op BenchmarkNonZeroShifts/3/shlVU-4 9809757 11.97 ns/op BenchmarkNonZeroShifts/4/shrVU-4 8950256 13.36 ns/op BenchmarkNonZeroShifts/4/shlVU-4 9305446 12.71 ns/op BenchmarkNonZeroShifts/5/shrVU-4 8242638 14.71 ns/op BenchmarkNonZeroShifts/5/shlVU-4 9001999 13.31 ns/op BenchmarkNonZeroShifts/10/shrVU-4 6274642 18.84 ns/op BenchmarkNonZeroShifts/10/shlVU-4 6876927 17.06 ns/op BenchmarkNonZeroShifts/100/shrVU-4 1000000 112.5 ns/op BenchmarkNonZeroShifts/100/shlVU-4 1260687 95.28 ns/op BenchmarkNonZeroShifts/1000/shrVU-4 124777 934.7 ns/op BenchmarkNonZeroShifts/1000/shlVU-4 150898 784.1 ns/op BenchmarkDecimalConversion-4 211 560103 ns/op BenchmarkFloatString/100-4 10000 10241 ns/op 392 B/op 8 allocs/op BenchmarkFloatString/1000-4 214 539079 ns/op 2906 B/op 9 allocs/op BenchmarkFloatString/10000-4 3 50121659 ns/op 60698 B/op 50 allocs/op BenchmarkFloatString/100000-4 1 4940712182 ns/op 853048 B/op 535 allocs/op BenchmarkFloatAdd/10-4 167740 686.9 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100-4 169984 716.3 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/1000-4 151142 789.0 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/10000-4 85338 1405 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100000-4 17160 6999 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10-4 224745 528.1 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100-4 226220 515.5 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/1000-4 220790 534.7 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10000-4 153954 751.6 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100000-4 45288 2638 ns/op 0 B/op 0 allocs/op BenchmarkParseFloatSmallExp-4 1986 60205 ns/op BenchmarkParseFloatLargeExp-4 439 261354 ns/op BenchmarkGCD10x10/WithoutXY-4 198079 605.0 ns/op BenchmarkGCD10x10/WithXY-4 59119 1985 ns/op BenchmarkGCD10x100/WithoutXY-4 99621 1173 ns/op BenchmarkGCD10x100/WithXY-4 16744 7154 ns/op BenchmarkGCD10x1000/WithoutXY-4 58159 1812 ns/op BenchmarkGCD10x1000/WithXY-4 13782 8639 ns/op BenchmarkGCD100x100/WithoutXY-4 24168 4791 ns/op BenchmarkGCD100x100/WithXY-4 10000 11687 ns/op BenchmarkGCD100x1000/WithoutXY-4 10000 10238 ns/op BenchmarkGCD100x1000/WithXY-4 6160 19745 ns/op BenchmarkGCD1000x1000/WithoutXY-4 2178 55411 ns/op BenchmarkGCD1000x1000/WithXY-4 1166 100554 ns/op BenchmarkHilbert-4 22 5209992 ns/op BenchmarkBinomial-4 14536 8092 ns/op BenchmarkQuoRem-4 19738 6204 ns/op BenchmarkExp-4 15 7461303 ns/op BenchmarkExpMont/Odd-4 129 931013 ns/op 2592 B/op 22 allocs/op BenchmarkExpMont/Even1-4 128 927344 ns/op 3353 B/op 37 allocs/op BenchmarkExpMont/Even2-4 123 982327 ns/op 3849 B/op 53 allocs/op BenchmarkExpMont/Even3-4 123 975188 ns/op 3839 B/op 53 allocs/op BenchmarkExpMont/Even4-4 123 959576 ns/op 3856 B/op 53 allocs/op BenchmarkExpMont/Even8-4 123 969735 ns/op 3847 B/op 53 allocs/op BenchmarkExpMont/Even32-4 123 959258 ns/op 3841 B/op 53 allocs/op BenchmarkExpMont/Even64-4 148 819535 ns/op 3621 B/op 53 allocs/op BenchmarkExpMont/Even96-4 142 840478 ns/op 3783 B/op 51 allocs/op BenchmarkExpMont/Even128-4 163 731245 ns/op 3241 B/op 50 allocs/op BenchmarkExpMont/Even255-4 183 631610 ns/op 2935 B/op 47 allocs/op BenchmarkExpMont/SmallEven1-4 441 259286 ns/op 1312 B/op 34 allocs/op BenchmarkExpMont/SmallEven2-4 384 302176 ns/op 1725 B/op 46 allocs/op BenchmarkExpMont/SmallEven3-4 391 300470 ns/op 1735 B/op 47 allocs/op BenchmarkExpMont/SmallEven4-4 404 297998 ns/op 1742 B/op 47 allocs/op BenchmarkExp2-4 15 7565292 ns/op BenchmarkBitset-4 790317 142.0 ns/op BenchmarkBitsetNeg-4 453768 266.3 ns/op BenchmarkBitsetOrig-4 240866 470.4 ns/op BenchmarkBitsetNegOrig-4 139202 776.4 ns/op BenchmarkModSqrt225_Tonelli-4 100 1021605 ns/op BenchmarkModSqrt225_3Mod4-4 384 311534 ns/op BenchmarkModSqrt231_Tonelli-4 100 1057207 ns/op BenchmarkModSqrt231_5Mod8-4 326 369645 ns/op BenchmarkModInverse-4 12390 9861 ns/op BenchmarkSqrt-4 1582 74487 ns/op BenchmarkIntSqr/1-4 1467663 82.34 ns/op BenchmarkIntSqr/2-4 791376 151.2 ns/op BenchmarkIntSqr/3-4 652875 179.5 ns/op BenchmarkIntSqr/5-4 427057 269.1 ns/op BenchmarkIntSqr/8-4 317593 369.6 ns/op BenchmarkIntSqr/10-4 254328 463.4 ns/op BenchmarkIntSqr/20-4 48249 2573 ns/op BenchmarkIntSqr/30-4 35552 3524 ns/op BenchmarkIntSqr/50-4 22279 5474 ns/op BenchmarkIntSqr/80-4 12907 9233 ns/op BenchmarkIntSqr/100-4 9805 11927 ns/op BenchmarkIntSqr/200-4 3472 30994 ns/op BenchmarkIntSqr/300-4 1522 79339 ns/op BenchmarkIntSqr/500-4 741 156656 ns/op BenchmarkIntSqr/800-4 302 410573 ns/op BenchmarkIntSqr/1000-4 225 521646 ns/op BenchmarkDiv/20/10-4 396200 275.7 ns/op BenchmarkDiv/40/20-4 433578 272.1 ns/op BenchmarkDiv/100/50-4 369615 316.1 ns/op BenchmarkDiv/200/100-4 47002 2573 ns/op BenchmarkDiv/400/200-4 46864 2649 ns/op BenchmarkDiv/1000/500-4 38095 3296 ns/op BenchmarkDiv/2000/1000-4 29174 4403 ns/op BenchmarkDiv/20000/10000-4 985 113565 ns/op BenchmarkDiv/200000/100000-4 26 4689697 ns/op BenchmarkDiv/2000000/1000000-4 1 126647561 ns/op BenchmarkDiv/20000000/10000000-4 1 3689990976 ns/op BenchmarkMul-4 5 23496048 ns/op BenchmarkNatMul/10-4 147399 679.4 ns/op BenchmarkNatMul/100-4 4800 21540 ns/op BenchmarkNatMul/1000-4 171 675916 ns/op BenchmarkZeroShifts/Shl-4 16855 7097 ns/op BenchmarkZeroShifts/ShlSame-4 5319952 22.28 ns/op BenchmarkZeroShifts/Shr-4 15972 6856 ns/op BenchmarkZeroShifts/ShrSame-4 5282839 21.65 ns/op BenchmarkExp3Power/0x10-4 162326 676.5 ns/op BenchmarkExp3Power/0x40-4 156141 736.6 ns/op BenchmarkExp3Power/0x100-4 93674 1235 ns/op BenchmarkExp3Power/0x400-4 41078 2670 ns/op BenchmarkExp3Power/0x1000-4 8238 12633 ns/op BenchmarkExp3Power/0x4000-4 1742 61849 ns/op BenchmarkExp3Power/0x10000-4 207 561105 ns/op BenchmarkExp3Power/0x40000-4 18 6695368 ns/op BenchmarkExp3Power/0x100000-4 2 62995304 ns/op BenchmarkExp3Power/0x400000-4 1 564824757 ns/op BenchmarkFibo-4 3 39479603 ns/op BenchmarkNatSqr/1-4 936435 123.5 ns/op BenchmarkNatSqr/2-4 507987 219.3 ns/op BenchmarkNatSqr/3-4 390418 262.0 ns/op BenchmarkNatSqr/5-4 269028 399.0 ns/op BenchmarkNatSqr/8-4 212797 537.5 ns/op BenchmarkNatSqr/10-4 150938 679.9 ns/op BenchmarkNatSqr/20-4 41487 2678 ns/op BenchmarkNatSqr/30-4 31093 3631 ns/op BenchmarkNatSqr/50-4 19614 6048 ns/op BenchmarkNatSqr/80-4 11816 9823 ns/op BenchmarkNatSqr/100-4 9082 13203 ns/op BenchmarkNatSqr/200-4 3636 33677 ns/op BenchmarkNatSqr/300-4 1549 78868 ns/op BenchmarkNatSqr/500-4 720 167448 ns/op BenchmarkNatSqr/800-4 307 376125 ns/op BenchmarkNatSqr/1000-4 232 503763 ns/op BenchmarkNatSetBytes/8-4 687345 170.8 ns/op BenchmarkNatSetBytes/24-4 202852 576.3 ns/op BenchmarkNatSetBytes/128-4 45434 2526 ns/op BenchmarkNatSetBytes/7-4 758562 152.7 ns/op BenchmarkNatSetBytes/23-4 204932 553.4 ns/op BenchmarkNatSetBytes/127-4 45823 2525 ns/op BenchmarkScanPi-4 243 469877 ns/op BenchmarkStringPiParallel-4 673 168458 ns/op BenchmarkScan/10/Base2-4 41686 2873 ns/op BenchmarkScan/100/Base2-4 4158 25350 ns/op BenchmarkScan/1000/Base2-4 487 245761 ns/op BenchmarkScan/10/Base8-4 101156 1195 ns/op BenchmarkScan/100/Base8-4 13410 8772 ns/op BenchmarkScan/1000/Base8-4 1380 85010 ns/op BenchmarkScan/10/Base10-4 108978 1100 ns/op BenchmarkScan/100/Base10-4 15052 7976 ns/op BenchmarkScan/1000/Base10-4 1557 77340 ns/op BenchmarkScan/10/Base16-4 117110 1020 ns/op BenchmarkScan/100/Base16-4 16497 7175 ns/op BenchmarkScan/1000/Base16-4 1725 68728 ns/op BenchmarkString/10/Base2-4 170952 690.8 ns/op BenchmarkString/100/Base2-4 23900 4929 ns/op BenchmarkString/1000/Base2-4 2384 46985 ns/op BenchmarkString/10/Base8-4 341755 348.0 ns/op BenchmarkString/100/Base8-4 61863 1875 ns/op BenchmarkString/1000/Base8-4 7196 16909 ns/op BenchmarkString/10/Base10-4 203877 587.1 ns/op BenchmarkString/100/Base10-4 37764 3050 ns/op BenchmarkString/1000/Base10-4 4732 24842 ns/op BenchmarkString/10/Base16-4 375182 311.8 ns/op BenchmarkString/100/Base16-4 79167 1443 ns/op BenchmarkString/1000/Base16-4 8310 12492 ns/op BenchmarkLeafSize/0-4 43 2769653 ns/op BenchmarkLeafSize/1-4 382 291103 ns/op BenchmarkLeafSize/2-4 400 289901 ns/op BenchmarkLeafSize/3-4 291 394605 ns/op BenchmarkLeafSize/4-4 385 286817 ns/op BenchmarkLeafSize/5-4 256 453281 ns/op BenchmarkLeafSize/6-4 286 389386 ns/op BenchmarkLeafSize/7-4 313 363548 ns/op BenchmarkLeafSize/8-4 398 282912 ns/op BenchmarkLeafSize/9-4 222 530912 ns/op BenchmarkLeafSize/10-4 261 449624 ns/op BenchmarkLeafSize/11-4 268 433614 ns/op BenchmarkLeafSize/12-4 294 391597 ns/op BenchmarkLeafSize/13-4 274 415660 ns/op BenchmarkLeafSize/14-4 307 372189 ns/op BenchmarkLeafSize/15-4 324 348028 ns/op BenchmarkLeafSize/16-4 415 281950 ns/op BenchmarkLeafSize/32-4 403 290076 ns/op BenchmarkLeafSize/64-4 372 304968 ns/op BenchmarkProbablyPrime/n=0-4 9 12030211 ns/op BenchmarkProbablyPrime/n=1-4 8 13438277 ns/op BenchmarkProbablyPrime/n=5-4 6 19407311 ns/op BenchmarkProbablyPrime/n=10-4 4 26745605 ns/op BenchmarkProbablyPrime/n=20-4 3 42018968 ns/op BenchmarkProbablyPrime/Lucas-4 10 10420017 ns/op BenchmarkProbablyPrime/MillerRabinBase2-4 75 1510714 ns/op BenchmarkRatCmp-4 211794 529.0 ns/op BenchmarkFloatSqrt/64-4 21603 5380 ns/op 208 B/op 5 allocs/op BenchmarkFloatSqrt/128-4 13974 8224 ns/op 256 B/op 5 allocs/op BenchmarkFloatSqrt/256-4 9876 11892 ns/op 352 B/op 5 allocs/op BenchmarkFloatSqrt/1000-4 4448 24330 ns/op 1312 B/op 6 allocs/op BenchmarkFloatSqrt/10000-4 818 145905 ns/op 18066 B/op 9 allocs/op BenchmarkFloatSqrt/100000-4 62 1941728 ns/op 174894 B/op 20 allocs/op BenchmarkFloatSqrt/1000000-4 1 148897114 ns/op 3775072 B/op 619 allocs/op PASS ok math/big 51.009s goos: linux goarch: amd64 pkg: math/bits cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLeadingZeros-4 8546596 13.91 ns/op BenchmarkLeadingZeros8-4 8254029 14.32 ns/op BenchmarkLeadingZeros16-4 9799681 12.12 ns/op BenchmarkLeadingZeros32-4 9700402 12.30 ns/op BenchmarkLeadingZeros64-4 10367298 11.40 ns/op BenchmarkTrailingZeros-4 10612400 11.08 ns/op BenchmarkTrailingZeros8-4 9450649 12.63 ns/op BenchmarkTrailingZeros16-4 10350619 11.41 ns/op BenchmarkTrailingZeros32-4 9813729 12.43 ns/op BenchmarkTrailingZeros64-4 10752025 11.11 ns/op BenchmarkOnesCount-4 10694264 11.16 ns/op BenchmarkOnesCount8-4 9511761 12.54 ns/op BenchmarkOnesCount16-4 9707580 12.18 ns/op BenchmarkOnesCount32-4 9743983 12.23 ns/op BenchmarkOnesCount64-4 10601476 11.21 ns/op BenchmarkRotateLeft-4 9380877 12.55 ns/op BenchmarkRotateLeft8-4 10366729 11.61 ns/op BenchmarkRotateLeft16-4 9464364 12.59 ns/op BenchmarkRotateLeft32-4 10035060 11.88 ns/op BenchmarkRotateLeft64-4 10069909 11.62 ns/op BenchmarkReverse-4 15754717 7.579 ns/op BenchmarkReverse8-4 21200643 5.650 ns/op BenchmarkReverse16-4 15744220 6.422 ns/op BenchmarkReverse32-4 14365641 7.197 ns/op BenchmarkReverse64-4 15868116 7.551 ns/op BenchmarkReverseBytes-4 20666569 5.773 ns/op BenchmarkReverseBytes16-4 21114475 5.727 ns/op BenchmarkReverseBytes32-4 21190202 5.669 ns/op BenchmarkReverseBytes64-4 20749669 5.747 ns/op BenchmarkAdd-4 10404156 11.13 ns/op BenchmarkAdd32-4 9453067 12.57 ns/op BenchmarkAdd64-4 10676062 11.15 ns/op BenchmarkAdd64multiple-4 17879569 6.424 ns/op BenchmarkSub-4 9691345 12.43 ns/op BenchmarkSub32-4 9335589 12.56 ns/op BenchmarkSub64-4 10731103 11.20 ns/op BenchmarkSub64multiple-4 18347500 6.471 ns/op BenchmarkMul-4 10458322 11.46 ns/op BenchmarkMul32-4 9546408 12.56 ns/op BenchmarkMul64-4 10394822 11.45 ns/op BenchmarkDiv-4 2673636 45.10 ns/op BenchmarkDiv32-4 5642821 21.34 ns/op BenchmarkDiv64-4 2695736 44.36 ns/op PASS ok math/bits 7.418s goos: linux goarch: amd64 pkg: math/cmplx cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAbs-4 10189644 11.75 ns/op BenchmarkAcos-4 460599 259.0 ns/op BenchmarkAcosh-4 392580 283.5 ns/op BenchmarkAsin-4 444637 262.4 ns/op BenchmarkAsinh-4 437689 262.6 ns/op BenchmarkAtan-4 705052 164.5 ns/op BenchmarkAtanh-4 698046 163.3 ns/op BenchmarkConj-4 16479482 7.141 ns/op BenchmarkCos-4 508845 208.4 ns/op BenchmarkCosh-4 557340 213.3 ns/op BenchmarkExp-4 753967 157.8 ns/op BenchmarkLog-4 800652 145.0 ns/op BenchmarkLog10-4 790852 145.3 ns/op BenchmarkPhase-4 1743442 67.87 ns/op BenchmarkPolar-4 1000000 101.3 ns/op BenchmarkPow-4 222350 521.4 ns/op BenchmarkRect-4 942712 120.5 ns/op BenchmarkSin-4 547994 212.1 ns/op BenchmarkSinh-4 551697 211.6 ns/op BenchmarkSqrt-4 998176 120.3 ns/op BenchmarkTan-4 353836 330.8 ns/op BenchmarkTanh-4 381627 305.8 ns/op PASS ok math/cmplx 3.848s goos: linux goarch: amd64 pkg: math/rand cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkInt63Threadsafe-4 709575 169.8 ns/op BenchmarkInt63ThreadsafeParallel-4 522720 215.9 ns/op BenchmarkInt63Unthreadsafe-4 1206897 100.0 ns/op BenchmarkIntn1000-4 828778 141.0 ns/op BenchmarkInt63n1000-4 879960 129.8 ns/op BenchmarkInt31n1000-4 938013 121.0 ns/op BenchmarkFloat32-4 967501 117.4 ns/op BenchmarkFloat64-4 1201503 99.59 ns/op BenchmarkPerm3-4 191296 608.5 ns/op BenchmarkPerm30-4 22161 5299 ns/op BenchmarkPerm30ViaShuffle-4 25100 4704 ns/op BenchmarkShuffleOverhead-4 18078 6679 ns/op BenchmarkRead3-4 889988 130.5 ns/op BenchmarkRead64-4 76881 1563 ns/op BenchmarkRead1000-4 5060 23039 ns/op BenchmarkConcurrent-4 122829 907.4 ns/op PASS ok math/rand 3.540s goos: linux goarch: amd64 pkg: mime cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkQEncodeWord-4 40641 2717 ns/op BenchmarkQDecodeWord-4 100692 1124 ns/op BenchmarkQDecodeHeader-4 97400 1222 ns/op BenchmarkTypeByExtension/.html-4 361279 317.6 ns/op BenchmarkTypeByExtension/.HTML-4 237518 443.8 ns/op BenchmarkTypeByExtension/.unused-4 345961 328.6 ns/op BenchmarkExtensionsByType/text/html-4 151857 800.4 ns/op BenchmarkExtensionsByType/text/html;_charset=utf-8-4 76400 1432 ns/op BenchmarkExtensionsByType/application/octet-stream-4 111206 1050 ns/op PASS ok mime 2.291s goos: linux goarch: amd64 pkg: mime/multipart cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadForm/fields/maxMemory=0-4 640 179211 ns/op 47589 B/op 187 allocs/op BenchmarkReadForm/fields/maxMemory=1048576-4 604 177208 ns/op 47482 B/op 186 allocs/op BenchmarkReadForm/files/maxMemory=0-4 222 491254 ns/op 104459 B/op 271 allocs/op BenchmarkReadForm/files/maxMemory=1048576-4 471 234589 ns/op 48760 B/op 206 allocs/op PASS ok mime/multipart 1.703s goos: linux goarch: amd64 pkg: mime/quotedprintable cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkWriter-4 926 122966 ns/op PASS ok mime/quotedprintable 1.148s goos: linux goarch: amd64 pkg: net cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkGoLookupIP-4 31 3507006 ns/op 8637 B/op 91 allocs/op BenchmarkGoLookupIPNoSuchHost-4 19 5821935 ns/op 19641 B/op 160 allocs/op BenchmarkGoLookupIPWithBrokenNameServer-4 1 5007622973 ns/op 158752 B/op 230 allocs/op BenchmarkDNSName-4 110125 984.6 ns/op BenchmarkInterfaces-4 1413 79721 ns/op 16874 B/op 42 allocs/op BenchmarkInterfaceByIndex-4 1699 64999 ns/op 12382 B/op 25 allocs/op BenchmarkInterfaceByName-4 1348 85462 ns/op 16908 B/op 43 allocs/op BenchmarkInterfaceAddrs-4 836 133535 ns/op 22760 B/op 103 allocs/op BenchmarkInterfacesAndAddrs-4 2745 39839 ns/op 3837 B/op 33 allocs/op BenchmarkInterfacesAndMulticastAddrs-4 517 216204 ns/op 137576 B/op 51 allocs/op BenchmarkParseIP-4 5718 18093 ns/op BenchmarkParseIPValidIPv4-4 324010 355.4 ns/op BenchmarkParseIPValidIPv6-4 164725 714.7 ns/op BenchmarkIPString/IPv4-4 112012 1078 ns/op 32 B/op 2 allocs/op BenchmarkIPString/IPv6-4 9906 11924 ns/op 216 B/op 11 allocs/op BenchmarkIPMaskString-4 43720 2709 ns/op BenchmarkIPEqual/IPv4-4 1071346 109.5 ns/op BenchmarkIPEqual/IPv6-4 1110450 106.8 ns/op BenchmarkSendFile/1024-4 1 1208225952 ns/op 0.00 MB/s 616 B/op 12 allocs/op BenchmarkSendFile/2048-4 1 1206104966 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/4096-4 1 1206271291 ns/op 0.00 MB/s 616 B/op 12 allocs/op BenchmarkSendFile/8192-4 1 1206549077 ns/op 0.01 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/16384-4 1 1206251975 ns/op 0.01 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/32768-4 1 1015877838 ns/op 0.03 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/65536-4 1 1015991762 ns/op 0.06 MB/s 616 B/op 12 allocs/op BenchmarkSendFile/131072-4 1 1016724955 ns/op 0.13 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/262144-4 1 1016549849 ns/op 0.26 MB/s 616 B/op 12 allocs/op BenchmarkSendFile/524288-4 1 1018332089 ns/op 0.51 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/1048576-4 1 1019653457 ns/op 1.03 MB/s 616 B/op 12 allocs/op BenchmarkSplice/tcp-to-tcp/1024-4 1 1015959694 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/2048-4 1 1016131209 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/4096-4 1 1015815472 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/8192-4 1 1015863107 ns/op 0.01 MB/s BenchmarkSplice/tcp-to-tcp/16384-4 1 1015815472 ns/op 0.02 MB/s BenchmarkSplice/tcp-to-tcp/32768-4 1 1015868185 ns/op 0.03 MB/s BenchmarkSplice/tcp-to-tcp/65536-4 1 1016542760 ns/op 0.06 MB/s BenchmarkSplice/tcp-to-tcp/131072-4 1 1016330224 ns/op 0.13 MB/s BenchmarkSplice/tcp-to-tcp/262144-4 1 1016889391 ns/op 0.26 MB/s BenchmarkSplice/tcp-to-tcp/524288-4 1 1017976428 ns/op 0.52 MB/s BenchmarkSplice/tcp-to-tcp/1048576-4 1 1019814383 ns/op 1.03 MB/s BenchmarkSplice/unix-to-tcp/1024-4 1 1016100223 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/2048-4 1 1016072457 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/4096-4 1 1016054782 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/8192-4 1 1016136306 ns/op 0.01 MB/s BenchmarkSplice/unix-to-tcp/16384-4 1 1016002182 ns/op 0.02 MB/s BenchmarkSplice/unix-to-tcp/32768-4 1 1016299620 ns/op 0.03 MB/s BenchmarkSplice/unix-to-tcp/65536-4 1 1016051029 ns/op 0.06 MB/s BenchmarkSplice/unix-to-tcp/131072-4 1 1017431231 ns/op 0.13 MB/s BenchmarkSplice/unix-to-tcp/262144-4 1 1017799785 ns/op 0.26 MB/s BenchmarkSplice/unix-to-tcp/524288-4 1 1019204640 ns/op 0.51 MB/s BenchmarkSplice/unix-to-tcp/1048576-4 1 1019542149 ns/op 1.03 MB/s BenchmarkSpliceFile/tcp-to-file/1024-4 1 1016290731 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/2048-4 1 1016219106 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/4096-4 1 1016014967 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/8192-4 1 1016730311 ns/op 0.01 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/tcp-to-file/16384-4 1 1016104637 ns/op 0.02 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/32768-4 1 1015950805 ns/op 0.03 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/65536-4 1 1016009942 ns/op 0.06 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/131072-4 1 1016793131 ns/op 0.13 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/262144-4 1 1017068279 ns/op 0.26 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/524288-4 1 1018378523 ns/op 0.51 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/1048576-4 1 1020724747 ns/op 1.03 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/1024-4 1 1015908898 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/2048-4 1 1016146181 ns/op 0.00 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/4096-4 1 1015946171 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/8192-4 1 1015943249 ns/op 0.01 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/16384-4 1 1015733078 ns/op 0.02 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/32768-4 1 1015968560 ns/op 0.03 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/65536-4 1 1015969341 ns/op 0.06 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/131072-4 1 1016505904 ns/op 0.13 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/262144-4 1 1017152729 ns/op 0.26 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/524288-4 1 1017900495 ns/op 0.52 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/1048576-4 1 1019700669 ns/op 1.03 MB/s 944 B/op 9 allocs/op BenchmarkTCP4OneShot-4 1855 54398 ns/op BenchmarkTCP4OneShotTimeout-4 2083 53588 ns/op BenchmarkTCP4Persistent-4 12165 10627 ns/op BenchmarkTCP4PersistentTimeout-4 10926 9676 ns/op BenchmarkTCP6OneShot-4 2223 53905 ns/op BenchmarkTCP6OneShotTimeout-4 1946 56685 ns/op BenchmarkTCP6Persistent-4 12676 10996 ns/op BenchmarkTCP6PersistentTimeout-4 12154 10728 ns/op BenchmarkTCP4ConcurrentReadWrite-4 20823 5107 ns/op BenchmarkTCP6ConcurrentReadWrite-4 21663 5178 ns/op BenchmarkSetReadDeadline-4 124839 940.6 ns/op BenchmarkReadWriteMsgUDPAddrPort-4 9141 16754 ns/op 0 B/op 0 allocs/op BenchmarkWriteToReadFromUDP-4 8619 12317 ns/op 16 B/op 1 allocs/op BenchmarkWriteToReadFromUDPAddrPort-4 10089 11950 ns/op 0 B/op 0 allocs/op PASS ok net 67.814s goos: linux goarch: amd64 pkg: net/http cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCookieString-4 29073 3927 ns/op 176 B/op 1 allocs/op BenchmarkReadSetCookies-4 10998 10773 ns/op 1168 B/op 21 allocs/op BenchmarkReadCookies-4 14440 8170 ns/op 1840 B/op 11 allocs/op BenchmarkHeaderWriteSubset-4 18253 6594 ns/op 45 B/op 0 allocs/op BenchmarkCopyValues-4 33442 3348 ns/op 736 B/op 11 allocs/op BenchmarkHexEscapeNonASCII-4 49059 2378 ns/op 192 B/op 2 allocs/op BenchmarkServerMatch-4 848304 132.6 ns/op BenchmarkReadRequestChrome-4 3548 31588 ns/op 19.34 MB/s 1476 B/op 14 allocs/op BenchmarkReadRequestCurl-4 11073 10707 ns/op 7.28 MB/s 924 B/op 9 allocs/op BenchmarkReadRequestApachebench-4 10510 10934 ns/op 7.50 MB/s 924 B/op 9 allocs/op BenchmarkReadRequestSiege-4 6368 16434 ns/op 9.19 MB/s 1020 B/op 11 allocs/op BenchmarkReadRequestWrk-4 17006 6842 ns/op 5.85 MB/s 860 B/op 7 allocs/op BenchmarkFileAndServer_1KB/h1-4 327 397661 ns/op 2.58 MB/s BenchmarkFileAndServer_1KB/https1-4 201 537368 ns/op 1.91 MB/s BenchmarkFileAndServer_1KB/h2-4 145 719138 ns/op 1.42 MB/s BenchmarkFileAndServer_16MB/h1-4 3 46810726 ns/op 358.41 MB/s BenchmarkFileAndServer_16MB/https1-4 1 162077028 ns/op 103.51 MB/s BenchmarkFileAndServer_16MB/h2-4 1 237721836 ns/op 70.57 MB/s BenchmarkFileAndServer_64MB/h1-4 1 192472930 ns/op 348.67 MB/s BenchmarkFileAndServer_64MB/https1-4 1 394337964 ns/op 170.18 MB/s BenchmarkFileAndServer_64MB/h2-4 1 887071405 ns/op 75.65 MB/s BenchmarkServeMux-4 267 472427 ns/op 17280 B/op 360 allocs/op BenchmarkServeMux_SkipServe-4 346 375845 ns/op 0 B/op 0 allocs/op BenchmarkClientServer/h1-4 380 316145 ns/op 5961 B/op 64 allocs/op BenchmarkClientServer/https1-4 214 471167 ns/op 6694 B/op 75 allocs/op BenchmarkClientServer/h2-4 177 596321 ns/op 10174 B/op 82 allocs/op BenchmarkClientServerParallel/4/h1-4 936 111936 ns/op 10081 B/op 80 allocs/op BenchmarkClientServerParallel/4/https1-4 32 3814128 ns/op 77515 B/op 856 allocs/op --- BENCH: BenchmarkClientServerParallel/4/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:52998: write tcp 127.0.0.1:45019->127.0.0.1:52998: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:52982: write tcp 127.0.0.1:45019->127.0.0.1:52982: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55588: read tcp 127.0.0.1:41811->127.0.0.1:55588: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55542: read tcp 127.0.0.1:41811->127.0.0.1:55542: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55554: read tcp 127.0.0.1:41811->127.0.0.1:55554: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55598: read tcp 127.0.0.1:41811->127.0.0.1:55598: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55612: read tcp 127.0.0.1:41811->127.0.0.1:55612: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55566: write tcp 127.0.0.1:41811->127.0.0.1:55566: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55578: write tcp 127.0.0.1:41811->127.0.0.1:55578: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55548: write tcp 127.0.0.1:41811->127.0.0.1:55548: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/4/h2-4 115 886472 ns/op 22294 B/op 240 allocs/op --- BENCH: BenchmarkClientServerParallel/4/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41200: write tcp 127.0.0.1:43597->127.0.0.1:41200: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41186: write tcp 127.0.0.1:43597->127.0.0.1:41186: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41214: write tcp 127.0.0.1:43597->127.0.0.1:41214: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41222: write tcp 127.0.0.1:43597->127.0.0.1:41222: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:40214: read tcp 127.0.0.1:37457->127.0.0.1:40214: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:40130: read tcp 127.0.0.1:37457->127.0.0.1:40130: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:40222: read tcp 127.0.0.1:37457->127.0.0.1:40222: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:40232: read tcp 127.0.0.1:37457->127.0.0.1:40232: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:40182: write tcp 127.0.0.1:37457->127.0.0.1:40182: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:40220: write tcp 127.0.0.1:37457->127.0.0.1:40220: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h1-4 316 322159 ns/op 24644 B/op 123 allocs/op BenchmarkClientServerParallel/64/https1-4 78 4611357 ns/op 103089 B/op 1108 allocs/op --- BENCH: BenchmarkClientServerParallel/64/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54338: write tcp 127.0.0.1:36851->127.0.0.1:54338: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54372: write tcp 127.0.0.1:36851->127.0.0.1:54372: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54348: write tcp 127.0.0.1:36851->127.0.0.1:54348: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55282: read tcp 127.0.0.1:44183->127.0.0.1:55282: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55378: write tcp 127.0.0.1:44183->127.0.0.1:55378: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55364: write tcp 127.0.0.1:44183->127.0.0.1:55364: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:38138: read tcp 127.0.0.1:35249->127.0.0.1:38138: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:37940: write tcp 127.0.0.1:35249->127.0.0.1:37940: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:38068: read tcp 127.0.0.1:35249->127.0.0.1:38068: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:38044: read tcp 127.0.0.1:35249->127.0.0.1:38044: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h2-4 76 2380255 ns/op 57823 B/op 646 allocs/op --- BENCH: BenchmarkClientServerParallel/64/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59742: read tcp 127.0.0.1:42481->127.0.0.1:59742: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59744: read tcp 127.0.0.1:42481->127.0.0.1:59744: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59810: read tcp 127.0.0.1:42481->127.0.0.1:59810: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59816: read tcp 127.0.0.1:42481->127.0.0.1:59816: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59784: read tcp 127.0.0.1:42481->127.0.0.1:59784: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59772: read tcp 127.0.0.1:42481->127.0.0.1:59772: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59834: write tcp 127.0.0.1:42481->127.0.0.1:59834: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59796: read tcp 127.0.0.1:42481->127.0.0.1:59796: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59852: read tcp 127.0.0.1:42481->127.0.0.1:59852: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59836: read tcp 127.0.0.1:42481->127.0.0.1:59836: use of closed network connection ... [output truncated] BenchmarkServer-4 1 1033143469 ns/op 28784 B/op 147 allocs/op BenchmarkClient-4 297 388683 ns/op 3735 B/op 45 allocs/op BenchmarkServerFakeConnNoKeepAlive-4 681 162925 ns/op 7431 B/op 54 allocs/op BenchmarkServerFakeConnWithKeepAlive-4 1306 89325 ns/op 3003 B/op 24 allocs/op BenchmarkServerFakeConnWithKeepAliveLite-4 1652 72565 ns/op 1918 B/op 14 allocs/op BenchmarkServerHandlerTypeLen-4 1492 79615 ns/op 2755 B/op 21 allocs/op BenchmarkServerHandlerNoLen-4 1689 72351 ns/op 2726 B/op 19 allocs/op BenchmarkServerHandlerNoType-4 1615 71888 ns/op 2726 B/op 20 allocs/op BenchmarkServerHandlerNoHeader-4 1730 68260 ns/op 1941 B/op 14 allocs/op BenchmarkServerHijack-4 1148 115192 ns/op 16746 B/op 50 allocs/op BenchmarkCloseNotifier/h1-4 432 315148 ns/op 6023 B/op 52 allocs/op BenchmarkResponseStatusLine-4 518883 238.4 ns/op 0 B/op 0 allocs/op PASS ok net/http 15.618s goos: linux goarch: amd64 pkg: net/http/httputil cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkServeHTTP-4 4564 23860 ns/op 34073 B/op 12 allocs/op PASS ok net/http/httputil 1.188s goos: linux goarch: amd64 pkg: net/netip cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkIPNextPrev-4 86662 1336 ns/op BenchmarkBinaryMarshalRoundTrip/ipv4-4 505752 204.2 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6-4 183187 656.7 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6+zone-4 65559 1825 ns/op BenchmarkStdIPv4-4 126086 899.0 ns/op 16 B/op 1 allocs/op BenchmarkIPv4-4 92172 1303 ns/op 0 B/op 0 allocs/op BenchmarkIPv4_inline-4 93552 1265 ns/op 0 B/op 0 allocs/op BenchmarkStdIPv6-4 81555 1448 ns/op 16 B/op 1 allocs/op BenchmarkIPv6-4 68606 1726 ns/op 0 B/op 0 allocs/op BenchmarkIPv4Contains-4 1750880 69.23 ns/op 0 B/op 0 allocs/op BenchmarkIPv6Contains-4 1549503 77.91 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v4-4 1390384 85.96 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6-4 249964 453.2 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_ellipsis-4 271648 437.0 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_v4-4 260014 456.5 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_zone-4 82723 1462 ns/op 0 B/op 0 allocs/op BenchmarkStdParseIP/v4-4 291841 417.4 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6-4 148488 803.9 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_ellipsis-4 149146 770.9 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_v4-4 131310 810.3 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_zone-4 72261 1564 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v4-4 363085 325.6 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v6-4 121467 951.4 ns/op 48 B/op 1 allocs/op BenchmarkIPString/v6_ellipsis-4 169866 696.4 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_v4-4 256846 451.2 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_zone-4 154008 758.9 ns/op 24 B/op 1 allocs/op BenchmarkIPStringExpanded/v4-4 330294 364.0 ns/op 16 B/op 1 allocs/op BenchmarkIPStringExpanded/v6-4 152634 787.0 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_ellipsis-4 145256 779.2 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_v4-4 152078 772.0 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_zone-4 110606 1006 ns/op 128 B/op 2 allocs/op BenchmarkIPMarshalText-4 450098 259.2 ns/op 16 B/op 1 allocs/op BenchmarkAddrPortString/v4-4 157933 745.5 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortString/v6-4 93618 1260 ns/op 112 B/op 3 allocs/op BenchmarkAddrPortString/v6_ellipsis-4 118730 1033 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_v4-4 168249 717.1 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_zone-4 112958 1088 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortMarshalText/v4-4 265783 439.5 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6-4 119036 1006 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_ellipsis-4 140175 852.3 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_v4-4 195026 620.9 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_zone-4 135824 886.5 ns/op 64 B/op 1 allocs/op BenchmarkPrefixMasking/IPv4_/32-4 1000000 107.8 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/17-4 1000000 109.5 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/0-4 1000000 109.9 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/128-4 966236 114.7 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/65-4 1000000 115.3 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/0-4 1000000 115.2 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/128-4 1000000 115.5 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/65-4 1000000 115.2 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/0-4 1000000 115.8 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMarshalText-4 349954 335.3 ns/op 24 B/op 1 allocs/op BenchmarkParseAddrPort/v4-4 588096 195.8 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6-4 201837 588.8 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_ellipsis-4 213894 556.3 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_v4-4 203169 593.6 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_zone-4 75637 1591 ns/op 0 B/op 0 allocs/op BenchmarkAs16-4 518578 224.1 ns/op PASS ok net/netip 8.634s 2023/05/25 01:29:59 Test RPC server listening on 127.0.0.1:34563 2023/05/25 01:29:59 Test HTTP RPC server listening on 127.0.0.1:34271 goos: linux goarch: amd64 pkg: net/rpc cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEndToEnd-4 1476 82134 ns/op BenchmarkEndToEndHTTP-4 1327 75583 ns/op BenchmarkEndToEndAsync-4 3546 42186 ns/op BenchmarkEndToEndAsyncHTTP-4 3536 32520 ns/op PASS ok net/rpc 1.900s goos: linux goarch: amd64 pkg: net/textproto cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadMIMEHeader/client_headers-4 2895 35578 ns/op BenchmarkReadMIMEHeader/server_headers-4 5229 22547 ns/op BenchmarkUncommon-4 25165 4624 ns/op 464 B/op 5 allocs/op PASS ok net/textproto 1.517s goos: linux goarch: amd64 pkg: net/url cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkString-4 4957 23600 ns/op 1616 B/op 60 allocs/op BenchmarkResolvePath-4 94965 1177 ns/op 32 B/op 2 allocs/op BenchmarkQueryEscape/#00-4 566160 195.2 ns/op 16 B/op 1 allocs/op BenchmarkQueryEscape/#01-4 88612 1295 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#02-4 175400 673.5 ns/op 32 B/op 1 allocs/op BenchmarkQueryEscape/#03-4 84171 1457 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#04-4 14173 8294 ns/op 832 B/op 2 allocs/op BenchmarkPathEscape/#00-4 387510 296.7 ns/op 16 B/op 1 allocs/op BenchmarkPathEscape/#01-4 94232 1299 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#02-4 173329 673.7 ns/op 32 B/op 1 allocs/op BenchmarkPathEscape/#03-4 84637 1417 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#04-4 15763 7323 ns/op 704 B/op 2 allocs/op BenchmarkQueryUnescape/#00-4 203774 594.8 ns/op 16 B/op 1 allocs/op BenchmarkQueryUnescape/#01-4 79312 1489 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#02-4 78370 1522 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#03-4 35485 3355 ns/op 64 B/op 1 allocs/op BenchmarkQueryUnescape/#04-4 6212 18797 ns/op 320 B/op 1 allocs/op BenchmarkPathUnescape/#00-4 199784 606.8 ns/op 16 B/op 1 allocs/op BenchmarkPathUnescape/#01-4 77608 1511 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#02-4 74460 1521 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#03-4 35433 3367 ns/op 64 B/op 1 allocs/op BenchmarkPathUnescape/#04-4 5487 18332 ns/op 320 B/op 1 allocs/op PASS ok net/url 4.178s goos: linux goarch: amd64 pkg: os cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExpand/noop-4 3247216 36.58 ns/op 0 B/op 0 allocs/op BenchmarkExpand/multiple-4 162630 696.2 ns/op 48 B/op 2 allocs/op BenchmarkReaddirname-4 682 166047 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 206 559352 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 572 200960 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 49202 2294 ns/op BenchmarkStatFile-4 41947 2679 ns/op BenchmarkStatDir-4 43534 2618 ns/op BenchmarkLstatDot-4 50505 2324 ns/op BenchmarkLstatFile-4 42182 2669 ns/op BenchmarkLstatDir-4 42684 2626 ns/op PASS ok os 2.632s goos: linux goarch: amd64 pkg: os/exec cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExecHostname-4 154 786022 ns/op 6775 B/op 30 allocs/op PASS ok os/exec 1.220s goos: linux goarch: amd64 pkg: os/user cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCurrent-4 395397 281.5 ns/op PASS ok os/user 1.223s goos: linux goarch: amd64 pkg: reflect cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkBool-4 3682773 32.39 ns/op BenchmarkString-4 2299662 52.21 ns/op BenchmarkBytes-4 1940667 61.75 ns/op BenchmarkNamedBytes-4 1000000 105.3 ns/op BenchmarkBytesArray-4 709129 161.6 ns/op BenchmarkSliceLen-4 2261905 52.84 ns/op BenchmarkMapLen-4 915319 124.1 ns/op BenchmarkStringLen-4 1893052 61.55 ns/op BenchmarkArrayLen-4 1320603 87.94 ns/op BenchmarkSliceCap-4 2558540 46.71 ns/op BenchmarkDeepEqual/int8-4 468411 257.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int8-4 93603 1275 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int16-4 411806 287.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int16-4 89718 1305 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int32-4 396224 294.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int32-4 89486 1325 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int64-4 384480 293.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int64-4 88748 1309 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int-4 402646 292.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int-4 90222 1336 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint8-4 448374 250.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8-4 122539 969.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint16-4 409050 292.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint16-4 90776 1327 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint32-4 386902 297.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint32-4 90802 1333 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint64-4 396590 298.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint64-4 89431 1331 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint-4 407168 300.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint-4 87505 1327 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uintptr-4 394942 296.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uintptr-4 87770 1333 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float32-4 400724 300.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float32-4 90056 1315 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float64-4 402876 299.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float64-4 91158 1322 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex64-4 407062 290.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex64-4 90396 1325 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex128-4 391096 295.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex128-4 88183 1323 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/bool-4 472548 244.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]bool-4 93038 1268 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/string-4 408867 289.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]string-4 86539 1347 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8#01-4 121634 987.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][]uint8-4 58834 2026 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[6]uint8-4 46449 2642 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][6]uint8-4 32992 3681 ns/op 0 B/op 0 allocs/op BenchmarkIsZero/ArrayComparable-4 275210 438.2 ns/op BenchmarkIsZero/ArrayIncomparable-4 30073 3976 ns/op BenchmarkIsZero/StructComparable-4 586165 205.2 ns/op BenchmarkIsZero/StructIncomparable-4 139054 869.8 ns/op BenchmarkSetZero/Bool/Direct-4 4106311 28.75 ns/op BenchmarkSetZero/Bool/CachedZero-4 834194 139.8 ns/op BenchmarkSetZero/Bool/NewZero-4 638670 180.0 ns/op BenchmarkSetZero/Int/Direct-4 2449548 48.70 ns/op BenchmarkSetZero/Int/CachedZero-4 840193 140.0 ns/op BenchmarkSetZero/Int/NewZero-4 633114 178.9 ns/op BenchmarkSetZero/Uint/Direct-4 2342953 51.13 ns/op BenchmarkSetZero/Uint/CachedZero-4 822912 139.7 ns/op BenchmarkSetZero/Uint/NewZero-4 617199 179.2 ns/op BenchmarkSetZero/Float/Direct-4 2473552 48.80 ns/op BenchmarkSetZero/Float/CachedZero-4 810615 137.0 ns/op BenchmarkSetZero/Float/NewZero-4 648078 180.1 ns/op BenchmarkSetZero/Complex/Direct-4 2464238 51.35 ns/op BenchmarkSetZero/Complex/CachedZero-4 840009 138.7 ns/op BenchmarkSetZero/Complex/NewZero-4 640587 179.6 ns/op BenchmarkSetZero/Array/Direct-4 2219625 53.63 ns/op BenchmarkSetZero/Array/CachedZero-4 828658 140.6 ns/op BenchmarkSetZero/Array/NewZero-4 652670 178.5 ns/op BenchmarkSetZero/Chan/Direct-4 2481662 48.72 ns/op BenchmarkSetZero/Chan/CachedZero-4 816945 143.5 ns/op BenchmarkSetZero/Chan/NewZero-4 628412 179.2 ns/op BenchmarkSetZero/Func/Direct-4 2478380 48.61 ns/op BenchmarkSetZero/Func/CachedZero-4 812324 141.5 ns/op BenchmarkSetZero/Func/NewZero-4 636543 182.5 ns/op BenchmarkSetZero/Interface/Direct-4 2211591 54.42 ns/op BenchmarkSetZero/Interface/CachedZero-4 842006 136.0 ns/op BenchmarkSetZero/Interface/NewZero-4 619843 179.3 ns/op BenchmarkSetZero/Map/Direct-4 2467616 48.45 ns/op BenchmarkSetZero/Map/CachedZero-4 789884 143.0 ns/op BenchmarkSetZero/Map/NewZero-4 647974 182.3 ns/op BenchmarkSetZero/Pointer/Direct-4 2369498 48.36 ns/op BenchmarkSetZero/Pointer/CachedZero-4 781167 142.7 ns/op BenchmarkSetZero/Pointer/NewZero-4 645766 181.7 ns/op BenchmarkSetZero/Slice/Direct-4 2177820 59.48 ns/op BenchmarkSetZero/Slice/CachedZero-4 821134 139.7 ns/op BenchmarkSetZero/Slice/NewZero-4 647000 184.4 ns/op BenchmarkSetZero/String/Direct-4 2467351 51.68 ns/op BenchmarkSetZero/String/CachedZero-4 840664 136.2 ns/op BenchmarkSetZero/String/NewZero-4 627714 179.5 ns/op BenchmarkSetZero/Struct/Direct-4 2241890 53.44 ns/op BenchmarkSetZero/Struct/CachedZero-4 827538 137.4 ns/op BenchmarkSetZero/Struct/NewZero-4 644418 181.3 ns/op BenchmarkSelect/1-4 149748 781.9 ns/op 80 B/op 5 allocs/op BenchmarkSelect/4-4 67099 1739 ns/op 208 B/op 8 allocs/op BenchmarkSelect/8-4 34796 3276 ns/op 672 B/op 13 allocs/op BenchmarkCall-4 197584 531.9 ns/op 0 B/op 0 allocs/op BenchmarkCallMethod-4 155116 765.1 ns/op 0 B/op 0 allocs/op BenchmarkCallArgCopy/size=128-4 111415 925.2 ns/op 138.34 MB/s BenchmarkCallArgCopy/size=256-4 101026 1124 ns/op 227.71 MB/s BenchmarkCallArgCopy/size=1024-4 78228 1475 ns/op 694.25 MB/s BenchmarkCallArgCopy/size=4096-4 30453 3649 ns/op 1122.53 MB/s BenchmarkCallArgCopy/size=65536-4 2372 44707 ns/op 1465.89 MB/s BenchmarkFieldByName1-4 1295479 90.02 ns/op BenchmarkFieldByName2-4 92122 1466 ns/op BenchmarkFieldByName3-4 10496 10020 ns/op BenchmarkInterfaceBig-4 4030143 29.50 ns/op BenchmarkInterfaceSmall-4 3838386 32.22 ns/op BenchmarkNew-4 1746244 67.61 ns/op BenchmarkMap/StringKeys/MapIndex-4 2292 50692 ns/op 0 B/op 0 allocs/op BenchmarkMap/StringKeys/SetMapIndex-4 1940 60521 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/MapIndex-4 2215 51733 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/SetMapIndex-4 1898 61359 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/MapIndex-4 2337 51475 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/SetMapIndex-4 1957 60786 ns/op 0 B/op 0 allocs/op BenchmarkMapIterNext-4 220756 532.3 ns/op PASS ok reflect 17.445s goos: linux goarch: amd64 pkg: regexp cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFind-4 11294 9680 ns/op 9100 B/op 1 allocs/op BenchmarkFindAllNoMatches-4 15694 7583 ns/op 9547 B/op 1 allocs/op BenchmarkFindString-4 12207 9394 ns/op 9236 B/op 1 allocs/op BenchmarkFindSubmatch-4 10000 10811 ns/op 9358 B/op 2 allocs/op BenchmarkFindStringSubmatch-4 11198 10219 ns/op 9191 B/op 2 allocs/op BenchmarkLiteral-4 18973 6175 ns/op BenchmarkNotLiteral-4 3675 27237 ns/op BenchmarkMatchClass-4 2906 34883 ns/op BenchmarkMatchClass_InRange-4 3474 34402 ns/op BenchmarkReplaceAll-4 2571 46305 ns/op BenchmarkAnchoredLiteralShortNonMatch-4 16072 6354 ns/op BenchmarkAnchoredLiteralLongNonMatch-4 38457 3019 ns/op BenchmarkAnchoredShortMatch-4 15177 7401 ns/op BenchmarkAnchoredLongMatch-4 19314 6060 ns/op BenchmarkOnePassShortA-4 20410 5899 ns/op BenchmarkNotOnePassShortA-4 8126 15021 ns/op BenchmarkOnePassShortB-4 26282 4594 ns/op BenchmarkNotOnePassShortB-4 8838 12051 ns/op BenchmarkOnePassLongPrefix-4 82528 1512 ns/op BenchmarkOnePassLongNotPrefix-4 27438 4359 ns/op BenchmarkMatchParallelShared-4 23446 4667 ns/op BenchmarkMatchParallelCopied-4 22006 4864 ns/op BenchmarkQuoteMetaAll-4 144355 832.9 ns/op 16.81 MB/s BenchmarkQuoteMetaNone-4 253119 454.9 ns/op 57.15 MB/s BenchmarkCompile/Onepass-4 3850 27888 ns/op 4144 B/op 52 allocs/op BenchmarkCompile/Medium-4 1503 71053 ns/op 9704 B/op 112 allocs/op BenchmarkCompile/Hard-4 189 607347 ns/op 84760 B/op 424 allocs/op BenchmarkMatch/Easy0/16-4 3710174 31.82 ns/op 502.84 MB/s BenchmarkMatch/Easy0/32-4 20586 6407 ns/op 4.99 MB/s BenchmarkMatch/Easy0/1K-4 6307 18704 ns/op 54.75 MB/s BenchmarkMatch/Easy0i/16-4 3717372 31.85 ns/op 502.34 MB/s BenchmarkMatch/Easy0i/32-4 4864 21464 ns/op 1.49 MB/s BenchmarkMatch/Easy0i/1K-4 266 449919 ns/op 2.28 MB/s BenchmarkMatch/Easy1/16-4 3770300 31.49 ns/op 508.10 MB/s BenchmarkMatch/Easy1/32-4 18956 7350 ns/op 4.35 MB/s BenchmarkMatch/Easy1/1K-4 4864 24722 ns/op 41.42 MB/s BenchmarkMatch/Medium/16-4 3772452 32.41 ns/op 493.71 MB/s BenchmarkMatch/Medium/32-4 6212 18842 ns/op 1.70 MB/s BenchmarkMatch/Medium/1K-4 290 397105 ns/op 2.58 MB/s BenchmarkMatch/Hard/16-4 3687409 31.67 ns/op 505.26 MB/s BenchmarkMatch/Hard/32-4 3738 29226 ns/op 1.09 MB/s BenchmarkMatch/Hard/1K-4 166 712688 ns/op 1.44 MB/s BenchmarkMatch/Hard1/16-4 1504 81812 ns/op 0.20 MB/s BenchmarkMatch/Hard1/32-4 746 155259 ns/op 0.21 MB/s BenchmarkMatch/Hard1/1K-4 25 4551779 ns/op 0.22 MB/s BenchmarkMatch_onepass_regex/16-4 29185 4098 ns/op 3.90 MB/s 24 B/op 0 allocs/op BenchmarkMatch_onepass_regex/32-4 17702 6851 ns/op 4.67 MB/s 24 B/op 0 allocs/op BenchmarkMatch_onepass_regex/1K-4 686 172295 ns/op 5.94 MB/s 26 B/op 0 allocs/op PASS ok regexp 9.044s goos: linux goarch: amd64 pkg: regexp/syntax cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEmptyOpContext-4 629811 190.3 ns/op BenchmarkIsWordChar-4 169190 711.6 ns/op PASS ok regexp/syntax 2.322s goos: linux goarch: amd64 pkg: runtime cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCallers/cached-4 70892 1690 ns/op BenchmarkCallers/inlined-4 52558 2270 ns/op BenchmarkCallers/no-cache-4 10000 10242 ns/op BenchmarkFPCallers/cached-4 2863047 41.85 ns/op BenchmarkMakeChan/Byte-4 1147712 106.7 ns/op BenchmarkMakeChan/Int-4 868292 131.2 ns/op BenchmarkMakeChan/Ptr-4 503118 213.4 ns/op BenchmarkMakeChan/Struct/0-4 1294970 88.70 ns/op BenchmarkMakeChan/Struct/32-4 603806 201.6 ns/op BenchmarkMakeChan/Struct/40-4 467269 250.3 ns/op BenchmarkChanNonblocking-4 11657020 10.48 ns/op BenchmarkSelectUncontended-4 955357 107.5 ns/op BenchmarkSelectSyncContended-4 31183 3975 ns/op BenchmarkSelectAsyncContended-4 110455 1137 ns/op BenchmarkSelectNonblock-4 6237081 17.97 ns/op BenchmarkChanUncontended-4 9712 12098 ns/op BenchmarkChanContended-4 1311 94096 ns/op BenchmarkChanSync-4 174121 688.6 ns/op BenchmarkChanSyncWork-4 10000 35303 ns/op BenchmarkChanProdCons0-4 87189 1474 ns/op BenchmarkChanProdCons10-4 109321 1150 ns/op BenchmarkChanProdCons100-4 116797 1044 ns/op BenchmarkChanProdConsWork0-4 77166 1604 ns/op BenchmarkChanProdConsWork10-4 85266 1448 ns/op BenchmarkChanProdConsWork100-4 92172 1341 ns/op BenchmarkSelectProdCons-4 65270 1795 ns/op BenchmarkReceiveDataFromClosedChan-4 627210 192.4 ns/op BenchmarkChanCreation-4 203551 514.2 ns/op BenchmarkChanSem-4 130765 910.6 ns/op BenchmarkChanPopular-4 82 1311571 ns/op BenchmarkChanClosed-4 527794 230.4 ns/op BenchmarkCallClosure-4 6446222 18.55 ns/op BenchmarkCallClosure1-4 6734312 17.47 ns/op BenchmarkCallClosure2-4 1373446 86.50 ns/op BenchmarkCallClosure3-4 1529550 76.34 ns/op BenchmarkCallClosure4-4 1349526 84.01 ns/op BenchmarkComplex128DivNormal-4 10085776 11.34 ns/op BenchmarkComplex128DivNisNaN-4 7570893 14.69 ns/op BenchmarkComplex128DivDisNaN-4 7475886 15.08 ns/op BenchmarkComplex128DivNisInf-4 9748501 11.73 ns/op BenchmarkComplex128DivDisInf-4 5649609 19.94 ns/op BenchmarkSetTypePtr-4 45549646 2.641 ns/op 3028.65 MB/s BenchmarkSetTypePtr8-4 9567783 12.46 ns/op 5136.19 MB/s BenchmarkSetTypePtr16-4 9617996 12.46 ns/op 10276.58 MB/s BenchmarkSetTypePtr32-4 9418600 12.57 ns/op 20358.48 MB/s BenchmarkSetTypePtr64-4 9581131 12.60 ns/op 40634.89 MB/s BenchmarkSetTypePtr126-4 5637518 21.22 ns/op 47503.54 MB/s BenchmarkSetTypePtr128-4 5866833 20.38 ns/op 50252.27 MB/s BenchmarkSetTypePtrSlice-4 710709 163.6 ns/op 50081.11 MB/s BenchmarkSetTypeNode1-4 9635640 12.57 ns/op 1909.29 MB/s BenchmarkSetTypeNode1Slice-4 3035221 40.77 ns/op 18837.15 MB/s BenchmarkSetTypeNode8-4 9452300 12.47 ns/op 6417.79 MB/s BenchmarkSetTypeNode8Slice-4 1485628 78.62 ns/op 32561.51 MB/s BenchmarkSetTypeNode64-4 5656264 21.19 ns/op 24915.50 MB/s BenchmarkSetTypeNode64Slice-4 224664 524.3 ns/op 32225.44 MB/s BenchmarkSetTypeNode64Dead-4 7564946 15.87 ns/op 33269.62 MB/s BenchmarkSetTypeNode64DeadSlice-4 258166 465.9 ns/op 36262.32 MB/s BenchmarkSetTypeNode124-4 5681685 21.18 ns/op 47587.69 MB/s BenchmarkSetTypeNode124Slice-4 181558 661.1 ns/op 48787.75 MB/s BenchmarkSetTypeNode126-4 5865362 20.37 ns/op 50275.17 MB/s BenchmarkSetTypeNode126Slice-4 179563 670.6 ns/op 48860.84 MB/s BenchmarkSetTypeNode128-4 3966754 29.51 ns/op 35239.31 MB/s BenchmarkSetTypeNode128Slice-4 141448 838.6 ns/op 39686.14 MB/s BenchmarkSetTypeNode130-4 4027620 29.64 ns/op 35621.95 MB/s BenchmarkSetTypeNode130Slice-4 140814 851.6 ns/op 39682.08 MB/s BenchmarkSetTypeNode1024-4 766581 155.7 ns/op 52703.71 MB/s BenchmarkSetTypeNode1024Slice-4 24279 4901 ns/op 53588.39 MB/s BenchmarkAllocation-4 3697 41647 ns/op BenchmarkReadMemStats-4 6344 18727 ns/op BenchmarkReadMemStatsLatency-4 1 69024 p50-ns 69024 p90-ns 69024 p99-ns BenchmarkWriteBarrier-4 2227179 48.62 ns/op BenchmarkBulkWriteBarrier-4 6027387 20.31 ns/op BenchmarkScanStackNoLocals-4 3 40040693 ns/op BenchmarkMSpanCountAlloc/bits=64-4 9896586 10.29 ns/op BenchmarkMSpanCountAlloc/bits=128-4 10300150 11.20 ns/op BenchmarkMSpanCountAlloc/bits=256-4 9113961 13.28 ns/op BenchmarkMSpanCountAlloc/bits=512-4 6810214 17.01 ns/op BenchmarkMSpanCountAlloc/bits=1024-4 4365254 25.81 ns/op BenchmarkHash5-4 6481126 18.27 ns/op 273.64 MB/s BenchmarkHash16-4 6372295 17.69 ns/op 904.63 MB/s BenchmarkHash64-4 6123138 18.34 ns/op 3489.90 MB/s BenchmarkHash1024-4 1913308 61.81 ns/op 16567.49 MB/s BenchmarkHash65536-4 37657 3102 ns/op 21124.43 MB/s BenchmarkAlignedLoad-4 8951647 13.40 ns/op BenchmarkUnalignedLoad-4 7864695 15.02 ns/op BenchmarkEqEfaceConcrete-4 6341149 18.89 ns/op BenchmarkEqIfaceConcrete-4 6884954 17.25 ns/op BenchmarkNeEfaceConcrete-4 6579750 18.11 ns/op BenchmarkNeIfaceConcrete-4 6633249 17.86 ns/op BenchmarkConvT2EByteSized/bool-4 6490851 18.59 ns/op BenchmarkConvT2EByteSized/uint8-4 6367273 18.72 ns/op BenchmarkConvT2ESmall-4 5703142 21.02 ns/op BenchmarkConvT2EUintptr-4 5568525 21.25 ns/op BenchmarkConvT2ELarge-4 1000000 100.2 ns/op BenchmarkConvT2ISmall-4 5792860 20.88 ns/op BenchmarkConvT2IUintptr-4 5520087 21.72 ns/op BenchmarkConvT2ILarge-4 1237764 96.79 ns/op BenchmarkConvI2E-4 5029185 24.02 ns/op BenchmarkConvI2I-4 4207644 28.83 ns/op BenchmarkAssertE2T-4 5094661 23.29 ns/op BenchmarkAssertE2TLarge-4 2322594 51.31 ns/op BenchmarkAssertE2I-4 4301396 27.56 ns/op BenchmarkAssertI2T-4 4880970 24.69 ns/op BenchmarkAssertI2I-4 4343529 27.68 ns/op BenchmarkAssertI2E-4 5889506 20.38 ns/op BenchmarkAssertE2E-4 6238147 19.01 ns/op BenchmarkAssertE2T2-4 3876328 31.34 ns/op BenchmarkAssertE2T2Blank-4 4779039 25.14 ns/op BenchmarkAssertI2E2-4 4595469 25.61 ns/op BenchmarkAssertI2E2Blank-4 5903796 19.79 ns/op BenchmarkAssertE2E2-4 4569906 25.97 ns/op BenchmarkAssertE2E2Blank-4 6071378 20.17 ns/op BenchmarkConvT2Ezero/zero/16-4 5662041 21.01 ns/op BenchmarkConvT2Ezero/zero/32-4 5755618 20.78 ns/op BenchmarkConvT2Ezero/zero/64-4 5551300 21.58 ns/op BenchmarkConvT2Ezero/zero/str-4 5732539 20.95 ns/op BenchmarkConvT2Ezero/zero/slice-4 5757861 20.61 ns/op BenchmarkConvT2Ezero/zero/big-4 266962 500.4 ns/op BenchmarkConvT2Ezero/nonzero/str-4 1327983 84.49 ns/op BenchmarkConvT2Ezero/nonzero/slice-4 1278685 94.49 ns/op BenchmarkConvT2Ezero/nonzero/big-4 261570 476.5 ns/op BenchmarkConvT2Ezero/smallint/16-4 5782352 21.16 ns/op BenchmarkConvT2Ezero/smallint/32-4 5767004 20.77 ns/op BenchmarkConvT2Ezero/smallint/64-4 5674952 21.06 ns/op BenchmarkConvT2Ezero/largeint/16-4 1686808 74.54 ns/op BenchmarkConvT2Ezero/largeint/32-4 1710032 69.18 ns/op BenchmarkConvT2Ezero/largeint/64-4 1766208 63.66 ns/op BenchmarkMalloc8-4 1506897 84.38 ns/op BenchmarkMalloc16-4 1375728 90.19 ns/op BenchmarkMallocTypeInfo8-4 1350012 82.55 ns/op BenchmarkMallocTypeInfo16-4 1000000 103.5 ns/op BenchmarkMallocLargeStruct-4 146912 693.5 ns/op BenchmarkGoroutineSelect-4 79 1889195 ns/op BenchmarkGoroutineBlocking-4 68 1810125 ns/op BenchmarkGoroutineForRange-4 92 1756591 ns/op BenchmarkGoroutineIdle-4 87 1714367 ns/op BenchmarkHashStringSpeed-4 2548582 48.01 ns/op BenchmarkHashBytesSpeed-4 1564443 82.70 ns/op BenchmarkHashInt32Speed-4 3396633 38.78 ns/op BenchmarkHashInt64Speed-4 3179223 34.43 ns/op BenchmarkHashStringArraySpeed-4 610976 188.0 ns/op BenchmarkMegMap-4 3414200 37.00 ns/op BenchmarkMegOneMap-4 4163168 29.99 ns/op BenchmarkMegEqMap-4 1518 80021 ns/op BenchmarkMegEmptyMap-4 4900837 25.18 ns/op BenchmarkSmallStrMap-4 3646110 32.94 ns/op BenchmarkMapStringKeysEight_16-4 3446444 34.43 ns/op BenchmarkMapStringKeysEight_32-4 3452576 35.43 ns/op BenchmarkMapStringKeysEight_64-4 3392091 35.00 ns/op BenchmarkMapStringKeysEight_1M-4 3323779 35.18 ns/op BenchmarkIntMap-4 4087010 29.24 ns/op BenchmarkMapFirst/1-4 4835109 24.73 ns/op BenchmarkMapFirst/2-4 4793410 23.98 ns/op BenchmarkMapFirst/3-4 4851296 23.99 ns/op BenchmarkMapFirst/4-4 4866414 24.49 ns/op BenchmarkMapFirst/5-4 4563303 25.06 ns/op BenchmarkMapFirst/6-4 4700918 25.39 ns/op BenchmarkMapFirst/7-4 4851859 25.01 ns/op BenchmarkMapFirst/8-4 4507400 24.39 ns/op BenchmarkMapFirst/9-4 4184683 28.42 ns/op BenchmarkMapFirst/10-4 4128542 29.09 ns/op BenchmarkMapFirst/11-4 4120765 31.32 ns/op BenchmarkMapFirst/12-4 4146478 30.76 ns/op BenchmarkMapFirst/13-4 4118607 27.81 ns/op BenchmarkMapFirst/14-4 4229972 29.03 ns/op BenchmarkMapFirst/15-4 3994404 28.49 ns/op BenchmarkMapFirst/16-4 4306724 28.46 ns/op BenchmarkMapMid/1-4 3867990 30.32 ns/op BenchmarkMapMid/2-4 3701197 31.38 ns/op BenchmarkMapMid/3-4 3822074 32.00 ns/op BenchmarkMapMid/4-4 3601228 32.62 ns/op BenchmarkMapMid/5-4 3788131 30.99 ns/op BenchmarkMapMid/6-4 3651512 32.01 ns/op BenchmarkMapMid/7-4 3821493 31.88 ns/op BenchmarkMapMid/8-4 3669610 32.46 ns/op BenchmarkMapMid/9-4 3578187 34.84 ns/op BenchmarkMapMid/10-4 3401131 35.49 ns/op BenchmarkMapMid/11-4 3388762 33.82 ns/op BenchmarkMapMid/12-4 3297696 34.65 ns/op BenchmarkMapMid/13-4 3560506 33.71 ns/op BenchmarkMapMid/14-4 3579969 34.42 ns/op BenchmarkMapMid/15-4 3582200 32.85 ns/op BenchmarkMapMid/16-4 3427894 35.24 ns/op BenchmarkMapLast/1-4 3981724 30.13 ns/op BenchmarkMapLast/2-4 3887256 30.90 ns/op BenchmarkMapLast/3-4 3869690 30.46 ns/op BenchmarkMapLast/4-4 3610153 32.75 ns/op BenchmarkMapLast/5-4 3891391 31.16 ns/op BenchmarkMapLast/6-4 3708421 32.71 ns/op BenchmarkMapLast/7-4 3621242 31.86 ns/op BenchmarkMapLast/8-4 3470114 34.63 ns/op BenchmarkMapLast/9-4 3574366 33.43 ns/op BenchmarkMapLast/10-4 3324019 34.05 ns/op BenchmarkMapLast/11-4 3422571 36.51 ns/op BenchmarkMapLast/12-4 3113282 38.44 ns/op BenchmarkMapLast/13-4 3497954 33.98 ns/op BenchmarkMapLast/14-4 3545956 35.25 ns/op BenchmarkMapLast/15-4 3406726 34.30 ns/op BenchmarkMapLast/16-4 3409142 34.97 ns/op BenchmarkMapCycle-4 2008724 59.38 ns/op BenchmarkRepeatedLookupStrMapKey32-4 3556556 34.35 ns/op BenchmarkRepeatedLookupStrMapKey1M-4 2319 50618 ns/op BenchmarkMakeMap/[Byte]Byte-4 547224 189.2 ns/op BenchmarkMakeMap/[Int]Int-4 363542 316.8 ns/op BenchmarkNewEmptyMap-4 12412710 8.579 ns/op 0 B/op 0 allocs/op BenchmarkNewSmallMap-4 1664156 69.64 ns/op 0 B/op 0 allocs/op BenchmarkMapIter-4 481088 240.2 ns/op BenchmarkMapIterEmpty-4 5665176 21.59 ns/op BenchmarkSameLengthMap-4 4751127 25.36 ns/op BenchmarkBigKeyMap-4 1692254 70.54 ns/op BenchmarkBigValMap-4 1514552 79.97 ns/op BenchmarkSmallKeyMap-4 2975083 40.46 ns/op BenchmarkMapPopulate/1-4 2279150 50.98 ns/op 0 B/op 0 allocs/op BenchmarkMapPopulate/10-4 127057 903.7 ns/op 179 B/op 1 allocs/op BenchmarkMapPopulate/100-4 6862 17239 ns/op 6268 B/op 15 allocs/op BenchmarkMapPopulate/1000-4 714 157619 ns/op 51739 B/op 55 allocs/op BenchmarkMapPopulate/10000-4 52 2492191 ns/op 415939 B/op 200 allocs/op BenchmarkMapPopulate/100000-4 3 36558196 ns/op 6529224 B/op 2915 allocs/op BenchmarkComplexAlgMap-4 472983 236.1 ns/op BenchmarkGoMapClear/Reflexive/1-4 666345 163.8 ns/op BenchmarkGoMapClear/Reflexive/10-4 639192 189.8 ns/op BenchmarkGoMapClear/Reflexive/100-4 235543 514.4 ns/op BenchmarkGoMapClear/Reflexive/1000-4 41530 2877 ns/op BenchmarkGoMapClear/Reflexive/10000-4 5410 21959 ns/op BenchmarkGoMapClear/NonReflexive/1-4 549740 217.7 ns/op BenchmarkGoMapClear/NonReflexive/10-4 483994 241.4 ns/op BenchmarkGoMapClear/NonReflexive/100-4 209564 568.8 ns/op BenchmarkGoMapClear/NonReflexive/1000-4 39763 3028 ns/op BenchmarkGoMapClear/NonReflexive/10000-4 5343 22283 ns/op BenchmarkMapStringConversion/32/simple-4 1840683 65.60 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/struct-4 1760046 68.17 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/array-4 1586937 80.87 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/simple-4 1660260 70.18 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/struct-4 1611810 76.22 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/array-4 1379991 86.10 ns/op 0 B/op 0 allocs/op BenchmarkMapInterfaceString-4 1998964 63.66 ns/op BenchmarkMapInterfacePtr-4 1877762 56.98 ns/op BenchmarkNewEmptyMapHintLessThan8-4 4834249 24.79 ns/op 0 B/op 0 allocs/op BenchmarkNewEmptyMapHintGreaterThan8-4 129781 875.8 ns/op 1152 B/op 1 allocs/op BenchmarkMapPop100-4 4942 21892 ns/op BenchmarkMapPop1000-4 364 308892 ns/op BenchmarkMapPop10000-4 18 6072125 ns/op BenchmarkMapAssign/Int32/256-4 2336311 52.20 ns/op BenchmarkMapAssign/Int32/65536-4 1068784 108.8 ns/op BenchmarkMapAssign/Int64/256-4 2298662 51.64 ns/op BenchmarkMapAssign/Int64/65536-4 862779 122.0 ns/op BenchmarkMapAssign/Str/256-4 1875232 62.94 ns/op BenchmarkMapAssign/Str/65536-4 428829 251.3 ns/op BenchmarkMapOperatorAssign/Int32/256-4 1485694 78.27 ns/op BenchmarkMapOperatorAssign/Int32/65536-4 586808 177.4 ns/op BenchmarkMapOperatorAssign/Int64/256-4 1508835 77.00 ns/op BenchmarkMapOperatorAssign/Int64/65536-4 619666 190.1 ns/op BenchmarkMapOperatorAssign/Str/256-4 482762 2278 ns/op BenchmarkMapOperatorAssign/Str/65536-4 169077 637.0 ns/op BenchmarkMapAppendAssign/Int32/256-4 810664 158.3 ns/op 27 B/op 0 allocs/op BenchmarkMapAppendAssign/Int32/65536-4 185055 567.1 ns/op 67 B/op 1 allocs/op BenchmarkMapAppendAssign/Int64/256-4 721700 162.6 ns/op 31 B/op 0 allocs/op BenchmarkMapAppendAssign/Int64/65536-4 162748 671.1 ns/op 79 B/op 1 allocs/op BenchmarkMapAppendAssign/Str/256-4 644638 245.3 ns/op 47 B/op 0 allocs/op BenchmarkMapAppendAssign/Str/65536-4 100017 1085 ns/op 143 B/op 1 allocs/op BenchmarkMapDelete/Int32/100-4 1827764 68.79 ns/op BenchmarkMapDelete/Int32/1000-4 1954730 61.26 ns/op BenchmarkMapDelete/Int32/10000-4 1888990 62.66 ns/op BenchmarkMapDelete/Int64/100-4 1671459 65.67 ns/op BenchmarkMapDelete/Int64/1000-4 1876582 64.05 ns/op BenchmarkMapDelete/Int64/10000-4 1856392 64.62 ns/op BenchmarkMapDelete/Str/100-4 1484598 80.42 ns/op BenchmarkMapDelete/Str/1000-4 1461962 79.23 ns/op BenchmarkMapDelete/Str/10000-4 1409460 87.89 ns/op BenchmarkMapDelete/Pointer/100-4 1447711 81.19 ns/op BenchmarkMapDelete/Pointer/1000-4 1717575 67.08 ns/op BenchmarkMapDelete/Pointer/10000-4 1719232 70.98 ns/op BenchmarkMemmove/0-4 15482490 7.728 ns/op BenchmarkMemmove/1-4 1950904 60.43 ns/op 16.55 MB/s BenchmarkMemmove/2-4 1916665 62.64 ns/op 31.93 MB/s BenchmarkMemmove/3-4 1897339 62.74 ns/op 47.82 MB/s BenchmarkMemmove/4-4 1930738 61.99 ns/op 64.53 MB/s BenchmarkMemmove/5-4 1923156 62.38 ns/op 80.16 MB/s BenchmarkMemmove/6-4 1880437 62.85 ns/op 95.47 MB/s BenchmarkMemmove/7-4 1898060 63.23 ns/op 110.70 MB/s BenchmarkMemmove/8-4 1940548 62.46 ns/op 128.08 MB/s BenchmarkMemmove/9-4 1845690 64.57 ns/op 139.38 MB/s BenchmarkMemmove/10-4 1864334 64.69 ns/op 154.59 MB/s BenchmarkMemmove/11-4 1854031 64.69 ns/op 170.05 MB/s BenchmarkMemmove/12-4 1862840 64.00 ns/op 187.49 MB/s BenchmarkMemmove/13-4 1871046 64.23 ns/op 202.40 MB/s BenchmarkMemmove/14-4 1822771 65.67 ns/op 213.20 MB/s BenchmarkMemmove/15-4 1869358 64.46 ns/op 232.71 MB/s BenchmarkMemmove/16-4 1919612 63.18 ns/op 253.24 MB/s BenchmarkMemmove/32-4 1806154 64.74 ns/op 494.25 MB/s BenchmarkMemmove/64-4 1683697 70.72 ns/op 904.98 MB/s BenchmarkMemmove/128-4 1402898 84.96 ns/op 1506.56 MB/s BenchmarkMemmove/256-4 881234 131.7 ns/op 1944.38 MB/s BenchmarkMemmove/512-4 645560 186.2 ns/op 2749.76 MB/s BenchmarkMemmove/1024-4 412903 285.6 ns/op 3585.43 MB/s BenchmarkMemmove/2048-4 239880 495.5 ns/op 4133.29 MB/s BenchmarkMemmove/4096-4 127795 913.3 ns/op 4484.90 MB/s BenchmarkMemmoveOverlap/32-4 1804939 65.79 ns/op 486.43 MB/s BenchmarkMemmoveOverlap/64-4 1653428 72.23 ns/op 886.12 MB/s BenchmarkMemmoveOverlap/128-4 1367421 87.42 ns/op 1464.20 MB/s BenchmarkMemmoveOverlap/256-4 904708 131.9 ns/op 1940.92 MB/s BenchmarkMemmoveOverlap/512-4 606632 182.2 ns/op 2810.03 MB/s BenchmarkMemmoveOverlap/1024-4 423003 284.5 ns/op 3599.78 MB/s BenchmarkMemmoveOverlap/2048-4 242066 491.2 ns/op 4169.55 MB/s BenchmarkMemmoveOverlap/4096-4 130987 907.0 ns/op 4516.18 MB/s BenchmarkMemmoveUnalignedDst/0-4 15852158 7.573 ns/op BenchmarkMemmoveUnalignedDst/1-4 1968072 60.34 ns/op 16.57 MB/s BenchmarkMemmoveUnalignedDst/2-4 1900158 62.63 ns/op 31.93 MB/s BenchmarkMemmoveUnalignedDst/3-4 1913689 63.43 ns/op 47.30 MB/s BenchmarkMemmoveUnalignedDst/4-4 1910062 63.75 ns/op 62.75 MB/s BenchmarkMemmoveUnalignedDst/5-4 1869978 65.12 ns/op 76.78 MB/s BenchmarkMemmoveUnalignedDst/6-4 1869824 64.70 ns/op 92.74 MB/s BenchmarkMemmoveUnalignedDst/7-4 1837909 65.36 ns/op 107.09 MB/s BenchmarkMemmoveUnalignedDst/8-4 1906336 63.07 ns/op 126.84 MB/s BenchmarkMemmoveUnalignedDst/9-4 1857283 64.74 ns/op 139.01 MB/s BenchmarkMemmoveUnalignedDst/10-4 1834312 64.70 ns/op 154.55 MB/s BenchmarkMemmoveUnalignedDst/11-4 1793070 65.21 ns/op 168.69 MB/s BenchmarkMemmoveUnalignedDst/12-4 1869471 64.30 ns/op 186.64 MB/s BenchmarkMemmoveUnalignedDst/13-4 1810605 65.94 ns/op 197.15 MB/s BenchmarkMemmoveUnalignedDst/14-4 1845966 64.29 ns/op 217.75 MB/s BenchmarkMemmoveUnalignedDst/15-4 1847737 64.38 ns/op 232.98 MB/s BenchmarkMemmoveUnalignedDst/16-4 1871194 64.29 ns/op 248.88 MB/s BenchmarkMemmoveUnalignedDst/32-4 1778019 68.17 ns/op 469.42 MB/s BenchmarkMemmoveUnalignedDst/64-4 1602069 76.36 ns/op 838.15 MB/s BenchmarkMemmoveUnalignedDst/128-4 1356676 90.29 ns/op 1417.65 MB/s BenchmarkMemmoveUnalignedDst/256-4 868831 138.2 ns/op 1852.31 MB/s BenchmarkMemmoveUnalignedDst/512-4 620062 189.4 ns/op 2703.82 MB/s BenchmarkMemmoveUnalignedDst/1024-4 387987 303.8 ns/op 3370.46 MB/s BenchmarkMemmoveUnalignedDst/2048-4 239970 496.3 ns/op 4126.52 MB/s BenchmarkMemmoveUnalignedDst/4096-4 127564 943.8 ns/op 4339.71 MB/s BenchmarkMemmoveUnalignedDstOverlap/32-4 1707417 68.94 ns/op 464.19 MB/s BenchmarkMemmoveUnalignedDstOverlap/64-4 1592155 76.50 ns/op 836.60 MB/s BenchmarkMemmoveUnalignedDstOverlap/128-4 1263079 92.51 ns/op 1383.65 MB/s BenchmarkMemmoveUnalignedDstOverlap/256-4 865478 136.4 ns/op 1877.11 MB/s BenchmarkMemmoveUnalignedDstOverlap/512-4 637366 186.9 ns/op 2739.03 MB/s BenchmarkMemmoveUnalignedDstOverlap/1024-4 414656 291.7 ns/op 3510.64 MB/s BenchmarkMemmoveUnalignedDstOverlap/2048-4 238050 500.1 ns/op 4094.82 MB/s BenchmarkMemmoveUnalignedDstOverlap/4096-4 131103 925.5 ns/op 4425.90 MB/s BenchmarkMemmoveUnalignedSrc/0-4 15499936 7.733 ns/op BenchmarkMemmoveUnalignedSrc/1-4 1935853 61.69 ns/op 16.21 MB/s BenchmarkMemmoveUnalignedSrc/2-4 1915938 64.93 ns/op 30.80 MB/s BenchmarkMemmoveUnalignedSrc/3-4 1911102 64.34 ns/op 46.63 MB/s BenchmarkMemmoveUnalignedSrc/4-4 1867414 64.56 ns/op 61.96 MB/s BenchmarkMemmoveUnalignedSrc/5-4 1867498 63.86 ns/op 78.29 MB/s BenchmarkMemmoveUnalignedSrc/6-4 1873765 64.84 ns/op 92.54 MB/s BenchmarkMemmoveUnalignedSrc/7-4 1874908 65.12 ns/op 107.50 MB/s BenchmarkMemmoveUnalignedSrc/8-4 1905854 62.06 ns/op 128.91 MB/s BenchmarkMemmoveUnalignedSrc/9-4 1854336 65.57 ns/op 137.26 MB/s BenchmarkMemmoveUnalignedSrc/10-4 1829083 65.18 ns/op 153.43 MB/s BenchmarkMemmoveUnalignedSrc/11-4 1838905 65.49 ns/op 167.95 MB/s BenchmarkMemmoveUnalignedSrc/12-4 1855262 65.69 ns/op 182.68 MB/s BenchmarkMemmoveUnalignedSrc/13-4 1856977 65.17 ns/op 199.49 MB/s BenchmarkMemmoveUnalignedSrc/14-4 1834191 65.34 ns/op 214.26 MB/s BenchmarkMemmoveUnalignedSrc/15-4 1858782 65.52 ns/op 228.93 MB/s BenchmarkMemmoveUnalignedSrc/16-4 1818627 67.20 ns/op 238.08 MB/s BenchmarkMemmoveUnalignedSrc/32-4 1738375 70.12 ns/op 456.38 MB/s BenchmarkMemmoveUnalignedSrc/64-4 1614162 75.15 ns/op 851.59 MB/s BenchmarkMemmoveUnalignedSrc/128-4 1357191 88.43 ns/op 1447.41 MB/s BenchmarkMemmoveUnalignedSrc/256-4 870336 136.5 ns/op 1875.42 MB/s BenchmarkMemmoveUnalignedSrc/512-4 622536 187.4 ns/op 2732.51 MB/s BenchmarkMemmoveUnalignedSrc/1024-4 413377 289.2 ns/op 3540.28 MB/s BenchmarkMemmoveUnalignedSrc/2048-4 239265 502.4 ns/op 4076.05 MB/s BenchmarkMemmoveUnalignedSrc/4096-4 128348 936.1 ns/op 4375.83 MB/s BenchmarkMemmoveUnalignedSrcOverlap/32-4 1747467 67.65 ns/op 472.99 MB/s BenchmarkMemmoveUnalignedSrcOverlap/64-4 1575896 75.63 ns/op 846.21 MB/s BenchmarkMemmoveUnalignedSrcOverlap/128-4 1332324 89.49 ns/op 1430.36 MB/s BenchmarkMemmoveUnalignedSrcOverlap/256-4 879350 134.4 ns/op 1905.07 MB/s BenchmarkMemmoveUnalignedSrcOverlap/512-4 577514 184.8 ns/op 2770.71 MB/s BenchmarkMemmoveUnalignedSrcOverlap/1024-4 414686 288.5 ns/op 3549.29 MB/s BenchmarkMemmoveUnalignedSrcOverlap/2048-4 242750 498.8 ns/op 4106.15 MB/s BenchmarkMemmoveUnalignedSrcOverlap/4096-4 130704 914.1 ns/op 4481.05 MB/s BenchmarkMemclr/5-4 11718856 9.964 ns/op 501.82 MB/s BenchmarkMemclr/16-4 12020238 9.916 ns/op 1613.57 MB/s BenchmarkMemclr/64-4 11308753 10.55 ns/op 6068.19 MB/s BenchmarkMemclr/256-4 9924777 11.79 ns/op 21704.67 MB/s BenchmarkMemclr/4096-4 2413874 49.94 ns/op 82026.32 MB/s BenchmarkMemclr/65536-4 61735 1807 ns/op 36261.50 MB/s BenchmarkMemclr/1M-4 2736 38518 ns/op 27223.21 MB/s BenchmarkMemclr/4M-4 662 168404 ns/op 24906.17 MB/s BenchmarkMemclr/8M-4 319 373032 ns/op 22487.61 MB/s BenchmarkMemclr/16M-4 69 1556034 ns/op 10782.04 MB/s BenchmarkMemclr/64M-4 12 9851438 ns/op 6812.09 MB/s BenchmarkMemclrUnaligned/0_5-4 7138714 17.03 ns/op 293.60 MB/s BenchmarkMemclrUnaligned/0_16-4 7063068 17.07 ns/op 937.46 MB/s BenchmarkMemclrUnaligned/0_64-4 6744380 17.68 ns/op 3620.38 MB/s BenchmarkMemclrUnaligned/0_256-4 6139730 19.57 ns/op 13079.80 MB/s BenchmarkMemclrUnaligned/0_4096-4 2104887 56.95 ns/op 71918.30 MB/s BenchmarkMemclrUnaligned/0_65536-4 54951 2023 ns/op 32391.26 MB/s BenchmarkMemclrUnaligned/1_5-4 7073271 16.81 ns/op 297.44 MB/s BenchmarkMemclrUnaligned/1_16-4 7033864 17.05 ns/op 938.19 MB/s BenchmarkMemclrUnaligned/1_64-4 6626264 17.92 ns/op 3571.74 MB/s BenchmarkMemclrUnaligned/1_256-4 6102633 19.32 ns/op 13251.14 MB/s BenchmarkMemclrUnaligned/1_4096-4 1280140 92.59 ns/op 44238.98 MB/s BenchmarkMemclrUnaligned/1_65536-4 48616 2076 ns/op 31571.87 MB/s BenchmarkMemclrUnaligned/4_5-4 7091146 16.82 ns/op 297.21 MB/s BenchmarkMemclrUnaligned/4_16-4 6969045 17.11 ns/op 935.04 MB/s BenchmarkMemclrUnaligned/4_64-4 6668845 17.53 ns/op 3651.35 MB/s BenchmarkMemclrUnaligned/4_256-4 6246304 19.55 ns/op 13091.77 MB/s BenchmarkMemclrUnaligned/4_4096-4 1346500 89.06 ns/op 45988.94 MB/s BenchmarkMemclrUnaligned/4_65536-4 60447 2018 ns/op 32468.41 MB/s BenchmarkMemclrUnaligned/7_5-4 7130197 16.66 ns/op 300.18 MB/s BenchmarkMemclrUnaligned/7_16-4 7019022 16.93 ns/op 945.11 MB/s BenchmarkMemclrUnaligned/7_64-4 6743571 17.55 ns/op 3647.23 MB/s BenchmarkMemclrUnaligned/7_256-4 6227541 19.25 ns/op 13297.66 MB/s BenchmarkMemclrUnaligned/7_4096-4 1284915 92.98 ns/op 44051.71 MB/s BenchmarkMemclrUnaligned/7_65536-4 58524 1952 ns/op 33572.05 MB/s BenchmarkMemclrUnaligned/0_1M-4 2773 40748 ns/op 25733.11 MB/s BenchmarkMemclrUnaligned/0_4M-4 694 170807 ns/op 24555.83 MB/s BenchmarkMemclrUnaligned/0_8M-4 304 385689 ns/op 21749.70 MB/s BenchmarkMemclrUnaligned/0_16M-4 67 1711912 ns/op 9800.28 MB/s BenchmarkMemclrUnaligned/0_64M-4 12 9687884 ns/op 6927.09 MB/s BenchmarkMemclrUnaligned/1_1M-4 2746 39985 ns/op 26224.11 MB/s BenchmarkMemclrUnaligned/1_4M-4 662 171556 ns/op 24448.56 MB/s BenchmarkMemclrUnaligned/1_8M-4 243 478504 ns/op 17530.90 MB/s BenchmarkMemclrUnaligned/1_16M-4 45 2237614 ns/op 7497.82 MB/s BenchmarkMemclrUnaligned/1_64M-4 12 9698744 ns/op 6919.34 MB/s BenchmarkMemclrUnaligned/4_1M-4 2668 40440 ns/op 25929.29 MB/s BenchmarkMemclrUnaligned/4_4M-4 684 171352 ns/op 24477.73 MB/s BenchmarkMemclrUnaligned/4_8M-4 253 463303 ns/op 18106.10 MB/s BenchmarkMemclrUnaligned/4_16M-4 45 2280797 ns/op 7355.86 MB/s BenchmarkMemclrUnaligned/4_64M-4 12 9768316 ns/op 6870.05 MB/s BenchmarkMemclrUnaligned/7_1M-4 2715 40495 ns/op 25893.72 MB/s BenchmarkMemclrUnaligned/7_4M-4 663 170890 ns/op 24543.86 MB/s BenchmarkMemclrUnaligned/7_8M-4 238 508180 ns/op 16507.17 MB/s BenchmarkMemclrUnaligned/7_16M-4 68 1943113 ns/op 8634.19 MB/s BenchmarkMemclrUnaligned/7_64M-4 12 9562795 ns/op 7017.70 MB/s BenchmarkGoMemclr/5-4 2205907 54.36 ns/op 91.98 MB/s BenchmarkGoMemclr/16-4 520622 226.0 ns/op 70.79 MB/s BenchmarkGoMemclr/64-4 140068 852.6 ns/op 75.06 MB/s BenchmarkGoMemclr/256-4 35653 3341 ns/op 76.63 MB/s BenchmarkMemclrRange/1K_2K-4 69874 1758 ns/op 54528.36 MB/s BenchmarkMemclrRange/2K_8K-4 30372 3910 ns/op 85290.79 MB/s BenchmarkMemclrRange/4K_16K-4 42715 2825 ns/op 114375.29 MB/s BenchmarkMemclrRange/160K_228K-4 1785 56788 ns/op 29281.97 MB/s BenchmarkClearFat7-4 6072164 19.83 ns/op BenchmarkClearFat8-4 7045718 16.86 ns/op BenchmarkClearFat11-4 6186922 19.91 ns/op BenchmarkClearFat12-4 6095890 18.74 ns/op BenchmarkClearFat13-4 6169964 19.54 ns/op BenchmarkClearFat14-4 6104367 19.58 ns/op BenchmarkClearFat15-4 6068409 19.79 ns/op BenchmarkClearFat16-4 6577322 18.18 ns/op BenchmarkClearFat24-4 6238740 19.28 ns/op BenchmarkClearFat32-4 6110954 19.74 ns/op BenchmarkClearFat40-4 5483206 21.57 ns/op BenchmarkClearFat48-4 5923594 20.14 ns/op BenchmarkClearFat56-4 5699556 21.10 ns/op BenchmarkClearFat64-4 5382304 22.09 ns/op BenchmarkClearFat72-4 5228535 22.86 ns/op BenchmarkClearFat128-4 3745177 32.28 ns/op BenchmarkClearFat256-4 2163006 54.86 ns/op BenchmarkClearFat512-4 1464100 80.60 ns/op BenchmarkClearFat1024-4 872572 137.0 ns/op BenchmarkClearFat1032-4 805394 145.0 ns/op BenchmarkClearFat1040-4 827649 143.1 ns/op BenchmarkCopyFat7-4 6248338 19.14 ns/op BenchmarkCopyFat8-4 6778557 17.36 ns/op BenchmarkCopyFat11-4 6152400 20.05 ns/op BenchmarkCopyFat12-4 6187760 21.06 ns/op BenchmarkCopyFat13-4 6048543 19.27 ns/op BenchmarkCopyFat14-4 6220858 19.49 ns/op BenchmarkCopyFat15-4 6011224 21.26 ns/op BenchmarkCopyFat16-4 6371355 18.64 ns/op BenchmarkCopyFat24-4 6287955 18.72 ns/op BenchmarkCopyFat32-4 6220687 19.02 ns/op BenchmarkCopyFat64-4 5333629 22.41 ns/op BenchmarkCopyFat72-4 5135997 22.97 ns/op BenchmarkCopyFat128-4 3716205 32.75 ns/op BenchmarkCopyFat256-4 2111604 57.35 ns/op BenchmarkCopyFat512-4 1384729 86.29 ns/op BenchmarkCopyFat520-4 1375786 87.77 ns/op BenchmarkCopyFat1024-4 812689 145.6 ns/op BenchmarkCopyFat1032-4 802593 150.1 ns/op BenchmarkCopyFat1040-4 769238 150.1 ns/op BenchmarkIssue18740/2byte-4 441 276910 ns/op BenchmarkIssue18740/4byte-4 716 165271 ns/op BenchmarkIssue18740/8byte-4 1011 117114 ns/op BenchmarkMemclrKnownSize1-4 8970853 13.40 ns/op 74.61 MB/s BenchmarkMemclrKnownSize2-4 5664393 20.12 ns/op 99.43 MB/s BenchmarkMemclrKnownSize4-4 3556592 33.66 ns/op 118.85 MB/s BenchmarkMemclrKnownSize8-4 1000000 113.7 ns/op 70.36 MB/s BenchmarkMemclrKnownSize16-4 525674 227.4 ns/op 70.35 MB/s BenchmarkMemclrKnownSize32-4 275348 432.2 ns/op 74.04 MB/s BenchmarkMemclrKnownSize64-4 146486 824.1 ns/op 77.66 MB/s BenchmarkMemclrKnownSize112-4 81165 1476 ns/op 75.86 MB/s BenchmarkMemclrKnownSize128-4 73477 1632 ns/op 78.42 MB/s BenchmarkMemclrKnownSize192-4 48187 2467 ns/op 77.84 MB/s BenchmarkMemclrKnownSize248-4 37375 3268 ns/op 75.88 MB/s BenchmarkMemclrKnownSize256-4 36163 3344 ns/op 76.55 MB/s BenchmarkMemclrKnownSize512-4 18187 6582 ns/op 77.79 MB/s BenchmarkMemclrKnownSize1024-4 8764 13342 ns/op 76.75 MB/s BenchmarkMemclrKnownSize4096-4 2218 53195 ns/op 77.00 MB/s BenchmarkMemclrKnownSize512KiB-4 16 6981490 ns/op 75.10 MB/s BenchmarkReadMetricsLatency-4 18394 4936 p50-ns 7495 p90-ns 16651 p99-ns BenchmarkFinalizer-4 182 670867 ns/op BenchmarkFinalizerRun-4 194774 859.5 ns/op BenchmarkPallocBitsSummarize/Unpacked00-4 7522406 15.34 ns/op BenchmarkPallocBitsSummarize/UnpackedFFFFFFFFFFFFFFFF-4 3057470 37.96 ns/op BenchmarkPallocBitsSummarize/UnpackedAA-4 2449815 48.67 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAAAAAAAAAA-4 2405641 48.76 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000AAAAAAAA-4 1296254 91.44 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAA00000001-4 1000000 102.3 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBBBBBBBBBB-4 2246775 52.22 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000BBBBBBBB-4 1267382 93.52 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBB00000001-4 1321344 90.04 ns/op BenchmarkPallocBitsSummarize/UnpackedCCCCCCCCCCCCCCCC-4 1821025 65.30 ns/op BenchmarkPallocBitsSummarize/Unpacked4444444444444444-4 1825767 65.60 ns/op BenchmarkPallocBitsSummarize/Unpacked4040404040404040-4 1695117 70.35 ns/op BenchmarkPallocBitsSummarize/Unpacked4000400040004000-4 1453664 81.62 ns/op BenchmarkPallocBitsSummarize/Unpacked1000404044CCAAFF-4 1340613 88.40 ns/op BenchmarkFindBitRange64/Pattern00Size2-4 6141242 19.51 ns/op BenchmarkFindBitRange64/Pattern00Size8-4 6577071 18.34 ns/op BenchmarkFindBitRange64/Pattern00Size32-4 6513361 18.28 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize2-4 6529206 18.26 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize8-4 5820492 20.51 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize32-4 5219110 23.07 ns/op BenchmarkFindBitRange64/PatternAASize2-4 6436818 18.31 ns/op BenchmarkFindBitRange64/PatternAASize8-4 6466132 18.36 ns/op BenchmarkFindBitRange64/PatternAASize32-4 6407281 18.31 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize2-4 6539419 18.22 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize8-4 6586911 18.19 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize32-4 6537819 18.24 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize2-4 6580021 18.22 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize8-4 6537950 18.25 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize32-4 6553406 18.38 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size2-4 6599043 18.48 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size8-4 6516135 18.27 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size32-4 6538318 18.29 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize2-4 6579451 18.42 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize8-4 6084788 19.50 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize32-4 6177610 19.67 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize2-4 6515078 18.16 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize8-4 6155416 19.50 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize32-4 6125970 19.59 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size2-4 6465590 18.22 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size8-4 6181095 19.61 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size32-4 6099570 19.48 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize2-4 6599542 18.21 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize8-4 6132072 19.36 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize32-4 6070939 19.53 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size2-4 6568932 18.24 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size8-4 6442932 18.33 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size32-4 6527397 18.32 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size2-4 6549315 18.39 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size8-4 6545847 18.33 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size32-4 6513078 18.32 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size2-4 6545248 18.21 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size8-4 6581168 18.46 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size32-4 6419632 18.30 ns/op BenchmarkNetpollBreak-4 4059 28108 ns/op BenchmarkPinnerPinUnpinBatch-4 925 109182 ns/op BenchmarkPinnerPinUnpinBatchDouble-4 225 541210 ns/op BenchmarkPinnerPinUnpinBatchTiny-4 1137 116653 ns/op BenchmarkPinnerPinUnpin-4 1000000 104.2 ns/op BenchmarkPinnerPinUnpinTiny-4 1000000 113.1 ns/op BenchmarkPinnerPinUnpinDouble-4 442245 270.6 ns/op BenchmarkPinnerPinUnpinParallel-4 3609834 33.07 ns/op BenchmarkPinnerPinUnpinParallelTiny-4 3661371 36.00 ns/op BenchmarkPinnerPinUnpinParallelDouble-4 216364 564.9 ns/op BenchmarkPinnerIsPinnedOnPinned-4 5446594 20.50 ns/op BenchmarkPinnerIsPinnedOnUnpinned-4 5611291 19.92 ns/op BenchmarkPinnerIsPinnedOnPinnedParallel-4 7601754 13.51 ns/op BenchmarkPinnerIsPinnedOnUnpinnedParallel-4 7667647 13.16 ns/op BenchmarkPingPongHog-4 298 337141 ns/op BenchmarkStackGrowth-4 133316 873.1 ns/op BenchmarkStackGrowthDeep-4 976 103386 ns/op BenchmarkCreateGoroutines-4 57031 2289 ns/op BenchmarkCreateGoroutinesParallel-4 45304 2533 ns/op BenchmarkCreateGoroutinesCapture-4 9597 12648 ns/op 144 B/op 5 allocs/op BenchmarkCreateGoroutinesSingle-4 40846 2892 ns/op BenchmarkClosureCall-4 18691672 6.452 ns/op BenchmarkWakeupParallelSpinning/0s-4 9403 19579 ns/op BenchmarkWakeupParallelSpinning/1µs-4 6882 23394 ns/op BenchmarkWakeupParallelSpinning/2µs-4 5642 23371 ns/op BenchmarkWakeupParallelSpinning/5µs-4 3372 36760 ns/op BenchmarkWakeupParallelSpinning/10µs-4 2114 57214 ns/op BenchmarkWakeupParallelSpinning/20µs-4 1274 94391 ns/op BenchmarkWakeupParallelSpinning/50µs-4 619 193216 ns/op BenchmarkWakeupParallelSpinning/100µs-4 404 320269 ns/op BenchmarkWakeupParallelSyscall/0s-4 759 155030 ns/op BenchmarkWakeupParallelSyscall/1µs-4 747 155931 ns/op BenchmarkWakeupParallelSyscall/2µs-4 740 159572 ns/op BenchmarkWakeupParallelSyscall/5µs-4 727 166778 ns/op BenchmarkWakeupParallelSyscall/10µs-4 705 177057 ns/op BenchmarkWakeupParallelSyscall/20µs-4 588 203076 ns/op BenchmarkWakeupParallelSyscall/50µs-4 456 267459 ns/op BenchmarkWakeupParallelSyscall/100µs-4 313 375506 ns/op BenchmarkMatmult-4 4054611 34.28 ns/op BenchmarkFastrand-4 9499478 10.62 ns/op BenchmarkFastrand64-4 12254544 8.864 ns/op BenchmarkFastrandHashiter-4 4419411 25.41 ns/op BenchmarkFastrandn/2-4 6005482 19.84 ns/op BenchmarkFastrandn/3-4 6080947 19.73 ns/op BenchmarkFastrandn/4-4 6245797 19.30 ns/op BenchmarkFastrandn/5-4 6194580 19.36 ns/op BenchmarkIfaceCmp100-4 104235 1147 ns/op BenchmarkIfaceCmpNil100-4 143617 829.9 ns/op BenchmarkEfaceCmpDiff-4 39192 3011 ns/op BenchmarkEfaceCmpDiffIndirect-4 30424 3965 ns/op BenchmarkDefer-4 1644445 72.19 ns/op BenchmarkDefer10-4 780715 151.7 ns/op BenchmarkDeferMany-4 474879 431.6 ns/op BenchmarkPanicRecover-4 183926 649.3 ns/op BenchmarkGoroutineProfile/small-nil/idle-4 8212 15515 ns/op 14657 p50-ns 19430 p90-ns 30298 p99-ns BenchmarkGoroutineProfile/small-nil/loaded-4 7309 19584 ns/op 15320 p50-ns 20696 p90-ns 96968 p99-ns BenchmarkGoroutineProfile/small/idle-4 3129 38953 ns/op 37071 p50-ns 41643 p90-ns 57029 p99-ns BenchmarkGoroutineProfile/small/loaded-4 520 375126 ns/op 136080 p50-ns 331466 p90-ns 8169356 p99-ns BenchmarkGoroutineProfile/large-nil/idle-4 8096 16017 ns/op 14727 p50-ns 19998 p90-ns 34775 p99-ns BenchmarkGoroutineProfile/large-nil/loaded-4 7426 21457 ns/op 15042 p50-ns 22441 p90-ns 178016 p99-ns BenchmarkGoroutineProfile/large/idle-4 13 8284291 ns/op 8217569 p50-ns 8485101 p90-ns 8854945 p99-ns BenchmarkGoroutineProfile/large/loaded-4 12 12673164 ns/op 9533934 p50-ns 18264920 p90-ns 23000295 p99-ns BenchmarkGoroutineProfile/sparse-nil/idle-4 7656 15582 ns/op 14522 p50-ns 18986 p90-ns 33461 p99-ns BenchmarkGoroutineProfile/sparse-nil/loaded-4 5715 22310 ns/op 15121 p50-ns 22922 p90-ns 187693 p99-ns BenchmarkGoroutineProfile/sparse/idle-4 861 131511 ns/op 122327 p50-ns 150261 p90-ns 249588 p99-ns BenchmarkGoroutineProfile/sparse/loaded-4 313 547751 ns/op 273132 p50-ns 353241 p90-ns 10652088 p99-ns BenchmarkRWMutexUncontended-4 2946894 38.91 ns/op BenchmarkRWMutexWrite100-4 633888 200.2 ns/op BenchmarkRWMutexWrite10-4 104209 1357 ns/op BenchmarkRWMutexWorkWrite100-4 445110 252.6 ns/op BenchmarkRWMutexWorkWrite10-4 100941 1422 ns/op BenchmarkSemTable/OneAddrCollision/n=1000-4 1771 65879 ns/op BenchmarkSemTable/ManyAddrCollision/n=1000-4 866 135172 ns/op BenchmarkSemTable/OneAddrCollision/n=2000-4 919 124191 ns/op BenchmarkSemTable/ManyAddrCollision/n=2000-4 412 290101 ns/op BenchmarkSemTable/OneAddrCollision/n=4000-4 470 251782 ns/op BenchmarkSemTable/ManyAddrCollision/n=4000-4 189 588808 ns/op BenchmarkSemTable/OneAddrCollision/n=8000-4 235 521744 ns/op BenchmarkSemTable/ManyAddrCollision/n=8000-4 94 1272317 ns/op BenchmarkMakeSliceCopy/mallocmove/Byte-4 283435 370.6 ns/op BenchmarkMakeSliceCopy/mallocmove/Int-4 273643 400.3 ns/op BenchmarkMakeSliceCopy/mallocmove/Ptr-4 285322 404.5 ns/op BenchmarkMakeSliceCopy/makecopy/Byte-4 326697 393.1 ns/op BenchmarkMakeSliceCopy/makecopy/Int-4 314146 383.3 ns/op BenchmarkMakeSliceCopy/makecopy/Ptr-4 295586 435.5 ns/op BenchmarkMakeSliceCopy/nilappend/Byte-4 303883 391.8 ns/op BenchmarkMakeSliceCopy/nilappend/Int-4 298248 392.8 ns/op BenchmarkMakeSliceCopy/nilappend/Ptr-4 265080 453.3 ns/op BenchmarkMakeSlice/Byte-4 1759707 57.37 ns/op BenchmarkMakeSlice/Int16-4 2116392 55.92 ns/op BenchmarkMakeSlice/Int-4 1743265 70.49 ns/op BenchmarkMakeSlice/Ptr-4 1223979 94.36 ns/op BenchmarkMakeSlice/Struct/24-4 1000000 116.1 ns/op BenchmarkMakeSlice/Struct/32-4 777253 133.0 ns/op BenchmarkMakeSlice/Struct/40-4 886509 149.8 ns/op BenchmarkGrowSlice/Byte-4 887216 146.4 ns/op BenchmarkGrowSlice/Int16-4 753136 162.5 ns/op BenchmarkGrowSlice/Int-4 599983 198.2 ns/op BenchmarkGrowSlice/Ptr-4 487590 252.2 ns/op BenchmarkGrowSlice/Struct/24-4 302926 351.6 ns/op BenchmarkGrowSlice/Struct/32-4 279039 399.4 ns/op BenchmarkGrowSlice/Struct/40-4 243951 469.1 ns/op BenchmarkExtendSlice/IntSlice-4 484120 227.9 ns/op BenchmarkExtendSlice/PointerSlice-4 413076 302.7 ns/op BenchmarkExtendSlice/NoGrow-4 985392 136.2 ns/op BenchmarkAppend-4 755428 150.7 ns/op BenchmarkAppendGrowByte-4 4 32300047 ns/op BenchmarkAppendGrowString-4 1 402491665 ns/op BenchmarkAppendSlice/1Bytes-4 1895119 60.38 ns/op BenchmarkAppendSlice/4Bytes-4 1832690 63.03 ns/op BenchmarkAppendSlice/7Bytes-4 1814514 63.80 ns/op BenchmarkAppendSlice/8Bytes-4 1883584 63.96 ns/op BenchmarkAppendSlice/15Bytes-4 1767378 65.42 ns/op BenchmarkAppendSlice/16Bytes-4 1791718 65.25 ns/op BenchmarkAppendSlice/32Bytes-4 1799305 64.93 ns/op BenchmarkAppendSliceLarge/1024Bytes-4 88014 1271 ns/op BenchmarkAppendSliceLarge/4096Bytes-4 26878 4277 ns/op BenchmarkAppendSliceLarge/16384Bytes-4 10000 17745 ns/op BenchmarkAppendSliceLarge/65536Bytes-4 1731 66843 ns/op BenchmarkAppendSliceLarge/262144Bytes-4 98 1271351 ns/op BenchmarkAppendSliceLarge/1048576Bytes-4 22 5663243 ns/op BenchmarkAppendStr/1Bytes-4 1450009 81.71 ns/op BenchmarkAppendStr/4Bytes-4 1465514 78.84 ns/op BenchmarkAppendStr/8Bytes-4 1460340 80.91 ns/op BenchmarkAppendStr/16Bytes-4 1434790 82.91 ns/op BenchmarkAppendStr/32Bytes-4 1445877 81.46 ns/op BenchmarkAppendSpecialCase-4 758464 158.9 ns/op BenchmarkCopy/1Byte-4 2030835 61.65 ns/op 16.22 MB/s BenchmarkCopy/1String-4 2011800 59.45 ns/op 16.82 MB/s BenchmarkCopy/2Byte-4 1919181 62.01 ns/op 32.25 MB/s BenchmarkCopy/2String-4 1963222 60.86 ns/op 32.86 MB/s BenchmarkCopy/4Byte-4 1916640 61.02 ns/op 65.55 MB/s BenchmarkCopy/4String-4 1892644 62.95 ns/op 63.54 MB/s BenchmarkCopy/8Byte-4 1949311 61.18 ns/op 130.76 MB/s BenchmarkCopy/8String-4 1975670 60.61 ns/op 131.99 MB/s BenchmarkCopy/12Byte-4 1833522 65.03 ns/op 184.53 MB/s BenchmarkCopy/12String-4 1802684 63.33 ns/op 189.49 MB/s BenchmarkCopy/16Byte-4 1957087 63.42 ns/op 252.30 MB/s BenchmarkCopy/16String-4 1883101 63.22 ns/op 253.09 MB/s BenchmarkCopy/32Byte-4 1829434 65.93 ns/op 485.39 MB/s BenchmarkCopy/32String-4 1828586 66.34 ns/op 482.39 MB/s BenchmarkCopy/128Byte-4 1373016 89.15 ns/op 1435.71 MB/s BenchmarkCopy/128String-4 1000000 101.4 ns/op 1261.92 MB/s BenchmarkCopy/1024Byte-4 415903 286.9 ns/op 3568.68 MB/s BenchmarkCopy/1024String-4 354609 339.7 ns/op 3014.00 MB/s BenchmarkAppendInPlace/NoGrow/Byte-4 28189 4090 ns/op BenchmarkAppendInPlace/NoGrow/1Ptr-4 19969 5999 ns/op BenchmarkAppendInPlace/NoGrow/2Ptr-4 12998 9554 ns/op BenchmarkAppendInPlace/NoGrow/3Ptr-4 10000 12518 ns/op BenchmarkAppendInPlace/NoGrow/4Ptr-4 8343 15045 ns/op BenchmarkAppendInPlace/Grow/Byte-4 136454 857.8 ns/op BenchmarkAppendInPlace/Grow/1Ptr-4 132589 878.6 ns/op BenchmarkAppendInPlace/Grow/2Ptr-4 99085 1021 ns/op BenchmarkAppendInPlace/Grow/3Ptr-4 86661 1299 ns/op BenchmarkAppendInPlace/Grow/4Ptr-4 79153 1380 ns/op BenchmarkStackCopyPtr-4 1 170062181 ns/op BenchmarkStackCopy-4 1 114489590 ns/op BenchmarkStackCopyNoCache-4 20 5516098 ns/op BenchmarkStackCopyWithStkobj-4 1 115273724 ns/op BenchmarkIssue18138-4 620 192067 ns/op BenchmarkCompareStringEqual-4 11185770 10.60 ns/op BenchmarkCompareStringIdentical-4 15959901 7.634 ns/op BenchmarkCompareStringSameLength-4 13180140 9.086 ns/op BenchmarkCompareStringDifferentLength-4 18588658 6.419 ns/op BenchmarkCompareStringBigUnaligned-4 1086 105452 ns/op 9943.75 MB/s BenchmarkCompareStringBig-4 1302 102431 ns/op 10236.99 MB/s BenchmarkConcatStringAndBytes-4 2199043 55.46 ns/op BenchmarkSliceByteToString/1-4 2212674 54.23 ns/op BenchmarkSliceByteToString/2-4 1000000 110.1 ns/op BenchmarkSliceByteToString/4-4 1000000 109.0 ns/op BenchmarkSliceByteToString/8-4 1000000 104.8 ns/op BenchmarkSliceByteToString/16-4 1000000 109.6 ns/op BenchmarkSliceByteToString/32-4 1000000 119.7 ns/op BenchmarkSliceByteToString/64-4 957338 145.9 ns/op BenchmarkSliceByteToString/128-4 823198 192.5 ns/op BenchmarkRuneCount/lenruneslice/ASCII-4 2307024 51.85 ns/op BenchmarkRuneCount/lenruneslice/Japanese-4 853968 137.6 ns/op BenchmarkRuneCount/lenruneslice/MixedLength-4 995668 119.0 ns/op BenchmarkRuneCount/rangeloop/ASCII-4 3200343 37.04 ns/op BenchmarkRuneCount/rangeloop/Japanese-4 1632972 73.70 ns/op BenchmarkRuneCount/rangeloop/MixedLength-4 1839450 64.82 ns/op BenchmarkRuneCount/utf8.RuneCountInString/ASCII-4 2279780 53.33 ns/op BenchmarkRuneCount/utf8.RuneCountInString/Japanese-4 440299 273.0 ns/op BenchmarkRuneCount/utf8.RuneCountInString/MixedLength-4 538881 213.6 ns/op BenchmarkRuneIterate/range/ASCII-4 5607039 20.74 ns/op BenchmarkRuneIterate/range/Japanese-4 2013648 58.10 ns/op BenchmarkRuneIterate/range/MixedLength-4 2269398 51.99 ns/op BenchmarkRuneIterate/range1/ASCII-4 5616297 20.93 ns/op BenchmarkRuneIterate/range1/Japanese-4 2021883 57.85 ns/op BenchmarkRuneIterate/range1/MixedLength-4 2140186 54.61 ns/op BenchmarkRuneIterate/range2/ASCII-4 5679768 20.66 ns/op BenchmarkRuneIterate/range2/Japanese-4 2053875 58.32 ns/op BenchmarkRuneIterate/range2/MixedLength-4 2244988 52.32 ns/op BenchmarkArrayEqual-4 17119200 7.010 ns/op BenchmarkFunc/Name-4 2675544 44.96 ns/op BenchmarkFunc/Entry-4 10444226 11.51 ns/op BenchmarkFunc/FileLine-4 1562714 77.08 ns/op PASS ok runtime 148.070s goos: linux goarch: amd64 pkg: runtime/cgo cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHandle/non-concurrent-4 26198 4705 ns/op BenchmarkHandle/concurrent-4 14672 8171 ns/op PASS ok runtime/cgo 1.496s goos: linux goarch: amd64 pkg: runtime/internal/atomic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAtomicLoad64-4 21007395 5.703 ns/op BenchmarkAtomicStore64-4 9837402 12.20 ns/op BenchmarkAtomicLoad-4 21277719 5.682 ns/op BenchmarkAtomicStore-4 9778912 12.16 ns/op BenchmarkAnd8-4 9921877 12.06 ns/op BenchmarkAnd-4 9977451 12.03 ns/op BenchmarkAnd8Parallel-4 3124932 45.50 ns/op BenchmarkAndParallel-4 3072375 47.13 ns/op BenchmarkOr8-4 9948709 12.07 ns/op BenchmarkOr-4 9933020 12.04 ns/op BenchmarkOr8Parallel-4 3057841 48.14 ns/op BenchmarkOrParallel-4 2968852 51.05 ns/op BenchmarkXadd-4 2445249 48.11 ns/op BenchmarkXadd64-4 3120265 43.93 ns/op BenchmarkCas-4 2315872 52.09 ns/op BenchmarkCas64-4 2295486 52.32 ns/op BenchmarkXchg-4 3078064 46.52 ns/op BenchmarkXchg64-4 3080246 46.03 ns/op PASS ok runtime/internal/atomic 3.902s goos: linux goarch: amd64 pkg: runtime/internal/math cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMulUintptr/small-4 4345940 27.59 ns/op BenchmarkMulUintptr/large-4 3382609 35.32 ns/op PASS ok runtime/internal/math 1.325s goos: linux goarch: amd64 pkg: runtime/pprof cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkGoroutine/Profile.WriteTo_idle_50-4 16 6382616 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_50-4 14 9905337 ns/op 736.0 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_50-4 938 127559 ns/op 5.348 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_500-4 8 13441882 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_500-4 6 18918587 ns/op 1143 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_500-4 138 818093 ns/op 57.67 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_5000-4 2 82021670 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_5000-4 1 104266890 ns/op 7889 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_5000-4 12 8462702 ns/op 620.5 concurrent_launches/op PASS ok runtime/pprof 2.791s goos: linux goarch: amd64 pkg: runtime/race cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSyncLeak-4 39 3413864 ns/op BenchmarkStackLeak-4 18121 6652 ns/op PASS ok runtime/race 1.389s goos: linux goarch: amd64 pkg: runtime/trace cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStartRegion-4 4379448 27.44 ns/op 0 B/op 0 allocs/op BenchmarkNewTask-4 201637 578.4 ns/op 64 B/op 2 allocs/op PASS ok runtime/trace 1.399s goos: linux goarch: amd64 pkg: slices cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEqualFunc_Large-4 24 4296396 ns/op BenchmarkIndex_Large-4 15781 7258 ns/op BenchmarkIndexFunc_Large-4 109 974965 ns/op BenchmarkCompact/nil-4 6885181 16.93 ns/op BenchmarkCompact/one-4 1776280 66.16 ns/op BenchmarkCompact/sorted-4 1000000 101.9 ns/op BenchmarkCompact/1_item-4 1000000 115.5 ns/op BenchmarkCompact/unsorted-4 1000000 102.7 ns/op BenchmarkCompact/many-4 631698 178.8 ns/op BenchmarkCompact_Large-4 679 182496 ns/op BenchmarkCompactFunc_Large-4 52 2063768 ns/op BenchmarkReplace/naive-fast-4 69044 1509 ns/op BenchmarkReplace/optimized-fast-4 78933 1297 ns/op BenchmarkReplace/naive-slow-4 28238 4045 ns/op BenchmarkReplace/optimized-slow-4 32824 3673 ns/op BenchmarkSortInts-4 2 95296810 ns/op BenchmarkSlicesSortInts-4 2 66733296 ns/op BenchmarkSlicesSortInts_Sorted-4 54 2226551 ns/op BenchmarkSlicesSortInts_Reversed-4 34 3439675 ns/op BenchmarkSortStrings-4 1 144762227 ns/op BenchmarkSlicesSortStrings-4 1 107469814 ns/op BenchmarkSortStructs-4 1 179195933 ns/op BenchmarkSortFuncStructs-4 1 154333048 ns/op BenchmarkBinarySearchFloats/Size16-4 1124136 106.7 ns/op BenchmarkBinarySearchFloats/Size32-4 972487 123.1 ns/op BenchmarkBinarySearchFloats/Size64-4 860772 138.6 ns/op BenchmarkBinarySearchFloats/Size128-4 724197 162.5 ns/op BenchmarkBinarySearchFloats/Size512-4 621970 192.9 ns/op BenchmarkBinarySearchFloats/Size1024-4 550438 207.6 ns/op BenchmarkBinarySearchFuncStruct/Size16-4 579836 201.4 ns/op BenchmarkBinarySearchFuncStruct/Size32-4 467491 246.2 ns/op BenchmarkBinarySearchFuncStruct/Size64-4 399364 298.7 ns/op BenchmarkBinarySearchFuncStruct/Size128-4 356358 327.0 ns/op BenchmarkBinarySearchFuncStruct/Size512-4 283513 393.3 ns/op BenchmarkBinarySearchFuncStruct/Size1024-4 271843 429.3 ns/op PASS ok slices 13.364s goos: linux goarch: amd64 pkg: sort cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSearchWrappers-4 165013 693.5 ns/op BenchmarkSortString1K-4 171 681522 ns/op BenchmarkSortString1K_Slice-4 201 699020 ns/op BenchmarkStableString1K-4 97 1154029 ns/op BenchmarkSortInt1K-4 218 544308 ns/op BenchmarkSortInt1K_Sorted-4 3144 45568 ns/op BenchmarkSortInt1K_Reversed-4 1916 61199 ns/op BenchmarkSortInt1K_Mod8-4 530 222093 ns/op BenchmarkStableInt1K-4 144 834308 ns/op BenchmarkStableInt1K_Slice-4 164 728797 ns/op BenchmarkSortInt64K-4 2 53804464 ns/op BenchmarkSortInt64K_Slice-4 3 45011622 ns/op BenchmarkStableInt64K-4 2 73103648 ns/op BenchmarkSort1e2-4 453 263240 ns/op BenchmarkStable1e2-4 100 1202836 ns/op BenchmarkSort1e4-4 2 52692292 ns/op BenchmarkStable1e4-4 1 229058992 ns/op PASS ok sort 4.428s goos: linux goarch: amd64 pkg: strconv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAtof64Decimal-4 831242 144.1 ns/op BenchmarkAtof64Float-4 738586 162.4 ns/op BenchmarkAtof64FloatExp-4 609387 193.4 ns/op BenchmarkAtof64Big-4 435750 270.9 ns/op BenchmarkAtof64RandomBits-4 229164 528.6 ns/op BenchmarkAtof64RandomFloats-4 431173 264.6 ns/op BenchmarkAtof64RandomLongFloats-4 393163 298.1 ns/op BenchmarkAtof32Decimal-4 834244 141.9 ns/op BenchmarkAtof32Float-4 704124 162.0 ns/op BenchmarkAtof32FloatExp-4 593088 196.6 ns/op BenchmarkAtof32Random-4 350032 334.2 ns/op BenchmarkAtof32RandomLong-4 143516 794.8 ns/op BenchmarkParseInt/Pos/7bit-4 1343710 89.01 ns/op BenchmarkParseInt/Pos/26bit-4 603340 196.1 ns/op BenchmarkParseInt/Pos/31bit-4 544572 209.1 ns/op BenchmarkParseInt/Pos/56bit-4 358212 324.2 ns/op BenchmarkParseInt/Pos/63bit-4 342489 343.2 ns/op BenchmarkParseInt/Neg/7bit-4 1346416 88.70 ns/op BenchmarkParseInt/Neg/26bit-4 585384 199.4 ns/op BenchmarkParseInt/Neg/31bit-4 552633 213.8 ns/op BenchmarkParseInt/Neg/56bit-4 356646 320.8 ns/op BenchmarkParseInt/Neg/63bit-4 340292 340.4 ns/op BenchmarkAtoi/Pos/7bit-4 2017015 61.20 ns/op BenchmarkAtoi/Pos/26bit-4 795334 147.5 ns/op BenchmarkAtoi/Pos/31bit-4 702981 160.0 ns/op BenchmarkAtoi/Pos/56bit-4 420436 275.5 ns/op BenchmarkAtoi/Pos/63bit-4 329869 359.9 ns/op BenchmarkAtoi/Neg/7bit-4 1869738 63.85 ns/op BenchmarkAtoi/Neg/26bit-4 750876 152.9 ns/op BenchmarkAtoi/Neg/31bit-4 696562 163.7 ns/op BenchmarkAtoi/Neg/56bit-4 427668 275.3 ns/op BenchmarkAtoi/Neg/63bit-4 318300 358.6 ns/op BenchmarkFormatFloat/Decimal-4 114048 1089 ns/op BenchmarkFormatFloat/Float-4 104910 1136 ns/op BenchmarkFormatFloat/Exp-4 113310 1066 ns/op BenchmarkFormatFloat/NegExp-4 113677 1050 ns/op BenchmarkFormatFloat/LongExp-4 96708 1267 ns/op BenchmarkFormatFloat/Big-4 90199 1316 ns/op BenchmarkFormatFloat/BinaryExp-4 199554 581.4 ns/op BenchmarkFormatFloat/32Integer-4 112586 1065 ns/op BenchmarkFormatFloat/32ExactFraction-4 115557 1021 ns/op BenchmarkFormatFloat/32Point-4 105435 1117 ns/op BenchmarkFormatFloat/32Exp-4 112650 1059 ns/op BenchmarkFormatFloat/32NegExp-4 113983 1037 ns/op BenchmarkFormatFloat/32Shortest-4 117374 996.8 ns/op BenchmarkFormatFloat/32Fixed8Hard-4 133389 884.6 ns/op BenchmarkFormatFloat/32Fixed9Hard-4 129441 917.1 ns/op BenchmarkFormatFloat/64Fixed1-4 150188 799.5 ns/op BenchmarkFormatFloat/64Fixed2-4 151246 789.9 ns/op BenchmarkFormatFloat/64Fixed3-4 148788 789.4 ns/op BenchmarkFormatFloat/64Fixed4-4 151292 800.5 ns/op BenchmarkFormatFloat/64Fixed12-4 85228 1390 ns/op BenchmarkFormatFloat/64Fixed16-4 112656 1072 ns/op BenchmarkFormatFloat/64Fixed12Hard-4 113481 1064 ns/op BenchmarkFormatFloat/64Fixed17Hard-4 102086 1185 ns/op BenchmarkFormatFloat/64Fixed18Hard-4 2184 49543 ns/op BenchmarkFormatFloat/Slowpath64-4 93614 1274 ns/op BenchmarkFormatFloat/SlowpathDenormal64-4 92427 1268 ns/op BenchmarkAppendFloat/Decimal-4 135343 885.9 ns/op BenchmarkAppendFloat/Float-4 120007 978.2 ns/op BenchmarkAppendFloat/Exp-4 136275 857.9 ns/op BenchmarkAppendFloat/NegExp-4 139590 869.4 ns/op BenchmarkAppendFloat/LongExp-4 112596 1064 ns/op BenchmarkAppendFloat/Big-4 107226 1112 ns/op BenchmarkAppendFloat/BinaryExp-4 325986 359.6 ns/op BenchmarkAppendFloat/32Integer-4 134700 876.8 ns/op BenchmarkAppendFloat/32ExactFraction-4 137886 857.7 ns/op BenchmarkAppendFloat/32Point-4 124429 913.6 ns/op BenchmarkAppendFloat/32Exp-4 137899 862.1 ns/op BenchmarkAppendFloat/32NegExp-4 138877 852.5 ns/op BenchmarkAppendFloat/32Shortest-4 151320 775.8 ns/op BenchmarkAppendFloat/32Fixed8Hard-4 176732 673.2 ns/op BenchmarkAppendFloat/32Fixed9Hard-4 168601 704.4 ns/op BenchmarkAppendFloat/64Fixed1-4 196690 623.0 ns/op BenchmarkAppendFloat/64Fixed2-4 196560 616.6 ns/op BenchmarkAppendFloat/64Fixed3-4 196168 611.8 ns/op BenchmarkAppendFloat/64Fixed4-4 194505 616.6 ns/op BenchmarkAppendFloat/64Fixed12-4 103107 1154 ns/op BenchmarkAppendFloat/64Fixed16-4 136009 876.3 ns/op BenchmarkAppendFloat/64Fixed12Hard-4 147740 801.1 ns/op BenchmarkAppendFloat/64Fixed17Hard-4 125523 941.7 ns/op BenchmarkAppendFloat/64Fixed18Hard-4 2397 48935 ns/op BenchmarkAppendFloat/Slowpath64-4 110432 1062 ns/op BenchmarkAppendFloat/SlowpathDenormal64-4 115026 1036 ns/op BenchmarkFormatInt-4 14990 7915 ns/op BenchmarkAppendInt-4 16976 7031 ns/op BenchmarkFormatUint-4 79189 1413 ns/op BenchmarkAppendUint-4 95299 1250 ns/op BenchmarkFormatIntSmall/7-4 2644838 45.25 ns/op BenchmarkFormatIntSmall/42-4 2846534 41.87 ns/op BenchmarkAppendIntSmall-4 1386410 86.08 ns/op BenchmarkAppendUintVarlen/1-4 1286611 92.53 ns/op BenchmarkAppendUintVarlen/12-4 1299789 92.21 ns/op BenchmarkAppendUintVarlen/123-4 944665 122.3 ns/op BenchmarkAppendUintVarlen/1234-4 956770 124.4 ns/op BenchmarkAppendUintVarlen/12345-4 912702 126.8 ns/op BenchmarkAppendUintVarlen/123456-4 880663 125.7 ns/op BenchmarkAppendUintVarlen/1234567-4 848354 129.0 ns/op BenchmarkAppendUintVarlen/12345678-4 862747 128.7 ns/op BenchmarkAppendUintVarlen/123456789-4 872223 134.2 ns/op BenchmarkAppendUintVarlen/1234567890-4 856933 133.3 ns/op BenchmarkAppendUintVarlen/12345678901-4 844160 136.8 ns/op BenchmarkAppendUintVarlen/123456789012-4 870830 135.8 ns/op BenchmarkAppendUintVarlen/1234567890123-4 846792 138.1 ns/op BenchmarkAppendUintVarlen/12345678901234-4 802815 137.7 ns/op BenchmarkAppendUintVarlen/123456789012345-4 826501 142.2 ns/op BenchmarkAppendUintVarlen/1234567890123456-4 831691 143.4 ns/op BenchmarkAppendUintVarlen/12345678901234567-4 788055 149.0 ns/op BenchmarkAppendUintVarlen/123456789012345678-4 806805 146.8 ns/op BenchmarkAppendUintVarlen/1234567890123456789-4 778501 150.1 ns/op BenchmarkAppendUintVarlen/12345678901234567890-4 778411 151.4 ns/op BenchmarkQuote-4 44691 2625 ns/op BenchmarkQuoteRune-4 407048 266.1 ns/op BenchmarkAppendQuote-4 53883 2195 ns/op BenchmarkAppendQuoteRune-4 832510 141.5 ns/op BenchmarkUnquoteEasy-4 1355047 87.63 ns/op BenchmarkUnquoteHard-4 47528 2444 ns/op PASS ok strconv 17.053s goos: linux goarch: amd64 pkg: strings cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkBuildString_Builder/1Write_NoGrow-4 393218 272.3 ns/op 48 B/op 1 allocs/op BenchmarkBuildString_Builder/3Write_NoGrow-4 144126 839.4 ns/op 336 B/op 3 allocs/op BenchmarkBuildString_Builder/3Write_Grow-4 181802 629.0 ns/op 112 B/op 1 allocs/op BenchmarkBuildString_ByteBuffer/1Write_NoGrow-4 278768 388.7 ns/op 112 B/op 2 allocs/op BenchmarkBuildString_ByteBuffer/3Write_NoGrow-4 80146 1308 ns/op 432 B/op 4 allocs/op BenchmarkBuildString_ByteBuffer/3Write_Grow-4 99566 1108 ns/op 336 B/op 3 allocs/op BenchmarkClone-4 666565 178.7 ns/op 48 B/op 1 allocs/op BenchmarkGenericNoMatch-4 21157 5634 ns/op BenchmarkGenericMatch1-4 2077 52278 ns/op BenchmarkGenericMatch2-4 435 273709 ns/op BenchmarkSingleMaxSkipping-4 8323 14462 ns/op 691.46 MB/s BenchmarkSingleLongSuffixFail-4 14256 8582 ns/op 116.76 MB/s BenchmarkSingleMatch-4 253 459014 ns/op 32.68 MB/s BenchmarkByteByteNoMatch-4 72475 1635 ns/op BenchmarkByteByteMatch-4 18246 6290 ns/op BenchmarkByteStringMatch-4 22096 5209 ns/op BenchmarkHTMLEscapeNew-4 71754 1647 ns/op BenchmarkHTMLEscapeOld-4 87229 1350 ns/op BenchmarkByteStringReplacerWriteString-4 1393 81173 ns/op BenchmarkByteReplacerWriteString-4 1540 76258 ns/op BenchmarkByteByteReplaces-4 3537 33812 ns/op BenchmarkByteByteMap-4 10000 11258 ns/op BenchmarkMap/identity/ASCII-4 662420 178.7 ns/op BenchmarkMap/identity/Greek-4 484170 244.8 ns/op BenchmarkMap/change/ASCII-4 38085 3079 ns/op BenchmarkMap/change/Greek-4 29859 4031 ns/op BenchmarkIndexRune-4 1887045 58.45 ns/op BenchmarkIndexRuneLongString-4 1795413 67.10 ns/op BenchmarkIndexRuneFastPath-4 4373482 26.80 ns/op BenchmarkIndex-4 4284392 27.61 ns/op BenchmarkLastIndex-4 4889893 24.69 ns/op BenchmarkIndexByte-4 10354080 11.53 ns/op BenchmarkToUpper/#00-4 3280489 36.34 ns/op BenchmarkToUpper/ONLYUPPER-4 2448932 47.20 ns/op BenchmarkToUpper/abc-4 325394 367.9 ns/op BenchmarkToUpper/AbC123-4 245499 469.5 ns/op BenchmarkToUpper/azAZ09_-4 278358 428.9 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 56739 2137 ns/op BenchmarkToUpper/RENAN_BASTOS_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 74154 1654 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 34060 3533 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 55836 2112 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 122641 976.9 ns/op BenchmarkToLower/#00-4 3200298 37.43 ns/op BenchmarkToLower/abc-4 2815854 41.59 ns/op BenchmarkToLower/AbC123-4 231565 510.6 ns/op BenchmarkToLower/azAZ09_-4 228376 515.2 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 96100 1198 ns/op BenchmarkToLower/renan_bastos_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 67908 1788 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 35335 3395 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 78264 1518 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 119731 1005 ns/op BenchmarkMapNoChanges-4 954632 119.8 ns/op BenchmarkTrim-4 37663 3159 ns/op 0 B/op 0 allocs/op BenchmarkToValidUTF8/Valid-4 3300285 36.25 ns/op BenchmarkToValidUTF8/InvalidASCII-4 200712 604.4 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 128439 907.4 ns/op BenchmarkEqualFold/Tests-4 52104 2245 ns/op BenchmarkEqualFold/ASCII-4 3758047 31.91 ns/op BenchmarkEqualFold/UnicodePrefix-4 106740 1106 ns/op BenchmarkEqualFold/UnicodeSuffix-4 119097 1018 ns/op BenchmarkIndexHard1-4 828 144363 ns/op BenchmarkIndexHard2-4 598 199082 ns/op BenchmarkIndexHard3-4 151 792553 ns/op BenchmarkIndexHard4-4 182 665729 ns/op BenchmarkLastIndexHard1-4 58 1989761 ns/op BenchmarkLastIndexHard2-4 60 1986573 ns/op BenchmarkLastIndexHard3-4 56 1997097 ns/op BenchmarkCountHard1-4 838 143654 ns/op BenchmarkCountHard2-4 595 199339 ns/op BenchmarkCountHard3-4 150 795716 ns/op BenchmarkIndexTorture-4 7585 15612 ns/op BenchmarkCountTorture-4 7328 15615 ns/op BenchmarkCountTortureOverlapping-4 690 168151 ns/op BenchmarkCountByte/10-4 4152184 26.70 ns/op 374.56 MB/s BenchmarkCountByte/32-4 4214626 26.89 ns/op 1190.19 MB/s BenchmarkCountByte/4096-4 873048 136.6 ns/op 29985.94 MB/s BenchmarkCountByte/4194304-4 666 172672 ns/op 24290.53 MB/s BenchmarkCountByte/67108864-4 20 5609510 ns/op 11963.41 MB/s BenchmarkFields/ASCII/16-4 278349 435.6 ns/op 36.73 MB/s 32 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 19926 5843 ns/op 43.81 MB/s 384 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 1210 97637 ns/op 41.95 MB/s 6144 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 76 1825254 ns/op 35.91 MB/s 98304 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 4 29530429 ns/op 35.51 MB/s 1507328 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 139440 867.1 ns/op 18.45 MB/s 32 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 10234 11694 ns/op 21.89 MB/s 320 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 571 199588 ns/op 20.52 MB/s 21504 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 25 4193148 ns/op 15.63 MB/s 463104 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 2 87265206 ns/op 12.02 MB/s 10457344 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 217972 530.3 ns/op 30.17 MB/s 32 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 18476 6131 ns/op 41.76 MB/s 384 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 933 122829 ns/op 33.35 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 43 2938743 ns/op 22.30 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 67519236 ns/op 15.53 MB/s 10449152 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 180570 643.0 ns/op 24.88 MB/s 32 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 13903 8359 ns/op 30.63 MB/s 320 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 745 153605 ns/op 26.67 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 30 3444960 ns/op 19.02 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 2 76247176 ns/op 13.75 MB/s 10457344 B/op 24 allocs/op BenchmarkSplitEmptySeparator-4 1 105672443 ns/op BenchmarkSplitSingleByteSeparator-4 14 8240525 ns/op BenchmarkSplitMultiByteSeparator-4 26 3945688 ns/op BenchmarkSplitNSingleByteSeparator-4 201351 500.3 ns/op BenchmarkSplitNMultiByteSeparator-4 162374 685.5 ns/op BenchmarkRepeat/5x0-4 3323203 33.93 ns/op BenchmarkRepeat/5x1-4 3466908 31.78 ns/op BenchmarkRepeat/5x2-4 266312 454.5 ns/op BenchmarkRepeat/5x6-4 162740 758.2 ns/op BenchmarkRepeat/10x0-4 3495918 32.75 ns/op BenchmarkRepeat/10x1-4 3509786 32.18 ns/op BenchmarkRepeat/10x2-4 263334 459.9 ns/op BenchmarkRepeat/10x6-4 158817 748.4 ns/op BenchmarkRepeatLarge/256/1-4 72649 1536 ns/op 166.66 MB/s BenchmarkRepeatLarge/256/16-4 115998 974.3 ns/op 262.77 MB/s BenchmarkRepeatLarge/512/1-4 53968 1948 ns/op 262.88 MB/s BenchmarkRepeatLarge/512/16-4 78823 1309 ns/op 391.06 MB/s BenchmarkRepeatLarge/1024/1-4 44299 2441 ns/op 419.57 MB/s BenchmarkRepeatLarge/1024/16-4 59730 1825 ns/op 561.20 MB/s BenchmarkRepeatLarge/2048/1-4 33109 3554 ns/op 576.20 MB/s BenchmarkRepeatLarge/2048/16-4 40364 2757 ns/op 742.79 MB/s BenchmarkRepeatLarge/4096/1-4 20755 5261 ns/op 778.58 MB/s BenchmarkRepeatLarge/4096/16-4 24525 4784 ns/op 856.19 MB/s BenchmarkRepeatLarge/8192/1-4 13600 8400 ns/op 975.19 MB/s BenchmarkRepeatLarge/8192/16-4 14334 8069 ns/op 1015.20 MB/s BenchmarkRepeatLarge/8192/4097-4 5548314 21.22 ns/op 193085.38 MB/s BenchmarkRepeatLarge/16384/1-4 7642 15023 ns/op 1090.56 MB/s BenchmarkRepeatLarge/16384/16-4 7179 15102 ns/op 1084.86 MB/s BenchmarkRepeatLarge/16384/4097-4 9213 11203 ns/op 1097.16 MB/s BenchmarkRepeatLarge/32768/1-4 4339 27125 ns/op 1208.04 MB/s BenchmarkRepeatLarge/32768/16-4 4557 26740 ns/op 1225.43 MB/s BenchmarkRepeatLarge/32768/4097-4 4946 24802 ns/op 1156.31 MB/s BenchmarkRepeatLarge/65536/1-4 2190 56653 ns/op 1156.79 MB/s BenchmarkRepeatLarge/65536/16-4 2361 52015 ns/op 1259.94 MB/s BenchmarkRepeatLarge/65536/4097-4 2439 46365 ns/op 1325.46 MB/s BenchmarkRepeatLarge/131072/1-4 231 516721 ns/op 253.66 MB/s BenchmarkRepeatLarge/131072/16-4 229 526738 ns/op 248.84 MB/s BenchmarkRepeatLarge/131072/4097-4 223 517070 ns/op 245.63 MB/s BenchmarkRepeatLarge/262144/1-4 100 1024191 ns/op 255.95 MB/s BenchmarkRepeatLarge/262144/16-4 100 1042355 ns/op 251.49 MB/s BenchmarkRepeatLarge/262144/4097-4 100 1037762 ns/op 248.72 MB/s BenchmarkRepeatLarge/524288/1-4 60 2153474 ns/op 243.46 MB/s BenchmarkRepeatLarge/524288/16-4 57 2081504 ns/op 251.88 MB/s BenchmarkRepeatLarge/524288/4097-4 51 2007008 ns/op 259.25 MB/s BenchmarkRepeatLarge/1048576/1-4 27 4081810 ns/op 256.89 MB/s BenchmarkRepeatLarge/1048576/16-4 27 3962047 ns/op 264.66 MB/s BenchmarkRepeatLarge/1048576/4097-4 31 3997918 ns/op 261.32 MB/s BenchmarkRepeatLarge/2097152/1-4 14 8090166 ns/op 259.22 MB/s BenchmarkRepeatLarge/2097152/16-4 14 7872988 ns/op 266.37 MB/s BenchmarkRepeatLarge/2097152/4097-4 14 8065578 ns/op 259.57 MB/s BenchmarkRepeatLarge/4194304/1-4 7 15615080 ns/op 268.61 MB/s BenchmarkRepeatLarge/4194304/16-4 7 15730098 ns/op 266.64 MB/s BenchmarkRepeatLarge/4194304/4097-4 7 15726325 ns/op 266.51 MB/s BenchmarkRepeatLarge/8388608/1-4 4 31526441 ns/op 266.08 MB/s BenchmarkRepeatLarge/8388608/16-4 4 31216332 ns/op 268.72 MB/s BenchmarkRepeatLarge/8388608/4097-4 4 31908404 ns/op 262.83 MB/s BenchmarkRepeatLarge/16777216/1-4 2 61355636 ns/op 273.44 MB/s BenchmarkRepeatLarge/16777216/16-4 2 60140799 ns/op 278.97 MB/s BenchmarkRepeatLarge/16777216/4097-4 2 60683216 ns/op 276.47 MB/s BenchmarkRepeatLarge/33554432/1-4 1 123787719 ns/op 271.06 MB/s BenchmarkRepeatLarge/33554432/16-4 1 119912553 ns/op 279.82 MB/s BenchmarkRepeatLarge/33554432/4097-4 1 120605577 ns/op 278.22 MB/s BenchmarkRepeatLarge/67108864/1-4 1 238916412 ns/op 280.89 MB/s BenchmarkRepeatLarge/67108864/16-4 1 235416620 ns/op 285.06 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 239899505 ns/op 279.74 MB/s BenchmarkRepeatLarge/134217728/1-4 1 476936579 ns/op 281.42 MB/s BenchmarkRepeatLarge/134217728/16-4 1 464957108 ns/op 288.67 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 474750334 ns/op 282.71 MB/s BenchmarkRepeatLarge/268435456/1-4 1 957919789 ns/op 280.23 MB/s BenchmarkRepeatLarge/268435456/16-4 1 937238111 ns/op 286.41 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 934210099 ns/op 287.34 MB/s BenchmarkRepeatLarge/536870912/1-4 1 1837633622 ns/op 292.15 MB/s BenchmarkRepeatLarge/536870912/16-4 1 1838822262 ns/op 291.96 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 1884097531 ns/op 284.95 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 3709338338 ns/op 289.47 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 3618527188 ns/op 296.73 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 3722410298 ns/op 288.45 MB/s BenchmarkIndexAnyASCII/1:1-4 2079290 56.03 ns/op BenchmarkIndexAnyASCII/1:2-4 2095274 53.20 ns/op BenchmarkIndexAnyASCII/1:4-4 2079967 53.19 ns/op BenchmarkIndexAnyASCII/1:8-4 2170095 52.96 ns/op BenchmarkIndexAnyASCII/1:16-4 2176660 54.23 ns/op BenchmarkIndexAnyASCII/1:32-4 2102713 53.90 ns/op BenchmarkIndexAnyASCII/1:64-4 2157724 53.10 ns/op BenchmarkIndexAnyASCII/16:1-4 2079736 55.04 ns/op BenchmarkIndexAnyASCII/16:2-4 800962 149.3 ns/op BenchmarkIndexAnyASCII/16:4-4 762320 153.1 ns/op BenchmarkIndexAnyASCII/16:8-4 728244 163.3 ns/op BenchmarkIndexAnyASCII/16:16-4 690658 172.7 ns/op BenchmarkIndexAnyASCII/16:32-4 596871 198.3 ns/op BenchmarkIndexAnyASCII/16:64-4 487624 244.0 ns/op BenchmarkIndexAnyASCII/256:1-4 1841402 62.59 ns/op BenchmarkIndexAnyASCII/256:2-4 74512 1622 ns/op BenchmarkIndexAnyASCII/256:4-4 74118 1619 ns/op BenchmarkIndexAnyASCII/256:8-4 73864 1623 ns/op BenchmarkIndexAnyASCII/256:16-4 72428 1643 ns/op BenchmarkIndexAnyASCII/256:32-4 71248 1667 ns/op BenchmarkIndexAnyASCII/256:64-4 69328 1738 ns/op BenchmarkIndexAnyUTF8/1:1-4 1979329 57.76 ns/op BenchmarkIndexAnyUTF8/1:2-4 2039757 53.63 ns/op BenchmarkIndexAnyUTF8/1:4-4 2095658 55.25 ns/op BenchmarkIndexAnyUTF8/1:8-4 2054181 54.88 ns/op BenchmarkIndexAnyUTF8/1:16-4 2077128 56.10 ns/op BenchmarkIndexAnyUTF8/1:32-4 2042676 56.30 ns/op BenchmarkIndexAnyUTF8/1:64-4 2023278 57.18 ns/op BenchmarkIndexAnyUTF8/16:1-4 1648232 72.78 ns/op BenchmarkIndexAnyUTF8/16:2-4 324219 359.4 ns/op BenchmarkIndexAnyUTF8/16:4-4 331645 353.7 ns/op BenchmarkIndexAnyUTF8/16:8-4 331927 363.4 ns/op BenchmarkIndexAnyUTF8/16:16-4 311854 371.6 ns/op BenchmarkIndexAnyUTF8/16:32-4 302305 390.6 ns/op BenchmarkIndexAnyUTF8/16:64-4 310440 376.6 ns/op BenchmarkIndexAnyUTF8/256:1-4 380895 312.0 ns/op BenchmarkIndexAnyUTF8/256:2-4 25408 4758 ns/op BenchmarkIndexAnyUTF8/256:4-4 25521 4757 ns/op BenchmarkIndexAnyUTF8/256:8-4 25293 4769 ns/op BenchmarkIndexAnyUTF8/256:16-4 24318 4914 ns/op BenchmarkIndexAnyUTF8/256:32-4 23396 5121 ns/op BenchmarkIndexAnyUTF8/256:64-4 23065 5191 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2010573 57.48 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2145222 51.36 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2080396 51.91 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2081061 51.66 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2128741 53.05 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2079402 53.11 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2117882 53.63 ns/op BenchmarkLastIndexAnyASCII/16:1-4 816362 147.9 ns/op BenchmarkLastIndexAnyASCII/16:2-4 773798 148.0 ns/op BenchmarkLastIndexAnyASCII/16:4-4 787089 152.7 ns/op BenchmarkLastIndexAnyASCII/16:8-4 729555 160.4 ns/op BenchmarkLastIndexAnyASCII/16:16-4 696800 170.6 ns/op BenchmarkLastIndexAnyASCII/16:32-4 592389 195.9 ns/op BenchmarkLastIndexAnyASCII/16:64-4 494492 242.8 ns/op BenchmarkLastIndexAnyASCII/256:1-4 78205 1530 ns/op BenchmarkLastIndexAnyASCII/256:2-4 77122 1538 ns/op BenchmarkLastIndexAnyASCII/256:4-4 76891 1543 ns/op BenchmarkLastIndexAnyASCII/256:8-4 76980 1564 ns/op BenchmarkLastIndexAnyASCII/256:16-4 77373 1565 ns/op BenchmarkLastIndexAnyASCII/256:32-4 75349 1602 ns/op BenchmarkLastIndexAnyASCII/256:64-4 73036 1630 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2043367 57.30 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2125630 54.47 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2140530 53.75 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2136447 53.75 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2100838 54.13 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2066248 55.52 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2094456 55.94 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 376488 311.3 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 189368 612.0 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 193600 629.6 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 183925 612.3 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 174046 653.3 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 176992 677.2 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 161382 685.8 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 28872 4112 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 13264 8998 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 13143 8740 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 13696 9382 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 12374 9410 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 12237 9851 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 10000 10045 ns/op BenchmarkTrimASCII/1:1-4 3192975 37.28 ns/op BenchmarkTrimASCII/1:2-4 2485844 47.46 ns/op BenchmarkTrimASCII/1:4-4 2354284 50.98 ns/op BenchmarkTrimASCII/1:8-4 2105374 56.95 ns/op BenchmarkTrimASCII/1:16-4 1746770 68.30 ns/op BenchmarkTrimASCII/16:1-4 2687996 43.91 ns/op BenchmarkTrimASCII/16:2-4 807418 146.5 ns/op BenchmarkTrimASCII/16:4-4 774243 150.8 ns/op BenchmarkTrimASCII/16:8-4 735694 157.2 ns/op BenchmarkTrimASCII/16:16-4 625514 169.0 ns/op BenchmarkTrimASCII/256:1-4 799402 145.4 ns/op BenchmarkTrimASCII/256:2-4 78493 1525 ns/op BenchmarkTrimASCII/256:4-4 78687 1526 ns/op BenchmarkTrimASCII/256:8-4 75673 1549 ns/op BenchmarkTrimASCII/256:16-4 77396 1564 ns/op BenchmarkTrimASCII/4096:1-4 74199 1599 ns/op BenchmarkTrimASCII/4096:2-4 4914 23748 ns/op BenchmarkTrimASCII/4096:4-4 4928 23517 ns/op BenchmarkTrimASCII/4096:8-4 5038 23881 ns/op BenchmarkTrimASCII/4096:16-4 4977 23573 ns/op BenchmarkTrimByte-4 4421904 26.33 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 13418 8979 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 13356 9033 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 1105 107538 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 2239 52693 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 4344 26534 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 7708 14933 ns/op BenchmarkJoin/0-4 5227635 21.07 ns/op 0 B/op 0 allocs/op BenchmarkJoin/1-4 4080750 29.97 ns/op 0 B/op 0 allocs/op BenchmarkJoin/2-4 196330 617.1 ns/op 16 B/op 1 allocs/op BenchmarkJoin/3-4 138913 890.0 ns/op 24 B/op 1 allocs/op BenchmarkJoin/4-4 102345 1182 ns/op 48 B/op 1 allocs/op BenchmarkJoin/5-4 86062 1422 ns/op 48 B/op 1 allocs/op BenchmarkJoin/6-4 73066 1680 ns/op 64 B/op 1 allocs/op BenchmarkJoin/7-4 62037 1960 ns/op 64 B/op 1 allocs/op BenchmarkTrimSpace/NoTrim-4 2635809 45.13 ns/op BenchmarkTrimSpace/ASCII-4 1536328 77.23 ns/op BenchmarkTrimSpace/SomeNonASCII-4 143914 826.9 ns/op BenchmarkTrimSpace/JustNonASCII-4 75424 1593 ns/op BenchmarkReplaceAll-4 122118 988.3 ns/op 16 B/op 1 allocs/op PASS ok strings 67.437s goos: linux goarch: amd64 pkg: sync cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCond1-4 54471 2140 ns/op BenchmarkCond2-4 23437 5067 ns/op BenchmarkCond4-4 16342 7592 ns/op BenchmarkCond8-4 9132 13340 ns/op BenchmarkCond16-4 4112 27719 ns/op BenchmarkCond32-4 1868 73438 ns/op BenchmarkLoadMostlyHits/*sync_test.DeepCopyMap-4 415279 260.2 ns/op BenchmarkLoadMostlyHits/*sync_test.RWMutexMap-4 264157 395.5 ns/op BenchmarkLoadMostlyHits/*sync.Map-4 498723 230.8 ns/op BenchmarkLoadMostlyMisses/*sync_test.DeepCopyMap-4 448653 273.5 ns/op BenchmarkLoadMostlyMisses/*sync_test.RWMutexMap-4 245935 457.8 ns/op BenchmarkLoadMostlyMisses/*sync.Map-4 518014 224.1 ns/op BenchmarkLoadOrStoreBalanced/*sync_test.RWMutexMap-4 82006 1718 ns/op BenchmarkLoadOrStoreBalanced/*sync.Map-4 70806 2019 ns/op BenchmarkLoadOrStoreUnique/*sync_test.RWMutexMap-4 62040 2536 ns/op BenchmarkLoadOrStoreUnique/*sync.Map-4 39541 3005 ns/op BenchmarkLoadOrStoreCollision/*sync_test.DeepCopyMap-4 452497 276.2 ns/op BenchmarkLoadOrStoreCollision/*sync_test.RWMutexMap-4 125551 815.8 ns/op BenchmarkLoadOrStoreCollision/*sync.Map-4 417884 249.5 ns/op BenchmarkLoadAndDeleteBalanced/*sync_test.RWMutexMap-4 123387 947.4 ns/op BenchmarkLoadAndDeleteBalanced/*sync.Map-4 469274 221.2 ns/op BenchmarkLoadAndDeleteUnique/*sync_test.RWMutexMap-4 162376 764.9 ns/op BenchmarkLoadAndDeleteUnique/*sync.Map-4 1956434 61.04 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.DeepCopyMap-4 35211 3239 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.RWMutexMap-4 109819 1113 ns/op BenchmarkLoadAndDeleteCollision/*sync.Map-4 418875 536.1 ns/op BenchmarkRange/*sync_test.DeepCopyMap-4 6284 16167 ns/op BenchmarkRange/*sync_test.RWMutexMap-4 234 448766 ns/op BenchmarkRange/*sync.Map-4 1219 89109 ns/op BenchmarkAdversarialAlloc/*sync_test.DeepCopyMap-4 99494 1655 ns/op BenchmarkAdversarialAlloc/*sync_test.RWMutexMap-4 181587 650.4 ns/op BenchmarkAdversarialAlloc/*sync.Map-4 59476 1953 ns/op BenchmarkAdversarialDelete/*sync_test.DeepCopyMap-4 106666 1175 ns/op BenchmarkAdversarialDelete/*sync_test.RWMutexMap-4 224114 554.3 ns/op BenchmarkAdversarialDelete/*sync.Map-4 140931 980.0 ns/op BenchmarkDeleteCollision/*sync_test.DeepCopyMap-4 61504 1885 ns/op BenchmarkDeleteCollision/*sync_test.RWMutexMap-4 158652 725.9 ns/op BenchmarkDeleteCollision/*sync.Map-4 532216 219.2 ns/op BenchmarkSwapCollision/*sync_test.DeepCopyMap-4 45888 2447 ns/op BenchmarkSwapCollision/*sync_test.RWMutexMap-4 112725 887.6 ns/op BenchmarkSwapCollision/*sync.Map-4 60200 1872 ns/op BenchmarkSwapMostlyHits/*sync_test.DeepCopyMap-4 249 485971 ns/op BenchmarkSwapMostlyHits/*sync_test.RWMutexMap-4 93021 1274 ns/op BenchmarkSwapMostlyHits/*sync.Map-4 296146 430.2 ns/op BenchmarkSwapMostlyMisses/*sync_test.DeepCopyMap-4 18642 6424 ns/op BenchmarkSwapMostlyMisses/*sync_test.RWMutexMap-4 62401 2239 ns/op BenchmarkSwapMostlyMisses/*sync.Map-4 18664 6030 ns/op BenchmarkCompareAndSwapCollision/*sync_test.DeepCopyMap-4 258091 443.9 ns/op BenchmarkCompareAndSwapCollision/*sync_test.RWMutexMap-4 84390 1418 ns/op BenchmarkCompareAndSwapCollision/*sync.Map-4 159748 774.3 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.DeepCopyMap-4 1883096 67.52 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.RWMutexMap-4 157766 766.0 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync.Map-4 2409232 62.42 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.DeepCopyMap-4 527076 278.3 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.RWMutexMap-4 139860 852.1 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync.Map-4 440683 257.1 ns/op BenchmarkCompareAndSwapMostlyHits/*sync_test.RWMutexMap-4 78249 1386 ns/op BenchmarkCompareAndSwapMostlyHits/*sync.Map-4 266020 401.5 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.DeepCopyMap-4 475256 271.2 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.RWMutexMap-4 96507 1105 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync.Map-4 511327 250.4 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.DeepCopyMap-4 178680 867.3 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.RWMutexMap-4 93753 1213 ns/op BenchmarkCompareAndDeleteCollision/*sync.Map-4 141956 783.6 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync_test.RWMutexMap-4 52611 2375 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync.Map-4 168741 639.7 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.DeepCopyMap-4 438301 285.6 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.RWMutexMap-4 100815 1056 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync.Map-4 454480 227.2 ns/op BenchmarkUncontendedSemaphore-4 3361083 35.62 ns/op BenchmarkContendedSemaphore-4 3157916 39.12 ns/op BenchmarkMutexUncontended-4 857967 145.6 ns/op BenchmarkMutex-4 127536 892.3 ns/op BenchmarkMutexSlack-4 118269 894.6 ns/op BenchmarkMutexWork-4 103629 996.8 ns/op BenchmarkMutexWorkSlack-4 124160 992.2 ns/op BenchmarkMutexNoSpin-4 54165 2212 ns/op BenchmarkMutexSpin-4 53736 2026 ns/op BenchmarkOnce-4 615811 235.1 ns/op BenchmarkOnceFunc/v=Once-4 1000000 105.2 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Global-4 865230 131.8 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Local-4 902850 127.8 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Once-4 1000000 111.2 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Global-4 777198 143.5 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Local-4 850436 137.0 ns/op 0 B/op 0 allocs/op BenchmarkSemaUncontended-4 6513168 19.00 ns/op BenchmarkSemaSyntNonblock-4 1000000 107.2 ns/op BenchmarkSemaSyntBlock-4 1207057 110.1 ns/op BenchmarkSemaWorkNonblock-4 802057 141.8 ns/op BenchmarkSemaWorkBlock-4 776775 149.1 ns/op BenchmarkRWMutexUncontended-4 386314 321.9 ns/op BenchmarkRWMutexWrite100-4 272971 455.6 ns/op BenchmarkRWMutexWrite10-4 226852 527.2 ns/op BenchmarkRWMutexWorkWrite100-4 207918 536.1 ns/op BenchmarkRWMutexWorkWrite10-4 202824 667.5 ns/op BenchmarkWaitGroupUncontended-4 826873 168.8 ns/op BenchmarkWaitGroupAddDone-4 287574 453.5 ns/op BenchmarkWaitGroupAddDoneWork-4 309614 328.4 ns/op BenchmarkWaitGroupWait-4 4511118 29.24 ns/op BenchmarkWaitGroupWaitWork-4 2960283 42.35 ns/op BenchmarkWaitGroupActuallyWait-4 38656 3042 ns/op 32 B/op 2 allocs/op PASS ok sync 19.359s goos: linux goarch: amd64 pkg: sync/atomic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkValueRead-4 579392 257.6 ns/op PASS ok sync/atomic 1.264s PASS ok syscall 1.018s goos: linux goarch: amd64 pkg: testing cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkTBHelper-4 92271 1260 ns/op 0 B/op 0 allocs/op PASS ok testing 1.149s goos: linux goarch: amd64 pkg: text/tabwriter cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkTable/1x10/new-4 7798 14527 ns/op 1520 B/op 21 allocs/op BenchmarkTable/1x10/reuse-4 11438 10390 ns/op 0 B/op 0 allocs/op BenchmarkTable/1x1000/new-4 88 1227583 ns/op 129392 B/op 1025 allocs/op BenchmarkTable/1x1000/reuse-4 120 977664 ns/op 1078 B/op 8 allocs/op BenchmarkTable/1x100000/new-4 1 182884737 ns/op 19393008 B/op 100057 allocs/op BenchmarkTable/1x100000/reuse-4 1 182626447 ns/op 19393104 B/op 100058 allocs/op BenchmarkTable/10x10/new-4 1665 69962 ns/op 5056 B/op 31 allocs/op BenchmarkTable/10x10/reuse-4 2106 56126 ns/op 2 B/op 0 allocs/op BenchmarkTable/10x1000/new-4 19 6118287 ns/op 413568 B/op 1039 allocs/op BenchmarkTable/10x1000/reuse-4 19 5532700 ns/op 21766 B/op 54 allocs/op BenchmarkTable/10x100000/new-4 1 738543732 ns/op 48120704 B/op 100073 allocs/op BenchmarkTable/10x100000/reuse-4 1 730262135 ns/op 48120704 B/op 100073 allocs/op BenchmarkTable/100x10/new-4 212 557856 ns/op 39296 B/op 41 allocs/op BenchmarkTable/100x10/reuse-4 231 501123 ns/op 170 B/op 0 allocs/op BenchmarkTable/100x1000/new-4 2 62685768 ns/op 3289008 B/op 1053 allocs/op BenchmarkTable/100x1000/reuse-4 2 60334826 ns/op 1644480 B/op 526 allocs/op BenchmarkTable/100x100000/new-4 1 7064478290 ns/op 335149952 B/op 100089 allocs/op BenchmarkTable/100x100000/reuse-4 1 6916987591 ns/op 335149952 B/op 100089 allocs/op BenchmarkPyramid/10-4 2688 42855 ns/op 4872 B/op 35 allocs/op BenchmarkPyramid/100-4 36 3118386 ns/op 409128 B/op 230 allocs/op BenchmarkPyramid/1000-4 1 336886003 ns/op 35625256 B/op 2055 allocs/op BenchmarkRagged/10-4 2505 48197 ns/op 4512 B/op 34 allocs/op BenchmarkRagged/100-4 256 443479 ns/op 41008 B/op 188 allocs/op BenchmarkRagged/1000-4 27 4483997 ns/op 427424 B/op 1661 allocs/op BenchmarkCode-4 6859 15699 ns/op 624 B/op 13 allocs/op PASS ok text/tabwriter 20.059s goos: linux goarch: amd64 pkg: text/template/parse cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkParseLarge-4 2 78362306 ns/op BenchmarkVariableString-4 101976 1199 ns/op 80 B/op 3 allocs/op BenchmarkListString-4 1989 58675 ns/op 2506 B/op 39 allocs/op PASS ok text/template/parse 1.526s goos: linux goarch: amd64 pkg: time cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAfterFunc-4 36 3003585 ns/op BenchmarkAfter-4 114 1075120 ns/op BenchmarkStop-4 200 593973 ns/op BenchmarkSimultaneousAfterFunc-4 28 4394973 ns/op BenchmarkStartStop-4 211 641352 ns/op BenchmarkReset-4 2079 53770 ns/op BenchmarkSleep-4 32 3658996 ns/op BenchmarkParallelTimerLatency-4 50 213696 avg-late-ns 1179464 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=1-4 37 345077 avg-late-ns 801031 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=2-4 33 336785 avg-late-ns 986440 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=3-4 34 418497 avg-late-ns 1310830 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=4-4 33 343576 avg-late-ns 1674273 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=5-4 31 336273 avg-late-ns 2271104 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=6-4 27 307305 avg-late-ns 1855554 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=7-4 28 294717 avg-late-ns 1831136 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=8-4 27 179097 avg-late-ns 1326280 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=9-4 26 208512 avg-late-ns 1828661 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=10-4 26 1364417 avg-late-ns 6606888 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=2ms/tickers-per-P=1-4 34 321073 avg-late-ns 977253 max-late-ns BenchmarkTicker-4 367 339005 ns/op BenchmarkTickerReset-4 3888 30208 ns/op BenchmarkTickerResetNaive-4 172 647877 ns/op BenchmarkNow-4 1000000 102.0 ns/op BenchmarkNowUnixNano-4 1000000 101.5 ns/op BenchmarkNowUnixMilli-4 1000000 104.5 ns/op BenchmarkNowUnixMicro-4 1000000 103.3 ns/op BenchmarkFormat-4 60039 2010 ns/op BenchmarkFormatRFC3339-4 74989 1497 ns/op BenchmarkFormatRFC3339Nano-4 79501 1569 ns/op BenchmarkFormatNow-4 82413 1456 ns/op BenchmarkMarshalJSON-4 107298 1137 ns/op BenchmarkMarshalText-4 111648 1093 ns/op BenchmarkParse-4 138711 849.1 ns/op BenchmarkParseRFC3339UTC-4 332899 356.1 ns/op BenchmarkParseRFC3339UTCBytes-4 220552 541.7 ns/op BenchmarkParseRFC3339TZ-4 102530 1165 ns/op BenchmarkParseRFC3339TZBytes-4 80916 1521 ns/op BenchmarkParseDuration-4 536001 225.5 ns/op BenchmarkHour-4 864397 136.9 ns/op BenchmarkSecond-4 856315 136.1 ns/op BenchmarkYear-4 670392 179.9 ns/op BenchmarkDay-4 594447 200.7 ns/op BenchmarkISOWeek-4 637287 187.3 ns/op BenchmarkGoString-4 79083 1521 ns/op BenchmarkUnmarshalText-4 68917 1743 ns/op PASS ok time 12.189s goos: linux goarch: amd64 pkg: unicode/utf16 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecodeValidASCII-4 646171 177.0 ns/op BenchmarkDecodeValidJapaneseChars-4 724232 150.9 ns/op BenchmarkDecodeRune-4 1680205 71.66 ns/op BenchmarkEncodeValidASCII-4 542953 200.3 ns/op BenchmarkEncodeValidJapaneseChars-4 833034 145.0 ns/op BenchmarkAppendRuneValidASCII-4 1605829 74.96 ns/op BenchmarkAppendRuneValidJapaneseChars-4 2425861 49.91 ns/op BenchmarkEncodeRune-4 2881467 40.36 ns/op PASS ok unicode/utf16 2.292s goos: linux goarch: amd64 pkg: unicode/utf8 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRuneCountTenASCIIChars-4 825728 145.9 ns/op BenchmarkRuneCountTenJapaneseChars-4 170773 686.0 ns/op BenchmarkRuneCountInStringTenASCIIChars-4 3630968 32.24 ns/op BenchmarkRuneCountInStringTenJapaneseChars-4 423996 282.7 ns/op BenchmarkValidTenASCIIChars-4 815154 138.8 ns/op BenchmarkValid100KASCIIChars-4 91 1300680 ns/op BenchmarkValidTenJapaneseChars-4 153895 771.1 ns/op BenchmarkValidLongMostlyASCII-4 84 1404693 ns/op BenchmarkValidLongJapanese-4 46 2240221 ns/op BenchmarkValidStringTenASCIIChars-4 4455380 26.70 ns/op BenchmarkValidString100KASCIIChars-4 9220 12667 ns/op BenchmarkValidStringTenJapaneseChars-4 412671 262.3 ns/op BenchmarkValidStringLongMostlyASCII-4 1230 97512 ns/op BenchmarkValidStringLongJapanese-4 154 766619 ns/op BenchmarkEncodeASCIIRune-4 4369513 27.40 ns/op BenchmarkEncodeJapaneseRune-4 2492497 48.36 ns/op BenchmarkAppendASCIIRune-4 8825660 12.52 ns/op BenchmarkAppendJapaneseRune-4 2872645 41.63 ns/op BenchmarkDecodeASCIIRune-4 2851632 40.93 ns/op BenchmarkDecodeJapaneseRune-4 1917939 61.74 ns/op BenchmarkFullRune/ASCII-4 3392054 35.55 ns/op BenchmarkFullRune/Incomplete-4 1545583 77.50 ns/op BenchmarkFullRune/Japanese-4 3468897 34.66 ns/op PASS ok unicode/utf8 4.695s goos: linux goarch: amd64 pkg: cmd/api cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAll-4 1 70198366822 ns/op PASS ok cmd/api 71.369s goos: linux goarch: amd64 pkg: cmd/cgo/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCgoCall/add-int-4 342024 307.5 ns/op BenchmarkCgoCall/one-pointer-4 311776 365.4 ns/op BenchmarkCgoCall/eight-pointers-4 175219 681.6 ns/op BenchmarkCgoCall/eight-pointers-nil-4 309619 361.4 ns/op BenchmarkCgoCall/eight-pointers-array-4 15835 6892 ns/op BenchmarkCgoCall/eight-pointers-slice-4 31634 3678 ns/op BenchmarkGoString-4 1128681 105.2 ns/op BenchmarkCGoCallback-4 46752 2479 ns/op BenchmarkCGoInCThread-4 285895 406.6 ns/op PASS ok cmd/cgo/internal/test 2.318s goos: linux goarch: amd64 pkg: cmd/compile/internal/reflectdata cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEqArrayOfStrings5-4 1213581 96.88 ns/op BenchmarkEqArrayOfStrings64-4 156548 757.9 ns/op BenchmarkEqArrayOfStrings1024-4 10000 11314 ns/op BenchmarkEqArrayOfFloats5-4 1375999 85.81 ns/op BenchmarkEqArrayOfFloats64-4 142972 841.5 ns/op BenchmarkEqArrayOfFloats1024-4 9241 12597 ns/op BenchmarkEqArrayOfStructsEq-4 2746 43550 ns/op BenchmarkEqArrayOfStructsNotEq-4 5000 23803 ns/op BenchmarkEqStruct-4 17688966 6.768 ns/op PASS ok cmd/compile/internal/reflectdata 2.340s goos: linux goarch: amd64 pkg: cmd/compile/internal/ssa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPhioptPass-4 10000 61595 ns/op BenchmarkCopyElim1-4 588 182042 ns/op BenchmarkCopyElim10-4 556 190327 ns/op BenchmarkCopyElim100-4 283 387788 ns/op BenchmarkCopyElim1000-4 52 2187761 ns/op BenchmarkCopyElim10000-4 3 42851741 ns/op BenchmarkCopyElim100000-4 1 699921759 ns/op BenchmarkDeadCode/1-4 543 199129 ns/op BenchmarkDeadCode/10-4 484 225800 ns/op BenchmarkDeadCode/100-4 225 505868 ns/op BenchmarkDeadCode/1000-4 46 2759281 ns/op BenchmarkDeadCode/10000-4 3 35661939 ns/op BenchmarkDeadCode/100000-4 1 453947486 ns/op BenchmarkDeadCode/200000-4 1 914066022 ns/op BenchmarkDominatorsLinear-4 13 9214699 ns/op 1.09 MB/s BenchmarkDominatorsFwdBack-4 8 14791815 ns/op 0.68 MB/s BenchmarkDominatorsManyPred-4 9 13626356 ns/op 0.73 MB/s BenchmarkDominatorsMaxPred-4 9 12996152 ns/op 0.77 MB/s BenchmarkDominatorsMaxPredVal-4 9 13921847 ns/op 0.72 MB/s BenchmarkFuse/1-4 478 218828 ns/op BenchmarkFuse/10-4 430 262357 ns/op BenchmarkFuse/100-4 142 836708 ns/op BenchmarkFuse/1000-4 20 6364588 ns/op BenchmarkFuse/10000-4 2 82027193 ns/op BenchmarkNilCheckDeep1-4 12279 9953 ns/op 0.10 MB/s 234 B/op 4 allocs/op BenchmarkNilCheckDeep10-4 5089 23369 ns/op 0.43 MB/s 234 B/op 4 allocs/op BenchmarkNilCheckDeep100-4 764 154896 ns/op 0.65 MB/s 632 B/op 4 allocs/op BenchmarkNilCheckDeep1000-4 72 1512157 ns/op 0.66 MB/s 5336 B/op 5 allocs/op BenchmarkNilCheckDeep10000-4 6 19072505 ns/op 0.52 MB/s 93290 B/op 6 allocs/op BenchmarkDSEPass-4 32 3694359 ns/op 49377 B/op 7 allocs/op BenchmarkDSEPassBlock-4 1 124505223 ns/op 4260400 B/op 108543 allocs/op BenchmarkCSEPass-4 7 15234385 ns/op 75347 B/op 8 allocs/op BenchmarkCSEPassBlock-4 1 155439748 ns/op 5704024 B/op 97746 allocs/op BenchmarkDeadcodePass-4 172 647788 ns/op 100654 B/op 3 allocs/op BenchmarkDeadcodePassBlock-4 1 133706034 ns/op 4086888 B/op 45331 allocs/op BenchmarkMultiPass-4 63 1760299 ns/op 247673 B/op 11 allocs/op BenchmarkMultiPassBlock-4 1 268003237 ns/op 11230064 B/op 150082 allocs/op BenchmarkCondRewrite/SoloJump-4 3093217 38.73 ns/op BenchmarkCondRewrite/CombJump-4 2834962 41.93 ns/op PASS ok cmd/compile/internal/ssa 15.435s goos: linux goarch: amd64 pkg: cmd/compile/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLoadAdd-4 9850 11455 ns/op BenchmarkExtShift-4 16194 7423 ns/op BenchmarkModify-4 9837 11503 ns/op BenchmarkMullImm-4 17118 6842 ns/op BenchmarkConstModify-4 10000 11636 ns/op BenchmarkBitSet-4 21489 5339 ns/op BenchmarkBitClear-4 21446 5435 ns/op BenchmarkBitToggle-4 21488 5345 ns/op BenchmarkBitSetConst-4 157975 758.1 ns/op BenchmarkBitClearConst-4 161804 737.4 ns/op BenchmarkBitToggleConst-4 160742 735.7 ns/op BenchmarkDivconstI64-4 8696292 11.61 ns/op BenchmarkModconstI64-4 8881138 11.57 ns/op BenchmarkDivisiblePow2constI64-4 8767996 11.43 ns/op BenchmarkDivisibleconstI64-4 10690702 11.29 ns/op BenchmarkDivisibleWDivconstI64-4 7006100 16.91 ns/op BenchmarkDivconstU64/3-4 10576478 11.47 ns/op BenchmarkDivconstU64/5-4 10272406 11.61 ns/op BenchmarkDivconstU64/37-4 10677294 11.36 ns/op BenchmarkDivconstU64/1234567-4 10862552 10.95 ns/op BenchmarkModconstU64-4 9320821 12.13 ns/op BenchmarkDivisibleconstU64-4 10921230 11.08 ns/op BenchmarkDivisibleWDivconstU64-4 7003590 17.13 ns/op BenchmarkDivconstI32-4 8594667 11.64 ns/op BenchmarkModconstI32-4 10813285 11.15 ns/op BenchmarkDivisiblePow2constI32-4 9060718 11.49 ns/op BenchmarkDivisibleconstI32-4 8857456 11.32 ns/op BenchmarkDivisibleWDivconstI32-4 7080921 16.88 ns/op BenchmarkDivconstU32-4 10747362 11.09 ns/op BenchmarkModconstU32-4 8424003 12.41 ns/op BenchmarkDivisibleconstU32-4 9325087 11.14 ns/op BenchmarkDivisibleWDivconstU32-4 7325851 16.44 ns/op BenchmarkDivconstI16-4 10760002 11.06 ns/op BenchmarkModconstI16-4 8492096 11.93 ns/op BenchmarkDivisiblePow2constI16-4 8956378 11.45 ns/op BenchmarkDivisibleconstI16-4 8766738 11.50 ns/op BenchmarkDivisibleWDivconstI16-4 7019718 16.99 ns/op BenchmarkDivconstU16-4 10696753 11.22 ns/op BenchmarkModconstU16-4 10555334 11.47 ns/op BenchmarkDivisibleconstU16-4 10740477 11.06 ns/op BenchmarkDivisibleWDivconstU16-4 7006653 17.19 ns/op BenchmarkDivconstI8-4 10535286 11.31 ns/op BenchmarkModconstI8-4 8414788 11.97 ns/op BenchmarkDivisiblePow2constI8-4 11376729 10.53 ns/op BenchmarkDivisibleconstI8-4 9335350 11.57 ns/op BenchmarkDivisibleWDivconstI8-4 7308740 16.32 ns/op BenchmarkDivconstU8-4 9127689 11.37 ns/op BenchmarkModconstU8-4 10461844 11.35 ns/op BenchmarkDivisibleconstU8-4 10841186 11.04 ns/op BenchmarkDivisibleWDivconstU8-4 6760447 17.81 ns/op BenchmarkMul2-4 153262 723.5 ns/op BenchmarkMulNeg2-4 165346 733.1 ns/op BenchmarkEfaceInteger-4 3648745 28.83 ns/op BenchmarkDiv64UnsignedSmall-4 6728574 15.66 ns/op BenchmarkDiv64Small-4 6156192 17.53 ns/op BenchmarkDiv64SmallNegDivisor-4 5813077 18.59 ns/op BenchmarkDiv64SmallNegDividend-4 6258087 17.44 ns/op BenchmarkDiv64SmallNegBoth-4 5919607 17.94 ns/op BenchmarkDiv64Unsigned-4 6843430 15.93 ns/op BenchmarkDiv64-4 5972876 18.80 ns/op BenchmarkDiv64NegDivisor-4 6051775 18.21 ns/op BenchmarkDiv64NegDividend-4 6015212 18.37 ns/op BenchmarkDiv64NegBoth-4 6103695 18.18 ns/op BenchmarkMod64UnsignedSmall-4 7069968 15.27 ns/op BenchmarkMod64Small-4 6309854 17.13 ns/op BenchmarkMod64SmallNegDivisor-4 6011756 18.41 ns/op BenchmarkMod64SmallNegDividend-4 5927078 17.17 ns/op BenchmarkMod64SmallNegBoth-4 6061020 17.46 ns/op BenchmarkMod64Unsigned-4 6937407 15.66 ns/op BenchmarkMod64-4 6049129 18.01 ns/op BenchmarkMod64NegDivisor-4 5927505 17.79 ns/op BenchmarkMod64NegDividend-4 5994652 18.00 ns/op BenchmarkMod64NegBoth-4 6101841 18.07 ns/op BenchmarkMulconstI32/3-4 20902653 5.728 ns/op BenchmarkMulconstI32/5-4 20333865 5.782 ns/op BenchmarkMulconstI32/12-4 20880490 5.759 ns/op BenchmarkMulconstI32/120-4 20920182 5.677 ns/op BenchmarkMulconstI32/-120-4 21092415 5.698 ns/op BenchmarkMulconstI32/65537-4 21273958 5.643 ns/op BenchmarkMulconstI32/65538-4 21215926 5.706 ns/op BenchmarkMulconstI64/3-4 20869239 5.722 ns/op BenchmarkMulconstI64/5-4 20788215 5.711 ns/op BenchmarkMulconstI64/12-4 20763854 5.763 ns/op BenchmarkMulconstI64/120-4 20884162 5.713 ns/op BenchmarkMulconstI64/-120-4 20877400 5.754 ns/op BenchmarkMulconstI64/65537-4 21256478 5.682 ns/op BenchmarkMulconstI64/65538-4 21119758 5.688 ns/op BenchmarkMulconstU32/3-4 20830951 5.711 ns/op BenchmarkMulconstU32/5-4 20875680 5.760 ns/op BenchmarkMulconstU32/12-4 20914414 5.696 ns/op BenchmarkMulconstU32/120-4 20908344 5.755 ns/op BenchmarkMulconstU32/65537-4 21216244 5.655 ns/op BenchmarkMulconstU32/65538-4 21257473 5.673 ns/op BenchmarkMulconstU64/3-4 20971174 5.737 ns/op BenchmarkMulconstU64/5-4 21088027 5.833 ns/op BenchmarkMulconstU64/12-4 20979504 5.706 ns/op BenchmarkMulconstU64/120-4 21094261 5.727 ns/op BenchmarkMulconstU64/65537-4 21115731 5.677 ns/op BenchmarkMulconstU64/65538-4 21259207 5.638 ns/op BenchmarkShiftArithmeticRight-4 19586738 6.023 ns/op BenchmarkSwitch8Predictable-4 13113116 9.177 ns/op BenchmarkSwitch8Unpredictable-4 5756832 20.80 ns/op BenchmarkSwitch32Predictable-4 8388501 14.39 ns/op BenchmarkSwitch32Unpredictable-4 5701832 20.84 ns/op BenchmarkSwitchStringPredictable-4 8119346 14.64 ns/op BenchmarkSwitchStringUnpredictable-4 4294800 27.57 ns/op PASS ok cmd/compile/internal/test 19.457s goos: linux goarch: amd64 pkg: cmd/compile/internal/types2 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLookupFieldOrMethod-4 136 877335 ns/op BenchmarkNamed/Underlying/nongeneric-4 717255 146.7 ns/op BenchmarkNamed/Underlying/generic-4 807610 145.0 ns/op BenchmarkNamed/Underlying/src_instance-4 797113 145.8 ns/op BenchmarkNamed/Underlying/user_instance-4 826729 142.0 ns/op BenchmarkCheck/http/funcbodies/info-4 1 547980765 ns/op 55821 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 360615461 ns/op 84822 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 167364965 ns/op 182717 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 144581612 ns/op 211515 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 419309215 ns/op 12362 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 2 91382200 ns/op 56711 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 3 36647644 ns/op 141401 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 3 34905131 ns/op 148428 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 145080496 ns/op 14952 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 3 42062761 ns/op 51558 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 5 22125498 ns/op 98024 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 5 21155418 ns/op 102513 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1184433702 ns/op 55141 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 626432571 ns/op 104258 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 172993897 ns/op 377396 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 125214001 ns/op 521313 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 419400580 ns/op 4773 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 67872892 ns/op 29479 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 3 40363246 ns/op 49579 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 3 38950774 ns/op 51376 lines/s PASS ok cmd/compile/internal/types2 16.820s goos: linux goarch: amd64 pkg: cmd/go cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExecGoEnv-4 148 793979 ns/op 1928838 sys-ns/op 1093635 user-ns/op PASS ok cmd/go 1.208s goos: linux goarch: amd64 pkg: cmd/internal/notsha256 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 67806 1739 ns/op 4.60 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 77335 1509 ns/op 5.30 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 14338 8340 ns/op 122.78 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 14780 8140 ns/op 125.80 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 2186 53611 ns/op 152.81 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 2224 53539 ns/op 153.01 MB/s 0 B/op 0 allocs/op PASS ok cmd/internal/notsha256 1.954s All tests passed.