linux-amd64-longtest-race at f4086d36862d8fd41af90356c894d04d3ff58203 :: 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-rnb0710f3" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=0s" "GO_STAGE0_DL_DELAY=200ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-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-rnb0710f3" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=0s" "GO_STAGE0_DL_DELAY=200ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-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.181s ok archive/zip 118.793s ok bufio 1.285s ok bytes 9.529s ok cmp 1.017s ok compress/bzip2 1.455s ok compress/flate 164.780s ok compress/gzip 13.045s ok compress/lzw 1.559s ok compress/zlib 9.270s ok container/heap 1.022s ok container/list 1.017s ok container/ring 1.019s ok context 1.047s ok crypto 1.017s ok crypto/aes 1.053s ok crypto/cipher 2.175s ok crypto/des 1.050s ok crypto/dsa 8.238s ok crypto/ecdh 1.457s ok crypto/ecdsa 4.406s ok crypto/ed25519 1.881s ok crypto/elliptic 2.260s ok crypto/hmac 1.021s ok crypto/internal/alias 1.017s ok crypto/internal/bigmod 3.614s ok crypto/internal/boring 1.017s ok crypto/internal/boring/bcache 1.367s ok crypto/internal/edwards25519 37.641s ok crypto/internal/edwards25519/field 13.285s ok crypto/internal/nistec 22.503s ok crypto/internal/nistec/fiat 1.016s [no tests to run] ok crypto/md5 1.024s ok crypto/rand 3.736s ok crypto/rc4 1.454s ok crypto/rsa 7.468s ok crypto/sha1 1.038s ok crypto/sha256 1.022s ok crypto/sha512 1.023s ok crypto/subtle 19.979s ok crypto/tls 5.994s ok crypto/x509 2.787s ok database/sql 2.199s ok database/sql/driver 1.017s ok debug/buildinfo 5.488s ok debug/dwarf 1.079s ok debug/elf 2.239s ok debug/gosym 1.314s ok debug/macho 1.028s ok debug/pe 1.049s ok debug/plan9obj 1.016s ok embed 1.016s [no tests to run] ok embed/internal/embedtest 1.018s ok encoding/ascii85 1.023s ok encoding/asn1 1.022s ok encoding/base32 1.060s ok encoding/base64 1.023s ok encoding/binary 1.023s ok encoding/csv 1.057s ok encoding/gob 20.545s ok encoding/hex 1.024s ok encoding/json 7.352s ok encoding/pem 3.310s ok encoding/xml 38.707s ok errors 1.022s ok expvar 1.018s ok flag 3.105s ok fmt 1.557s ok go/ast 1.027s ok go/build 5.320s ok go/build/constraint 1.023s ok go/constant 1.024s ok go/doc 1.241s ok go/doc/comment 3.158s ok go/format 1.045s ok go/importer 1.190s ok go/internal/gccgoimporter 1.048s ok go/internal/gcimporter 36.524s ok go/internal/srcimporter 15.205s ok go/parser 53.473s ok go/printer 2.301s ok go/scanner 1.023s ok go/token 1.112s ok go/types 46.040s ok hash 1.020s ok hash/adler32 1.046s ok hash/crc32 1.049s ok hash/crc64 1.028s ok hash/fnv 1.018s ok hash/maphash 1.018s ok html 1.018s ok html/template 1.703s ok image 2.382s ok image/color 1.038s ok image/draw 1.554s ok image/gif 99.098s ok image/jpeg 24.673s ok image/png 6.516s ok index/suffixarray 609.231s ok internal/abi 1.054s ok internal/buildcfg 1.016s ok internal/coverage/cformat 1.017s ok internal/coverage/cmerge 1.016s ok internal/coverage/pods 1.019s ok internal/coverage/slicereader 1.016s ok internal/coverage/slicewriter 1.016s ok internal/coverage/test 1.043s ok internal/cpu 3.047s ok internal/dag 1.017s ok internal/diff 1.017s ok internal/fmtsort 1.017s ok internal/fuzz 1.038s ok internal/godebug 13.787s ok internal/godebugs 1.016s ok internal/intern 2.971s ok internal/itoa 1.016s ok internal/poll 22.479s ok internal/profile 1.020s ok internal/reflectlite 1.020s ok internal/safefilepath 1.016s ok internal/saferio 1.161s ok internal/singleflight 1.094s ok internal/testenv 1.151s ok internal/trace 7.842s ok internal/types/errors 1.371s ok internal/unsafeheader 1.016s ok internal/xcoff 1.033s ok internal/zstd 1.033s ok io 1.051s ok io/fs 1.246s ok io/ioutil 1.021s ok log 1.027s ok log/slog 1.043s ok log/slog/internal/benchmarks 1.017s ok log/slog/internal/buffer 1.016s ok log/syslog 2.239s ok maps 1.019s ok math 1.030s ok math/big 8.322s ok math/bits 1.026s ok math/cmplx 1.018s ok math/rand 34.115s ok mime 1.039s ok mime/multipart 14.686s ok mime/quotedprintable 1.960s ok net 54.085s ok net/http 66.564s ok net/http/cgi 12.413s ok net/http/cookiejar 1.026s ok net/http/fcgi 1.129s ok net/http/httptest 1.186s ok net/http/httptrace 1.017s ok net/http/httputil 2.126s ok net/http/internal 1.022s ok net/http/internal/ascii 1.017s ok net/http/pprof 6.189s ok net/internal/socktest 1.017s ok net/mail 1.024s ok net/netip 1.338s ok net/rpc 1.053s ok net/rpc/jsonrpc 1.026s ok net/smtp 1.067s ok net/textproto 1.045s ok net/url 1.030s ok os 23.367s ok os/exec 12.617s ok os/exec/internal/fdtest 1.016s ok os/signal 28.568s ok os/user 1.018s ok path 1.021s ok path/filepath 1.066s ok plugin 1.016s ok reflect 4.062s ok regexp 4.134s ok regexp/syntax 5.442s ok runtime 224.967s ok runtime/cgo 1.016s ok runtime/coverage 28.109s ok runtime/debug 2.143s ok runtime/internal/atomic 3.817s ok runtime/internal/math 1.017s ok runtime/internal/sys 1.017s ok runtime/internal/syscall 1.017s ok runtime/internal/wasitest 1.016s ok runtime/metrics 1.027s ok runtime/pprof 93.316s ok runtime/race 11.888s ok runtime/trace 7.042s ok slices 3.316s ok sort 6.407s ok strconv 8.968s ok strings 3.895s ok sync 2.759s ok sync/atomic 207.760s ok syscall 11.155s ok testing 3.670s ok testing/fstest 1.020s ok testing/iotest 1.018s ok testing/quick 1.159s ok testing/slogtest 1.019s ok text/scanner 1.030s ok text/tabwriter 1.020s ok text/template 1.794s ok text/template/parse 1.032s ok time 15.369s ok unicode 1.024s ok unicode/utf16 1.017s ok unicode/utf8 1.030s ok cmd/addr2line 4.696s ok cmd/api 8.942s ok cmd/asm/internal/asm 4.774s ok cmd/asm/internal/lex 1.019s ok cmd/cgo/internal/swig 1.739s ok cmd/cgo/internal/test 2.254s ok cmd/cgo/internal/testcarchive 23.076s ok cmd/cgo/internal/testcshared 6.059s ok cmd/cgo/internal/testerrors 10.500s ok cmd/cgo/internal/testfortran 2.374s ok cmd/cgo/internal/testgodefs 1.620s ok cmd/cgo/internal/testlife 1.629s ok cmd/cgo/internal/testnocgo 1.018s ok cmd/cgo/internal/testplugin 34.987s ok cmd/cgo/internal/testsanitizers 18.612s ok cmd/cgo/internal/testshared 65.895s ok cmd/cgo/internal/testso 2.488s ok cmd/cgo/internal/teststdio 2.424s ok cmd/cgo/internal/testtls 1.017s ok cmd/compile/internal/abt 1.042s ok cmd/compile/internal/amd64 56.631s ok cmd/compile/internal/base 1.018s ok cmd/compile/internal/compare 1.019s ok cmd/compile/internal/dwarfgen 1.459s ok cmd/compile/internal/importer 16.580s ok cmd/compile/internal/ir 1.018s ok cmd/compile/internal/logopt 1.207s ok cmd/compile/internal/loopvar 25.495s ok cmd/compile/internal/noder 1.022s ok cmd/compile/internal/reflectdata 1.017s [no tests to run] ok cmd/compile/internal/ssa 190.067s ok cmd/compile/internal/syntax 18.021s ok cmd/compile/internal/test 34.274s ok cmd/compile/internal/typecheck 1.234s ok cmd/compile/internal/types 1.018s ok cmd/compile/internal/types2 21.577s ok cmd/covdata 7.865s ok cmd/cover 15.902s ok cmd/dist 1.018s ok cmd/distpack 1.016s ok cmd/doc 1.989s ok cmd/fix 1.814s ok cmd/go 503.730s ok cmd/go/internal/auth 1.017s ok cmd/go/internal/cache 3.500s ok cmd/go/internal/envcmd 1.040s ok cmd/go/internal/fsys 1.046s ok cmd/go/internal/generate 1.031s ok cmd/go/internal/get 1.031s ok cmd/go/internal/gover 1.019s ok cmd/go/internal/imports 1.030s ok cmd/go/internal/load 1.026s ok cmd/go/internal/lockedfile 3.427s ok cmd/go/internal/lockedfile/internal/filelock 2.057s ok cmd/go/internal/modconv 1.036s ok cmd/go/internal/modfetch 35.824s ok cmd/go/internal/modfetch/codehost 11.210s ok cmd/go/internal/modfetch/zip_sum_test 1.023s ok cmd/go/internal/modindex 1.590s ok cmd/go/internal/modload 49.071s ok cmd/go/internal/mvs 1.043s ok cmd/go/internal/par 1.105s ok cmd/go/internal/str 1.019s ok cmd/go/internal/test 1.042s ok cmd/go/internal/vcs 1.450s ok cmd/go/internal/vcweb 1.027s ok cmd/go/internal/vcweb/vcstest 5.416s ok cmd/go/internal/web 1.021s ok cmd/go/internal/work 2.078s ok cmd/gofmt 43.050s ok cmd/internal/archive 1.426s ok cmd/internal/buildid 1.570s ok cmd/internal/cov 1.297s ok cmd/internal/dwarf 1.019s ok cmd/internal/edit 1.018s ok cmd/internal/bootstrap_test 114.455s ok cmd/internal/goobj 17.994s ok cmd/internal/moddeps 13.065s ok cmd/internal/notsha256 1.019s ok cmd/internal/obj 1.436s ok cmd/internal/obj/ppc64 6.278s ok cmd/internal/obj/riscv 9.359s ok cmd/internal/obj/s390x 1.018s ok cmd/internal/obj/x86 1.878s ok cmd/internal/objabi 1.018s ok cmd/internal/pkgpath 5.088s ok cmd/internal/pkgpattern 1.022s ok cmd/internal/quoted 1.019s ok cmd/internal/src 1.019s ok cmd/internal/test2json 1.757s ok cmd/link 22.361s ok cmd/link/internal/benchmark 1.020s ok cmd/link/internal/ld 14.450s ok cmd/link/internal/loader 1.052s ok cmd/nm 9.213s ok cmd/objdump 5.211s ok cmd/pack 8.885s ok cmd/pprof 3.484s ok cmd/trace 1.282s ok cmd/vet 30.534s ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: archive/tar cpu: Intel(R) Xeon(R) CPU @ 2.20GHz Benchmark/Writer/USTAR-4 2746 39653 ns/op 1368 B/op 25 allocs/op Benchmark/Writer/GNU-4 2180 50235 ns/op 1856 B/op 37 allocs/op Benchmark/Writer/PAX-4 1587 77708 ns/op 2560 B/op 59 allocs/op Benchmark/Reader/USTAR-4 3522 29637 ns/op 5099 B/op 15 allocs/op Benchmark/Reader/GNU-4 5830 20304 ns/op 5172 B/op 15 allocs/op Benchmark/Reader/PAX-4 1827 61471 ns/op 8620 B/op 33 allocs/op PASS ok archive/tar 1.840s goos: linux goarch: amd64 pkg: archive/zip cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCompressedZipGarbage-4 1 344139996 ns/op 14880 B/op 66 allocs/op BenchmarkZip64Test-4 1 163918224 ns/op BenchmarkZip64TestSizes/4096-4 1213 83695 ns/op BenchmarkZip64TestSizes/1048576-4 156 698085 ns/op BenchmarkZip64TestSizes/67108864-4 1 138962919 ns/op PASS ok archive/zip 2.393s goos: linux goarch: amd64 pkg: bufio cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReaderCopyOptimal-4 231540 490.5 ns/op BenchmarkReaderCopyUnoptimal-4 142926 806.1 ns/op BenchmarkReaderCopyNoWriteTo-4 6574 16395 ns/op BenchmarkReaderWriteToOptimal-4 7353 15623 ns/op BenchmarkReaderReadString-4 131346 867.4 ns/op 144 B/op 1 allocs/op BenchmarkWriterCopyOptimal-4 212331 560.1 ns/op BenchmarkWriterCopyUnoptimal-4 205180 568.2 ns/op BenchmarkWriterCopyNoReadFrom-4 8504 19033 ns/op BenchmarkReaderEmpty-4 35756 3262 ns/op 4224 B/op 3 allocs/op BenchmarkWriterEmpty-4 28431 3940 ns/op 4096 B/op 1 allocs/op BenchmarkWriterFlush-4 572618 195.3 ns/op 0 B/op 0 allocs/op PASS ok bufio 2.590s goos: linux goarch: amd64 pkg: bytes cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadString-4 5599 19549 ns/op 1676.23 MB/s BenchmarkWriteByte-4 478 243396 ns/op 16.83 MB/s BenchmarkWriteRune-4 259 463171 ns/op 26.53 MB/s BenchmarkBufferNotEmptyWriteRead-4 31 3735023 ns/op BenchmarkBufferFullSmallReads-4 100 1041021 ns/op BenchmarkBufferWriteBlock/N4096-4 7470 15510 ns/op 14336 B/op 6 allocs/op BenchmarkBufferWriteBlock/N65536-4 429 259726 ns/op 260096 B/op 14 allocs/op BenchmarkBufferWriteBlock/N1048576-4 5 20407889 ns/op 4192256 B/op 22 allocs/op BenchmarkBufferAppendNoCopy-4 1 135531965 ns/op 123.79 MB/s 33554432 B/op 2 allocs/op BenchmarkIndexByte/10-4 4589362 25.49 ns/op 392.34 MB/s BenchmarkIndexByte/32-4 4471310 26.82 ns/op 1192.94 MB/s BenchmarkIndexByte/4K-4 843775 132.9 ns/op 30816.31 MB/s BenchmarkIndexBytePortable/10-4 812746 141.7 ns/op 70.59 MB/s BenchmarkIndexBytePortable/32-4 249784 454.1 ns/op 70.47 MB/s BenchmarkIndexBytePortable/4K-4 2187 53431 ns/op 76.66 MB/s BenchmarkIndexRune/10-4 1000000 102.8 ns/op 97.32 MB/s BenchmarkIndexRune/32-4 1000000 100.6 ns/op 318.25 MB/s BenchmarkIndexRune/4K-4 374516 311.8 ns/op 13138.23 MB/s BenchmarkIndexRuneASCII/10-4 4508121 26.51 ns/op 377.15 MB/s BenchmarkIndexRuneASCII/32-4 4271234 28.33 ns/op 1129.35 MB/s BenchmarkIndexRuneASCII/4K-4 890731 134.5 ns/op 30455.13 MB/s BenchmarkEqual/0-4 7069131 16.93 ns/op BenchmarkEqual/1-4 1460800 81.69 ns/op 12.24 MB/s BenchmarkEqual/6-4 1394533 85.46 ns/op 70.21 MB/s BenchmarkEqual/9-4 1423874 85.15 ns/op 105.70 MB/s BenchmarkEqual/15-4 1408362 84.54 ns/op 177.43 MB/s BenchmarkEqual/16-4 1496492 80.35 ns/op 199.12 MB/s BenchmarkEqual/20-4 1387498 85.72 ns/op 233.31 MB/s BenchmarkEqual/32-4 1386691 87.66 ns/op 365.04 MB/s BenchmarkEqual/4K-4 107625 1118 ns/op 3662.12 MB/s BenchmarkIndex/10-4 2985913 39.91 ns/op 250.58 MB/s BenchmarkIndex/32-4 3035852 39.12 ns/op 817.91 MB/s BenchmarkIndex/4K-4 18261 6548 ns/op 625.58 MB/s BenchmarkIndexEasy/10-4 2904680 41.42 ns/op 241.43 MB/s BenchmarkIndexEasy/32-4 3000762 40.49 ns/op 790.37 MB/s BenchmarkIndexEasy/4K-4 473539 248.5 ns/op 16486.02 MB/s BenchmarkCount/10-4 1491224 80.66 ns/op 123.97 MB/s BenchmarkCount/32-4 1485128 81.73 ns/op 391.52 MB/s BenchmarkCount/4K-4 17940 6603 ns/op 620.32 MB/s BenchmarkCountEasy/10-4 1500920 79.58 ns/op 125.66 MB/s BenchmarkCountEasy/32-4 1453879 83.74 ns/op 382.12 MB/s BenchmarkCountEasy/4K-4 419913 277.9 ns/op 14736.83 MB/s BenchmarkCountSingle/10-4 3708730 31.08 ns/op 321.78 MB/s BenchmarkCountSingle/32-4 3375154 33.40 ns/op 958.20 MB/s BenchmarkCountSingle/4K-4 814240 143.7 ns/op 28503.40 MB/s BenchmarkToUpper/#00-4 2899464 42.10 ns/op BenchmarkToUpper/ONLYUPPER-4 288529 397.9 ns/op BenchmarkToUpper/abc-4 481869 241.1 ns/op BenchmarkToUpper/AbC123-4 269626 414.6 ns/op BenchmarkToUpper/azAZ09_-4 257162 449.5 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 75286 1542 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 38913 2990 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 53468 2236 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 125248 934.7 ns/op BenchmarkToLower/#00-4 2760796 43.33 ns/op BenchmarkToLower/abc-4 443593 261.3 ns/op BenchmarkToLower/AbC123-4 283262 400.5 ns/op BenchmarkToLower/azAZ09_-4 262821 439.2 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 78454 1521 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 39741 2975 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 68593 1710 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 122911 976.1 ns/op BenchmarkFields/ASCII/16-4 117988 1008 ns/op 15.87 MB/s 80 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 7941 13457 ns/op 19.02 MB/s 576 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 556 212383 ns/op 19.29 MB/s 9472 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 32 3848474 ns/op 17.03 MB/s 147456 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 2 61050588 ns/op 17.18 MB/s 2269184 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 90560 1271 ns/op 12.59 MB/s 24 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 5107 20273 ns/op 12.63 MB/s 640 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 342 341497 ns/op 11.99 MB/s 24832 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 18 6561540 ns/op 9.99 MB/s 512256 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 1 125729399 ns/op 8.34 MB/s 11211008 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 132751 845.8 ns/op 18.92 MB/s 80 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 12072 9905 ns/op 25.85 MB/s 576 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 654 179378 ns/op 22.83 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 25 4021729 ns/op 16.30 MB/s 512256 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 87218798 ns/op 12.02 MB/s 11211008 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 136273 858.9 ns/op 18.63 MB/s 24 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 7238 14349 ns/op 17.84 MB/s 640 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 472 238276 ns/op 17.19 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 22 4983209 ns/op 13.15 MB/s 512260 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 1 102077059 ns/op 10.27 MB/s 11211008 B/op 24 allocs/op BenchmarkTrimSpace/NoTrim-4 1906618 61.68 ns/op BenchmarkTrimSpace/ASCII-4 935872 125.6 ns/op BenchmarkTrimSpace/SomeNonASCII-4 110192 1075 ns/op BenchmarkTrimSpace/JustNonASCII-4 49269 2410 ns/op BenchmarkToValidUTF8/Valid-4 452145 244.4 ns/op BenchmarkToValidUTF8/InvalidASCII-4 301201 354.3 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 97890 1220 ns/op BenchmarkIndexHard1-4 830 142329 ns/op BenchmarkIndexHard2-4 600 200048 ns/op BenchmarkIndexHard3-4 148 806956 ns/op BenchmarkIndexHard4-4 182 653743 ns/op BenchmarkLastIndexHard1-4 5 22223132 ns/op BenchmarkLastIndexHard2-4 4 28735594 ns/op BenchmarkLastIndexHard3-4 4 31651855 ns/op BenchmarkCountHard1-4 834 143179 ns/op BenchmarkCountHard2-4 584 202547 ns/op BenchmarkCountHard3-4 148 796276 ns/op BenchmarkSplitEmptySeparator-4 1 180145619 ns/op BenchmarkSplitSingleByteSeparator-4 10 11262965 ns/op BenchmarkSplitMultiByteSeparator-4 10 10370118 ns/op BenchmarkSplitNSingleByteSeparator-4 161575 642.9 ns/op BenchmarkSplitNMultiByteSeparator-4 67810 1648 ns/op BenchmarkRepeat-4 180250 614.0 ns/op BenchmarkRepeatLarge/256/1-4 130483 778.6 ns/op 328.78 MB/s BenchmarkRepeatLarge/256/16-4 232918 517.0 ns/op 495.14 MB/s BenchmarkRepeatLarge/512/1-4 110388 1065 ns/op 480.68 MB/s BenchmarkRepeatLarge/512/16-4 153627 771.4 ns/op 663.74 MB/s BenchmarkRepeatLarge/1024/1-4 68583 1600 ns/op 640.12 MB/s BenchmarkRepeatLarge/1024/16-4 80667 1281 ns/op 799.19 MB/s BenchmarkRepeatLarge/2048/1-4 43892 2529 ns/op 809.78 MB/s BenchmarkRepeatLarge/2048/16-4 48889 2287 ns/op 895.34 MB/s BenchmarkRepeatLarge/4096/1-4 26131 4533 ns/op 903.56 MB/s BenchmarkRepeatLarge/4096/16-4 27510 3950 ns/op 1037.00 MB/s BenchmarkRepeatLarge/8192/1-4 14421 8132 ns/op 1007.39 MB/s BenchmarkRepeatLarge/8192/16-4 14636 7381 ns/op 1109.85 MB/s BenchmarkRepeatLarge/8192/4097-4 25446 4760 ns/op 860.78 MB/s BenchmarkRepeatLarge/16384/1-4 8080 14531 ns/op 1127.54 MB/s BenchmarkRepeatLarge/16384/16-4 8391 14395 ns/op 1138.14 MB/s BenchmarkRepeatLarge/16384/4097-4 10552 11818 ns/op 1040.01 MB/s BenchmarkRepeatLarge/32768/1-4 4449 30221 ns/op 1084.26 MB/s BenchmarkRepeatLarge/32768/16-4 4954 26811 ns/op 1222.18 MB/s BenchmarkRepeatLarge/32768/4097-4 4526 25974 ns/op 1104.15 MB/s BenchmarkRepeatLarge/65536/1-4 2370 53306 ns/op 1229.44 MB/s BenchmarkRepeatLarge/65536/16-4 2235 57685 ns/op 1136.10 MB/s BenchmarkRepeatLarge/65536/4097-4 2212 51580 ns/op 1191.45 MB/s BenchmarkRepeatLarge/131072/1-4 228 524937 ns/op 249.69 MB/s BenchmarkRepeatLarge/131072/16-4 228 522237 ns/op 250.98 MB/s BenchmarkRepeatLarge/131072/4097-4 228 496362 ns/op 255.88 MB/s BenchmarkRepeatLarge/262144/1-4 100 1009404 ns/op 259.70 MB/s BenchmarkRepeatLarge/262144/16-4 100 1009490 ns/op 259.68 MB/s BenchmarkRepeatLarge/262144/4097-4 100 1019739 ns/op 253.11 MB/s BenchmarkRepeatLarge/524288/1-4 64 2007247 ns/op 261.20 MB/s BenchmarkRepeatLarge/524288/16-4 62 2075956 ns/op 252.55 MB/s BenchmarkRepeatLarge/524288/4097-4 61 2005981 ns/op 259.38 MB/s BenchmarkRepeatLarge/1048576/1-4 30 4066614 ns/op 257.85 MB/s BenchmarkRepeatLarge/1048576/16-4 28 4013276 ns/op 261.28 MB/s BenchmarkRepeatLarge/1048576/4097-4 31 4013845 ns/op 260.28 MB/s BenchmarkRepeatLarge/2097152/1-4 15 7661719 ns/op 273.72 MB/s BenchmarkRepeatLarge/2097152/16-4 14 7750024 ns/op 270.60 MB/s BenchmarkRepeatLarge/2097152/4097-4 14 8162805 ns/op 256.48 MB/s BenchmarkRepeatLarge/4194304/1-4 7 16850842 ns/op 248.91 MB/s BenchmarkRepeatLarge/4194304/16-4 7 15497798 ns/op 270.64 MB/s BenchmarkRepeatLarge/4194304/4097-4 7 15672573 ns/op 267.42 MB/s BenchmarkRepeatLarge/8388608/1-4 3 34644660 ns/op 242.13 MB/s BenchmarkRepeatLarge/8388608/16-4 4 32017187 ns/op 262.00 MB/s BenchmarkRepeatLarge/8388608/4097-4 3 34163614 ns/op 245.48 MB/s BenchmarkRepeatLarge/16777216/1-4 2 60877148 ns/op 275.59 MB/s BenchmarkRepeatLarge/16777216/16-4 2 63422292 ns/op 264.53 MB/s BenchmarkRepeatLarge/16777216/4097-4 2 60867048 ns/op 275.64 MB/s BenchmarkRepeatLarge/33554432/1-4 1 121868264 ns/op 275.33 MB/s BenchmarkRepeatLarge/33554432/16-4 1 121835427 ns/op 275.41 MB/s BenchmarkRepeatLarge/33554432/4097-4 1 122173110 ns/op 274.65 MB/s BenchmarkRepeatLarge/67108864/1-4 1 241768265 ns/op 277.58 MB/s BenchmarkRepeatLarge/67108864/16-4 1 240436752 ns/op 279.11 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 251896880 ns/op 266.41 MB/s BenchmarkRepeatLarge/134217728/1-4 1 482421367 ns/op 278.22 MB/s BenchmarkRepeatLarge/134217728/16-4 1 480470480 ns/op 279.35 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 484107786 ns/op 277.25 MB/s BenchmarkRepeatLarge/268435456/1-4 1 959414428 ns/op 279.79 MB/s BenchmarkRepeatLarge/268435456/16-4 1 962070467 ns/op 279.02 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 949598092 ns/op 282.68 MB/s BenchmarkRepeatLarge/536870912/1-4 1 1924471774 ns/op 278.97 MB/s BenchmarkRepeatLarge/536870912/16-4 1 1875380720 ns/op 286.27 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 1857297147 ns/op 289.06 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 3702270762 ns/op 290.02 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 3648864593 ns/op 294.27 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 3706656745 ns/op 289.68 MB/s BenchmarkBytesCompare/1-4 9218556 12.32 ns/op BenchmarkBytesCompare/2-4 8965874 12.26 ns/op BenchmarkBytesCompare/4-4 9334862 12.16 ns/op BenchmarkBytesCompare/8-4 9657643 11.32 ns/op BenchmarkBytesCompare/16-4 9740924 11.17 ns/op BenchmarkBytesCompare/32-4 9175077 12.80 ns/op BenchmarkBytesCompare/64-4 8575113 13.69 ns/op BenchmarkBytesCompare/128-4 7476586 15.76 ns/op BenchmarkBytesCompare/256-4 5395459 21.98 ns/op BenchmarkBytesCompare/512-4 3910400 29.21 ns/op BenchmarkBytesCompare/1024-4 2412896 46.94 ns/op BenchmarkBytesCompare/2048-4 1389465 83.24 ns/op BenchmarkIndexAnyASCII/1:1-4 2294617 51.83 ns/op BenchmarkIndexAnyASCII/1:2-4 2381137 49.97 ns/op BenchmarkIndexAnyASCII/1:4-4 2382301 50.14 ns/op BenchmarkIndexAnyASCII/1:8-4 2361817 51.42 ns/op BenchmarkIndexAnyASCII/1:16-4 2340279 50.12 ns/op BenchmarkIndexAnyASCII/1:32-4 2354635 50.64 ns/op BenchmarkIndexAnyASCII/1:64-4 2361997 51.10 ns/op BenchmarkIndexAnyASCII/16:1-4 2010642 57.62 ns/op BenchmarkIndexAnyASCII/16:2-4 427485 279.4 ns/op BenchmarkIndexAnyASCII/16:4-4 421303 281.6 ns/op BenchmarkIndexAnyASCII/16:8-4 414421 283.2 ns/op BenchmarkIndexAnyASCII/16:16-4 379075 300.2 ns/op BenchmarkIndexAnyASCII/16:32-4 352616 331.6 ns/op BenchmarkIndexAnyASCII/16:64-4 308635 385.3 ns/op BenchmarkIndexAnyASCII/256:1-4 1773690 65.83 ns/op BenchmarkIndexAnyASCII/256:2-4 32920 3663 ns/op BenchmarkIndexAnyASCII/256:4-4 33284 3685 ns/op BenchmarkIndexAnyASCII/256:8-4 31266 3647 ns/op BenchmarkIndexAnyASCII/256:16-4 32781 3648 ns/op BenchmarkIndexAnyASCII/256:32-4 32106 3721 ns/op BenchmarkIndexAnyASCII/256:64-4 31364 3773 ns/op BenchmarkIndexAnyUTF8/1:1-4 2281006 52.47 ns/op BenchmarkIndexAnyUTF8/1:2-4 2260581 52.45 ns/op BenchmarkIndexAnyUTF8/1:4-4 2304849 52.66 ns/op BenchmarkIndexAnyUTF8/1:8-4 2302012 52.34 ns/op BenchmarkIndexAnyUTF8/1:16-4 2262235 52.43 ns/op BenchmarkIndexAnyUTF8/1:32-4 2333010 51.52 ns/op BenchmarkIndexAnyUTF8/1:64-4 2293512 53.48 ns/op BenchmarkIndexAnyUTF8/16:1-4 142346 806.0 ns/op BenchmarkIndexAnyUTF8/16:2-4 268162 440.7 ns/op BenchmarkIndexAnyUTF8/16:4-4 258936 435.2 ns/op BenchmarkIndexAnyUTF8/16:8-4 265720 434.5 ns/op BenchmarkIndexAnyUTF8/16:16-4 269948 447.4 ns/op BenchmarkIndexAnyUTF8/16:32-4 257522 451.9 ns/op BenchmarkIndexAnyUTF8/16:64-4 262552 463.5 ns/op BenchmarkIndexAnyUTF8/256:1-4 9745 11930 ns/op BenchmarkIndexAnyUTF8/256:2-4 19186 6249 ns/op BenchmarkIndexAnyUTF8/256:4-4 19117 6324 ns/op BenchmarkIndexAnyUTF8/256:8-4 18741 6298 ns/op BenchmarkIndexAnyUTF8/256:16-4 18921 6379 ns/op BenchmarkIndexAnyUTF8/256:32-4 18322 6478 ns/op BenchmarkIndexAnyUTF8/256:64-4 18052 6451 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2263033 52.86 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2301225 51.92 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2306427 52.04 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2312893 51.73 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2370644 50.45 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2352304 51.38 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2350876 51.07 ns/op BenchmarkLastIndexAnyASCII/16:1-4 322410 358.5 ns/op BenchmarkLastIndexAnyASCII/16:2-4 325101 364.0 ns/op BenchmarkLastIndexAnyASCII/16:4-4 315067 365.5 ns/op BenchmarkLastIndexAnyASCII/16:8-4 314730 373.5 ns/op BenchmarkLastIndexAnyASCII/16:16-4 301525 396.3 ns/op BenchmarkLastIndexAnyASCII/16:32-4 286470 414.9 ns/op BenchmarkLastIndexAnyASCII/16:64-4 255954 461.0 ns/op BenchmarkLastIndexAnyASCII/256:1-4 23790 4997 ns/op BenchmarkLastIndexAnyASCII/256:2-4 24279 4995 ns/op BenchmarkLastIndexAnyASCII/256:4-4 23912 4998 ns/op BenchmarkLastIndexAnyASCII/256:8-4 23458 4921 ns/op BenchmarkLastIndexAnyASCII/256:16-4 24132 5008 ns/op BenchmarkLastIndexAnyASCII/256:32-4 23840 4965 ns/op BenchmarkLastIndexAnyASCII/256:64-4 23413 5151 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2269534 52.62 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2327584 52.56 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2265630 52.02 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2312670 51.62 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2341041 51.12 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2282367 51.21 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2325274 51.86 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 219862 517.5 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 268263 442.1 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 264938 450.3 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 265112 446.5 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 260965 449.1 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 254696 461.9 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 238698 460.7 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 16388 7215 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 19459 6268 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 19201 6271 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 19228 6225 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 18318 6385 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 18297 6561 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 18595 6585 ns/op BenchmarkTrimASCII/1:1-4 2540076 48.12 ns/op BenchmarkTrimASCII/1:2-4 2140248 55.53 ns/op BenchmarkTrimASCII/1:4-4 2085208 56.67 ns/op BenchmarkTrimASCII/1:8-4 1910136 62.83 ns/op BenchmarkTrimASCII/1:16-4 1654237 74.36 ns/op BenchmarkTrimASCII/16:1-4 414676 277.4 ns/op BenchmarkTrimASCII/16:2-4 317601 374.2 ns/op BenchmarkTrimASCII/16:4-4 305506 372.0 ns/op BenchmarkTrimASCII/16:8-4 315844 372.2 ns/op BenchmarkTrimASCII/16:16-4 301561 394.8 ns/op BenchmarkTrimASCII/256:1-4 32398 3692 ns/op BenchmarkTrimASCII/256:2-4 23559 5079 ns/op BenchmarkTrimASCII/256:4-4 23017 5133 ns/op BenchmarkTrimASCII/256:8-4 23062 5128 ns/op BenchmarkTrimASCII/256:16-4 23364 5126 ns/op BenchmarkTrimASCII/4096:1-4 2010 58909 ns/op BenchmarkTrimASCII/4096:2-4 1483 81389 ns/op BenchmarkTrimASCII/4096:4-4 1470 79820 ns/op BenchmarkTrimASCII/4096:8-4 1459 80750 ns/op BenchmarkTrimASCII/4096:16-4 1449 79686 ns/op BenchmarkTrimByte-4 1431940 83.27 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 12764 9191 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 13156 9069 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 674 176516 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 1281 87920 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 2587 43841 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 5137 23622 ns/op BenchmarkCompareBytesEqual-4 10122648 12.17 ns/op BenchmarkCompareBytesToNil-4 11610537 10.27 ns/op BenchmarkCompareBytesEmpty-4 11774504 10.26 ns/op BenchmarkCompareBytesIdentical-4 11250686 10.52 ns/op BenchmarkCompareBytesSameLength-4 10516840 11.27 ns/op BenchmarkCompareBytesDifferentLength-4 9994338 11.89 ns/op BenchmarkCompareBytesBigUnaligned/offset=1-4 1791 70682 ns/op 14835.19 MB/s BenchmarkCompareBytesBigUnaligned/offset=2-4 1376 83205 ns/op 12602.39 MB/s BenchmarkCompareBytesBigUnaligned/offset=3-4 1929 76809 ns/op 13651.92 MB/s BenchmarkCompareBytesBigUnaligned/offset=4-4 1376 75496 ns/op 13889.25 MB/s BenchmarkCompareBytesBigUnaligned/offset=5-4 1357 86660 ns/op 12100.03 MB/s BenchmarkCompareBytesBigUnaligned/offset=6-4 1810 75620 ns/op 13866.47 MB/s BenchmarkCompareBytesBigUnaligned/offset=7-4 1824 79702 ns/op 13156.32 MB/s BenchmarkCompareBytesBig-4 1382 82999 ns/op 12633.78 MB/s BenchmarkCompareBytesBigIdentical-4 12105836 9.825 ns/op 106729226.51 MB/s PASS ok bytes 70.836s goos: linux goarch: amd64 pkg: compress/bzip2 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecodeDigits-4 2 76512321 ns/op 1.31 MB/s 3612012 B/op 50 allocs/op BenchmarkDecodeNewton-4 1 324141775 ns/op 1.75 MB/s 3638592 B/op 54 allocs/op BenchmarkDecodeRand-4 5 24383102 ns/op 0.67 MB/s 3643376 B/op 50 allocs/op PASS ok compress/bzip2 2.377s goos: linux goarch: amd64 pkg: compress/flate cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecode/Digits/Huffman/1e4-4 61 1792514 ns/op 5.58 MB/s 42960 B/op 5 allocs/op BenchmarkDecode/Digits/Huffman/1e5-4 6 16873312 ns/op 5.93 MB/s 43353 B/op 6 allocs/op BenchmarkDecode/Digits/Huffman/1e6-4 1 172059342 ns/op 5.81 MB/s 49264 B/op 9 allocs/op BenchmarkDecode/Digits/Speed/1e4-4 64 1769785 ns/op 5.65 MB/s 41771 B/op 8 allocs/op BenchmarkDecode/Digits/Speed/1e5-4 6 17692334 ns/op 5.65 MB/s 43641 B/op 12 allocs/op BenchmarkDecode/Digits/Speed/1e6-4 1 180271675 ns/op 5.55 MB/s 53024 B/op 77 allocs/op BenchmarkDecode/Digits/Default/1e4-4 68 1790812 ns/op 5.58 MB/s 42508 B/op 7 allocs/op BenchmarkDecode/Digits/Default/1e5-4 6 16748580 ns/op 5.97 MB/s 43633 B/op 14 allocs/op BenchmarkDecode/Digits/Default/1e6-4 1 167556035 ns/op 5.97 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Digits/Compression/1e4-4 66 1757654 ns/op 5.69 MB/s 42069 B/op 7 allocs/op BenchmarkDecode/Digits/Compression/1e5-4 7 16526484 ns/op 6.05 MB/s 43229 B/op 13 allocs/op BenchmarkDecode/Digits/Compression/1e6-4 1 171452833 ns/op 5.83 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Newton/Huffman/1e4-4 60 1935220 ns/op 5.17 MB/s 43714 B/op 14 allocs/op BenchmarkDecode/Newton/Huffman/1e5-4 6 18542511 ns/op 5.39 MB/s 47833 B/op 24 allocs/op BenchmarkDecode/Newton/Huffman/1e6-4 1 189180218 ns/op 5.29 MB/s 88512 B/op 165 allocs/op BenchmarkDecode/Newton/Speed/1e4-4 72 1515934 ns/op 6.60 MB/s 43098 B/op 18 allocs/op BenchmarkDecode/Newton/Speed/1e5-4 9 12660724 ns/op 7.90 MB/s 47421 B/op 32 allocs/op BenchmarkDecode/Newton/Speed/1e6-4 1 127384982 ns/op 7.85 MB/s 89696 B/op 232 allocs/op BenchmarkDecode/Newton/Default/1e4-4 81 1363248 ns/op 7.34 MB/s 43182 B/op 15 allocs/op BenchmarkDecode/Newton/Default/1e5-4 10 10225147 ns/op 9.78 MB/s 46218 B/op 33 allocs/op BenchmarkDecode/Newton/Default/1e6-4 1 101714373 ns/op 9.83 MB/s 70320 B/op 162 allocs/op BenchmarkDecode/Newton/Compression/1e4-4 75 1383297 ns/op 7.23 MB/s 43682 B/op 15 allocs/op BenchmarkDecode/Newton/Compression/1e5-4 10 10047647 ns/op 9.95 MB/s 44575 B/op 32 allocs/op BenchmarkDecode/Newton/Compression/1e6-4 1 100834623 ns/op 9.92 MB/s 72120 B/op 154 allocs/op BenchmarkEncode/Digits/Huffman/1e4-4 82 1223485 ns/op 8.17 MB/s BenchmarkEncode/Digits/Huffman/1e5-4 9 11875711 ns/op 8.42 MB/s BenchmarkEncode/Digits/Huffman/1e6-4 1 117305997 ns/op 8.52 MB/s BenchmarkEncode/Digits/Speed/1e4-4 44 2281718 ns/op 4.38 MB/s BenchmarkEncode/Digits/Speed/1e5-4 5 20797045 ns/op 4.81 MB/s BenchmarkEncode/Digits/Speed/1e6-4 1 201720438 ns/op 4.96 MB/s BenchmarkEncode/Digits/Default/1e4-4 18 6541604 ns/op 1.53 MB/s BenchmarkEncode/Digits/Default/1e5-4 2 80426052 ns/op 1.24 MB/s BenchmarkEncode/Digits/Default/1e6-4 1 825781868 ns/op 1.21 MB/s BenchmarkEncode/Digits/Compression/1e4-4 16 6533180 ns/op 1.53 MB/s BenchmarkEncode/Digits/Compression/1e5-4 2 80008086 ns/op 1.25 MB/s BenchmarkEncode/Digits/Compression/1e6-4 1 821657123 ns/op 1.22 MB/s BenchmarkEncode/Newton/Huffman/1e4-4 76 1468116 ns/op 6.81 MB/s BenchmarkEncode/Newton/Huffman/1e5-4 8 12551187 ns/op 7.97 MB/s BenchmarkEncode/Newton/Huffman/1e6-4 1 125957540 ns/op 7.94 MB/s BenchmarkEncode/Newton/Speed/1e4-4 49 2146183 ns/op 4.66 MB/s BenchmarkEncode/Newton/Speed/1e5-4 6 16885258 ns/op 5.92 MB/s BenchmarkEncode/Newton/Speed/1e6-4 1 163397105 ns/op 6.12 MB/s BenchmarkEncode/Newton/Default/1e4-4 18 6537588 ns/op 1.53 MB/s BenchmarkEncode/Newton/Default/1e5-4 2 72740042 ns/op 1.37 MB/s BenchmarkEncode/Newton/Default/1e6-4 1 742897979 ns/op 1.35 MB/s BenchmarkEncode/Newton/Compression/1e4-4 16 6731175 ns/op 1.49 MB/s BenchmarkEncode/Newton/Compression/1e5-4 2 91533936 ns/op 1.09 MB/s BenchmarkEncode/Newton/Compression/1e6-4 1 940273968 ns/op 1.06 MB/s PASS ok compress/flate 16.522s goos: linux goarch: amd64 pkg: compress/lzw cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecoder/1e4-4 50 2280300 ns/op 4.39 MB/s BenchmarkDecoder/1e-Reuse4-4 49 2360699 ns/op 4.24 MB/s BenchmarkDecoder/1e5-4 5 23046087 ns/op 4.34 MB/s BenchmarkDecoder/1e-Reuse5-4 5 22962796 ns/op 4.35 MB/s BenchmarkDecoder/1e6-4 1 224057033 ns/op 4.46 MB/s BenchmarkDecoder/1e-Reuse6-4 1 228486952 ns/op 4.38 MB/s BenchmarkEncoder/1e4-4 50 2166400 ns/op 4.62 MB/s BenchmarkEncoder/1e-Reuse4-4 63 1835732 ns/op 5.45 MB/s BenchmarkEncoder/1e5-4 6 19248984 ns/op 5.20 MB/s BenchmarkEncoder/1e-Reuse5-4 6 19114876 ns/op 5.23 MB/s BenchmarkEncoder/1e6-4 1 194294667 ns/op 5.15 MB/s BenchmarkEncoder/1e-Reuse6-4 1 188365751 ns/op 5.31 MB/s PASS ok compress/lzw 3.788s goos: linux goarch: amd64 pkg: container/heap cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDup-4 30 3877045 ns/op PASS ok container/heap 1.240s goos: linux goarch: amd64 pkg: context cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCommonParentCancel-4 18740 6046 ns/op BenchmarkWithTimeout/concurrency=40-4 5170 23704 ns/op BenchmarkWithTimeout/concurrency=4000-4 4778 26501 ns/op BenchmarkWithTimeout/concurrency=400000-4 4831 20955 ns/op BenchmarkCancelTree/depth=1/Root=Background-4 371737 295.2 ns/op BenchmarkCancelTree/depth=1/Root=OpenCanceler-4 10000 10308 ns/op BenchmarkCancelTree/depth=1/Root=ClosedCanceler-4 14373 7982 ns/op BenchmarkCancelTree/depth=10/Root=Background-4 2446 47486 ns/op BenchmarkCancelTree/depth=10/Root=OpenCanceler-4 1548 73344 ns/op BenchmarkCancelTree/depth=10/Root=ClosedCanceler-4 2132 51258 ns/op BenchmarkCancelTree/depth=100/Root=Background-4 225 502579 ns/op BenchmarkCancelTree/depth=100/Root=OpenCanceler-4 166 732941 ns/op BenchmarkCancelTree/depth=100/Root=ClosedCanceler-4 249 486299 ns/op BenchmarkCancelTree/depth=1000/Root=Background-4 22 5503931 ns/op BenchmarkCancelTree/depth=1000/Root=OpenCanceler-4 12 12803043 ns/op BenchmarkCancelTree/depth=1000/Root=ClosedCanceler-4 25 4588311 ns/op BenchmarkCheckCanceled/Err-4 249285 448.1 ns/op BenchmarkCheckCanceled/Done-4 406230 291.9 ns/op BenchmarkContextCancelDone-4 467982 251.7 ns/op BenchmarkDeepValueNewGoRoutine/depth=10-4 23394 5239 ns/op BenchmarkDeepValueNewGoRoutine/depth=20-4 21189 5999 ns/op BenchmarkDeepValueNewGoRoutine/depth=30-4 18880 6136 ns/op BenchmarkDeepValueNewGoRoutine/depth=50-4 15062 7950 ns/op BenchmarkDeepValueNewGoRoutine/depth=100-4 10000 10613 ns/op BenchmarkDeepValueSameGoRoutine/depth=10-4 495846 225.9 ns/op BenchmarkDeepValueSameGoRoutine/depth=20-4 296751 403.6 ns/op BenchmarkDeepValueSameGoRoutine/depth=30-4 206215 577.1 ns/op BenchmarkDeepValueSameGoRoutine/depth=50-4 129668 933.7 ns/op BenchmarkDeepValueSameGoRoutine/depth=100-4 66703 1809 ns/op PASS ok context 12.301s goos: linux goarch: amd64 pkg: crypto/aes cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncrypt-4 1725918 69.55 ns/op 230.06 MB/s BenchmarkDecrypt-4 1731291 69.62 ns/op 229.81 MB/s BenchmarkExpand-4 990309 119.1 ns/op PASS ok crypto/aes 1.527s goos: linux goarch: amd64 pkg: crypto/cipher cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAESGCM/Open-128-64-4 166656 658.2 ns/op 97.23 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-64-4 360957 293.1 ns/op 218.34 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-64-4 172366 680.8 ns/op 94.01 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-64-4 370140 315.9 ns/op 202.60 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-1350-4 115280 1016 ns/op 1328.34 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-1350-4 176094 675.2 ns/op 1999.48 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-1350-4 105753 1125 ns/op 1199.98 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-1350-4 148711 792.0 ns/op 1704.51 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-8192-4 40693 2927 ns/op 2798.64 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-8192-4 52501 2309 ns/op 3547.10 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-8192-4 34335 3554 ns/op 2305.13 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-8192-4 39493 3074 ns/op 2664.83 MB/s 0 B/op 0 allocs/op BenchmarkAESCFBEncrypt1K-4 6591 16824 ns/op 60.57 MB/s BenchmarkAESCFBDecrypt1K-4 7297 16291 ns/op 62.55 MB/s BenchmarkAESCFBDecrypt8K-4 924 128263 ns/op 63.83 MB/s BenchmarkAESOFB1K-4 10000 11064 ns/op 92.10 MB/s BenchmarkAESCTR1K-4 13909 8792 ns/op 115.90 MB/s BenchmarkAESCTR8K-4 1690 69064 ns/op 118.54 MB/s BenchmarkAESCBCEncrypt1K-4 14224 8294 ns/op 123.47 MB/s BenchmarkAESCBCDecrypt1K-4 18027 6794 ns/op 150.71 MB/s PASS ok crypto/cipher 3.857s goos: linux goarch: amd64 pkg: crypto/des cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncrypt-4 64962 1609 ns/op 4.97 MB/s BenchmarkDecrypt-4 79430 1476 ns/op 5.42 MB/s BenchmarkTDESEncrypt-4 29991 3951 ns/op 2.02 MB/s BenchmarkTDESDecrypt-4 30666 3955 ns/op 2.02 MB/s PASS ok crypto/des 1.606s goos: linux goarch: amd64 pkg: crypto/ecdh cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkECDH/P256-4 927 122111 ns/op 759 B/op 12 allocs/op BenchmarkECDH/P384-4 15 7537428 ns/op 1090 B/op 21 allocs/op BenchmarkECDH/P521-4 6 20535960 ns/op 1536 B/op 21 allocs/op BenchmarkECDH/X25519-4 98 1236289 ns/op 374 B/op 9 allocs/op PASS ok crypto/ecdh 1.624s goos: linux goarch: amd64 pkg: crypto/ecdsa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSign/P256-4 1604 67569 ns/op 2512 B/op 33 allocs/op BenchmarkSign/P384-4 34 3387278 ns/op 2680 B/op 34 allocs/op BenchmarkSign/P521-4 14 8206051 ns/op 3066 B/op 35 allocs/op BenchmarkVerify/P256-4 930 128156 ns/op 432 B/op 8 allocs/op BenchmarkVerify/P384-4 13 8534018 ns/op 592 B/op 12 allocs/op BenchmarkVerify/P521-4 5 22060715 ns/op 912 B/op 12 allocs/op BenchmarkGenerateKey/P256-4 3992 28830 ns/op 895 B/op 14 allocs/op BenchmarkGenerateKey/P384-4 61 1899737 ns/op 1096 B/op 17 allocs/op BenchmarkGenerateKey/P521-4 24 4964834 ns/op 1416 B/op 17 allocs/op PASS ok crypto/ecdsa 2.561s goos: linux goarch: amd64 pkg: crypto/ed25519 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkKeyGeneration-4 312 355306 ns/op BenchmarkNewKeyFromSeed-4 334 354502 ns/op BenchmarkSigning-4 308 377160 ns/op BenchmarkVerification-4 218 543540 ns/op PASS ok crypto/ed25519 1.641s goos: linux goarch: amd64 pkg: crypto/elliptic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScalarBaseMult/P256-4 4710 23924 ns/op 368 B/op 6 allocs/op BenchmarkScalarBaseMult/P224-4 157 768204 ns/op 376 B/op 9 allocs/op BenchmarkScalarBaseMult/P384-4 57 1972055 ns/op 504 B/op 9 allocs/op BenchmarkScalarBaseMult/P521-4 22 5064866 ns/op 696 B/op 9 allocs/op BenchmarkScalarMult/P256-4 1344 87835 ns/op 448 B/op 7 allocs/op BenchmarkScalarMult/P224-4 61 1957835 ns/op 440 B/op 10 allocs/op BenchmarkScalarMult/P384-4 21 5399690 ns/op 616 B/op 10 allocs/op BenchmarkScalarMult/P521-4 7 14762828 ns/op 840 B/op 10 allocs/op BenchmarkMarshalUnmarshal/P256/Uncompressed-4 12402 9445 ns/op 544 B/op 8 allocs/op BenchmarkMarshalUnmarshal/P256/Compressed-4 5878 20170 ns/op 592 B/op 9 allocs/op BenchmarkMarshalUnmarshal/P224/Uncompressed-4 3459 30604 ns/op 560 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P224/Compressed-4 82 1321806 ns/op 592 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P384/Uncompressed-4 2365 47651 ns/op 784 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P384/Compressed-4 304 388313 ns/op 848 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P521/Uncompressed-4 1510 77552 ns/op 1104 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P521/Compressed-4 91 1233339 ns/op 1184 B/op 15 allocs/op PASS ok crypto/elliptic 3.406s goos: linux goarch: amd64 pkg: crypto/hmac cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHMACSHA256_1K-4 14823 8037 ns/op 127.41 MB/s BenchmarkHMACSHA256_32-4 24300 4823 ns/op 6.64 MB/s BenchmarkNewWriteSum-4 10000 10305 ns/op 3.11 MB/s PASS ok crypto/hmac 1.500s goos: linux goarch: amd64 pkg: crypto/internal/bigmod cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkModAdd-4 52594 2219 ns/op BenchmarkModSub-4 52645 2214 ns/op BenchmarkMontgomeryRepr-4 27237 4391 ns/op BenchmarkMontgomeryMul-4 26748 4449 ns/op BenchmarkModMul-4 13146 9167 ns/op BenchmarkExpBig-4 15 7393941 ns/op BenchmarkExp-4 6 18078085 ns/op PASS ok crypto/internal/bigmod 2.158s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncodingDecoding-4 3027 33162 ns/op BenchmarkScalarBaseMult-4 343 329934 ns/op BenchmarkScalarMult-4 158 756243 ns/op BenchmarkVarTimeDoubleScalarBaseMult-4 236 508293 ns/op PASS ok crypto/internal/edwards25519 1.628s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519/field cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAdd-4 495727 209.5 ns/op BenchmarkMultiply-4 4294248 27.68 ns/op BenchmarkSquare-4 5251266 22.64 ns/op BenchmarkInvert-4 24643 4821 ns/op BenchmarkMult32-4 1515340 77.31 ns/op PASS ok crypto/internal/edwards25519/field 1.792s goos: linux goarch: amd64 pkg: crypto/internal/nistec cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScalarMult/P224-4 63 1852022 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P256-4 1597 75203 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P384-4 21 5090446 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P521-4 8 14150537 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P224-4 177 658321 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P256-4 7502 15135 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P384-4 66 1692611 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P521-4 25 4370610 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec 2.152s goos: linux goarch: amd64 pkg: crypto/internal/nistec/fiat cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMul/P224-4 603242 184.6 ns/op 0 B/op 0 allocs/op BenchmarkMul/P384-4 314302 361.1 ns/op 0 B/op 0 allocs/op BenchmarkMul/P521-4 117186 1008 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P224-4 603525 181.3 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P384-4 321054 371.5 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P521-4 115470 1016 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec/fiat 1.757s goos: linux goarch: amd64 pkg: crypto/md5 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes-4 122374 987.8 ns/op 8.10 MB/s BenchmarkHash64-4 125300 903.8 ns/op 70.81 MB/s BenchmarkHash128-4 118158 1014 ns/op 126.20 MB/s BenchmarkHash256-4 92412 1259 ns/op 203.33 MB/s BenchmarkHash512-4 68257 1766 ns/op 289.86 MB/s BenchmarkHash1K-4 44170 2701 ns/op 379.08 MB/s BenchmarkHash8K-4 7380 16154 ns/op 507.11 MB/s BenchmarkHash1M-4 60 1957810 ns/op 535.59 MB/s BenchmarkHash8M-4 7 15760427 ns/op 532.26 MB/s BenchmarkHash8BytesUnaligned-4 112915 987.6 ns/op 8.10 MB/s BenchmarkHash1KUnaligned-4 44116 2717 ns/op 376.93 MB/s BenchmarkHash8KUnaligned-4 7359 16122 ns/op 508.11 MB/s PASS ok crypto/md5 2.700s goos: linux goarch: amd64 pkg: crypto/rand cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPrime-4 1 141589966 ns/op PASS ok crypto/rand 1.161s goos: linux goarch: amd64 pkg: crypto/rc4 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRC4_128-4 13222 9133 ns/op 14.01 MB/s BenchmarkRC4_1K-4 1519 71984 ns/op 14.23 MB/s BenchmarkRC4_8K-4 210 567975 ns/op 14.25 MB/s PASS ok crypto/rc4 1.532s goos: linux goarch: amd64 pkg: crypto/rsa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecryptPKCS1v15/2048-4 10 10346975 ns/op BenchmarkDecryptPKCS1v15/3072-4 5 23241188 ns/op BenchmarkDecryptPKCS1v15/4096-4 3 42063664 ns/op BenchmarkEncryptPKCS1v15/2048-4 39 2620211 ns/op BenchmarkDecryptOAEP/2048-4 10 10591819 ns/op BenchmarkEncryptOAEP/2048-4 40 2666070 ns/op BenchmarkSignPKCS1v15/2048-4 10 10365832 ns/op BenchmarkVerifyPKCS1v15/2048-4 45 2627238 ns/op BenchmarkSignPSS/2048-4 10 10496700 ns/op BenchmarkVerifyPSS/2048-4 44 2723511 ns/op PASS ok crypto/rsa 2.605s goos: linux goarch: amd64 pkg: crypto/sha1 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 105348 1109 ns/op 7.22 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum-4 121705 942.4 ns/op 8.49 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/New-4 72526 1593 ns/op 200.84 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/Sum-4 85033 1376 ns/op 232.58 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 48394 2478 ns/op 413.18 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum-4 52668 2247 ns/op 455.81 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 9727 11784 ns/op 695.20 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum-4 10000 11683 ns/op 701.20 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha1 2.073s goos: linux goarch: amd64 pkg: crypto/sha256 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 80553 1446 ns/op 5.53 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum224-4 95492 1230 ns/op 6.50 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 90870 1322 ns/op 6.05 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 25116 4688 ns/op 218.42 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum224-4 26415 4458 ns/op 229.69 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 26524 4555 ns/op 224.83 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 4166 28860 ns/op 283.85 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum224-4 4176 28179 ns/op 290.71 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 4213 28594 ns/op 286.50 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha256 2.305s goos: linux goarch: amd64 pkg: crypto/sha512 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 53496 2020 ns/op 3.96 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum384-4 73587 1601 ns/op 5.00 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum512-4 64881 1817 ns/op 4.40 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 27400 4268 ns/op 239.94 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum384-4 31503 3795 ns/op 269.80 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum512-4 30066 3951 ns/op 259.18 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 5918 20542 ns/op 398.80 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum384-4 5925 19656 ns/op 416.76 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum512-4 5929 19867 ns/op 412.34 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 19723852 6.142 ns/op BenchmarkConstantTimeEq-4 19599217 6.129 ns/op BenchmarkConstantTimeLessOrEq-4 19577583 6.144 ns/op BenchmarkXORBytes/8Bytes-4 4414574 26.52 ns/op 301.67 MB/s BenchmarkXORBytes/128Bytes-4 3822081 30.68 ns/op 4171.55 MB/s BenchmarkXORBytes/2048Bytes-4 908587 130.3 ns/op 15713.33 MB/s BenchmarkXORBytes/32768Bytes-4 61311 1961 ns/op 16708.66 MB/s PASS ok crypto/subtle 2.265s goos: linux goarch: amd64 pkg: crypto/tls cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCertCache/0-4 169 829323 ns/op BenchmarkCertCache/1-4 160 769248 ns/op BenchmarkCertCache/2-4 147 763212 ns/op BenchmarkCertCache/3-4 156 727817 ns/op BenchmarkHandshakeServer/RSA-4 15 7492506 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv13-4 14 8244302 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv12-4 15 7652281 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv13-4 92 1154958 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv12-4 153 767317 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv13-4 45 2416174 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv12-4 62 1988775 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv13-4 4 33396326 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12-4 4 32980306 ns/op BenchmarkThroughput/MaxPacket/1MB/TLSv12-4 5 25471337 ns/op 41.17 MB/s BenchmarkThroughput/MaxPacket/1MB/TLSv13-4 4 34429338 ns/op 30.46 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv12-4 3 37451967 ns/op 56.00 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv13-4 3 47863851 ns/op 43.81 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv12-4 2 59696644 ns/op 70.26 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv13-4 2 99471292 ns/op 42.17 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv12-4 1 115803527 ns/op 72.44 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv13-4 1 162406324 ns/op 51.65 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv12-4 1 205846944 ns/op 81.50 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv13-4 1 327084400 ns/op 51.29 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv12-4 1 428643239 ns/op 78.28 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv13-4 1 633275256 ns/op 52.99 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv12-4 1 859164260 ns/op 78.11 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv13-4 1 1207519264 ns/op 55.58 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv12-4 4 25763120 ns/op 40.70 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv13-4 4 33600446 ns/op 31.21 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv12-4 3 39952463 ns/op 52.49 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv13-4 3 53978206 ns/op 38.85 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv12-4 2 64106130 ns/op 65.43 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv13-4 2 87389210 ns/op 48.00 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv12-4 1 111945618 ns/op 74.93 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv13-4 1 160222031 ns/op 52.36 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv12-4 1 218852872 ns/op 76.66 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv13-4 1 331363586 ns/op 50.63 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv12-4 1 416765927 ns/op 80.51 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv13-4 1 606301502 ns/op 55.34 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv12-4 1 847501022 ns/op 79.18 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv13-4 1 1175970386 ns/op 57.07 MB/s BenchmarkLatency/MaxPacket/200kbps/TLSv12-4 1 708050830 ns/op BenchmarkLatency/MaxPacket/200kbps/TLSv13-4 1 709556873 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv12-4 1 291715800 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv13-4 1 291974766 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv12-4 1 154831070 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv13-4 1 153316008 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv12-4 2 84398006 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv13-4 2 84204226 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv12-4 3 43966354 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv13-4 3 42420927 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv12-4 1 146152858 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv13-4 1 149616573 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv12-4 2 68133815 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv13-4 2 67644620 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv12-4 3 41999815 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv13-4 3 41538432 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv12-4 4 28781342 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv13-4 4 27774916 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv12-4 5 20650716 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv13-4 6 20646724 ns/op PASS ok crypto/tls 20.315s goos: linux goarch: amd64 pkg: crypto/x509 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCreateCertificate/RSA_2048-4 8 13836660 ns/op BenchmarkCreateCertificate/ECDSA_P256-4 331 354911 ns/op BenchmarkParseCertificate/ecdsa_leaf-4 1032 113735 ns/op 12099 B/op 164 allocs/op BenchmarkParseCertificate/rsa_leaf-4 921 124014 ns/op 13507 B/op 187 allocs/op PASS ok crypto/x509 1.896s goos: linux goarch: amd64 pkg: database/sql cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkConcurrentDBExec-4 5 24508796 ns/op 2503568 B/op 14640 allocs/op BenchmarkConcurrentStmtQuery-4 5 26048667 ns/op 2236752 B/op 17655 allocs/op BenchmarkConcurrentStmtExec-4 7 14879986 ns/op 1772765 B/op 3172 allocs/op BenchmarkConcurrentTxQuery-4 4 26735976 ns/op 2424802 B/op 19657 allocs/op BenchmarkConcurrentTxExec-4 10 10748293 ns/op 594971 B/op 14148 allocs/op BenchmarkConcurrentTxStmtQuery-4 6 21563808 ns/op 839612 B/op 20657 allocs/op BenchmarkConcurrentTxStmtExec-4 26 4283491 ns/op 108107 B/op 2175 allocs/op BenchmarkConcurrentRandom-4 5 24193736 ns/op 1665904 B/op 13983 allocs/op BenchmarkManyConcurrentQueries-4 2242 47407 ns/op 3990 B/op 20 allocs/op BenchmarkGrabConn-4 183129 627.0 ns/op 0 B/op 0 allocs/op PASS ok database/sql 3.274s goos: linux goarch: amd64 pkg: debug/gosym cpu: Intel(R) Xeon(R) CPU @ 2.20GHz Benchmark115/NewLineTable-4 221245 504.4 ns/op 384 B/op 3 allocs/op Benchmark115/NewTable-4 69 1631734 ns/op 188236 B/op 13 allocs/op Benchmark115/LineToPC-4 64 1647315 ns/op 0 B/op 0 allocs/op Benchmark115/PCToLine-4 17121 7136 ns/op 0 B/op 0 allocs/op PASS ok debug/gosym 1.745s goos: linux goarch: amd64 pkg: encoding/asn1 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkObjectIdentifierString-4 59463 1938 ns/op BenchmarkMarshal-4 750 158251 ns/op 9528 B/op 363 allocs/op BenchmarkUnmarshal-4 2607 42452 ns/op 784 B/op 43 allocs/op PASS ok encoding/asn1 1.416s goos: linux goarch: amd64 pkg: encoding/base32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode-4 254 450913 ns/op 18.17 MB/s BenchmarkEncodeToString-4 228 502279 ns/op 16.31 MB/s BenchmarkDecode-4 135 880825 ns/op 14.89 MB/s BenchmarkDecodeString-4 136 857738 ns/op 15.29 MB/s PASS ok encoding/base32 1.745s goos: linux goarch: amd64 pkg: encoding/base64 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncodeToString-4 296 354441 ns/op 23.11 MB/s BenchmarkDecodeString/2-4 260846 422.9 ns/op 9.46 MB/s BenchmarkDecodeString/4-4 220244 537.6 ns/op 14.88 MB/s BenchmarkDecodeString/8-4 176533 667.0 ns/op 17.99 MB/s BenchmarkDecodeString/64-4 32619 3508 ns/op 25.09 MB/s BenchmarkDecodeString/8192-4 306 377795 ns/op 28.92 MB/s BenchmarkNewEncoding-4 88408 1324 ns/op 193.40 MB/s PASS ok encoding/base64 1.997s goos: linux goarch: amd64 pkg: encoding/binary cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadSlice1000Int32s-4 1290 89752 ns/op 44.57 MB/s BenchmarkReadStruct-4 16669 7067 ns/op 10.61 MB/s BenchmarkWriteStruct-4 15746 7542 ns/op 9.94 MB/s BenchmarkReadInts-4 46312 2491 ns/op 12.04 MB/s BenchmarkWriteInts-4 46327 2583 ns/op 11.62 MB/s BenchmarkWriteSlice1000Int32s-4 1312 91396 ns/op 43.77 MB/s BenchmarkPutUint16-4 3404564 34.45 ns/op 58.05 MB/s BenchmarkAppendUint16-4 3268796 35.68 ns/op 56.05 MB/s BenchmarkPutUint32-4 2452358 49.17 ns/op 81.35 MB/s BenchmarkAppendUint32-4 2349901 50.95 ns/op 78.51 MB/s BenchmarkPutUint64-4 1078017 112.4 ns/op 71.18 MB/s BenchmarkAppendUint64-4 1000000 113.0 ns/op 70.79 MB/s BenchmarkLittleEndianPutUint16-4 3355294 34.87 ns/op 57.36 MB/s BenchmarkLittleEndianAppendUint16-4 3289803 35.22 ns/op 56.79 MB/s BenchmarkLittleEndianPutUint32-4 2417085 49.03 ns/op 81.58 MB/s BenchmarkLittleEndianAppendUint32-4 2487705 48.57 ns/op 82.35 MB/s BenchmarkLittleEndianPutUint64-4 1000000 111.2 ns/op 71.92 MB/s BenchmarkLittleEndianAppendUint64-4 1000000 112.9 ns/op 70.87 MB/s BenchmarkReadFloats-4 155788 736.7 ns/op 16.29 MB/s BenchmarkWriteFloats-4 159910 792.7 ns/op 15.14 MB/s BenchmarkReadSlice1000Float32s-4 1225 99036 ns/op 40.39 MB/s BenchmarkWriteSlice1000Float32s-4 1113 106378 ns/op 37.60 MB/s BenchmarkReadSlice1000Uint8s-4 74156 1391 ns/op 719.01 MB/s BenchmarkWriteSlice1000Uint8s-4 95824 1079 ns/op 927.04 MB/s BenchmarkPutUvarint32-4 719712 155.7 ns/op 25.70 MB/s BenchmarkPutUvarint64-4 205791 568.7 ns/op 14.07 MB/s PASS ok encoding/binary 4.866s goos: linux goarch: amd64 pkg: encoding/csv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRead-4 5682 18172 ns/op 736 B/op 16 allocs/op BenchmarkReadWithFieldsPerRecord-4 6844 17329 ns/op 736 B/op 16 allocs/op BenchmarkReadWithoutFieldsPerRecord-4 6309 17177 ns/op 736 B/op 16 allocs/op BenchmarkReadLargeFields-4 4041 28415 ns/op 3938 B/op 24 allocs/op BenchmarkReadReuseRecord-4 7615 15507 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithFieldsPerRecord-4 7610 15346 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithoutFieldsPerRecord-4 7350 15592 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordLargeFields-4 4536 26793 ns/op 2977 B/op 12 allocs/op BenchmarkWrite-4 11944 9560 ns/op PASS ok encoding/csv 2.382s goos: linux goarch: amd64 pkg: encoding/gob cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEndToEndPipe-4 8450 11989 ns/op 1815 B/op 2 allocs/op BenchmarkEndToEndByteBuffer-4 16536 8196 ns/op 1811 B/op 2 allocs/op BenchmarkEndToEndSliceByteBuffer-4 260 472278 ns/op 16731 B/op 330 allocs/op BenchmarkEncodeComplex128Slice-4 777 155898 ns/op 631 B/op 0 allocs/op BenchmarkEncodeFloat64Slice-4 1608 67425 ns/op 54 B/op 0 allocs/op BenchmarkEncodeInt32Slice-4 1764 67678 ns/op 50 B/op 0 allocs/op BenchmarkEncodeStringSlice-4 2270 51423 ns/op 170 B/op 0 allocs/op BenchmarkEncodeInterfaceSlice-4 66 1745481 ns/op 33974 B/op 249 allocs/op BenchmarkDecodeComplex128Slice-4 656 213954 ns/op 25222 B/op 169 allocs/op BenchmarkDecodeFloat64Slice-4 1231 102308 ns/op 10796 B/op 169 allocs/op BenchmarkDecodeInt32Slice-4 1393 93428 ns/op 9756 B/op 169 allocs/op BenchmarkDecodeStringSlice-4 865 157168 ns/op 39134 B/op 1169 allocs/op BenchmarkDecodeStringsSlice-4 291 425118 ns/op 66330 B/op 2204 allocs/op BenchmarkDecodeBytesSlice-4 661 236114 ns/op 23635 B/op 187 allocs/op BenchmarkDecodeInterfaceSlice-4 100 1271240 ns/op 83005 B/op 3178 allocs/op BenchmarkDecodeMap-4 72 1626947 ns/op 54125 B/op 181 allocs/op PASS ok encoding/gob 3.840s goos: linux goarch: amd64 pkg: encoding/hex cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode/256-4 12783 9428 ns/op 27.15 MB/s BenchmarkEncode/1024-4 2949 37543 ns/op 27.28 MB/s BenchmarkEncode/4096-4 784 153373 ns/op 26.71 MB/s BenchmarkEncode/16384-4 195 604197 ns/op 27.12 MB/s BenchmarkDecode/256-4 23700 4990 ns/op 51.30 MB/s BenchmarkDecode/1024-4 5685 19745 ns/op 51.86 MB/s BenchmarkDecode/4096-4 1471 79177 ns/op 51.73 MB/s BenchmarkDecode/16384-4 367 314855 ns/op 52.04 MB/s BenchmarkDump/256-4 1294 90373 ns/op 2.83 MB/s BenchmarkDump/1024-4 339 347623 ns/op 2.95 MB/s BenchmarkDump/4096-4 82 1398352 ns/op 2.93 MB/s BenchmarkDump/16384-4 20 5884229 ns/op 2.78 MB/s PASS ok encoding/hex 2.763s goos: linux goarch: amd64 pkg: encoding/json cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCodeEncoder-4 1 173619608 ns/op 11.18 MB/s 8391320 B/op 57 allocs/op BenchmarkCodeEncoderError-4 1 152773248 ns/op 12.70 MB/s 8394864 B/op 117 allocs/op BenchmarkCodeMarshal-4 1 151560712 ns/op 12.80 MB/s 10332416 B/op 57 allocs/op BenchmarkCodeMarshalError-4 1 129826808 ns/op 14.95 MB/s 1946760 B/op 69 allocs/op BenchmarkMarshalBytes/32-4 21268 5865 ns/op BenchmarkMarshalBytes/256-4 4818 22020 ns/op BenchmarkMarshalBytes/4096-4 430 276208 ns/op BenchmarkMarshalBytesError/32-4 51 2152779 ns/op BenchmarkMarshalBytesError/256-4 54 2167143 ns/op BenchmarkMarshalBytesError/4096-4 46 2475289 ns/op BenchmarkCodeDecoder-4 1 450980136 ns/op 4.30 MB/s 11016032 B/op 91357 allocs/op BenchmarkUnicodeDecoder-4 35257 3427 ns/op 4.09 MB/s 40 B/op 2 allocs/op BenchmarkDecoderStream-4 45060 2464 ns/op 16 B/op 1 allocs/op BenchmarkCodeUnmarshal-4 1 379911344 ns/op 5.11 MB/s 2938152 B/op 91324 allocs/op BenchmarkCodeUnmarshalReuse-4 1 369023977 ns/op 5.26 MB/s 2939152 B/op 91330 allocs/op BenchmarkUnmarshalString-4 53156 2349 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalFloat64-4 137316 891.2 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalInt64-4 303266 407.7 ns/op 144 B/op 1 allocs/op BenchmarkIssue10335-4 68200 1645 ns/op 176 B/op 3 allocs/op BenchmarkIssue34127-4 94453 1309 ns/op 83 B/op 2 allocs/op BenchmarkUnmapped-4 16542 7274 ns/op 208 B/op 4 allocs/op BenchmarkTypeFieldsCache/MissTypes1-4 3922 32233 ns/op BenchmarkTypeFieldsCache/MissTypes10-4 724 153020 ns/op BenchmarkTypeFieldsCache/MissTypes100-4 80 1341526 ns/op BenchmarkTypeFieldsCache/MissTypes1000-4 8 12573415 ns/op BenchmarkTypeFieldsCache/HitTypes1-4 365287 274.6 ns/op BenchmarkTypeFieldsCache/HitTypes10-4 429171 254.1 ns/op BenchmarkTypeFieldsCache/HitTypes100-4 458568 251.4 ns/op BenchmarkTypeFieldsCache/HitTypes1000-4 445333 244.8 ns/op BenchmarkEncodeMarshaler-4 55389 1853 ns/op 75 B/op 1 allocs/op BenchmarkEncoderEncode-4 84141 1389 ns/op 44 B/op 0 allocs/op BenchmarkNumberIsValid-4 4102348 29.10 ns/op BenchmarkNumberIsValidRegexp-4 20635 5969 ns/op PASS ok encoding/json 8.468s goos: linux goarch: amd64 pkg: encoding/pem cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode-4 44 2561615 ns/op 25.58 MB/s BenchmarkDecode-4 22 5392496 ns/op 16.46 MB/s PASS ok encoding/pem 1.362s goos: linux goarch: amd64 pkg: encoding/xml cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMarshal-4 2581 44528 ns/op 6280 B/op 24 allocs/op BenchmarkUnmarshal-4 846 123366 ns/op 8218 B/op 185 allocs/op BenchmarkHTMLAutoClose-4 4230 27966 ns/op PASS ok encoding/xml 1.476s goos: linux goarch: amd64 pkg: expvar cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkIntAdd-4 288602 401.7 ns/op BenchmarkIntSet-4 445419 380.6 ns/op BenchmarkFloatAdd-4 63999 1897 ns/op BenchmarkFloatSet-4 346753 378.0 ns/op BenchmarkStringSet-4 333865 384.6 ns/op BenchmarkMapSet-4 74450 1834 ns/op BenchmarkMapSetDifferent-4 54349 2457 ns/op BenchmarkMapSetDifferentRandom-4 213 496959 ns/op BenchmarkMapSetString-4 61375 1795 ns/op BenchmarkMapAddSame-4 35332 3572 ns/op BenchmarkMapAddDifferent-4 15073 9260 ns/op BenchmarkMapAddDifferentRandom-4 190 635034 ns/op BenchmarkMapAddSameSteadyState-4 203400 530.8 ns/op BenchmarkMapAddDifferentSteadyState-4 107282 1191 ns/op BenchmarkRealworldExpvarUsage-4 16592 7475 ns/op PASS ok expvar 3.703s goos: linux goarch: amd64 pkg: fmt cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSprintfPadding-4 85759 1384 ns/op BenchmarkSprintfEmpty-4 430124 289.7 ns/op BenchmarkSprintfString-4 236731 458.9 ns/op BenchmarkSprintfTruncateString-4 278785 510.4 ns/op BenchmarkSprintfTruncateBytes-4 145369 799.0 ns/op BenchmarkSprintfSlowParsingPath-4 267224 503.7 ns/op BenchmarkSprintfQuoteString-4 39320 3091 ns/op BenchmarkSprintfInt-4 277442 470.0 ns/op BenchmarkSprintfIntInt-4 163656 612.4 ns/op BenchmarkSprintfPrefixedInt-4 184832 558.3 ns/op BenchmarkSprintfFloat-4 138243 862.6 ns/op BenchmarkSprintfComplex-4 63990 1901 ns/op BenchmarkSprintfBoolean-4 295496 420.3 ns/op BenchmarkSprintfHexString-4 133082 991.7 ns/op BenchmarkSprintfHexBytes-4 82461 1553 ns/op BenchmarkSprintfBytes-4 44462 2510 ns/op BenchmarkSprintfStringer-4 70095 1459 ns/op BenchmarkSprintfStructure-4 39069 3379 ns/op BenchmarkManyArgs-4 71258 1815 ns/op BenchmarkFprintInt-4 65083 1807 ns/op BenchmarkFprintfBytes-4 74941 1616 ns/op BenchmarkFprintIntNoAlloc-4 64725 1833 ns/op BenchmarkScanInts-4 34 3243347 ns/op BenchmarkScanRecursiveInt-4 1 389134937 ns/op BenchmarkScanRecursiveIntReaderWrapper-4 1 417051855 ns/op PASS ok fmt 5.291s goos: linux goarch: amd64 pkg: go/build cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkImportVendor-4 567 187085 ns/op PASS ok go/build 1.155s goos: linux goarch: amd64 pkg: go/constant cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStringAdd/1-4 46237 2373 ns/op 160 B/op 2 allocs/op BenchmarkStringAdd/4-4 13108 8802 ns/op 832 B/op 9 allocs/op BenchmarkStringAdd/16-4 3518 32170 ns/op 3168 B/op 23 allocs/op BenchmarkStringAdd/64-4 958 119224 ns/op 11744 B/op 73 allocs/op BenchmarkStringAdd/256-4 237 480629 ns/op 47840 B/op 267 allocs/op BenchmarkStringAdd/1024-4 43 2362471 ns/op 206176 B/op 1038 allocs/op BenchmarkStringAdd/4096-4 12 10002086 ns/op 865632 B/op 4114 allocs/op BenchmarkStringAdd/16384-4 3 42711225 ns/op 3634528 B/op 16407 allocs/op BenchmarkStringAdd/65536-4 1 193999106 ns/op 15258976 B/op 65565 allocs/op PASS ok go/constant 2.589s goos: linux goarch: amd64 pkg: go/format cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFormat/array1-10000-4 1 279279185 ns/op 0.23 MB/s 44983816 B/op 48690 allocs/op PASS ok go/format 1.326s goos: linux goarch: amd64 pkg: go/parser cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkParse-4 5 20360315 ns/op 2.65 MB/s BenchmarkParseOnly-4 6 17944018 ns/op 3.00 MB/s BenchmarkResolve-4 44 2634603 ns/op 20.44 MB/s PASS ok go/parser 2.219s goos: linux goarch: amd64 pkg: go/printer cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPrintFile-4 1 155830665 ns/op 0.33 MB/s 5170864 B/op 27642 allocs/op BenchmarkPrintDecl-4 669 160962 ns/op 0.20 MB/s 16807 B/op 51 allocs/op PASS ok go/printer 1.307s goos: linux goarch: amd64 pkg: go/scanner cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScan-4 258 457766 ns/op BenchmarkScanFiles/go/types/expr.go-4 14 8105716 ns/op 6.12 MB/s BenchmarkScanFiles/go/parser/parser.go-4 8 13020691 ns/op 5.56 MB/s BenchmarkScanFiles/net/http/server.go-4 6 17870841 ns/op 6.34 MB/s BenchmarkScanFiles/go/scanner/errors.go-4 219 558148 ns/op 5.51 MB/s PASS ok go/scanner 1.742s goos: linux goarch: amd64 pkg: go/token cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSearchInts-4 1000000 105.1 ns/op PASS ok go/token 1.132s goos: linux goarch: amd64 pkg: go/types cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLookupFieldOrMethod-4 132 994423 ns/op BenchmarkNamed/Underlying/nongeneric-4 834252 141.1 ns/op BenchmarkNamed/Underlying/generic-4 853470 139.6 ns/op BenchmarkNamed/Underlying/src_instance-4 818962 140.1 ns/op BenchmarkNamed/Underlying/user_instance-4 787082 140.9 ns/op BenchmarkNamed/NewMethodSet/nongeneric-4 21492 5418 ns/op BenchmarkNamed/NewMethodSet/generic-4 20961 5509 ns/op BenchmarkNamed/NewMethodSet/src_instance-4 21774 5648 ns/op BenchmarkNamed/NewMethodSet/user_instance-4 21333 5417 ns/op BenchmarkCheck/http/funcbodies/info-4 1 640599001 ns/op 47695 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 430588166 ns/op 70953 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 257861790 ns/op 118464 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 220266177 ns/op 138640 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 483847089 ns/op 10696 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 1 121283748 ns/op 42662 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 2 69632648 ns/op 74312 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 2 66414120 ns/op 77903 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 174717697 ns/op 12401 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 2 66585340 ns/op 32528 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 3 49204659 ns/op 44022 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 3 49968959 ns/op 43353 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1231991777 ns/op 52897 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 634543650 ns/op 102701 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 191548863 ns/op 340112 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 134587980 ns/op 483944 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 459309905 ns/op 4347 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 99377956 ns/op 20088 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 2 80080200 ns/op 24927 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 2 82625142 ns/op 24159 lines/s PASS ok go/types 19.510s goos: linux goarch: amd64 pkg: hash/adler32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAdler32KB-4 8464 13788 ns/op 74.26 MB/s PASS ok hash/adler32 1.240s goos: linux goarch: amd64 pkg: hash/crc32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCRC32/poly=IEEE/size=15/align=0-4 190663 590.4 ns/op 25.41 MB/s BenchmarkCRC32/poly=IEEE/size=15/align=1-4 198775 564.6 ns/op 26.57 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=0-4 102307 1118 ns/op 35.77 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=1-4 110692 1065 ns/op 37.54 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=0-4 440523 264.8 ns/op 1933.81 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=1-4 442533 266.9 ns/op 1918.39 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=0-4 373350 308.2 ns/op 3322.14 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=1-4 382890 309.5 ns/op 3308.96 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=0-4 229938 522.5 ns/op 7838.68 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=1-4 235598 504.9 ns/op 8112.98 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=0-4 51392 2334 ns/op 14037.73 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=1-4 52482 2326 ns/op 14089.64 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=0-4 404340 276.5 ns/op 54.26 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=1-4 432819 274.1 ns/op 54.73 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=0-4 405514 279.1 ns/op 143.31 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=1-4 419305 273.9 ns/op 146.05 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=0-4 302198 382.2 ns/op 1339.46 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=1-4 300610 381.4 ns/op 1342.25 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=0-4 240684 483.7 ns/op 2116.96 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=1-4 247023 481.3 ns/op 2127.65 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=0-4 210481 564.0 ns/op 7262.89 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=1-4 207824 563.7 ns/op 7265.95 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=0-4 45693 2613 ns/op 12541.62 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=1-4 46078 2626 ns/op 12477.27 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=0-4 204055 575.4 ns/op 26.07 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=1-4 198109 592.8 ns/op 25.30 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=0-4 97137 1209 ns/op 33.10 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=1-4 100185 1177 ns/op 33.99 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=0-4 7332 16316 ns/op 31.38 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=1-4 7210 16259 ns/op 31.49 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=0-4 3422 34391 ns/op 29.78 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=1-4 3570 33748 ns/op 30.34 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=0-4 860 134938 ns/op 30.35 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=1-4 873 135676 ns/op 30.19 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=0-4 100 1109917 ns/op 29.52 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=1-4 100 1096153 ns/op 29.89 MB/s PASS ok hash/crc32 5.651s goos: linux goarch: amd64 pkg: hash/crc64 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCrc64/ISO64KB-4 87 1404594 ns/op 46.66 MB/s BenchmarkCrc64/ISO4KB-4 1004 116652 ns/op 35.11 MB/s BenchmarkCrc64/ISO1KB-4 4574 25352 ns/op 40.39 MB/s BenchmarkCrc64/ECMA64KB-4 86 1406054 ns/op 46.61 MB/s BenchmarkCrc64/Random64KB-4 93 1223485 ns/op 53.57 MB/s BenchmarkCrc64/Random16KB-4 373 322272 ns/op 50.84 MB/s PASS ok hash/crc64 1.797s goos: linux goarch: amd64 pkg: hash/fnv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFnv32KB-4 8413 13843 ns/op 73.97 MB/s BenchmarkFnv32aKB-4 8506 14069 ns/op 72.79 MB/s BenchmarkFnv64KB-4 8276 14175 ns/op 72.24 MB/s BenchmarkFnv64aKB-4 8102 13971 ns/op 73.29 MB/s BenchmarkFnv128KB-4 1970 58681 ns/op 17.45 MB/s BenchmarkFnv128aKB-4 2090 56874 ns/op 18.00 MB/s PASS ok hash/fnv 2.016s goos: linux goarch: amd64 pkg: hash/maphash cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash/n=4/Write-4 494437 202.6 ns/op 19.74 MB/s BenchmarkHash/n=4/Bytes-4 3964082 29.26 ns/op 136.72 MB/s BenchmarkHash/n=4/String-4 1751073 66.95 ns/op 59.74 MB/s BenchmarkHash/n=8/Write-4 546824 198.6 ns/op 40.29 MB/s BenchmarkHash/n=8/Bytes-4 3883981 30.59 ns/op 261.53 MB/s BenchmarkHash/n=8/String-4 1751734 66.75 ns/op 119.85 MB/s BenchmarkHash/n=16/Write-4 573632 198.4 ns/op 80.65 MB/s BenchmarkHash/n=16/Bytes-4 4503823 26.96 ns/op 593.52 MB/s BenchmarkHash/n=16/String-4 1815032 65.11 ns/op 245.75 MB/s BenchmarkHash/n=32/Write-4 553893 207.8 ns/op 153.99 MB/s BenchmarkHash/n=32/Bytes-4 4282453 28.04 ns/op 1141.17 MB/s BenchmarkHash/n=32/String-4 1779992 65.70 ns/op 487.04 MB/s BenchmarkHash/n=64/Write-4 512821 224.7 ns/op 284.85 MB/s BenchmarkHash/n=64/Bytes-4 3962210 30.22 ns/op 2118.04 MB/s BenchmarkHash/n=64/String-4 1653082 68.17 ns/op 938.88 MB/s BenchmarkHash/n=256/Write-4 385594 306.5 ns/op 835.16 MB/s BenchmarkHash/n=256/Bytes-4 2207972 54.48 ns/op 4699.24 MB/s BenchmarkHash/n=256/String-4 884407 128.2 ns/op 1997.57 MB/s BenchmarkHash/n=320/Write-4 399108 291.1 ns/op 1099.40 MB/s BenchmarkHash/n=320/Bytes-4 1774785 68.22 ns/op 4690.40 MB/s BenchmarkHash/n=320/String-4 681051 181.5 ns/op 1762.76 MB/s BenchmarkHash/n=1024/Write-4 259210 458.9 ns/op 2231.57 MB/s BenchmarkHash/n=1024/Bytes-4 739206 159.5 ns/op 6419.64 MB/s BenchmarkHash/n=1024/String-4 244899 459.2 ns/op 2229.92 MB/s BenchmarkHash/n=4096/Write-4 118534 982.1 ns/op 4170.52 MB/s BenchmarkHash/n=4096/Bytes-4 205525 586.0 ns/op 6989.70 MB/s BenchmarkHash/n=4096/String-4 68354 1786 ns/op 2292.93 MB/s BenchmarkHash/n=16384/Write-4 38347 3144 ns/op 5211.48 MB/s BenchmarkHash/n=16384/Bytes-4 52774 2264 ns/op 7235.19 MB/s BenchmarkHash/n=16384/String-4 17272 6928 ns/op 2364.92 MB/s PASS ok hash/maphash 5.416s goos: linux goarch: amd64 pkg: html cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEscape-4 784 136029 ns/op BenchmarkEscapeNone-4 116096 963.5 ns/op BenchmarkUnescape-4 741 155746 ns/op BenchmarkUnescapeNone-4 486345 230.3 ns/op BenchmarkUnescapeSparse-4 10759 11991 ns/op BenchmarkUnescapeDense-4 1102 105911 ns/op PASS ok html 1.865s goos: linux goarch: amd64 pkg: html/template cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCSSEscaper-4 9062 12571 ns/op BenchmarkCSSEscaperNoSpecials-4 43880 2649 ns/op BenchmarkDecodeCSS-4 26809 4402 ns/op BenchmarkDecodeCSSNoSpecials-4 4261664 27.95 ns/op BenchmarkCSSValueFilter-4 110469 1069 ns/op BenchmarkCSSValueFilterOk-4 77762 1520 ns/op BenchmarkEscapedExecute-4 4356 24962 ns/op BenchmarkHTMLNospaceEscaper-4 10000 10765 ns/op BenchmarkHTMLNospaceEscaperNoSpecials-4 64598 1800 ns/op BenchmarkStripTags-4 20812 5639 ns/op BenchmarkStripTagsNoSpecials-4 305169 398.0 ns/op BenchmarkJSValEscaperWithNum-4 23448 5031 ns/op BenchmarkJSValEscaperWithStr-4 5004 22762 ns/op BenchmarkJSValEscaperWithStrNoSpecials-4 17868 6534 ns/op BenchmarkJSValEscaperWithObj-4 4248 26622 ns/op BenchmarkJSValEscaperWithObjNoSpecials-4 12285 9284 ns/op BenchmarkJSStrEscaperNoSpecials-4 59154 1979 ns/op BenchmarkJSStrEscaper-4 10000 10249 ns/op BenchmarkJSRegexpEscaperNoSpecials-4 52773 2322 ns/op BenchmarkJSRegexpEscaper-4 10000 10936 ns/op BenchmarkTemplateSpecialTags-4 90 1331363 ns/op BenchmarkURLEscaper-4 4107 29042 ns/op BenchmarkURLEscaperNoSpecials-4 170404 712.8 ns/op BenchmarkURLNormalizer-4 4942 21108 ns/op BenchmarkURLNormalizerNoSpecials-4 164832 755.1 ns/op BenchmarkSrcsetFilter-4 17976 6416 ns/op BenchmarkSrcsetFilterNoSpecials-4 103128 1125 ns/op PASS ok html/template 5.025s goos: linux goarch: amd64 pkg: image cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAt/rgba-4 600944 190.5 ns/op 16 B/op 1 allocs/op BenchmarkAt/rgba64-4 383368 278.7 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba-4 620230 193.2 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba64-4 437360 272.1 ns/op 16 B/op 1 allocs/op BenchmarkAt/alpha-4 1818022 66.73 ns/op 0 B/op 0 allocs/op BenchmarkAt/alpha16-4 1000000 101.6 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray-4 1840686 65.50 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray16-4 1214961 100.6 ns/op 0 B/op 0 allocs/op BenchmarkAt/paletted-4 1380348 84.43 ns/op 0 B/op 0 allocs/op BenchmarkSet/rgba-4 410362 278.8 ns/op 16 B/op 1 allocs/op BenchmarkSet/rgba64-4 322870 329.1 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba-4 424347 266.9 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba64-4 351696 336.5 ns/op 16 B/op 1 allocs/op BenchmarkSet/alpha-4 742669 145.0 ns/op 0 B/op 0 allocs/op BenchmarkSet/alpha16-4 546578 222.3 ns/op 16 B/op 1 allocs/op BenchmarkSet/gray-4 914259 127.7 ns/op 0 B/op 0 allocs/op BenchmarkSet/gray16-4 532124 216.1 ns/op 16 B/op 1 allocs/op BenchmarkSet/paletted-4 419382 271.0 ns/op 0 B/op 0 allocs/op BenchmarkRGBAAt-4 1384539 87.66 ns/op BenchmarkRGBASetRGBA-4 1354498 87.08 ns/op BenchmarkRGBA64At-4 708970 162.2 ns/op BenchmarkRGBA64SetRGBA64-4 790370 147.1 ns/op BenchmarkNRGBAAt-4 1411075 84.62 ns/op BenchmarkNRGBASetNRGBA-4 1384797 83.99 ns/op BenchmarkNRGBA64At-4 703668 163.4 ns/op BenchmarkNRGBA64SetNRGBA64-4 799044 145.2 ns/op BenchmarkAlphaAt-4 2258305 52.71 ns/op BenchmarkAlphaSetAlpha-4 2357562 51.55 ns/op BenchmarkAlpha16At-4 1500882 80.36 ns/op BenchmarkAlphaSetAlpha16-4 1514061 80.47 ns/op BenchmarkGrayAt-4 2312304 52.11 ns/op BenchmarkGraySetGray-4 2355828 51.29 ns/op BenchmarkGray16At-4 1509192 79.04 ns/op BenchmarkGraySetGray16-4 1518706 78.19 ns/op PASS ok image 6.463s goos: linux goarch: amd64 pkg: image/color cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkYCbCrToRGB/0-4 3992989 27.09 ns/op BenchmarkYCbCrToRGB/128-4 4065217 26.66 ns/op BenchmarkYCbCrToRGB/255-4 4254596 25.90 ns/op BenchmarkRGBToYCbCr/0-4 4240374 25.70 ns/op BenchmarkRGBToYCbCr/Cb-4 4286996 25.92 ns/op BenchmarkRGBToYCbCr/Cr-4 4315546 26.61 ns/op BenchmarkYCbCrToRGBA/0-4 3450966 32.24 ns/op BenchmarkYCbCrToRGBA/128-4 3202284 35.37 ns/op BenchmarkYCbCrToRGBA/255-4 3353739 32.56 ns/op BenchmarkNYCbCrAToRGBA/0-4 3182998 34.90 ns/op BenchmarkNYCbCrAToRGBA/128-4 3170332 35.49 ns/op BenchmarkNYCbCrAToRGBA/255-4 3212433 34.52 ns/op PASS ok image/color 2.776s goos: linux goarch: amd64 pkg: image/draw cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFillOver-4 3 33692606 ns/op BenchmarkFillSrc-4 292 397469 ns/op BenchmarkCopyOver-4 6 17443111 ns/op BenchmarkCopySrc-4 397 282244 ns/op BenchmarkNRGBAOver-4 6 18830499 ns/op BenchmarkNRGBASrc-4 9 12097004 ns/op BenchmarkYCbCr-4 8 13759379 ns/op BenchmarkGray-4 16 6872789 ns/op BenchmarkCMYK-4 9 12143690 ns/op BenchmarkGlyphOver-4 19 6083845 ns/op BenchmarkRGBAMaskOver-4 4 30950242 ns/op BenchmarkGrayMaskOver-4 5 23374709 ns/op BenchmarkRGBA64ImageMaskOver-4 3 38858358 ns/op BenchmarkRGBA-4 4 25208243 ns/op BenchmarkPalettedFill-4 902 133222 ns/op BenchmarkPalettedRGBA-4 4 26457078 ns/op BenchmarkGenericOver-4 2 56408914 ns/op BenchmarkGenericMaskOver-4 5 22938406 ns/op BenchmarkGenericSrc-4 3 36837007 ns/op BenchmarkGenericMaskSrc-4 4 30789183 ns/op PASS ok image/draw 7.095s goos: linux goarch: amd64 pkg: image/gif cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecode-4 22 4706918 ns/op 3.28 MB/s 47848 B/op 267 allocs/op BenchmarkEncodeRandomPaletted-4 1 110379019 ns/op 2.78 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRandomRGBA-4 1 3091170809 ns/op 0.40 MB/s 417248 B/op 13 allocs/op BenchmarkEncodeRealisticPaletted-4 55 2126620 ns/op 7.27 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRealisticRGBA-4 1 153741880 ns/op 0.40 MB/s 105952 B/op 13 allocs/op PASS ok image/gif 5.148s goos: linux goarch: amd64 pkg: image/jpeg cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFDCT-4 3573 29093 ns/op BenchmarkIDCT-4 3831 27999 ns/op BenchmarkDecodeBaseline-4 8 12544334 ns/op 4.93 MB/s 63024 B/op 5 allocs/op BenchmarkDecodeProgressive-4 6 17422258 ns/op 3.55 MB/s 259712 B/op 13 allocs/op BenchmarkEncodeRGBA-4 1 156248503 ns/op 7.86 MB/s 4400 B/op 4 allocs/op BenchmarkEncodeYCbCr-4 1 191903186 ns/op 4.80 MB/s 4400 B/op 4 allocs/op PASS ok image/jpeg 2.239s goos: linux goarch: amd64 pkg: image/png cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPaeth-4 12205173 9.844 ns/op BenchmarkDecodeGray-4 12 9186265 ns/op 7.13 MB/s 137024 B/op 102 allocs/op BenchmarkDecodeNRGBAGradient-4 3 39066915 ns/op 6.71 MB/s 337328 B/op 188 allocs/op BenchmarkDecodeNRGBAOpaque-4 3 34090674 ns/op 7.69 MB/s 346592 B/op 152 allocs/op BenchmarkDecodePaletted-4 21 5469362 ns/op 11.98 MB/s 139456 B/op 309 allocs/op BenchmarkDecodeRGB-4 4 32556402 ns/op 8.05 MB/s 332000 B/op 157 allocs/op BenchmarkDecodeInterlacing-4 3 39592142 ns/op 6.62 MB/s 605216 B/op 268 allocs/op BenchmarkEncodeGray-4 2 62826835 ns/op 4.89 MB/s 852184 B/op 29 allocs/op BenchmarkEncodeGrayWithBufferPool-4 2 61021447 ns/op 5.03 MB/s 426080 B/op 14 allocs/op BenchmarkEncodeNRGBOpaque-4 1 197479045 ns/op 6.22 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeNRGBA-4 1 216910825 ns/op 5.67 MB/s 864088 B/op 29 allocs/op BenchmarkEncodePaletted-4 4 31045503 ns/op 9.90 MB/s 848592 B/op 32 allocs/op BenchmarkEncodeRGBOpaque-4 1 194231254 ns/op 6.33 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeRGBA-4 1 827643913 ns/op 1.48 MB/s 864088 B/op 29 allocs/op PASS ok image/png 4.728s goos: linux goarch: amd64 pkg: index/suffixarray cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkNew/text=opticks/size=100K/bits=32-4 2 54192091 ns/op 1.85 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=opticks/size=100K/bits=64-4 3 44830728 ns/op 2.23 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=32-4 1 327525723 ns/op 1.53 MB/s 2007128 B/op 3 allocs/op BenchmarkNew/text=opticks/size=500K/bits=64-4 1 320430941 ns/op 1.56 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=32-4 2 53350006 ns/op 1.87 MB/s 401492 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=64-4 3 47240653 ns/op 2.12 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=32-4 1 313245971 ns/op 1.60 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=64-4 1 312635224 ns/op 1.60 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=32-4 1 696296737 ns/op 1.44 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=64-4 1 733699948 ns/op 1.36 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=32-4 1 4224367988 ns/op 1.18 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=64-4 1 4229232362 ns/op 1.18 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=go/size=10M/bits=32-4 1 8573454377 ns/op 1.17 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=go/size=10M/bits=64-4 1 8360758228 ns/op 1.20 MB/s 80003248 B/op 3 allocs/op BenchmarkNew/text=go/size=50M/bits=32-4 1 48443013902 ns/op 1.03 MB/s 200007760 B/op 2 allocs/op BenchmarkNew/text=go/size=50M/bits=64-4 1 47311694643 ns/op 1.06 MB/s 400007248 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=32-4 10 10427231 ns/op 9.59 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=64-4 9 11710321 ns/op 8.54 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=32-4 3 51093703 ns/op 9.79 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=64-4 2 56515518 ns/op 8.85 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=32-4 2 99594900 ns/op 10.04 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=64-4 1 114747341 ns/op 8.71 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=32-4 1 504284163 ns/op 9.92 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=64-4 1 573855885 ns/op 8.71 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=zero/size=10M/bits=32-4 1 1008757333 ns/op 9.91 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=zero/size=10M/bits=64-4 1 1152696628 ns/op 8.68 MB/s 80003152 B/op 2 allocs/op BenchmarkNew/text=zero/size=50M/bits=32-4 1 5062740960 ns/op 9.88 MB/s 200007760 B/op 2 allocs/op BenchmarkNew/text=zero/size=50M/bits=64-4 1 5661201072 ns/op 8.83 MB/s 400007248 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=32-4 2 63157013 ns/op 1.58 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=64-4 2 53824514 ns/op 1.86 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=32-4 1 404355827 ns/op 1.24 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=64-4 1 440471050 ns/op 1.14 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=32-4 1 938835401 ns/op 1.07 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=64-4 1 1000463819 ns/op 1.00 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=32-4 1 6154994276 ns/op 0.81 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=64-4 1 6092293320 ns/op 0.82 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=rand/size=10M/bits=32-4 1 13557311949 ns/op 0.74 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=rand/size=10M/bits=64-4 1 13473721330 ns/op 0.74 MB/s 80003152 B/op 2 allocs/op BenchmarkNew/text=rand/size=50M/bits=32-4 1 83519645475 ns/op 0.60 MB/s 200007760 B/op 2 allocs/op BenchmarkNew/text=rand/size=50M/bits=64-4 1 81743960197 ns/op 0.61 MB/s 400007248 B/op 2 allocs/op BenchmarkSaveRestore/bits=32-4 1 190444242 ns/op 21.95 MB/s 5275648 B/op 4 allocs/op BenchmarkSaveRestore/bits=64-4 1 195394063 ns/op 21.39 MB/s 9469952 B/op 4 allocs/op PASS ok index/suffixarray 366.491s goos: linux goarch: amd64 pkg: internal/fuzz cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMarshalCorpusFile/1-4 33956 3042 ns/op 0.33 MB/s BenchmarkMarshalCorpusFile/2-4 35002 3263 ns/op 0.61 MB/s BenchmarkMarshalCorpusFile/4-4 32743 3542 ns/op 1.13 MB/s BenchmarkMarshalCorpusFile/8-4 27352 4300 ns/op 1.86 MB/s BenchmarkMarshalCorpusFile/16-4 21784 5383 ns/op 2.97 MB/s BenchmarkMarshalCorpusFile/32-4 14700 8143 ns/op 3.93 MB/s BenchmarkMarshalCorpusFile/64-4 9160 12734 ns/op 5.03 MB/s BenchmarkMarshalCorpusFile/128-4 5029 20744 ns/op 6.17 MB/s BenchmarkMarshalCorpusFile/256-4 2644 39864 ns/op 6.42 MB/s BenchmarkMarshalCorpusFile/512-4 1470 78950 ns/op 6.49 MB/s BenchmarkMarshalCorpusFile/1024-4 733 150214 ns/op 6.82 MB/s BenchmarkMarshalCorpusFile/2048-4 369 303408 ns/op 6.75 MB/s BenchmarkMarshalCorpusFile/4096-4 190 600819 ns/op 6.82 MB/s BenchmarkMarshalCorpusFile/8192-4 92 1197549 ns/op 6.84 MB/s BenchmarkMarshalCorpusFile/16384-4 43 2423453 ns/op 6.76 MB/s BenchmarkMarshalCorpusFile/32768-4 18 6425561 ns/op 5.10 MB/s BenchmarkMarshalCorpusFile/65536-4 8 13395604 ns/op 4.89 MB/s BenchmarkMarshalCorpusFile/131072-4 4 30079259 ns/op 4.36 MB/s BenchmarkMarshalCorpusFile/262144-4 2 56316807 ns/op 4.65 MB/s BenchmarkMarshalCorpusFile/524288-4 1 127286965 ns/op 4.12 MB/s BenchmarkMarshalCorpusFile/1048576-4 1 220261160 ns/op 4.76 MB/s BenchmarkUnmarshalCorpusFile/1-4 8287 12642 ns/op 0.08 MB/s BenchmarkUnmarshalCorpusFile/2-4 8922 12644 ns/op 0.16 MB/s BenchmarkUnmarshalCorpusFile/4-4 8092 13908 ns/op 0.29 MB/s BenchmarkUnmarshalCorpusFile/8-4 7598 15880 ns/op 0.50 MB/s BenchmarkUnmarshalCorpusFile/16-4 5449 18921 ns/op 0.85 MB/s BenchmarkUnmarshalCorpusFile/32-4 4096 27597 ns/op 1.16 MB/s BenchmarkUnmarshalCorpusFile/64-4 3646 33592 ns/op 1.91 MB/s BenchmarkUnmarshalCorpusFile/128-4 2468 43415 ns/op 2.95 MB/s BenchmarkUnmarshalCorpusFile/256-4 1011 112750 ns/op 2.27 MB/s BenchmarkUnmarshalCorpusFile/512-4 580 212950 ns/op 2.40 MB/s BenchmarkUnmarshalCorpusFile/1024-4 283 401289 ns/op 2.55 MB/s BenchmarkUnmarshalCorpusFile/2048-4 148 790309 ns/op 2.59 MB/s BenchmarkUnmarshalCorpusFile/4096-4 74 1543538 ns/op 2.65 MB/s BenchmarkUnmarshalCorpusFile/8192-4 36 3164308 ns/op 2.59 MB/s BenchmarkUnmarshalCorpusFile/16384-4 16 6356009 ns/op 2.58 MB/s BenchmarkUnmarshalCorpusFile/32768-4 8 12665976 ns/op 2.59 MB/s BenchmarkUnmarshalCorpusFile/65536-4 4 25039919 ns/op 2.62 MB/s BenchmarkUnmarshalCorpusFile/131072-4 2 50726356 ns/op 2.58 MB/s BenchmarkUnmarshalCorpusFile/262144-4 1 103479289 ns/op 2.53 MB/s BenchmarkUnmarshalCorpusFile/524288-4 1 208552805 ns/op 2.51 MB/s BenchmarkUnmarshalCorpusFile/1048576-4 1 418594146 ns/op 2.50 MB/s BenchmarkMutatorBytes/1-4 30000 3434 ns/op BenchmarkMutatorBytes/10-4 38211 3283 ns/op BenchmarkMutatorBytes/100-4 33708 3469 ns/op BenchmarkMutatorBytes/1000-4 22915 5422 ns/op BenchmarkMutatorBytes/10000-4 5914 23859 ns/op BenchmarkMutatorBytes/100000-4 822 168488 ns/op BenchmarkMutatorString/1-4 33151 3514 ns/op BenchmarkMutatorString/10-4 35359 3484 ns/op BenchmarkMutatorString/100-4 31207 4313 ns/op BenchmarkMutatorString/1000-4 12918 7902 ns/op BenchmarkMutatorString/10000-4 2701 64414 ns/op BenchmarkMutatorString/100000-4 194 622412 ns/op BenchmarkMutatorAllBasicTypes/[]uint8-4 17601 6030 ns/op BenchmarkMutatorAllBasicTypes/string-4 19297 6154 ns/op BenchmarkMutatorAllBasicTypes/bool-4 60682 1995 ns/op BenchmarkMutatorAllBasicTypes/float32-4 53751 2192 ns/op BenchmarkMutatorAllBasicTypes/float64-4 55204 2188 ns/op BenchmarkMutatorAllBasicTypes/int-4 58498 2056 ns/op BenchmarkMutatorAllBasicTypes/int8-4 57474 2052 ns/op BenchmarkMutatorAllBasicTypes/int16-4 57603 2065 ns/op BenchmarkMutatorAllBasicTypes/int32-4 57452 2052 ns/op BenchmarkMutatorAllBasicTypes/int64-4 58058 2080 ns/op BenchmarkMutatorAllBasicTypes/uint8-4 56149 2129 ns/op BenchmarkMutatorAllBasicTypes/uint16-4 56655 2128 ns/op BenchmarkMutatorAllBasicTypes/uint32-4 57102 2161 ns/op BenchmarkMutatorAllBasicTypes/uint64-4 54865 2087 ns/op PASS ok internal/fuzz 12.359s goos: linux goarch: amd64 pkg: internal/intern cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStress-4 27688 3844 ns/op 0 B/op 0 allocs/op BenchmarkGetByString-4 127137 958.4 ns/op 0 B/op 0 allocs/op PASS ok internal/intern 1.389s goos: linux goarch: amd64 pkg: internal/poll cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSplicePipe/SplicePipeWithPool-4 38323 3453 ns/op BenchmarkSplicePipe/SplicePipeWithoutPool-4 10000 10600 ns/op BenchmarkSplicePipePoolParallel-4 109078 1029 ns/op BenchmarkSplicePipeNativeParallel-4 28402 4059 ns/op PASS ok internal/poll 1.704s goos: linux goarch: amd64 pkg: internal/trace cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMMU-4 5 21368223 ns/op PASS ok internal/trace 4.091s PASS ok internal/zstd 1.022s goos: linux goarch: amd64 pkg: io cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCopyNSmall-4 10000 15348 ns/op BenchmarkCopyNLarge-4 134 1160112 ns/op PASS ok io 1.432s goos: linux goarch: amd64 pkg: log cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkItoa-4 212588 527.2 ns/op BenchmarkPrintln-4 22332 5303 ns/op 77 B/op 1 allocs/op BenchmarkPrintlnNoFlags-4 34515 3516 ns/op 66 B/op 1 allocs/op BenchmarkConcurrent-4 2212 49126 ns/op BenchmarkDiscard-4 945249 129.2 ns/op 0 B/op 0 allocs/op PASS ok log 1.907s goos: linux goarch: amd64 pkg: log/slog cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkWriteTime-4 79914 1444 ns/op BenchmarkJSONHandler/defaults-4 6097 16452 ns/op 530 B/op 1 allocs/op BenchmarkJSONHandler/time_format-4 4280 26297 ns/op 777 B/op 6 allocs/op BenchmarkJSONHandler/time_unix-4 4881 22883 ns/op 778 B/op 5 allocs/op BenchmarkPreformatting/separate-4 7111 15681 ns/op 513 B/op 0 allocs/op BenchmarkPreformatting/struct-4 7837 15560 ns/op 519 B/op 0 allocs/op BenchmarkPreformatting/struct_file-4 5110 21153 ns/op 527 B/op 1 allocs/op BenchmarkJSONEncoding/json.Marshal-4 30462 3907 ns/op 80 B/op 3 allocs/op BenchmarkJSONEncoding/Encoder.Encode-4 30865 4134 ns/op 63 B/op 1 allocs/op BenchmarkNopLog/no_attrs-4 61362 1992 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-4 51666 2458 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-parallel-4 40509 2628 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/keys-values-4 49353 2555 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-4 52170 2492 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-parallel-4 44568 2721 ns/op 0 B/op 0 allocs/op BenchmarkPC/0-4 438250 270.1 ns/op 0 B/op 0 allocs/op BenchmarkPC/1-4 330571 369.5 ns/op 0 B/op 0 allocs/op BenchmarkPC/2-4 224680 519.2 ns/op 0 B/op 0 allocs/op BenchmarkPC/3-4 160918 746.6 ns/op 0 B/op 0 allocs/op BenchmarkPC/4-4 131529 900.3 ns/op 0 B/op 0 allocs/op BenchmarkRecord-4 6031 18862 ns/op BenchmarkDispatch/switch-checked-4 197888 609.6 ns/op BenchmarkDispatch/As-4 185458 639.9 ns/op BenchmarkDispatch/Visit-4 186376 632.1 ns/op BenchmarkUnsafeStrings-4 18648 6382 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.617s goos: linux goarch: amd64 pkg: log/slog/internal/benchmarks cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAttrs/disabled/5_args-4 2137394 55.51 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/5_args_ctx-4 1776882 67.51 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/10_args-4 1197382 92.90 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/40_args-4 398704 266.9 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args-4 53434 2085 ns/op 263 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args_ctx-4 68082 1845 ns/op 264 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/10_args-4 48699 2375 ns/op 468 B/op 1 allocs/op BenchmarkAttrs/fastText_discard/40_args-4 16831 8107 ns/op 2041 B/op 1 allocs/op BenchmarkAttrs/Text_discard/5_args-4 11943 9462 ns/op 606 B/op 3 allocs/op BenchmarkAttrs/Text_discard/5_args_ctx-4 12976 9317 ns/op 609 B/op 3 allocs/op BenchmarkAttrs/Text_discard/10_args-4 8581 13613 ns/op 888 B/op 6 allocs/op BenchmarkAttrs/Text_discard/40_args-4 3110 39319 ns/op 3019 B/op 22 allocs/op BenchmarkAttrs/JSON_discard/5_args-4 16052 7422 ns/op 536 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/5_args_ctx-4 17695 6997 ns/op 528 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/10_args-4 12289 11023 ns/op 732 B/op 2 allocs/op BenchmarkAttrs/JSON_discard/40_args-4 3975 27694 ns/op 2312 B/op 2 allocs/op PASS ok log/slog/internal/benchmarks 4.520s goos: linux goarch: amd64 pkg: maps cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMapClone-4 3 44527917 ns/op BenchmarkKeys-4 6 17331336 ns/op BenchmarkValues-4 7 16277922 ns/op PASS ok maps 5.466s goos: linux goarch: amd64 pkg: math cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAcos-4 2203425 54.25 ns/op BenchmarkAcosh-4 925368 111.5 ns/op BenchmarkAsin-4 2207565 54.33 ns/op BenchmarkAsinh-4 966106 119.1 ns/op BenchmarkAtan-4 2923210 41.41 ns/op BenchmarkAtanh-4 998685 112.9 ns/op BenchmarkAtan2-4 2104243 56.66 ns/op BenchmarkCbrt-4 1423273 84.10 ns/op BenchmarkCeil-4 21076166 5.667 ns/op BenchmarkCompare-4 3666708 32.31 ns/op BenchmarkCompare32-4 4918629 24.17 ns/op BenchmarkCopysign-4 2935599 40.97 ns/op BenchmarkCos-4 1337508 89.19 ns/op BenchmarkCosh-4 1480216 81.69 ns/op BenchmarkErf-4 2777500 43.40 ns/op BenchmarkErfc-4 2668534 44.93 ns/op BenchmarkErfinv-4 2440626 49.43 ns/op BenchmarkErfcinv-4 2411840 48.95 ns/op BenchmarkExp-4 5849727 19.69 ns/op BenchmarkExpGo-4 903002 127.9 ns/op BenchmarkExpm1-4 1922389 63.03 ns/op BenchmarkExp2-4 915037 120.5 ns/op BenchmarkExp2Go-4 862628 126.0 ns/op BenchmarkAbs-4 3621214 32.30 ns/op BenchmarkDim-4 8019637 15.11 ns/op BenchmarkFloor-4 20869028 5.730 ns/op BenchmarkMax-4 14155910 8.497 ns/op BenchmarkMin-4 13894510 8.626 ns/op BenchmarkMod-4 325770 345.0 ns/op BenchmarkFrexp-4 1995438 60.92 ns/op BenchmarkGamma-4 692181 169.9 ns/op BenchmarkHypot-4 10162831 11.01 ns/op BenchmarkHypotGo-4 1544643 77.29 ns/op BenchmarkIlogb-4 2405670 50.11 ns/op BenchmarkJ0-4 240610 492.0 ns/op BenchmarkJ1-4 248214 479.0 ns/op BenchmarkJn-4 113827 1072 ns/op BenchmarkLdexp-4 1893411 62.26 ns/op BenchmarkLgamma-4 852714 139.4 ns/op BenchmarkLog-4 5020645 21.46 ns/op BenchmarkLogb-4 2415487 49.32 ns/op BenchmarkLog1p-4 1280637 92.49 ns/op BenchmarkLog10-4 4821696 23.11 ns/op BenchmarkLog2-4 1497644 78.34 ns/op BenchmarkModf-4 3031713 39.69 ns/op BenchmarkNextafter32-4 2832613 41.89 ns/op BenchmarkNextafter64-4 2910919 40.78 ns/op BenchmarkPowInt-4 611709 192.7 ns/op BenchmarkPowFrac-4 443158 271.5 ns/op BenchmarkPow10Pos-4 4284646 28.40 ns/op BenchmarkPow10Neg-4 4049373 29.43 ns/op BenchmarkRound-4 3645802 32.71 ns/op BenchmarkRoundToEven-4 7996440 14.94 ns/op BenchmarkRemainder-4 498903 233.3 ns/op BenchmarkSignbit-4 5029400 23.65 ns/op BenchmarkSin-4 1607007 73.27 ns/op BenchmarkSincos-4 982630 118.8 ns/op BenchmarkSinh-4 1754523 68.27 ns/op BenchmarkSqrtIndirect-4 16453892 6.475 ns/op BenchmarkSqrtLatency-4 16523756 6.825 ns/op BenchmarkSqrtIndirectLatency-4 16107213 6.800 ns/op BenchmarkSqrtGoLatency-4 1000000 105.7 ns/op BenchmarkSqrtPrime-4 32161 3749 ns/op BenchmarkTan-4 1452865 82.06 ns/op BenchmarkTanh-4 1352367 88.19 ns/op BenchmarkTrunc-4 16664120 6.155 ns/op BenchmarkY0-4 236947 477.2 ns/op BenchmarkY1-4 246076 486.4 ns/op BenchmarkYn-4 118482 988.2 ns/op BenchmarkFloat64bits-4 2603736 45.83 ns/op BenchmarkFloat64frombits-4 5090260 23.40 ns/op BenchmarkFloat32bits-4 4355793 27.00 ns/op BenchmarkFloat32frombits-4 4791546 25.17 ns/op BenchmarkFMA-4 19581956 6.058 ns/op PASS ok math 12.664s goos: linux goarch: amd64 pkg: math/big cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAddVV/1-4 12520239 9.433 ns/op 6784.61 MB/s BenchmarkAddVV/2-4 11492378 10.51 ns/op 12179.00 MB/s BenchmarkAddVV/3-4 9906511 12.42 ns/op 15456.87 MB/s BenchmarkAddVV/4-4 10230986 11.53 ns/op 22195.09 MB/s BenchmarkAddVV/5-4 9450714 12.66 ns/op 25269.10 MB/s BenchmarkAddVV/10-4 7884967 15.17 ns/op 42179.10 MB/s BenchmarkAddVV/100-4 1642574 71.46 ns/op 89562.26 MB/s BenchmarkAddVV/1000-4 203432 588.5 ns/op 108754.88 MB/s BenchmarkSubVV/1-4 11950719 9.907 ns/op 6460.25 MB/s BenchmarkSubVV/2-4 10994702 10.79 ns/op 11866.66 MB/s BenchmarkSubVV/3-4 9422524 12.81 ns/op 14986.12 MB/s BenchmarkSubVV/4-4 10177882 11.85 ns/op 21607.17 MB/s BenchmarkSubVV/5-4 9491953 12.75 ns/op 25093.14 MB/s BenchmarkSubVV/10-4 7776670 15.35 ns/op 41681.46 MB/s BenchmarkSubVV/100-4 1654489 72.21 ns/op 88629.83 MB/s BenchmarkSubVV/1000-4 202614 589.3 ns/op 108596.66 MB/s BenchmarkAddVW/1-4 13867896 8.689 ns/op 920.75 MB/s BenchmarkAddVW/2-4 12799514 9.416 ns/op 1699.17 MB/s BenchmarkAddVW/3-4 11019387 10.78 ns/op 2227.25 MB/s BenchmarkAddVW/4-4 11920316 9.918 ns/op 3226.51 MB/s BenchmarkAddVW/5-4 11623192 10.33 ns/op 3873.95 MB/s BenchmarkAddVW/10-4 9121570 13.04 ns/op 6134.40 MB/s BenchmarkAddVW/100-4 251120 444.7 ns/op 1798.79 MB/s BenchmarkAddVW/1000-4 35390 3392 ns/op 2358.25 MB/s BenchmarkAddVWext/1-4 14372848 8.346 ns/op 958.53 MB/s BenchmarkAddVWext/2-4 13148694 9.220 ns/op 1735.33 MB/s BenchmarkAddVWext/3-4 12499719 9.626 ns/op 2493.31 MB/s BenchmarkAddVWext/4-4 11933190 10.00 ns/op 3199.29 MB/s BenchmarkAddVWext/5-4 10976913 10.91 ns/op 3667.76 MB/s BenchmarkAddVWext/10-4 9174962 13.17 ns/op 6073.41 MB/s BenchmarkAddVWext/100-4 80554 1474 ns/op 542.72 MB/s BenchmarkAddVWext/1000-4 8040 14223 ns/op 562.46 MB/s BenchmarkSubVW/1-4 13439294 8.683 ns/op 921.34 MB/s BenchmarkSubVW/2-4 12028542 9.983 ns/op 1602.74 MB/s BenchmarkSubVW/3-4 10306364 11.68 ns/op 2054.34 MB/s BenchmarkSubVW/4-4 12021673 9.958 ns/op 3213.58 MB/s BenchmarkSubVW/5-4 11123529 10.75 ns/op 3719.60 MB/s BenchmarkSubVW/10-4 8992470 13.25 ns/op 6036.88 MB/s BenchmarkSubVW/100-4 262357 457.9 ns/op 1746.98 MB/s BenchmarkSubVW/1000-4 34995 3419 ns/op 2339.96 MB/s BenchmarkSubVWext/1-4 13619005 8.693 ns/op 920.32 MB/s BenchmarkSubVWext/2-4 12948542 9.100 ns/op 1758.21 MB/s BenchmarkSubVWext/3-4 11539480 10.29 ns/op 2332.32 MB/s BenchmarkSubVWext/4-4 12072134 10.01 ns/op 3197.55 MB/s BenchmarkSubVWext/5-4 11085675 10.86 ns/op 3684.15 MB/s BenchmarkSubVWext/10-4 8913026 13.48 ns/op 5934.41 MB/s BenchmarkSubVWext/100-4 82131 1456 ns/op 549.36 MB/s BenchmarkSubVWext/1000-4 8406 14205 ns/op 563.18 MB/s BenchmarkMulAddVWW/1-4 11672199 10.22 ns/op 6260.68 MB/s BenchmarkMulAddVWW/2-4 10781139 11.08 ns/op 11550.66 MB/s BenchmarkMulAddVWW/3-4 10175719 11.61 ns/op 16530.79 MB/s BenchmarkMulAddVWW/4-4 9552831 12.57 ns/op 20371.28 MB/s BenchmarkMulAddVWW/5-4 8382560 14.14 ns/op 22624.22 MB/s BenchmarkMulAddVWW/10-4 6644048 18.44 ns/op 34708.03 MB/s BenchmarkMulAddVWW/100-4 1000000 108.3 ns/op 59114.94 MB/s BenchmarkMulAddVWW/1000-4 127416 936.4 ns/op 68343.95 MB/s BenchmarkAddMulVVW/1-4 12152156 9.843 ns/op 6502.38 MB/s BenchmarkAddMulVVW/2-4 11092036 10.97 ns/op 11669.05 MB/s BenchmarkAddMulVVW/3-4 10158368 12.01 ns/op 15991.97 MB/s BenchmarkAddMulVVW/4-4 9143718 13.10 ns/op 19535.36 MB/s BenchmarkAddMulVVW/5-4 8360594 14.26 ns/op 22442.08 MB/s BenchmarkAddMulVVW/10-4 7061748 16.95 ns/op 37765.79 MB/s BenchmarkAddMulVVW/100-4 1479724 80.85 ns/op 79155.78 MB/s BenchmarkAddMulVVW/1000-4 165866 717.0 ns/op 89256.39 MB/s BenchmarkDivWVW/1-4 2628835 46.35 ns/op 1380.89 MB/s BenchmarkDivWVW/2-4 1238107 97.45 ns/op 1313.43 MB/s BenchmarkDivWVW/3-4 893812 125.8 ns/op 1526.10 MB/s BenchmarkDivWVW/4-4 788032 148.6 ns/op 1723.24 MB/s BenchmarkDivWVW/5-4 766098 153.5 ns/op 2084.46 MB/s BenchmarkDivWVW/10-4 409962 285.0 ns/op 2245.88 MB/s BenchmarkDivWVW/100-4 53924 2167 ns/op 2952.77 MB/s BenchmarkDivWVW/1000-4 5631 21075 ns/op 3036.78 MB/s BenchmarkNonZeroShifts/1/shrVU-4 11292673 10.41 ns/op BenchmarkNonZeroShifts/1/shlVU-4 11768227 10.25 ns/op BenchmarkNonZeroShifts/2/shrVU-4 10617885 11.35 ns/op BenchmarkNonZeroShifts/2/shlVU-4 10620604 11.22 ns/op BenchmarkNonZeroShifts/3/shrVU-4 9697640 12.46 ns/op BenchmarkNonZeroShifts/3/shlVU-4 9895623 12.08 ns/op BenchmarkNonZeroShifts/4/shrVU-4 8645916 13.60 ns/op BenchmarkNonZeroShifts/4/shlVU-4 9407293 12.61 ns/op BenchmarkNonZeroShifts/5/shrVU-4 8236390 14.49 ns/op BenchmarkNonZeroShifts/5/shlVU-4 8858138 13.38 ns/op BenchmarkNonZeroShifts/10/shrVU-4 6354212 19.12 ns/op BenchmarkNonZeroShifts/10/shlVU-4 6898394 17.14 ns/op BenchmarkNonZeroShifts/100/shrVU-4 1000000 112.5 ns/op BenchmarkNonZeroShifts/100/shlVU-4 1249603 95.45 ns/op BenchmarkNonZeroShifts/1000/shrVU-4 128526 937.1 ns/op BenchmarkNonZeroShifts/1000/shlVU-4 155412 777.8 ns/op BenchmarkDecimalConversion-4 208 548384 ns/op BenchmarkFloatString/100-4 10000 10402 ns/op 392 B/op 8 allocs/op BenchmarkFloatString/1000-4 223 531249 ns/op 2905 B/op 9 allocs/op BenchmarkFloatString/10000-4 3 49406677 ns/op 61037 B/op 53 allocs/op BenchmarkFloatString/100000-4 1 4941882531 ns/op 804120 B/op 505 allocs/op BenchmarkFloatAdd/10-4 167809 699.4 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100-4 165956 720.4 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/1000-4 150661 783.0 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/10000-4 83960 1416 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100000-4 17235 6920 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10-4 224984 524.6 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100-4 227506 525.7 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/1000-4 219730 547.6 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10000-4 158966 761.8 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100000-4 44599 2732 ns/op 0 B/op 0 allocs/op BenchmarkParseFloatSmallExp-4 1923 61059 ns/op BenchmarkParseFloatLargeExp-4 433 258982 ns/op BenchmarkGCD10x10/WithoutXY-4 195826 597.0 ns/op BenchmarkGCD10x10/WithXY-4 58068 2023 ns/op BenchmarkGCD10x100/WithoutXY-4 94798 1188 ns/op BenchmarkGCD10x100/WithXY-4 16478 7349 ns/op BenchmarkGCD10x1000/WithoutXY-4 59472 1835 ns/op BenchmarkGCD10x1000/WithXY-4 13896 8734 ns/op BenchmarkGCD100x100/WithoutXY-4 23785 4661 ns/op BenchmarkGCD100x100/WithXY-4 9493 11804 ns/op BenchmarkGCD100x1000/WithoutXY-4 12007 10096 ns/op BenchmarkGCD100x1000/WithXY-4 5660 19918 ns/op BenchmarkGCD1000x1000/WithoutXY-4 2078 55363 ns/op BenchmarkGCD1000x1000/WithXY-4 1191 97458 ns/op BenchmarkHilbert-4 21 5226458 ns/op BenchmarkBinomial-4 14437 8202 ns/op BenchmarkQuoRem-4 20252 6132 ns/op BenchmarkExp-4 15 7495299 ns/op BenchmarkExpMont/Odd-4 126 936803 ns/op 2584 B/op 21 allocs/op BenchmarkExpMont/Even1-4 124 955131 ns/op 3365 B/op 38 allocs/op BenchmarkExpMont/Even2-4 120 997166 ns/op 3872 B/op 54 allocs/op BenchmarkExpMont/Even3-4 100 1019557 ns/op 3827 B/op 52 allocs/op BenchmarkExpMont/Even4-4 121 970185 ns/op 3888 B/op 54 allocs/op BenchmarkExpMont/Even8-4 121 973004 ns/op 3842 B/op 53 allocs/op BenchmarkExpMont/Even32-4 121 979774 ns/op 3849 B/op 53 allocs/op BenchmarkExpMont/Even64-4 145 802424 ns/op 3661 B/op 54 allocs/op BenchmarkExpMont/Even96-4 139 857446 ns/op 3774 B/op 51 allocs/op BenchmarkExpMont/Even128-4 164 739291 ns/op 3239 B/op 50 allocs/op BenchmarkExpMont/Even255-4 183 638802 ns/op 2951 B/op 47 allocs/op BenchmarkExpMont/SmallEven1-4 444 261320 ns/op 1312 B/op 34 allocs/op BenchmarkExpMont/SmallEven2-4 392 299028 ns/op 1727 B/op 46 allocs/op BenchmarkExpMont/SmallEven3-4 364 313895 ns/op 1731 B/op 47 allocs/op BenchmarkExpMont/SmallEven4-4 392 304076 ns/op 1736 B/op 47 allocs/op BenchmarkExp2-4 14 7577397 ns/op BenchmarkBitset-4 806760 144.9 ns/op BenchmarkBitsetNeg-4 411600 269.8 ns/op BenchmarkBitsetOrig-4 242779 500.1 ns/op BenchmarkBitsetNegOrig-4 149948 761.5 ns/op BenchmarkModSqrt225_Tonelli-4 100 1029200 ns/op BenchmarkModSqrt225_3Mod4-4 379 314445 ns/op BenchmarkModSqrt231_Tonelli-4 97 1082996 ns/op BenchmarkModSqrt231_5Mod8-4 313 369035 ns/op BenchmarkModInverse-4 12231 10119 ns/op BenchmarkSqrt-4 1519 75906 ns/op BenchmarkIntSqr/1-4 1445834 81.91 ns/op BenchmarkIntSqr/2-4 757718 153.2 ns/op BenchmarkIntSqr/3-4 648318 181.1 ns/op BenchmarkIntSqr/5-4 446497 271.1 ns/op BenchmarkIntSqr/8-4 324681 372.8 ns/op BenchmarkIntSqr/10-4 256426 464.7 ns/op BenchmarkIntSqr/20-4 45453 2630 ns/op BenchmarkIntSqr/30-4 34792 3520 ns/op BenchmarkIntSqr/50-4 21046 5621 ns/op BenchmarkIntSqr/80-4 13083 9093 ns/op BenchmarkIntSqr/100-4 8733 12237 ns/op BenchmarkIntSqr/200-4 3535 30982 ns/op BenchmarkIntSqr/300-4 1380 73588 ns/op BenchmarkIntSqr/500-4 792 161371 ns/op BenchmarkIntSqr/800-4 294 406730 ns/op BenchmarkIntSqr/1000-4 211 539277 ns/op BenchmarkDiv/20/10-4 422298 275.4 ns/op BenchmarkDiv/40/20-4 427712 274.1 ns/op BenchmarkDiv/100/50-4 361136 321.3 ns/op BenchmarkDiv/200/100-4 47509 2586 ns/op BenchmarkDiv/400/200-4 46845 2694 ns/op BenchmarkDiv/1000/500-4 38122 3290 ns/op BenchmarkDiv/2000/1000-4 28030 4484 ns/op BenchmarkDiv/20000/10000-4 1018 115732 ns/op BenchmarkDiv/200000/100000-4 25 4877808 ns/op BenchmarkDiv/2000000/1000000-4 1 127516704 ns/op BenchmarkDiv/20000000/10000000-4 1 3719354004 ns/op BenchmarkMul-4 5 23209562 ns/op BenchmarkNatMul/10-4 167752 681.7 ns/op BenchmarkNatMul/100-4 5552 22033 ns/op BenchmarkNatMul/1000-4 170 673194 ns/op BenchmarkZeroShifts/Shl-4 15252 7994 ns/op BenchmarkZeroShifts/ShlSame-4 5363979 22.20 ns/op BenchmarkZeroShifts/Shr-4 15864 7433 ns/op BenchmarkZeroShifts/ShrSame-4 5249218 22.83 ns/op BenchmarkExp3Power/0x10-4 169882 662.8 ns/op BenchmarkExp3Power/0x40-4 158797 731.3 ns/op BenchmarkExp3Power/0x100-4 90171 1251 ns/op BenchmarkExp3Power/0x400-4 41166 2738 ns/op BenchmarkExp3Power/0x1000-4 9021 12822 ns/op BenchmarkExp3Power/0x4000-4 1644 64240 ns/op BenchmarkExp3Power/0x10000-4 202 590042 ns/op BenchmarkExp3Power/0x40000-4 16 6719974 ns/op BenchmarkExp3Power/0x100000-4 2 61608649 ns/op BenchmarkExp3Power/0x400000-4 1 566248878 ns/op BenchmarkFibo-4 3 39540030 ns/op BenchmarkNatSqr/1-4 851188 126.8 ns/op BenchmarkNatSqr/2-4 462506 229.7 ns/op BenchmarkNatSqr/3-4 482923 271.7 ns/op BenchmarkNatSqr/5-4 314990 400.6 ns/op BenchmarkNatSqr/8-4 213568 561.6 ns/op BenchmarkNatSqr/10-4 152528 683.9 ns/op BenchmarkNatSqr/20-4 39787 2825 ns/op BenchmarkNatSqr/30-4 31376 3652 ns/op BenchmarkNatSqr/50-4 19299 6011 ns/op BenchmarkNatSqr/80-4 11836 10090 ns/op BenchmarkNatSqr/100-4 8271 13265 ns/op BenchmarkNatSqr/200-4 3231 34421 ns/op BenchmarkNatSqr/300-4 1298 81707 ns/op BenchmarkNatSqr/500-4 718 159864 ns/op BenchmarkNatSqr/800-4 294 380322 ns/op BenchmarkNatSqr/1000-4 226 526212 ns/op BenchmarkNatSetBytes/8-4 680052 169.3 ns/op BenchmarkNatSetBytes/24-4 198372 572.7 ns/op BenchmarkNatSetBytes/128-4 46125 2558 ns/op BenchmarkNatSetBytes/7-4 769916 150.7 ns/op BenchmarkNatSetBytes/23-4 203629 556.9 ns/op BenchmarkNatSetBytes/127-4 46780 2532 ns/op BenchmarkScanPi-4 246 473565 ns/op BenchmarkStringPiParallel-4 541 196775 ns/op BenchmarkScan/10/Base2-4 41376 2904 ns/op BenchmarkScan/100/Base2-4 4683 25523 ns/op BenchmarkScan/1000/Base2-4 475 248640 ns/op BenchmarkScan/10/Base8-4 97128 1191 ns/op BenchmarkScan/100/Base8-4 13680 8848 ns/op BenchmarkScan/1000/Base8-4 1365 85735 ns/op BenchmarkScan/10/Base10-4 106801 1124 ns/op BenchmarkScan/100/Base10-4 14830 8114 ns/op BenchmarkScan/1000/Base10-4 1522 80277 ns/op BenchmarkScan/10/Base16-4 113280 1040 ns/op BenchmarkScan/100/Base16-4 16383 7187 ns/op BenchmarkScan/1000/Base16-4 1669 70128 ns/op BenchmarkString/10/Base2-4 169742 699.6 ns/op BenchmarkString/100/Base2-4 23416 5072 ns/op BenchmarkString/1000/Base2-4 2439 48764 ns/op BenchmarkString/10/Base8-4 335955 357.6 ns/op BenchmarkString/100/Base8-4 60416 1885 ns/op BenchmarkString/1000/Base8-4 7095 17269 ns/op BenchmarkString/10/Base10-4 195813 588.6 ns/op BenchmarkString/100/Base10-4 37267 3096 ns/op BenchmarkString/1000/Base10-4 4494 25491 ns/op BenchmarkString/10/Base16-4 373580 316.2 ns/op BenchmarkString/100/Base16-4 80924 1428 ns/op BenchmarkString/1000/Base16-4 9145 12609 ns/op BenchmarkLeafSize/0-4 42 2746038 ns/op BenchmarkLeafSize/1-4 390 294007 ns/op BenchmarkLeafSize/2-4 382 292534 ns/op BenchmarkLeafSize/3-4 289 401652 ns/op BenchmarkLeafSize/4-4 393 286789 ns/op BenchmarkLeafSize/5-4 235 452968 ns/op BenchmarkLeafSize/6-4 294 388351 ns/op BenchmarkLeafSize/7-4 297 375610 ns/op BenchmarkLeafSize/8-4 385 285432 ns/op BenchmarkLeafSize/9-4 212 534077 ns/op BenchmarkLeafSize/10-4 224 456573 ns/op BenchmarkLeafSize/11-4 271 432398 ns/op BenchmarkLeafSize/12-4 282 401764 ns/op BenchmarkLeafSize/13-4 262 426090 ns/op BenchmarkLeafSize/14-4 307 373494 ns/op BenchmarkLeafSize/15-4 324 347173 ns/op BenchmarkLeafSize/16-4 414 282862 ns/op BenchmarkLeafSize/32-4 393 289066 ns/op BenchmarkLeafSize/64-4 366 305100 ns/op BenchmarkProbablyPrime/n=0-4 9 12140822 ns/op BenchmarkProbablyPrime/n=1-4 8 13548987 ns/op BenchmarkProbablyPrime/n=5-4 6 19865800 ns/op BenchmarkProbablyPrime/n=10-4 4 26640814 ns/op BenchmarkProbablyPrime/n=20-4 3 42483876 ns/op BenchmarkProbablyPrime/Lucas-4 10 10451584 ns/op BenchmarkProbablyPrime/MillerRabinBase2-4 74 1543290 ns/op BenchmarkRatCmp-4 207618 534.3 ns/op BenchmarkFloatSqrt/64-4 21896 5315 ns/op 208 B/op 5 allocs/op BenchmarkFloatSqrt/128-4 13732 8341 ns/op 256 B/op 5 allocs/op BenchmarkFloatSqrt/256-4 8336 12022 ns/op 352 B/op 5 allocs/op BenchmarkFloatSqrt/1000-4 4951 24169 ns/op 1312 B/op 6 allocs/op BenchmarkFloatSqrt/10000-4 758 147163 ns/op 17939 B/op 9 allocs/op BenchmarkFloatSqrt/100000-4 61 1967316 ns/op 177018 B/op 21 allocs/op BenchmarkFloatSqrt/1000000-4 1 151556038 ns/op 3704064 B/op 577 allocs/op PASS ok math/big 51.292s goos: linux goarch: amd64 pkg: math/bits cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLeadingZeros-4 8498354 13.95 ns/op BenchmarkLeadingZeros8-4 8374353 14.56 ns/op BenchmarkLeadingZeros16-4 9869442 12.17 ns/op BenchmarkLeadingZeros32-4 9725088 12.37 ns/op BenchmarkLeadingZeros64-4 10384550 11.47 ns/op BenchmarkTrailingZeros-4 10853208 11.08 ns/op BenchmarkTrailingZeros8-4 9489272 12.62 ns/op BenchmarkTrailingZeros16-4 10530447 11.48 ns/op BenchmarkTrailingZeros32-4 9811786 12.41 ns/op BenchmarkTrailingZeros64-4 10709221 11.04 ns/op BenchmarkOnesCount-4 10401148 11.30 ns/op BenchmarkOnesCount8-4 9416305 12.61 ns/op BenchmarkOnesCount16-4 9887012 12.23 ns/op BenchmarkOnesCount32-4 9626211 12.32 ns/op BenchmarkOnesCount64-4 10656332 11.45 ns/op BenchmarkRotateLeft-4 9289712 12.70 ns/op BenchmarkRotateLeft8-4 10265516 11.84 ns/op BenchmarkRotateLeft16-4 9138580 12.86 ns/op BenchmarkRotateLeft32-4 10050812 11.99 ns/op BenchmarkRotateLeft64-4 10177087 11.73 ns/op BenchmarkReverse-4 15830238 7.603 ns/op BenchmarkReverse8-4 20927192 5.747 ns/op BenchmarkReverse16-4 15842181 6.520 ns/op BenchmarkReverse32-4 13891945 7.346 ns/op BenchmarkReverse64-4 15606667 7.700 ns/op BenchmarkReverseBytes-4 20515550 5.808 ns/op BenchmarkReverseBytes16-4 20947898 5.788 ns/op BenchmarkReverseBytes32-4 20958546 5.713 ns/op BenchmarkReverseBytes64-4 20881706 5.822 ns/op BenchmarkAdd-4 10618188 11.17 ns/op BenchmarkAdd32-4 9316972 12.65 ns/op BenchmarkAdd64-4 10840334 11.25 ns/op BenchmarkAdd64multiple-4 18053898 6.459 ns/op BenchmarkSub-4 9628087 12.49 ns/op BenchmarkSub32-4 9164755 12.68 ns/op BenchmarkSub64-4 10645186 11.16 ns/op BenchmarkSub64multiple-4 18346297 6.575 ns/op BenchmarkMul-4 10417450 11.54 ns/op BenchmarkMul32-4 9447960 12.62 ns/op BenchmarkMul64-4 10342672 11.48 ns/op BenchmarkDiv-4 2627251 45.56 ns/op BenchmarkDiv32-4 5667896 21.38 ns/op BenchmarkDiv64-4 2678658 44.62 ns/op PASS ok math/bits 7.473s goos: linux goarch: amd64 pkg: math/cmplx cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAbs-4 10150428 11.71 ns/op BenchmarkAcos-4 455091 264.5 ns/op BenchmarkAcosh-4 404911 281.1 ns/op BenchmarkAsin-4 426886 264.1 ns/op BenchmarkAsinh-4 430928 266.0 ns/op BenchmarkAtan-4 674631 166.7 ns/op BenchmarkAtanh-4 712466 166.1 ns/op BenchmarkConj-4 16709158 7.154 ns/op BenchmarkCos-4 579454 208.6 ns/op BenchmarkCosh-4 561279 212.2 ns/op BenchmarkExp-4 678590 160.3 ns/op BenchmarkLog-4 803205 146.8 ns/op BenchmarkLog10-4 770979 146.5 ns/op BenchmarkPhase-4 1757940 68.59 ns/op BenchmarkPolar-4 1000000 101.0 ns/op BenchmarkPow-4 218780 536.2 ns/op BenchmarkRect-4 973806 121.0 ns/op BenchmarkSin-4 544225 213.8 ns/op BenchmarkSinh-4 558568 211.4 ns/op BenchmarkSqrt-4 1000000 117.8 ns/op BenchmarkTan-4 357607 335.6 ns/op BenchmarkTanh-4 378398 306.1 ns/op PASS ok math/cmplx 3.959s goos: linux goarch: amd64 pkg: math/rand cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkInt63Threadsafe-4 701650 171.0 ns/op BenchmarkInt63ThreadsafeParallel-4 538015 213.7 ns/op BenchmarkInt63Unthreadsafe-4 1000000 100.3 ns/op BenchmarkIntn1000-4 769909 141.8 ns/op BenchmarkInt63n1000-4 882327 131.9 ns/op BenchmarkInt31n1000-4 948825 123.8 ns/op BenchmarkFloat32-4 932997 118.8 ns/op BenchmarkFloat64-4 1000000 100.2 ns/op BenchmarkPerm3-4 186219 640.0 ns/op BenchmarkPerm30-4 21620 5321 ns/op BenchmarkPerm30ViaShuffle-4 24705 4804 ns/op BenchmarkShuffleOverhead-4 17341 6790 ns/op BenchmarkRead3-4 903548 133.8 ns/op BenchmarkRead64-4 71760 1578 ns/op BenchmarkRead1000-4 5018 23687 ns/op BenchmarkConcurrent-4 177506 885.2 ns/op PASS ok math/rand 3.252s goos: linux goarch: amd64 pkg: mime cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkQEncodeWord-4 39678 2815 ns/op BenchmarkQDecodeWord-4 97304 1149 ns/op BenchmarkQDecodeHeader-4 91440 1196 ns/op BenchmarkTypeByExtension/.html-4 335546 315.9 ns/op BenchmarkTypeByExtension/.HTML-4 261673 408.8 ns/op BenchmarkTypeByExtension/.unused-4 337310 384.9 ns/op BenchmarkExtensionsByType/text/html-4 150333 802.7 ns/op BenchmarkExtensionsByType/text/html;_charset=utf-8-4 83614 1386 ns/op BenchmarkExtensionsByType/application/octet-stream-4 124533 1093 ns/op PASS ok mime 2.317s goos: linux goarch: amd64 pkg: mime/multipart cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadForm/fields/maxMemory=0-4 687 172939 ns/op 47792 B/op 187 allocs/op BenchmarkReadForm/fields/maxMemory=1048576-4 618 173367 ns/op 48020 B/op 187 allocs/op BenchmarkReadForm/files/maxMemory=0-4 238 486072 ns/op 104618 B/op 271 allocs/op BenchmarkReadForm/files/maxMemory=1048576-4 470 228678 ns/op 49061 B/op 206 allocs/op PASS ok mime/multipart 1.698s goos: linux goarch: amd64 pkg: mime/quotedprintable cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkWriter-4 936 124040 ns/op PASS ok mime/quotedprintable 1.149s goos: linux goarch: amd64 pkg: net cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkGoLookupIP-4 117 1054792 ns/op 8494 B/op 91 allocs/op BenchmarkGoLookupIPNoSuchHost-4 14 8899439 ns/op 19376 B/op 160 allocs/op BenchmarkGoLookupIPWithBrokenNameServer-4 1 5007820215 ns/op 158752 B/op 230 allocs/op BenchmarkDNSName-4 108702 1002 ns/op BenchmarkInterfaces-4 1224 90755 ns/op 16943 B/op 42 allocs/op BenchmarkInterfaceByIndex-4 1560 66932 ns/op 12383 B/op 25 allocs/op BenchmarkInterfaceByName-4 1359 88944 ns/op 16891 B/op 43 allocs/op BenchmarkInterfaceAddrs-4 843 131728 ns/op 22635 B/op 102 allocs/op BenchmarkInterfacesAndAddrs-4 2770 41082 ns/op 3941 B/op 33 allocs/op BenchmarkInterfacesAndMulticastAddrs-4 450 236871 ns/op 137587 B/op 51 allocs/op BenchmarkParseIP-4 5745 18692 ns/op BenchmarkParseIPValidIPv4-4 323984 354.6 ns/op BenchmarkParseIPValidIPv6-4 168505 707.6 ns/op BenchmarkIPString/IPv4-4 111050 1043 ns/op 32 B/op 2 allocs/op BenchmarkIPString/IPv6-4 9720 12008 ns/op 216 B/op 11 allocs/op BenchmarkIPMaskString-4 43885 2618 ns/op BenchmarkIPEqual/IPv4-4 1085235 111.4 ns/op BenchmarkIPEqual/IPv6-4 1094286 107.7 ns/op BenchmarkSendFile/1024-4 1 1208972298 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/2048-4 1 1206426812 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/4096-4 1 1206283313 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/8192-4 1 1206075408 ns/op 0.01 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/16384-4 1 1206647899 ns/op 0.01 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/32768-4 1 1017230928 ns/op 0.03 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/65536-4 1 1017766456 ns/op 0.06 MB/s 616 B/op 12 allocs/op BenchmarkSendFile/131072-4 1 1017427638 ns/op 0.13 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/262144-4 1 1017832996 ns/op 0.26 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/524288-4 1 1019060863 ns/op 0.51 MB/s 616 B/op 12 allocs/op BenchmarkSendFile/1048576-4 1 1021026062 ns/op 1.03 MB/s 712 B/op 13 allocs/op BenchmarkSplice/tcp-to-tcp/1024-4 1 1017042884 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/2048-4 1 1017579530 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/4096-4 1 1017150713 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/8192-4 1 1017663802 ns/op 0.01 MB/s BenchmarkSplice/tcp-to-tcp/16384-4 1 1017062750 ns/op 0.02 MB/s BenchmarkSplice/tcp-to-tcp/32768-4 1 1017226565 ns/op 0.03 MB/s BenchmarkSplice/tcp-to-tcp/65536-4 1 1017199368 ns/op 0.06 MB/s BenchmarkSplice/tcp-to-tcp/131072-4 1 1017857019 ns/op 0.13 MB/s BenchmarkSplice/tcp-to-tcp/262144-4 1 1018407465 ns/op 0.26 MB/s BenchmarkSplice/tcp-to-tcp/524288-4 1 1019602063 ns/op 0.51 MB/s BenchmarkSplice/tcp-to-tcp/1048576-4 1 1021476781 ns/op 1.03 MB/s BenchmarkSplice/unix-to-tcp/1024-4 1 1017804727 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/2048-4 1 1017185504 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/4096-4 1 1018109570 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/8192-4 1 1017394354 ns/op 0.01 MB/s BenchmarkSplice/unix-to-tcp/16384-4 1 1017167408 ns/op 0.02 MB/s BenchmarkSplice/unix-to-tcp/32768-4 1 1017359013 ns/op 0.03 MB/s BenchmarkSplice/unix-to-tcp/65536-4 1 1017069944 ns/op 0.06 MB/s BenchmarkSplice/unix-to-tcp/131072-4 1 1017453279 ns/op 0.13 MB/s BenchmarkSplice/unix-to-tcp/262144-4 1 1018391495 ns/op 0.26 MB/s BenchmarkSplice/unix-to-tcp/524288-4 1 1019132710 ns/op 0.51 MB/s BenchmarkSplice/unix-to-tcp/1048576-4 1 1020635235 ns/op 1.03 MB/s BenchmarkSpliceFile/tcp-to-file/1024-4 1 1017384399 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/2048-4 1 1016804056 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/4096-4 1 1017224870 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/8192-4 1 1016706528 ns/op 0.01 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/16384-4 1 1016636068 ns/op 0.02 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/32768-4 1 1016869929 ns/op 0.03 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/65536-4 1 1017378682 ns/op 0.06 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/131072-4 1 1017315433 ns/op 0.13 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/tcp-to-file/262144-4 1 1017751176 ns/op 0.26 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/524288-4 1 1019323959 ns/op 0.51 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/1048576-4 1 1021400499 ns/op 1.03 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/1024-4 1 1017580147 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/2048-4 1 1016786764 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/4096-4 1 1016585303 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/8192-4 1 1016921122 ns/op 0.01 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/16384-4 1 1016925231 ns/op 0.02 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/32768-4 1 1017423546 ns/op 0.03 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/65536-4 1 1017618882 ns/op 0.06 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/131072-4 1 1017345601 ns/op 0.13 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/262144-4 1 1017827514 ns/op 0.26 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/524288-4 1 1019350206 ns/op 0.51 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/1048576-4 1 1021160280 ns/op 1.03 MB/s 944 B/op 9 allocs/op BenchmarkTCP4OneShot-4 1921 53122 ns/op BenchmarkTCP4OneShotTimeout-4 1976 56672 ns/op BenchmarkTCP4Persistent-4 11419 9885 ns/op BenchmarkTCP4PersistentTimeout-4 11665 10384 ns/op BenchmarkTCP6OneShot-4 1837 56707 ns/op BenchmarkTCP6OneShotTimeout-4 2031 59243 ns/op BenchmarkTCP6Persistent-4 10413 10377 ns/op BenchmarkTCP6PersistentTimeout-4 11250 10402 ns/op BenchmarkTCP4ConcurrentReadWrite-4 22761 4811 ns/op BenchmarkTCP6ConcurrentReadWrite-4 27650 4492 ns/op BenchmarkSetReadDeadline-4 125886 962.0 ns/op BenchmarkReadWriteMsgUDPAddrPort-4 8653 12506 ns/op 0 B/op 0 allocs/op BenchmarkWriteToReadFromUDP-4 9597 14105 ns/op 16 B/op 1 allocs/op BenchmarkWriteToReadFromUDPAddrPort-4 9912 12928 ns/op 0 B/op 0 allocs/op PASS ok net 67.758s goos: linux goarch: amd64 pkg: net/http cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCookieString-4 28981 3882 ns/op 176 B/op 1 allocs/op BenchmarkReadSetCookies-4 10892 10914 ns/op 1168 B/op 21 allocs/op BenchmarkReadCookies-4 14269 8221 ns/op 1840 B/op 11 allocs/op BenchmarkHeaderWriteSubset-4 18363 6464 ns/op 46 B/op 0 allocs/op BenchmarkCopyValues-4 33181 3438 ns/op 736 B/op 11 allocs/op BenchmarkHexEscapeNonASCII-4 48123 2339 ns/op 192 B/op 2 allocs/op BenchmarkServerMatch-4 878646 131.4 ns/op BenchmarkReadRequestChrome-4 3520 31897 ns/op 19.16 MB/s 1476 B/op 14 allocs/op BenchmarkReadRequestCurl-4 10610 11096 ns/op 7.03 MB/s 924 B/op 9 allocs/op BenchmarkReadRequestApachebench-4 10000 10945 ns/op 7.49 MB/s 924 B/op 9 allocs/op BenchmarkReadRequestSiege-4 6385 16927 ns/op 8.92 MB/s 1020 B/op 11 allocs/op BenchmarkReadRequestWrk-4 17072 7076 ns/op 5.65 MB/s 860 B/op 7 allocs/op BenchmarkFileAndServer_1KB/h1-4 291 417508 ns/op 2.45 MB/s BenchmarkFileAndServer_1KB/https1-4 192 547499 ns/op 1.87 MB/s BenchmarkFileAndServer_1KB/h2-4 140 826977 ns/op 1.24 MB/s BenchmarkFileAndServer_16MB/h1-4 2 56942158 ns/op 294.64 MB/s BenchmarkFileAndServer_16MB/https1-4 1 117983604 ns/op 142.20 MB/s BenchmarkFileAndServer_16MB/h2-4 1 244197681 ns/op 68.70 MB/s BenchmarkFileAndServer_64MB/h1-4 1 219420047 ns/op 305.85 MB/s BenchmarkFileAndServer_64MB/https1-4 1 432904996 ns/op 155.02 MB/s BenchmarkFileAndServer_64MB/h2-4 1 913526706 ns/op 73.46 MB/s BenchmarkServeMux-4 256 469957 ns/op 17280 B/op 360 allocs/op BenchmarkServeMux_SkipServe-4 338 379048 ns/op 0 B/op 0 allocs/op BenchmarkClientServer/h1-4 374 327695 ns/op 5939 B/op 64 allocs/op BenchmarkClientServer/https1-4 236 449733 ns/op 6764 B/op 75 allocs/op BenchmarkClientServer/h2-4 195 631121 ns/op 10129 B/op 81 allocs/op BenchmarkClientServerParallel/4/h1-4 886 114901 ns/op 10281 B/op 80 allocs/op BenchmarkClientServerParallel/4/https1-4 48 3741392 ns/op 81597 B/op 881 allocs/op --- BENCH: BenchmarkClientServerParallel/4/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:40870: read tcp 127.0.0.1:36017->127.0.0.1:40870: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:40872: read tcp 127.0.0.1:36017->127.0.0.1:40872: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:40890: read tcp 127.0.0.1:36017->127.0.0.1:40890: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:43484: write tcp 127.0.0.1:38277->127.0.0.1:43484: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:43506: write tcp 127.0.0.1:38277->127.0.0.1:43506: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:43518: read tcp 127.0.0.1:38277->127.0.0.1:43518: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:43488: read tcp 127.0.0.1:38277->127.0.0.1:43488: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:43526: read tcp 127.0.0.1:38277->127.0.0.1:43526: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:43534: read tcp 127.0.0.1:38277->127.0.0.1:43534: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:43494: read tcp 127.0.0.1:38277->127.0.0.1:43494: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/4/h2-4 132 761340 ns/op 21220 B/op 219 allocs/op --- BENCH: BenchmarkClientServerParallel/4/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:35290: read tcp 127.0.0.1:40813->127.0.0.1:35290: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:36232: read tcp 127.0.0.1:42311->127.0.0.1:36232: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:36248: write tcp 127.0.0.1:42311->127.0.0.1:36248: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:36214: read tcp 127.0.0.1:42311->127.0.0.1:36214: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:36264: write tcp 127.0.0.1:42311->127.0.0.1:36264: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:36240: write tcp 127.0.0.1:42311->127.0.0.1:36240: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:36216: write tcp 127.0.0.1:42311->127.0.0.1:36216: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:37514: read tcp 127.0.0.1:39055->127.0.0.1:37514: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:37492: read tcp 127.0.0.1:39055->127.0.0.1:37492: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:37476: read tcp 127.0.0.1:39055->127.0.0.1:37476: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h1-4 436 254282 ns/op 23650 B/op 118 allocs/op BenchmarkClientServerParallel/64/https1-4 52 5070597 ns/op 105663 B/op 1162 allocs/op --- BENCH: BenchmarkClientServerParallel/64/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:34616: write tcp 127.0.0.1:37725->127.0.0.1:34616: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:34636: write tcp 127.0.0.1:37725->127.0.0.1:34636: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41572: read tcp 127.0.0.1:36607->127.0.0.1:41572: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41604: read tcp 127.0.0.1:36607->127.0.0.1:41604: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41542: read tcp 127.0.0.1:36607->127.0.0.1:41542: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41592: read tcp 127.0.0.1:36607->127.0.0.1:41592: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41594: read tcp 127.0.0.1:36607->127.0.0.1:41594: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41566: read tcp 127.0.0.1:36607->127.0.0.1:41566: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41610: read tcp 127.0.0.1:36607->127.0.0.1:41610: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:41624: read tcp 127.0.0.1:36607->127.0.0.1:41624: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h2-4 33 3761336 ns/op 75101 B/op 857 allocs/op --- BENCH: BenchmarkClientServerParallel/64/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59488: read tcp 127.0.0.1:41019->127.0.0.1:59488: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59630: read tcp 127.0.0.1:41019->127.0.0.1:59630: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59504: read tcp 127.0.0.1:41019->127.0.0.1:59504: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59590: read tcp 127.0.0.1:41019->127.0.0.1:59590: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59606: read tcp 127.0.0.1:41019->127.0.0.1:59606: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59540: read tcp 127.0.0.1:41019->127.0.0.1:59540: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59550: read tcp 127.0.0.1:41019->127.0.0.1:59550: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59566: write tcp 127.0.0.1:41019->127.0.0.1:59566: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59512: write tcp 127.0.0.1:41019->127.0.0.1:59512: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59524: write tcp 127.0.0.1:41019->127.0.0.1:59524: use of closed network connection ... [output truncated] BenchmarkServer-4 1 1038159626 ns/op 31408 B/op 170 allocs/op BenchmarkClient-4 276 423507 ns/op 3752 B/op 46 allocs/op BenchmarkServerFakeConnNoKeepAlive-4 620 177637 ns/op 7430 B/op 54 allocs/op BenchmarkServerFakeConnWithKeepAlive-4 1274 95849 ns/op 3042 B/op 24 allocs/op BenchmarkServerFakeConnWithKeepAliveLite-4 1771 69246 ns/op 1930 B/op 14 allocs/op BenchmarkServerHandlerTypeLen-4 1648 83054 ns/op 2764 B/op 21 allocs/op BenchmarkServerHandlerNoLen-4 1512 81864 ns/op 2696 B/op 19 allocs/op BenchmarkServerHandlerNoType-4 1394 78515 ns/op 2692 B/op 20 allocs/op BenchmarkServerHandlerNoHeader-4 1657 77930 ns/op 1899 B/op 14 allocs/op BenchmarkServerHijack-4 879 119730 ns/op 16726 B/op 50 allocs/op BenchmarkCloseNotifier/h1-4 375 301190 ns/op 5912 B/op 52 allocs/op BenchmarkResponseStatusLine-4 474554 225.0 ns/op 0 B/op 0 allocs/op PASS ok net/http 15.015s goos: linux goarch: amd64 pkg: net/http/httputil cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkServeHTTP-4 4510 24442 ns/op 34073 B/op 12 allocs/op PASS ok net/http/httputil 1.192s goos: linux goarch: amd64 pkg: net/netip cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkIPNextPrev-4 85243 1347 ns/op BenchmarkBinaryMarshalRoundTrip/ipv4-4 573079 193.6 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6-4 185835 657.6 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6+zone-4 59407 1838 ns/op BenchmarkStdIPv4-4 124951 891.0 ns/op 16 B/op 1 allocs/op BenchmarkIPv4-4 92179 1275 ns/op 0 B/op 0 allocs/op BenchmarkIPv4_inline-4 93507 1289 ns/op 0 B/op 0 allocs/op BenchmarkStdIPv6-4 80077 1469 ns/op 16 B/op 1 allocs/op BenchmarkIPv6-4 68398 1726 ns/op 0 B/op 0 allocs/op BenchmarkIPv4Contains-4 1749616 69.97 ns/op 0 B/op 0 allocs/op BenchmarkIPv6Contains-4 1544652 76.90 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v4-4 1392231 86.82 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6-4 245311 471.9 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_ellipsis-4 267592 433.5 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_v4-4 257470 457.4 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_zone-4 83559 1488 ns/op 0 B/op 0 allocs/op BenchmarkStdParseIP/v4-4 289630 423.5 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6-4 146259 810.9 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_ellipsis-4 151682 785.3 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_v4-4 132265 821.4 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_zone-4 76711 1609 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v4-4 366994 326.3 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v6-4 128065 961.8 ns/op 48 B/op 1 allocs/op BenchmarkIPString/v6_ellipsis-4 159229 711.4 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_v4-4 252277 457.9 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_zone-4 161154 756.1 ns/op 24 B/op 1 allocs/op BenchmarkIPStringExpanded/v4-4 315836 366.4 ns/op 16 B/op 1 allocs/op BenchmarkIPStringExpanded/v6-4 152308 789.9 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_ellipsis-4 150608 800.1 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_v4-4 149167 781.9 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_zone-4 107446 1042 ns/op 128 B/op 2 allocs/op BenchmarkIPMarshalText-4 473131 256.7 ns/op 16 B/op 1 allocs/op BenchmarkAddrPortString/v4-4 156828 751.2 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortString/v6-4 86736 1307 ns/op 112 B/op 3 allocs/op BenchmarkAddrPortString/v6_ellipsis-4 113703 999.4 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_v4-4 151714 735.1 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_zone-4 106176 1090 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortMarshalText/v4-4 265047 441.4 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6-4 116653 1013 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_ellipsis-4 137764 849.3 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_v4-4 199309 630.0 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_zone-4 133647 916.3 ns/op 64 B/op 1 allocs/op BenchmarkPrefixMasking/IPv4_/32-4 1000000 107.7 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/17-4 1000000 110.0 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/0-4 1000000 110.3 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/128-4 972286 118.1 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/65-4 985962 116.0 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/0-4 1000000 114.7 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/128-4 1000000 115.1 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/65-4 1000000 115.2 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/0-4 1000000 115.3 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMarshalText-4 343821 333.7 ns/op 24 B/op 1 allocs/op BenchmarkParseAddrPort/v4-4 576007 197.5 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6-4 199309 584.8 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_ellipsis-4 212164 564.6 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_v4-4 202263 589.9 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_zone-4 73726 1602 ns/op 0 B/op 0 allocs/op BenchmarkAs16-4 494786 223.8 ns/op PASS ok net/netip 8.800s 2023/05/25 17:03:15 Test RPC server listening on 127.0.0.1:44165 2023/05/25 17:03:15 Test HTTP RPC server listening on 127.0.0.1:43707 goos: linux goarch: amd64 pkg: net/rpc cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEndToEnd-4 1593 78758 ns/op BenchmarkEndToEndHTTP-4 1456 78978 ns/op BenchmarkEndToEndAsync-4 3118 33238 ns/op BenchmarkEndToEndAsyncHTTP-4 3186 39846 ns/op PASS ok net/rpc 1.815s goos: linux goarch: amd64 pkg: net/textproto cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadMIMEHeader/client_headers-4 3314 32829 ns/op BenchmarkReadMIMEHeader/server_headers-4 5120 22336 ns/op BenchmarkUncommon-4 24864 4600 ns/op 464 B/op 5 allocs/op PASS ok net/textproto 1.597s goos: linux goarch: amd64 pkg: net/url cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkString-4 4029 24947 ns/op 1616 B/op 60 allocs/op BenchmarkResolvePath-4 98715 1178 ns/op 32 B/op 2 allocs/op BenchmarkQueryEscape/#00-4 532656 203.2 ns/op 16 B/op 1 allocs/op BenchmarkQueryEscape/#01-4 92520 1287 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#02-4 166954 700.6 ns/op 32 B/op 1 allocs/op BenchmarkQueryEscape/#03-4 82688 1462 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#04-4 13768 8574 ns/op 832 B/op 2 allocs/op BenchmarkPathEscape/#00-4 376098 304.4 ns/op 16 B/op 1 allocs/op BenchmarkPathEscape/#01-4 90079 1305 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#02-4 168397 687.7 ns/op 32 B/op 1 allocs/op BenchmarkPathEscape/#03-4 79676 1489 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#04-4 15758 7371 ns/op 704 B/op 2 allocs/op BenchmarkQueryUnescape/#00-4 199124 609.3 ns/op 16 B/op 1 allocs/op BenchmarkQueryUnescape/#01-4 78630 1522 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#02-4 76496 1547 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#03-4 35572 3365 ns/op 64 B/op 1 allocs/op BenchmarkQueryUnescape/#04-4 5488 18643 ns/op 320 B/op 1 allocs/op BenchmarkPathUnescape/#00-4 195348 616.7 ns/op 16 B/op 1 allocs/op BenchmarkPathUnescape/#01-4 78022 1500 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#02-4 77395 1518 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#03-4 35052 3383 ns/op 64 B/op 1 allocs/op BenchmarkPathUnescape/#04-4 6507 18300 ns/op 320 B/op 1 allocs/op PASS ok net/url 4.166s goos: linux goarch: amd64 pkg: os cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExpand/noop-4 3214752 36.69 ns/op 0 B/op 0 allocs/op BenchmarkExpand/multiple-4 158470 677.3 ns/op 48 B/op 2 allocs/op BenchmarkReaddirname-4 688 167786 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 548379 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 601 196695 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 48813 2291 ns/op BenchmarkStatFile-4 41672 2738 ns/op BenchmarkStatDir-4 41674 2682 ns/op BenchmarkLstatDot-4 48564 2338 ns/op BenchmarkLstatFile-4 41398 2698 ns/op BenchmarkLstatDir-4 42622 2678 ns/op PASS ok os 2.624s goos: linux goarch: amd64 pkg: os/exec cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExecHostname-4 141 825031 ns/op 8400 B/op 30 allocs/op PASS ok os/exec 1.227s goos: linux goarch: amd64 pkg: os/user cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCurrent-4 383430 292.0 ns/op PASS ok os/user 1.224s goos: linux goarch: amd64 pkg: reflect cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkBool-4 3706222 32.72 ns/op BenchmarkString-4 2281436 51.88 ns/op BenchmarkBytes-4 1911220 62.12 ns/op BenchmarkNamedBytes-4 1000000 106.0 ns/op BenchmarkBytesArray-4 728505 161.8 ns/op BenchmarkSliceLen-4 2263419 54.28 ns/op BenchmarkMapLen-4 958516 126.9 ns/op BenchmarkStringLen-4 1870860 62.73 ns/op BenchmarkArrayLen-4 1359708 89.66 ns/op BenchmarkSliceCap-4 2527548 46.80 ns/op BenchmarkDeepEqual/int8-4 461792 254.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int8-4 92006 1282 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int16-4 412659 290.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int16-4 90042 1324 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int32-4 396868 290.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int32-4 90444 1328 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int64-4 399958 296.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int64-4 89361 1314 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int-4 402024 291.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int-4 88473 1325 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint8-4 447122 254.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8-4 120330 1010 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint16-4 401644 303.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint16-4 88651 1328 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint32-4 403934 300.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint32-4 89788 1342 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint64-4 401892 296.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint64-4 89378 1338 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint-4 408519 298.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint-4 90086 1336 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uintptr-4 401048 295.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uintptr-4 89053 1338 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float32-4 400741 299.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float32-4 86896 1334 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float64-4 398006 300.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float64-4 89454 1338 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex64-4 403454 290.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex64-4 89797 1347 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex128-4 390926 294.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex128-4 89797 1335 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/bool-4 483922 244.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]bool-4 94088 1254 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/string-4 396054 290.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]string-4 90081 1338 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8#01-4 121887 974.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][]uint8-4 58420 2029 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[6]uint8-4 45932 2580 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][6]uint8-4 33374 3614 ns/op 0 B/op 0 allocs/op BenchmarkIsZero/ArrayComparable-4 276148 434.0 ns/op BenchmarkIsZero/ArrayIncomparable-4 29788 3938 ns/op BenchmarkIsZero/StructComparable-4 565106 206.9 ns/op BenchmarkIsZero/StructIncomparable-4 140674 843.6 ns/op BenchmarkSetZero/Bool/Direct-4 4222146 27.88 ns/op BenchmarkSetZero/Bool/CachedZero-4 807625 137.7 ns/op BenchmarkSetZero/Bool/NewZero-4 649887 180.3 ns/op BenchmarkSetZero/Int/Direct-4 2518294 48.42 ns/op BenchmarkSetZero/Int/CachedZero-4 865684 137.0 ns/op BenchmarkSetZero/Int/NewZero-4 663450 177.4 ns/op BenchmarkSetZero/Uint/Direct-4 2480626 47.78 ns/op BenchmarkSetZero/Uint/CachedZero-4 863644 136.6 ns/op BenchmarkSetZero/Uint/NewZero-4 650734 177.0 ns/op BenchmarkSetZero/Float/Direct-4 2516828 48.14 ns/op BenchmarkSetZero/Float/CachedZero-4 849176 136.8 ns/op BenchmarkSetZero/Float/NewZero-4 652578 177.8 ns/op BenchmarkSetZero/Complex/Direct-4 2496844 48.03 ns/op BenchmarkSetZero/Complex/CachedZero-4 826344 138.7 ns/op BenchmarkSetZero/Complex/NewZero-4 644226 179.0 ns/op BenchmarkSetZero/Array/Direct-4 2257924 52.22 ns/op BenchmarkSetZero/Array/CachedZero-4 824856 137.6 ns/op BenchmarkSetZero/Array/NewZero-4 658472 176.1 ns/op BenchmarkSetZero/Chan/Direct-4 2366994 47.83 ns/op BenchmarkSetZero/Chan/CachedZero-4 830524 142.5 ns/op BenchmarkSetZero/Chan/NewZero-4 652682 181.4 ns/op BenchmarkSetZero/Func/Direct-4 2463052 48.08 ns/op BenchmarkSetZero/Func/CachedZero-4 837352 145.6 ns/op BenchmarkSetZero/Func/NewZero-4 651810 181.5 ns/op BenchmarkSetZero/Interface/Direct-4 2258190 53.74 ns/op BenchmarkSetZero/Interface/CachedZero-4 817052 137.5 ns/op BenchmarkSetZero/Interface/NewZero-4 634916 175.7 ns/op BenchmarkSetZero/Map/Direct-4 2309371 48.07 ns/op BenchmarkSetZero/Map/CachedZero-4 848244 141.8 ns/op BenchmarkSetZero/Map/NewZero-4 649095 185.4 ns/op BenchmarkSetZero/Pointer/Direct-4 2463528 50.92 ns/op BenchmarkSetZero/Pointer/CachedZero-4 803389 142.1 ns/op BenchmarkSetZero/Pointer/NewZero-4 651430 178.9 ns/op BenchmarkSetZero/Slice/Direct-4 2083100 54.64 ns/op BenchmarkSetZero/Slice/CachedZero-4 828332 139.0 ns/op BenchmarkSetZero/Slice/NewZero-4 629330 183.2 ns/op BenchmarkSetZero/String/Direct-4 2319250 48.25 ns/op BenchmarkSetZero/String/CachedZero-4 851476 136.3 ns/op BenchmarkSetZero/String/NewZero-4 643771 182.6 ns/op BenchmarkSetZero/Struct/Direct-4 2294383 54.51 ns/op BenchmarkSetZero/Struct/CachedZero-4 851619 136.5 ns/op BenchmarkSetZero/Struct/NewZero-4 632030 185.9 ns/op BenchmarkSelect/1-4 144343 810.7 ns/op 80 B/op 5 allocs/op BenchmarkSelect/4-4 68300 1721 ns/op 208 B/op 8 allocs/op BenchmarkSelect/8-4 34012 3366 ns/op 672 B/op 13 allocs/op BenchmarkCall-4 224203 576.7 ns/op 0 B/op 0 allocs/op BenchmarkCallMethod-4 152030 760.2 ns/op 0 B/op 0 allocs/op BenchmarkCallArgCopy/size=128-4 107138 971.9 ns/op 131.69 MB/s BenchmarkCallArgCopy/size=256-4 113524 1011 ns/op 253.13 MB/s BenchmarkCallArgCopy/size=1024-4 67158 1550 ns/op 660.77 MB/s BenchmarkCallArgCopy/size=4096-4 32834 3547 ns/op 1154.92 MB/s BenchmarkCallArgCopy/size=65536-4 2462 45682 ns/op 1434.62 MB/s BenchmarkFieldByName1-4 994383 120.4 ns/op BenchmarkFieldByName2-4 97402 1456 ns/op BenchmarkFieldByName3-4 11065 9351 ns/op BenchmarkInterfaceBig-4 3907310 30.04 ns/op BenchmarkInterfaceSmall-4 3906320 29.83 ns/op BenchmarkNew-4 1841990 72.70 ns/op BenchmarkMap/StringKeys/MapIndex-4 2188 51091 ns/op 0 B/op 0 allocs/op BenchmarkMap/StringKeys/SetMapIndex-4 1866 62104 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/MapIndex-4 2259 51248 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/SetMapIndex-4 1945 61672 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/MapIndex-4 2310 50407 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/SetMapIndex-4 1921 62439 ns/op 0 B/op 0 allocs/op BenchmarkMapIterNext-4 214464 552.5 ns/op PASS ok reflect 17.668s goos: linux goarch: amd64 pkg: regexp cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFind-4 10597 10365 ns/op 9405 B/op 1 allocs/op BenchmarkFindAllNoMatches-4 14684 7779 ns/op 9125 B/op 1 allocs/op BenchmarkFindString-4 10000 10008 ns/op 9176 B/op 1 allocs/op BenchmarkFindSubmatch-4 9824 11526 ns/op 9620 B/op 2 allocs/op BenchmarkFindStringSubmatch-4 10000 11034 ns/op 9224 B/op 2 allocs/op BenchmarkLiteral-4 19998 6803 ns/op BenchmarkNotLiteral-4 4339 27330 ns/op BenchmarkMatchClass-4 3279 36312 ns/op BenchmarkMatchClass_InRange-4 3332 35641 ns/op BenchmarkReplaceAll-4 2469 50843 ns/op BenchmarkAnchoredLiteralShortNonMatch-4 17282 7104 ns/op BenchmarkAnchoredLiteralLongNonMatch-4 36914 3198 ns/op BenchmarkAnchoredShortMatch-4 15607 7861 ns/op BenchmarkAnchoredLongMatch-4 19864 6090 ns/op BenchmarkOnePassShortA-4 20534 6013 ns/op BenchmarkNotOnePassShortA-4 7905 15690 ns/op BenchmarkOnePassShortB-4 26169 4518 ns/op BenchmarkNotOnePassShortB-4 9673 12159 ns/op BenchmarkOnePassLongPrefix-4 82398 1512 ns/op BenchmarkOnePassLongNotPrefix-4 27498 4405 ns/op BenchmarkMatchParallelShared-4 25790 5268 ns/op BenchmarkMatchParallelCopied-4 21159 6111 ns/op BenchmarkQuoteMetaAll-4 138896 854.4 ns/op 16.39 MB/s BenchmarkQuoteMetaNone-4 258058 466.2 ns/op 55.78 MB/s BenchmarkCompile/Onepass-4 3862 28723 ns/op 4144 B/op 52 allocs/op BenchmarkCompile/Medium-4 1495 72653 ns/op 9704 B/op 112 allocs/op BenchmarkCompile/Hard-4 186 618454 ns/op 84760 B/op 424 allocs/op BenchmarkMatch/Easy0/16-4 3622268 32.28 ns/op 495.64 MB/s BenchmarkMatch/Easy0/32-4 16233 7168 ns/op 4.46 MB/s BenchmarkMatch/Easy0/1K-4 5088 19748 ns/op 51.85 MB/s BenchmarkMatch/Easy0i/16-4 3722949 32.26 ns/op 496.04 MB/s BenchmarkMatch/Easy0i/32-4 5428 21277 ns/op 1.50 MB/s BenchmarkMatch/Easy0i/1K-4 270 436836 ns/op 2.34 MB/s BenchmarkMatch/Easy1/16-4 3692516 31.73 ns/op 504.26 MB/s BenchmarkMatch/Easy1/32-4 17520 6432 ns/op 4.97 MB/s BenchmarkMatch/Easy1/1K-4 4640 25839 ns/op 39.63 MB/s BenchmarkMatch/Medium/16-4 3734209 31.67 ns/op 505.18 MB/s BenchmarkMatch/Medium/32-4 6075 19869 ns/op 1.61 MB/s BenchmarkMatch/Medium/1K-4 296 402019 ns/op 2.55 MB/s BenchmarkMatch/Hard/16-4 3737878 31.68 ns/op 505.10 MB/s BenchmarkMatch/Hard/32-4 4117 28998 ns/op 1.10 MB/s BenchmarkMatch/Hard/1K-4 177 661729 ns/op 1.55 MB/s BenchmarkMatch/Hard1/16-4 1392 81893 ns/op 0.20 MB/s BenchmarkMatch/Hard1/32-4 753 156359 ns/op 0.20 MB/s BenchmarkMatch/Hard1/1K-4 25 4383076 ns/op 0.23 MB/s BenchmarkMatch_onepass_regex/16-4 29242 4102 ns/op 3.90 MB/s 23 B/op 0 allocs/op BenchmarkMatch_onepass_regex/32-4 17439 6948 ns/op 4.61 MB/s 24 B/op 0 allocs/op BenchmarkMatch_onepass_regex/1K-4 660 177746 ns/op 5.76 MB/s 26 B/op 0 allocs/op PASS ok regexp 9.202s goos: linux goarch: amd64 pkg: regexp/syntax cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEmptyOpContext-4 622940 190.5 ns/op BenchmarkIsWordChar-4 168933 714.5 ns/op PASS ok regexp/syntax 2.325s goos: linux goarch: amd64 pkg: runtime cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCallers/cached-4 69052 1713 ns/op BenchmarkCallers/inlined-4 53007 2296 ns/op BenchmarkCallers/no-cache-4 10000 10276 ns/op BenchmarkFPCallers/cached-4 2850187 41.84 ns/op BenchmarkMakeChan/Byte-4 1155340 106.5 ns/op BenchmarkMakeChan/Int-4 641696 176.8 ns/op BenchmarkMakeChan/Ptr-4 458788 224.3 ns/op BenchmarkMakeChan/Struct/0-4 1232486 98.95 ns/op BenchmarkMakeChan/Struct/32-4 441008 241.4 ns/op BenchmarkMakeChan/Struct/40-4 382988 282.8 ns/op BenchmarkChanNonblocking-4 11494155 9.609 ns/op BenchmarkSelectUncontended-4 1080523 110.2 ns/op BenchmarkSelectSyncContended-4 28746 4137 ns/op BenchmarkSelectAsyncContended-4 103069 1184 ns/op BenchmarkSelectNonblock-4 6082399 18.31 ns/op BenchmarkChanUncontended-4 9500 13494 ns/op BenchmarkChanContended-4 1310 107039 ns/op BenchmarkChanSync-4 188355 678.7 ns/op BenchmarkChanSyncWork-4 10000 35207 ns/op BenchmarkChanProdCons0-4 80092 1501 ns/op BenchmarkChanProdCons10-4 98978 1373 ns/op BenchmarkChanProdCons100-4 103748 1271 ns/op BenchmarkChanProdConsWork0-4 70638 1673 ns/op BenchmarkChanProdConsWork10-4 80796 1526 ns/op BenchmarkChanProdConsWork100-4 80767 1450 ns/op BenchmarkSelectProdCons-4 59682 1997 ns/op BenchmarkReceiveDataFromClosedChan-4 657693 184.3 ns/op BenchmarkChanCreation-4 212719 533.7 ns/op BenchmarkChanSem-4 127756 1037 ns/op BenchmarkChanPopular-4 98 1246530 ns/op BenchmarkChanClosed-4 575674 237.8 ns/op BenchmarkCallClosure-4 6455894 18.63 ns/op BenchmarkCallClosure1-4 6878463 17.66 ns/op BenchmarkCallClosure2-4 1201102 91.28 ns/op BenchmarkCallClosure3-4 1584525 76.38 ns/op BenchmarkCallClosure4-4 1394629 85.22 ns/op BenchmarkComplex128DivNormal-4 9977702 11.25 ns/op BenchmarkComplex128DivNisNaN-4 7693492 14.85 ns/op BenchmarkComplex128DivDisNaN-4 7288634 15.02 ns/op BenchmarkComplex128DivNisInf-4 9768334 11.74 ns/op BenchmarkComplex128DivDisInf-4 5596588 19.97 ns/op BenchmarkSetTypePtr-4 44894721 2.637 ns/op 3033.88 MB/s BenchmarkSetTypePtr8-4 9615799 12.48 ns/op 5128.29 MB/s BenchmarkSetTypePtr16-4 9453678 12.45 ns/op 10284.36 MB/s BenchmarkSetTypePtr32-4 9595672 12.45 ns/op 20567.38 MB/s BenchmarkSetTypePtr64-4 9517730 12.43 ns/op 41206.14 MB/s BenchmarkSetTypePtr126-4 5603894 21.17 ns/op 47619.57 MB/s BenchmarkSetTypePtr128-4 5851309 20.50 ns/op 49946.27 MB/s BenchmarkSetTypePtrSlice-4 723812 164.4 ns/op 49832.88 MB/s BenchmarkSetTypeNode1-4 9628032 12.49 ns/op 1921.30 MB/s BenchmarkSetTypeNode1Slice-4 2898506 39.82 ns/op 19287.37 MB/s BenchmarkSetTypeNode8-4 9481329 12.51 ns/op 6395.68 MB/s BenchmarkSetTypeNode8Slice-4 1540045 77.69 ns/op 32951.00 MB/s BenchmarkSetTypeNode64-4 5683142 21.09 ns/op 25032.34 MB/s BenchmarkSetTypeNode64Slice-4 227572 520.8 ns/op 32441.38 MB/s BenchmarkSetTypeNode64Dead-4 7491652 15.92 ns/op 33171.74 MB/s BenchmarkSetTypeNode64DeadSlice-4 254475 469.5 ns/op 35990.98 MB/s BenchmarkSetTypeNode124-4 5672955 21.08 ns/op 47822.77 MB/s BenchmarkSetTypeNode124Slice-4 181204 661.6 ns/op 48757.46 MB/s BenchmarkSetTypeNode126-4 5848328 20.49 ns/op 49980.38 MB/s BenchmarkSetTypeNode126Slice-4 180050 665.8 ns/op 49217.15 MB/s BenchmarkSetTypeNode128-4 4003353 29.55 ns/op 35192.04 MB/s BenchmarkSetTypeNode128Slice-4 143366 838.8 ns/op 39677.24 MB/s BenchmarkSetTypeNode130-4 4024202 29.77 ns/op 35475.02 MB/s BenchmarkSetTypeNode130Slice-4 140943 853.4 ns/op 39596.16 MB/s BenchmarkSetTypeNode1024-4 762706 157.3 ns/op 52179.66 MB/s BenchmarkSetTypeNode1024Slice-4 24516 4908 ns/op 53518.90 MB/s BenchmarkAllocation-4 4324 36343 ns/op BenchmarkReadMemStats-4 5931 18538 ns/op BenchmarkReadMemStatsLatency-4 1 73249 p50-ns 73249 p90-ns 73249 p99-ns BenchmarkWriteBarrier-4 2124294 54.26 ns/op BenchmarkBulkWriteBarrier-4 5944532 20.60 ns/op BenchmarkScanStackNoLocals-4 3 47886783 ns/op BenchmarkMSpanCountAlloc/bits=64-4 10969969 10.09 ns/op BenchmarkMSpanCountAlloc/bits=128-4 10441004 10.87 ns/op BenchmarkMSpanCountAlloc/bits=256-4 9767038 12.77 ns/op BenchmarkMSpanCountAlloc/bits=512-4 7008607 16.54 ns/op BenchmarkMSpanCountAlloc/bits=1024-4 4440044 25.49 ns/op BenchmarkHash5-4 6494772 18.39 ns/op 271.92 MB/s BenchmarkHash16-4 6357556 17.85 ns/op 896.15 MB/s BenchmarkHash64-4 6135322 18.32 ns/op 3493.60 MB/s BenchmarkHash1024-4 1907082 61.54 ns/op 16640.87 MB/s BenchmarkHash65536-4 38541 3109 ns/op 21078.12 MB/s BenchmarkAlignedLoad-4 8862416 13.54 ns/op BenchmarkUnalignedLoad-4 7872402 15.35 ns/op BenchmarkEqEfaceConcrete-4 6377167 19.01 ns/op BenchmarkEqIfaceConcrete-4 6965064 17.07 ns/op BenchmarkNeEfaceConcrete-4 6628128 18.17 ns/op BenchmarkNeIfaceConcrete-4 6720849 17.80 ns/op BenchmarkConvT2EByteSized/bool-4 6432334 18.62 ns/op BenchmarkConvT2EByteSized/uint8-4 6411597 18.77 ns/op BenchmarkConvT2ESmall-4 5700790 20.98 ns/op BenchmarkConvT2EUintptr-4 5639316 21.30 ns/op BenchmarkConvT2ELarge-4 1000000 100.0 ns/op BenchmarkConvT2ISmall-4 5802892 20.74 ns/op BenchmarkConvT2IUintptr-4 5576527 21.69 ns/op BenchmarkConvT2ILarge-4 1000000 106.1 ns/op BenchmarkConvI2E-4 4931074 24.26 ns/op BenchmarkConvI2I-4 4161804 28.65 ns/op BenchmarkAssertE2T-4 5144726 23.46 ns/op BenchmarkAssertE2TLarge-4 2334620 51.76 ns/op BenchmarkAssertE2I-4 4376619 27.46 ns/op BenchmarkAssertI2T-4 4771234 24.62 ns/op BenchmarkAssertI2I-4 4322053 27.70 ns/op BenchmarkAssertI2E-4 5827459 20.30 ns/op BenchmarkAssertE2E-4 6205983 19.30 ns/op BenchmarkAssertE2T2-4 3884084 30.86 ns/op BenchmarkAssertE2T2Blank-4 4777311 25.46 ns/op BenchmarkAssertI2E2-4 4663687 25.66 ns/op BenchmarkAssertI2E2Blank-4 5969112 19.98 ns/op BenchmarkAssertE2E2-4 4649787 25.83 ns/op BenchmarkAssertE2E2Blank-4 5974917 19.98 ns/op BenchmarkConvT2Ezero/zero/16-4 5702562 20.94 ns/op BenchmarkConvT2Ezero/zero/32-4 5760571 20.81 ns/op BenchmarkConvT2Ezero/zero/64-4 5570563 21.67 ns/op BenchmarkConvT2Ezero/zero/str-4 5700753 20.88 ns/op BenchmarkConvT2Ezero/zero/slice-4 5846098 20.36 ns/op BenchmarkConvT2Ezero/zero/big-4 235525 476.1 ns/op BenchmarkConvT2Ezero/nonzero/str-4 1371469 84.75 ns/op BenchmarkConvT2Ezero/nonzero/slice-4 1284237 98.70 ns/op BenchmarkConvT2Ezero/nonzero/big-4 219814 471.1 ns/op BenchmarkConvT2Ezero/smallint/16-4 5750058 21.15 ns/op BenchmarkConvT2Ezero/smallint/32-4 5805853 20.80 ns/op BenchmarkConvT2Ezero/smallint/64-4 5699060 20.94 ns/op BenchmarkConvT2Ezero/largeint/16-4 1620894 71.12 ns/op BenchmarkConvT2Ezero/largeint/32-4 1777089 68.37 ns/op BenchmarkConvT2Ezero/largeint/64-4 1798908 69.78 ns/op BenchmarkMalloc8-4 1451006 84.76 ns/op BenchmarkMalloc16-4 1359086 87.78 ns/op BenchmarkMallocTypeInfo8-4 1359670 83.82 ns/op BenchmarkMallocTypeInfo16-4 1233409 95.53 ns/op BenchmarkMallocLargeStruct-4 170281 636.9 ns/op BenchmarkGoroutineSelect-4 74 2188313 ns/op BenchmarkGoroutineBlocking-4 70 1885809 ns/op BenchmarkGoroutineForRange-4 75 2085231 ns/op BenchmarkGoroutineIdle-4 64 1625380 ns/op BenchmarkHashStringSpeed-4 2254178 49.41 ns/op BenchmarkHashBytesSpeed-4 1464159 82.90 ns/op BenchmarkHashInt32Speed-4 3325460 35.42 ns/op BenchmarkHashInt64Speed-4 3063931 35.13 ns/op BenchmarkHashStringArraySpeed-4 591218 194.1 ns/op BenchmarkMegMap-4 3444493 37.87 ns/op BenchmarkMegOneMap-4 4168206 28.85 ns/op BenchmarkMegEqMap-4 1701 64689 ns/op BenchmarkMegEmptyMap-4 4659351 24.59 ns/op BenchmarkSmallStrMap-4 3579876 33.73 ns/op BenchmarkMapStringKeysEight_16-4 3398727 35.16 ns/op BenchmarkMapStringKeysEight_32-4 3399554 35.03 ns/op BenchmarkMapStringKeysEight_64-4 3377272 35.41 ns/op BenchmarkMapStringKeysEight_1M-4 3309410 35.97 ns/op BenchmarkIntMap-4 3971031 30.27 ns/op BenchmarkMapFirst/1-4 4907911 24.95 ns/op BenchmarkMapFirst/2-4 4632702 24.92 ns/op BenchmarkMapFirst/3-4 4847107 24.94 ns/op BenchmarkMapFirst/4-4 4699172 25.21 ns/op BenchmarkMapFirst/5-4 4463042 25.84 ns/op BenchmarkMapFirst/6-4 4554622 26.45 ns/op BenchmarkMapFirst/7-4 4731336 25.45 ns/op BenchmarkMapFirst/8-4 4301690 25.25 ns/op BenchmarkMapFirst/9-4 4198316 30.81 ns/op BenchmarkMapFirst/10-4 4037178 29.76 ns/op BenchmarkMapFirst/11-4 3911126 29.09 ns/op BenchmarkMapFirst/12-4 3785469 30.19 ns/op BenchmarkMapFirst/13-4 4205691 29.05 ns/op BenchmarkMapFirst/14-4 4081333 28.73 ns/op BenchmarkMapFirst/15-4 3996208 30.70 ns/op BenchmarkMapFirst/16-4 4037932 29.07 ns/op BenchmarkMapMid/1-4 3869052 31.05 ns/op BenchmarkMapMid/2-4 3806312 30.71 ns/op BenchmarkMapMid/3-4 3905696 30.67 ns/op BenchmarkMapMid/4-4 3717288 32.53 ns/op BenchmarkMapMid/5-4 3832236 31.49 ns/op BenchmarkMapMid/6-4 3601282 32.55 ns/op BenchmarkMapMid/7-4 3707192 32.31 ns/op BenchmarkMapMid/8-4 3513848 33.19 ns/op BenchmarkMapMid/9-4 3472006 35.20 ns/op BenchmarkMapMid/10-4 3437611 36.65 ns/op BenchmarkMapMid/11-4 3295410 35.11 ns/op BenchmarkMapMid/12-4 3307674 36.03 ns/op BenchmarkMapMid/13-4 3620994 34.84 ns/op BenchmarkMapMid/14-4 3280167 35.85 ns/op BenchmarkMapMid/15-4 3420498 34.12 ns/op BenchmarkMapMid/16-4 3296838 34.12 ns/op BenchmarkMapLast/1-4 3861691 31.40 ns/op BenchmarkMapLast/2-4 3821325 30.77 ns/op BenchmarkMapLast/3-4 3661532 31.62 ns/op BenchmarkMapLast/4-4 3622527 33.36 ns/op BenchmarkMapLast/5-4 3824804 30.99 ns/op BenchmarkMapLast/6-4 3616753 33.40 ns/op BenchmarkMapLast/7-4 3576564 32.06 ns/op BenchmarkMapLast/8-4 3355491 35.17 ns/op BenchmarkMapLast/9-4 3380340 35.27 ns/op BenchmarkMapLast/10-4 3113134 36.80 ns/op BenchmarkMapLast/11-4 3273268 37.63 ns/op BenchmarkMapLast/12-4 3438340 36.86 ns/op BenchmarkMapLast/13-4 3293175 34.79 ns/op BenchmarkMapLast/14-4 3374863 34.41 ns/op BenchmarkMapLast/15-4 3271963 37.03 ns/op BenchmarkMapLast/16-4 3473589 35.93 ns/op BenchmarkMapCycle-4 1967401 57.73 ns/op BenchmarkRepeatedLookupStrMapKey32-4 3450055 35.27 ns/op BenchmarkRepeatedLookupStrMapKey1M-4 2353 50075 ns/op BenchmarkMakeMap/[Byte]Byte-4 468152 213.7 ns/op BenchmarkMakeMap/[Int]Int-4 327612 387.5 ns/op BenchmarkNewEmptyMap-4 12391444 8.436 ns/op 0 B/op 0 allocs/op BenchmarkNewSmallMap-4 1694486 70.84 ns/op 0 B/op 0 allocs/op BenchmarkMapIter-4 483069 245.3 ns/op BenchmarkMapIterEmpty-4 5638386 21.39 ns/op BenchmarkSameLengthMap-4 4662765 25.91 ns/op BenchmarkBigKeyMap-4 1697947 71.68 ns/op BenchmarkBigValMap-4 1451955 83.21 ns/op BenchmarkSmallKeyMap-4 2950101 40.32 ns/op BenchmarkMapPopulate/1-4 2286201 50.65 ns/op 0 B/op 0 allocs/op BenchmarkMapPopulate/10-4 126813 892.4 ns/op 179 B/op 1 allocs/op BenchmarkMapPopulate/100-4 5752 17847 ns/op 6270 B/op 15 allocs/op BenchmarkMapPopulate/1000-4 686 163637 ns/op 51813 B/op 56 allocs/op BenchmarkMapPopulate/10000-4 40 2644680 ns/op 415917 B/op 198 allocs/op BenchmarkMapPopulate/100000-4 3 39182787 ns/op 6523240 B/op 2853 allocs/op BenchmarkComplexAlgMap-4 467559 244.2 ns/op BenchmarkGoMapClear/Reflexive/1-4 696680 168.2 ns/op BenchmarkGoMapClear/Reflexive/10-4 631860 183.6 ns/op BenchmarkGoMapClear/Reflexive/100-4 228096 512.2 ns/op BenchmarkGoMapClear/Reflexive/1000-4 41137 2851 ns/op BenchmarkGoMapClear/Reflexive/10000-4 5424 22407 ns/op BenchmarkGoMapClear/NonReflexive/1-4 548314 218.9 ns/op BenchmarkGoMapClear/NonReflexive/10-4 473384 244.2 ns/op BenchmarkGoMapClear/NonReflexive/100-4 204289 564.5 ns/op BenchmarkGoMapClear/NonReflexive/1000-4 39390 2948 ns/op BenchmarkGoMapClear/NonReflexive/10000-4 5338 22360 ns/op BenchmarkMapStringConversion/32/simple-4 1808508 66.37 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/struct-4 1746598 69.89 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/array-4 1604720 73.87 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/simple-4 1706900 71.32 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/struct-4 1610707 75.69 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/array-4 1482488 82.47 ns/op 0 B/op 0 allocs/op BenchmarkMapInterfaceString-4 1937512 61.70 ns/op BenchmarkMapInterfacePtr-4 1958338 59.09 ns/op BenchmarkNewEmptyMapHintLessThan8-4 4827433 24.77 ns/op 0 B/op 0 allocs/op BenchmarkNewEmptyMapHintGreaterThan8-4 120574 912.6 ns/op 1152 B/op 1 allocs/op BenchmarkMapPop100-4 5420 22414 ns/op BenchmarkMapPop1000-4 351 326190 ns/op BenchmarkMapPop10000-4 19 5952781 ns/op BenchmarkMapAssign/Int32/256-4 2236635 49.84 ns/op BenchmarkMapAssign/Int32/65536-4 1005079 117.5 ns/op BenchmarkMapAssign/Int64/256-4 2198379 51.90 ns/op BenchmarkMapAssign/Int64/65536-4 746598 140.2 ns/op BenchmarkMapAssign/Str/256-4 1896266 62.99 ns/op BenchmarkMapAssign/Str/65536-4 392300 265.4 ns/op BenchmarkMapOperatorAssign/Int32/256-4 1490140 81.62 ns/op BenchmarkMapOperatorAssign/Int32/65536-4 555960 180.8 ns/op BenchmarkMapOperatorAssign/Int64/256-4 1413583 82.06 ns/op BenchmarkMapOperatorAssign/Int64/65536-4 560398 197.4 ns/op BenchmarkMapOperatorAssign/Str/256-4 503899 2512 ns/op BenchmarkMapOperatorAssign/Str/65536-4 125216 806.4 ns/op BenchmarkMapAppendAssign/Int32/256-4 851827 165.3 ns/op 26 B/op 0 allocs/op BenchmarkMapAppendAssign/Int32/65536-4 171181 631.9 ns/op 70 B/op 1 allocs/op BenchmarkMapAppendAssign/Int64/256-4 783075 167.1 ns/op 28 B/op 0 allocs/op BenchmarkMapAppendAssign/Int64/65536-4 168709 645.7 ns/op 78 B/op 1 allocs/op BenchmarkMapAppendAssign/Str/256-4 610233 247.9 ns/op 50 B/op 0 allocs/op BenchmarkMapAppendAssign/Str/65536-4 102988 1163 ns/op 140 B/op 1 allocs/op BenchmarkMapDelete/Int32/100-4 1835428 64.87 ns/op BenchmarkMapDelete/Int32/1000-4 1951021 61.68 ns/op BenchmarkMapDelete/Int32/10000-4 1852807 65.31 ns/op BenchmarkMapDelete/Int64/100-4 1602010 74.58 ns/op BenchmarkMapDelete/Int64/1000-4 1918984 63.47 ns/op BenchmarkMapDelete/Int64/10000-4 1818644 67.65 ns/op BenchmarkMapDelete/Str/100-4 1475581 94.55 ns/op BenchmarkMapDelete/Str/1000-4 1505412 79.00 ns/op BenchmarkMapDelete/Str/10000-4 1274224 89.53 ns/op BenchmarkMapDelete/Pointer/100-4 1487685 71.80 ns/op BenchmarkMapDelete/Pointer/1000-4 1642692 67.90 ns/op BenchmarkMapDelete/Pointer/10000-4 1674904 71.27 ns/op BenchmarkMemmove/0-4 15531790 7.682 ns/op BenchmarkMemmove/1-4 1925281 62.15 ns/op 16.09 MB/s BenchmarkMemmove/2-4 1900926 63.03 ns/op 31.73 MB/s BenchmarkMemmove/3-4 1842424 64.42 ns/op 46.57 MB/s BenchmarkMemmove/4-4 1870708 64.58 ns/op 61.94 MB/s BenchmarkMemmove/5-4 1855287 64.31 ns/op 77.75 MB/s BenchmarkMemmove/6-4 1902078 63.52 ns/op 94.46 MB/s BenchmarkMemmove/7-4 1842298 64.05 ns/op 109.30 MB/s BenchmarkMemmove/8-4 1915386 63.24 ns/op 126.51 MB/s BenchmarkMemmove/9-4 1802904 65.27 ns/op 137.89 MB/s BenchmarkMemmove/10-4 1812207 66.45 ns/op 150.49 MB/s BenchmarkMemmove/11-4 1797948 66.15 ns/op 166.30 MB/s BenchmarkMemmove/12-4 1820220 64.68 ns/op 185.51 MB/s BenchmarkMemmove/13-4 1876993 65.31 ns/op 199.04 MB/s BenchmarkMemmove/14-4 1800121 66.05 ns/op 211.98 MB/s BenchmarkMemmove/15-4 1812720 64.82 ns/op 231.42 MB/s BenchmarkMemmove/16-4 1871631 64.05 ns/op 249.81 MB/s BenchmarkMemmove/32-4 1802982 66.16 ns/op 483.68 MB/s BenchmarkMemmove/64-4 1695698 71.16 ns/op 899.34 MB/s BenchmarkMemmove/128-4 1391752 86.23 ns/op 1484.47 MB/s BenchmarkMemmove/256-4 899372 133.6 ns/op 1916.73 MB/s BenchmarkMemmove/512-4 629462 188.9 ns/op 2710.91 MB/s BenchmarkMemmove/1024-4 406105 291.9 ns/op 3508.23 MB/s BenchmarkMemmove/2048-4 239619 499.9 ns/op 4096.97 MB/s BenchmarkMemmove/4096-4 130314 915.1 ns/op 4475.98 MB/s BenchmarkMemmoveOverlap/32-4 1793949 65.81 ns/op 486.27 MB/s BenchmarkMemmoveOverlap/64-4 1631568 73.73 ns/op 868.03 MB/s BenchmarkMemmoveOverlap/128-4 1357122 88.14 ns/op 1452.19 MB/s BenchmarkMemmoveOverlap/256-4 881782 133.4 ns/op 1918.79 MB/s BenchmarkMemmoveOverlap/512-4 646723 183.5 ns/op 2790.44 MB/s BenchmarkMemmoveOverlap/1024-4 418276 288.2 ns/op 3552.73 MB/s BenchmarkMemmoveOverlap/2048-4 235777 496.1 ns/op 4128.55 MB/s BenchmarkMemmoveOverlap/4096-4 131408 922.0 ns/op 4442.69 MB/s BenchmarkMemmoveUnalignedDst/0-4 15728757 7.621 ns/op BenchmarkMemmoveUnalignedDst/1-4 1924890 62.52 ns/op 15.99 MB/s BenchmarkMemmoveUnalignedDst/2-4 1909494 63.83 ns/op 31.33 MB/s BenchmarkMemmoveUnalignedDst/3-4 1923733 64.00 ns/op 46.87 MB/s BenchmarkMemmoveUnalignedDst/4-4 1857890 63.44 ns/op 63.05 MB/s BenchmarkMemmoveUnalignedDst/5-4 1855731 62.89 ns/op 79.50 MB/s BenchmarkMemmoveUnalignedDst/6-4 1909350 63.53 ns/op 94.44 MB/s BenchmarkMemmoveUnalignedDst/7-4 1827738 65.02 ns/op 107.66 MB/s BenchmarkMemmoveUnalignedDst/8-4 1954383 61.28 ns/op 130.54 MB/s BenchmarkMemmoveUnalignedDst/9-4 1828212 66.09 ns/op 136.17 MB/s BenchmarkMemmoveUnalignedDst/10-4 1824501 64.58 ns/op 154.85 MB/s BenchmarkMemmoveUnalignedDst/11-4 1824229 65.59 ns/op 167.70 MB/s BenchmarkMemmoveUnalignedDst/12-4 1851711 65.55 ns/op 183.07 MB/s BenchmarkMemmoveUnalignedDst/13-4 1840113 64.72 ns/op 200.85 MB/s BenchmarkMemmoveUnalignedDst/14-4 1831156 65.14 ns/op 214.93 MB/s BenchmarkMemmoveUnalignedDst/15-4 1809289 65.23 ns/op 229.96 MB/s BenchmarkMemmoveUnalignedDst/16-4 1858485 65.52 ns/op 244.21 MB/s BenchmarkMemmoveUnalignedDst/32-4 1744256 68.94 ns/op 464.19 MB/s BenchmarkMemmoveUnalignedDst/64-4 1567020 77.26 ns/op 828.32 MB/s BenchmarkMemmoveUnalignedDst/128-4 1335027 90.09 ns/op 1420.75 MB/s BenchmarkMemmoveUnalignedDst/256-4 852259 139.8 ns/op 1831.48 MB/s BenchmarkMemmoveUnalignedDst/512-4 611404 193.7 ns/op 2642.68 MB/s BenchmarkMemmoveUnalignedDst/1024-4 391642 309.9 ns/op 3303.87 MB/s BenchmarkMemmoveUnalignedDst/2048-4 232759 500.2 ns/op 4094.44 MB/s BenchmarkMemmoveUnalignedDst/4096-4 122871 956.9 ns/op 4280.45 MB/s BenchmarkMemmoveUnalignedDstOverlap/32-4 1714406 70.85 ns/op 451.68 MB/s BenchmarkMemmoveUnalignedDstOverlap/64-4 1560168 76.77 ns/op 833.69 MB/s BenchmarkMemmoveUnalignedDstOverlap/128-4 1310854 91.39 ns/op 1400.65 MB/s BenchmarkMemmoveUnalignedDstOverlap/256-4 851300 139.2 ns/op 1838.50 MB/s BenchmarkMemmoveUnalignedDstOverlap/512-4 607395 192.2 ns/op 2664.08 MB/s BenchmarkMemmoveUnalignedDstOverlap/1024-4 415718 295.5 ns/op 3464.94 MB/s BenchmarkMemmoveUnalignedDstOverlap/2048-4 237295 504.1 ns/op 4063.05 MB/s BenchmarkMemmoveUnalignedDstOverlap/4096-4 129697 916.7 ns/op 4468.15 MB/s BenchmarkMemmoveUnalignedSrc/0-4 15631207 7.756 ns/op BenchmarkMemmoveUnalignedSrc/1-4 1943463 62.32 ns/op 16.05 MB/s BenchmarkMemmoveUnalignedSrc/2-4 1853568 64.27 ns/op 31.12 MB/s BenchmarkMemmoveUnalignedSrc/3-4 1908970 62.66 ns/op 47.88 MB/s BenchmarkMemmoveUnalignedSrc/4-4 1847700 64.55 ns/op 61.97 MB/s BenchmarkMemmoveUnalignedSrc/5-4 1882948 63.35 ns/op 78.93 MB/s BenchmarkMemmoveUnalignedSrc/6-4 1886061 63.86 ns/op 93.96 MB/s BenchmarkMemmoveUnalignedSrc/7-4 1845492 64.43 ns/op 108.64 MB/s BenchmarkMemmoveUnalignedSrc/8-4 1923519 62.69 ns/op 127.62 MB/s BenchmarkMemmoveUnalignedSrc/9-4 1844432 64.98 ns/op 138.50 MB/s BenchmarkMemmoveUnalignedSrc/10-4 1839758 64.52 ns/op 154.98 MB/s BenchmarkMemmoveUnalignedSrc/11-4 1818219 64.72 ns/op 169.96 MB/s BenchmarkMemmoveUnalignedSrc/12-4 1823388 65.72 ns/op 182.59 MB/s BenchmarkMemmoveUnalignedSrc/13-4 1828968 65.35 ns/op 198.94 MB/s BenchmarkMemmoveUnalignedSrc/14-4 1812680 65.52 ns/op 213.68 MB/s BenchmarkMemmoveUnalignedSrc/15-4 1828722 65.79 ns/op 228.00 MB/s BenchmarkMemmoveUnalignedSrc/16-4 1810526 67.52 ns/op 236.98 MB/s BenchmarkMemmoveUnalignedSrc/32-4 1686724 70.12 ns/op 456.36 MB/s BenchmarkMemmoveUnalignedSrc/64-4 1604491 74.87 ns/op 854.85 MB/s BenchmarkMemmoveUnalignedSrc/128-4 1349864 91.17 ns/op 1404.01 MB/s BenchmarkMemmoveUnalignedSrc/256-4 834499 138.3 ns/op 1850.77 MB/s BenchmarkMemmoveUnalignedSrc/512-4 614750 193.6 ns/op 2644.65 MB/s BenchmarkMemmoveUnalignedSrc/1024-4 408657 290.5 ns/op 3524.45 MB/s BenchmarkMemmoveUnalignedSrc/2048-4 236582 506.1 ns/op 4046.42 MB/s BenchmarkMemmoveUnalignedSrc/4096-4 123168 945.7 ns/op 4331.23 MB/s BenchmarkMemmoveUnalignedSrcOverlap/32-4 1745158 69.25 ns/op 462.07 MB/s BenchmarkMemmoveUnalignedSrcOverlap/64-4 1566508 76.47 ns/op 836.93 MB/s BenchmarkMemmoveUnalignedSrcOverlap/128-4 1328482 89.55 ns/op 1429.40 MB/s BenchmarkMemmoveUnalignedSrcOverlap/256-4 871783 138.0 ns/op 1855.01 MB/s BenchmarkMemmoveUnalignedSrcOverlap/512-4 630652 188.7 ns/op 2713.73 MB/s BenchmarkMemmoveUnalignedSrcOverlap/1024-4 409684 288.9 ns/op 3544.45 MB/s BenchmarkMemmoveUnalignedSrcOverlap/2048-4 234801 499.0 ns/op 4104.51 MB/s BenchmarkMemmoveUnalignedSrcOverlap/4096-4 129349 931.7 ns/op 4396.07 MB/s BenchmarkMemclr/5-4 11728982 10.13 ns/op 493.56 MB/s BenchmarkMemclr/16-4 12148455 9.972 ns/op 1604.46 MB/s BenchmarkMemclr/64-4 11285018 10.64 ns/op 6017.34 MB/s BenchmarkMemclr/256-4 10102975 11.80 ns/op 21687.84 MB/s BenchmarkMemclr/4096-4 2361706 51.00 ns/op 80320.43 MB/s BenchmarkMemclr/65536-4 67526 1615 ns/op 40585.44 MB/s BenchmarkMemclr/1M-4 2721 39485 ns/op 26556.33 MB/s BenchmarkMemclr/4M-4 638 172158 ns/op 24363.04 MB/s BenchmarkMemclr/8M-4 277 411970 ns/op 20362.19 MB/s BenchmarkMemclr/16M-4 55 2155642 ns/op 7782.93 MB/s BenchmarkMemclr/64M-4 10 10561982 ns/op 6353.81 MB/s BenchmarkMemclrUnaligned/0_5-4 7090983 16.88 ns/op 296.25 MB/s BenchmarkMemclrUnaligned/0_16-4 7058038 17.02 ns/op 940.33 MB/s BenchmarkMemclrUnaligned/0_64-4 6787081 17.53 ns/op 3651.71 MB/s BenchmarkMemclrUnaligned/0_256-4 6252804 19.35 ns/op 13227.79 MB/s BenchmarkMemclrUnaligned/0_4096-4 2185080 54.74 ns/op 74832.31 MB/s BenchmarkMemclrUnaligned/0_65536-4 69838 1510 ns/op 43399.85 MB/s BenchmarkMemclrUnaligned/1_5-4 7123290 16.79 ns/op 297.83 MB/s BenchmarkMemclrUnaligned/1_16-4 7062584 16.94 ns/op 944.70 MB/s BenchmarkMemclrUnaligned/1_64-4 6857994 18.01 ns/op 3553.56 MB/s BenchmarkMemclrUnaligned/1_256-4 6104586 19.80 ns/op 12932.13 MB/s BenchmarkMemclrUnaligned/1_4096-4 1284147 93.38 ns/op 43861.76 MB/s BenchmarkMemclrUnaligned/1_65536-4 50757 2173 ns/op 30164.03 MB/s BenchmarkMemclrUnaligned/4_5-4 7137795 16.91 ns/op 295.65 MB/s BenchmarkMemclrUnaligned/4_16-4 6946744 17.16 ns/op 932.57 MB/s BenchmarkMemclrUnaligned/4_64-4 6771840 18.01 ns/op 3553.05 MB/s BenchmarkMemclrUnaligned/4_256-4 6046684 19.71 ns/op 12990.25 MB/s BenchmarkMemclrUnaligned/4_4096-4 1297104 93.98 ns/op 43584.30 MB/s BenchmarkMemclrUnaligned/4_65536-4 53338 2171 ns/op 30184.42 MB/s BenchmarkMemclrUnaligned/7_5-4 7112871 16.73 ns/op 298.87 MB/s BenchmarkMemclrUnaligned/7_16-4 7042684 17.11 ns/op 934.87 MB/s BenchmarkMemclrUnaligned/7_64-4 6628153 18.00 ns/op 3555.41 MB/s BenchmarkMemclrUnaligned/7_256-4 6036883 19.24 ns/op 13303.68 MB/s BenchmarkMemclrUnaligned/7_4096-4 1247517 96.94 ns/op 42252.80 MB/s BenchmarkMemclrUnaligned/7_65536-4 61818 2120 ns/op 30907.11 MB/s BenchmarkMemclrUnaligned/0_1M-4 2649 41558 ns/op 25231.84 MB/s BenchmarkMemclrUnaligned/0_4M-4 651 166536 ns/op 25185.55 MB/s BenchmarkMemclrUnaligned/0_8M-4 243 438531 ns/op 19128.86 MB/s BenchmarkMemclrUnaligned/0_16M-4 64 1791072 ns/op 9367.14 MB/s BenchmarkMemclrUnaligned/0_64M-4 10 10333114 ns/op 6494.54 MB/s BenchmarkMemclrUnaligned/1_1M-4 2704 42494 ns/op 24675.66 MB/s BenchmarkMemclrUnaligned/1_4M-4 624 172390 ns/op 24330.28 MB/s BenchmarkMemclrUnaligned/1_8M-4 222 591110 ns/op 14191.29 MB/s BenchmarkMemclrUnaligned/1_16M-4 48 2604747 ns/op 6441.01 MB/s BenchmarkMemclrUnaligned/1_64M-4 10 10528552 ns/op 6373.99 MB/s BenchmarkMemclrUnaligned/4_1M-4 2734 41552 ns/op 25235.42 MB/s BenchmarkMemclrUnaligned/4_4M-4 660 178587 ns/op 23486.04 MB/s BenchmarkMemclrUnaligned/4_8M-4 192 598458 ns/op 14017.03 MB/s BenchmarkMemclrUnaligned/4_16M-4 38 2718291 ns/op 6171.97 MB/s BenchmarkMemclrUnaligned/4_64M-4 10 10588464 ns/op 6337.92 MB/s BenchmarkMemclrUnaligned/7_1M-4 2568 40825 ns/op 25684.60 MB/s BenchmarkMemclrUnaligned/7_4M-4 636 174762 ns/op 24000.13 MB/s BenchmarkMemclrUnaligned/7_8M-4 205 583740 ns/op 14370.46 MB/s BenchmarkMemclrUnaligned/7_16M-4 50 2042478 ns/op 8214.15 MB/s BenchmarkMemclrUnaligned/7_64M-4 10 10636838 ns/op 6309.10 MB/s BenchmarkGoMemclr/5-4 2161627 55.65 ns/op 89.84 MB/s BenchmarkGoMemclr/16-4 521359 230.4 ns/op 69.43 MB/s BenchmarkGoMemclr/64-4 136454 867.2 ns/op 73.80 MB/s BenchmarkGoMemclr/256-4 35436 3412 ns/op 75.04 MB/s BenchmarkMemclrRange/1K_2K-4 69153 1728 ns/op 55493.89 MB/s BenchmarkMemclrRange/2K_8K-4 30440 3967 ns/op 84077.89 MB/s BenchmarkMemclrRange/4K_16K-4 40824 2835 ns/op 113948.76 MB/s BenchmarkMemclrRange/160K_228K-4 1854 58042 ns/op 28649.22 MB/s BenchmarkClearFat7-4 5884233 20.17 ns/op BenchmarkClearFat8-4 6986020 17.15 ns/op BenchmarkClearFat11-4 6150628 19.92 ns/op BenchmarkClearFat12-4 6305156 19.54 ns/op BenchmarkClearFat13-4 5456677 19.67 ns/op BenchmarkClearFat14-4 6123170 19.96 ns/op BenchmarkClearFat15-4 5990846 20.37 ns/op BenchmarkClearFat16-4 6393507 18.78 ns/op BenchmarkClearFat24-4 6003488 19.91 ns/op BenchmarkClearFat32-4 6068379 19.98 ns/op BenchmarkClearFat40-4 5177084 22.09 ns/op BenchmarkClearFat48-4 5781163 20.66 ns/op BenchmarkClearFat56-4 5610522 21.97 ns/op BenchmarkClearFat64-4 5269966 22.64 ns/op BenchmarkClearFat72-4 5240472 22.85 ns/op BenchmarkClearFat128-4 3658984 32.53 ns/op BenchmarkClearFat256-4 2179552 54.88 ns/op BenchmarkClearFat512-4 1445846 82.62 ns/op BenchmarkClearFat1024-4 872708 136.6 ns/op BenchmarkClearFat1032-4 819423 149.3 ns/op BenchmarkClearFat1040-4 822812 144.7 ns/op BenchmarkCopyFat7-4 6265628 19.38 ns/op BenchmarkCopyFat8-4 6770296 18.24 ns/op BenchmarkCopyFat11-4 6083371 20.40 ns/op BenchmarkCopyFat12-4 5949520 19.61 ns/op BenchmarkCopyFat13-4 6207104 19.09 ns/op BenchmarkCopyFat14-4 6106726 19.44 ns/op BenchmarkCopyFat15-4 5838168 20.45 ns/op BenchmarkCopyFat16-4 6298412 18.42 ns/op BenchmarkCopyFat24-4 5947730 19.84 ns/op BenchmarkCopyFat32-4 6179508 19.61 ns/op BenchmarkCopyFat64-4 5156053 22.94 ns/op BenchmarkCopyFat72-4 5090767 23.54 ns/op BenchmarkCopyFat128-4 3655224 33.27 ns/op BenchmarkCopyFat256-4 2090845 57.48 ns/op BenchmarkCopyFat512-4 1381834 87.72 ns/op BenchmarkCopyFat520-4 1364511 87.70 ns/op BenchmarkCopyFat1024-4 810792 146.4 ns/op BenchmarkCopyFat1032-4 791193 153.1 ns/op BenchmarkCopyFat1040-4 796242 150.5 ns/op BenchmarkIssue18740/2byte-4 428 282597 ns/op BenchmarkIssue18740/4byte-4 727 165458 ns/op BenchmarkIssue18740/8byte-4 984 119948 ns/op BenchmarkMemclrKnownSize1-4 9046268 13.32 ns/op 75.09 MB/s BenchmarkMemclrKnownSize2-4 5712548 20.11 ns/op 99.44 MB/s BenchmarkMemclrKnownSize4-4 3553816 33.99 ns/op 117.68 MB/s BenchmarkMemclrKnownSize8-4 1000000 115.4 ns/op 69.30 MB/s BenchmarkMemclrKnownSize16-4 511156 229.3 ns/op 69.78 MB/s BenchmarkMemclrKnownSize32-4 267558 440.6 ns/op 72.63 MB/s BenchmarkMemclrKnownSize64-4 145021 836.7 ns/op 76.49 MB/s BenchmarkMemclrKnownSize112-4 80406 1494 ns/op 74.95 MB/s BenchmarkMemclrKnownSize128-4 72187 1670 ns/op 76.66 MB/s BenchmarkMemclrKnownSize192-4 47706 2481 ns/op 77.40 MB/s BenchmarkMemclrKnownSize248-4 36151 3253 ns/op 76.23 MB/s BenchmarkMemclrKnownSize256-4 34995 3369 ns/op 75.98 MB/s BenchmarkMemclrKnownSize512-4 17934 6806 ns/op 75.23 MB/s BenchmarkMemclrKnownSize1024-4 8919 13713 ns/op 74.67 MB/s BenchmarkMemclrKnownSize4096-4 2235 53761 ns/op 76.19 MB/s BenchmarkMemclrKnownSize512KiB-4 15 7118993 ns/op 73.65 MB/s BenchmarkReadMetricsLatency-4 10000 5003 p50-ns 5627 p90-ns 21530 p99-ns BenchmarkFinalizer-4 164 705363 ns/op BenchmarkFinalizerRun-4 185128 941.6 ns/op BenchmarkPallocBitsSummarize/Unpacked00-4 7238977 15.57 ns/op BenchmarkPallocBitsSummarize/UnpackedFFFFFFFFFFFFFFFF-4 3122143 37.83 ns/op BenchmarkPallocBitsSummarize/UnpackedAA-4 2440462 48.92 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAAAAAAAAAA-4 2341968 49.30 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000AAAAAAAA-4 1300569 90.93 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAA00000001-4 1000000 102.5 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBBBBBBBBBB-4 2202674 52.20 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000BBBBBBBB-4 1252150 93.97 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBB00000001-4 1315033 90.33 ns/op BenchmarkPallocBitsSummarize/UnpackedCCCCCCCCCCCCCCCC-4 1822038 66.35 ns/op BenchmarkPallocBitsSummarize/Unpacked4444444444444444-4 1858190 65.42 ns/op BenchmarkPallocBitsSummarize/Unpacked4040404040404040-4 1693278 69.38 ns/op BenchmarkPallocBitsSummarize/Unpacked4000400040004000-4 1458417 80.77 ns/op BenchmarkPallocBitsSummarize/Unpacked1000404044CCAAFF-4 1341248 88.89 ns/op BenchmarkFindBitRange64/Pattern00Size2-4 6243637 19.20 ns/op BenchmarkFindBitRange64/Pattern00Size8-4 6545644 18.29 ns/op BenchmarkFindBitRange64/Pattern00Size32-4 6513100 18.30 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize2-4 6587790 18.22 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize8-4 5885408 20.65 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize32-4 5233912 23.14 ns/op BenchmarkFindBitRange64/PatternAASize2-4 6514971 18.39 ns/op BenchmarkFindBitRange64/PatternAASize8-4 6506187 18.46 ns/op BenchmarkFindBitRange64/PatternAASize32-4 6541143 18.24 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize2-4 6504127 18.42 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize8-4 6494720 18.25 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize32-4 6515809 18.38 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize2-4 6523772 18.21 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize8-4 6534145 18.42 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize32-4 6555510 18.27 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size2-4 6525774 18.33 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size8-4 6495658 18.32 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size32-4 6520345 18.24 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize2-4 6550233 18.49 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize8-4 6071455 19.55 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize32-4 6085202 19.52 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize2-4 6486590 18.39 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize8-4 6166455 19.45 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize32-4 6116041 19.51 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size2-4 6498782 18.49 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size8-4 6166390 19.58 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size32-4 6134994 19.68 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize2-4 6604534 18.28 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize8-4 6164886 19.43 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize32-4 6174106 19.55 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size2-4 6574652 18.19 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size8-4 6533157 18.42 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size32-4 6552578 18.28 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size2-4 6558160 18.42 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size8-4 6552951 18.21 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size32-4 6457296 18.36 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size2-4 6469562 18.27 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size8-4 6562923 18.33 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size32-4 6416973 18.26 ns/op BenchmarkNetpollBreak-4 3980 30843 ns/op BenchmarkPinnerPinUnpinBatch-4 961 112239 ns/op BenchmarkPinnerPinUnpinBatchDouble-4 222 524595 ns/op BenchmarkPinnerPinUnpinBatchTiny-4 1150 114202 ns/op BenchmarkPinnerPinUnpin-4 1000000 104.1 ns/op BenchmarkPinnerPinUnpinTiny-4 1000000 104.6 ns/op BenchmarkPinnerPinUnpinDouble-4 436803 269.7 ns/op BenchmarkPinnerPinUnpinParallel-4 3523514 40.01 ns/op BenchmarkPinnerPinUnpinParallelTiny-4 3615590 32.97 ns/op BenchmarkPinnerPinUnpinParallelDouble-4 202472 528.7 ns/op BenchmarkPinnerIsPinnedOnPinned-4 5456982 20.26 ns/op BenchmarkPinnerIsPinnedOnUnpinned-4 5771241 19.76 ns/op BenchmarkPinnerIsPinnedOnPinnedParallel-4 7365133 14.67 ns/op BenchmarkPinnerIsPinnedOnUnpinnedParallel-4 7995793 12.73 ns/op BenchmarkPingPongHog-4 330 303098 ns/op BenchmarkStackGrowth-4 119154 1037 ns/op BenchmarkStackGrowthDeep-4 1363 86965 ns/op BenchmarkCreateGoroutines-4 50888 2325 ns/op BenchmarkCreateGoroutinesParallel-4 40201 2799 ns/op BenchmarkCreateGoroutinesCapture-4 9325 13664 ns/op 144 B/op 5 allocs/op BenchmarkCreateGoroutinesSingle-4 37330 3177 ns/op BenchmarkClosureCall-4 18626074 6.411 ns/op BenchmarkWakeupParallelSpinning/0s-4 9337 20519 ns/op BenchmarkWakeupParallelSpinning/1µs-4 5169 23022 ns/op BenchmarkWakeupParallelSpinning/2µs-4 4940 24172 ns/op BenchmarkWakeupParallelSpinning/5µs-4 3459 36047 ns/op BenchmarkWakeupParallelSpinning/10µs-4 2136 57125 ns/op BenchmarkWakeupParallelSpinning/20µs-4 1299 94155 ns/op BenchmarkWakeupParallelSpinning/50µs-4 663 187001 ns/op BenchmarkWakeupParallelSpinning/100µs-4 372 348615 ns/op BenchmarkWakeupParallelSyscall/0s-4 763 155466 ns/op BenchmarkWakeupParallelSyscall/1µs-4 746 158236 ns/op BenchmarkWakeupParallelSyscall/2µs-4 663 161112 ns/op BenchmarkWakeupParallelSyscall/5µs-4 709 165904 ns/op BenchmarkWakeupParallelSyscall/10µs-4 657 180172 ns/op BenchmarkWakeupParallelSyscall/20µs-4 597 222668 ns/op BenchmarkWakeupParallelSyscall/50µs-4 468 292037 ns/op BenchmarkWakeupParallelSyscall/100µs-4 330 371466 ns/op BenchmarkMatmult-4 3085114 40.93 ns/op BenchmarkFastrand-4 10488784 9.901 ns/op BenchmarkFastrand64-4 11164628 8.990 ns/op BenchmarkFastrandHashiter-4 4388106 25.57 ns/op BenchmarkFastrandn/2-4 6030289 20.08 ns/op BenchmarkFastrandn/3-4 6032374 19.85 ns/op BenchmarkFastrandn/4-4 6115053 19.34 ns/op BenchmarkFastrandn/5-4 6174714 19.25 ns/op BenchmarkIfaceCmp100-4 103855 1155 ns/op BenchmarkIfaceCmpNil100-4 143203 833.6 ns/op BenchmarkEfaceCmpDiff-4 40074 2994 ns/op BenchmarkEfaceCmpDiffIndirect-4 29834 3958 ns/op BenchmarkDefer-4 1667583 72.87 ns/op BenchmarkDefer10-4 827097 150.5 ns/op BenchmarkDeferMany-4 454684 456.1 ns/op BenchmarkPanicRecover-4 170419 650.6 ns/op BenchmarkGoroutineProfile/small-nil/idle-4 7900 15822 ns/op 14838 p50-ns 19206 p90-ns 33998 p99-ns BenchmarkGoroutineProfile/small-nil/loaded-4 5490 18683 ns/op 15185 p50-ns 20912 p90-ns 156485 p99-ns BenchmarkGoroutineProfile/small/idle-4 3014 39522 ns/op 36820 p50-ns 44660 p90-ns 72628 p99-ns BenchmarkGoroutineProfile/small/loaded-4 1026 300604 ns/op 127996 p50-ns 331574 p90-ns 3984775 p99-ns BenchmarkGoroutineProfile/large-nil/idle-4 7771 17747 ns/op 17311 p50-ns 21305 p90-ns 37394 p99-ns BenchmarkGoroutineProfile/large-nil/loaded-4 6586 19964 ns/op 15798 p50-ns 23021 p90-ns 87251 p99-ns BenchmarkGoroutineProfile/large/idle-4 13 8387299 ns/op 8371460 p50-ns 8505770 p90-ns 8812295 p99-ns BenchmarkGoroutineProfile/large/loaded-4 10 11138100 ns/op 9846127 p50-ns 18925021 p90-ns 18925021 p99-ns BenchmarkGoroutineProfile/sparse-nil/idle-4 7086 16769 ns/op 15434 p50-ns 20850 p90-ns 47503 p99-ns BenchmarkGoroutineProfile/sparse-nil/loaded-4 5749 26460 ns/op 15654 p50-ns 25084 p90-ns 197373 p99-ns BenchmarkGoroutineProfile/sparse/idle-4 843 150851 ns/op 132475 p50-ns 186943 p90-ns 323786 p99-ns BenchmarkGoroutineProfile/sparse/loaded-4 334 552425 ns/op 250433 p50-ns 496370 p90-ns 11785849 p99-ns BenchmarkRWMutexUncontended-4 2969991 39.28 ns/op BenchmarkRWMutexWrite100-4 566059 185.4 ns/op BenchmarkRWMutexWrite10-4 168736 1099 ns/op BenchmarkRWMutexWorkWrite100-4 548005 257.2 ns/op BenchmarkRWMutexWorkWrite10-4 78685 1435 ns/op BenchmarkSemTable/OneAddrCollision/n=1000-4 1719 65116 ns/op BenchmarkSemTable/ManyAddrCollision/n=1000-4 883 134826 ns/op BenchmarkSemTable/OneAddrCollision/n=2000-4 949 124733 ns/op BenchmarkSemTable/ManyAddrCollision/n=2000-4 416 286983 ns/op BenchmarkSemTable/OneAddrCollision/n=4000-4 471 248861 ns/op BenchmarkSemTable/ManyAddrCollision/n=4000-4 196 588782 ns/op BenchmarkSemTable/OneAddrCollision/n=8000-4 229 505490 ns/op BenchmarkSemTable/ManyAddrCollision/n=8000-4 94 1214154 ns/op BenchmarkMakeSliceCopy/mallocmove/Byte-4 278812 431.5 ns/op BenchmarkMakeSliceCopy/mallocmove/Int-4 251464 418.2 ns/op BenchmarkMakeSliceCopy/mallocmove/Ptr-4 262626 423.9 ns/op BenchmarkMakeSliceCopy/makecopy/Byte-4 254136 414.6 ns/op BenchmarkMakeSliceCopy/makecopy/Int-4 284953 405.2 ns/op BenchmarkMakeSliceCopy/makecopy/Ptr-4 257391 462.7 ns/op BenchmarkMakeSliceCopy/nilappend/Byte-4 243670 431.2 ns/op BenchmarkMakeSliceCopy/nilappend/Int-4 279758 431.6 ns/op BenchmarkMakeSliceCopy/nilappend/Ptr-4 250252 488.3 ns/op BenchmarkMakeSlice/Byte-4 1997856 61.92 ns/op BenchmarkMakeSlice/Int16-4 2064164 60.30 ns/op BenchmarkMakeSlice/Int-4 1421578 80.22 ns/op BenchmarkMakeSlice/Ptr-4 1000000 106.5 ns/op BenchmarkMakeSlice/Struct/24-4 935254 128.1 ns/op BenchmarkMakeSlice/Struct/32-4 671788 155.5 ns/op BenchmarkMakeSlice/Struct/40-4 705393 171.1 ns/op BenchmarkGrowSlice/Byte-4 801728 153.1 ns/op BenchmarkGrowSlice/Int16-4 787593 168.1 ns/op BenchmarkGrowSlice/Int-4 488973 212.0 ns/op BenchmarkGrowSlice/Ptr-4 421261 261.1 ns/op BenchmarkGrowSlice/Struct/24-4 274135 399.3 ns/op BenchmarkGrowSlice/Struct/32-4 263288 474.8 ns/op BenchmarkGrowSlice/Struct/40-4 215259 587.1 ns/op BenchmarkExtendSlice/IntSlice-4 480048 245.8 ns/op BenchmarkExtendSlice/PointerSlice-4 382657 315.2 ns/op BenchmarkExtendSlice/NoGrow-4 851644 144.0 ns/op BenchmarkAppend-4 789322 150.5 ns/op BenchmarkAppendGrowByte-4 3 34617568 ns/op BenchmarkAppendGrowString-4 1 423885000 ns/op BenchmarkAppendSlice/1Bytes-4 1876344 61.33 ns/op BenchmarkAppendSlice/4Bytes-4 1839034 63.42 ns/op BenchmarkAppendSlice/7Bytes-4 1839044 64.45 ns/op BenchmarkAppendSlice/8Bytes-4 1878766 63.15 ns/op BenchmarkAppendSlice/15Bytes-4 1794849 65.58 ns/op BenchmarkAppendSlice/16Bytes-4 1816053 64.56 ns/op BenchmarkAppendSlice/32Bytes-4 1756968 65.73 ns/op BenchmarkAppendSliceLarge/1024Bytes-4 85417 1306 ns/op BenchmarkAppendSliceLarge/4096Bytes-4 24213 4970 ns/op BenchmarkAppendSliceLarge/16384Bytes-4 9572 17346 ns/op BenchmarkAppendSliceLarge/65536Bytes-4 1738 62629 ns/op BenchmarkAppendSliceLarge/262144Bytes-4 102 1194190 ns/op BenchmarkAppendSliceLarge/1048576Bytes-4 20 5669314 ns/op BenchmarkAppendStr/1Bytes-4 1442839 82.75 ns/op BenchmarkAppendStr/4Bytes-4 1484475 80.33 ns/op BenchmarkAppendStr/8Bytes-4 1456020 81.69 ns/op BenchmarkAppendStr/16Bytes-4 1418840 81.63 ns/op BenchmarkAppendStr/32Bytes-4 1452591 84.35 ns/op BenchmarkAppendSpecialCase-4 755857 158.1 ns/op BenchmarkCopy/1Byte-4 2055122 60.22 ns/op 16.61 MB/s BenchmarkCopy/1String-4 1998948 60.20 ns/op 16.61 MB/s BenchmarkCopy/2Byte-4 1902794 63.37 ns/op 31.56 MB/s BenchmarkCopy/2String-4 1902234 61.99 ns/op 32.26 MB/s BenchmarkCopy/4Byte-4 1874576 63.04 ns/op 63.45 MB/s BenchmarkCopy/4String-4 1894358 66.06 ns/op 60.55 MB/s BenchmarkCopy/8Byte-4 1918123 63.73 ns/op 125.53 MB/s BenchmarkCopy/8String-4 1907724 64.06 ns/op 124.88 MB/s BenchmarkCopy/12Byte-4 1893834 66.75 ns/op 179.77 MB/s BenchmarkCopy/12String-4 1834120 65.40 ns/op 183.47 MB/s BenchmarkCopy/16Byte-4 1876488 62.73 ns/op 255.08 MB/s BenchmarkCopy/16String-4 1833831 64.29 ns/op 248.86 MB/s BenchmarkCopy/32Byte-4 1843388 65.90 ns/op 485.57 MB/s BenchmarkCopy/32String-4 1783915 67.77 ns/op 472.17 MB/s BenchmarkCopy/128Byte-4 1339008 88.29 ns/op 1449.77 MB/s BenchmarkCopy/128String-4 1000000 101.3 ns/op 1263.90 MB/s BenchmarkCopy/1024Byte-4 405620 290.4 ns/op 3526.36 MB/s BenchmarkCopy/1024String-4 349687 336.4 ns/op 3044.24 MB/s BenchmarkAppendInPlace/NoGrow/Byte-4 25898 4098 ns/op BenchmarkAppendInPlace/NoGrow/1Ptr-4 19454 6269 ns/op BenchmarkAppendInPlace/NoGrow/2Ptr-4 12787 9323 ns/op BenchmarkAppendInPlace/NoGrow/3Ptr-4 10000 12072 ns/op BenchmarkAppendInPlace/NoGrow/4Ptr-4 8743 15904 ns/op BenchmarkAppendInPlace/Grow/Byte-4 134674 880.0 ns/op BenchmarkAppendInPlace/Grow/1Ptr-4 136692 837.6 ns/op BenchmarkAppendInPlace/Grow/2Ptr-4 117358 1030 ns/op BenchmarkAppendInPlace/Grow/3Ptr-4 87925 1279 ns/op BenchmarkAppendInPlace/Grow/4Ptr-4 79336 1462 ns/op BenchmarkStackCopyPtr-4 1 179486977 ns/op BenchmarkStackCopy-4 1 113980447 ns/op BenchmarkStackCopyNoCache-4 18 5616234 ns/op BenchmarkStackCopyWithStkobj-4 1 130305127 ns/op BenchmarkIssue18138-4 632 198511 ns/op BenchmarkCompareStringEqual-4 10873124 10.61 ns/op BenchmarkCompareStringIdentical-4 15921483 7.675 ns/op BenchmarkCompareStringSameLength-4 13035608 9.084 ns/op BenchmarkCompareStringDifferentLength-4 18678967 6.423 ns/op BenchmarkCompareStringBigUnaligned-4 1298 91259 ns/op 11490.26 MB/s BenchmarkCompareStringBig-4 1366 87111 ns/op 12037.36 MB/s BenchmarkConcatStringAndBytes-4 2136133 56.44 ns/op BenchmarkSliceByteToString/1-4 2227894 54.03 ns/op BenchmarkSliceByteToString/2-4 1000000 112.2 ns/op BenchmarkSliceByteToString/4-4 966966 106.8 ns/op BenchmarkSliceByteToString/8-4 1000000 106.1 ns/op BenchmarkSliceByteToString/16-4 1000000 106.1 ns/op BenchmarkSliceByteToString/32-4 1000000 124.7 ns/op BenchmarkSliceByteToString/64-4 828081 146.2 ns/op BenchmarkSliceByteToString/128-4 777214 191.4 ns/op BenchmarkRuneCount/lenruneslice/ASCII-4 2299414 52.53 ns/op BenchmarkRuneCount/lenruneslice/Japanese-4 809384 139.7 ns/op BenchmarkRuneCount/lenruneslice/MixedLength-4 1000000 119.5 ns/op BenchmarkRuneCount/rangeloop/ASCII-4 3191130 37.39 ns/op BenchmarkRuneCount/rangeloop/Japanese-4 1612450 74.07 ns/op BenchmarkRuneCount/rangeloop/MixedLength-4 1843807 64.71 ns/op BenchmarkRuneCount/utf8.RuneCountInString/ASCII-4 2231272 53.53 ns/op BenchmarkRuneCount/utf8.RuneCountInString/Japanese-4 429608 278.0 ns/op BenchmarkRuneCount/utf8.RuneCountInString/MixedLength-4 550448 220.4 ns/op BenchmarkRuneIterate/range/ASCII-4 5574321 20.82 ns/op BenchmarkRuneIterate/range/Japanese-4 2056750 58.50 ns/op BenchmarkRuneIterate/range/MixedLength-4 2273628 51.90 ns/op BenchmarkRuneIterate/range1/ASCII-4 5618086 20.80 ns/op BenchmarkRuneIterate/range1/Japanese-4 2038200 57.94 ns/op BenchmarkRuneIterate/range1/MixedLength-4 2150458 54.70 ns/op BenchmarkRuneIterate/range2/ASCII-4 5648935 20.77 ns/op BenchmarkRuneIterate/range2/Japanese-4 2035534 58.39 ns/op BenchmarkRuneIterate/range2/MixedLength-4 2219872 52.09 ns/op BenchmarkArrayEqual-4 17036563 6.953 ns/op BenchmarkFunc/Name-4 2675167 44.61 ns/op BenchmarkFunc/Entry-4 10456102 11.38 ns/op BenchmarkFunc/FileLine-4 1560523 76.95 ns/op PASS ok runtime 149.166s goos: linux goarch: amd64 pkg: runtime/cgo cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHandle/non-concurrent-4 25854 4622 ns/op BenchmarkHandle/concurrent-4 14042 7726 ns/op PASS ok runtime/cgo 1.465s goos: linux goarch: amd64 pkg: runtime/internal/atomic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAtomicLoad64-4 20858979 5.686 ns/op BenchmarkAtomicStore64-4 9786307 12.10 ns/op BenchmarkAtomicLoad-4 21020296 5.694 ns/op BenchmarkAtomicStore-4 9795022 12.09 ns/op BenchmarkAnd8-4 9879199 12.18 ns/op BenchmarkAnd-4 9906180 12.19 ns/op BenchmarkAnd8Parallel-4 3943052 50.20 ns/op BenchmarkAndParallel-4 2950935 48.83 ns/op BenchmarkOr8-4 9928258 12.04 ns/op BenchmarkOr-4 9932193 12.14 ns/op BenchmarkOr8Parallel-4 4296718 45.17 ns/op BenchmarkOrParallel-4 3026644 48.61 ns/op BenchmarkXadd-4 2920132 48.99 ns/op BenchmarkXadd64-4 3059323 47.94 ns/op BenchmarkCas-4 2433327 51.94 ns/op BenchmarkCas64-4 2409994 50.78 ns/op BenchmarkXchg-4 4304414 45.54 ns/op BenchmarkXchg64-4 3100222 48.25 ns/op PASS ok runtime/internal/atomic 4.061s goos: linux goarch: amd64 pkg: runtime/internal/math cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMulUintptr/small-4 4309520 27.75 ns/op BenchmarkMulUintptr/large-4 3350534 35.59 ns/op PASS ok runtime/internal/math 1.331s goos: linux goarch: amd64 pkg: runtime/pprof cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkGoroutine/Profile.WriteTo_idle_50-4 18 6737244 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_50-4 14 10152465 ns/op 718.1 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_50-4 894 139677 ns/op 6.315 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_500-4 8 13793455 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_500-4 6 20325720 ns/op 1251 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_500-4 144 872184 ns/op 58.67 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_5000-4 2 83127716 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_5000-4 1 132320511 ns/op 7172 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_5000-4 13 9251455 ns/op 609.8 concurrent_launches/op PASS ok runtime/pprof 2.926s goos: linux goarch: amd64 pkg: runtime/race cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSyncLeak-4 48 2739947 ns/op BenchmarkStackLeak-4 18265 6204 ns/op PASS ok runtime/race 1.544s goos: linux goarch: amd64 pkg: runtime/trace cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStartRegion-4 4169720 29.66 ns/op 0 B/op 0 allocs/op BenchmarkNewTask-4 227492 533.8 ns/op 64 B/op 2 allocs/op PASS ok runtime/trace 1.401s goos: linux goarch: amd64 pkg: slices cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEqualFunc_Large-4 19 5351269 ns/op BenchmarkIndex_Large-4 15790 7385 ns/op BenchmarkIndexFunc_Large-4 91 1157117 ns/op BenchmarkCompact/nil-4 6882374 16.93 ns/op BenchmarkCompact/one-4 1781113 65.96 ns/op BenchmarkCompact/sorted-4 1000000 102.9 ns/op BenchmarkCompact/1_item-4 998797 114.9 ns/op BenchmarkCompact/unsorted-4 1000000 102.5 ns/op BenchmarkCompact/many-4 658762 180.4 ns/op BenchmarkCompact_Large-4 570 179765 ns/op BenchmarkCompactFunc_Large-4 46 2210015 ns/op BenchmarkReplace/naive-fast-4 67171 1543 ns/op BenchmarkReplace/optimized-fast-4 74982 1372 ns/op BenchmarkReplace/naive-slow-4 27172 4326 ns/op BenchmarkReplace/optimized-slow-4 31081 3607 ns/op BenchmarkSortInts-4 2 95841741 ns/op BenchmarkSlicesSortInts-4 2 66487114 ns/op BenchmarkSlicesSortInts_Sorted-4 55 2215357 ns/op BenchmarkSlicesSortInts_Reversed-4 34 3423529 ns/op BenchmarkSortStrings-4 1 153598687 ns/op BenchmarkSlicesSortStrings-4 1 111287139 ns/op BenchmarkSortStructs-4 1 189632034 ns/op BenchmarkSortFuncStructs-4 1 168634715 ns/op BenchmarkBinarySearchFloats/Size16-4 1000000 107.5 ns/op BenchmarkBinarySearchFloats/Size32-4 920359 123.8 ns/op BenchmarkBinarySearchFloats/Size64-4 851902 137.9 ns/op BenchmarkBinarySearchFloats/Size128-4 726687 162.9 ns/op BenchmarkBinarySearchFloats/Size512-4 593874 194.7 ns/op BenchmarkBinarySearchFloats/Size1024-4 564384 211.0 ns/op BenchmarkBinarySearchFuncStruct/Size16-4 566438 202.8 ns/op BenchmarkBinarySearchFuncStruct/Size32-4 478009 249.1 ns/op BenchmarkBinarySearchFuncStruct/Size64-4 397000 296.3 ns/op BenchmarkBinarySearchFuncStruct/Size128-4 352374 330.1 ns/op BenchmarkBinarySearchFuncStruct/Size512-4 288543 404.3 ns/op BenchmarkBinarySearchFuncStruct/Size1024-4 269046 434.8 ns/op PASS ok slices 13.312s goos: linux goarch: amd64 pkg: sort cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSearchWrappers-4 162415 718.6 ns/op BenchmarkSortString1K-4 170 692330 ns/op BenchmarkSortString1K_Slice-4 194 735386 ns/op BenchmarkStableString1K-4 94 1162250 ns/op BenchmarkSortInt1K-4 214 550787 ns/op BenchmarkSortInt1K_Sorted-4 3195 37716 ns/op BenchmarkSortInt1K_Reversed-4 1946 59024 ns/op BenchmarkSortInt1K_Mod8-4 537 219503 ns/op BenchmarkStableInt1K-4 141 838783 ns/op BenchmarkStableInt1K_Slice-4 159 743996 ns/op BenchmarkSortInt64K-4 2 53063458 ns/op BenchmarkSortInt64K_Slice-4 3 46046556 ns/op BenchmarkStableInt64K-4 2 73166232 ns/op BenchmarkSort1e2-4 447 262738 ns/op BenchmarkStable1e2-4 172 711512 ns/op BenchmarkSort1e4-4 2 52726187 ns/op BenchmarkStable1e4-4 1 237244235 ns/op PASS ok sort 4.523s goos: linux goarch: amd64 pkg: strconv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAtof64Decimal-4 815691 140.8 ns/op BenchmarkAtof64Float-4 739132 164.1 ns/op BenchmarkAtof64FloatExp-4 577068 192.6 ns/op BenchmarkAtof64Big-4 438326 272.0 ns/op BenchmarkAtof64RandomBits-4 146119 780.8 ns/op BenchmarkAtof64RandomFloats-4 440278 269.2 ns/op BenchmarkAtof64RandomLongFloats-4 225638 521.3 ns/op BenchmarkAtof32Decimal-4 795193 142.7 ns/op BenchmarkAtof32Float-4 698402 165.5 ns/op BenchmarkAtof32FloatExp-4 593046 197.6 ns/op BenchmarkAtof32Random-4 352879 338.1 ns/op BenchmarkAtof32RandomLong-4 147418 799.2 ns/op BenchmarkParseInt/Pos/7bit-4 1339662 89.13 ns/op BenchmarkParseInt/Pos/26bit-4 565207 197.2 ns/op BenchmarkParseInt/Pos/31bit-4 544074 211.6 ns/op BenchmarkParseInt/Pos/56bit-4 352959 328.1 ns/op BenchmarkParseInt/Pos/63bit-4 332696 351.2 ns/op BenchmarkParseInt/Neg/7bit-4 1331498 89.78 ns/op BenchmarkParseInt/Neg/26bit-4 570481 201.2 ns/op BenchmarkParseInt/Neg/31bit-4 531746 212.9 ns/op BenchmarkParseInt/Neg/56bit-4 361465 320.6 ns/op BenchmarkParseInt/Neg/63bit-4 339896 347.0 ns/op BenchmarkAtoi/Pos/7bit-4 2007039 61.44 ns/op BenchmarkAtoi/Pos/26bit-4 781728 146.5 ns/op BenchmarkAtoi/Pos/31bit-4 712468 162.0 ns/op BenchmarkAtoi/Pos/56bit-4 410858 278.6 ns/op BenchmarkAtoi/Pos/63bit-4 318486 367.2 ns/op BenchmarkAtoi/Neg/7bit-4 1892528 61.39 ns/op BenchmarkAtoi/Neg/26bit-4 796639 149.2 ns/op BenchmarkAtoi/Neg/31bit-4 728367 165.1 ns/op BenchmarkAtoi/Neg/56bit-4 408226 279.9 ns/op BenchmarkAtoi/Neg/63bit-4 322893 357.8 ns/op BenchmarkFormatFloat/Decimal-4 112974 1135 ns/op BenchmarkFormatFloat/Float-4 104290 1173 ns/op BenchmarkFormatFloat/Exp-4 113947 1073 ns/op BenchmarkFormatFloat/NegExp-4 113239 1087 ns/op BenchmarkFormatFloat/LongExp-4 93912 1267 ns/op BenchmarkFormatFloat/Big-4 92146 1350 ns/op BenchmarkFormatFloat/BinaryExp-4 191144 574.0 ns/op BenchmarkFormatFloat/32Integer-4 113817 1055 ns/op BenchmarkFormatFloat/32ExactFraction-4 118162 1033 ns/op BenchmarkFormatFloat/32Point-4 105400 1128 ns/op BenchmarkFormatFloat/32Exp-4 113980 1055 ns/op BenchmarkFormatFloat/32NegExp-4 115258 1064 ns/op BenchmarkFormatFloat/32Shortest-4 119888 1025 ns/op BenchmarkFormatFloat/32Fixed8Hard-4 135326 912.0 ns/op BenchmarkFormatFloat/32Fixed9Hard-4 128984 912.3 ns/op BenchmarkFormatFloat/64Fixed1-4 145812 787.1 ns/op BenchmarkFormatFloat/64Fixed2-4 150218 796.7 ns/op BenchmarkFormatFloat/64Fixed3-4 144576 805.1 ns/op BenchmarkFormatFloat/64Fixed4-4 153687 794.0 ns/op BenchmarkFormatFloat/64Fixed12-4 85299 1420 ns/op BenchmarkFormatFloat/64Fixed16-4 113229 1086 ns/op BenchmarkFormatFloat/64Fixed12Hard-4 116246 1072 ns/op BenchmarkFormatFloat/64Fixed17Hard-4 102007 1182 ns/op BenchmarkFormatFloat/64Fixed18Hard-4 2229 49492 ns/op BenchmarkFormatFloat/Slowpath64-4 96140 1258 ns/op BenchmarkFormatFloat/SlowpathDenormal64-4 96295 1311 ns/op BenchmarkAppendFloat/Decimal-4 134787 873.0 ns/op BenchmarkAppendFloat/Float-4 122072 983.0 ns/op BenchmarkAppendFloat/Exp-4 136306 892.7 ns/op BenchmarkAppendFloat/NegExp-4 137120 856.2 ns/op BenchmarkAppendFloat/LongExp-4 112758 1067 ns/op BenchmarkAppendFloat/Big-4 107984 1099 ns/op BenchmarkAppendFloat/BinaryExp-4 315294 368.9 ns/op BenchmarkAppendFloat/32Integer-4 135645 869.1 ns/op BenchmarkAppendFloat/32ExactFraction-4 137684 865.6 ns/op BenchmarkAppendFloat/32Point-4 123196 917.2 ns/op BenchmarkAppendFloat/32Exp-4 134840 873.7 ns/op BenchmarkAppendFloat/32NegExp-4 137738 856.2 ns/op BenchmarkAppendFloat/32Shortest-4 153043 775.8 ns/op BenchmarkAppendFloat/32Fixed8Hard-4 175645 676.9 ns/op BenchmarkAppendFloat/32Fixed9Hard-4 167674 710.3 ns/op BenchmarkAppendFloat/64Fixed1-4 194486 623.1 ns/op BenchmarkAppendFloat/64Fixed2-4 194444 610.1 ns/op BenchmarkAppendFloat/64Fixed3-4 192222 609.4 ns/op BenchmarkAppendFloat/64Fixed4-4 196341 604.9 ns/op BenchmarkAppendFloat/64Fixed12-4 102589 1163 ns/op BenchmarkAppendFloat/64Fixed16-4 136353 887.7 ns/op BenchmarkAppendFloat/64Fixed12Hard-4 146820 806.4 ns/op BenchmarkAppendFloat/64Fixed17Hard-4 125760 940.0 ns/op BenchmarkAppendFloat/64Fixed18Hard-4 2414 49427 ns/op BenchmarkAppendFloat/Slowpath64-4 112117 1057 ns/op BenchmarkAppendFloat/SlowpathDenormal64-4 115738 1029 ns/op BenchmarkFormatInt-4 15022 8114 ns/op BenchmarkAppendInt-4 17074 7042 ns/op BenchmarkFormatUint-4 80203 1425 ns/op BenchmarkAppendUint-4 95745 1255 ns/op BenchmarkFormatIntSmall/7-4 2607579 45.96 ns/op BenchmarkFormatIntSmall/42-4 2793032 42.16 ns/op BenchmarkAppendIntSmall-4 1347949 88.48 ns/op BenchmarkAppendUintVarlen/1-4 1295120 94.16 ns/op BenchmarkAppendUintVarlen/12-4 1292583 93.35 ns/op BenchmarkAppendUintVarlen/123-4 936051 123.1 ns/op BenchmarkAppendUintVarlen/1234-4 945070 122.5 ns/op BenchmarkAppendUintVarlen/12345-4 863488 126.4 ns/op BenchmarkAppendUintVarlen/123456-4 918777 128.9 ns/op BenchmarkAppendUintVarlen/1234567-4 895207 130.4 ns/op BenchmarkAppendUintVarlen/12345678-4 891788 127.8 ns/op BenchmarkAppendUintVarlen/123456789-4 852933 132.6 ns/op BenchmarkAppendUintVarlen/1234567890-4 875265 135.0 ns/op BenchmarkAppendUintVarlen/12345678901-4 801726 136.4 ns/op BenchmarkAppendUintVarlen/123456789012-4 841626 136.9 ns/op BenchmarkAppendUintVarlen/1234567890123-4 821912 139.7 ns/op BenchmarkAppendUintVarlen/12345678901234-4 806980 140.4 ns/op BenchmarkAppendUintVarlen/123456789012345-4 818350 142.3 ns/op BenchmarkAppendUintVarlen/1234567890123456-4 786346 145.4 ns/op BenchmarkAppendUintVarlen/12345678901234567-4 788330 146.0 ns/op BenchmarkAppendUintVarlen/123456789012345678-4 766419 146.2 ns/op BenchmarkAppendUintVarlen/1234567890123456789-4 756450 149.6 ns/op BenchmarkAppendUintVarlen/12345678901234567890-4 747409 152.1 ns/op BenchmarkQuote-4 44818 2672 ns/op BenchmarkQuoteRune-4 464598 262.7 ns/op BenchmarkAppendQuote-4 54974 2165 ns/op BenchmarkAppendQuoteRune-4 821280 140.8 ns/op BenchmarkUnquoteEasy-4 1365751 88.26 ns/op BenchmarkUnquoteHard-4 46702 2428 ns/op PASS ok strconv 19.933s goos: linux goarch: amd64 pkg: strings cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkBuildString_Builder/1Write_NoGrow-4 391233 281.5 ns/op 48 B/op 1 allocs/op BenchmarkBuildString_Builder/3Write_NoGrow-4 139884 857.3 ns/op 336 B/op 3 allocs/op BenchmarkBuildString_Builder/3Write_Grow-4 194493 614.5 ns/op 112 B/op 1 allocs/op BenchmarkBuildString_ByteBuffer/1Write_NoGrow-4 261895 397.8 ns/op 112 B/op 2 allocs/op BenchmarkBuildString_ByteBuffer/3Write_NoGrow-4 85540 1268 ns/op 432 B/op 4 allocs/op BenchmarkBuildString_ByteBuffer/3Write_Grow-4 96512 1110 ns/op 336 B/op 3 allocs/op BenchmarkClone-4 655418 182.0 ns/op 48 B/op 1 allocs/op BenchmarkGenericNoMatch-4 21184 5787 ns/op BenchmarkGenericMatch1-4 2020 51653 ns/op BenchmarkGenericMatch2-4 438 274573 ns/op BenchmarkSingleMaxSkipping-4 8139 14380 ns/op 695.42 MB/s BenchmarkSingleLongSuffixFail-4 14289 8464 ns/op 118.39 MB/s BenchmarkSingleMatch-4 242 470592 ns/op 31.87 MB/s BenchmarkByteByteNoMatch-4 72256 1640 ns/op BenchmarkByteByteMatch-4 18628 6316 ns/op BenchmarkByteStringMatch-4 22191 5357 ns/op BenchmarkHTMLEscapeNew-4 69060 1683 ns/op BenchmarkHTMLEscapeOld-4 85323 1334 ns/op BenchmarkByteStringReplacerWriteString-4 1322 80805 ns/op BenchmarkByteReplacerWriteString-4 1549 74876 ns/op BenchmarkByteByteReplaces-4 3494 35152 ns/op BenchmarkByteByteMap-4 10000 11900 ns/op BenchmarkMap/identity/ASCII-4 671646 178.8 ns/op BenchmarkMap/identity/Greek-4 478108 247.8 ns/op BenchmarkMap/change/ASCII-4 37827 3106 ns/op BenchmarkMap/change/Greek-4 29991 4048 ns/op BenchmarkIndexRune-4 2058434 58.80 ns/op BenchmarkIndexRuneLongString-4 1735461 68.16 ns/op BenchmarkIndexRuneFastPath-4 4586682 25.86 ns/op BenchmarkIndex-4 4379479 27.53 ns/op BenchmarkLastIndex-4 5086261 24.17 ns/op BenchmarkIndexByte-4 10427875 11.62 ns/op BenchmarkToUpper/#00-4 3308780 36.33 ns/op BenchmarkToUpper/ONLYUPPER-4 2465203 46.84 ns/op BenchmarkToUpper/abc-4 328921 366.6 ns/op BenchmarkToUpper/AbC123-4 221936 487.1 ns/op BenchmarkToUpper/azAZ09_-4 267411 453.7 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 56606 2122 ns/op BenchmarkToUpper/RENAN_BASTOS_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 70858 1700 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 32457 3593 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 57372 2164 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 121575 960.2 ns/op BenchmarkToLower/#00-4 3218436 37.63 ns/op BenchmarkToLower/abc-4 2826955 41.74 ns/op BenchmarkToLower/AbC123-4 234010 516.0 ns/op BenchmarkToLower/azAZ09_-4 231356 517.3 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 99796 1193 ns/op BenchmarkToLower/renan_bastos_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 67320 1797 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 35392 3374 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 78145 1515 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 120906 988.3 ns/op BenchmarkMapNoChanges-4 979129 120.3 ns/op BenchmarkTrim-4 37634 3216 ns/op 0 B/op 0 allocs/op BenchmarkToValidUTF8/Valid-4 3359358 36.31 ns/op BenchmarkToValidUTF8/InvalidASCII-4 199726 603.3 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 129778 926.7 ns/op BenchmarkEqualFold/Tests-4 53474 2221 ns/op BenchmarkEqualFold/ASCII-4 3738916 31.98 ns/op BenchmarkEqualFold/UnicodePrefix-4 104434 1108 ns/op BenchmarkEqualFold/UnicodeSuffix-4 119689 1006 ns/op BenchmarkIndexHard1-4 822 144841 ns/op BenchmarkIndexHard2-4 590 200047 ns/op BenchmarkIndexHard3-4 150 805391 ns/op BenchmarkIndexHard4-4 182 657082 ns/op BenchmarkLastIndexHard1-4 54 1995908 ns/op BenchmarkLastIndexHard2-4 57 1981132 ns/op BenchmarkLastIndexHard3-4 60 1986216 ns/op BenchmarkCountHard1-4 825 142479 ns/op BenchmarkCountHard2-4 589 202525 ns/op BenchmarkCountHard3-4 147 801891 ns/op BenchmarkIndexTorture-4 7458 15713 ns/op BenchmarkCountTorture-4 7663 15630 ns/op BenchmarkCountTortureOverlapping-4 658 162447 ns/op BenchmarkCountByte/10-4 4308985 26.67 ns/op 374.90 MB/s BenchmarkCountByte/32-4 4114138 26.84 ns/op 1192.31 MB/s BenchmarkCountByte/4096-4 875653 136.8 ns/op 29938.85 MB/s BenchmarkCountByte/4194304-4 669 156946 ns/op 26724.51 MB/s BenchmarkCountByte/67108864-4 21 5701447 ns/op 11770.50 MB/s BenchmarkFields/ASCII/16-4 291038 422.1 ns/op 37.91 MB/s 16 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 20988 5647 ns/op 45.33 MB/s 320 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 1256 90120 ns/op 45.45 MB/s 6144 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 61 1769318 ns/op 37.04 MB/s 98304 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 4 28477864 ns/op 36.82 MB/s 1515520 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 133470 877.0 ns/op 18.24 MB/s 48 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 11191 10231 ns/op 25.02 MB/s 416 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 567 201825 ns/op 20.29 MB/s 21504 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 28 4274404 ns/op 15.33 MB/s 463104 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 2 88194100 ns/op 11.89 MB/s 10457344 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 247623 470.7 ns/op 33.99 MB/s 16 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 18364 6374 ns/op 40.16 MB/s 320 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 913 124411 ns/op 32.92 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 34 3067446 ns/op 21.37 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 72310772 ns/op 14.50 MB/s 10457344 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 167236 713.0 ns/op 22.44 MB/s 48 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 14788 7962 ns/op 32.15 MB/s 416 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 734 153785 ns/op 26.63 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 31 3529724 ns/op 18.57 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 2 78943302 ns/op 13.28 MB/s 10457344 B/op 24 allocs/op BenchmarkSplitEmptySeparator-4 1 112390271 ns/op BenchmarkSplitSingleByteSeparator-4 14 8181028 ns/op BenchmarkSplitMultiByteSeparator-4 27 3914132 ns/op BenchmarkSplitNSingleByteSeparator-4 200553 536.7 ns/op BenchmarkSplitNMultiByteSeparator-4 167583 691.4 ns/op BenchmarkRepeat/5x0-4 3444475 34.54 ns/op BenchmarkRepeat/5x1-4 3397610 32.47 ns/op BenchmarkRepeat/5x2-4 271125 453.1 ns/op BenchmarkRepeat/5x6-4 167649 727.7 ns/op BenchmarkRepeat/10x0-4 3505383 31.74 ns/op BenchmarkRepeat/10x1-4 3502623 33.20 ns/op BenchmarkRepeat/10x2-4 266488 459.7 ns/op BenchmarkRepeat/10x6-4 161668 757.2 ns/op BenchmarkRepeatLarge/256/1-4 71570 1581 ns/op 161.97 MB/s BenchmarkRepeatLarge/256/16-4 107618 970.1 ns/op 263.89 MB/s BenchmarkRepeatLarge/512/1-4 53169 1983 ns/op 258.14 MB/s BenchmarkRepeatLarge/512/16-4 74480 1355 ns/op 377.95 MB/s BenchmarkRepeatLarge/1024/1-4 45326 2472 ns/op 414.31 MB/s BenchmarkRepeatLarge/1024/16-4 59966 1907 ns/op 537.10 MB/s BenchmarkRepeatLarge/2048/1-4 32630 3520 ns/op 581.79 MB/s BenchmarkRepeatLarge/2048/16-4 38716 2876 ns/op 712.22 MB/s BenchmarkRepeatLarge/4096/1-4 21450 5417 ns/op 756.10 MB/s BenchmarkRepeatLarge/4096/16-4 24453 4858 ns/op 843.18 MB/s BenchmarkRepeatLarge/8192/1-4 12492 9117 ns/op 898.59 MB/s BenchmarkRepeatLarge/8192/16-4 13554 8281 ns/op 989.22 MB/s BenchmarkRepeatLarge/8192/4097-4 5698112 20.98 ns/op 195239.78 MB/s BenchmarkRepeatLarge/16384/1-4 7707 15724 ns/op 1041.99 MB/s BenchmarkRepeatLarge/16384/16-4 7429 14438 ns/op 1134.77 MB/s BenchmarkRepeatLarge/16384/4097-4 10006 11747 ns/op 1046.31 MB/s BenchmarkRepeatLarge/32768/1-4 4194 29399 ns/op 1114.58 MB/s BenchmarkRepeatLarge/32768/16-4 4152 28437 ns/op 1152.28 MB/s BenchmarkRepeatLarge/32768/4097-4 4477 27666 ns/op 1036.63 MB/s BenchmarkRepeatLarge/65536/1-4 2184 55020 ns/op 1191.13 MB/s BenchmarkRepeatLarge/65536/16-4 2216 54359 ns/op 1205.62 MB/s BenchmarkRepeatLarge/65536/4097-4 2210 53031 ns/op 1158.85 MB/s BenchmarkRepeatLarge/131072/1-4 213 544670 ns/op 240.64 MB/s BenchmarkRepeatLarge/131072/16-4 223 546983 ns/op 239.63 MB/s BenchmarkRepeatLarge/131072/4097-4 222 543113 ns/op 233.85 MB/s BenchmarkRepeatLarge/262144/1-4 111 1057846 ns/op 247.81 MB/s BenchmarkRepeatLarge/262144/16-4 100 1069918 ns/op 245.01 MB/s BenchmarkRepeatLarge/262144/4097-4 100 1081958 ns/op 238.56 MB/s BenchmarkRepeatLarge/524288/1-4 50 2104006 ns/op 249.19 MB/s BenchmarkRepeatLarge/524288/16-4 60 2071352 ns/op 253.11 MB/s BenchmarkRepeatLarge/524288/4097-4 61 2109181 ns/op 246.69 MB/s BenchmarkRepeatLarge/1048576/1-4 27 4285258 ns/op 244.69 MB/s BenchmarkRepeatLarge/1048576/16-4 25 4201801 ns/op 249.55 MB/s BenchmarkRepeatLarge/1048576/4097-4 28 4211983 ns/op 248.04 MB/s BenchmarkRepeatLarge/2097152/1-4 14 8369826 ns/op 250.56 MB/s BenchmarkRepeatLarge/2097152/16-4 13 8357989 ns/op 250.92 MB/s BenchmarkRepeatLarge/2097152/4097-4 14 8247560 ns/op 253.84 MB/s BenchmarkRepeatLarge/4194304/1-4 7 15827078 ns/op 265.01 MB/s BenchmarkRepeatLarge/4194304/16-4 7 15848960 ns/op 264.64 MB/s BenchmarkRepeatLarge/4194304/4097-4 7 15848116 ns/op 264.46 MB/s BenchmarkRepeatLarge/8388608/1-4 3 33482954 ns/op 250.53 MB/s BenchmarkRepeatLarge/8388608/16-4 4 32258827 ns/op 260.04 MB/s BenchmarkRepeatLarge/8388608/4097-4 4 32462364 ns/op 258.35 MB/s BenchmarkRepeatLarge/16777216/1-4 2 66306738 ns/op 253.02 MB/s BenchmarkRepeatLarge/16777216/16-4 2 63234235 ns/op 265.32 MB/s BenchmarkRepeatLarge/16777216/4097-4 2 64250044 ns/op 261.12 MB/s BenchmarkRepeatLarge/33554432/1-4 1 124223740 ns/op 270.11 MB/s BenchmarkRepeatLarge/33554432/16-4 1 139169584 ns/op 241.10 MB/s BenchmarkRepeatLarge/33554432/4097-4 1 128427974 ns/op 261.27 MB/s BenchmarkRepeatLarge/67108864/1-4 1 258894620 ns/op 259.21 MB/s BenchmarkRepeatLarge/67108864/16-4 1 248957954 ns/op 269.56 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 248857239 ns/op 269.67 MB/s BenchmarkRepeatLarge/134217728/1-4 1 502501320 ns/op 267.10 MB/s BenchmarkRepeatLarge/134217728/16-4 1 485098666 ns/op 276.68 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 495617793 ns/op 270.81 MB/s BenchmarkRepeatLarge/268435456/1-4 1 977708817 ns/op 274.56 MB/s BenchmarkRepeatLarge/268435456/16-4 1 968638093 ns/op 277.13 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 989601258 ns/op 271.26 MB/s BenchmarkRepeatLarge/536870912/1-4 1 1946387527 ns/op 275.83 MB/s BenchmarkRepeatLarge/536870912/16-4 1 1919888292 ns/op 279.64 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 1922741529 ns/op 279.22 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 3850066044 ns/op 278.89 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 3744220350 ns/op 286.77 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 3712918751 ns/op 289.19 MB/s BenchmarkIndexAnyASCII/1:1-4 1970485 57.03 ns/op BenchmarkIndexAnyASCII/1:2-4 2116434 53.99 ns/op BenchmarkIndexAnyASCII/1:4-4 2164773 53.78 ns/op BenchmarkIndexAnyASCII/1:8-4 2098141 53.57 ns/op BenchmarkIndexAnyASCII/1:16-4 2099424 52.99 ns/op BenchmarkIndexAnyASCII/1:32-4 2133091 55.38 ns/op BenchmarkIndexAnyASCII/1:64-4 2093037 54.12 ns/op BenchmarkIndexAnyASCII/16:1-4 2117127 53.28 ns/op BenchmarkIndexAnyASCII/16:2-4 782592 153.4 ns/op BenchmarkIndexAnyASCII/16:4-4 751569 158.4 ns/op BenchmarkIndexAnyASCII/16:8-4 720351 165.5 ns/op BenchmarkIndexAnyASCII/16:16-4 677838 172.2 ns/op BenchmarkIndexAnyASCII/16:32-4 599877 197.8 ns/op BenchmarkIndexAnyASCII/16:64-4 474469 244.4 ns/op BenchmarkIndexAnyASCII/256:1-4 1891311 61.65 ns/op BenchmarkIndexAnyASCII/256:2-4 74492 1656 ns/op BenchmarkIndexAnyASCII/256:4-4 71636 1632 ns/op BenchmarkIndexAnyASCII/256:8-4 72939 1653 ns/op BenchmarkIndexAnyASCII/256:16-4 73320 1662 ns/op BenchmarkIndexAnyASCII/256:32-4 72271 1690 ns/op BenchmarkIndexAnyASCII/256:64-4 70051 1729 ns/op BenchmarkIndexAnyUTF8/1:1-4 2056146 56.07 ns/op BenchmarkIndexAnyUTF8/1:2-4 2070189 53.43 ns/op BenchmarkIndexAnyUTF8/1:4-4 2116468 54.15 ns/op BenchmarkIndexAnyUTF8/1:8-4 2086030 54.13 ns/op BenchmarkIndexAnyUTF8/1:16-4 2076969 54.00 ns/op BenchmarkIndexAnyUTF8/1:32-4 2053790 54.82 ns/op BenchmarkIndexAnyUTF8/1:64-4 2008152 55.17 ns/op BenchmarkIndexAnyUTF8/16:1-4 1643119 68.98 ns/op BenchmarkIndexAnyUTF8/16:2-4 321495 356.7 ns/op BenchmarkIndexAnyUTF8/16:4-4 328830 354.7 ns/op BenchmarkIndexAnyUTF8/16:8-4 329643 353.8 ns/op BenchmarkIndexAnyUTF8/16:16-4 315457 376.0 ns/op BenchmarkIndexAnyUTF8/16:32-4 311790 381.2 ns/op BenchmarkIndexAnyUTF8/16:64-4 314097 381.3 ns/op BenchmarkIndexAnyUTF8/256:1-4 383514 313.6 ns/op BenchmarkIndexAnyUTF8/256:2-4 25346 4796 ns/op BenchmarkIndexAnyUTF8/256:4-4 24232 4896 ns/op BenchmarkIndexAnyUTF8/256:8-4 23774 5047 ns/op BenchmarkIndexAnyUTF8/256:16-4 23469 5069 ns/op BenchmarkIndexAnyUTF8/256:32-4 22620 5335 ns/op BenchmarkIndexAnyUTF8/256:64-4 22291 5154 ns/op BenchmarkLastIndexAnyASCII/1:1-4 1985164 58.60 ns/op BenchmarkLastIndexAnyASCII/1:2-4 1969656 53.23 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2053966 54.07 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2021928 58.69 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2039127 59.23 ns/op BenchmarkLastIndexAnyASCII/1:32-4 1973402 59.47 ns/op BenchmarkLastIndexAnyASCII/1:64-4 1962026 58.52 ns/op BenchmarkLastIndexAnyASCII/16:1-4 816015 147.2 ns/op BenchmarkLastIndexAnyASCII/16:2-4 801634 147.7 ns/op BenchmarkLastIndexAnyASCII/16:4-4 789277 154.4 ns/op BenchmarkLastIndexAnyASCII/16:8-4 744873 158.5 ns/op BenchmarkLastIndexAnyASCII/16:16-4 677331 169.4 ns/op BenchmarkLastIndexAnyASCII/16:32-4 610906 198.0 ns/op BenchmarkLastIndexAnyASCII/16:64-4 475206 244.0 ns/op BenchmarkLastIndexAnyASCII/256:1-4 77677 1541 ns/op BenchmarkLastIndexAnyASCII/256:2-4 77248 1541 ns/op BenchmarkLastIndexAnyASCII/256:4-4 76266 1548 ns/op BenchmarkLastIndexAnyASCII/256:8-4 77456 1556 ns/op BenchmarkLastIndexAnyASCII/256:16-4 76563 1556 ns/op BenchmarkLastIndexAnyASCII/256:32-4 75384 1588 ns/op BenchmarkLastIndexAnyASCII/256:64-4 73747 1634 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2093431 56.70 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2087830 54.79 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2128077 53.48 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2143360 52.87 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2096859 54.22 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2093748 55.67 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2105906 54.22 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 361821 312.0 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 185102 619.6 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 193342 612.9 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 190945 604.7 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 179198 672.8 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 175275 688.8 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 169748 680.1 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 29134 4134 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 12618 8793 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 12176 9843 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 12320 9712 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 12824 9474 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 10000 10691 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 10000 10128 ns/op BenchmarkTrimASCII/1:1-4 3186535 37.76 ns/op BenchmarkTrimASCII/1:2-4 2466493 47.61 ns/op BenchmarkTrimASCII/1:4-4 2328097 52.00 ns/op BenchmarkTrimASCII/1:8-4 2103367 57.44 ns/op BenchmarkTrimASCII/1:16-4 1728386 68.60 ns/op BenchmarkTrimASCII/16:1-4 2674137 45.13 ns/op BenchmarkTrimASCII/16:2-4 772476 149.5 ns/op BenchmarkTrimASCII/16:4-4 773886 152.9 ns/op BenchmarkTrimASCII/16:8-4 728244 156.9 ns/op BenchmarkTrimASCII/16:16-4 690104 170.7 ns/op BenchmarkTrimASCII/256:1-4 808405 148.3 ns/op BenchmarkTrimASCII/256:2-4 76490 1537 ns/op BenchmarkTrimASCII/256:4-4 78339 1561 ns/op BenchmarkTrimASCII/256:8-4 75590 1561 ns/op BenchmarkTrimASCII/256:16-4 76772 1552 ns/op BenchmarkTrimASCII/4096:1-4 75080 1611 ns/op BenchmarkTrimASCII/4096:2-4 4956 23461 ns/op BenchmarkTrimASCII/4096:4-4 4993 23458 ns/op BenchmarkTrimASCII/4096:8-4 4906 23772 ns/op BenchmarkTrimASCII/4096:16-4 5016 23581 ns/op BenchmarkTrimByte-4 4547048 26.35 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 13268 9067 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 13393 9006 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 1096 107362 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 2239 52334 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 4436 26335 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 7796 14875 ns/op BenchmarkJoin/0-4 5336454 21.25 ns/op 0 B/op 0 allocs/op BenchmarkJoin/1-4 4169648 29.24 ns/op 0 B/op 0 allocs/op BenchmarkJoin/2-4 201984 591.2 ns/op 16 B/op 1 allocs/op BenchmarkJoin/3-4 138765 883.4 ns/op 24 B/op 1 allocs/op BenchmarkJoin/4-4 99609 1177 ns/op 48 B/op 1 allocs/op BenchmarkJoin/5-4 84912 1428 ns/op 48 B/op 1 allocs/op BenchmarkJoin/6-4 71787 1794 ns/op 64 B/op 1 allocs/op BenchmarkJoin/7-4 59121 2028 ns/op 64 B/op 1 allocs/op BenchmarkTrimSpace/NoTrim-4 2591797 45.73 ns/op BenchmarkTrimSpace/ASCII-4 1523155 77.99 ns/op BenchmarkTrimSpace/SomeNonASCII-4 138386 853.0 ns/op BenchmarkTrimSpace/JustNonASCII-4 75416 1556 ns/op BenchmarkReplaceAll-4 123190 971.6 ns/op 16 B/op 1 allocs/op PASS ok strings 68.381s goos: linux goarch: amd64 pkg: sync cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCond1-4 50503 2158 ns/op BenchmarkCond2-4 28004 4987 ns/op BenchmarkCond4-4 15596 7554 ns/op BenchmarkCond8-4 10000 13733 ns/op BenchmarkCond16-4 4197 29947 ns/op BenchmarkCond32-4 1670 82237 ns/op BenchmarkLoadMostlyHits/*sync_test.DeepCopyMap-4 396321 276.3 ns/op BenchmarkLoadMostlyHits/*sync_test.RWMutexMap-4 255829 450.1 ns/op BenchmarkLoadMostlyHits/*sync.Map-4 460702 224.4 ns/op BenchmarkLoadMostlyMisses/*sync_test.DeepCopyMap-4 423176 248.3 ns/op BenchmarkLoadMostlyMisses/*sync_test.RWMutexMap-4 238960 435.9 ns/op BenchmarkLoadMostlyMisses/*sync.Map-4 536721 212.0 ns/op BenchmarkLoadOrStoreBalanced/*sync_test.RWMutexMap-4 71814 1974 ns/op BenchmarkLoadOrStoreBalanced/*sync.Map-4 58725 2146 ns/op BenchmarkLoadOrStoreUnique/*sync_test.RWMutexMap-4 56330 2873 ns/op BenchmarkLoadOrStoreUnique/*sync.Map-4 40009 3460 ns/op BenchmarkLoadOrStoreCollision/*sync_test.DeepCopyMap-4 458772 263.0 ns/op BenchmarkLoadOrStoreCollision/*sync_test.RWMutexMap-4 164382 780.5 ns/op BenchmarkLoadOrStoreCollision/*sync.Map-4 443665 268.3 ns/op BenchmarkLoadAndDeleteBalanced/*sync_test.RWMutexMap-4 134092 933.1 ns/op BenchmarkLoadAndDeleteBalanced/*sync.Map-4 577382 221.8 ns/op BenchmarkLoadAndDeleteUnique/*sync_test.RWMutexMap-4 150802 762.4 ns/op BenchmarkLoadAndDeleteUnique/*sync.Map-4 1816471 60.26 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.DeepCopyMap-4 35580 3274 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.RWMutexMap-4 102078 1229 ns/op BenchmarkLoadAndDeleteCollision/*sync.Map-4 529053 509.7 ns/op BenchmarkRange/*sync_test.DeepCopyMap-4 7542 16116 ns/op BenchmarkRange/*sync_test.RWMutexMap-4 273 515387 ns/op BenchmarkRange/*sync.Map-4 1275 96191 ns/op BenchmarkAdversarialAlloc/*sync_test.DeepCopyMap-4 95300 1575 ns/op BenchmarkAdversarialAlloc/*sync_test.RWMutexMap-4 189205 602.5 ns/op BenchmarkAdversarialAlloc/*sync.Map-4 58238 1978 ns/op BenchmarkAdversarialDelete/*sync_test.DeepCopyMap-4 88095 1172 ns/op BenchmarkAdversarialDelete/*sync_test.RWMutexMap-4 231196 587.3 ns/op BenchmarkAdversarialDelete/*sync.Map-4 108075 1047 ns/op BenchmarkDeleteCollision/*sync_test.DeepCopyMap-4 68518 1878 ns/op BenchmarkDeleteCollision/*sync_test.RWMutexMap-4 177200 687.8 ns/op BenchmarkDeleteCollision/*sync.Map-4 510462 196.2 ns/op BenchmarkSwapCollision/*sync_test.DeepCopyMap-4 41535 2511 ns/op BenchmarkSwapCollision/*sync_test.RWMutexMap-4 126603 960.3 ns/op BenchmarkSwapCollision/*sync.Map-4 65085 1945 ns/op BenchmarkSwapMostlyHits/*sync_test.DeepCopyMap-4 258 471555 ns/op BenchmarkSwapMostlyHits/*sync_test.RWMutexMap-4 95545 1303 ns/op BenchmarkSwapMostlyHits/*sync.Map-4 315384 388.1 ns/op BenchmarkSwapMostlyMisses/*sync_test.DeepCopyMap-4 22794 6868 ns/op BenchmarkSwapMostlyMisses/*sync_test.RWMutexMap-4 62102 2059 ns/op BenchmarkSwapMostlyMisses/*sync.Map-4 19479 6474 ns/op BenchmarkCompareAndSwapCollision/*sync_test.DeepCopyMap-4 329239 480.0 ns/op BenchmarkCompareAndSwapCollision/*sync_test.RWMutexMap-4 82632 1219 ns/op BenchmarkCompareAndSwapCollision/*sync.Map-4 156297 870.6 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.DeepCopyMap-4 2175457 69.45 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.RWMutexMap-4 149920 750.5 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync.Map-4 1769445 67.87 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.DeepCopyMap-4 521094 370.3 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.RWMutexMap-4 129013 945.9 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync.Map-4 411696 257.8 ns/op BenchmarkCompareAndSwapMostlyHits/*sync_test.RWMutexMap-4 79945 1362 ns/op BenchmarkCompareAndSwapMostlyHits/*sync.Map-4 277196 407.5 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.DeepCopyMap-4 394402 299.4 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.RWMutexMap-4 109950 1182 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync.Map-4 502201 240.7 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.DeepCopyMap-4 180265 751.0 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.RWMutexMap-4 98756 1361 ns/op BenchmarkCompareAndDeleteCollision/*sync.Map-4 169147 816.8 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync_test.RWMutexMap-4 50126 2409 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync.Map-4 170187 680.7 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.DeepCopyMap-4 402180 276.6 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.RWMutexMap-4 113572 1140 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync.Map-4 477706 238.9 ns/op BenchmarkUncontendedSemaphore-4 3314786 35.47 ns/op BenchmarkContendedSemaphore-4 3028671 39.17 ns/op BenchmarkMutexUncontended-4 821512 139.9 ns/op BenchmarkMutex-4 174122 910.8 ns/op BenchmarkMutexSlack-4 134888 922.5 ns/op BenchmarkMutexWork-4 111772 972.1 ns/op BenchmarkMutexWorkSlack-4 108729 1059 ns/op BenchmarkMutexNoSpin-4 50132 2399 ns/op BenchmarkMutexSpin-4 52779 2047 ns/op BenchmarkOnce-4 498692 233.0 ns/op BenchmarkOnceFunc/v=Once-4 1000000 114.0 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Global-4 784260 135.8 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Local-4 886465 132.0 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Once-4 975900 116.8 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Global-4 811876 150.0 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Local-4 800469 143.0 ns/op 0 B/op 0 allocs/op BenchmarkSemaUncontended-4 6925504 17.13 ns/op BenchmarkSemaSyntNonblock-4 1000000 111.1 ns/op BenchmarkSemaSyntBlock-4 1000000 107.1 ns/op BenchmarkSemaWorkNonblock-4 804660 141.7 ns/op BenchmarkSemaWorkBlock-4 790250 159.2 ns/op BenchmarkRWMutexUncontended-4 425767 298.7 ns/op BenchmarkRWMutexWrite100-4 253797 461.8 ns/op BenchmarkRWMutexWrite10-4 236806 523.5 ns/op BenchmarkRWMutexWorkWrite100-4 209617 560.6 ns/op BenchmarkRWMutexWorkWrite10-4 180678 721.8 ns/op BenchmarkWaitGroupUncontended-4 798289 147.1 ns/op BenchmarkWaitGroupAddDone-4 241090 486.7 ns/op BenchmarkWaitGroupAddDoneWork-4 267981 405.2 ns/op BenchmarkWaitGroupWait-4 3420344 29.87 ns/op BenchmarkWaitGroupWaitWork-4 2974566 39.52 ns/op BenchmarkWaitGroupActuallyWait-4 33369 3238 ns/op 32 B/op 2 allocs/op PASS ok sync 19.710s goos: linux goarch: amd64 pkg: sync/atomic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkValueRead-4 521011 323.0 ns/op PASS ok sync/atomic 1.191s PASS ok syscall 1.018s goos: linux goarch: amd64 pkg: testing cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkTBHelper-4 91863 1267 ns/op 0 B/op 0 allocs/op PASS ok testing 1.150s goos: linux goarch: amd64 pkg: text/tabwriter cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkTable/1x10/new-4 7742 14702 ns/op 1520 B/op 21 allocs/op BenchmarkTable/1x10/reuse-4 11379 10457 ns/op 0 B/op 0 allocs/op BenchmarkTable/1x1000/new-4 99 1228731 ns/op 129393 B/op 1025 allocs/op BenchmarkTable/1x1000/reuse-4 122 973298 ns/op 1060 B/op 8 allocs/op BenchmarkTable/1x100000/new-4 1 186862463 ns/op 19393016 B/op 100058 allocs/op BenchmarkTable/1x100000/reuse-4 1 186955915 ns/op 19393008 B/op 100057 allocs/op BenchmarkTable/10x10/new-4 1622 70344 ns/op 5056 B/op 31 allocs/op BenchmarkTable/10x10/reuse-4 2014 57661 ns/op 2 B/op 0 allocs/op BenchmarkTable/10x1000/new-4 18 6205622 ns/op 413568 B/op 1039 allocs/op BenchmarkTable/10x1000/reuse-4 19 5476759 ns/op 21766 B/op 54 allocs/op BenchmarkTable/10x100000/new-4 1 766948668 ns/op 48120800 B/op 100074 allocs/op BenchmarkTable/10x100000/reuse-4 1 767045971 ns/op 48120712 B/op 100074 allocs/op BenchmarkTable/100x10/new-4 213 566120 ns/op 39296 B/op 41 allocs/op BenchmarkTable/100x10/reuse-4 235 511287 ns/op 167 B/op 0 allocs/op BenchmarkTable/100x1000/new-4 2 61712080 ns/op 3288960 B/op 1053 allocs/op BenchmarkTable/100x1000/reuse-4 2 59504664 ns/op 1644480 B/op 526 allocs/op BenchmarkTable/100x100000/new-4 1 7630820518 ns/op 335149952 B/op 100089 allocs/op BenchmarkTable/100x100000/reuse-4 1 7550453169 ns/op 335149952 B/op 100089 allocs/op BenchmarkPyramid/10-4 2739 42527 ns/op 4872 B/op 35 allocs/op BenchmarkPyramid/100-4 37 3099989 ns/op 409128 B/op 230 allocs/op BenchmarkPyramid/1000-4 1 331083287 ns/op 35625256 B/op 2055 allocs/op BenchmarkRagged/10-4 2494 47533 ns/op 4512 B/op 34 allocs/op BenchmarkRagged/100-4 262 446597 ns/op 41008 B/op 188 allocs/op BenchmarkRagged/1000-4 25 4591667 ns/op 427424 B/op 1661 allocs/op BenchmarkCode-4 6480 15942 ns/op 624 B/op 13 allocs/op PASS ok text/tabwriter 21.329s goos: linux goarch: amd64 pkg: text/template/parse cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkParseLarge-4 2 79969042 ns/op BenchmarkVariableString-4 97893 1214 ns/op 80 B/op 3 allocs/op BenchmarkListString-4 2006 56794 ns/op 2516 B/op 39 allocs/op PASS ok text/template/parse 1.527s goos: linux goarch: amd64 pkg: time cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAfterFunc-4 32 3276523 ns/op BenchmarkAfter-4 110 1222287 ns/op BenchmarkStop-4 201 606507 ns/op BenchmarkSimultaneousAfterFunc-4 27 4521962 ns/op BenchmarkStartStop-4 206 639260 ns/op BenchmarkReset-4 2602 56582 ns/op BenchmarkSleep-4 31 3895108 ns/op BenchmarkParallelTimerLatency-4 49 343774 avg-late-ns 2729972 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=1-4 36 361788 avg-late-ns 955758 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=2-4 33 380183 avg-late-ns 1420911 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=3-4 34 391196 avg-late-ns 1230035 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=4-4 33 405455 avg-late-ns 2589534 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=5-4 31 325809 avg-late-ns 1949514 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=6-4 31 225949 avg-late-ns 1625606 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=7-4 30 228240 avg-late-ns 2046013 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=8-4 27 199734 avg-late-ns 1690085 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=9-4 25 199512 avg-late-ns 1513522 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=10-4 26 969261 avg-late-ns 3815770 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=2ms/tickers-per-P=1-4 34 328167 avg-late-ns 862783 max-late-ns BenchmarkTicker-4 342 368214 ns/op BenchmarkTickerReset-4 3542 29110 ns/op BenchmarkTickerResetNaive-4 195 675251 ns/op BenchmarkNow-4 1170793 104.0 ns/op BenchmarkNowUnixNano-4 1000000 103.4 ns/op BenchmarkNowUnixMilli-4 1000000 104.6 ns/op BenchmarkNowUnixMicro-4 1000000 104.2 ns/op BenchmarkFormat-4 59216 2055 ns/op BenchmarkFormatRFC3339-4 80031 1522 ns/op BenchmarkFormatRFC3339Nano-4 78207 1519 ns/op BenchmarkFormatNow-4 81772 1493 ns/op BenchmarkMarshalJSON-4 105868 1169 ns/op BenchmarkMarshalText-4 110406 1113 ns/op BenchmarkParse-4 141951 849.8 ns/op BenchmarkParseRFC3339UTC-4 338905 357.7 ns/op BenchmarkParseRFC3339UTCBytes-4 210945 554.9 ns/op BenchmarkParseRFC3339TZ-4 102882 1167 ns/op BenchmarkParseRFC3339TZBytes-4 78397 1553 ns/op BenchmarkParseDuration-4 518391 224.7 ns/op BenchmarkHour-4 851812 141.1 ns/op BenchmarkSecond-4 838678 137.1 ns/op BenchmarkYear-4 656884 185.8 ns/op BenchmarkDay-4 575888 200.5 ns/op BenchmarkISOWeek-4 627480 187.5 ns/op BenchmarkGoString-4 76947 1560 ns/op BenchmarkUnmarshalText-4 69108 1762 ns/op PASS ok time 12.336s goos: linux goarch: amd64 pkg: unicode/utf16 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecodeValidASCII-4 623446 176.6 ns/op BenchmarkDecodeValidJapaneseChars-4 732343 151.6 ns/op BenchmarkDecodeRune-4 1673035 71.32 ns/op BenchmarkEncodeValidASCII-4 547495 203.8 ns/op BenchmarkEncodeValidJapaneseChars-4 746149 145.6 ns/op BenchmarkAppendRuneValidASCII-4 1600722 75.54 ns/op BenchmarkAppendRuneValidJapaneseChars-4 2426970 49.57 ns/op BenchmarkEncodeRune-4 2906166 40.93 ns/op PASS ok unicode/utf16 2.218s goos: linux goarch: amd64 pkg: unicode/utf8 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRuneCountTenASCIIChars-4 828712 143.0 ns/op BenchmarkRuneCountTenJapaneseChars-4 165022 684.3 ns/op BenchmarkRuneCountInStringTenASCIIChars-4 3647342 32.70 ns/op BenchmarkRuneCountInStringTenJapaneseChars-4 411450 282.2 ns/op BenchmarkValidTenASCIIChars-4 826190 139.5 ns/op BenchmarkValid100KASCIIChars-4 92 1312931 ns/op BenchmarkValidTenJapaneseChars-4 148096 770.1 ns/op BenchmarkValidLongMostlyASCII-4 85 1411296 ns/op BenchmarkValidLongJapanese-4 46 2251089 ns/op BenchmarkValidStringTenASCIIChars-4 4415913 27.03 ns/op BenchmarkValidString100KASCIIChars-4 9426 12649 ns/op BenchmarkValidStringTenJapaneseChars-4 411158 259.5 ns/op BenchmarkValidStringLongMostlyASCII-4 1197 97899 ns/op BenchmarkValidStringLongJapanese-4 154 776110 ns/op BenchmarkEncodeASCIIRune-4 4322434 27.49 ns/op BenchmarkEncodeJapaneseRune-4 2459600 49.41 ns/op BenchmarkAppendASCIIRune-4 8770828 12.46 ns/op BenchmarkAppendJapaneseRune-4 2831817 41.48 ns/op BenchmarkDecodeASCIIRune-4 2771833 41.60 ns/op BenchmarkDecodeJapaneseRune-4 1902966 61.84 ns/op BenchmarkFullRune/ASCII-4 3374541 35.49 ns/op BenchmarkFullRune/Incomplete-4 1534574 78.69 ns/op BenchmarkFullRune/Japanese-4 3481063 34.57 ns/op PASS ok unicode/utf8 4.612s goos: linux goarch: amd64 pkg: cmd/api cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAll-4 1 71686522479 ns/op PASS ok cmd/api 72.886s goos: linux goarch: amd64 pkg: cmd/cgo/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCgoCall/add-int-4 346754 307.0 ns/op BenchmarkCgoCall/one-pointer-4 303601 364.6 ns/op BenchmarkCgoCall/eight-pointers-4 172393 691.0 ns/op BenchmarkCgoCall/eight-pointers-nil-4 315537 374.9 ns/op BenchmarkCgoCall/eight-pointers-array-4 15136 7450 ns/op BenchmarkCgoCall/eight-pointers-slice-4 31512 3814 ns/op BenchmarkGoString-4 944292 115.5 ns/op BenchmarkCGoCallback-4 47292 2485 ns/op BenchmarkCGoInCThread-4 283586 408.1 ns/op PASS ok cmd/cgo/internal/test 2.241s goos: linux goarch: amd64 pkg: cmd/compile/internal/reflectdata cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEqArrayOfStrings5-4 1179429 99.80 ns/op BenchmarkEqArrayOfStrings64-4 156422 774.7 ns/op BenchmarkEqArrayOfStrings1024-4 10000 11526 ns/op BenchmarkEqArrayOfFloats5-4 1356351 85.89 ns/op BenchmarkEqArrayOfFloats64-4 141487 849.4 ns/op BenchmarkEqArrayOfFloats1024-4 9337 12697 ns/op BenchmarkEqArrayOfStructsEq-4 2732 43283 ns/op BenchmarkEqArrayOfStructsNotEq-4 4891 23836 ns/op BenchmarkEqStruct-4 17663734 6.833 ns/op PASS ok cmd/compile/internal/reflectdata 2.425s goos: linux goarch: amd64 pkg: cmd/compile/internal/ssa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPhioptPass-4 10000 61617 ns/op BenchmarkCopyElim1-4 574 176562 ns/op BenchmarkCopyElim10-4 542 195578 ns/op BenchmarkCopyElim100-4 321 358587 ns/op BenchmarkCopyElim1000-4 52 2233501 ns/op BenchmarkCopyElim10000-4 3 42878051 ns/op BenchmarkCopyElim100000-4 1 718203682 ns/op BenchmarkDeadCode/1-4 519 193315 ns/op BenchmarkDeadCode/10-4 502 222736 ns/op BenchmarkDeadCode/100-4 234 502048 ns/op BenchmarkDeadCode/1000-4 44 2734598 ns/op BenchmarkDeadCode/10000-4 3 36517456 ns/op BenchmarkDeadCode/100000-4 1 483778677 ns/op BenchmarkDeadCode/200000-4 1 1000555452 ns/op BenchmarkDominatorsLinear-4 12 10056467 ns/op 0.99 MB/s BenchmarkDominatorsFwdBack-4 7 14579278 ns/op 0.69 MB/s BenchmarkDominatorsManyPred-4 8 14614040 ns/op 0.68 MB/s BenchmarkDominatorsMaxPred-4 8 13792868 ns/op 0.73 MB/s BenchmarkDominatorsMaxPredVal-4 8 14745996 ns/op 0.68 MB/s BenchmarkFuse/1-4 528 249794 ns/op BenchmarkFuse/10-4 408 286301 ns/op BenchmarkFuse/100-4 138 866548 ns/op BenchmarkFuse/1000-4 19 6349002 ns/op BenchmarkFuse/10000-4 2 84603543 ns/op BenchmarkNilCheckDeep1-4 12280 9812 ns/op 0.10 MB/s 234 B/op 4 allocs/op BenchmarkNilCheckDeep10-4 5049 23182 ns/op 0.43 MB/s 239 B/op 4 allocs/op BenchmarkNilCheckDeep100-4 775 154730 ns/op 0.65 MB/s 687 B/op 4 allocs/op BenchmarkNilCheckDeep1000-4 69 1521598 ns/op 0.66 MB/s 4760 B/op 4 allocs/op BenchmarkNilCheckDeep10000-4 6 18663577 ns/op 0.54 MB/s 93184 B/op 5 allocs/op BenchmarkDSEPass-4 32 3689779 ns/op 47328 B/op 7 allocs/op BenchmarkDSEPassBlock-4 1 122915251 ns/op 4243312 B/op 108183 allocs/op BenchmarkCSEPass-4 7 15534121 ns/op 159625 B/op 10 allocs/op BenchmarkCSEPassBlock-4 1 157921430 ns/op 5655584 B/op 97400 allocs/op BenchmarkDeadcodePass-4 174 695606 ns/op 82820 B/op 3 allocs/op BenchmarkDeadcodePassBlock-4 1 135312540 ns/op 4084096 B/op 45343 allocs/op BenchmarkMultiPass-4 64 1790919 ns/op 238148 B/op 10 allocs/op BenchmarkMultiPassBlock-4 1 268856586 ns/op 11183008 B/op 149812 allocs/op BenchmarkCondRewrite/SoloJump-4 3110032 38.31 ns/op BenchmarkCondRewrite/CombJump-4 2855150 42.39 ns/op PASS ok cmd/compile/internal/ssa 15.814s goos: linux goarch: amd64 pkg: cmd/compile/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLoadAdd-4 9241 11589 ns/op BenchmarkExtShift-4 16144 7436 ns/op BenchmarkModify-4 9850 11618 ns/op BenchmarkMullImm-4 17461 6974 ns/op BenchmarkConstModify-4 9882 11675 ns/op BenchmarkBitSet-4 22575 5396 ns/op BenchmarkBitClear-4 21462 5366 ns/op BenchmarkBitToggle-4 21367 5397 ns/op BenchmarkBitSetConst-4 153883 760.5 ns/op BenchmarkBitClearConst-4 161362 746.5 ns/op BenchmarkBitToggleConst-4 157495 728.3 ns/op BenchmarkDivconstI64-4 8688906 11.63 ns/op BenchmarkModconstI64-4 8902502 11.62 ns/op BenchmarkDivisiblePow2constI64-4 8774295 11.61 ns/op BenchmarkDivisibleconstI64-4 10744526 11.17 ns/op BenchmarkDivisibleWDivconstI64-4 7083396 16.96 ns/op BenchmarkDivconstU64/3-4 10470668 11.43 ns/op BenchmarkDivconstU64/5-4 10308097 11.64 ns/op BenchmarkDivconstU64/37-4 10336665 11.39 ns/op BenchmarkDivconstU64/1234567-4 10964740 11.11 ns/op BenchmarkModconstU64-4 9234241 12.17 ns/op BenchmarkDivisibleconstU64-4 10790085 11.10 ns/op BenchmarkDivisibleWDivconstU64-4 7013398 17.31 ns/op BenchmarkDivconstI32-4 10363387 11.58 ns/op BenchmarkModconstI32-4 10793400 11.16 ns/op BenchmarkDivisiblePow2constI32-4 9078218 11.48 ns/op BenchmarkDivisibleconstI32-4 8757631 11.52 ns/op BenchmarkDivisibleWDivconstI32-4 7113628 16.90 ns/op BenchmarkDivconstU32-4 10829186 11.28 ns/op BenchmarkModconstU32-4 8438916 12.31 ns/op BenchmarkDivisibleconstU32-4 9058309 11.17 ns/op BenchmarkDivisibleWDivconstU32-4 7255414 16.47 ns/op BenchmarkDivconstI16-4 10753674 11.20 ns/op BenchmarkModconstI16-4 8570608 12.11 ns/op BenchmarkDivisiblePow2constI16-4 8847416 11.48 ns/op BenchmarkDivisibleconstI16-4 8704232 11.53 ns/op BenchmarkDivisibleWDivconstI16-4 7007691 17.02 ns/op BenchmarkDivconstU16-4 10739702 11.33 ns/op BenchmarkModconstU16-4 8887652 11.45 ns/op BenchmarkDivisibleconstU16-4 10777821 11.21 ns/op BenchmarkDivisibleWDivconstU16-4 6978282 17.17 ns/op BenchmarkDivconstI8-4 10567704 11.37 ns/op BenchmarkModconstI8-4 8398233 11.93 ns/op BenchmarkDivisiblePow2constI8-4 11223944 10.67 ns/op BenchmarkDivisibleconstI8-4 8871140 11.65 ns/op BenchmarkDivisibleWDivconstI8-4 7321842 16.51 ns/op BenchmarkDivconstU8-4 9008782 11.54 ns/op BenchmarkModconstU8-4 8818418 11.46 ns/op BenchmarkDivisibleconstU8-4 10746556 11.03 ns/op BenchmarkDivisibleWDivconstU8-4 6793442 17.93 ns/op BenchmarkMul2-4 166207 724.4 ns/op BenchmarkMulNeg2-4 164576 730.1 ns/op BenchmarkEfaceInteger-4 3677658 28.80 ns/op BenchmarkDiv64UnsignedSmall-4 6733164 15.63 ns/op BenchmarkDiv64Small-4 6157954 17.59 ns/op BenchmarkDiv64SmallNegDivisor-4 5826651 18.74 ns/op BenchmarkDiv64SmallNegDividend-4 6214533 17.54 ns/op BenchmarkDiv64SmallNegBoth-4 5906289 18.22 ns/op BenchmarkDiv64Unsigned-4 6858271 15.96 ns/op BenchmarkDiv64-4 5982354 18.87 ns/op BenchmarkDiv64NegDivisor-4 6045681 18.60 ns/op BenchmarkDiv64NegDividend-4 6081739 18.36 ns/op BenchmarkDiv64NegBoth-4 6025922 18.30 ns/op BenchmarkMod64UnsignedSmall-4 6953479 15.40 ns/op BenchmarkMod64Small-4 6233688 17.09 ns/op BenchmarkMod64SmallNegDivisor-4 6010632 18.49 ns/op BenchmarkMod64SmallNegDividend-4 5834274 17.32 ns/op BenchmarkMod64SmallNegBoth-4 5819659 17.50 ns/op BenchmarkMod64Unsigned-4 6851383 15.71 ns/op BenchmarkMod64-4 6171612 18.15 ns/op BenchmarkMod64NegDivisor-4 5953857 17.92 ns/op BenchmarkMod64NegDividend-4 6089739 18.03 ns/op BenchmarkMod64NegBoth-4 6152611 17.95 ns/op BenchmarkMulconstI32/3-4 20655376 5.801 ns/op BenchmarkMulconstI32/5-4 20579607 5.807 ns/op BenchmarkMulconstI32/12-4 20986096 5.720 ns/op BenchmarkMulconstI32/120-4 21074847 5.706 ns/op BenchmarkMulconstI32/-120-4 21030838 5.755 ns/op BenchmarkMulconstI32/65537-4 21210920 5.690 ns/op BenchmarkMulconstI32/65538-4 21040213 5.668 ns/op BenchmarkMulconstI64/3-4 20693242 5.799 ns/op BenchmarkMulconstI64/5-4 20904634 5.720 ns/op BenchmarkMulconstI64/12-4 20809148 5.760 ns/op BenchmarkMulconstI64/120-4 20633269 5.716 ns/op BenchmarkMulconstI64/-120-4 21027364 5.713 ns/op BenchmarkMulconstI64/65537-4 21164734 5.755 ns/op BenchmarkMulconstI64/65538-4 21187989 5.704 ns/op BenchmarkMulconstU32/3-4 20860962 5.786 ns/op BenchmarkMulconstU32/5-4 20748885 5.822 ns/op BenchmarkMulconstU32/12-4 20858624 5.773 ns/op BenchmarkMulconstU32/120-4 21051140 5.675 ns/op BenchmarkMulconstU32/65537-4 21013627 5.715 ns/op BenchmarkMulconstU32/65538-4 21241468 5.743 ns/op BenchmarkMulconstU64/3-4 20813727 5.797 ns/op BenchmarkMulconstU64/5-4 20852404 5.795 ns/op BenchmarkMulconstU64/12-4 20845587 5.775 ns/op BenchmarkMulconstU64/120-4 21106822 5.692 ns/op BenchmarkMulconstU64/65537-4 21195798 5.716 ns/op BenchmarkMulconstU64/65538-4 21081100 5.672 ns/op BenchmarkShiftArithmeticRight-4 19880026 6.094 ns/op BenchmarkSwitch8Predictable-4 13014194 9.195 ns/op BenchmarkSwitch8Unpredictable-4 5745127 21.29 ns/op BenchmarkSwitch32Predictable-4 8385502 14.14 ns/op BenchmarkSwitch32Unpredictable-4 5593232 21.02 ns/op BenchmarkSwitchStringPredictable-4 8055703 14.79 ns/op BenchmarkSwitchStringUnpredictable-4 4304193 27.66 ns/op PASS ok cmd/compile/internal/test 19.403s goos: linux goarch: amd64 pkg: cmd/compile/internal/types2 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLookupFieldOrMethod-4 127 938049 ns/op BenchmarkNamed/Underlying/nongeneric-4 754180 149.5 ns/op BenchmarkNamed/Underlying/generic-4 738796 144.7 ns/op BenchmarkNamed/Underlying/src_instance-4 805420 143.7 ns/op BenchmarkNamed/Underlying/user_instance-4 812619 142.5 ns/op BenchmarkCheck/http/funcbodies/info-4 1 600781484 ns/op 50919 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 388610025 ns/op 78713 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 184594031 ns/op 165670 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 143464946 ns/op 213156 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 437585907 ns/op 11846 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 2 95856128 ns/op 54060 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 3 37916973 ns/op 136647 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 3 35965935 ns/op 144046 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 150985642 ns/op 14368 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 3 42176009 ns/op 51431 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 5 21383045 ns/op 101429 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 5 21039365 ns/op 103091 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1260710114 ns/op 51819 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 642756341 ns/op 101637 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 184184534 ns/op 354646 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 126552019 ns/op 515764 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 451705211 ns/op 4432 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 66514682 ns/op 30086 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 3 40867101 ns/op 48954 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 3 40748458 ns/op 49098 lines/s PASS ok cmd/compile/internal/types2 17.383s goos: linux goarch: amd64 pkg: cmd/go cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExecGoEnv-4 127 899281 ns/op 2088646 sys-ns/op 1250024 user-ns/op PASS ok cmd/go 1.211s goos: linux goarch: amd64 pkg: cmd/internal/notsha256 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 66672 1757 ns/op 4.55 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 75050 1536 ns/op 5.21 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 14199 8448 ns/op 121.21 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 14631 8215 ns/op 124.65 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 2218 54243 ns/op 151.02 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 2214 54234 ns/op 151.05 MB/s 0 B/op 0 allocs/op PASS ok cmd/internal/notsha256 1.963s All tests passed.