linux-amd64-longtest-race at 558301a5cb8c87dab8a82db096b4ed5c12610a7d :: 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-rnd9c53aa" "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-rnd9c53aa" "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 1.797s ok archive/zip 88.393s ok bufio 1.213s ok bytes 6.822s ok cmp 1.013s ok compress/bzip2 1.329s ok compress/flate 102.900s ok compress/gzip 9.685s ok compress/lzw 1.378s ok compress/zlib 7.041s ok container/heap 1.017s ok container/list 1.013s ok container/ring 1.014s ok context 1.037s ok crypto 1.013s ok crypto/aes 1.039s ok crypto/cipher 1.839s ok crypto/des 1.033s ok crypto/dsa 10.715s ok crypto/ecdh 1.346s ok crypto/ecdsa 3.523s ok crypto/ed25519 1.674s ok crypto/elliptic 1.879s ok crypto/hmac 1.016s ok crypto/internal/alias 1.012s ok crypto/internal/bigmod 2.968s ok crypto/internal/boring 1.012s ok crypto/internal/boring/bcache 1.287s ok crypto/internal/edwards25519 27.358s ok crypto/internal/edwards25519/field 9.607s ok crypto/internal/nistec 16.837s ok crypto/internal/nistec/fiat 1.013s [no tests to run] ok crypto/md5 1.019s ok crypto/rand 3.011s ok crypto/rc4 1.353s ok crypto/rsa 6.053s ok crypto/sha1 1.035s ok crypto/sha256 1.016s ok crypto/sha512 1.018s ok crypto/subtle 13.458s ok crypto/tls 4.793s ok crypto/x509 2.213s ok database/sql 2.131s ok database/sql/driver 1.012s ok debug/buildinfo 4.911s ok debug/dwarf 1.062s ok debug/elf 1.864s ok debug/gosym 1.225s ok debug/macho 1.025s ok debug/pe 1.036s ok debug/plan9obj 1.013s ok embed 1.014s [no tests to run] ok embed/internal/embedtest 1.014s ok encoding/ascii85 1.018s ok encoding/asn1 1.017s ok encoding/base32 1.047s ok encoding/base64 1.019s ok encoding/binary 1.017s ok encoding/csv 1.039s ok encoding/gob 14.670s ok encoding/hex 1.019s ok encoding/json 5.604s ok encoding/pem 2.512s ok encoding/xml 28.272s ok errors 1.021s ok expvar 1.015s ok flag 3.079s ok fmt 1.396s ok go/ast 1.020s ok go/build 3.986s ok go/build/constraint 1.019s ok go/constant 1.018s ok go/doc 1.177s ok go/doc/comment 2.494s ok go/format 1.034s ok go/importer 1.143s ok go/internal/gccgoimporter 1.034s ok go/internal/gcimporter 29.492s ok go/internal/srcimporter 11.441s ok go/parser 38.928s ok go/printer 1.971s ok go/scanner 1.017s ok go/token 1.076s ok go/types 32.593s ok hash 1.015s ok hash/adler32 1.032s ok hash/crc32 1.036s ok hash/crc64 1.020s ok hash/fnv 1.013s ok hash/maphash 1.014s ok html 1.013s ok html/template 1.472s ok image 1.983s ok image/color 1.025s ok image/draw 1.377s ok image/gif 64.710s ok image/jpeg 17.226s ok image/png 4.803s ok index/suffixarray 474.332s ok internal/abi 1.045s ok internal/buildcfg 1.014s ok internal/coverage/cformat 1.013s ok internal/coverage/cmerge 1.013s ok internal/coverage/pods 1.015s ok internal/coverage/slicereader 1.013s ok internal/coverage/slicewriter 1.013s ok internal/coverage/test 1.032s ok internal/cpu 3.039s ok internal/dag 1.014s ok internal/diff 1.015s ok internal/fmtsort 1.013s ok internal/fuzz 1.029s ok internal/godebug 13.619s ok internal/godebugs 1.013s ok internal/intern 2.553s ok internal/itoa 1.013s ok internal/poll 16.641s ok internal/profile 1.017s ok internal/reflectlite 1.014s ok internal/safefilepath 1.012s ok internal/saferio 1.139s ok internal/singleflight 1.105s ok internal/testenv 1.141s ok internal/trace 5.694s ok internal/types/errors 1.314s ok internal/unsafeheader 1.013s ok internal/xcoff 1.028s ok internal/zstd 1.024s ok io 1.045s ok io/fs 1.190s ok io/ioutil 1.018s ok log 1.021s ok log/slog 1.032s ok log/slog/internal/benchmarks 1.013s ok log/slog/internal/buffer 1.013s ok log/syslog 2.229s ok maps 1.014s ok math 1.021s ok math/big 6.085s ok math/bits 1.020s ok math/cmplx 1.015s ok math/rand 25.050s ok mime 1.028s ok mime/multipart 9.605s ok mime/quotedprintable 1.934s ok net 53.143s ok net/http 61.180s ok net/http/cgi 12.323s ok net/http/cookiejar 1.020s ok net/http/fcgi 1.123s ok net/http/httptest 1.130s ok net/http/httptrace 1.013s ok net/http/httputil 1.971s ok net/http/internal 1.018s ok net/http/internal/ascii 1.014s ok net/http/pprof 6.159s ok net/internal/socktest 1.013s ok net/mail 1.019s ok net/netip 1.260s ok net/rpc 1.043s ok net/rpc/jsonrpc 1.019s ok net/smtp 1.047s ok net/textproto 1.030s ok net/url 1.022s ok os 22.816s ok os/exec 11.454s ok os/exec/internal/fdtest 1.013s ok os/signal 28.456s ok os/user 1.014s ok path 1.015s ok path/filepath 1.046s ok plugin 1.013s ok reflect 2.894s ok regexp 3.109s ok regexp/syntax 4.117s ok runtime 189.564s ok runtime/cgo 1.013s ok runtime/coverage 22.783s ok runtime/debug 2.134s ok runtime/internal/atomic 3.214s ok runtime/internal/math 1.014s ok runtime/internal/sys 1.014s ok runtime/internal/syscall 1.013s ok runtime/metrics 1.022s ok runtime/pprof 84.221s ok runtime/race 9.828s ok runtime/trace 5.415s ok slices 2.629s ok sort 5.218s ok strconv 6.484s ok strings 2.850s ok sync 2.314s ok sync/atomic 155.741s ok syscall 10.726s ok testing 3.819s ok testing/fstest 1.015s ok testing/iotest 1.013s ok testing/quick 1.115s ok testing/slogtest 1.014s ok text/scanner 1.024s ok text/tabwriter 1.017s ok text/template 1.571s ok text/template/parse 1.022s ok time 12.649s ok unicode 1.017s ok unicode/utf16 1.013s ok unicode/utf8 1.022s ok cmd/addr2line 4.512s ok cmd/api 7.265s ok cmd/asm/internal/asm 3.790s ok cmd/asm/internal/lex 1.015s ok cmd/cgo/internal/swig 1.549s ok cmd/cgo/internal/test 2.068s ok cmd/cgo/internal/testcarchive 18.553s ok cmd/cgo/internal/testcshared 4.796s ok cmd/cgo/internal/testerrors 8.148s ok cmd/cgo/internal/testfortran 2.005s ok cmd/cgo/internal/testgodefs 1.462s ok cmd/cgo/internal/testlife 1.454s ok cmd/cgo/internal/testnocgo 1.013s ok cmd/cgo/internal/testplugin 27.381s ok cmd/cgo/internal/testsanitizers 15.813s ok cmd/cgo/internal/testshared 49.182s ok cmd/cgo/internal/testso 2.107s ok cmd/cgo/internal/teststdio 2.061s ok cmd/cgo/internal/testtls 1.013s ok cmd/compile/internal/abt 1.032s ok cmd/compile/internal/amd64 42.509s ok cmd/compile/internal/base 1.013s ok cmd/compile/internal/compare 1.014s ok cmd/compile/internal/dwarfgen 1.320s ok cmd/compile/internal/importer 13.421s ok cmd/compile/internal/ir 1.013s ok cmd/compile/internal/logopt 1.168s ok cmd/compile/internal/loopvar 19.867s ok cmd/compile/internal/noder 1.017s ok cmd/compile/internal/reflectdata 1.015s [no tests to run] ok cmd/compile/internal/ssa 58.444s ok cmd/compile/internal/syntax 13.184s ok cmd/compile/internal/test 26.567s ok cmd/compile/internal/typecheck 1.189s ok cmd/compile/internal/types 1.014s ok cmd/compile/internal/types2 15.644s ok cmd/covdata 7.672s ok cmd/cover 15.712s ok cmd/dist 1.015s ok cmd/distpack 1.013s ok cmd/doc 1.762s ok cmd/fix 1.633s ok cmd/go 403.458s ok cmd/go/internal/auth 1.013s ok cmd/go/internal/cache 2.552s ok cmd/go/internal/envcmd 1.028s ok cmd/go/internal/fsys 1.033s ok cmd/go/internal/generate 1.023s ok cmd/go/internal/get 1.022s ok cmd/go/internal/gover 1.014s ok cmd/go/internal/imports 1.022s ok cmd/go/internal/load 1.020s ok cmd/go/internal/lockedfile 2.975s ok cmd/go/internal/lockedfile/internal/filelock 2.049s ok cmd/go/internal/modconv 1.026s ok cmd/go/internal/modfetch 26.424s ok cmd/go/internal/modfetch/codehost 8.297s ok cmd/go/internal/modfetch/zip_sum_test 1.017s ok cmd/go/internal/modindex 1.403s ok cmd/go/internal/modload 36.918s ok cmd/go/internal/mvs 1.041s ok cmd/go/internal/par 1.074s ok cmd/go/internal/str 1.014s ok cmd/go/internal/test 1.031s ok cmd/go/internal/vcs 1.511s ok cmd/go/internal/vcweb 1.021s ok cmd/go/internal/vcweb/vcstest 4.249s ok cmd/go/internal/web 1.016s ok cmd/go/internal/work 1.766s ok cmd/gofmt 35.922s ok cmd/internal/archive 1.311s ok cmd/internal/buildid 1.411s ok cmd/internal/cov 1.217s ok cmd/internal/dwarf 1.014s ok cmd/internal/edit 1.013s ok cmd/internal/bootstrap_test 92.058s ok cmd/internal/goobj 13.427s ok cmd/internal/moddeps 9.696s ok cmd/internal/notsha256 1.018s ok cmd/internal/obj 1.342s ok cmd/internal/obj/ppc64 4.616s ok cmd/internal/obj/riscv 7.245s ok cmd/internal/obj/s390x 1.013s ok cmd/internal/obj/x86 1.667s ok cmd/internal/objabi 1.013s ok cmd/internal/pkgpath 5.066s ok cmd/internal/pkgpattern 1.016s ok cmd/internal/quoted 1.015s ok cmd/internal/src 1.014s ok cmd/internal/test2json 1.509s ok cmd/link 20.065s ok cmd/link/internal/benchmark 1.014s ok cmd/link/internal/ld 11.623s ok cmd/link/internal/loader 1.036s ok cmd/nm 9.153s ok cmd/objdump 4.875s ok cmd/pack 8.612s ok cmd/pprof 3.385s ok cmd/trace 1.264s ok cmd/vet 28.233s ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: archive/tar cpu: Intel(R) Xeon(R) CPU @ 2.20GHz Benchmark/Writer/USTAR-4 4908 23061 ns/op 1368 B/op 25 allocs/op Benchmark/Writer/GNU-4 3794 31017 ns/op 1857 B/op 37 allocs/op Benchmark/Writer/PAX-4 2314 46381 ns/op 2560 B/op 59 allocs/op Benchmark/Reader/USTAR-4 5252 19164 ns/op 5151 B/op 16 allocs/op Benchmark/Reader/GNU-4 8629 13414 ns/op 5177 B/op 15 allocs/op Benchmark/Reader/PAX-4 3386 37431 ns/op 8636 B/op 33 allocs/op PASS ok archive/tar 1.986s goos: linux goarch: amd64 pkg: archive/zip cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCompressedZipGarbage-4 1 230546805 ns/op 829000 B/op 83 allocs/op BenchmarkZip64Test-4 1 102727504 ns/op BenchmarkZip64TestSizes/4096-4 2397 62839 ns/op BenchmarkZip64TestSizes/1048576-4 243 464333 ns/op BenchmarkZip64TestSizes/67108864-4 1 102716162 ns/op PASS ok archive/zip 1.997s goos: linux goarch: amd64 pkg: bufio cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReaderCopyOptimal-4 307506 363.5 ns/op BenchmarkReaderCopyUnoptimal-4 193447 594.4 ns/op BenchmarkReaderCopyNoWriteTo-4 6979 17152 ns/op BenchmarkReaderWriteToOptimal-4 13696 8937 ns/op BenchmarkReaderReadString-4 177552 662.8 ns/op 144 B/op 1 allocs/op BenchmarkWriterCopyOptimal-4 276712 409.5 ns/op BenchmarkWriterCopyUnoptimal-4 297307 387.1 ns/op BenchmarkWriterCopyNoReadFrom-4 8739 15489 ns/op BenchmarkReaderEmpty-4 40368 2906 ns/op 4224 B/op 3 allocs/op BenchmarkWriterEmpty-4 32812 3407 ns/op 4096 B/op 1 allocs/op BenchmarkWriterFlush-4 837770 142.7 ns/op 0 B/op 0 allocs/op PASS ok bufio 2.690s goos: linux goarch: amd64 pkg: bytes cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadString-4 5241 25465 ns/op 1286.79 MB/s BenchmarkWriteByte-4 633 186343 ns/op 21.98 MB/s BenchmarkWriteRune-4 362 329659 ns/op 37.27 MB/s BenchmarkBufferNotEmptyWriteRead-4 38 2991782 ns/op BenchmarkBufferFullSmallReads-4 160 753451 ns/op BenchmarkBufferWriteBlock/N4096-4 9631 12317 ns/op 14336 B/op 6 allocs/op BenchmarkBufferWriteBlock/N65536-4 549 207409 ns/op 260096 B/op 14 allocs/op BenchmarkBufferWriteBlock/N1048576-4 9 12061591 ns/op 4192277 B/op 22 allocs/op BenchmarkBufferAppendNoCopy-4 2 54899358 ns/op 305.60 MB/s 16777216 B/op 1 allocs/op BenchmarkIndexByte/10-4 6865773 17.08 ns/op 585.39 MB/s BenchmarkIndexByte/32-4 6549723 18.02 ns/op 1775.43 MB/s BenchmarkIndexByte/4K-4 1282096 93.82 ns/op 43659.79 MB/s BenchmarkIndexBytePortable/10-4 1330668 88.03 ns/op 113.60 MB/s BenchmarkIndexBytePortable/32-4 435174 275.8 ns/op 116.02 MB/s BenchmarkIndexBytePortable/4K-4 3828 30516 ns/op 134.22 MB/s BenchmarkIndexRune/10-4 1000000 115.8 ns/op 86.37 MB/s BenchmarkIndexRune/32-4 1282857 110.5 ns/op 289.63 MB/s BenchmarkIndexRune/4K-4 464061 325.8 ns/op 12571.16 MB/s BenchmarkIndexRuneASCII/10-4 6274196 18.38 ns/op 544.18 MB/s BenchmarkIndexRuneASCII/32-4 6070888 19.48 ns/op 1642.75 MB/s BenchmarkIndexRuneASCII/4K-4 1255168 96.09 ns/op 42626.26 MB/s BenchmarkEqual/0-4 12036704 9.975 ns/op BenchmarkEqual/1-4 2198670 54.01 ns/op 18.52 MB/s BenchmarkEqual/6-4 2165506 55.94 ns/op 107.26 MB/s BenchmarkEqual/9-4 2124913 55.89 ns/op 161.04 MB/s BenchmarkEqual/15-4 2115044 56.37 ns/op 266.09 MB/s BenchmarkEqual/16-4 2172182 54.90 ns/op 291.44 MB/s BenchmarkEqual/20-4 2027974 58.93 ns/op 339.40 MB/s BenchmarkEqual/32-4 2025398 59.40 ns/op 538.70 MB/s BenchmarkEqual/4K-4 144268 788.1 ns/op 5197.21 MB/s BenchmarkIndex/10-4 3981154 29.76 ns/op 336.06 MB/s BenchmarkIndex/32-4 4622544 26.00 ns/op 1230.65 MB/s BenchmarkIndex/4K-4 30552 3953 ns/op 1036.21 MB/s BenchmarkIndexEasy/10-4 4053315 29.40 ns/op 340.09 MB/s BenchmarkIndexEasy/32-4 4454484 27.08 ns/op 1181.80 MB/s BenchmarkIndexEasy/4K-4 577353 179.1 ns/op 22875.46 MB/s BenchmarkCount/10-4 2178429 55.43 ns/op 180.42 MB/s BenchmarkCount/32-4 2308104 51.97 ns/op 615.78 MB/s BenchmarkCount/4K-4 29636 3984 ns/op 1028.20 MB/s BenchmarkCountEasy/10-4 2239674 53.55 ns/op 186.75 MB/s BenchmarkCountEasy/32-4 2327004 52.39 ns/op 610.78 MB/s BenchmarkCountEasy/4K-4 583938 204.4 ns/op 20038.01 MB/s BenchmarkCountSingle/10-4 5062753 23.65 ns/op 422.88 MB/s BenchmarkCountSingle/32-4 4756248 25.10 ns/op 1274.87 MB/s BenchmarkCountSingle/4K-4 872541 124.2 ns/op 32973.03 MB/s BenchmarkToUpper/#00-4 4137127 28.95 ns/op BenchmarkToUpper/ONLYUPPER-4 462075 255.2 ns/op BenchmarkToUpper/abc-4 722030 166.2 ns/op BenchmarkToUpper/AbC123-4 455084 262.9 ns/op BenchmarkToUpper/azAZ09_-4 449300 263.2 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 130790 904.6 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 59858 1997 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 84967 1414 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 181771 638.6 ns/op BenchmarkToLower/#00-4 4075290 29.44 ns/op BenchmarkToLower/abc-4 654278 176.7 ns/op BenchmarkToLower/AbC123-4 461755 261.0 ns/op BenchmarkToLower/azAZ09_-4 395488 260.2 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 131893 909.5 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 59956 1983 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 100819 1170 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 183060 648.4 ns/op BenchmarkFields/ASCII/16-4 198640 599.9 ns/op 26.67 MB/s 48 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 14707 7906 ns/op 32.38 MB/s 512 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 864 140255 ns/op 29.20 MB/s 9472 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 43 2492764 ns/op 26.29 MB/s 139264 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 3 39389141 ns/op 26.62 MB/s 2269184 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 122190 949.6 ns/op 16.85 MB/s 24 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 9037 12455 ns/op 20.55 MB/s 640 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 519 224645 ns/op 18.23 MB/s 24832 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 25 4389448 ns/op 14.93 MB/s 512256 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 2 83668848 ns/op 12.53 MB/s 11219200 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 229350 508.8 ns/op 31.44 MB/s 48 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 17745 6634 ns/op 38.59 MB/s 512 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 900 126131 ns/op 32.47 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 45 2714986 ns/op 24.14 MB/s 504064 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 59599166 ns/op 17.59 MB/s 11211056 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 166768 706.8 ns/op 22.64 MB/s 24 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 13548 8770 ns/op 29.19 MB/s 640 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 703 168454 ns/op 24.32 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 34 3437793 ns/op 19.06 MB/s 512256 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 2 71833530 ns/op 14.60 MB/s 11219200 B/op 24 allocs/op BenchmarkTrimSpace/NoTrim-4 2685919 44.25 ns/op BenchmarkTrimSpace/ASCII-4 1312279 91.99 ns/op BenchmarkTrimSpace/SomeNonASCII-4 149182 781.0 ns/op BenchmarkTrimSpace/JustNonASCII-4 67886 1740 ns/op BenchmarkToValidUTF8/Valid-4 759685 156.1 ns/op BenchmarkToValidUTF8/InvalidASCII-4 499334 231.6 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 143918 805.6 ns/op BenchmarkIndexHard1-4 1028 111853 ns/op BenchmarkIndexHard2-4 751 156253 ns/op BenchmarkIndexHard3-4 244 484493 ns/op BenchmarkIndexHard4-4 235 498381 ns/op BenchmarkLastIndexHard1-4 8 13345268 ns/op BenchmarkLastIndexHard2-4 7 15988499 ns/op BenchmarkLastIndexHard3-4 6 19637725 ns/op BenchmarkCountHard1-4 1051 116022 ns/op BenchmarkCountHard2-4 750 163383 ns/op BenchmarkCountHard3-4 243 483346 ns/op BenchmarkSplitEmptySeparator-4 1 124321354 ns/op BenchmarkSplitSingleByteSeparator-4 13 8174032 ns/op BenchmarkSplitMultiByteSeparator-4 15 7051559 ns/op BenchmarkSplitNSingleByteSeparator-4 230948 445.5 ns/op BenchmarkSplitNMultiByteSeparator-4 98967 1087 ns/op BenchmarkRepeat-4 258586 437.5 ns/op BenchmarkRepeatLarge/256/1-4 207666 572.9 ns/op 446.87 MB/s BenchmarkRepeatLarge/256/16-4 302436 395.5 ns/op 647.30 MB/s BenchmarkRepeatLarge/512/1-4 145144 751.7 ns/op 681.08 MB/s BenchmarkRepeatLarge/512/16-4 209959 596.8 ns/op 857.84 MB/s BenchmarkRepeatLarge/1024/1-4 89352 1223 ns/op 837.46 MB/s BenchmarkRepeatLarge/1024/16-4 106635 1012 ns/op 1012.27 MB/s BenchmarkRepeatLarge/2048/1-4 52890 2121 ns/op 965.73 MB/s BenchmarkRepeatLarge/2048/16-4 59206 1988 ns/op 1030.38 MB/s BenchmarkRepeatLarge/4096/1-4 31120 3721 ns/op 1100.69 MB/s BenchmarkRepeatLarge/4096/16-4 33567 3487 ns/op 1174.77 MB/s BenchmarkRepeatLarge/8192/1-4 17784 7263 ns/op 1127.95 MB/s BenchmarkRepeatLarge/8192/16-4 17313 7196 ns/op 1138.37 MB/s BenchmarkRepeatLarge/8192/4097-4 33453 4192 ns/op 977.28 MB/s BenchmarkRepeatLarge/16384/1-4 9102 13038 ns/op 1256.61 MB/s BenchmarkRepeatLarge/16384/16-4 10000 12434 ns/op 1317.71 MB/s BenchmarkRepeatLarge/16384/4097-4 8728 11628 ns/op 1057.01 MB/s BenchmarkRepeatLarge/32768/1-4 4861 25451 ns/op 1287.49 MB/s BenchmarkRepeatLarge/32768/16-4 5869 24103 ns/op 1359.51 MB/s BenchmarkRepeatLarge/32768/4097-4 5074 25168 ns/op 1139.51 MB/s BenchmarkRepeatLarge/65536/1-4 2101 48718 ns/op 1345.20 MB/s BenchmarkRepeatLarge/65536/16-4 2258 50993 ns/op 1285.21 MB/s BenchmarkRepeatLarge/65536/4097-4 2042 52187 ns/op 1177.59 MB/s BenchmarkRepeatLarge/131072/1-4 316 358253 ns/op 365.86 MB/s BenchmarkRepeatLarge/131072/16-4 319 367905 ns/op 356.27 MB/s BenchmarkRepeatLarge/131072/4097-4 319 359992 ns/op 352.81 MB/s BenchmarkRepeatLarge/262144/1-4 163 770489 ns/op 340.23 MB/s BenchmarkRepeatLarge/262144/16-4 160 734605 ns/op 356.85 MB/s BenchmarkRepeatLarge/262144/4097-4 160 712819 ns/op 362.10 MB/s BenchmarkRepeatLarge/524288/1-4 79 1449725 ns/op 361.65 MB/s BenchmarkRepeatLarge/524288/16-4 80 1434498 ns/op 365.49 MB/s BenchmarkRepeatLarge/524288/4097-4 90 1502172 ns/op 346.38 MB/s BenchmarkRepeatLarge/1048576/1-4 43 2873336 ns/op 364.93 MB/s BenchmarkRepeatLarge/1048576/16-4 40 2883331 ns/op 363.67 MB/s BenchmarkRepeatLarge/1048576/4097-4 38 2811861 ns/op 371.55 MB/s BenchmarkRepeatLarge/2097152/1-4 21 5670393 ns/op 369.84 MB/s BenchmarkRepeatLarge/2097152/16-4 22 5596493 ns/op 374.73 MB/s BenchmarkRepeatLarge/2097152/4097-4 22 5518602 ns/op 379.37 MB/s BenchmarkRepeatLarge/4194304/1-4 9 11263169 ns/op 372.39 MB/s BenchmarkRepeatLarge/4194304/16-4 9 11244917 ns/op 373.00 MB/s BenchmarkRepeatLarge/4194304/4097-4 9 11481149 ns/op 365.05 MB/s BenchmarkRepeatLarge/8388608/1-4 5 22640207 ns/op 370.52 MB/s BenchmarkRepeatLarge/8388608/16-4 5 22464198 ns/op 373.42 MB/s BenchmarkRepeatLarge/8388608/4097-4 5 23341304 ns/op 359.30 MB/s BenchmarkRepeatLarge/16777216/1-4 3 44964600 ns/op 373.12 MB/s BenchmarkRepeatLarge/16777216/16-4 3 45057581 ns/op 372.35 MB/s BenchmarkRepeatLarge/16777216/4097-4 3 47391564 ns/op 354.01 MB/s BenchmarkRepeatLarge/33554432/1-4 2 91559414 ns/op 366.48 MB/s BenchmarkRepeatLarge/33554432/16-4 2 92407653 ns/op 363.11 MB/s BenchmarkRepeatLarge/33554432/4097-4 2 92536572 ns/op 362.61 MB/s BenchmarkRepeatLarge/67108864/1-4 1 176680193 ns/op 379.83 MB/s BenchmarkRepeatLarge/67108864/16-4 1 171612848 ns/op 391.05 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 174662551 ns/op 384.22 MB/s BenchmarkRepeatLarge/134217728/1-4 1 355328418 ns/op 377.73 MB/s BenchmarkRepeatLarge/134217728/16-4 1 342965150 ns/op 391.35 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 335761646 ns/op 399.74 MB/s BenchmarkRepeatLarge/268435456/1-4 1 677833815 ns/op 396.02 MB/s BenchmarkRepeatLarge/268435456/16-4 1 676846946 ns/op 396.60 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 691405759 ns/op 388.25 MB/s BenchmarkRepeatLarge/536870912/1-4 1 1317713200 ns/op 407.43 MB/s BenchmarkRepeatLarge/536870912/16-4 1 1331754069 ns/op 403.13 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 1312411720 ns/op 409.07 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 2669715748 ns/op 402.19 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 2624759768 ns/op 409.08 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 2618380223 ns/op 410.08 MB/s BenchmarkBytesCompare/1-4 16277637 7.111 ns/op BenchmarkBytesCompare/2-4 17019573 6.665 ns/op BenchmarkBytesCompare/4-4 16157607 6.601 ns/op BenchmarkBytesCompare/8-4 16817995 6.617 ns/op BenchmarkBytesCompare/16-4 17006283 6.583 ns/op BenchmarkBytesCompare/32-4 16049654 7.482 ns/op BenchmarkBytesCompare/64-4 15715202 7.528 ns/op BenchmarkBytesCompare/128-4 13163959 9.139 ns/op BenchmarkBytesCompare/256-4 10553762 11.46 ns/op BenchmarkBytesCompare/512-4 7218254 15.56 ns/op BenchmarkBytesCompare/1024-4 4705530 25.04 ns/op BenchmarkBytesCompare/2048-4 2682350 45.03 ns/op BenchmarkIndexAnyASCII/1:1-4 2996581 39.69 ns/op BenchmarkIndexAnyASCII/1:2-4 3022458 39.62 ns/op BenchmarkIndexAnyASCII/1:4-4 2929807 39.93 ns/op BenchmarkIndexAnyASCII/1:8-4 3027097 39.67 ns/op BenchmarkIndexAnyASCII/1:16-4 2959053 40.38 ns/op BenchmarkIndexAnyASCII/1:32-4 2947644 40.27 ns/op BenchmarkIndexAnyASCII/1:64-4 2998066 39.98 ns/op BenchmarkIndexAnyASCII/16:1-4 2877806 40.50 ns/op BenchmarkIndexAnyASCII/16:2-4 691114 171.5 ns/op BenchmarkIndexAnyASCII/16:4-4 618958 172.9 ns/op BenchmarkIndexAnyASCII/16:8-4 629400 183.6 ns/op BenchmarkIndexAnyASCII/16:16-4 562562 194.6 ns/op BenchmarkIndexAnyASCII/16:32-4 489465 230.8 ns/op BenchmarkIndexAnyASCII/16:64-4 428062 271.9 ns/op BenchmarkIndexAnyASCII/256:1-4 2621797 45.70 ns/op BenchmarkIndexAnyASCII/256:2-4 52124 2229 ns/op BenchmarkIndexAnyASCII/256:4-4 53077 2246 ns/op BenchmarkIndexAnyASCII/256:8-4 52237 2221 ns/op BenchmarkIndexAnyASCII/256:16-4 54333 2220 ns/op BenchmarkIndexAnyASCII/256:32-4 51178 2205 ns/op BenchmarkIndexAnyASCII/256:64-4 51363 2307 ns/op BenchmarkIndexAnyUTF8/1:1-4 2931765 40.42 ns/op BenchmarkIndexAnyUTF8/1:2-4 2933220 40.71 ns/op BenchmarkIndexAnyUTF8/1:4-4 2929240 41.20 ns/op BenchmarkIndexAnyUTF8/1:8-4 2934919 40.76 ns/op BenchmarkIndexAnyUTF8/1:16-4 2955291 40.77 ns/op BenchmarkIndexAnyUTF8/1:32-4 2844614 41.16 ns/op BenchmarkIndexAnyUTF8/1:64-4 2946903 40.82 ns/op BenchmarkIndexAnyUTF8/16:1-4 198454 569.8 ns/op BenchmarkIndexAnyUTF8/16:2-4 391466 309.6 ns/op BenchmarkIndexAnyUTF8/16:4-4 373010 299.2 ns/op BenchmarkIndexAnyUTF8/16:8-4 377162 299.4 ns/op BenchmarkIndexAnyUTF8/16:16-4 386712 309.2 ns/op BenchmarkIndexAnyUTF8/16:32-4 369188 317.9 ns/op BenchmarkIndexAnyUTF8/16:64-4 345106 342.4 ns/op BenchmarkIndexAnyUTF8/256:1-4 14347 8428 ns/op BenchmarkIndexAnyUTF8/256:2-4 28275 4143 ns/op BenchmarkIndexAnyUTF8/256:4-4 29163 4239 ns/op BenchmarkIndexAnyUTF8/256:8-4 28656 4274 ns/op BenchmarkIndexAnyUTF8/256:16-4 28645 4041 ns/op BenchmarkIndexAnyUTF8/256:32-4 26875 4344 ns/op BenchmarkIndexAnyUTF8/256:64-4 25639 4562 ns/op BenchmarkLastIndexAnyASCII/1:1-4 3007795 40.26 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2986999 40.11 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2989225 39.80 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2985451 40.18 ns/op BenchmarkLastIndexAnyASCII/1:16-4 3024134 39.55 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2980815 40.28 ns/op BenchmarkLastIndexAnyASCII/1:64-4 3013262 40.16 ns/op BenchmarkLastIndexAnyASCII/16:1-4 463905 242.7 ns/op BenchmarkLastIndexAnyASCII/16:2-4 453930 242.8 ns/op BenchmarkLastIndexAnyASCII/16:4-4 452212 246.8 ns/op BenchmarkLastIndexAnyASCII/16:8-4 439664 247.7 ns/op BenchmarkLastIndexAnyASCII/16:16-4 414283 252.2 ns/op BenchmarkLastIndexAnyASCII/16:32-4 415827 282.6 ns/op BenchmarkLastIndexAnyASCII/16:64-4 351901 322.0 ns/op BenchmarkLastIndexAnyASCII/256:1-4 38644 3073 ns/op BenchmarkLastIndexAnyASCII/256:2-4 38258 3104 ns/op BenchmarkLastIndexAnyASCII/256:4-4 38193 3202 ns/op BenchmarkLastIndexAnyASCII/256:8-4 36646 3192 ns/op BenchmarkLastIndexAnyASCII/256:16-4 37083 3203 ns/op BenchmarkLastIndexAnyASCII/256:32-4 36402 3306 ns/op BenchmarkLastIndexAnyASCII/256:64-4 36799 3272 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2935723 40.28 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 3007790 40.23 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2937324 40.00 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2929076 39.59 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2998261 40.06 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2981785 39.89 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 3022720 39.63 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 287322 357.3 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 386732 306.9 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 375129 304.6 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 384400 310.7 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 387643 310.3 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 334720 324.5 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 335126 347.3 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 24996 5059 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 28261 4231 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 28048 4215 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 28240 4286 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 28426 4139 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 26442 4433 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 24643 4844 ns/op BenchmarkTrimASCII/1:1-4 3411040 34.79 ns/op BenchmarkTrimASCII/1:2-4 2829218 42.44 ns/op BenchmarkTrimASCII/1:4-4 2760132 43.63 ns/op BenchmarkTrimASCII/1:8-4 2569768 46.76 ns/op BenchmarkTrimASCII/1:16-4 2288738 51.97 ns/op BenchmarkTrimASCII/16:1-4 630338 187.8 ns/op BenchmarkTrimASCII/16:2-4 458451 253.1 ns/op BenchmarkTrimASCII/16:4-4 421500 253.9 ns/op BenchmarkTrimASCII/16:8-4 440881 259.0 ns/op BenchmarkTrimASCII/16:16-4 442657 256.3 ns/op BenchmarkTrimASCII/256:1-4 55164 2192 ns/op BenchmarkTrimASCII/256:2-4 35631 3283 ns/op BenchmarkTrimASCII/256:4-4 36865 3331 ns/op BenchmarkTrimASCII/256:8-4 35610 3325 ns/op BenchmarkTrimASCII/256:16-4 34873 3313 ns/op BenchmarkTrimASCII/4096:1-4 3093 35134 ns/op BenchmarkTrimASCII/4096:2-4 2181 51238 ns/op BenchmarkTrimASCII/4096:4-4 2182 51119 ns/op BenchmarkTrimASCII/4096:8-4 2256 50061 ns/op BenchmarkTrimASCII/4096:16-4 2289 52580 ns/op BenchmarkTrimByte-4 2013345 60.36 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 16826 7159 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 16876 7088 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 890 129437 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 1754 64534 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 3315 33372 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 7051 17398 ns/op BenchmarkCompareBytesEqual-4 17071390 6.939 ns/op BenchmarkCompareBytesToNil-4 19491480 6.061 ns/op BenchmarkCompareBytesEmpty-4 21086899 5.688 ns/op BenchmarkCompareBytesIdentical-4 20948023 5.707 ns/op BenchmarkCompareBytesSameLength-4 17443206 6.703 ns/op BenchmarkCompareBytesDifferentLength-4 17826862 6.741 ns/op BenchmarkCompareBytesBigUnaligned/offset=1-4 1990 63056 ns/op 16629.37 MB/s BenchmarkCompareBytesBigUnaligned/offset=2-4 1729 64678 ns/op 16212.48 MB/s BenchmarkCompareBytesBigUnaligned/offset=3-4 1934 62592 ns/op 16752.62 MB/s BenchmarkCompareBytesBigUnaligned/offset=4-4 1935 57216 ns/op 18326.72 MB/s BenchmarkCompareBytesBigUnaligned/offset=5-4 1887 57664 ns/op 18184.55 MB/s BenchmarkCompareBytesBigUnaligned/offset=6-4 1983 64716 ns/op 16202.97 MB/s BenchmarkCompareBytesBigUnaligned/offset=7-4 1869 61579 ns/op 17028.29 MB/s BenchmarkCompareBytesBig-4 1965 56266 ns/op 18636.17 MB/s BenchmarkCompareBytesBigIdentical-4 20216102 5.794 ns/op 180975165.70 MB/s PASS ok bytes 62.840s goos: linux goarch: amd64 pkg: compress/bzip2 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecodeDigits-4 2 56429438 ns/op 1.77 MB/s 3612268 B/op 51 allocs/op BenchmarkDecodeNewton-4 1 259266245 ns/op 2.19 MB/s 3629856 B/op 50 allocs/op BenchmarkDecodeRand-4 6 18388383 ns/op 0.89 MB/s 3644797 B/op 51 allocs/op PASS ok compress/bzip2 1.983s goos: linux goarch: amd64 pkg: compress/flate cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecode/Digits/Huffman/1e4-4 86 1227911 ns/op 8.14 MB/s 42450 B/op 5 allocs/op BenchmarkDecode/Digits/Huffman/1e5-4 9 11686294 ns/op 8.56 MB/s 44237 B/op 6 allocs/op BenchmarkDecode/Digits/Huffman/1e6-4 1 119290425 ns/op 8.38 MB/s 49264 B/op 9 allocs/op BenchmarkDecode/Digits/Speed/1e4-4 86 1263125 ns/op 7.92 MB/s 43200 B/op 8 allocs/op BenchmarkDecode/Digits/Speed/1e5-4 8 12643752 ns/op 7.91 MB/s 44989 B/op 12 allocs/op BenchmarkDecode/Digits/Speed/1e6-4 1 130076537 ns/op 7.69 MB/s 53024 B/op 77 allocs/op BenchmarkDecode/Digits/Default/1e4-4 97 1225485 ns/op 8.16 MB/s 42188 B/op 7 allocs/op BenchmarkDecode/Digits/Default/1e5-4 9 11903953 ns/op 8.40 MB/s 44517 B/op 14 allocs/op BenchmarkDecode/Digits/Default/1e6-4 1 121496220 ns/op 8.23 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Digits/Compression/1e4-4 85 1266640 ns/op 7.89 MB/s 42514 B/op 7 allocs/op BenchmarkDecode/Digits/Compression/1e5-4 9 11893707 ns/op 8.41 MB/s 44517 B/op 14 allocs/op BenchmarkDecode/Digits/Compression/1e6-4 1 120531111 ns/op 8.30 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Newton/Huffman/1e4-4 81 1348616 ns/op 7.42 MB/s 43983 B/op 14 allocs/op BenchmarkDecode/Newton/Huffman/1e5-4 8 13003191 ns/op 7.69 MB/s 49181 B/op 24 allocs/op BenchmarkDecode/Newton/Huffman/1e6-4 1 132580262 ns/op 7.54 MB/s 88512 B/op 165 allocs/op BenchmarkDecode/Newton/Speed/1e4-4 100 1048720 ns/op 9.54 MB/s 44030 B/op 18 allocs/op BenchmarkDecode/Newton/Speed/1e5-4 13 8827251 ns/op 11.33 MB/s 47544 B/op 32 allocs/op BenchmarkDecode/Newton/Speed/1e6-4 2 91313294 ns/op 10.95 MB/s 85328 B/op 230 allocs/op BenchmarkDecode/Newton/Default/1e4-4 127 949545 ns/op 10.53 MB/s 43700 B/op 15 allocs/op BenchmarkDecode/Newton/Default/1e5-4 15 7134972 ns/op 14.02 MB/s 45653 B/op 32 allocs/op BenchmarkDecode/Newton/Default/1e6-4 2 73040325 ns/op 13.69 MB/s 65952 B/op 160 allocs/op BenchmarkDecode/Newton/Compression/1e4-4 126 946005 ns/op 10.57 MB/s 43265 B/op 15 allocs/op BenchmarkDecode/Newton/Compression/1e5-4 15 7160860 ns/op 13.96 MB/s 44010 B/op 32 allocs/op BenchmarkDecode/Newton/Compression/1e6-4 2 70903440 ns/op 14.10 MB/s 71860 B/op 153 allocs/op BenchmarkEncode/Digits/Huffman/1e4-4 147 802827 ns/op 12.46 MB/s BenchmarkEncode/Digits/Huffman/1e5-4 14 7829583 ns/op 12.77 MB/s BenchmarkEncode/Digits/Huffman/1e6-4 2 77802205 ns/op 12.85 MB/s BenchmarkEncode/Digits/Speed/1e4-4 78 1513502 ns/op 6.61 MB/s BenchmarkEncode/Digits/Speed/1e5-4 8 14180686 ns/op 7.05 MB/s BenchmarkEncode/Digits/Speed/1e6-4 1 140666987 ns/op 7.11 MB/s BenchmarkEncode/Digits/Default/1e4-4 25 4765328 ns/op 2.10 MB/s BenchmarkEncode/Digits/Default/1e5-4 2 60219910 ns/op 1.66 MB/s BenchmarkEncode/Digits/Default/1e6-4 1 631771598 ns/op 1.58 MB/s BenchmarkEncode/Digits/Compression/1e4-4 24 4727398 ns/op 2.12 MB/s BenchmarkEncode/Digits/Compression/1e5-4 2 60008608 ns/op 1.67 MB/s BenchmarkEncode/Digits/Compression/1e6-4 1 599464963 ns/op 1.67 MB/s BenchmarkEncode/Newton/Huffman/1e4-4 120 990040 ns/op 10.10 MB/s BenchmarkEncode/Newton/Huffman/1e5-4 13 8428852 ns/op 11.86 MB/s BenchmarkEncode/Newton/Huffman/1e6-4 2 83623143 ns/op 11.96 MB/s BenchmarkEncode/Newton/Speed/1e4-4 82 1444802 ns/op 6.92 MB/s BenchmarkEncode/Newton/Speed/1e5-4 9 11438432 ns/op 8.74 MB/s BenchmarkEncode/Newton/Speed/1e6-4 1 115415572 ns/op 8.66 MB/s BenchmarkEncode/Newton/Default/1e4-4 25 4558384 ns/op 2.19 MB/s BenchmarkEncode/Newton/Default/1e5-4 2 53117332 ns/op 1.88 MB/s BenchmarkEncode/Newton/Default/1e6-4 1 550076580 ns/op 1.82 MB/s BenchmarkEncode/Newton/Compression/1e4-4 25 4625543 ns/op 2.16 MB/s BenchmarkEncode/Newton/Compression/1e5-4 2 65815020 ns/op 1.52 MB/s BenchmarkEncode/Newton/Compression/1e6-4 1 687937487 ns/op 1.45 MB/s PASS ok compress/flate 16.061s goos: linux goarch: amd64 pkg: compress/lzw cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecoder/1e4-4 63 1745127 ns/op 5.73 MB/s BenchmarkDecoder/1e-Reuse4-4 63 1794839 ns/op 5.57 MB/s BenchmarkDecoder/1e5-4 6 17133340 ns/op 5.84 MB/s BenchmarkDecoder/1e-Reuse5-4 6 17080258 ns/op 5.85 MB/s BenchmarkDecoder/1e6-4 1 171692580 ns/op 5.82 MB/s BenchmarkDecoder/1e-Reuse6-4 1 171628684 ns/op 5.83 MB/s BenchmarkEncoder/1e4-4 67 1591202 ns/op 6.28 MB/s BenchmarkEncoder/1e-Reuse4-4 87 1353198 ns/op 7.39 MB/s BenchmarkEncoder/1e5-4 7 14436790 ns/op 6.93 MB/s BenchmarkEncoder/1e-Reuse5-4 8 14163291 ns/op 7.06 MB/s BenchmarkEncoder/1e6-4 1 144600603 ns/op 6.92 MB/s BenchmarkEncoder/1e-Reuse6-4 1 141548657 ns/op 7.06 MB/s PASS ok compress/lzw 3.167s goos: linux goarch: amd64 pkg: container/heap cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDup-4 42 2871191 ns/op PASS ok container/heap 1.236s goos: linux goarch: amd64 pkg: context cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCommonParentCancel-4 27880 4872 ns/op BenchmarkWithTimeout/concurrency=40-4 5630 20986 ns/op BenchmarkWithTimeout/concurrency=4000-4 5110 23271 ns/op BenchmarkWithTimeout/concurrency=400000-4 8274 18531 ns/op BenchmarkCancelTree/depth=1/Root=Background-4 465778 239.2 ns/op BenchmarkCancelTree/depth=1/Root=OpenCanceler-4 14521 8812 ns/op BenchmarkCancelTree/depth=1/Root=ClosedCanceler-4 16564 6865 ns/op BenchmarkCancelTree/depth=10/Root=Background-4 3337 37461 ns/op BenchmarkCancelTree/depth=10/Root=OpenCanceler-4 1916 57494 ns/op BenchmarkCancelTree/depth=10/Root=ClosedCanceler-4 2457 44579 ns/op BenchmarkCancelTree/depth=100/Root=Background-4 271 575837 ns/op BenchmarkCancelTree/depth=100/Root=OpenCanceler-4 212 580655 ns/op BenchmarkCancelTree/depth=100/Root=ClosedCanceler-4 290 381167 ns/op BenchmarkCancelTree/depth=1000/Root=Background-4 25 4305448 ns/op BenchmarkCancelTree/depth=1000/Root=OpenCanceler-4 15 7531371 ns/op BenchmarkCancelTree/depth=1000/Root=ClosedCanceler-4 28 4103755 ns/op BenchmarkCheckCanceled/Err-4 379208 303.9 ns/op BenchmarkCheckCanceled/Done-4 669115 177.1 ns/op BenchmarkContextCancelDone-4 751802 152.6 ns/op BenchmarkDeepValueNewGoRoutine/depth=10-4 32342 3441 ns/op BenchmarkDeepValueNewGoRoutine/depth=20-4 33003 4074 ns/op BenchmarkDeepValueNewGoRoutine/depth=30-4 25131 4195 ns/op BenchmarkDeepValueNewGoRoutine/depth=50-4 23389 4872 ns/op BenchmarkDeepValueNewGoRoutine/depth=100-4 18393 6898 ns/op BenchmarkDeepValueSameGoRoutine/depth=10-4 785998 149.5 ns/op BenchmarkDeepValueSameGoRoutine/depth=20-4 430408 279.0 ns/op BenchmarkDeepValueSameGoRoutine/depth=30-4 301454 393.3 ns/op BenchmarkDeepValueSameGoRoutine/depth=50-4 189717 631.5 ns/op BenchmarkDeepValueSameGoRoutine/depth=100-4 97222 1229 ns/op PASS ok context 10.580s goos: linux goarch: amd64 pkg: crypto/aes cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncrypt-4 3049519 39.22 ns/op 407.93 MB/s BenchmarkDecrypt-4 2982836 40.49 ns/op 395.12 MB/s BenchmarkExpand-4 1391172 85.32 ns/op PASS ok crypto/aes 1.550s goos: linux goarch: amd64 pkg: crypto/cipher cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAESGCM/Open-128-64-4 276166 403.5 ns/op 158.63 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-64-4 546110 193.1 ns/op 331.48 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-64-4 287313 410.9 ns/op 155.75 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-64-4 586749 201.1 ns/op 318.31 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-1350-4 191437 618.5 ns/op 2182.78 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-1350-4 277776 420.3 ns/op 3211.92 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-1350-4 177075 657.1 ns/op 2054.52 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-1350-4 248248 497.7 ns/op 2712.33 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-8192-4 71590 1634 ns/op 5012.57 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-8192-4 83329 1416 ns/op 5783.43 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-8192-4 62638 1863 ns/op 4397.59 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-8192-4 69715 1703 ns/op 4809.02 MB/s 0 B/op 0 allocs/op BenchmarkAESCFBEncrypt1K-4 9205 11718 ns/op 86.96 MB/s BenchmarkAESCFBDecrypt1K-4 9626 11430 ns/op 89.15 MB/s BenchmarkAESCFBDecrypt8K-4 1281 89600 ns/op 91.37 MB/s BenchmarkAESOFB1K-4 16360 7451 ns/op 136.77 MB/s BenchmarkAESCTR1K-4 20487 5752 ns/op 177.17 MB/s BenchmarkAESCTR8K-4 2433 45926 ns/op 178.27 MB/s BenchmarkAESCBCEncrypt1K-4 21397 5697 ns/op 179.73 MB/s BenchmarkAESCBCDecrypt1K-4 30096 3966 ns/op 258.20 MB/s PASS ok crypto/cipher 3.722s goos: linux goarch: amd64 pkg: crypto/des cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncrypt-4 91718 1099 ns/op 7.28 MB/s BenchmarkDecrypt-4 106030 1091 ns/op 7.33 MB/s BenchmarkTDESEncrypt-4 41654 2860 ns/op 2.80 MB/s BenchmarkTDESDecrypt-4 40776 2932 ns/op 2.73 MB/s PASS ok crypto/des 1.560s goos: linux goarch: amd64 pkg: crypto/ecdh cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkECDH/P256-4 1224 94989 ns/op 759 B/op 12 allocs/op BenchmarkECDH/P384-4 22 5301815 ns/op 1088 B/op 21 allocs/op BenchmarkECDH/P521-4 8 14351142 ns/op 1532 B/op 21 allocs/op BenchmarkECDH/X25519-4 130 908144 ns/op 374 B/op 9 allocs/op PASS ok crypto/ecdh 1.670s goos: linux goarch: amd64 pkg: crypto/ecdsa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSign/P256-4 2169 49591 ns/op 2512 B/op 33 allocs/op BenchmarkSign/P384-4 49 2438117 ns/op 2679 B/op 34 allocs/op BenchmarkSign/P521-4 18 6201919 ns/op 3060 B/op 35 allocs/op BenchmarkVerify/P256-4 1190 97829 ns/op 432 B/op 8 allocs/op BenchmarkVerify/P384-4 19 6077817 ns/op 592 B/op 12 allocs/op BenchmarkVerify/P521-4 7 16063092 ns/op 912 B/op 12 allocs/op BenchmarkGenerateKey/P256-4 4654 22085 ns/op 895 B/op 14 allocs/op BenchmarkGenerateKey/P384-4 87 1355924 ns/op 1097 B/op 17 allocs/op BenchmarkGenerateKey/P521-4 28 3593654 ns/op 1415 B/op 17 allocs/op PASS ok crypto/ecdsa 2.288s goos: linux goarch: amd64 pkg: crypto/ed25519 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkKeyGeneration-4 417 259076 ns/op BenchmarkNewKeyFromSeed-4 460 258516 ns/op BenchmarkSigning-4 436 272186 ns/op BenchmarkVerification-4 285 408969 ns/op PASS ok crypto/ed25519 1.599s goos: linux goarch: amd64 pkg: crypto/elliptic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScalarBaseMult/P256-4 5895 18746 ns/op 368 B/op 6 allocs/op BenchmarkScalarBaseMult/P224-4 212 552322 ns/op 376 B/op 9 allocs/op BenchmarkScalarBaseMult/P384-4 81 1458998 ns/op 504 B/op 9 allocs/op BenchmarkScalarBaseMult/P521-4 31 3752557 ns/op 696 B/op 9 allocs/op BenchmarkScalarMult/P256-4 1746 67690 ns/op 448 B/op 7 allocs/op BenchmarkScalarMult/P224-4 79 1403892 ns/op 440 B/op 10 allocs/op BenchmarkScalarMult/P384-4 30 3920253 ns/op 616 B/op 10 allocs/op BenchmarkScalarMult/P521-4 10 10899807 ns/op 840 B/op 10 allocs/op BenchmarkMarshalUnmarshal/P256/Uncompressed-4 16831 6737 ns/op 544 B/op 8 allocs/op BenchmarkMarshalUnmarshal/P256/Compressed-4 7070 15463 ns/op 592 B/op 9 allocs/op BenchmarkMarshalUnmarshal/P224/Uncompressed-4 5290 19949 ns/op 560 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P224/Compressed-4 132 903695 ns/op 592 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P384/Uncompressed-4 3561 30946 ns/op 784 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P384/Compressed-4 439 274409 ns/op 848 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P521/Uncompressed-4 2205 51763 ns/op 1104 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P521/Compressed-4 133 887658 ns/op 1184 B/op 15 allocs/op PASS ok crypto/elliptic 3.372s goos: linux goarch: amd64 pkg: crypto/hmac cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHMACSHA256_1K-4 19675 6065 ns/op 168.83 MB/s BenchmarkHMACSHA256_32-4 34833 3397 ns/op 9.42 MB/s BenchmarkNewWriteSum-4 17940 6436 ns/op 4.97 MB/s PASS ok crypto/hmac 1.540s goos: linux goarch: amd64 pkg: crypto/internal/bigmod cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkModAdd-4 70530 1609 ns/op BenchmarkModSub-4 73128 1597 ns/op BenchmarkMontgomeryRepr-4 38752 3084 ns/op BenchmarkMontgomeryMul-4 37519 3084 ns/op BenchmarkModMul-4 19010 6438 ns/op BenchmarkExpBig-4 22 5012029 ns/op BenchmarkExp-4 8 12735197 ns/op PASS ok crypto/internal/bigmod 2.049s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncodingDecoding-4 4489 22914 ns/op BenchmarkScalarBaseMult-4 474 242834 ns/op BenchmarkScalarMult-4 213 564740 ns/op BenchmarkVarTimeDoubleScalarBaseMult-4 307 388175 ns/op PASS ok crypto/internal/edwards25519 1.593s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519/field cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAdd-4 661672 165.9 ns/op BenchmarkMultiply-4 6392262 18.94 ns/op BenchmarkSquare-4 8172759 14.68 ns/op BenchmarkInvert-4 31658 3790 ns/op BenchmarkMult32-4 1989822 59.27 ns/op PASS ok crypto/internal/edwards25519/field 1.752s goos: linux goarch: amd64 pkg: crypto/internal/nistec cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScalarMult/P224-4 76 1354300 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P256-4 2040 58543 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P384-4 31 3788974 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P521-4 10 10413397 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P224-4 236 497317 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P256-4 9520 11728 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P384-4 90 1260368 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P521-4 33 3234784 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec 2.035s goos: linux goarch: amd64 pkg: crypto/internal/nistec/fiat cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMul/P224-4 831777 135.8 ns/op 0 B/op 0 allocs/op BenchmarkMul/P384-4 405218 263.0 ns/op 0 B/op 0 allocs/op BenchmarkMul/P521-4 157330 722.8 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P224-4 790754 132.2 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P384-4 437322 265.4 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P521-4 156529 723.5 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec/fiat 1.717s goos: linux goarch: amd64 pkg: crypto/md5 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes-4 161282 706.5 ns/op 11.32 MB/s BenchmarkHash64-4 179349 636.4 ns/op 100.56 MB/s BenchmarkHash128-4 157724 736.3 ns/op 173.85 MB/s BenchmarkHash256-4 122764 922.4 ns/op 277.53 MB/s BenchmarkHash512-4 93067 1286 ns/op 398.16 MB/s BenchmarkHash1K-4 58101 2016 ns/op 507.84 MB/s BenchmarkHash8K-4 8564 12345 ns/op 663.57 MB/s BenchmarkHash1M-4 76 1491759 ns/op 702.91 MB/s BenchmarkHash8M-4 9 11957218 ns/op 701.55 MB/s BenchmarkHash8BytesUnaligned-4 151680 708.3 ns/op 11.30 MB/s BenchmarkHash1KUnaligned-4 57926 2031 ns/op 504.19 MB/s BenchmarkHash8KUnaligned-4 9744 12216 ns/op 670.58 MB/s PASS ok crypto/md5 2.512s goos: linux goarch: amd64 pkg: crypto/rand cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPrime-4 1 317208031 ns/op PASS ok crypto/rand 1.333s goos: linux goarch: amd64 pkg: crypto/rc4 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRC4_128-4 18249 6565 ns/op 19.50 MB/s BenchmarkRC4_1K-4 2198 51557 ns/op 19.86 MB/s BenchmarkRC4_8K-4 290 412741 ns/op 19.62 MB/s PASS ok crypto/rc4 1.485s goos: linux goarch: amd64 pkg: crypto/rsa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecryptPKCS1v15/2048-4 15 7459834 ns/op BenchmarkDecryptPKCS1v15/3072-4 7 16444885 ns/op BenchmarkDecryptPKCS1v15/4096-4 4 29988128 ns/op BenchmarkEncryptPKCS1v15/2048-4 55 1996923 ns/op BenchmarkDecryptOAEP/2048-4 15 7354394 ns/op BenchmarkEncryptOAEP/2048-4 55 2027770 ns/op BenchmarkSignPKCS1v15/2048-4 15 7279887 ns/op BenchmarkVerifyPKCS1v15/2048-4 60 2009708 ns/op BenchmarkSignPSS/2048-4 15 7508000 ns/op BenchmarkVerifyPSS/2048-4 57 2047024 ns/op PASS ok crypto/rsa 2.463s goos: linux goarch: amd64 pkg: crypto/sha1 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 139701 792.0 ns/op 10.10 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum-4 170836 660.4 ns/op 12.11 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/New-4 94846 1172 ns/op 273.04 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/Sum-4 117426 1009 ns/op 317.06 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 61147 1973 ns/op 519.01 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum-4 65373 1821 ns/op 562.41 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 10000 10150 ns/op 807.08 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum-4 12064 10062 ns/op 814.17 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha1 2.123s goos: linux goarch: amd64 pkg: crypto/sha256 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 108900 1056 ns/op 7.58 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum224-4 127352 912.0 ns/op 8.77 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 123945 960.7 ns/op 8.33 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 32110 3695 ns/op 277.10 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum224-4 32836 3576 ns/op 286.35 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 33500 3576 ns/op 286.39 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 5084 22768 ns/op 359.80 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum224-4 5221 22498 ns/op 364.12 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 5160 22598 ns/op 362.52 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha256 2.236s goos: linux goarch: amd64 pkg: crypto/sha512 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 74973 1386 ns/op 5.77 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum384-4 104978 1122 ns/op 7.13 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum512-4 93810 1245 ns/op 6.42 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 37636 3093 ns/op 331.12 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum384-4 42903 2849 ns/op 359.47 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum512-4 40724 2993 ns/op 342.08 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 7426 16246 ns/op 504.25 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum384-4 7543 15908 ns/op 514.97 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum512-4 7260 15919 ns/op 514.61 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha512 2.278s goos: linux goarch: amd64 pkg: crypto/subtle cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkConstantTimeByteEq-4 24942698 4.264 ns/op BenchmarkConstantTimeEq-4 25478209 4.082 ns/op BenchmarkConstantTimeLessOrEq-4 25631731 4.039 ns/op BenchmarkXORBytes/8Bytes-4 6953952 16.17 ns/op 494.60 MB/s BenchmarkXORBytes/128Bytes-4 5908898 20.10 ns/op 6367.78 MB/s BenchmarkXORBytes/2048Bytes-4 1649845 70.76 ns/op 28941.33 MB/s BenchmarkXORBytes/32768Bytes-4 89748 1324 ns/op 24755.56 MB/s PASS ok crypto/subtle 1.947s goos: linux goarch: amd64 pkg: crypto/tls cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCertCache/0-4 177 746996 ns/op BenchmarkCertCache/1-4 220 583507 ns/op BenchmarkCertCache/2-4 192 652287 ns/op BenchmarkCertCache/3-4 188 657785 ns/op BenchmarkHandshakeServer/RSA-4 21 5408573 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv13-4 19 5953292 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv12-4 18 5698105 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv13-4 135 832349 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv12-4 198 617773 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv13-4 62 1908232 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv12-4 73 1540430 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv13-4 5 23962115 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12-4 5 23870428 ns/op BenchmarkThroughput/MaxPacket/1MB/TLSv12-4 6 17352111 ns/op 60.43 MB/s BenchmarkThroughput/MaxPacket/1MB/TLSv13-4 4 27642054 ns/op 37.93 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv12-4 4 26997218 ns/op 77.68 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv13-4 3 34639445 ns/op 60.54 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv12-4 3 41568347 ns/op 100.90 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv13-4 2 56569324 ns/op 74.14 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv12-4 2 72569225 ns/op 115.59 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv13-4 2 105309893 ns/op 79.66 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv12-4 1 141325026 ns/op 118.71 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv13-4 1 193264582 ns/op 86.81 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv12-4 1 280841124 ns/op 119.48 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv13-4 1 448587273 ns/op 74.80 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv12-4 1 593944958 ns/op 112.99 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv13-4 1 694971382 ns/op 96.56 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv12-4 6 19365118 ns/op 54.15 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv13-4 6 23074026 ns/op 45.44 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv12-4 4 26697554 ns/op 78.55 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv13-4 3 34040158 ns/op 61.61 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv12-4 3 41331037 ns/op 101.48 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv13-4 2 66292686 ns/op 63.27 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv12-4 2 101403020 ns/op 82.73 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv13-4 2 108189768 ns/op 77.54 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv12-4 1 150693823 ns/op 111.33 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv13-4 1 198699092 ns/op 84.44 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv12-4 1 288803414 ns/op 116.18 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv13-4 1 330557464 ns/op 101.51 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv12-4 1 526921508 ns/op 127.36 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv13-4 1 744998617 ns/op 90.08 MB/s BenchmarkLatency/MaxPacket/200kbps/TLSv12-4 1 704225877 ns/op BenchmarkLatency/MaxPacket/200kbps/TLSv13-4 1 706318404 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv12-4 1 288739822 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv13-4 1 289140263 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv12-4 1 151188086 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv13-4 1 149815593 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv12-4 2 81969004 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv13-4 2 81010660 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv12-4 3 40397359 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv13-4 3 39657795 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv12-4 1 142839126 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv13-4 1 146280714 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv12-4 2 63935009 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv13-4 2 65086244 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv12-4 3 38125106 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv13-4 3 37946852 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv12-4 4 25297180 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv13-4 5 24569292 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv12-4 6 18439956 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv13-4 7 16810209 ns/op PASS ok crypto/tls 17.155s goos: linux goarch: amd64 pkg: crypto/x509 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCreateCertificate/RSA_2048-4 12 9825475 ns/op BenchmarkCreateCertificate/ECDSA_P256-4 468 251316 ns/op BenchmarkParseCertificate/ecdsa_leaf-4 1501 72918 ns/op 12099 B/op 164 allocs/op BenchmarkParseCertificate/rsa_leaf-4 1386 81025 ns/op 13507 B/op 187 allocs/op PASS ok crypto/x509 1.740s goos: linux goarch: amd64 pkg: database/sql cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkConcurrentDBExec-4 6 16757350 ns/op 2503476 B/op 14640 allocs/op BenchmarkConcurrentStmtQuery-4 6 17013717 ns/op 2236546 B/op 17654 allocs/op BenchmarkConcurrentStmtExec-4 10 10265349 ns/op 1773025 B/op 3172 allocs/op BenchmarkConcurrentTxQuery-4 6 17888878 ns/op 2423661 B/op 19656 allocs/op BenchmarkConcurrentTxExec-4 14 7525489 ns/op 595420 B/op 14149 allocs/op BenchmarkConcurrentTxStmtQuery-4 8 13733287 ns/op 839571 B/op 20657 allocs/op BenchmarkConcurrentTxStmtExec-4 39 2936579 ns/op 108353 B/op 2175 allocs/op BenchmarkConcurrentRandom-4 7 14895635 ns/op 1656545 B/op 14023 allocs/op BenchmarkManyConcurrentQueries-4 2914 37806 ns/op 3985 B/op 20 allocs/op BenchmarkGrabConn-4 286224 409.9 ns/op 0 B/op 0 allocs/op PASS ok database/sql 2.301s goos: linux goarch: amd64 pkg: debug/gosym cpu: Intel(R) Xeon(R) CPU @ 2.20GHz Benchmark115/NewLineTable-4 340120 344.7 ns/op 384 B/op 3 allocs/op Benchmark115/NewTable-4 112 1055165 ns/op 188249 B/op 13 allocs/op Benchmark115/LineToPC-4 111 1046639 ns/op 0 B/op 0 allocs/op Benchmark115/PCToLine-4 26745 4410 ns/op 0 B/op 0 allocs/op PASS ok debug/gosym 1.775s goos: linux goarch: amd64 pkg: encoding/asn1 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkObjectIdentifierString-4 86211 1377 ns/op BenchmarkMarshal-4 1042 108790 ns/op 9528 B/op 363 allocs/op BenchmarkUnmarshal-4 3416 30042 ns/op 784 B/op 43 allocs/op PASS ok encoding/asn1 1.387s goos: linux goarch: amd64 pkg: encoding/base32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode-4 417 269941 ns/op 30.35 MB/s BenchmarkEncodeToString-4 357 305926 ns/op 26.78 MB/s BenchmarkDecode-4 226 511380 ns/op 25.64 MB/s BenchmarkDecodeString-4 240 502697 ns/op 26.08 MB/s PASS ok encoding/base32 1.648s goos: linux goarch: amd64 pkg: encoding/base64 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncodeToString-4 488 216259 ns/op 37.88 MB/s BenchmarkDecodeString/2-4 417084 256.5 ns/op 15.60 MB/s BenchmarkDecodeString/4-4 327868 345.8 ns/op 23.14 MB/s BenchmarkDecodeString/8-4 282180 444.0 ns/op 27.03 MB/s BenchmarkDecodeString/64-4 52872 2251 ns/op 39.10 MB/s BenchmarkDecodeString/8192-4 486 240088 ns/op 45.50 MB/s BenchmarkNewEncoding-4 130081 875.9 ns/op 292.27 MB/s PASS ok encoding/base64 1.933s goos: linux goarch: amd64 pkg: encoding/binary cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadSlice1000Int32s-4 1940 57968 ns/op 69.00 MB/s BenchmarkReadStruct-4 23724 5027 ns/op 14.92 MB/s BenchmarkWriteStruct-4 22447 5315 ns/op 14.11 MB/s BenchmarkReadInts-4 71824 1635 ns/op 18.35 MB/s BenchmarkWriteInts-4 64788 1832 ns/op 16.38 MB/s BenchmarkWriteSlice1000Int32s-4 1959 60471 ns/op 66.15 MB/s BenchmarkPutUint16-4 4469672 26.16 ns/op 76.46 MB/s BenchmarkAppendUint16-4 4486611 26.82 ns/op 74.56 MB/s BenchmarkPutUint32-4 3168439 37.81 ns/op 105.79 MB/s BenchmarkAppendUint32-4 3167228 38.21 ns/op 104.69 MB/s BenchmarkPutUint64-4 1575133 72.38 ns/op 110.52 MB/s BenchmarkAppendUint64-4 1622510 74.49 ns/op 107.40 MB/s BenchmarkLittleEndianPutUint16-4 4489522 26.42 ns/op 75.71 MB/s BenchmarkLittleEndianAppendUint16-4 4371907 26.80 ns/op 74.63 MB/s BenchmarkLittleEndianPutUint32-4 3206857 37.21 ns/op 107.51 MB/s BenchmarkLittleEndianAppendUint32-4 3110743 38.81 ns/op 103.07 MB/s BenchmarkLittleEndianPutUint64-4 1619720 72.92 ns/op 109.70 MB/s BenchmarkLittleEndianAppendUint64-4 1640214 72.65 ns/op 110.11 MB/s BenchmarkReadFloats-4 239743 485.2 ns/op 24.73 MB/s BenchmarkWriteFloats-4 195793 563.5 ns/op 21.30 MB/s BenchmarkReadSlice1000Float32s-4 1717 64100 ns/op 62.40 MB/s BenchmarkWriteSlice1000Float32s-4 1648 67402 ns/op 59.35 MB/s BenchmarkReadSlice1000Uint8s-4 97825 1035 ns/op 966.45 MB/s BenchmarkWriteSlice1000Uint8s-4 136810 796.4 ns/op 1255.64 MB/s BenchmarkPutUvarint32-4 1184922 94.73 ns/op 42.23 MB/s BenchmarkPutUvarint64-4 317641 348.6 ns/op 22.95 MB/s PASS ok encoding/binary 4.949s goos: linux goarch: amd64 pkg: encoding/csv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRead-4 9681 11978 ns/op 736 B/op 16 allocs/op BenchmarkReadWithFieldsPerRecord-4 8469 12194 ns/op 736 B/op 16 allocs/op BenchmarkReadWithoutFieldsPerRecord-4 9943 12138 ns/op 736 B/op 16 allocs/op BenchmarkReadLargeFields-4 5589 19555 ns/op 3937 B/op 24 allocs/op BenchmarkReadReuseRecord-4 9778 11260 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithFieldsPerRecord-4 10000 11038 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithoutFieldsPerRecord-4 10000 10983 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordLargeFields-4 6446 18440 ns/op 2977 B/op 12 allocs/op BenchmarkWrite-4 15892 7229 ns/op PASS ok encoding/csv 2.232s goos: linux goarch: amd64 pkg: encoding/gob cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEndToEndPipe-4 19426 7334 ns/op 1811 B/op 2 allocs/op BenchmarkEndToEndByteBuffer-4 20738 6040 ns/op 1811 B/op 2 allocs/op BenchmarkEndToEndSliceByteBuffer-4 302 333546 ns/op 16653 B/op 330 allocs/op BenchmarkEncodeComplex128Slice-4 1285 94990 ns/op 381 B/op 0 allocs/op BenchmarkEncodeFloat64Slice-4 1743 58185 ns/op 50 B/op 0 allocs/op BenchmarkEncodeInt32Slice-4 2446 61814 ns/op 35 B/op 0 allocs/op BenchmarkEncodeStringSlice-4 2486 41421 ns/op 155 B/op 0 allocs/op BenchmarkEncodeInterfaceSlice-4 103 1283588 ns/op 30929 B/op 255 allocs/op BenchmarkDecodeComplex128Slice-4 975 165579 ns/op 25189 B/op 169 allocs/op BenchmarkDecodeFloat64Slice-4 1696 70127 ns/op 10788 B/op 169 allocs/op BenchmarkDecodeInt32Slice-4 2205 73473 ns/op 9751 B/op 169 allocs/op BenchmarkDecodeStringSlice-4 1131 105382 ns/op 39115 B/op 1169 allocs/op BenchmarkDecodeStringsSlice-4 417 282102 ns/op 66061 B/op 2196 allocs/op BenchmarkDecodeBytesSlice-4 742 140529 ns/op 23575 B/op 185 allocs/op BenchmarkDecodeInterfaceSlice-4 165 979637 ns/op 82744 B/op 3178 allocs/op BenchmarkDecodeMap-4 100 1115204 ns/op 54126 B/op 181 allocs/op PASS ok encoding/gob 4.249s goos: linux goarch: amd64 pkg: encoding/hex cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode/256-4 20712 5719 ns/op 44.76 MB/s BenchmarkEncode/1024-4 4388 23160 ns/op 44.21 MB/s BenchmarkEncode/4096-4 1281 92423 ns/op 44.32 MB/s BenchmarkEncode/16384-4 322 367105 ns/op 44.63 MB/s BenchmarkDecode/256-4 39218 3023 ns/op 84.68 MB/s BenchmarkDecode/1024-4 9325 11848 ns/op 86.43 MB/s BenchmarkDecode/4096-4 2468 46806 ns/op 87.51 MB/s BenchmarkDecode/16384-4 633 187650 ns/op 87.31 MB/s BenchmarkDump/256-4 1886 63276 ns/op 4.05 MB/s BenchmarkDump/1024-4 475 246337 ns/op 4.16 MB/s BenchmarkDump/4096-4 120 974578 ns/op 4.20 MB/s BenchmarkDump/16384-4 26 4147422 ns/op 3.95 MB/s PASS ok encoding/hex 2.717s goos: linux goarch: amd64 pkg: encoding/json cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCodeEncoder-4 2 68339316 ns/op 28.39 MB/s 8389960 B/op 48 allocs/op BenchmarkCodeEncoderError-4 2 70841626 ns/op 27.39 MB/s 8325288 B/op 45 allocs/op BenchmarkCodeMarshal-4 2 62815664 ns/op 30.89 MB/s 6137056 B/op 30 allocs/op BenchmarkCodeMarshalError-4 2 63710764 ns/op 30.46 MB/s 6137312 B/op 37 allocs/op BenchmarkMarshalBytes/32-4 30896 3801 ns/op BenchmarkMarshalBytes/256-4 7302 15037 ns/op BenchmarkMarshalBytes/4096-4 663 176501 ns/op BenchmarkMarshalBytesError/32-4 78 1548542 ns/op BenchmarkMarshalBytesError/256-4 73 1613442 ns/op BenchmarkMarshalBytesError/4096-4 64 1872926 ns/op BenchmarkCodeDecoder-4 1 311695067 ns/op 6.23 MB/s 11015840 B/op 91355 allocs/op BenchmarkUnicodeDecoder-4 51776 2315 ns/op 6.05 MB/s 40 B/op 2 allocs/op BenchmarkDecoderStream-4 66079 1768 ns/op 16 B/op 1 allocs/op BenchmarkCodeUnmarshal-4 1 258068538 ns/op 7.52 MB/s 2938152 B/op 91324 allocs/op BenchmarkCodeUnmarshalReuse-4 1 254249111 ns/op 7.63 MB/s 2939568 B/op 91330 allocs/op BenchmarkUnmarshalString-4 69512 1659 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalFloat64-4 152200 783.3 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalInt64-4 434682 369.5 ns/op 144 B/op 1 allocs/op BenchmarkIssue10335-4 81790 1349 ns/op 176 B/op 3 allocs/op BenchmarkIssue34127-4 132056 1024 ns/op 84 B/op 2 allocs/op BenchmarkUnmapped-4 25471 4820 ns/op 208 B/op 4 allocs/op BenchmarkTypeFieldsCache/MissTypes1-4 5199 22648 ns/op BenchmarkTypeFieldsCache/MissTypes10-4 1087 111404 ns/op BenchmarkTypeFieldsCache/MissTypes100-4 100 1054367 ns/op BenchmarkTypeFieldsCache/MissTypes1000-4 12 9089615 ns/op BenchmarkTypeFieldsCache/HitTypes1-4 630066 160.4 ns/op BenchmarkTypeFieldsCache/HitTypes10-4 606878 183.6 ns/op BenchmarkTypeFieldsCache/HitTypes100-4 764314 154.9 ns/op BenchmarkTypeFieldsCache/HitTypes1000-4 642700 160.3 ns/op BenchmarkEncodeMarshaler-4 89193 1223 ns/op 76 B/op 2 allocs/op BenchmarkEncoderEncode-4 115318 1064 ns/op 44 B/op 0 allocs/op BenchmarkNumberIsValid-4 5651070 21.09 ns/op BenchmarkNumberIsValidRegexp-4 29038 4285 ns/op PASS ok encoding/json 8.120s goos: linux goarch: amd64 pkg: encoding/pem cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode-4 73 1625958 ns/op 40.31 MB/s BenchmarkDecode-4 33 3449437 ns/op 25.74 MB/s PASS ok encoding/pem 1.355s goos: linux goarch: amd64 pkg: encoding/xml cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMarshal-4 4070 30142 ns/op 6280 B/op 24 allocs/op BenchmarkUnmarshal-4 1312 89617 ns/op 8217 B/op 185 allocs/op BenchmarkHTMLAutoClose-4 4813 20939 ns/op PASS ok encoding/xml 1.761s goos: linux goarch: amd64 pkg: expvar cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkIntAdd-4 401973 318.3 ns/op BenchmarkIntSet-4 428846 284.5 ns/op BenchmarkFloatAdd-4 83929 1435 ns/op BenchmarkFloatSet-4 481262 291.5 ns/op BenchmarkStringSet-4 382640 310.8 ns/op BenchmarkMapSet-4 89023 1284 ns/op BenchmarkMapSetDifferent-4 94440 1457 ns/op BenchmarkMapSetDifferentRandom-4 322 329186 ns/op BenchmarkMapSetString-4 103332 1254 ns/op BenchmarkMapAddSame-4 41156 3024 ns/op BenchmarkMapAddDifferent-4 19369 6309 ns/op BenchmarkMapAddDifferentRandom-4 256 463684 ns/op BenchmarkMapAddSameSteadyState-4 373822 290.1 ns/op BenchmarkMapAddDifferentSteadyState-4 188218 699.4 ns/op BenchmarkRealworldExpvarUsage-4 28124 3662 ns/op PASS ok expvar 3.385s goos: linux goarch: amd64 pkg: fmt cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSprintfPadding-4 167842 793.3 ns/op BenchmarkSprintfEmpty-4 542499 232.6 ns/op BenchmarkSprintfString-4 335622 330.9 ns/op BenchmarkSprintfTruncateString-4 271570 399.1 ns/op BenchmarkSprintfTruncateBytes-4 213801 570.6 ns/op BenchmarkSprintfSlowParsingPath-4 302680 364.5 ns/op BenchmarkSprintfQuoteString-4 47212 2336 ns/op BenchmarkSprintfInt-4 432368 267.5 ns/op BenchmarkSprintfIntInt-4 229689 458.8 ns/op BenchmarkSprintfPrefixedInt-4 257979 495.1 ns/op BenchmarkSprintfFloat-4 225307 655.1 ns/op BenchmarkSprintfComplex-4 93660 1405 ns/op BenchmarkSprintfBoolean-4 343071 321.5 ns/op BenchmarkSprintfHexString-4 144843 805.8 ns/op BenchmarkSprintfHexBytes-4 105654 1054 ns/op BenchmarkSprintfBytes-4 72906 1639 ns/op BenchmarkSprintfStringer-4 123583 1122 ns/op BenchmarkSprintfStructure-4 56998 2328 ns/op BenchmarkManyArgs-4 85779 1358 ns/op BenchmarkFprintInt-4 98985 1234 ns/op BenchmarkFprintfBytes-4 105547 1153 ns/op BenchmarkFprintIntNoAlloc-4 96148 1232 ns/op BenchmarkScanInts-4 49 2332840 ns/op BenchmarkScanRecursiveInt-4 1 270493565 ns/op BenchmarkScanRecursiveIntReaderWrapper-4 1 280486390 ns/op PASS ok fmt 5.312s goos: linux goarch: amd64 pkg: go/build cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkImportVendor-4 885 123104 ns/op PASS ok go/build 1.146s goos: linux goarch: amd64 pkg: go/constant cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStringAdd/1-4 69432 1595 ns/op 160 B/op 2 allocs/op BenchmarkStringAdd/4-4 18207 6352 ns/op 832 B/op 9 allocs/op BenchmarkStringAdd/16-4 4881 22090 ns/op 3168 B/op 23 allocs/op BenchmarkStringAdd/64-4 1323 86576 ns/op 11744 B/op 73 allocs/op BenchmarkStringAdd/256-4 350 339743 ns/op 47840 B/op 267 allocs/op BenchmarkStringAdd/1024-4 73 1683791 ns/op 206178 B/op 1038 allocs/op BenchmarkStringAdd/4096-4 16 7035610 ns/op 865638 B/op 4114 allocs/op BenchmarkStringAdd/16384-4 4 30070261 ns/op 3634528 B/op 16407 allocs/op BenchmarkStringAdd/65536-4 1 122420026 ns/op 15258976 B/op 65565 allocs/op PASS ok go/constant 2.454s goos: linux goarch: amd64 pkg: go/format cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFormat/array1-10000-4 1 202622625 ns/op 0.32 MB/s 47444656 B/op 49152 allocs/op PASS ok go/format 1.237s goos: linux goarch: amd64 pkg: go/parser cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkParse-4 7 15353945 ns/op 3.51 MB/s BenchmarkParseOnly-4 8 12855722 ns/op 4.19 MB/s BenchmarkResolve-4 69 1676791 ns/op 32.12 MB/s PASS ok go/parser 2.186s goos: linux goarch: amd64 pkg: go/printer cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPrintFile-4 1 102580981 ns/op 0.51 MB/s 4930968 B/op 27569 allocs/op BenchmarkPrintDecl-4 1174 98921 ns/op 0.32 MB/s 15840 B/op 51 allocs/op PASS ok go/printer 1.250s goos: linux goarch: amd64 pkg: go/scanner cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScan-4 378 317245 ns/op BenchmarkScanFiles/go/types/expr.go-4 19 5805127 ns/op 8.54 MB/s BenchmarkScanFiles/go/parser/parser.go-4 12 9201577 ns/op 7.87 MB/s BenchmarkScanFiles/net/http/server.go-4 8 13120780 ns/op 8.64 MB/s BenchmarkScanFiles/go/scanner/errors.go-4 294 405709 ns/op 7.58 MB/s PASS ok go/scanner 1.692s goos: linux goarch: amd64 pkg: go/token cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSearchInts-4 1904619 60.59 ns/op PASS ok go/token 1.199s goos: linux goarch: amd64 pkg: go/types cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLookupFieldOrMethod-4 226 540561 ns/op BenchmarkNamed/Underlying/nongeneric-4 1553300 75.46 ns/op BenchmarkNamed/Underlying/generic-4 1574232 75.76 ns/op BenchmarkNamed/Underlying/src_instance-4 1576197 75.40 ns/op BenchmarkNamed/Underlying/user_instance-4 1542480 77.79 ns/op BenchmarkNamed/NewMethodSet/nongeneric-4 31513 3599 ns/op BenchmarkNamed/NewMethodSet/generic-4 32846 3688 ns/op BenchmarkNamed/NewMethodSet/src_instance-4 31122 3557 ns/op BenchmarkNamed/NewMethodSet/user_instance-4 32215 3718 ns/op BenchmarkCheck/http/funcbodies/info-4 1 439149805 ns/op 69578 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 287530038 ns/op 106243 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 172226965 ns/op 177327 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 145996223 ns/op 209209 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 356242820 ns/op 14528 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 2 75705564 ns/op 68343 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 3 48634024 ns/op 106397 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 3 46122716 ns/op 112144 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 121621639 ns/op 17813 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 3 43924812 ns/op 49314 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 4 32235671 ns/op 67210 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 4 30899953 ns/op 70100 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 899890234 ns/op 72403 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 426443992 ns/op 152774 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 136070859 ns/op 478650 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 102455411 ns/op 635602 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 353277288 ns/op 5652 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 67783904 ns/op 29452 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 2 56377342 ns/op 35409 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 2 53119912 ns/op 37579 lines/s PASS ok go/types 15.521s goos: linux goarch: amd64 pkg: hash/adler32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAdler32KB-4 14462 8334 ns/op 122.88 MB/s PASS ok hash/adler32 1.222s goos: linux goarch: amd64 pkg: hash/crc32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCRC32/poly=IEEE/size=15/align=0-4 309375 354.1 ns/op 42.36 MB/s BenchmarkCRC32/poly=IEEE/size=15/align=1-4 325827 346.3 ns/op 43.32 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=0-4 169542 691.1 ns/op 57.88 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=1-4 181617 654.7 ns/op 61.09 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=0-4 674847 160.3 ns/op 3194.21 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=1-4 701794 162.3 ns/op 3153.82 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=0-4 605881 188.6 ns/op 5430.57 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=1-4 620466 186.9 ns/op 5479.44 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=0-4 345250 343.3 ns/op 11932.62 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=1-4 335925 339.6 ns/op 12061.33 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=0-4 67112 1797 ns/op 18233.06 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=1-4 67147 1772 ns/op 18487.71 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=0-4 633232 176.7 ns/op 84.88 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=1-4 633708 177.7 ns/op 84.40 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=0-4 639698 181.0 ns/op 221.05 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=1-4 621793 178.7 ns/op 223.85 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=0-4 456736 245.1 ns/op 2089.15 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=1-4 465820 250.3 ns/op 2045.38 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=0-4 338102 312.2 ns/op 3279.99 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=1-4 351296 323.6 ns/op 3164.07 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=0-4 308984 380.3 ns/op 10771.62 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=1-4 289275 383.4 ns/op 10682.73 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=0-4 65097 1843 ns/op 17784.26 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=1-4 64016 1877 ns/op 17460.57 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=0-4 322261 359.9 ns/op 41.68 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=1-4 352464 340.4 ns/op 44.07 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=0-4 176869 658.8 ns/op 60.72 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=1-4 163212 655.3 ns/op 61.04 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=0-4 18373 6523 ns/op 78.49 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=1-4 18552 6516 ns/op 78.58 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=0-4 7410 15480 ns/op 66.15 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=1-4 7560 14966 ns/op 68.42 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=0-4 1455 81459 ns/op 50.28 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=1-4 1419 81986 ns/op 49.96 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=0-4 170 697904 ns/op 46.95 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=1-4 171 693693 ns/op 47.24 MB/s PASS ok hash/crc32 5.700s goos: linux goarch: amd64 pkg: hash/crc64 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCrc64/ISO64KB-4 148 797225 ns/op 82.21 MB/s BenchmarkCrc64/ISO4KB-4 1920 57163 ns/op 71.65 MB/s BenchmarkCrc64/ISO1KB-4 8757 13020 ns/op 78.65 MB/s BenchmarkCrc64/ECMA64KB-4 145 828129 ns/op 79.14 MB/s BenchmarkCrc64/Random64KB-4 158 767531 ns/op 85.39 MB/s BenchmarkCrc64/Random16KB-4 595 198864 ns/op 82.39 MB/s PASS ok hash/crc64 2.003s goos: linux goarch: amd64 pkg: hash/fnv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFnv32KB-4 15109 7899 ns/op 129.64 MB/s BenchmarkFnv32aKB-4 14643 7990 ns/op 128.15 MB/s BenchmarkFnv64KB-4 14907 8063 ns/op 127.00 MB/s BenchmarkFnv64aKB-4 14942 8053 ns/op 127.16 MB/s BenchmarkFnv128KB-4 2970 39455 ns/op 25.95 MB/s BenchmarkFnv128aKB-4 2979 38873 ns/op 26.34 MB/s PASS ok hash/fnv 2.068s goos: linux goarch: amd64 pkg: hash/maphash cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash/n=4/Write-4 856142 142.2 ns/op 28.13 MB/s BenchmarkHash/n=4/Bytes-4 6544368 18.15 ns/op 220.37 MB/s BenchmarkHash/n=4/String-4 2800959 42.62 ns/op 93.85 MB/s BenchmarkHash/n=8/Write-4 759940 139.9 ns/op 57.19 MB/s BenchmarkHash/n=8/Bytes-4 6502785 18.16 ns/op 440.54 MB/s BenchmarkHash/n=8/String-4 2766052 42.62 ns/op 187.72 MB/s BenchmarkHash/n=16/Write-4 709413 143.0 ns/op 111.92 MB/s BenchmarkHash/n=16/Bytes-4 6550555 18.02 ns/op 888.09 MB/s BenchmarkHash/n=16/String-4 2783925 42.77 ns/op 374.09 MB/s BenchmarkHash/n=32/Write-4 798628 144.7 ns/op 221.11 MB/s BenchmarkHash/n=32/Bytes-4 6626538 18.03 ns/op 1775.14 MB/s BenchmarkHash/n=32/String-4 2768788 42.71 ns/op 749.23 MB/s BenchmarkHash/n=64/Write-4 776786 150.2 ns/op 425.98 MB/s BenchmarkHash/n=64/Bytes-4 6341737 18.66 ns/op 3428.95 MB/s BenchmarkHash/n=64/String-4 2670346 44.25 ns/op 1446.36 MB/s BenchmarkHash/n=256/Write-4 579487 201.5 ns/op 1270.29 MB/s BenchmarkHash/n=256/Bytes-4 4153725 29.18 ns/op 8773.28 MB/s BenchmarkHash/n=256/String-4 1644208 73.35 ns/op 3490.20 MB/s BenchmarkHash/n=320/Write-4 592989 197.8 ns/op 1618.16 MB/s BenchmarkHash/n=320/Bytes-4 3374109 36.14 ns/op 8855.11 MB/s BenchmarkHash/n=320/String-4 1000000 104.4 ns/op 3064.75 MB/s BenchmarkHash/n=1024/Write-4 408028 288.6 ns/op 3548.44 MB/s BenchmarkHash/n=1024/Bytes-4 1000000 101.5 ns/op 10089.46 MB/s BenchmarkHash/n=1024/String-4 397126 269.7 ns/op 3796.48 MB/s BenchmarkHash/n=4096/Write-4 181536 645.8 ns/op 6342.81 MB/s BenchmarkHash/n=4096/Bytes-4 302240 393.2 ns/op 10416.18 MB/s BenchmarkHash/n=4096/String-4 113653 1011 ns/op 4052.28 MB/s BenchmarkHash/n=16384/Write-4 58236 2051 ns/op 7987.98 MB/s BenchmarkHash/n=16384/Bytes-4 76888 1559 ns/op 10509.97 MB/s BenchmarkHash/n=16384/String-4 30051 3955 ns/op 4142.99 MB/s PASS ok hash/maphash 5.221s goos: linux goarch: amd64 pkg: html cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEscape-4 1152 87360 ns/op BenchmarkEscapeNone-4 148525 745.7 ns/op BenchmarkUnescape-4 1148 99787 ns/op BenchmarkUnescapeNone-4 745148 145.5 ns/op BenchmarkUnescapeSparse-4 14328 9174 ns/op BenchmarkUnescapeDense-4 1615 68449 ns/op PASS ok html 1.828s goos: linux goarch: amd64 pkg: html/template cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCSSEscaper-4 13862 8191 ns/op BenchmarkCSSEscaperNoSpecials-4 66991 1756 ns/op BenchmarkDecodeCSS-4 40846 2930 ns/op BenchmarkDecodeCSSNoSpecials-4 7472468 14.90 ns/op BenchmarkCSSValueFilter-4 161750 737.5 ns/op BenchmarkCSSValueFilterOk-4 123154 929.3 ns/op BenchmarkEscapedExecute-4 6949 17435 ns/op BenchmarkHTMLNospaceEscaper-4 16623 7097 ns/op BenchmarkHTMLNospaceEscaperNoSpecials-4 101455 1152 ns/op BenchmarkStripTags-4 32564 3569 ns/op BenchmarkStripTagsNoSpecials-4 395725 277.8 ns/op BenchmarkJSValEscaperWithNum-4 34292 3507 ns/op BenchmarkJSValEscaperWithStr-4 8347 14349 ns/op BenchmarkJSValEscaperWithStrNoSpecials-4 27638 4322 ns/op BenchmarkJSValEscaperWithObj-4 7106 16698 ns/op BenchmarkJSValEscaperWithObjNoSpecials-4 19198 6189 ns/op BenchmarkJSStrEscaperNoSpecials-4 91140 1271 ns/op BenchmarkJSStrEscaper-4 17253 6719 ns/op BenchmarkJSRegexpEscaperNoSpecials-4 78847 1485 ns/op BenchmarkJSRegexpEscaper-4 16585 7121 ns/op BenchmarkTemplateSpecialTags-4 145 795769 ns/op BenchmarkURLEscaper-4 6332 18768 ns/op BenchmarkURLEscaperNoSpecials-4 238806 481.1 ns/op BenchmarkURLNormalizer-4 8478 14226 ns/op BenchmarkURLNormalizerNoSpecials-4 227886 504.4 ns/op BenchmarkSrcsetFilter-4 26200 4490 ns/op BenchmarkSrcsetFilterNoSpecials-4 150252 746.6 ns/op PASS ok html/template 5.522s goos: linux goarch: amd64 pkg: image cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAt/rgba-4 676284 157.0 ns/op 16 B/op 1 allocs/op BenchmarkAt/rgba64-4 602073 173.4 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba-4 878481 130.9 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba64-4 695022 174.9 ns/op 16 B/op 1 allocs/op BenchmarkAt/alpha-4 2477193 48.21 ns/op 0 B/op 0 allocs/op BenchmarkAt/alpha16-4 1727792 69.81 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray-4 2473806 48.01 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray16-4 1737684 68.63 ns/op 0 B/op 0 allocs/op BenchmarkAt/paletted-4 1940803 60.92 ns/op 0 B/op 0 allocs/op BenchmarkSet/rgba-4 573081 197.3 ns/op 16 B/op 1 allocs/op BenchmarkSet/rgba64-4 508593 224.6 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba-4 598368 187.9 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba64-4 485744 223.4 ns/op 16 B/op 1 allocs/op BenchmarkSet/alpha-4 1000000 110.7 ns/op 0 B/op 0 allocs/op BenchmarkSet/alpha16-4 748819 154.9 ns/op 16 B/op 1 allocs/op BenchmarkSet/gray-4 1215193 98.24 ns/op 0 B/op 0 allocs/op BenchmarkSet/gray16-4 672196 152.8 ns/op 16 B/op 1 allocs/op BenchmarkSet/paletted-4 586477 191.2 ns/op 0 B/op 0 allocs/op BenchmarkRGBAAt-4 1814976 65.25 ns/op BenchmarkRGBASetRGBA-4 1843557 63.78 ns/op BenchmarkRGBA64At-4 958186 104.9 ns/op BenchmarkRGBA64SetRGBA64-4 1221760 97.15 ns/op BenchmarkNRGBAAt-4 1843540 64.84 ns/op BenchmarkNRGBASetNRGBA-4 1843705 62.44 ns/op BenchmarkNRGBA64At-4 1129812 106.2 ns/op BenchmarkNRGBA64SetNRGBA64-4 1000000 102.6 ns/op BenchmarkAlphaAt-4 3080775 38.95 ns/op BenchmarkAlphaSetAlpha-4 3163591 37.84 ns/op BenchmarkAlpha16At-4 1992382 60.26 ns/op BenchmarkAlphaSetAlpha16-4 1964235 60.99 ns/op BenchmarkGrayAt-4 3040741 38.81 ns/op BenchmarkGraySetGray-4 3151504 37.97 ns/op BenchmarkGray16At-4 1968357 60.34 ns/op BenchmarkGraySetGray16-4 1937760 60.44 ns/op PASS ok image 6.415s goos: linux goarch: amd64 pkg: image/color cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkYCbCrToRGB/0-4 5717446 20.53 ns/op BenchmarkYCbCrToRGB/128-4 5965404 19.70 ns/op BenchmarkYCbCrToRGB/255-4 5913782 19.78 ns/op BenchmarkRGBToYCbCr/0-4 5963950 19.94 ns/op BenchmarkRGBToYCbCr/Cb-4 5830310 19.90 ns/op BenchmarkRGBToYCbCr/Cr-4 5863552 20.08 ns/op BenchmarkYCbCrToRGBA/0-4 4666778 24.76 ns/op BenchmarkYCbCrToRGBA/128-4 4550644 26.07 ns/op BenchmarkYCbCrToRGBA/255-4 4682071 25.09 ns/op BenchmarkNYCbCrAToRGBA/0-4 4555314 25.86 ns/op BenchmarkNYCbCrAToRGBA/128-4 4545582 26.05 ns/op BenchmarkNYCbCrAToRGBA/255-4 4542279 26.37 ns/op PASS ok image/color 2.732s goos: linux goarch: amd64 pkg: image/draw cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFillOver-4 5 20815402 ns/op BenchmarkFillSrc-4 466 243988 ns/op BenchmarkCopyOver-4 10 10918004 ns/op BenchmarkCopySrc-4 580 204136 ns/op BenchmarkNRGBAOver-4 9 11113792 ns/op BenchmarkNRGBASrc-4 15 7543521 ns/op BenchmarkYCbCr-4 14 8113394 ns/op BenchmarkGray-4 26 4398472 ns/op BenchmarkCMYK-4 15 7623258 ns/op BenchmarkGlyphOver-4 32 3668667 ns/op BenchmarkRGBAMaskOver-4 6 19256063 ns/op BenchmarkGrayMaskOver-4 7 14560527 ns/op BenchmarkRGBA64ImageMaskOver-4 5 23919741 ns/op BenchmarkRGBA-4 7 15884240 ns/op BenchmarkPalettedFill-4 1561 81022 ns/op BenchmarkPalettedRGBA-4 7 16577145 ns/op BenchmarkGenericOver-4 3 36547673 ns/op BenchmarkGenericMaskOver-4 7 15206688 ns/op BenchmarkGenericSrc-4 5 24138512 ns/op BenchmarkGenericMaskSrc-4 5 21131990 ns/op PASS ok image/draw 5.652s goos: linux goarch: amd64 pkg: image/gif cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecode-4 31 3498123 ns/op 4.42 MB/s 47848 B/op 267 allocs/op BenchmarkEncodeRandomPaletted-4 2 81003340 ns/op 3.79 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRandomRGBA-4 1 2005418339 ns/op 0.61 MB/s 417248 B/op 13 allocs/op BenchmarkEncodeRealisticPaletted-4 78 1429683 ns/op 10.81 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRealisticRGBA-4 2 98783957 ns/op 0.63 MB/s 105952 B/op 13 allocs/op PASS ok image/gif 4.193s goos: linux goarch: amd64 pkg: image/jpeg cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFDCT-4 5427 19462 ns/op BenchmarkIDCT-4 6700 17872 ns/op BenchmarkDecodeBaseline-4 13 8648459 ns/op 7.15 MB/s 63024 B/op 5 allocs/op BenchmarkDecodeProgressive-4 9 12009467 ns/op 5.15 MB/s 259712 B/op 13 allocs/op BenchmarkEncodeRGBA-4 1 106711894 ns/op 11.52 MB/s 4400 B/op 4 allocs/op BenchmarkEncodeYCbCr-4 1 133332652 ns/op 6.91 MB/s 4400 B/op 4 allocs/op PASS ok image/jpeg 2.184s goos: linux goarch: amd64 pkg: image/png cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPaeth-4 19460631 6.199 ns/op BenchmarkDecodeGray-4 18 5918797 ns/op 11.07 MB/s 137024 B/op 102 allocs/op BenchmarkDecodeNRGBAGradient-4 4 26408589 ns/op 9.93 MB/s 337328 B/op 188 allocs/op BenchmarkDecodeNRGBAOpaque-4 5 22248992 ns/op 11.78 MB/s 346592 B/op 152 allocs/op BenchmarkDecodePaletted-4 33 3672839 ns/op 17.84 MB/s 139456 B/op 309 allocs/op BenchmarkDecodeRGB-4 5 20638283 ns/op 12.70 MB/s 332000 B/op 157 allocs/op BenchmarkDecodeInterlacing-4 4 25895669 ns/op 10.12 MB/s 605216 B/op 268 allocs/op BenchmarkEncodeGray-4 3 38495003 ns/op 7.98 MB/s 852184 B/op 29 allocs/op BenchmarkEncodeGrayWithBufferPool-4 3 37829048 ns/op 8.12 MB/s 284053 B/op 9 allocs/op BenchmarkEncodeNRGBOpaque-4 1 122515846 ns/op 10.03 MB/s 860344 B/op 30 allocs/op BenchmarkEncodeNRGBA-4 1 133229809 ns/op 9.22 MB/s 864088 B/op 29 allocs/op BenchmarkEncodePaletted-4 5 20563938 ns/op 14.94 MB/s 848592 B/op 32 allocs/op BenchmarkEncodeRGBOpaque-4 1 122330222 ns/op 10.04 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeRGBA-4 1 553630865 ns/op 2.22 MB/s 864088 B/op 29 allocs/op PASS ok image/png 4.045s goos: linux goarch: amd64 pkg: index/suffixarray cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkNew/text=opticks/size=100K/bits=32-4 3 38058436 ns/op 2.63 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=opticks/size=100K/bits=64-4 4 31906326 ns/op 3.13 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=32-4 1 236540950 ns/op 2.11 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=64-4 1 220791499 ns/op 2.26 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=32-4 3 37516160 ns/op 2.67 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=64-4 4 31394932 ns/op 3.19 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=32-4 1 214216872 ns/op 2.33 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=64-4 1 207640345 ns/op 2.41 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=32-4 1 502744249 ns/op 1.99 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=64-4 1 484685838 ns/op 2.06 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=32-4 1 3397816830 ns/op 1.47 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=64-4 1 3366577013 ns/op 1.49 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=go/size=10M/bits=32-4 1 7058173662 ns/op 1.42 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=go/size=10M/bits=64-4 1 6857147341 ns/op 1.46 MB/s 80003152 B/op 2 allocs/op BenchmarkNew/text=go/size=50M/bits=32-4 1 39207995434 ns/op 1.28 MB/s 200007760 B/op 2 allocs/op BenchmarkNew/text=go/size=50M/bits=64-4 1 36886086923 ns/op 1.36 MB/s 400007248 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=32-4 16 6803485 ns/op 14.70 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=64-4 15 7621632 ns/op 13.12 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=32-4 4 33480812 ns/op 14.93 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=64-4 3 38012939 ns/op 13.15 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=32-4 2 67119704 ns/op 14.90 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=64-4 2 74444044 ns/op 13.43 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=32-4 1 328202612 ns/op 15.23 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=64-4 1 373427418 ns/op 13.39 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=zero/size=10M/bits=32-4 1 656060470 ns/op 15.24 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=zero/size=10M/bits=64-4 1 745515958 ns/op 13.41 MB/s 80003152 B/op 2 allocs/op BenchmarkNew/text=zero/size=50M/bits=32-4 1 3303931802 ns/op 15.13 MB/s 200007760 B/op 2 allocs/op BenchmarkNew/text=zero/size=50M/bits=64-4 1 3709208190 ns/op 13.48 MB/s 400007344 B/op 3 allocs/op BenchmarkNew/text=rand/size=100K/bits=32-4 3 43541445 ns/op 2.30 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=64-4 3 41317229 ns/op 2.42 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=32-4 1 315615079 ns/op 1.58 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=64-4 1 361656434 ns/op 1.38 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=32-4 1 759821308 ns/op 1.32 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=64-4 1 822962019 ns/op 1.22 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=32-4 1 5499184300 ns/op 0.91 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=64-4 1 5354552129 ns/op 0.93 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=rand/size=10M/bits=32-4 1 11638633899 ns/op 0.86 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=rand/size=10M/bits=64-4 1 10708450454 ns/op 0.93 MB/s 80003152 B/op 2 allocs/op BenchmarkNew/text=rand/size=50M/bits=32-4 1 60205075987 ns/op 0.83 MB/s 200007760 B/op 2 allocs/op BenchmarkNew/text=rand/size=50M/bits=64-4 1 58361804690 ns/op 0.86 MB/s 400007248 B/op 2 allocs/op BenchmarkSaveRestore/bits=32-4 1 115324213 ns/op 36.24 MB/s 5275648 B/op 4 allocs/op BenchmarkSaveRestore/bits=64-4 1 118685108 ns/op 35.22 MB/s 9469952 B/op 4 allocs/op PASS ok index/suffixarray 277.472s goos: linux goarch: amd64 pkg: internal/fuzz cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMarshalCorpusFile/1-4 50019 2076 ns/op 0.48 MB/s BenchmarkMarshalCorpusFile/2-4 51097 2249 ns/op 0.89 MB/s BenchmarkMarshalCorpusFile/4-4 48516 2410 ns/op 1.66 MB/s BenchmarkMarshalCorpusFile/8-4 41073 2821 ns/op 2.84 MB/s BenchmarkMarshalCorpusFile/16-4 31365 3637 ns/op 4.40 MB/s BenchmarkMarshalCorpusFile/32-4 22068 5356 ns/op 5.97 MB/s BenchmarkMarshalCorpusFile/64-4 14287 8360 ns/op 7.66 MB/s BenchmarkMarshalCorpusFile/128-4 8974 13297 ns/op 9.63 MB/s BenchmarkMarshalCorpusFile/256-4 4659 26590 ns/op 9.63 MB/s BenchmarkMarshalCorpusFile/512-4 2139 51363 ns/op 9.97 MB/s BenchmarkMarshalCorpusFile/1024-4 1126 96402 ns/op 10.62 MB/s BenchmarkMarshalCorpusFile/2048-4 578 193505 ns/op 10.58 MB/s BenchmarkMarshalCorpusFile/4096-4 307 381120 ns/op 10.75 MB/s BenchmarkMarshalCorpusFile/8192-4 157 753264 ns/op 10.88 MB/s BenchmarkMarshalCorpusFile/16384-4 76 1556548 ns/op 10.53 MB/s BenchmarkMarshalCorpusFile/32768-4 26 4038986 ns/op 8.11 MB/s BenchmarkMarshalCorpusFile/65536-4 13 8934703 ns/op 7.33 MB/s BenchmarkMarshalCorpusFile/131072-4 6 18775194 ns/op 6.98 MB/s BenchmarkMarshalCorpusFile/262144-4 3 39594837 ns/op 6.62 MB/s BenchmarkMarshalCorpusFile/524288-4 2 77022608 ns/op 6.81 MB/s BenchmarkMarshalCorpusFile/1048576-4 1 141009520 ns/op 7.44 MB/s BenchmarkUnmarshalCorpusFile/1-4 14467 8556 ns/op 0.12 MB/s BenchmarkUnmarshalCorpusFile/2-4 13710 8416 ns/op 0.24 MB/s BenchmarkUnmarshalCorpusFile/4-4 13063 9394 ns/op 0.43 MB/s BenchmarkUnmarshalCorpusFile/8-4 10000 10652 ns/op 0.75 MB/s BenchmarkUnmarshalCorpusFile/16-4 9447 12810 ns/op 1.25 MB/s BenchmarkUnmarshalCorpusFile/32-4 5847 18185 ns/op 1.76 MB/s BenchmarkUnmarshalCorpusFile/64-4 4842 21750 ns/op 2.94 MB/s BenchmarkUnmarshalCorpusFile/128-4 4148 27858 ns/op 4.59 MB/s BenchmarkUnmarshalCorpusFile/256-4 1545 75086 ns/op 3.41 MB/s BenchmarkUnmarshalCorpusFile/512-4 853 138727 ns/op 3.69 MB/s BenchmarkUnmarshalCorpusFile/1024-4 446 266695 ns/op 3.84 MB/s BenchmarkUnmarshalCorpusFile/2048-4 225 525533 ns/op 3.90 MB/s BenchmarkUnmarshalCorpusFile/4096-4 100 1045661 ns/op 3.92 MB/s BenchmarkUnmarshalCorpusFile/8192-4 54 2090879 ns/op 3.92 MB/s BenchmarkUnmarshalCorpusFile/16384-4 27 4139657 ns/op 3.96 MB/s BenchmarkUnmarshalCorpusFile/32768-4 13 8283696 ns/op 3.96 MB/s BenchmarkUnmarshalCorpusFile/65536-4 7 16640674 ns/op 3.94 MB/s BenchmarkUnmarshalCorpusFile/131072-4 3 33929728 ns/op 3.86 MB/s BenchmarkUnmarshalCorpusFile/262144-4 2 68192868 ns/op 3.84 MB/s BenchmarkUnmarshalCorpusFile/524288-4 1 135773391 ns/op 3.86 MB/s BenchmarkUnmarshalCorpusFile/1048576-4 1 269666442 ns/op 3.89 MB/s BenchmarkMutatorBytes/1-4 50134 2291 ns/op BenchmarkMutatorBytes/10-4 56067 2141 ns/op BenchmarkMutatorBytes/100-4 49279 2379 ns/op BenchmarkMutatorBytes/1000-4 34579 3672 ns/op BenchmarkMutatorBytes/10000-4 10000 12734 ns/op BenchmarkMutatorBytes/100000-4 1560 87927 ns/op BenchmarkMutatorString/1-4 46021 2358 ns/op BenchmarkMutatorString/10-4 50877 2332 ns/op BenchmarkMutatorString/100-4 45568 2866 ns/op BenchmarkMutatorString/1000-4 21013 6090 ns/op BenchmarkMutatorString/10000-4 4886 38895 ns/op BenchmarkMutatorString/100000-4 304 417677 ns/op BenchmarkMutatorAllBasicTypes/[]uint8-4 28083 4177 ns/op BenchmarkMutatorAllBasicTypes/string-4 28129 4235 ns/op BenchmarkMutatorAllBasicTypes/bool-4 89692 1313 ns/op BenchmarkMutatorAllBasicTypes/float32-4 80974 1473 ns/op BenchmarkMutatorAllBasicTypes/float64-4 80336 1472 ns/op BenchmarkMutatorAllBasicTypes/int-4 85441 1376 ns/op BenchmarkMutatorAllBasicTypes/int8-4 86626 1363 ns/op BenchmarkMutatorAllBasicTypes/int16-4 87345 1383 ns/op BenchmarkMutatorAllBasicTypes/int32-4 85358 1381 ns/op BenchmarkMutatorAllBasicTypes/int64-4 86151 1378 ns/op BenchmarkMutatorAllBasicTypes/uint8-4 82316 1430 ns/op BenchmarkMutatorAllBasicTypes/uint16-4 80821 1440 ns/op BenchmarkMutatorAllBasicTypes/uint32-4 82088 1419 ns/op BenchmarkMutatorAllBasicTypes/uint64-4 84736 1439 ns/op PASS ok internal/fuzz 12.032s goos: linux goarch: amd64 pkg: internal/intern cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStress-4 44594 2435 ns/op 0 B/op 0 allocs/op BenchmarkGetByString-4 178336 642.5 ns/op 0 B/op 0 allocs/op PASS ok internal/intern 1.278s goos: linux goarch: amd64 pkg: internal/poll cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSplicePipe/SplicePipeWithPool-4 50481 2462 ns/op BenchmarkSplicePipe/SplicePipeWithoutPool-4 10000 11817 ns/op BenchmarkSplicePipePoolParallel-4 117187 1417 ns/op BenchmarkSplicePipeNativeParallel-4 42858 2514 ns/op PASS ok internal/poll 2.048s goos: linux goarch: amd64 pkg: internal/trace cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMMU-4 7 15508208 ns/op PASS ok internal/trace 2.427s PASS ok internal/zstd 1.017s goos: linux goarch: amd64 pkg: io cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCopyNSmall-4 10000 11610 ns/op BenchmarkCopyNLarge-4 169 683673 ns/op PASS ok io 1.334s goos: linux goarch: amd64 pkg: log cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkItoa-4 291868 383.1 ns/op BenchmarkPrintln-4 31320 3742 ns/op 78 B/op 1 allocs/op BenchmarkPrintlnNoFlags-4 47636 2481 ns/op 65 B/op 0 allocs/op BenchmarkConcurrent-4 2692 41708 ns/op BenchmarkDiscard-4 1565988 76.90 ns/op 0 B/op 0 allocs/op PASS ok log 1.759s goos: linux goarch: amd64 pkg: log/slog cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkWriteTime-4 112380 1034 ns/op BenchmarkJSONHandler/defaults-4 10479 11388 ns/op 521 B/op 0 allocs/op BenchmarkJSONHandler/time_format-4 6661 18101 ns/op 766 B/op 6 allocs/op BenchmarkJSONHandler/time_unix-4 7518 15868 ns/op 747 B/op 5 allocs/op BenchmarkPreformatting/separate-4 9808 11136 ns/op 526 B/op 1 allocs/op BenchmarkPreformatting/struct-4 10872 11129 ns/op 514 B/op 0 allocs/op BenchmarkPreformatting/struct_file-4 8534 14449 ns/op 522 B/op 0 allocs/op BenchmarkJSONEncoding/json.Marshal-4 42116 2780 ns/op 80 B/op 3 allocs/op BenchmarkJSONEncoding/Encoder.Encode-4 43183 2754 ns/op 63 B/op 1 allocs/op BenchmarkNopLog/no_attrs-4 92638 1289 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-4 77022 1595 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-parallel-4 74677 1984 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/keys-values-4 71911 1720 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-4 79051 1652 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-parallel-4 66748 2288 ns/op 0 B/op 0 allocs/op BenchmarkPC/0-4 654306 179.6 ns/op 0 B/op 0 allocs/op BenchmarkPC/1-4 491820 236.4 ns/op 0 B/op 0 allocs/op BenchmarkPC/2-4 344528 339.8 ns/op 0 B/op 0 allocs/op BenchmarkPC/3-4 241735 488.9 ns/op 0 B/op 0 allocs/op BenchmarkPC/4-4 199089 600.9 ns/op 0 B/op 0 allocs/op BenchmarkRecord-4 8841 12535 ns/op BenchmarkDispatch/switch-checked-4 284218 406.8 ns/op BenchmarkDispatch/As-4 270924 432.1 ns/op BenchmarkDispatch/Visit-4 238702 445.5 ns/op BenchmarkUnsafeStrings-4 26380 4496 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.822s goos: linux goarch: amd64 pkg: log/slog/internal/benchmarks cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAttrs/disabled/5_args-4 3144919 36.58 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/5_args_ctx-4 3163074 42.22 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/10_args-4 2085762 64.25 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/40_args-4 544278 242.4 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args-4 102758 1302 ns/op 262 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args_ctx-4 97754 1368 ns/op 258 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/10_args-4 68517 1835 ns/op 469 B/op 1 allocs/op BenchmarkAttrs/fastText_discard/40_args-4 25044 4729 ns/op 2052 B/op 1 allocs/op BenchmarkAttrs/Text_discard/5_args-4 21963 6315 ns/op 609 B/op 3 allocs/op BenchmarkAttrs/Text_discard/5_args_ctx-4 16806 6326 ns/op 611 B/op 3 allocs/op BenchmarkAttrs/Text_discard/10_args-4 9571 12295 ns/op 910 B/op 6 allocs/op BenchmarkAttrs/Text_discard/40_args-4 3900 26291 ns/op 3006 B/op 22 allocs/op BenchmarkAttrs/JSON_discard/5_args-4 21370 5362 ns/op 522 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/5_args_ctx-4 16694 6077 ns/op 526 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/10_args-4 14743 7100 ns/op 740 B/op 2 allocs/op BenchmarkAttrs/JSON_discard/40_args-4 6110 19630 ns/op 2319 B/op 2 allocs/op PASS ok log/slog/internal/benchmarks 4.023s goos: linux goarch: amd64 pkg: maps cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMapClone-4 3 35577448 ns/op BenchmarkKeys-4 8 12942719 ns/op BenchmarkValues-4 8 12667218 ns/op PASS ok maps 4.538s goos: linux goarch: amd64 pkg: math cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAcos-4 5331981 21.90 ns/op BenchmarkAcosh-4 1812106 65.92 ns/op BenchmarkAsin-4 5459626 21.81 ns/op BenchmarkAsinh-4 1752132 68.06 ns/op BenchmarkAtan-4 6761239 17.46 ns/op BenchmarkAtanh-4 1752726 67.71 ns/op BenchmarkAtan2-4 4014081 29.81 ns/op BenchmarkCbrt-4 2530674 46.85 ns/op BenchmarkCeil-4 25805140 4.214 ns/op BenchmarkCompare-4 5216372 22.86 ns/op BenchmarkCompare32-4 7326619 16.33 ns/op BenchmarkCopysign-4 4327915 28.15 ns/op BenchmarkCos-4 1917735 62.52 ns/op BenchmarkCosh-4 2956404 40.45 ns/op BenchmarkErf-4 6428078 18.15 ns/op BenchmarkErfc-4 6138763 19.10 ns/op BenchmarkErfinv-4 6342154 18.56 ns/op BenchmarkErfcinv-4 6133558 18.94 ns/op BenchmarkExp-4 10132180 11.08 ns/op BenchmarkExpGo-4 1511844 78.06 ns/op BenchmarkExpm1-4 4883829 24.87 ns/op BenchmarkExp2-4 1711291 71.21 ns/op BenchmarkExp2Go-4 1508944 81.74 ns/op BenchmarkAbs-4 5287928 22.70 ns/op BenchmarkDim-4 10884241 10.94 ns/op BenchmarkFloor-4 25740488 4.261 ns/op BenchmarkMax-4 18297549 5.881 ns/op BenchmarkMin-4 18429985 5.826 ns/op BenchmarkMod-4 467144 222.4 ns/op BenchmarkFrexp-4 2771348 41.03 ns/op BenchmarkGamma-4 964216 123.3 ns/op BenchmarkHypot-4 17114803 6.148 ns/op BenchmarkHypotGo-4 2492509 48.40 ns/op BenchmarkIlogb-4 3332328 35.18 ns/op BenchmarkJ0-4 368157 339.1 ns/op BenchmarkJ1-4 360921 323.2 ns/op BenchmarkJn-4 160117 703.2 ns/op BenchmarkLdexp-4 2704908 43.91 ns/op BenchmarkLgamma-4 1376151 87.32 ns/op BenchmarkLog-4 9082474 12.27 ns/op BenchmarkLogb-4 3335791 35.48 ns/op BenchmarkLog1p-4 2182887 55.53 ns/op BenchmarkLog10-4 8476456 13.04 ns/op BenchmarkLog2-4 2224756 53.45 ns/op BenchmarkModf-4 4250424 28.49 ns/op BenchmarkNextafter32-4 4137535 28.82 ns/op BenchmarkNextafter64-4 4018918 29.55 ns/op BenchmarkPowInt-4 829176 142.6 ns/op BenchmarkPowFrac-4 610724 189.0 ns/op BenchmarkPow10Pos-4 5608034 21.15 ns/op BenchmarkPow10Neg-4 5484453 21.93 ns/op BenchmarkRound-4 5453355 22.17 ns/op BenchmarkRoundToEven-4 10980986 10.69 ns/op BenchmarkRemainder-4 698708 159.2 ns/op BenchmarkSignbit-4 7612479 15.63 ns/op BenchmarkSin-4 2201408 53.91 ns/op BenchmarkSincos-4 1360381 87.84 ns/op BenchmarkSinh-4 4452320 26.32 ns/op BenchmarkSqrtIndirect-4 24906936 4.038 ns/op BenchmarkSqrtLatency-4 22295089 5.379 ns/op BenchmarkSqrtIndirectLatency-4 21914005 5.381 ns/op BenchmarkSqrtGoLatency-4 1799872 66.55 ns/op BenchmarkSqrtPrime-4 127318 937.0 ns/op BenchmarkTan-4 2066035 57.57 ns/op BenchmarkTanh-4 2464647 47.69 ns/op BenchmarkTrunc-4 26763878 4.080 ns/op BenchmarkY0-4 352228 332.4 ns/op BenchmarkY1-4 357045 330.7 ns/op BenchmarkYn-4 171946 686.5 ns/op BenchmarkFloat64bits-4 8184084 14.33 ns/op BenchmarkFloat64frombits-4 7636827 15.78 ns/op BenchmarkFloat32bits-4 7652660 15.68 ns/op BenchmarkFloat32frombits-4 7432699 16.20 ns/op BenchmarkFMA-4 25279975 4.222 ns/op PASS ok math 11.839s goos: linux goarch: amd64 pkg: math/big cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAddVV/1-4 19606900 6.011 ns/op 10646.52 MB/s BenchmarkAddVV/2-4 17853603 6.712 ns/op 19069.72 MB/s BenchmarkAddVV/3-4 16401486 7.258 ns/op 26453.16 MB/s BenchmarkAddVV/4-4 16573795 6.852 ns/op 37360.77 MB/s BenchmarkAddVV/5-4 16220990 7.270 ns/op 44015.36 MB/s BenchmarkAddVV/10-4 13258252 9.085 ns/op 70447.20 MB/s BenchmarkAddVV/100-4 2547396 47.06 ns/op 136006.67 MB/s BenchmarkAddVV/1000-4 258507 458.4 ns/op 139610.63 MB/s BenchmarkSubVV/1-4 19769740 6.072 ns/op 10540.13 MB/s BenchmarkSubVV/2-4 16576742 7.182 ns/op 17823.29 MB/s BenchmarkSubVV/3-4 16365703 7.308 ns/op 26270.85 MB/s BenchmarkSubVV/4-4 17237566 6.889 ns/op 37160.56 MB/s BenchmarkSubVV/5-4 16127104 7.440 ns/op 43009.82 MB/s BenchmarkSubVV/10-4 13064166 9.122 ns/op 70156.72 MB/s BenchmarkSubVV/100-4 2540380 47.24 ns/op 135468.92 MB/s BenchmarkSubVV/1000-4 257427 459.0 ns/op 139430.15 MB/s BenchmarkAddVW/1-4 20646134 5.724 ns/op 1397.64 MB/s BenchmarkAddVW/2-4 18587313 6.362 ns/op 2515.07 MB/s BenchmarkAddVW/3-4 17656462 6.927 ns/op 3464.87 MB/s BenchmarkAddVW/4-4 18553842 6.240 ns/op 5128.29 MB/s BenchmarkAddVW/5-4 18169384 6.494 ns/op 6159.52 MB/s BenchmarkAddVW/10-4 14816731 8.145 ns/op 9822.15 MB/s BenchmarkAddVW/100-4 435397 247.3 ns/op 3235.42 MB/s BenchmarkAddVW/1000-4 69820 1714 ns/op 4668.08 MB/s BenchmarkAddVWext/1-4 20764819 5.670 ns/op 1410.81 MB/s BenchmarkAddVWext/2-4 19317968 6.211 ns/op 2575.88 MB/s BenchmarkAddVWext/3-4 18458348 6.530 ns/op 3675.40 MB/s BenchmarkAddVWext/4-4 19261821 6.142 ns/op 5209.72 MB/s BenchmarkAddVWext/5-4 17699547 6.522 ns/op 6132.81 MB/s BenchmarkAddVWext/10-4 14672934 8.137 ns/op 9831.76 MB/s BenchmarkAddVWext/100-4 125038 934.0 ns/op 856.54 MB/s BenchmarkAddVWext/1000-4 13376 9082 ns/op 880.85 MB/s BenchmarkSubVW/1-4 19881067 5.727 ns/op 1396.99 MB/s BenchmarkSubVW/2-4 16193460 7.272 ns/op 2200.15 MB/s BenchmarkSubVW/3-4 15592233 7.526 ns/op 3188.80 MB/s BenchmarkSubVW/4-4 18464494 6.238 ns/op 5129.59 MB/s BenchmarkSubVW/5-4 17450377 6.615 ns/op 6046.78 MB/s BenchmarkSubVW/10-4 14521017 8.253 ns/op 9693.30 MB/s BenchmarkSubVW/100-4 435118 238.7 ns/op 3351.96 MB/s BenchmarkSubVW/1000-4 68547 1722 ns/op 4645.79 MB/s BenchmarkSubVWext/1-4 21111168 5.654 ns/op 1415.04 MB/s BenchmarkSubVWext/2-4 17573845 6.868 ns/op 2329.51 MB/s BenchmarkSubVWext/3-4 16649360 7.093 ns/op 3383.82 MB/s BenchmarkSubVWext/4-4 19239559 6.287 ns/op 5089.66 MB/s BenchmarkSubVWext/5-4 18279530 6.627 ns/op 6036.06 MB/s BenchmarkSubVWext/10-4 14951792 8.092 ns/op 9885.78 MB/s BenchmarkSubVWext/100-4 131042 927.1 ns/op 862.94 MB/s BenchmarkSubVWext/1000-4 13536 8972 ns/op 891.62 MB/s BenchmarkMulAddVWW/1-4 17862280 6.746 ns/op 9486.83 MB/s BenchmarkMulAddVWW/2-4 15841023 7.487 ns/op 17096.93 MB/s BenchmarkMulAddVWW/3-4 16371729 7.313 ns/op 26253.58 MB/s BenchmarkMulAddVWW/4-4 14346852 7.941 ns/op 32238.89 MB/s BenchmarkMulAddVWW/5-4 13991714 8.483 ns/op 37722.21 MB/s BenchmarkMulAddVWW/10-4 10327784 11.38 ns/op 56241.65 MB/s BenchmarkMulAddVWW/100-4 1587102 76.26 ns/op 83918.30 MB/s BenchmarkMulAddVWW/1000-4 154744 775.9 ns/op 82481.44 MB/s BenchmarkAddMulVVW/1-4 18567090 6.491 ns/op 9859.41 MB/s BenchmarkAddMulVVW/2-4 16795405 7.083 ns/op 18071.41 MB/s BenchmarkAddMulVVW/3-4 14696463 7.873 ns/op 24387.22 MB/s BenchmarkAddMulVVW/4-4 14064319 8.641 ns/op 29625.59 MB/s BenchmarkAddMulVVW/5-4 12928426 9.374 ns/op 34137.41 MB/s BenchmarkAddMulVVW/10-4 11089136 10.87 ns/op 58900.72 MB/s BenchmarkAddMulVVW/100-4 2039166 59.06 ns/op 108364.21 MB/s BenchmarkAddMulVVW/1000-4 192559 604.5 ns/op 105872.88 MB/s BenchmarkDivWVW/1-4 5320656 21.81 ns/op 2934.75 MB/s BenchmarkDivWVW/2-4 3144398 38.09 ns/op 3360.41 MB/s BenchmarkDivWVW/3-4 2220028 54.30 ns/op 3536.09 MB/s BenchmarkDivWVW/4-4 1795693 66.05 ns/op 3875.69 MB/s BenchmarkDivWVW/5-4 1666578 71.49 ns/op 4476.43 MB/s BenchmarkDivWVW/10-4 801278 144.0 ns/op 4444.42 MB/s BenchmarkDivWVW/100-4 90289 1326 ns/op 4827.86 MB/s BenchmarkDivWVW/1000-4 9066 12931 ns/op 4949.17 MB/s BenchmarkNonZeroShifts/1/shrVU-4 18423133 6.364 ns/op BenchmarkNonZeroShifts/1/shlVU-4 18732812 6.369 ns/op BenchmarkNonZeroShifts/2/shrVU-4 17062507 7.158 ns/op BenchmarkNonZeroShifts/2/shlVU-4 17748774 6.726 ns/op BenchmarkNonZeroShifts/3/shrVU-4 15040526 7.884 ns/op BenchmarkNonZeroShifts/3/shlVU-4 15676614 7.276 ns/op BenchmarkNonZeroShifts/4/shrVU-4 14629491 8.126 ns/op BenchmarkNonZeroShifts/4/shlVU-4 15425660 7.883 ns/op BenchmarkNonZeroShifts/5/shrVU-4 13658113 8.840 ns/op BenchmarkNonZeroShifts/5/shlVU-4 14000852 8.513 ns/op BenchmarkNonZeroShifts/10/shrVU-4 9815096 12.02 ns/op BenchmarkNonZeroShifts/10/shlVU-4 10752190 11.22 ns/op BenchmarkNonZeroShifts/100/shrVU-4 1799709 66.84 ns/op BenchmarkNonZeroShifts/100/shlVU-4 1879783 63.73 ns/op BenchmarkNonZeroShifts/1000/shrVU-4 185733 620.9 ns/op BenchmarkNonZeroShifts/1000/shlVU-4 233236 512.8 ns/op BenchmarkDecimalConversion-4 298 382145 ns/op BenchmarkFloatString/100-4 17516 6728 ns/op 392 B/op 8 allocs/op BenchmarkFloatString/1000-4 330 361524 ns/op 2904 B/op 9 allocs/op BenchmarkFloatString/10000-4 4 32881363 ns/op 60880 B/op 51 allocs/op BenchmarkFloatString/100000-4 1 3337902845 ns/op 842464 B/op 510 allocs/op BenchmarkFloatAdd/10-4 229942 511.0 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100-4 241683 474.4 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/1000-4 225386 516.2 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/10000-4 120884 965.5 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100000-4 23167 5188 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10-4 302678 377.2 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100-4 296246 377.6 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/1000-4 299636 391.7 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10000-4 214069 536.2 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100000-4 61324 1916 ns/op 0 B/op 0 allocs/op BenchmarkParseFloatSmallExp-4 2820 41295 ns/op BenchmarkParseFloatLargeExp-4 622 184010 ns/op BenchmarkGCD10x10/WithoutXY-4 293054 441.2 ns/op BenchmarkGCD10x10/WithXY-4 80290 1480 ns/op BenchmarkGCD10x100/WithoutXY-4 133352 865.1 ns/op BenchmarkGCD10x100/WithXY-4 23306 5210 ns/op BenchmarkGCD10x1000/WithoutXY-4 83602 1366 ns/op BenchmarkGCD10x1000/WithXY-4 19353 6187 ns/op BenchmarkGCD100x100/WithoutXY-4 37879 3138 ns/op BenchmarkGCD100x100/WithXY-4 15506 7969 ns/op BenchmarkGCD100x1000/WithoutXY-4 17827 6741 ns/op BenchmarkGCD100x1000/WithXY-4 8283 13572 ns/op BenchmarkGCD1000x1000/WithoutXY-4 3164 34630 ns/op BenchmarkGCD1000x1000/WithXY-4 1786 65043 ns/op BenchmarkHilbert-4 32 3529903 ns/op BenchmarkBinomial-4 20328 5928 ns/op BenchmarkQuoRem-4 30801 4069 ns/op BenchmarkExp-4 21 5133413 ns/op BenchmarkExpMont/Odd-4 188 643495 ns/op 2582 B/op 21 allocs/op BenchmarkExpMont/Even1-4 184 644942 ns/op 3361 B/op 38 allocs/op BenchmarkExpMont/Even2-4 178 674892 ns/op 3852 B/op 53 allocs/op BenchmarkExpMont/Even3-4 177 669157 ns/op 3845 B/op 53 allocs/op BenchmarkExpMont/Even4-4 174 670595 ns/op 3861 B/op 54 allocs/op BenchmarkExpMont/Even8-4 175 671208 ns/op 3836 B/op 53 allocs/op BenchmarkExpMont/Even32-4 177 666082 ns/op 3844 B/op 53 allocs/op BenchmarkExpMont/Even64-4 222 533300 ns/op 3614 B/op 53 allocs/op BenchmarkExpMont/Even96-4 213 557196 ns/op 3771 B/op 51 allocs/op BenchmarkExpMont/Even128-4 252 467565 ns/op 3252 B/op 50 allocs/op BenchmarkExpMont/Even255-4 277 440455 ns/op 2951 B/op 47 allocs/op BenchmarkExpMont/SmallEven1-4 610 171122 ns/op 1312 B/op 34 allocs/op BenchmarkExpMont/SmallEven2-4 615 193091 ns/op 1743 B/op 47 allocs/op BenchmarkExpMont/SmallEven3-4 580 195277 ns/op 1743 B/op 47 allocs/op BenchmarkExpMont/SmallEven4-4 613 194011 ns/op 1736 B/op 47 allocs/op BenchmarkExp2-4 22 5112706 ns/op BenchmarkBitset-4 1000000 100.8 ns/op BenchmarkBitsetNeg-4 618625 186.5 ns/op BenchmarkBitsetOrig-4 328929 376.3 ns/op BenchmarkBitsetNegOrig-4 202015 544.2 ns/op BenchmarkModSqrt225_Tonelli-4 174 685354 ns/op BenchmarkModSqrt225_3Mod4-4 552 211210 ns/op BenchmarkModSqrt231_Tonelli-4 168 718830 ns/op BenchmarkModSqrt231_5Mod8-4 470 248176 ns/op BenchmarkModInverse-4 17569 7054 ns/op BenchmarkSqrt-4 2236 49296 ns/op BenchmarkIntSqr/1-4 1949948 60.21 ns/op BenchmarkIntSqr/2-4 987763 109.6 ns/op BenchmarkIntSqr/3-4 871471 126.1 ns/op BenchmarkIntSqr/5-4 646950 178.4 ns/op BenchmarkIntSqr/8-4 468082 245.3 ns/op BenchmarkIntSqr/10-4 359577 328.4 ns/op BenchmarkIntSqr/20-4 73041 1712 ns/op BenchmarkIntSqr/30-4 53430 2359 ns/op BenchmarkIntSqr/50-4 32620 3741 ns/op BenchmarkIntSqr/80-4 19743 6185 ns/op BenchmarkIntSqr/100-4 14940 7868 ns/op BenchmarkIntSqr/200-4 5485 20737 ns/op BenchmarkIntSqr/300-4 2456 50603 ns/op BenchmarkIntSqr/500-4 1104 104670 ns/op BenchmarkIntSqr/800-4 446 274623 ns/op BenchmarkIntSqr/1000-4 336 344334 ns/op BenchmarkDiv/20/10-4 547158 197.2 ns/op BenchmarkDiv/40/20-4 571804 197.7 ns/op BenchmarkDiv/100/50-4 556401 198.3 ns/op BenchmarkDiv/200/100-4 72877 1708 ns/op BenchmarkDiv/400/200-4 70642 1746 ns/op BenchmarkDiv/1000/500-4 58491 2186 ns/op BenchmarkDiv/2000/1000-4 41766 2983 ns/op BenchmarkDiv/20000/10000-4 1570 76058 ns/op BenchmarkDiv/200000/100000-4 38 3192617 ns/op BenchmarkDiv/2000000/1000000-4 2 88425284 ns/op BenchmarkDiv/20000000/10000000-4 1 2609737978 ns/op BenchmarkMul-4 7 16409444 ns/op BenchmarkNatMul/10-4 192048 562.8 ns/op BenchmarkNatMul/100-4 6693 16174 ns/op BenchmarkNatMul/1000-4 247 479975 ns/op BenchmarkZeroShifts/Shl-4 21283 5668 ns/op BenchmarkZeroShifts/ShlSame-4 8190710 14.00 ns/op BenchmarkZeroShifts/Shr-4 18958 5484 ns/op BenchmarkZeroShifts/ShrSame-4 8426323 13.31 ns/op BenchmarkExp3Power/0x10-4 248259 455.6 ns/op BenchmarkExp3Power/0x40-4 227828 527.9 ns/op BenchmarkExp3Power/0x100-4 124182 882.6 ns/op BenchmarkExp3Power/0x400-4 57074 2052 ns/op BenchmarkExp3Power/0x1000-4 13926 8881 ns/op BenchmarkExp3Power/0x4000-4 2456 45258 ns/op BenchmarkExp3Power/0x10000-4 297 409369 ns/op BenchmarkExp3Power/0x40000-4 26 4410032 ns/op BenchmarkExp3Power/0x100000-4 3 41719317 ns/op BenchmarkExp3Power/0x400000-4 1 381072107 ns/op BenchmarkFibo-4 4 30234722 ns/op BenchmarkNatSqr/1-4 1421416 87.73 ns/op BenchmarkNatSqr/2-4 674076 161.3 ns/op BenchmarkNatSqr/3-4 583749 188.0 ns/op BenchmarkNatSqr/5-4 381048 262.5 ns/op BenchmarkNatSqr/8-4 266335 380.4 ns/op BenchmarkNatSqr/10-4 225279 485.1 ns/op BenchmarkNatSqr/20-4 61806 1878 ns/op BenchmarkNatSqr/30-4 45711 2552 ns/op BenchmarkNatSqr/50-4 27616 4336 ns/op BenchmarkNatSqr/80-4 16765 7033 ns/op BenchmarkNatSqr/100-4 12604 9130 ns/op BenchmarkNatSqr/200-4 5058 23532 ns/op BenchmarkNatSqr/300-4 1893 56736 ns/op BenchmarkNatSqr/500-4 1002 110664 ns/op BenchmarkNatSqr/800-4 447 249347 ns/op BenchmarkNatSqr/1000-4 345 342992 ns/op BenchmarkNatSetBytes/8-4 1185510 99.86 ns/op BenchmarkNatSetBytes/24-4 296978 367.3 ns/op BenchmarkNatSetBytes/128-4 76707 1503 ns/op BenchmarkNatSetBytes/7-4 1360812 88.17 ns/op BenchmarkNatSetBytes/23-4 333099 334.9 ns/op BenchmarkNatSetBytes/127-4 75638 1541 ns/op BenchmarkScanPi-4 334 344537 ns/op BenchmarkStringPiParallel-4 784 181829 ns/op BenchmarkScan/10/Base2-4 61015 1978 ns/op BenchmarkScan/100/Base2-4 5982 17349 ns/op BenchmarkScan/1000/Base2-4 694 166152 ns/op BenchmarkScan/10/Base8-4 146239 810.8 ns/op BenchmarkScan/100/Base8-4 19976 5948 ns/op BenchmarkScan/1000/Base8-4 1962 59577 ns/op BenchmarkScan/10/Base10-4 157665 761.1 ns/op BenchmarkScan/100/Base10-4 21307 5573 ns/op BenchmarkScan/1000/Base10-4 2132 53362 ns/op BenchmarkScan/10/Base16-4 177548 701.2 ns/op BenchmarkScan/100/Base16-4 23947 4873 ns/op BenchmarkScan/1000/Base16-4 2360 48325 ns/op BenchmarkString/10/Base2-4 236962 455.8 ns/op BenchmarkString/100/Base2-4 35170 3339 ns/op BenchmarkString/1000/Base2-4 3405 31903 ns/op BenchmarkString/10/Base8-4 560547 219.2 ns/op BenchmarkString/100/Base8-4 92913 1268 ns/op BenchmarkString/1000/Base8-4 9897 11835 ns/op BenchmarkString/10/Base10-4 288396 374.2 ns/op BenchmarkString/100/Base10-4 60444 1928 ns/op BenchmarkString/1000/Base10-4 6454 17422 ns/op BenchmarkString/10/Base16-4 578398 213.8 ns/op BenchmarkString/100/Base16-4 117561 903.8 ns/op BenchmarkString/1000/Base16-4 15248 7837 ns/op BenchmarkLeafSize/0-4 69 1682508 ns/op BenchmarkLeafSize/1-4 543 203743 ns/op BenchmarkLeafSize/2-4 526 204422 ns/op BenchmarkLeafSize/3-4 410 276872 ns/op BenchmarkLeafSize/4-4 562 191815 ns/op BenchmarkLeafSize/5-4 385 306781 ns/op BenchmarkLeafSize/6-4 414 257783 ns/op BenchmarkLeafSize/7-4 465 246952 ns/op BenchmarkLeafSize/8-4 590 194985 ns/op BenchmarkLeafSize/9-4 332 359384 ns/op BenchmarkLeafSize/10-4 376 306020 ns/op BenchmarkLeafSize/11-4 386 287162 ns/op BenchmarkLeafSize/12-4 445 263786 ns/op BenchmarkLeafSize/13-4 399 288048 ns/op BenchmarkLeafSize/14-4 441 260842 ns/op BenchmarkLeafSize/15-4 478 239949 ns/op BenchmarkLeafSize/16-4 590 194311 ns/op BenchmarkLeafSize/32-4 574 195250 ns/op BenchmarkLeafSize/64-4 541 207971 ns/op BenchmarkProbablyPrime/n=0-4 14 7842016 ns/op BenchmarkProbablyPrime/n=1-4 13 8892933 ns/op BenchmarkProbablyPrime/n=5-4 8 12810269 ns/op BenchmarkProbablyPrime/n=10-4 6 17988708 ns/op BenchmarkProbablyPrime/n=20-4 4 27443667 ns/op BenchmarkProbablyPrime/Lucas-4 15 6788144 ns/op BenchmarkProbablyPrime/MillerRabinBase2-4 100 1023323 ns/op BenchmarkRatCmp-4 282894 383.8 ns/op BenchmarkFloatSqrt/64-4 31171 3788 ns/op 208 B/op 5 allocs/op BenchmarkFloatSqrt/128-4 19742 6082 ns/op 256 B/op 5 allocs/op BenchmarkFloatSqrt/256-4 14044 8438 ns/op 352 B/op 5 allocs/op BenchmarkFloatSqrt/1000-4 6025 16951 ns/op 1312 B/op 6 allocs/op BenchmarkFloatSqrt/10000-4 1154 95962 ns/op 18046 B/op 10 allocs/op BenchmarkFloatSqrt/100000-4 88 1357674 ns/op 175556 B/op 20 allocs/op BenchmarkFloatSqrt/1000000-4 1 104741487 ns/op 3831256 B/op 654 allocs/op PASS ok math/big 47.114s goos: linux goarch: amd64 pkg: math/bits cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLeadingZeros-4 11874212 10.20 ns/op BenchmarkLeadingZeros8-4 13447905 8.807 ns/op BenchmarkLeadingZeros16-4 14246923 8.419 ns/op BenchmarkLeadingZeros32-4 13917708 8.710 ns/op BenchmarkLeadingZeros64-4 13386088 8.829 ns/op BenchmarkTrailingZeros-4 14366836 8.493 ns/op BenchmarkTrailingZeros8-4 13761066 8.675 ns/op BenchmarkTrailingZeros16-4 14027143 8.589 ns/op BenchmarkTrailingZeros32-4 13515306 8.773 ns/op BenchmarkTrailingZeros64-4 14543260 8.524 ns/op BenchmarkOnesCount-4 13950669 8.564 ns/op BenchmarkOnesCount8-4 13703398 8.903 ns/op BenchmarkOnesCount16-4 12555501 9.367 ns/op BenchmarkOnesCount32-4 12689118 9.530 ns/op BenchmarkOnesCount64-4 13791519 8.714 ns/op BenchmarkRotateLeft-4 13933318 8.722 ns/op BenchmarkRotateLeft8-4 14184168 8.357 ns/op BenchmarkRotateLeft16-4 13754085 8.737 ns/op BenchmarkRotateLeft32-4 13562564 8.820 ns/op BenchmarkRotateLeft64-4 14260645 8.365 ns/op BenchmarkReverse-4 20123076 5.298 ns/op BenchmarkReverse8-4 27215746 3.967 ns/op BenchmarkReverse16-4 24916228 4.277 ns/op BenchmarkReverse32-4 21901838 5.035 ns/op BenchmarkReverse64-4 20116531 5.308 ns/op BenchmarkReverseBytes-4 25884890 4.147 ns/op BenchmarkReverseBytes16-4 27866511 4.023 ns/op BenchmarkReverseBytes32-4 27784614 4.006 ns/op BenchmarkReverseBytes64-4 25698577 3.915 ns/op BenchmarkAdd-4 13402740 8.624 ns/op BenchmarkAdd32-4 13290404 8.712 ns/op BenchmarkAdd64-4 13987581 8.552 ns/op BenchmarkAdd64multiple-4 26383518 4.322 ns/op BenchmarkSub-4 13901889 8.635 ns/op BenchmarkSub32-4 13703205 8.569 ns/op BenchmarkSub64-4 14102704 8.557 ns/op BenchmarkSub64multiple-4 27695133 4.380 ns/op BenchmarkMul-4 13881787 8.451 ns/op BenchmarkMul32-4 13806502 8.886 ns/op BenchmarkMul64-4 13924263 8.432 ns/op BenchmarkDiv-4 12764052 9.342 ns/op BenchmarkDiv32-4 13165380 9.250 ns/op BenchmarkDiv64-4 13437897 8.998 ns/op PASS ok math/bits 6.488s goos: linux goarch: amd64 pkg: math/cmplx cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAbs-4 17203666 6.980 ns/op BenchmarkAcos-4 866990 139.3 ns/op BenchmarkAcosh-4 701522 152.1 ns/op BenchmarkAsin-4 834339 139.1 ns/op BenchmarkAsinh-4 828271 139.3 ns/op BenchmarkAtan-4 1415690 84.46 ns/op BenchmarkAtanh-4 1433680 84.98 ns/op BenchmarkConj-4 25638351 4.506 ns/op BenchmarkCos-4 779626 129.7 ns/op BenchmarkCosh-4 848026 137.2 ns/op BenchmarkExp-4 1150311 105.2 ns/op BenchmarkLog-4 1713448 69.64 ns/op BenchmarkLog10-4 1715941 70.01 ns/op BenchmarkPhase-4 3975618 30.18 ns/op BenchmarkPolar-4 2682159 44.79 ns/op BenchmarkPow-4 337384 361.8 ns/op BenchmarkRect-4 1357017 88.02 ns/op BenchmarkSin-4 883087 136.2 ns/op BenchmarkSinh-4 884137 134.5 ns/op BenchmarkSqrt-4 1686601 70.92 ns/op BenchmarkTan-4 575664 207.2 ns/op BenchmarkTanh-4 628086 186.0 ns/op PASS ok math/cmplx 4.517s goos: linux goarch: amd64 pkg: math/rand cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkInt63Threadsafe-4 1137506 106.7 ns/op BenchmarkInt63ThreadsafeParallel-4 923673 109.6 ns/op BenchmarkInt63Unthreadsafe-4 1594081 74.93 ns/op BenchmarkIntn1000-4 1223798 99.29 ns/op BenchmarkInt63n1000-4 1385421 87.26 ns/op BenchmarkInt31n1000-4 1390147 87.34 ns/op BenchmarkFloat32-4 1351249 88.97 ns/op BenchmarkFloat64-4 1591044 75.37 ns/op BenchmarkPerm3-4 259232 456.2 ns/op BenchmarkPerm30-4 30842 3754 ns/op BenchmarkPerm30ViaShuffle-4 32764 3619 ns/op BenchmarkShuffleOverhead-4 23132 5163 ns/op BenchmarkRead3-4 1208378 100.0 ns/op BenchmarkRead64-4 107620 1093 ns/op BenchmarkRead1000-4 7458 16104 ns/op BenchmarkConcurrent-4 317079 400.9 ns/op PASS ok math/rand 3.816s goos: linux goarch: amd64 pkg: mime cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkQEncodeWord-4 62487 1880 ns/op BenchmarkQDecodeWord-4 144258 749.8 ns/op BenchmarkQDecodeHeader-4 142260 844.9 ns/op BenchmarkTypeByExtension/.html-4 473397 211.6 ns/op BenchmarkTypeByExtension/.HTML-4 432054 250.0 ns/op BenchmarkTypeByExtension/.unused-4 509594 206.6 ns/op BenchmarkExtensionsByType/text/html-4 201546 567.5 ns/op BenchmarkExtensionsByType/text/html;_charset=utf-8-4 151106 875.4 ns/op BenchmarkExtensionsByType/application/octet-stream-4 140559 851.2 ns/op PASS ok mime 2.610s goos: linux goarch: amd64 pkg: mime/multipart cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadForm/fields/maxMemory=0-4 1004 117044 ns/op 47894 B/op 187 allocs/op BenchmarkReadForm/fields/maxMemory=1048576-4 931 119143 ns/op 47025 B/op 186 allocs/op BenchmarkReadForm/files/maxMemory=0-4 367 321067 ns/op 103762 B/op 270 allocs/op BenchmarkReadForm/files/maxMemory=1048576-4 744 149726 ns/op 48913 B/op 206 allocs/op PASS ok mime/multipart 1.657s goos: linux goarch: amd64 pkg: mime/quotedprintable cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkWriter-4 1459 79855 ns/op PASS ok mime/quotedprintable 1.140s goos: linux goarch: amd64 pkg: net cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkGoLookupIP-4 178 677261 ns/op 8503 B/op 91 allocs/op BenchmarkGoLookupIPNoSuchHost-4 19 6736519 ns/op 19397 B/op 160 allocs/op BenchmarkGoLookupIPWithBrokenNameServer-4 1 5012332105 ns/op 158752 B/op 230 allocs/op BenchmarkDNSName-4 166713 654.1 ns/op BenchmarkInterfaces-4 1951 56431 ns/op 16864 B/op 42 allocs/op BenchmarkInterfaceByIndex-4 2415 42360 ns/op 12361 B/op 25 allocs/op BenchmarkInterfaceByName-4 2076 53011 ns/op 16960 B/op 43 allocs/op BenchmarkInterfaceAddrs-4 1414 83313 ns/op 22796 B/op 103 allocs/op BenchmarkInterfacesAndAddrs-4 4824 25556 ns/op 3946 B/op 33 allocs/op BenchmarkInterfacesAndMulticastAddrs-4 622 186129 ns/op 137569 B/op 51 allocs/op BenchmarkParseIP-4 9832 12470 ns/op BenchmarkParseIPValidIPv4-4 509622 229.1 ns/op BenchmarkParseIPValidIPv6-4 243932 453.5 ns/op BenchmarkIPString/IPv4-4 162084 730.7 ns/op 32 B/op 2 allocs/op BenchmarkIPString/IPv6-4 15711 7524 ns/op 216 B/op 11 allocs/op BenchmarkIPMaskString-4 66031 1654 ns/op BenchmarkIPEqual/IPv4-4 1501407 78.80 ns/op BenchmarkIPEqual/IPv6-4 1491216 79.75 ns/op BenchmarkSendFile/1024-4 1 1206874939 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/2048-4 1 1206887219 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/4096-4 1 1206493977 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/8192-4 1 1206977054 ns/op 0.01 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/16384-4 1 1206667622 ns/op 0.01 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/32768-4 1 1013361919 ns/op 0.03 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/65536-4 1 1013375618 ns/op 0.06 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/131072-4 1 1012874535 ns/op 0.13 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/262144-4 1 1013286620 ns/op 0.26 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/524288-4 1 1013779416 ns/op 0.52 MB/s 616 B/op 12 allocs/op BenchmarkSendFile/1048576-4 1 1015678882 ns/op 1.03 MB/s 520 B/op 11 allocs/op BenchmarkSplice/tcp-to-tcp/1024-4 1 1013463436 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/2048-4 1 1013466010 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/4096-4 1 1012986279 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/8192-4 1 1012953185 ns/op 0.01 MB/s BenchmarkSplice/tcp-to-tcp/16384-4 1 1012849462 ns/op 0.02 MB/s BenchmarkSplice/tcp-to-tcp/32768-4 1 1013060742 ns/op 0.03 MB/s BenchmarkSplice/tcp-to-tcp/65536-4 1 1012632939 ns/op 0.06 MB/s BenchmarkSplice/tcp-to-tcp/131072-4 1 1013096156 ns/op 0.13 MB/s BenchmarkSplice/tcp-to-tcp/262144-4 1 1013196330 ns/op 0.26 MB/s BenchmarkSplice/tcp-to-tcp/524288-4 1 1013650757 ns/op 0.52 MB/s BenchmarkSplice/tcp-to-tcp/1048576-4 1 1015598049 ns/op 1.03 MB/s BenchmarkSplice/unix-to-tcp/1024-4 1 1012277763 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/2048-4 1 1012544171 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/4096-4 1 1012739022 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/8192-4 1 1012402969 ns/op 0.01 MB/s BenchmarkSplice/unix-to-tcp/16384-4 1 1012266251 ns/op 0.02 MB/s BenchmarkSplice/unix-to-tcp/32768-4 1 1012971650 ns/op 0.03 MB/s BenchmarkSplice/unix-to-tcp/65536-4 1 1012969781 ns/op 0.06 MB/s BenchmarkSplice/unix-to-tcp/131072-4 1 1013125152 ns/op 0.13 MB/s BenchmarkSplice/unix-to-tcp/262144-4 1 1012926426 ns/op 0.26 MB/s BenchmarkSplice/unix-to-tcp/524288-4 1 1013575247 ns/op 0.52 MB/s BenchmarkSplice/unix-to-tcp/1048576-4 1 1015423525 ns/op 1.03 MB/s BenchmarkSpliceFile/tcp-to-file/1024-4 1 1013252934 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/2048-4 1 1012550706 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/4096-4 1 1012902481 ns/op 0.00 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/tcp-to-file/8192-4 1 1012495053 ns/op 0.01 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/16384-4 1 1012968175 ns/op 0.02 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/32768-4 1 1012950525 ns/op 0.03 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/65536-4 1 1012646273 ns/op 0.06 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/131072-4 1 1013343261 ns/op 0.13 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/262144-4 1 1013426667 ns/op 0.26 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/524288-4 1 1013782253 ns/op 0.52 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/1048576-4 1 1015424786 ns/op 1.03 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/1024-4 1 1012834511 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/2048-4 1 1012273789 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/4096-4 1 1012381519 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/8192-4 1 1013077339 ns/op 0.01 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/16384-4 1 1013623655 ns/op 0.02 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/32768-4 1 1012452257 ns/op 0.03 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/65536-4 1 1013198903 ns/op 0.06 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/131072-4 1 1013013273 ns/op 0.13 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/262144-4 1 1013084534 ns/op 0.26 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/524288-4 1 1014310352 ns/op 0.52 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/1048576-4 1 1015182797 ns/op 1.03 MB/s 944 B/op 9 allocs/op BenchmarkTCP4OneShot-4 3199 33305 ns/op BenchmarkTCP4OneShotTimeout-4 3136 34335 ns/op BenchmarkTCP4Persistent-4 14571 6949 ns/op BenchmarkTCP4PersistentTimeout-4 14940 7263 ns/op BenchmarkTCP6OneShot-4 2854 35116 ns/op BenchmarkTCP6OneShotTimeout-4 3230 37232 ns/op BenchmarkTCP6Persistent-4 17557 7079 ns/op BenchmarkTCP6PersistentTimeout-4 20022 7214 ns/op BenchmarkTCP4ConcurrentReadWrite-4 34995 3408 ns/op BenchmarkTCP6ConcurrentReadWrite-4 42866 3571 ns/op BenchmarkSetReadDeadline-4 179052 649.6 ns/op BenchmarkReadWriteMsgUDPAddrPort-4 16118 7585 ns/op 0 B/op 0 allocs/op BenchmarkWriteToReadFromUDP-4 16549 7401 ns/op 16 B/op 1 allocs/op BenchmarkWriteToReadFromUDPAddrPort-4 16815 7326 ns/op 0 B/op 0 allocs/op PASS ok net 68.030s goos: linux goarch: amd64 pkg: net/http cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCookieString-4 41648 2755 ns/op 176 B/op 1 allocs/op BenchmarkReadSetCookies-4 16219 7213 ns/op 1168 B/op 21 allocs/op BenchmarkReadCookies-4 19790 5777 ns/op 1840 B/op 11 allocs/op BenchmarkHeaderWriteSubset-4 28424 4218 ns/op 46 B/op 0 allocs/op BenchmarkCopyValues-4 50341 2279 ns/op 736 B/op 11 allocs/op BenchmarkHexEscapeNonASCII-4 77122 1508 ns/op 192 B/op 2 allocs/op BenchmarkServerMatch-4 1388230 86.17 ns/op BenchmarkReadRequestChrome-4 5494 19744 ns/op 30.95 MB/s 1476 B/op 14 allocs/op BenchmarkReadRequestCurl-4 16647 7208 ns/op 10.82 MB/s 924 B/op 9 allocs/op BenchmarkReadRequestApachebench-4 15876 7309 ns/op 11.22 MB/s 924 B/op 9 allocs/op BenchmarkReadRequestSiege-4 9632 10761 ns/op 14.03 MB/s 1020 B/op 11 allocs/op BenchmarkReadRequestWrk-4 25016 4733 ns/op 8.45 MB/s 859 B/op 7 allocs/op BenchmarkFileAndServer_1KB/h1-4 428 246778 ns/op 4.15 MB/s BenchmarkFileAndServer_1KB/https1-4 354 306035 ns/op 3.35 MB/s BenchmarkFileAndServer_1KB/h2-4 242 460372 ns/op 2.22 MB/s BenchmarkFileAndServer_16MB/h1-4 4 28832220 ns/op 581.89 MB/s BenchmarkFileAndServer_16MB/https1-4 2 64738848 ns/op 259.15 MB/s BenchmarkFileAndServer_16MB/h2-4 1 138267251 ns/op 121.34 MB/s BenchmarkFileAndServer_64MB/h1-4 1 114364254 ns/op 586.80 MB/s BenchmarkFileAndServer_64MB/https1-4 1 254926147 ns/op 263.25 MB/s BenchmarkFileAndServer_64MB/h2-4 1 612253093 ns/op 109.61 MB/s BenchmarkServeMux-4 387 330434 ns/op 17280 B/op 360 allocs/op BenchmarkServeMux_SkipServe-4 508 253756 ns/op 0 B/op 0 allocs/op BenchmarkClientServer/h1-4 534 212607 ns/op 5845 B/op 64 allocs/op BenchmarkClientServer/https1-4 367 281286 ns/op 6549 B/op 73 allocs/op BenchmarkClientServer/h2-4 277 408337 ns/op 9806 B/op 79 allocs/op BenchmarkClientServerParallel/4/h1-4 1526 76793 ns/op 10058 B/op 80 allocs/op BenchmarkClientServerParallel/4/https1-4 33 3305123 ns/op 82491 B/op 879 allocs/op --- BENCH: BenchmarkClientServerParallel/4/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59336: read tcp 127.0.0.1:43977->127.0.0.1:59336: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59312: read tcp 127.0.0.1:43977->127.0.0.1:59312: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:59338: read tcp 127.0.0.1:43977->127.0.0.1:59338: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:48284: read tcp 127.0.0.1:33401->127.0.0.1:48284: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:48248: read tcp 127.0.0.1:33401->127.0.0.1:48248: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51778: write tcp 127.0.0.1:43253->127.0.0.1:51778: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51816: write tcp 127.0.0.1:43253->127.0.0.1:51816: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51810: write tcp 127.0.0.1:43253->127.0.0.1:51810: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51598: read tcp 127.0.0.1:39255->127.0.0.1:51598: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:51640: write tcp 127.0.0.1:39255->127.0.0.1:51640: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/4/h2-4 200 522223 ns/op 17020 B/op 169 allocs/op --- BENCH: BenchmarkClientServerParallel/4/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:57024: read tcp 127.0.0.1:40949->127.0.0.1:57024: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:39430: read tcp 127.0.0.1:45055->127.0.0.1:39430: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:39474: write tcp 127.0.0.1:45055->127.0.0.1:39474: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:39488: read tcp 127.0.0.1:45055->127.0.0.1:39488: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:39490: read tcp 127.0.0.1:45055->127.0.0.1:39490: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:39510: read tcp 127.0.0.1:45055->127.0.0.1:39510: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:39494: read tcp 127.0.0.1:45055->127.0.0.1:39494: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:39536: read tcp 127.0.0.1:45055->127.0.0.1:39536: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:39516: read tcp 127.0.0.1:45055->127.0.0.1:39516: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:39538: read tcp 127.0.0.1:45055->127.0.0.1:39538: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h1-4 982 117459 ns/op 16646 B/op 102 allocs/op BenchmarkClientServerParallel/64/https1-4 58 4350893 ns/op 105822 B/op 1171 allocs/op --- BENCH: BenchmarkClientServerParallel/64/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:33200: read tcp 127.0.0.1:38801->127.0.0.1:33200: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:33202: read tcp 127.0.0.1:38801->127.0.0.1:33202: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:33188: write tcp 127.0.0.1:38801->127.0.0.1:33188: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:48858: read tcp 127.0.0.1:35123->127.0.0.1:48858: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:48812: write tcp 127.0.0.1:35123->127.0.0.1:48812: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:48850: write tcp 127.0.0.1:35123->127.0.0.1:48850: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42100: read tcp 127.0.0.1:42983->127.0.0.1:42100: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42150: read tcp 127.0.0.1:42983->127.0.0.1:42150: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42116: read tcp 127.0.0.1:42983->127.0.0.1:42116: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:42092: read tcp 127.0.0.1:42983->127.0.0.1:42092: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h2-4 62 2476056 ns/op 69676 B/op 788 allocs/op --- BENCH: BenchmarkClientServerParallel/64/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:56512: read tcp 127.0.0.1:33977->127.0.0.1:56512: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:56476: read tcp 127.0.0.1:33977->127.0.0.1:56476: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:56494: read tcp 127.0.0.1:33977->127.0.0.1:56494: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:56504: write tcp 127.0.0.1:33977->127.0.0.1:56504: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:45648: read tcp 127.0.0.1:36519->127.0.0.1:45648: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:45706: read tcp 127.0.0.1:36519->127.0.0.1:45706: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:60668: read tcp 127.0.0.1:45333->127.0.0.1:60668: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:60768: read tcp 127.0.0.1:45333->127.0.0.1:60768: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:60664: read tcp 127.0.0.1:45333->127.0.0.1:60664: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:60762: read tcp 127.0.0.1:45333->127.0.0.1:60762: use of closed network connection ... [output truncated] BenchmarkServer-4 1 1025659203 ns/op 50680 B/op 330 allocs/op BenchmarkClient-4 447 271421 ns/op 3722 B/op 45 allocs/op BenchmarkServerFakeConnNoKeepAlive-4 944 117382 ns/op 7348 B/op 54 allocs/op BenchmarkServerFakeConnWithKeepAlive-4 1672 61799 ns/op 3001 B/op 24 allocs/op BenchmarkServerFakeConnWithKeepAliveLite-4 2485 59722 ns/op 1896 B/op 14 allocs/op BenchmarkServerHandlerTypeLen-4 2082 65454 ns/op 2724 B/op 21 allocs/op BenchmarkServerHandlerNoLen-4 2356 62601 ns/op 2695 B/op 19 allocs/op BenchmarkServerHandlerNoType-4 2751 58526 ns/op 2732 B/op 20 allocs/op BenchmarkServerHandlerNoHeader-4 2134 68749 ns/op 1939 B/op 14 allocs/op BenchmarkServerHijack-4 1428 83792 ns/op 16747 B/op 50 allocs/op BenchmarkCloseNotifier/h1-4 534 206175 ns/op 5885 B/op 52 allocs/op BenchmarkResponseStatusLine-4 672072 158.4 ns/op 0 B/op 0 allocs/op PASS ok net/http 14.744s goos: linux goarch: amd64 pkg: net/http/httputil cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkServeHTTP-4 5599 22226 ns/op 34073 B/op 12 allocs/op PASS ok net/http/httputil 1.206s goos: linux goarch: amd64 pkg: net/netip cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkIPNextPrev-4 130944 870.7 ns/op BenchmarkBinaryMarshalRoundTrip/ipv4-4 846954 130.0 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6-4 268488 408.3 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6+zone-4 96867 1270 ns/op BenchmarkStdIPv4-4 193274 612.4 ns/op 16 B/op 1 allocs/op BenchmarkIPv4-4 127171 908.1 ns/op 0 B/op 0 allocs/op BenchmarkIPv4_inline-4 130263 891.3 ns/op 0 B/op 0 allocs/op BenchmarkStdIPv6-4 123608 965.0 ns/op 16 B/op 1 allocs/op BenchmarkIPv6-4 99604 1184 ns/op 0 B/op 0 allocs/op BenchmarkIPv4Contains-4 2376009 50.29 ns/op 0 B/op 0 allocs/op BenchmarkIPv6Contains-4 2166045 54.90 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v4-4 1918023 62.94 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6-4 365091 303.9 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_ellipsis-4 407892 278.9 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_v4-4 380739 300.2 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_zone-4 121436 995.2 ns/op 0 B/op 0 allocs/op BenchmarkStdParseIP/v4-4 446572 261.3 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6-4 209856 529.8 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_ellipsis-4 225524 494.2 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_v4-4 198105 521.6 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_zone-4 110095 1074 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v4-4 533170 211.7 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v6-4 177546 617.9 ns/op 48 B/op 1 allocs/op BenchmarkIPString/v6_ellipsis-4 237639 474.2 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_v4-4 367102 318.7 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_zone-4 218488 513.5 ns/op 24 B/op 1 allocs/op BenchmarkIPStringExpanded/v4-4 477781 244.4 ns/op 16 B/op 1 allocs/op BenchmarkIPStringExpanded/v6-4 233854 510.7 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_ellipsis-4 225172 499.5 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_v4-4 213529 500.5 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_zone-4 168346 695.1 ns/op 128 B/op 2 allocs/op BenchmarkIPMarshalText-4 661488 169.7 ns/op 16 B/op 1 allocs/op BenchmarkAddrPortString/v4-4 250558 475.7 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortString/v6-4 141882 862.9 ns/op 112 B/op 3 allocs/op BenchmarkAddrPortString/v6_ellipsis-4 170529 714.1 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_v4-4 217928 525.3 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_zone-4 156340 721.5 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortMarshalText/v4-4 401460 291.7 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6-4 169104 679.0 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_ellipsis-4 199723 574.4 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_v4-4 268432 426.3 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_zone-4 195786 611.6 ns/op 64 B/op 1 allocs/op BenchmarkPrefixMasking/IPv4_/32-4 1653034 74.59 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/17-4 1601460 75.81 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/0-4 1602357 75.68 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/128-4 1465087 81.14 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/65-4 1489322 80.55 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/0-4 1484314 82.51 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/128-4 1447209 82.28 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/65-4 1473786 82.43 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/0-4 1472733 81.24 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMarshalText-4 555693 210.5 ns/op 24 B/op 1 allocs/op BenchmarkParseAddrPort/v4-4 840786 134.5 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6-4 301770 383.4 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_ellipsis-4 332262 352.9 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_v4-4 308437 381.8 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_zone-4 110475 1094 ns/op 0 B/op 0 allocs/op BenchmarkAs16-4 810308 145.6 ns/op PASS ok net/netip 9.294s 2023/05/25 01:59:38 Test RPC server listening on 127.0.0.1:36851 2023/05/25 01:59:38 Test HTTP RPC server listening on 127.0.0.1:35351 goos: linux goarch: amd64 pkg: net/rpc cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEndToEnd-4 2012 51665 ns/op BenchmarkEndToEndHTTP-4 2026 54181 ns/op BenchmarkEndToEndAsync-4 4549 25832 ns/op BenchmarkEndToEndAsyncHTTP-4 4940 24423 ns/op PASS ok net/rpc 1.669s goos: linux goarch: amd64 pkg: net/textproto cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadMIMEHeader/client_headers-4 4731 21893 ns/op BenchmarkReadMIMEHeader/server_headers-4 8038 14602 ns/op BenchmarkUncommon-4 38134 2971 ns/op 464 B/op 5 allocs/op PASS ok net/textproto 1.480s goos: linux goarch: amd64 pkg: net/url cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkString-4 7156 16159 ns/op 1616 B/op 60 allocs/op BenchmarkResolvePath-4 145410 773.1 ns/op 32 B/op 2 allocs/op BenchmarkQueryEscape/#00-4 715012 140.2 ns/op 16 B/op 1 allocs/op BenchmarkQueryEscape/#01-4 138420 805.9 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#02-4 268510 435.4 ns/op 32 B/op 1 allocs/op BenchmarkQueryEscape/#03-4 130168 901.4 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#04-4 22695 5140 ns/op 832 B/op 2 allocs/op BenchmarkPathEscape/#00-4 569466 192.0 ns/op 16 B/op 1 allocs/op BenchmarkPathEscape/#01-4 141398 827.7 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#02-4 256820 433.3 ns/op 32 B/op 1 allocs/op BenchmarkPathEscape/#03-4 128899 891.4 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#04-4 24507 4699 ns/op 704 B/op 2 allocs/op BenchmarkQueryUnescape/#00-4 290463 398.3 ns/op 16 B/op 1 allocs/op BenchmarkQueryUnescape/#01-4 116427 1009 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#02-4 111081 1034 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#03-4 51770 2331 ns/op 64 B/op 1 allocs/op BenchmarkQueryUnescape/#04-4 8978 12701 ns/op 320 B/op 1 allocs/op BenchmarkPathUnescape/#00-4 286932 404.7 ns/op 16 B/op 1 allocs/op BenchmarkPathUnescape/#01-4 119648 994.7 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#02-4 112059 1038 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#03-4 51004 2306 ns/op 64 B/op 1 allocs/op BenchmarkPathUnescape/#04-4 9554 12437 ns/op 320 B/op 1 allocs/op PASS ok net/url 4.051s goos: linux goarch: amd64 pkg: os cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExpand/noop-4 4639359 22.97 ns/op 0 B/op 0 allocs/op BenchmarkExpand/multiple-4 238131 456.2 ns/op 48 B/op 2 allocs/op BenchmarkReaddirname-4 1048 105442 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 330 365531 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 836 135825 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 69769 1656 ns/op BenchmarkStatFile-4 61081 1920 ns/op BenchmarkStatDir-4 55941 1877 ns/op BenchmarkLstatDot-4 69052 1703 ns/op BenchmarkLstatFile-4 58994 1926 ns/op BenchmarkLstatDir-4 61233 1880 ns/op PASS ok os 2.500s goos: linux goarch: amd64 pkg: os/exec cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExecHostname-4 202 586618 ns/op 8400 B/op 30 allocs/op PASS ok os/exec 1.196s goos: linux goarch: amd64 pkg: os/user cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCurrent-4 581930 193.6 ns/op PASS ok os/user 1.216s goos: linux goarch: amd64 pkg: reflect cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkBool-4 5985524 19.79 ns/op BenchmarkString-4 3663549 32.28 ns/op BenchmarkBytes-4 3242920 37.16 ns/op BenchmarkNamedBytes-4 1776396 67.66 ns/op BenchmarkBytesArray-4 1204964 98.95 ns/op BenchmarkSliceLen-4 3628485 32.75 ns/op BenchmarkMapLen-4 1520282 78.75 ns/op BenchmarkStringLen-4 2950963 39.98 ns/op BenchmarkArrayLen-4 2075558 57.75 ns/op BenchmarkSliceCap-4 3823384 31.33 ns/op BenchmarkDeepEqual/int8-4 710911 164.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int8-4 142132 840.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int16-4 594880 197.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int16-4 137289 866.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int32-4 561182 198.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int32-4 135901 873.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int64-4 593133 194.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int64-4 135447 871.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int-4 596202 196.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int-4 135661 872.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint8-4 675109 166.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8-4 180040 656.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint16-4 589214 197.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint16-4 133786 874.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint32-4 585768 201.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint32-4 136528 869.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint64-4 584547 202.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint64-4 135602 873.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint-4 548155 198.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint-4 132670 876.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uintptr-4 561139 199.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uintptr-4 133815 878.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float32-4 597992 198.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float32-4 136674 868.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float64-4 581488 195.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float64-4 137047 868.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex64-4 605287 194.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex64-4 136713 867.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex128-4 566676 197.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex128-4 137337 865.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/bool-4 610615 164.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]bool-4 141889 837.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/string-4 618159 192.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]string-4 132982 878.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8#01-4 182685 650.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][]uint8-4 87255 1365 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[6]uint8-4 71256 1672 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][6]uint8-4 50210 2379 ns/op 0 B/op 0 allocs/op BenchmarkIsZero/ArrayComparable-4 390357 303.3 ns/op BenchmarkIsZero/ArrayIncomparable-4 44886 2593 ns/op BenchmarkIsZero/StructComparable-4 801585 147.7 ns/op BenchmarkIsZero/StructIncomparable-4 202146 570.2 ns/op BenchmarkSetZero/Bool/Direct-4 6616591 17.78 ns/op BenchmarkSetZero/Bool/CachedZero-4 1339125 88.46 ns/op BenchmarkSetZero/Bool/NewZero-4 970352 118.3 ns/op BenchmarkSetZero/Int/Direct-4 4174101 28.74 ns/op BenchmarkSetZero/Int/CachedZero-4 1364551 88.44 ns/op BenchmarkSetZero/Int/NewZero-4 998654 119.3 ns/op BenchmarkSetZero/Uint/Direct-4 4066993 29.23 ns/op BenchmarkSetZero/Uint/CachedZero-4 1352852 88.28 ns/op BenchmarkSetZero/Uint/NewZero-4 972889 118.3 ns/op BenchmarkSetZero/Float/Direct-4 4153894 29.11 ns/op BenchmarkSetZero/Float/CachedZero-4 1336771 88.95 ns/op BenchmarkSetZero/Float/NewZero-4 970080 118.6 ns/op BenchmarkSetZero/Complex/Direct-4 4104632 28.91 ns/op BenchmarkSetZero/Complex/CachedZero-4 1350067 87.99 ns/op BenchmarkSetZero/Complex/NewZero-4 944611 117.8 ns/op BenchmarkSetZero/Array/Direct-4 3745654 31.98 ns/op BenchmarkSetZero/Array/CachedZero-4 1337174 89.19 ns/op BenchmarkSetZero/Array/NewZero-4 967885 119.6 ns/op BenchmarkSetZero/Chan/Direct-4 4095291 29.67 ns/op BenchmarkSetZero/Chan/CachedZero-4 1370034 87.61 ns/op BenchmarkSetZero/Chan/NewZero-4 892869 117.5 ns/op BenchmarkSetZero/Func/Direct-4 4142554 29.01 ns/op BenchmarkSetZero/Func/CachedZero-4 1374147 87.56 ns/op BenchmarkSetZero/Func/NewZero-4 977745 118.5 ns/op BenchmarkSetZero/Interface/Direct-4 3723624 32.44 ns/op BenchmarkSetZero/Interface/CachedZero-4 1358443 87.76 ns/op BenchmarkSetZero/Interface/NewZero-4 1000000 118.1 ns/op BenchmarkSetZero/Map/Direct-4 4159868 28.94 ns/op BenchmarkSetZero/Map/CachedZero-4 1365439 88.71 ns/op BenchmarkSetZero/Map/NewZero-4 984468 116.9 ns/op BenchmarkSetZero/Pointer/Direct-4 4075411 29.07 ns/op BenchmarkSetZero/Pointer/CachedZero-4 1313910 87.97 ns/op BenchmarkSetZero/Pointer/NewZero-4 857205 117.6 ns/op BenchmarkSetZero/Slice/Direct-4 3577270 33.77 ns/op BenchmarkSetZero/Slice/CachedZero-4 1330686 88.88 ns/op BenchmarkSetZero/Slice/NewZero-4 982610 121.6 ns/op BenchmarkSetZero/String/Direct-4 3903026 29.81 ns/op BenchmarkSetZero/String/CachedZero-4 1343408 89.17 ns/op BenchmarkSetZero/String/NewZero-4 939620 118.3 ns/op BenchmarkSetZero/Struct/Direct-4 3659592 32.58 ns/op BenchmarkSetZero/Struct/CachedZero-4 1345669 88.92 ns/op BenchmarkSetZero/Struct/NewZero-4 986222 119.9 ns/op BenchmarkSelect/1-4 219057 536.7 ns/op 80 B/op 5 allocs/op BenchmarkSelect/4-4 97676 1148 ns/op 208 B/op 8 allocs/op BenchmarkSelect/8-4 48986 2213 ns/op 672 B/op 13 allocs/op BenchmarkCall-4 359713 327.6 ns/op 0 B/op 0 allocs/op BenchmarkCallMethod-4 248173 488.3 ns/op 0 B/op 0 allocs/op BenchmarkCallArgCopy/size=128-4 201316 584.7 ns/op 218.92 MB/s BenchmarkCallArgCopy/size=256-4 178021 708.2 ns/op 361.46 MB/s BenchmarkCallArgCopy/size=1024-4 129320 1172 ns/op 873.47 MB/s BenchmarkCallArgCopy/size=4096-4 47188 2152 ns/op 1903.21 MB/s BenchmarkCallArgCopy/size=65536-4 3160 35248 ns/op 1859.30 MB/s BenchmarkFieldByName1-4 1706978 72.53 ns/op BenchmarkFieldByName2-4 149630 727.2 ns/op BenchmarkFieldByName3-4 13237 7987 ns/op BenchmarkInterfaceBig-4 5642492 20.46 ns/op BenchmarkInterfaceSmall-4 5917315 23.60 ns/op BenchmarkNew-4 2663730 44.86 ns/op BenchmarkMap/StringKeys/MapIndex-4 3511 33933 ns/op 0 B/op 0 allocs/op BenchmarkMap/StringKeys/SetMapIndex-4 2936 40530 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/MapIndex-4 3393 34187 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/SetMapIndex-4 2847 41490 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/MapIndex-4 3189 34473 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/SetMapIndex-4 2757 41301 ns/op 0 B/op 0 allocs/op BenchmarkMapIterNext-4 310665 350.3 ns/op PASS ok reflect 18.327s goos: linux goarch: amd64 pkg: regexp cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFind-4 12681 8630 ns/op 9350 B/op 1 allocs/op BenchmarkFindAllNoMatches-4 17386 6784 ns/op 9183 B/op 1 allocs/op BenchmarkFindString-4 14962 7537 ns/op 9471 B/op 1 allocs/op BenchmarkFindSubmatch-4 13302 8953 ns/op 9382 B/op 2 allocs/op BenchmarkFindStringSubmatch-4 14070 8532 ns/op 9231 B/op 2 allocs/op BenchmarkLiteral-4 17990 6055 ns/op BenchmarkNotLiteral-4 4366 22944 ns/op BenchmarkMatchClass-4 4440 28053 ns/op BenchmarkMatchClass_InRange-4 4426 27080 ns/op BenchmarkReplaceAll-4 2872 39310 ns/op BenchmarkAnchoredLiteralShortNonMatch-4 19399 6038 ns/op BenchmarkAnchoredLiteralLongNonMatch-4 50244 2270 ns/op BenchmarkAnchoredShortMatch-4 17882 6876 ns/op BenchmarkAnchoredLongMatch-4 27246 4236 ns/op BenchmarkOnePassShortA-4 29425 4212 ns/op BenchmarkNotOnePassShortA-4 9212 11992 ns/op BenchmarkOnePassShortB-4 38558 3132 ns/op BenchmarkNotOnePassShortB-4 10000 10790 ns/op BenchmarkOnePassLongPrefix-4 118633 1011 ns/op BenchmarkOnePassLongNotPrefix-4 44497 2801 ns/op BenchmarkMatchParallelShared-4 28267 4327 ns/op BenchmarkMatchParallelCopied-4 31958 3721 ns/op BenchmarkQuoteMetaAll-4 215779 551.6 ns/op 25.38 MB/s BenchmarkQuoteMetaNone-4 467128 241.2 ns/op 107.78 MB/s BenchmarkCompile/Onepass-4 6314 18028 ns/op 4144 B/op 52 allocs/op BenchmarkCompile/Medium-4 2293 46746 ns/op 9704 B/op 112 allocs/op BenchmarkCompile/Hard-4 266 426707 ns/op 84760 B/op 424 allocs/op BenchmarkMatch/Easy0/16-4 6016722 18.77 ns/op 852.48 MB/s BenchmarkMatch/Easy0/32-4 23684 5717 ns/op 5.60 MB/s BenchmarkMatch/Easy0/1K-4 10000 14380 ns/op 71.21 MB/s BenchmarkMatch/Easy0i/16-4 5938503 19.13 ns/op 836.37 MB/s BenchmarkMatch/Easy0i/32-4 6656 17427 ns/op 1.84 MB/s BenchmarkMatch/Easy0i/1K-4 355 339492 ns/op 3.02 MB/s BenchmarkMatch/Easy1/16-4 6047569 18.90 ns/op 846.72 MB/s BenchmarkMatch/Easy1/32-4 19618 6453 ns/op 4.96 MB/s BenchmarkMatch/Easy1/1K-4 6318 19039 ns/op 53.79 MB/s BenchmarkMatch/Medium/16-4 6056964 19.11 ns/op 837.39 MB/s BenchmarkMatch/Medium/32-4 7438 16421 ns/op 1.95 MB/s BenchmarkMatch/Medium/1K-4 393 296318 ns/op 3.46 MB/s BenchmarkMatch/Hard/16-4 5932478 19.20 ns/op 833.38 MB/s BenchmarkMatch/Hard/32-4 4630 22810 ns/op 1.40 MB/s BenchmarkMatch/Hard/1K-4 237 487699 ns/op 2.10 MB/s BenchmarkMatch/Hard1/16-4 2013 60426 ns/op 0.26 MB/s BenchmarkMatch/Hard1/32-4 1003 112261 ns/op 0.29 MB/s BenchmarkMatch/Hard1/1K-4 33 3297871 ns/op 0.31 MB/s BenchmarkMatch_onepass_regex/16-4 41498 2845 ns/op 5.62 MB/s 24 B/op 0 allocs/op BenchmarkMatch_onepass_regex/32-4 24412 4905 ns/op 6.52 MB/s 24 B/op 0 allocs/op BenchmarkMatch_onepass_regex/1K-4 932 130153 ns/op 7.87 MB/s 24 B/op 0 allocs/op PASS ok regexp 8.555s goos: linux goarch: amd64 pkg: regexp/syntax cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEmptyOpContext-4 933740 127.8 ns/op BenchmarkIsWordChar-4 285115 413.1 ns/op PASS ok regexp/syntax 2.035s goos: linux goarch: amd64 pkg: runtime cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCallers/cached-4 90604 1129 ns/op BenchmarkCallers/inlined-4 74739 1591 ns/op BenchmarkCallers/no-cache-4 17522 6834 ns/op BenchmarkFPCallers/cached-4 3986565 30.05 ns/op BenchmarkMakeChan/Byte-4 1116816 97.03 ns/op BenchmarkMakeChan/Int-4 1126802 115.0 ns/op BenchmarkMakeChan/Ptr-4 761580 151.9 ns/op BenchmarkMakeChan/Struct/0-4 1530620 78.41 ns/op BenchmarkMakeChan/Struct/32-4 617116 197.2 ns/op BenchmarkMakeChan/Struct/40-4 559663 270.3 ns/op BenchmarkChanNonblocking-4 16444690 7.396 ns/op BenchmarkSelectUncontended-4 1357094 112.2 ns/op BenchmarkSelectSyncContended-4 44572 2526 ns/op BenchmarkSelectAsyncContended-4 152769 728.8 ns/op BenchmarkSelectNonblock-4 9522645 12.16 ns/op BenchmarkChanUncontended-4 14844 9571 ns/op BenchmarkChanContended-4 1944 63800 ns/op BenchmarkChanSync-4 251500 484.0 ns/op BenchmarkChanSyncWork-4 10000 11525 ns/op BenchmarkChanProdCons0-4 106621 1160 ns/op BenchmarkChanProdCons10-4 173774 785.6 ns/op BenchmarkChanProdCons100-4 195735 606.8 ns/op BenchmarkChanProdConsWork0-4 100255 1212 ns/op BenchmarkChanProdConsWork10-4 124293 1035 ns/op BenchmarkChanProdConsWork100-4 124653 956.3 ns/op BenchmarkSelectProdCons-4 102520 1139 ns/op BenchmarkReceiveDataFromClosedChan-4 1000000 115.2 ns/op BenchmarkChanCreation-4 275560 411.0 ns/op BenchmarkChanSem-4 159880 702.0 ns/op BenchmarkChanPopular-4 120 922021 ns/op BenchmarkChanClosed-4 1000000 127.5 ns/op BenchmarkCallClosure-4 9253908 12.96 ns/op BenchmarkCallClosure1-4 9520308 12.47 ns/op BenchmarkCallClosure2-4 1979382 62.48 ns/op BenchmarkCallClosure3-4 2381034 58.90 ns/op BenchmarkCallClosure4-4 2024096 66.08 ns/op BenchmarkComplex128DivNormal-4 15910364 6.849 ns/op BenchmarkComplex128DivNisNaN-4 11346142 9.994 ns/op BenchmarkComplex128DivDisNaN-4 11545797 9.683 ns/op BenchmarkComplex128DivNisInf-4 14969676 7.178 ns/op BenchmarkComplex128DivDisInf-4 8623366 13.17 ns/op BenchmarkSetTypePtr-4 66895075 1.786 ns/op 4478.25 MB/s BenchmarkSetTypePtr8-4 15255159 7.770 ns/op 8236.62 MB/s BenchmarkSetTypePtr16-4 15084698 7.797 ns/op 16416.12 MB/s BenchmarkSetTypePtr32-4 15324991 7.761 ns/op 32987.25 MB/s BenchmarkSetTypePtr64-4 15427916 7.784 ns/op 65779.03 MB/s BenchmarkSetTypePtr126-4 9014278 13.19 ns/op 76446.93 MB/s BenchmarkSetTypePtr128-4 9291871 12.89 ns/op 79441.43 MB/s BenchmarkSetTypePtrSlice-4 1247848 95.31 ns/op 85949.23 MB/s BenchmarkSetTypeNode1-4 14522571 7.731 ns/op 3104.49 MB/s BenchmarkSetTypeNode1Slice-4 6522738 18.04 ns/op 42561.75 MB/s BenchmarkSetTypeNode8-4 15086678 7.797 ns/op 10260.86 MB/s BenchmarkSetTypeNode8Slice-4 2783720 43.22 ns/op 59231.89 MB/s BenchmarkSetTypeNode64-4 9067604 13.14 ns/op 40184.86 MB/s BenchmarkSetTypeNode64Slice-4 359002 331.8 ns/op 50922.90 MB/s BenchmarkSetTypeNode64Dead-4 11546044 10.19 ns/op 51829.73 MB/s BenchmarkSetTypeNode64DeadSlice-4 417493 284.8 ns/op 59328.69 MB/s BenchmarkSetTypeNode124-4 9106675 13.21 ns/op 76331.03 MB/s BenchmarkSetTypeNode124Slice-4 284366 410.8 ns/op 78524.21 MB/s BenchmarkSetTypeNode126-4 9235158 12.86 ns/op 79641.87 MB/s BenchmarkSetTypeNode126Slice-4 286863 420.1 ns/op 78003.28 MB/s BenchmarkSetTypeNode128-4 6481588 18.54 ns/op 56105.48 MB/s BenchmarkSetTypeNode128Slice-4 217839 550.8 ns/op 60421.59 MB/s BenchmarkSetTypeNode130-4 6389352 18.49 ns/op 57100.31 MB/s BenchmarkSetTypeNode130Slice-4 206745 543.9 ns/op 62133.61 MB/s BenchmarkSetTypeNode1024-4 1224960 97.03 ns/op 84593.91 MB/s BenchmarkSetTypeNode1024Slice-4 38889 3073 ns/op 85461.60 MB/s BenchmarkAllocation-4 5149 32205 ns/op BenchmarkReadMemStats-4 9796 12360 ns/op BenchmarkReadMemStatsLatency-4 1 52942 p50-ns 52942 p90-ns 52942 p99-ns BenchmarkWriteBarrier-4 3868384 53.46 ns/op BenchmarkBulkWriteBarrier-4 7914553 14.23 ns/op BenchmarkScanStackNoLocals-4 3 49619909 ns/op BenchmarkMSpanCountAlloc/bits=64-4 15230652 8.064 ns/op BenchmarkMSpanCountAlloc/bits=128-4 15759200 7.600 ns/op BenchmarkMSpanCountAlloc/bits=256-4 13858455 8.889 ns/op BenchmarkMSpanCountAlloc/bits=512-4 10455168 11.19 ns/op BenchmarkMSpanCountAlloc/bits=1024-4 7319454 16.89 ns/op BenchmarkHash5-4 9882597 11.94 ns/op 418.66 MB/s BenchmarkHash16-4 10450041 11.38 ns/op 1405.93 MB/s BenchmarkHash64-4 9491266 13.16 ns/op 4862.27 MB/s BenchmarkHash1024-4 3722695 31.97 ns/op 32026.58 MB/s BenchmarkHash65536-4 89961 1323 ns/op 49522.98 MB/s BenchmarkAlignedLoad-4 11907453 10.30 ns/op BenchmarkUnalignedLoad-4 12728497 9.436 ns/op BenchmarkEqEfaceConcrete-4 8402103 14.34 ns/op BenchmarkEqIfaceConcrete-4 8889598 13.49 ns/op BenchmarkNeEfaceConcrete-4 8976903 13.06 ns/op BenchmarkNeIfaceConcrete-4 9468961 12.80 ns/op BenchmarkConvT2EByteSized/bool-4 9269503 13.27 ns/op BenchmarkConvT2EByteSized/uint8-4 8866186 13.18 ns/op BenchmarkConvT2ESmall-4 8550703 14.03 ns/op BenchmarkConvT2EUintptr-4 8193459 14.94 ns/op BenchmarkConvT2ELarge-4 1674291 76.18 ns/op BenchmarkConvT2ISmall-4 8616546 13.84 ns/op BenchmarkConvT2IUintptr-4 8177766 14.43 ns/op BenchmarkConvT2ILarge-4 1754474 67.40 ns/op BenchmarkConvI2E-4 7894896 15.17 ns/op BenchmarkConvI2I-4 6726411 17.83 ns/op BenchmarkAssertE2T-4 7183135 16.69 ns/op BenchmarkAssertE2TLarge-4 3683452 33.98 ns/op BenchmarkAssertE2I-4 6487215 18.47 ns/op BenchmarkAssertI2T-4 6821049 17.57 ns/op BenchmarkAssertI2I-4 6621205 18.10 ns/op BenchmarkAssertI2E-4 9196912 13.23 ns/op BenchmarkAssertE2E-4 8658494 13.80 ns/op BenchmarkAssertE2T2-4 5468036 23.60 ns/op BenchmarkAssertE2T2Blank-4 6317646 18.53 ns/op BenchmarkAssertI2E2-4 6641562 18.18 ns/op BenchmarkAssertI2E2Blank-4 9091824 13.22 ns/op BenchmarkAssertE2E2-4 6700176 18.02 ns/op BenchmarkAssertE2E2Blank-4 8961169 13.12 ns/op BenchmarkConvT2Ezero/zero/16-4 8534336 13.88 ns/op BenchmarkConvT2Ezero/zero/32-4 8240961 14.44 ns/op BenchmarkConvT2Ezero/zero/64-4 8044952 14.99 ns/op BenchmarkConvT2Ezero/zero/str-4 8041762 14.72 ns/op BenchmarkConvT2Ezero/zero/slice-4 8606703 14.36 ns/op BenchmarkConvT2Ezero/zero/big-4 220000 530.6 ns/op BenchmarkConvT2Ezero/nonzero/str-4 1957333 65.47 ns/op BenchmarkConvT2Ezero/nonzero/slice-4 1571380 71.17 ns/op BenchmarkConvT2Ezero/nonzero/big-4 226788 462.2 ns/op BenchmarkConvT2Ezero/smallint/16-4 7813942 15.39 ns/op BenchmarkConvT2Ezero/smallint/32-4 7964930 14.99 ns/op BenchmarkConvT2Ezero/smallint/64-4 8315343 14.46 ns/op BenchmarkConvT2Ezero/largeint/16-4 2044096 50.44 ns/op BenchmarkConvT2Ezero/largeint/32-4 2313213 49.74 ns/op BenchmarkConvT2Ezero/largeint/64-4 2205400 45.52 ns/op BenchmarkMalloc8-4 2016350 56.56 ns/op BenchmarkMalloc16-4 2033922 60.43 ns/op BenchmarkMallocTypeInfo8-4 2120930 67.05 ns/op BenchmarkMallocTypeInfo16-4 1720717 68.98 ns/op BenchmarkMallocLargeStruct-4 191262 680.0 ns/op BenchmarkGoroutineSelect-4 61 1685512 ns/op BenchmarkGoroutineBlocking-4 81 1783031 ns/op BenchmarkGoroutineForRange-4 69 1646428 ns/op BenchmarkGoroutineIdle-4 85 1433525 ns/op BenchmarkHashStringSpeed-4 4084764 30.66 ns/op BenchmarkHashBytesSpeed-4 2371563 52.20 ns/op BenchmarkHashInt32Speed-4 4670056 25.37 ns/op BenchmarkHashInt64Speed-4 4747935 24.97 ns/op BenchmarkHashStringArraySpeed-4 803796 144.4 ns/op BenchmarkMegMap-4 4747785 24.26 ns/op BenchmarkMegOneMap-4 5981607 19.63 ns/op BenchmarkMegEqMap-4 1944 61159 ns/op BenchmarkMegEmptyMap-4 6848715 17.17 ns/op BenchmarkSmallStrMap-4 4775616 24.28 ns/op BenchmarkMapStringKeysEight_16-4 5097475 23.56 ns/op BenchmarkMapStringKeysEight_32-4 4810480 24.54 ns/op BenchmarkMapStringKeysEight_64-4 4709282 25.39 ns/op BenchmarkMapStringKeysEight_1M-4 4726286 25.75 ns/op BenchmarkIntMap-4 5394003 21.50 ns/op BenchmarkMapFirst/1-4 6630468 17.38 ns/op BenchmarkMapFirst/2-4 6523467 17.34 ns/op BenchmarkMapFirst/3-4 6702292 17.28 ns/op BenchmarkMapFirst/4-4 6617022 17.55 ns/op BenchmarkMapFirst/5-4 6449565 18.11 ns/op BenchmarkMapFirst/6-4 6584143 17.95 ns/op BenchmarkMapFirst/7-4 6820522 17.61 ns/op BenchmarkMapFirst/8-4 6170262 17.54 ns/op BenchmarkMapFirst/9-4 6089840 19.99 ns/op BenchmarkMapFirst/10-4 5846622 20.50 ns/op BenchmarkMapFirst/11-4 6030405 19.31 ns/op BenchmarkMapFirst/12-4 5972986 19.81 ns/op BenchmarkMapFirst/13-4 6048223 19.98 ns/op BenchmarkMapFirst/14-4 5865345 20.41 ns/op BenchmarkMapFirst/15-4 5887756 19.89 ns/op BenchmarkMapFirst/16-4 5905742 20.12 ns/op BenchmarkMapMid/1-4 5504138 21.22 ns/op BenchmarkMapMid/2-4 5377452 21.51 ns/op BenchmarkMapMid/3-4 5543548 21.46 ns/op BenchmarkMapMid/4-4 5392350 22.25 ns/op BenchmarkMapMid/5-4 5391900 21.97 ns/op BenchmarkMapMid/6-4 5196183 21.88 ns/op BenchmarkMapMid/7-4 5290744 22.23 ns/op BenchmarkMapMid/8-4 5096026 23.62 ns/op BenchmarkMapMid/9-4 4945276 24.14 ns/op BenchmarkMapMid/10-4 4989157 23.78 ns/op BenchmarkMapMid/11-4 4740751 24.72 ns/op BenchmarkMapMid/12-4 4531980 25.11 ns/op BenchmarkMapMid/13-4 4691859 24.43 ns/op BenchmarkMapMid/14-4 4972530 23.28 ns/op BenchmarkMapMid/15-4 4958841 23.28 ns/op BenchmarkMapMid/16-4 4963016 23.29 ns/op BenchmarkMapLast/1-4 5649116 21.25 ns/op BenchmarkMapLast/2-4 5295354 21.58 ns/op BenchmarkMapLast/3-4 5373643 21.75 ns/op BenchmarkMapLast/4-4 5057229 23.40 ns/op BenchmarkMapLast/5-4 5385084 21.96 ns/op BenchmarkMapLast/6-4 5095183 23.10 ns/op BenchmarkMapLast/7-4 4815441 23.68 ns/op BenchmarkMapLast/8-4 4634090 25.56 ns/op BenchmarkMapLast/9-4 5150088 23.78 ns/op BenchmarkMapLast/10-4 4855270 24.98 ns/op BenchmarkMapLast/11-4 4395262 24.57 ns/op BenchmarkMapLast/12-4 4463199 26.76 ns/op BenchmarkMapLast/13-4 4990026 23.66 ns/op BenchmarkMapLast/14-4 4586206 23.24 ns/op BenchmarkMapLast/15-4 4843992 23.90 ns/op BenchmarkMapLast/16-4 4755295 26.73 ns/op BenchmarkMapCycle-4 3166666 35.85 ns/op BenchmarkRepeatedLookupStrMapKey32-4 5112825 24.03 ns/op BenchmarkRepeatedLookupStrMapKey1M-4 4191 26353 ns/op BenchmarkMakeMap/[Byte]Byte-4 735770 155.1 ns/op BenchmarkMakeMap/[Int]Int-4 394946 299.4 ns/op BenchmarkNewEmptyMap-4 18718510 5.904 ns/op 0 B/op 0 allocs/op BenchmarkNewSmallMap-4 2562433 46.86 ns/op 0 B/op 0 allocs/op BenchmarkMapIter-4 740809 163.7 ns/op BenchmarkMapIterEmpty-4 7695087 14.41 ns/op BenchmarkSameLengthMap-4 6987822 17.28 ns/op BenchmarkBigKeyMap-4 2489814 47.22 ns/op BenchmarkBigValMap-4 2189408 54.77 ns/op BenchmarkSmallKeyMap-4 4414488 26.99 ns/op BenchmarkMapPopulate/1-4 3673231 32.75 ns/op 0 B/op 0 allocs/op BenchmarkMapPopulate/10-4 188308 600.5 ns/op 179 B/op 1 allocs/op BenchmarkMapPopulate/100-4 8230 12266 ns/op 6273 B/op 15 allocs/op BenchmarkMapPopulate/1000-4 1045 119141 ns/op 51790 B/op 56 allocs/op BenchmarkMapPopulate/10000-4 74 1663923 ns/op 416329 B/op 202 allocs/op BenchmarkMapPopulate/100000-4 4 28048110 ns/op 6531488 B/op 2902 allocs/op BenchmarkComplexAlgMap-4 667448 161.2 ns/op BenchmarkGoMapClear/Reflexive/1-4 1000000 112.7 ns/op BenchmarkGoMapClear/Reflexive/10-4 815398 129.7 ns/op BenchmarkGoMapClear/Reflexive/100-4 305607 373.6 ns/op BenchmarkGoMapClear/Reflexive/1000-4 55515 2155 ns/op BenchmarkGoMapClear/Reflexive/10000-4 7339 16366 ns/op BenchmarkGoMapClear/NonReflexive/1-4 825656 140.2 ns/op BenchmarkGoMapClear/NonReflexive/10-4 753867 152.2 ns/op BenchmarkGoMapClear/NonReflexive/100-4 289845 396.7 ns/op BenchmarkGoMapClear/NonReflexive/1000-4 55134 2144 ns/op BenchmarkGoMapClear/NonReflexive/10000-4 7236 16451 ns/op BenchmarkMapStringConversion/32/simple-4 2449731 48.66 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/struct-4 2543362 46.82 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/array-4 2278422 50.82 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/simple-4 2393574 50.44 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/struct-4 2387002 51.71 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/array-4 2147266 54.61 ns/op 0 B/op 0 allocs/op BenchmarkMapInterfaceString-4 2745922 41.61 ns/op BenchmarkMapInterfacePtr-4 3173982 38.79 ns/op BenchmarkNewEmptyMapHintLessThan8-4 6466690 17.85 ns/op 0 B/op 0 allocs/op BenchmarkNewEmptyMapHintGreaterThan8-4 127166 872.5 ns/op 1152 B/op 1 allocs/op BenchmarkMapPop100-4 7552 15993 ns/op BenchmarkMapPop1000-4 525 224903 ns/op BenchmarkMapPop10000-4 26 4293139 ns/op BenchmarkMapAssign/Int32/256-4 4406074 27.26 ns/op BenchmarkMapAssign/Int32/65536-4 1148707 90.69 ns/op BenchmarkMapAssign/Int64/256-4 4563607 29.16 ns/op BenchmarkMapAssign/Int64/65536-4 978039 106.5 ns/op BenchmarkMapAssign/Str/256-4 3394983 36.26 ns/op BenchmarkMapAssign/Str/65536-4 525763 194.7 ns/op BenchmarkMapOperatorAssign/Int32/256-4 2386746 49.95 ns/op BenchmarkMapOperatorAssign/Int32/65536-4 743198 158.0 ns/op BenchmarkMapOperatorAssign/Int64/256-4 2350197 50.39 ns/op BenchmarkMapOperatorAssign/Int64/65536-4 586881 183.9 ns/op BenchmarkMapOperatorAssign/Str/256-4 672856 3075 ns/op BenchmarkMapOperatorAssign/Str/65536-4 203910 517.7 ns/op BenchmarkMapAppendAssign/Int32/256-4 1000000 137.2 ns/op 32 B/op 0 allocs/op BenchmarkMapAppendAssign/Int32/65536-4 299686 425.6 ns/op 51 B/op 0 allocs/op BenchmarkMapAppendAssign/Int64/256-4 1000000 129.9 ns/op 32 B/op 0 allocs/op BenchmarkMapAppendAssign/Int64/65536-4 245804 454.0 ns/op 57 B/op 0 allocs/op BenchmarkMapAppendAssign/Str/256-4 864421 214.0 ns/op 52 B/op 0 allocs/op BenchmarkMapAppendAssign/Str/65536-4 125884 794.6 ns/op 120 B/op 1 allocs/op BenchmarkMapDelete/Int32/100-4 2550763 52.97 ns/op BenchmarkMapDelete/Int32/1000-4 2640994 43.71 ns/op BenchmarkMapDelete/Int32/10000-4 2540331 47.26 ns/op BenchmarkMapDelete/Int64/100-4 2490682 49.61 ns/op BenchmarkMapDelete/Int64/1000-4 2614478 49.11 ns/op BenchmarkMapDelete/Int64/10000-4 2491276 48.12 ns/op BenchmarkMapDelete/Str/100-4 1740840 64.81 ns/op BenchmarkMapDelete/Str/1000-4 2020378 59.27 ns/op BenchmarkMapDelete/Str/10000-4 1869345 63.10 ns/op BenchmarkMapDelete/Pointer/100-4 1595324 72.70 ns/op BenchmarkMapDelete/Pointer/1000-4 2430614 49.72 ns/op BenchmarkMapDelete/Pointer/10000-4 2313049 52.34 ns/op BenchmarkMemmove/0-4 23188446 5.073 ns/op BenchmarkMemmove/1-4 2557058 47.07 ns/op 21.25 MB/s BenchmarkMemmove/2-4 2487626 48.50 ns/op 41.23 MB/s BenchmarkMemmove/3-4 2580888 45.06 ns/op 66.57 MB/s BenchmarkMemmove/4-4 2623296 46.28 ns/op 86.42 MB/s BenchmarkMemmove/5-4 2545405 47.91 ns/op 104.36 MB/s BenchmarkMemmove/6-4 2566752 47.85 ns/op 125.39 MB/s BenchmarkMemmove/7-4 2656758 47.37 ns/op 147.78 MB/s BenchmarkMemmove/8-4 2552314 45.26 ns/op 176.76 MB/s BenchmarkMemmove/9-4 2467539 48.88 ns/op 184.13 MB/s BenchmarkMemmove/10-4 2480568 48.10 ns/op 207.91 MB/s BenchmarkMemmove/11-4 2434884 50.11 ns/op 219.50 MB/s BenchmarkMemmove/12-4 2368309 51.30 ns/op 233.92 MB/s BenchmarkMemmove/13-4 2482540 49.72 ns/op 261.49 MB/s BenchmarkMemmove/14-4 2395412 51.27 ns/op 273.08 MB/s BenchmarkMemmove/15-4 2475411 47.83 ns/op 313.59 MB/s BenchmarkMemmove/16-4 2514237 47.76 ns/op 335.01 MB/s BenchmarkMemmove/32-4 2266250 50.76 ns/op 630.38 MB/s BenchmarkMemmove/64-4 2207149 52.83 ns/op 1211.41 MB/s BenchmarkMemmove/128-4 1876411 62.80 ns/op 2038.32 MB/s BenchmarkMemmove/256-4 1509979 83.41 ns/op 3069.28 MB/s BenchmarkMemmove/512-4 954742 119.1 ns/op 4299.21 MB/s BenchmarkMemmove/1024-4 511412 223.9 ns/op 4574.11 MB/s BenchmarkMemmove/2048-4 304044 381.6 ns/op 5366.22 MB/s BenchmarkMemmove/4096-4 167235 704.8 ns/op 5811.77 MB/s BenchmarkMemmoveOverlap/32-4 2370120 50.59 ns/op 632.49 MB/s BenchmarkMemmoveOverlap/64-4 2242136 52.73 ns/op 1213.75 MB/s BenchmarkMemmoveOverlap/128-4 1936117 63.62 ns/op 2012.09 MB/s BenchmarkMemmoveOverlap/256-4 1461865 82.26 ns/op 3112.13 MB/s BenchmarkMemmoveOverlap/512-4 970480 122.0 ns/op 4195.04 MB/s BenchmarkMemmoveOverlap/1024-4 526383 226.6 ns/op 4519.91 MB/s BenchmarkMemmoveOverlap/2048-4 309493 389.3 ns/op 5260.25 MB/s BenchmarkMemmoveOverlap/4096-4 168595 709.4 ns/op 5774.19 MB/s BenchmarkMemmoveUnalignedDst/0-4 23087355 5.154 ns/op BenchmarkMemmoveUnalignedDst/1-4 2530494 45.33 ns/op 22.06 MB/s BenchmarkMemmoveUnalignedDst/2-4 2503384 49.15 ns/op 40.69 MB/s BenchmarkMemmoveUnalignedDst/3-4 2459996 48.00 ns/op 62.50 MB/s BenchmarkMemmoveUnalignedDst/4-4 2550248 45.73 ns/op 87.46 MB/s BenchmarkMemmoveUnalignedDst/5-4 2535762 47.78 ns/op 104.65 MB/s BenchmarkMemmoveUnalignedDst/6-4 2486019 48.45 ns/op 123.83 MB/s BenchmarkMemmoveUnalignedDst/7-4 2494329 46.47 ns/op 150.62 MB/s BenchmarkMemmoveUnalignedDst/8-4 2574415 46.04 ns/op 173.75 MB/s BenchmarkMemmoveUnalignedDst/9-4 2491045 46.18 ns/op 194.91 MB/s BenchmarkMemmoveUnalignedDst/10-4 2585362 49.81 ns/op 200.75 MB/s BenchmarkMemmoveUnalignedDst/11-4 2407772 48.69 ns/op 225.91 MB/s BenchmarkMemmoveUnalignedDst/12-4 2499146 48.60 ns/op 246.92 MB/s BenchmarkMemmoveUnalignedDst/13-4 2415624 49.70 ns/op 261.56 MB/s BenchmarkMemmoveUnalignedDst/14-4 2389318 49.33 ns/op 283.79 MB/s BenchmarkMemmoveUnalignedDst/15-4 2524507 49.01 ns/op 306.06 MB/s BenchmarkMemmoveUnalignedDst/16-4 2527698 47.62 ns/op 335.99 MB/s BenchmarkMemmoveUnalignedDst/32-4 2384232 50.88 ns/op 628.88 MB/s BenchmarkMemmoveUnalignedDst/64-4 2124889 55.82 ns/op 1146.61 MB/s BenchmarkMemmoveUnalignedDst/128-4 1849592 64.13 ns/op 1995.87 MB/s BenchmarkMemmoveUnalignedDst/256-4 1457187 81.72 ns/op 3132.58 MB/s BenchmarkMemmoveUnalignedDst/512-4 885294 121.9 ns/op 4199.27 MB/s BenchmarkMemmoveUnalignedDst/1024-4 500409 228.6 ns/op 4479.53 MB/s BenchmarkMemmoveUnalignedDst/2048-4 289954 389.1 ns/op 5263.80 MB/s BenchmarkMemmoveUnalignedDst/4096-4 167280 711.8 ns/op 5754.04 MB/s BenchmarkMemmoveUnalignedDstOverlap/32-4 2264991 51.98 ns/op 615.58 MB/s BenchmarkMemmoveUnalignedDstOverlap/64-4 2117293 55.69 ns/op 1149.25 MB/s BenchmarkMemmoveUnalignedDstOverlap/128-4 1836170 64.52 ns/op 1983.78 MB/s BenchmarkMemmoveUnalignedDstOverlap/256-4 1419294 86.20 ns/op 2969.78 MB/s BenchmarkMemmoveUnalignedDstOverlap/512-4 928888 124.5 ns/op 4112.34 MB/s BenchmarkMemmoveUnalignedDstOverlap/1024-4 518829 221.4 ns/op 4624.34 MB/s BenchmarkMemmoveUnalignedDstOverlap/2048-4 300348 382.8 ns/op 5350.71 MB/s BenchmarkMemmoveUnalignedDstOverlap/4096-4 160262 704.9 ns/op 5810.75 MB/s BenchmarkMemmoveUnalignedSrc/0-4 20824699 5.513 ns/op BenchmarkMemmoveUnalignedSrc/1-4 2632888 47.51 ns/op 21.05 MB/s BenchmarkMemmoveUnalignedSrc/2-4 2463518 48.88 ns/op 40.92 MB/s BenchmarkMemmoveUnalignedSrc/3-4 2503614 45.53 ns/op 65.89 MB/s BenchmarkMemmoveUnalignedSrc/4-4 2596684 45.81 ns/op 87.31 MB/s BenchmarkMemmoveUnalignedSrc/5-4 2654290 47.01 ns/op 106.36 MB/s BenchmarkMemmoveUnalignedSrc/6-4 2640207 47.60 ns/op 126.06 MB/s BenchmarkMemmoveUnalignedSrc/7-4 2664213 45.03 ns/op 155.46 MB/s BenchmarkMemmoveUnalignedSrc/8-4 2523622 47.02 ns/op 170.13 MB/s BenchmarkMemmoveUnalignedSrc/9-4 2567962 45.83 ns/op 196.39 MB/s BenchmarkMemmoveUnalignedSrc/10-4 2445778 48.58 ns/op 205.83 MB/s BenchmarkMemmoveUnalignedSrc/11-4 2621671 45.60 ns/op 241.23 MB/s BenchmarkMemmoveUnalignedSrc/12-4 2463766 48.02 ns/op 249.90 MB/s BenchmarkMemmoveUnalignedSrc/13-4 2413494 46.80 ns/op 277.75 MB/s BenchmarkMemmoveUnalignedSrc/14-4 2627040 47.53 ns/op 294.53 MB/s BenchmarkMemmoveUnalignedSrc/15-4 2515862 48.52 ns/op 309.16 MB/s BenchmarkMemmoveUnalignedSrc/16-4 2414138 49.91 ns/op 320.59 MB/s BenchmarkMemmoveUnalignedSrc/32-4 2434209 52.90 ns/op 604.90 MB/s BenchmarkMemmoveUnalignedSrc/64-4 2165103 56.35 ns/op 1135.70 MB/s BenchmarkMemmoveUnalignedSrc/128-4 1910410 65.59 ns/op 1951.57 MB/s BenchmarkMemmoveUnalignedSrc/256-4 1458164 83.29 ns/op 3073.76 MB/s BenchmarkMemmoveUnalignedSrc/512-4 962418 122.9 ns/op 4165.91 MB/s BenchmarkMemmoveUnalignedSrc/1024-4 515132 226.4 ns/op 4523.14 MB/s BenchmarkMemmoveUnalignedSrc/2048-4 309199 384.5 ns/op 5326.51 MB/s BenchmarkMemmoveUnalignedSrc/4096-4 165584 704.4 ns/op 5814.76 MB/s BenchmarkMemmoveUnalignedSrcOverlap/32-4 2333919 51.66 ns/op 619.41 MB/s BenchmarkMemmoveUnalignedSrcOverlap/64-4 2162186 55.54 ns/op 1152.33 MB/s BenchmarkMemmoveUnalignedSrcOverlap/128-4 1914866 63.43 ns/op 2018.10 MB/s BenchmarkMemmoveUnalignedSrcOverlap/256-4 1447893 83.54 ns/op 3064.58 MB/s BenchmarkMemmoveUnalignedSrcOverlap/512-4 878456 121.6 ns/op 4210.77 MB/s BenchmarkMemmoveUnalignedSrcOverlap/1024-4 522058 227.1 ns/op 4509.19 MB/s BenchmarkMemmoveUnalignedSrcOverlap/2048-4 309070 385.4 ns/op 5314.31 MB/s BenchmarkMemmoveUnalignedSrcOverlap/4096-4 168010 708.0 ns/op 5785.34 MB/s BenchmarkMemclr/5-4 21412255 5.567 ns/op 898.18 MB/s BenchmarkMemclr/16-4 20328240 5.857 ns/op 2731.79 MB/s BenchmarkMemclr/64-4 18151332 6.663 ns/op 9605.24 MB/s BenchmarkMemclr/256-4 15875634 7.490 ns/op 34180.21 MB/s BenchmarkMemclr/4096-4 3689355 32.23 ns/op 127084.10 MB/s BenchmarkMemclr/65536-4 114212 1024 ns/op 63986.12 MB/s BenchmarkMemclr/1M-4 6951 16698 ns/op 62798.37 MB/s BenchmarkMemclr/4M-4 830 148617 ns/op 28222.33 MB/s BenchmarkMemclr/8M-4 403 289145 ns/op 29011.75 MB/s BenchmarkMemclr/16M-4 134 875433 ns/op 19164.49 MB/s BenchmarkMemclr/64M-4 45 2449265 ns/op 27399.59 MB/s BenchmarkMemclrUnaligned/0_5-4 10956002 10.73 ns/op 465.81 MB/s BenchmarkMemclrUnaligned/0_16-4 10783480 11.33 ns/op 1411.93 MB/s BenchmarkMemclrUnaligned/0_64-4 9878017 11.96 ns/op 5353.03 MB/s BenchmarkMemclrUnaligned/0_256-4 9522877 12.66 ns/op 20217.05 MB/s BenchmarkMemclrUnaligned/0_4096-4 3114650 37.49 ns/op 109243.58 MB/s BenchmarkMemclrUnaligned/0_65536-4 117490 1022 ns/op 64096.60 MB/s BenchmarkMemclrUnaligned/1_5-4 10941482 10.80 ns/op 462.76 MB/s BenchmarkMemclrUnaligned/1_16-4 10756010 11.23 ns/op 1424.38 MB/s BenchmarkMemclrUnaligned/1_64-4 10141371 11.81 ns/op 5419.71 MB/s BenchmarkMemclrUnaligned/1_256-4 9355712 12.69 ns/op 20179.86 MB/s BenchmarkMemclrUnaligned/1_4096-4 1806324 66.10 ns/op 61968.34 MB/s BenchmarkMemclrUnaligned/1_65536-4 109502 1091 ns/op 60050.75 MB/s BenchmarkMemclrUnaligned/4_5-4 10717575 10.85 ns/op 460.86 MB/s BenchmarkMemclrUnaligned/4_16-4 10736962 11.27 ns/op 1419.22 MB/s BenchmarkMemclrUnaligned/4_64-4 9998096 12.02 ns/op 5324.70 MB/s BenchmarkMemclrUnaligned/4_256-4 9298887 12.53 ns/op 20425.93 MB/s BenchmarkMemclrUnaligned/4_4096-4 2016428 59.54 ns/op 68795.94 MB/s BenchmarkMemclrUnaligned/4_65536-4 109507 1089 ns/op 60202.35 MB/s BenchmarkMemclrUnaligned/7_5-4 11235195 10.93 ns/op 457.34 MB/s BenchmarkMemclrUnaligned/7_16-4 10127673 11.31 ns/op 1415.28 MB/s BenchmarkMemclrUnaligned/7_64-4 10176096 11.81 ns/op 5418.44 MB/s BenchmarkMemclrUnaligned/7_256-4 8763411 12.83 ns/op 19957.90 MB/s BenchmarkMemclrUnaligned/7_4096-4 2019067 66.49 ns/op 61600.70 MB/s BenchmarkMemclrUnaligned/7_65536-4 109874 1088 ns/op 60250.61 MB/s BenchmarkMemclrUnaligned/0_1M-4 6802 16668 ns/op 62908.25 MB/s BenchmarkMemclrUnaligned/0_4M-4 820 140794 ns/op 29790.41 MB/s BenchmarkMemclrUnaligned/0_8M-4 373 292293 ns/op 28699.27 MB/s BenchmarkMemclrUnaligned/0_16M-4 188 610720 ns/op 27471.19 MB/s BenchmarkMemclrUnaligned/0_64M-4 48 2384158 ns/op 28147.83 MB/s BenchmarkMemclrUnaligned/1_1M-4 6510 17348 ns/op 60441.90 MB/s BenchmarkMemclrUnaligned/1_4M-4 806 143824 ns/op 29162.71 MB/s BenchmarkMemclrUnaligned/1_8M-4 363 294039 ns/op 28528.90 MB/s BenchmarkMemclrUnaligned/1_16M-4 200 615796 ns/op 27244.75 MB/s BenchmarkMemclrUnaligned/1_64M-4 48 2478024 ns/op 27081.60 MB/s BenchmarkMemclrUnaligned/4_1M-4 6222 17945 ns/op 58432.18 MB/s BenchmarkMemclrUnaligned/4_4M-4 832 146809 ns/op 28569.75 MB/s BenchmarkMemclrUnaligned/4_8M-4 378 300295 ns/op 27934.54 MB/s BenchmarkMemclrUnaligned/4_16M-4 174 635759 ns/op 26389.27 MB/s BenchmarkMemclrUnaligned/4_64M-4 42 2490864 ns/op 26942.00 MB/s BenchmarkMemclrUnaligned/7_1M-4 6333 17884 ns/op 58631.84 MB/s BenchmarkMemclrUnaligned/7_4M-4 733 161306 ns/op 26002.11 MB/s BenchmarkMemclrUnaligned/7_8M-4 356 320117 ns/op 26204.78 MB/s BenchmarkMemclrUnaligned/7_16M-4 154 692131 ns/op 24239.94 MB/s BenchmarkMemclrUnaligned/7_64M-4 42 2465027 ns/op 27224.40 MB/s BenchmarkGoMemclr/5-4 3704692 31.93 ns/op 156.60 MB/s BenchmarkGoMemclr/16-4 870523 127.8 ns/op 125.23 MB/s BenchmarkGoMemclr/64-4 225418 512.0 ns/op 125.00 MB/s BenchmarkGoMemclr/256-4 59680 2042 ns/op 125.34 MB/s BenchmarkMemclrRange/1K_2K-4 119142 1008 ns/op 95113.23 MB/s BenchmarkMemclrRange/2K_8K-4 45787 2626 ns/op 127009.71 MB/s BenchmarkMemclrRange/4K_16K-4 58906 2017 ns/op 160183.75 MB/s BenchmarkMemclrRange/160K_228K-4 4650 25765 ns/op 64540.22 MB/s BenchmarkClearFat7-4 9584602 12.62 ns/op BenchmarkClearFat8-4 10737010 11.30 ns/op BenchmarkClearFat11-4 8848671 12.92 ns/op BenchmarkClearFat12-4 9456703 12.67 ns/op BenchmarkClearFat13-4 9386859 12.65 ns/op BenchmarkClearFat14-4 9528735 12.33 ns/op BenchmarkClearFat15-4 9405026 12.85 ns/op BenchmarkClearFat16-4 9989456 11.88 ns/op BenchmarkClearFat24-4 9157641 12.65 ns/op BenchmarkClearFat32-4 9156721 13.36 ns/op BenchmarkClearFat40-4 8504858 13.51 ns/op BenchmarkClearFat48-4 8785858 13.93 ns/op BenchmarkClearFat56-4 7798783 14.95 ns/op BenchmarkClearFat64-4 7620360 15.69 ns/op BenchmarkClearFat72-4 7331896 16.44 ns/op BenchmarkClearFat128-4 5722005 21.31 ns/op BenchmarkClearFat256-4 3838189 31.12 ns/op BenchmarkClearFat512-4 2334252 51.61 ns/op BenchmarkClearFat1024-4 1000000 105.8 ns/op BenchmarkClearFat1032-4 1000000 106.4 ns/op BenchmarkClearFat1040-4 1000000 113.8 ns/op BenchmarkCopyFat7-4 9069423 12.68 ns/op BenchmarkCopyFat8-4 10270224 11.07 ns/op BenchmarkCopyFat11-4 9100255 12.53 ns/op BenchmarkCopyFat12-4 9240121 12.63 ns/op BenchmarkCopyFat13-4 9254109 12.60 ns/op BenchmarkCopyFat14-4 9459890 13.01 ns/op BenchmarkCopyFat15-4 9468661 12.90 ns/op BenchmarkCopyFat16-4 10231892 11.46 ns/op BenchmarkCopyFat24-4 9374022 12.16 ns/op BenchmarkCopyFat32-4 9060723 13.30 ns/op BenchmarkCopyFat64-4 7306718 15.87 ns/op BenchmarkCopyFat72-4 6949646 16.36 ns/op BenchmarkCopyFat128-4 5415178 21.95 ns/op BenchmarkCopyFat256-4 3632169 33.67 ns/op BenchmarkCopyFat512-4 2135686 55.74 ns/op BenchmarkCopyFat520-4 2130822 56.97 ns/op BenchmarkCopyFat1024-4 1000000 115.8 ns/op BenchmarkCopyFat1032-4 1000000 115.3 ns/op BenchmarkCopyFat1040-4 1000000 114.5 ns/op BenchmarkIssue18740/2byte-4 642 188434 ns/op BenchmarkIssue18740/4byte-4 1048 114564 ns/op BenchmarkIssue18740/8byte-4 1437 81128 ns/op BenchmarkMemclrKnownSize1-4 15066338 7.918 ns/op 126.29 MB/s BenchmarkMemclrKnownSize2-4 9129746 13.35 ns/op 149.77 MB/s BenchmarkMemclrKnownSize4-4 5405360 21.96 ns/op 182.18 MB/s BenchmarkMemclrKnownSize8-4 1785757 66.31 ns/op 120.64 MB/s BenchmarkMemclrKnownSize16-4 879274 130.4 ns/op 122.74 MB/s BenchmarkMemclrKnownSize32-4 431338 264.8 ns/op 120.84 MB/s BenchmarkMemclrKnownSize64-4 235575 502.0 ns/op 127.50 MB/s BenchmarkMemclrKnownSize112-4 130579 898.1 ns/op 124.71 MB/s BenchmarkMemclrKnownSize128-4 101187 989.0 ns/op 129.43 MB/s BenchmarkMemclrKnownSize192-4 78517 1488 ns/op 129.02 MB/s BenchmarkMemclrKnownSize248-4 60357 1959 ns/op 126.59 MB/s BenchmarkMemclrKnownSize256-4 59704 1957 ns/op 130.79 MB/s BenchmarkMemclrKnownSize512-4 30160 3946 ns/op 129.74 MB/s BenchmarkMemclrKnownSize1024-4 14904 7880 ns/op 129.94 MB/s BenchmarkMemclrKnownSize4096-4 3738 33794 ns/op 121.20 MB/s BenchmarkMemclrKnownSize512KiB-4 27 4306685 ns/op 121.74 MB/s BenchmarkReadMetricsLatency-4 17282 2887 p50-ns 6678 p90-ns 15812 p99-ns BenchmarkFinalizer-4 252 479459 ns/op BenchmarkFinalizerRun-4 316161 563.1 ns/op BenchmarkPallocBitsSummarize/Unpacked00-4 11517786 9.349 ns/op BenchmarkPallocBitsSummarize/UnpackedFFFFFFFFFFFFFFFF-4 4295329 27.77 ns/op BenchmarkPallocBitsSummarize/UnpackedAA-4 3423097 34.42 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAAAAAAAAAA-4 3421322 35.20 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000AAAAAAAA-4 1928814 61.79 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAA00000001-4 1749866 68.60 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBBBBBBBBBB-4 3143143 37.68 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000BBBBBBBB-4 1829755 65.18 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBB00000001-4 1949065 61.20 ns/op BenchmarkPallocBitsSummarize/UnpackedCCCCCCCCCCCCCCCC-4 2880626 41.76 ns/op BenchmarkPallocBitsSummarize/Unpacked4444444444444444-4 2862852 41.58 ns/op BenchmarkPallocBitsSummarize/Unpacked4040404040404040-4 2490187 47.53 ns/op BenchmarkPallocBitsSummarize/Unpacked4000400040004000-4 2183618 54.66 ns/op BenchmarkPallocBitsSummarize/Unpacked1000404044CCAAFF-4 1926763 62.35 ns/op BenchmarkFindBitRange64/Pattern00Size2-4 8433178 14.50 ns/op BenchmarkFindBitRange64/Pattern00Size8-4 8410374 14.20 ns/op BenchmarkFindBitRange64/Pattern00Size32-4 8348169 14.23 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize2-4 8634085 13.90 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize8-4 7725331 15.49 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize32-4 6867739 17.20 ns/op BenchmarkFindBitRange64/PatternAASize2-4 8664231 13.87 ns/op BenchmarkFindBitRange64/PatternAASize8-4 8444842 14.08 ns/op BenchmarkFindBitRange64/PatternAASize32-4 8392114 14.16 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize2-4 8519053 13.92 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize8-4 8342762 14.14 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize32-4 8500743 14.19 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize2-4 8555424 13.86 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize8-4 8438469 14.13 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize32-4 8346510 14.35 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size2-4 8337276 14.17 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size8-4 8413909 14.23 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size32-4 8390558 14.35 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize2-4 8457950 14.20 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize8-4 7420426 15.96 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize32-4 7522810 15.89 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize2-4 8283614 14.19 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize8-4 7577947 15.90 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize32-4 7538293 16.03 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size2-4 8667972 13.94 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size8-4 7536543 15.93 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size32-4 7526326 15.95 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize2-4 8548448 13.83 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize8-4 7457755 15.90 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize32-4 7418535 15.94 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size2-4 8605094 13.94 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size8-4 8502327 14.22 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size32-4 8468889 14.14 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size2-4 8551966 13.96 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size8-4 8411955 14.27 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size32-4 8308275 14.09 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size2-4 8548485 13.98 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size8-4 8490879 14.23 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size32-4 8323948 14.16 ns/op BenchmarkNetpollBreak-4 4608 23754 ns/op BenchmarkPinnerPinUnpinBatch-4 1374 79225 ns/op BenchmarkPinnerPinUnpinBatchDouble-4 277 425516 ns/op BenchmarkPinnerPinUnpinBatchTiny-4 1562 78647 ns/op BenchmarkPinnerPinUnpin-4 1808246 65.93 ns/op BenchmarkPinnerPinUnpinTiny-4 1811002 65.98 ns/op BenchmarkPinnerPinUnpinDouble-4 660021 177.6 ns/op BenchmarkPinnerPinUnpinParallel-4 5621797 22.78 ns/op BenchmarkPinnerPinUnpinParallelTiny-4 5589406 20.35 ns/op BenchmarkPinnerPinUnpinParallelDouble-4 338260 405.8 ns/op BenchmarkPinnerIsPinnedOnPinned-4 9150566 12.57 ns/op BenchmarkPinnerIsPinnedOnUnpinned-4 9281500 12.20 ns/op BenchmarkPinnerIsPinnedOnPinnedParallel-4 14395672 8.372 ns/op BenchmarkPinnerIsPinnedOnUnpinnedParallel-4 12678116 9.529 ns/op BenchmarkPingPongHog-4 346 336780 ns/op BenchmarkStackGrowth-4 198700 579.7 ns/op BenchmarkStackGrowthDeep-4 1986 69614 ns/op BenchmarkCreateGoroutines-4 57543 1803 ns/op BenchmarkCreateGoroutinesParallel-4 49855 2323 ns/op BenchmarkCreateGoroutinesCapture-4 10000 10059 ns/op 144 B/op 5 allocs/op BenchmarkCreateGoroutinesSingle-4 48602 2337 ns/op BenchmarkClosureCall-4 27876169 4.299 ns/op BenchmarkWakeupParallelSpinning/0s-4 8556 16925 ns/op BenchmarkWakeupParallelSpinning/1µs-4 5542 20946 ns/op BenchmarkWakeupParallelSpinning/2µs-4 5367 22006 ns/op BenchmarkWakeupParallelSpinning/5µs-4 3502 34447 ns/op BenchmarkWakeupParallelSpinning/10µs-4 2212 54905 ns/op BenchmarkWakeupParallelSpinning/20µs-4 1278 93083 ns/op BenchmarkWakeupParallelSpinning/50µs-4 661 185949 ns/op BenchmarkWakeupParallelSpinning/100µs-4 346 333172 ns/op BenchmarkWakeupParallelSyscall/0s-4 819 143784 ns/op BenchmarkWakeupParallelSyscall/1µs-4 829 147300 ns/op BenchmarkWakeupParallelSyscall/2µs-4 814 146328 ns/op BenchmarkWakeupParallelSyscall/5µs-4 790 155788 ns/op BenchmarkWakeupParallelSyscall/10µs-4 728 162217 ns/op BenchmarkWakeupParallelSyscall/20µs-4 636 186832 ns/op BenchmarkWakeupParallelSyscall/50µs-4 481 250902 ns/op BenchmarkWakeupParallelSyscall/100µs-4 331 361299 ns/op BenchmarkMatmult-4 3250885 33.41 ns/op BenchmarkFastrand-4 16162138 7.087 ns/op BenchmarkFastrand64-4 16980464 5.922 ns/op BenchmarkFastrandHashiter-4 6066093 19.52 ns/op BenchmarkFastrandn/2-4 8901864 13.52 ns/op BenchmarkFastrandn/3-4 9314332 12.70 ns/op BenchmarkFastrandn/4-4 9359857 12.73 ns/op BenchmarkFastrandn/5-4 9284337 12.67 ns/op BenchmarkIfaceCmp100-4 128319 908.6 ns/op BenchmarkIfaceCmpNil100-4 240498 485.4 ns/op BenchmarkEfaceCmpDiff-4 50853 2358 ns/op BenchmarkEfaceCmpDiffIndirect-4 48303 2471 ns/op BenchmarkDefer-4 2469283 48.55 ns/op BenchmarkDefer10-4 1000000 110.2 ns/op BenchmarkDeferMany-4 553951 358.3 ns/op BenchmarkPanicRecover-4 271518 431.4 ns/op BenchmarkGoroutineProfile/small-nil/idle-4 10000 12494 ns/op 11800 p50-ns 15973 p90-ns 29707 p99-ns BenchmarkGoroutineProfile/small-nil/loaded-4 10000 14588 ns/op 11269 p50-ns 13946 p90-ns 73237 p99-ns BenchmarkGoroutineProfile/small/idle-4 4174 38251 ns/op 28202 p50-ns 50647 p90-ns 66012 p99-ns BenchmarkGoroutineProfile/small/loaded-4 968 256558 ns/op 111880 p50-ns 290466 p90-ns 3245350 p99-ns BenchmarkGoroutineProfile/large-nil/idle-4 10000 11389 ns/op 11025 p50-ns 13377 p90-ns 26736 p99-ns BenchmarkGoroutineProfile/large-nil/loaded-4 9616 16491 ns/op 11365 p50-ns 15344 p90-ns 84747 p99-ns BenchmarkGoroutineProfile/large/idle-4 15 7265444 ns/op 7190839 p50-ns 7252554 p90-ns 8361509 p99-ns BenchmarkGoroutineProfile/large/loaded-4 10 13439948 ns/op 14109975 p50-ns 24634519 p90-ns 24634519 p99-ns BenchmarkGoroutineProfile/sparse-nil/idle-4 10000 12272 ns/op 11214 p50-ns 14912 p90-ns 23496 p99-ns BenchmarkGoroutineProfile/sparse-nil/loaded-4 8424 17475 ns/op 11484 p50-ns 15638 p90-ns 182653 p99-ns BenchmarkGoroutineProfile/sparse/idle-4 1543 76943 ns/op 73961 p50-ns 81585 p90-ns 119888 p99-ns BenchmarkGoroutineProfile/sparse/loaded-4 532 323129 ns/op 205853 p50-ns 244276 p90-ns 4196638 p99-ns BenchmarkRWMutexUncontended-4 3878713 29.29 ns/op BenchmarkRWMutexWrite100-4 1000000 101.8 ns/op BenchmarkRWMutexWrite10-4 224421 553.1 ns/op BenchmarkRWMutexWorkWrite100-4 577612 175.7 ns/op BenchmarkRWMutexWorkWrite10-4 210988 961.9 ns/op BenchmarkSemTable/OneAddrCollision/n=1000-4 2690 44211 ns/op BenchmarkSemTable/ManyAddrCollision/n=1000-4 1140 104636 ns/op BenchmarkSemTable/OneAddrCollision/n=2000-4 1414 82525 ns/op BenchmarkSemTable/ManyAddrCollision/n=2000-4 538 214941 ns/op BenchmarkSemTable/OneAddrCollision/n=4000-4 694 166249 ns/op BenchmarkSemTable/ManyAddrCollision/n=4000-4 250 445100 ns/op BenchmarkSemTable/OneAddrCollision/n=8000-4 348 333120 ns/op BenchmarkSemTable/ManyAddrCollision/n=8000-4 123 919146 ns/op BenchmarkMakeSliceCopy/mallocmove/Byte-4 390446 310.2 ns/op BenchmarkMakeSliceCopy/mallocmove/Int-4 391536 293.5 ns/op BenchmarkMakeSliceCopy/mallocmove/Ptr-4 362272 324.5 ns/op BenchmarkMakeSliceCopy/makecopy/Byte-4 315966 319.4 ns/op BenchmarkMakeSliceCopy/makecopy/Int-4 381316 349.0 ns/op BenchmarkMakeSliceCopy/makecopy/Ptr-4 337791 354.3 ns/op BenchmarkMakeSliceCopy/nilappend/Byte-4 335454 348.2 ns/op BenchmarkMakeSliceCopy/nilappend/Int-4 341806 347.9 ns/op BenchmarkMakeSliceCopy/nilappend/Ptr-4 340545 386.0 ns/op BenchmarkMakeSlice/Byte-4 2804188 43.18 ns/op BenchmarkMakeSlice/Int16-4 2786559 45.40 ns/op BenchmarkMakeSlice/Int-4 1958521 66.47 ns/op BenchmarkMakeSlice/Ptr-4 1573923 70.61 ns/op BenchmarkMakeSlice/Struct/24-4 1000000 106.3 ns/op BenchmarkMakeSlice/Struct/32-4 930364 122.5 ns/op BenchmarkMakeSlice/Struct/40-4 703947 156.9 ns/op BenchmarkGrowSlice/Byte-4 1000000 110.4 ns/op BenchmarkGrowSlice/Int16-4 1000000 118.1 ns/op BenchmarkGrowSlice/Int-4 860794 162.4 ns/op BenchmarkGrowSlice/Ptr-4 698229 182.7 ns/op BenchmarkGrowSlice/Struct/24-4 382172 282.2 ns/op BenchmarkGrowSlice/Struct/32-4 370566 344.0 ns/op BenchmarkGrowSlice/Struct/40-4 234576 452.7 ns/op BenchmarkExtendSlice/IntSlice-4 712484 171.5 ns/op BenchmarkExtendSlice/PointerSlice-4 623318 212.2 ns/op BenchmarkExtendSlice/NoGrow-4 1000000 102.1 ns/op BenchmarkAppend-4 1476925 81.91 ns/op BenchmarkAppendGrowByte-4 5 25370797 ns/op BenchmarkAppendGrowString-4 1 307159520 ns/op BenchmarkAppendSlice/1Bytes-4 2551189 48.31 ns/op BenchmarkAppendSlice/4Bytes-4 2416207 48.63 ns/op BenchmarkAppendSlice/7Bytes-4 2394146 51.26 ns/op BenchmarkAppendSlice/8Bytes-4 2379472 49.17 ns/op BenchmarkAppendSlice/15Bytes-4 2307271 48.34 ns/op BenchmarkAppendSlice/16Bytes-4 2457093 50.24 ns/op BenchmarkAppendSlice/32Bytes-4 2326317 52.27 ns/op BenchmarkAppendSliceLarge/1024Bytes-4 89128 1202 ns/op BenchmarkAppendSliceLarge/4096Bytes-4 25392 5028 ns/op BenchmarkAppendSliceLarge/16384Bytes-4 6556 19399 ns/op BenchmarkAppendSliceLarge/65536Bytes-4 1532 71000 ns/op BenchmarkAppendSliceLarge/262144Bytes-4 139 826161 ns/op BenchmarkAppendSliceLarge/1048576Bytes-4 31 3806916 ns/op BenchmarkAppendStr/1Bytes-4 2028481 58.55 ns/op BenchmarkAppendStr/4Bytes-4 2051484 58.02 ns/op BenchmarkAppendStr/8Bytes-4 2031525 58.30 ns/op BenchmarkAppendStr/16Bytes-4 2009538 58.94 ns/op BenchmarkAppendStr/32Bytes-4 1988185 59.96 ns/op BenchmarkAppendSpecialCase-4 1288510 92.42 ns/op BenchmarkCopy/1Byte-4 2480407 47.31 ns/op 21.14 MB/s BenchmarkCopy/1String-4 2530506 48.22 ns/op 20.74 MB/s BenchmarkCopy/2Byte-4 2510914 46.93 ns/op 42.62 MB/s BenchmarkCopy/2String-4 2676307 44.83 ns/op 44.61 MB/s BenchmarkCopy/4Byte-4 2548723 46.87 ns/op 85.35 MB/s BenchmarkCopy/4String-4 2542672 47.28 ns/op 84.61 MB/s BenchmarkCopy/8Byte-4 2513208 46.67 ns/op 171.43 MB/s BenchmarkCopy/8String-4 2628370 45.14 ns/op 177.24 MB/s BenchmarkCopy/12Byte-4 2478698 48.09 ns/op 249.54 MB/s BenchmarkCopy/12String-4 2373716 50.13 ns/op 239.40 MB/s BenchmarkCopy/16Byte-4 2433301 48.01 ns/op 333.27 MB/s BenchmarkCopy/16String-4 2481807 48.03 ns/op 333.14 MB/s BenchmarkCopy/32Byte-4 2418840 50.83 ns/op 629.59 MB/s BenchmarkCopy/32String-4 2441196 51.95 ns/op 616.03 MB/s BenchmarkCopy/128Byte-4 1949901 62.52 ns/op 2047.24 MB/s BenchmarkCopy/128String-4 1831105 65.53 ns/op 1953.42 MB/s BenchmarkCopy/1024Byte-4 476232 225.1 ns/op 4549.92 MB/s BenchmarkCopy/1024String-4 465081 257.9 ns/op 3970.26 MB/s BenchmarkAppendInPlace/NoGrow/Byte-4 45663 2473 ns/op BenchmarkAppendInPlace/NoGrow/1Ptr-4 26464 4592 ns/op BenchmarkAppendInPlace/NoGrow/2Ptr-4 15772 7547 ns/op BenchmarkAppendInPlace/NoGrow/3Ptr-4 12786 9690 ns/op BenchmarkAppendInPlace/NoGrow/4Ptr-4 10000 13377 ns/op BenchmarkAppendInPlace/Grow/Byte-4 202075 601.7 ns/op BenchmarkAppendInPlace/Grow/1Ptr-4 194331 612.4 ns/op BenchmarkAppendInPlace/Grow/2Ptr-4 129918 845.8 ns/op BenchmarkAppendInPlace/Grow/3Ptr-4 114621 1046 ns/op BenchmarkAppendInPlace/Grow/4Ptr-4 106647 1068 ns/op BenchmarkStackCopyPtr-4 1 128567077 ns/op BenchmarkStackCopy-4 2 80209361 ns/op BenchmarkStackCopyNoCache-4 31 3852721 ns/op BenchmarkStackCopyWithStkobj-4 2 76373412 ns/op BenchmarkIssue18138-4 1198 98438 ns/op BenchmarkCompareStringEqual-4 17474917 6.343 ns/op BenchmarkCompareStringIdentical-4 24324063 4.897 ns/op BenchmarkCompareStringSameLength-4 21084457 5.887 ns/op BenchmarkCompareStringDifferentLength-4 27945950 4.285 ns/op BenchmarkCompareStringBigUnaligned-4 1393 74333 ns/op 14106.55 MB/s BenchmarkCompareStringBig-4 2223 68538 ns/op 15299.39 MB/s BenchmarkConcatStringAndBytes-4 3104320 39.36 ns/op BenchmarkSliceByteToString/1-4 3363855 36.98 ns/op BenchmarkSliceByteToString/2-4 1574151 72.73 ns/op BenchmarkSliceByteToString/4-4 1679064 72.60 ns/op BenchmarkSliceByteToString/8-4 1692224 77.75 ns/op BenchmarkSliceByteToString/16-4 1593700 73.83 ns/op BenchmarkSliceByteToString/32-4 1310395 89.64 ns/op BenchmarkSliceByteToString/64-4 1000000 113.2 ns/op BenchmarkSliceByteToString/128-4 744298 163.8 ns/op BenchmarkRuneCount/lenruneslice/ASCII-4 3463814 34.45 ns/op BenchmarkRuneCount/lenruneslice/Japanese-4 1256077 94.73 ns/op BenchmarkRuneCount/lenruneslice/MixedLength-4 1491403 80.52 ns/op BenchmarkRuneCount/rangeloop/ASCII-4 4668829 25.93 ns/op BenchmarkRuneCount/rangeloop/Japanese-4 2288814 52.28 ns/op BenchmarkRuneCount/rangeloop/MixedLength-4 2615509 45.84 ns/op BenchmarkRuneCount/utf8.RuneCountInString/ASCII-4 3312086 36.12 ns/op BenchmarkRuneCount/utf8.RuneCountInString/Japanese-4 605257 182.0 ns/op BenchmarkRuneCount/utf8.RuneCountInString/MixedLength-4 755013 148.2 ns/op BenchmarkRuneIterate/range/ASCII-4 9120114 13.56 ns/op BenchmarkRuneIterate/range/Japanese-4 2910114 40.73 ns/op BenchmarkRuneIterate/range/MixedLength-4 3398062 34.34 ns/op BenchmarkRuneIterate/range1/ASCII-4 9091444 13.42 ns/op BenchmarkRuneIterate/range1/Japanese-4 2965939 39.62 ns/op BenchmarkRuneIterate/range1/MixedLength-4 3410408 34.05 ns/op BenchmarkRuneIterate/range2/ASCII-4 8834514 14.08 ns/op BenchmarkRuneIterate/range2/Japanese-4 2897322 40.35 ns/op BenchmarkRuneIterate/range2/MixedLength-4 3356101 35.06 ns/op BenchmarkArrayEqual-4 27570931 4.298 ns/op BenchmarkFunc/Name-4 4363882 26.85 ns/op BenchmarkFunc/Entry-4 16407440 7.300 ns/op BenchmarkFunc/FileLine-4 2286927 50.71 ns/op PASS ok runtime 141.461s goos: linux goarch: amd64 pkg: runtime/cgo cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHandle/non-concurrent-4 35306 3464 ns/op BenchmarkHandle/concurrent-4 18787 5787 ns/op PASS ok runtime/cgo 1.463s goos: linux goarch: amd64 pkg: runtime/internal/atomic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAtomicLoad64-4 28557666 4.029 ns/op BenchmarkAtomicStore64-4 14277122 8.390 ns/op BenchmarkAtomicLoad-4 30111184 4.039 ns/op BenchmarkAtomicStore-4 14674927 8.284 ns/op BenchmarkAnd8-4 14321420 8.331 ns/op BenchmarkAnd-4 13846926 8.359 ns/op BenchmarkAnd8Parallel-4 3517678 37.50 ns/op BenchmarkAndParallel-4 3458229 36.46 ns/op BenchmarkOr8-4 14239004 8.273 ns/op BenchmarkOr-4 14015815 8.381 ns/op BenchmarkOr8Parallel-4 3648595 36.59 ns/op BenchmarkOrParallel-4 3614247 35.57 ns/op BenchmarkXadd-4 3094414 41.04 ns/op BenchmarkXadd64-4 3216073 38.04 ns/op BenchmarkCas-4 2397816 50.15 ns/op BenchmarkCas64-4 2319596 50.50 ns/op BenchmarkXchg-4 3309889 37.33 ns/op BenchmarkXchg64-4 3393235 40.06 ns/op PASS ok runtime/internal/atomic 3.715s goos: linux goarch: amd64 pkg: runtime/internal/math cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMulUintptr/small-4 5692561 21.15 ns/op BenchmarkMulUintptr/large-4 4729432 25.38 ns/op PASS ok runtime/internal/math 1.306s goos: linux goarch: amd64 pkg: runtime/pprof cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkGoroutine/Profile.WriteTo_idle_50-4 22 4876642 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_50-4 20 7072681 ns/op 815.4 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_50-4 1334 84900 ns/op 5.109 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_500-4 13 9621686 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_500-4 9 12914190 ns/op 1225 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_500-4 211 727828 ns/op 62.90 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_5000-4 2 56072753 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_5000-4 2 83854846 ns/op 7322 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_5000-4 15 8019820 ns/op 859.3 concurrent_launches/op PASS ok runtime/pprof 2.890s goos: linux goarch: amd64 pkg: runtime/race cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSyncLeak-4 45 2243536 ns/op BenchmarkStackLeak-4 28486 4064 ns/op PASS ok runtime/race 1.506s goos: linux goarch: amd64 pkg: runtime/trace cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStartRegion-4 5940428 17.78 ns/op 0 B/op 0 allocs/op BenchmarkNewTask-4 350464 316.8 ns/op 64 B/op 2 allocs/op PASS ok runtime/trace 1.359s goos: linux goarch: amd64 pkg: slices cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEqualFunc_Large-4 28 4130253 ns/op BenchmarkIndex_Large-4 23557 4902 ns/op BenchmarkIndexFunc_Large-4 67 1597456 ns/op BenchmarkCompact/nil-4 10499112 11.97 ns/op BenchmarkCompact/one-4 2397843 49.18 ns/op BenchmarkCompact/sorted-4 1563003 76.42 ns/op BenchmarkCompact/1_item-4 1401487 85.34 ns/op BenchmarkCompact/unsorted-4 1595815 76.15 ns/op BenchmarkCompact/many-4 887784 130.3 ns/op BenchmarkCompact_Large-4 818 140064 ns/op BenchmarkCompactFunc_Large-4 50 2114390 ns/op BenchmarkReplace/naive-fast-4 87951 1212 ns/op BenchmarkReplace/optimized-fast-4 105544 1104 ns/op BenchmarkReplace/naive-slow-4 34137 3506 ns/op BenchmarkReplace/optimized-slow-4 37490 3083 ns/op BenchmarkSortInts-4 2 73425612 ns/op BenchmarkSlicesSortInts-4 3 46221220 ns/op BenchmarkSlicesSortInts_Sorted-4 78 1573434 ns/op BenchmarkSlicesSortInts_Reversed-4 43 2451948 ns/op BenchmarkSortStrings-4 1 109950526 ns/op BenchmarkSlicesSortStrings-4 2 80251461 ns/op BenchmarkSortStructs-4 1 161757404 ns/op BenchmarkSortFuncStructs-4 1 130782103 ns/op BenchmarkBinarySearchFloats/Size16-4 1630107 73.37 ns/op BenchmarkBinarySearchFloats/Size32-4 1449804 82.94 ns/op BenchmarkBinarySearchFloats/Size64-4 1304464 93.98 ns/op BenchmarkBinarySearchFloats/Size128-4 1000000 104.0 ns/op BenchmarkBinarySearchFloats/Size512-4 900549 125.7 ns/op BenchmarkBinarySearchFloats/Size1024-4 869200 132.7 ns/op BenchmarkBinarySearchFuncStruct/Size16-4 715998 151.4 ns/op BenchmarkBinarySearchFuncStruct/Size32-4 606116 178.6 ns/op BenchmarkBinarySearchFuncStruct/Size64-4 575929 204.1 ns/op BenchmarkBinarySearchFuncStruct/Size128-4 480778 242.7 ns/op BenchmarkBinarySearchFuncStruct/Size512-4 411154 289.2 ns/op BenchmarkBinarySearchFuncStruct/Size1024-4 368498 318.6 ns/op PASS ok slices 15.780s goos: linux goarch: amd64 pkg: sort cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSearchWrappers-4 228652 499.8 ns/op BenchmarkSortString1K-4 225 505251 ns/op BenchmarkSortString1K_Slice-4 261 432942 ns/op BenchmarkStableString1K-4 136 851956 ns/op BenchmarkSortInt1K-4 277 427926 ns/op BenchmarkSortInt1K_Sorted-4 4152 30230 ns/op BenchmarkSortInt1K_Reversed-4 2548 45302 ns/op BenchmarkSortInt1K_Mod8-4 688 168354 ns/op BenchmarkStableInt1K-4 186 634178 ns/op BenchmarkStableInt1K_Slice-4 216 554495 ns/op BenchmarkSortInt64K-4 3 41036883 ns/op BenchmarkSortInt64K_Slice-4 3 34162308 ns/op BenchmarkStableInt64K-4 2 56668746 ns/op BenchmarkSort1e2-4 613 194925 ns/op BenchmarkStable1e2-4 234 645179 ns/op BenchmarkSort1e4-4 3 40070204 ns/op BenchmarkStable1e4-4 1 174372133 ns/op PASS ok sort 4.464s goos: linux goarch: amd64 pkg: strconv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAtof64Decimal-4 1158427 103.9 ns/op BenchmarkAtof64Float-4 997495 120.7 ns/op BenchmarkAtof64FloatExp-4 862615 134.3 ns/op BenchmarkAtof64Big-4 606504 188.1 ns/op BenchmarkAtof64RandomBits-4 574063 197.3 ns/op BenchmarkAtof64RandomFloats-4 568119 192.5 ns/op BenchmarkAtof64RandomLongFloats-4 406135 282.4 ns/op BenchmarkAtof32Decimal-4 1000000 104.9 ns/op BenchmarkAtof32Float-4 926770 121.8 ns/op BenchmarkAtof32FloatExp-4 815912 137.8 ns/op BenchmarkAtof32Random-4 489309 236.8 ns/op BenchmarkAtof32RandomLong-4 203260 549.8 ns/op BenchmarkParseInt/Pos/7bit-4 1860480 64.43 ns/op BenchmarkParseInt/Pos/26bit-4 917005 118.2 ns/op BenchmarkParseInt/Pos/31bit-4 828985 133.4 ns/op BenchmarkParseInt/Pos/56bit-4 526070 211.9 ns/op BenchmarkParseInt/Pos/63bit-4 476653 231.2 ns/op BenchmarkParseInt/Neg/7bit-4 1851265 64.83 ns/op BenchmarkParseInt/Neg/26bit-4 928004 118.1 ns/op BenchmarkParseInt/Neg/31bit-4 808126 135.2 ns/op BenchmarkParseInt/Neg/56bit-4 517920 217.8 ns/op BenchmarkParseInt/Neg/63bit-4 488898 229.8 ns/op BenchmarkAtoi/Pos/7bit-4 2703687 43.51 ns/op BenchmarkAtoi/Pos/26bit-4 1264915 93.37 ns/op BenchmarkAtoi/Pos/31bit-4 1130554 106.6 ns/op BenchmarkAtoi/Pos/56bit-4 688688 167.1 ns/op BenchmarkAtoi/Pos/63bit-4 428029 239.9 ns/op BenchmarkAtoi/Neg/7bit-4 2687900 44.76 ns/op BenchmarkAtoi/Neg/26bit-4 1259430 93.43 ns/op BenchmarkAtoi/Neg/31bit-4 1000000 105.4 ns/op BenchmarkAtoi/Neg/56bit-4 726451 163.1 ns/op BenchmarkAtoi/Neg/63bit-4 482314 238.7 ns/op BenchmarkFormatFloat/Decimal-4 160188 771.4 ns/op BenchmarkFormatFloat/Float-4 138814 837.4 ns/op BenchmarkFormatFloat/Exp-4 155866 768.3 ns/op BenchmarkFormatFloat/NegExp-4 153998 776.8 ns/op BenchmarkFormatFloat/LongExp-4 123895 900.1 ns/op BenchmarkFormatFloat/Big-4 124816 918.5 ns/op BenchmarkFormatFloat/BinaryExp-4 267428 410.7 ns/op BenchmarkFormatFloat/32Integer-4 155215 754.1 ns/op BenchmarkFormatFloat/32ExactFraction-4 144387 728.0 ns/op BenchmarkFormatFloat/32Point-4 145780 803.5 ns/op BenchmarkFormatFloat/32Exp-4 155895 752.6 ns/op BenchmarkFormatFloat/32NegExp-4 151644 739.7 ns/op BenchmarkFormatFloat/32Shortest-4 167188 722.4 ns/op BenchmarkFormatFloat/32Fixed8Hard-4 188572 649.1 ns/op BenchmarkFormatFloat/32Fixed9Hard-4 177001 654.6 ns/op BenchmarkFormatFloat/64Fixed1-4 213786 578.4 ns/op BenchmarkFormatFloat/64Fixed2-4 202059 566.4 ns/op BenchmarkFormatFloat/64Fixed3-4 197006 568.5 ns/op BenchmarkFormatFloat/64Fixed4-4 201496 566.9 ns/op BenchmarkFormatFloat/64Fixed12-4 123052 955.5 ns/op BenchmarkFormatFloat/64Fixed16-4 156806 746.8 ns/op BenchmarkFormatFloat/64Fixed12Hard-4 157672 746.4 ns/op BenchmarkFormatFloat/64Fixed17Hard-4 141068 836.1 ns/op BenchmarkFormatFloat/64Fixed18Hard-4 3147 33132 ns/op BenchmarkFormatFloat/Slowpath64-4 127130 889.7 ns/op BenchmarkFormatFloat/SlowpathDenormal64-4 131176 899.5 ns/op BenchmarkAppendFloat/Decimal-4 191418 600.9 ns/op BenchmarkAppendFloat/Float-4 160059 688.4 ns/op BenchmarkAppendFloat/Exp-4 187177 610.4 ns/op BenchmarkAppendFloat/NegExp-4 189424 615.6 ns/op BenchmarkAppendFloat/LongExp-4 150783 759.6 ns/op BenchmarkAppendFloat/Big-4 150867 770.2 ns/op BenchmarkAppendFloat/BinaryExp-4 447052 257.2 ns/op BenchmarkAppendFloat/32Integer-4 195192 604.4 ns/op BenchmarkAppendFloat/32ExactFraction-4 177469 615.3 ns/op BenchmarkAppendFloat/32Point-4 178326 662.0 ns/op BenchmarkAppendFloat/32Exp-4 191576 606.7 ns/op BenchmarkAppendFloat/32NegExp-4 195128 598.2 ns/op BenchmarkAppendFloat/32Shortest-4 211748 548.6 ns/op BenchmarkAppendFloat/32Fixed8Hard-4 230612 479.3 ns/op BenchmarkAppendFloat/32Fixed9Hard-4 231417 511.9 ns/op BenchmarkAppendFloat/64Fixed1-4 270618 436.3 ns/op BenchmarkAppendFloat/64Fixed2-4 270009 432.1 ns/op BenchmarkAppendFloat/64Fixed3-4 275968 429.5 ns/op BenchmarkAppendFloat/64Fixed4-4 268387 427.0 ns/op BenchmarkAppendFloat/64Fixed12-4 145678 804.2 ns/op BenchmarkAppendFloat/64Fixed16-4 190240 607.6 ns/op BenchmarkAppendFloat/64Fixed12Hard-4 196851 580.0 ns/op BenchmarkAppendFloat/64Fixed17Hard-4 178981 659.7 ns/op BenchmarkAppendFloat/64Fixed18Hard-4 3517 32741 ns/op BenchmarkAppendFloat/Slowpath64-4 156276 758.8 ns/op BenchmarkAppendFloat/SlowpathDenormal64-4 159426 728.2 ns/op BenchmarkFormatInt-4 23439 5149 ns/op BenchmarkAppendInt-4 27273 4402 ns/op BenchmarkFormatUint-4 113238 1008 ns/op BenchmarkAppendUint-4 137187 841.6 ns/op BenchmarkFormatIntSmall/7-4 3759288 32.02 ns/op BenchmarkFormatIntSmall/42-4 3861830 31.16 ns/op BenchmarkAppendIntSmall-4 2003434 59.63 ns/op BenchmarkAppendUintVarlen/1-4 1885222 63.71 ns/op BenchmarkAppendUintVarlen/12-4 1865859 64.16 ns/op BenchmarkAppendUintVarlen/123-4 1402080 83.94 ns/op BenchmarkAppendUintVarlen/1234-4 1391426 84.74 ns/op BenchmarkAppendUintVarlen/12345-4 1367974 86.56 ns/op BenchmarkAppendUintVarlen/123456-4 1359602 88.30 ns/op BenchmarkAppendUintVarlen/1234567-4 1290751 92.90 ns/op BenchmarkAppendUintVarlen/12345678-4 1342342 87.37 ns/op BenchmarkAppendUintVarlen/123456789-4 1261128 93.62 ns/op BenchmarkAppendUintVarlen/1234567890-4 1281838 92.38 ns/op BenchmarkAppendUintVarlen/12345678901-4 1241224 95.26 ns/op BenchmarkAppendUintVarlen/123456789012-4 1230063 97.47 ns/op BenchmarkAppendUintVarlen/1234567890123-4 1182577 101.8 ns/op BenchmarkAppendUintVarlen/12345678901234-4 1000000 100.6 ns/op BenchmarkAppendUintVarlen/123456789012345-4 1000000 103.2 ns/op BenchmarkAppendUintVarlen/1234567890123456-4 1000000 102.8 ns/op BenchmarkAppendUintVarlen/12345678901234567-4 1000000 104.4 ns/op BenchmarkAppendUintVarlen/123456789012345678-4 1000000 106.9 ns/op BenchmarkAppendUintVarlen/1234567890123456789-4 1000000 106.2 ns/op BenchmarkAppendUintVarlen/12345678901234567890-4 1000000 108.6 ns/op BenchmarkQuote-4 70743 1679 ns/op BenchmarkQuoteRune-4 662300 176.0 ns/op BenchmarkAppendQuote-4 81840 1440 ns/op BenchmarkAppendQuoteRune-4 1242818 95.59 ns/op BenchmarkUnquoteEasy-4 1999615 60.58 ns/op BenchmarkUnquoteHard-4 69454 1688 ns/op PASS ok strconv 19.496s goos: linux goarch: amd64 pkg: strings cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkBuildString_Builder/1Write_NoGrow-4 644208 180.6 ns/op 48 B/op 1 allocs/op BenchmarkBuildString_Builder/3Write_NoGrow-4 175228 571.4 ns/op 336 B/op 3 allocs/op BenchmarkBuildString_Builder/3Write_Grow-4 275360 419.0 ns/op 112 B/op 1 allocs/op BenchmarkBuildString_ByteBuffer/1Write_NoGrow-4 372897 277.1 ns/op 112 B/op 2 allocs/op BenchmarkBuildString_ByteBuffer/3Write_NoGrow-4 130041 886.5 ns/op 432 B/op 4 allocs/op BenchmarkBuildString_ByteBuffer/3Write_Grow-4 158191 779.6 ns/op 336 B/op 3 allocs/op BenchmarkClone-4 899643 127.1 ns/op 48 B/op 1 allocs/op BenchmarkGenericNoMatch-4 30411 3829 ns/op BenchmarkGenericMatch1-4 2934 36063 ns/op BenchmarkGenericMatch2-4 645 183110 ns/op BenchmarkSingleMaxSkipping-4 11931 9959 ns/op 1004.07 MB/s BenchmarkSingleLongSuffixFail-4 22934 5173 ns/op 193.70 MB/s BenchmarkSingleMatch-4 360 322978 ns/op 46.44 MB/s BenchmarkByteByteNoMatch-4 114434 1037 ns/op BenchmarkByteByteMatch-4 30051 3905 ns/op BenchmarkByteStringMatch-4 34278 3474 ns/op BenchmarkHTMLEscapeNew-4 114646 1014 ns/op BenchmarkHTMLEscapeOld-4 129564 887.7 ns/op BenchmarkByteStringReplacerWriteString-4 2055 53656 ns/op BenchmarkByteReplacerWriteString-4 2448 47605 ns/op BenchmarkByteByteReplaces-4 5284 21720 ns/op BenchmarkByteByteMap-4 15357 7764 ns/op BenchmarkMap/identity/ASCII-4 909032 127.4 ns/op BenchmarkMap/identity/Greek-4 660574 170.9 ns/op BenchmarkMap/change/ASCII-4 55860 2138 ns/op BenchmarkMap/change/Greek-4 41132 2930 ns/op BenchmarkIndexRune-4 3337790 35.48 ns/op BenchmarkIndexRuneLongString-4 2533840 47.36 ns/op BenchmarkIndexRuneFastPath-4 8412231 14.21 ns/op BenchmarkIndex-4 7896087 15.17 ns/op BenchmarkLastIndex-4 7444495 16.14 ns/op BenchmarkIndexByte-4 17996071 6.810 ns/op BenchmarkToUpper/#00-4 5028589 23.90 ns/op BenchmarkToUpper/ONLYUPPER-4 3621007 32.22 ns/op BenchmarkToUpper/abc-4 461017 242.7 ns/op BenchmarkToUpper/AbC123-4 346228 321.6 ns/op BenchmarkToUpper/azAZ09_-4 398368 292.7 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 81470 1409 ns/op BenchmarkToUpper/RENAN_BASTOS_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 105909 1131 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 49629 2344 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 88521 1418 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 181791 646.0 ns/op BenchmarkToLower/#00-4 4922637 24.38 ns/op BenchmarkToLower/abc-4 4348836 26.62 ns/op BenchmarkToLower/AbC123-4 322724 347.2 ns/op BenchmarkToLower/azAZ09_-4 314252 358.7 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 149872 780.2 ns/op BenchmarkToLower/renan_bastos_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 98460 1214 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 53244 2711 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 113254 1027 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 170838 655.0 ns/op BenchmarkMapNoChanges-4 1628116 74.41 ns/op BenchmarkTrim-4 58074 2035 ns/op 0 B/op 0 allocs/op BenchmarkToValidUTF8/Valid-4 4672648 25.52 ns/op BenchmarkToValidUTF8/InvalidASCII-4 274171 436.9 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 203696 588.0 ns/op BenchmarkEqualFold/Tests-4 82612 1439 ns/op BenchmarkEqualFold/ASCII-4 5636024 21.40 ns/op BenchmarkEqualFold/UnicodePrefix-4 168870 706.5 ns/op BenchmarkEqualFold/UnicodeSuffix-4 174052 687.3 ns/op BenchmarkIndexHard1-4 1059 112457 ns/op BenchmarkIndexHard2-4 762 157740 ns/op BenchmarkIndexHard3-4 247 486378 ns/op BenchmarkIndexHard4-4 240 496853 ns/op BenchmarkLastIndexHard1-4 70 1583557 ns/op BenchmarkLastIndexHard2-4 74 1585461 ns/op BenchmarkLastIndexHard3-4 75 1580689 ns/op BenchmarkCountHard1-4 1052 114570 ns/op BenchmarkCountHard2-4 765 157878 ns/op BenchmarkCountHard3-4 242 487225 ns/op BenchmarkIndexTorture-4 9724 12160 ns/op BenchmarkCountTorture-4 9619 12169 ns/op BenchmarkCountTortureOverlapping-4 962 116214 ns/op BenchmarkCountByte/10-4 6804852 17.63 ns/op 567.23 MB/s BenchmarkCountByte/32-4 6292724 18.91 ns/op 1692.52 MB/s BenchmarkCountByte/4096-4 967323 103.9 ns/op 39413.35 MB/s BenchmarkCountByte/4194304-4 837 135311 ns/op 30997.54 MB/s BenchmarkCountByte/67108864-4 16 7098470 ns/op 9453.99 MB/s BenchmarkFields/ASCII/16-4 519793 229.2 ns/op 69.81 MB/s 16 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 32476 3553 ns/op 72.05 MB/s 352 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 1854 64008 ns/op 63.99 MB/s 6144 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 100 1240184 ns/op 52.84 MB/s 98304 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 6 19877600 ns/op 52.75 MB/s 1515520 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 163207 739.3 ns/op 21.64 MB/s 64 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 14557 8172 ns/op 31.33 MB/s 352 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 776 144794 ns/op 28.29 MB/s 21888 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 39 2995124 ns/op 21.88 MB/s 463104 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 2 61544407 ns/op 17.04 MB/s 10449156 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 343071 307.1 ns/op 52.10 MB/s 16 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 25596 4579 ns/op 55.91 MB/s 352 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 1267 88808 ns/op 46.12 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 54 2075864 ns/op 31.57 MB/s 463107 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 3 47944064 ns/op 21.87 MB/s 10457344 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 190144 635.2 ns/op 25.19 MB/s 64 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 18450 6133 ns/op 41.74 MB/s 352 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 1014 115391 ns/op 35.50 MB/s 21888 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 45 2525154 ns/op 25.95 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 2 56563839 ns/op 18.54 MB/s 10449152 B/op 24 allocs/op BenchmarkSplitEmptySeparator-4 2 78502890 ns/op BenchmarkSplitSingleByteSeparator-4 20 6375453 ns/op BenchmarkSplitMultiByteSeparator-4 38 2841365 ns/op BenchmarkSplitNSingleByteSeparator-4 349322 346.1 ns/op BenchmarkSplitNMultiByteSeparator-4 243208 441.9 ns/op BenchmarkRepeat/5x0-4 5067390 24.11 ns/op BenchmarkRepeat/5x1-4 4814397 23.74 ns/op BenchmarkRepeat/5x2-4 379927 315.9 ns/op BenchmarkRepeat/5x6-4 238368 498.2 ns/op BenchmarkRepeat/10x0-4 4824058 23.45 ns/op BenchmarkRepeat/10x1-4 4807832 23.93 ns/op BenchmarkRepeat/10x2-4 380365 305.5 ns/op BenchmarkRepeat/10x6-4 220496 514.6 ns/op BenchmarkRepeatLarge/256/1-4 104779 1056 ns/op 242.33 MB/s BenchmarkRepeatLarge/256/16-4 152376 700.2 ns/op 365.64 MB/s BenchmarkRepeatLarge/512/1-4 81622 1373 ns/op 373.01 MB/s BenchmarkRepeatLarge/512/16-4 117691 925.8 ns/op 553.06 MB/s BenchmarkRepeatLarge/1024/1-4 63952 1828 ns/op 560.28 MB/s BenchmarkRepeatLarge/1024/16-4 78896 2156 ns/op 474.86 MB/s BenchmarkRepeatLarge/2048/1-4 27729 3849 ns/op 532.06 MB/s BenchmarkRepeatLarge/2048/16-4 39918 3307 ns/op 619.38 MB/s BenchmarkRepeatLarge/4096/1-4 27031 4667 ns/op 877.73 MB/s BenchmarkRepeatLarge/4096/16-4 27248 4580 ns/op 894.23 MB/s BenchmarkRepeatLarge/8192/1-4 14184 8931 ns/op 917.27 MB/s BenchmarkRepeatLarge/8192/16-4 15216 7739 ns/op 1058.50 MB/s BenchmarkRepeatLarge/8192/4097-4 8630809 13.09 ns/op 312874.43 MB/s BenchmarkRepeatLarge/16384/1-4 7807 15180 ns/op 1079.29 MB/s BenchmarkRepeatLarge/16384/16-4 7693 15446 ns/op 1060.69 MB/s BenchmarkRepeatLarge/16384/4097-4 9790 12758 ns/op 963.42 MB/s BenchmarkRepeatLarge/32768/1-4 3208 31476 ns/op 1041.06 MB/s BenchmarkRepeatLarge/32768/16-4 4482 31546 ns/op 1038.73 MB/s BenchmarkRepeatLarge/32768/4097-4 3516 29690 ns/op 965.94 MB/s BenchmarkRepeatLarge/65536/1-4 2114 57842 ns/op 1133.01 MB/s BenchmarkRepeatLarge/65536/16-4 1843 59601 ns/op 1099.59 MB/s BenchmarkRepeatLarge/65536/4097-4 2390 54695 ns/op 1123.60 MB/s BenchmarkRepeatLarge/131072/1-4 313 394572 ns/op 332.19 MB/s BenchmarkRepeatLarge/131072/16-4 300 394593 ns/op 332.17 MB/s BenchmarkRepeatLarge/131072/4097-4 286 388487 ns/op 326.93 MB/s BenchmarkRepeatLarge/262144/1-4 152 784333 ns/op 334.23 MB/s BenchmarkRepeatLarge/262144/16-4 150 818138 ns/op 320.42 MB/s BenchmarkRepeatLarge/262144/4097-4 150 815033 ns/op 316.69 MB/s BenchmarkRepeatLarge/524288/1-4 73 1657463 ns/op 316.32 MB/s BenchmarkRepeatLarge/524288/16-4 79 1591585 ns/op 329.41 MB/s BenchmarkRepeatLarge/524288/4097-4 74 1568393 ns/op 331.75 MB/s BenchmarkRepeatLarge/1048576/1-4 39 3207900 ns/op 326.87 MB/s BenchmarkRepeatLarge/1048576/16-4 40 3179812 ns/op 329.76 MB/s BenchmarkRepeatLarge/1048576/4097-4 39 3402986 ns/op 307.01 MB/s BenchmarkRepeatLarge/2097152/1-4 19 6123012 ns/op 342.50 MB/s BenchmarkRepeatLarge/2097152/16-4 19 6185314 ns/op 339.05 MB/s BenchmarkRepeatLarge/2097152/4097-4 19 6109826 ns/op 342.66 MB/s BenchmarkRepeatLarge/4194304/1-4 9 12313832 ns/op 340.62 MB/s BenchmarkRepeatLarge/4194304/16-4 8 12838504 ns/op 326.70 MB/s BenchmarkRepeatLarge/4194304/4097-4 9 12210492 ns/op 343.25 MB/s BenchmarkRepeatLarge/8388608/1-4 5 23910155 ns/op 350.84 MB/s BenchmarkRepeatLarge/8388608/16-4 5 23885460 ns/op 351.20 MB/s BenchmarkRepeatLarge/8388608/4097-4 5 23726696 ns/op 353.47 MB/s BenchmarkRepeatLarge/16777216/1-4 3 48071698 ns/op 349.00 MB/s BenchmarkRepeatLarge/16777216/16-4 3 44636226 ns/op 375.87 MB/s BenchmarkRepeatLarge/16777216/4097-4 3 46468188 ns/op 361.05 MB/s BenchmarkRepeatLarge/33554432/1-4 2 90083656 ns/op 372.48 MB/s BenchmarkRepeatLarge/33554432/16-4 2 88595559 ns/op 378.74 MB/s BenchmarkRepeatLarge/33554432/4097-4 2 89789672 ns/op 373.70 MB/s BenchmarkRepeatLarge/67108864/1-4 1 173533356 ns/op 386.72 MB/s BenchmarkRepeatLarge/67108864/16-4 1 178287334 ns/op 376.41 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 177168286 ns/op 378.79 MB/s BenchmarkRepeatLarge/134217728/1-4 1 358609927 ns/op 374.27 MB/s BenchmarkRepeatLarge/134217728/16-4 1 347948825 ns/op 385.74 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 341101222 ns/op 393.48 MB/s BenchmarkRepeatLarge/268435456/1-4 1 697448993 ns/op 384.88 MB/s BenchmarkRepeatLarge/268435456/16-4 1 678322388 ns/op 395.73 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 695722219 ns/op 385.84 MB/s BenchmarkRepeatLarge/536870912/1-4 1 1352491422 ns/op 396.95 MB/s BenchmarkRepeatLarge/536870912/16-4 1 1362819156 ns/op 393.94 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 1368518751 ns/op 392.30 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 2694689928 ns/op 398.47 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 2644542241 ns/op 406.02 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 2630722629 ns/op 408.15 MB/s BenchmarkIndexAnyASCII/1:1-4 3336262 35.41 ns/op BenchmarkIndexAnyASCII/1:2-4 3146040 36.64 ns/op BenchmarkIndexAnyASCII/1:4-4 3075073 37.12 ns/op BenchmarkIndexAnyASCII/1:8-4 3161077 37.03 ns/op BenchmarkIndexAnyASCII/1:16-4 3108283 37.39 ns/op BenchmarkIndexAnyASCII/1:32-4 3049318 38.91 ns/op BenchmarkIndexAnyASCII/1:64-4 3020337 37.83 ns/op BenchmarkIndexAnyASCII/16:1-4 3323515 35.11 ns/op BenchmarkIndexAnyASCII/16:2-4 1302063 92.62 ns/op BenchmarkIndexAnyASCII/16:4-4 1247262 95.21 ns/op BenchmarkIndexAnyASCII/16:8-4 1000000 101.4 ns/op BenchmarkIndexAnyASCII/16:16-4 922023 109.0 ns/op BenchmarkIndexAnyASCII/16:32-4 791742 137.4 ns/op BenchmarkIndexAnyASCII/16:64-4 616297 178.8 ns/op BenchmarkIndexAnyASCII/256:1-4 2897888 41.01 ns/op BenchmarkIndexAnyASCII/256:2-4 106060 1075 ns/op BenchmarkIndexAnyASCII/256:4-4 112294 1082 ns/op BenchmarkIndexAnyASCII/256:8-4 109902 1085 ns/op BenchmarkIndexAnyASCII/256:16-4 109278 1108 ns/op BenchmarkIndexAnyASCII/256:32-4 102957 1109 ns/op BenchmarkIndexAnyASCII/256:64-4 99844 1168 ns/op BenchmarkIndexAnyUTF8/1:1-4 3285007 36.08 ns/op BenchmarkIndexAnyUTF8/1:2-4 3033338 38.15 ns/op BenchmarkIndexAnyUTF8/1:4-4 2774564 57.55 ns/op BenchmarkIndexAnyUTF8/1:8-4 2270294 50.19 ns/op BenchmarkIndexAnyUTF8/1:16-4 2264997 48.18 ns/op BenchmarkIndexAnyUTF8/1:32-4 2904202 38.20 ns/op BenchmarkIndexAnyUTF8/1:64-4 2938716 38.73 ns/op BenchmarkIndexAnyUTF8/16:1-4 2639755 45.46 ns/op BenchmarkIndexAnyUTF8/16:2-4 465998 236.1 ns/op BenchmarkIndexAnyUTF8/16:4-4 451524 244.4 ns/op BenchmarkIndexAnyUTF8/16:8-4 486261 238.6 ns/op BenchmarkIndexAnyUTF8/16:16-4 511638 231.9 ns/op BenchmarkIndexAnyUTF8/16:32-4 485992 238.2 ns/op BenchmarkIndexAnyUTF8/16:64-4 464222 240.4 ns/op BenchmarkIndexAnyUTF8/256:1-4 561607 202.5 ns/op BenchmarkIndexAnyUTF8/256:2-4 38478 2984 ns/op BenchmarkIndexAnyUTF8/256:4-4 39663 3119 ns/op BenchmarkIndexAnyUTF8/256:8-4 37170 2985 ns/op BenchmarkIndexAnyUTF8/256:16-4 39720 3051 ns/op BenchmarkIndexAnyUTF8/256:32-4 37621 3114 ns/op BenchmarkIndexAnyUTF8/256:64-4 35844 3165 ns/op BenchmarkLastIndexAnyASCII/1:1-4 3147517 38.84 ns/op BenchmarkLastIndexAnyASCII/1:2-4 3084274 37.71 ns/op BenchmarkLastIndexAnyASCII/1:4-4 3038761 38.60 ns/op BenchmarkLastIndexAnyASCII/1:8-4 3032596 37.90 ns/op BenchmarkLastIndexAnyASCII/1:16-4 3061626 37.09 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2986173 37.87 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2908630 37.76 ns/op BenchmarkLastIndexAnyASCII/16:1-4 1293320 92.50 ns/op BenchmarkLastIndexAnyASCII/16:2-4 1289268 94.58 ns/op BenchmarkLastIndexAnyASCII/16:4-4 1245134 95.83 ns/op BenchmarkLastIndexAnyASCII/16:8-4 1000000 101.8 ns/op BenchmarkLastIndexAnyASCII/16:16-4 936085 110.8 ns/op BenchmarkLastIndexAnyASCII/16:32-4 797854 140.0 ns/op BenchmarkLastIndexAnyASCII/16:64-4 588703 181.1 ns/op BenchmarkLastIndexAnyASCII/256:1-4 110250 1066 ns/op BenchmarkLastIndexAnyASCII/256:2-4 113020 1066 ns/op BenchmarkLastIndexAnyASCII/256:4-4 109989 1069 ns/op BenchmarkLastIndexAnyASCII/256:8-4 109951 1070 ns/op BenchmarkLastIndexAnyASCII/256:16-4 107733 1086 ns/op BenchmarkLastIndexAnyASCII/256:32-4 104025 1116 ns/op BenchmarkLastIndexAnyASCII/256:64-4 104013 1129 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 3176676 40.57 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 3086145 36.43 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 3188502 37.20 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 3191630 36.22 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 3144369 36.50 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 3054169 37.01 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 3077714 36.96 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 599097 187.0 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 308558 383.0 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 299616 409.5 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 284487 409.1 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 297415 401.4 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 267793 395.8 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 276925 402.5 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 46582 2413 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 20488 5518 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 21622 5431 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 21334 5513 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 21727 5532 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 20246 5508 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 21264 5606 ns/op BenchmarkTrimASCII/1:1-4 4617817 25.90 ns/op BenchmarkTrimASCII/1:2-4 3245156 35.09 ns/op BenchmarkTrimASCII/1:4-4 3095478 36.20 ns/op BenchmarkTrimASCII/1:8-4 2911568 38.74 ns/op BenchmarkTrimASCII/1:16-4 2591874 44.87 ns/op BenchmarkTrimASCII/16:1-4 3770026 31.83 ns/op BenchmarkTrimASCII/16:2-4 1277602 94.44 ns/op BenchmarkTrimASCII/16:4-4 1247750 95.39 ns/op BenchmarkTrimASCII/16:8-4 1219971 99.39 ns/op BenchmarkTrimASCII/16:16-4 1000000 108.9 ns/op BenchmarkTrimASCII/256:1-4 1000000 111.7 ns/op BenchmarkTrimASCII/256:2-4 115588 1054 ns/op BenchmarkTrimASCII/256:4-4 113544 1045 ns/op BenchmarkTrimASCII/256:8-4 111003 1052 ns/op BenchmarkTrimASCII/256:16-4 112176 1057 ns/op BenchmarkTrimASCII/4096:1-4 94546 1265 ns/op BenchmarkTrimASCII/4096:2-4 7290 15956 ns/op BenchmarkTrimASCII/4096:4-4 7104 16031 ns/op BenchmarkTrimASCII/4096:8-4 7321 15702 ns/op BenchmarkTrimASCII/4096:16-4 7226 15864 ns/op BenchmarkTrimByte-4 6687091 18.43 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 17098 7019 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 17043 7045 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 1208 98563 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 2350 49535 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 4718 24824 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 8527 12469 ns/op BenchmarkJoin/0-4 7730050 13.55 ns/op 0 B/op 0 allocs/op BenchmarkJoin/1-4 6414582 18.55 ns/op 0 B/op 0 allocs/op BenchmarkJoin/2-4 279044 422.4 ns/op 16 B/op 1 allocs/op BenchmarkJoin/3-4 209649 571.2 ns/op 24 B/op 1 allocs/op BenchmarkJoin/4-4 152293 749.7 ns/op 48 B/op 1 allocs/op BenchmarkJoin/5-4 131733 919.6 ns/op 48 B/op 1 allocs/op BenchmarkJoin/6-4 103401 1109 ns/op 64 B/op 1 allocs/op BenchmarkJoin/7-4 92704 1244 ns/op 64 B/op 1 allocs/op BenchmarkTrimSpace/NoTrim-4 3725164 32.13 ns/op BenchmarkTrimSpace/ASCII-4 2350141 51.94 ns/op BenchmarkTrimSpace/SomeNonASCII-4 198759 565.2 ns/op BenchmarkTrimSpace/JustNonASCII-4 109058 1079 ns/op BenchmarkReplaceAll-4 180680 642.2 ns/op 16 B/op 1 allocs/op PASS ok strings 61.631s goos: linux goarch: amd64 pkg: sync cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCond1-4 70222 1504 ns/op BenchmarkCond2-4 39266 3248 ns/op BenchmarkCond4-4 23068 5064 ns/op BenchmarkCond8-4 12108 10041 ns/op BenchmarkCond16-4 5433 19426 ns/op BenchmarkCond32-4 2182 48297 ns/op BenchmarkLoadMostlyHits/*sync_test.DeepCopyMap-4 583323 294.9 ns/op BenchmarkLoadMostlyHits/*sync_test.RWMutexMap-4 302028 368.6 ns/op BenchmarkLoadMostlyHits/*sync.Map-4 679023 149.4 ns/op BenchmarkLoadMostlyMisses/*sync_test.DeepCopyMap-4 638454 191.3 ns/op BenchmarkLoadMostlyMisses/*sync_test.RWMutexMap-4 347479 345.5 ns/op BenchmarkLoadMostlyMisses/*sync.Map-4 1073072 112.4 ns/op BenchmarkLoadOrStoreBalanced/*sync_test.RWMutexMap-4 96460 1360 ns/op BenchmarkLoadOrStoreBalanced/*sync.Map-4 91927 1545 ns/op BenchmarkLoadOrStoreUnique/*sync_test.RWMutexMap-4 87151 1889 ns/op BenchmarkLoadOrStoreUnique/*sync.Map-4 56379 2673 ns/op BenchmarkLoadOrStoreCollision/*sync_test.DeepCopyMap-4 886972 147.8 ns/op BenchmarkLoadOrStoreCollision/*sync_test.RWMutexMap-4 257269 643.5 ns/op BenchmarkLoadOrStoreCollision/*sync.Map-4 829558 146.9 ns/op BenchmarkLoadAndDeleteBalanced/*sync_test.RWMutexMap-4 195756 639.5 ns/op BenchmarkLoadAndDeleteBalanced/*sync.Map-4 921436 127.3 ns/op BenchmarkLoadAndDeleteUnique/*sync_test.RWMutexMap-4 263180 622.6 ns/op BenchmarkLoadAndDeleteUnique/*sync.Map-4 2952784 38.13 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.DeepCopyMap-4 56610 2100 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.RWMutexMap-4 189747 773.3 ns/op BenchmarkLoadAndDeleteCollision/*sync.Map-4 833395 376.0 ns/op BenchmarkRange/*sync_test.DeepCopyMap-4 11946 11369 ns/op BenchmarkRange/*sync_test.RWMutexMap-4 308 335603 ns/op BenchmarkRange/*sync.Map-4 2010 58504 ns/op BenchmarkAdversarialAlloc/*sync_test.DeepCopyMap-4 107356 1133 ns/op BenchmarkAdversarialAlloc/*sync_test.RWMutexMap-4 277114 422.9 ns/op BenchmarkAdversarialAlloc/*sync.Map-4 112747 1437 ns/op BenchmarkAdversarialDelete/*sync_test.DeepCopyMap-4 125988 834.2 ns/op BenchmarkAdversarialDelete/*sync_test.RWMutexMap-4 279330 415.3 ns/op BenchmarkAdversarialDelete/*sync.Map-4 196088 806.4 ns/op BenchmarkDeleteCollision/*sync_test.DeepCopyMap-4 58522 1973 ns/op BenchmarkDeleteCollision/*sync_test.RWMutexMap-4 273018 522.2 ns/op BenchmarkDeleteCollision/*sync.Map-4 1145349 120.3 ns/op BenchmarkSwapCollision/*sync_test.DeepCopyMap-4 65444 2182 ns/op BenchmarkSwapCollision/*sync_test.RWMutexMap-4 140334 747.8 ns/op BenchmarkSwapCollision/*sync.Map-4 91741 1297 ns/op BenchmarkSwapMostlyHits/*sync_test.DeepCopyMap-4 362 326851 ns/op BenchmarkSwapMostlyHits/*sync_test.RWMutexMap-4 147444 963.2 ns/op BenchmarkSwapMostlyHits/*sync.Map-4 456412 297.4 ns/op BenchmarkSwapMostlyMisses/*sync_test.DeepCopyMap-4 21470 4677 ns/op BenchmarkSwapMostlyMisses/*sync_test.RWMutexMap-4 71566 1699 ns/op BenchmarkSwapMostlyMisses/*sync.Map-4 29659 4282 ns/op BenchmarkCompareAndSwapCollision/*sync_test.DeepCopyMap-4 374277 312.2 ns/op BenchmarkCompareAndSwapCollision/*sync_test.RWMutexMap-4 159937 901.9 ns/op BenchmarkCompareAndSwapCollision/*sync.Map-4 166004 605.1 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.DeepCopyMap-4 2495478 41.26 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.RWMutexMap-4 232563 557.1 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync.Map-4 2769151 45.06 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.DeepCopyMap-4 884094 127.8 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.RWMutexMap-4 231066 635.4 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync.Map-4 667802 172.3 ns/op BenchmarkCompareAndSwapMostlyHits/*sync_test.RWMutexMap-4 103563 1048 ns/op BenchmarkCompareAndSwapMostlyHits/*sync.Map-4 387440 321.9 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.DeepCopyMap-4 713322 210.0 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.RWMutexMap-4 157288 804.7 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync.Map-4 694618 191.8 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.DeepCopyMap-4 264266 484.4 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.RWMutexMap-4 153489 877.5 ns/op BenchmarkCompareAndDeleteCollision/*sync.Map-4 195939 588.1 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync_test.RWMutexMap-4 66787 1696 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync.Map-4 314552 436.8 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.DeepCopyMap-4 805116 162.9 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.RWMutexMap-4 159108 790.7 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync.Map-4 726256 146.0 ns/op BenchmarkUncontendedSemaphore-4 5660994 21.87 ns/op BenchmarkContendedSemaphore-4 3535946 53.44 ns/op BenchmarkMutexUncontended-4 1276171 100.7 ns/op BenchmarkMutex-4 264039 611.8 ns/op BenchmarkMutexSlack-4 172600 618.0 ns/op BenchmarkMutexWork-4 179637 689.8 ns/op BenchmarkMutexWorkSlack-4 172177 714.7 ns/op BenchmarkMutexNoSpin-4 64548 1761 ns/op BenchmarkMutexSpin-4 67434 1595 ns/op BenchmarkOnce-4 1000000 109.3 ns/op BenchmarkOnceFunc/v=Once-4 1970442 60.80 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Global-4 1607961 75.50 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Local-4 1650498 72.86 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Once-4 1819011 66.97 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Global-4 1406768 84.85 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Local-4 1479417 81.19 ns/op 0 B/op 0 allocs/op BenchmarkSemaUncontended-4 9774680 10.74 ns/op BenchmarkSemaSyntNonblock-4 2037510 60.08 ns/op BenchmarkSemaSyntBlock-4 1639000 77.38 ns/op BenchmarkSemaWorkNonblock-4 1220226 96.71 ns/op BenchmarkSemaWorkBlock-4 1000000 105.0 ns/op BenchmarkRWMutexUncontended-4 539318 238.6 ns/op BenchmarkRWMutexWrite100-4 422959 287.2 ns/op BenchmarkRWMutexWrite10-4 472978 305.1 ns/op BenchmarkRWMutexWorkWrite100-4 280087 359.4 ns/op BenchmarkRWMutexWorkWrite10-4 277464 433.9 ns/op BenchmarkWaitGroupUncontended-4 1440512 87.62 ns/op BenchmarkWaitGroupAddDone-4 426273 280.6 ns/op BenchmarkWaitGroupAddDoneWork-4 457112 273.6 ns/op BenchmarkWaitGroupWait-4 6957158 19.52 ns/op BenchmarkWaitGroupWaitWork-4 4758176 25.43 ns/op BenchmarkWaitGroupActuallyWait-4 46342 2527 ns/op 32 B/op 2 allocs/op PASS ok sync 19.916s goos: linux goarch: amd64 pkg: sync/atomic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkValueRead-4 843622 139.8 ns/op PASS ok sync/atomic 1.136s PASS ok syscall 1.015s goos: linux goarch: amd64 pkg: testing cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkTBHelper-4 146660 825.5 ns/op 0 B/op 0 allocs/op PASS ok testing 1.238s goos: linux goarch: amd64 pkg: text/tabwriter cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkTable/1x10/new-4 10352 10468 ns/op 1520 B/op 21 allocs/op BenchmarkTable/1x10/reuse-4 15285 7716 ns/op 0 B/op 0 allocs/op BenchmarkTable/1x1000/new-4 129 895205 ns/op 129392 B/op 1025 allocs/op BenchmarkTable/1x1000/reuse-4 166 709160 ns/op 779 B/op 6 allocs/op BenchmarkTable/1x100000/new-4 1 129417507 ns/op 19393008 B/op 100057 allocs/op BenchmarkTable/1x100000/reuse-4 1 129893405 ns/op 19393008 B/op 100057 allocs/op BenchmarkTable/10x10/new-4 2180 47667 ns/op 5056 B/op 31 allocs/op BenchmarkTable/10x10/reuse-4 2670 40715 ns/op 1 B/op 0 allocs/op BenchmarkTable/10x1000/new-4 25 4405651 ns/op 413568 B/op 1039 allocs/op BenchmarkTable/10x1000/reuse-4 30 3991578 ns/op 13785 B/op 34 allocs/op BenchmarkTable/10x100000/new-4 1 540028242 ns/op 48120704 B/op 100073 allocs/op BenchmarkTable/10x100000/reuse-4 1 533827867 ns/op 48120712 B/op 100074 allocs/op BenchmarkTable/100x10/new-4 291 416600 ns/op 39296 B/op 41 allocs/op BenchmarkTable/100x10/reuse-4 319 361714 ns/op 123 B/op 0 allocs/op BenchmarkTable/100x1000/new-4 3 44868475 ns/op 3288962 B/op 1053 allocs/op BenchmarkTable/100x1000/reuse-4 3 42340850 ns/op 1096320 B/op 351 allocs/op BenchmarkTable/100x100000/new-4 1 5201963911 ns/op 335149952 B/op 100089 allocs/op BenchmarkTable/100x100000/reuse-4 1 5057902672 ns/op 335149952 B/op 100089 allocs/op BenchmarkPyramid/10-4 3774 30602 ns/op 4872 B/op 35 allocs/op BenchmarkPyramid/100-4 49 2446114 ns/op 409128 B/op 230 allocs/op BenchmarkPyramid/1000-4 1 260429769 ns/op 35625256 B/op 2055 allocs/op BenchmarkRagged/10-4 3524 34251 ns/op 4512 B/op 34 allocs/op BenchmarkRagged/100-4 343 329877 ns/op 41008 B/op 188 allocs/op BenchmarkRagged/1000-4 36 3368162 ns/op 427424 B/op 1661 allocs/op BenchmarkCode-4 10928 10860 ns/op 624 B/op 13 allocs/op PASS ok text/tabwriter 16.109s goos: linux goarch: amd64 pkg: text/template/parse cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkParseLarge-4 2 53761022 ns/op BenchmarkVariableString-4 142996 804.1 ns/op 80 B/op 3 allocs/op BenchmarkListString-4 2926 37672 ns/op 2504 B/op 39 allocs/op PASS ok text/template/parse 1.429s goos: linux goarch: amd64 pkg: time cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAfterFunc-4 44 2651452 ns/op BenchmarkAfter-4 123 1085050 ns/op BenchmarkStop-4 217 515437 ns/op BenchmarkSimultaneousAfterFunc-4 30 4040825 ns/op BenchmarkStartStop-4 238 534816 ns/op BenchmarkReset-4 3370 34219 ns/op BenchmarkSleep-4 33 3212944 ns/op BenchmarkParallelTimerLatency-4 49 702881 avg-late-ns 9658627 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=1-4 37 321626 avg-late-ns 962615 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=2-4 32 349189 avg-late-ns 1110228 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=3-4 34 340323 avg-late-ns 1164210 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=4-4 33 479500 avg-late-ns 3863442 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=5-4 31 317589 avg-late-ns 1584068 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=6-4 31 310463 avg-late-ns 1730946 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=7-4 28 262331 avg-late-ns 1989064 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=8-4 27 259044 avg-late-ns 2210020 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=9-4 26 205876 avg-late-ns 1374684 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=10-4 26 902066 avg-late-ns 3106710 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=2ms/tickers-per-P=1-4 34 315197 avg-late-ns 931339 max-late-ns BenchmarkTicker-4 597 230493 ns/op BenchmarkTickerReset-4 5568 24826 ns/op BenchmarkTickerResetNaive-4 231 553222 ns/op BenchmarkNow-4 1640186 72.64 ns/op BenchmarkNowUnixNano-4 1656745 72.88 ns/op BenchmarkNowUnixMilli-4 1653398 73.00 ns/op BenchmarkNowUnixMicro-4 1629570 74.05 ns/op BenchmarkFormat-4 83266 1468 ns/op BenchmarkFormatRFC3339-4 111115 1050 ns/op BenchmarkFormatRFC3339Nano-4 115068 1049 ns/op BenchmarkFormatNow-4 104978 1087 ns/op BenchmarkMarshalJSON-4 138450 831.4 ns/op BenchmarkMarshalText-4 147764 799.7 ns/op BenchmarkParse-4 199298 597.3 ns/op BenchmarkParseRFC3339UTC-4 490203 248.0 ns/op BenchmarkParseRFC3339UTCBytes-4 301687 376.2 ns/op BenchmarkParseRFC3339TZ-4 139239 841.4 ns/op BenchmarkParseRFC3339TZBytes-4 113724 1071 ns/op BenchmarkParseDuration-4 862753 136.5 ns/op BenchmarkHour-4 1349580 89.05 ns/op BenchmarkSecond-4 1358456 88.14 ns/op BenchmarkYear-4 861528 116.1 ns/op BenchmarkDay-4 872882 128.4 ns/op BenchmarkISOWeek-4 894832 135.7 ns/op BenchmarkGoString-4 109513 1082 ns/op BenchmarkUnmarshalText-4 96672 1230 ns/op PASS ok time 12.729s goos: linux goarch: amd64 pkg: unicode/utf16 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecodeValidASCII-4 881170 124.6 ns/op BenchmarkDecodeValidJapaneseChars-4 1000000 107.0 ns/op BenchmarkDecodeRune-4 2298310 52.25 ns/op BenchmarkEncodeValidASCII-4 888883 132.5 ns/op BenchmarkEncodeValidJapaneseChars-4 1226143 94.61 ns/op BenchmarkAppendRuneValidASCII-4 2207250 54.87 ns/op BenchmarkAppendRuneValidJapaneseChars-4 3679394 32.81 ns/op BenchmarkEncodeRune-4 4332225 25.85 ns/op PASS ok unicode/utf16 2.326s goos: linux goarch: amd64 pkg: unicode/utf8 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRuneCountTenASCIIChars-4 1233818 92.93 ns/op BenchmarkRuneCountTenJapaneseChars-4 259004 429.7 ns/op BenchmarkRuneCountInStringTenASCIIChars-4 5184572 23.03 ns/op BenchmarkRuneCountInStringTenJapaneseChars-4 611202 188.5 ns/op BenchmarkValidTenASCIIChars-4 1345558 88.19 ns/op BenchmarkValid100KASCIIChars-4 160 761677 ns/op BenchmarkValidTenJapaneseChars-4 250734 453.9 ns/op BenchmarkValidLongMostlyASCII-4 152 791105 ns/op BenchmarkValidLongJapanese-4 74 1481925 ns/op BenchmarkValidStringTenASCIIChars-4 5851040 20.36 ns/op BenchmarkValidString100KASCIIChars-4 10000 10872 ns/op BenchmarkValidStringTenJapaneseChars-4 708548 171.4 ns/op BenchmarkValidStringLongMostlyASCII-4 1582 75443 ns/op BenchmarkValidStringLongJapanese-4 224 531641 ns/op BenchmarkEncodeASCIIRune-4 5672053 20.12 ns/op BenchmarkEncodeJapaneseRune-4 3266122 36.00 ns/op BenchmarkAppendASCIIRune-4 13373542 8.740 ns/op BenchmarkAppendJapaneseRune-4 3758316 31.58 ns/op BenchmarkDecodeASCIIRune-4 3839448 29.50 ns/op BenchmarkDecodeJapaneseRune-4 2707713 44.33 ns/op BenchmarkFullRune/ASCII-4 4655860 25.62 ns/op BenchmarkFullRune/Incomplete-4 2105588 56.25 ns/op BenchmarkFullRune/Japanese-4 4711923 25.43 ns/op PASS ok unicode/utf8 4.546s goos: linux goarch: amd64 pkg: cmd/api cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAll-4 1 49941616067 ns/op PASS ok cmd/api 51.069s goos: linux goarch: amd64 pkg: cmd/cgo/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCgoCall/add-int-4 535534 198.0 ns/op BenchmarkCgoCall/one-pointer-4 465378 238.4 ns/op BenchmarkCgoCall/eight-pointers-4 253041 463.3 ns/op BenchmarkCgoCall/eight-pointers-nil-4 464083 236.8 ns/op BenchmarkCgoCall/eight-pointers-array-4 21171 5167 ns/op BenchmarkCgoCall/eight-pointers-slice-4 46521 2516 ns/op BenchmarkGoString-4 1341529 87.91 ns/op BenchmarkCGoCallback-4 64201 1756 ns/op BenchmarkCGoInCThread-4 439455 269.2 ns/op PASS ok cmd/cgo/internal/test 2.267s goos: linux goarch: amd64 pkg: cmd/compile/internal/reflectdata cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEqArrayOfStrings5-4 1670593 70.69 ns/op BenchmarkEqArrayOfStrings64-4 206430 561.1 ns/op BenchmarkEqArrayOfStrings1024-4 14022 8603 ns/op BenchmarkEqArrayOfFloats5-4 1824464 64.74 ns/op BenchmarkEqArrayOfFloats64-4 184228 647.3 ns/op BenchmarkEqArrayOfFloats1024-4 12252 9658 ns/op BenchmarkEqArrayOfStructsEq-4 3693 32202 ns/op BenchmarkEqArrayOfStructsNotEq-4 6740 17497 ns/op BenchmarkEqStruct-4 26920164 4.436 ns/op PASS ok cmd/compile/internal/reflectdata 2.457s goos: linux goarch: amd64 pkg: cmd/compile/internal/ssa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPhioptPass-4 10000 35923 ns/op BenchmarkCopyElim1-4 956 123390 ns/op BenchmarkCopyElim10-4 847 140636 ns/op BenchmarkCopyElim100-4 427 256940 ns/op BenchmarkCopyElim1000-4 75 1434121 ns/op BenchmarkCopyElim10000-4 4 27647724 ns/op BenchmarkCopyElim100000-4 1 498365876 ns/op BenchmarkDeadCode/1-4 674 162876 ns/op BenchmarkDeadCode/10-4 544 185635 ns/op BenchmarkDeadCode/100-4 325 346624 ns/op BenchmarkDeadCode/1000-4 67 1849791 ns/op BenchmarkDeadCode/10000-4 4 26023284 ns/op BenchmarkDeadCode/100000-4 1 347213692 ns/op BenchmarkDeadCode/200000-4 1 735947357 ns/op BenchmarkDominatorsLinear-4 20 6187382 ns/op 1.62 MB/s BenchmarkDominatorsFwdBack-4 14 9229638 ns/op 1.08 MB/s BenchmarkDominatorsManyPred-4 16 8355697 ns/op 1.20 MB/s BenchmarkDominatorsMaxPred-4 14 8632769 ns/op 1.16 MB/s BenchmarkDominatorsMaxPredVal-4 12 8487495 ns/op 1.18 MB/s BenchmarkFuse/1-4 633 177253 ns/op BenchmarkFuse/10-4 615 197373 ns/op BenchmarkFuse/100-4 199 610387 ns/op BenchmarkFuse/1000-4 30 4310041 ns/op BenchmarkFuse/10000-4 2 61985273 ns/op BenchmarkNilCheckDeep1-4 18206 6659 ns/op 0.15 MB/s 235 B/op 4 allocs/op BenchmarkNilCheckDeep10-4 7033 15714 ns/op 0.64 MB/s 235 B/op 4 allocs/op BenchmarkNilCheckDeep100-4 1116 105333 ns/op 0.95 MB/s 650 B/op 4 allocs/op BenchmarkNilCheckDeep1000-4 100 1041630 ns/op 0.96 MB/s 5256 B/op 5 allocs/op BenchmarkNilCheckDeep10000-4 8 13090290 ns/op 0.76 MB/s 74004 B/op 5 allocs/op BenchmarkDSEPass-4 45 2515049 ns/op 54108 B/op 7 allocs/op BenchmarkDSEPassBlock-4 2 62924064 ns/op 2125568 B/op 54184 allocs/op BenchmarkCSEPass-4 10 10979953 ns/op 92136 B/op 8 allocs/op BenchmarkCSEPassBlock-4 1 105224138 ns/op 5671552 B/op 97515 allocs/op BenchmarkDeadcodePass-4 282 416071 ns/op 93646 B/op 3 allocs/op BenchmarkDeadcodePassBlock-4 4 26144324 ns/op 1605294 B/op 11211 allocs/op BenchmarkMultiPass-4 116 1086594 ns/op 243032 B/op 11 allocs/op BenchmarkMultiPassBlock-4 1 176629954 ns/op 11198000 B/op 149824 allocs/op BenchmarkCondRewrite/SoloJump-4 4629580 25.77 ns/op BenchmarkCondRewrite/CombJump-4 4545643 25.95 ns/op PASS ok cmd/compile/internal/ssa 13.956s goos: linux goarch: amd64 pkg: cmd/compile/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLoadAdd-4 15290 7841 ns/op BenchmarkExtShift-4 26438 4551 ns/op BenchmarkModify-4 14992 7976 ns/op BenchmarkMullImm-4 28003 4227 ns/op BenchmarkConstModify-4 15034 7946 ns/op BenchmarkBitSet-4 30075 3958 ns/op BenchmarkBitClear-4 30199 3948 ns/op BenchmarkBitToggle-4 30115 3969 ns/op BenchmarkBitSetConst-4 248256 476.6 ns/op BenchmarkBitClearConst-4 232281 490.3 ns/op BenchmarkBitToggleConst-4 250742 475.6 ns/op BenchmarkDivconstI64-4 14843068 8.121 ns/op BenchmarkModconstI64-4 14441887 7.991 ns/op BenchmarkDivisiblePow2constI64-4 14532787 7.883 ns/op BenchmarkDivisibleconstI64-4 14719369 7.645 ns/op BenchmarkDivisibleWDivconstI64-4 10157220 11.85 ns/op BenchmarkDivconstU64/3-4 14309211 7.892 ns/op BenchmarkDivconstU64/5-4 13392193 8.245 ns/op BenchmarkDivconstU64/37-4 14057434 7.805 ns/op BenchmarkDivconstU64/1234567-4 14639112 7.816 ns/op BenchmarkModconstU64-4 14491982 7.930 ns/op BenchmarkDivisibleconstU64-4 14981427 7.461 ns/op BenchmarkDivisibleWDivconstU64-4 9912279 12.17 ns/op BenchmarkDivconstI32-4 14365059 7.779 ns/op BenchmarkModconstI32-4 14921816 7.588 ns/op BenchmarkDivisiblePow2constI32-4 15096562 7.535 ns/op BenchmarkDivisibleconstI32-4 14727543 7.494 ns/op BenchmarkDivisibleWDivconstI32-4 9946218 12.11 ns/op BenchmarkDivconstU32-4 14890742 7.613 ns/op BenchmarkModconstU32-4 13332876 8.498 ns/op BenchmarkDivisibleconstU32-4 15018216 7.532 ns/op BenchmarkDivisibleWDivconstU32-4 10059038 12.03 ns/op BenchmarkDivconstI16-4 15097732 7.596 ns/op BenchmarkModconstI16-4 14427772 7.943 ns/op BenchmarkDivisiblePow2constI16-4 14907300 7.582 ns/op BenchmarkDivisibleconstI16-4 14822022 7.481 ns/op BenchmarkDivisibleWDivconstI16-4 9253872 12.84 ns/op BenchmarkDivconstU16-4 15267656 7.389 ns/op BenchmarkModconstU16-4 14985373 7.582 ns/op BenchmarkDivisibleconstU16-4 14745076 7.877 ns/op BenchmarkDivisibleWDivconstU16-4 9668636 12.39 ns/op BenchmarkDivconstI8-4 14893623 7.576 ns/op BenchmarkModconstI8-4 13824811 8.137 ns/op BenchmarkDivisiblePow2constI8-4 14866216 7.556 ns/op BenchmarkDivisibleconstI8-4 14811769 7.543 ns/op BenchmarkDivisibleWDivconstI8-4 9985716 12.11 ns/op BenchmarkDivconstU8-4 15900482 7.608 ns/op BenchmarkModconstU8-4 14997626 7.502 ns/op BenchmarkDivisibleconstU8-4 14915112 7.753 ns/op BenchmarkDivisibleWDivconstU8-4 9805738 12.35 ns/op BenchmarkMul2-4 223485 536.6 ns/op BenchmarkMulNeg2-4 220036 542.7 ns/op BenchmarkEfaceInteger-4 5522140 18.98 ns/op BenchmarkDiv64UnsignedSmall-4 19183713 5.971 ns/op BenchmarkDiv64Small-4 18667886 6.323 ns/op BenchmarkDiv64SmallNegDivisor-4 17653371 6.531 ns/op BenchmarkDiv64SmallNegDividend-4 18887241 6.356 ns/op BenchmarkDiv64SmallNegBoth-4 17648652 6.628 ns/op BenchmarkDiv64Unsigned-4 17899598 6.564 ns/op BenchmarkDiv64-4 16925050 6.891 ns/op BenchmarkDiv64NegDivisor-4 17218329 6.977 ns/op BenchmarkDiv64NegDividend-4 17220054 6.890 ns/op BenchmarkDiv64NegBoth-4 16979374 6.964 ns/op BenchmarkMod64UnsignedSmall-4 20369274 5.717 ns/op BenchmarkMod64Small-4 19811839 5.993 ns/op BenchmarkMod64SmallNegDivisor-4 18842779 6.534 ns/op BenchmarkMod64SmallNegDividend-4 19108657 6.066 ns/op BenchmarkMod64SmallNegBoth-4 16390342 6.808 ns/op BenchmarkMod64Unsigned-4 18849140 6.300 ns/op BenchmarkMod64-4 17936053 6.576 ns/op BenchmarkMod64NegDivisor-4 17287797 6.612 ns/op BenchmarkMod64NegDividend-4 18036511 6.596 ns/op BenchmarkMod64NegBoth-4 18072508 6.598 ns/op BenchmarkMulconstI32/3-4 28898733 3.732 ns/op BenchmarkMulconstI32/5-4 29107434 3.719 ns/op BenchmarkMulconstI32/12-4 26142708 3.883 ns/op BenchmarkMulconstI32/120-4 28980417 3.729 ns/op BenchmarkMulconstI32/-120-4 29061649 3.735 ns/op BenchmarkMulconstI32/65537-4 26401006 3.875 ns/op BenchmarkMulconstI32/65538-4 31033494 3.866 ns/op BenchmarkMulconstI64/3-4 27907196 3.706 ns/op BenchmarkMulconstI64/5-4 28319760 3.756 ns/op BenchmarkMulconstI64/12-4 27273129 3.806 ns/op BenchmarkMulconstI64/120-4 28516723 3.723 ns/op BenchmarkMulconstI64/-120-4 28110021 3.989 ns/op BenchmarkMulconstI64/65537-4 28119296 3.702 ns/op BenchmarkMulconstI64/65538-4 27665488 3.736 ns/op BenchmarkMulconstU32/3-4 28290742 3.714 ns/op BenchmarkMulconstU32/5-4 28686988 3.704 ns/op BenchmarkMulconstU32/12-4 26478942 3.891 ns/op BenchmarkMulconstU32/120-4 28711004 3.680 ns/op BenchmarkMulconstU32/65537-4 27286866 3.861 ns/op BenchmarkMulconstU32/65538-4 26971958 3.871 ns/op BenchmarkMulconstU64/3-4 28311168 3.700 ns/op BenchmarkMulconstU64/5-4 28849260 3.704 ns/op BenchmarkMulconstU64/12-4 26484792 3.847 ns/op BenchmarkMulconstU64/120-4 27965710 3.721 ns/op BenchmarkMulconstU64/65537-4 28156990 3.771 ns/op BenchmarkMulconstU64/65538-4 28758660 3.781 ns/op BenchmarkShiftArithmeticRight-4 26961517 4.165 ns/op BenchmarkSwitch8Predictable-4 21492872 5.510 ns/op BenchmarkSwitch8Unpredictable-4 8555311 13.89 ns/op BenchmarkSwitch32Predictable-4 21494917 5.464 ns/op BenchmarkSwitch32Unpredictable-4 8579956 13.75 ns/op BenchmarkSwitchStringPredictable-4 11550651 10.23 ns/op BenchmarkSwitchStringUnpredictable-4 6413998 18.65 ns/op PASS ok cmd/compile/internal/test 14.968s goos: linux goarch: amd64 pkg: cmd/compile/internal/types2 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLookupFieldOrMethod-4 195 587663 ns/op BenchmarkNamed/Underlying/nongeneric-4 1423881 79.86 ns/op BenchmarkNamed/Underlying/generic-4 1487767 80.13 ns/op BenchmarkNamed/Underlying/src_instance-4 1472676 80.27 ns/op BenchmarkNamed/Underlying/user_instance-4 1483310 80.66 ns/op BenchmarkCheck/http/funcbodies/info-4 1 411435023 ns/op 74350 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 272914619 ns/op 112078 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 129158145 ns/op 236777 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 110757640 ns/op 276084 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 333957772 ns/op 15521 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 2 64436521 ns/op 80414 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 4 25415302 ns/op 203871 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 4 25153919 ns/op 205987 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 113142399 ns/op 19171 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 4 29975232 ns/op 72358 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 7 16206014 ns/op 133828 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 7 15527633 ns/op 139711 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 923614288 ns/op 70712 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 457734303 ns/op 142673 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 143024654 ns/op 456204 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 101209407 ns/op 645000 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 353195357 ns/op 5668 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 3 47837515 ns/op 41829 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 4 31189365 ns/op 64159 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 4 29643790 ns/op 67501 lines/s PASS ok cmd/compile/internal/types2 13.862s goos: linux goarch: amd64 pkg: cmd/go cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExecGoEnv-4 195 626038 ns/op 1440944 sys-ns/op 887385 user-ns/op PASS ok cmd/go 1.196s goos: linux goarch: amd64 pkg: cmd/internal/notsha256 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 94387 1240 ns/op 6.45 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 107617 1063 ns/op 7.52 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 18416 6469 ns/op 158.30 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 19039 6266 ns/op 163.43 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 2892 41385 ns/op 197.95 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 2870 41107 ns/op 199.28 MB/s 0 B/op 0 allocs/op PASS ok cmd/internal/notsha256 1.894s All tests passed.