linux-amd64-longtest-race at ff07c540b13983aff41e2af4196853602c1192dd :: Running /workdir/go/src/make.bash with args ["/workdir/go/src/make.bash"] and env ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "HOSTNAME=buildlet-linux-amd64-bullseye-rne6a4d4c" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=0s" "GO_STAGE0_DL_DELAY=100ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-longtest-race" "GO_TEST_SHORT=0" "GO_TEST_TIMEOUT_SCALE=5" "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-rne6a4d4c" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=0s" "GO_STAGE0_DL_DELAY=100ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-longtest-race" "GO_TEST_SHORT=0" "GO_TEST_TIMEOUT_SCALE=5" "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.184s ok archive/zip 123.712s ok bufio 1.301s ok bytes 9.565s ok cmp 1.018s ok compress/bzip2 1.465s ok compress/flate 167.931s ok compress/gzip 13.311s ok compress/lzw 1.557s ok compress/zlib 9.464s ok container/heap 1.023s ok container/list 1.018s ok container/ring 1.021s ok context 1.047s ok crypto 1.017s ok crypto/aes 1.056s ok crypto/cipher 2.184s ok crypto/des 1.052s ok crypto/dsa 13.488s ok crypto/ecdh 1.485s ok crypto/ecdsa 4.442s ok crypto/ed25519 1.895s ok crypto/elliptic 2.310s ok crypto/hmac 1.022s ok crypto/internal/alias 1.017s ok crypto/internal/bigmod 3.640s ok crypto/internal/boring 1.017s ok crypto/internal/boring/bcache 1.434s ok crypto/internal/edwards25519 38.041s ok crypto/internal/edwards25519/field 13.636s ok crypto/internal/nistec 22.799s ok crypto/internal/nistec/fiat 1.019s [no tests to run] ok crypto/md5 1.027s ok crypto/rand 3.819s ok crypto/rc4 1.454s ok crypto/rsa 7.454s ok crypto/sha1 1.039s ok crypto/sha256 1.023s ok crypto/sha512 1.024s ok crypto/subtle 20.251s ok crypto/tls 6.241s ok crypto/x509 2.926s ok database/sql 2.233s ok database/sql/driver 1.019s ok debug/buildinfo 5.986s ok debug/dwarf 1.090s ok debug/elf 2.259s ok debug/gosym 1.327s ok debug/macho 1.030s ok debug/pe 1.052s ok debug/plan9obj 1.017s ok embed 1.017s [no tests to run] ok embed/internal/embedtest 1.018s ok encoding/ascii85 1.023s ok encoding/asn1 1.023s ok encoding/base32 1.060s ok encoding/base64 1.024s ok encoding/binary 1.025s ok encoding/csv 1.060s ok encoding/gob 20.714s ok encoding/hex 1.025s ok encoding/json 7.659s ok encoding/pem 3.349s ok encoding/xml 39.027s ok errors 1.025s ok expvar 1.019s ok flag 3.104s ok fmt 1.560s ok go/ast 1.030s ok go/build 5.728s ok go/build/constraint 1.026s ok go/constant 1.027s ok go/doc 1.267s ok go/doc/comment 3.052s ok go/format 1.047s ok go/importer 1.185s ok go/internal/gccgoimporter 1.048s ok go/internal/gcimporter 38.653s ok go/internal/srcimporter 15.601s ok go/parser 54.157s ok go/printer 2.334s ok go/scanner 1.024s ok go/token 1.125s ok go/types 47.880s ok hash 1.023s ok hash/adler32 1.053s ok hash/crc32 1.051s ok hash/crc64 1.028s ok hash/fnv 1.018s ok hash/maphash 1.018s ok html 1.020s ok html/template 1.685s ok image 2.382s ok image/color 1.037s ok image/draw 1.555s ok image/gif 99.700s ok image/jpeg 24.828s ok image/png 6.586s ok index/suffixarray 619.940s ok internal/abi 1.059s ok internal/buildcfg 1.019s ok internal/coverage/cformat 1.018s ok internal/coverage/cmerge 1.017s ok internal/coverage/pods 1.019s ok internal/coverage/slicereader 1.016s ok internal/coverage/slicewriter 1.017s ok internal/coverage/test 1.048s ok internal/cpu 3.052s ok internal/dag 1.017s ok internal/diff 1.020s ok internal/fmtsort 1.017s ok internal/fuzz 1.040s ok internal/godebug 13.813s ok internal/godebugs 1.018s ok internal/intern 2.981s ok internal/itoa 1.016s ok internal/poll 21.891s ok internal/profile 1.018s ok internal/reflectlite 1.019s ok internal/safefilepath 1.017s ok internal/saferio 1.269s ok internal/singleflight 1.123s ok internal/testenv 1.156s ok internal/trace 7.883s ok internal/types/errors 1.397s ok internal/unsafeheader 1.016s ok internal/xcoff 1.033s ok internal/zstd 1.034s ok io 1.051s ok io/fs 1.253s ok io/ioutil 1.021s ok log 1.028s ok log/slog 1.045s ok log/slog/internal/benchmarks 1.017s ok log/slog/internal/buffer 1.017s ok log/syslog 2.240s ok maps 1.021s ok math 1.033s ok math/big 8.489s ok math/bits 1.028s ok math/cmplx 1.020s ok math/rand 34.842s ok mime 1.039s ok mime/multipart 15.805s ok mime/quotedprintable 2.128s ok net 54.334s ok net/http 66.310s ok net/http/cgi 12.418s ok net/http/cookiejar 1.026s ok net/http/fcgi 1.128s ok net/http/httptest 1.193s ok net/http/httptrace 1.017s ok net/http/httputil 2.129s ok net/http/internal 1.023s ok net/http/internal/ascii 1.017s ok net/http/pprof 6.181s ok net/internal/socktest 1.018s ok net/mail 1.024s ok net/netip 1.337s ok net/rpc 1.058s ok net/rpc/jsonrpc 1.027s ok net/smtp 1.068s ok net/textproto 1.046s ok net/url 1.032s ok os 23.443s ok os/exec 11.702s ok os/exec/internal/fdtest 1.016s ok os/signal 28.606s ok os/user 1.018s ok path 1.020s ok path/filepath 1.066s ok plugin 1.017s ok reflect 3.567s ok regexp 4.236s ok regexp/syntax 5.519s ok runtime 239.822s ok runtime/cgo 1.018s ok runtime/coverage 29.294s ok runtime/debug 2.145s ok runtime/internal/atomic 3.979s ok runtime/internal/math 1.020s ok runtime/internal/sys 1.019s ok runtime/internal/syscall 1.019s ok runtime/internal/wasitest 1.018s ok runtime/metrics 1.031s ok runtime/pprof 94.004s ok runtime/race 11.939s ok runtime/trace 6.922s ok slices 3.305s ok sort 6.422s ok strconv 9.072s ok strings 3.920s ok sync 2.858s ok sync/atomic 209.691s ok syscall 11.120s ok testing 3.718s ok testing/fstest 1.020s ok testing/iotest 1.019s ok testing/quick 1.164s ok testing/slogtest 1.019s ok text/scanner 1.031s ok text/tabwriter 1.021s ok text/template 1.817s ok text/template/parse 1.031s ok time 15.693s ok unicode 1.025s ok unicode/utf16 1.018s ok unicode/utf8 1.032s ok cmd/addr2line 4.762s ok cmd/api 9.456s ok cmd/asm/internal/asm 4.977s ok cmd/asm/internal/lex 1.019s ok cmd/cgo/internal/swig 1.743s ok cmd/cgo/internal/test 2.256s ok cmd/cgo/internal/testcarchive 22.850s ok cmd/cgo/internal/testcshared 6.177s ok cmd/cgo/internal/testerrors 10.725s ok cmd/cgo/internal/testfortran 2.363s ok cmd/cgo/internal/testgodefs 1.624s ok cmd/cgo/internal/testlife 1.618s ok cmd/cgo/internal/testnocgo 1.017s ok cmd/cgo/internal/testplugin 36.108s ok cmd/cgo/internal/testsanitizers 19.518s ok cmd/cgo/internal/testshared 67.571s ok cmd/cgo/internal/testso 2.557s ok cmd/cgo/internal/teststdio 2.514s ok cmd/cgo/internal/testtls 1.016s ok cmd/compile/internal/abt 1.043s ok cmd/compile/internal/amd64 57.409s ok cmd/compile/internal/base 1.020s ok cmd/compile/internal/compare 1.021s ok cmd/compile/internal/dwarfgen 1.467s ok cmd/compile/internal/importer 17.094s ok cmd/compile/internal/ir 1.017s ok cmd/compile/internal/logopt 1.208s ok cmd/compile/internal/loopvar 26.511s ok cmd/compile/internal/noder 1.021s ok cmd/compile/internal/reflectdata 1.018s [no tests to run] ok cmd/compile/internal/ssa 191.054s ok cmd/compile/internal/syntax 18.102s ok cmd/compile/internal/test 35.194s ok cmd/compile/internal/typecheck 1.267s ok cmd/compile/internal/types 1.019s ok cmd/compile/internal/types2 21.629s ok cmd/covdata 7.949s ok cmd/cover 15.839s ok cmd/dist 1.019s ok cmd/distpack 1.017s ok cmd/doc 1.991s ok cmd/fix 1.825s ok cmd/go 685.838s ok cmd/go/internal/auth 1.017s ok cmd/go/internal/cache 3.565s ok cmd/go/internal/envcmd 1.044s ok cmd/go/internal/fsys 1.049s ok cmd/go/internal/generate 1.035s ok cmd/go/internal/get 1.033s ok cmd/go/internal/gover 1.021s ok cmd/go/internal/imports 1.033s ok cmd/go/internal/load 1.028s ok cmd/go/internal/lockedfile 3.453s ok cmd/go/internal/lockedfile/internal/filelock 2.059s ok cmd/go/internal/modconv 1.038s ok cmd/go/internal/modfetch 40.741s ok cmd/go/internal/modfetch/codehost 11.753s ok cmd/go/internal/modfetch/zip_sum_test 1.024s ok cmd/go/internal/modindex 1.625s ok cmd/go/internal/modload 50.094s ok cmd/go/internal/mvs 1.046s ok cmd/go/internal/par 1.108s ok cmd/go/internal/str 1.019s ok cmd/go/internal/test 1.042s ok cmd/go/internal/vcs 2.429s ok cmd/go/internal/vcweb 1.031s ok cmd/go/internal/vcweb/vcstest 5.654s ok cmd/go/internal/web 1.022s ok cmd/go/internal/work 2.143s ok cmd/gofmt 44.964s ok cmd/internal/archive 1.457s ok cmd/internal/buildid 1.599s ok cmd/internal/cov 1.306s ok cmd/internal/dwarf 1.019s ok cmd/internal/edit 1.017s ok cmd/internal/bootstrap_test 123.292s ok cmd/internal/goobj 18.968s ok cmd/internal/moddeps 13.104s ok cmd/internal/notsha256 1.024s ok cmd/internal/obj 1.451s ok cmd/internal/obj/ppc64 6.256s ok cmd/internal/obj/riscv 9.952s ok cmd/internal/obj/s390x 1.017s ok cmd/internal/obj/x86 1.911s ok cmd/internal/objabi 1.017s ok cmd/internal/pkgpath 5.093s ok cmd/internal/pkgpattern 1.022s ok cmd/internal/quoted 1.019s ok cmd/internal/src 1.020s ok cmd/internal/test2json 1.791s ok cmd/link 22.641s ok cmd/link/internal/benchmark 1.020s ok cmd/link/internal/ld 15.147s ok cmd/link/internal/loader 1.050s ok cmd/nm 9.218s ok cmd/objdump 5.244s ok cmd/pack 8.917s ok cmd/pprof 3.505s ok cmd/trace 1.287s ok cmd/vet 31.098s ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: archive/tar cpu: Intel(R) Xeon(R) CPU @ 2.20GHz Benchmark/Writer/USTAR-4 2574 39484 ns/op 1368 B/op 25 allocs/op Benchmark/Writer/GNU-4 2131 52505 ns/op 1862 B/op 37 allocs/op Benchmark/Writer/PAX-4 1384 77228 ns/op 2560 B/op 59 allocs/op Benchmark/Reader/USTAR-4 3600 30405 ns/op 5052 B/op 15 allocs/op Benchmark/Reader/GNU-4 6092 21021 ns/op 5220 B/op 15 allocs/op Benchmark/Reader/PAX-4 1816 63943 ns/op 8737 B/op 33 allocs/op PASS ok archive/tar 1.747s goos: linux goarch: amd64 pkg: archive/zip cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCompressedZipGarbage-4 1 352464793 ns/op 828576 B/op 82 allocs/op BenchmarkZip64Test-4 1 167822767 ns/op BenchmarkZip64TestSizes/4096-4 1536 89599 ns/op BenchmarkZip64TestSizes/1048576-4 118 856319 ns/op BenchmarkZip64TestSizes/67108864-4 1 140717647 ns/op PASS ok archive/zip 2.353s goos: linux goarch: amd64 pkg: bufio cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReaderCopyOptimal-4 227024 486.6 ns/op BenchmarkReaderCopyUnoptimal-4 142980 844.5 ns/op BenchmarkReaderCopyNoWriteTo-4 5670 19531 ns/op BenchmarkReaderWriteToOptimal-4 7377 15627 ns/op BenchmarkReaderReadString-4 126776 894.9 ns/op 144 B/op 1 allocs/op BenchmarkWriterCopyOptimal-4 204733 558.5 ns/op BenchmarkWriterCopyUnoptimal-4 205820 558.8 ns/op BenchmarkWriterCopyNoReadFrom-4 6654 19073 ns/op BenchmarkReaderEmpty-4 31027 3596 ns/op 4224 B/op 3 allocs/op BenchmarkWriterEmpty-4 29108 3966 ns/op 4096 B/op 1 allocs/op BenchmarkWriterFlush-4 562263 195.8 ns/op 0 B/op 0 allocs/op PASS ok bufio 2.687s goos: linux goarch: amd64 pkg: bytes cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadString-4 4844 21748 ns/op 1506.73 MB/s BenchmarkWriteByte-4 474 246089 ns/op 16.64 MB/s BenchmarkWriteRune-4 255 467615 ns/op 26.28 MB/s BenchmarkBufferNotEmptyWriteRead-4 31 3792913 ns/op BenchmarkBufferFullSmallReads-4 100 1061585 ns/op BenchmarkBufferWriteBlock/N4096-4 7335 18786 ns/op 14336 B/op 6 allocs/op BenchmarkBufferWriteBlock/N65536-4 361 286979 ns/op 260096 B/op 14 allocs/op BenchmarkBufferWriteBlock/N1048576-4 5 21230933 ns/op 4192275 B/op 22 allocs/op BenchmarkBufferAppendNoCopy-4 1 142027414 ns/op 118.13 MB/s 33554432 B/op 2 allocs/op BenchmarkIndexByte/10-4 4406398 25.54 ns/op 391.56 MB/s BenchmarkIndexByte/32-4 4379420 28.49 ns/op 1123.01 MB/s BenchmarkIndexByte/4K-4 873873 135.7 ns/op 30178.41 MB/s BenchmarkIndexBytePortable/10-4 801454 147.6 ns/op 67.73 MB/s BenchmarkIndexBytePortable/32-4 258264 453.5 ns/op 70.56 MB/s BenchmarkIndexBytePortable/4K-4 2164 53989 ns/op 75.87 MB/s BenchmarkIndexRune/10-4 1000000 102.9 ns/op 97.15 MB/s BenchmarkIndexRune/32-4 1000000 102.2 ns/op 313.15 MB/s BenchmarkIndexRune/4K-4 383102 312.7 ns/op 13098.41 MB/s BenchmarkIndexRuneASCII/10-4 4450750 26.46 ns/op 377.93 MB/s BenchmarkIndexRuneASCII/32-4 4128397 27.98 ns/op 1143.87 MB/s BenchmarkIndexRuneASCII/4K-4 879774 137.7 ns/op 29746.08 MB/s BenchmarkEqual/0-4 7167016 16.97 ns/op BenchmarkEqual/1-4 1423148 83.74 ns/op 11.94 MB/s BenchmarkEqual/6-4 1426299 84.25 ns/op 71.22 MB/s BenchmarkEqual/9-4 1405794 85.13 ns/op 105.72 MB/s BenchmarkEqual/15-4 1405099 85.63 ns/op 175.17 MB/s BenchmarkEqual/16-4 1461168 82.87 ns/op 193.08 MB/s BenchmarkEqual/20-4 1341564 86.24 ns/op 231.92 MB/s BenchmarkEqual/32-4 1383838 87.61 ns/op 365.25 MB/s BenchmarkEqual/4K-4 106909 1125 ns/op 3642.30 MB/s BenchmarkIndex/10-4 2968111 39.82 ns/op 251.11 MB/s BenchmarkIndex/32-4 3025714 40.06 ns/op 798.89 MB/s BenchmarkIndex/4K-4 18308 6603 ns/op 620.30 MB/s BenchmarkIndexEasy/10-4 2849874 41.64 ns/op 240.17 MB/s BenchmarkIndexEasy/32-4 3000236 40.07 ns/op 798.69 MB/s BenchmarkIndexEasy/4K-4 440143 253.6 ns/op 16149.49 MB/s BenchmarkCount/10-4 1466371 81.37 ns/op 122.90 MB/s BenchmarkCount/32-4 1405970 84.05 ns/op 380.72 MB/s BenchmarkCount/4K-4 18001 6739 ns/op 607.82 MB/s BenchmarkCountEasy/10-4 1499157 81.93 ns/op 122.06 MB/s BenchmarkCountEasy/32-4 1407776 85.05 ns/op 376.24 MB/s BenchmarkCountEasy/4K-4 422024 283.6 ns/op 14442.42 MB/s BenchmarkCountSingle/10-4 3659269 31.91 ns/op 313.39 MB/s BenchmarkCountSingle/32-4 3510024 35.47 ns/op 902.17 MB/s BenchmarkCountSingle/4K-4 816396 147.9 ns/op 27695.16 MB/s BenchmarkToUpper/#00-4 2812189 41.49 ns/op BenchmarkToUpper/ONLYUPPER-4 290655 407.5 ns/op BenchmarkToUpper/abc-4 497293 248.0 ns/op BenchmarkToUpper/AbC123-4 295356 421.0 ns/op BenchmarkToUpper/azAZ09_-4 267201 466.7 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 79440 1576 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 39338 3052 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 54716 2201 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 124056 953.5 ns/op BenchmarkToLower/#00-4 2750386 43.83 ns/op BenchmarkToLower/abc-4 455223 267.3 ns/op BenchmarkToLower/AbC123-4 280660 426.1 ns/op BenchmarkToLower/azAZ09_-4 266034 456.5 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 77959 1484 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 41028 2946 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 70069 1757 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 119961 1003 ns/op BenchmarkFields/ASCII/16-4 128941 976.0 ns/op 16.39 MB/s 48 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 8223 14249 ns/op 17.97 MB/s 704 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 558 217912 ns/op 18.80 MB/s 9472 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 31 3906135 ns/op 16.78 MB/s 147459 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 2 61416470 ns/op 17.07 MB/s 2269184 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 90104 1385 ns/op 11.56 MB/s 48 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 6001 20268 ns/op 12.63 MB/s 640 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 332 339524 ns/op 12.06 MB/s 25088 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 16 6703839 ns/op 9.78 MB/s 512256 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 1 128697720 ns/op 8.15 MB/s 11219200 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 144176 800.7 ns/op 19.98 MB/s 48 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 10000 10456 ns/op 24.48 MB/s 704 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 621 179804 ns/op 22.78 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 28 4004894 ns/op 16.36 MB/s 512256 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 89723225 ns/op 11.69 MB/s 11211008 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 119646 947.2 ns/op 16.89 MB/s 48 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 8703 14788 ns/op 17.31 MB/s 640 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 422 241648 ns/op 16.95 MB/s 25088 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 21 5113221 ns/op 12.82 MB/s 512256 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 1 101244384 ns/op 10.36 MB/s 11219200 B/op 24 allocs/op BenchmarkTrimSpace/NoTrim-4 1885417 64.21 ns/op BenchmarkTrimSpace/ASCII-4 942766 128.7 ns/op BenchmarkTrimSpace/SomeNonASCII-4 94682 1095 ns/op BenchmarkTrimSpace/JustNonASCII-4 49618 2521 ns/op BenchmarkToValidUTF8/Valid-4 474552 269.4 ns/op BenchmarkToValidUTF8/InvalidASCII-4 322508 374.1 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 96819 1230 ns/op BenchmarkIndexHard1-4 783 144362 ns/op BenchmarkIndexHard2-4 574 204218 ns/op BenchmarkIndexHard3-4 150 808718 ns/op BenchmarkIndexHard4-4 175 667216 ns/op BenchmarkLastIndexHard1-4 5 22035754 ns/op BenchmarkLastIndexHard2-4 4 29236229 ns/op BenchmarkLastIndexHard3-4 4 31569695 ns/op BenchmarkCountHard1-4 824 145830 ns/op BenchmarkCountHard2-4 591 207858 ns/op BenchmarkCountHard3-4 147 797899 ns/op BenchmarkSplitEmptySeparator-4 1 180780779 ns/op BenchmarkSplitSingleByteSeparator-4 10 11336464 ns/op BenchmarkSplitMultiByteSeparator-4 10 10347220 ns/op BenchmarkSplitNSingleByteSeparator-4 163086 622.4 ns/op BenchmarkSplitNMultiByteSeparator-4 67105 1679 ns/op BenchmarkRepeat-4 182592 629.2 ns/op BenchmarkRepeatLarge/256/1-4 148992 809.8 ns/op 316.12 MB/s BenchmarkRepeatLarge/256/16-4 188325 537.4 ns/op 476.33 MB/s BenchmarkRepeatLarge/512/1-4 105482 1088 ns/op 470.52 MB/s BenchmarkRepeatLarge/512/16-4 124050 824.2 ns/op 621.18 MB/s BenchmarkRepeatLarge/1024/1-4 62947 1630 ns/op 628.28 MB/s BenchmarkRepeatLarge/1024/16-4 79843 1363 ns/op 751.42 MB/s BenchmarkRepeatLarge/2048/1-4 43698 2714 ns/op 754.50 MB/s BenchmarkRepeatLarge/2048/16-4 49008 2190 ns/op 935.29 MB/s BenchmarkRepeatLarge/4096/1-4 26278 4582 ns/op 894.03 MB/s BenchmarkRepeatLarge/4096/16-4 25497 4098 ns/op 999.45 MB/s BenchmarkRepeatLarge/8192/1-4 14584 8900 ns/op 920.43 MB/s BenchmarkRepeatLarge/8192/16-4 14064 8314 ns/op 985.27 MB/s BenchmarkRepeatLarge/8192/4097-4 23684 4915 ns/op 833.52 MB/s BenchmarkRepeatLarge/16384/1-4 7983 14859 ns/op 1102.65 MB/s BenchmarkRepeatLarge/16384/16-4 7942 14801 ns/op 1106.95 MB/s BenchmarkRepeatLarge/16384/4097-4 9764 11809 ns/op 1040.85 MB/s BenchmarkRepeatLarge/32768/1-4 4683 28417 ns/op 1153.12 MB/s BenchmarkRepeatLarge/32768/16-4 5138 29406 ns/op 1114.33 MB/s BenchmarkRepeatLarge/32768/4097-4 4389 28458 ns/op 1007.76 MB/s BenchmarkRepeatLarge/65536/1-4 2132 52974 ns/op 1237.13 MB/s BenchmarkRepeatLarge/65536/16-4 2143 54398 ns/op 1204.75 MB/s BenchmarkRepeatLarge/65536/4097-4 2218 56029 ns/op 1096.85 MB/s BenchmarkRepeatLarge/131072/1-4 213 533551 ns/op 245.66 MB/s BenchmarkRepeatLarge/131072/16-4 219 522049 ns/op 251.07 MB/s BenchmarkRepeatLarge/131072/4097-4 222 522218 ns/op 243.21 MB/s BenchmarkRepeatLarge/262144/1-4 100 1065006 ns/op 246.14 MB/s BenchmarkRepeatLarge/262144/16-4 100 1051102 ns/op 249.40 MB/s BenchmarkRepeatLarge/262144/4097-4 100 1046733 ns/op 246.59 MB/s BenchmarkRepeatLarge/524288/1-4 58 2165187 ns/op 242.14 MB/s BenchmarkRepeatLarge/524288/16-4 61 2051359 ns/op 255.58 MB/s BenchmarkRepeatLarge/524288/4097-4 49 2075959 ns/op 250.64 MB/s BenchmarkRepeatLarge/1048576/1-4 30 4182304 ns/op 250.72 MB/s BenchmarkRepeatLarge/1048576/16-4 31 4186749 ns/op 250.45 MB/s BenchmarkRepeatLarge/1048576/4097-4 25 4176898 ns/op 250.12 MB/s BenchmarkRepeatLarge/2097152/1-4 14 7864853 ns/op 266.65 MB/s BenchmarkRepeatLarge/2097152/16-4 14 7909704 ns/op 265.14 MB/s BenchmarkRepeatLarge/2097152/4097-4 14 8116724 ns/op 257.93 MB/s BenchmarkRepeatLarge/4194304/1-4 7 16574284 ns/op 253.06 MB/s BenchmarkRepeatLarge/4194304/16-4 7 16157807 ns/op 259.58 MB/s BenchmarkRepeatLarge/4194304/4097-4 7 16645625 ns/op 251.79 MB/s BenchmarkRepeatLarge/8388608/1-4 3 34955154 ns/op 239.98 MB/s BenchmarkRepeatLarge/8388608/16-4 4 32839733 ns/op 255.44 MB/s BenchmarkRepeatLarge/8388608/4097-4 3 35262271 ns/op 237.83 MB/s BenchmarkRepeatLarge/16777216/1-4 2 65405962 ns/op 256.51 MB/s BenchmarkRepeatLarge/16777216/16-4 2 62717746 ns/op 267.50 MB/s BenchmarkRepeatLarge/16777216/4097-4 2 64808580 ns/op 258.87 MB/s BenchmarkRepeatLarge/33554432/1-4 1 122203571 ns/op 274.58 MB/s BenchmarkRepeatLarge/33554432/16-4 1 120476041 ns/op 278.52 MB/s BenchmarkRepeatLarge/33554432/4097-4 1 123517478 ns/op 271.66 MB/s BenchmarkRepeatLarge/67108864/1-4 1 246900083 ns/op 271.81 MB/s BenchmarkRepeatLarge/67108864/16-4 1 251409999 ns/op 266.93 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 247117486 ns/op 271.57 MB/s BenchmarkRepeatLarge/134217728/1-4 1 496057218 ns/op 270.57 MB/s BenchmarkRepeatLarge/134217728/16-4 1 499236854 ns/op 268.85 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 498323826 ns/op 269.34 MB/s BenchmarkRepeatLarge/268435456/1-4 1 988270993 ns/op 271.62 MB/s BenchmarkRepeatLarge/268435456/16-4 1 963051437 ns/op 278.73 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 967822768 ns/op 277.36 MB/s BenchmarkRepeatLarge/536870912/1-4 1 1935274034 ns/op 277.41 MB/s BenchmarkRepeatLarge/536870912/16-4 1 1875109840 ns/op 286.31 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 1934922430 ns/op 277.46 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 3749690529 ns/op 286.35 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 3674683082 ns/op 292.20 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 3699358854 ns/op 290.25 MB/s BenchmarkBytesCompare/1-4 8883626 13.02 ns/op BenchmarkBytesCompare/2-4 8831530 12.56 ns/op BenchmarkBytesCompare/4-4 9268080 12.31 ns/op BenchmarkBytesCompare/8-4 9838245 11.33 ns/op BenchmarkBytesCompare/16-4 9744363 11.30 ns/op BenchmarkBytesCompare/32-4 9183980 12.80 ns/op BenchmarkBytesCompare/64-4 8737758 13.66 ns/op BenchmarkBytesCompare/128-4 7587154 15.81 ns/op BenchmarkBytesCompare/256-4 5438521 22.16 ns/op BenchmarkBytesCompare/512-4 3854546 30.08 ns/op BenchmarkBytesCompare/1024-4 2426605 47.58 ns/op BenchmarkBytesCompare/2048-4 1404409 84.31 ns/op BenchmarkIndexAnyASCII/1:1-4 2319254 51.89 ns/op BenchmarkIndexAnyASCII/1:2-4 2333241 50.44 ns/op BenchmarkIndexAnyASCII/1:4-4 2394247 49.99 ns/op BenchmarkIndexAnyASCII/1:8-4 2362758 50.64 ns/op BenchmarkIndexAnyASCII/1:16-4 2381673 50.67 ns/op BenchmarkIndexAnyASCII/1:32-4 2360491 50.67 ns/op BenchmarkIndexAnyASCII/1:64-4 2365988 51.79 ns/op BenchmarkIndexAnyASCII/16:1-4 2012910 57.73 ns/op BenchmarkIndexAnyASCII/16:2-4 417204 281.9 ns/op BenchmarkIndexAnyASCII/16:4-4 411663 285.1 ns/op BenchmarkIndexAnyASCII/16:8-4 392905 287.3 ns/op BenchmarkIndexAnyASCII/16:16-4 370292 305.8 ns/op BenchmarkIndexAnyASCII/16:32-4 352156 330.0 ns/op BenchmarkIndexAnyASCII/16:64-4 308976 373.3 ns/op BenchmarkIndexAnyASCII/256:1-4 1776225 64.17 ns/op BenchmarkIndexAnyASCII/256:2-4 33026 3610 ns/op BenchmarkIndexAnyASCII/256:4-4 32311 3627 ns/op BenchmarkIndexAnyASCII/256:8-4 32000 3652 ns/op BenchmarkIndexAnyASCII/256:16-4 32970 3656 ns/op BenchmarkIndexAnyASCII/256:32-4 32773 3662 ns/op BenchmarkIndexAnyASCII/256:64-4 31844 3722 ns/op BenchmarkIndexAnyUTF8/1:1-4 2284260 52.32 ns/op BenchmarkIndexAnyUTF8/1:2-4 2328013 51.63 ns/op BenchmarkIndexAnyUTF8/1:4-4 2331871 51.72 ns/op BenchmarkIndexAnyUTF8/1:8-4 2331704 52.12 ns/op BenchmarkIndexAnyUTF8/1:16-4 2333084 51.48 ns/op BenchmarkIndexAnyUTF8/1:32-4 2368539 50.98 ns/op BenchmarkIndexAnyUTF8/1:64-4 2295969 52.10 ns/op BenchmarkIndexAnyUTF8/16:1-4 138397 813.2 ns/op BenchmarkIndexAnyUTF8/16:2-4 269478 441.8 ns/op BenchmarkIndexAnyUTF8/16:4-4 262682 444.0 ns/op BenchmarkIndexAnyUTF8/16:8-4 266650 436.6 ns/op BenchmarkIndexAnyUTF8/16:16-4 267913 449.8 ns/op BenchmarkIndexAnyUTF8/16:32-4 252772 452.6 ns/op BenchmarkIndexAnyUTF8/16:64-4 261950 468.5 ns/op BenchmarkIndexAnyUTF8/256:1-4 10009 11898 ns/op BenchmarkIndexAnyUTF8/256:2-4 19068 6185 ns/op BenchmarkIndexAnyUTF8/256:4-4 19081 6249 ns/op BenchmarkIndexAnyUTF8/256:8-4 19244 6233 ns/op BenchmarkIndexAnyUTF8/256:16-4 19245 6264 ns/op BenchmarkIndexAnyUTF8/256:32-4 18542 6472 ns/op BenchmarkIndexAnyUTF8/256:64-4 18387 6516 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2276931 53.17 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2291688 51.93 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2329834 52.00 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2308891 51.43 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2311303 51.37 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2288575 51.31 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2312155 50.84 ns/op BenchmarkLastIndexAnyASCII/16:1-4 330151 361.0 ns/op BenchmarkLastIndexAnyASCII/16:2-4 321417 365.3 ns/op BenchmarkLastIndexAnyASCII/16:4-4 318054 369.6 ns/op BenchmarkLastIndexAnyASCII/16:8-4 318768 376.0 ns/op BenchmarkLastIndexAnyASCII/16:16-4 299514 392.3 ns/op BenchmarkLastIndexAnyASCII/16:32-4 286290 422.6 ns/op BenchmarkLastIndexAnyASCII/16:64-4 252766 470.4 ns/op BenchmarkLastIndexAnyASCII/256:1-4 22482 5031 ns/op BenchmarkLastIndexAnyASCII/256:2-4 24117 5186 ns/op BenchmarkLastIndexAnyASCII/256:4-4 23979 5096 ns/op BenchmarkLastIndexAnyASCII/256:8-4 23751 5088 ns/op BenchmarkLastIndexAnyASCII/256:16-4 23923 5143 ns/op BenchmarkLastIndexAnyASCII/256:32-4 23479 5168 ns/op BenchmarkLastIndexAnyASCII/256:64-4 23430 5130 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2274990 52.89 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2312804 51.15 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2302069 52.20 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2317796 53.29 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2325556 52.05 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2317478 52.22 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2280927 52.48 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 224148 520.2 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 268574 446.0 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 268818 439.3 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 268662 457.4 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 265536 447.0 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 260953 461.9 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 255654 463.2 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 16414 7230 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 19152 6222 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 18943 6256 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 19161 6230 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 18944 6443 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 17826 6611 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 18499 6476 ns/op BenchmarkTrimASCII/1:1-4 2535079 47.37 ns/op BenchmarkTrimASCII/1:2-4 2136415 56.17 ns/op BenchmarkTrimASCII/1:4-4 2103352 56.93 ns/op BenchmarkTrimASCII/1:8-4 1890686 62.76 ns/op BenchmarkTrimASCII/1:16-4 1619222 74.04 ns/op BenchmarkTrimASCII/16:1-4 363236 284.8 ns/op BenchmarkTrimASCII/16:2-4 310338 377.8 ns/op BenchmarkTrimASCII/16:4-4 293872 378.6 ns/op BenchmarkTrimASCII/16:8-4 313807 383.2 ns/op BenchmarkTrimASCII/16:16-4 277687 402.2 ns/op BenchmarkTrimASCII/256:1-4 32341 3759 ns/op BenchmarkTrimASCII/256:2-4 21715 5358 ns/op BenchmarkTrimASCII/256:4-4 23172 5313 ns/op BenchmarkTrimASCII/256:8-4 23431 5100 ns/op BenchmarkTrimASCII/256:16-4 23253 5189 ns/op BenchmarkTrimASCII/4096:1-4 1966 60100 ns/op BenchmarkTrimASCII/4096:2-4 1474 82270 ns/op BenchmarkTrimASCII/4096:4-4 1453 80416 ns/op BenchmarkTrimASCII/4096:8-4 1426 82918 ns/op BenchmarkTrimASCII/4096:16-4 1420 82258 ns/op BenchmarkTrimByte-4 1426201 83.60 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 12750 9254 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 12804 9214 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 678 172923 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 1284 87360 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 2518 44776 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 4410 23394 ns/op BenchmarkCompareBytesEqual-4 9664995 12.19 ns/op BenchmarkCompareBytesToNil-4 11684500 10.38 ns/op BenchmarkCompareBytesEmpty-4 11704441 10.31 ns/op BenchmarkCompareBytesIdentical-4 11313903 10.54 ns/op BenchmarkCompareBytesSameLength-4 10653542 11.32 ns/op BenchmarkCompareBytesDifferentLength-4 10022661 11.92 ns/op BenchmarkCompareBytesBigUnaligned/offset=1-4 1388 81791 ns/op 12820.34 MB/s BenchmarkCompareBytesBigUnaligned/offset=2-4 1388 73015 ns/op 14361.31 MB/s BenchmarkCompareBytesBigUnaligned/offset=3-4 1405 75675 ns/op 13856.45 MB/s BenchmarkCompareBytesBigUnaligned/offset=4-4 1772 70699 ns/op 14831.59 MB/s BenchmarkCompareBytesBigUnaligned/offset=5-4 1710 61850 ns/op 16953.71 MB/s BenchmarkCompareBytesBigUnaligned/offset=6-4 1785 79809 ns/op 13138.72 MB/s BenchmarkCompareBytesBigUnaligned/offset=7-4 1916 84473 ns/op 12413.28 MB/s BenchmarkCompareBytesBig-4 1894 71909 ns/op 14582.15 MB/s BenchmarkCompareBytesBigIdentical-4 12206065 9.865 ns/op 106289140.94 MB/s PASS ok bytes 71.209s goos: linux goarch: amd64 pkg: compress/bzip2 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecodeDigits-4 2 78868572 ns/op 1.27 MB/s 3616376 B/op 52 allocs/op BenchmarkDecodeNewton-4 1 322582616 ns/op 1.76 MB/s 3629856 B/op 50 allocs/op BenchmarkDecodeRand-4 5 26118293 ns/op 0.63 MB/s 3645019 B/op 51 allocs/op PASS ok compress/bzip2 2.401s goos: linux goarch: amd64 pkg: compress/flate cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecode/Digits/Huffman/1e4-4 60 1848351 ns/op 5.41 MB/s 42590 B/op 5 allocs/op BenchmarkDecode/Digits/Huffman/1e5-4 6 16826742 ns/op 5.94 MB/s 43353 B/op 6 allocs/op BenchmarkDecode/Digits/Huffman/1e6-4 1 169789580 ns/op 5.89 MB/s 49264 B/op 9 allocs/op BenchmarkDecode/Digits/Speed/1e4-4 61 1803621 ns/op 5.54 MB/s 42906 B/op 8 allocs/op BenchmarkDecode/Digits/Speed/1e5-4 6 18164895 ns/op 5.51 MB/s 43641 B/op 12 allocs/op BenchmarkDecode/Digits/Speed/1e6-4 1 186030542 ns/op 5.38 MB/s 53024 B/op 77 allocs/op BenchmarkDecode/Digits/Default/1e4-4 64 1807242 ns/op 5.53 MB/s 42116 B/op 7 allocs/op BenchmarkDecode/Digits/Default/1e5-4 7 16779320 ns/op 5.96 MB/s 43229 B/op 13 allocs/op BenchmarkDecode/Digits/Default/1e6-4 1 173208748 ns/op 5.77 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Digits/Compression/1e4-4 63 1761540 ns/op 5.68 MB/s 42923 B/op 7 allocs/op BenchmarkDecode/Digits/Compression/1e5-4 6 17231950 ns/op 5.80 MB/s 45002 B/op 14 allocs/op BenchmarkDecode/Digits/Compression/1e6-4 1 171045591 ns/op 5.85 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Newton/Huffman/1e4-4 56 1926089 ns/op 5.19 MB/s 43882 B/op 14 allocs/op BenchmarkDecode/Newton/Huffman/1e5-4 6 18673553 ns/op 5.36 MB/s 47833 B/op 24 allocs/op BenchmarkDecode/Newton/Huffman/1e6-4 1 188869691 ns/op 5.29 MB/s 88512 B/op 165 allocs/op BenchmarkDecode/Newton/Speed/1e4-4 78 1538337 ns/op 6.50 MB/s 43580 B/op 18 allocs/op BenchmarkDecode/Newton/Speed/1e5-4 8 12731859 ns/op 7.85 MB/s 46858 B/op 32 allocs/op BenchmarkDecode/Newton/Speed/1e6-4 1 129243844 ns/op 7.74 MB/s 89696 B/op 232 allocs/op BenchmarkDecode/Newton/Default/1e4-4 82 1372619 ns/op 7.29 MB/s 42756 B/op 15 allocs/op BenchmarkDecode/Newton/Default/1e5-4 10 10245191 ns/op 9.76 MB/s 45396 B/op 32 allocs/op BenchmarkDecode/Newton/Default/1e6-4 1 100011227 ns/op 10.00 MB/s 70320 B/op 162 allocs/op BenchmarkDecode/Newton/Compression/1e4-4 81 1370935 ns/op 7.29 MB/s 43182 B/op 15 allocs/op BenchmarkDecode/Newton/Compression/1e5-4 10 10037579 ns/op 9.96 MB/s 44575 B/op 32 allocs/op BenchmarkDecode/Newton/Compression/1e6-4 1 103698583 ns/op 9.64 MB/s 72120 B/op 154 allocs/op BenchmarkEncode/Digits/Huffman/1e4-4 85 1249311 ns/op 8.00 MB/s BenchmarkEncode/Digits/Huffman/1e5-4 9 11778516 ns/op 8.49 MB/s BenchmarkEncode/Digits/Huffman/1e6-4 1 119196153 ns/op 8.39 MB/s BenchmarkEncode/Digits/Speed/1e4-4 45 2394318 ns/op 4.18 MB/s BenchmarkEncode/Digits/Speed/1e5-4 5 20974376 ns/op 4.77 MB/s BenchmarkEncode/Digits/Speed/1e6-4 1 211059114 ns/op 4.74 MB/s BenchmarkEncode/Digits/Default/1e4-4 16 7094584 ns/op 1.41 MB/s BenchmarkEncode/Digits/Default/1e5-4 2 87935208 ns/op 1.14 MB/s BenchmarkEncode/Digits/Default/1e6-4 1 871788283 ns/op 1.15 MB/s BenchmarkEncode/Digits/Compression/1e4-4 16 6843398 ns/op 1.46 MB/s BenchmarkEncode/Digits/Compression/1e5-4 2 83040592 ns/op 1.20 MB/s BenchmarkEncode/Digits/Compression/1e6-4 1 879678078 ns/op 1.14 MB/s BenchmarkEncode/Newton/Huffman/1e4-4 74 1517343 ns/op 6.59 MB/s BenchmarkEncode/Newton/Huffman/1e5-4 8 13238705 ns/op 7.55 MB/s BenchmarkEncode/Newton/Huffman/1e6-4 1 131046981 ns/op 7.63 MB/s BenchmarkEncode/Newton/Speed/1e4-4 52 2233611 ns/op 4.48 MB/s BenchmarkEncode/Newton/Speed/1e5-4 6 18110512 ns/op 5.52 MB/s BenchmarkEncode/Newton/Speed/1e6-4 1 177123400 ns/op 5.65 MB/s BenchmarkEncode/Newton/Default/1e4-4 16 6902541 ns/op 1.45 MB/s BenchmarkEncode/Newton/Default/1e5-4 2 74517869 ns/op 1.34 MB/s BenchmarkEncode/Newton/Default/1e6-4 1 751850432 ns/op 1.33 MB/s BenchmarkEncode/Newton/Compression/1e4-4 18 6622594 ns/op 1.51 MB/s BenchmarkEncode/Newton/Compression/1e5-4 2 91299934 ns/op 1.10 MB/s BenchmarkEncode/Newton/Compression/1e6-4 1 951779888 ns/op 1.05 MB/s PASS ok compress/flate 16.939s goos: linux goarch: amd64 pkg: compress/lzw cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecoder/1e4-4 51 2313458 ns/op 4.32 MB/s BenchmarkDecoder/1e-Reuse4-4 50 2360905 ns/op 4.24 MB/s BenchmarkDecoder/1e5-4 5 22259567 ns/op 4.49 MB/s BenchmarkDecoder/1e-Reuse5-4 5 22600010 ns/op 4.42 MB/s BenchmarkDecoder/1e6-4 1 225166456 ns/op 4.44 MB/s BenchmarkDecoder/1e-Reuse6-4 1 224879042 ns/op 4.45 MB/s BenchmarkEncoder/1e4-4 51 2176502 ns/op 4.59 MB/s BenchmarkEncoder/1e-Reuse4-4 64 1861245 ns/op 5.37 MB/s BenchmarkEncoder/1e5-4 6 20484752 ns/op 4.88 MB/s BenchmarkEncoder/1e-Reuse5-4 6 18813011 ns/op 5.32 MB/s BenchmarkEncoder/1e6-4 1 194947070 ns/op 5.13 MB/s BenchmarkEncoder/1e-Reuse6-4 1 192895856 ns/op 5.18 MB/s PASS ok compress/lzw 3.798s goos: linux goarch: amd64 pkg: container/heap cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDup-4 30 3904235 ns/op PASS ok container/heap 1.239s goos: linux goarch: amd64 pkg: context cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCommonParentCancel-4 19924 6208 ns/op BenchmarkWithTimeout/concurrency=40-4 4969 25180 ns/op BenchmarkWithTimeout/concurrency=4000-4 5046 25064 ns/op BenchmarkWithTimeout/concurrency=400000-4 6006 22989 ns/op BenchmarkCancelTree/depth=1/Root=Background-4 332538 301.7 ns/op BenchmarkCancelTree/depth=1/Root=OpenCanceler-4 9800 10944 ns/op BenchmarkCancelTree/depth=1/Root=ClosedCanceler-4 14410 8230 ns/op BenchmarkCancelTree/depth=10/Root=Background-4 2522 71309 ns/op BenchmarkCancelTree/depth=10/Root=OpenCanceler-4 1449 74800 ns/op BenchmarkCancelTree/depth=10/Root=ClosedCanceler-4 2092 48974 ns/op BenchmarkCancelTree/depth=100/Root=Background-4 226 535404 ns/op BenchmarkCancelTree/depth=100/Root=OpenCanceler-4 162 753551 ns/op BenchmarkCancelTree/depth=100/Root=ClosedCanceler-4 243 480775 ns/op BenchmarkCancelTree/depth=1000/Root=Background-4 21 5648825 ns/op BenchmarkCancelTree/depth=1000/Root=OpenCanceler-4 12 9283298 ns/op BenchmarkCancelTree/depth=1000/Root=ClosedCanceler-4 24 4800635 ns/op BenchmarkCheckCanceled/Err-4 253036 465.0 ns/op BenchmarkCheckCanceled/Done-4 408748 292.0 ns/op BenchmarkContextCancelDone-4 469454 243.1 ns/op BenchmarkDeepValueNewGoRoutine/depth=10-4 24318 5026 ns/op BenchmarkDeepValueNewGoRoutine/depth=20-4 21990 5740 ns/op BenchmarkDeepValueNewGoRoutine/depth=30-4 19875 6220 ns/op BenchmarkDeepValueNewGoRoutine/depth=50-4 16242 7379 ns/op BenchmarkDeepValueNewGoRoutine/depth=100-4 10000 10244 ns/op BenchmarkDeepValueSameGoRoutine/depth=10-4 524127 230.0 ns/op BenchmarkDeepValueSameGoRoutine/depth=20-4 294460 403.4 ns/op BenchmarkDeepValueSameGoRoutine/depth=30-4 206665 579.7 ns/op BenchmarkDeepValueSameGoRoutine/depth=50-4 129410 927.0 ns/op BenchmarkDeepValueSameGoRoutine/depth=100-4 66679 1808 ns/op PASS ok context 14.919s goos: linux goarch: amd64 pkg: crypto/aes cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncrypt-4 1712290 69.73 ns/op 229.45 MB/s BenchmarkDecrypt-4 1737565 69.24 ns/op 231.08 MB/s BenchmarkExpand-4 986104 120.0 ns/op PASS ok crypto/aes 1.526s goos: linux goarch: amd64 pkg: crypto/cipher cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAESGCM/Open-128-64-4 174147 655.7 ns/op 97.60 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-64-4 368455 295.7 ns/op 216.46 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-64-4 177015 678.2 ns/op 94.37 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-64-4 370380 310.5 ns/op 206.14 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-1350-4 116854 1017 ns/op 1327.43 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-1350-4 177576 660.6 ns/op 2043.51 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-1350-4 106357 1142 ns/op 1182.39 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-1350-4 147841 792.1 ns/op 1704.28 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-8192-4 41112 2895 ns/op 2829.61 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-8192-4 52712 2293 ns/op 3573.25 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-8192-4 34143 3555 ns/op 2304.47 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-8192-4 39652 3015 ns/op 2717.14 MB/s 0 B/op 0 allocs/op BenchmarkAESCFBEncrypt1K-4 6765 16922 ns/op 60.22 MB/s BenchmarkAESCFBDecrypt1K-4 7140 16309 ns/op 62.48 MB/s BenchmarkAESCFBDecrypt8K-4 933 129430 ns/op 63.25 MB/s BenchmarkAESOFB1K-4 10000 11560 ns/op 88.15 MB/s BenchmarkAESCTR1K-4 13212 8651 ns/op 117.79 MB/s BenchmarkAESCTR8K-4 1724 67626 ns/op 121.06 MB/s BenchmarkAESCBCEncrypt1K-4 14394 8319 ns/op 123.09 MB/s BenchmarkAESCBCDecrypt1K-4 17803 6675 ns/op 153.41 MB/s PASS ok crypto/cipher 3.870s goos: linux goarch: amd64 pkg: crypto/des cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncrypt-4 74486 1576 ns/op 5.08 MB/s BenchmarkDecrypt-4 80215 1476 ns/op 5.42 MB/s BenchmarkTDESEncrypt-4 29997 3944 ns/op 2.03 MB/s BenchmarkTDESDecrypt-4 30482 3907 ns/op 2.05 MB/s PASS ok crypto/des 1.614s goos: linux goarch: amd64 pkg: crypto/ecdh cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkECDH/P256-4 921 121503 ns/op 760 B/op 12 allocs/op BenchmarkECDH/P384-4 15 7556948 ns/op 1085 B/op 21 allocs/op BenchmarkECDH/P521-4 6 19862801 ns/op 1538 B/op 21 allocs/op BenchmarkECDH/X25519-4 97 1225463 ns/op 375 B/op 9 allocs/op PASS ok crypto/ecdh 1.616s goos: linux goarch: amd64 pkg: crypto/ecdsa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSign/P256-4 1608 67128 ns/op 2512 B/op 33 allocs/op BenchmarkSign/P384-4 34 3427612 ns/op 2679 B/op 34 allocs/op BenchmarkSign/P521-4 14 8564897 ns/op 3064 B/op 35 allocs/op BenchmarkVerify/P256-4 942 124804 ns/op 432 B/op 8 allocs/op BenchmarkVerify/P384-4 12 8421902 ns/op 592 B/op 12 allocs/op BenchmarkVerify/P521-4 5 22088122 ns/op 912 B/op 12 allocs/op BenchmarkGenerateKey/P256-4 4063 28874 ns/op 895 B/op 14 allocs/op BenchmarkGenerateKey/P384-4 63 1916748 ns/op 1095 B/op 17 allocs/op BenchmarkGenerateKey/P521-4 24 4961274 ns/op 1414 B/op 17 allocs/op PASS ok crypto/ecdsa 2.567s goos: linux goarch: amd64 pkg: crypto/ed25519 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkKeyGeneration-4 325 352801 ns/op BenchmarkNewKeyFromSeed-4 334 358705 ns/op BenchmarkSigning-4 307 384595 ns/op BenchmarkVerification-4 216 551124 ns/op PASS ok crypto/ed25519 1.651s goos: linux goarch: amd64 pkg: crypto/elliptic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScalarBaseMult/P256-4 5056 23474 ns/op 368 B/op 6 allocs/op BenchmarkScalarBaseMult/P224-4 154 780972 ns/op 376 B/op 9 allocs/op BenchmarkScalarBaseMult/P384-4 57 2009389 ns/op 504 B/op 9 allocs/op BenchmarkScalarBaseMult/P521-4 22 5044958 ns/op 696 B/op 9 allocs/op BenchmarkScalarMult/P256-4 1347 86614 ns/op 448 B/op 7 allocs/op BenchmarkScalarMult/P224-4 60 1915372 ns/op 440 B/op 10 allocs/op BenchmarkScalarMult/P384-4 21 5271036 ns/op 616 B/op 10 allocs/op BenchmarkScalarMult/P521-4 7 14694083 ns/op 840 B/op 10 allocs/op BenchmarkMarshalUnmarshal/P256/Uncompressed-4 12212 9202 ns/op 544 B/op 8 allocs/op BenchmarkMarshalUnmarshal/P256/Compressed-4 5576 20141 ns/op 592 B/op 9 allocs/op BenchmarkMarshalUnmarshal/P224/Uncompressed-4 3626 29830 ns/op 560 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P224/Compressed-4 85 1295011 ns/op 592 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P384/Uncompressed-4 2496 47105 ns/op 784 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P384/Compressed-4 298 393251 ns/op 848 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P521/Uncompressed-4 1522 79923 ns/op 1104 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P521/Compressed-4 93 1265858 ns/op 1184 B/op 15 allocs/op PASS ok crypto/elliptic 3.392s goos: linux goarch: amd64 pkg: crypto/hmac cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHMACSHA256_1K-4 14666 8033 ns/op 127.47 MB/s BenchmarkHMACSHA256_32-4 24363 4922 ns/op 6.50 MB/s BenchmarkNewWriteSum-4 10000 10118 ns/op 3.16 MB/s PASS ok crypto/hmac 1.499s goos: linux goarch: amd64 pkg: crypto/internal/bigmod cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkModAdd-4 52592 2241 ns/op BenchmarkModSub-4 51639 2237 ns/op BenchmarkMontgomeryRepr-4 26590 4461 ns/op BenchmarkMontgomeryMul-4 27200 4503 ns/op BenchmarkModMul-4 13124 9271 ns/op BenchmarkExpBig-4 15 7369401 ns/op BenchmarkExp-4 6 18006565 ns/op PASS ok crypto/internal/bigmod 2.178s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncodingDecoding-4 3129 33816 ns/op BenchmarkScalarBaseMult-4 346 337688 ns/op BenchmarkScalarMult-4 154 764746 ns/op BenchmarkVarTimeDoubleScalarBaseMult-4 234 516135 ns/op PASS ok crypto/internal/edwards25519 1.638s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519/field cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAdd-4 508580 206.9 ns/op BenchmarkMultiply-4 4276812 28.33 ns/op BenchmarkSquare-4 5287286 22.72 ns/op BenchmarkInvert-4 24750 4872 ns/op BenchmarkMult32-4 1516101 78.94 ns/op PASS ok crypto/internal/edwards25519/field 1.801s goos: linux goarch: amd64 pkg: crypto/internal/nistec cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScalarMult/P224-4 55 1847134 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P256-4 1546 75650 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P384-4 21 5171534 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P521-4 7 14794477 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P224-4 172 667226 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P256-4 7904 15259 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P384-4 66 1704368 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P521-4 25 4370779 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec 2.074s goos: linux goarch: amd64 pkg: crypto/internal/nistec/fiat cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMul/P224-4 608150 186.4 ns/op 0 B/op 0 allocs/op BenchmarkMul/P384-4 320224 366.5 ns/op 0 B/op 0 allocs/op BenchmarkMul/P521-4 117742 1016 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P224-4 661318 181.2 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P384-4 319794 369.8 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P521-4 115482 1013 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec/fiat 1.770s goos: linux goarch: amd64 pkg: crypto/md5 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes-4 117703 1001 ns/op 7.99 MB/s BenchmarkHash64-4 127929 914.3 ns/op 70.00 MB/s BenchmarkHash128-4 114673 1025 ns/op 124.87 MB/s BenchmarkHash256-4 92562 1262 ns/op 202.90 MB/s BenchmarkHash512-4 67555 1772 ns/op 288.93 MB/s BenchmarkHash1K-4 43956 2702 ns/op 378.96 MB/s BenchmarkHash8K-4 7311 16172 ns/op 506.55 MB/s BenchmarkHash1M-4 60 1969830 ns/op 532.32 MB/s BenchmarkHash8M-4 7 15745958 ns/op 532.75 MB/s BenchmarkHash8BytesUnaligned-4 119059 986.6 ns/op 8.11 MB/s BenchmarkHash1KUnaligned-4 43734 2747 ns/op 372.80 MB/s BenchmarkHash8KUnaligned-4 7287 16391 ns/op 499.80 MB/s PASS ok crypto/md5 2.707s goos: linux goarch: amd64 pkg: crypto/rand cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPrime-4 2 168422162 ns/op PASS ok crypto/rand 1.456s goos: linux goarch: amd64 pkg: crypto/rc4 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRC4_128-4 13204 9242 ns/op 13.85 MB/s BenchmarkRC4_1K-4 1586 72957 ns/op 14.04 MB/s BenchmarkRC4_8K-4 206 581915 ns/op 13.91 MB/s PASS ok crypto/rc4 1.541s goos: linux goarch: amd64 pkg: crypto/rsa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecryptPKCS1v15/2048-4 10 10490646 ns/op BenchmarkDecryptPKCS1v15/3072-4 5 23615044 ns/op BenchmarkDecryptPKCS1v15/4096-4 3 41968135 ns/op BenchmarkEncryptPKCS1v15/2048-4 43 2650129 ns/op BenchmarkDecryptOAEP/2048-4 10 10385028 ns/op BenchmarkEncryptOAEP/2048-4 42 2644065 ns/op BenchmarkSignPKCS1v15/2048-4 10 11823163 ns/op BenchmarkVerifyPKCS1v15/2048-4 43 2619741 ns/op BenchmarkSignPSS/2048-4 10 10591258 ns/op BenchmarkVerifyPSS/2048-4 44 2738780 ns/op PASS ok crypto/rsa 2.632s goos: linux goarch: amd64 pkg: crypto/sha1 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 102807 1109 ns/op 7.21 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum-4 119515 933.7 ns/op 8.57 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/New-4 73221 1620 ns/op 197.55 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/Sum-4 84472 1391 ns/op 230.08 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 47038 2516 ns/op 406.95 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum-4 51525 2264 ns/op 452.20 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 9402 11792 ns/op 694.71 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum-4 9991 11756 ns/op 696.81 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha1 2.074s goos: linux goarch: amd64 pkg: crypto/sha256 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 76993 1466 ns/op 5.46 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum224-4 92028 1249 ns/op 6.41 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 88918 1304 ns/op 6.13 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 25353 4679 ns/op 218.85 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum224-4 25898 4439 ns/op 230.68 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 26172 4636 ns/op 220.88 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 4173 29081 ns/op 281.70 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum224-4 4230 28660 ns/op 285.84 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 4197 28857 ns/op 283.88 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha256 2.297s goos: linux goarch: amd64 pkg: crypto/sha512 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 58678 2024 ns/op 3.95 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum384-4 73663 1602 ns/op 4.99 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum512-4 66502 1824 ns/op 4.39 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 27895 4233 ns/op 241.89 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum384-4 31598 3811 ns/op 268.68 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum512-4 29312 3989 ns/op 256.72 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 5050 20575 ns/op 398.16 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum384-4 5977 19868 ns/op 412.32 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum512-4 5803 20136 ns/op 406.83 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha512 2.280s goos: linux goarch: amd64 pkg: crypto/subtle cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkConstantTimeByteEq-4 19666174 6.110 ns/op BenchmarkConstantTimeEq-4 19519231 6.147 ns/op BenchmarkConstantTimeLessOrEq-4 19373570 6.149 ns/op BenchmarkXORBytes/8Bytes-4 4798575 24.87 ns/op 321.71 MB/s BenchmarkXORBytes/128Bytes-4 3570171 29.98 ns/op 4270.11 MB/s BenchmarkXORBytes/2048Bytes-4 917814 131.2 ns/op 15608.74 MB/s BenchmarkXORBytes/32768Bytes-4 61017 1962 ns/op 16697.31 MB/s PASS ok crypto/subtle 2.377s goos: linux goarch: amd64 pkg: crypto/tls cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCertCache/0-4 156 844872 ns/op BenchmarkCertCache/1-4 178 858428 ns/op BenchmarkCertCache/2-4 138 881650 ns/op BenchmarkCertCache/3-4 142 718236 ns/op BenchmarkHandshakeServer/RSA-4 15 7510486 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv13-4 14 8258148 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv12-4 15 7711362 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv13-4 88 1192780 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv12-4 152 814668 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv13-4 48 2449842 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv12-4 61 2010385 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv13-4 4 33781231 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12-4 3 34035454 ns/op BenchmarkThroughput/MaxPacket/1MB/TLSv12-4 4 25416354 ns/op 41.26 MB/s BenchmarkThroughput/MaxPacket/1MB/TLSv13-4 4 35424625 ns/op 29.60 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv12-4 3 40627461 ns/op 51.62 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv13-4 2 52971272 ns/op 39.59 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv12-4 2 58378635 ns/op 71.85 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv13-4 2 89624066 ns/op 46.80 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv12-4 1 128558253 ns/op 65.25 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv13-4 1 172171933 ns/op 48.72 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv12-4 1 214056237 ns/op 78.38 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv13-4 1 309687748 ns/op 54.17 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv12-4 1 441894010 ns/op 75.93 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv13-4 1 683316936 ns/op 49.11 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv12-4 1 929591744 ns/op 72.19 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv13-4 1 1341496686 ns/op 50.03 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv12-4 4 26624025 ns/op 39.38 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv13-4 3 34787958 ns/op 30.14 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv12-4 3 37846614 ns/op 55.41 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv13-4 2 52020626 ns/op 40.31 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv12-4 2 67740164 ns/op 61.92 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv13-4 2 100001842 ns/op 41.94 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv12-4 1 129456137 ns/op 64.80 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv13-4 1 175688889 ns/op 47.75 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv12-4 1 237052331 ns/op 70.77 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv13-4 1 345772760 ns/op 48.52 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv12-4 1 424365028 ns/op 79.07 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv13-4 1 681510350 ns/op 49.24 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv12-4 1 908121203 ns/op 73.90 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv13-4 1 1311949714 ns/op 51.15 MB/s BenchmarkLatency/MaxPacket/200kbps/TLSv12-4 1 706342327 ns/op BenchmarkLatency/MaxPacket/200kbps/TLSv13-4 1 709740195 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv12-4 1 291318685 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv13-4 1 291931369 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv12-4 1 153384203 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv13-4 1 152973342 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv12-4 2 84711268 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv13-4 2 84400321 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv12-4 3 42820220 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv13-4 3 42168096 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv12-4 1 148129723 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv13-4 1 149444733 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv12-4 2 67518198 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv13-4 2 68002600 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv12-4 3 41104586 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv13-4 3 41059435 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv12-4 4 27975825 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv13-4 4 27915100 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv12-4 5 20278833 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv13-4 6 20286642 ns/op PASS ok crypto/tls 20.317s goos: linux goarch: amd64 pkg: crypto/x509 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCreateCertificate/RSA_2048-4 8 13890067 ns/op BenchmarkCreateCertificate/ECDSA_P256-4 326 358789 ns/op BenchmarkParseCertificate/ecdsa_leaf-4 1009 111045 ns/op 12098 B/op 164 allocs/op BenchmarkParseCertificate/rsa_leaf-4 937 124756 ns/op 13506 B/op 187 allocs/op PASS ok crypto/x509 1.849s goos: linux goarch: amd64 pkg: database/sql cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkConcurrentDBExec-4 4 25076042 ns/op 2503386 B/op 14641 allocs/op BenchmarkConcurrentStmtQuery-4 5 25627052 ns/op 2236329 B/op 17655 allocs/op BenchmarkConcurrentStmtExec-4 7 14503555 ns/op 1773108 B/op 3172 allocs/op BenchmarkConcurrentTxQuery-4 4 26364272 ns/op 2423700 B/op 19657 allocs/op BenchmarkConcurrentTxExec-4 10 10831026 ns/op 595009 B/op 14148 allocs/op BenchmarkConcurrentTxStmtQuery-4 6 20345024 ns/op 839628 B/op 20658 allocs/op BenchmarkConcurrentTxStmtExec-4 24 4294005 ns/op 108591 B/op 2176 allocs/op BenchmarkConcurrentRandom-4 5 23996754 ns/op 1685057 B/op 14316 allocs/op BenchmarkManyConcurrentQueries-4 2173 48738 ns/op 3993 B/op 20 allocs/op BenchmarkGrabConn-4 195070 625.7 ns/op 0 B/op 0 allocs/op PASS ok database/sql 3.140s goos: linux goarch: amd64 pkg: debug/gosym cpu: Intel(R) Xeon(R) CPU @ 2.20GHz Benchmark115/NewLineTable-4 223288 521.7 ns/op 384 B/op 3 allocs/op Benchmark115/NewTable-4 72 1609733 ns/op 188264 B/op 14 allocs/op Benchmark115/LineToPC-4 74 1625082 ns/op 0 B/op 0 allocs/op Benchmark115/PCToLine-4 17206 7091 ns/op 0 B/op 0 allocs/op PASS ok debug/gosym 1.766s goos: linux goarch: amd64 pkg: encoding/asn1 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkObjectIdentifierString-4 61449 1916 ns/op BenchmarkMarshal-4 721 161845 ns/op 9528 B/op 363 allocs/op BenchmarkUnmarshal-4 2779 42602 ns/op 784 B/op 43 allocs/op PASS ok encoding/asn1 1.425s goos: linux goarch: amd64 pkg: encoding/base32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode-4 266 451412 ns/op 18.15 MB/s BenchmarkEncodeToString-4 222 498209 ns/op 16.44 MB/s BenchmarkDecode-4 139 846473 ns/op 15.49 MB/s BenchmarkDecodeString-4 136 851470 ns/op 15.40 MB/s PASS ok encoding/base32 1.746s goos: linux goarch: amd64 pkg: encoding/base64 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncodeToString-4 312 350488 ns/op 23.37 MB/s BenchmarkDecodeString/2-4 269580 418.5 ns/op 9.56 MB/s BenchmarkDecodeString/4-4 228349 535.8 ns/op 14.93 MB/s BenchmarkDecodeString/8-4 181070 658.8 ns/op 18.21 MB/s BenchmarkDecodeString/64-4 33253 3530 ns/op 24.93 MB/s BenchmarkDecodeString/8192-4 314 374514 ns/op 29.17 MB/s BenchmarkNewEncoding-4 87578 1331 ns/op 192.30 MB/s PASS ok encoding/base64 2.006s goos: linux goarch: amd64 pkg: encoding/binary cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadSlice1000Int32s-4 1312 89161 ns/op 44.86 MB/s BenchmarkReadStruct-4 16540 7216 ns/op 10.39 MB/s BenchmarkWriteStruct-4 15770 7589 ns/op 9.88 MB/s BenchmarkReadInts-4 48591 2504 ns/op 11.98 MB/s BenchmarkWriteInts-4 46208 2650 ns/op 11.32 MB/s BenchmarkWriteSlice1000Int32s-4 1264 92737 ns/op 43.13 MB/s BenchmarkPutUint16-4 3341835 34.89 ns/op 57.32 MB/s BenchmarkAppendUint16-4 3265035 36.25 ns/op 55.17 MB/s BenchmarkPutUint32-4 2349732 49.70 ns/op 80.48 MB/s BenchmarkAppendUint32-4 2369492 50.62 ns/op 79.02 MB/s BenchmarkPutUint64-4 1072668 112.6 ns/op 71.05 MB/s BenchmarkAppendUint64-4 1000000 109.7 ns/op 72.91 MB/s BenchmarkLittleEndianPutUint16-4 3378646 34.95 ns/op 57.23 MB/s BenchmarkLittleEndianAppendUint16-4 3173622 35.96 ns/op 55.61 MB/s BenchmarkLittleEndianPutUint32-4 2396364 49.61 ns/op 80.63 MB/s BenchmarkLittleEndianAppendUint32-4 2463549 49.22 ns/op 81.27 MB/s BenchmarkLittleEndianPutUint64-4 1000000 115.3 ns/op 69.37 MB/s BenchmarkLittleEndianAppendUint64-4 1032298 116.2 ns/op 68.85 MB/s BenchmarkReadFloats-4 155088 782.8 ns/op 15.33 MB/s BenchmarkWriteFloats-4 149064 818.6 ns/op 14.66 MB/s BenchmarkReadSlice1000Float32s-4 1174 100341 ns/op 39.86 MB/s BenchmarkWriteSlice1000Float32s-4 1068 108775 ns/op 36.77 MB/s BenchmarkReadSlice1000Uint8s-4 87309 1380 ns/op 724.57 MB/s BenchmarkWriteSlice1000Uint8s-4 92643 1090 ns/op 917.11 MB/s BenchmarkPutUvarint32-4 700730 155.2 ns/op 25.78 MB/s BenchmarkPutUvarint64-4 203146 585.4 ns/op 13.67 MB/s PASS ok encoding/binary 5.099s goos: linux goarch: amd64 pkg: encoding/csv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRead-4 5787 19484 ns/op 736 B/op 16 allocs/op BenchmarkReadWithFieldsPerRecord-4 6854 17411 ns/op 736 B/op 16 allocs/op BenchmarkReadWithoutFieldsPerRecord-4 6808 18270 ns/op 736 B/op 16 allocs/op BenchmarkReadLargeFields-4 3584 28537 ns/op 3938 B/op 24 allocs/op BenchmarkReadReuseRecord-4 6440 15650 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithFieldsPerRecord-4 7651 16369 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithoutFieldsPerRecord-4 7694 15431 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordLargeFields-4 4401 27020 ns/op 2978 B/op 12 allocs/op BenchmarkWrite-4 12271 9821 ns/op PASS ok encoding/csv 2.364s goos: linux goarch: amd64 pkg: encoding/gob cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEndToEndPipe-4 11142 11451 ns/op 1814 B/op 2 allocs/op BenchmarkEndToEndByteBuffer-4 14037 8883 ns/op 1812 B/op 2 allocs/op BenchmarkEndToEndSliceByteBuffer-4 222 493587 ns/op 16803 B/op 331 allocs/op BenchmarkEncodeComplex128Slice-4 745 159211 ns/op 658 B/op 0 allocs/op BenchmarkEncodeFloat64Slice-4 1538 68405 ns/op 57 B/op 0 allocs/op BenchmarkEncodeInt32Slice-4 1549 67793 ns/op 56 B/op 0 allocs/op BenchmarkEncodeStringSlice-4 2202 46933 ns/op 175 B/op 0 allocs/op BenchmarkEncodeInterfaceSlice-4 66 1769312 ns/op 34180 B/op 251 allocs/op BenchmarkDecodeComplex128Slice-4 636 201284 ns/op 25226 B/op 169 allocs/op BenchmarkDecodeFloat64Slice-4 1317 89706 ns/op 10794 B/op 169 allocs/op BenchmarkDecodeInt32Slice-4 1160 91586 ns/op 9759 B/op 169 allocs/op BenchmarkDecodeStringSlice-4 918 147275 ns/op 39129 B/op 1169 allocs/op BenchmarkDecodeStringsSlice-4 224 453239 ns/op 66598 B/op 2212 allocs/op BenchmarkDecodeBytesSlice-4 524 223474 ns/op 23774 B/op 191 allocs/op BenchmarkDecodeInterfaceSlice-4 78 1304970 ns/op 83189 B/op 3178 allocs/op BenchmarkDecodeMap-4 70 1653720 ns/op 54130 B/op 181 allocs/op PASS ok encoding/gob 3.806s goos: linux goarch: amd64 pkg: encoding/hex cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode/256-4 12272 9638 ns/op 26.56 MB/s BenchmarkEncode/1024-4 2766 38227 ns/op 26.79 MB/s BenchmarkEncode/4096-4 777 152367 ns/op 26.88 MB/s BenchmarkEncode/16384-4 193 599051 ns/op 27.35 MB/s BenchmarkDecode/256-4 23217 5039 ns/op 50.81 MB/s BenchmarkDecode/1024-4 5137 19957 ns/op 51.31 MB/s BenchmarkDecode/4096-4 1518 79471 ns/op 51.54 MB/s BenchmarkDecode/16384-4 372 318560 ns/op 51.43 MB/s BenchmarkDump/256-4 1350 93315 ns/op 2.74 MB/s BenchmarkDump/1024-4 325 358889 ns/op 2.85 MB/s BenchmarkDump/4096-4 82 1447319 ns/op 2.83 MB/s BenchmarkDump/16384-4 20 6052987 ns/op 2.71 MB/s PASS ok encoding/hex 2.768s goos: linux goarch: amd64 pkg: encoding/json cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCodeEncoder-4 1 145647313 ns/op 13.32 MB/s 8391840 B/op 59 allocs/op BenchmarkCodeEncoderError-4 1 154397739 ns/op 12.57 MB/s 8395272 B/op 117 allocs/op BenchmarkCodeMarshal-4 1 182683162 ns/op 10.62 MB/s 10331584 B/op 55 allocs/op BenchmarkCodeMarshalError-4 1 134979586 ns/op 14.38 MB/s 1946216 B/op 71 allocs/op BenchmarkMarshalBytes/32-4 20058 5702 ns/op BenchmarkMarshalBytes/256-4 5307 22286 ns/op BenchmarkMarshalBytes/4096-4 447 270785 ns/op BenchmarkMarshalBytesError/32-4 52 2189478 ns/op BenchmarkMarshalBytesError/256-4 50 2234857 ns/op BenchmarkMarshalBytesError/4096-4 45 2531664 ns/op BenchmarkCodeDecoder-4 1 446024182 ns/op 4.35 MB/s 11016768 B/op 91358 allocs/op BenchmarkUnicodeDecoder-4 35245 3334 ns/op 4.20 MB/s 40 B/op 2 allocs/op BenchmarkDecoderStream-4 45022 2437 ns/op 16 B/op 1 allocs/op BenchmarkCodeUnmarshal-4 1 380435411 ns/op 5.10 MB/s 2939400 B/op 91327 allocs/op BenchmarkCodeUnmarshalReuse-4 1 367596365 ns/op 5.28 MB/s 2938224 B/op 91327 allocs/op BenchmarkUnmarshalString-4 53689 2350 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalFloat64-4 130827 900.5 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalInt64-4 222927 463.5 ns/op 144 B/op 1 allocs/op BenchmarkIssue10335-4 71588 1535 ns/op 176 B/op 3 allocs/op BenchmarkIssue34127-4 79170 1278 ns/op 84 B/op 2 allocs/op BenchmarkUnmapped-4 17044 6950 ns/op 208 B/op 4 allocs/op BenchmarkTypeFieldsCache/MissTypes1-4 3613 32677 ns/op BenchmarkTypeFieldsCache/MissTypes10-4 838 149097 ns/op BenchmarkTypeFieldsCache/MissTypes100-4 93 1273480 ns/op BenchmarkTypeFieldsCache/MissTypes1000-4 8 12516229 ns/op BenchmarkTypeFieldsCache/HitTypes1-4 446275 251.3 ns/op BenchmarkTypeFieldsCache/HitTypes10-4 424278 280.6 ns/op BenchmarkTypeFieldsCache/HitTypes100-4 414318 268.3 ns/op BenchmarkTypeFieldsCache/HitTypes1000-4 428388 253.9 ns/op BenchmarkEncodeMarshaler-4 54795 1870 ns/op 75 B/op 1 allocs/op BenchmarkEncoderEncode-4 84194 1380 ns/op 44 B/op 0 allocs/op BenchmarkNumberIsValid-4 4162292 29.09 ns/op BenchmarkNumberIsValidRegexp-4 20616 5954 ns/op PASS ok encoding/json 8.166s goos: linux goarch: amd64 pkg: encoding/pem cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode-4 46 2591417 ns/op 25.29 MB/s BenchmarkDecode-4 22 5400863 ns/op 16.44 MB/s PASS ok encoding/pem 1.373s goos: linux goarch: amd64 pkg: encoding/xml cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMarshal-4 2470 44327 ns/op 6280 B/op 24 allocs/op BenchmarkUnmarshal-4 818 128252 ns/op 8217 B/op 185 allocs/op BenchmarkHTMLAutoClose-4 4471 24751 ns/op PASS ok encoding/xml 1.378s goos: linux goarch: amd64 pkg: expvar cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkIntAdd-4 239047 424.8 ns/op BenchmarkIntSet-4 312001 415.3 ns/op BenchmarkFloatAdd-4 63957 2076 ns/op BenchmarkFloatSet-4 292958 383.0 ns/op BenchmarkStringSet-4 309601 364.9 ns/op BenchmarkMapSet-4 74199 1923 ns/op BenchmarkMapSetDifferent-4 50506 2215 ns/op BenchmarkMapSetDifferentRandom-4 225 483086 ns/op BenchmarkMapSetString-4 96230 1776 ns/op BenchmarkMapAddSame-4 31168 3412 ns/op BenchmarkMapAddDifferent-4 15414 7733 ns/op BenchmarkMapAddDifferentRandom-4 192 606031 ns/op BenchmarkMapAddSameSteadyState-4 220804 487.0 ns/op BenchmarkMapAddDifferentSteadyState-4 95362 1278 ns/op BenchmarkRealworldExpvarUsage-4 20149 5847 ns/op PASS ok expvar 3.265s goos: linux goarch: amd64 pkg: fmt cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSprintfPadding-4 110618 1114 ns/op BenchmarkSprintfEmpty-4 376936 331.9 ns/op BenchmarkSprintfString-4 242488 533.0 ns/op BenchmarkSprintfTruncateString-4 255135 486.2 ns/op BenchmarkSprintfTruncateBytes-4 125416 846.1 ns/op BenchmarkSprintfSlowParsingPath-4 207804 509.4 ns/op BenchmarkSprintfQuoteString-4 34502 3352 ns/op BenchmarkSprintfInt-4 267864 488.7 ns/op BenchmarkSprintfIntInt-4 190297 649.5 ns/op BenchmarkSprintfPrefixedInt-4 166945 609.3 ns/op BenchmarkSprintfFloat-4 117816 918.3 ns/op BenchmarkSprintfComplex-4 61503 1922 ns/op BenchmarkSprintfBoolean-4 238179 443.8 ns/op BenchmarkSprintfHexString-4 116916 1051 ns/op BenchmarkSprintfHexBytes-4 80287 1484 ns/op BenchmarkSprintfBytes-4 49986 2602 ns/op BenchmarkSprintfStringer-4 77300 1413 ns/op BenchmarkSprintfStructure-4 30730 3391 ns/op BenchmarkManyArgs-4 71811 1823 ns/op BenchmarkFprintInt-4 68353 1791 ns/op BenchmarkFprintfBytes-4 74128 1628 ns/op BenchmarkFprintIntNoAlloc-4 69214 1809 ns/op BenchmarkScanInts-4 36 3282124 ns/op BenchmarkScanRecursiveInt-4 1 383475301 ns/op BenchmarkScanRecursiveIntReaderWrapper-4 1 418544551 ns/op PASS ok fmt 5.538s goos: linux goarch: amd64 pkg: go/build cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkImportVendor-4 573 190555 ns/op PASS ok go/build 1.157s goos: linux goarch: amd64 pkg: go/constant cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStringAdd/1-4 45966 2330 ns/op 160 B/op 2 allocs/op BenchmarkStringAdd/4-4 13371 9071 ns/op 832 B/op 9 allocs/op BenchmarkStringAdd/16-4 3284 31331 ns/op 3168 B/op 23 allocs/op BenchmarkStringAdd/64-4 981 119314 ns/op 11744 B/op 73 allocs/op BenchmarkStringAdd/256-4 246 481495 ns/op 47840 B/op 267 allocs/op BenchmarkStringAdd/1024-4 55 2327935 ns/op 206176 B/op 1038 allocs/op BenchmarkStringAdd/4096-4 12 9651707 ns/op 865632 B/op 4114 allocs/op BenchmarkStringAdd/16384-4 3 42583725 ns/op 3634528 B/op 16407 allocs/op BenchmarkStringAdd/65536-4 1 188744298 ns/op 15258976 B/op 65565 allocs/op PASS ok go/constant 2.599s goos: linux goarch: amd64 pkg: go/format cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFormat/array1-10000-4 1 273766372 ns/op 0.24 MB/s 44928568 B/op 48659 allocs/op PASS ok go/format 1.319s goos: linux goarch: amd64 pkg: go/parser cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkParse-4 5 20556627 ns/op 2.62 MB/s BenchmarkParseOnly-4 6 17218537 ns/op 3.13 MB/s BenchmarkResolve-4 46 2547910 ns/op 21.14 MB/s PASS ok go/parser 2.231s goos: linux goarch: amd64 pkg: go/printer cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPrintFile-4 1 157385553 ns/op 0.33 MB/s 5020600 B/op 27615 allocs/op BenchmarkPrintDecl-4 740 158250 ns/op 0.20 MB/s 15880 B/op 51 allocs/op PASS ok go/printer 1.316s goos: linux goarch: amd64 pkg: go/scanner cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScan-4 258 456092 ns/op BenchmarkScanFiles/go/types/expr.go-4 13 8068594 ns/op 6.15 MB/s BenchmarkScanFiles/go/parser/parser.go-4 8 12618951 ns/op 5.74 MB/s BenchmarkScanFiles/net/http/server.go-4 6 17808263 ns/op 6.36 MB/s BenchmarkScanFiles/go/scanner/errors.go-4 219 561469 ns/op 5.48 MB/s PASS ok go/scanner 1.730s goos: linux goarch: amd64 pkg: go/token cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSearchInts-4 1151485 103.2 ns/op PASS ok go/token 1.223s goos: linux goarch: amd64 pkg: go/types cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLookupFieldOrMethod-4 132 864390 ns/op BenchmarkNamed/Underlying/nongeneric-4 881238 134.1 ns/op BenchmarkNamed/Underlying/generic-4 868204 133.6 ns/op BenchmarkNamed/Underlying/src_instance-4 890168 134.5 ns/op BenchmarkNamed/Underlying/user_instance-4 809464 138.7 ns/op BenchmarkNamed/NewMethodSet/nongeneric-4 21729 5435 ns/op BenchmarkNamed/NewMethodSet/generic-4 21105 5421 ns/op BenchmarkNamed/NewMethodSet/src_instance-4 21712 5499 ns/op BenchmarkNamed/NewMethodSet/user_instance-4 20913 5751 ns/op BenchmarkCheck/http/funcbodies/info-4 1 643739116 ns/op 47465 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 445075727 ns/op 68644 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 249078721 ns/op 122568 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 215807658 ns/op 141533 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 481467462 ns/op 10750 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 1 117305571 ns/op 44103 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 2 70112747 ns/op 73803 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 2 67645824 ns/op 76469 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 169049890 ns/op 12814 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 2 64467660 ns/op 33597 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 2 50152691 ns/op 43183 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 3 47214995 ns/op 45870 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1240325071 ns/op 52545 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 646727857 ns/op 100772 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 183902470 ns/op 354281 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 131498826 ns/op 495408 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 481046375 ns/op 4151 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 98185867 ns/op 20331 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 2 79649774 ns/op 25061 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 2 78169612 ns/op 25535 lines/s PASS ok go/types 19.391s goos: linux goarch: amd64 pkg: hash/adler32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAdler32KB-4 8454 13997 ns/op 73.16 MB/s PASS ok hash/adler32 1.241s goos: linux goarch: amd64 pkg: hash/crc32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCRC32/poly=IEEE/size=15/align=0-4 192016 581.7 ns/op 25.79 MB/s BenchmarkCRC32/poly=IEEE/size=15/align=1-4 204092 558.8 ns/op 26.84 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=0-4 89744 1116 ns/op 35.85 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=1-4 112582 1077 ns/op 37.14 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=0-4 439280 263.3 ns/op 1944.56 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=1-4 443260 264.2 ns/op 1938.09 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=0-4 385596 311.1 ns/op 3291.62 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=1-4 391850 308.7 ns/op 3316.74 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=0-4 234658 517.5 ns/op 7914.75 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=1-4 231092 508.3 ns/op 8058.76 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=0-4 51022 2338 ns/op 14015.09 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=1-4 52506 2294 ns/op 14286.00 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=0-4 399026 273.2 ns/op 54.90 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=1-4 432740 273.0 ns/op 54.95 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=0-4 429094 285.6 ns/op 140.07 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=1-4 420180 287.0 ns/op 139.38 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=0-4 301736 385.8 ns/op 1327.19 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=1-4 280140 398.0 ns/op 1286.29 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=0-4 233184 473.9 ns/op 2160.78 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=1-4 244441 479.1 ns/op 2137.41 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=0-4 215661 554.9 ns/op 7381.34 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=1-4 211713 566.3 ns/op 7233.22 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=0-4 46126 2590 ns/op 12653.45 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=1-4 45228 2612 ns/op 12545.47 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=0-4 206085 576.1 ns/op 26.04 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=1-4 195780 587.6 ns/op 25.53 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=0-4 97850 1213 ns/op 32.99 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=1-4 101144 1169 ns/op 34.23 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=0-4 7315 16381 ns/op 31.26 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=1-4 7430 16393 ns/op 31.23 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=0-4 3561 34182 ns/op 29.96 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=1-4 3505 33918 ns/op 30.19 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=0-4 870 135945 ns/op 30.13 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=1-4 789 136506 ns/op 30.01 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=0-4 100 1092863 ns/op 29.98 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=1-4 100 1091627 ns/op 30.02 MB/s PASS ok hash/crc32 5.693s goos: linux goarch: amd64 pkg: hash/crc64 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCrc64/ISO64KB-4 85 1428510 ns/op 45.88 MB/s BenchmarkCrc64/ISO4KB-4 990 119755 ns/op 34.20 MB/s BenchmarkCrc64/ISO1KB-4 4640 25644 ns/op 39.93 MB/s BenchmarkCrc64/ECMA64KB-4 86 1396620 ns/op 46.92 MB/s BenchmarkCrc64/Random64KB-4 92 1233346 ns/op 53.14 MB/s BenchmarkCrc64/Random16KB-4 372 321614 ns/op 50.94 MB/s PASS ok hash/crc64 1.798s goos: linux goarch: amd64 pkg: hash/fnv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFnv32KB-4 8259 13832 ns/op 74.03 MB/s BenchmarkFnv32aKB-4 8620 13909 ns/op 73.62 MB/s BenchmarkFnv64KB-4 8306 13921 ns/op 73.56 MB/s BenchmarkFnv64aKB-4 8370 13858 ns/op 73.89 MB/s BenchmarkFnv128KB-4 1995 58919 ns/op 17.38 MB/s BenchmarkFnv128aKB-4 2106 56524 ns/op 18.12 MB/s PASS ok hash/fnv 1.906s goos: linux goarch: amd64 pkg: hash/maphash cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash/n=4/Write-4 602312 197.3 ns/op 20.27 MB/s BenchmarkHash/n=4/Bytes-4 3870055 30.59 ns/op 130.78 MB/s BenchmarkHash/n=4/String-4 1768170 66.55 ns/op 60.10 MB/s BenchmarkHash/n=8/Write-4 554353 195.8 ns/op 40.86 MB/s BenchmarkHash/n=8/Bytes-4 4047798 29.17 ns/op 274.23 MB/s BenchmarkHash/n=8/String-4 1756268 67.58 ns/op 118.37 MB/s BenchmarkHash/n=16/Write-4 576864 199.0 ns/op 80.42 MB/s BenchmarkHash/n=16/Bytes-4 4369264 26.86 ns/op 595.59 MB/s BenchmarkHash/n=16/String-4 1835224 65.48 ns/op 244.34 MB/s BenchmarkHash/n=32/Write-4 560319 205.9 ns/op 155.42 MB/s BenchmarkHash/n=32/Bytes-4 4328024 27.81 ns/op 1150.86 MB/s BenchmarkHash/n=32/String-4 1816752 66.08 ns/op 484.28 MB/s BenchmarkHash/n=64/Write-4 511039 222.4 ns/op 287.73 MB/s BenchmarkHash/n=64/Bytes-4 3880812 30.38 ns/op 2106.52 MB/s BenchmarkHash/n=64/String-4 1743582 68.24 ns/op 937.92 MB/s BenchmarkHash/n=256/Write-4 383900 302.5 ns/op 846.34 MB/s BenchmarkHash/n=256/Bytes-4 2161348 54.19 ns/op 4723.79 MB/s BenchmarkHash/n=256/String-4 909414 126.3 ns/op 2027.25 MB/s BenchmarkHash/n=320/Write-4 389140 292.6 ns/op 1093.80 MB/s BenchmarkHash/n=320/Bytes-4 1779498 67.47 ns/op 4742.83 MB/s BenchmarkHash/n=320/String-4 678721 174.0 ns/op 1839.41 MB/s BenchmarkHash/n=1024/Write-4 263102 447.4 ns/op 2288.97 MB/s BenchmarkHash/n=1024/Bytes-4 747955 161.0 ns/op 6361.05 MB/s BenchmarkHash/n=1024/String-4 256924 451.6 ns/op 2267.53 MB/s BenchmarkHash/n=4096/Write-4 120970 987.0 ns/op 4150.12 MB/s BenchmarkHash/n=4096/Bytes-4 205917 579.0 ns/op 7074.45 MB/s BenchmarkHash/n=4096/String-4 68142 1741 ns/op 2353.16 MB/s BenchmarkHash/n=16384/Write-4 38343 3127 ns/op 5239.65 MB/s BenchmarkHash/n=16384/Bytes-4 53467 2255 ns/op 7264.85 MB/s BenchmarkHash/n=16384/String-4 17326 6897 ns/op 2375.36 MB/s PASS ok hash/maphash 5.536s goos: linux goarch: amd64 pkg: html cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEscape-4 883 132595 ns/op BenchmarkEscapeNone-4 118536 961.6 ns/op BenchmarkUnescape-4 734 159006 ns/op BenchmarkUnescapeNone-4 513955 229.0 ns/op BenchmarkUnescapeSparse-4 10501 11038 ns/op BenchmarkUnescapeDense-4 1137 105931 ns/op PASS ok html 1.988s goos: linux goarch: amd64 pkg: html/template cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCSSEscaper-4 9195 12429 ns/op BenchmarkCSSEscaperNoSpecials-4 45112 2662 ns/op BenchmarkDecodeCSS-4 26488 4432 ns/op BenchmarkDecodeCSSNoSpecials-4 4317418 27.73 ns/op BenchmarkCSSValueFilter-4 107868 1119 ns/op BenchmarkCSSValueFilterOk-4 78670 1534 ns/op BenchmarkEscapedExecute-4 4712 25744 ns/op BenchmarkHTMLNospaceEscaper-4 11218 10860 ns/op BenchmarkHTMLNospaceEscaperNoSpecials-4 66762 1787 ns/op BenchmarkStripTags-4 21112 5583 ns/op BenchmarkStripTagsNoSpecials-4 298992 403.4 ns/op BenchmarkJSValEscaperWithNum-4 22695 5180 ns/op BenchmarkJSValEscaperWithStr-4 4681 22567 ns/op BenchmarkJSValEscaperWithStrNoSpecials-4 17986 6790 ns/op BenchmarkJSValEscaperWithObj-4 4448 26626 ns/op BenchmarkJSValEscaperWithObjNoSpecials-4 12705 9272 ns/op BenchmarkJSStrEscaperNoSpecials-4 59385 1972 ns/op BenchmarkJSStrEscaper-4 10000 10428 ns/op BenchmarkJSRegexpEscaperNoSpecials-4 51301 2283 ns/op BenchmarkJSRegexpEscaper-4 10000 10925 ns/op BenchmarkTemplateSpecialTags-4 82 1323831 ns/op BenchmarkURLEscaper-4 3834 27901 ns/op BenchmarkURLEscaperNoSpecials-4 169419 702.4 ns/op BenchmarkURLNormalizer-4 4850 20826 ns/op BenchmarkURLNormalizerNoSpecials-4 149944 744.0 ns/op BenchmarkSrcsetFilter-4 17517 6441 ns/op BenchmarkSrcsetFilterNoSpecials-4 108601 1136 ns/op PASS ok html/template 5.135s goos: linux goarch: amd64 pkg: image cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAt/rgba-4 508347 201.1 ns/op 16 B/op 1 allocs/op BenchmarkAt/rgba64-4 405259 273.7 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba-4 622485 194.4 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba64-4 451917 271.0 ns/op 16 B/op 1 allocs/op BenchmarkAt/alpha-4 1807404 65.82 ns/op 0 B/op 0 allocs/op BenchmarkAt/alpha16-4 1000000 101.1 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray-4 1840676 65.40 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray16-4 1000000 102.1 ns/op 0 B/op 0 allocs/op BenchmarkAt/paletted-4 1395921 84.70 ns/op 0 B/op 0 allocs/op BenchmarkSet/rgba-4 427532 267.1 ns/op 16 B/op 1 allocs/op BenchmarkSet/rgba64-4 355285 333.2 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba-4 454546 265.3 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba64-4 341704 329.6 ns/op 16 B/op 1 allocs/op BenchmarkSet/alpha-4 762405 149.2 ns/op 0 B/op 0 allocs/op BenchmarkSet/alpha16-4 534596 216.7 ns/op 16 B/op 1 allocs/op BenchmarkSet/gray-4 936781 130.0 ns/op 0 B/op 0 allocs/op BenchmarkSet/gray16-4 543234 221.6 ns/op 16 B/op 1 allocs/op BenchmarkSet/paletted-4 430579 279.3 ns/op 0 B/op 0 allocs/op BenchmarkRGBAAt-4 1366914 87.72 ns/op BenchmarkRGBASetRGBA-4 1332146 87.64 ns/op BenchmarkRGBA64At-4 708384 166.1 ns/op BenchmarkRGBA64SetRGBA64-4 776694 147.8 ns/op BenchmarkNRGBAAt-4 1424077 85.28 ns/op BenchmarkNRGBASetNRGBA-4 1391736 84.31 ns/op BenchmarkNRGBA64At-4 704796 164.1 ns/op BenchmarkNRGBA64SetNRGBA64-4 762556 145.5 ns/op BenchmarkAlphaAt-4 2239010 52.72 ns/op BenchmarkAlphaSetAlpha-4 2329730 51.39 ns/op BenchmarkAlpha16At-4 1482526 79.98 ns/op BenchmarkAlphaSetAlpha16-4 1518224 79.04 ns/op BenchmarkGrayAt-4 2311844 51.97 ns/op BenchmarkGraySetGray-4 2315654 50.91 ns/op BenchmarkGray16At-4 1513407 78.90 ns/op BenchmarkGraySetGray16-4 1536495 78.83 ns/op PASS ok image 6.347s goos: linux goarch: amd64 pkg: image/color cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkYCbCrToRGB/0-4 3978208 27.12 ns/op BenchmarkYCbCrToRGB/128-4 4043678 26.82 ns/op BenchmarkYCbCrToRGB/255-4 4257385 25.97 ns/op BenchmarkRGBToYCbCr/0-4 4229293 25.82 ns/op BenchmarkRGBToYCbCr/Cb-4 4287122 26.74 ns/op BenchmarkRGBToYCbCr/Cr-4 4229156 27.02 ns/op BenchmarkYCbCrToRGBA/0-4 3406980 32.21 ns/op BenchmarkYCbCrToRGBA/128-4 3202712 35.59 ns/op BenchmarkYCbCrToRGBA/255-4 3372591 33.12 ns/op BenchmarkNYCbCrAToRGBA/0-4 3210506 35.26 ns/op BenchmarkNYCbCrAToRGBA/128-4 3178862 35.35 ns/op BenchmarkNYCbCrAToRGBA/255-4 3280003 34.15 ns/op PASS ok image/color 2.800s goos: linux goarch: amd64 pkg: image/draw cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFillOver-4 3 33786502 ns/op BenchmarkFillSrc-4 288 392693 ns/op BenchmarkCopyOver-4 6 17629665 ns/op BenchmarkCopySrc-4 379 299442 ns/op BenchmarkNRGBAOver-4 6 19105596 ns/op BenchmarkNRGBASrc-4 9 11906971 ns/op BenchmarkYCbCr-4 8 13483167 ns/op BenchmarkGray-4 16 6941209 ns/op BenchmarkCMYK-4 9 12244254 ns/op BenchmarkGlyphOver-4 18 6079290 ns/op BenchmarkRGBAMaskOver-4 4 31222014 ns/op BenchmarkGrayMaskOver-4 5 23328973 ns/op BenchmarkRGBA64ImageMaskOver-4 3 38423875 ns/op BenchmarkRGBA-4 4 25892818 ns/op BenchmarkPalettedFill-4 892 135458 ns/op BenchmarkPalettedRGBA-4 4 26643264 ns/op BenchmarkGenericOver-4 2 56420794 ns/op BenchmarkGenericMaskOver-4 5 23118562 ns/op BenchmarkGenericSrc-4 3 37092311 ns/op BenchmarkGenericMaskSrc-4 4 31068056 ns/op PASS ok image/draw 7.260s goos: linux goarch: amd64 pkg: image/gif cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecode-4 25 4734803 ns/op 3.26 MB/s 47848 B/op 267 allocs/op BenchmarkEncodeRandomPaletted-4 1 112485923 ns/op 2.73 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRandomRGBA-4 1 3101453763 ns/op 0.40 MB/s 417248 B/op 13 allocs/op BenchmarkEncodeRealisticPaletted-4 56 2131130 ns/op 7.25 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRealisticRGBA-4 1 155022337 ns/op 0.40 MB/s 105952 B/op 13 allocs/op PASS ok image/gif 5.257s goos: linux goarch: amd64 pkg: image/jpeg cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFDCT-4 3644 28935 ns/op BenchmarkIDCT-4 4304 27736 ns/op BenchmarkDecodeBaseline-4 9 12404973 ns/op 4.98 MB/s 63024 B/op 5 allocs/op BenchmarkDecodeProgressive-4 6 17399708 ns/op 3.55 MB/s 259712 B/op 13 allocs/op BenchmarkEncodeRGBA-4 1 155054778 ns/op 7.92 MB/s 4400 B/op 4 allocs/op BenchmarkEncodeYCbCr-4 1 193004361 ns/op 4.78 MB/s 4400 B/op 4 allocs/op PASS ok image/jpeg 2.403s goos: linux goarch: amd64 pkg: image/png cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPaeth-4 12015804 9.798 ns/op BenchmarkDecodeGray-4 12 9383717 ns/op 6.98 MB/s 137024 B/op 102 allocs/op BenchmarkDecodeNRGBAGradient-4 3 39461345 ns/op 6.64 MB/s 337328 B/op 188 allocs/op BenchmarkDecodeNRGBAOpaque-4 3 34005630 ns/op 7.71 MB/s 346592 B/op 152 allocs/op BenchmarkDecodePaletted-4 21 5403149 ns/op 12.13 MB/s 139456 B/op 309 allocs/op BenchmarkDecodeRGB-4 4 32432290 ns/op 8.08 MB/s 332000 B/op 157 allocs/op BenchmarkDecodeInterlacing-4 3 39638278 ns/op 6.61 MB/s 605216 B/op 268 allocs/op BenchmarkEncodeGray-4 2 61831030 ns/op 4.97 MB/s 852184 B/op 29 allocs/op BenchmarkEncodeGrayWithBufferPool-4 2 60674794 ns/op 5.06 MB/s 426080 B/op 14 allocs/op BenchmarkEncodeNRGBOpaque-4 1 199477657 ns/op 6.16 MB/s 860344 B/op 30 allocs/op BenchmarkEncodeNRGBA-4 1 220980798 ns/op 5.56 MB/s 864088 B/op 29 allocs/op BenchmarkEncodePaletted-4 4 31313307 ns/op 9.81 MB/s 848592 B/op 32 allocs/op BenchmarkEncodeRGBOpaque-4 1 196484541 ns/op 6.25 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeRGBA-4 1 817958384 ns/op 1.50 MB/s 864088 B/op 29 allocs/op PASS ok image/png 4.719s goos: linux goarch: amd64 pkg: index/suffixarray cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkNew/text=opticks/size=100K/bits=32-4 2 56440831 ns/op 1.77 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=opticks/size=100K/bits=64-4 3 46921641 ns/op 2.13 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=32-4 1 338351484 ns/op 1.48 MB/s 2007128 B/op 3 allocs/op BenchmarkNew/text=opticks/size=500K/bits=64-4 1 315767775 ns/op 1.58 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=32-4 2 53327206 ns/op 1.88 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=64-4 3 44639923 ns/op 2.24 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=32-4 1 308787598 ns/op 1.62 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=64-4 1 294580489 ns/op 1.70 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=32-4 1 698384669 ns/op 1.43 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=64-4 1 680666649 ns/op 1.47 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=32-4 1 4209239813 ns/op 1.19 MB/s 20004952 B/op 3 allocs/op BenchmarkNew/text=go/size=5M/bits=64-4 1 4036020255 ns/op 1.24 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=go/size=10M/bits=32-4 1 8448639246 ns/op 1.18 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=go/size=10M/bits=64-4 1 8109617694 ns/op 1.23 MB/s 80003152 B/op 2 allocs/op BenchmarkNew/text=go/size=50M/bits=32-4 1 48151088622 ns/op 1.04 MB/s 200007760 B/op 2 allocs/op BenchmarkNew/text=go/size=50M/bits=64-4 1 46334843140 ns/op 1.08 MB/s 400007344 B/op 3 allocs/op BenchmarkNew/text=zero/size=100K/bits=32-4 10 10440955 ns/op 9.58 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=64-4 9 11748908 ns/op 8.51 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=32-4 3 50217410 ns/op 9.96 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=64-4 2 56067856 ns/op 8.92 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=32-4 2 99770202 ns/op 10.02 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=64-4 1 111668098 ns/op 8.96 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=32-4 1 507891501 ns/op 9.84 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=64-4 1 571390019 ns/op 8.75 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=zero/size=10M/bits=32-4 1 994086246 ns/op 10.06 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=zero/size=10M/bits=64-4 1 1135220493 ns/op 8.81 MB/s 80003152 B/op 2 allocs/op BenchmarkNew/text=zero/size=50M/bits=32-4 1 5067224007 ns/op 9.87 MB/s 200007760 B/op 2 allocs/op BenchmarkNew/text=zero/size=50M/bits=64-4 1 5676867837 ns/op 8.81 MB/s 400007344 B/op 3 allocs/op BenchmarkNew/text=rand/size=100K/bits=32-4 2 62504022 ns/op 1.60 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=64-4 2 54006020 ns/op 1.85 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=32-4 1 384242717 ns/op 1.30 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=64-4 1 408018366 ns/op 1.23 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=32-4 1 978751892 ns/op 1.02 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=64-4 1 981663293 ns/op 1.02 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=32-4 1 6241258327 ns/op 0.80 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=64-4 1 6012133234 ns/op 0.83 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=rand/size=10M/bits=32-4 1 13083139001 ns/op 0.76 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=rand/size=10M/bits=64-4 1 12841732077 ns/op 0.78 MB/s 80003152 B/op 2 allocs/op BenchmarkNew/text=rand/size=50M/bits=32-4 1 78988219272 ns/op 0.63 MB/s 200007760 B/op 2 allocs/op BenchmarkNew/text=rand/size=50M/bits=64-4 1 77213551947 ns/op 0.65 MB/s 400007248 B/op 2 allocs/op BenchmarkSaveRestore/bits=32-4 1 187799986 ns/op 22.26 MB/s 5275648 B/op 4 allocs/op BenchmarkSaveRestore/bits=64-4 1 192987902 ns/op 21.66 MB/s 9469952 B/op 4 allocs/op PASS ok index/suffixarray 354.099s goos: linux goarch: amd64 pkg: internal/fuzz cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMarshalCorpusFile/1-4 33337 3029 ns/op 0.33 MB/s BenchmarkMarshalCorpusFile/2-4 35131 3291 ns/op 0.61 MB/s BenchmarkMarshalCorpusFile/4-4 32643 3601 ns/op 1.11 MB/s BenchmarkMarshalCorpusFile/8-4 26576 4196 ns/op 1.91 MB/s BenchmarkMarshalCorpusFile/16-4 21742 5388 ns/op 2.97 MB/s BenchmarkMarshalCorpusFile/32-4 14415 8270 ns/op 3.87 MB/s BenchmarkMarshalCorpusFile/64-4 9464 12723 ns/op 5.03 MB/s BenchmarkMarshalCorpusFile/128-4 5926 20586 ns/op 6.22 MB/s BenchmarkMarshalCorpusFile/256-4 2870 39820 ns/op 6.43 MB/s BenchmarkMarshalCorpusFile/512-4 1386 78455 ns/op 6.53 MB/s BenchmarkMarshalCorpusFile/1024-4 752 148990 ns/op 6.87 MB/s BenchmarkMarshalCorpusFile/2048-4 373 305966 ns/op 6.69 MB/s BenchmarkMarshalCorpusFile/4096-4 194 585682 ns/op 6.99 MB/s BenchmarkMarshalCorpusFile/8192-4 97 1224384 ns/op 6.69 MB/s BenchmarkMarshalCorpusFile/16384-4 49 2412771 ns/op 6.79 MB/s BenchmarkMarshalCorpusFile/32768-4 18 6363362 ns/op 5.15 MB/s BenchmarkMarshalCorpusFile/65536-4 8 13048717 ns/op 5.02 MB/s BenchmarkMarshalCorpusFile/131072-4 4 30599068 ns/op 4.28 MB/s BenchmarkMarshalCorpusFile/262144-4 2 55054452 ns/op 4.76 MB/s BenchmarkMarshalCorpusFile/524288-4 1 111480848 ns/op 4.70 MB/s BenchmarkMarshalCorpusFile/1048576-4 1 223761475 ns/op 4.69 MB/s BenchmarkUnmarshalCorpusFile/1-4 9193 12042 ns/op 0.08 MB/s BenchmarkUnmarshalCorpusFile/2-4 10023 11963 ns/op 0.17 MB/s BenchmarkUnmarshalCorpusFile/4-4 7996 13558 ns/op 0.30 MB/s BenchmarkUnmarshalCorpusFile/8-4 7509 15417 ns/op 0.52 MB/s BenchmarkUnmarshalCorpusFile/16-4 6049 18939 ns/op 0.84 MB/s BenchmarkUnmarshalCorpusFile/32-4 4362 27210 ns/op 1.18 MB/s BenchmarkUnmarshalCorpusFile/64-4 3343 31983 ns/op 2.00 MB/s BenchmarkUnmarshalCorpusFile/128-4 2906 42036 ns/op 3.04 MB/s BenchmarkUnmarshalCorpusFile/256-4 1064 113276 ns/op 2.26 MB/s BenchmarkUnmarshalCorpusFile/512-4 589 208995 ns/op 2.45 MB/s BenchmarkUnmarshalCorpusFile/1024-4 279 405661 ns/op 2.52 MB/s BenchmarkUnmarshalCorpusFile/2048-4 145 782676 ns/op 2.62 MB/s BenchmarkUnmarshalCorpusFile/4096-4 72 1603583 ns/op 2.55 MB/s BenchmarkUnmarshalCorpusFile/8192-4 34 3206769 ns/op 2.55 MB/s BenchmarkUnmarshalCorpusFile/16384-4 16 6342816 ns/op 2.58 MB/s BenchmarkUnmarshalCorpusFile/32768-4 8 12765498 ns/op 2.57 MB/s BenchmarkUnmarshalCorpusFile/65536-4 5 26259437 ns/op 2.50 MB/s BenchmarkUnmarshalCorpusFile/131072-4 2 51017828 ns/op 2.57 MB/s BenchmarkUnmarshalCorpusFile/262144-4 1 104362872 ns/op 2.51 MB/s BenchmarkUnmarshalCorpusFile/524288-4 1 208639961 ns/op 2.51 MB/s BenchmarkUnmarshalCorpusFile/1048576-4 1 420589901 ns/op 2.49 MB/s BenchmarkMutatorBytes/1-4 30000 3417 ns/op BenchmarkMutatorBytes/10-4 36457 3173 ns/op BenchmarkMutatorBytes/100-4 33752 3387 ns/op BenchmarkMutatorBytes/1000-4 23720 5731 ns/op BenchmarkMutatorBytes/10000-4 5901 24791 ns/op BenchmarkMutatorBytes/100000-4 808 157652 ns/op BenchmarkMutatorString/1-4 36517 3469 ns/op BenchmarkMutatorString/10-4 34950 3508 ns/op BenchmarkMutatorString/100-4 31234 4297 ns/op BenchmarkMutatorString/1000-4 13462 7961 ns/op BenchmarkMutatorString/10000-4 3228 69834 ns/op BenchmarkMutatorString/100000-4 194 692376 ns/op BenchmarkMutatorAllBasicTypes/[]uint8-4 20019 5913 ns/op BenchmarkMutatorAllBasicTypes/string-4 18853 6254 ns/op BenchmarkMutatorAllBasicTypes/bool-4 61154 1945 ns/op BenchmarkMutatorAllBasicTypes/float32-4 53520 2184 ns/op BenchmarkMutatorAllBasicTypes/float64-4 53032 2189 ns/op BenchmarkMutatorAllBasicTypes/int-4 59317 2022 ns/op BenchmarkMutatorAllBasicTypes/int8-4 58934 2025 ns/op BenchmarkMutatorAllBasicTypes/int16-4 58521 2014 ns/op BenchmarkMutatorAllBasicTypes/int32-4 58707 2045 ns/op BenchmarkMutatorAllBasicTypes/int64-4 57968 2038 ns/op BenchmarkMutatorAllBasicTypes/uint8-4 56419 2101 ns/op BenchmarkMutatorAllBasicTypes/uint16-4 57927 2096 ns/op BenchmarkMutatorAllBasicTypes/uint32-4 55803 2078 ns/op BenchmarkMutatorAllBasicTypes/uint64-4 57726 2080 ns/op PASS ok internal/fuzz 12.699s goos: linux goarch: amd64 pkg: internal/intern cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStress-4 30141 4068 ns/op 0 B/op 0 allocs/op BenchmarkGetByString-4 123393 968.9 ns/op 0 B/op 0 allocs/op PASS ok internal/intern 1.391s goos: linux goarch: amd64 pkg: internal/poll cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSplicePipe/SplicePipeWithPool-4 39716 3334 ns/op BenchmarkSplicePipe/SplicePipeWithoutPool-4 9655 10736 ns/op BenchmarkSplicePipePoolParallel-4 101029 1118 ns/op BenchmarkSplicePipeNativeParallel-4 28310 4117 ns/op PASS ok internal/poll 1.696s goos: linux goarch: amd64 pkg: internal/trace cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMMU-4 5 21887330 ns/op PASS ok internal/trace 4.099s PASS ok internal/zstd 1.021s goos: linux goarch: amd64 pkg: io cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCopyNSmall-4 10000 15620 ns/op BenchmarkCopyNLarge-4 136 1194222 ns/op PASS ok io 1.441s goos: linux goarch: amd64 pkg: log cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkItoa-4 210134 524.9 ns/op BenchmarkPrintln-4 21559 5444 ns/op 79 B/op 1 allocs/op BenchmarkPrintlnNoFlags-4 34623 3634 ns/op 65 B/op 0 allocs/op BenchmarkConcurrent-4 1904 56423 ns/op BenchmarkDiscard-4 843072 130.6 ns/op 0 B/op 0 allocs/op PASS ok log 1.807s goos: linux goarch: amd64 pkg: log/slog cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkWriteTime-4 81128 1442 ns/op BenchmarkJSONHandler/defaults-4 6952 16459 ns/op 524 B/op 1 allocs/op BenchmarkJSONHandler/time_format-4 3984 27872 ns/op 791 B/op 6 allocs/op BenchmarkJSONHandler/time_unix-4 4933 24424 ns/op 758 B/op 5 allocs/op BenchmarkPreformatting/separate-4 6861 16013 ns/op 531 B/op 1 allocs/op BenchmarkPreformatting/struct-4 7524 16307 ns/op 534 B/op 1 allocs/op BenchmarkPreformatting/struct_file-4 5187 21028 ns/op 518 B/op 0 allocs/op BenchmarkJSONEncoding/json.Marshal-4 29292 3993 ns/op 80 B/op 3 allocs/op BenchmarkJSONEncoding/Encoder.Encode-4 30158 4013 ns/op 64 B/op 2 allocs/op BenchmarkNopLog/no_attrs-4 61446 2009 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-4 52219 2516 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-parallel-4 44340 2643 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/keys-values-4 48790 2592 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-4 51021 2482 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-parallel-4 46506 2664 ns/op 0 B/op 0 allocs/op BenchmarkPC/0-4 446238 269.6 ns/op 0 B/op 0 allocs/op BenchmarkPC/1-4 334089 360.7 ns/op 0 B/op 0 allocs/op BenchmarkPC/2-4 226509 529.0 ns/op 0 B/op 0 allocs/op BenchmarkPC/3-4 160390 741.8 ns/op 0 B/op 0 allocs/op BenchmarkPC/4-4 132873 925.4 ns/op 0 B/op 0 allocs/op BenchmarkRecord-4 5798 17731 ns/op BenchmarkDispatch/switch-checked-4 195909 608.6 ns/op BenchmarkDispatch/As-4 185602 641.3 ns/op BenchmarkDispatch/Visit-4 186811 623.7 ns/op BenchmarkUnsafeStrings-4 18433 6507 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.624s goos: linux goarch: amd64 pkg: log/slog/internal/benchmarks cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAttrs/disabled/5_args-4 2111322 56.86 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/5_args_ctx-4 1616492 62.87 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/10_args-4 1178478 96.49 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/40_args-4 377217 299.6 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args-4 69630 1960 ns/op 263 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args_ctx-4 71200 2014 ns/op 261 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/10_args-4 35518 3043 ns/op 470 B/op 1 allocs/op BenchmarkAttrs/fastText_discard/40_args-4 13584 8978 ns/op 2054 B/op 1 allocs/op BenchmarkAttrs/Text_discard/5_args-4 10935 10241 ns/op 611 B/op 3 allocs/op BenchmarkAttrs/Text_discard/5_args_ctx-4 13484 8685 ns/op 606 B/op 3 allocs/op BenchmarkAttrs/Text_discard/10_args-4 8635 14806 ns/op 909 B/op 7 allocs/op BenchmarkAttrs/Text_discard/40_args-4 2782 38398 ns/op 3059 B/op 22 allocs/op BenchmarkAttrs/JSON_discard/5_args-4 15463 8143 ns/op 523 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/5_args_ctx-4 15601 8120 ns/op 524 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/10_args-4 11612 11683 ns/op 726 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/40_args-4 3501 31870 ns/op 2355 B/op 2 allocs/op PASS ok log/slog/internal/benchmarks 4.226s goos: linux goarch: amd64 pkg: maps cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMapClone-4 3 44647992 ns/op BenchmarkKeys-4 6 17232775 ns/op BenchmarkValues-4 7 16447482 ns/op PASS ok maps 5.635s goos: linux goarch: amd64 pkg: math cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAcos-4 2174108 55.26 ns/op BenchmarkAcosh-4 931939 113.2 ns/op BenchmarkAsin-4 2170302 55.42 ns/op BenchmarkAsinh-4 992941 121.2 ns/op BenchmarkAtan-4 2899123 41.89 ns/op BenchmarkAtanh-4 971173 112.9 ns/op BenchmarkAtan2-4 2041270 57.27 ns/op BenchmarkCbrt-4 1376398 87.22 ns/op BenchmarkCeil-4 21181466 5.686 ns/op BenchmarkCompare-4 3670464 32.50 ns/op BenchmarkCompare32-4 4834122 24.51 ns/op BenchmarkCopysign-4 2884195 41.38 ns/op BenchmarkCos-4 1330759 90.94 ns/op BenchmarkCosh-4 1464115 82.73 ns/op BenchmarkErf-4 2647282 45.04 ns/op BenchmarkErfc-4 2574121 46.28 ns/op BenchmarkErfinv-4 2469801 49.30 ns/op BenchmarkErfcinv-4 2401896 50.69 ns/op BenchmarkExp-4 5896432 19.56 ns/op BenchmarkExpGo-4 875378 128.4 ns/op BenchmarkExpm1-4 1964590 60.18 ns/op BenchmarkExp2-4 941437 118.7 ns/op BenchmarkExp2Go-4 886239 129.0 ns/op BenchmarkAbs-4 3711312 32.49 ns/op BenchmarkDim-4 7783362 15.05 ns/op BenchmarkFloor-4 21046305 5.729 ns/op BenchmarkMax-4 14079733 8.485 ns/op BenchmarkMin-4 13710066 8.749 ns/op BenchmarkMod-4 326772 343.0 ns/op BenchmarkFrexp-4 1932274 60.60 ns/op BenchmarkGamma-4 699811 171.8 ns/op BenchmarkHypot-4 10043082 10.94 ns/op BenchmarkHypotGo-4 1539548 77.10 ns/op BenchmarkIlogb-4 2450006 48.58 ns/op BenchmarkJ0-4 242515 494.9 ns/op BenchmarkJ1-4 244737 482.9 ns/op BenchmarkJn-4 111357 1040 ns/op BenchmarkLdexp-4 1914927 62.05 ns/op BenchmarkLgamma-4 812350 140.5 ns/op BenchmarkLog-4 4878608 21.57 ns/op BenchmarkLogb-4 2339721 49.91 ns/op BenchmarkLog1p-4 1263620 92.76 ns/op BenchmarkLog10-4 4892506 22.92 ns/op BenchmarkLog2-4 1473850 79.87 ns/op BenchmarkModf-4 3011530 40.03 ns/op BenchmarkNextafter32-4 2851248 41.43 ns/op BenchmarkNextafter64-4 2909434 41.43 ns/op BenchmarkPowInt-4 581936 200.4 ns/op BenchmarkPowFrac-4 430162 274.2 ns/op BenchmarkPow10Pos-4 4261456 28.11 ns/op BenchmarkPow10Neg-4 4016359 29.78 ns/op BenchmarkRound-4 3601100 32.97 ns/op BenchmarkRoundToEven-4 8078665 14.99 ns/op BenchmarkRemainder-4 495586 236.9 ns/op BenchmarkSignbit-4 5016345 23.74 ns/op BenchmarkSin-4 1629458 74.78 ns/op BenchmarkSincos-4 1000000 121.1 ns/op BenchmarkSinh-4 1748802 69.03 ns/op BenchmarkSqrtIndirect-4 16452642 6.472 ns/op BenchmarkSqrtLatency-4 16452793 6.831 ns/op BenchmarkSqrtIndirectLatency-4 15688058 6.826 ns/op BenchmarkSqrtGoLatency-4 1000000 105.8 ns/op BenchmarkSqrtPrime-4 31340 3836 ns/op BenchmarkTan-4 1443494 81.70 ns/op BenchmarkTanh-4 1357676 88.93 ns/op BenchmarkTrunc-4 16526170 6.120 ns/op BenchmarkY0-4 245836 477.2 ns/op BenchmarkY1-4 250368 480.7 ns/op BenchmarkYn-4 120813 1014 ns/op BenchmarkFloat64bits-4 5601456 21.03 ns/op BenchmarkFloat64frombits-4 5079879 23.37 ns/op BenchmarkFloat32bits-4 4994610 23.35 ns/op BenchmarkFloat32frombits-4 4780713 24.71 ns/op BenchmarkFMA-4 19678813 6.103 ns/op PASS ok math 12.679s goos: linux goarch: amd64 pkg: math/big cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAddVV/1-4 12592531 9.504 ns/op 6734.00 MB/s BenchmarkAddVV/2-4 11423503 10.46 ns/op 12240.98 MB/s BenchmarkAddVV/3-4 9535046 12.45 ns/op 15418.11 MB/s BenchmarkAddVV/4-4 10736344 11.10 ns/op 23072.05 MB/s BenchmarkAddVV/5-4 9432468 12.81 ns/op 24979.74 MB/s BenchmarkAddVV/10-4 7725811 15.67 ns/op 40832.48 MB/s BenchmarkAddVV/100-4 1651340 72.25 ns/op 88579.63 MB/s BenchmarkAddVV/1000-4 203876 591.5 ns/op 108191.12 MB/s BenchmarkSubVV/1-4 12659458 9.506 ns/op 6732.91 MB/s BenchmarkSubVV/2-4 10796223 11.22 ns/op 11403.88 MB/s BenchmarkSubVV/3-4 9946836 12.07 ns/op 15906.79 MB/s BenchmarkSubVV/4-4 9941377 12.05 ns/op 21239.59 MB/s BenchmarkSubVV/5-4 9547879 12.63 ns/op 25341.80 MB/s BenchmarkSubVV/10-4 7673712 15.41 ns/op 41526.58 MB/s BenchmarkSubVV/100-4 1674088 72.54 ns/op 88228.99 MB/s BenchmarkSubVV/1000-4 202358 589.5 ns/op 108567.17 MB/s BenchmarkAddVW/1-4 13756563 8.793 ns/op 909.78 MB/s BenchmarkAddVW/2-4 12538542 9.434 ns/op 1695.91 MB/s BenchmarkAddVW/3-4 10769956 11.19 ns/op 2144.55 MB/s BenchmarkAddVW/4-4 11838429 10.31 ns/op 3104.06 MB/s BenchmarkAddVW/5-4 10736398 10.93 ns/op 3658.00 MB/s BenchmarkAddVW/10-4 9043508 13.24 ns/op 6042.36 MB/s BenchmarkAddVW/100-4 247308 455.5 ns/op 1756.44 MB/s BenchmarkAddVW/1000-4 33880 3482 ns/op 2297.48 MB/s BenchmarkAddVWext/1-4 14359898 8.433 ns/op 948.65 MB/s BenchmarkAddVWext/2-4 13163767 9.243 ns/op 1731.10 MB/s BenchmarkAddVWext/3-4 11930224 9.741 ns/op 2463.74 MB/s BenchmarkAddVWext/4-4 11902231 10.09 ns/op 3171.99 MB/s BenchmarkAddVWext/5-4 10067961 11.19 ns/op 3575.59 MB/s BenchmarkAddVWext/10-4 9129091 13.07 ns/op 6120.21 MB/s BenchmarkAddVWext/100-4 81070 1472 ns/op 543.38 MB/s BenchmarkAddVWext/1000-4 8268 14394 ns/op 555.80 MB/s BenchmarkSubVW/1-4 13711478 8.756 ns/op 913.63 MB/s BenchmarkSubVW/2-4 11581377 10.12 ns/op 1581.44 MB/s BenchmarkSubVW/3-4 10385092 11.71 ns/op 2048.93 MB/s BenchmarkSubVW/4-4 11654179 10.09 ns/op 3171.80 MB/s BenchmarkSubVW/5-4 11053182 11.01 ns/op 3632.67 MB/s BenchmarkSubVW/10-4 9166246 13.25 ns/op 6036.46 MB/s BenchmarkSubVW/100-4 259695 465.3 ns/op 1719.15 MB/s BenchmarkSubVW/1000-4 35073 3481 ns/op 2298.22 MB/s BenchmarkSubVWext/1-4 13631652 8.655 ns/op 924.30 MB/s BenchmarkSubVWext/2-4 13247240 9.184 ns/op 1742.17 MB/s BenchmarkSubVWext/3-4 11770038 10.41 ns/op 2305.89 MB/s BenchmarkSubVWext/4-4 11914881 10.07 ns/op 3178.86 MB/s BenchmarkSubVWext/5-4 11042527 10.88 ns/op 3676.52 MB/s BenchmarkSubVWext/10-4 9094579 13.27 ns/op 6028.09 MB/s BenchmarkSubVWext/100-4 81452 1460 ns/op 548.12 MB/s BenchmarkSubVWext/1000-4 8425 14226 ns/op 562.35 MB/s BenchmarkMulAddVWW/1-4 11721372 10.43 ns/op 6133.45 MB/s BenchmarkMulAddVWW/2-4 10892688 11.06 ns/op 11574.76 MB/s BenchmarkMulAddVWW/3-4 10231168 11.72 ns/op 16387.08 MB/s BenchmarkMulAddVWW/4-4 8272816 14.46 ns/op 17702.55 MB/s BenchmarkMulAddVWW/5-4 8507547 14.38 ns/op 22247.51 MB/s BenchmarkMulAddVWW/10-4 6628377 18.16 ns/op 35235.25 MB/s BenchmarkMulAddVWW/100-4 1000000 107.8 ns/op 59347.39 MB/s BenchmarkMulAddVWW/1000-4 128140 936.2 ns/op 68360.25 MB/s BenchmarkAddMulVVW/1-4 11812378 9.938 ns/op 6440.21 MB/s BenchmarkAddMulVVW/2-4 11063433 10.69 ns/op 11972.63 MB/s BenchmarkAddMulVVW/3-4 9675960 11.84 ns/op 16211.50 MB/s BenchmarkAddMulVVW/4-4 9057555 12.99 ns/op 19709.00 MB/s BenchmarkAddMulVVW/5-4 8466008 14.42 ns/op 22193.53 MB/s BenchmarkAddMulVVW/10-4 6980972 16.99 ns/op 37678.86 MB/s BenchmarkAddMulVVW/100-4 1466851 81.93 ns/op 78115.22 MB/s BenchmarkAddMulVVW/1000-4 164061 729.5 ns/op 87737.16 MB/s BenchmarkDivWVW/1-4 2607232 46.13 ns/op 1387.44 MB/s BenchmarkDivWVW/2-4 1237328 98.86 ns/op 1294.78 MB/s BenchmarkDivWVW/3-4 934892 127.4 ns/op 1507.56 MB/s BenchmarkDivWVW/4-4 819412 149.1 ns/op 1717.13 MB/s BenchmarkDivWVW/5-4 773580 156.7 ns/op 2042.53 MB/s BenchmarkDivWVW/10-4 395084 293.0 ns/op 2184.50 MB/s BenchmarkDivWVW/100-4 54672 2229 ns/op 2871.06 MB/s BenchmarkDivWVW/1000-4 5468 21282 ns/op 3007.23 MB/s BenchmarkNonZeroShifts/1/shrVU-4 10636525 10.66 ns/op BenchmarkNonZeroShifts/1/shlVU-4 11709733 10.26 ns/op BenchmarkNonZeroShifts/2/shrVU-4 10715541 11.36 ns/op BenchmarkNonZeroShifts/2/shlVU-4 10755778 11.27 ns/op BenchmarkNonZeroShifts/3/shrVU-4 9659574 12.65 ns/op BenchmarkNonZeroShifts/3/shlVU-4 10082821 12.08 ns/op BenchmarkNonZeroShifts/4/shrVU-4 8813324 13.51 ns/op BenchmarkNonZeroShifts/4/shlVU-4 9441170 12.82 ns/op BenchmarkNonZeroShifts/5/shrVU-4 8205274 15.00 ns/op BenchmarkNonZeroShifts/5/shlVU-4 9022320 13.60 ns/op BenchmarkNonZeroShifts/10/shrVU-4 6304968 19.18 ns/op BenchmarkNonZeroShifts/10/shlVU-4 6842214 17.73 ns/op BenchmarkNonZeroShifts/100/shrVU-4 1000000 115.6 ns/op BenchmarkNonZeroShifts/100/shlVU-4 1257003 95.57 ns/op BenchmarkNonZeroShifts/1000/shrVU-4 126003 942.1 ns/op BenchmarkNonZeroShifts/1000/shlVU-4 154249 781.6 ns/op BenchmarkDecimalConversion-4 206 575947 ns/op BenchmarkFloatString/100-4 9247 10990 ns/op 392 B/op 8 allocs/op BenchmarkFloatString/1000-4 211 549520 ns/op 2910 B/op 10 allocs/op BenchmarkFloatString/10000-4 2 52023768 ns/op 60568 B/op 48 allocs/op BenchmarkFloatString/100000-4 1 5007434230 ns/op 816032 B/op 483 allocs/op BenchmarkFloatAdd/10-4 170430 712.5 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100-4 168051 738.2 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/1000-4 149527 787.6 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/10000-4 85056 1400 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100000-4 17088 6993 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10-4 223638 536.6 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100-4 222697 529.7 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/1000-4 224550 532.7 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10000-4 157726 764.4 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100000-4 45144 2657 ns/op 0 B/op 0 allocs/op BenchmarkParseFloatSmallExp-4 1950 61322 ns/op BenchmarkParseFloatLargeExp-4 444 270911 ns/op BenchmarkGCD10x10/WithoutXY-4 204981 596.0 ns/op BenchmarkGCD10x10/WithXY-4 59036 2056 ns/op BenchmarkGCD10x100/WithoutXY-4 96700 1187 ns/op BenchmarkGCD10x100/WithXY-4 16836 7464 ns/op BenchmarkGCD10x1000/WithoutXY-4 58117 1808 ns/op BenchmarkGCD10x1000/WithXY-4 13531 8737 ns/op BenchmarkGCD100x100/WithoutXY-4 24688 4691 ns/op BenchmarkGCD100x100/WithXY-4 10000 11690 ns/op BenchmarkGCD100x1000/WithoutXY-4 9666 10359 ns/op BenchmarkGCD100x1000/WithXY-4 6165 20175 ns/op BenchmarkGCD1000x1000/WithoutXY-4 2035 56086 ns/op BenchmarkGCD1000x1000/WithXY-4 1186 98552 ns/op BenchmarkHilbert-4 22 5064521 ns/op BenchmarkBinomial-4 14338 8182 ns/op BenchmarkQuoRem-4 19573 6261 ns/op BenchmarkExp-4 15 7577591 ns/op BenchmarkExpMont/Odd-4 129 943052 ns/op 2593 B/op 22 allocs/op BenchmarkExpMont/Even1-4 128 951253 ns/op 3351 B/op 37 allocs/op BenchmarkExpMont/Even2-4 100 1000953 ns/op 3850 B/op 53 allocs/op BenchmarkExpMont/Even3-4 122 1018546 ns/op 3837 B/op 53 allocs/op BenchmarkExpMont/Even4-4 100 1011896 ns/op 3849 B/op 53 allocs/op BenchmarkExpMont/Even8-4 100 1003026 ns/op 3824 B/op 52 allocs/op BenchmarkExpMont/Even32-4 122 995510 ns/op 3859 B/op 53 allocs/op BenchmarkExpMont/Even64-4 142 819817 ns/op 3629 B/op 53 allocs/op BenchmarkExpMont/Even96-4 141 850584 ns/op 3771 B/op 51 allocs/op BenchmarkExpMont/Even128-4 162 738070 ns/op 3258 B/op 50 allocs/op BenchmarkExpMont/Even255-4 181 656930 ns/op 2936 B/op 47 allocs/op BenchmarkExpMont/SmallEven1-4 428 276472 ns/op 1312 B/op 34 allocs/op BenchmarkExpMont/SmallEven2-4 374 320364 ns/op 1729 B/op 46 allocs/op BenchmarkExpMont/SmallEven3-4 370 314374 ns/op 1745 B/op 47 allocs/op BenchmarkExpMont/SmallEven4-4 356 327440 ns/op 1738 B/op 47 allocs/op BenchmarkExp2-4 14 7598528 ns/op BenchmarkBitset-4 763467 145.3 ns/op BenchmarkBitsetNeg-4 425960 274.8 ns/op BenchmarkBitsetOrig-4 236035 496.0 ns/op BenchmarkBitsetNegOrig-4 142582 797.0 ns/op BenchmarkModSqrt225_Tonelli-4 100 1061910 ns/op BenchmarkModSqrt225_3Mod4-4 373 316590 ns/op BenchmarkModSqrt231_Tonelli-4 112 1048538 ns/op BenchmarkModSqrt231_5Mod8-4 324 385464 ns/op BenchmarkModInverse-4 10000 10309 ns/op BenchmarkSqrt-4 1437 76019 ns/op BenchmarkIntSqr/1-4 1406859 86.12 ns/op BenchmarkIntSqr/2-4 748722 157.4 ns/op BenchmarkIntSqr/3-4 633235 187.5 ns/op BenchmarkIntSqr/5-4 434148 270.3 ns/op BenchmarkIntSqr/8-4 306396 374.6 ns/op BenchmarkIntSqr/10-4 257468 490.6 ns/op BenchmarkIntSqr/20-4 47161 2679 ns/op BenchmarkIntSqr/30-4 34838 3535 ns/op BenchmarkIntSqr/50-4 22022 5690 ns/op BenchmarkIntSqr/80-4 12973 9450 ns/op BenchmarkIntSqr/100-4 9878 12239 ns/op BenchmarkIntSqr/200-4 3633 31345 ns/op BenchmarkIntSqr/300-4 1286 78855 ns/op BenchmarkIntSqr/500-4 718 160162 ns/op BenchmarkIntSqr/800-4 292 417397 ns/op BenchmarkIntSqr/1000-4 223 513384 ns/op BenchmarkDiv/20/10-4 424728 274.0 ns/op BenchmarkDiv/40/20-4 429548 274.6 ns/op BenchmarkDiv/100/50-4 358944 317.7 ns/op BenchmarkDiv/200/100-4 48794 2580 ns/op BenchmarkDiv/400/200-4 47157 2686 ns/op BenchmarkDiv/1000/500-4 38592 3266 ns/op BenchmarkDiv/2000/1000-4 27810 4381 ns/op BenchmarkDiv/20000/10000-4 945 120430 ns/op BenchmarkDiv/200000/100000-4 24 4816964 ns/op BenchmarkDiv/2000000/1000000-4 1 129396685 ns/op BenchmarkDiv/20000000/10000000-4 1 3755683640 ns/op BenchmarkMul-4 5 23859626 ns/op BenchmarkNatMul/10-4 149194 681.9 ns/op BenchmarkNatMul/100-4 5344 21931 ns/op BenchmarkNatMul/1000-4 170 692122 ns/op BenchmarkZeroShifts/Shl-4 13876 7514 ns/op BenchmarkZeroShifts/ShlSame-4 4642160 24.73 ns/op BenchmarkZeroShifts/Shr-4 15175 7381 ns/op BenchmarkZeroShifts/ShrSame-4 4809909 24.68 ns/op BenchmarkExp3Power/0x10-4 167827 664.0 ns/op BenchmarkExp3Power/0x40-4 165940 789.3 ns/op BenchmarkExp3Power/0x100-4 90386 1250 ns/op BenchmarkExp3Power/0x400-4 39582 2779 ns/op BenchmarkExp3Power/0x1000-4 9594 12689 ns/op BenchmarkExp3Power/0x4000-4 1687 65119 ns/op BenchmarkExp3Power/0x10000-4 202 584644 ns/op BenchmarkExp3Power/0x40000-4 18 6814300 ns/op BenchmarkExp3Power/0x100000-4 2 62782566 ns/op BenchmarkExp3Power/0x400000-4 1 576141023 ns/op BenchmarkFibo-4 3 39552779 ns/op BenchmarkNatSqr/1-4 935632 134.1 ns/op BenchmarkNatSqr/2-4 577654 235.4 ns/op BenchmarkNatSqr/3-4 493243 265.7 ns/op BenchmarkNatSqr/5-4 324771 396.8 ns/op BenchmarkNatSqr/8-4 208308 552.7 ns/op BenchmarkNatSqr/10-4 157203 673.9 ns/op BenchmarkNatSqr/20-4 41409 2787 ns/op BenchmarkNatSqr/30-4 31027 3718 ns/op BenchmarkNatSqr/50-4 18318 6060 ns/op BenchmarkNatSqr/80-4 10000 10668 ns/op BenchmarkNatSqr/100-4 9384 13785 ns/op BenchmarkNatSqr/200-4 3577 34289 ns/op BenchmarkNatSqr/300-4 1354 82678 ns/op BenchmarkNatSqr/500-4 674 158677 ns/op BenchmarkNatSqr/800-4 296 385150 ns/op BenchmarkNatSqr/1000-4 213 508747 ns/op BenchmarkNatSetBytes/8-4 679512 170.8 ns/op BenchmarkNatSetBytes/24-4 201097 572.8 ns/op BenchmarkNatSetBytes/128-4 45229 2541 ns/op BenchmarkNatSetBytes/7-4 775850 153.2 ns/op BenchmarkNatSetBytes/23-4 199447 562.4 ns/op BenchmarkNatSetBytes/127-4 45793 2518 ns/op BenchmarkScanPi-4 216 508744 ns/op BenchmarkStringPiParallel-4 608 184186 ns/op BenchmarkScan/10/Base2-4 39406 2945 ns/op BenchmarkScan/100/Base2-4 4167 25300 ns/op BenchmarkScan/1000/Base2-4 471 253568 ns/op BenchmarkScan/10/Base8-4 98912 1211 ns/op BenchmarkScan/100/Base8-4 13441 8870 ns/op BenchmarkScan/1000/Base8-4 1338 85334 ns/op BenchmarkScan/10/Base10-4 106027 1136 ns/op BenchmarkScan/100/Base10-4 14780 8180 ns/op BenchmarkScan/1000/Base10-4 1507 78339 ns/op BenchmarkScan/10/Base16-4 114814 1030 ns/op BenchmarkScan/100/Base16-4 16530 7191 ns/op BenchmarkScan/1000/Base16-4 1690 70058 ns/op BenchmarkString/10/Base2-4 167592 730.8 ns/op BenchmarkString/100/Base2-4 20494 5678 ns/op BenchmarkString/1000/Base2-4 2442 48405 ns/op BenchmarkString/10/Base8-4 315549 374.6 ns/op BenchmarkString/100/Base8-4 55696 2086 ns/op BenchmarkString/1000/Base8-4 6843 17403 ns/op BenchmarkString/10/Base10-4 200120 611.2 ns/op BenchmarkString/100/Base10-4 36294 3198 ns/op BenchmarkString/1000/Base10-4 4471 26341 ns/op BenchmarkString/10/Base16-4 359732 328.7 ns/op BenchmarkString/100/Base16-4 81066 1452 ns/op BenchmarkString/1000/Base16-4 8403 12502 ns/op BenchmarkLeafSize/0-4 42 2813103 ns/op BenchmarkLeafSize/1-4 379 295108 ns/op BenchmarkLeafSize/2-4 384 293486 ns/op BenchmarkLeafSize/3-4 285 407399 ns/op BenchmarkLeafSize/4-4 386 298322 ns/op BenchmarkLeafSize/5-4 254 458107 ns/op BenchmarkLeafSize/6-4 292 401955 ns/op BenchmarkLeafSize/7-4 302 378001 ns/op BenchmarkLeafSize/8-4 396 281872 ns/op BenchmarkLeafSize/9-4 216 537568 ns/op BenchmarkLeafSize/10-4 252 461946 ns/op BenchmarkLeafSize/11-4 271 437226 ns/op BenchmarkLeafSize/12-4 301 403076 ns/op BenchmarkLeafSize/13-4 268 426754 ns/op BenchmarkLeafSize/14-4 300 372806 ns/op BenchmarkLeafSize/15-4 333 349454 ns/op BenchmarkLeafSize/16-4 403 284971 ns/op BenchmarkLeafSize/32-4 400 290963 ns/op BenchmarkLeafSize/64-4 374 306620 ns/op BenchmarkProbablyPrime/n=0-4 9 12427168 ns/op BenchmarkProbablyPrime/n=1-4 8 13919140 ns/op BenchmarkProbablyPrime/n=5-4 6 19797560 ns/op BenchmarkProbablyPrime/n=10-4 4 28163755 ns/op BenchmarkProbablyPrime/n=20-4 3 42303134 ns/op BenchmarkProbablyPrime/Lucas-4 10 10577494 ns/op BenchmarkProbablyPrime/MillerRabinBase2-4 75 1595329 ns/op BenchmarkRatCmp-4 212887 548.7 ns/op BenchmarkFloatSqrt/64-4 22231 5510 ns/op 208 B/op 5 allocs/op BenchmarkFloatSqrt/128-4 13939 8338 ns/op 256 B/op 5 allocs/op BenchmarkFloatSqrt/256-4 9723 11922 ns/op 352 B/op 5 allocs/op BenchmarkFloatSqrt/1000-4 4917 24588 ns/op 1312 B/op 6 allocs/op BenchmarkFloatSqrt/10000-4 783 149422 ns/op 18080 B/op 9 allocs/op BenchmarkFloatSqrt/100000-4 61 1960080 ns/op 176077 B/op 20 allocs/op BenchmarkFloatSqrt/1000000-4 1 153629701 ns/op 3813712 B/op 634 allocs/op PASS ok math/big 51.351s goos: linux goarch: amd64 pkg: math/bits cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLeadingZeros-4 8600038 14.06 ns/op BenchmarkLeadingZeros8-4 8414181 14.41 ns/op BenchmarkLeadingZeros16-4 10031170 12.23 ns/op BenchmarkLeadingZeros32-4 9551696 12.56 ns/op BenchmarkLeadingZeros64-4 10364379 11.54 ns/op BenchmarkTrailingZeros-4 10376871 11.06 ns/op BenchmarkTrailingZeros8-4 9483096 12.68 ns/op BenchmarkTrailingZeros16-4 10435832 11.51 ns/op BenchmarkTrailingZeros32-4 9616257 12.33 ns/op BenchmarkTrailingZeros64-4 10929890 11.02 ns/op BenchmarkOnesCount-4 10667944 11.22 ns/op BenchmarkOnesCount8-4 9593318 12.71 ns/op BenchmarkOnesCount16-4 9833707 12.17 ns/op BenchmarkOnesCount32-4 9775246 12.26 ns/op BenchmarkOnesCount64-4 10624726 11.33 ns/op BenchmarkRotateLeft-4 9515870 12.74 ns/op BenchmarkRotateLeft8-4 10330220 11.97 ns/op BenchmarkRotateLeft16-4 9447180 12.79 ns/op BenchmarkRotateLeft32-4 9793593 12.21 ns/op BenchmarkRotateLeft64-4 10364995 11.82 ns/op BenchmarkReverse-4 15782253 7.609 ns/op BenchmarkReverse8-4 20966067 5.776 ns/op BenchmarkReverse16-4 15887276 6.560 ns/op BenchmarkReverse32-4 14166031 7.252 ns/op BenchmarkReverse64-4 15697809 7.625 ns/op BenchmarkReverseBytes-4 20868856 5.810 ns/op BenchmarkReverseBytes16-4 20705385 5.720 ns/op BenchmarkReverseBytes32-4 20895901 5.708 ns/op BenchmarkReverseBytes64-4 20668786 5.820 ns/op BenchmarkAdd-4 10477225 11.53 ns/op BenchmarkAdd32-4 9024356 12.73 ns/op BenchmarkAdd64-4 10884099 11.18 ns/op BenchmarkAdd64multiple-4 18608236 6.456 ns/op BenchmarkSub-4 9556872 12.41 ns/op BenchmarkSub32-4 9460938 12.81 ns/op BenchmarkSub64-4 10884631 11.24 ns/op BenchmarkSub64multiple-4 17978529 6.549 ns/op BenchmarkMul-4 10157211 11.79 ns/op BenchmarkMul32-4 9527899 12.60 ns/op BenchmarkMul64-4 10309832 11.64 ns/op BenchmarkDiv-4 2661064 45.45 ns/op BenchmarkDiv32-4 5584682 21.10 ns/op BenchmarkDiv64-4 2715249 45.16 ns/op PASS ok math/bits 7.501s goos: linux goarch: amd64 pkg: math/cmplx cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAbs-4 10146846 11.96 ns/op BenchmarkAcos-4 377798 270.4 ns/op BenchmarkAcosh-4 348978 288.0 ns/op BenchmarkAsin-4 453507 261.8 ns/op BenchmarkAsinh-4 452331 264.4 ns/op BenchmarkAtan-4 721965 165.7 ns/op BenchmarkAtanh-4 733125 166.6 ns/op BenchmarkConj-4 16744070 7.193 ns/op BenchmarkCos-4 515071 208.6 ns/op BenchmarkCosh-4 558841 211.9 ns/op BenchmarkExp-4 725091 157.0 ns/op BenchmarkLog-4 800313 146.6 ns/op BenchmarkLog10-4 808015 147.6 ns/op BenchmarkPhase-4 1770684 68.24 ns/op BenchmarkPolar-4 1000000 102.7 ns/op BenchmarkPow-4 226624 524.8 ns/op BenchmarkRect-4 980095 122.0 ns/op BenchmarkSin-4 563246 215.4 ns/op BenchmarkSinh-4 563662 211.0 ns/op BenchmarkSqrt-4 977480 119.7 ns/op BenchmarkTan-4 357565 329.7 ns/op BenchmarkTanh-4 386350 310.0 ns/op PASS ok math/cmplx 3.756s goos: linux goarch: amd64 pkg: math/rand cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkInt63Threadsafe-4 578876 175.0 ns/op BenchmarkInt63ThreadsafeParallel-4 602874 247.5 ns/op BenchmarkInt63Unthreadsafe-4 1206855 100.5 ns/op BenchmarkIntn1000-4 786459 141.9 ns/op BenchmarkInt63n1000-4 851011 134.3 ns/op BenchmarkInt31n1000-4 929504 124.0 ns/op BenchmarkFloat32-4 966328 117.8 ns/op BenchmarkFloat64-4 1000000 100.5 ns/op BenchmarkPerm3-4 187924 632.5 ns/op BenchmarkPerm30-4 22084 5356 ns/op BenchmarkPerm30ViaShuffle-4 25048 4760 ns/op BenchmarkShuffleOverhead-4 17931 6839 ns/op BenchmarkRead3-4 889868 131.6 ns/op BenchmarkRead64-4 73406 1629 ns/op BenchmarkRead1000-4 4810 23810 ns/op BenchmarkConcurrent-4 150958 977.0 ns/op PASS ok math/rand 3.392s goos: linux goarch: amd64 pkg: mime cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkQEncodeWord-4 38804 2758 ns/op BenchmarkQDecodeWord-4 98214 1129 ns/op BenchmarkQDecodeHeader-4 95692 1211 ns/op BenchmarkTypeByExtension/.html-4 377880 316.0 ns/op BenchmarkTypeByExtension/.HTML-4 246045 443.8 ns/op BenchmarkTypeByExtension/.unused-4 335890 347.9 ns/op BenchmarkExtensionsByType/text/html-4 138004 829.5 ns/op BenchmarkExtensionsByType/text/html;_charset=utf-8-4 79279 1360 ns/op BenchmarkExtensionsByType/application/octet-stream-4 108308 1100 ns/op PASS ok mime 2.477s goos: linux goarch: amd64 pkg: mime/multipart cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadForm/fields/maxMemory=0-4 673 186513 ns/op 48464 B/op 187 allocs/op BenchmarkReadForm/fields/maxMemory=1048576-4 580 182980 ns/op 47799 B/op 187 allocs/op BenchmarkReadForm/files/maxMemory=0-4 226 506749 ns/op 104570 B/op 271 allocs/op BenchmarkReadForm/files/maxMemory=1048576-4 476 235278 ns/op 49377 B/op 207 allocs/op PASS ok mime/multipart 1.713s goos: linux goarch: amd64 pkg: mime/quotedprintable cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkWriter-4 948 123627 ns/op PASS ok mime/quotedprintable 1.151s goos: linux goarch: amd64 pkg: net cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkGoLookupIP-4 33 3067046 ns/op 8727 B/op 91 allocs/op BenchmarkGoLookupIPNoSuchHost-4 16 6419358 ns/op 19381 B/op 160 allocs/op BenchmarkGoLookupIPWithBrokenNameServer-4 1 5003399433 ns/op 158752 B/op 230 allocs/op BenchmarkDNSName-4 106104 997.1 ns/op BenchmarkInterfaces-4 1144 95677 ns/op 16761 B/op 42 allocs/op BenchmarkInterfaceByIndex-4 1568 68308 ns/op 12312 B/op 25 allocs/op BenchmarkInterfaceByName-4 1255 85767 ns/op 16864 B/op 43 allocs/op BenchmarkInterfaceAddrs-4 770 135397 ns/op 22917 B/op 103 allocs/op BenchmarkInterfacesAndAddrs-4 2516 44409 ns/op 3908 B/op 33 allocs/op BenchmarkInterfacesAndMulticastAddrs-4 476 237734 ns/op 137579 B/op 51 allocs/op BenchmarkParseIP-4 6934 18377 ns/op BenchmarkParseIPValidIPv4-4 298582 352.0 ns/op BenchmarkParseIPValidIPv6-4 160400 709.2 ns/op BenchmarkIPString/IPv4-4 109512 1072 ns/op 32 B/op 2 allocs/op BenchmarkIPString/IPv6-4 9381 12399 ns/op 216 B/op 11 allocs/op BenchmarkIPMaskString-4 43422 2802 ns/op BenchmarkIPEqual/IPv4-4 1055484 117.4 ns/op BenchmarkIPEqual/IPv6-4 1059688 108.7 ns/op BenchmarkSendFile/1024-4 1 1210949538 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/2048-4 1 1213874966 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/4096-4 1 1213351264 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/8192-4 1 1206101715 ns/op 0.01 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/16384-4 1 1205223511 ns/op 0.01 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/32768-4 1 1017270150 ns/op 0.03 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/65536-4 1 1016732434 ns/op 0.06 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/131072-4 1 1019057072 ns/op 0.13 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/262144-4 1 1017921122 ns/op 0.26 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/524288-4 1 1018876785 ns/op 0.51 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/1048576-4 1 1021183083 ns/op 1.03 MB/s 520 B/op 11 allocs/op BenchmarkSplice/tcp-to-tcp/1024-4 1 1017287292 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/2048-4 1 1017210663 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/4096-4 1 1016939278 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/8192-4 1 1017155090 ns/op 0.01 MB/s BenchmarkSplice/tcp-to-tcp/16384-4 1 1016788920 ns/op 0.02 MB/s BenchmarkSplice/tcp-to-tcp/32768-4 1 1017042082 ns/op 0.03 MB/s BenchmarkSplice/tcp-to-tcp/65536-4 1 1017077732 ns/op 0.06 MB/s BenchmarkSplice/tcp-to-tcp/131072-4 1 1017377839 ns/op 0.13 MB/s BenchmarkSplice/tcp-to-tcp/262144-4 1 1017724979 ns/op 0.26 MB/s BenchmarkSplice/tcp-to-tcp/524288-4 1 1019312561 ns/op 0.51 MB/s BenchmarkSplice/tcp-to-tcp/1048576-4 1 1022213408 ns/op 1.03 MB/s BenchmarkSplice/unix-to-tcp/1024-4 1 1016816530 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/2048-4 1 1016673753 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/4096-4 1 1017554565 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/8192-4 1 1016683151 ns/op 0.01 MB/s BenchmarkSplice/unix-to-tcp/16384-4 1 1018634740 ns/op 0.02 MB/s BenchmarkSplice/unix-to-tcp/32768-4 1 1017768000 ns/op 0.03 MB/s BenchmarkSplice/unix-to-tcp/65536-4 1 1018526705 ns/op 0.06 MB/s BenchmarkSplice/unix-to-tcp/131072-4 1 1017199749 ns/op 0.13 MB/s BenchmarkSplice/unix-to-tcp/262144-4 1 1017766347 ns/op 0.26 MB/s BenchmarkSplice/unix-to-tcp/524288-4 1 1018573899 ns/op 0.51 MB/s BenchmarkSplice/unix-to-tcp/1048576-4 1 1020466180 ns/op 1.03 MB/s BenchmarkSpliceFile/tcp-to-file/1024-4 1 1016702249 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/2048-4 1 1016902033 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/4096-4 1 1016689676 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/8192-4 1 1016869461 ns/op 0.01 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/16384-4 1 1017135365 ns/op 0.02 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/32768-4 1 1019473119 ns/op 0.03 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/65536-4 1 1019295212 ns/op 0.06 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/131072-4 1 1017468413 ns/op 0.13 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/262144-4 1 1019051616 ns/op 0.26 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/524288-4 1 1019335811 ns/op 0.51 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/1048576-4 1 1021053048 ns/op 1.03 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/1024-4 1 1016986014 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/2048-4 1 1016783176 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/4096-4 1 1019497981 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/8192-4 1 1017186139 ns/op 0.01 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/16384-4 1 1017260211 ns/op 0.02 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/32768-4 1 1017996191 ns/op 0.03 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/65536-4 1 1016795859 ns/op 0.06 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/131072-4 1 1017630979 ns/op 0.13 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/262144-4 1 1017913082 ns/op 0.26 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/524288-4 1 1022267331 ns/op 0.51 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/1048576-4 1 1021345010 ns/op 1.03 MB/s 944 B/op 9 allocs/op BenchmarkTCP4OneShot-4 1680 64053 ns/op BenchmarkTCP4OneShotTimeout-4 2017 58285 ns/op BenchmarkTCP4Persistent-4 10068 10185 ns/op BenchmarkTCP4PersistentTimeout-4 11092 9414 ns/op BenchmarkTCP6OneShot-4 2185 54056 ns/op BenchmarkTCP6OneShotTimeout-4 1994 56554 ns/op BenchmarkTCP6Persistent-4 10790 11022 ns/op BenchmarkTCP6PersistentTimeout-4 11791 10719 ns/op BenchmarkTCP4ConcurrentReadWrite-4 25407 5702 ns/op BenchmarkTCP6ConcurrentReadWrite-4 26884 5030 ns/op BenchmarkSetReadDeadline-4 112327 959.4 ns/op BenchmarkReadWriteMsgUDPAddrPort-4 8812 12648 ns/op 0 B/op 0 allocs/op BenchmarkWriteToReadFromUDP-4 9444 17017 ns/op 16 B/op 1 allocs/op BenchmarkWriteToReadFromUDPAddrPort-4 9340 12521 ns/op 0 B/op 0 allocs/op PASS ok net 67.835s goos: linux goarch: amd64 pkg: net/http cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCookieString-4 27398 4052 ns/op 176 B/op 1 allocs/op BenchmarkReadSetCookies-4 9975 11117 ns/op 1168 B/op 21 allocs/op BenchmarkReadCookies-4 14283 8345 ns/op 1840 B/op 11 allocs/op BenchmarkHeaderWriteSubset-4 17804 6603 ns/op 45 B/op 0 allocs/op BenchmarkCopyValues-4 32366 3523 ns/op 736 B/op 11 allocs/op BenchmarkHexEscapeNonASCII-4 48745 2409 ns/op 192 B/op 2 allocs/op BenchmarkServerMatch-4 809893 126.4 ns/op BenchmarkReadRequestChrome-4 3518 33859 ns/op 18.05 MB/s 1476 B/op 14 allocs/op BenchmarkReadRequestCurl-4 9285 11362 ns/op 6.86 MB/s 924 B/op 9 allocs/op BenchmarkReadRequestApachebench-4 8607 11629 ns/op 7.05 MB/s 924 B/op 9 allocs/op BenchmarkReadRequestSiege-4 7046 16493 ns/op 9.16 MB/s 1020 B/op 11 allocs/op BenchmarkReadRequestWrk-4 15997 6967 ns/op 5.74 MB/s 860 B/op 7 allocs/op BenchmarkFileAndServer_1KB/h1-4 248 431914 ns/op 2.37 MB/s BenchmarkFileAndServer_1KB/https1-4 177 591804 ns/op 1.73 MB/s BenchmarkFileAndServer_1KB/h2-4 140 825539 ns/op 1.24 MB/s BenchmarkFileAndServer_16MB/h1-4 2 51376468 ns/op 326.55 MB/s BenchmarkFileAndServer_16MB/https1-4 1 156887980 ns/op 106.94 MB/s BenchmarkFileAndServer_16MB/h2-4 1 242623080 ns/op 69.15 MB/s BenchmarkFileAndServer_64MB/h1-4 1 193836462 ns/op 346.21 MB/s BenchmarkFileAndServer_64MB/https1-4 1 425636259 ns/op 157.67 MB/s BenchmarkFileAndServer_64MB/h2-4 1 943832347 ns/op 71.10 MB/s BenchmarkServeMux-4 261 480976 ns/op 17280 B/op 360 allocs/op BenchmarkServeMux_SkipServe-4 340 381977 ns/op 0 B/op 0 allocs/op BenchmarkClientServer/h1-4 356 327634 ns/op 5966 B/op 64 allocs/op BenchmarkClientServer/https1-4 199 534996 ns/op 6635 B/op 75 allocs/op BenchmarkClientServer/h2-4 148 686862 ns/op 10201 B/op 83 allocs/op BenchmarkClientServerParallel/4/h1-4 873 117861 ns/op 9806 B/op 78 allocs/op BenchmarkClientServerParallel/4/https1-4 32 4503505 ns/op 93072 B/op 994 allocs/op --- BENCH: BenchmarkClientServerParallel/4/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49254: read tcp 127.0.0.1:34911->127.0.0.1:49254: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49252: write tcp 127.0.0.1:34911->127.0.0.1:49252: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:49240: write tcp 127.0.0.1:34911->127.0.0.1:49240: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:44524: read tcp 127.0.0.1:36503->127.0.0.1:44524: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:44568: read tcp 127.0.0.1:36503->127.0.0.1:44568: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:44570: read tcp 127.0.0.1:36503->127.0.0.1:44570: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:44584: write tcp 127.0.0.1:36503->127.0.0.1:44584: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54872: read tcp 127.0.0.1:34199->127.0.0.1:54872: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54970: read tcp 127.0.0.1:34199->127.0.0.1:54970: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55006: read tcp 127.0.0.1:34199->127.0.0.1:55006: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/4/h2-4 175 590402 ns/op 17749 B/op 181 allocs/op --- BENCH: BenchmarkClientServerParallel/4/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:58378: read tcp 127.0.0.1:35317->127.0.0.1:58378: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:58334: read tcp 127.0.0.1:35317->127.0.0.1:58334: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:58380: write tcp 127.0.0.1:35317->127.0.0.1:58380: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:58356: write tcp 127.0.0.1:35317->127.0.0.1:58356: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35118: read tcp 127.0.0.1:46247->127.0.0.1:35118: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35212: read tcp 127.0.0.1:46247->127.0.0.1:35212: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35220: read tcp 127.0.0.1:46247->127.0.0.1:35220: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35204: write tcp 127.0.0.1:46247->127.0.0.1:35204: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35234: write tcp 127.0.0.1:46247->127.0.0.1:35234: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51866: read tcp 127.0.0.1:36797->127.0.0.1:51866: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h1-4 600 189186 ns/op 19590 B/op 110 allocs/op BenchmarkClientServerParallel/64/https1-4 72 2221065 ns/op 52665 B/op 564 allocs/op --- BENCH: BenchmarkClientServerParallel/64/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:33300: read tcp 127.0.0.1:35565->127.0.0.1:33300: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:33268: write tcp 127.0.0.1:35565->127.0.0.1:33268: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:33290: write tcp 127.0.0.1:35565->127.0.0.1:33290: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:40888: write tcp 127.0.0.1:36237->127.0.0.1:40888: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:40986: write tcp 127.0.0.1:36237->127.0.0.1:40986: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:40950: read tcp 127.0.0.1:36237->127.0.0.1:40950: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41004: read tcp 127.0.0.1:36237->127.0.0.1:41004: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:40934: read tcp 127.0.0.1:36237->127.0.0.1:40934: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:40990: read tcp 127.0.0.1:36237->127.0.0.1:40990: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:40906: read tcp 127.0.0.1:36237->127.0.0.1:40906: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h2-4 70 1774435 ns/op 42042 B/op 445 allocs/op --- BENCH: BenchmarkClientServerParallel/64/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41414: read tcp 127.0.0.1:41265->127.0.0.1:41414: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41424: write tcp 127.0.0.1:41265->127.0.0.1:41424: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41564: write tcp 127.0.0.1:41265->127.0.0.1:41564: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41472: write tcp 127.0.0.1:41265->127.0.0.1:41472: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41440: write tcp 127.0.0.1:41265->127.0.0.1:41440: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41470: write tcp 127.0.0.1:41265->127.0.0.1:41470: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41418: read tcp 127.0.0.1:41265->127.0.0.1:41418: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41484: read tcp 127.0.0.1:41265->127.0.0.1:41484: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41494: read tcp 127.0.0.1:41265->127.0.0.1:41494: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41502: read tcp 127.0.0.1:41265->127.0.0.1:41502: use of closed network connection ... [output truncated] BenchmarkServer-4 1 1036005438 ns/op 30672 B/op 149 allocs/op BenchmarkClient-4 242 477045 ns/op 3750 B/op 45 allocs/op BenchmarkServerFakeConnNoKeepAlive-4 638 185567 ns/op 7478 B/op 54 allocs/op BenchmarkServerFakeConnWithKeepAlive-4 1218 103362 ns/op 3056 B/op 24 allocs/op BenchmarkServerFakeConnWithKeepAliveLite-4 1580 79923 ns/op 1868 B/op 14 allocs/op BenchmarkServerHandlerTypeLen-4 1669 74279 ns/op 2760 B/op 21 allocs/op BenchmarkServerHandlerNoLen-4 1584 76985 ns/op 2672 B/op 19 allocs/op BenchmarkServerHandlerNoType-4 1692 76845 ns/op 2699 B/op 20 allocs/op BenchmarkServerHandlerNoHeader-4 1470 68549 ns/op 1853 B/op 13 allocs/op BenchmarkServerHijack-4 896 119716 ns/op 16675 B/op 50 allocs/op BenchmarkCloseNotifier/h1-4 392 314176 ns/op 5749 B/op 52 allocs/op BenchmarkResponseStatusLine-4 510805 220.2 ns/op 0 B/op 0 allocs/op PASS ok net/http 15.617s goos: linux goarch: amd64 pkg: net/http/httputil cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkServeHTTP-4 4154 24986 ns/op 34073 B/op 12 allocs/op PASS ok net/http/httputil 1.185s goos: linux goarch: amd64 pkg: net/netip cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkIPNextPrev-4 85495 1349 ns/op BenchmarkBinaryMarshalRoundTrip/ipv4-4 576169 189.5 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6-4 179971 660.6 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6+zone-4 65461 1835 ns/op BenchmarkStdIPv4-4 132555 902.2 ns/op 16 B/op 1 allocs/op BenchmarkIPv4-4 91504 1298 ns/op 0 B/op 0 allocs/op BenchmarkIPv4_inline-4 93220 1295 ns/op 0 B/op 0 allocs/op BenchmarkStdIPv6-4 79246 1496 ns/op 16 B/op 1 allocs/op BenchmarkIPv6-4 65199 1773 ns/op 0 B/op 0 allocs/op BenchmarkIPv4Contains-4 1700509 70.40 ns/op 0 B/op 0 allocs/op BenchmarkIPv6Contains-4 1530892 77.89 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v4-4 1367544 86.36 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6-4 259185 467.7 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_ellipsis-4 264806 438.6 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_v4-4 258298 458.6 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_zone-4 83074 1449 ns/op 0 B/op 0 allocs/op BenchmarkStdParseIP/v4-4 284812 422.3 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6-4 147775 817.5 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_ellipsis-4 144676 799.4 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_v4-4 145142 834.0 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_zone-4 76260 1578 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v4-4 367281 328.1 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v6-4 121819 959.0 ns/op 48 B/op 1 allocs/op BenchmarkIPString/v6_ellipsis-4 175192 725.0 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_v4-4 251282 460.8 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_zone-4 154656 776.4 ns/op 24 B/op 1 allocs/op BenchmarkIPStringExpanded/v4-4 308752 384.2 ns/op 16 B/op 1 allocs/op BenchmarkIPStringExpanded/v6-4 146098 804.4 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_ellipsis-4 143592 785.1 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_v4-4 145968 817.2 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_zone-4 110490 1034 ns/op 128 B/op 2 allocs/op BenchmarkIPMarshalText-4 400598 253.4 ns/op 16 B/op 1 allocs/op BenchmarkAddrPortString/v4-4 155821 752.2 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortString/v6-4 89540 1306 ns/op 112 B/op 3 allocs/op BenchmarkAddrPortString/v6_ellipsis-4 112410 1007 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_v4-4 159465 770.8 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_zone-4 108162 1100 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortMarshalText/v4-4 261586 446.8 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6-4 118611 1029 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_ellipsis-4 135920 865.9 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_v4-4 180445 635.1 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_zone-4 127594 902.5 ns/op 64 B/op 1 allocs/op BenchmarkPrefixMasking/IPv4_/32-4 997058 110.1 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/17-4 997015 112.6 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/0-4 1000000 110.2 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/128-4 994366 116.9 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/65-4 987861 116.8 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/0-4 1000000 121.0 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/128-4 992152 115.5 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/65-4 1000000 115.7 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/0-4 1000000 116.4 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMarshalText-4 346578 342.4 ns/op 24 B/op 1 allocs/op BenchmarkParseAddrPort/v4-4 582790 203.2 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6-4 194686 600.9 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_ellipsis-4 207363 562.7 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_v4-4 193640 608.5 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_zone-4 74328 1594 ns/op 0 B/op 0 allocs/op BenchmarkAs16-4 500196 233.6 ns/op PASS ok net/netip 8.775s 2023/05/25 19:25:27 Test RPC server listening on 127.0.0.1:34869 2023/05/25 19:25:27 Test HTTP RPC server listening on 127.0.0.1:33569 goos: linux goarch: amd64 pkg: net/rpc cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEndToEnd-4 1422 85911 ns/op BenchmarkEndToEndHTTP-4 1503 85445 ns/op BenchmarkEndToEndAsync-4 3115 40477 ns/op BenchmarkEndToEndAsyncHTTP-4 3554 39555 ns/op PASS ok net/rpc 1.909s goos: linux goarch: amd64 pkg: net/textproto cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadMIMEHeader/client_headers-4 2872 35260 ns/op BenchmarkReadMIMEHeader/server_headers-4 4281 23598 ns/op BenchmarkUncommon-4 24708 4567 ns/op 464 B/op 5 allocs/op PASS ok net/textproto 1.399s goos: linux goarch: amd64 pkg: net/url cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkString-4 3988 25488 ns/op 1616 B/op 60 allocs/op BenchmarkResolvePath-4 94880 1196 ns/op 32 B/op 2 allocs/op BenchmarkQueryEscape/#00-4 599882 205.7 ns/op 16 B/op 1 allocs/op BenchmarkQueryEscape/#01-4 85996 1321 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#02-4 171084 681.8 ns/op 32 B/op 1 allocs/op BenchmarkQueryEscape/#03-4 85162 1436 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#04-4 13722 8493 ns/op 832 B/op 2 allocs/op BenchmarkPathEscape/#00-4 372542 298.1 ns/op 16 B/op 1 allocs/op BenchmarkPathEscape/#01-4 91622 1310 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#02-4 180225 681.5 ns/op 32 B/op 1 allocs/op BenchmarkPathEscape/#03-4 79380 1447 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#04-4 15627 7384 ns/op 704 B/op 2 allocs/op BenchmarkQueryUnescape/#00-4 194089 602.9 ns/op 16 B/op 1 allocs/op BenchmarkQueryUnescape/#01-4 78711 1522 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#02-4 75806 1542 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#03-4 35451 3369 ns/op 64 B/op 1 allocs/op BenchmarkQueryUnescape/#04-4 6314 18734 ns/op 320 B/op 1 allocs/op BenchmarkPathUnescape/#00-4 196634 623.7 ns/op 16 B/op 1 allocs/op BenchmarkPathUnescape/#01-4 77288 1505 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#02-4 76917 1562 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#03-4 34920 3423 ns/op 64 B/op 1 allocs/op BenchmarkPathUnescape/#04-4 5308 19424 ns/op 320 B/op 1 allocs/op PASS ok net/url 4.164s goos: linux goarch: amd64 pkg: os cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExpand/noop-4 3127932 36.60 ns/op 0 B/op 0 allocs/op BenchmarkExpand/multiple-4 159345 695.6 ns/op 48 B/op 2 allocs/op BenchmarkReaddirname-4 673 167990 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 211 553521 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 564 203074 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 41896 2512 ns/op BenchmarkStatFile-4 42374 2813 ns/op BenchmarkStatDir-4 42087 2777 ns/op BenchmarkLstatDot-4 45280 2346 ns/op BenchmarkLstatFile-4 40285 2887 ns/op BenchmarkLstatDir-4 41402 2660 ns/op PASS ok os 2.625s goos: linux goarch: amd64 pkg: os/exec cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExecHostname-4 133 882975 ns/op 8400 B/op 30 allocs/op PASS ok os/exec 1.236s goos: linux goarch: amd64 pkg: os/user cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCurrent-4 378589 287.3 ns/op PASS ok os/user 1.226s goos: linux goarch: amd64 pkg: reflect cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkBool-4 3658820 32.22 ns/op BenchmarkString-4 2303325 51.96 ns/op BenchmarkBytes-4 1916245 61.95 ns/op BenchmarkNamedBytes-4 1000000 106.0 ns/op BenchmarkBytesArray-4 747798 162.8 ns/op BenchmarkSliceLen-4 2263249 52.76 ns/op BenchmarkMapLen-4 903619 128.6 ns/op BenchmarkStringLen-4 1905426 62.71 ns/op BenchmarkArrayLen-4 1347818 89.30 ns/op BenchmarkSliceCap-4 2544960 47.66 ns/op BenchmarkDeepEqual/int8-4 451910 252.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int8-4 94062 1265 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int16-4 407244 288.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int16-4 91050 1315 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int32-4 397477 290.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int32-4 90520 1345 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int64-4 395096 292.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int64-4 90873 1340 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int-4 380487 290.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int-4 82082 1315 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint8-4 451382 257.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8-4 116775 991.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint16-4 405980 300.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint16-4 89175 1327 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint32-4 401354 302.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint32-4 85418 1354 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint64-4 385378 297.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint64-4 86786 1334 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint-4 395906 300.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint-4 86606 1356 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uintptr-4 391144 296.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uintptr-4 89281 1333 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float32-4 394018 302.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float32-4 88651 1377 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float64-4 394494 303.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float64-4 89266 1334 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex64-4 395252 291.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex64-4 89686 1331 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex128-4 399548 297.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex128-4 89671 1399 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/bool-4 483808 252.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]bool-4 91708 1269 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/string-4 410116 290.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]string-4 89644 1368 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8#01-4 114160 993.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][]uint8-4 56958 2054 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[6]uint8-4 46640 2614 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][6]uint8-4 30900 3726 ns/op 0 B/op 0 allocs/op BenchmarkIsZero/ArrayComparable-4 273044 438.3 ns/op BenchmarkIsZero/ArrayIncomparable-4 30002 3937 ns/op BenchmarkIsZero/StructComparable-4 543056 207.8 ns/op BenchmarkIsZero/StructIncomparable-4 140467 862.6 ns/op BenchmarkSetZero/Bool/Direct-4 4139077 28.19 ns/op BenchmarkSetZero/Bool/CachedZero-4 849645 138.6 ns/op BenchmarkSetZero/Bool/NewZero-4 644821 182.2 ns/op BenchmarkSetZero/Int/Direct-4 2487340 48.88 ns/op BenchmarkSetZero/Int/CachedZero-4 838365 136.9 ns/op BenchmarkSetZero/Int/NewZero-4 639835 177.7 ns/op BenchmarkSetZero/Uint/Direct-4 2555702 47.11 ns/op BenchmarkSetZero/Uint/CachedZero-4 840952 137.8 ns/op BenchmarkSetZero/Uint/NewZero-4 650692 180.6 ns/op BenchmarkSetZero/Float/Direct-4 2511337 47.68 ns/op BenchmarkSetZero/Float/CachedZero-4 802621 140.2 ns/op BenchmarkSetZero/Float/NewZero-4 582740 183.0 ns/op BenchmarkSetZero/Complex/Direct-4 2487085 48.49 ns/op BenchmarkSetZero/Complex/CachedZero-4 820132 137.8 ns/op BenchmarkSetZero/Complex/NewZero-4 653013 181.2 ns/op BenchmarkSetZero/Array/Direct-4 2157481 54.39 ns/op BenchmarkSetZero/Array/CachedZero-4 781077 137.5 ns/op BenchmarkSetZero/Array/NewZero-4 651062 180.2 ns/op BenchmarkSetZero/Chan/Direct-4 2340508 49.27 ns/op BenchmarkSetZero/Chan/CachedZero-4 829736 141.2 ns/op BenchmarkSetZero/Chan/NewZero-4 624309 185.4 ns/op BenchmarkSetZero/Func/Direct-4 2448500 48.79 ns/op BenchmarkSetZero/Func/CachedZero-4 843494 141.9 ns/op BenchmarkSetZero/Func/NewZero-4 645055 180.9 ns/op BenchmarkSetZero/Interface/Direct-4 2234330 54.30 ns/op BenchmarkSetZero/Interface/CachedZero-4 847564 136.7 ns/op BenchmarkSetZero/Interface/NewZero-4 655814 178.8 ns/op BenchmarkSetZero/Map/Direct-4 2457423 48.57 ns/op BenchmarkSetZero/Map/CachedZero-4 840903 141.3 ns/op BenchmarkSetZero/Map/NewZero-4 651618 181.5 ns/op BenchmarkSetZero/Pointer/Direct-4 2485492 48.88 ns/op BenchmarkSetZero/Pointer/CachedZero-4 817304 143.1 ns/op BenchmarkSetZero/Pointer/NewZero-4 657447 181.9 ns/op BenchmarkSetZero/Slice/Direct-4 2163612 54.66 ns/op BenchmarkSetZero/Slice/CachedZero-4 779322 139.7 ns/op BenchmarkSetZero/Slice/NewZero-4 605859 180.1 ns/op BenchmarkSetZero/String/Direct-4 2469170 48.67 ns/op BenchmarkSetZero/String/CachedZero-4 891675 134.8 ns/op BenchmarkSetZero/String/NewZero-4 649524 180.1 ns/op BenchmarkSetZero/Struct/Direct-4 2142457 53.50 ns/op BenchmarkSetZero/Struct/CachedZero-4 804385 137.1 ns/op BenchmarkSetZero/Struct/NewZero-4 664064 178.1 ns/op BenchmarkSelect/1-4 149712 793.8 ns/op 80 B/op 5 allocs/op BenchmarkSelect/4-4 62554 1768 ns/op 208 B/op 8 allocs/op BenchmarkSelect/8-4 34123 3569 ns/op 672 B/op 13 allocs/op BenchmarkCall-4 158210 648.3 ns/op 0 B/op 0 allocs/op BenchmarkCallMethod-4 142106 762.5 ns/op 0 B/op 0 allocs/op BenchmarkCallArgCopy/size=128-4 105949 1006 ns/op 127.23 MB/s BenchmarkCallArgCopy/size=256-4 114669 1097 ns/op 233.31 MB/s BenchmarkCallArgCopy/size=1024-4 64645 1725 ns/op 593.48 MB/s BenchmarkCallArgCopy/size=4096-4 28927 3541 ns/op 1156.79 MB/s BenchmarkCallArgCopy/size=65536-4 2385 51710 ns/op 1267.38 MB/s BenchmarkFieldByName1-4 1000000 106.6 ns/op BenchmarkFieldByName2-4 69631 1541 ns/op BenchmarkFieldByName3-4 11366 11029 ns/op BenchmarkInterfaceBig-4 3548755 34.56 ns/op BenchmarkInterfaceSmall-4 3960304 33.65 ns/op BenchmarkNew-4 1891249 67.76 ns/op BenchmarkMap/StringKeys/MapIndex-4 2275 52712 ns/op 0 B/op 0 allocs/op BenchmarkMap/StringKeys/SetMapIndex-4 1796 61102 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/MapIndex-4 2325 50860 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/SetMapIndex-4 1920 61474 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/MapIndex-4 2314 50796 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/SetMapIndex-4 1977 60253 ns/op 0 B/op 0 allocs/op BenchmarkMapIterNext-4 210297 554.9 ns/op PASS ok reflect 17.448s goos: linux goarch: amd64 pkg: regexp cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFind-4 10134 9995 ns/op 9212 B/op 1 allocs/op BenchmarkFindAllNoMatches-4 15325 7961 ns/op 9319 B/op 1 allocs/op BenchmarkFindString-4 10000 10361 ns/op 9061 B/op 1 allocs/op BenchmarkFindSubmatch-4 10904 10791 ns/op 9145 B/op 2 allocs/op BenchmarkFindStringSubmatch-4 10000 11291 ns/op 9264 B/op 2 allocs/op BenchmarkLiteral-4 15968 7038 ns/op BenchmarkNotLiteral-4 4347 27382 ns/op BenchmarkMatchClass-4 3618 35376 ns/op BenchmarkMatchClass_InRange-4 2934 35805 ns/op BenchmarkReplaceAll-4 2430 49374 ns/op BenchmarkAnchoredLiteralShortNonMatch-4 14851 7746 ns/op BenchmarkAnchoredLiteralLongNonMatch-4 38370 3148 ns/op BenchmarkAnchoredShortMatch-4 14581 8091 ns/op BenchmarkAnchoredLongMatch-4 19466 6118 ns/op BenchmarkOnePassShortA-4 20468 5979 ns/op BenchmarkNotOnePassShortA-4 6553 15356 ns/op BenchmarkOnePassShortB-4 26119 4776 ns/op BenchmarkNotOnePassShortB-4 10000 12383 ns/op BenchmarkOnePassLongPrefix-4 80804 1521 ns/op BenchmarkOnePassLongNotPrefix-4 26809 4521 ns/op BenchmarkMatchParallelShared-4 14251 7894 ns/op BenchmarkMatchParallelCopied-4 20034 5706 ns/op BenchmarkQuoteMetaAll-4 140008 830.3 ns/op 16.86 MB/s BenchmarkQuoteMetaNone-4 220484 469.5 ns/op 55.37 MB/s BenchmarkCompile/Onepass-4 3673 30617 ns/op 4144 B/op 52 allocs/op BenchmarkCompile/Medium-4 1557 74317 ns/op 9704 B/op 112 allocs/op BenchmarkCompile/Hard-4 181 620112 ns/op 84760 B/op 424 allocs/op BenchmarkMatch/Easy0/16-4 3719338 32.18 ns/op 497.27 MB/s BenchmarkMatch/Easy0/32-4 17341 7740 ns/op 4.13 MB/s BenchmarkMatch/Easy0/1K-4 6175 18999 ns/op 53.90 MB/s BenchmarkMatch/Easy0i/16-4 3697203 32.67 ns/op 489.74 MB/s BenchmarkMatch/Easy0i/32-4 5384 21438 ns/op 1.49 MB/s BenchmarkMatch/Easy0i/1K-4 265 467960 ns/op 2.19 MB/s BenchmarkMatch/Easy1/16-4 3714506 31.99 ns/op 500.12 MB/s BenchmarkMatch/Easy1/32-4 17300 7284 ns/op 4.39 MB/s BenchmarkMatch/Easy1/1K-4 5116 26355 ns/op 38.85 MB/s BenchmarkMatch/Medium/16-4 3714381 32.65 ns/op 490.09 MB/s BenchmarkMatch/Medium/32-4 5960 20386 ns/op 1.57 MB/s BenchmarkMatch/Medium/1K-4 296 401839 ns/op 2.55 MB/s BenchmarkMatch/Hard/16-4 3666603 32.59 ns/op 490.89 MB/s BenchmarkMatch/Hard/32-4 3391 31435 ns/op 1.02 MB/s BenchmarkMatch/Hard/1K-4 166 716258 ns/op 1.43 MB/s BenchmarkMatch/Hard1/16-4 1350 82558 ns/op 0.19 MB/s BenchmarkMatch/Hard1/32-4 720 157041 ns/op 0.20 MB/s BenchmarkMatch/Hard1/1K-4 25 4613125 ns/op 0.22 MB/s BenchmarkMatch_onepass_regex/16-4 29067 4092 ns/op 3.91 MB/s 23 B/op 0 allocs/op BenchmarkMatch_onepass_regex/32-4 16755 6879 ns/op 4.65 MB/s 24 B/op 0 allocs/op BenchmarkMatch_onepass_regex/1K-4 686 174179 ns/op 5.88 MB/s 26 B/op 0 allocs/op PASS ok regexp 8.923s goos: linux goarch: amd64 pkg: regexp/syntax cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEmptyOpContext-4 626424 192.9 ns/op BenchmarkIsWordChar-4 168687 722.2 ns/op PASS ok regexp/syntax 2.334s goos: linux goarch: amd64 pkg: runtime cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCallers/cached-4 71194 1718 ns/op BenchmarkCallers/inlined-4 52106 2288 ns/op BenchmarkCallers/no-cache-4 10000 10275 ns/op BenchmarkFPCallers/cached-4 2683399 42.77 ns/op BenchmarkMakeChan/Byte-4 1009285 101.9 ns/op BenchmarkMakeChan/Int-4 1000000 131.2 ns/op BenchmarkMakeChan/Ptr-4 538633 232.8 ns/op BenchmarkMakeChan/Struct/0-4 1228717 101.9 ns/op BenchmarkMakeChan/Struct/32-4 514384 236.8 ns/op BenchmarkMakeChan/Struct/40-4 451636 275.4 ns/op BenchmarkChanNonblocking-4 10077897 10.59 ns/op BenchmarkSelectUncontended-4 1038489 146.6 ns/op BenchmarkSelectSyncContended-4 27543 4071 ns/op BenchmarkSelectAsyncContended-4 105255 1144 ns/op BenchmarkSelectNonblock-4 6274557 20.59 ns/op BenchmarkChanUncontended-4 12021 10178 ns/op BenchmarkChanContended-4 1318 93783 ns/op BenchmarkChanSync-4 165807 703.4 ns/op BenchmarkChanSyncWork-4 10000 35173 ns/op BenchmarkChanProdCons0-4 77139 1529 ns/op BenchmarkChanProdCons10-4 111465 1238 ns/op BenchmarkChanProdCons100-4 100868 1145 ns/op BenchmarkChanProdConsWork0-4 74092 1710 ns/op BenchmarkChanProdConsWork10-4 88107 1540 ns/op BenchmarkChanProdConsWork100-4 83464 1514 ns/op BenchmarkSelectProdCons-4 59169 1992 ns/op BenchmarkReceiveDataFromClosedChan-4 649126 183.4 ns/op BenchmarkChanCreation-4 186474 556.2 ns/op BenchmarkChanSem-4 130761 948.3 ns/op BenchmarkChanPopular-4 99 1174304 ns/op BenchmarkChanClosed-4 537201 220.6 ns/op BenchmarkCallClosure-4 6110026 18.68 ns/op BenchmarkCallClosure1-4 6908061 17.51 ns/op BenchmarkCallClosure2-4 1217268 83.47 ns/op BenchmarkCallClosure3-4 1508426 83.60 ns/op BenchmarkCallClosure4-4 1371732 86.23 ns/op BenchmarkComplex128DivNormal-4 10067444 11.29 ns/op BenchmarkComplex128DivNisNaN-4 7349223 14.75 ns/op BenchmarkComplex128DivDisNaN-4 7451030 14.97 ns/op BenchmarkComplex128DivNisInf-4 9671533 11.79 ns/op BenchmarkComplex128DivDisInf-4 5674966 20.05 ns/op BenchmarkSetTypePtr-4 45388971 2.747 ns/op 2912.39 MB/s BenchmarkSetTypePtr8-4 9637743 12.85 ns/op 4981.76 MB/s BenchmarkSetTypePtr16-4 9342093 12.71 ns/op 10071.54 MB/s BenchmarkSetTypePtr32-4 9504438 12.71 ns/op 20137.35 MB/s BenchmarkSetTypePtr64-4 9637970 12.63 ns/op 40549.72 MB/s BenchmarkSetTypePtr126-4 5676877 21.19 ns/op 47569.84 MB/s BenchmarkSetTypePtr128-4 5871837 20.92 ns/op 48952.90 MB/s BenchmarkSetTypePtrSlice-4 691752 164.5 ns/op 49808.12 MB/s BenchmarkSetTypeNode1-4 9630006 12.57 ns/op 1909.05 MB/s BenchmarkSetTypeNode1Slice-4 2853966 40.89 ns/op 18783.24 MB/s BenchmarkSetTypeNode8-4 9626368 12.58 ns/op 6361.37 MB/s BenchmarkSetTypeNode8Slice-4 1527670 78.17 ns/op 32749.40 MB/s BenchmarkSetTypeNode64-4 5618347 21.28 ns/op 24813.35 MB/s BenchmarkSetTypeNode64Slice-4 225192 526.4 ns/op 32096.85 MB/s BenchmarkSetTypeNode64Dead-4 7353265 15.96 ns/op 33085.02 MB/s BenchmarkSetTypeNode64DeadSlice-4 255566 471.4 ns/op 35839.41 MB/s BenchmarkSetTypeNode124-4 5652032 21.12 ns/op 47719.42 MB/s BenchmarkSetTypeNode124Slice-4 181278 664.3 ns/op 48559.36 MB/s BenchmarkSetTypeNode126-4 5884980 20.35 ns/op 50311.71 MB/s BenchmarkSetTypeNode126Slice-4 178156 666.2 ns/op 49188.30 MB/s BenchmarkSetTypeNode128-4 4053078 29.63 ns/op 35099.32 MB/s BenchmarkSetTypeNode128Slice-4 141352 839.2 ns/op 39655.19 MB/s BenchmarkSetTypeNode130-4 4039436 29.68 ns/op 35578.48 MB/s BenchmarkSetTypeNode130Slice-4 139902 854.8 ns/op 39529.88 MB/s BenchmarkSetTypeNode1024-4 766677 155.8 ns/op 52687.19 MB/s BenchmarkSetTypeNode1024Slice-4 24489 4922 ns/op 53366.53 MB/s BenchmarkAllocation-4 3444 44014 ns/op BenchmarkReadMemStats-4 5810 19342 ns/op BenchmarkReadMemStatsLatency-4 1 77157 p50-ns 77157 p90-ns 77157 p99-ns BenchmarkWriteBarrier-4 2666346 53.64 ns/op BenchmarkBulkWriteBarrier-4 5700510 20.72 ns/op BenchmarkScanStackNoLocals-4 3 45946133 ns/op BenchmarkMSpanCountAlloc/bits=64-4 11035396 10.17 ns/op BenchmarkMSpanCountAlloc/bits=128-4 10327051 11.14 ns/op BenchmarkMSpanCountAlloc/bits=256-4 9403980 12.76 ns/op BenchmarkMSpanCountAlloc/bits=512-4 6994803 16.45 ns/op BenchmarkMSpanCountAlloc/bits=1024-4 4499863 25.23 ns/op BenchmarkHash5-4 6484454 18.31 ns/op 273.04 MB/s BenchmarkHash16-4 6482792 17.58 ns/op 910.14 MB/s BenchmarkHash64-4 6145646 18.23 ns/op 3511.41 MB/s BenchmarkHash1024-4 1936069 61.76 ns/op 16581.64 MB/s BenchmarkHash65536-4 38643 3126 ns/op 20965.59 MB/s BenchmarkAlignedLoad-4 8956760 13.49 ns/op BenchmarkUnalignedLoad-4 8051568 15.06 ns/op BenchmarkEqEfaceConcrete-4 6310491 18.84 ns/op BenchmarkEqIfaceConcrete-4 6979490 17.28 ns/op BenchmarkNeEfaceConcrete-4 6607136 18.40 ns/op BenchmarkNeIfaceConcrete-4 6726369 18.06 ns/op BenchmarkConvT2EByteSized/bool-4 6461766 18.56 ns/op BenchmarkConvT2EByteSized/uint8-4 6396925 18.76 ns/op BenchmarkConvT2ESmall-4 5733225 20.98 ns/op BenchmarkConvT2EUintptr-4 5654406 21.25 ns/op BenchmarkConvT2ELarge-4 1000000 102.8 ns/op BenchmarkConvT2ISmall-4 5674660 20.95 ns/op BenchmarkConvT2IUintptr-4 5561308 21.49 ns/op BenchmarkConvT2ILarge-4 1000000 103.5 ns/op BenchmarkConvI2E-4 5026912 23.98 ns/op BenchmarkConvI2I-4 4173913 28.85 ns/op BenchmarkAssertE2T-4 5040590 23.44 ns/op BenchmarkAssertE2TLarge-4 2326964 52.88 ns/op BenchmarkAssertE2I-4 4362573 27.52 ns/op BenchmarkAssertI2T-4 4815933 24.97 ns/op BenchmarkAssertI2I-4 4314213 27.82 ns/op BenchmarkAssertI2E-4 5974563 20.37 ns/op BenchmarkAssertE2E-4 6078936 19.20 ns/op BenchmarkAssertE2T2-4 3868118 31.04 ns/op BenchmarkAssertE2T2Blank-4 4819663 24.90 ns/op BenchmarkAssertI2E2-4 4684422 25.65 ns/op BenchmarkAssertI2E2Blank-4 6056928 19.83 ns/op BenchmarkAssertE2E2-4 4657569 25.83 ns/op BenchmarkAssertE2E2Blank-4 5754165 19.94 ns/op BenchmarkConvT2Ezero/zero/16-4 5732809 20.85 ns/op BenchmarkConvT2Ezero/zero/32-4 5710819 21.15 ns/op BenchmarkConvT2Ezero/zero/64-4 5591100 21.78 ns/op BenchmarkConvT2Ezero/zero/str-4 5733548 21.08 ns/op BenchmarkConvT2Ezero/zero/slice-4 5790496 20.43 ns/op BenchmarkConvT2Ezero/zero/big-4 232879 472.5 ns/op BenchmarkConvT2Ezero/nonzero/str-4 1281176 85.95 ns/op BenchmarkConvT2Ezero/nonzero/slice-4 1000000 101.8 ns/op BenchmarkConvT2Ezero/nonzero/big-4 232951 475.2 ns/op BenchmarkConvT2Ezero/smallint/16-4 5753384 21.31 ns/op BenchmarkConvT2Ezero/smallint/32-4 5774036 20.77 ns/op BenchmarkConvT2Ezero/smallint/64-4 5739301 21.16 ns/op BenchmarkConvT2Ezero/largeint/16-4 1551966 71.05 ns/op BenchmarkConvT2Ezero/largeint/32-4 1625514 68.35 ns/op BenchmarkConvT2Ezero/largeint/64-4 1639156 65.57 ns/op BenchmarkMalloc8-4 1512406 79.40 ns/op BenchmarkMalloc16-4 1298102 83.32 ns/op BenchmarkMallocTypeInfo8-4 1415893 82.39 ns/op BenchmarkMallocTypeInfo16-4 1248247 96.75 ns/op BenchmarkMallocLargeStruct-4 177429 678.9 ns/op BenchmarkGoroutineSelect-4 64 1979559 ns/op BenchmarkGoroutineBlocking-4 73 1950012 ns/op BenchmarkGoroutineForRange-4 75 2019731 ns/op BenchmarkGoroutineIdle-4 85 1721026 ns/op BenchmarkHashStringSpeed-4 2742373 48.59 ns/op BenchmarkHashBytesSpeed-4 1389154 86.90 ns/op BenchmarkHashInt32Speed-4 3050305 35.39 ns/op BenchmarkHashInt64Speed-4 3209964 40.06 ns/op BenchmarkHashStringArraySpeed-4 588884 199.8 ns/op BenchmarkMegMap-4 3310180 36.46 ns/op BenchmarkMegOneMap-4 3958190 29.23 ns/op BenchmarkMegEqMap-4 1392 80480 ns/op BenchmarkMegEmptyMap-4 4909576 24.10 ns/op BenchmarkSmallStrMap-4 3203466 37.68 ns/op BenchmarkMapStringKeysEight_16-4 3390279 35.13 ns/op BenchmarkMapStringKeysEight_32-4 3389114 35.44 ns/op BenchmarkMapStringKeysEight_64-4 3346740 35.71 ns/op BenchmarkMapStringKeysEight_1M-4 3395913 35.66 ns/op BenchmarkIntMap-4 4108645 30.03 ns/op BenchmarkMapFirst/1-4 4854510 24.62 ns/op BenchmarkMapFirst/2-4 4777797 24.33 ns/op BenchmarkMapFirst/3-4 4916466 24.43 ns/op BenchmarkMapFirst/4-4 4797810 25.42 ns/op BenchmarkMapFirst/5-4 4528665 25.67 ns/op BenchmarkMapFirst/6-4 4522642 26.24 ns/op BenchmarkMapFirst/7-4 4742842 25.15 ns/op BenchmarkMapFirst/8-4 4377588 25.04 ns/op BenchmarkMapFirst/9-4 3914384 29.07 ns/op BenchmarkMapFirst/10-4 3884611 30.65 ns/op BenchmarkMapFirst/11-4 4032583 29.63 ns/op BenchmarkMapFirst/12-4 3862596 29.68 ns/op BenchmarkMapFirst/13-4 4060164 28.80 ns/op BenchmarkMapFirst/14-4 4085823 29.18 ns/op BenchmarkMapFirst/15-4 4014610 29.89 ns/op BenchmarkMapFirst/16-4 4071903 28.80 ns/op BenchmarkMapMid/1-4 3856872 31.05 ns/op BenchmarkMapMid/2-4 3781890 30.71 ns/op BenchmarkMapMid/3-4 3896949 31.07 ns/op BenchmarkMapMid/4-4 3696514 32.72 ns/op BenchmarkMapMid/5-4 3817129 31.05 ns/op BenchmarkMapMid/6-4 3579006 32.37 ns/op BenchmarkMapMid/7-4 3742969 32.78 ns/op BenchmarkMapMid/8-4 3561706 33.77 ns/op BenchmarkMapMid/9-4 3402505 35.39 ns/op BenchmarkMapMid/10-4 3359949 37.20 ns/op BenchmarkMapMid/11-4 3362238 38.04 ns/op BenchmarkMapMid/12-4 3177657 37.95 ns/op BenchmarkMapMid/13-4 3440140 32.88 ns/op BenchmarkMapMid/14-4 3531332 32.88 ns/op BenchmarkMapMid/15-4 3599517 34.13 ns/op BenchmarkMapMid/16-4 3248622 35.17 ns/op BenchmarkMapLast/1-4 3892987 30.69 ns/op BenchmarkMapLast/2-4 3830367 30.68 ns/op BenchmarkMapLast/3-4 3880999 31.59 ns/op BenchmarkMapLast/4-4 3622663 32.74 ns/op BenchmarkMapLast/5-4 3828814 31.34 ns/op BenchmarkMapLast/6-4 3651637 33.59 ns/op BenchmarkMapLast/7-4 3574999 32.57 ns/op BenchmarkMapLast/8-4 3418680 35.34 ns/op BenchmarkMapLast/9-4 3502717 34.62 ns/op BenchmarkMapLast/10-4 3156688 35.31 ns/op BenchmarkMapLast/11-4 3292527 38.49 ns/op BenchmarkMapLast/12-4 3011234 39.73 ns/op BenchmarkMapLast/13-4 3241934 36.31 ns/op BenchmarkMapLast/14-4 3519710 37.87 ns/op BenchmarkMapLast/15-4 3462432 34.42 ns/op BenchmarkMapLast/16-4 3093924 36.15 ns/op BenchmarkMapCycle-4 1972792 58.54 ns/op BenchmarkRepeatedLookupStrMapKey32-4 3491608 35.23 ns/op BenchmarkRepeatedLookupStrMapKey1M-4 2169 50980 ns/op BenchmarkMakeMap/[Byte]Byte-4 601844 209.5 ns/op BenchmarkMakeMap/[Int]Int-4 302274 332.6 ns/op BenchmarkNewEmptyMap-4 12389230 8.562 ns/op 0 B/op 0 allocs/op BenchmarkNewSmallMap-4 1686956 71.30 ns/op 0 B/op 0 allocs/op BenchmarkMapIter-4 486637 255.9 ns/op BenchmarkMapIterEmpty-4 5672732 21.31 ns/op BenchmarkSameLengthMap-4 4612972 25.87 ns/op BenchmarkBigKeyMap-4 1665424 71.66 ns/op BenchmarkBigValMap-4 1450778 82.45 ns/op BenchmarkSmallKeyMap-4 2914740 41.83 ns/op BenchmarkMapPopulate/1-4 2308561 51.60 ns/op 0 B/op 0 allocs/op BenchmarkMapPopulate/10-4 125935 895.1 ns/op 179 B/op 1 allocs/op BenchmarkMapPopulate/100-4 7653 17063 ns/op 6273 B/op 15 allocs/op BenchmarkMapPopulate/1000-4 652 159173 ns/op 51770 B/op 55 allocs/op BenchmarkMapPopulate/10000-4 48 2487777 ns/op 416799 B/op 207 allocs/op BenchmarkMapPopulate/100000-4 3 37330493 ns/op 6525448 B/op 2880 allocs/op BenchmarkComplexAlgMap-4 457434 241.5 ns/op BenchmarkGoMapClear/Reflexive/1-4 679381 175.4 ns/op BenchmarkGoMapClear/Reflexive/10-4 637165 182.5 ns/op BenchmarkGoMapClear/Reflexive/100-4 228456 509.4 ns/op BenchmarkGoMapClear/Reflexive/1000-4 41269 2879 ns/op BenchmarkGoMapClear/Reflexive/10000-4 5374 22372 ns/op BenchmarkGoMapClear/NonReflexive/1-4 540954 221.4 ns/op BenchmarkGoMapClear/NonReflexive/10-4 485059 243.4 ns/op BenchmarkGoMapClear/NonReflexive/100-4 207373 564.9 ns/op BenchmarkGoMapClear/NonReflexive/1000-4 38948 3012 ns/op BenchmarkGoMapClear/NonReflexive/10000-4 5347 22661 ns/op BenchmarkMapStringConversion/32/simple-4 1804555 66.40 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/struct-4 1708524 68.98 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/array-4 1553593 77.48 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/simple-4 1692925 70.70 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/struct-4 1624399 74.71 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/array-4 1468177 81.15 ns/op 0 B/op 0 allocs/op BenchmarkMapInterfaceString-4 1987597 61.35 ns/op BenchmarkMapInterfacePtr-4 1960237 56.49 ns/op BenchmarkNewEmptyMapHintLessThan8-4 4803732 25.09 ns/op 0 B/op 0 allocs/op BenchmarkNewEmptyMapHintGreaterThan8-4 107791 1026 ns/op 1152 B/op 1 allocs/op BenchmarkMapPop100-4 4989 22388 ns/op BenchmarkMapPop1000-4 380 325082 ns/op BenchmarkMapPop10000-4 21 6195147 ns/op BenchmarkMapAssign/Int32/256-4 2179942 54.29 ns/op BenchmarkMapAssign/Int32/65536-4 914410 123.0 ns/op BenchmarkMapAssign/Int64/256-4 2159217 55.80 ns/op BenchmarkMapAssign/Int64/65536-4 671493 163.4 ns/op BenchmarkMapAssign/Str/256-4 1874581 67.10 ns/op BenchmarkMapAssign/Str/65536-4 365995 288.6 ns/op BenchmarkMapOperatorAssign/Int32/256-4 1432030 87.96 ns/op BenchmarkMapOperatorAssign/Int32/65536-4 568717 186.8 ns/op BenchmarkMapOperatorAssign/Int64/256-4 1360250 86.65 ns/op BenchmarkMapOperatorAssign/Int64/65536-4 469975 228.5 ns/op BenchmarkMapOperatorAssign/Str/256-4 445068 2363 ns/op BenchmarkMapOperatorAssign/Str/65536-4 123195 831.1 ns/op BenchmarkMapAppendAssign/Int32/256-4 804949 167.7 ns/op 27 B/op 0 allocs/op BenchmarkMapAppendAssign/Int32/65536-4 168063 674.9 ns/op 71 B/op 1 allocs/op BenchmarkMapAppendAssign/Int64/256-4 768423 174.6 ns/op 29 B/op 0 allocs/op BenchmarkMapAppendAssign/Int64/65536-4 152294 733.2 ns/op 83 B/op 1 allocs/op BenchmarkMapAppendAssign/Str/256-4 552717 266.6 ns/op 55 B/op 0 allocs/op BenchmarkMapAppendAssign/Str/65536-4 94808 1225 ns/op 149 B/op 1 allocs/op BenchmarkMapDelete/Int32/100-4 1710867 72.48 ns/op BenchmarkMapDelete/Int32/1000-4 1705402 66.80 ns/op BenchmarkMapDelete/Int32/10000-4 1730109 67.10 ns/op BenchmarkMapDelete/Int64/100-4 1580626 76.54 ns/op BenchmarkMapDelete/Int64/1000-4 1678147 67.51 ns/op BenchmarkMapDelete/Int64/10000-4 1703863 74.14 ns/op BenchmarkMapDelete/Str/100-4 1320056 107.2 ns/op BenchmarkMapDelete/Str/1000-4 1481254 81.80 ns/op BenchmarkMapDelete/Str/10000-4 1291252 88.81 ns/op BenchmarkMapDelete/Pointer/100-4 1409049 74.63 ns/op BenchmarkMapDelete/Pointer/1000-4 1707864 68.08 ns/op BenchmarkMapDelete/Pointer/10000-4 1691241 71.20 ns/op BenchmarkMemmove/0-4 15635151 7.711 ns/op BenchmarkMemmove/1-4 1962252 61.41 ns/op 16.28 MB/s BenchmarkMemmove/2-4 1883133 63.75 ns/op 31.37 MB/s BenchmarkMemmove/3-4 1915939 63.22 ns/op 47.46 MB/s BenchmarkMemmove/4-4 1901650 63.06 ns/op 63.43 MB/s BenchmarkMemmove/5-4 1901740 63.24 ns/op 79.06 MB/s BenchmarkMemmove/6-4 1883641 63.19 ns/op 94.95 MB/s BenchmarkMemmove/7-4 1903038 63.29 ns/op 110.59 MB/s BenchmarkMemmove/8-4 1950802 61.80 ns/op 129.44 MB/s BenchmarkMemmove/9-4 1859454 65.13 ns/op 138.19 MB/s BenchmarkMemmove/10-4 1834416 65.01 ns/op 153.82 MB/s BenchmarkMemmove/11-4 1855614 64.61 ns/op 170.24 MB/s BenchmarkMemmove/12-4 1850565 64.50 ns/op 186.05 MB/s BenchmarkMemmove/13-4 1850304 66.18 ns/op 196.42 MB/s BenchmarkMemmove/14-4 1863104 65.49 ns/op 213.79 MB/s BenchmarkMemmove/15-4 1861627 64.94 ns/op 230.97 MB/s BenchmarkMemmove/16-4 1881772 62.77 ns/op 254.89 MB/s BenchmarkMemmove/32-4 1840608 65.58 ns/op 487.94 MB/s BenchmarkMemmove/64-4 1683032 71.08 ns/op 900.42 MB/s BenchmarkMemmove/128-4 1355802 88.25 ns/op 1450.40 MB/s BenchmarkMemmove/256-4 898321 131.2 ns/op 1950.96 MB/s BenchmarkMemmove/512-4 629365 187.2 ns/op 2734.55 MB/s BenchmarkMemmove/1024-4 418315 289.8 ns/op 3533.08 MB/s BenchmarkMemmove/2048-4 242289 501.9 ns/op 4080.48 MB/s BenchmarkMemmove/4096-4 130294 914.7 ns/op 4478.14 MB/s BenchmarkMemmoveOverlap/32-4 1824826 65.56 ns/op 488.13 MB/s BenchmarkMemmoveOverlap/64-4 1656954 72.85 ns/op 878.46 MB/s BenchmarkMemmoveOverlap/128-4 1357108 87.82 ns/op 1457.55 MB/s BenchmarkMemmoveOverlap/256-4 880474 133.2 ns/op 1922.41 MB/s BenchmarkMemmoveOverlap/512-4 619320 186.8 ns/op 2741.56 MB/s BenchmarkMemmoveOverlap/1024-4 420730 287.0 ns/op 3567.74 MB/s BenchmarkMemmoveOverlap/2048-4 241357 498.3 ns/op 4109.93 MB/s BenchmarkMemmoveOverlap/4096-4 130718 923.9 ns/op 4433.39 MB/s BenchmarkMemmoveUnalignedDst/0-4 15776383 7.652 ns/op BenchmarkMemmoveUnalignedDst/1-4 1952613 60.58 ns/op 16.51 MB/s BenchmarkMemmoveUnalignedDst/2-4 1886686 62.39 ns/op 32.06 MB/s BenchmarkMemmoveUnalignedDst/3-4 1900704 63.20 ns/op 47.47 MB/s BenchmarkMemmoveUnalignedDst/4-4 1913182 63.39 ns/op 63.10 MB/s BenchmarkMemmoveUnalignedDst/5-4 1875343 64.09 ns/op 78.02 MB/s BenchmarkMemmoveUnalignedDst/6-4 1879938 63.19 ns/op 94.96 MB/s BenchmarkMemmoveUnalignedDst/7-4 1887872 64.89 ns/op 107.87 MB/s BenchmarkMemmoveUnalignedDst/8-4 1912965 61.56 ns/op 129.94 MB/s BenchmarkMemmoveUnalignedDst/9-4 1867393 65.37 ns/op 137.68 MB/s BenchmarkMemmoveUnalignedDst/10-4 1861106 64.96 ns/op 153.93 MB/s BenchmarkMemmoveUnalignedDst/11-4 1775094 66.64 ns/op 165.06 MB/s BenchmarkMemmoveUnalignedDst/12-4 1771724 66.02 ns/op 181.75 MB/s BenchmarkMemmoveUnalignedDst/13-4 1799169 65.31 ns/op 199.07 MB/s BenchmarkMemmoveUnalignedDst/14-4 1837851 65.45 ns/op 213.91 MB/s BenchmarkMemmoveUnalignedDst/15-4 1835577 65.45 ns/op 229.17 MB/s BenchmarkMemmoveUnalignedDst/16-4 1854982 64.10 ns/op 249.62 MB/s BenchmarkMemmoveUnalignedDst/32-4 1754586 69.25 ns/op 462.10 MB/s BenchmarkMemmoveUnalignedDst/64-4 1559599 76.12 ns/op 840.73 MB/s BenchmarkMemmoveUnalignedDst/128-4 1321274 91.06 ns/op 1405.69 MB/s BenchmarkMemmoveUnalignedDst/256-4 819195 136.6 ns/op 1873.49 MB/s BenchmarkMemmoveUnalignedDst/512-4 620426 191.0 ns/op 2681.19 MB/s BenchmarkMemmoveUnalignedDst/1024-4 396794 305.1 ns/op 3356.09 MB/s BenchmarkMemmoveUnalignedDst/2048-4 233820 498.1 ns/op 4111.87 MB/s BenchmarkMemmoveUnalignedDst/4096-4 128094 940.0 ns/op 4357.65 MB/s BenchmarkMemmoveUnalignedDstOverlap/32-4 1723599 69.44 ns/op 460.84 MB/s BenchmarkMemmoveUnalignedDstOverlap/64-4 1571580 76.19 ns/op 840.04 MB/s BenchmarkMemmoveUnalignedDstOverlap/128-4 1268107 93.17 ns/op 1373.78 MB/s BenchmarkMemmoveUnalignedDstOverlap/256-4 857756 136.4 ns/op 1876.42 MB/s BenchmarkMemmoveUnalignedDstOverlap/512-4 619072 188.3 ns/op 2719.64 MB/s BenchmarkMemmoveUnalignedDstOverlap/1024-4 413635 297.5 ns/op 3441.45 MB/s BenchmarkMemmoveUnalignedDstOverlap/2048-4 239425 499.4 ns/op 4100.77 MB/s BenchmarkMemmoveUnalignedDstOverlap/4096-4 129048 918.7 ns/op 4458.63 MB/s BenchmarkMemmoveUnalignedSrc/0-4 15497006 7.805 ns/op BenchmarkMemmoveUnalignedSrc/1-4 1959092 61.93 ns/op 16.15 MB/s BenchmarkMemmoveUnalignedSrc/2-4 1883734 63.90 ns/op 31.30 MB/s BenchmarkMemmoveUnalignedSrc/3-4 1893132 63.42 ns/op 47.30 MB/s BenchmarkMemmoveUnalignedSrc/4-4 1881361 63.88 ns/op 62.62 MB/s BenchmarkMemmoveUnalignedSrc/5-4 1888999 63.23 ns/op 79.07 MB/s BenchmarkMemmoveUnalignedSrc/6-4 1894711 63.26 ns/op 94.85 MB/s BenchmarkMemmoveUnalignedSrc/7-4 1869176 64.47 ns/op 108.57 MB/s BenchmarkMemmoveUnalignedSrc/8-4 1934208 62.33 ns/op 128.35 MB/s BenchmarkMemmoveUnalignedSrc/9-4 1832677 65.14 ns/op 138.16 MB/s BenchmarkMemmoveUnalignedSrc/10-4 1841119 66.85 ns/op 149.60 MB/s BenchmarkMemmoveUnalignedSrc/11-4 1830396 65.19 ns/op 168.73 MB/s BenchmarkMemmoveUnalignedSrc/12-4 1834578 64.95 ns/op 184.75 MB/s BenchmarkMemmoveUnalignedSrc/13-4 1843466 65.12 ns/op 199.64 MB/s BenchmarkMemmoveUnalignedSrc/14-4 1830853 65.11 ns/op 215.02 MB/s BenchmarkMemmoveUnalignedSrc/15-4 1811115 65.68 ns/op 228.37 MB/s BenchmarkMemmoveUnalignedSrc/16-4 1796812 68.19 ns/op 234.62 MB/s BenchmarkMemmoveUnalignedSrc/32-4 1755733 68.36 ns/op 468.08 MB/s BenchmarkMemmoveUnalignedSrc/64-4 1613511 74.77 ns/op 855.93 MB/s BenchmarkMemmoveUnalignedSrc/128-4 1327419 89.49 ns/op 1430.29 MB/s BenchmarkMemmoveUnalignedSrc/256-4 861027 137.7 ns/op 1859.67 MB/s BenchmarkMemmoveUnalignedSrc/512-4 616573 191.8 ns/op 2669.73 MB/s BenchmarkMemmoveUnalignedSrc/1024-4 408996 289.5 ns/op 3537.14 MB/s BenchmarkMemmoveUnalignedSrc/2048-4 233708 502.5 ns/op 4075.33 MB/s BenchmarkMemmoveUnalignedSrc/4096-4 127755 943.8 ns/op 4340.09 MB/s BenchmarkMemmoveUnalignedSrcOverlap/32-4 1773684 68.19 ns/op 469.27 MB/s BenchmarkMemmoveUnalignedSrcOverlap/64-4 1550178 76.61 ns/op 835.36 MB/s BenchmarkMemmoveUnalignedSrcOverlap/128-4 1325258 90.55 ns/op 1413.62 MB/s BenchmarkMemmoveUnalignedSrcOverlap/256-4 852684 137.5 ns/op 1862.01 MB/s BenchmarkMemmoveUnalignedSrcOverlap/512-4 624111 190.1 ns/op 2693.43 MB/s BenchmarkMemmoveUnalignedSrcOverlap/1024-4 411235 288.7 ns/op 3547.16 MB/s BenchmarkMemmoveUnalignedSrcOverlap/2048-4 241137 498.4 ns/op 4109.18 MB/s BenchmarkMemmoveUnalignedSrcOverlap/4096-4 130210 925.6 ns/op 4425.05 MB/s BenchmarkMemclr/5-4 12168957 10.07 ns/op 496.68 MB/s BenchmarkMemclr/16-4 12184909 9.933 ns/op 1610.82 MB/s BenchmarkMemclr/64-4 11098910 10.65 ns/op 6008.17 MB/s BenchmarkMemclr/256-4 10196636 11.78 ns/op 21736.78 MB/s BenchmarkMemclr/4096-4 2396354 49.67 ns/op 82461.28 MB/s BenchmarkMemclr/65536-4 56919 2166 ns/op 30261.88 MB/s BenchmarkMemclr/1M-4 2655 43473 ns/op 24120.35 MB/s BenchmarkMemclr/4M-4 667 174852 ns/op 23987.70 MB/s BenchmarkMemclr/8M-4 248 476907 ns/op 17589.62 MB/s BenchmarkMemclr/16M-4 72 1771978 ns/op 9468.07 MB/s BenchmarkMemclr/64M-4 10 10256925 ns/op 6542.79 MB/s BenchmarkMemclrUnaligned/0_5-4 6971152 16.81 ns/op 297.38 MB/s BenchmarkMemclrUnaligned/0_16-4 7055258 17.00 ns/op 941.38 MB/s BenchmarkMemclrUnaligned/0_64-4 6775478 17.82 ns/op 3590.52 MB/s BenchmarkMemclrUnaligned/0_256-4 6055837 20.30 ns/op 12607.75 MB/s BenchmarkMemclrUnaligned/0_4096-4 2057481 58.89 ns/op 69548.86 MB/s BenchmarkMemclrUnaligned/0_65536-4 59648 1758 ns/op 37288.41 MB/s BenchmarkMemclrUnaligned/1_5-4 7042003 17.03 ns/op 293.57 MB/s BenchmarkMemclrUnaligned/1_16-4 6784242 17.33 ns/op 923.07 MB/s BenchmarkMemclrUnaligned/1_64-4 6534614 20.14 ns/op 3177.92 MB/s BenchmarkMemclrUnaligned/1_256-4 5732049 21.02 ns/op 12177.44 MB/s BenchmarkMemclrUnaligned/1_4096-4 1336356 90.14 ns/op 45439.95 MB/s BenchmarkMemclrUnaligned/1_65536-4 60274 2355 ns/op 27831.89 MB/s BenchmarkMemclrUnaligned/4_5-4 7038258 16.78 ns/op 297.91 MB/s BenchmarkMemclrUnaligned/4_16-4 6909760 16.96 ns/op 943.15 MB/s BenchmarkMemclrUnaligned/4_64-4 6808776 17.94 ns/op 3568.25 MB/s BenchmarkMemclrUnaligned/4_256-4 6169052 19.34 ns/op 13237.63 MB/s BenchmarkMemclrUnaligned/4_4096-4 1337779 96.61 ns/op 42398.30 MB/s BenchmarkMemclrUnaligned/4_65536-4 53359 1891 ns/op 34653.55 MB/s BenchmarkMemclrUnaligned/7_5-4 7007146 17.40 ns/op 287.31 MB/s BenchmarkMemclrUnaligned/7_16-4 6891346 17.19 ns/op 930.62 MB/s BenchmarkMemclrUnaligned/7_64-4 6569155 17.63 ns/op 3629.31 MB/s BenchmarkMemclrUnaligned/7_256-4 6217436 22.26 ns/op 11502.10 MB/s BenchmarkMemclrUnaligned/7_4096-4 1333508 93.93 ns/op 43606.16 MB/s BenchmarkMemclrUnaligned/7_65536-4 49660 2069 ns/op 31678.65 MB/s BenchmarkMemclrUnaligned/0_1M-4 2798 42346 ns/op 24761.82 MB/s BenchmarkMemclrUnaligned/0_4M-4 657 178395 ns/op 23511.30 MB/s BenchmarkMemclrUnaligned/0_8M-4 292 385290 ns/op 21772.19 MB/s BenchmarkMemclrUnaligned/0_16M-4 56 1982509 ns/op 8462.62 MB/s BenchmarkMemclrUnaligned/0_64M-4 10 10110538 ns/op 6637.52 MB/s BenchmarkMemclrUnaligned/1_1M-4 2754 41463 ns/op 25289.44 MB/s BenchmarkMemclrUnaligned/1_4M-4 660 172570 ns/op 24304.93 MB/s BenchmarkMemclrUnaligned/1_8M-4 344 369641 ns/op 22693.92 MB/s BenchmarkMemclrUnaligned/1_16M-4 68 2128944 ns/op 7880.54 MB/s BenchmarkMemclrUnaligned/1_64M-4 10 10257174 ns/op 6542.63 MB/s BenchmarkMemclrUnaligned/4_1M-4 2528 41705 ns/op 25142.45 MB/s BenchmarkMemclrUnaligned/4_4M-4 650 174054 ns/op 24097.73 MB/s BenchmarkMemclrUnaligned/4_8M-4 330 345893 ns/op 24252.03 MB/s BenchmarkMemclrUnaligned/4_16M-4 50 2442331 ns/op 6869.34 MB/s BenchmarkMemclrUnaligned/4_64M-4 10 10173987 ns/op 6596.12 MB/s BenchmarkMemclrUnaligned/7_1M-4 2740 41589 ns/op 25213.08 MB/s BenchmarkMemclrUnaligned/7_4M-4 680 179392 ns/op 23380.64 MB/s BenchmarkMemclrUnaligned/7_8M-4 319 345750 ns/op 24262.06 MB/s BenchmarkMemclrUnaligned/7_16M-4 52 2130716 ns/op 7873.98 MB/s BenchmarkMemclrUnaligned/7_64M-4 10 10089960 ns/op 6651.05 MB/s BenchmarkGoMemclr/5-4 2174536 54.61 ns/op 91.55 MB/s BenchmarkGoMemclr/16-4 499494 228.2 ns/op 70.13 MB/s BenchmarkGoMemclr/64-4 136810 859.7 ns/op 74.44 MB/s BenchmarkGoMemclr/256-4 35594 3379 ns/op 75.75 MB/s BenchmarkMemclrRange/1K_2K-4 65311 1833 ns/op 52299.41 MB/s BenchmarkMemclrRange/2K_8K-4 30454 3937 ns/op 84711.17 MB/s BenchmarkMemclrRange/4K_16K-4 42696 2803 ns/op 115271.13 MB/s BenchmarkMemclrRange/160K_228K-4 1813 61567 ns/op 27008.97 MB/s BenchmarkClearFat7-4 6010543 19.73 ns/op BenchmarkClearFat8-4 6909975 17.67 ns/op BenchmarkClearFat11-4 6121506 20.01 ns/op BenchmarkClearFat12-4 6104086 18.86 ns/op BenchmarkClearFat13-4 5957721 19.81 ns/op BenchmarkClearFat14-4 5905837 21.56 ns/op BenchmarkClearFat15-4 6098586 19.91 ns/op BenchmarkClearFat16-4 6323712 18.73 ns/op BenchmarkClearFat24-4 6110245 19.76 ns/op BenchmarkClearFat32-4 6073716 19.75 ns/op BenchmarkClearFat40-4 5444450 21.94 ns/op BenchmarkClearFat48-4 5836953 20.78 ns/op BenchmarkClearFat56-4 5618242 21.66 ns/op BenchmarkClearFat64-4 5374809 22.74 ns/op BenchmarkClearFat72-4 5167095 23.09 ns/op BenchmarkClearFat128-4 3702884 32.25 ns/op BenchmarkClearFat256-4 2188852 55.13 ns/op BenchmarkClearFat512-4 1434945 82.35 ns/op BenchmarkClearFat1024-4 872191 136.8 ns/op BenchmarkClearFat1032-4 824252 147.4 ns/op BenchmarkClearFat1040-4 832003 144.0 ns/op BenchmarkCopyFat7-4 6203034 19.54 ns/op BenchmarkCopyFat8-4 6631543 17.90 ns/op BenchmarkCopyFat11-4 6047498 20.65 ns/op BenchmarkCopyFat12-4 6189236 19.15 ns/op BenchmarkCopyFat13-4 6132874 19.59 ns/op BenchmarkCopyFat14-4 5957379 19.22 ns/op BenchmarkCopyFat15-4 6009052 19.75 ns/op BenchmarkCopyFat16-4 6479178 18.54 ns/op BenchmarkCopyFat24-4 6132303 19.71 ns/op BenchmarkCopyFat32-4 6263804 19.00 ns/op BenchmarkCopyFat64-4 5239707 22.80 ns/op BenchmarkCopyFat72-4 5123250 23.52 ns/op BenchmarkCopyFat128-4 3685183 32.98 ns/op BenchmarkCopyFat256-4 2080699 58.78 ns/op BenchmarkCopyFat512-4 1370253 87.75 ns/op BenchmarkCopyFat520-4 1334845 89.51 ns/op BenchmarkCopyFat1024-4 807121 147.0 ns/op BenchmarkCopyFat1032-4 780368 151.9 ns/op BenchmarkCopyFat1040-4 767646 151.9 ns/op BenchmarkIssue18740/2byte-4 424 277303 ns/op BenchmarkIssue18740/4byte-4 716 167568 ns/op BenchmarkIssue18740/8byte-4 1012 117358 ns/op BenchmarkMemclrKnownSize1-4 9061674 13.31 ns/op 75.14 MB/s BenchmarkMemclrKnownSize2-4 5663632 20.35 ns/op 98.28 MB/s BenchmarkMemclrKnownSize4-4 3381063 34.21 ns/op 116.93 MB/s BenchmarkMemclrKnownSize8-4 1000000 112.8 ns/op 70.94 MB/s BenchmarkMemclrKnownSize16-4 503023 235.1 ns/op 68.04 MB/s BenchmarkMemclrKnownSize32-4 272066 437.5 ns/op 73.14 MB/s BenchmarkMemclrKnownSize64-4 144362 835.1 ns/op 76.63 MB/s BenchmarkMemclrKnownSize112-4 79527 1481 ns/op 75.64 MB/s BenchmarkMemclrKnownSize128-4 72422 1651 ns/op 77.54 MB/s BenchmarkMemclrKnownSize192-4 48828 2460 ns/op 78.04 MB/s BenchmarkMemclrKnownSize248-4 36391 3308 ns/op 74.98 MB/s BenchmarkMemclrKnownSize256-4 35079 3373 ns/op 75.89 MB/s BenchmarkMemclrKnownSize512-4 17697 6919 ns/op 74.00 MB/s BenchmarkMemclrKnownSize1024-4 8989 13842 ns/op 73.98 MB/s BenchmarkMemclrKnownSize4096-4 2215 54681 ns/op 74.91 MB/s BenchmarkMemclrKnownSize512KiB-4 16 7008053 ns/op 74.81 MB/s BenchmarkReadMetricsLatency-4 15483 5005 p50-ns 7519 p90-ns 17272 p99-ns BenchmarkFinalizer-4 169 689310 ns/op BenchmarkFinalizerRun-4 180436 942.0 ns/op BenchmarkPallocBitsSummarize/Unpacked00-4 7327123 15.41 ns/op BenchmarkPallocBitsSummarize/UnpackedFFFFFFFFFFFFFFFF-4 3113354 37.60 ns/op BenchmarkPallocBitsSummarize/UnpackedAA-4 2438324 48.39 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAAAAAAAAAA-4 2409999 48.70 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000AAAAAAAA-4 1307270 90.92 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAA00000001-4 1000000 101.9 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBBBBBBBBBB-4 2244392 52.39 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000BBBBBBBB-4 1259426 94.04 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBB00000001-4 1315084 90.62 ns/op BenchmarkPallocBitsSummarize/UnpackedCCCCCCCCCCCCCCCC-4 1861065 63.60 ns/op BenchmarkPallocBitsSummarize/Unpacked4444444444444444-4 1901442 62.07 ns/op BenchmarkPallocBitsSummarize/Unpacked4040404040404040-4 1704271 69.64 ns/op BenchmarkPallocBitsSummarize/Unpacked4000400040004000-4 1454412 80.74 ns/op BenchmarkPallocBitsSummarize/Unpacked1000404044CCAAFF-4 1337142 88.50 ns/op BenchmarkFindBitRange64/Pattern00Size2-4 6220627 19.26 ns/op BenchmarkFindBitRange64/Pattern00Size8-4 6523728 18.33 ns/op BenchmarkFindBitRange64/Pattern00Size32-4 6421668 18.32 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize2-4 6422463 18.44 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize8-4 5766746 20.72 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize32-4 5233699 23.22 ns/op BenchmarkFindBitRange64/PatternAASize2-4 6564048 18.20 ns/op BenchmarkFindBitRange64/PatternAASize8-4 6474868 18.30 ns/op BenchmarkFindBitRange64/PatternAASize32-4 6520154 18.44 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize2-4 6556579 18.30 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize8-4 6475714 18.32 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize32-4 6498774 18.26 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize2-4 6505456 18.75 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize8-4 6443358 18.26 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize32-4 6370954 18.70 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size2-4 6426751 18.24 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size8-4 6561429 18.24 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size32-4 6441832 18.61 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize2-4 6577540 18.23 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize8-4 6142411 19.44 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize32-4 6112284 19.54 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize2-4 6564391 18.47 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize8-4 6104985 19.49 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize32-4 6058921 19.50 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size2-4 6408590 18.32 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size8-4 6121395 19.57 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size32-4 6164193 19.56 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize2-4 6440713 18.31 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize8-4 6087426 19.73 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize32-4 6089016 19.69 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size2-4 6479599 18.55 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size8-4 6229250 18.35 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size32-4 6502484 18.94 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size2-4 6521918 18.18 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size8-4 6534166 18.71 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size32-4 6543753 18.35 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size2-4 6535994 18.18 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size8-4 6592610 18.25 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size32-4 6563461 18.32 ns/op BenchmarkNetpollBreak-4 4197 30979 ns/op BenchmarkPinnerPinUnpinBatch-4 936 115451 ns/op BenchmarkPinnerPinUnpinBatchDouble-4 222 534901 ns/op BenchmarkPinnerPinUnpinBatchTiny-4 1023 113632 ns/op BenchmarkPinnerPinUnpin-4 1000000 105.0 ns/op BenchmarkPinnerPinUnpinTiny-4 1000000 105.7 ns/op BenchmarkPinnerPinUnpinDouble-4 439543 272.7 ns/op BenchmarkPinnerPinUnpinParallel-4 3316699 38.40 ns/op BenchmarkPinnerPinUnpinParallelTiny-4 2794248 36.42 ns/op BenchmarkPinnerPinUnpinParallelDouble-4 259228 538.8 ns/op BenchmarkPinnerIsPinnedOnPinned-4 5297535 20.78 ns/op BenchmarkPinnerIsPinnedOnUnpinned-4 5802922 19.93 ns/op BenchmarkPinnerIsPinnedOnPinnedParallel-4 7326595 14.08 ns/op BenchmarkPinnerIsPinnedOnUnpinnedParallel-4 7912754 12.72 ns/op BenchmarkPingPongHog-4 344 291857 ns/op BenchmarkStackGrowth-4 115905 1017 ns/op BenchmarkStackGrowthDeep-4 1242 90941 ns/op BenchmarkCreateGoroutines-4 51158 2322 ns/op BenchmarkCreateGoroutinesParallel-4 38727 2831 ns/op BenchmarkCreateGoroutinesCapture-4 10000 13669 ns/op 144 B/op 5 allocs/op BenchmarkCreateGoroutinesSingle-4 40524 3442 ns/op BenchmarkClosureCall-4 18745942 6.403 ns/op BenchmarkWakeupParallelSpinning/0s-4 5652 18652 ns/op BenchmarkWakeupParallelSpinning/1µs-4 4946 23318 ns/op BenchmarkWakeupParallelSpinning/2µs-4 4660 24329 ns/op BenchmarkWakeupParallelSpinning/5µs-4 3238 36375 ns/op BenchmarkWakeupParallelSpinning/10µs-4 2186 56830 ns/op BenchmarkWakeupParallelSpinning/20µs-4 1240 95150 ns/op BenchmarkWakeupParallelSpinning/50µs-4 657 198676 ns/op BenchmarkWakeupParallelSpinning/100µs-4 339 363064 ns/op BenchmarkWakeupParallelSyscall/0s-4 793 157191 ns/op BenchmarkWakeupParallelSyscall/1µs-4 739 158372 ns/op BenchmarkWakeupParallelSyscall/2µs-4 744 163921 ns/op BenchmarkWakeupParallelSyscall/5µs-4 652 170714 ns/op BenchmarkWakeupParallelSyscall/10µs-4 658 182045 ns/op BenchmarkWakeupParallelSyscall/20µs-4 601 228240 ns/op BenchmarkWakeupParallelSyscall/50µs-4 417 275153 ns/op BenchmarkWakeupParallelSyscall/100µs-4 273 414243 ns/op BenchmarkMatmult-4 4064612 38.57 ns/op BenchmarkFastrand-4 12174630 10.70 ns/op BenchmarkFastrand64-4 10347418 9.822 ns/op BenchmarkFastrandHashiter-4 4379841 25.49 ns/op BenchmarkFastrandn/2-4 6004168 19.91 ns/op BenchmarkFastrandn/3-4 6099699 19.68 ns/op BenchmarkFastrandn/4-4 6015387 19.32 ns/op BenchmarkFastrandn/5-4 6103258 19.50 ns/op BenchmarkIfaceCmp100-4 103010 1154 ns/op BenchmarkIfaceCmpNil100-4 145569 851.6 ns/op BenchmarkEfaceCmpDiff-4 39762 2999 ns/op BenchmarkEfaceCmpDiffIndirect-4 30350 3958 ns/op BenchmarkDefer-4 1653963 73.44 ns/op BenchmarkDefer10-4 803847 150.0 ns/op BenchmarkDeferMany-4 398048 489.1 ns/op BenchmarkPanicRecover-4 179146 671.0 ns/op BenchmarkGoroutineProfile/small-nil/idle-4 7274 15696 ns/op 14845 p50-ns 19204 p90-ns 30552 p99-ns BenchmarkGoroutineProfile/small-nil/loaded-4 7299 18659 ns/op 15138 p50-ns 19727 p90-ns 131560 p99-ns BenchmarkGoroutineProfile/small/idle-4 2913 41323 ns/op 37290 p50-ns 53152 p90-ns 78680 p99-ns BenchmarkGoroutineProfile/small/loaded-4 434 339630 ns/op 120826 p50-ns 343713 p90-ns 4038902 p99-ns BenchmarkGoroutineProfile/large-nil/idle-4 7592 17394 ns/op 16926 p50-ns 21256 p90-ns 32867 p99-ns BenchmarkGoroutineProfile/large-nil/loaded-4 6606 19024 ns/op 15100 p50-ns 20828 p90-ns 82669 p99-ns BenchmarkGoroutineProfile/large/idle-4 13 8196196 ns/op 8176358 p50-ns 8343521 p90-ns 8644985 p99-ns BenchmarkGoroutineProfile/large/loaded-4 8 14153419 ns/op 15313817 p50-ns 25547186 p90-ns 25547186 p99-ns BenchmarkGoroutineProfile/sparse-nil/idle-4 7424 16828 ns/op 16522 p50-ns 20184 p90-ns 29609 p99-ns BenchmarkGoroutineProfile/sparse-nil/loaded-4 6932 20798 ns/op 15708 p50-ns 21739 p90-ns 177809 p99-ns BenchmarkGoroutineProfile/sparse/idle-4 772 133805 ns/op 126966 p50-ns 154900 p90-ns 208019 p99-ns BenchmarkGoroutineProfile/sparse/loaded-4 300 502114 ns/op 247901 p50-ns 426999 p90-ns 11813468 p99-ns BenchmarkRWMutexUncontended-4 2508718 40.28 ns/op BenchmarkRWMutexWrite100-4 597777 197.1 ns/op BenchmarkRWMutexWrite10-4 123742 1063 ns/op BenchmarkRWMutexWorkWrite100-4 447589 258.6 ns/op BenchmarkRWMutexWorkWrite10-4 89862 1415 ns/op BenchmarkSemTable/OneAddrCollision/n=1000-4 1798 65932 ns/op BenchmarkSemTable/ManyAddrCollision/n=1000-4 860 140368 ns/op BenchmarkSemTable/OneAddrCollision/n=2000-4 933 123884 ns/op BenchmarkSemTable/ManyAddrCollision/n=2000-4 415 294320 ns/op BenchmarkSemTable/OneAddrCollision/n=4000-4 458 248890 ns/op BenchmarkSemTable/ManyAddrCollision/n=4000-4 194 603410 ns/op BenchmarkSemTable/OneAddrCollision/n=8000-4 231 506444 ns/op BenchmarkSemTable/ManyAddrCollision/n=8000-4 90 1223948 ns/op BenchmarkMakeSliceCopy/mallocmove/Byte-4 271839 383.4 ns/op BenchmarkMakeSliceCopy/mallocmove/Int-4 293580 402.5 ns/op BenchmarkMakeSliceCopy/mallocmove/Ptr-4 266701 472.6 ns/op BenchmarkMakeSliceCopy/makecopy/Byte-4 298550 394.1 ns/op BenchmarkMakeSliceCopy/makecopy/Int-4 239578 425.6 ns/op BenchmarkMakeSliceCopy/makecopy/Ptr-4 262262 444.7 ns/op BenchmarkMakeSliceCopy/nilappend/Byte-4 257908 443.5 ns/op BenchmarkMakeSliceCopy/nilappend/Int-4 275077 441.3 ns/op BenchmarkMakeSliceCopy/nilappend/Ptr-4 245121 505.5 ns/op BenchmarkMakeSlice/Byte-4 1972731 57.82 ns/op BenchmarkMakeSlice/Int16-4 1970154 60.09 ns/op BenchmarkMakeSlice/Int-4 1573970 71.90 ns/op BenchmarkMakeSlice/Ptr-4 1000000 100.6 ns/op BenchmarkMakeSlice/Struct/24-4 837693 120.2 ns/op BenchmarkMakeSlice/Struct/32-4 798118 144.4 ns/op BenchmarkMakeSlice/Struct/40-4 574275 187.0 ns/op BenchmarkGrowSlice/Byte-4 872767 149.7 ns/op BenchmarkGrowSlice/Int16-4 830734 163.1 ns/op BenchmarkGrowSlice/Int-4 558406 209.4 ns/op BenchmarkGrowSlice/Ptr-4 452997 261.2 ns/op BenchmarkGrowSlice/Struct/24-4 278236 383.7 ns/op BenchmarkGrowSlice/Struct/32-4 258891 430.4 ns/op BenchmarkGrowSlice/Struct/40-4 193790 541.8 ns/op BenchmarkExtendSlice/IntSlice-4 509967 239.3 ns/op BenchmarkExtendSlice/PointerSlice-4 408416 318.7 ns/op BenchmarkExtendSlice/NoGrow-4 817231 143.3 ns/op BenchmarkAppend-4 784580 151.3 ns/op BenchmarkAppendGrowByte-4 3 33786768 ns/op BenchmarkAppendGrowString-4 1 418685990 ns/op BenchmarkAppendSlice/1Bytes-4 1993552 62.79 ns/op BenchmarkAppendSlice/4Bytes-4 1848399 63.08 ns/op BenchmarkAppendSlice/7Bytes-4 1792136 65.04 ns/op BenchmarkAppendSlice/8Bytes-4 1830717 64.73 ns/op BenchmarkAppendSlice/15Bytes-4 1774965 65.86 ns/op BenchmarkAppendSlice/16Bytes-4 1832395 65.70 ns/op BenchmarkAppendSlice/32Bytes-4 1774688 67.20 ns/op BenchmarkAppendSliceLarge/1024Bytes-4 79887 1372 ns/op BenchmarkAppendSliceLarge/4096Bytes-4 23146 5311 ns/op BenchmarkAppendSliceLarge/16384Bytes-4 5990 21815 ns/op BenchmarkAppendSliceLarge/65536Bytes-4 1420 79366 ns/op BenchmarkAppendSliceLarge/262144Bytes-4 96 1207828 ns/op BenchmarkAppendSliceLarge/1048576Bytes-4 21 5536545 ns/op BenchmarkAppendStr/1Bytes-4 1461934 82.39 ns/op BenchmarkAppendStr/4Bytes-4 1477954 78.32 ns/op BenchmarkAppendStr/8Bytes-4 1473051 79.13 ns/op BenchmarkAppendStr/16Bytes-4 1435184 83.24 ns/op BenchmarkAppendStr/32Bytes-4 1457376 83.52 ns/op BenchmarkAppendSpecialCase-4 753435 158.6 ns/op BenchmarkCopy/1Byte-4 2003772 59.91 ns/op 16.69 MB/s BenchmarkCopy/1String-4 1975251 61.12 ns/op 16.36 MB/s BenchmarkCopy/2Byte-4 1939957 62.01 ns/op 32.25 MB/s BenchmarkCopy/2String-4 1913754 61.81 ns/op 32.36 MB/s BenchmarkCopy/4Byte-4 1944196 61.97 ns/op 64.54 MB/s BenchmarkCopy/4String-4 1945176 61.51 ns/op 65.03 MB/s BenchmarkCopy/8Byte-4 1961432 61.05 ns/op 131.04 MB/s BenchmarkCopy/8String-4 1975029 61.02 ns/op 131.09 MB/s BenchmarkCopy/12Byte-4 1871569 63.78 ns/op 188.15 MB/s BenchmarkCopy/12String-4 1884740 63.81 ns/op 188.06 MB/s BenchmarkCopy/16Byte-4 1907998 61.97 ns/op 258.19 MB/s BenchmarkCopy/16String-4 1893405 63.16 ns/op 253.32 MB/s BenchmarkCopy/32Byte-4 1822111 65.09 ns/op 491.64 MB/s BenchmarkCopy/32String-4 1808791 66.71 ns/op 479.70 MB/s BenchmarkCopy/128Byte-4 1367706 87.99 ns/op 1454.68 MB/s BenchmarkCopy/128String-4 1000000 102.5 ns/op 1248.36 MB/s BenchmarkCopy/1024Byte-4 415958 287.9 ns/op 3556.88 MB/s BenchmarkCopy/1024String-4 346209 338.4 ns/op 3026.07 MB/s BenchmarkAppendInPlace/NoGrow/Byte-4 28855 4220 ns/op BenchmarkAppendInPlace/NoGrow/1Ptr-4 19268 6503 ns/op BenchmarkAppendInPlace/NoGrow/2Ptr-4 10000 10012 ns/op BenchmarkAppendInPlace/NoGrow/3Ptr-4 10000 12633 ns/op BenchmarkAppendInPlace/NoGrow/4Ptr-4 9030 16179 ns/op BenchmarkAppendInPlace/Grow/Byte-4 126517 907.8 ns/op BenchmarkAppendInPlace/Grow/1Ptr-4 128074 960.9 ns/op BenchmarkAppendInPlace/Grow/2Ptr-4 97162 1129 ns/op BenchmarkAppendInPlace/Grow/3Ptr-4 84240 1381 ns/op BenchmarkAppendInPlace/Grow/4Ptr-4 82939 1529 ns/op BenchmarkStackCopyPtr-4 1 172841327 ns/op BenchmarkStackCopy-4 1 114653187 ns/op BenchmarkStackCopyNoCache-4 21 5473052 ns/op BenchmarkStackCopyWithStkobj-4 1 134478174 ns/op BenchmarkIssue18138-4 660 176816 ns/op BenchmarkCompareStringEqual-4 11015056 10.59 ns/op BenchmarkCompareStringIdentical-4 15815683 7.572 ns/op BenchmarkCompareStringSameLength-4 13157680 9.132 ns/op BenchmarkCompareStringDifferentLength-4 18607460 6.451 ns/op BenchmarkCompareStringBigUnaligned-4 1240 96890 ns/op 10822.44 MB/s BenchmarkCompareStringBig-4 1370 98339 ns/op 10662.96 MB/s BenchmarkConcatStringAndBytes-4 2201925 54.49 ns/op BenchmarkSliceByteToString/1-4 2260204 53.29 ns/op BenchmarkSliceByteToString/2-4 1000000 109.0 ns/op BenchmarkSliceByteToString/4-4 1138628 105.0 ns/op BenchmarkSliceByteToString/8-4 998224 110.5 ns/op BenchmarkSliceByteToString/16-4 1000000 108.3 ns/op BenchmarkSliceByteToString/32-4 1000000 124.0 ns/op BenchmarkSliceByteToString/64-4 993135 151.3 ns/op BenchmarkSliceByteToString/128-4 477264 217.1 ns/op BenchmarkRuneCount/lenruneslice/ASCII-4 2314766 52.10 ns/op BenchmarkRuneCount/lenruneslice/Japanese-4 831001 139.4 ns/op BenchmarkRuneCount/lenruneslice/MixedLength-4 1000000 120.9 ns/op BenchmarkRuneCount/rangeloop/ASCII-4 3266751 37.27 ns/op BenchmarkRuneCount/rangeloop/Japanese-4 1633095 73.97 ns/op BenchmarkRuneCount/rangeloop/MixedLength-4 1833379 64.79 ns/op BenchmarkRuneCount/utf8.RuneCountInString/ASCII-4 2261856 53.76 ns/op BenchmarkRuneCount/utf8.RuneCountInString/Japanese-4 444607 273.0 ns/op BenchmarkRuneCount/utf8.RuneCountInString/MixedLength-4 550956 213.0 ns/op BenchmarkRuneIterate/range/ASCII-4 5692285 20.92 ns/op BenchmarkRuneIterate/range/Japanese-4 2047636 57.74 ns/op BenchmarkRuneIterate/range/MixedLength-4 2274250 52.10 ns/op BenchmarkRuneIterate/range1/ASCII-4 5672990 20.83 ns/op BenchmarkRuneIterate/range1/Japanese-4 2053683 57.67 ns/op BenchmarkRuneIterate/range1/MixedLength-4 2158374 54.99 ns/op BenchmarkRuneIterate/range2/ASCII-4 5693110 20.65 ns/op BenchmarkRuneIterate/range2/Japanese-4 2046228 58.21 ns/op BenchmarkRuneIterate/range2/MixedLength-4 2235000 52.41 ns/op BenchmarkArrayEqual-4 17138180 6.955 ns/op BenchmarkFunc/Name-4 2617874 44.67 ns/op BenchmarkFunc/Entry-4 10463295 11.42 ns/op BenchmarkFunc/FileLine-4 1562997 76.70 ns/op PASS ok runtime 148.911s goos: linux goarch: amd64 pkg: runtime/cgo cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHandle/non-concurrent-4 26254 4568 ns/op BenchmarkHandle/concurrent-4 14643 8103 ns/op PASS ok runtime/cgo 1.501s goos: linux goarch: amd64 pkg: runtime/internal/atomic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAtomicLoad64-4 20964616 5.679 ns/op BenchmarkAtomicStore64-4 9296143 12.12 ns/op BenchmarkAtomicLoad-4 20908694 5.647 ns/op BenchmarkAtomicStore-4 9951075 12.09 ns/op BenchmarkAnd8-4 9979129 12.04 ns/op BenchmarkAnd-4 9941668 12.07 ns/op BenchmarkAnd8Parallel-4 2337508 49.16 ns/op BenchmarkAndParallel-4 2998128 49.92 ns/op BenchmarkOr8-4 9886064 12.08 ns/op BenchmarkOr-4 9878496 12.07 ns/op BenchmarkOr8Parallel-4 3128692 46.52 ns/op BenchmarkOrParallel-4 2991060 49.54 ns/op BenchmarkXadd-4 3033861 49.88 ns/op BenchmarkXadd64-4 2840774 49.96 ns/op BenchmarkCas-4 2339206 52.60 ns/op BenchmarkCas64-4 2384174 55.30 ns/op BenchmarkXchg-4 3044916 49.62 ns/op BenchmarkXchg64-4 3005398 46.47 ns/op PASS ok runtime/internal/atomic 3.944s goos: linux goarch: amd64 pkg: runtime/internal/math cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMulUintptr/small-4 4313852 27.57 ns/op BenchmarkMulUintptr/large-4 3389018 35.75 ns/op PASS ok runtime/internal/math 1.328s goos: linux goarch: amd64 pkg: runtime/pprof cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkGoroutine/Profile.WriteTo_idle_50-4 16 7696822 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_50-4 13 10941532 ns/op 738.4 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_50-4 921 144443 ns/op 5.587 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_500-4 8 14891396 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_500-4 6 19000274 ns/op 1240 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_500-4 100 1052935 ns/op 69.60 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_5000-4 2 84412248 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_5000-4 1 112668678 ns/op 6896 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_5000-4 13 9282147 ns/op 653.0 concurrent_launches/op PASS ok runtime/pprof 2.699s goos: linux goarch: amd64 pkg: runtime/race cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSyncLeak-4 36 3272955 ns/op BenchmarkStackLeak-4 19473 5972 ns/op PASS ok runtime/race 1.533s goos: linux goarch: amd64 pkg: runtime/trace cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStartRegion-4 4281693 26.75 ns/op 0 B/op 0 allocs/op BenchmarkNewTask-4 193680 600.2 ns/op 64 B/op 2 allocs/op PASS ok runtime/trace 1.389s goos: linux goarch: amd64 pkg: slices cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEqualFunc_Large-4 19 5267111 ns/op BenchmarkIndex_Large-4 14894 7758 ns/op BenchmarkIndexFunc_Large-4 88 1260050 ns/op BenchmarkCompact/nil-4 6863864 17.42 ns/op BenchmarkCompact/one-4 1767448 65.63 ns/op BenchmarkCompact/sorted-4 1000000 102.8 ns/op BenchmarkCompact/1_item-4 904648 115.2 ns/op BenchmarkCompact/unsorted-4 1000000 102.3 ns/op BenchmarkCompact/many-4 640267 180.0 ns/op BenchmarkCompact_Large-4 700 197263 ns/op BenchmarkCompactFunc_Large-4 51 2343013 ns/op BenchmarkReplace/naive-fast-4 65850 1557 ns/op BenchmarkReplace/optimized-fast-4 80538 1293 ns/op BenchmarkReplace/naive-slow-4 27820 4040 ns/op BenchmarkReplace/optimized-slow-4 29799 3465 ns/op BenchmarkSortInts-4 2 95681258 ns/op BenchmarkSlicesSortInts-4 2 66918304 ns/op BenchmarkSlicesSortInts_Sorted-4 54 2219031 ns/op BenchmarkSlicesSortInts_Reversed-4 32 3424654 ns/op BenchmarkSortStrings-4 1 153062773 ns/op BenchmarkSlicesSortStrings-4 1 107993793 ns/op BenchmarkSortStructs-4 1 196163829 ns/op BenchmarkSortFuncStructs-4 1 166302523 ns/op BenchmarkBinarySearchFloats/Size16-4 1000000 105.7 ns/op BenchmarkBinarySearchFloats/Size32-4 952212 122.0 ns/op BenchmarkBinarySearchFloats/Size64-4 868009 137.6 ns/op BenchmarkBinarySearchFloats/Size128-4 733339 163.5 ns/op BenchmarkBinarySearchFloats/Size512-4 612170 193.8 ns/op BenchmarkBinarySearchFloats/Size1024-4 573514 209.9 ns/op BenchmarkBinarySearchFuncStruct/Size16-4 538796 201.9 ns/op BenchmarkBinarySearchFuncStruct/Size32-4 468270 248.0 ns/op BenchmarkBinarySearchFuncStruct/Size64-4 407173 296.2 ns/op BenchmarkBinarySearchFuncStruct/Size128-4 352452 325.0 ns/op BenchmarkBinarySearchFuncStruct/Size512-4 299149 395.5 ns/op BenchmarkBinarySearchFuncStruct/Size1024-4 275545 432.1 ns/op PASS ok slices 13.635s goos: linux goarch: amd64 pkg: sort cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSearchWrappers-4 161592 709.7 ns/op BenchmarkSortString1K-4 171 700148 ns/op BenchmarkSortString1K_Slice-4 192 594680 ns/op BenchmarkStableString1K-4 100 1135368 ns/op BenchmarkSortInt1K-4 217 548707 ns/op BenchmarkSortInt1K_Sorted-4 3230 40479 ns/op BenchmarkSortInt1K_Reversed-4 1699 69398 ns/op BenchmarkSortInt1K_Mod8-4 542 228154 ns/op BenchmarkStableInt1K-4 139 857920 ns/op BenchmarkStableInt1K_Slice-4 159 741158 ns/op BenchmarkSortInt64K-4 2 52936620 ns/op BenchmarkSortInt64K_Slice-4 3 45329205 ns/op BenchmarkStableInt64K-4 2 73160300 ns/op BenchmarkSort1e2-4 438 263609 ns/op BenchmarkStable1e2-4 171 754451 ns/op BenchmarkSort1e4-4 2 52373439 ns/op BenchmarkStable1e4-4 1 231835196 ns/op PASS ok sort 4.663s goos: linux goarch: amd64 pkg: strconv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAtof64Decimal-4 847273 141.8 ns/op BenchmarkAtof64Float-4 726930 162.9 ns/op BenchmarkAtof64FloatExp-4 608880 197.1 ns/op BenchmarkAtof64Big-4 439707 274.4 ns/op BenchmarkAtof64RandomBits-4 220632 527.3 ns/op BenchmarkAtof64RandomFloats-4 444115 264.1 ns/op BenchmarkAtof64RandomLongFloats-4 270278 434.2 ns/op BenchmarkAtof32Decimal-4 800390 140.2 ns/op BenchmarkAtof32Float-4 702954 162.8 ns/op BenchmarkAtof32FloatExp-4 604212 196.0 ns/op BenchmarkAtof32Random-4 355407 331.5 ns/op BenchmarkAtof32RandomLong-4 148489 799.3 ns/op BenchmarkParseInt/Pos/7bit-4 1348724 89.24 ns/op BenchmarkParseInt/Pos/26bit-4 589405 198.9 ns/op BenchmarkParseInt/Pos/31bit-4 526099 210.7 ns/op BenchmarkParseInt/Pos/56bit-4 355933 326.9 ns/op BenchmarkParseInt/Pos/63bit-4 344168 346.5 ns/op BenchmarkParseInt/Neg/7bit-4 1324827 89.21 ns/op BenchmarkParseInt/Neg/26bit-4 565294 202.3 ns/op BenchmarkParseInt/Neg/31bit-4 534681 212.8 ns/op BenchmarkParseInt/Neg/56bit-4 349776 318.3 ns/op BenchmarkParseInt/Neg/63bit-4 345982 342.8 ns/op BenchmarkAtoi/Pos/7bit-4 1967772 59.56 ns/op BenchmarkAtoi/Pos/26bit-4 775191 145.1 ns/op BenchmarkAtoi/Pos/31bit-4 728264 161.9 ns/op BenchmarkAtoi/Pos/56bit-4 424726 278.2 ns/op BenchmarkAtoi/Pos/63bit-4 326504 360.4 ns/op BenchmarkAtoi/Neg/7bit-4 1833214 63.40 ns/op BenchmarkAtoi/Neg/26bit-4 799515 145.4 ns/op BenchmarkAtoi/Neg/31bit-4 702412 162.1 ns/op BenchmarkAtoi/Neg/56bit-4 429260 271.0 ns/op BenchmarkAtoi/Neg/63bit-4 325482 359.9 ns/op BenchmarkFormatFloat/Decimal-4 114584 1084 ns/op BenchmarkFormatFloat/Float-4 105436 1153 ns/op BenchmarkFormatFloat/Exp-4 108954 1063 ns/op BenchmarkFormatFloat/NegExp-4 113950 1066 ns/op BenchmarkFormatFloat/LongExp-4 95528 1295 ns/op BenchmarkFormatFloat/Big-4 91258 1345 ns/op BenchmarkFormatFloat/BinaryExp-4 204339 598.5 ns/op BenchmarkFormatFloat/32Integer-4 113508 1058 ns/op BenchmarkFormatFloat/32ExactFraction-4 120757 1006 ns/op BenchmarkFormatFloat/32Point-4 106173 1120 ns/op BenchmarkFormatFloat/32Exp-4 114374 1066 ns/op BenchmarkFormatFloat/32NegExp-4 115452 1042 ns/op BenchmarkFormatFloat/32Shortest-4 120186 1020 ns/op BenchmarkFormatFloat/32Fixed8Hard-4 132390 881.8 ns/op BenchmarkFormatFloat/32Fixed9Hard-4 129604 923.0 ns/op BenchmarkFormatFloat/64Fixed1-4 152868 786.2 ns/op BenchmarkFormatFloat/64Fixed2-4 148905 784.4 ns/op BenchmarkFormatFloat/64Fixed3-4 152208 783.5 ns/op BenchmarkFormatFloat/64Fixed4-4 152223 804.4 ns/op BenchmarkFormatFloat/64Fixed12-4 86276 1401 ns/op BenchmarkFormatFloat/64Fixed16-4 110488 1089 ns/op BenchmarkFormatFloat/64Fixed12Hard-4 114835 1057 ns/op BenchmarkFormatFloat/64Fixed17Hard-4 104270 1189 ns/op BenchmarkFormatFloat/64Fixed18Hard-4 2301 49885 ns/op BenchmarkFormatFloat/Slowpath64-4 95680 1257 ns/op BenchmarkFormatFloat/SlowpathDenormal64-4 95650 1275 ns/op BenchmarkAppendFloat/Decimal-4 136688 868.8 ns/op BenchmarkAppendFloat/Float-4 121656 970.8 ns/op BenchmarkAppendFloat/Exp-4 137312 877.0 ns/op BenchmarkAppendFloat/NegExp-4 125442 873.1 ns/op BenchmarkAppendFloat/LongExp-4 110696 1069 ns/op BenchmarkAppendFloat/Big-4 108790 1096 ns/op BenchmarkAppendFloat/BinaryExp-4 322258 365.0 ns/op BenchmarkAppendFloat/32Integer-4 137270 881.0 ns/op BenchmarkAppendFloat/32ExactFraction-4 136921 868.7 ns/op BenchmarkAppendFloat/32Point-4 127398 922.1 ns/op BenchmarkAppendFloat/32Exp-4 131935 864.2 ns/op BenchmarkAppendFloat/32NegExp-4 138223 861.0 ns/op BenchmarkAppendFloat/32Shortest-4 153195 769.5 ns/op BenchmarkAppendFloat/32Fixed8Hard-4 173004 677.5 ns/op BenchmarkAppendFloat/32Fixed9Hard-4 163261 706.6 ns/op BenchmarkAppendFloat/64Fixed1-4 173750 618.8 ns/op BenchmarkAppendFloat/64Fixed2-4 185317 619.1 ns/op BenchmarkAppendFloat/64Fixed3-4 191062 618.2 ns/op BenchmarkAppendFloat/64Fixed4-4 191524 621.2 ns/op BenchmarkAppendFloat/64Fixed12-4 101905 1173 ns/op BenchmarkAppendFloat/64Fixed16-4 136935 883.8 ns/op BenchmarkAppendFloat/64Fixed12Hard-4 145386 807.0 ns/op BenchmarkAppendFloat/64Fixed17Hard-4 122936 942.3 ns/op BenchmarkAppendFloat/64Fixed18Hard-4 2370 50052 ns/op BenchmarkAppendFloat/Slowpath64-4 111152 1084 ns/op BenchmarkAppendFloat/SlowpathDenormal64-4 113379 1054 ns/op BenchmarkFormatInt-4 14296 7830 ns/op BenchmarkAppendInt-4 16898 7043 ns/op BenchmarkFormatUint-4 79816 1468 ns/op BenchmarkAppendUint-4 95188 1265 ns/op BenchmarkFormatIntSmall/7-4 2644830 45.21 ns/op BenchmarkFormatIntSmall/42-4 2812221 41.98 ns/op BenchmarkAppendIntSmall-4 1369466 90.23 ns/op BenchmarkAppendUintVarlen/1-4 1280361 93.09 ns/op BenchmarkAppendUintVarlen/12-4 1299738 93.04 ns/op BenchmarkAppendUintVarlen/123-4 949939 121.2 ns/op BenchmarkAppendUintVarlen/1234-4 951410 123.4 ns/op BenchmarkAppendUintVarlen/12345-4 879988 126.5 ns/op BenchmarkAppendUintVarlen/123456-4 846433 126.8 ns/op BenchmarkAppendUintVarlen/1234567-4 892868 129.5 ns/op BenchmarkAppendUintVarlen/12345678-4 906964 128.8 ns/op BenchmarkAppendUintVarlen/123456789-4 858061 134.1 ns/op BenchmarkAppendUintVarlen/1234567890-4 825990 135.2 ns/op BenchmarkAppendUintVarlen/12345678901-4 798937 136.9 ns/op BenchmarkAppendUintVarlen/123456789012-4 856910 137.3 ns/op BenchmarkAppendUintVarlen/1234567890123-4 821515 141.3 ns/op BenchmarkAppendUintVarlen/12345678901234-4 841010 139.8 ns/op BenchmarkAppendUintVarlen/123456789012345-4 804010 143.2 ns/op BenchmarkAppendUintVarlen/1234567890123456-4 788502 143.5 ns/op BenchmarkAppendUintVarlen/12345678901234567-4 798109 146.9 ns/op BenchmarkAppendUintVarlen/123456789012345678-4 785246 151.2 ns/op BenchmarkAppendUintVarlen/1234567890123456789-4 732778 149.7 ns/op BenchmarkAppendUintVarlen/12345678901234567890-4 740443 150.6 ns/op BenchmarkQuote-4 42904 2654 ns/op BenchmarkQuoteRune-4 443619 257.9 ns/op BenchmarkAppendQuote-4 55099 2216 ns/op BenchmarkAppendQuoteRune-4 820034 140.5 ns/op BenchmarkUnquoteEasy-4 1359532 90.13 ns/op BenchmarkUnquoteHard-4 47815 2424 ns/op PASS ok strconv 19.838s goos: linux goarch: amd64 pkg: strings cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkBuildString_Builder/1Write_NoGrow-4 436774 265.0 ns/op 48 B/op 1 allocs/op BenchmarkBuildString_Builder/3Write_NoGrow-4 141968 860.9 ns/op 336 B/op 3 allocs/op BenchmarkBuildString_Builder/3Write_Grow-4 175674 652.5 ns/op 112 B/op 1 allocs/op BenchmarkBuildString_ByteBuffer/1Write_NoGrow-4 272197 400.7 ns/op 112 B/op 2 allocs/op BenchmarkBuildString_ByteBuffer/3Write_NoGrow-4 76767 1314 ns/op 432 B/op 4 allocs/op BenchmarkBuildString_ByteBuffer/3Write_Grow-4 98059 1137 ns/op 336 B/op 3 allocs/op BenchmarkClone-4 660061 181.6 ns/op 48 B/op 1 allocs/op BenchmarkGenericNoMatch-4 21110 5734 ns/op BenchmarkGenericMatch1-4 2158 53880 ns/op BenchmarkGenericMatch2-4 424 276332 ns/op BenchmarkSingleMaxSkipping-4 7858 14757 ns/op 677.64 MB/s BenchmarkSingleLongSuffixFail-4 14122 8452 ns/op 118.55 MB/s BenchmarkSingleMatch-4 241 464562 ns/op 32.29 MB/s BenchmarkByteByteNoMatch-4 73200 1612 ns/op BenchmarkByteByteMatch-4 18162 6291 ns/op BenchmarkByteStringMatch-4 22549 5343 ns/op BenchmarkHTMLEscapeNew-4 72798 1666 ns/op BenchmarkHTMLEscapeOld-4 88489 1332 ns/op BenchmarkByteStringReplacerWriteString-4 1466 79867 ns/op BenchmarkByteReplacerWriteString-4 1576 75076 ns/op BenchmarkByteByteReplaces-4 3631 35294 ns/op BenchmarkByteByteMap-4 10000 11328 ns/op BenchmarkMap/identity/ASCII-4 662198 179.6 ns/op BenchmarkMap/identity/Greek-4 442005 243.1 ns/op BenchmarkMap/change/ASCII-4 38152 3079 ns/op BenchmarkMap/change/Greek-4 29637 4039 ns/op BenchmarkIndexRune-4 2008448 60.15 ns/op BenchmarkIndexRuneLongString-4 1738501 69.42 ns/op BenchmarkIndexRuneFastPath-4 4487082 26.49 ns/op BenchmarkIndex-4 4282665 27.44 ns/op BenchmarkLastIndex-4 5032701 22.98 ns/op BenchmarkIndexByte-4 10109630 11.62 ns/op BenchmarkToUpper/#00-4 3286425 36.84 ns/op BenchmarkToUpper/ONLYUPPER-4 2495002 46.69 ns/op BenchmarkToUpper/abc-4 333057 361.6 ns/op BenchmarkToUpper/AbC123-4 256483 477.6 ns/op BenchmarkToUpper/azAZ09_-4 283621 429.0 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 55788 2133 ns/op BenchmarkToUpper/RENAN_BASTOS_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 72417 1692 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 33462 3503 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 57284 2123 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 121078 969.0 ns/op BenchmarkToLower/#00-4 3167910 37.45 ns/op BenchmarkToLower/abc-4 2835296 41.53 ns/op BenchmarkToLower/AbC123-4 233210 512.9 ns/op BenchmarkToLower/azAZ09_-4 233882 520.3 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 95959 1206 ns/op BenchmarkToLower/renan_bastos_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 66580 1841 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 34950 3393 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 77419 1533 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 120332 1008 ns/op BenchmarkMapNoChanges-4 932430 122.7 ns/op BenchmarkTrim-4 38280 3162 ns/op 0 B/op 0 allocs/op BenchmarkToValidUTF8/Valid-4 3117554 37.30 ns/op BenchmarkToValidUTF8/InvalidASCII-4 199778 611.7 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 131756 922.5 ns/op BenchmarkEqualFold/Tests-4 51482 2227 ns/op BenchmarkEqualFold/ASCII-4 3765175 32.32 ns/op BenchmarkEqualFold/UnicodePrefix-4 107888 1109 ns/op BenchmarkEqualFold/UnicodeSuffix-4 120388 989.8 ns/op BenchmarkIndexHard1-4 831 142688 ns/op BenchmarkIndexHard2-4 598 199552 ns/op BenchmarkIndexHard3-4 146 794609 ns/op BenchmarkIndexHard4-4 182 654304 ns/op BenchmarkLastIndexHard1-4 60 1979641 ns/op BenchmarkLastIndexHard2-4 58 1988544 ns/op BenchmarkLastIndexHard3-4 58 1986639 ns/op BenchmarkCountHard1-4 838 142930 ns/op BenchmarkCountHard2-4 601 200621 ns/op BenchmarkCountHard3-4 150 796899 ns/op BenchmarkIndexTorture-4 7657 15619 ns/op BenchmarkCountTorture-4 7664 15616 ns/op BenchmarkCountTortureOverlapping-4 633 171133 ns/op BenchmarkCountByte/10-4 4329484 25.97 ns/op 384.99 MB/s BenchmarkCountByte/32-4 4245968 27.05 ns/op 1183.21 MB/s BenchmarkCountByte/4096-4 882738 135.1 ns/op 30329.11 MB/s BenchmarkCountByte/4194304-4 668 156149 ns/op 26860.88 MB/s BenchmarkCountByte/67108864-4 19 6243808 ns/op 10748.07 MB/s BenchmarkFields/ASCII/16-4 303454 401.5 ns/op 39.85 MB/s 16 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 20241 5764 ns/op 44.41 MB/s 320 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 1216 91049 ns/op 44.99 MB/s 6144 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 63 1770316 ns/op 37.02 MB/s 98304 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 4 29145040 ns/op 35.98 MB/s 1515520 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 129156 932.2 ns/op 17.16 MB/s 16 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 9802 11937 ns/op 21.45 MB/s 320 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 572 201875 ns/op 20.29 MB/s 21504 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 26 4260004 ns/op 15.38 MB/s 463104 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 2 90871238 ns/op 11.54 MB/s 10457344 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 242175 486.1 ns/op 32.91 MB/s 16 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 19072 6135 ns/op 41.73 MB/s 320 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 914 124712 ns/op 32.84 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 38 2971983 ns/op 22.05 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 69762144 ns/op 15.03 MB/s 10457344 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 160471 765.6 ns/op 20.90 MB/s 16 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 12568 9011 ns/op 28.41 MB/s 320 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 727 159454 ns/op 25.69 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 31 3570018 ns/op 18.36 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 2 77021018 ns/op 13.61 MB/s 10457344 B/op 24 allocs/op BenchmarkSplitEmptySeparator-4 1 111950928 ns/op BenchmarkSplitSingleByteSeparator-4 14 8308768 ns/op BenchmarkSplitMultiByteSeparator-4 28 3920524 ns/op BenchmarkSplitNSingleByteSeparator-4 200758 534.8 ns/op BenchmarkSplitNMultiByteSeparator-4 147776 712.1 ns/op BenchmarkRepeat/5x0-4 3380098 34.36 ns/op BenchmarkRepeat/5x1-4 3505434 32.00 ns/op BenchmarkRepeat/5x2-4 270639 455.5 ns/op BenchmarkRepeat/5x6-4 162674 757.7 ns/op BenchmarkRepeat/10x0-4 3488686 32.26 ns/op BenchmarkRepeat/10x1-4 3509380 32.11 ns/op BenchmarkRepeat/10x2-4 262569 478.7 ns/op BenchmarkRepeat/10x6-4 157368 763.0 ns/op BenchmarkRepeatLarge/256/1-4 72487 1629 ns/op 157.16 MB/s BenchmarkRepeatLarge/256/16-4 108288 971.7 ns/op 263.46 MB/s BenchmarkRepeatLarge/512/1-4 56374 1936 ns/op 264.40 MB/s BenchmarkRepeatLarge/512/16-4 80582 1373 ns/op 372.94 MB/s BenchmarkRepeatLarge/1024/1-4 43246 2528 ns/op 405.03 MB/s BenchmarkRepeatLarge/1024/16-4 58306 1860 ns/op 550.50 MB/s BenchmarkRepeatLarge/2048/1-4 32308 3632 ns/op 563.85 MB/s BenchmarkRepeatLarge/2048/16-4 34892 2873 ns/op 712.87 MB/s BenchmarkRepeatLarge/4096/1-4 21243 5373 ns/op 762.29 MB/s BenchmarkRepeatLarge/4096/16-4 24070 4845 ns/op 845.37 MB/s BenchmarkRepeatLarge/8192/1-4 12334 9076 ns/op 902.56 MB/s BenchmarkRepeatLarge/8192/16-4 13885 8335 ns/op 982.83 MB/s BenchmarkRepeatLarge/8192/4097-4 5757133 20.85 ns/op 196539.79 MB/s BenchmarkRepeatLarge/16384/1-4 7538 15702 ns/op 1043.43 MB/s BenchmarkRepeatLarge/16384/16-4 6765 15253 ns/op 1074.18 MB/s BenchmarkRepeatLarge/16384/4097-4 8871 12858 ns/op 955.90 MB/s BenchmarkRepeatLarge/32768/1-4 4030 29170 ns/op 1123.34 MB/s BenchmarkRepeatLarge/32768/16-4 4848 34603 ns/op 946.96 MB/s BenchmarkRepeatLarge/32768/4097-4 4568 25638 ns/op 1118.62 MB/s BenchmarkRepeatLarge/65536/1-4 2246 56523 ns/op 1159.46 MB/s BenchmarkRepeatLarge/65536/16-4 2188 53940 ns/op 1214.98 MB/s BenchmarkRepeatLarge/65536/4097-4 1698 59942 ns/op 1025.23 MB/s BenchmarkRepeatLarge/131072/1-4 214 530694 ns/op 246.98 MB/s BenchmarkRepeatLarge/131072/16-4 222 525597 ns/op 249.38 MB/s BenchmarkRepeatLarge/131072/4097-4 222 523982 ns/op 242.39 MB/s BenchmarkRepeatLarge/262144/1-4 100 1045151 ns/op 250.82 MB/s BenchmarkRepeatLarge/262144/16-4 100 1053474 ns/op 248.84 MB/s BenchmarkRepeatLarge/262144/4097-4 100 1057041 ns/op 244.18 MB/s BenchmarkRepeatLarge/524288/1-4 61 2060033 ns/op 254.50 MB/s BenchmarkRepeatLarge/524288/16-4 54 2060348 ns/op 254.47 MB/s BenchmarkRepeatLarge/524288/4097-4 63 2082674 ns/op 249.83 MB/s BenchmarkRepeatLarge/1048576/1-4 26 4083054 ns/op 256.81 MB/s BenchmarkRepeatLarge/1048576/16-4 31 4100149 ns/op 255.74 MB/s BenchmarkRepeatLarge/1048576/4097-4 31 4145962 ns/op 251.99 MB/s BenchmarkRepeatLarge/2097152/1-4 14 8142824 ns/op 257.55 MB/s BenchmarkRepeatLarge/2097152/16-4 14 7897291 ns/op 265.55 MB/s BenchmarkRepeatLarge/2097152/4097-4 14 8141779 ns/op 257.14 MB/s BenchmarkRepeatLarge/4194304/1-4 7 15881687 ns/op 264.10 MB/s BenchmarkRepeatLarge/4194304/16-4 7 15743036 ns/op 266.42 MB/s BenchmarkRepeatLarge/4194304/4097-4 7 16335865 ns/op 256.57 MB/s BenchmarkRepeatLarge/8388608/1-4 3 34651940 ns/op 242.08 MB/s BenchmarkRepeatLarge/8388608/16-4 3 33581669 ns/op 249.80 MB/s BenchmarkRepeatLarge/8388608/4097-4 4 34083382 ns/op 246.06 MB/s BenchmarkRepeatLarge/16777216/1-4 2 64319642 ns/op 260.84 MB/s BenchmarkRepeatLarge/16777216/16-4 2 62949183 ns/op 266.52 MB/s BenchmarkRepeatLarge/16777216/4097-4 2 65908370 ns/op 254.55 MB/s BenchmarkRepeatLarge/33554432/1-4 1 125973715 ns/op 266.36 MB/s BenchmarkRepeatLarge/33554432/16-4 1 127409225 ns/op 263.36 MB/s BenchmarkRepeatLarge/33554432/4097-4 1 129535131 ns/op 259.04 MB/s BenchmarkRepeatLarge/67108864/1-4 1 253106201 ns/op 265.14 MB/s BenchmarkRepeatLarge/67108864/16-4 1 242786798 ns/op 276.41 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 250573611 ns/op 267.82 MB/s BenchmarkRepeatLarge/134217728/1-4 1 495675664 ns/op 270.78 MB/s BenchmarkRepeatLarge/134217728/16-4 1 487494446 ns/op 275.32 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 492684409 ns/op 272.42 MB/s BenchmarkRepeatLarge/268435456/1-4 1 983765967 ns/op 272.87 MB/s BenchmarkRepeatLarge/268435456/16-4 1 975129757 ns/op 275.28 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 988543934 ns/op 271.55 MB/s BenchmarkRepeatLarge/536870912/1-4 1 1944612910 ns/op 276.08 MB/s BenchmarkRepeatLarge/536870912/16-4 1 1918857552 ns/op 279.79 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 1929037694 ns/op 278.31 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 3858921745 ns/op 278.25 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 3718904764 ns/op 288.73 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 3816225817 ns/op 281.36 MB/s BenchmarkIndexAnyASCII/1:1-4 2096689 56.03 ns/op BenchmarkIndexAnyASCII/1:2-4 2171187 53.91 ns/op BenchmarkIndexAnyASCII/1:4-4 2114270 55.13 ns/op BenchmarkIndexAnyASCII/1:8-4 2135515 53.92 ns/op BenchmarkIndexAnyASCII/1:16-4 2105232 53.82 ns/op BenchmarkIndexAnyASCII/1:32-4 2048954 57.80 ns/op BenchmarkIndexAnyASCII/1:64-4 2098393 55.05 ns/op BenchmarkIndexAnyASCII/16:1-4 2108378 52.82 ns/op BenchmarkIndexAnyASCII/16:2-4 767875 151.7 ns/op BenchmarkIndexAnyASCII/16:4-4 725865 157.0 ns/op BenchmarkIndexAnyASCII/16:8-4 731124 165.6 ns/op BenchmarkIndexAnyASCII/16:16-4 668314 177.8 ns/op BenchmarkIndexAnyASCII/16:32-4 597584 200.3 ns/op BenchmarkIndexAnyASCII/16:64-4 483873 245.5 ns/op BenchmarkIndexAnyASCII/256:1-4 1866651 60.99 ns/op BenchmarkIndexAnyASCII/256:2-4 74118 1620 ns/op BenchmarkIndexAnyASCII/256:4-4 74504 1623 ns/op BenchmarkIndexAnyASCII/256:8-4 73508 1646 ns/op BenchmarkIndexAnyASCII/256:16-4 73501 1636 ns/op BenchmarkIndexAnyASCII/256:32-4 70755 1669 ns/op BenchmarkIndexAnyASCII/256:64-4 69650 1712 ns/op BenchmarkIndexAnyUTF8/1:1-4 2064018 55.43 ns/op BenchmarkIndexAnyUTF8/1:2-4 2010900 52.94 ns/op BenchmarkIndexAnyUTF8/1:4-4 2091514 54.03 ns/op BenchmarkIndexAnyUTF8/1:8-4 2074040 53.90 ns/op BenchmarkIndexAnyUTF8/1:16-4 2104945 53.45 ns/op BenchmarkIndexAnyUTF8/1:32-4 2052165 54.79 ns/op BenchmarkIndexAnyUTF8/1:64-4 2039299 54.27 ns/op BenchmarkIndexAnyUTF8/16:1-4 1682005 68.94 ns/op BenchmarkIndexAnyUTF8/16:2-4 322780 358.7 ns/op BenchmarkIndexAnyUTF8/16:4-4 334306 358.8 ns/op BenchmarkIndexAnyUTF8/16:8-4 321242 359.0 ns/op BenchmarkIndexAnyUTF8/16:16-4 310900 370.7 ns/op BenchmarkIndexAnyUTF8/16:32-4 307314 383.4 ns/op BenchmarkIndexAnyUTF8/16:64-4 306670 381.3 ns/op BenchmarkIndexAnyUTF8/256:1-4 374194 316.9 ns/op BenchmarkIndexAnyUTF8/256:2-4 24012 4804 ns/op BenchmarkIndexAnyUTF8/256:4-4 24210 4809 ns/op BenchmarkIndexAnyUTF8/256:8-4 24922 4835 ns/op BenchmarkIndexAnyUTF8/256:16-4 23682 5042 ns/op BenchmarkIndexAnyUTF8/256:32-4 22461 5229 ns/op BenchmarkIndexAnyUTF8/256:64-4 22774 5184 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2019156 58.15 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2048509 54.36 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2020582 53.23 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2036742 53.48 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2087380 53.06 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2027811 55.89 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2026341 53.95 ns/op BenchmarkLastIndexAnyASCII/16:1-4 781953 146.3 ns/op BenchmarkLastIndexAnyASCII/16:2-4 809960 146.5 ns/op BenchmarkLastIndexAnyASCII/16:4-4 787284 151.7 ns/op BenchmarkLastIndexAnyASCII/16:8-4 726218 160.4 ns/op BenchmarkLastIndexAnyASCII/16:16-4 702784 168.8 ns/op BenchmarkLastIndexAnyASCII/16:32-4 605914 197.8 ns/op BenchmarkLastIndexAnyASCII/16:64-4 492763 241.2 ns/op BenchmarkLastIndexAnyASCII/256:1-4 78040 1531 ns/op BenchmarkLastIndexAnyASCII/256:2-4 78206 1541 ns/op BenchmarkLastIndexAnyASCII/256:4-4 77192 1555 ns/op BenchmarkLastIndexAnyASCII/256:8-4 76044 1576 ns/op BenchmarkLastIndexAnyASCII/256:16-4 76720 1559 ns/op BenchmarkLastIndexAnyASCII/256:32-4 75740 1612 ns/op BenchmarkLastIndexAnyASCII/256:64-4 72508 1640 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2081372 58.40 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2134442 54.26 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2116041 54.94 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2130349 53.92 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2098228 54.41 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2076716 54.40 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2079774 54.85 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 378648 311.5 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 189480 628.8 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 189868 624.7 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 181790 640.4 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 176686 643.3 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 176791 669.0 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 174526 684.9 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 28550 4162 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 13228 9010 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 13382 8775 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 13482 8953 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 12505 9440 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 12108 10220 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 10000 10177 ns/op BenchmarkTrimASCII/1:1-4 3143952 39.11 ns/op BenchmarkTrimASCII/1:2-4 2445267 48.28 ns/op BenchmarkTrimASCII/1:4-4 2327499 50.70 ns/op BenchmarkTrimASCII/1:8-4 2095641 56.45 ns/op BenchmarkTrimASCII/1:16-4 1761819 67.45 ns/op BenchmarkTrimASCII/16:1-4 2740866 43.69 ns/op BenchmarkTrimASCII/16:2-4 792518 145.9 ns/op BenchmarkTrimASCII/16:4-4 795487 150.2 ns/op BenchmarkTrimASCII/16:8-4 719527 155.9 ns/op BenchmarkTrimASCII/16:16-4 681286 168.8 ns/op BenchmarkTrimASCII/256:1-4 804745 147.6 ns/op BenchmarkTrimASCII/256:2-4 77319 1548 ns/op BenchmarkTrimASCII/256:4-4 77884 1526 ns/op BenchmarkTrimASCII/256:8-4 78373 1535 ns/op BenchmarkTrimASCII/256:16-4 77438 1564 ns/op BenchmarkTrimASCII/4096:1-4 74824 1608 ns/op BenchmarkTrimASCII/4096:2-4 5023 23655 ns/op BenchmarkTrimASCII/4096:4-4 4972 23870 ns/op BenchmarkTrimASCII/4096:8-4 4593 23770 ns/op BenchmarkTrimASCII/4096:16-4 4947 23858 ns/op BenchmarkTrimByte-4 4255354 27.91 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 13291 9008 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 13304 8988 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 1108 107617 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 2260 52505 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 4442 26674 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 7689 14933 ns/op BenchmarkJoin/0-4 5302026 21.22 ns/op 0 B/op 0 allocs/op BenchmarkJoin/1-4 4098277 29.90 ns/op 0 B/op 0 allocs/op BenchmarkJoin/2-4 203012 614.3 ns/op 16 B/op 1 allocs/op BenchmarkJoin/3-4 137797 875.1 ns/op 24 B/op 1 allocs/op BenchmarkJoin/4-4 102536 1175 ns/op 48 B/op 1 allocs/op BenchmarkJoin/5-4 83745 1477 ns/op 48 B/op 1 allocs/op BenchmarkJoin/6-4 72034 1665 ns/op 64 B/op 1 allocs/op BenchmarkJoin/7-4 59882 2011 ns/op 64 B/op 1 allocs/op BenchmarkTrimSpace/NoTrim-4 2646976 45.77 ns/op BenchmarkTrimSpace/ASCII-4 1533249 77.50 ns/op BenchmarkTrimSpace/SomeNonASCII-4 143302 821.5 ns/op BenchmarkTrimSpace/JustNonASCII-4 77049 1582 ns/op BenchmarkReplaceAll-4 113464 980.0 ns/op 16 B/op 1 allocs/op PASS ok strings 68.219s goos: linux goarch: amd64 pkg: sync cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCond1-4 55418 2116 ns/op BenchmarkCond2-4 26978 4853 ns/op BenchmarkCond4-4 17880 7355 ns/op BenchmarkCond8-4 8806 13316 ns/op BenchmarkCond16-4 2973 33762 ns/op BenchmarkCond32-4 1741 74203 ns/op BenchmarkLoadMostlyHits/*sync_test.DeepCopyMap-4 447546 275.8 ns/op BenchmarkLoadMostlyHits/*sync_test.RWMutexMap-4 241830 506.1 ns/op BenchmarkLoadMostlyHits/*sync.Map-4 499244 241.4 ns/op BenchmarkLoadMostlyMisses/*sync_test.DeepCopyMap-4 409648 279.1 ns/op BenchmarkLoadMostlyMisses/*sync_test.RWMutexMap-4 232168 501.9 ns/op BenchmarkLoadMostlyMisses/*sync.Map-4 522900 217.0 ns/op BenchmarkLoadOrStoreBalanced/*sync_test.RWMutexMap-4 63559 1973 ns/op BenchmarkLoadOrStoreBalanced/*sync.Map-4 67010 2090 ns/op BenchmarkLoadOrStoreUnique/*sync_test.RWMutexMap-4 53810 2840 ns/op BenchmarkLoadOrStoreUnique/*sync.Map-4 40381 3312 ns/op BenchmarkLoadOrStoreCollision/*sync_test.DeepCopyMap-4 409054 344.1 ns/op BenchmarkLoadOrStoreCollision/*sync_test.RWMutexMap-4 119665 844.0 ns/op BenchmarkLoadOrStoreCollision/*sync.Map-4 422998 265.5 ns/op BenchmarkLoadAndDeleteBalanced/*sync_test.RWMutexMap-4 127674 954.1 ns/op BenchmarkLoadAndDeleteBalanced/*sync.Map-4 447100 248.3 ns/op BenchmarkLoadAndDeleteUnique/*sync_test.RWMutexMap-4 154806 835.7 ns/op BenchmarkLoadAndDeleteUnique/*sync.Map-4 1638762 71.93 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.DeepCopyMap-4 41232 2974 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.RWMutexMap-4 134226 1086 ns/op BenchmarkLoadAndDeleteCollision/*sync.Map-4 207711 512.0 ns/op BenchmarkRange/*sync_test.DeepCopyMap-4 7750 15592 ns/op BenchmarkRange/*sync_test.RWMutexMap-4 278 524457 ns/op BenchmarkRange/*sync.Map-4 1238 96175 ns/op BenchmarkAdversarialAlloc/*sync_test.DeepCopyMap-4 75859 1417 ns/op BenchmarkAdversarialAlloc/*sync_test.RWMutexMap-4 154449 676.1 ns/op BenchmarkAdversarialAlloc/*sync.Map-4 56857 2052 ns/op BenchmarkAdversarialDelete/*sync_test.DeepCopyMap-4 100674 1148 ns/op BenchmarkAdversarialDelete/*sync_test.RWMutexMap-4 192998 556.7 ns/op BenchmarkAdversarialDelete/*sync.Map-4 172963 934.4 ns/op BenchmarkDeleteCollision/*sync_test.DeepCopyMap-4 66627 2008 ns/op BenchmarkDeleteCollision/*sync_test.RWMutexMap-4 146425 754.9 ns/op BenchmarkDeleteCollision/*sync.Map-4 566754 223.9 ns/op BenchmarkSwapCollision/*sync_test.DeepCopyMap-4 45628 2451 ns/op BenchmarkSwapCollision/*sync_test.RWMutexMap-4 140227 1121 ns/op BenchmarkSwapCollision/*sync.Map-4 65874 1928 ns/op BenchmarkSwapMostlyHits/*sync_test.DeepCopyMap-4 244 489904 ns/op BenchmarkSwapMostlyHits/*sync_test.RWMutexMap-4 106095 1381 ns/op BenchmarkSwapMostlyHits/*sync.Map-4 279236 406.1 ns/op BenchmarkSwapMostlyMisses/*sync_test.DeepCopyMap-4 19989 5958 ns/op BenchmarkSwapMostlyMisses/*sync_test.RWMutexMap-4 53409 2289 ns/op BenchmarkSwapMostlyMisses/*sync.Map-4 18824 6054 ns/op BenchmarkCompareAndSwapCollision/*sync_test.DeepCopyMap-4 431370 425.9 ns/op BenchmarkCompareAndSwapCollision/*sync_test.RWMutexMap-4 92113 1391 ns/op BenchmarkCompareAndSwapCollision/*sync.Map-4 141618 949.1 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.DeepCopyMap-4 1659315 63.68 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.RWMutexMap-4 158504 757.4 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync.Map-4 1519573 70.16 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.DeepCopyMap-4 407737 281.6 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.RWMutexMap-4 146180 868.1 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync.Map-4 399536 255.3 ns/op BenchmarkCompareAndSwapMostlyHits/*sync_test.RWMutexMap-4 75768 1420 ns/op BenchmarkCompareAndSwapMostlyHits/*sync.Map-4 247875 425.5 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.DeepCopyMap-4 402373 283.7 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.RWMutexMap-4 104918 1148 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync.Map-4 424178 240.6 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.DeepCopyMap-4 195814 591.7 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.RWMutexMap-4 74697 1410 ns/op BenchmarkCompareAndDeleteCollision/*sync.Map-4 143808 781.0 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync_test.RWMutexMap-4 45712 2388 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync.Map-4 199243 738.5 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.DeepCopyMap-4 401458 296.4 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.RWMutexMap-4 113850 1179 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync.Map-4 518208 232.9 ns/op BenchmarkUncontendedSemaphore-4 3354169 35.74 ns/op BenchmarkContendedSemaphore-4 3031110 39.66 ns/op BenchmarkMutexUncontended-4 684552 160.1 ns/op BenchmarkMutex-4 143906 886.2 ns/op BenchmarkMutexSlack-4 135319 955.0 ns/op BenchmarkMutexWork-4 106105 1009 ns/op BenchmarkMutexWorkSlack-4 114679 1042 ns/op BenchmarkMutexNoSpin-4 48896 2267 ns/op BenchmarkMutexSpin-4 60676 1971 ns/op BenchmarkOnce-4 897020 234.3 ns/op BenchmarkOnceFunc/v=Once-4 1000000 108.0 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Global-4 887466 130.2 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Local-4 915622 128.9 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Once-4 1000000 113.1 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Global-4 810313 141.5 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Local-4 853372 137.7 ns/op 0 B/op 0 allocs/op BenchmarkSemaUncontended-4 5335906 19.23 ns/op BenchmarkSemaSyntNonblock-4 1000000 108.3 ns/op BenchmarkSemaSyntBlock-4 1000000 109.6 ns/op BenchmarkSemaWorkNonblock-4 877414 150.3 ns/op BenchmarkSemaWorkBlock-4 753980 165.4 ns/op BenchmarkRWMutexUncontended-4 299468 354.1 ns/op BenchmarkRWMutexWrite100-4 260523 478.7 ns/op BenchmarkRWMutexWrite10-4 193198 557.8 ns/op BenchmarkRWMutexWorkWrite100-4 178620 597.6 ns/op BenchmarkRWMutexWorkWrite10-4 162768 695.0 ns/op BenchmarkWaitGroupUncontended-4 786040 136.9 ns/op BenchmarkWaitGroupAddDone-4 382035 390.9 ns/op BenchmarkWaitGroupAddDoneWork-4 342826 410.3 ns/op BenchmarkWaitGroupWait-4 4499934 27.11 ns/op BenchmarkWaitGroupWaitWork-4 2964553 44.29 ns/op BenchmarkWaitGroupActuallyWait-4 36139 3388 ns/op 32 B/op 2 allocs/op PASS ok sync 18.786s goos: linux goarch: amd64 pkg: sync/atomic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkValueRead-4 441081 261.6 ns/op PASS ok sync/atomic 1.140s PASS ok syscall 1.019s goos: linux goarch: amd64 pkg: testing cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkTBHelper-4 91417 1273 ns/op 0 B/op 0 allocs/op PASS ok testing 1.151s goos: linux goarch: amd64 pkg: text/tabwriter cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkTable/1x10/new-4 7460 14730 ns/op 1520 B/op 21 allocs/op BenchmarkTable/1x10/reuse-4 11146 10701 ns/op 0 B/op 0 allocs/op BenchmarkTable/1x1000/new-4 93 1240849 ns/op 129393 B/op 1025 allocs/op BenchmarkTable/1x1000/reuse-4 120 986070 ns/op 1078 B/op 8 allocs/op BenchmarkTable/1x100000/new-4 1 186782386 ns/op 19393008 B/op 100057 allocs/op BenchmarkTable/1x100000/reuse-4 1 193091014 ns/op 19393008 B/op 100057 allocs/op BenchmarkTable/10x10/new-4 1647 67286 ns/op 5056 B/op 31 allocs/op BenchmarkTable/10x10/reuse-4 1874 55736 ns/op 2 B/op 0 allocs/op BenchmarkTable/10x1000/new-4 18 6231399 ns/op 413568 B/op 1039 allocs/op BenchmarkTable/10x1000/reuse-4 21 5518709 ns/op 19693 B/op 49 allocs/op BenchmarkTable/10x100000/new-4 1 773301259 ns/op 48120704 B/op 100073 allocs/op BenchmarkTable/10x100000/reuse-4 1 767864620 ns/op 48120712 B/op 100074 allocs/op BenchmarkTable/100x10/new-4 210 570787 ns/op 39296 B/op 41 allocs/op BenchmarkTable/100x10/reuse-4 240 512445 ns/op 163 B/op 0 allocs/op BenchmarkTable/100x1000/new-4 2 62306446 ns/op 3288960 B/op 1053 allocs/op BenchmarkTable/100x1000/reuse-4 2 60037704 ns/op 1644480 B/op 526 allocs/op BenchmarkTable/100x100000/new-4 1 7842889531 ns/op 335149952 B/op 100089 allocs/op BenchmarkTable/100x100000/reuse-4 1 7601089460 ns/op 335149952 B/op 100089 allocs/op BenchmarkPyramid/10-4 2628 43179 ns/op 4872 B/op 35 allocs/op BenchmarkPyramid/100-4 37 3238896 ns/op 409130 B/op 230 allocs/op BenchmarkPyramid/1000-4 1 343107284 ns/op 35625256 B/op 2055 allocs/op BenchmarkRagged/10-4 2424 50222 ns/op 4512 B/op 34 allocs/op BenchmarkRagged/100-4 256 455580 ns/op 41008 B/op 188 allocs/op BenchmarkRagged/1000-4 26 4569743 ns/op 427424 B/op 1661 allocs/op BenchmarkCode-4 6952 16710 ns/op 624 B/op 13 allocs/op PASS ok text/tabwriter 21.772s goos: linux goarch: amd64 pkg: text/template/parse cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkParseLarge-4 2 80738105 ns/op BenchmarkVariableString-4 94101 1244 ns/op 80 B/op 3 allocs/op BenchmarkListString-4 1924 60796 ns/op 2506 B/op 39 allocs/op PASS ok text/template/parse 1.535s goos: linux goarch: amd64 pkg: time cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAfterFunc-4 32 3457715 ns/op BenchmarkAfter-4 82 1296979 ns/op BenchmarkStop-4 159 702474 ns/op BenchmarkSimultaneousAfterFunc-4 22 5243145 ns/op BenchmarkStartStop-4 198 720188 ns/op BenchmarkReset-4 2530 53910 ns/op BenchmarkSleep-4 28 4102060 ns/op BenchmarkParallelTimerLatency-4 48 399365 avg-late-ns 4897777 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=1-4 36 330442 avg-late-ns 873519 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=2-4 32 362245 avg-late-ns 969977 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=3-4 34 399507 avg-late-ns 1332603 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=4-4 33 303924 avg-late-ns 1684502 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=5-4 31 188107 avg-late-ns 1743221 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=6-4 31 323862 avg-late-ns 1967701 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=7-4 30 159247 avg-late-ns 2041708 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=8-4 27 193994 avg-late-ns 1995225 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=9-4 26 164565 avg-late-ns 1229482 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=10-4 26 900282 avg-late-ns 3945237 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=2ms/tickers-per-P=1-4 34 312293 avg-late-ns 1030309 max-late-ns BenchmarkTicker-4 322 425392 ns/op BenchmarkTickerReset-4 3912 29840 ns/op BenchmarkTickerResetNaive-4 165 694365 ns/op BenchmarkNow-4 1000000 103.6 ns/op BenchmarkNowUnixNano-4 1000000 102.1 ns/op BenchmarkNowUnixMilli-4 1000000 103.5 ns/op BenchmarkNowUnixMicro-4 1000000 105.6 ns/op BenchmarkFormat-4 58116 2119 ns/op BenchmarkFormatRFC3339-4 78020 1562 ns/op BenchmarkFormatRFC3339Nano-4 78660 1587 ns/op BenchmarkFormatNow-4 79615 1524 ns/op BenchmarkMarshalJSON-4 105364 1161 ns/op BenchmarkMarshalText-4 106687 1148 ns/op BenchmarkParse-4 136930 871.4 ns/op BenchmarkParseRFC3339UTC-4 337470 368.7 ns/op BenchmarkParseRFC3339UTCBytes-4 217521 556.5 ns/op BenchmarkParseRFC3339TZ-4 100738 1192 ns/op BenchmarkParseRFC3339TZBytes-4 80576 1538 ns/op BenchmarkParseDuration-4 531601 229.4 ns/op BenchmarkHour-4 775840 140.1 ns/op BenchmarkSecond-4 832581 140.8 ns/op BenchmarkYear-4 655689 185.0 ns/op BenchmarkDay-4 584175 200.8 ns/op BenchmarkISOWeek-4 627224 192.1 ns/op BenchmarkGoString-4 75272 1581 ns/op BenchmarkUnmarshalText-4 65950 1795 ns/op PASS ok time 13.018s goos: linux goarch: amd64 pkg: unicode/utf16 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecodeValidASCII-4 623438 178.6 ns/op BenchmarkDecodeValidJapaneseChars-4 720676 152.6 ns/op BenchmarkDecodeRune-4 1679649 71.75 ns/op BenchmarkEncodeValidASCII-4 494448 210.1 ns/op BenchmarkEncodeValidJapaneseChars-4 795440 145.0 ns/op BenchmarkAppendRuneValidASCII-4 1528604 75.23 ns/op BenchmarkAppendRuneValidJapaneseChars-4 2400066 50.13 ns/op BenchmarkEncodeRune-4 2890024 40.66 ns/op PASS ok unicode/utf16 2.208s goos: linux goarch: amd64 pkg: unicode/utf8 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRuneCountTenASCIIChars-4 835386 144.5 ns/op BenchmarkRuneCountTenJapaneseChars-4 164407 687.2 ns/op BenchmarkRuneCountInStringTenASCIIChars-4 3655273 32.51 ns/op BenchmarkRuneCountInStringTenJapaneseChars-4 413281 285.1 ns/op BenchmarkValidTenASCIIChars-4 796842 138.1 ns/op BenchmarkValid100KASCIIChars-4 91 1309211 ns/op BenchmarkValidTenJapaneseChars-4 153126 767.5 ns/op BenchmarkValidLongMostlyASCII-4 84 1428633 ns/op BenchmarkValidLongJapanese-4 46 2273414 ns/op BenchmarkValidStringTenASCIIChars-4 4438879 26.87 ns/op BenchmarkValidString100KASCIIChars-4 9282 12776 ns/op BenchmarkValidStringTenJapaneseChars-4 412857 262.0 ns/op BenchmarkValidStringLongMostlyASCII-4 1218 99797 ns/op BenchmarkValidStringLongJapanese-4 151 777935 ns/op BenchmarkEncodeASCIIRune-4 4345485 27.59 ns/op BenchmarkEncodeJapaneseRune-4 2439703 48.89 ns/op BenchmarkAppendASCIIRune-4 8488980 12.67 ns/op BenchmarkAppendJapaneseRune-4 2871956 42.21 ns/op BenchmarkDecodeASCIIRune-4 2810384 40.80 ns/op BenchmarkDecodeJapaneseRune-4 1892673 61.63 ns/op BenchmarkFullRune/ASCII-4 3369322 35.68 ns/op BenchmarkFullRune/Incomplete-4 1548370 77.75 ns/op BenchmarkFullRune/Japanese-4 3421845 34.80 ns/op PASS ok unicode/utf8 4.618s goos: linux goarch: amd64 pkg: cmd/api cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAll-4 1 74083602845 ns/op PASS ok cmd/api 75.273s goos: linux goarch: amd64 pkg: cmd/cgo/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCgoCall/add-int-4 342562 320.0 ns/op BenchmarkCgoCall/one-pointer-4 310682 384.1 ns/op BenchmarkCgoCall/eight-pointers-4 164160 707.0 ns/op BenchmarkCgoCall/eight-pointers-nil-4 325162 369.2 ns/op BenchmarkCgoCall/eight-pointers-array-4 15316 7336 ns/op BenchmarkCgoCall/eight-pointers-slice-4 30564 3861 ns/op BenchmarkGoString-4 1000000 109.5 ns/op BenchmarkCGoCallback-4 46014 2588 ns/op BenchmarkCGoInCThread-4 270829 417.1 ns/op PASS ok cmd/cgo/internal/test 2.247s goos: linux goarch: amd64 pkg: cmd/compile/internal/reflectdata cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEqArrayOfStrings5-4 1000000 100.9 ns/op BenchmarkEqArrayOfStrings64-4 155262 775.2 ns/op BenchmarkEqArrayOfStrings1024-4 10000 11596 ns/op BenchmarkEqArrayOfFloats5-4 1373148 86.43 ns/op BenchmarkEqArrayOfFloats64-4 142010 847.9 ns/op BenchmarkEqArrayOfFloats1024-4 9076 12686 ns/op BenchmarkEqArrayOfStructsEq-4 2763 44281 ns/op BenchmarkEqArrayOfStructsNotEq-4 4614 24740 ns/op BenchmarkEqStruct-4 17729728 6.932 ns/op PASS ok cmd/compile/internal/reflectdata 2.235s goos: linux goarch: amd64 pkg: cmd/compile/internal/ssa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPhioptPass-4 10000 62021 ns/op BenchmarkCopyElim1-4 571 182052 ns/op BenchmarkCopyElim10-4 538 202468 ns/op BenchmarkCopyElim100-4 270 385529 ns/op BenchmarkCopyElim1000-4 51 2205805 ns/op BenchmarkCopyElim10000-4 3 43390140 ns/op BenchmarkCopyElim100000-4 1 741579975 ns/op BenchmarkDeadCode/1-4 470 217121 ns/op BenchmarkDeadCode/10-4 404 265739 ns/op BenchmarkDeadCode/100-4 205 529633 ns/op BenchmarkDeadCode/1000-4 43 2764230 ns/op BenchmarkDeadCode/10000-4 3 38429430 ns/op BenchmarkDeadCode/100000-4 1 490256552 ns/op BenchmarkDeadCode/200000-4 1 1063850511 ns/op BenchmarkDominatorsLinear-4 12 10940915 ns/op 0.91 MB/s BenchmarkDominatorsFwdBack-4 7 15704295 ns/op 0.64 MB/s BenchmarkDominatorsManyPred-4 8 16154969 ns/op 0.62 MB/s BenchmarkDominatorsMaxPred-4 8 14757284 ns/op 0.68 MB/s BenchmarkDominatorsMaxPredVal-4 7 15113342 ns/op 0.66 MB/s BenchmarkFuse/1-4 478 243480 ns/op BenchmarkFuse/10-4 366 291297 ns/op BenchmarkFuse/100-4 134 917173 ns/op BenchmarkFuse/1000-4 19 6575492 ns/op BenchmarkFuse/10000-4 2 85074497 ns/op BenchmarkNilCheckDeep1-4 12326 10169 ns/op 0.10 MB/s 234 B/op 4 allocs/op BenchmarkNilCheckDeep10-4 4950 25246 ns/op 0.40 MB/s 232 B/op 4 allocs/op BenchmarkNilCheckDeep100-4 732 160270 ns/op 0.62 MB/s 719 B/op 4 allocs/op BenchmarkNilCheckDeep1000-4 69 1564175 ns/op 0.64 MB/s 5624 B/op 5 allocs/op BenchmarkNilCheckDeep10000-4 6 18935444 ns/op 0.53 MB/s 104124 B/op 6 allocs/op BenchmarkDSEPass-4 31 3661673 ns/op 59436 B/op 8 allocs/op BenchmarkDSEPassBlock-4 1 124915917 ns/op 4251152 B/op 108344 allocs/op BenchmarkCSEPass-4 7 15717697 ns/op 131531 B/op 9 allocs/op BenchmarkCSEPassBlock-4 1 152709587 ns/op 5683304 B/op 97598 allocs/op BenchmarkDeadcodePass-4 175 670257 ns/op 93878 B/op 3 allocs/op BenchmarkDeadcodePassBlock-4 1 136199645 ns/op 4015000 B/op 44637 allocs/op BenchmarkMultiPass-4 62 1791844 ns/op 221218 B/op 10 allocs/op BenchmarkMultiPassBlock-4 1 271958188 ns/op 11223352 B/op 150066 allocs/op BenchmarkCondRewrite/SoloJump-4 3037352 38.39 ns/op BenchmarkCondRewrite/CombJump-4 2848638 41.87 ns/op PASS ok cmd/compile/internal/ssa 16.837s goos: linux goarch: amd64 pkg: cmd/compile/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLoadAdd-4 8774 11759 ns/op BenchmarkExtShift-4 16189 7397 ns/op BenchmarkModify-4 9934 11648 ns/op BenchmarkMullImm-4 16707 6972 ns/op BenchmarkConstModify-4 9939 11646 ns/op BenchmarkBitSet-4 21333 5351 ns/op BenchmarkBitClear-4 21180 5416 ns/op BenchmarkBitToggle-4 21319 5364 ns/op BenchmarkBitSetConst-4 156812 757.4 ns/op BenchmarkBitClearConst-4 161211 738.1 ns/op BenchmarkBitToggleConst-4 161366 735.0 ns/op BenchmarkDivconstI64-4 8740984 11.61 ns/op BenchmarkModconstI64-4 8781784 11.68 ns/op BenchmarkDivisiblePow2constI64-4 10470898 11.45 ns/op BenchmarkDivisibleconstI64-4 10662000 11.25 ns/op BenchmarkDivisibleWDivconstI64-4 7165648 16.76 ns/op BenchmarkDivconstU64/3-4 8772909 11.57 ns/op BenchmarkDivconstU64/5-4 10202133 11.83 ns/op BenchmarkDivconstU64/37-4 10500270 11.39 ns/op BenchmarkDivconstU64/1234567-4 10915364 11.06 ns/op BenchmarkModconstU64-4 9262652 12.20 ns/op BenchmarkDivisibleconstU64-4 10878339 11.04 ns/op BenchmarkDivisibleWDivconstU64-4 7022188 17.32 ns/op BenchmarkDivconstI32-4 10352400 11.63 ns/op BenchmarkModconstI32-4 10732520 11.16 ns/op BenchmarkDivisiblePow2constI32-4 8883182 11.51 ns/op BenchmarkDivisibleconstI32-4 10316895 11.47 ns/op BenchmarkDivisibleWDivconstI32-4 7091066 17.19 ns/op BenchmarkDivconstU32-4 8862978 11.45 ns/op BenchmarkModconstU32-4 8318342 12.81 ns/op BenchmarkDivisibleconstU32-4 9195944 11.37 ns/op BenchmarkDivisibleWDivconstU32-4 7313101 16.46 ns/op BenchmarkDivconstI16-4 10731198 11.46 ns/op BenchmarkModconstI16-4 8646684 12.11 ns/op BenchmarkDivisiblePow2constI16-4 9011806 11.49 ns/op BenchmarkDivisibleconstI16-4 8778288 11.72 ns/op BenchmarkDivisibleWDivconstI16-4 6982033 17.23 ns/op BenchmarkDivconstU16-4 10459338 11.50 ns/op BenchmarkModconstU16-4 8819096 11.49 ns/op BenchmarkDivisibleconstU16-4 10627620 11.31 ns/op BenchmarkDivisibleWDivconstU16-4 6615290 17.71 ns/op BenchmarkDivconstI8-4 10521036 11.41 ns/op BenchmarkModconstI8-4 8359834 12.08 ns/op BenchmarkDivisiblePow2constI8-4 11259064 10.64 ns/op BenchmarkDivisibleconstI8-4 9059985 11.49 ns/op BenchmarkDivisibleWDivconstI8-4 7366419 16.37 ns/op BenchmarkDivconstU8-4 9110864 11.43 ns/op BenchmarkModconstU8-4 10505310 11.36 ns/op BenchmarkDivisibleconstU8-4 10817010 11.08 ns/op BenchmarkDivisibleWDivconstU8-4 6772524 17.88 ns/op BenchmarkMul2-4 165746 721.0 ns/op BenchmarkMulNeg2-4 164786 727.9 ns/op BenchmarkEfaceInteger-4 3660865 28.59 ns/op BenchmarkDiv64UnsignedSmall-4 6732650 15.71 ns/op BenchmarkDiv64Small-4 6143217 17.51 ns/op BenchmarkDiv64SmallNegDivisor-4 5962736 18.68 ns/op BenchmarkDiv64SmallNegDividend-4 6088866 17.40 ns/op BenchmarkDiv64SmallNegBoth-4 6060584 18.14 ns/op BenchmarkDiv64Unsigned-4 6739004 16.01 ns/op BenchmarkDiv64-4 6152061 18.64 ns/op BenchmarkDiv64NegDivisor-4 6097780 18.13 ns/op BenchmarkDiv64NegDividend-4 6153843 18.36 ns/op BenchmarkDiv64NegBoth-4 6092350 18.28 ns/op BenchmarkMod64UnsignedSmall-4 7054873 15.38 ns/op BenchmarkMod64Small-4 6251420 17.21 ns/op BenchmarkMod64SmallNegDivisor-4 5978236 19.02 ns/op BenchmarkMod64SmallNegDividend-4 6092620 17.24 ns/op BenchmarkMod64SmallNegBoth-4 5956496 17.56 ns/op BenchmarkMod64Unsigned-4 6940512 15.81 ns/op BenchmarkMod64-4 6151672 17.96 ns/op BenchmarkMod64NegDivisor-4 5851779 18.15 ns/op BenchmarkMod64NegDividend-4 5905726 18.05 ns/op BenchmarkMod64NegBoth-4 6139514 18.03 ns/op BenchmarkMulconstI32/3-4 21022950 5.768 ns/op BenchmarkMulconstI32/5-4 20671122 6.014 ns/op BenchmarkMulconstI32/12-4 20919290 5.732 ns/op BenchmarkMulconstI32/120-4 21061369 5.704 ns/op BenchmarkMulconstI32/-120-4 21036928 5.728 ns/op BenchmarkMulconstI32/65537-4 21212122 5.709 ns/op BenchmarkMulconstI32/65538-4 20793094 5.686 ns/op BenchmarkMulconstI64/3-4 20889991 5.764 ns/op BenchmarkMulconstI64/5-4 20798608 5.727 ns/op BenchmarkMulconstI64/12-4 20879322 5.717 ns/op BenchmarkMulconstI64/120-4 21126388 5.728 ns/op BenchmarkMulconstI64/-120-4 21188359 5.712 ns/op BenchmarkMulconstI64/65537-4 21195627 5.706 ns/op BenchmarkMulconstI64/65538-4 21208137 5.684 ns/op BenchmarkMulconstU32/3-4 20794641 5.766 ns/op BenchmarkMulconstU32/5-4 20710914 5.794 ns/op BenchmarkMulconstU32/12-4 20929954 5.701 ns/op BenchmarkMulconstU32/120-4 20998966 5.831 ns/op BenchmarkMulconstU32/65537-4 20934864 5.720 ns/op BenchmarkMulconstU32/65538-4 20987704 5.701 ns/op BenchmarkMulconstU64/3-4 20771803 5.814 ns/op BenchmarkMulconstU64/5-4 20710033 5.931 ns/op BenchmarkMulconstU64/12-4 20320710 5.769 ns/op BenchmarkMulconstU64/120-4 20616134 5.741 ns/op BenchmarkMulconstU64/65537-4 21016477 5.746 ns/op BenchmarkMulconstU64/65538-4 20742727 5.783 ns/op BenchmarkShiftArithmeticRight-4 18081612 6.201 ns/op BenchmarkSwitch8Predictable-4 12735350 9.378 ns/op BenchmarkSwitch8Unpredictable-4 5663485 20.84 ns/op BenchmarkSwitch32Predictable-4 8402650 14.50 ns/op BenchmarkSwitch32Unpredictable-4 5651931 21.03 ns/op BenchmarkSwitchStringPredictable-4 8067178 14.82 ns/op BenchmarkSwitchStringUnpredictable-4 4272469 27.56 ns/op PASS ok cmd/compile/internal/test 19.586s goos: linux goarch: amd64 pkg: cmd/compile/internal/types2 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLookupFieldOrMethod-4 129 1047174 ns/op BenchmarkNamed/Underlying/nongeneric-4 876570 133.6 ns/op BenchmarkNamed/Underlying/generic-4 860654 136.7 ns/op BenchmarkNamed/Underlying/src_instance-4 859857 134.8 ns/op BenchmarkNamed/Underlying/user_instance-4 827668 143.3 ns/op BenchmarkCheck/http/funcbodies/info-4 1 590578598 ns/op 51797 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 385865498 ns/op 79267 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 194887850 ns/op 156925 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 146808668 ns/op 208312 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 446847022 ns/op 11600 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 2 93952434 ns/op 55152 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 3 37201718 ns/op 139273 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 3 35222965 ns/op 147082 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 150716951 ns/op 14393 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 3 43280784 ns/op 50114 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 5 24673362 ns/op 87912 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 5 21319394 ns/op 101694 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1245568909 ns/op 52449 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 638260909 ns/op 102349 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 175715191 ns/op 371631 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 134626036 ns/op 484993 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 468806150 ns/op 4270 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 68936276 ns/op 29033 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 3 42099703 ns/op 47526 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 3 42045542 ns/op 47592 lines/s PASS ok cmd/compile/internal/types2 17.762s goos: linux goarch: amd64 pkg: cmd/go cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExecGoEnv-4 121 916299 ns/op 2283694 sys-ns/op 1198033 user-ns/op PASS ok cmd/go 1.207s goos: linux goarch: amd64 pkg: cmd/internal/notsha256 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 64214 1777 ns/op 4.50 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 76884 1541 ns/op 5.19 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 13620 8488 ns/op 120.65 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 14422 8200 ns/op 124.88 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 2209 54195 ns/op 151.16 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 2202 54061 ns/op 151.53 MB/s 0 B/op 0 allocs/op PASS ok cmd/internal/notsha256 1.957s All tests passed.