linux-amd64-longtest-race at 371ebe731bf6ebae3d6914835674e276d98254f5 :: 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-rn0165feb" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=6s" "GO_STAGE0_DL_DELAY=100ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-longtest-race" "GO_TEST_SHORT=0" "GO_TEST_TIMEOUT_SCALE=5" "GOBIN=" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache" "GOPLSCACHE=/workdir/goplscache" "PWD=/workdir/go/src"] in dir /workdir/go/src Building Go cmd/dist using /workdir/go1.4. (go1.17.13 linux/amd64) Building Go toolchain1 using /workdir/go1.4. Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. Building Go toolchain2 using go_bootstrap and Go toolchain1. Building Go toolchain3 using go_bootstrap and Go toolchain2. Building packages and commands for linux/amd64. --- Installed Go for linux/amd64 in /workdir/go Installed commands in /workdir/go/bin *** You need to add /workdir/go/bin to your PATH. :: Running /workdir/go/bin/go with args ["/workdir/go/bin/go" "install" "-race" "std"] and env ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "HOSTNAME=buildlet-linux-amd64-bullseye-rn0165feb" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=6s" "GO_STAGE0_DL_DELAY=100ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-longtest-race" "GO_TEST_SHORT=0" "GO_TEST_TIMEOUT_SCALE=5" "GOBIN=" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache" "GOPLSCACHE=/workdir/goplscache" "PWD=/workdir/go/bin"] in dir /workdir/go/bin ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: linux # OS Version: Linux 5.15.107+ #1 SMP Sat May 20 09:38:40 UTC 2023 x86_64 ##### Testing packages. ok archive/tar 2.194s ok archive/zip 121.268s ok bufio 1.297s ok bytes 9.646s ok cmp 1.017s ok compress/bzip2 1.459s ok compress/flate 166.396s ok compress/gzip 13.231s ok compress/lzw 1.504s ok compress/zlib 9.604s ok container/heap 1.023s ok container/list 1.018s ok container/ring 1.021s ok context 1.047s ok crypto 1.017s ok crypto/aes 1.056s ok crypto/cipher 2.171s ok crypto/des 1.050s ok crypto/dsa 8.087s ok crypto/ecdh 1.469s ok crypto/ecdsa 4.399s ok crypto/ed25519 1.918s ok crypto/elliptic 2.268s ok crypto/hmac 1.022s ok crypto/internal/alias 1.017s ok crypto/internal/bigmod 3.613s ok crypto/internal/boring 1.017s ok crypto/internal/boring/bcache 1.396s ok crypto/internal/edwards25519 37.897s ok crypto/internal/edwards25519/field 13.416s ok crypto/internal/nistec 22.677s ok crypto/internal/nistec/fiat 1.016s [no tests to run] ok crypto/md5 1.025s ok crypto/rand 3.866s ok crypto/rc4 1.445s ok crypto/rsa 7.386s ok crypto/sha1 1.039s ok crypto/sha256 1.022s ok crypto/sha512 1.024s ok crypto/subtle 20.026s ok crypto/tls 5.835s ok crypto/x509 2.936s ok database/sql 2.238s ok database/sql/driver 1.016s ok debug/buildinfo 5.939s ok debug/dwarf 1.082s ok debug/elf 2.305s ok debug/gosym 1.336s ok debug/macho 1.030s ok debug/pe 1.051s ok debug/plan9obj 1.017s ok embed 1.017s [no tests to run] ok embed/internal/embedtest 1.018s ok encoding/ascii85 1.022s ok encoding/asn1 1.022s ok encoding/base32 1.064s ok encoding/base64 1.024s ok encoding/binary 1.025s ok encoding/csv 1.062s ok encoding/gob 21.350s ok encoding/hex 1.024s ok encoding/json 7.414s ok encoding/pem 3.399s ok encoding/xml 39.791s ok errors 1.023s ok expvar 1.019s ok flag 3.108s ok fmt 1.569s ok go/ast 1.031s ok go/build 5.406s ok go/build/constraint 1.024s ok go/constant 1.024s ok go/doc 1.246s ok go/doc/comment 3.151s ok go/format 1.047s ok go/importer 1.199s ok go/internal/gccgoimporter 1.050s ok go/internal/gcimporter 39.462s ok go/internal/srcimporter 15.830s ok go/parser 55.051s ok go/printer 2.373s ok go/scanner 1.025s ok go/token 1.118s ok go/types 47.307s ok hash 1.022s ok hash/adler32 1.048s ok hash/crc32 1.051s ok hash/crc64 1.027s ok hash/fnv 1.018s ok hash/maphash 1.019s ok html 1.019s ok html/template 1.729s ok image 2.400s ok image/color 1.037s ok image/draw 1.551s ok image/gif 100.521s ok image/jpeg 25.007s ok image/png 6.579s ok index/suffixarray 610.050s ok internal/abi 1.055s ok internal/buildcfg 1.019s ok internal/coverage/cformat 1.019s ok internal/coverage/cmerge 1.018s ok internal/coverage/pods 1.019s ok internal/coverage/slicereader 1.017s ok internal/coverage/slicewriter 1.017s ok internal/coverage/test 1.045s ok internal/cpu 3.048s ok internal/dag 1.017s ok internal/diff 1.019s ok internal/fmtsort 1.017s ok internal/fuzz 1.037s ok internal/godebug 13.798s ok internal/godebugs 1.016s ok internal/intern 2.857s ok internal/itoa 1.016s ok internal/poll 22.639s ok internal/profile 1.019s ok internal/reflectlite 1.019s ok internal/safefilepath 1.016s ok internal/saferio 1.251s ok internal/singleflight 1.093s ok internal/testenv 1.155s ok internal/trace 7.882s ok internal/types/errors 1.363s ok internal/unsafeheader 1.017s ok internal/xcoff 1.037s ok internal/zstd 1.043s ok io 1.051s ok io/fs 1.246s ok io/ioutil 1.023s ok log 1.026s ok log/slog 1.045s ok log/slog/internal/benchmarks 1.016s ok log/slog/internal/buffer 1.016s ok log/syslog 2.242s ok maps 1.020s ok math 1.031s ok math/big 8.360s ok math/bits 1.027s ok math/cmplx 1.019s ok math/rand 34.201s ok mime 1.039s ok mime/multipart 14.840s ok mime/quotedprintable 2.091s ok net 54.505s ok net/http 66.937s ok net/http/cgi 12.435s ok net/http/cookiejar 1.028s ok net/http/fcgi 1.130s ok net/http/httptest 1.197s ok net/http/httptrace 1.018s ok net/http/httputil 2.169s ok net/http/internal 1.023s ok net/http/internal/ascii 1.017s ok net/http/pprof 6.189s ok net/internal/socktest 1.020s ok net/mail 1.024s ok net/netip 1.350s ok net/rpc 1.054s ok net/rpc/jsonrpc 1.026s ok net/smtp 1.068s ok net/textproto 1.048s ok net/url 1.033s ok os 23.460s ok os/exec 11.636s ok os/exec/internal/fdtest 1.017s ok os/signal 28.595s ok os/user 1.023s ok path 1.023s ok path/filepath 1.069s ok plugin 1.017s ok reflect 4.371s ok regexp 4.171s ok regexp/syntax 5.611s ok runtime 239.512s ok runtime/cgo 1.018s ok runtime/coverage 29.885s ok runtime/debug 2.148s ok runtime/internal/atomic 3.769s ok runtime/internal/math 1.019s ok runtime/internal/sys 1.018s ok runtime/internal/syscall 1.017s ok runtime/metrics 1.029s ok runtime/pprof 94.391s ok runtime/race 12.067s ok runtime/trace 7.417s ok slices 3.295s ok sort 6.507s ok strconv 9.056s ok strings 3.921s ok sync 2.934s ok sync/atomic 212.114s ok syscall 12.120s ok testing 3.727s ok testing/fstest 1.021s ok testing/iotest 1.019s ok testing/quick 1.168s ok testing/slogtest 1.020s ok text/scanner 1.032s ok text/tabwriter 1.022s ok text/template 1.875s ok text/template/parse 1.035s ok time 15.693s ok unicode 1.025s ok unicode/utf16 1.018s ok unicode/utf8 1.033s ok cmd/addr2line 4.830s ok cmd/api 9.478s ok cmd/asm/internal/asm 4.902s ok cmd/asm/internal/lex 1.021s ok cmd/cgo/internal/swig 1.760s ok cmd/cgo/internal/test 2.287s ok cmd/cgo/internal/testcarchive 23.655s ok cmd/cgo/internal/testcshared 6.352s ok cmd/cgo/internal/testerrors 10.954s ok cmd/cgo/internal/testfortran 2.476s ok cmd/cgo/internal/testgodefs 1.667s ok cmd/cgo/internal/testlife 1.675s ok cmd/cgo/internal/testnocgo 1.018s ok cmd/cgo/internal/testplugin 37.675s ok cmd/cgo/internal/testsanitizers 20.539s ok cmd/cgo/internal/testshared 68.751s ok cmd/cgo/internal/testso 2.565s ok cmd/cgo/internal/teststdio 2.496s ok cmd/cgo/internal/testtls 1.017s ok cmd/compile/internal/abt 1.045s ok cmd/compile/internal/amd64 57.493s ok cmd/compile/internal/base 1.018s ok cmd/compile/internal/compare 1.019s ok cmd/compile/internal/dwarfgen 1.452s ok cmd/compile/internal/importer 16.526s ok cmd/compile/internal/ir 1.017s ok cmd/compile/internal/logopt 1.200s ok cmd/compile/internal/loopvar 25.523s ok cmd/compile/internal/noder 1.021s ok cmd/compile/internal/reflectdata 1.018s [no tests to run] ok cmd/compile/internal/ssa 186.465s ok cmd/compile/internal/syntax 17.930s ok cmd/compile/internal/test 34.285s ok cmd/compile/internal/typecheck 1.247s ok cmd/compile/internal/types 1.017s ok cmd/compile/internal/types2 21.322s ok cmd/covdata 7.845s ok cmd/cover 15.868s ok cmd/dist 1.020s ok cmd/distpack 1.016s ok cmd/doc 1.945s ok cmd/fix 1.762s ok cmd/go 472.395s ok cmd/go/internal/auth 1.017s ok cmd/go/internal/cache 3.509s ok cmd/go/internal/envcmd 1.039s ok cmd/go/internal/fsys 1.045s ok cmd/go/internal/generate 1.034s ok cmd/go/internal/get 1.034s ok cmd/go/internal/gover 1.021s ok cmd/go/internal/imports 1.034s ok cmd/go/internal/load 1.027s ok cmd/go/internal/lockedfile 3.400s ok cmd/go/internal/lockedfile/internal/filelock 2.058s ok cmd/go/internal/modconv 1.035s ok cmd/go/internal/modfetch 36.021s ok cmd/go/internal/modfetch/codehost 11.108s ok cmd/go/internal/modfetch/zip_sum_test 1.021s ok cmd/go/internal/modindex 1.591s ok cmd/go/internal/modload 48.328s ok cmd/go/internal/mvs 1.041s ok cmd/go/internal/par 1.103s ok cmd/go/internal/str 1.018s ok cmd/go/internal/test 1.040s ok cmd/go/internal/vcs 1.275s ok cmd/go/internal/vcweb 1.028s ok cmd/go/internal/vcweb/vcstest 5.438s ok cmd/go/internal/web 1.019s ok cmd/go/internal/work 2.077s ok cmd/gofmt 43.605s ok cmd/internal/archive 1.426s ok cmd/internal/buildid 1.578s ok cmd/internal/cov 1.290s ok cmd/internal/dwarf 1.018s ok cmd/internal/edit 1.017s ok cmd/internal/bootstrap_test 117.286s ok cmd/internal/goobj 18.108s ok cmd/internal/moddeps 12.627s ok cmd/internal/notsha256 1.019s ok cmd/internal/obj 1.430s ok cmd/internal/obj/ppc64 6.195s ok cmd/internal/obj/riscv 9.459s ok cmd/internal/obj/s390x 1.017s ok cmd/internal/obj/x86 1.882s ok cmd/internal/objabi 1.017s ok cmd/internal/pkgpath 5.082s ok cmd/internal/pkgpattern 1.021s ok cmd/internal/quoted 1.019s ok cmd/internal/src 1.019s ok cmd/internal/test2json 1.753s ok cmd/link 22.113s ok cmd/link/internal/benchmark 1.019s ok cmd/link/internal/ld 14.378s ok cmd/link/internal/loader 1.049s ok cmd/nm 9.210s ok cmd/objdump 5.178s ok cmd/pack 8.870s ok cmd/pprof 3.477s ok cmd/trace 1.281s ok cmd/vet 30.759s ##### Running benchmarks briefly. goos: linux goarch: amd64 pkg: archive/tar cpu: Intel(R) Xeon(R) CPU @ 2.20GHz Benchmark/Writer/USTAR-4 2733 40127 ns/op 1368 B/op 25 allocs/op Benchmark/Writer/GNU-4 2414 48828 ns/op 1848 B/op 36 allocs/op Benchmark/Writer/PAX-4 1536 75480 ns/op 2560 B/op 59 allocs/op Benchmark/Reader/USTAR-4 4105 28922 ns/op 5149 B/op 16 allocs/op Benchmark/Reader/GNU-4 5181 20311 ns/op 5027 B/op 14 allocs/op Benchmark/Reader/PAX-4 1776 60302 ns/op 8986 B/op 33 allocs/op PASS ok archive/tar 1.943s goos: linux goarch: amd64 pkg: archive/zip cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCompressedZipGarbage-4 1 344859577 ns/op 14784 B/op 65 allocs/op BenchmarkZip64Test-4 1 162147296 ns/op BenchmarkZip64TestSizes/4096-4 1588 89227 ns/op BenchmarkZip64TestSizes/1048576-4 169 756970 ns/op BenchmarkZip64TestSizes/67108864-4 1 140733004 ns/op PASS ok archive/zip 2.451s goos: linux goarch: amd64 pkg: bufio cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReaderCopyOptimal-4 220652 491.3 ns/op BenchmarkReaderCopyUnoptimal-4 136244 809.0 ns/op BenchmarkReaderCopyNoWriteTo-4 6728 19818 ns/op BenchmarkReaderWriteToOptimal-4 6543 15749 ns/op BenchmarkReaderReadString-4 137821 861.0 ns/op 144 B/op 1 allocs/op BenchmarkWriterCopyOptimal-4 219652 548.4 ns/op BenchmarkWriterCopyUnoptimal-4 201206 568.8 ns/op BenchmarkWriterCopyNoReadFrom-4 5712 22515 ns/op BenchmarkReaderEmpty-4 34356 3376 ns/op 4224 B/op 3 allocs/op BenchmarkWriterEmpty-4 28708 4005 ns/op 4096 B/op 1 allocs/op BenchmarkWriterFlush-4 616100 192.8 ns/op 0 B/op 0 allocs/op PASS ok bufio 2.702s goos: linux goarch: amd64 pkg: bytes cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadString-4 5088 22335 ns/op 1467.09 MB/s BenchmarkWriteByte-4 478 246462 ns/op 16.62 MB/s BenchmarkWriteRune-4 256 468374 ns/op 26.24 MB/s BenchmarkBufferNotEmptyWriteRead-4 31 3779611 ns/op BenchmarkBufferFullSmallReads-4 100 1041494 ns/op BenchmarkBufferWriteBlock/N4096-4 6864 16518 ns/op 14336 B/op 6 allocs/op BenchmarkBufferWriteBlock/N65536-4 384 289330 ns/op 260096 B/op 14 allocs/op BenchmarkBufferWriteBlock/N1048576-4 5 20505520 ns/op 4192256 B/op 22 allocs/op BenchmarkBufferAppendNoCopy-4 1 138014253 ns/op 121.56 MB/s 33554528 B/op 3 allocs/op BenchmarkIndexByte/10-4 4589224 25.88 ns/op 386.38 MB/s BenchmarkIndexByte/32-4 4131364 26.86 ns/op 1191.46 MB/s BenchmarkIndexByte/4K-4 894174 133.3 ns/op 30721.27 MB/s BenchmarkIndexBytePortable/10-4 792745 142.4 ns/op 70.22 MB/s BenchmarkIndexBytePortable/32-4 249247 453.3 ns/op 70.59 MB/s BenchmarkIndexBytePortable/4K-4 2200 53013 ns/op 77.26 MB/s BenchmarkIndexRune/10-4 1000000 102.5 ns/op 97.56 MB/s BenchmarkIndexRune/32-4 1000000 101.4 ns/op 315.58 MB/s BenchmarkIndexRune/4K-4 379802 310.3 ns/op 13198.45 MB/s BenchmarkIndexRuneASCII/10-4 4137654 28.26 ns/op 353.90 MB/s BenchmarkIndexRuneASCII/32-4 4295108 27.80 ns/op 1151.09 MB/s BenchmarkIndexRuneASCII/4K-4 831609 134.8 ns/op 30383.07 MB/s BenchmarkEqual/0-4 7026945 16.92 ns/op BenchmarkEqual/1-4 1465976 81.68 ns/op 12.24 MB/s BenchmarkEqual/6-4 1419165 84.55 ns/op 70.96 MB/s BenchmarkEqual/9-4 1426395 84.55 ns/op 106.44 MB/s BenchmarkEqual/15-4 1421886 85.26 ns/op 175.92 MB/s BenchmarkEqual/16-4 1497472 80.35 ns/op 199.14 MB/s BenchmarkEqual/20-4 1412742 86.28 ns/op 231.79 MB/s BenchmarkEqual/32-4 1380252 86.83 ns/op 368.53 MB/s BenchmarkEqual/4K-4 106842 1114 ns/op 3676.14 MB/s BenchmarkIndex/10-4 2927134 39.97 ns/op 250.18 MB/s BenchmarkIndex/32-4 3032172 39.07 ns/op 818.96 MB/s BenchmarkIndex/4K-4 18103 6577 ns/op 622.78 MB/s BenchmarkIndexEasy/10-4 2789739 42.09 ns/op 237.61 MB/s BenchmarkIndexEasy/32-4 2972592 40.14 ns/op 797.30 MB/s BenchmarkIndexEasy/4K-4 465370 249.0 ns/op 16451.62 MB/s BenchmarkCount/10-4 1501863 80.45 ns/op 124.30 MB/s BenchmarkCount/32-4 1413289 84.27 ns/op 379.73 MB/s BenchmarkCount/4K-4 18122 6623 ns/op 618.41 MB/s BenchmarkCountEasy/10-4 1500660 79.04 ns/op 126.51 MB/s BenchmarkCountEasy/32-4 1447257 82.52 ns/op 387.76 MB/s BenchmarkCountEasy/4K-4 422973 281.4 ns/op 14557.00 MB/s BenchmarkCountSingle/10-4 3554402 33.60 ns/op 297.66 MB/s BenchmarkCountSingle/32-4 3384318 35.09 ns/op 911.84 MB/s BenchmarkCountSingle/4K-4 776136 144.7 ns/op 28303.13 MB/s BenchmarkToUpper/#00-4 2886334 41.82 ns/op BenchmarkToUpper/ONLYUPPER-4 302608 401.2 ns/op BenchmarkToUpper/abc-4 487118 249.5 ns/op BenchmarkToUpper/AbC123-4 279937 415.0 ns/op BenchmarkToUpper/azAZ09_-4 264096 456.9 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 69568 1544 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 36458 3002 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 54790 2194 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 122277 955.8 ns/op BenchmarkToLower/#00-4 2710453 43.97 ns/op BenchmarkToLower/abc-4 404402 273.3 ns/op BenchmarkToLower/AbC123-4 272754 415.7 ns/op BenchmarkToLower/azAZ09_-4 265549 456.5 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 78738 1490 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 40837 2914 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 68389 1720 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 121500 991.2 ns/op BenchmarkFields/ASCII/16-4 116390 1000 ns/op 15.99 MB/s 80 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 7191 14021 ns/op 18.26 MB/s 704 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 535 213206 ns/op 19.21 MB/s 9472 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 28 3917027 ns/op 16.73 MB/s 147456 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 2 62399349 ns/op 16.80 MB/s 2269184 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 81826 1423 ns/op 11.24 MB/s 24 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 5542 20973 ns/op 12.21 MB/s 512 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 334 348500 ns/op 11.75 MB/s 25088 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 16 6638896 ns/op 9.87 MB/s 512256 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 1 127995366 ns/op 8.19 MB/s 11219200 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 135979 872.5 ns/op 18.34 MB/s 80 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 10000 10570 ns/op 24.22 MB/s 704 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 616 182198 ns/op 22.48 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 25 4160687 ns/op 15.75 MB/s 512256 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 86502684 ns/op 12.12 MB/s 11211008 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 115478 1023 ns/op 15.64 MB/s 24 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 7665 14707 ns/op 17.41 MB/s 512 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 469 250603 ns/op 16.34 MB/s 25088 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 21 5327622 ns/op 12.30 MB/s 512256 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 1 107931630 ns/op 9.72 MB/s 11219200 B/op 24 allocs/op BenchmarkTrimSpace/NoTrim-4 1844065 62.21 ns/op BenchmarkTrimSpace/ASCII-4 913776 124.9 ns/op BenchmarkTrimSpace/SomeNonASCII-4 106904 1099 ns/op BenchmarkTrimSpace/JustNonASCII-4 49387 2435 ns/op BenchmarkToValidUTF8/Valid-4 468824 255.1 ns/op BenchmarkToValidUTF8/InvalidASCII-4 332426 358.0 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 96572 1237 ns/op BenchmarkIndexHard1-4 796 144817 ns/op BenchmarkIndexHard2-4 596 202275 ns/op BenchmarkIndexHard3-4 150 799181 ns/op BenchmarkIndexHard4-4 182 657315 ns/op BenchmarkLastIndexHard1-4 5 22195383 ns/op BenchmarkLastIndexHard2-4 4 28761794 ns/op BenchmarkLastIndexHard3-4 4 31907619 ns/op BenchmarkCountHard1-4 814 143382 ns/op BenchmarkCountHard2-4 585 204821 ns/op BenchmarkCountHard3-4 150 800467 ns/op BenchmarkSplitEmptySeparator-4 1 181231338 ns/op BenchmarkSplitSingleByteSeparator-4 10 11370552 ns/op BenchmarkSplitMultiByteSeparator-4 10 10390261 ns/op BenchmarkSplitNSingleByteSeparator-4 160586 660.0 ns/op BenchmarkSplitNMultiByteSeparator-4 66662 1635 ns/op BenchmarkRepeat-4 177772 625.7 ns/op BenchmarkRepeatLarge/256/1-4 122781 820.8 ns/op 311.89 MB/s BenchmarkRepeatLarge/256/16-4 211927 529.2 ns/op 483.75 MB/s BenchmarkRepeatLarge/512/1-4 108094 1117 ns/op 458.36 MB/s BenchmarkRepeatLarge/512/16-4 127316 792.7 ns/op 645.92 MB/s BenchmarkRepeatLarge/1024/1-4 63988 1650 ns/op 620.48 MB/s BenchmarkRepeatLarge/1024/16-4 82240 1317 ns/op 777.78 MB/s BenchmarkRepeatLarge/2048/1-4 43627 2585 ns/op 792.11 MB/s BenchmarkRepeatLarge/2048/16-4 48234 2276 ns/op 899.79 MB/s BenchmarkRepeatLarge/4096/1-4 26236 4594 ns/op 891.54 MB/s BenchmarkRepeatLarge/4096/16-4 26635 4096 ns/op 999.93 MB/s BenchmarkRepeatLarge/8192/1-4 14691 8203 ns/op 998.70 MB/s BenchmarkRepeatLarge/8192/16-4 14600 7753 ns/op 1056.64 MB/s BenchmarkRepeatLarge/8192/4097-4 24268 4795 ns/op 854.49 MB/s BenchmarkRepeatLarge/16384/1-4 7924 15334 ns/op 1068.51 MB/s BenchmarkRepeatLarge/16384/16-4 9332 14993 ns/op 1092.80 MB/s BenchmarkRepeatLarge/16384/4097-4 9758 12088 ns/op 1016.76 MB/s BenchmarkRepeatLarge/32768/1-4 4252 27736 ns/op 1181.44 MB/s BenchmarkRepeatLarge/32768/16-4 4395 28300 ns/op 1157.90 MB/s BenchmarkRepeatLarge/32768/4097-4 4322 27174 ns/op 1055.37 MB/s BenchmarkRepeatLarge/65536/1-4 2137 55364 ns/op 1183.73 MB/s BenchmarkRepeatLarge/65536/16-4 2204 56573 ns/op 1158.43 MB/s BenchmarkRepeatLarge/65536/4097-4 2098 59104 ns/op 1039.78 MB/s BenchmarkRepeatLarge/131072/1-4 217 550949 ns/op 237.90 MB/s BenchmarkRepeatLarge/131072/16-4 220 541919 ns/op 241.87 MB/s BenchmarkRepeatLarge/131072/4097-4 219 560059 ns/op 226.77 MB/s BenchmarkRepeatLarge/262144/1-4 100 1070134 ns/op 244.96 MB/s BenchmarkRepeatLarge/262144/16-4 100 1053135 ns/op 248.92 MB/s BenchmarkRepeatLarge/262144/4097-4 100 1052042 ns/op 245.34 MB/s BenchmarkRepeatLarge/524288/1-4 57 2028140 ns/op 258.51 MB/s BenchmarkRepeatLarge/524288/16-4 60 2080426 ns/op 252.01 MB/s BenchmarkRepeatLarge/524288/4097-4 58 2099775 ns/op 247.80 MB/s BenchmarkRepeatLarge/1048576/1-4 28 4181275 ns/op 250.78 MB/s BenchmarkRepeatLarge/1048576/16-4 26 4149315 ns/op 252.71 MB/s BenchmarkRepeatLarge/1048576/4097-4 28 4227264 ns/op 247.14 MB/s BenchmarkRepeatLarge/2097152/1-4 15 8082584 ns/op 259.47 MB/s BenchmarkRepeatLarge/2097152/16-4 14 8125284 ns/op 258.10 MB/s BenchmarkRepeatLarge/2097152/4097-4 14 8041581 ns/op 260.34 MB/s BenchmarkRepeatLarge/4194304/1-4 7 15996909 ns/op 262.19 MB/s BenchmarkRepeatLarge/4194304/16-4 7 16152466 ns/op 259.67 MB/s BenchmarkRepeatLarge/4194304/4097-4 7 16422111 ns/op 255.22 MB/s BenchmarkRepeatLarge/8388608/1-4 4 31893559 ns/op 263.02 MB/s BenchmarkRepeatLarge/8388608/16-4 4 32014196 ns/op 262.03 MB/s BenchmarkRepeatLarge/8388608/4097-4 3 34085044 ns/op 246.05 MB/s BenchmarkRepeatLarge/16777216/1-4 2 63440356 ns/op 264.46 MB/s BenchmarkRepeatLarge/16777216/16-4 2 61558684 ns/op 272.54 MB/s BenchmarkRepeatLarge/16777216/4097-4 2 64286856 ns/op 260.97 MB/s BenchmarkRepeatLarge/33554432/1-4 1 122321215 ns/op 274.31 MB/s BenchmarkRepeatLarge/33554432/16-4 1 122784188 ns/op 273.28 MB/s BenchmarkRepeatLarge/33554432/4097-4 1 126920843 ns/op 264.37 MB/s BenchmarkRepeatLarge/67108864/1-4 1 243799076 ns/op 275.26 MB/s BenchmarkRepeatLarge/67108864/16-4 1 240680322 ns/op 278.83 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 246374633 ns/op 272.39 MB/s BenchmarkRepeatLarge/134217728/1-4 1 484254061 ns/op 277.16 MB/s BenchmarkRepeatLarge/134217728/16-4 1 478926096 ns/op 280.25 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 484815810 ns/op 276.84 MB/s BenchmarkRepeatLarge/268435456/1-4 1 961278487 ns/op 279.25 MB/s BenchmarkRepeatLarge/268435456/16-4 1 945639228 ns/op 283.87 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 951063892 ns/op 282.25 MB/s BenchmarkRepeatLarge/536870912/1-4 1 1890816857 ns/op 283.94 MB/s BenchmarkRepeatLarge/536870912/16-4 1 1874427902 ns/op 286.42 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 1861258349 ns/op 288.45 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 3763561422 ns/op 285.30 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 3647792234 ns/op 294.35 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 3698971428 ns/op 290.28 MB/s BenchmarkBytesCompare/1-4 9021754 13.47 ns/op BenchmarkBytesCompare/2-4 9043180 12.22 ns/op BenchmarkBytesCompare/4-4 9182871 12.63 ns/op BenchmarkBytesCompare/8-4 9691262 11.20 ns/op BenchmarkBytesCompare/16-4 9832466 11.14 ns/op BenchmarkBytesCompare/32-4 9155228 12.74 ns/op BenchmarkBytesCompare/64-4 8537256 13.79 ns/op BenchmarkBytesCompare/128-4 7543918 15.79 ns/op BenchmarkBytesCompare/256-4 5456023 22.26 ns/op BenchmarkBytesCompare/512-4 3877819 29.28 ns/op BenchmarkBytesCompare/1024-4 2429750 47.53 ns/op BenchmarkBytesCompare/2048-4 1405023 83.48 ns/op BenchmarkIndexAnyASCII/1:1-4 2322826 51.66 ns/op BenchmarkIndexAnyASCII/1:2-4 2380490 50.28 ns/op BenchmarkIndexAnyASCII/1:4-4 2370921 50.21 ns/op BenchmarkIndexAnyASCII/1:8-4 2406871 49.98 ns/op BenchmarkIndexAnyASCII/1:16-4 2397273 49.94 ns/op BenchmarkIndexAnyASCII/1:32-4 2360448 50.25 ns/op BenchmarkIndexAnyASCII/1:64-4 2342041 50.83 ns/op BenchmarkIndexAnyASCII/16:1-4 2015109 57.54 ns/op BenchmarkIndexAnyASCII/16:2-4 414858 278.3 ns/op BenchmarkIndexAnyASCII/16:4-4 403521 281.2 ns/op BenchmarkIndexAnyASCII/16:8-4 414573 284.4 ns/op BenchmarkIndexAnyASCII/16:16-4 386131 297.7 ns/op BenchmarkIndexAnyASCII/16:32-4 356430 327.1 ns/op BenchmarkIndexAnyASCII/16:64-4 312306 371.7 ns/op BenchmarkIndexAnyASCII/256:1-4 1819086 63.73 ns/op BenchmarkIndexAnyASCII/256:2-4 32854 3640 ns/op BenchmarkIndexAnyASCII/256:4-4 32772 3591 ns/op BenchmarkIndexAnyASCII/256:8-4 32755 3580 ns/op BenchmarkIndexAnyASCII/256:16-4 33090 3653 ns/op BenchmarkIndexAnyASCII/256:32-4 32648 3629 ns/op BenchmarkIndexAnyASCII/256:64-4 32284 3742 ns/op BenchmarkIndexAnyUTF8/1:1-4 2301295 52.86 ns/op BenchmarkIndexAnyUTF8/1:2-4 2300820 51.85 ns/op BenchmarkIndexAnyUTF8/1:4-4 2303901 52.02 ns/op BenchmarkIndexAnyUTF8/1:8-4 2327296 51.59 ns/op BenchmarkIndexAnyUTF8/1:16-4 2308352 51.40 ns/op BenchmarkIndexAnyUTF8/1:32-4 2374976 50.46 ns/op BenchmarkIndexAnyUTF8/1:64-4 2276227 51.83 ns/op BenchmarkIndexAnyUTF8/16:1-4 145917 817.7 ns/op BenchmarkIndexAnyUTF8/16:2-4 267519 456.6 ns/op BenchmarkIndexAnyUTF8/16:4-4 268867 436.5 ns/op BenchmarkIndexAnyUTF8/16:8-4 269683 434.8 ns/op BenchmarkIndexAnyUTF8/16:16-4 268790 443.7 ns/op BenchmarkIndexAnyUTF8/16:32-4 257335 451.8 ns/op BenchmarkIndexAnyUTF8/16:64-4 257656 450.9 ns/op BenchmarkIndexAnyUTF8/256:1-4 9896 11637 ns/op BenchmarkIndexAnyUTF8/256:2-4 19423 6218 ns/op BenchmarkIndexAnyUTF8/256:4-4 18822 6277 ns/op BenchmarkIndexAnyUTF8/256:8-4 19372 6174 ns/op BenchmarkIndexAnyUTF8/256:16-4 19135 6225 ns/op BenchmarkIndexAnyUTF8/256:32-4 18674 6473 ns/op BenchmarkIndexAnyUTF8/256:64-4 18456 6485 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2276758 52.27 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2320394 51.22 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2306383 51.86 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2220122 53.26 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2356051 50.71 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2337414 51.12 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2354284 50.61 ns/op BenchmarkLastIndexAnyASCII/16:1-4 322689 359.3 ns/op BenchmarkLastIndexAnyASCII/16:2-4 322066 363.5 ns/op BenchmarkLastIndexAnyASCII/16:4-4 324075 363.6 ns/op BenchmarkLastIndexAnyASCII/16:8-4 315248 367.8 ns/op BenchmarkLastIndexAnyASCII/16:16-4 298963 388.8 ns/op BenchmarkLastIndexAnyASCII/16:32-4 285615 410.1 ns/op BenchmarkLastIndexAnyASCII/16:64-4 251491 456.9 ns/op BenchmarkLastIndexAnyASCII/256:1-4 24007 5141 ns/op BenchmarkLastIndexAnyASCII/256:2-4 23881 5104 ns/op BenchmarkLastIndexAnyASCII/256:4-4 23553 4950 ns/op BenchmarkLastIndexAnyASCII/256:8-4 23560 5011 ns/op BenchmarkLastIndexAnyASCII/256:16-4 23815 4966 ns/op BenchmarkLastIndexAnyASCII/256:32-4 23840 5160 ns/op BenchmarkLastIndexAnyASCII/256:64-4 23614 5022 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2281338 52.61 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2341494 52.66 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2260987 52.70 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2319825 52.44 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2333781 51.16 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2322704 51.81 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2296069 52.38 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 217966 519.0 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 270480 443.1 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 268446 444.4 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 265093 438.4 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 261862 445.9 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 256437 455.2 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 252129 454.8 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 16642 7186 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 19408 6340 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 19095 6260 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 19392 6324 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 19116 6403 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 18404 6474 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 18555 6442 ns/op BenchmarkTrimASCII/1:1-4 2522854 47.15 ns/op BenchmarkTrimASCII/1:2-4 2142598 56.43 ns/op BenchmarkTrimASCII/1:4-4 2037874 57.54 ns/op BenchmarkTrimASCII/1:8-4 1883697 63.43 ns/op BenchmarkTrimASCII/1:16-4 1602213 74.99 ns/op BenchmarkTrimASCII/16:1-4 412299 280.5 ns/op BenchmarkTrimASCII/16:2-4 309430 386.5 ns/op BenchmarkTrimASCII/16:4-4 305448 382.0 ns/op BenchmarkTrimASCII/16:8-4 298322 375.0 ns/op BenchmarkTrimASCII/16:16-4 302947 392.1 ns/op BenchmarkTrimASCII/256:1-4 32151 3697 ns/op BenchmarkTrimASCII/256:2-4 23101 5118 ns/op BenchmarkTrimASCII/256:4-4 23409 5090 ns/op BenchmarkTrimASCII/256:8-4 23355 5074 ns/op BenchmarkTrimASCII/256:16-4 23415 5285 ns/op BenchmarkTrimASCII/4096:1-4 1976 59410 ns/op BenchmarkTrimASCII/4096:2-4 1441 81285 ns/op BenchmarkTrimASCII/4096:4-4 1438 81694 ns/op BenchmarkTrimASCII/4096:8-4 1438 80859 ns/op BenchmarkTrimASCII/4096:16-4 1464 81986 ns/op BenchmarkTrimByte-4 1428585 84.47 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 13004 9141 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 13071 9179 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 678 174766 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 1290 88623 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 2544 44547 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 4600 23365 ns/op BenchmarkCompareBytesEqual-4 10142588 11.98 ns/op BenchmarkCompareBytesToNil-4 11553986 10.25 ns/op BenchmarkCompareBytesEmpty-4 11663715 10.27 ns/op BenchmarkCompareBytesIdentical-4 11278153 10.51 ns/op BenchmarkCompareBytesSameLength-4 10518654 11.40 ns/op BenchmarkCompareBytesDifferentLength-4 9975193 11.93 ns/op BenchmarkCompareBytesBigUnaligned/offset=1-4 1945 74664 ns/op 14044.12 MB/s BenchmarkCompareBytesBigUnaligned/offset=2-4 1375 75297 ns/op 13926.05 MB/s BenchmarkCompareBytesBigUnaligned/offset=3-4 1863 69566 ns/op 15073.29 MB/s BenchmarkCompareBytesBigUnaligned/offset=4-4 1374 79899 ns/op 13123.81 MB/s BenchmarkCompareBytesBigUnaligned/offset=5-4 1392 74004 ns/op 14169.24 MB/s BenchmarkCompareBytesBigUnaligned/offset=6-4 1410 78726 ns/op 13319.46 MB/s BenchmarkCompareBytesBigUnaligned/offset=7-4 1441 73962 ns/op 14177.27 MB/s BenchmarkCompareBytesBig-4 1368 85963 ns/op 12198.09 MB/s BenchmarkCompareBytesBigIdentical-4 11946903 9.851 ns/op 106449313.33 MB/s PASS ok bytes 70.113s goos: linux goarch: amd64 pkg: compress/bzip2 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecodeDigits-4 2 77227808 ns/op 1.29 MB/s 3617432 B/op 54 allocs/op BenchmarkDecodeNewton-4 1 326640905 ns/op 1.74 MB/s 3638592 B/op 54 allocs/op BenchmarkDecodeRand-4 5 24396326 ns/op 0.67 MB/s 3645038 B/op 51 allocs/op PASS ok compress/bzip2 2.385s goos: linux goarch: amd64 pkg: compress/flate cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecode/Digits/Huffman/1e4-4 66 1768954 ns/op 5.65 MB/s 43274 B/op 5 allocs/op BenchmarkDecode/Digits/Huffman/1e5-4 6 16946295 ns/op 5.90 MB/s 44722 B/op 6 allocs/op BenchmarkDecode/Digits/Huffman/1e6-4 1 170695154 ns/op 5.86 MB/s 49264 B/op 9 allocs/op BenchmarkDecode/Digits/Speed/1e4-4 63 1799576 ns/op 5.56 MB/s 42311 B/op 8 allocs/op BenchmarkDecode/Digits/Speed/1e5-4 6 17446629 ns/op 5.73 MB/s 45010 B/op 12 allocs/op BenchmarkDecode/Digits/Speed/1e6-4 1 179480117 ns/op 5.57 MB/s 53024 B/op 77 allocs/op BenchmarkDecode/Digits/Default/1e4-4 62 1751095 ns/op 5.71 MB/s 42431 B/op 7 allocs/op BenchmarkDecode/Digits/Default/1e5-4 6 16879274 ns/op 5.92 MB/s 45002 B/op 14 allocs/op BenchmarkDecode/Digits/Default/1e6-4 1 168250469 ns/op 5.94 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Digits/Compression/1e4-4 63 1756317 ns/op 5.69 MB/s 42793 B/op 7 allocs/op BenchmarkDecode/Digits/Compression/1e5-4 6 16835033 ns/op 5.94 MB/s 43633 B/op 14 allocs/op BenchmarkDecode/Digits/Compression/1e6-4 1 169320654 ns/op 5.91 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Newton/Huffman/1e4-4 55 1921669 ns/op 5.20 MB/s 42884 B/op 14 allocs/op BenchmarkDecode/Newton/Huffman/1e5-4 6 18667147 ns/op 5.36 MB/s 47833 B/op 24 allocs/op BenchmarkDecode/Newton/Huffman/1e6-4 1 189068118 ns/op 5.29 MB/s 88512 B/op 165 allocs/op BenchmarkDecode/Newton/Speed/1e4-4 76 1524750 ns/op 6.56 MB/s 43860 B/op 18 allocs/op BenchmarkDecode/Newton/Speed/1e5-4 8 12542613 ns/op 7.97 MB/s 46858 B/op 32 allocs/op BenchmarkDecode/Newton/Speed/1e6-4 1 128652403 ns/op 7.77 MB/s 89696 B/op 232 allocs/op BenchmarkDecode/Newton/Default/1e4-4 76 1363762 ns/op 7.33 MB/s 42783 B/op 15 allocs/op BenchmarkDecode/Newton/Default/1e5-4 10 10109397 ns/op 9.89 MB/s 47861 B/op 33 allocs/op BenchmarkDecode/Newton/Default/1e6-4 1 100798333 ns/op 9.92 MB/s 70320 B/op 162 allocs/op BenchmarkDecode/Newton/Compression/1e4-4 81 1390458 ns/op 7.19 MB/s 42675 B/op 15 allocs/op BenchmarkDecode/Newton/Compression/1e5-4 10 10063664 ns/op 9.94 MB/s 44575 B/op 32 allocs/op BenchmarkDecode/Newton/Compression/1e6-4 1 103973142 ns/op 9.62 MB/s 72120 B/op 154 allocs/op BenchmarkEncode/Digits/Huffman/1e4-4 85 1255194 ns/op 7.97 MB/s BenchmarkEncode/Digits/Huffman/1e5-4 9 12179158 ns/op 8.21 MB/s BenchmarkEncode/Digits/Huffman/1e6-4 1 118933646 ns/op 8.41 MB/s BenchmarkEncode/Digits/Speed/1e4-4 50 2364739 ns/op 4.23 MB/s BenchmarkEncode/Digits/Speed/1e5-4 5 21138127 ns/op 4.73 MB/s BenchmarkEncode/Digits/Speed/1e6-4 1 203881838 ns/op 4.90 MB/s BenchmarkEncode/Digits/Default/1e4-4 16 6729316 ns/op 1.49 MB/s BenchmarkEncode/Digits/Default/1e5-4 2 81196791 ns/op 1.23 MB/s BenchmarkEncode/Digits/Default/1e6-4 1 853516953 ns/op 1.17 MB/s BenchmarkEncode/Digits/Compression/1e4-4 16 6677655 ns/op 1.50 MB/s BenchmarkEncode/Digits/Compression/1e5-4 2 80571698 ns/op 1.24 MB/s BenchmarkEncode/Digits/Compression/1e6-4 1 842401261 ns/op 1.19 MB/s BenchmarkEncode/Newton/Huffman/1e4-4 74 1474140 ns/op 6.78 MB/s BenchmarkEncode/Newton/Huffman/1e5-4 8 12580790 ns/op 7.95 MB/s BenchmarkEncode/Newton/Huffman/1e6-4 1 125251212 ns/op 7.98 MB/s BenchmarkEncode/Newton/Speed/1e4-4 48 2174645 ns/op 4.60 MB/s BenchmarkEncode/Newton/Speed/1e5-4 6 16726446 ns/op 5.98 MB/s BenchmarkEncode/Newton/Speed/1e6-4 1 166675879 ns/op 6.00 MB/s BenchmarkEncode/Newton/Default/1e4-4 16 6614388 ns/op 1.51 MB/s BenchmarkEncode/Newton/Default/1e5-4 2 73031391 ns/op 1.37 MB/s BenchmarkEncode/Newton/Default/1e6-4 1 756112642 ns/op 1.32 MB/s BenchmarkEncode/Newton/Compression/1e4-4 18 6516232 ns/op 1.53 MB/s BenchmarkEncode/Newton/Compression/1e5-4 2 93296669 ns/op 1.07 MB/s BenchmarkEncode/Newton/Compression/1e6-4 1 947889058 ns/op 1.05 MB/s PASS ok compress/flate 16.471s goos: linux goarch: amd64 pkg: compress/lzw cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecoder/1e4-4 46 2263528 ns/op 4.42 MB/s BenchmarkDecoder/1e-Reuse4-4 50 2363401 ns/op 4.23 MB/s BenchmarkDecoder/1e5-4 5 22809718 ns/op 4.38 MB/s BenchmarkDecoder/1e-Reuse5-4 5 22669973 ns/op 4.41 MB/s BenchmarkDecoder/1e6-4 1 226674370 ns/op 4.41 MB/s BenchmarkDecoder/1e-Reuse6-4 1 224787648 ns/op 4.45 MB/s BenchmarkEncoder/1e4-4 50 2192416 ns/op 4.56 MB/s BenchmarkEncoder/1e-Reuse4-4 64 1824905 ns/op 5.48 MB/s BenchmarkEncoder/1e5-4 6 19221854 ns/op 5.20 MB/s BenchmarkEncoder/1e-Reuse5-4 6 18833434 ns/op 5.31 MB/s BenchmarkEncoder/1e6-4 1 197113646 ns/op 5.07 MB/s BenchmarkEncoder/1e-Reuse6-4 1 191973520 ns/op 5.21 MB/s PASS ok compress/lzw 3.782s goos: linux goarch: amd64 pkg: container/heap cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDup-4 30 3864398 ns/op PASS ok container/heap 1.238s goos: linux goarch: amd64 pkg: context cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCommonParentCancel-4 21792 6004 ns/op BenchmarkWithTimeout/concurrency=40-4 5122 23497 ns/op BenchmarkWithTimeout/concurrency=4000-4 4220 26351 ns/op BenchmarkWithTimeout/concurrency=400000-4 5079 27834 ns/op BenchmarkCancelTree/depth=1/Root=Background-4 405126 280.6 ns/op BenchmarkCancelTree/depth=1/Root=OpenCanceler-4 12741 10564 ns/op BenchmarkCancelTree/depth=1/Root=ClosedCanceler-4 14247 8200 ns/op BenchmarkCancelTree/depth=10/Root=Background-4 2470 48703 ns/op BenchmarkCancelTree/depth=10/Root=OpenCanceler-4 1593 74896 ns/op BenchmarkCancelTree/depth=10/Root=ClosedCanceler-4 2197 51851 ns/op BenchmarkCancelTree/depth=100/Root=Background-4 222 525535 ns/op BenchmarkCancelTree/depth=100/Root=OpenCanceler-4 160 749122 ns/op BenchmarkCancelTree/depth=100/Root=ClosedCanceler-4 244 639167 ns/op BenchmarkCancelTree/depth=1000/Root=Background-4 19 5532212 ns/op BenchmarkCancelTree/depth=1000/Root=OpenCanceler-4 12 9323621 ns/op BenchmarkCancelTree/depth=1000/Root=ClosedCanceler-4 24 4595723 ns/op BenchmarkCheckCanceled/Err-4 257888 451.8 ns/op BenchmarkCheckCanceled/Done-4 408322 298.4 ns/op BenchmarkContextCancelDone-4 533486 211.5 ns/op BenchmarkDeepValueNewGoRoutine/depth=10-4 23058 5161 ns/op BenchmarkDeepValueNewGoRoutine/depth=20-4 20223 5674 ns/op BenchmarkDeepValueNewGoRoutine/depth=30-4 17335 6497 ns/op BenchmarkDeepValueNewGoRoutine/depth=50-4 16359 7446 ns/op BenchmarkDeepValueNewGoRoutine/depth=100-4 10000 10321 ns/op BenchmarkDeepValueSameGoRoutine/depth=10-4 518558 228.3 ns/op BenchmarkDeepValueSameGoRoutine/depth=20-4 296182 406.9 ns/op BenchmarkDeepValueSameGoRoutine/depth=30-4 197260 577.5 ns/op BenchmarkDeepValueSameGoRoutine/depth=50-4 128953 926.3 ns/op BenchmarkDeepValueSameGoRoutine/depth=100-4 65480 1817 ns/op PASS ok context 12.687s goos: linux goarch: amd64 pkg: crypto/aes cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncrypt-4 1734049 69.41 ns/op 230.52 MB/s BenchmarkDecrypt-4 1747586 68.64 ns/op 233.10 MB/s BenchmarkExpand-4 980348 119.9 ns/op PASS ok crypto/aes 1.524s goos: linux goarch: amd64 pkg: crypto/cipher cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAESGCM/Open-128-64-4 172947 656.1 ns/op 97.54 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-64-4 362526 294.1 ns/op 217.62 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-64-4 173782 675.0 ns/op 94.82 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-64-4 373286 316.5 ns/op 202.22 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-1350-4 112006 1017 ns/op 1327.53 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-1350-4 175352 663.0 ns/op 2036.31 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-1350-4 105506 1131 ns/op 1194.09 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-1350-4 149142 803.2 ns/op 1680.81 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-8192-4 40389 2924 ns/op 2801.54 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-8192-4 51534 2282 ns/op 3589.86 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-8192-4 34268 3488 ns/op 2348.79 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-8192-4 39435 3033 ns/op 2700.65 MB/s 0 B/op 0 allocs/op BenchmarkAESCFBEncrypt1K-4 6607 16904 ns/op 60.28 MB/s BenchmarkAESCFBDecrypt1K-4 7126 16636 ns/op 61.25 MB/s BenchmarkAESCFBDecrypt8K-4 926 128948 ns/op 63.49 MB/s BenchmarkAESOFB1K-4 10000 11266 ns/op 90.45 MB/s BenchmarkAESCTR1K-4 13780 8652 ns/op 117.78 MB/s BenchmarkAESCTR8K-4 1742 68801 ns/op 119.00 MB/s BenchmarkAESCBCEncrypt1K-4 14370 8275 ns/op 123.75 MB/s BenchmarkAESCBCDecrypt1K-4 17908 6704 ns/op 152.75 MB/s PASS ok crypto/cipher 3.858s goos: linux goarch: amd64 pkg: crypto/des cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncrypt-4 65258 1594 ns/op 5.02 MB/s BenchmarkDecrypt-4 77830 1504 ns/op 5.32 MB/s BenchmarkTDESEncrypt-4 30056 3982 ns/op 2.01 MB/s BenchmarkTDESDecrypt-4 30352 4019 ns/op 1.99 MB/s PASS ok crypto/des 1.608s goos: linux goarch: amd64 pkg: crypto/ecdh cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkECDH/P256-4 900 123231 ns/op 760 B/op 12 allocs/op BenchmarkECDH/P384-4 15 7614583 ns/op 1093 B/op 21 allocs/op BenchmarkECDH/P521-4 6 20083368 ns/op 1536 B/op 21 allocs/op BenchmarkECDH/X25519-4 93 1217650 ns/op 376 B/op 9 allocs/op PASS ok crypto/ecdh 1.614s goos: linux goarch: amd64 pkg: crypto/ecdsa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSign/P256-4 1654 68383 ns/op 2512 B/op 33 allocs/op BenchmarkSign/P384-4 32 3491338 ns/op 2678 B/op 34 allocs/op BenchmarkSign/P521-4 14 8318193 ns/op 3065 B/op 35 allocs/op BenchmarkVerify/P256-4 938 126328 ns/op 432 B/op 8 allocs/op BenchmarkVerify/P384-4 13 8497273 ns/op 592 B/op 12 allocs/op BenchmarkVerify/P521-4 5 22021834 ns/op 912 B/op 12 allocs/op BenchmarkGenerateKey/P256-4 3994 28908 ns/op 896 B/op 14 allocs/op BenchmarkGenerateKey/P384-4 62 1911132 ns/op 1095 B/op 17 allocs/op BenchmarkGenerateKey/P521-4 22 5057242 ns/op 1416 B/op 17 allocs/op PASS ok crypto/ecdsa 2.565s goos: linux goarch: amd64 pkg: crypto/ed25519 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkKeyGeneration-4 325 350961 ns/op BenchmarkNewKeyFromSeed-4 333 356684 ns/op BenchmarkSigning-4 318 383531 ns/op BenchmarkVerification-4 214 544492 ns/op PASS ok crypto/ed25519 1.654s goos: linux goarch: amd64 pkg: crypto/elliptic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScalarBaseMult/P256-4 4809 23602 ns/op 368 B/op 6 allocs/op BenchmarkScalarBaseMult/P224-4 157 766985 ns/op 376 B/op 9 allocs/op BenchmarkScalarBaseMult/P384-4 58 1967395 ns/op 504 B/op 9 allocs/op BenchmarkScalarBaseMult/P521-4 22 5054972 ns/op 696 B/op 9 allocs/op BenchmarkScalarMult/P256-4 1353 87733 ns/op 448 B/op 7 allocs/op BenchmarkScalarMult/P224-4 61 1917158 ns/op 440 B/op 10 allocs/op BenchmarkScalarMult/P384-4 21 5384221 ns/op 616 B/op 10 allocs/op BenchmarkScalarMult/P521-4 7 14582879 ns/op 840 B/op 10 allocs/op BenchmarkMarshalUnmarshal/P256/Uncompressed-4 12216 9536 ns/op 544 B/op 8 allocs/op BenchmarkMarshalUnmarshal/P256/Compressed-4 5406 20743 ns/op 592 B/op 9 allocs/op BenchmarkMarshalUnmarshal/P224/Uncompressed-4 3526 33420 ns/op 560 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P224/Compressed-4 80 1347292 ns/op 592 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P384/Uncompressed-4 2317 48004 ns/op 784 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P384/Compressed-4 298 391161 ns/op 848 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P521/Uncompressed-4 1450 77915 ns/op 1104 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P521/Compressed-4 92 1256773 ns/op 1184 B/op 15 allocs/op PASS ok crypto/elliptic 3.314s goos: linux goarch: amd64 pkg: crypto/hmac cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHMACSHA256_1K-4 14749 8078 ns/op 126.76 MB/s BenchmarkHMACSHA256_32-4 24481 4906 ns/op 6.52 MB/s BenchmarkNewWriteSum-4 10000 10224 ns/op 3.13 MB/s PASS ok crypto/hmac 1.501s goos: linux goarch: amd64 pkg: crypto/internal/bigmod cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkModAdd-4 52222 2245 ns/op BenchmarkModSub-4 53098 2223 ns/op BenchmarkMontgomeryRepr-4 26997 4392 ns/op BenchmarkMontgomeryMul-4 27169 4398 ns/op BenchmarkModMul-4 13107 8995 ns/op BenchmarkExpBig-4 15 7381675 ns/op BenchmarkExp-4 6 18032368 ns/op PASS ok crypto/internal/bigmod 2.159s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncodingDecoding-4 3606 33123 ns/op BenchmarkScalarBaseMult-4 342 333310 ns/op BenchmarkScalarMult-4 152 763244 ns/op BenchmarkVarTimeDoubleScalarBaseMult-4 212 558047 ns/op PASS ok crypto/internal/edwards25519 1.724s goos: linux goarch: amd64 pkg: crypto/internal/edwards25519/field cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAdd-4 514285 208.1 ns/op BenchmarkMultiply-4 4286398 28.03 ns/op BenchmarkSquare-4 5298468 22.64 ns/op BenchmarkInvert-4 24492 4842 ns/op BenchmarkMult32-4 1523940 77.68 ns/op PASS ok crypto/internal/edwards25519/field 1.797s goos: linux goarch: amd64 pkg: crypto/internal/nistec cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScalarMult/P224-4 55 1848190 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P256-4 1576 75657 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P384-4 21 5113461 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P521-4 8 14219935 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P224-4 176 670827 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P256-4 7833 15076 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P384-4 66 1701796 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P521-4 25 4293555 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec 2.177s goos: linux goarch: amd64 pkg: crypto/internal/nistec/fiat cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMul/P224-4 566532 185.5 ns/op 0 B/op 0 allocs/op BenchmarkMul/P384-4 306046 363.4 ns/op 0 B/op 0 allocs/op BenchmarkMul/P521-4 115447 1023 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P224-4 641610 182.8 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P384-4 312289 370.3 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P521-4 117428 1011 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec/fiat 1.754s goos: linux goarch: amd64 pkg: crypto/md5 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes-4 117106 987.2 ns/op 8.10 MB/s BenchmarkHash64-4 126175 903.2 ns/op 70.86 MB/s BenchmarkHash128-4 117056 1021 ns/op 125.37 MB/s BenchmarkHash256-4 93913 1265 ns/op 202.31 MB/s BenchmarkHash512-4 67705 1753 ns/op 292.06 MB/s BenchmarkHash1K-4 43448 2731 ns/op 374.98 MB/s BenchmarkHash8K-4 7321 16140 ns/op 507.55 MB/s BenchmarkHash1M-4 60 1964999 ns/op 533.63 MB/s BenchmarkHash8M-4 7 15684134 ns/op 534.85 MB/s BenchmarkHash8BytesUnaligned-4 109104 988.6 ns/op 8.09 MB/s BenchmarkHash1KUnaligned-4 44071 2715 ns/op 377.21 MB/s BenchmarkHash8KUnaligned-4 7459 16064 ns/op 509.95 MB/s PASS ok crypto/md5 2.592s goos: linux goarch: amd64 pkg: crypto/rand cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPrime-4 1 181744675 ns/op PASS ok crypto/rand 1.202s goos: linux goarch: amd64 pkg: crypto/rc4 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRC4_128-4 13243 9111 ns/op 14.05 MB/s BenchmarkRC4_1K-4 1536 72821 ns/op 14.06 MB/s BenchmarkRC4_8K-4 208 566663 ns/op 14.29 MB/s PASS ok crypto/rc4 1.532s goos: linux goarch: amd64 pkg: crypto/rsa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecryptPKCS1v15/2048-4 10 10416516 ns/op BenchmarkDecryptPKCS1v15/3072-4 5 23475138 ns/op BenchmarkDecryptPKCS1v15/4096-4 3 42472789 ns/op BenchmarkEncryptPKCS1v15/2048-4 42 2661755 ns/op BenchmarkDecryptOAEP/2048-4 10 10541373 ns/op BenchmarkEncryptOAEP/2048-4 42 2708976 ns/op BenchmarkSignPKCS1v15/2048-4 10 10442589 ns/op BenchmarkVerifyPKCS1v15/2048-4 44 2633321 ns/op BenchmarkSignPSS/2048-4 10 10668635 ns/op BenchmarkVerifyPSS/2048-4 44 2657912 ns/op PASS ok crypto/rsa 2.622s goos: linux goarch: amd64 pkg: crypto/sha1 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 104758 1100 ns/op 7.27 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum-4 121832 942.4 ns/op 8.49 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/New-4 73436 1604 ns/op 199.50 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/Sum-4 85771 1386 ns/op 230.86 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 48656 2466 ns/op 415.28 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum-4 51267 2255 ns/op 454.19 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 9924 11746 ns/op 697.42 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum-4 10000 11571 ns/op 708.00 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha1 2.079s goos: linux goarch: amd64 pkg: crypto/sha256 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 70854 1455 ns/op 5.50 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum224-4 88434 1244 ns/op 6.43 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 89664 1316 ns/op 6.08 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 25521 4683 ns/op 218.66 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum224-4 26842 4453 ns/op 229.94 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 25909 4560 ns/op 224.55 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 4178 28331 ns/op 289.15 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum224-4 4147 28072 ns/op 291.82 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 4203 28110 ns/op 291.42 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha256 2.277s goos: linux goarch: amd64 pkg: crypto/sha512 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 58642 2005 ns/op 3.99 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum384-4 72516 1616 ns/op 4.95 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum512-4 65359 1812 ns/op 4.41 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 27993 4237 ns/op 241.70 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum384-4 31490 3765 ns/op 271.95 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum512-4 29982 3991 ns/op 256.59 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 5798 20211 ns/op 405.32 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum384-4 5990 20050 ns/op 408.59 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum512-4 5892 20229 ns/op 404.96 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha512 2.292s goos: linux goarch: amd64 pkg: crypto/subtle cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkConstantTimeByteEq-4 19414386 6.134 ns/op BenchmarkConstantTimeEq-4 19521914 6.158 ns/op BenchmarkConstantTimeLessOrEq-4 19472883 6.197 ns/op BenchmarkXORBytes/8Bytes-4 4206010 26.24 ns/op 304.85 MB/s BenchmarkXORBytes/128Bytes-4 4030915 28.87 ns/op 4432.93 MB/s BenchmarkXORBytes/2048Bytes-4 883756 130.9 ns/op 15640.60 MB/s BenchmarkXORBytes/32768Bytes-4 60894 1974 ns/op 16598.25 MB/s PASS ok crypto/subtle 2.257s goos: linux goarch: amd64 pkg: crypto/tls cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCertCache/0-4 126 841612 ns/op BenchmarkCertCache/1-4 100 1005421 ns/op BenchmarkCertCache/2-4 146 850898 ns/op BenchmarkCertCache/3-4 166 767797 ns/op BenchmarkHandshakeServer/RSA-4 15 7579551 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv13-4 14 8245270 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv12-4 14 7706859 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv13-4 86 1208492 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv12-4 150 799436 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv13-4 48 2485299 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv12-4 56 2032368 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv13-4 4 33260393 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12-4 4 32543954 ns/op BenchmarkThroughput/MaxPacket/1MB/TLSv12-4 4 26407912 ns/op 39.71 MB/s BenchmarkThroughput/MaxPacket/1MB/TLSv13-4 3 35743880 ns/op 29.34 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv12-4 3 37585660 ns/op 55.80 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv13-4 2 52617284 ns/op 39.86 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv12-4 2 64509437 ns/op 65.02 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv13-4 2 90051005 ns/op 46.58 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv12-4 1 116975118 ns/op 71.71 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv13-4 1 162021665 ns/op 51.77 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv12-4 1 219527160 ns/op 76.42 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv13-4 1 322094982 ns/op 52.09 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv12-4 1 467527245 ns/op 71.77 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv13-4 1 631503085 ns/op 53.13 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv12-4 1 870921360 ns/op 77.06 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv13-4 1 1212680779 ns/op 55.34 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv12-4 4 26117684 ns/op 40.15 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv13-4 4 32280158 ns/op 32.48 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv12-4 3 41037953 ns/op 51.10 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv13-4 3 52302476 ns/op 40.10 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv12-4 2 63635286 ns/op 65.91 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv13-4 2 94335940 ns/op 44.46 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv12-4 1 109450578 ns/op 76.64 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv13-4 1 168420383 ns/op 49.81 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv12-4 1 237164726 ns/op 70.74 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv13-4 1 363761053 ns/op 46.12 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv12-4 1 447041968 ns/op 75.06 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv13-4 1 638212169 ns/op 52.58 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv12-4 1 933706136 ns/op 71.87 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv13-4 1 1236037928 ns/op 54.29 MB/s BenchmarkLatency/MaxPacket/200kbps/TLSv12-4 1 707263842 ns/op BenchmarkLatency/MaxPacket/200kbps/TLSv13-4 1 710482974 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv12-4 1 292528049 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv13-4 1 291874533 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv12-4 1 153127095 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv13-4 1 153545407 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv12-4 2 84384032 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv13-4 2 83775350 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv12-4 3 43456484 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv13-4 3 42143656 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv12-4 1 146574475 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv13-4 1 148613059 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv12-4 2 67644566 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv13-4 2 67560740 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv12-4 3 41219601 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv13-4 3 41094390 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv12-4 4 28843399 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv13-4 4 28087368 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv12-4 5 20657169 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv13-4 5 20185488 ns/op PASS ok crypto/tls 20.315s goos: linux goarch: amd64 pkg: crypto/x509 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCreateCertificate/RSA_2048-4 8 13924418 ns/op BenchmarkCreateCertificate/ECDSA_P256-4 330 359548 ns/op BenchmarkParseCertificate/ecdsa_leaf-4 1010 113291 ns/op 12098 B/op 164 allocs/op BenchmarkParseCertificate/rsa_leaf-4 948 121182 ns/op 13506 B/op 187 allocs/op PASS ok crypto/x509 2.186s goos: linux goarch: amd64 pkg: database/sql cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkConcurrentDBExec-4 4 25294533 ns/op 2503266 B/op 14640 allocs/op BenchmarkConcurrentStmtQuery-4 5 25847991 ns/op 2236348 B/op 17655 allocs/op BenchmarkConcurrentStmtExec-4 7 14710445 ns/op 1773081 B/op 3172 allocs/op BenchmarkConcurrentTxQuery-4 4 27424306 ns/op 2423700 B/op 19657 allocs/op BenchmarkConcurrentTxExec-4 10 11021661 ns/op 595508 B/op 14148 allocs/op BenchmarkConcurrentTxStmtQuery-4 6 21041961 ns/op 839708 B/op 20658 allocs/op BenchmarkConcurrentTxStmtExec-4 27 4437124 ns/op 108124 B/op 2175 allocs/op BenchmarkConcurrentRandom-4 5 24337638 ns/op 1641361 B/op 14146 allocs/op BenchmarkManyConcurrentQueries-4 2062 52904 ns/op 3998 B/op 20 allocs/op BenchmarkGrabConn-4 196182 620.1 ns/op 0 B/op 0 allocs/op PASS ok database/sql 2.906s goos: linux goarch: amd64 pkg: debug/gosym cpu: Intel(R) Xeon(R) CPU @ 2.20GHz Benchmark115/NewLineTable-4 226417 519.4 ns/op 384 B/op 3 allocs/op Benchmark115/NewTable-4 70 1614121 ns/op 188246 B/op 13 allocs/op Benchmark115/LineToPC-4 64 1628810 ns/op 0 B/op 0 allocs/op Benchmark115/PCToLine-4 16579 7103 ns/op 0 B/op 0 allocs/op PASS ok debug/gosym 1.740s goos: linux goarch: amd64 pkg: encoding/asn1 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkObjectIdentifierString-4 59068 1935 ns/op BenchmarkMarshal-4 762 155357 ns/op 9528 B/op 363 allocs/op BenchmarkUnmarshal-4 2449 42012 ns/op 784 B/op 43 allocs/op PASS ok encoding/asn1 1.406s goos: linux goarch: amd64 pkg: encoding/base32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode-4 261 442622 ns/op 18.51 MB/s BenchmarkEncodeToString-4 219 494793 ns/op 16.56 MB/s BenchmarkDecode-4 140 842652 ns/op 15.56 MB/s BenchmarkDecodeString-4 136 856967 ns/op 15.30 MB/s PASS ok encoding/base32 1.734s goos: linux goarch: amd64 pkg: encoding/base64 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncodeToString-4 308 353515 ns/op 23.17 MB/s BenchmarkDecodeString/2-4 263398 419.1 ns/op 9.55 MB/s BenchmarkDecodeString/4-4 214809 536.7 ns/op 14.91 MB/s BenchmarkDecodeString/8-4 175478 660.6 ns/op 18.16 MB/s BenchmarkDecodeString/64-4 33242 3567 ns/op 24.67 MB/s BenchmarkDecodeString/8192-4 306 383265 ns/op 28.50 MB/s BenchmarkNewEncoding-4 88630 1326 ns/op 193.04 MB/s PASS ok encoding/base64 1.995s goos: linux goarch: amd64 pkg: encoding/binary cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadSlice1000Int32s-4 1294 86521 ns/op 46.23 MB/s BenchmarkReadStruct-4 16933 7120 ns/op 10.53 MB/s BenchmarkWriteStruct-4 15618 7547 ns/op 9.94 MB/s BenchmarkReadInts-4 47656 2443 ns/op 12.28 MB/s BenchmarkWriteInts-4 45691 2561 ns/op 11.72 MB/s BenchmarkWriteSlice1000Int32s-4 1273 91495 ns/op 43.72 MB/s BenchmarkPutUint16-4 3411924 34.22 ns/op 58.45 MB/s BenchmarkAppendUint16-4 3285163 35.73 ns/op 55.98 MB/s BenchmarkPutUint32-4 2450566 48.87 ns/op 81.84 MB/s BenchmarkAppendUint32-4 2380437 50.78 ns/op 78.76 MB/s BenchmarkPutUint64-4 1076547 110.7 ns/op 72.27 MB/s BenchmarkAppendUint64-4 1000000 110.1 ns/op 72.69 MB/s BenchmarkLittleEndianPutUint16-4 3403825 34.57 ns/op 57.85 MB/s BenchmarkLittleEndianAppendUint16-4 3270626 35.49 ns/op 56.35 MB/s BenchmarkLittleEndianPutUint32-4 2445772 49.06 ns/op 81.53 MB/s BenchmarkLittleEndianAppendUint32-4 2475320 48.28 ns/op 82.86 MB/s BenchmarkLittleEndianPutUint64-4 997790 115.1 ns/op 69.49 MB/s BenchmarkLittleEndianAppendUint64-4 1000000 110.7 ns/op 72.28 MB/s BenchmarkReadFloats-4 161490 752.1 ns/op 15.96 MB/s BenchmarkWriteFloats-4 152260 780.2 ns/op 15.38 MB/s BenchmarkReadSlice1000Float32s-4 1207 96610 ns/op 41.40 MB/s BenchmarkWriteSlice1000Float32s-4 1124 104079 ns/op 38.43 MB/s BenchmarkReadSlice1000Uint8s-4 73412 1412 ns/op 708.32 MB/s BenchmarkWriteSlice1000Uint8s-4 115142 1043 ns/op 958.73 MB/s BenchmarkPutUvarint32-4 734779 153.5 ns/op 26.06 MB/s BenchmarkPutUvarint64-4 211534 573.5 ns/op 13.95 MB/s PASS ok encoding/binary 4.952s goos: linux goarch: amd64 pkg: encoding/csv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRead-4 6867 16814 ns/op 736 B/op 16 allocs/op BenchmarkReadWithFieldsPerRecord-4 7028 16868 ns/op 736 B/op 16 allocs/op BenchmarkReadWithoutFieldsPerRecord-4 6211 17129 ns/op 736 B/op 16 allocs/op BenchmarkReadLargeFields-4 4287 27890 ns/op 3938 B/op 24 allocs/op BenchmarkReadReuseRecord-4 7849 15323 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithFieldsPerRecord-4 7182 15119 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithoutFieldsPerRecord-4 7629 15356 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordLargeFields-4 4496 26439 ns/op 2977 B/op 12 allocs/op BenchmarkWrite-4 11946 9676 ns/op PASS ok encoding/csv 2.545s goos: linux goarch: amd64 pkg: encoding/gob cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEndToEndPipe-4 9139 11752 ns/op 1815 B/op 2 allocs/op BenchmarkEndToEndByteBuffer-4 15358 8343 ns/op 1812 B/op 2 allocs/op BenchmarkEndToEndSliceByteBuffer-4 271 423596 ns/op 16735 B/op 330 allocs/op BenchmarkEncodeComplex128Slice-4 763 136245 ns/op 645 B/op 0 allocs/op BenchmarkEncodeFloat64Slice-4 1664 65293 ns/op 52 B/op 0 allocs/op BenchmarkEncodeInt32Slice-4 1495 67242 ns/op 58 B/op 0 allocs/op BenchmarkEncodeStringSlice-4 2234 45169 ns/op 173 B/op 0 allocs/op BenchmarkEncodeInterfaceSlice-4 70 1696851 ns/op 33811 B/op 253 allocs/op BenchmarkDecodeComplex128Slice-4 508 210601 ns/op 25253 B/op 169 allocs/op BenchmarkDecodeFloat64Slice-4 1188 89349 ns/op 10797 B/op 169 allocs/op BenchmarkDecodeInt32Slice-4 1480 87095 ns/op 9756 B/op 169 allocs/op BenchmarkDecodeStringSlice-4 844 152980 ns/op 39135 B/op 1169 allocs/op BenchmarkDecodeStringsSlice-4 307 434956 ns/op 66284 B/op 2203 allocs/op BenchmarkDecodeBytesSlice-4 562 185151 ns/op 23728 B/op 190 allocs/op BenchmarkDecodeInterfaceSlice-4 108 1103769 ns/op 82965 B/op 3178 allocs/op BenchmarkDecodeMap-4 69 1618482 ns/op 54132 B/op 181 allocs/op PASS ok encoding/gob 3.779s goos: linux goarch: amd64 pkg: encoding/hex cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode/256-4 12621 9379 ns/op 27.29 MB/s BenchmarkEncode/1024-4 2904 38260 ns/op 26.76 MB/s BenchmarkEncode/4096-4 790 150461 ns/op 27.22 MB/s BenchmarkEncode/16384-4 199 600407 ns/op 27.29 MB/s BenchmarkDecode/256-4 24238 4976 ns/op 51.44 MB/s BenchmarkDecode/1024-4 5779 19755 ns/op 51.84 MB/s BenchmarkDecode/4096-4 1500 79111 ns/op 51.78 MB/s BenchmarkDecode/16384-4 375 315630 ns/op 51.91 MB/s BenchmarkDump/256-4 1328 90152 ns/op 2.84 MB/s BenchmarkDump/1024-4 333 349272 ns/op 2.93 MB/s BenchmarkDump/4096-4 80 1392751 ns/op 2.94 MB/s BenchmarkDump/16384-4 20 5930017 ns/op 2.76 MB/s PASS ok encoding/hex 2.760s goos: linux goarch: amd64 pkg: encoding/json cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCodeEncoder-4 1 118786627 ns/op 16.34 MB/s 2144 B/op 17 allocs/op BenchmarkCodeEncoderError-4 1 151413375 ns/op 12.82 MB/s 8393680 B/op 113 allocs/op BenchmarkCodeMarshal-4 1 178769078 ns/op 10.85 MB/s 10332664 B/op 58 allocs/op BenchmarkCodeMarshalError-4 1 181045347 ns/op 10.72 MB/s 10335488 B/op 112 allocs/op BenchmarkMarshalBytes/32-4 20726 5858 ns/op BenchmarkMarshalBytes/256-4 4830 21928 ns/op BenchmarkMarshalBytes/4096-4 440 263412 ns/op BenchmarkMarshalBytesError/32-4 51 2217392 ns/op BenchmarkMarshalBytesError/256-4 51 2317297 ns/op BenchmarkMarshalBytesError/4096-4 46 2425069 ns/op BenchmarkCodeDecoder-4 1 450671702 ns/op 4.31 MB/s 11017504 B/op 91359 allocs/op BenchmarkUnicodeDecoder-4 36916 3280 ns/op 4.27 MB/s 40 B/op 2 allocs/op BenchmarkDecoderStream-4 45651 2429 ns/op 16 B/op 1 allocs/op BenchmarkCodeUnmarshal-4 1 380731740 ns/op 5.10 MB/s 2938152 B/op 91324 allocs/op BenchmarkCodeUnmarshalReuse-4 1 370276456 ns/op 5.24 MB/s 2939056 B/op 91329 allocs/op BenchmarkUnmarshalString-4 53979 2514 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalFloat64-4 122182 942.5 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalInt64-4 241096 423.6 ns/op 144 B/op 1 allocs/op BenchmarkIssue10335-4 74754 1608 ns/op 176 B/op 3 allocs/op BenchmarkIssue34127-4 96703 1252 ns/op 83 B/op 2 allocs/op BenchmarkUnmapped-4 17481 6965 ns/op 208 B/op 4 allocs/op BenchmarkTypeFieldsCache/MissTypes1-4 3687 31777 ns/op BenchmarkTypeFieldsCache/MissTypes10-4 831 144429 ns/op BenchmarkTypeFieldsCache/MissTypes100-4 80 1276017 ns/op BenchmarkTypeFieldsCache/MissTypes1000-4 9 12146637 ns/op BenchmarkTypeFieldsCache/HitTypes1-4 464130 250.3 ns/op BenchmarkTypeFieldsCache/HitTypes10-4 492895 268.8 ns/op BenchmarkTypeFieldsCache/HitTypes100-4 399595 270.1 ns/op BenchmarkTypeFieldsCache/HitTypes1000-4 445761 256.0 ns/op BenchmarkEncodeMarshaler-4 56409 1970 ns/op 75 B/op 1 allocs/op BenchmarkEncoderEncode-4 84612 1360 ns/op 43 B/op 0 allocs/op BenchmarkNumberIsValid-4 4160164 28.57 ns/op BenchmarkNumberIsValidRegexp-4 20631 5959 ns/op PASS ok encoding/json 8.808s goos: linux goarch: amd64 pkg: encoding/pem cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode-4 45 2530237 ns/op 25.90 MB/s BenchmarkDecode-4 22 5343908 ns/op 16.61 MB/s PASS ok encoding/pem 1.356s goos: linux goarch: amd64 pkg: encoding/xml cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMarshal-4 2978 42115 ns/op 6280 B/op 24 allocs/op BenchmarkUnmarshal-4 1039 123147 ns/op 8218 B/op 185 allocs/op BenchmarkHTMLAutoClose-4 4280 26673 ns/op PASS ok encoding/xml 1.797s goos: linux goarch: amd64 pkg: expvar cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkIntAdd-4 361352 384.2 ns/op BenchmarkIntSet-4 309997 421.5 ns/op BenchmarkFloatAdd-4 53071 2177 ns/op BenchmarkFloatSet-4 289558 360.7 ns/op BenchmarkStringSet-4 284073 410.2 ns/op BenchmarkMapSet-4 59172 2101 ns/op BenchmarkMapSetDifferent-4 55548 2120 ns/op BenchmarkMapSetDifferentRandom-4 217 491950 ns/op BenchmarkMapSetString-4 69002 1646 ns/op BenchmarkMapAddSame-4 37476 3516 ns/op BenchmarkMapAddDifferent-4 13503 8502 ns/op BenchmarkMapAddDifferentRandom-4 174 631843 ns/op BenchmarkMapAddSameSteadyState-4 214576 524.0 ns/op BenchmarkMapAddDifferentSteadyState-4 93972 1116 ns/op BenchmarkRealworldExpvarUsage-4 27124 5439 ns/op PASS ok expvar 3.580s goos: linux goarch: amd64 pkg: fmt cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSprintfPadding-4 87556 1179 ns/op BenchmarkSprintfEmpty-4 377197 331.8 ns/op BenchmarkSprintfString-4 237998 436.0 ns/op BenchmarkSprintfTruncateString-4 248360 463.0 ns/op BenchmarkSprintfTruncateBytes-4 131140 777.3 ns/op BenchmarkSprintfSlowParsingPath-4 241843 479.8 ns/op BenchmarkSprintfQuoteString-4 34452 3213 ns/op BenchmarkSprintfInt-4 249862 534.2 ns/op BenchmarkSprintfIntInt-4 164143 709.4 ns/op BenchmarkSprintfPrefixedInt-4 200784 523.4 ns/op BenchmarkSprintfFloat-4 137451 861.4 ns/op BenchmarkSprintfComplex-4 48214 2110 ns/op BenchmarkSprintfBoolean-4 235218 452.5 ns/op BenchmarkSprintfHexString-4 130147 1169 ns/op BenchmarkSprintfHexBytes-4 76814 1427 ns/op BenchmarkSprintfBytes-4 36294 2947 ns/op BenchmarkSprintfStringer-4 81487 1570 ns/op BenchmarkSprintfStructure-4 38389 3462 ns/op BenchmarkManyArgs-4 68602 1759 ns/op BenchmarkFprintInt-4 68066 1818 ns/op BenchmarkFprintfBytes-4 73083 1632 ns/op BenchmarkFprintIntNoAlloc-4 66580 1809 ns/op BenchmarkScanInts-4 34 3289669 ns/op BenchmarkScanRecursiveInt-4 1 391012096 ns/op BenchmarkScanRecursiveIntReaderWrapper-4 1 418221972 ns/op PASS ok fmt 5.523s goos: linux goarch: amd64 pkg: go/build cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkImportVendor-4 568 195946 ns/op PASS ok go/build 1.159s goos: linux goarch: amd64 pkg: go/constant cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStringAdd/1-4 39520 2606 ns/op 160 B/op 2 allocs/op BenchmarkStringAdd/4-4 12810 9164 ns/op 832 B/op 9 allocs/op BenchmarkStringAdd/16-4 3754 32374 ns/op 3168 B/op 23 allocs/op BenchmarkStringAdd/64-4 961 121993 ns/op 11744 B/op 73 allocs/op BenchmarkStringAdd/256-4 240 495572 ns/op 47840 B/op 267 allocs/op BenchmarkStringAdd/1024-4 50 2382078 ns/op 206176 B/op 1038 allocs/op BenchmarkStringAdd/4096-4 12 9834223 ns/op 865632 B/op 4114 allocs/op BenchmarkStringAdd/16384-4 3 42415695 ns/op 3634528 B/op 16407 allocs/op BenchmarkStringAdd/65536-4 1 190643064 ns/op 15258976 B/op 65565 allocs/op PASS ok go/constant 2.502s goos: linux goarch: amd64 pkg: go/format cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFormat/array1-10000-4 1 280539534 ns/op 0.23 MB/s 46900992 B/op 49030 allocs/op PASS ok go/format 1.328s goos: linux goarch: amd64 pkg: go/parser cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkParse-4 5 20631099 ns/op 2.61 MB/s BenchmarkParseOnly-4 6 18435771 ns/op 2.92 MB/s BenchmarkResolve-4 46 2589345 ns/op 20.80 MB/s PASS ok go/parser 2.258s goos: linux goarch: amd64 pkg: go/printer cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPrintFile-4 1 155378239 ns/op 0.33 MB/s 4917592 B/op 27593 allocs/op BenchmarkPrintDecl-4 697 162033 ns/op 0.20 MB/s 15682 B/op 51 allocs/op PASS ok go/printer 1.312s goos: linux goarch: amd64 pkg: go/scanner cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScan-4 258 458323 ns/op BenchmarkScanFiles/go/types/expr.go-4 13 7998527 ns/op 6.20 MB/s BenchmarkScanFiles/go/parser/parser.go-4 8 12941267 ns/op 5.60 MB/s BenchmarkScanFiles/net/http/server.go-4 6 18324674 ns/op 6.18 MB/s BenchmarkScanFiles/go/scanner/errors.go-4 207 562207 ns/op 5.47 MB/s PASS ok go/scanner 1.732s goos: linux goarch: amd64 pkg: go/token cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSearchInts-4 1000000 105.2 ns/op PASS ok go/token 1.129s goos: linux goarch: amd64 pkg: go/types cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLookupFieldOrMethod-4 96 1105138 ns/op BenchmarkNamed/Underlying/nongeneric-4 734954 137.8 ns/op BenchmarkNamed/Underlying/generic-4 849571 132.1 ns/op BenchmarkNamed/Underlying/src_instance-4 864478 132.8 ns/op BenchmarkNamed/Underlying/user_instance-4 875722 132.5 ns/op BenchmarkNamed/NewMethodSet/nongeneric-4 20900 5298 ns/op BenchmarkNamed/NewMethodSet/generic-4 20416 5745 ns/op BenchmarkNamed/NewMethodSet/src_instance-4 21673 5571 ns/op BenchmarkNamed/NewMethodSet/user_instance-4 21492 5636 ns/op BenchmarkCheck/http/funcbodies/info-4 1 651247073 ns/op 46916 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 443090501 ns/op 68952 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 249682275 ns/op 122314 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 218096047 ns/op 140052 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 483570718 ns/op 10703 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 1 119784040 ns/op 43192 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 2 69616946 ns/op 74323 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 2 68182136 ns/op 75870 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 166059900 ns/op 13045 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 2 67620729 ns/op 32029 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 3 49155240 ns/op 44070 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 3 47323169 ns/op 45781 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1293230703 ns/op 50382 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 659874669 ns/op 98736 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 198311645 ns/op 328448 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 135493260 ns/op 480601 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 475144451 ns/op 4203 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 1 101327917 ns/op 19692 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 2 83543331 ns/op 23896 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 2 82193838 ns/op 24285 lines/s PASS ok go/types 18.537s goos: linux goarch: amd64 pkg: hash/adler32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAdler32KB-4 8442 14029 ns/op 72.99 MB/s PASS ok hash/adler32 1.240s goos: linux goarch: amd64 pkg: hash/crc32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCRC32/poly=IEEE/size=15/align=0-4 189748 584.0 ns/op 25.68 MB/s BenchmarkCRC32/poly=IEEE/size=15/align=1-4 200079 568.1 ns/op 26.41 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=0-4 103622 1106 ns/op 36.16 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=1-4 107886 1069 ns/op 37.41 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=0-4 441224 264.7 ns/op 1934.09 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=1-4 429457 262.4 ns/op 1951.20 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=0-4 383048 306.3 ns/op 3343.27 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=1-4 378673 301.5 ns/op 3396.12 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=0-4 230174 509.6 ns/op 8037.86 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=1-4 234895 501.5 ns/op 8168.20 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=0-4 51991 2325 ns/op 14094.80 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=1-4 52528 2284 ns/op 14344.71 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=0-4 412267 277.7 ns/op 54.01 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=1-4 427760 272.7 ns/op 55.00 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=0-4 411088 279.9 ns/op 142.90 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=1-4 413726 276.2 ns/op 144.82 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=0-4 309866 378.1 ns/op 1354.17 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=1-4 292448 379.0 ns/op 1350.90 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=0-4 246700 482.4 ns/op 2122.63 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=1-4 237229 488.2 ns/op 2097.53 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=0-4 207956 564.7 ns/op 7253.62 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=1-4 207084 566.0 ns/op 7237.05 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=0-4 46210 2600 ns/op 12604.66 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=1-4 45487 2599 ns/op 12607.00 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=0-4 201952 574.4 ns/op 26.12 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=1-4 199268 581.2 ns/op 25.81 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=0-4 92536 1208 ns/op 33.10 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=1-4 101222 1174 ns/op 34.06 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=0-4 7330 16334 ns/op 31.34 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=1-4 7053 15951 ns/op 32.10 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=0-4 3464 33728 ns/op 30.36 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=1-4 3514 33452 ns/op 30.61 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=0-4 889 135112 ns/op 30.32 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=1-4 859 136745 ns/op 29.95 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=0-4 100 1094753 ns/op 29.93 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=1-4 100 1086480 ns/op 30.16 MB/s PASS ok hash/crc32 5.578s goos: linux goarch: amd64 pkg: hash/crc64 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCrc64/ISO64KB-4 82 1413317 ns/op 46.37 MB/s BenchmarkCrc64/ISO4KB-4 850 117768 ns/op 34.78 MB/s BenchmarkCrc64/ISO1KB-4 4316 25114 ns/op 40.77 MB/s BenchmarkCrc64/ECMA64KB-4 82 1417316 ns/op 46.24 MB/s BenchmarkCrc64/Random64KB-4 92 1251578 ns/op 52.36 MB/s BenchmarkCrc64/Random16KB-4 360 326150 ns/op 50.23 MB/s PASS ok hash/crc64 1.828s goos: linux goarch: amd64 pkg: hash/fnv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFnv32KB-4 8426 13875 ns/op 73.80 MB/s BenchmarkFnv32aKB-4 8553 13869 ns/op 73.83 MB/s BenchmarkFnv64KB-4 8096 14051 ns/op 72.88 MB/s BenchmarkFnv64aKB-4 8307 13922 ns/op 73.55 MB/s BenchmarkFnv128KB-4 2000 58859 ns/op 17.40 MB/s BenchmarkFnv128aKB-4 2091 57026 ns/op 17.96 MB/s PASS ok hash/fnv 1.915s goos: linux goarch: amd64 pkg: hash/maphash cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash/n=4/Write-4 589104 205.6 ns/op 19.46 MB/s BenchmarkHash/n=4/Bytes-4 3901900 30.81 ns/op 129.82 MB/s BenchmarkHash/n=4/String-4 1674127 70.49 ns/op 56.74 MB/s BenchmarkHash/n=8/Write-4 546548 196.4 ns/op 40.73 MB/s BenchmarkHash/n=8/Bytes-4 4087712 29.28 ns/op 273.24 MB/s BenchmarkHash/n=8/String-4 1763646 66.54 ns/op 120.23 MB/s BenchmarkHash/n=16/Write-4 564771 197.1 ns/op 81.16 MB/s BenchmarkHash/n=16/Bytes-4 4467062 26.72 ns/op 598.91 MB/s BenchmarkHash/n=16/String-4 1828867 65.02 ns/op 246.07 MB/s BenchmarkHash/n=32/Write-4 535893 210.0 ns/op 152.37 MB/s BenchmarkHash/n=32/Bytes-4 4263001 28.12 ns/op 1138.13 MB/s BenchmarkHash/n=32/String-4 1632818 70.56 ns/op 453.51 MB/s BenchmarkHash/n=64/Write-4 519730 223.5 ns/op 286.35 MB/s BenchmarkHash/n=64/Bytes-4 3938595 30.36 ns/op 2108.07 MB/s BenchmarkHash/n=64/String-4 1747237 68.19 ns/op 938.54 MB/s BenchmarkHash/n=256/Write-4 367975 305.0 ns/op 839.38 MB/s BenchmarkHash/n=256/Bytes-4 2134627 55.45 ns/op 4616.63 MB/s BenchmarkHash/n=256/String-4 899140 130.4 ns/op 1963.88 MB/s BenchmarkHash/n=320/Write-4 390859 294.2 ns/op 1087.63 MB/s BenchmarkHash/n=320/Bytes-4 1734566 67.54 ns/op 4737.76 MB/s BenchmarkHash/n=320/String-4 640014 178.9 ns/op 1788.87 MB/s BenchmarkHash/n=1024/Write-4 265443 447.0 ns/op 2291.02 MB/s BenchmarkHash/n=1024/Bytes-4 724453 160.3 ns/op 6386.88 MB/s BenchmarkHash/n=1024/String-4 259220 451.2 ns/op 2269.54 MB/s BenchmarkHash/n=4096/Write-4 120864 987.9 ns/op 4146.15 MB/s BenchmarkHash/n=4096/Bytes-4 205821 583.1 ns/op 7024.27 MB/s BenchmarkHash/n=4096/String-4 67083 1758 ns/op 2329.79 MB/s BenchmarkHash/n=16384/Write-4 37974 3194 ns/op 5129.10 MB/s BenchmarkHash/n=16384/Bytes-4 52544 2250 ns/op 7283.04 MB/s BenchmarkHash/n=16384/String-4 17384 6879 ns/op 2381.64 MB/s PASS ok hash/maphash 5.537s goos: linux goarch: amd64 pkg: html cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEscape-4 805 133647 ns/op BenchmarkEscapeNone-4 117471 971.9 ns/op BenchmarkUnescape-4 711 158316 ns/op BenchmarkUnescapeNone-4 503377 234.9 ns/op BenchmarkUnescapeSparse-4 10399 11455 ns/op BenchmarkUnescapeDense-4 1078 107119 ns/op PASS ok html 1.868s goos: linux goarch: amd64 pkg: html/template cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCSSEscaper-4 9212 12570 ns/op BenchmarkCSSEscaperNoSpecials-4 43815 2656 ns/op BenchmarkDecodeCSS-4 26366 4519 ns/op BenchmarkDecodeCSSNoSpecials-4 4383306 27.42 ns/op BenchmarkCSSValueFilter-4 107374 1077 ns/op BenchmarkCSSValueFilterOk-4 77917 1506 ns/op BenchmarkEscapedExecute-4 4225 24741 ns/op BenchmarkHTMLNospaceEscaper-4 10000 10640 ns/op BenchmarkHTMLNospaceEscaperNoSpecials-4 67387 1785 ns/op BenchmarkStripTags-4 21219 5603 ns/op BenchmarkStripTagsNoSpecials-4 279102 397.3 ns/op BenchmarkJSValEscaperWithNum-4 23526 5061 ns/op BenchmarkJSValEscaperWithStr-4 4552 22380 ns/op BenchmarkJSValEscaperWithStrNoSpecials-4 18084 6571 ns/op BenchmarkJSValEscaperWithObj-4 4297 26548 ns/op BenchmarkJSValEscaperWithObjNoSpecials-4 12846 9161 ns/op BenchmarkJSStrEscaperNoSpecials-4 59408 1978 ns/op BenchmarkJSStrEscaper-4 10000 10326 ns/op BenchmarkJSRegexpEscaperNoSpecials-4 53145 2271 ns/op BenchmarkJSRegexpEscaper-4 9918 11054 ns/op BenchmarkTemplateSpecialTags-4 78 1326817 ns/op BenchmarkURLEscaper-4 3801 28416 ns/op BenchmarkURLEscaperNoSpecials-4 153621 717.8 ns/op BenchmarkURLNormalizer-4 5396 21212 ns/op BenchmarkURLNormalizerNoSpecials-4 154284 761.3 ns/op BenchmarkSrcsetFilter-4 17616 6601 ns/op BenchmarkSrcsetFilterNoSpecials-4 107052 1124 ns/op PASS ok html/template 4.870s goos: linux goarch: amd64 pkg: image cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAt/rgba-4 603548 192.0 ns/op 16 B/op 1 allocs/op BenchmarkAt/rgba64-4 400975 272.4 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba-4 626540 191.2 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba64-4 449780 270.6 ns/op 16 B/op 1 allocs/op BenchmarkAt/alpha-4 1825239 65.94 ns/op 0 B/op 0 allocs/op BenchmarkAt/alpha16-4 1000000 101.4 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray-4 1827129 65.30 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray16-4 1201197 100.0 ns/op 0 B/op 0 allocs/op BenchmarkAt/paletted-4 1383780 84.76 ns/op 0 B/op 0 allocs/op BenchmarkSet/rgba-4 428655 266.1 ns/op 16 B/op 1 allocs/op BenchmarkSet/rgba64-4 332038 327.8 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba-4 459787 261.5 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba64-4 356973 338.5 ns/op 16 B/op 1 allocs/op BenchmarkSet/alpha-4 756868 149.5 ns/op 0 B/op 0 allocs/op BenchmarkSet/alpha16-4 533378 216.2 ns/op 16 B/op 1 allocs/op BenchmarkSet/gray-4 925282 127.0 ns/op 0 B/op 0 allocs/op BenchmarkSet/gray16-4 565440 225.9 ns/op 16 B/op 1 allocs/op BenchmarkSet/paletted-4 414704 282.9 ns/op 0 B/op 0 allocs/op BenchmarkRGBAAt-4 1382202 87.11 ns/op BenchmarkRGBASetRGBA-4 1376649 86.16 ns/op BenchmarkRGBA64At-4 701358 163.9 ns/op BenchmarkRGBA64SetRGBA64-4 778125 147.5 ns/op BenchmarkNRGBAAt-4 1399374 86.46 ns/op BenchmarkNRGBASetNRGBA-4 1339282 86.74 ns/op BenchmarkNRGBA64At-4 649610 167.5 ns/op BenchmarkNRGBA64SetNRGBA64-4 765942 146.8 ns/op BenchmarkAlphaAt-4 2244139 53.89 ns/op BenchmarkAlphaSetAlpha-4 2197288 52.66 ns/op BenchmarkAlpha16At-4 1462336 80.92 ns/op BenchmarkAlphaSetAlpha16-4 1502002 79.89 ns/op BenchmarkGrayAt-4 2305239 52.35 ns/op BenchmarkGraySetGray-4 2264228 51.55 ns/op BenchmarkGray16At-4 1501422 79.15 ns/op BenchmarkGraySetGray16-4 1530073 78.64 ns/op PASS ok image 6.474s goos: linux goarch: amd64 pkg: image/color cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkYCbCrToRGB/0-4 4025803 27.27 ns/op BenchmarkYCbCrToRGB/128-4 4037654 26.79 ns/op BenchmarkYCbCrToRGB/255-4 4114965 25.93 ns/op BenchmarkRGBToYCbCr/0-4 4193119 25.98 ns/op BenchmarkRGBToYCbCr/Cb-4 4261399 25.80 ns/op BenchmarkRGBToYCbCr/Cr-4 4289320 26.56 ns/op BenchmarkYCbCrToRGBA/0-4 3447598 32.19 ns/op BenchmarkYCbCrToRGBA/128-4 3199296 35.27 ns/op BenchmarkYCbCrToRGBA/255-4 3394196 32.66 ns/op BenchmarkNYCbCrAToRGBA/0-4 3106687 34.94 ns/op BenchmarkNYCbCrAToRGBA/128-4 3173865 35.74 ns/op BenchmarkNYCbCrAToRGBA/255-4 3252967 34.23 ns/op PASS ok image/color 2.778s goos: linux goarch: amd64 pkg: image/draw cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFillOver-4 3 33783576 ns/op BenchmarkFillSrc-4 302 388432 ns/op BenchmarkCopyOver-4 6 17397385 ns/op BenchmarkCopySrc-4 364 306558 ns/op BenchmarkNRGBAOver-4 6 18734188 ns/op BenchmarkNRGBASrc-4 9 12099786 ns/op BenchmarkYCbCr-4 8 13543957 ns/op BenchmarkGray-4 16 6841984 ns/op BenchmarkCMYK-4 9 12135970 ns/op BenchmarkGlyphOver-4 19 6029759 ns/op BenchmarkRGBAMaskOver-4 4 31528452 ns/op BenchmarkGrayMaskOver-4 5 23336939 ns/op BenchmarkRGBA64ImageMaskOver-4 3 38637119 ns/op BenchmarkRGBA-4 4 25305980 ns/op BenchmarkPalettedFill-4 860 133573 ns/op BenchmarkPalettedRGBA-4 4 27766629 ns/op BenchmarkGenericOver-4 2 55912856 ns/op BenchmarkGenericMaskOver-4 5 22747698 ns/op BenchmarkGenericSrc-4 3 36899527 ns/op BenchmarkGenericMaskSrc-4 4 30781280 ns/op PASS ok image/draw 7.086s goos: linux goarch: amd64 pkg: image/gif cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecode-4 22 4664414 ns/op 3.31 MB/s 47848 B/op 267 allocs/op BenchmarkEncodeRandomPaletted-4 1 110492733 ns/op 2.78 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRandomRGBA-4 1 3051763888 ns/op 0.40 MB/s 417248 B/op 13 allocs/op BenchmarkEncodeRealisticPaletted-4 56 2106896 ns/op 7.33 MB/s 79985 B/op 7 allocs/op BenchmarkEncodeRealisticRGBA-4 1 150394426 ns/op 0.41 MB/s 105952 B/op 13 allocs/op PASS ok image/gif 5.106s goos: linux goarch: amd64 pkg: image/jpeg cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFDCT-4 3628 28978 ns/op BenchmarkIDCT-4 3889 27812 ns/op BenchmarkDecodeBaseline-4 9 12403470 ns/op 4.98 MB/s 63024 B/op 5 allocs/op BenchmarkDecodeProgressive-4 6 17395949 ns/op 3.55 MB/s 259712 B/op 13 allocs/op BenchmarkEncodeRGBA-4 1 155847477 ns/op 7.88 MB/s 4400 B/op 4 allocs/op BenchmarkEncodeYCbCr-4 1 197001494 ns/op 4.68 MB/s 4400 B/op 4 allocs/op PASS ok image/jpeg 2.354s goos: linux goarch: amd64 pkg: image/png cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPaeth-4 12305120 9.824 ns/op BenchmarkDecodeGray-4 12 9186246 ns/op 7.13 MB/s 137024 B/op 102 allocs/op BenchmarkDecodeNRGBAGradient-4 3 39024409 ns/op 6.72 MB/s 337328 B/op 188 allocs/op BenchmarkDecodeNRGBAOpaque-4 3 34247197 ns/op 7.65 MB/s 346592 B/op 152 allocs/op BenchmarkDecodePaletted-4 21 5294462 ns/op 12.38 MB/s 139456 B/op 309 allocs/op BenchmarkDecodeRGB-4 4 31963417 ns/op 8.20 MB/s 332000 B/op 157 allocs/op BenchmarkDecodeInterlacing-4 3 39382823 ns/op 6.66 MB/s 605216 B/op 268 allocs/op BenchmarkEncodeGray-4 2 61170984 ns/op 5.02 MB/s 852184 B/op 29 allocs/op BenchmarkEncodeGrayWithBufferPool-4 2 60308211 ns/op 5.09 MB/s 426080 B/op 14 allocs/op BenchmarkEncodeNRGBOpaque-4 1 197194435 ns/op 6.23 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeNRGBA-4 1 216404122 ns/op 5.68 MB/s 864088 B/op 29 allocs/op BenchmarkEncodePaletted-4 4 30322686 ns/op 10.13 MB/s 848592 B/op 32 allocs/op BenchmarkEncodeRGBOpaque-4 1 202010986 ns/op 6.08 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeRGBA-4 1 811094767 ns/op 1.51 MB/s 864088 B/op 29 allocs/op PASS ok image/png 4.693s goos: linux goarch: amd64 pkg: index/suffixarray cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkNew/text=opticks/size=100K/bits=32-4 2 53873448 ns/op 1.86 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=opticks/size=100K/bits=64-4 3 45709732 ns/op 2.19 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=32-4 1 321996423 ns/op 1.55 MB/s 2007128 B/op 3 allocs/op BenchmarkNew/text=opticks/size=500K/bits=64-4 1 305129867 ns/op 1.64 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=32-4 2 54000918 ns/op 1.85 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=64-4 3 45848815 ns/op 2.18 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=32-4 1 309645111 ns/op 1.61 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=64-4 1 286555937 ns/op 1.74 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=32-4 1 687725641 ns/op 1.45 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=64-4 1 666928789 ns/op 1.50 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=32-4 1 4184680953 ns/op 1.19 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=64-4 1 4130489167 ns/op 1.21 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=go/size=10M/bits=32-4 1 8601842734 ns/op 1.16 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=go/size=10M/bits=64-4 1 8407436238 ns/op 1.19 MB/s 80003152 B/op 2 allocs/op BenchmarkNew/text=go/size=50M/bits=32-4 1 48363818307 ns/op 1.03 MB/s 200007760 B/op 2 allocs/op BenchmarkNew/text=go/size=50M/bits=64-4 1 46531065318 ns/op 1.07 MB/s 400007248 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=32-4 10 10129523 ns/op 9.87 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=64-4 9 11552857 ns/op 8.66 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=32-4 3 50244323 ns/op 9.95 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=64-4 2 55935658 ns/op 8.94 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=32-4 2 98217340 ns/op 10.18 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=64-4 1 113180841 ns/op 8.84 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=32-4 1 500899502 ns/op 9.98 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=64-4 1 561425715 ns/op 8.91 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=zero/size=10M/bits=32-4 1 987277107 ns/op 10.13 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=zero/size=10M/bits=64-4 1 1135369229 ns/op 8.81 MB/s 80003152 B/op 2 allocs/op BenchmarkNew/text=zero/size=50M/bits=32-4 1 4985434210 ns/op 10.03 MB/s 200007760 B/op 2 allocs/op BenchmarkNew/text=zero/size=50M/bits=64-4 1 5583230817 ns/op 8.96 MB/s 400007248 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=32-4 2 63190074 ns/op 1.58 MB/s 540752 B/op 3 allocs/op BenchmarkNew/text=rand/size=100K/bits=64-4 2 54305082 ns/op 1.84 MB/s 1073232 B/op 3 allocs/op BenchmarkNew/text=rand/size=500K/bits=32-4 1 394397202 ns/op 1.27 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=64-4 1 431819905 ns/op 1.16 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=32-4 1 889162710 ns/op 1.12 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=64-4 1 965964951 ns/op 1.04 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=32-4 1 6101372869 ns/op 0.82 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=64-4 1 6110863219 ns/op 0.82 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=rand/size=10M/bits=32-4 1 13290767914 ns/op 0.75 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=rand/size=10M/bits=64-4 1 13464754136 ns/op 0.74 MB/s 80003152 B/op 2 allocs/op BenchmarkNew/text=rand/size=50M/bits=32-4 1 79334332655 ns/op 0.63 MB/s 200007760 B/op 2 allocs/op BenchmarkNew/text=rand/size=50M/bits=64-4 1 80915130768 ns/op 0.62 MB/s 400007248 B/op 2 allocs/op BenchmarkSaveRestore/bits=32-4 1 185495381 ns/op 22.53 MB/s 5275648 B/op 4 allocs/op BenchmarkSaveRestore/bits=64-4 1 189765996 ns/op 22.03 MB/s 9469952 B/op 4 allocs/op PASS ok index/suffixarray 359.489s goos: linux goarch: amd64 pkg: internal/fuzz cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMarshalCorpusFile/1-4 35824 3010 ns/op 0.33 MB/s BenchmarkMarshalCorpusFile/2-4 36132 3238 ns/op 0.62 MB/s BenchmarkMarshalCorpusFile/4-4 32761 3505 ns/op 1.14 MB/s BenchmarkMarshalCorpusFile/8-4 27595 4229 ns/op 1.89 MB/s BenchmarkMarshalCorpusFile/16-4 22009 5358 ns/op 2.99 MB/s BenchmarkMarshalCorpusFile/32-4 15042 7978 ns/op 4.01 MB/s BenchmarkMarshalCorpusFile/64-4 9458 12468 ns/op 5.13 MB/s BenchmarkMarshalCorpusFile/128-4 5937 20192 ns/op 6.34 MB/s BenchmarkMarshalCorpusFile/256-4 2728 39809 ns/op 6.43 MB/s BenchmarkMarshalCorpusFile/512-4 1419 77892 ns/op 6.57 MB/s BenchmarkMarshalCorpusFile/1024-4 740 149264 ns/op 6.86 MB/s BenchmarkMarshalCorpusFile/2048-4 384 301494 ns/op 6.79 MB/s BenchmarkMarshalCorpusFile/4096-4 198 583577 ns/op 7.02 MB/s BenchmarkMarshalCorpusFile/8192-4 93 1185676 ns/op 6.91 MB/s BenchmarkMarshalCorpusFile/16384-4 50 2363289 ns/op 6.93 MB/s BenchmarkMarshalCorpusFile/32768-4 18 6357127 ns/op 5.15 MB/s BenchmarkMarshalCorpusFile/65536-4 8 12921246 ns/op 5.07 MB/s BenchmarkMarshalCorpusFile/131072-4 4 28175440 ns/op 4.65 MB/s BenchmarkMarshalCorpusFile/262144-4 2 56896970 ns/op 4.61 MB/s BenchmarkMarshalCorpusFile/524288-4 1 127226834 ns/op 4.12 MB/s BenchmarkMarshalCorpusFile/1048576-4 1 223091434 ns/op 4.70 MB/s BenchmarkUnmarshalCorpusFile/1-4 8860 12049 ns/op 0.08 MB/s BenchmarkUnmarshalCorpusFile/2-4 9892 12004 ns/op 0.17 MB/s BenchmarkUnmarshalCorpusFile/4-4 8972 13292 ns/op 0.30 MB/s BenchmarkUnmarshalCorpusFile/8-4 7707 15119 ns/op 0.53 MB/s BenchmarkUnmarshalCorpusFile/16-4 6268 18506 ns/op 0.86 MB/s BenchmarkUnmarshalCorpusFile/32-4 4094 27782 ns/op 1.15 MB/s BenchmarkUnmarshalCorpusFile/64-4 3309 31807 ns/op 2.01 MB/s BenchmarkUnmarshalCorpusFile/128-4 2898 41077 ns/op 3.12 MB/s BenchmarkUnmarshalCorpusFile/256-4 1054 110176 ns/op 2.32 MB/s BenchmarkUnmarshalCorpusFile/512-4 568 206558 ns/op 2.48 MB/s BenchmarkUnmarshalCorpusFile/1024-4 298 402236 ns/op 2.55 MB/s BenchmarkUnmarshalCorpusFile/2048-4 151 784446 ns/op 2.61 MB/s BenchmarkUnmarshalCorpusFile/4096-4 74 1554430 ns/op 2.64 MB/s BenchmarkUnmarshalCorpusFile/8192-4 38 3129412 ns/op 2.62 MB/s BenchmarkUnmarshalCorpusFile/16384-4 18 6199709 ns/op 2.64 MB/s BenchmarkUnmarshalCorpusFile/32768-4 9 12501172 ns/op 2.62 MB/s BenchmarkUnmarshalCorpusFile/65536-4 5 25012376 ns/op 2.62 MB/s BenchmarkUnmarshalCorpusFile/131072-4 3 50298066 ns/op 2.61 MB/s BenchmarkUnmarshalCorpusFile/262144-4 1 102640520 ns/op 2.55 MB/s BenchmarkUnmarshalCorpusFile/524288-4 1 207328184 ns/op 2.53 MB/s BenchmarkUnmarshalCorpusFile/1048576-4 1 411021859 ns/op 2.55 MB/s BenchmarkMutatorBytes/1-4 30000 3342 ns/op BenchmarkMutatorBytes/10-4 38427 3165 ns/op BenchmarkMutatorBytes/100-4 34915 3417 ns/op BenchmarkMutatorBytes/1000-4 23601 5338 ns/op BenchmarkMutatorBytes/10000-4 5679 24355 ns/op BenchmarkMutatorBytes/100000-4 836 151904 ns/op BenchmarkMutatorString/1-4 31432 3563 ns/op BenchmarkMutatorString/10-4 35866 3394 ns/op BenchmarkMutatorString/100-4 30740 4179 ns/op BenchmarkMutatorString/1000-4 13430 7882 ns/op BenchmarkMutatorString/10000-4 2988 63234 ns/op BenchmarkMutatorString/100000-4 196 629402 ns/op BenchmarkMutatorAllBasicTypes/[]uint8-4 18136 5942 ns/op BenchmarkMutatorAllBasicTypes/string-4 18975 6105 ns/op BenchmarkMutatorAllBasicTypes/bool-4 61384 1931 ns/op BenchmarkMutatorAllBasicTypes/float32-4 54996 2195 ns/op BenchmarkMutatorAllBasicTypes/float64-4 54884 2184 ns/op BenchmarkMutatorAllBasicTypes/int-4 58719 2020 ns/op BenchmarkMutatorAllBasicTypes/int8-4 57764 2005 ns/op BenchmarkMutatorAllBasicTypes/int16-4 58588 2009 ns/op BenchmarkMutatorAllBasicTypes/int32-4 58501 2011 ns/op BenchmarkMutatorAllBasicTypes/int64-4 59071 2029 ns/op BenchmarkMutatorAllBasicTypes/uint8-4 56683 2101 ns/op BenchmarkMutatorAllBasicTypes/uint16-4 58246 2072 ns/op BenchmarkMutatorAllBasicTypes/uint32-4 56630 2074 ns/op BenchmarkMutatorAllBasicTypes/uint64-4 56780 2097 ns/op PASS ok internal/fuzz 12.978s goos: linux goarch: amd64 pkg: internal/intern cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStress-4 34368 3377 ns/op 0 B/op 0 allocs/op BenchmarkGetByString-4 127141 939.0 ns/op 0 B/op 0 allocs/op PASS ok internal/intern 1.289s goos: linux goarch: amd64 pkg: internal/poll cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSplicePipe/SplicePipeWithPool-4 35192 4599 ns/op BenchmarkSplicePipe/SplicePipeWithoutPool-4 11068 9761 ns/op BenchmarkSplicePipePoolParallel-4 102710 1639 ns/op BenchmarkSplicePipeNativeParallel-4 31136 3622 ns/op PASS ok internal/poll 1.969s goos: linux goarch: amd64 pkg: internal/trace cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMMU-4 5 21249653 ns/op PASS ok internal/trace 4.047s PASS ok internal/zstd 1.021s goos: linux goarch: amd64 pkg: io cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCopyNSmall-4 10000 15575 ns/op BenchmarkCopyNLarge-4 136 1179942 ns/op PASS ok io 1.436s goos: linux goarch: amd64 pkg: log cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkItoa-4 212824 526.2 ns/op BenchmarkPrintln-4 22732 5313 ns/op 78 B/op 1 allocs/op BenchmarkPrintlnNoFlags-4 33872 3499 ns/op 66 B/op 1 allocs/op BenchmarkConcurrent-4 2515 57333 ns/op BenchmarkDiscard-4 918286 128.2 ns/op 0 B/op 0 allocs/op PASS ok log 1.845s goos: linux goarch: amd64 pkg: log/slog cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkWriteTime-4 79252 1455 ns/op BenchmarkJSONHandler/defaults-4 7464 15699 ns/op 527 B/op 1 allocs/op BenchmarkJSONHandler/time_format-4 4117 25663 ns/op 803 B/op 6 allocs/op BenchmarkJSONHandler/time_unix-4 5020 22653 ns/op 763 B/op 5 allocs/op BenchmarkPreformatting/separate-4 7048 15201 ns/op 514 B/op 0 allocs/op BenchmarkPreformatting/struct-4 7594 15782 ns/op 531 B/op 1 allocs/op BenchmarkPreformatting/struct_file-4 5350 20398 ns/op 515 B/op 0 allocs/op BenchmarkJSONEncoding/json.Marshal-4 29745 4036 ns/op 79 B/op 2 allocs/op BenchmarkJSONEncoding/Encoder.Encode-4 30254 4001 ns/op 64 B/op 2 allocs/op BenchmarkNopLog/no_attrs-4 61798 1915 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-4 53125 2419 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-parallel-4 47617 2401 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/keys-values-4 50114 2509 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-4 52825 2455 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-parallel-4 47487 2615 ns/op 0 B/op 0 allocs/op BenchmarkPC/0-4 427999 274.4 ns/op 0 B/op 0 allocs/op BenchmarkPC/1-4 328540 366.1 ns/op 0 B/op 0 allocs/op BenchmarkPC/2-4 225045 525.0 ns/op 0 B/op 0 allocs/op BenchmarkPC/3-4 163632 737.5 ns/op 0 B/op 0 allocs/op BenchmarkPC/4-4 129476 902.9 ns/op 0 B/op 0 allocs/op BenchmarkRecord-4 5904 17261 ns/op BenchmarkDispatch/switch-checked-4 202424 587.0 ns/op BenchmarkDispatch/As-4 189006 637.4 ns/op BenchmarkDispatch/Visit-4 185112 634.7 ns/op BenchmarkUnsafeStrings-4 18634 6526 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.500s goos: linux goarch: amd64 pkg: log/slog/internal/benchmarks cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAttrs/disabled/5_args-4 1857118 54.72 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/5_args_ctx-4 1846524 66.79 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/10_args-4 1427238 94.29 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/40_args-4 387873 262.0 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args-4 53925 1860 ns/op 259 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args_ctx-4 58647 1808 ns/op 262 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/10_args-4 48418 2569 ns/op 473 B/op 1 allocs/op BenchmarkAttrs/fastText_discard/40_args-4 13664 7891 ns/op 2053 B/op 1 allocs/op BenchmarkAttrs/Text_discard/5_args-4 14712 9323 ns/op 615 B/op 3 allocs/op BenchmarkAttrs/Text_discard/5_args_ctx-4 11701 9058 ns/op 613 B/op 3 allocs/op BenchmarkAttrs/Text_discard/10_args-4 9975 12279 ns/op 907 B/op 7 allocs/op BenchmarkAttrs/Text_discard/40_args-4 3584 35300 ns/op 3013 B/op 22 allocs/op BenchmarkAttrs/JSON_discard/5_args-4 16593 7166 ns/op 517 B/op 0 allocs/op BenchmarkAttrs/JSON_discard/5_args_ctx-4 16202 7453 ns/op 531 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/10_args-4 11647 9652 ns/op 720 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/40_args-4 3837 29242 ns/op 2382 B/op 2 allocs/op PASS ok log/slog/internal/benchmarks 4.128s goos: linux goarch: amd64 pkg: maps cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMapClone-4 3 45587628 ns/op BenchmarkKeys-4 6 17413878 ns/op BenchmarkValues-4 7 16503969 ns/op PASS ok maps 5.931s goos: linux goarch: amd64 pkg: math cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAcos-4 2212014 54.20 ns/op BenchmarkAcosh-4 943573 111.1 ns/op BenchmarkAsin-4 2219878 54.04 ns/op BenchmarkAsinh-4 968642 118.1 ns/op BenchmarkAtan-4 2919423 41.29 ns/op BenchmarkAtanh-4 965790 112.5 ns/op BenchmarkAtan2-4 2113032 56.93 ns/op BenchmarkCbrt-4 1434121 84.22 ns/op BenchmarkCeil-4 21250934 5.651 ns/op BenchmarkCompare-4 3670426 32.50 ns/op BenchmarkCompare32-4 4978720 24.07 ns/op BenchmarkCopysign-4 2933707 40.46 ns/op BenchmarkCos-4 1357622 88.59 ns/op BenchmarkCosh-4 1482758 80.15 ns/op BenchmarkErf-4 2816089 42.70 ns/op BenchmarkErfc-4 2725424 44.02 ns/op BenchmarkErfinv-4 2471817 48.69 ns/op BenchmarkErfcinv-4 2458660 48.70 ns/op BenchmarkExp-4 5851314 19.39 ns/op BenchmarkExpGo-4 889608 126.5 ns/op BenchmarkExpm1-4 2027916 59.10 ns/op BenchmarkExp2-4 945280 119.0 ns/op BenchmarkExp2Go-4 927538 125.7 ns/op BenchmarkAbs-4 3691399 32.24 ns/op BenchmarkDim-4 8026681 14.97 ns/op BenchmarkFloor-4 21049322 5.675 ns/op BenchmarkMax-4 14112093 8.490 ns/op BenchmarkMin-4 13879873 8.646 ns/op BenchmarkMod-4 325710 339.8 ns/op BenchmarkFrexp-4 2027121 59.13 ns/op BenchmarkGamma-4 677407 170.2 ns/op BenchmarkHypot-4 10114495 10.90 ns/op BenchmarkHypotGo-4 1551205 77.38 ns/op BenchmarkIlogb-4 2469943 48.56 ns/op BenchmarkJ0-4 246914 486.1 ns/op BenchmarkJ1-4 247422 475.3 ns/op BenchmarkJn-4 113210 1037 ns/op BenchmarkLdexp-4 1959187 61.34 ns/op BenchmarkLgamma-4 857649 138.8 ns/op BenchmarkLog-4 5097250 21.23 ns/op BenchmarkLogb-4 2444270 48.84 ns/op BenchmarkLog1p-4 1309090 91.26 ns/op BenchmarkLog10-4 4897192 22.90 ns/op BenchmarkLog2-4 1513087 78.92 ns/op BenchmarkModf-4 2979262 40.17 ns/op BenchmarkNextafter32-4 2839810 42.54 ns/op BenchmarkNextafter64-4 2902168 40.99 ns/op BenchmarkPowInt-4 592682 194.2 ns/op BenchmarkPowFrac-4 442543 272.3 ns/op BenchmarkPow10Pos-4 4296310 28.01 ns/op BenchmarkPow10Neg-4 4049328 29.60 ns/op BenchmarkRound-4 3681243 32.92 ns/op BenchmarkRoundToEven-4 8040216 14.80 ns/op BenchmarkRemainder-4 482769 235.7 ns/op BenchmarkSignbit-4 5116672 23.65 ns/op BenchmarkSin-4 1632560 73.08 ns/op BenchmarkSincos-4 981432 118.9 ns/op BenchmarkSinh-4 1773196 67.77 ns/op BenchmarkSqrtIndirect-4 16335818 6.496 ns/op BenchmarkSqrtLatency-4 16515505 6.809 ns/op BenchmarkSqrtIndirectLatency-4 15805316 6.789 ns/op BenchmarkSqrtGoLatency-4 1000000 104.7 ns/op BenchmarkSqrtPrime-4 32262 3719 ns/op BenchmarkTan-4 1476604 81.01 ns/op BenchmarkTanh-4 1362408 88.60 ns/op BenchmarkTrunc-4 16409937 6.102 ns/op BenchmarkY0-4 248888 476.6 ns/op BenchmarkY1-4 248964 471.6 ns/op BenchmarkYn-4 119930 1006 ns/op BenchmarkFloat64bits-4 5723083 20.94 ns/op BenchmarkFloat64frombits-4 5126400 23.22 ns/op BenchmarkFloat32bits-4 5138059 23.43 ns/op BenchmarkFloat32frombits-4 4817677 24.98 ns/op BenchmarkFMA-4 19818255 6.065 ns/op PASS ok math 12.616s goos: linux goarch: amd64 pkg: math/big cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAddVV/1-4 12540109 9.435 ns/op 6783.47 MB/s BenchmarkAddVV/2-4 11505786 10.42 ns/op 12283.54 MB/s BenchmarkAddVV/3-4 9803106 12.32 ns/op 15579.79 MB/s BenchmarkAddVV/4-4 10829025 11.05 ns/op 23168.91 MB/s BenchmarkAddVV/5-4 9506715 12.62 ns/op 25359.57 MB/s BenchmarkAddVV/10-4 7842247 15.23 ns/op 42026.80 MB/s BenchmarkAddVV/100-4 1666941 71.54 ns/op 89459.99 MB/s BenchmarkAddVV/1000-4 204094 582.6 ns/op 109845.50 MB/s BenchmarkSubVV/1-4 12564610 9.414 ns/op 6798.25 MB/s BenchmarkSubVV/2-4 11330072 10.54 ns/op 12147.67 MB/s BenchmarkSubVV/3-4 9709989 12.24 ns/op 15683.78 MB/s BenchmarkSubVV/4-4 10801923 11.05 ns/op 23174.55 MB/s BenchmarkSubVV/5-4 9582914 12.54 ns/op 25516.89 MB/s BenchmarkSubVV/10-4 7895398 15.25 ns/op 41978.37 MB/s BenchmarkSubVV/100-4 1664418 71.79 ns/op 89148.07 MB/s BenchmarkSubVV/1000-4 204766 581.5 ns/op 110053.02 MB/s BenchmarkAddVW/1-4 13844170 8.655 ns/op 924.27 MB/s BenchmarkAddVW/2-4 12769748 9.475 ns/op 1688.64 MB/s BenchmarkAddVW/3-4 10773379 11.12 ns/op 2157.59 MB/s BenchmarkAddVW/4-4 12005890 9.942 ns/op 3218.64 MB/s BenchmarkAddVW/5-4 11022507 10.92 ns/op 3662.80 MB/s BenchmarkAddVW/10-4 9203268 13.07 ns/op 6119.59 MB/s BenchmarkAddVW/100-4 246411 448.6 ns/op 1783.15 MB/s BenchmarkAddVW/1000-4 35223 3402 ns/op 2351.28 MB/s BenchmarkAddVWext/1-4 14359032 8.291 ns/op 964.91 MB/s BenchmarkAddVWext/2-4 13078503 9.155 ns/op 1747.74 MB/s BenchmarkAddVWext/3-4 12446857 9.612 ns/op 2496.93 MB/s BenchmarkAddVWext/4-4 12124080 9.971 ns/op 3209.39 MB/s BenchmarkAddVWext/5-4 11501661 10.27 ns/op 3893.87 MB/s BenchmarkAddVWext/10-4 9144745 13.09 ns/op 6109.80 MB/s BenchmarkAddVWext/100-4 81637 1470 ns/op 544.05 MB/s BenchmarkAddVWext/1000-4 8043 14155 ns/op 565.18 MB/s BenchmarkSubVW/1-4 13810275 8.688 ns/op 920.79 MB/s BenchmarkSubVW/2-4 11970769 10.12 ns/op 1580.50 MB/s BenchmarkSubVW/3-4 10310781 11.58 ns/op 2072.86 MB/s BenchmarkSubVW/4-4 11947858 9.942 ns/op 3218.74 MB/s BenchmarkSubVW/5-4 10977710 10.77 ns/op 3713.14 MB/s BenchmarkSubVW/10-4 9043502 13.17 ns/op 6075.94 MB/s BenchmarkSubVW/100-4 257901 451.7 ns/op 1771.07 MB/s BenchmarkSubVW/1000-4 35094 3403 ns/op 2351.14 MB/s BenchmarkSubVWext/1-4 13803486 8.696 ns/op 919.99 MB/s BenchmarkSubVWext/2-4 13173525 9.093 ns/op 1759.53 MB/s BenchmarkSubVWext/3-4 11762800 10.24 ns/op 2342.66 MB/s BenchmarkSubVWext/4-4 11959885 9.873 ns/op 3241.16 MB/s BenchmarkSubVWext/5-4 11131183 10.78 ns/op 3711.31 MB/s BenchmarkSubVWext/10-4 9020577 13.16 ns/op 6077.55 MB/s BenchmarkSubVWext/100-4 81655 1466 ns/op 545.82 MB/s BenchmarkSubVWext/1000-4 8128 14217 ns/op 562.72 MB/s BenchmarkMulAddVWW/1-4 11674496 10.30 ns/op 6216.56 MB/s BenchmarkMulAddVWW/2-4 10901760 11.00 ns/op 11638.76 MB/s BenchmarkMulAddVWW/3-4 10258312 11.70 ns/op 16409.12 MB/s BenchmarkMulAddVWW/4-4 9464816 12.53 ns/op 20432.18 MB/s BenchmarkMulAddVWW/5-4 7746241 13.99 ns/op 22875.66 MB/s BenchmarkMulAddVWW/10-4 6632472 18.13 ns/op 35292.71 MB/s BenchmarkMulAddVWW/100-4 1000000 107.0 ns/op 59820.09 MB/s BenchmarkMulAddVWW/1000-4 128144 935.0 ns/op 68446.45 MB/s BenchmarkAddMulVVW/1-4 12131929 9.785 ns/op 6540.57 MB/s BenchmarkAddMulVVW/2-4 11220021 10.78 ns/op 11869.63 MB/s BenchmarkAddMulVVW/3-4 10109997 11.77 ns/op 16307.92 MB/s BenchmarkAddMulVVW/4-4 9101782 13.00 ns/op 19698.08 MB/s BenchmarkAddMulVVW/5-4 8408977 14.23 ns/op 22489.17 MB/s BenchmarkAddMulVVW/10-4 7100211 16.93 ns/op 37791.99 MB/s BenchmarkAddMulVVW/100-4 1484720 80.83 ns/op 79177.63 MB/s BenchmarkAddMulVVW/1000-4 163897 717.9 ns/op 89142.84 MB/s BenchmarkDivWVW/1-4 2627562 45.39 ns/op 1409.99 MB/s BenchmarkDivWVW/2-4 1248348 95.83 ns/op 1335.67 MB/s BenchmarkDivWVW/3-4 927082 124.9 ns/op 1536.94 MB/s BenchmarkDivWVW/4-4 797140 145.8 ns/op 1756.22 MB/s BenchmarkDivWVW/5-4 774097 150.6 ns/op 2124.83 MB/s BenchmarkDivWVW/10-4 419511 283.8 ns/op 2255.10 MB/s BenchmarkDivWVW/100-4 55374 2167 ns/op 2953.37 MB/s BenchmarkDivWVW/1000-4 5535 21051 ns/op 3040.29 MB/s BenchmarkNonZeroShifts/1/shrVU-4 11611278 10.39 ns/op BenchmarkNonZeroShifts/1/shlVU-4 11874279 10.06 ns/op BenchmarkNonZeroShifts/2/shrVU-4 10701072 11.22 ns/op BenchmarkNonZeroShifts/2/shlVU-4 10772823 11.08 ns/op BenchmarkNonZeroShifts/3/shrVU-4 9729042 12.32 ns/op BenchmarkNonZeroShifts/3/shlVU-4 10035051 11.93 ns/op BenchmarkNonZeroShifts/4/shrVU-4 8918570 13.40 ns/op BenchmarkNonZeroShifts/4/shlVU-4 9296018 12.61 ns/op BenchmarkNonZeroShifts/5/shrVU-4 8335390 14.41 ns/op BenchmarkNonZeroShifts/5/shlVU-4 8967042 13.29 ns/op BenchmarkNonZeroShifts/10/shrVU-4 6326938 18.93 ns/op BenchmarkNonZeroShifts/10/shlVU-4 6993748 17.03 ns/op BenchmarkNonZeroShifts/100/shrVU-4 1000000 112.2 ns/op BenchmarkNonZeroShifts/100/shlVU-4 1249515 95.25 ns/op BenchmarkNonZeroShifts/1000/shrVU-4 124772 939.7 ns/op BenchmarkNonZeroShifts/1000/shlVU-4 153914 773.9 ns/op BenchmarkDecimalConversion-4 204 558260 ns/op BenchmarkFloatString/100-4 10000 10572 ns/op 392 B/op 8 allocs/op BenchmarkFloatString/1000-4 223 532780 ns/op 2913 B/op 10 allocs/op BenchmarkFloatString/10000-4 3 49069144 ns/op 61058 B/op 53 allocs/op BenchmarkFloatString/100000-4 1 5011053452 ns/op 844504 B/op 518 allocs/op BenchmarkFloatAdd/10-4 164502 690.5 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100-4 167838 707.3 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/1000-4 151712 769.3 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/10000-4 85837 1391 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100000-4 17280 6965 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10-4 222026 534.8 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100-4 229292 514.7 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/1000-4 220348 533.2 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10000-4 160308 745.9 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100000-4 45475 2663 ns/op 0 B/op 0 allocs/op BenchmarkParseFloatSmallExp-4 1940 60003 ns/op BenchmarkParseFloatLargeExp-4 442 261620 ns/op BenchmarkGCD10x10/WithoutXY-4 198744 584.8 ns/op BenchmarkGCD10x10/WithXY-4 58543 1982 ns/op BenchmarkGCD10x100/WithoutXY-4 96631 1178 ns/op BenchmarkGCD10x100/WithXY-4 16904 7105 ns/op BenchmarkGCD10x1000/WithoutXY-4 60626 1833 ns/op BenchmarkGCD10x1000/WithXY-4 14070 8685 ns/op BenchmarkGCD100x100/WithoutXY-4 24846 4641 ns/op BenchmarkGCD100x100/WithXY-4 10620 11564 ns/op BenchmarkGCD100x1000/WithoutXY-4 11985 10035 ns/op BenchmarkGCD100x1000/WithXY-4 5935 19541 ns/op BenchmarkGCD1000x1000/WithoutXY-4 2244 54917 ns/op BenchmarkGCD1000x1000/WithXY-4 1162 97149 ns/op BenchmarkHilbert-4 24 4889520 ns/op BenchmarkBinomial-4 14797 7975 ns/op BenchmarkQuoRem-4 20574 6164 ns/op BenchmarkExp-4 15 7473462 ns/op BenchmarkExpMont/Odd-4 130 913788 ns/op 2598 B/op 22 allocs/op BenchmarkExpMont/Even1-4 128 937032 ns/op 3366 B/op 38 allocs/op BenchmarkExpMont/Even2-4 123 960434 ns/op 3818 B/op 52 allocs/op BenchmarkExpMont/Even3-4 123 962130 ns/op 3894 B/op 54 allocs/op BenchmarkExpMont/Even4-4 124 956024 ns/op 3854 B/op 53 allocs/op BenchmarkExpMont/Even8-4 121 957453 ns/op 3848 B/op 53 allocs/op BenchmarkExpMont/Even32-4 124 954044 ns/op 3851 B/op 53 allocs/op BenchmarkExpMont/Even64-4 147 802101 ns/op 3624 B/op 53 allocs/op BenchmarkExpMont/Even96-4 142 842009 ns/op 3776 B/op 51 allocs/op BenchmarkExpMont/Even128-4 164 736197 ns/op 3263 B/op 50 allocs/op BenchmarkExpMont/Even255-4 188 637466 ns/op 2957 B/op 47 allocs/op BenchmarkExpMont/SmallEven1-4 447 262281 ns/op 1312 B/op 34 allocs/op BenchmarkExpMont/SmallEven2-4 402 297116 ns/op 1723 B/op 46 allocs/op BenchmarkExpMont/SmallEven3-4 386 301802 ns/op 1727 B/op 47 allocs/op BenchmarkExpMont/SmallEven4-4 397 296279 ns/op 1732 B/op 47 allocs/op BenchmarkExp2-4 14 7510160 ns/op BenchmarkBitset-4 805522 141.6 ns/op BenchmarkBitsetNeg-4 446004 266.6 ns/op BenchmarkBitsetOrig-4 240484 482.4 ns/op BenchmarkBitsetNegOrig-4 142470 774.3 ns/op BenchmarkModSqrt225_Tonelli-4 100 1017978 ns/op BenchmarkModSqrt225_3Mod4-4 376 313007 ns/op BenchmarkModSqrt231_Tonelli-4 112 1042494 ns/op BenchmarkModSqrt231_5Mod8-4 326 364815 ns/op BenchmarkModInverse-4 12283 9934 ns/op BenchmarkSqrt-4 1668 75227 ns/op BenchmarkIntSqr/1-4 1415308 84.06 ns/op BenchmarkIntSqr/2-4 768396 155.4 ns/op BenchmarkIntSqr/3-4 623804 182.1 ns/op BenchmarkIntSqr/5-4 434420 273.4 ns/op BenchmarkIntSqr/8-4 308281 373.7 ns/op BenchmarkIntSqr/10-4 254266 465.9 ns/op BenchmarkIntSqr/20-4 47844 2635 ns/op BenchmarkIntSqr/30-4 34923 3491 ns/op BenchmarkIntSqr/50-4 21858 5516 ns/op BenchmarkIntSqr/80-4 13112 9064 ns/op BenchmarkIntSqr/100-4 9919 11899 ns/op BenchmarkIntSqr/200-4 3450 31237 ns/op BenchmarkIntSqr/300-4 1551 79449 ns/op BenchmarkIntSqr/500-4 721 156340 ns/op BenchmarkIntSqr/800-4 295 417938 ns/op BenchmarkIntSqr/1000-4 222 514705 ns/op BenchmarkDiv/20/10-4 437611 272.8 ns/op BenchmarkDiv/40/20-4 432900 273.8 ns/op BenchmarkDiv/100/50-4 364010 319.0 ns/op BenchmarkDiv/200/100-4 48342 2540 ns/op BenchmarkDiv/400/200-4 46658 2659 ns/op BenchmarkDiv/1000/500-4 37963 3274 ns/op BenchmarkDiv/2000/1000-4 28557 4361 ns/op BenchmarkDiv/20000/10000-4 1014 114020 ns/op BenchmarkDiv/200000/100000-4 24 4733742 ns/op BenchmarkDiv/2000000/1000000-4 1 128415224 ns/op BenchmarkDiv/20000000/10000000-4 1 3698323195 ns/op BenchmarkMul-4 5 23287251 ns/op BenchmarkNatMul/10-4 177090 667.2 ns/op BenchmarkNatMul/100-4 5197 21661 ns/op BenchmarkNatMul/1000-4 171 673146 ns/op BenchmarkZeroShifts/Shl-4 17140 7117 ns/op BenchmarkZeroShifts/ShlSame-4 5373412 22.16 ns/op BenchmarkZeroShifts/Shr-4 16592 6883 ns/op BenchmarkZeroShifts/ShrSame-4 5462828 21.69 ns/op BenchmarkExp3Power/0x10-4 177081 650.8 ns/op BenchmarkExp3Power/0x40-4 161254 739.8 ns/op BenchmarkExp3Power/0x100-4 90474 1213 ns/op BenchmarkExp3Power/0x400-4 41512 2653 ns/op BenchmarkExp3Power/0x1000-4 8553 12529 ns/op BenchmarkExp3Power/0x4000-4 1910 62398 ns/op BenchmarkExp3Power/0x10000-4 202 571102 ns/op BenchmarkExp3Power/0x40000-4 18 6617438 ns/op BenchmarkExp3Power/0x100000-4 2 62292573 ns/op BenchmarkExp3Power/0x400000-4 1 562938914 ns/op BenchmarkFibo-4 3 39781645 ns/op BenchmarkNatSqr/1-4 828356 130.9 ns/op BenchmarkNatSqr/2-4 537307 233.0 ns/op BenchmarkNatSqr/3-4 495216 267.2 ns/op BenchmarkNatSqr/5-4 280064 386.6 ns/op BenchmarkNatSqr/8-4 191862 564.1 ns/op BenchmarkNatSqr/10-4 168885 679.1 ns/op BenchmarkNatSqr/20-4 40041 2736 ns/op BenchmarkNatSqr/30-4 31662 3600 ns/op BenchmarkNatSqr/50-4 19714 5925 ns/op BenchmarkNatSqr/80-4 12069 10005 ns/op BenchmarkNatSqr/100-4 7914 12958 ns/op BenchmarkNatSqr/200-4 3363 33870 ns/op BenchmarkNatSqr/300-4 1345 79575 ns/op BenchmarkNatSqr/500-4 698 159041 ns/op BenchmarkNatSqr/800-4 307 380872 ns/op BenchmarkNatSqr/1000-4 230 502803 ns/op BenchmarkNatSetBytes/8-4 697161 166.9 ns/op BenchmarkNatSetBytes/24-4 201590 565.6 ns/op BenchmarkNatSetBytes/128-4 46520 2527 ns/op BenchmarkNatSetBytes/7-4 701704 150.8 ns/op BenchmarkNatSetBytes/23-4 202053 561.7 ns/op BenchmarkNatSetBytes/127-4 46737 2488 ns/op BenchmarkScanPi-4 247 477874 ns/op BenchmarkStringPiParallel-4 638 176415 ns/op BenchmarkScan/10/Base2-4 42013 2846 ns/op BenchmarkScan/100/Base2-4 4239 24968 ns/op BenchmarkScan/1000/Base2-4 489 244176 ns/op BenchmarkScan/10/Base8-4 99157 1181 ns/op BenchmarkScan/100/Base8-4 13710 8734 ns/op BenchmarkScan/1000/Base8-4 1359 85348 ns/op BenchmarkScan/10/Base10-4 105720 1118 ns/op BenchmarkScan/100/Base10-4 15006 8065 ns/op BenchmarkScan/1000/Base10-4 1509 77651 ns/op BenchmarkScan/10/Base16-4 114618 1020 ns/op BenchmarkScan/100/Base16-4 16683 7195 ns/op BenchmarkScan/1000/Base16-4 1681 69002 ns/op BenchmarkString/10/Base2-4 168088 691.5 ns/op BenchmarkString/100/Base2-4 23566 5045 ns/op BenchmarkString/1000/Base2-4 2514 47837 ns/op BenchmarkString/10/Base8-4 328864 366.6 ns/op BenchmarkString/100/Base8-4 62088 1898 ns/op BenchmarkString/1000/Base8-4 7106 17364 ns/op BenchmarkString/10/Base10-4 198952 587.6 ns/op BenchmarkString/100/Base10-4 36915 3104 ns/op BenchmarkString/1000/Base10-4 4980 25114 ns/op BenchmarkString/10/Base16-4 386185 315.0 ns/op BenchmarkString/100/Base16-4 82504 1427 ns/op BenchmarkString/1000/Base16-4 8775 12319 ns/op BenchmarkLeafSize/0-4 42 2745181 ns/op BenchmarkLeafSize/1-4 388 293345 ns/op BenchmarkLeafSize/2-4 380 299707 ns/op BenchmarkLeafSize/3-4 286 406314 ns/op BenchmarkLeafSize/4-4 394 296301 ns/op BenchmarkLeafSize/5-4 254 452851 ns/op BenchmarkLeafSize/6-4 292 391898 ns/op BenchmarkLeafSize/7-4 301 373513 ns/op BenchmarkLeafSize/8-4 398 276574 ns/op BenchmarkLeafSize/9-4 219 533241 ns/op BenchmarkLeafSize/10-4 255 449166 ns/op BenchmarkLeafSize/11-4 271 427485 ns/op BenchmarkLeafSize/12-4 300 385979 ns/op BenchmarkLeafSize/13-4 262 427116 ns/op BenchmarkLeafSize/14-4 308 362308 ns/op BenchmarkLeafSize/15-4 322 342522 ns/op BenchmarkLeafSize/16-4 398 278902 ns/op BenchmarkLeafSize/32-4 402 287274 ns/op BenchmarkLeafSize/64-4 367 309169 ns/op BenchmarkProbablyPrime/n=0-4 9 11821623 ns/op BenchmarkProbablyPrime/n=1-4 8 13674075 ns/op BenchmarkProbablyPrime/n=5-4 6 19522234 ns/op BenchmarkProbablyPrime/n=10-4 4 27033587 ns/op BenchmarkProbablyPrime/n=20-4 3 41488773 ns/op BenchmarkProbablyPrime/Lucas-4 10 10469700 ns/op BenchmarkProbablyPrime/MillerRabinBase2-4 74 1512702 ns/op BenchmarkRatCmp-4 213782 535.4 ns/op BenchmarkFloatSqrt/64-4 22234 5306 ns/op 208 B/op 5 allocs/op BenchmarkFloatSqrt/128-4 13778 8403 ns/op 256 B/op 5 allocs/op BenchmarkFloatSqrt/256-4 9958 11905 ns/op 352 B/op 5 allocs/op BenchmarkFloatSqrt/1000-4 4717 24106 ns/op 1312 B/op 6 allocs/op BenchmarkFloatSqrt/10000-4 746 145982 ns/op 17964 B/op 9 allocs/op BenchmarkFloatSqrt/100000-4 57 1956916 ns/op 174593 B/op 20 allocs/op BenchmarkFloatSqrt/1000000-4 1 149742693 ns/op 3674552 B/op 563 allocs/op PASS ok math/big 51.702s goos: linux goarch: amd64 pkg: math/bits cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLeadingZeros-4 8521881 13.97 ns/op BenchmarkLeadingZeros8-4 8380196 14.35 ns/op BenchmarkLeadingZeros16-4 9798476 12.20 ns/op BenchmarkLeadingZeros32-4 9647808 12.32 ns/op BenchmarkLeadingZeros64-4 10519459 11.43 ns/op BenchmarkTrailingZeros-4 10514906 11.10 ns/op BenchmarkTrailingZeros8-4 9640244 12.45 ns/op BenchmarkTrailingZeros16-4 10663051 11.41 ns/op BenchmarkTrailingZeros32-4 9674502 12.29 ns/op BenchmarkTrailingZeros64-4 10851531 10.98 ns/op BenchmarkOnesCount-4 10769431 11.17 ns/op BenchmarkOnesCount8-4 9638599 12.52 ns/op BenchmarkOnesCount16-4 9816588 12.21 ns/op BenchmarkOnesCount32-4 9793825 12.28 ns/op BenchmarkOnesCount64-4 10578349 11.27 ns/op BenchmarkRotateLeft-4 9538897 12.56 ns/op BenchmarkRotateLeft8-4 10346138 11.78 ns/op BenchmarkRotateLeft16-4 9285609 12.66 ns/op BenchmarkRotateLeft32-4 10016990 11.85 ns/op BenchmarkRotateLeft64-4 10376568 11.74 ns/op BenchmarkReverse-4 15925008 7.545 ns/op BenchmarkReverse8-4 21242332 5.651 ns/op BenchmarkReverse16-4 15763552 6.411 ns/op BenchmarkReverse32-4 13892174 7.206 ns/op BenchmarkReverse64-4 15660211 7.563 ns/op BenchmarkReverseBytes-4 20696230 5.765 ns/op BenchmarkReverseBytes16-4 21052066 5.717 ns/op BenchmarkReverseBytes32-4 21142836 5.693 ns/op BenchmarkReverseBytes64-4 20920474 5.743 ns/op BenchmarkAdd-4 10807564 11.11 ns/op BenchmarkAdd32-4 9473724 12.52 ns/op BenchmarkAdd64-4 10861432 11.15 ns/op BenchmarkAdd64multiple-4 18611587 6.448 ns/op BenchmarkSub-4 9627746 12.35 ns/op BenchmarkSub32-4 9548618 12.78 ns/op BenchmarkSub64-4 10798528 11.34 ns/op BenchmarkSub64multiple-4 18427605 6.514 ns/op BenchmarkMul-4 10429978 11.61 ns/op BenchmarkMul32-4 9464040 12.57 ns/op BenchmarkMul64-4 10454016 11.56 ns/op BenchmarkDiv-4 2670860 45.36 ns/op BenchmarkDiv32-4 5685170 21.07 ns/op BenchmarkDiv64-4 2715982 44.37 ns/op PASS ok math/bits 7.459s goos: linux goarch: amd64 pkg: math/cmplx cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAbs-4 10197903 11.74 ns/op BenchmarkAcos-4 458224 261.9 ns/op BenchmarkAcosh-4 402087 281.8 ns/op BenchmarkAsin-4 434586 262.0 ns/op BenchmarkAsinh-4 442603 263.8 ns/op BenchmarkAtan-4 702376 164.2 ns/op BenchmarkAtanh-4 717403 163.7 ns/op BenchmarkConj-4 16488745 7.152 ns/op BenchmarkCos-4 508058 207.8 ns/op BenchmarkCosh-4 562725 211.4 ns/op BenchmarkExp-4 738228 157.8 ns/op BenchmarkLog-4 796071 144.6 ns/op BenchmarkLog10-4 812472 145.9 ns/op BenchmarkPhase-4 1760487 68.24 ns/op BenchmarkPolar-4 1000000 100.6 ns/op BenchmarkPow-4 222136 535.1 ns/op BenchmarkRect-4 979794 120.5 ns/op BenchmarkSin-4 552980 215.3 ns/op BenchmarkSinh-4 554017 210.6 ns/op BenchmarkSqrt-4 1000000 117.8 ns/op BenchmarkTan-4 354866 330.9 ns/op BenchmarkTanh-4 383595 305.6 ns/op PASS ok math/cmplx 3.940s goos: linux goarch: amd64 pkg: math/rand cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkInt63Threadsafe-4 708386 169.9 ns/op BenchmarkInt63ThreadsafeParallel-4 528010 233.1 ns/op BenchmarkInt63Unthreadsafe-4 1209218 98.96 ns/op BenchmarkIntn1000-4 791832 140.0 ns/op BenchmarkInt63n1000-4 883004 130.6 ns/op BenchmarkInt31n1000-4 922345 121.6 ns/op BenchmarkFloat32-4 977682 118.3 ns/op BenchmarkFloat64-4 1205468 100.4 ns/op BenchmarkPerm3-4 185374 646.9 ns/op BenchmarkPerm30-4 21799 5426 ns/op BenchmarkPerm30ViaShuffle-4 25489 4764 ns/op BenchmarkShuffleOverhead-4 17648 6741 ns/op BenchmarkRead3-4 913814 129.9 ns/op BenchmarkRead64-4 76094 1595 ns/op BenchmarkRead1000-4 5029 23354 ns/op BenchmarkConcurrent-4 138344 918.8 ns/op PASS ok math/rand 3.552s goos: linux goarch: amd64 pkg: mime cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkQEncodeWord-4 43868 2749 ns/op BenchmarkQDecodeWord-4 101264 1123 ns/op BenchmarkQDecodeHeader-4 99759 1204 ns/op BenchmarkTypeByExtension/.html-4 329769 328.4 ns/op BenchmarkTypeByExtension/.HTML-4 242982 412.2 ns/op BenchmarkTypeByExtension/.unused-4 268887 377.0 ns/op BenchmarkExtensionsByType/text/html-4 161572 755.9 ns/op BenchmarkExtensionsByType/text/html;_charset=utf-8-4 76693 1415 ns/op BenchmarkExtensionsByType/application/octet-stream-4 131918 976.9 ns/op PASS ok mime 2.281s goos: linux goarch: amd64 pkg: mime/multipart cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadForm/fields/maxMemory=0-4 704 169246 ns/op 47730 B/op 187 allocs/op BenchmarkReadForm/fields/maxMemory=1048576-4 597 176994 ns/op 47994 B/op 187 allocs/op BenchmarkReadForm/files/maxMemory=0-4 244 473329 ns/op 104179 B/op 271 allocs/op BenchmarkReadForm/files/maxMemory=1048576-4 530 228964 ns/op 49601 B/op 207 allocs/op PASS ok mime/multipart 1.707s goos: linux goarch: amd64 pkg: mime/quotedprintable cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkWriter-4 934 121734 ns/op PASS ok mime/quotedprintable 1.147s goos: linux goarch: amd64 pkg: net cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkGoLookupIP-4 130 927828 ns/op 8483 B/op 91 allocs/op BenchmarkGoLookupIPNoSuchHost-4 16 6266925 ns/op 19488 B/op 160 allocs/op BenchmarkGoLookupIPWithBrokenNameServer-4 1 5008816399 ns/op 158752 B/op 230 allocs/op BenchmarkDNSName-4 107995 997.3 ns/op BenchmarkInterfaces-4 1243 92249 ns/op 16959 B/op 42 allocs/op BenchmarkInterfaceByIndex-4 1849 68665 ns/op 12343 B/op 25 allocs/op BenchmarkInterfaceByName-4 1281 85653 ns/op 16954 B/op 43 allocs/op BenchmarkInterfaceAddrs-4 834 132589 ns/op 22883 B/op 103 allocs/op BenchmarkInterfacesAndAddrs-4 2641 43137 ns/op 3999 B/op 33 allocs/op BenchmarkInterfacesAndMulticastAddrs-4 469 229249 ns/op 137580 B/op 51 allocs/op BenchmarkParseIP-4 6480 19157 ns/op BenchmarkParseIPValidIPv4-4 335287 360.2 ns/op BenchmarkParseIPValidIPv6-4 148496 726.4 ns/op BenchmarkIPString/IPv4-4 108488 1096 ns/op 32 B/op 2 allocs/op BenchmarkIPString/IPv6-4 9048 12795 ns/op 216 B/op 11 allocs/op BenchmarkIPMaskString-4 40747 2749 ns/op BenchmarkIPEqual/IPv4-4 1023997 116.5 ns/op BenchmarkIPEqual/IPv6-4 1058049 111.1 ns/op BenchmarkSendFile/1024-4 1 1204691646 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/2048-4 1 1206750186 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/4096-4 1 1206040809 ns/op 0.00 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/8192-4 1 1206182581 ns/op 0.01 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/16384-4 1 1205420620 ns/op 0.01 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/32768-4 1 1016732996 ns/op 0.03 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/65536-4 1 1016615774 ns/op 0.06 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/131072-4 1 1016721850 ns/op 0.13 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/262144-4 1 1017706381 ns/op 0.26 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/524288-4 1 1018124266 ns/op 0.51 MB/s 520 B/op 11 allocs/op BenchmarkSendFile/1048576-4 1 1020629041 ns/op 1.03 MB/s 520 B/op 11 allocs/op BenchmarkSplice/tcp-to-tcp/1024-4 1 1017159868 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/2048-4 1 1017207448 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/4096-4 1 1017150379 ns/op 0.00 MB/s BenchmarkSplice/tcp-to-tcp/8192-4 1 1016695885 ns/op 0.01 MB/s BenchmarkSplice/tcp-to-tcp/16384-4 1 1016768177 ns/op 0.02 MB/s BenchmarkSplice/tcp-to-tcp/32768-4 1 1016639132 ns/op 0.03 MB/s BenchmarkSplice/tcp-to-tcp/65536-4 1 1016553853 ns/op 0.06 MB/s BenchmarkSplice/tcp-to-tcp/131072-4 1 1017036979 ns/op 0.13 MB/s BenchmarkSplice/tcp-to-tcp/262144-4 1 1018012717 ns/op 0.26 MB/s BenchmarkSplice/tcp-to-tcp/524288-4 1 1018386575 ns/op 0.51 MB/s BenchmarkSplice/tcp-to-tcp/1048576-4 1 1020187283 ns/op 1.03 MB/s BenchmarkSplice/unix-to-tcp/1024-4 1 1016638798 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/2048-4 1 1016557181 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/4096-4 1 1016393560 ns/op 0.00 MB/s BenchmarkSplice/unix-to-tcp/8192-4 1 1016577540 ns/op 0.01 MB/s BenchmarkSplice/unix-to-tcp/16384-4 1 1016565684 ns/op 0.02 MB/s BenchmarkSplice/unix-to-tcp/32768-4 1 1016475184 ns/op 0.03 MB/s BenchmarkSplice/unix-to-tcp/65536-4 1 1016609704 ns/op 0.06 MB/s BenchmarkSplice/unix-to-tcp/131072-4 1 1016515945 ns/op 0.13 MB/s BenchmarkSplice/unix-to-tcp/262144-4 1 1017384179 ns/op 0.26 MB/s BenchmarkSplice/unix-to-tcp/524288-4 1 1018292690 ns/op 0.51 MB/s BenchmarkSplice/unix-to-tcp/1048576-4 1 1019960155 ns/op 1.03 MB/s BenchmarkSpliceFile/tcp-to-file/1024-4 1 1016657101 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/2048-4 1 1016309033 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/4096-4 1 1016822140 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/8192-4 1 1016441477 ns/op 0.01 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/16384-4 1 1016397669 ns/op 0.02 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/32768-4 1 1016605926 ns/op 0.03 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/65536-4 1 1016535720 ns/op 0.06 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/131072-4 1 1017231428 ns/op 0.13 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/262144-4 1 1017612855 ns/op 0.26 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/524288-4 1 1018328686 ns/op 0.51 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/tcp-to-file/1048576-4 1 1020670149 ns/op 1.03 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/1024-4 1 1016271142 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/2048-4 1 1016766321 ns/op 0.00 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/4096-4 1 1016153085 ns/op 0.00 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/8192-4 1 1016139529 ns/op 0.01 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/16384-4 1 1016245921 ns/op 0.02 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/32768-4 1 1016365887 ns/op 0.03 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/65536-4 1 1016678601 ns/op 0.06 MB/s 896 B/op 8 allocs/op BenchmarkSpliceFile/unix-to-file/131072-4 1 1017207634 ns/op 0.13 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/262144-4 1 1017312960 ns/op 0.26 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/524288-4 1 1018427673 ns/op 0.51 MB/s 944 B/op 9 allocs/op BenchmarkSpliceFile/unix-to-file/1048576-4 1 1020675574 ns/op 1.03 MB/s 944 B/op 9 allocs/op BenchmarkTCP4OneShot-4 2257 55685 ns/op BenchmarkTCP4OneShotTimeout-4 2076 54664 ns/op BenchmarkTCP4Persistent-4 12291 9960 ns/op BenchmarkTCP4PersistentTimeout-4 10125 10010 ns/op BenchmarkTCP6OneShot-4 2330 52366 ns/op BenchmarkTCP6OneShotTimeout-4 1984 57857 ns/op BenchmarkTCP6Persistent-4 12045 9694 ns/op BenchmarkTCP6PersistentTimeout-4 11858 11322 ns/op BenchmarkTCP4ConcurrentReadWrite-4 22761 4793 ns/op BenchmarkTCP6ConcurrentReadWrite-4 30021 4723 ns/op BenchmarkSetReadDeadline-4 125835 950.3 ns/op BenchmarkReadWriteMsgUDPAddrPort-4 9039 12412 ns/op 0 B/op 0 allocs/op BenchmarkWriteToReadFromUDP-4 9604 12251 ns/op 16 B/op 1 allocs/op BenchmarkWriteToReadFromUDPAddrPort-4 9540 11882 ns/op 0 B/op 0 allocs/op PASS ok net 68.138s goos: linux goarch: amd64 pkg: net/http cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCookieString-4 29292 3941 ns/op 176 B/op 1 allocs/op BenchmarkReadSetCookies-4 10749 10588 ns/op 1168 B/op 21 allocs/op BenchmarkReadCookies-4 14133 8308 ns/op 1840 B/op 11 allocs/op BenchmarkHeaderWriteSubset-4 18097 6627 ns/op 45 B/op 0 allocs/op BenchmarkCopyValues-4 32439 3428 ns/op 736 B/op 11 allocs/op BenchmarkHexEscapeNonASCII-4 47739 2451 ns/op 192 B/op 2 allocs/op BenchmarkServerMatch-4 893799 130.7 ns/op BenchmarkReadRequestChrome-4 3493 31985 ns/op 19.10 MB/s 1476 B/op 14 allocs/op BenchmarkReadRequestCurl-4 10868 10918 ns/op 7.14 MB/s 924 B/op 9 allocs/op BenchmarkReadRequestApachebench-4 10000 10910 ns/op 7.52 MB/s 924 B/op 9 allocs/op BenchmarkReadRequestSiege-4 6093 16685 ns/op 9.05 MB/s 1019 B/op 11 allocs/op BenchmarkReadRequestWrk-4 16772 6925 ns/op 5.78 MB/s 859 B/op 7 allocs/op BenchmarkFileAndServer_1KB/h1-4 277 393937 ns/op 2.60 MB/s BenchmarkFileAndServer_1KB/https1-4 192 530380 ns/op 1.93 MB/s BenchmarkFileAndServer_1KB/h2-4 128 788181 ns/op 1.30 MB/s BenchmarkFileAndServer_16MB/h1-4 2 50370726 ns/op 333.07 MB/s BenchmarkFileAndServer_16MB/https1-4 1 125824944 ns/op 133.34 MB/s BenchmarkFileAndServer_16MB/h2-4 1 231168885 ns/op 72.58 MB/s BenchmarkFileAndServer_64MB/h1-4 1 200479887 ns/op 334.74 MB/s BenchmarkFileAndServer_64MB/https1-4 1 413928956 ns/op 162.13 MB/s BenchmarkFileAndServer_64MB/h2-4 1 924327577 ns/op 72.60 MB/s BenchmarkServeMux-4 260 472207 ns/op 17280 B/op 360 allocs/op BenchmarkServeMux_SkipServe-4 342 376496 ns/op 0 B/op 0 allocs/op BenchmarkClientServer/h1-4 374 320169 ns/op 5898 B/op 64 allocs/op BenchmarkClientServer/https1-4 212 489775 ns/op 6573 B/op 74 allocs/op BenchmarkClientServer/h2-4 193 602498 ns/op 10362 B/op 81 allocs/op BenchmarkClientServerParallel/4/h1-4 1042 107057 ns/op 9952 B/op 79 allocs/op BenchmarkClientServerParallel/4/https1-4 33 4482123 ns/op 95338 B/op 1040 allocs/op --- BENCH: BenchmarkClientServerParallel/4/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:43354: read tcp 127.0.0.1:38717->127.0.0.1:43354: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:43384: write tcp 127.0.0.1:38717->127.0.0.1:43384: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:43382: write tcp 127.0.0.1:38717->127.0.0.1:43382: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55422: read tcp 127.0.0.1:44659->127.0.0.1:55422: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55496: read tcp 127.0.0.1:44659->127.0.0.1:55496: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55438: read tcp 127.0.0.1:44659->127.0.0.1:55438: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55414: read tcp 127.0.0.1:44659->127.0.0.1:55414: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55490: read tcp 127.0.0.1:44659->127.0.0.1:55490: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55508: read tcp 127.0.0.1:44659->127.0.0.1:55508: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55440: read tcp 127.0.0.1:44659->127.0.0.1:55440: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/4/h2-4 92 1169885 ns/op 26409 B/op 281 allocs/op --- BENCH: BenchmarkClientServerParallel/4/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:39580: read tcp 127.0.0.1:35277->127.0.0.1:39580: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:39548: write tcp 127.0.0.1:35277->127.0.0.1:39548: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:39554: write tcp 127.0.0.1:35277->127.0.0.1:39554: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55970: read tcp 127.0.0.1:44007->127.0.0.1:55970: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55928: read tcp 127.0.0.1:44007->127.0.0.1:55928: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55980: read tcp 127.0.0.1:44007->127.0.0.1:55980: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55908: write tcp 127.0.0.1:44007->127.0.0.1:55908: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:55930: write tcp 127.0.0.1:44007->127.0.0.1:55930: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:52856: read tcp 127.0.0.1:42245->127.0.0.1:52856: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:52832: read tcp 127.0.0.1:42245->127.0.0.1:52832: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h1-4 592 260928 ns/op 20159 B/op 109 allocs/op BenchmarkClientServerParallel/64/https1-4 22 4875890 ns/op 108412 B/op 1177 allocs/op --- BENCH: BenchmarkClientServerParallel/64/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:50758: read tcp 127.0.0.1:45505->127.0.0.1:50758: use of closed network connection BenchmarkClientServerParallel/64/h2-4 58 4702628 ns/op 92128 B/op 1067 allocs/op --- BENCH: BenchmarkClientServerParallel/64/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54774: read tcp 127.0.0.1:39215->127.0.0.1:54774: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54798: write tcp 127.0.0.1:39215->127.0.0.1:54798: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:54810: write tcp 127.0.0.1:39215->127.0.0.1:54810: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46398: read tcp 127.0.0.1:41881->127.0.0.1:46398: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46386: write tcp 127.0.0.1:41881->127.0.0.1:46386: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46414: write tcp 127.0.0.1:41881->127.0.0.1:46414: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46312: write tcp 127.0.0.1:41881->127.0.0.1:46312: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46320: read tcp 127.0.0.1:41881->127.0.0.1:46320: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46324: read tcp 127.0.0.1:41881->127.0.0.1:46324: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:46296: read tcp 127.0.0.1:41881->127.0.0.1:46296: use of closed network connection ... [output truncated] BenchmarkServer-4 1 1036854377 ns/op 30456 B/op 148 allocs/op BenchmarkClient-4 296 409559 ns/op 3718 B/op 45 allocs/op BenchmarkServerFakeConnNoKeepAlive-4 655 175298 ns/op 7211 B/op 54 allocs/op BenchmarkServerFakeConnWithKeepAlive-4 1291 95814 ns/op 3034 B/op 24 allocs/op BenchmarkServerFakeConnWithKeepAliveLite-4 1579 72885 ns/op 1931 B/op 14 allocs/op BenchmarkServerHandlerTypeLen-4 1297 83207 ns/op 2773 B/op 21 allocs/op BenchmarkServerHandlerNoLen-4 1562 72292 ns/op 2711 B/op 19 allocs/op BenchmarkServerHandlerNoType-4 1347 78281 ns/op 2707 B/op 20 allocs/op BenchmarkServerHandlerNoHeader-4 1677 67500 ns/op 1885 B/op 14 allocs/op BenchmarkServerHijack-4 969 118992 ns/op 16680 B/op 50 allocs/op BenchmarkCloseNotifier/h1-4 363 326245 ns/op 5754 B/op 52 allocs/op BenchmarkResponseStatusLine-4 489889 217.7 ns/op 0 B/op 0 allocs/op PASS ok net/http 15.189s goos: linux goarch: amd64 pkg: net/http/httputil cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkServeHTTP-4 4756 24340 ns/op 34073 B/op 12 allocs/op PASS ok net/http/httputil 1.194s goos: linux goarch: amd64 pkg: net/netip cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkIPNextPrev-4 86649 1339 ns/op BenchmarkBinaryMarshalRoundTrip/ipv4-4 596930 192.5 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6-4 185227 647.9 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6+zone-4 66598 1822 ns/op BenchmarkStdIPv4-4 131926 890.2 ns/op 16 B/op 1 allocs/op BenchmarkIPv4-4 92443 1279 ns/op 0 B/op 0 allocs/op BenchmarkIPv4_inline-4 91890 1271 ns/op 0 B/op 0 allocs/op BenchmarkStdIPv6-4 82033 1474 ns/op 16 B/op 1 allocs/op BenchmarkIPv6-4 67861 1730 ns/op 0 B/op 0 allocs/op BenchmarkIPv4Contains-4 1740440 68.44 ns/op 0 B/op 0 allocs/op BenchmarkIPv6Contains-4 1542026 77.46 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v4-4 1387807 86.29 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6-4 255391 468.1 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_ellipsis-4 258540 423.0 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_v4-4 252991 460.5 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_zone-4 82779 1463 ns/op 0 B/op 0 allocs/op BenchmarkStdParseIP/v4-4 281894 419.1 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6-4 141549 811.3 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_ellipsis-4 151558 783.1 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_v4-4 135811 820.2 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_zone-4 75355 1571 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v4-4 355322 327.6 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v6-4 120196 976.0 ns/op 48 B/op 1 allocs/op BenchmarkIPString/v6_ellipsis-4 170229 697.1 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_v4-4 258561 453.4 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_zone-4 157482 759.0 ns/op 24 B/op 1 allocs/op BenchmarkIPStringExpanded/v4-4 317974 364.9 ns/op 16 B/op 1 allocs/op BenchmarkIPStringExpanded/v6-4 152052 791.2 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_ellipsis-4 147268 776.2 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_v4-4 149635 775.4 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_zone-4 114620 1019 ns/op 128 B/op 2 allocs/op BenchmarkIPMarshalText-4 468007 250.3 ns/op 16 B/op 1 allocs/op BenchmarkAddrPortString/v4-4 160089 755.5 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortString/v6-4 92838 1277 ns/op 112 B/op 3 allocs/op BenchmarkAddrPortString/v6_ellipsis-4 117902 1009 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_v4-4 151292 744.7 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_zone-4 104540 1077 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortMarshalText/v4-4 253162 444.9 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6-4 118166 999.9 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_ellipsis-4 138878 836.1 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_v4-4 192883 623.9 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_zone-4 135933 894.1 ns/op 64 B/op 1 allocs/op BenchmarkPrefixMasking/IPv4_/32-4 1000000 106.9 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/17-4 1000000 110.0 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/0-4 1000000 109.0 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/128-4 1000000 116.4 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/65-4 1000000 114.6 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/0-4 1000000 115.0 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/128-4 965044 115.5 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/65-4 1000000 115.2 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/0-4 1000000 115.8 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMarshalText-4 342072 344.1 ns/op 24 B/op 1 allocs/op BenchmarkParseAddrPort/v4-4 571970 197.2 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6-4 199203 591.3 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_ellipsis-4 213464 557.8 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_v4-4 201421 583.1 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_zone-4 76094 1592 ns/op 0 B/op 0 allocs/op BenchmarkAs16-4 519062 221.9 ns/op PASS ok net/netip 8.821s 2023/05/25 01:26:30 Test RPC server listening on 127.0.0.1:43495 2023/05/25 01:26:30 Test HTTP RPC server listening on 127.0.0.1:39325 goos: linux goarch: amd64 pkg: net/rpc cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEndToEnd-4 1345 84148 ns/op BenchmarkEndToEndHTTP-4 1270 81814 ns/op BenchmarkEndToEndAsync-4 2803 36450 ns/op BenchmarkEndToEndAsyncHTTP-4 2913 41730 ns/op PASS ok net/rpc 1.767s goos: linux goarch: amd64 pkg: net/textproto cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadMIMEHeader/client_headers-4 3001 35163 ns/op BenchmarkReadMIMEHeader/server_headers-4 4527 22876 ns/op BenchmarkUncommon-4 25197 4677 ns/op 464 B/op 5 allocs/op PASS ok net/textproto 1.409s goos: linux goarch: amd64 pkg: net/url cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkString-4 4455 23458 ns/op 1616 B/op 60 allocs/op BenchmarkResolvePath-4 96051 1191 ns/op 32 B/op 2 allocs/op BenchmarkQueryEscape/#00-4 548072 200.4 ns/op 16 B/op 1 allocs/op BenchmarkQueryEscape/#01-4 91983 1280 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#02-4 173216 699.9 ns/op 32 B/op 1 allocs/op BenchmarkQueryEscape/#03-4 80324 1464 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#04-4 13878 8510 ns/op 832 B/op 2 allocs/op BenchmarkPathEscape/#00-4 374859 301.3 ns/op 16 B/op 1 allocs/op BenchmarkPathEscape/#01-4 89346 1317 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#02-4 172858 683.7 ns/op 32 B/op 1 allocs/op BenchmarkPathEscape/#03-4 82011 1464 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#04-4 15855 7553 ns/op 704 B/op 2 allocs/op BenchmarkQueryUnescape/#00-4 189570 604.3 ns/op 16 B/op 1 allocs/op BenchmarkQueryUnescape/#01-4 79062 1509 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#02-4 78366 1515 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#03-4 35498 3389 ns/op 64 B/op 1 allocs/op BenchmarkQueryUnescape/#04-4 6014 18895 ns/op 320 B/op 1 allocs/op BenchmarkPathUnescape/#00-4 189904 614.9 ns/op 16 B/op 1 allocs/op BenchmarkPathUnescape/#01-4 78991 1523 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#02-4 77805 1551 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#03-4 34756 3404 ns/op 64 B/op 1 allocs/op BenchmarkPathUnescape/#04-4 6222 18601 ns/op 320 B/op 1 allocs/op PASS ok net/url 4.188s goos: linux goarch: amd64 pkg: os cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExpand/noop-4 3082424 36.86 ns/op 0 B/op 0 allocs/op BenchmarkExpand/multiple-4 152840 698.6 ns/op 48 B/op 2 allocs/op BenchmarkReaddirname-4 662 168969 ns/op --- BENCH: BenchmarkReaddirname-4 os_test.go:512: benchmarkReaddirname ".": 129 entries os_test.go:512: benchmarkReaddirname ".": 129 entries os_test.go:512: benchmarkReaddirname ".": 129 entries BenchmarkReaddir-4 208 543343 ns/op --- BENCH: BenchmarkReaddir-4 os_test.go:529: benchmarkReaddir ".": 129 entries os_test.go:529: benchmarkReaddir ".": 129 entries os_test.go:529: benchmarkReaddir ".": 129 entries BenchmarkReadDir-4 566 201725 ns/op --- BENCH: BenchmarkReadDir-4 os_test.go:546: benchmarkReadDir ".": 129 entries os_test.go:546: benchmarkReadDir ".": 129 entries os_test.go:546: benchmarkReadDir ".": 129 entries BenchmarkStatDot-4 48874 2353 ns/op BenchmarkStatFile-4 40479 2750 ns/op BenchmarkStatDir-4 42686 2646 ns/op BenchmarkLstatDot-4 48468 2311 ns/op BenchmarkLstatFile-4 41823 2717 ns/op BenchmarkLstatDir-4 43598 2649 ns/op PASS ok os 2.626s goos: linux goarch: amd64 pkg: os/exec cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExecHostname-4 136 856735 ns/op 8401 B/op 30 allocs/op PASS ok os/exec 1.229s goos: linux goarch: amd64 pkg: os/user cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCurrent-4 384600 287.9 ns/op PASS ok os/user 1.220s goos: linux goarch: amd64 pkg: reflect cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkBool-4 3691550 32.72 ns/op BenchmarkString-4 2278023 52.52 ns/op BenchmarkBytes-4 1926114 61.99 ns/op BenchmarkNamedBytes-4 1000000 107.1 ns/op BenchmarkBytesArray-4 732914 161.4 ns/op BenchmarkSliceLen-4 2275778 53.51 ns/op BenchmarkMapLen-4 895254 127.2 ns/op BenchmarkStringLen-4 1908334 62.43 ns/op BenchmarkArrayLen-4 1355223 89.56 ns/op BenchmarkSliceCap-4 2555802 47.04 ns/op BenchmarkDeepEqual/int8-4 468567 251.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int8-4 93824 1275 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int16-4 406590 292.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int16-4 89944 1307 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int32-4 397048 292.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int32-4 85981 1342 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int64-4 396193 294.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int64-4 90600 1314 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int-4 406348 293.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int-4 89142 1332 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint8-4 442238 250.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8-4 121136 981.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint16-4 402555 297.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint16-4 89517 1325 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint32-4 397242 299.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint32-4 89828 1331 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint64-4 386498 296.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint64-4 90448 1312 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint-4 388962 300.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint-4 87711 1316 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uintptr-4 400377 294.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uintptr-4 88819 1329 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float32-4 394348 304.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float32-4 88873 1316 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float64-4 403483 304.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float64-4 89490 1341 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex64-4 401937 294.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex64-4 89658 1333 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex128-4 389130 295.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex128-4 88621 1313 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/bool-4 463983 244.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]bool-4 94059 1263 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/string-4 398113 287.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]string-4 86078 1327 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8#01-4 120927 968.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][]uint8-4 58137 2026 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[6]uint8-4 45370 2597 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][6]uint8-4 31839 3632 ns/op 0 B/op 0 allocs/op BenchmarkIsZero/ArrayComparable-4 264733 437.4 ns/op BenchmarkIsZero/ArrayIncomparable-4 30738 3886 ns/op BenchmarkIsZero/StructComparable-4 554964 208.8 ns/op BenchmarkIsZero/StructIncomparable-4 139941 855.0 ns/op BenchmarkSetZero/Bool/Direct-4 4275819 28.34 ns/op BenchmarkSetZero/Bool/CachedZero-4 824320 139.1 ns/op BenchmarkSetZero/Bool/NewZero-4 652406 181.4 ns/op BenchmarkSetZero/Int/Direct-4 2483116 49.57 ns/op BenchmarkSetZero/Int/CachedZero-4 845898 137.2 ns/op BenchmarkSetZero/Int/NewZero-4 642601 181.0 ns/op BenchmarkSetZero/Uint/Direct-4 2534877 48.90 ns/op BenchmarkSetZero/Uint/CachedZero-4 838695 139.1 ns/op BenchmarkSetZero/Uint/NewZero-4 629328 181.7 ns/op BenchmarkSetZero/Float/Direct-4 2577074 46.91 ns/op BenchmarkSetZero/Float/CachedZero-4 824334 136.2 ns/op BenchmarkSetZero/Float/NewZero-4 659902 176.5 ns/op BenchmarkSetZero/Complex/Direct-4 2494048 49.42 ns/op BenchmarkSetZero/Complex/CachedZero-4 798136 134.2 ns/op BenchmarkSetZero/Complex/NewZero-4 650180 176.3 ns/op BenchmarkSetZero/Array/Direct-4 2122164 53.65 ns/op BenchmarkSetZero/Array/CachedZero-4 835846 138.5 ns/op BenchmarkSetZero/Array/NewZero-4 654188 181.1 ns/op BenchmarkSetZero/Chan/Direct-4 2425359 47.77 ns/op BenchmarkSetZero/Chan/CachedZero-4 817006 140.3 ns/op BenchmarkSetZero/Chan/NewZero-4 623877 181.2 ns/op BenchmarkSetZero/Func/Direct-4 2417728 50.27 ns/op BenchmarkSetZero/Func/CachedZero-4 757762 144.7 ns/op BenchmarkSetZero/Func/NewZero-4 632511 187.2 ns/op BenchmarkSetZero/Interface/Direct-4 2196014 53.02 ns/op BenchmarkSetZero/Interface/CachedZero-4 825276 137.2 ns/op BenchmarkSetZero/Interface/NewZero-4 627192 179.3 ns/op BenchmarkSetZero/Map/Direct-4 2460112 49.69 ns/op BenchmarkSetZero/Map/CachedZero-4 847017 139.9 ns/op BenchmarkSetZero/Map/NewZero-4 650104 178.4 ns/op BenchmarkSetZero/Pointer/Direct-4 2437291 50.39 ns/op BenchmarkSetZero/Pointer/CachedZero-4 815714 144.3 ns/op BenchmarkSetZero/Pointer/NewZero-4 606746 182.4 ns/op BenchmarkSetZero/Slice/Direct-4 2201856 54.09 ns/op BenchmarkSetZero/Slice/CachedZero-4 834418 138.4 ns/op BenchmarkSetZero/Slice/NewZero-4 654740 180.3 ns/op BenchmarkSetZero/String/Direct-4 2405247 48.40 ns/op BenchmarkSetZero/String/CachedZero-4 866346 134.5 ns/op BenchmarkSetZero/String/NewZero-4 642963 179.2 ns/op BenchmarkSetZero/Struct/Direct-4 2146449 52.62 ns/op BenchmarkSetZero/Struct/CachedZero-4 837806 136.9 ns/op BenchmarkSetZero/Struct/NewZero-4 648837 180.5 ns/op BenchmarkSelect/1-4 144381 805.1 ns/op 80 B/op 5 allocs/op BenchmarkSelect/4-4 66427 1703 ns/op 208 B/op 8 allocs/op BenchmarkSelect/8-4 33968 3390 ns/op 672 B/op 13 allocs/op BenchmarkCall-4 193874 566.3 ns/op 0 B/op 0 allocs/op BenchmarkCallMethod-4 154183 782.3 ns/op 0 B/op 0 allocs/op BenchmarkCallArgCopy/size=128-4 136312 891.5 ns/op 143.57 MB/s BenchmarkCallArgCopy/size=256-4 96378 1052 ns/op 243.40 MB/s BenchmarkCallArgCopy/size=1024-4 85478 1392 ns/op 735.78 MB/s BenchmarkCallArgCopy/size=4096-4 35005 3590 ns/op 1140.88 MB/s BenchmarkCallArgCopy/size=65536-4 2551 42530 ns/op 1540.92 MB/s BenchmarkFieldByName1-4 971172 119.8 ns/op BenchmarkFieldByName2-4 92098 1598 ns/op BenchmarkFieldByName3-4 9762 10696 ns/op BenchmarkInterfaceBig-4 3479630 31.38 ns/op BenchmarkInterfaceSmall-4 3798458 30.63 ns/op BenchmarkNew-4 1632870 62.83 ns/op BenchmarkMap/StringKeys/MapIndex-4 2281 50475 ns/op 0 B/op 0 allocs/op BenchmarkMap/StringKeys/SetMapIndex-4 1932 62514 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/MapIndex-4 2287 52799 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/SetMapIndex-4 1876 63023 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/MapIndex-4 2322 50773 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/SetMapIndex-4 1881 61146 ns/op 0 B/op 0 allocs/op BenchmarkMapIterNext-4 215940 547.9 ns/op PASS ok reflect 17.555s goos: linux goarch: amd64 pkg: regexp cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFind-4 10378 10703 ns/op 9081 B/op 1 allocs/op BenchmarkFindAllNoMatches-4 14301 9039 ns/op 9325 B/op 1 allocs/op BenchmarkFindString-4 10393 11828 ns/op 9361 B/op 1 allocs/op BenchmarkFindSubmatch-4 9338 12727 ns/op 9379 B/op 2 allocs/op BenchmarkFindStringSubmatch-4 10012 11639 ns/op 9391 B/op 2 allocs/op BenchmarkLiteral-4 14814 7595 ns/op BenchmarkNotLiteral-4 4310 28252 ns/op BenchmarkMatchClass-4 2780 36135 ns/op BenchmarkMatchClass_InRange-4 3166 35276 ns/op BenchmarkReplaceAll-4 2389 50822 ns/op BenchmarkAnchoredLiteralShortNonMatch-4 15254 7391 ns/op BenchmarkAnchoredLiteralLongNonMatch-4 35490 3215 ns/op BenchmarkAnchoredShortMatch-4 14157 8384 ns/op BenchmarkAnchoredLongMatch-4 19288 6273 ns/op BenchmarkOnePassShortA-4 19892 6156 ns/op BenchmarkNotOnePassShortA-4 7486 15180 ns/op BenchmarkOnePassShortB-4 26271 4549 ns/op BenchmarkNotOnePassShortB-4 9408 12739 ns/op BenchmarkOnePassLongPrefix-4 82626 1509 ns/op BenchmarkOnePassLongNotPrefix-4 27819 4411 ns/op BenchmarkMatchParallelShared-4 20151 5839 ns/op BenchmarkMatchParallelCopied-4 24441 5226 ns/op BenchmarkQuoteMetaAll-4 139444 837.7 ns/op 16.71 MB/s BenchmarkQuoteMetaNone-4 245982 464.9 ns/op 55.93 MB/s BenchmarkCompile/Onepass-4 3739 28984 ns/op 4144 B/op 52 allocs/op BenchmarkCompile/Medium-4 1503 75120 ns/op 9704 B/op 112 allocs/op BenchmarkCompile/Hard-4 182 646330 ns/op 84760 B/op 424 allocs/op BenchmarkMatch/Easy0/16-4 3660294 32.57 ns/op 491.20 MB/s BenchmarkMatch/Easy0/32-4 14060 7813 ns/op 4.10 MB/s BenchmarkMatch/Easy0/1K-4 6302 19381 ns/op 52.84 MB/s BenchmarkMatch/Easy0i/16-4 3593676 32.21 ns/op 496.71 MB/s BenchmarkMatch/Easy0i/32-4 4574 23658 ns/op 1.35 MB/s BenchmarkMatch/Easy0i/1K-4 255 452497 ns/op 2.26 MB/s BenchmarkMatch/Easy1/16-4 3697831 32.56 ns/op 491.37 MB/s BenchmarkMatch/Easy1/32-4 15108 8854 ns/op 3.61 MB/s BenchmarkMatch/Easy1/1K-4 3837 27389 ns/op 37.39 MB/s BenchmarkMatch/Medium/16-4 3707272 33.05 ns/op 484.04 MB/s BenchmarkMatch/Medium/32-4 4971 20316 ns/op 1.58 MB/s BenchmarkMatch/Medium/1K-4 292 406569 ns/op 2.52 MB/s BenchmarkMatch/Hard/16-4 3558832 32.60 ns/op 490.73 MB/s BenchmarkMatch/Hard/32-4 3852 30946 ns/op 1.03 MB/s BenchmarkMatch/Hard/1K-4 163 727023 ns/op 1.41 MB/s BenchmarkMatch/Hard1/16-4 1396 84070 ns/op 0.19 MB/s BenchmarkMatch/Hard1/32-4 741 158292 ns/op 0.20 MB/s BenchmarkMatch/Hard1/1K-4 25 4417662 ns/op 0.23 MB/s BenchmarkMatch_onepass_regex/16-4 28704 4275 ns/op 3.74 MB/s 24 B/op 0 allocs/op BenchmarkMatch_onepass_regex/32-4 17617 6734 ns/op 4.75 MB/s 23 B/op 0 allocs/op BenchmarkMatch_onepass_regex/1K-4 652 179176 ns/op 5.72 MB/s 27 B/op 0 allocs/op PASS ok regexp 9.137s goos: linux goarch: amd64 pkg: regexp/syntax cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEmptyOpContext-4 630168 190.6 ns/op BenchmarkIsWordChar-4 165998 711.5 ns/op PASS ok regexp/syntax 2.322s goos: linux goarch: amd64 pkg: runtime cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCallers/cached-4 70905 1697 ns/op BenchmarkCallers/inlined-4 52879 2267 ns/op BenchmarkCallers/no-cache-4 10000 10126 ns/op BenchmarkFPCallers/cached-4 2819784 42.14 ns/op BenchmarkMakeChan/Byte-4 1113864 123.6 ns/op BenchmarkMakeChan/Int-4 832394 147.1 ns/op BenchmarkMakeChan/Ptr-4 460142 229.3 ns/op BenchmarkMakeChan/Struct/0-4 1131910 106.5 ns/op BenchmarkMakeChan/Struct/32-4 394426 341.8 ns/op BenchmarkMakeChan/Struct/40-4 397929 310.3 ns/op BenchmarkChanNonblocking-4 10590780 9.845 ns/op BenchmarkSelectUncontended-4 869262 141.4 ns/op BenchmarkSelectSyncContended-4 30283 4062 ns/op BenchmarkSelectAsyncContended-4 107072 1141 ns/op BenchmarkSelectNonblock-4 5456949 18.44 ns/op BenchmarkChanUncontended-4 10000 11374 ns/op BenchmarkChanContended-4 1366 93044 ns/op BenchmarkChanSync-4 163938 692.8 ns/op BenchmarkChanSyncWork-4 10000 36071 ns/op BenchmarkChanProdCons0-4 105685 1577 ns/op BenchmarkChanProdCons10-4 111637 1195 ns/op BenchmarkChanProdCons100-4 112716 1024 ns/op BenchmarkChanProdConsWork0-4 75104 1593 ns/op BenchmarkChanProdConsWork10-4 82838 1481 ns/op BenchmarkChanProdConsWork100-4 85360 1365 ns/op BenchmarkSelectProdCons-4 65184 1886 ns/op BenchmarkReceiveDataFromClosedChan-4 639807 183.9 ns/op BenchmarkChanCreation-4 209035 516.0 ns/op BenchmarkChanSem-4 127113 921.9 ns/op BenchmarkChanPopular-4 84 1361814 ns/op BenchmarkChanClosed-4 594716 246.8 ns/op BenchmarkCallClosure-4 6585091 18.30 ns/op BenchmarkCallClosure1-4 6663148 17.78 ns/op BenchmarkCallClosure2-4 1310401 92.60 ns/op BenchmarkCallClosure3-4 1554398 79.94 ns/op BenchmarkCallClosure4-4 1237239 86.51 ns/op BenchmarkComplex128DivNormal-4 10049882 11.33 ns/op BenchmarkComplex128DivNisNaN-4 7495665 15.10 ns/op BenchmarkComplex128DivDisNaN-4 7265084 15.27 ns/op BenchmarkComplex128DivNisInf-4 9652977 11.80 ns/op BenchmarkComplex128DivDisInf-4 5794934 20.09 ns/op BenchmarkSetTypePtr-4 45278866 2.658 ns/op 3010.24 MB/s BenchmarkSetTypePtr8-4 9400202 12.45 ns/op 5139.31 MB/s BenchmarkSetTypePtr16-4 9557679 12.64 ns/op 10123.92 MB/s BenchmarkSetTypePtr32-4 9310686 12.53 ns/op 20430.70 MB/s BenchmarkSetTypePtr64-4 9151798 12.52 ns/op 40900.64 MB/s BenchmarkSetTypePtr126-4 5641712 21.36 ns/op 47185.93 MB/s BenchmarkSetTypePtr128-4 5880745 20.46 ns/op 50051.23 MB/s BenchmarkSetTypePtrSlice-4 732834 165.7 ns/op 49450.00 MB/s BenchmarkSetTypeNode1-4 9253200 12.47 ns/op 1924.11 MB/s BenchmarkSetTypeNode1Slice-4 2929497 41.02 ns/op 18721.84 MB/s BenchmarkSetTypeNode8-4 9564960 12.46 ns/op 6421.87 MB/s BenchmarkSetTypeNode8Slice-4 1529936 77.77 ns/op 32917.07 MB/s BenchmarkSetTypeNode64-4 5653920 21.34 ns/op 24740.56 MB/s BenchmarkSetTypeNode64Slice-4 225776 528.7 ns/op 31959.33 MB/s BenchmarkSetTypeNode64Dead-4 7568866 15.96 ns/op 33076.40 MB/s BenchmarkSetTypeNode64DeadSlice-4 254127 464.9 ns/op 36344.43 MB/s BenchmarkSetTypeNode124-4 5601886 21.12 ns/op 47718.44 MB/s BenchmarkSetTypeNode124Slice-4 177789 666.5 ns/op 48395.80 MB/s BenchmarkSetTypeNode126-4 5894943 20.49 ns/op 49982.46 MB/s BenchmarkSetTypeNode126Slice-4 180330 669.1 ns/op 48972.38 MB/s BenchmarkSetTypeNode128-4 4018992 29.72 ns/op 34991.77 MB/s BenchmarkSetTypeNode128Slice-4 142684 842.8 ns/op 39487.44 MB/s BenchmarkSetTypeNode130-4 4019749 29.55 ns/op 35730.40 MB/s BenchmarkSetTypeNode130Slice-4 137710 858.7 ns/op 39354.13 MB/s BenchmarkSetTypeNode1024-4 719095 159.1 ns/op 51605.41 MB/s BenchmarkSetTypeNode1024Slice-4 24417 4948 ns/op 53081.82 MB/s BenchmarkAllocation-4 4186 44589 ns/op BenchmarkReadMemStats-4 6087 19885 ns/op BenchmarkReadMemStatsLatency-4 1 79260 p50-ns 79260 p90-ns 79260 p99-ns BenchmarkWriteBarrier-4 2696228 52.63 ns/op BenchmarkBulkWriteBarrier-4 4375650 23.51 ns/op BenchmarkScanStackNoLocals-4 3 50370404 ns/op BenchmarkMSpanCountAlloc/bits=64-4 11252034 10.04 ns/op BenchmarkMSpanCountAlloc/bits=128-4 10764688 10.70 ns/op BenchmarkMSpanCountAlloc/bits=256-4 9645596 12.61 ns/op BenchmarkMSpanCountAlloc/bits=512-4 7090117 16.35 ns/op BenchmarkMSpanCountAlloc/bits=1024-4 4416468 25.25 ns/op BenchmarkHash5-4 5949193 19.62 ns/op 254.80 MB/s BenchmarkHash16-4 6510158 17.48 ns/op 915.20 MB/s BenchmarkHash64-4 5882371 19.36 ns/op 3306.35 MB/s BenchmarkHash1024-4 1925934 61.78 ns/op 16573.72 MB/s BenchmarkHash65536-4 38446 3119 ns/op 21012.82 MB/s BenchmarkAlignedLoad-4 8610966 14.02 ns/op BenchmarkUnalignedLoad-4 7957341 15.38 ns/op BenchmarkEqEfaceConcrete-4 6022224 19.80 ns/op BenchmarkEqIfaceConcrete-4 6767880 17.80 ns/op BenchmarkNeEfaceConcrete-4 6621241 17.88 ns/op BenchmarkNeIfaceConcrete-4 6466659 18.46 ns/op BenchmarkConvT2EByteSized/bool-4 6744886 17.83 ns/op BenchmarkConvT2EByteSized/uint8-4 6712801 17.83 ns/op BenchmarkConvT2ESmall-4 5911527 20.49 ns/op BenchmarkConvT2EUintptr-4 5652445 20.89 ns/op BenchmarkConvT2ELarge-4 1000000 104.2 ns/op BenchmarkConvT2ISmall-4 5890947 20.30 ns/op BenchmarkConvT2IUintptr-4 5475592 21.03 ns/op BenchmarkConvT2ILarge-4 1000000 107.8 ns/op BenchmarkConvI2E-4 5102967 23.48 ns/op BenchmarkConvI2I-4 4100109 28.48 ns/op BenchmarkAssertE2T-4 4984548 23.82 ns/op BenchmarkAssertE2TLarge-4 2322022 51.26 ns/op BenchmarkAssertE2I-4 4316749 27.98 ns/op BenchmarkAssertI2T-4 4957911 24.19 ns/op BenchmarkAssertI2I-4 4314256 27.51 ns/op BenchmarkAssertI2E-4 5916514 20.50 ns/op BenchmarkAssertE2E-4 6084139 19.78 ns/op BenchmarkAssertE2T2-4 3944578 29.56 ns/op BenchmarkAssertE2T2Blank-4 4613065 25.75 ns/op BenchmarkAssertI2E2-4 4575673 26.11 ns/op BenchmarkAssertI2E2Blank-4 5964759 20.04 ns/op BenchmarkAssertE2E2-4 4539360 26.18 ns/op BenchmarkAssertE2E2Blank-4 5945670 20.00 ns/op BenchmarkConvT2Ezero/zero/16-4 5837366 20.22 ns/op BenchmarkConvT2Ezero/zero/32-4 5907405 20.37 ns/op BenchmarkConvT2Ezero/zero/64-4 5754712 20.87 ns/op BenchmarkConvT2Ezero/zero/str-4 5844621 20.52 ns/op BenchmarkConvT2Ezero/zero/slice-4 5667507 21.26 ns/op BenchmarkConvT2Ezero/zero/big-4 234633 496.2 ns/op BenchmarkConvT2Ezero/nonzero/str-4 1275367 88.46 ns/op BenchmarkConvT2Ezero/nonzero/slice-4 1000000 101.5 ns/op BenchmarkConvT2Ezero/nonzero/big-4 238916 512.6 ns/op BenchmarkConvT2Ezero/smallint/16-4 5880822 20.35 ns/op BenchmarkConvT2Ezero/smallint/32-4 5874748 20.47 ns/op BenchmarkConvT2Ezero/smallint/64-4 5902196 20.29 ns/op BenchmarkConvT2Ezero/largeint/16-4 1716706 70.04 ns/op BenchmarkConvT2Ezero/largeint/32-4 1758010 70.21 ns/op BenchmarkConvT2Ezero/largeint/64-4 1698520 69.29 ns/op BenchmarkMalloc8-4 1540065 78.25 ns/op BenchmarkMalloc16-4 1405784 89.21 ns/op BenchmarkMallocTypeInfo8-4 1468423 83.39 ns/op BenchmarkMallocTypeInfo16-4 1000000 101.1 ns/op BenchmarkMallocLargeStruct-4 160172 644.0 ns/op BenchmarkGoroutineSelect-4 68 1922149 ns/op BenchmarkGoroutineBlocking-4 81 2053956 ns/op BenchmarkGoroutineForRange-4 76 2034049 ns/op BenchmarkGoroutineIdle-4 86 1662305 ns/op BenchmarkHashStringSpeed-4 2627709 40.79 ns/op BenchmarkHashBytesSpeed-4 1392998 83.65 ns/op BenchmarkHashInt32Speed-4 3380698 35.99 ns/op BenchmarkHashInt64Speed-4 3130226 42.30 ns/op BenchmarkHashStringArraySpeed-4 609818 191.6 ns/op BenchmarkMegMap-4 3352593 35.46 ns/op BenchmarkMegOneMap-4 3788049 29.20 ns/op BenchmarkMegEqMap-4 1374 83302 ns/op BenchmarkMegEmptyMap-4 4654510 25.54 ns/op BenchmarkSmallStrMap-4 3350583 36.33 ns/op BenchmarkMapStringKeysEight_16-4 3524149 33.99 ns/op BenchmarkMapStringKeysEight_32-4 3522163 33.96 ns/op BenchmarkMapStringKeysEight_64-4 3393351 35.31 ns/op BenchmarkMapStringKeysEight_1M-4 3401289 35.53 ns/op BenchmarkIntMap-4 4007752 30.01 ns/op BenchmarkMapFirst/1-4 4913432 24.74 ns/op BenchmarkMapFirst/2-4 4530945 25.13 ns/op BenchmarkMapFirst/3-4 4724101 24.99 ns/op BenchmarkMapFirst/4-4 4506014 26.46 ns/op BenchmarkMapFirst/5-4 4200466 26.14 ns/op BenchmarkMapFirst/6-4 4428958 26.63 ns/op BenchmarkMapFirst/7-4 4615044 26.50 ns/op BenchmarkMapFirst/8-4 4190756 25.77 ns/op BenchmarkMapFirst/9-4 3917274 29.62 ns/op BenchmarkMapFirst/10-4 4043768 29.75 ns/op BenchmarkMapFirst/11-4 4146362 29.30 ns/op BenchmarkMapFirst/12-4 4045341 29.52 ns/op BenchmarkMapFirst/13-4 4062284 28.86 ns/op BenchmarkMapFirst/14-4 4183827 28.59 ns/op BenchmarkMapFirst/15-4 4215069 29.60 ns/op BenchmarkMapFirst/16-4 4142425 29.54 ns/op BenchmarkMapMid/1-4 3887769 30.83 ns/op BenchmarkMapMid/2-4 3805963 30.55 ns/op BenchmarkMapMid/3-4 3890176 30.85 ns/op BenchmarkMapMid/4-4 3730551 32.13 ns/op BenchmarkMapMid/5-4 3766299 31.50 ns/op BenchmarkMapMid/6-4 3604119 32.13 ns/op BenchmarkMapMid/7-4 3803382 32.62 ns/op BenchmarkMapMid/8-4 3535276 34.10 ns/op BenchmarkMapMid/9-4 3412172 34.84 ns/op BenchmarkMapMid/10-4 3299970 35.69 ns/op BenchmarkMapMid/11-4 3305162 34.13 ns/op BenchmarkMapMid/12-4 3312726 35.59 ns/op BenchmarkMapMid/13-4 3444874 33.62 ns/op BenchmarkMapMid/14-4 3431676 35.97 ns/op BenchmarkMapMid/15-4 3485134 34.77 ns/op BenchmarkMapMid/16-4 3259093 37.52 ns/op BenchmarkMapLast/1-4 3868234 30.96 ns/op BenchmarkMapLast/2-4 3857205 30.29 ns/op BenchmarkMapLast/3-4 3817537 31.48 ns/op BenchmarkMapLast/4-4 3627860 33.26 ns/op BenchmarkMapLast/5-4 3845601 31.33 ns/op BenchmarkMapLast/6-4 3664351 33.57 ns/op BenchmarkMapLast/7-4 3546742 32.78 ns/op BenchmarkMapLast/8-4 3411087 35.35 ns/op BenchmarkMapLast/9-4 3322024 35.02 ns/op BenchmarkMapLast/10-4 3418992 36.01 ns/op BenchmarkMapLast/11-4 3393394 38.44 ns/op BenchmarkMapLast/12-4 2996868 35.88 ns/op BenchmarkMapLast/13-4 3410271 36.37 ns/op BenchmarkMapLast/14-4 3378626 35.67 ns/op BenchmarkMapLast/15-4 3490312 34.32 ns/op BenchmarkMapLast/16-4 3401701 35.49 ns/op BenchmarkMapCycle-4 2116303 57.14 ns/op BenchmarkRepeatedLookupStrMapKey32-4 3456656 34.37 ns/op BenchmarkRepeatedLookupStrMapKey1M-4 2319 50608 ns/op BenchmarkMakeMap/[Byte]Byte-4 524914 218.6 ns/op BenchmarkMakeMap/[Int]Int-4 349557 360.1 ns/op BenchmarkNewEmptyMap-4 14175784 8.467 ns/op 0 B/op 0 allocs/op BenchmarkNewSmallMap-4 1693190 72.27 ns/op 0 B/op 0 allocs/op BenchmarkMapIter-4 449685 248.6 ns/op BenchmarkMapIterEmpty-4 5442238 21.80 ns/op BenchmarkSameLengthMap-4 4757847 25.10 ns/op BenchmarkBigKeyMap-4 1672284 72.18 ns/op BenchmarkBigValMap-4 1465087 81.22 ns/op BenchmarkSmallKeyMap-4 2871844 41.61 ns/op BenchmarkMapPopulate/1-4 2295736 53.31 ns/op 0 B/op 0 allocs/op BenchmarkMapPopulate/10-4 123276 882.7 ns/op 179 B/op 1 allocs/op BenchmarkMapPopulate/100-4 6214 17166 ns/op 6270 B/op 15 allocs/op BenchmarkMapPopulate/1000-4 676 164467 ns/op 51787 B/op 56 allocs/op BenchmarkMapPopulate/10000-4 43 2473460 ns/op 415684 B/op 197 allocs/op BenchmarkMapPopulate/100000-4 3 40569570 ns/op 6535165 B/op 2928 allocs/op BenchmarkComplexAlgMap-4 493669 238.7 ns/op BenchmarkGoMapClear/Reflexive/1-4 710898 166.6 ns/op BenchmarkGoMapClear/Reflexive/10-4 635424 181.5 ns/op BenchmarkGoMapClear/Reflexive/100-4 229932 513.4 ns/op BenchmarkGoMapClear/Reflexive/1000-4 41838 2868 ns/op BenchmarkGoMapClear/Reflexive/10000-4 5422 22005 ns/op BenchmarkGoMapClear/NonReflexive/1-4 480376 218.7 ns/op BenchmarkGoMapClear/NonReflexive/10-4 471148 246.3 ns/op BenchmarkGoMapClear/NonReflexive/100-4 207997 573.0 ns/op BenchmarkGoMapClear/NonReflexive/1000-4 39744 3048 ns/op BenchmarkGoMapClear/NonReflexive/10000-4 5326 22200 ns/op BenchmarkMapStringConversion/32/simple-4 1812980 66.13 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/struct-4 1692459 69.54 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/array-4 1591881 76.15 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/simple-4 1556599 77.78 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/struct-4 1510165 80.18 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/array-4 1478095 84.37 ns/op 0 B/op 0 allocs/op BenchmarkMapInterfaceString-4 1802389 65.57 ns/op BenchmarkMapInterfacePtr-4 1985869 59.44 ns/op BenchmarkNewEmptyMapHintLessThan8-4 5039275 23.74 ns/op 0 B/op 0 allocs/op BenchmarkNewEmptyMapHintGreaterThan8-4 113589 1082 ns/op 1152 B/op 1 allocs/op BenchmarkMapPop100-4 5132 23060 ns/op BenchmarkMapPop1000-4 388 316359 ns/op BenchmarkMapPop10000-4 19 6085888 ns/op BenchmarkMapAssign/Int32/256-4 2434828 50.05 ns/op BenchmarkMapAssign/Int32/65536-4 726120 149.5 ns/op BenchmarkMapAssign/Int64/256-4 2133423 53.25 ns/op BenchmarkMapAssign/Int64/65536-4 671454 170.7 ns/op BenchmarkMapAssign/Str/256-4 1909144 63.87 ns/op BenchmarkMapAssign/Str/65536-4 356752 306.0 ns/op BenchmarkMapOperatorAssign/Int32/256-4 1367211 80.55 ns/op BenchmarkMapOperatorAssign/Int32/65536-4 518349 200.7 ns/op BenchmarkMapOperatorAssign/Int64/256-4 1508563 83.18 ns/op BenchmarkMapOperatorAssign/Int64/65536-4 412918 251.1 ns/op BenchmarkMapOperatorAssign/Str/256-4 462673 2622 ns/op BenchmarkMapOperatorAssign/Str/65536-4 129081 830.3 ns/op BenchmarkMapAppendAssign/Int32/256-4 778330 169.9 ns/op 28 B/op 0 allocs/op BenchmarkMapAppendAssign/Int32/65536-4 159316 697.0 ns/op 73 B/op 1 allocs/op BenchmarkMapAppendAssign/Int64/256-4 863695 167.4 ns/op 25 B/op 0 allocs/op BenchmarkMapAppendAssign/Int64/65536-4 158576 727.0 ns/op 81 B/op 1 allocs/op BenchmarkMapAppendAssign/Str/256-4 626462 258.5 ns/op 49 B/op 0 allocs/op BenchmarkMapAppendAssign/Str/65536-4 95769 1271 ns/op 148 B/op 1 allocs/op BenchmarkMapDelete/Int32/100-4 1806747 72.63 ns/op BenchmarkMapDelete/Int32/1000-4 1752115 63.41 ns/op BenchmarkMapDelete/Int32/10000-4 1870688 63.84 ns/op BenchmarkMapDelete/Int64/100-4 1666496 77.17 ns/op BenchmarkMapDelete/Int64/1000-4 1923368 62.88 ns/op BenchmarkMapDelete/Int64/10000-4 1846647 64.05 ns/op BenchmarkMapDelete/Str/100-4 1418553 85.24 ns/op BenchmarkMapDelete/Str/1000-4 1447630 82.49 ns/op BenchmarkMapDelete/Str/10000-4 1403037 86.26 ns/op BenchmarkMapDelete/Pointer/100-4 1545682 75.46 ns/op BenchmarkMapDelete/Pointer/1000-4 1652704 78.25 ns/op BenchmarkMapDelete/Pointer/10000-4 1659578 72.29 ns/op BenchmarkMemmove/0-4 16232971 7.307 ns/op BenchmarkMemmove/1-4 1943414 62.11 ns/op 16.10 MB/s BenchmarkMemmove/2-4 1880709 63.85 ns/op 31.32 MB/s BenchmarkMemmove/3-4 1900778 62.58 ns/op 47.94 MB/s BenchmarkMemmove/4-4 1896673 63.21 ns/op 63.29 MB/s BenchmarkMemmove/5-4 1871934 64.75 ns/op 77.22 MB/s BenchmarkMemmove/6-4 1883034 64.34 ns/op 93.26 MB/s BenchmarkMemmove/7-4 1875981 63.10 ns/op 110.94 MB/s BenchmarkMemmove/8-4 1920330 62.81 ns/op 127.36 MB/s BenchmarkMemmove/9-4 1846768 65.38 ns/op 137.66 MB/s BenchmarkMemmove/10-4 1843644 65.65 ns/op 152.31 MB/s BenchmarkMemmove/11-4 1805161 65.56 ns/op 167.78 MB/s BenchmarkMemmove/12-4 1853692 65.62 ns/op 182.87 MB/s BenchmarkMemmove/13-4 1819398 65.50 ns/op 198.46 MB/s BenchmarkMemmove/14-4 1826206 64.52 ns/op 217.00 MB/s BenchmarkMemmove/15-4 1813825 67.07 ns/op 223.66 MB/s BenchmarkMemmove/16-4 1833746 65.15 ns/op 245.60 MB/s BenchmarkMemmove/32-4 1796510 66.72 ns/op 479.62 MB/s BenchmarkMemmove/64-4 1650462 72.32 ns/op 884.99 MB/s BenchmarkMemmove/128-4 1386862 85.96 ns/op 1489.12 MB/s BenchmarkMemmove/256-4 871803 132.9 ns/op 1926.06 MB/s BenchmarkMemmove/512-4 635150 188.2 ns/op 2720.36 MB/s BenchmarkMemmove/1024-4 414130 294.5 ns/op 3477.63 MB/s BenchmarkMemmove/2048-4 238166 497.8 ns/op 4113.95 MB/s BenchmarkMemmove/4096-4 130275 921.1 ns/op 4446.67 MB/s BenchmarkMemmoveOverlap/32-4 1831960 66.08 ns/op 484.29 MB/s BenchmarkMemmoveOverlap/64-4 1653900 73.12 ns/op 875.24 MB/s BenchmarkMemmoveOverlap/128-4 1386351 86.56 ns/op 1478.81 MB/s BenchmarkMemmoveOverlap/256-4 875478 133.7 ns/op 1914.57 MB/s BenchmarkMemmoveOverlap/512-4 627580 184.7 ns/op 2771.39 MB/s BenchmarkMemmoveOverlap/1024-4 417756 285.3 ns/op 3589.54 MB/s BenchmarkMemmoveOverlap/2048-4 241788 493.6 ns/op 4148.74 MB/s BenchmarkMemmoveOverlap/4096-4 130434 911.2 ns/op 4495.00 MB/s BenchmarkMemmoveUnalignedDst/0-4 15433734 7.802 ns/op BenchmarkMemmoveUnalignedDst/1-4 1915489 62.05 ns/op 16.12 MB/s BenchmarkMemmoveUnalignedDst/2-4 1889871 63.64 ns/op 31.43 MB/s BenchmarkMemmoveUnalignedDst/3-4 1864520 63.57 ns/op 47.19 MB/s BenchmarkMemmoveUnalignedDst/4-4 1881678 65.21 ns/op 61.34 MB/s BenchmarkMemmoveUnalignedDst/5-4 1862630 64.43 ns/op 77.60 MB/s BenchmarkMemmoveUnalignedDst/6-4 1872338 64.22 ns/op 93.42 MB/s BenchmarkMemmoveUnalignedDst/7-4 1857584 63.91 ns/op 109.54 MB/s BenchmarkMemmoveUnalignedDst/8-4 1867002 63.19 ns/op 126.60 MB/s BenchmarkMemmoveUnalignedDst/9-4 1814414 65.74 ns/op 136.90 MB/s BenchmarkMemmoveUnalignedDst/10-4 1832182 65.13 ns/op 153.53 MB/s BenchmarkMemmoveUnalignedDst/11-4 1833154 66.07 ns/op 166.49 MB/s BenchmarkMemmoveUnalignedDst/12-4 1822531 66.95 ns/op 179.25 MB/s BenchmarkMemmoveUnalignedDst/13-4 1826607 65.81 ns/op 197.54 MB/s BenchmarkMemmoveUnalignedDst/14-4 1821819 65.88 ns/op 212.49 MB/s BenchmarkMemmoveUnalignedDst/15-4 1795975 66.01 ns/op 227.24 MB/s BenchmarkMemmoveUnalignedDst/16-4 1854289 64.00 ns/op 250.01 MB/s BenchmarkMemmoveUnalignedDst/32-4 1730151 69.33 ns/op 461.58 MB/s BenchmarkMemmoveUnalignedDst/64-4 1565881 77.12 ns/op 829.90 MB/s BenchmarkMemmoveUnalignedDst/128-4 1304389 91.37 ns/op 1400.92 MB/s BenchmarkMemmoveUnalignedDst/256-4 850287 140.2 ns/op 1825.65 MB/s BenchmarkMemmoveUnalignedDst/512-4 593618 193.2 ns/op 2649.51 MB/s BenchmarkMemmoveUnalignedDst/1024-4 395659 302.8 ns/op 3382.28 MB/s BenchmarkMemmoveUnalignedDst/2048-4 236642 499.8 ns/op 4097.94 MB/s BenchmarkMemmoveUnalignedDst/4096-4 127822 937.9 ns/op 4367.00 MB/s BenchmarkMemmoveUnalignedDstOverlap/32-4 1734288 69.80 ns/op 458.46 MB/s BenchmarkMemmoveUnalignedDstOverlap/64-4 1550408 77.69 ns/op 823.83 MB/s BenchmarkMemmoveUnalignedDstOverlap/128-4 1308800 91.90 ns/op 1392.75 MB/s BenchmarkMemmoveUnalignedDstOverlap/256-4 835801 138.0 ns/op 1855.57 MB/s BenchmarkMemmoveUnalignedDstOverlap/512-4 610938 189.9 ns/op 2696.31 MB/s BenchmarkMemmoveUnalignedDstOverlap/1024-4 397766 290.9 ns/op 3519.92 MB/s BenchmarkMemmoveUnalignedDstOverlap/2048-4 238654 503.6 ns/op 4066.64 MB/s BenchmarkMemmoveUnalignedDstOverlap/4096-4 128725 930.4 ns/op 4402.49 MB/s BenchmarkMemmoveUnalignedSrc/0-4 15794787 7.583 ns/op BenchmarkMemmoveUnalignedSrc/1-4 1922193 61.56 ns/op 16.24 MB/s BenchmarkMemmoveUnalignedSrc/2-4 1866904 63.95 ns/op 31.28 MB/s BenchmarkMemmoveUnalignedSrc/3-4 1863654 65.11 ns/op 46.08 MB/s BenchmarkMemmoveUnalignedSrc/4-4 1838672 64.02 ns/op 62.48 MB/s BenchmarkMemmoveUnalignedSrc/5-4 1835742 64.30 ns/op 77.76 MB/s BenchmarkMemmoveUnalignedSrc/6-4 1840605 64.68 ns/op 92.76 MB/s BenchmarkMemmoveUnalignedSrc/7-4 1872004 64.56 ns/op 108.42 MB/s BenchmarkMemmoveUnalignedSrc/8-4 1928703 62.30 ns/op 128.41 MB/s BenchmarkMemmoveUnalignedSrc/9-4 1817212 66.39 ns/op 135.56 MB/s BenchmarkMemmoveUnalignedSrc/10-4 1821109 65.93 ns/op 151.67 MB/s BenchmarkMemmoveUnalignedSrc/11-4 1803102 67.18 ns/op 163.74 MB/s BenchmarkMemmoveUnalignedSrc/12-4 1811239 66.31 ns/op 180.97 MB/s BenchmarkMemmoveUnalignedSrc/13-4 1797334 66.42 ns/op 195.71 MB/s BenchmarkMemmoveUnalignedSrc/14-4 1798744 66.13 ns/op 211.69 MB/s BenchmarkMemmoveUnalignedSrc/15-4 1821888 66.13 ns/op 226.82 MB/s BenchmarkMemmoveUnalignedSrc/16-4 1787635 66.51 ns/op 240.55 MB/s BenchmarkMemmoveUnalignedSrc/32-4 1738194 68.98 ns/op 463.89 MB/s BenchmarkMemmoveUnalignedSrc/64-4 1619238 74.52 ns/op 858.80 MB/s BenchmarkMemmoveUnalignedSrc/128-4 1341940 89.20 ns/op 1435.01 MB/s BenchmarkMemmoveUnalignedSrc/256-4 851412 136.7 ns/op 1872.16 MB/s BenchmarkMemmoveUnalignedSrc/512-4 622833 190.2 ns/op 2692.60 MB/s BenchmarkMemmoveUnalignedSrc/1024-4 409602 291.5 ns/op 3513.20 MB/s BenchmarkMemmoveUnalignedSrc/2048-4 232003 501.6 ns/op 4083.20 MB/s BenchmarkMemmoveUnalignedSrc/4096-4 125104 939.2 ns/op 4361.07 MB/s BenchmarkMemmoveUnalignedSrcOverlap/32-4 1739046 68.63 ns/op 466.30 MB/s BenchmarkMemmoveUnalignedSrcOverlap/64-4 1575283 77.93 ns/op 821.21 MB/s BenchmarkMemmoveUnalignedSrcOverlap/128-4 1327584 90.15 ns/op 1419.80 MB/s BenchmarkMemmoveUnalignedSrcOverlap/256-4 860946 137.4 ns/op 1863.64 MB/s BenchmarkMemmoveUnalignedSrcOverlap/512-4 624596 187.1 ns/op 2736.41 MB/s BenchmarkMemmoveUnalignedSrcOverlap/1024-4 407236 289.3 ns/op 3539.41 MB/s BenchmarkMemmoveUnalignedSrcOverlap/2048-4 239208 496.8 ns/op 4122.14 MB/s BenchmarkMemmoveUnalignedSrcOverlap/4096-4 127486 916.4 ns/op 4469.85 MB/s BenchmarkMemclr/5-4 12992998 9.308 ns/op 537.19 MB/s BenchmarkMemclr/16-4 12871227 9.208 ns/op 1737.69 MB/s BenchmarkMemclr/64-4 11738775 10.01 ns/op 6396.11 MB/s BenchmarkMemclr/256-4 10312042 11.51 ns/op 22245.46 MB/s BenchmarkMemclr/4096-4 2412555 49.58 ns/op 82620.56 MB/s BenchmarkMemclr/65536-4 76288 1409 ns/op 46528.81 MB/s BenchmarkMemclr/1M-4 2768 39653 ns/op 26443.76 MB/s BenchmarkMemclr/4M-4 685 166532 ns/op 25186.14 MB/s BenchmarkMemclr/8M-4 253 426645 ns/op 19661.78 MB/s BenchmarkMemclr/16M-4 50 2357745 ns/op 7115.79 MB/s BenchmarkMemclr/64M-4 10 10565528 ns/op 6351.68 MB/s BenchmarkMemclrUnaligned/0_5-4 7079870 16.59 ns/op 301.47 MB/s BenchmarkMemclrUnaligned/0_16-4 7057148 17.06 ns/op 938.00 MB/s BenchmarkMemclrUnaligned/0_64-4 6856977 17.45 ns/op 3668.51 MB/s BenchmarkMemclrUnaligned/0_256-4 6078032 19.33 ns/op 13244.42 MB/s BenchmarkMemclrUnaligned/0_4096-4 2159433 55.98 ns/op 73174.37 MB/s BenchmarkMemclrUnaligned/0_65536-4 56485 1919 ns/op 34154.18 MB/s BenchmarkMemclrUnaligned/1_5-4 7141994 16.70 ns/op 299.38 MB/s BenchmarkMemclrUnaligned/1_16-4 7043418 17.16 ns/op 932.20 MB/s BenchmarkMemclrUnaligned/1_64-4 6182462 17.54 ns/op 3649.11 MB/s BenchmarkMemclrUnaligned/1_256-4 6044920 19.45 ns/op 13158.86 MB/s BenchmarkMemclrUnaligned/1_4096-4 1327128 90.34 ns/op 45340.61 MB/s BenchmarkMemclrUnaligned/1_65536-4 46446 2272 ns/op 28847.35 MB/s BenchmarkMemclrUnaligned/4_5-4 7176043 16.73 ns/op 298.95 MB/s BenchmarkMemclrUnaligned/4_16-4 6949756 16.98 ns/op 942.19 MB/s BenchmarkMemclrUnaligned/4_64-4 6838112 19.31 ns/op 3313.89 MB/s BenchmarkMemclrUnaligned/4_256-4 6219630 19.33 ns/op 13240.33 MB/s BenchmarkMemclrUnaligned/4_4096-4 1337506 94.34 ns/op 43419.71 MB/s BenchmarkMemclrUnaligned/4_65536-4 53353 1990 ns/op 32929.25 MB/s BenchmarkMemclrUnaligned/7_5-4 7152246 16.60 ns/op 301.21 MB/s BenchmarkMemclrUnaligned/7_16-4 7020709 16.99 ns/op 941.96 MB/s BenchmarkMemclrUnaligned/7_64-4 6732327 19.63 ns/op 3260.56 MB/s BenchmarkMemclrUnaligned/7_256-4 6211640 19.34 ns/op 13233.99 MB/s BenchmarkMemclrUnaligned/7_4096-4 1294399 90.35 ns/op 45336.33 MB/s BenchmarkMemclrUnaligned/7_65536-4 52875 2319 ns/op 28261.53 MB/s BenchmarkMemclrUnaligned/0_1M-4 2781 39344 ns/op 26651.72 MB/s BenchmarkMemclrUnaligned/0_4M-4 681 169187 ns/op 24790.96 MB/s BenchmarkMemclrUnaligned/0_8M-4 260 443921 ns/op 18896.61 MB/s BenchmarkMemclrUnaligned/0_16M-4 43 2373874 ns/op 7067.44 MB/s BenchmarkMemclrUnaligned/0_64M-4 10 10548933 ns/op 6361.67 MB/s BenchmarkMemclrUnaligned/1_1M-4 2698 41545 ns/op 25239.74 MB/s BenchmarkMemclrUnaligned/1_4M-4 650 175007 ns/op 23966.44 MB/s BenchmarkMemclrUnaligned/1_8M-4 183 657784 ns/op 12752.82 MB/s BenchmarkMemclrUnaligned/1_16M-4 45 2628012 ns/op 6384.00 MB/s BenchmarkMemclrUnaligned/1_64M-4 10 10456218 ns/op 6418.08 MB/s BenchmarkMemclrUnaligned/4_1M-4 2726 39196 ns/op 26751.81 MB/s BenchmarkMemclrUnaligned/4_4M-4 662 176834 ns/op 23718.94 MB/s BenchmarkMemclrUnaligned/4_8M-4 145 774821 ns/op 10826.51 MB/s BenchmarkMemclrUnaligned/4_16M-4 46 2600597 ns/op 6451.29 MB/s BenchmarkMemclrUnaligned/4_64M-4 10 10359920 ns/op 6477.74 MB/s BenchmarkMemclrUnaligned/7_1M-4 2720 42056 ns/op 24933.01 MB/s BenchmarkMemclrUnaligned/7_4M-4 649 169843 ns/op 24695.13 MB/s BenchmarkMemclrUnaligned/7_8M-4 196 661204 ns/op 12686.86 MB/s BenchmarkMemclrUnaligned/7_16M-4 40 2579773 ns/op 6503.37 MB/s BenchmarkMemclrUnaligned/7_64M-4 10 10309489 ns/op 6509.43 MB/s BenchmarkGoMemclr/5-4 2125425 57.01 ns/op 87.70 MB/s BenchmarkGoMemclr/16-4 484165 237.6 ns/op 67.33 MB/s BenchmarkGoMemclr/64-4 136082 891.8 ns/op 71.77 MB/s BenchmarkGoMemclr/256-4 32770 3476 ns/op 73.66 MB/s BenchmarkMemclrRange/1K_2K-4 69105 1724 ns/op 55608.18 MB/s BenchmarkMemclrRange/2K_8K-4 30319 3973 ns/op 83948.52 MB/s BenchmarkMemclrRange/4K_16K-4 42162 2817 ns/op 114697.00 MB/s BenchmarkMemclrRange/160K_228K-4 1818 57186 ns/op 29078.14 MB/s BenchmarkClearFat7-4 6149184 19.36 ns/op BenchmarkClearFat8-4 6910983 17.55 ns/op BenchmarkClearFat11-4 6206335 19.10 ns/op BenchmarkClearFat12-4 6006895 19.66 ns/op BenchmarkClearFat13-4 6124459 19.05 ns/op BenchmarkClearFat14-4 6072219 20.16 ns/op BenchmarkClearFat15-4 6173858 19.59 ns/op BenchmarkClearFat16-4 6269613 18.46 ns/op BenchmarkClearFat24-4 6179845 19.42 ns/op BenchmarkClearFat32-4 5872579 20.27 ns/op BenchmarkClearFat40-4 5821779 20.98 ns/op BenchmarkClearFat48-4 5319861 22.53 ns/op BenchmarkClearFat56-4 5417622 22.33 ns/op BenchmarkClearFat64-4 5401291 22.17 ns/op BenchmarkClearFat72-4 5044450 24.45 ns/op BenchmarkClearFat128-4 3718429 32.12 ns/op BenchmarkClearFat256-4 2190172 54.46 ns/op BenchmarkClearFat512-4 1444959 83.30 ns/op BenchmarkClearFat1024-4 863870 137.4 ns/op BenchmarkClearFat1032-4 776803 146.6 ns/op BenchmarkClearFat1040-4 821680 143.5 ns/op BenchmarkCopyFat7-4 5982199 19.55 ns/op BenchmarkCopyFat8-4 6574453 17.81 ns/op BenchmarkCopyFat11-4 5491778 21.40 ns/op BenchmarkCopyFat12-4 5701278 21.01 ns/op BenchmarkCopyFat13-4 5671576 20.80 ns/op BenchmarkCopyFat14-4 5725195 21.56 ns/op BenchmarkCopyFat15-4 5756316 20.91 ns/op BenchmarkCopyFat16-4 6360698 18.82 ns/op BenchmarkCopyFat24-4 6082698 19.48 ns/op BenchmarkCopyFat32-4 5881123 19.81 ns/op BenchmarkCopyFat64-4 5419264 25.08 ns/op BenchmarkCopyFat72-4 4971939 23.92 ns/op BenchmarkCopyFat128-4 3656456 32.57 ns/op BenchmarkCopyFat256-4 2113808 57.06 ns/op BenchmarkCopyFat512-4 1364229 87.27 ns/op BenchmarkCopyFat520-4 1360090 88.63 ns/op BenchmarkCopyFat1024-4 809803 147.0 ns/op BenchmarkCopyFat1032-4 786777 150.8 ns/op BenchmarkCopyFat1040-4 767018 150.8 ns/op BenchmarkIssue18740/2byte-4 417 282909 ns/op BenchmarkIssue18740/4byte-4 717 165210 ns/op BenchmarkIssue18740/8byte-4 998 118326 ns/op BenchmarkMemclrKnownSize1-4 8956824 13.56 ns/op 73.75 MB/s BenchmarkMemclrKnownSize2-4 5654448 20.40 ns/op 98.04 MB/s BenchmarkMemclrKnownSize4-4 3580687 33.53 ns/op 119.28 MB/s BenchmarkMemclrKnownSize8-4 1000000 113.6 ns/op 70.41 MB/s BenchmarkMemclrKnownSize16-4 494532 231.0 ns/op 69.27 MB/s BenchmarkMemclrKnownSize32-4 266241 442.1 ns/op 72.39 MB/s BenchmarkMemclrKnownSize64-4 139695 859.1 ns/op 74.50 MB/s BenchmarkMemclrKnownSize112-4 77668 1483 ns/op 75.50 MB/s BenchmarkMemclrKnownSize128-4 70698 1702 ns/op 75.19 MB/s BenchmarkMemclrKnownSize192-4 46077 2544 ns/op 75.46 MB/s BenchmarkMemclrKnownSize248-4 36385 3305 ns/op 75.03 MB/s BenchmarkMemclrKnownSize256-4 36367 3334 ns/op 76.78 MB/s BenchmarkMemclrKnownSize512-4 18171 6688 ns/op 76.55 MB/s BenchmarkMemclrKnownSize1024-4 8773 13399 ns/op 76.42 MB/s BenchmarkMemclrKnownSize4096-4 2156 53826 ns/op 76.10 MB/s BenchmarkMemclrKnownSize512KiB-4 15 6963930 ns/op 75.29 MB/s BenchmarkReadMetricsLatency-4 19788 4820 p50-ns 5843 p90-ns 21138 p99-ns BenchmarkFinalizer-4 181 680644 ns/op BenchmarkFinalizerRun-4 173967 889.6 ns/op BenchmarkPallocBitsSummarize/Unpacked00-4 7390286 15.00 ns/op BenchmarkPallocBitsSummarize/UnpackedFFFFFFFFFFFFFFFF-4 3114080 37.70 ns/op BenchmarkPallocBitsSummarize/UnpackedAA-4 2449754 48.81 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAAAAAAAAAA-4 2389192 48.89 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000AAAAAAAA-4 1303663 93.03 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAA00000001-4 1000000 102.9 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBBBBBBBBBB-4 2250168 52.20 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000BBBBBBBB-4 1263901 94.22 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBB00000001-4 1306630 90.71 ns/op BenchmarkPallocBitsSummarize/UnpackedCCCCCCCCCCCCCCCC-4 1889402 65.51 ns/op BenchmarkPallocBitsSummarize/Unpacked4444444444444444-4 1797786 66.30 ns/op BenchmarkPallocBitsSummarize/Unpacked4040404040404040-4 1704236 70.17 ns/op BenchmarkPallocBitsSummarize/Unpacked4000400040004000-4 1459420 82.12 ns/op BenchmarkPallocBitsSummarize/Unpacked1000404044CCAAFF-4 1306622 88.54 ns/op BenchmarkFindBitRange64/Pattern00Size2-4 6173206 19.47 ns/op BenchmarkFindBitRange64/Pattern00Size8-4 6243126 19.18 ns/op BenchmarkFindBitRange64/Pattern00Size32-4 6233236 19.18 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize2-4 6201386 19.40 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize8-4 5688908 21.08 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize32-4 4977838 24.33 ns/op BenchmarkFindBitRange64/PatternAASize2-4 6173071 19.65 ns/op BenchmarkFindBitRange64/PatternAASize8-4 6133656 19.52 ns/op BenchmarkFindBitRange64/PatternAASize32-4 6262006 19.24 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize2-4 6003487 19.35 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize8-4 6156506 19.21 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize32-4 6172077 19.49 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize2-4 6183852 19.44 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize8-4 6248948 19.14 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize32-4 6279193 19.17 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size2-4 6199188 19.32 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size8-4 6248836 19.33 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size32-4 6129308 19.45 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize2-4 6173929 19.34 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize8-4 5972209 20.25 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize32-4 5893562 20.20 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize2-4 6196065 19.42 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize8-4 5939362 20.27 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize32-4 5947436 20.26 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size2-4 6157461 19.37 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size8-4 5887494 20.37 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size32-4 5862350 20.23 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize2-4 6151183 19.35 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize8-4 5894655 20.35 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize32-4 5936378 20.32 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size2-4 6152103 19.52 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size8-4 6262377 19.11 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size32-4 6251936 19.29 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size2-4 6206067 19.48 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size8-4 6185170 19.23 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size32-4 6212037 19.48 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size2-4 6186321 19.65 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size8-4 6234784 19.38 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size32-4 6187194 19.22 ns/op BenchmarkNetpollBreak-4 3562 32326 ns/op BenchmarkPinnerPinUnpinBatch-4 946 114540 ns/op BenchmarkPinnerPinUnpinBatchDouble-4 218 538582 ns/op BenchmarkPinnerPinUnpinBatchTiny-4 1010 112306 ns/op BenchmarkPinnerPinUnpin-4 1000000 104.4 ns/op BenchmarkPinnerPinUnpinTiny-4 1000000 103.9 ns/op BenchmarkPinnerPinUnpinDouble-4 444637 271.8 ns/op BenchmarkPinnerPinUnpinParallel-4 3587373 33.36 ns/op BenchmarkPinnerPinUnpinParallelTiny-4 3562554 36.69 ns/op BenchmarkPinnerPinUnpinParallelDouble-4 210045 535.1 ns/op BenchmarkPinnerIsPinnedOnPinned-4 5396736 20.82 ns/op BenchmarkPinnerIsPinnedOnUnpinned-4 5566933 19.42 ns/op BenchmarkPinnerIsPinnedOnPinnedParallel-4 7306806 14.35 ns/op BenchmarkPinnerIsPinnedOnUnpinnedParallel-4 9587746 12.95 ns/op BenchmarkPingPongHog-4 345 345167 ns/op BenchmarkStackGrowth-4 99794 1092 ns/op BenchmarkStackGrowthDeep-4 1294 97814 ns/op BenchmarkCreateGoroutines-4 53026 2418 ns/op BenchmarkCreateGoroutinesParallel-4 41743 2710 ns/op BenchmarkCreateGoroutinesCapture-4 8290 14789 ns/op 144 B/op 5 allocs/op BenchmarkCreateGoroutinesSingle-4 36560 3903 ns/op BenchmarkClosureCall-4 18187026 6.532 ns/op BenchmarkWakeupParallelSpinning/0s-4 6915 16660 ns/op BenchmarkWakeupParallelSpinning/1µs-4 5160 22947 ns/op BenchmarkWakeupParallelSpinning/2µs-4 5710 22787 ns/op BenchmarkWakeupParallelSpinning/5µs-4 3162 37026 ns/op BenchmarkWakeupParallelSpinning/10µs-4 2236 58010 ns/op BenchmarkWakeupParallelSpinning/20µs-4 1250 96331 ns/op BenchmarkWakeupParallelSpinning/50µs-4 592 200251 ns/op BenchmarkWakeupParallelSpinning/100µs-4 350 359649 ns/op BenchmarkWakeupParallelSyscall/0s-4 758 173944 ns/op BenchmarkWakeupParallelSyscall/1µs-4 754 166901 ns/op BenchmarkWakeupParallelSyscall/2µs-4 676 185514 ns/op BenchmarkWakeupParallelSyscall/5µs-4 681 176759 ns/op BenchmarkWakeupParallelSyscall/10µs-4 631 182387 ns/op BenchmarkWakeupParallelSyscall/20µs-4 580 220673 ns/op BenchmarkWakeupParallelSyscall/50µs-4 445 279807 ns/op BenchmarkWakeupParallelSyscall/100µs-4 310 382474 ns/op BenchmarkMatmult-4 3025617 36.11 ns/op BenchmarkFastrand-4 12048104 9.105 ns/op BenchmarkFastrand64-4 11119676 9.437 ns/op BenchmarkFastrandHashiter-4 4398384 26.57 ns/op BenchmarkFastrandn/2-4 5763312 20.63 ns/op BenchmarkFastrandn/3-4 6084098 19.78 ns/op BenchmarkFastrandn/4-4 6223291 19.16 ns/op BenchmarkFastrandn/5-4 6181414 19.48 ns/op BenchmarkIfaceCmp100-4 106476 1109 ns/op BenchmarkIfaceCmpNil100-4 151242 788.6 ns/op BenchmarkEfaceCmpDiff-4 40370 2986 ns/op BenchmarkEfaceCmpDiffIndirect-4 30094 3966 ns/op BenchmarkDefer-4 1606902 73.72 ns/op BenchmarkDefer10-4 828438 158.1 ns/op BenchmarkDeferMany-4 505747 451.1 ns/op BenchmarkPanicRecover-4 177849 654.6 ns/op BenchmarkGoroutineProfile/small-nil/idle-4 7856 16411 ns/op 14949 p50-ns 20226 p90-ns 45006 p99-ns BenchmarkGoroutineProfile/small-nil/loaded-4 6470 20686 ns/op 15020 p50-ns 21594 p90-ns 180316 p99-ns BenchmarkGoroutineProfile/small/idle-4 3103 46855 ns/op 37810 p50-ns 55006 p90-ns 224037 p99-ns BenchmarkGoroutineProfile/small/loaded-4 313 375916 ns/op 144996 p50-ns 396885 p90-ns 6130250 p99-ns BenchmarkGoroutineProfile/large-nil/idle-4 8046 16642 ns/op 14625 p50-ns 21853 p90-ns 36990 p99-ns BenchmarkGoroutineProfile/large-nil/loaded-4 6742 19574 ns/op 15389 p50-ns 22736 p90-ns 174436 p99-ns BenchmarkGoroutineProfile/large/idle-4 12 8920900 ns/op 8890261 p50-ns 9299000 p90-ns 9359141 p99-ns BenchmarkGoroutineProfile/large/loaded-4 12 11325053 ns/op 11093526 p50-ns 15108094 p90-ns 15552695 p99-ns BenchmarkGoroutineProfile/sparse-nil/idle-4 6928 16560 ns/op 14938 p50-ns 20881 p90-ns 41855 p99-ns BenchmarkGoroutineProfile/sparse-nil/loaded-4 6216 19864 ns/op 15307 p50-ns 21310 p90-ns 164282 p99-ns BenchmarkGoroutineProfile/sparse/idle-4 829 131465 ns/op 125930 p50-ns 148608 p90-ns 184736 p99-ns BenchmarkGoroutineProfile/sparse/loaded-4 379 487704 ns/op 273426 p50-ns 423241 p90-ns 11025269 p99-ns BenchmarkRWMutexUncontended-4 2941764 39.76 ns/op BenchmarkRWMutexWrite100-4 604336 215.4 ns/op BenchmarkRWMutexWrite10-4 104473 1251 ns/op BenchmarkRWMutexWorkWrite100-4 434282 296.4 ns/op BenchmarkRWMutexWorkWrite10-4 140923 1390 ns/op BenchmarkSemTable/OneAddrCollision/n=1000-4 1798 65180 ns/op BenchmarkSemTable/ManyAddrCollision/n=1000-4 870 134560 ns/op BenchmarkSemTable/OneAddrCollision/n=2000-4 955 123021 ns/op BenchmarkSemTable/ManyAddrCollision/n=2000-4 417 280229 ns/op BenchmarkSemTable/OneAddrCollision/n=4000-4 469 250658 ns/op BenchmarkSemTable/ManyAddrCollision/n=4000-4 196 589461 ns/op BenchmarkSemTable/OneAddrCollision/n=8000-4 237 501832 ns/op BenchmarkSemTable/ManyAddrCollision/n=8000-4 94 1226799 ns/op BenchmarkMakeSliceCopy/mallocmove/Byte-4 271549 426.7 ns/op BenchmarkMakeSliceCopy/mallocmove/Int-4 296622 416.1 ns/op BenchmarkMakeSliceCopy/mallocmove/Ptr-4 258222 461.6 ns/op BenchmarkMakeSliceCopy/makecopy/Byte-4 248772 441.1 ns/op BenchmarkMakeSliceCopy/makecopy/Int-4 271569 433.5 ns/op BenchmarkMakeSliceCopy/makecopy/Ptr-4 253786 466.2 ns/op BenchmarkMakeSliceCopy/nilappend/Byte-4 272497 440.2 ns/op BenchmarkMakeSliceCopy/nilappend/Int-4 280813 445.8 ns/op BenchmarkMakeSliceCopy/nilappend/Ptr-4 231553 521.8 ns/op BenchmarkMakeSlice/Byte-4 2002658 60.25 ns/op BenchmarkMakeSlice/Int16-4 2004115 60.18 ns/op BenchmarkMakeSlice/Int-4 1489694 80.85 ns/op BenchmarkMakeSlice/Ptr-4 1000000 104.2 ns/op BenchmarkMakeSlice/Struct/24-4 937284 129.7 ns/op BenchmarkMakeSlice/Struct/32-4 718706 168.4 ns/op BenchmarkMakeSlice/Struct/40-4 668463 177.5 ns/op BenchmarkGrowSlice/Byte-4 882433 150.4 ns/op BenchmarkGrowSlice/Int16-4 753872 162.3 ns/op BenchmarkGrowSlice/Int-4 574917 218.3 ns/op BenchmarkGrowSlice/Ptr-4 453207 258.5 ns/op BenchmarkGrowSlice/Struct/24-4 282786 421.8 ns/op BenchmarkGrowSlice/Struct/32-4 250713 467.9 ns/op BenchmarkGrowSlice/Struct/40-4 189757 558.5 ns/op BenchmarkExtendSlice/IntSlice-4 504876 263.6 ns/op BenchmarkExtendSlice/PointerSlice-4 391646 314.9 ns/op BenchmarkExtendSlice/NoGrow-4 902552 137.3 ns/op BenchmarkAppend-4 807116 145.9 ns/op BenchmarkAppendGrowByte-4 4 34563402 ns/op BenchmarkAppendGrowString-4 1 389749976 ns/op BenchmarkAppendSlice/1Bytes-4 1916344 60.30 ns/op BenchmarkAppendSlice/4Bytes-4 1854108 63.20 ns/op BenchmarkAppendSlice/7Bytes-4 1843413 64.10 ns/op BenchmarkAppendSlice/8Bytes-4 1853950 63.98 ns/op BenchmarkAppendSlice/15Bytes-4 1774604 65.14 ns/op BenchmarkAppendSlice/16Bytes-4 1814764 64.02 ns/op BenchmarkAppendSlice/32Bytes-4 1786564 65.74 ns/op BenchmarkAppendSliceLarge/1024Bytes-4 83949 1454 ns/op BenchmarkAppendSliceLarge/4096Bytes-4 21438 5322 ns/op BenchmarkAppendSliceLarge/16384Bytes-4 7771 19871 ns/op BenchmarkAppendSliceLarge/65536Bytes-4 1381 86427 ns/op BenchmarkAppendSliceLarge/262144Bytes-4 93 1300924 ns/op BenchmarkAppendSliceLarge/1048576Bytes-4 20 5844527 ns/op BenchmarkAppendStr/1Bytes-4 1386460 86.57 ns/op BenchmarkAppendStr/4Bytes-4 1493455 80.40 ns/op BenchmarkAppendStr/8Bytes-4 1461063 81.60 ns/op BenchmarkAppendStr/16Bytes-4 1445293 83.28 ns/op BenchmarkAppendStr/32Bytes-4 1407645 83.41 ns/op BenchmarkAppendSpecialCase-4 771364 156.3 ns/op BenchmarkCopy/1Byte-4 1957423 60.69 ns/op 16.48 MB/s BenchmarkCopy/1String-4 1896187 62.38 ns/op 16.03 MB/s BenchmarkCopy/2Byte-4 1887350 63.57 ns/op 31.46 MB/s BenchmarkCopy/2String-4 1907979 62.71 ns/op 31.89 MB/s BenchmarkCopy/4Byte-4 1907490 63.22 ns/op 63.27 MB/s BenchmarkCopy/4String-4 1898798 63.46 ns/op 63.04 MB/s BenchmarkCopy/8Byte-4 1919040 62.55 ns/op 127.90 MB/s BenchmarkCopy/8String-4 1925313 62.16 ns/op 128.69 MB/s BenchmarkCopy/12Byte-4 1807143 65.36 ns/op 183.60 MB/s BenchmarkCopy/12String-4 1841070 64.67 ns/op 185.57 MB/s BenchmarkCopy/16Byte-4 1901361 62.22 ns/op 257.17 MB/s BenchmarkCopy/16String-4 1891818 63.47 ns/op 252.10 MB/s BenchmarkCopy/32Byte-4 1790528 66.38 ns/op 482.05 MB/s BenchmarkCopy/32String-4 1767930 68.66 ns/op 466.04 MB/s BenchmarkCopy/128Byte-4 1348333 89.82 ns/op 1425.02 MB/s BenchmarkCopy/128String-4 1000000 100.6 ns/op 1272.48 MB/s BenchmarkCopy/1024Byte-4 414896 287.5 ns/op 3561.55 MB/s BenchmarkCopy/1024String-4 351966 338.8 ns/op 3022.01 MB/s BenchmarkAppendInPlace/NoGrow/Byte-4 26808 4337 ns/op BenchmarkAppendInPlace/NoGrow/1Ptr-4 19170 6509 ns/op BenchmarkAppendInPlace/NoGrow/2Ptr-4 10000 10475 ns/op BenchmarkAppendInPlace/NoGrow/3Ptr-4 10000 13640 ns/op BenchmarkAppendInPlace/NoGrow/4Ptr-4 6427 16607 ns/op BenchmarkAppendInPlace/Grow/Byte-4 129795 858.2 ns/op BenchmarkAppendInPlace/Grow/1Ptr-4 130474 862.2 ns/op BenchmarkAppendInPlace/Grow/2Ptr-4 90506 1149 ns/op BenchmarkAppendInPlace/Grow/3Ptr-4 77328 1477 ns/op BenchmarkAppendInPlace/Grow/4Ptr-4 71034 1623 ns/op BenchmarkStackCopyPtr-4 1 178415379 ns/op BenchmarkStackCopy-4 1 111641065 ns/op BenchmarkStackCopyNoCache-4 20 5679328 ns/op BenchmarkStackCopyWithStkobj-4 1 127926239 ns/op BenchmarkIssue18138-4 620 196945 ns/op BenchmarkCompareStringEqual-4 10955665 10.93 ns/op BenchmarkCompareStringIdentical-4 15116410 7.829 ns/op BenchmarkCompareStringSameLength-4 12869179 9.215 ns/op BenchmarkCompareStringDifferentLength-4 18114256 6.510 ns/op BenchmarkCompareStringBigUnaligned-4 1417 76667 ns/op 13677.12 MB/s BenchmarkCompareStringBig-4 1291 89941 ns/op 11658.58 MB/s BenchmarkConcatStringAndBytes-4 2144239 55.14 ns/op BenchmarkSliceByteToString/1-4 2216101 54.54 ns/op BenchmarkSliceByteToString/2-4 1000000 107.8 ns/op BenchmarkSliceByteToString/4-4 1000000 111.1 ns/op BenchmarkSliceByteToString/8-4 949431 111.5 ns/op BenchmarkSliceByteToString/16-4 1000000 110.0 ns/op BenchmarkSliceByteToString/32-4 1000000 126.1 ns/op BenchmarkSliceByteToString/64-4 882898 147.3 ns/op BenchmarkSliceByteToString/128-4 704538 216.3 ns/op BenchmarkRuneCount/lenruneslice/ASCII-4 2213007 54.24 ns/op BenchmarkRuneCount/lenruneslice/Japanese-4 821144 138.6 ns/op BenchmarkRuneCount/lenruneslice/MixedLength-4 1000000 120.7 ns/op BenchmarkRuneCount/rangeloop/ASCII-4 3401655 35.17 ns/op BenchmarkRuneCount/rangeloop/Japanese-4 1619366 73.96 ns/op BenchmarkRuneCount/rangeloop/MixedLength-4 1845324 64.74 ns/op BenchmarkRuneCount/utf8.RuneCountInString/ASCII-4 2234791 53.91 ns/op BenchmarkRuneCount/utf8.RuneCountInString/Japanese-4 438879 274.9 ns/op BenchmarkRuneCount/utf8.RuneCountInString/MixedLength-4 547233 212.9 ns/op BenchmarkRuneIterate/range/ASCII-4 5654349 20.32 ns/op BenchmarkRuneIterate/range/Japanese-4 2014510 57.95 ns/op BenchmarkRuneIterate/range/MixedLength-4 2249649 51.91 ns/op BenchmarkRuneIterate/range1/ASCII-4 5635788 20.25 ns/op BenchmarkRuneIterate/range1/Japanese-4 2042880 57.67 ns/op BenchmarkRuneIterate/range1/MixedLength-4 2205104 52.25 ns/op BenchmarkRuneIterate/range2/ASCII-4 5618545 20.47 ns/op BenchmarkRuneIterate/range2/Japanese-4 2045772 58.05 ns/op BenchmarkRuneIterate/range2/MixedLength-4 2274733 51.34 ns/op BenchmarkArrayEqual-4 17147754 6.829 ns/op BenchmarkFunc/Name-4 2614303 45.67 ns/op BenchmarkFunc/Entry-4 10202714 11.66 ns/op BenchmarkFunc/FileLine-4 1560950 76.37 ns/op PASS ok runtime 150.115s goos: linux goarch: amd64 pkg: runtime/cgo cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHandle/non-concurrent-4 26110 4676 ns/op BenchmarkHandle/concurrent-4 12495 8320 ns/op PASS ok runtime/cgo 1.472s goos: linux goarch: amd64 pkg: runtime/internal/atomic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAtomicLoad64-4 20825592 5.671 ns/op BenchmarkAtomicStore64-4 9919651 12.06 ns/op BenchmarkAtomicLoad-4 20785594 5.692 ns/op BenchmarkAtomicStore-4 9864478 12.16 ns/op BenchmarkAnd8-4 9918062 12.09 ns/op BenchmarkAnd-4 9849133 12.11 ns/op BenchmarkAnd8Parallel-4 3180178 46.24 ns/op BenchmarkAndParallel-4 3100502 49.81 ns/op BenchmarkOr8-4 9732458 12.10 ns/op BenchmarkOr-4 9898916 12.10 ns/op BenchmarkOr8Parallel-4 2956257 47.52 ns/op BenchmarkOrParallel-4 2518240 43.88 ns/op BenchmarkXadd-4 2413132 49.16 ns/op BenchmarkXadd64-4 2413573 44.02 ns/op BenchmarkCas-4 2373093 53.43 ns/op BenchmarkCas64-4 2428224 54.78 ns/op BenchmarkXchg-4 2972983 48.68 ns/op BenchmarkXchg64-4 2999410 48.57 ns/op PASS ok runtime/internal/atomic 3.887s goos: linux goarch: amd64 pkg: runtime/internal/math cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMulUintptr/small-4 4306752 27.75 ns/op BenchmarkMulUintptr/large-4 3401480 35.55 ns/op PASS ok runtime/internal/math 1.328s goos: linux goarch: amd64 pkg: runtime/pprof cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkGoroutine/Profile.WriteTo_idle_50-4 16 6776174 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_50-4 14 10137881 ns/op 646.4 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_50-4 877 135090 ns/op 4.837 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_500-4 8 13704887 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_500-4 6 18822521 ns/op 1142 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_500-4 152 793522 ns/op 53.26 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_5000-4 2 82677318 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_5000-4 1 118519339 ns/op 7581 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_5000-4 12 11254017 ns/op 634.6 concurrent_launches/op PASS ok runtime/pprof 2.671s goos: linux goarch: amd64 pkg: runtime/race cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSyncLeak-4 22 4556146 ns/op BenchmarkStackLeak-4 17373 6846 ns/op PASS ok runtime/race 1.373s goos: linux goarch: amd64 pkg: runtime/trace cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStartRegion-4 4286971 31.41 ns/op 0 B/op 0 allocs/op BenchmarkNewTask-4 224280 549.8 ns/op 64 B/op 2 allocs/op PASS ok runtime/trace 1.420s goos: linux goarch: amd64 pkg: slices cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEqualFunc_Large-4 19 5563659 ns/op BenchmarkIndex_Large-4 16208 7291 ns/op BenchmarkIndexFunc_Large-4 79 1391382 ns/op BenchmarkCompact/nil-4 6817576 17.16 ns/op BenchmarkCompact/one-4 1754901 66.98 ns/op BenchmarkCompact/sorted-4 1000000 107.0 ns/op BenchmarkCompact/1_item-4 948166 117.1 ns/op BenchmarkCompact/unsorted-4 1000000 104.1 ns/op BenchmarkCompact/many-4 588888 179.6 ns/op BenchmarkCompact_Large-4 675 177714 ns/op BenchmarkCompactFunc_Large-4 37 3032996 ns/op BenchmarkReplace/naive-fast-4 63612 1634 ns/op BenchmarkReplace/optimized-fast-4 76638 1393 ns/op BenchmarkReplace/naive-slow-4 25792 4321 ns/op BenchmarkReplace/optimized-slow-4 30584 3757 ns/op BenchmarkSortInts-4 2 96856094 ns/op BenchmarkSlicesSortInts-4 2 67951574 ns/op BenchmarkSlicesSortInts_Sorted-4 54 2241223 ns/op BenchmarkSlicesSortInts_Reversed-4 34 3440566 ns/op BenchmarkSortStrings-4 1 174384675 ns/op BenchmarkSlicesSortStrings-4 1 111608956 ns/op BenchmarkSortStructs-4 1 214416947 ns/op BenchmarkSortFuncStructs-4 1 181121727 ns/op BenchmarkBinarySearchFloats/Size16-4 1000000 106.7 ns/op BenchmarkBinarySearchFloats/Size32-4 917124 123.7 ns/op BenchmarkBinarySearchFloats/Size64-4 856750 139.6 ns/op BenchmarkBinarySearchFloats/Size128-4 710979 168.4 ns/op BenchmarkBinarySearchFloats/Size512-4 593485 197.2 ns/op BenchmarkBinarySearchFloats/Size1024-4 560976 211.5 ns/op BenchmarkBinarySearchFuncStruct/Size16-4 559616 205.5 ns/op BenchmarkBinarySearchFuncStruct/Size32-4 474549 250.5 ns/op BenchmarkBinarySearchFuncStruct/Size64-4 399589 290.6 ns/op BenchmarkBinarySearchFuncStruct/Size128-4 353352 327.8 ns/op BenchmarkBinarySearchFuncStruct/Size512-4 292617 393.4 ns/op BenchmarkBinarySearchFuncStruct/Size1024-4 268269 427.4 ns/op PASS ok slices 13.679s goos: linux goarch: amd64 pkg: sort cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSearchWrappers-4 169059 711.0 ns/op BenchmarkSortString1K-4 172 721617 ns/op BenchmarkSortString1K_Slice-4 194 601729 ns/op BenchmarkStableString1K-4 93 1153722 ns/op BenchmarkSortInt1K-4 207 556887 ns/op BenchmarkSortInt1K_Sorted-4 3042 43756 ns/op BenchmarkSortInt1K_Reversed-4 1765 80261 ns/op BenchmarkSortInt1K_Mod8-4 524 256011 ns/op BenchmarkStableInt1K-4 120 892658 ns/op BenchmarkStableInt1K_Slice-4 158 755281 ns/op BenchmarkSortInt64K-4 2 55254821 ns/op BenchmarkSortInt64K_Slice-4 3 46746829 ns/op BenchmarkStableInt64K-4 2 75538074 ns/op BenchmarkSort1e2-4 426 307023 ns/op BenchmarkStable1e2-4 128 1166341 ns/op BenchmarkSort1e4-4 2 53715494 ns/op BenchmarkStable1e4-4 1 237511093 ns/op PASS ok sort 4.831s goos: linux goarch: amd64 pkg: strconv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAtof64Decimal-4 834069 145.6 ns/op BenchmarkAtof64Float-4 730270 165.3 ns/op BenchmarkAtof64FloatExp-4 589898 196.9 ns/op BenchmarkAtof64Big-4 430864 277.6 ns/op BenchmarkAtof64RandomBits-4 399217 286.3 ns/op BenchmarkAtof64RandomFloats-4 413866 268.7 ns/op BenchmarkAtof64RandomLongFloats-4 254582 451.6 ns/op BenchmarkAtof32Decimal-4 762298 141.9 ns/op BenchmarkAtof32Float-4 692599 161.8 ns/op BenchmarkAtof32FloatExp-4 569473 201.3 ns/op BenchmarkAtof32Random-4 334953 336.5 ns/op BenchmarkAtof32RandomLong-4 147024 801.0 ns/op BenchmarkParseInt/Pos/7bit-4 1364889 90.11 ns/op BenchmarkParseInt/Pos/26bit-4 559788 201.5 ns/op BenchmarkParseInt/Pos/31bit-4 527266 213.2 ns/op BenchmarkParseInt/Pos/56bit-4 347012 329.8 ns/op BenchmarkParseInt/Pos/63bit-4 330200 345.4 ns/op BenchmarkParseInt/Neg/7bit-4 1258982 94.10 ns/op BenchmarkParseInt/Neg/26bit-4 540609 204.7 ns/op BenchmarkParseInt/Neg/31bit-4 522932 215.2 ns/op BenchmarkParseInt/Neg/56bit-4 361250 325.3 ns/op BenchmarkParseInt/Neg/63bit-4 333382 348.2 ns/op BenchmarkAtoi/Pos/7bit-4 1974015 61.17 ns/op BenchmarkAtoi/Pos/26bit-4 768549 144.7 ns/op BenchmarkAtoi/Pos/31bit-4 692638 164.3 ns/op BenchmarkAtoi/Pos/56bit-4 415321 282.4 ns/op BenchmarkAtoi/Pos/63bit-4 319468 365.5 ns/op BenchmarkAtoi/Neg/7bit-4 1905316 61.04 ns/op BenchmarkAtoi/Neg/26bit-4 754658 155.7 ns/op BenchmarkAtoi/Neg/31bit-4 645229 168.5 ns/op BenchmarkAtoi/Neg/56bit-4 412038 277.0 ns/op BenchmarkAtoi/Neg/63bit-4 315124 359.8 ns/op BenchmarkFormatFloat/Decimal-4 114398 1095 ns/op BenchmarkFormatFloat/Float-4 104569 1172 ns/op BenchmarkFormatFloat/Exp-4 111080 1084 ns/op BenchmarkFormatFloat/NegExp-4 111234 1082 ns/op BenchmarkFormatFloat/LongExp-4 92984 1283 ns/op BenchmarkFormatFloat/Big-4 91310 1318 ns/op BenchmarkFormatFloat/BinaryExp-4 200505 598.8 ns/op BenchmarkFormatFloat/32Integer-4 114006 1078 ns/op BenchmarkFormatFloat/32ExactFraction-4 111687 1026 ns/op BenchmarkFormatFloat/32Point-4 104820 1132 ns/op BenchmarkFormatFloat/32Exp-4 110648 1062 ns/op BenchmarkFormatFloat/32NegExp-4 115468 1055 ns/op BenchmarkFormatFloat/32Shortest-4 117550 1026 ns/op BenchmarkFormatFloat/32Fixed8Hard-4 134511 891.2 ns/op BenchmarkFormatFloat/32Fixed9Hard-4 128750 918.5 ns/op BenchmarkFormatFloat/64Fixed1-4 152269 792.1 ns/op BenchmarkFormatFloat/64Fixed2-4 152245 793.8 ns/op BenchmarkFormatFloat/64Fixed3-4 145380 826.9 ns/op BenchmarkFormatFloat/64Fixed4-4 145884 811.0 ns/op BenchmarkFormatFloat/64Fixed12-4 83913 1419 ns/op BenchmarkFormatFloat/64Fixed16-4 96591 1092 ns/op BenchmarkFormatFloat/64Fixed12Hard-4 108969 1095 ns/op BenchmarkFormatFloat/64Fixed17Hard-4 99044 1177 ns/op BenchmarkFormatFloat/64Fixed18Hard-4 2236 49503 ns/op BenchmarkFormatFloat/Slowpath64-4 94686 1307 ns/op BenchmarkFormatFloat/SlowpathDenormal64-4 93440 1268 ns/op BenchmarkAppendFloat/Decimal-4 134902 888.7 ns/op BenchmarkAppendFloat/Float-4 116088 1012 ns/op BenchmarkAppendFloat/Exp-4 134467 874.7 ns/op BenchmarkAppendFloat/NegExp-4 134377 872.6 ns/op BenchmarkAppendFloat/LongExp-4 108267 1087 ns/op BenchmarkAppendFloat/Big-4 107886 1109 ns/op BenchmarkAppendFloat/BinaryExp-4 301749 368.3 ns/op BenchmarkAppendFloat/32Integer-4 129132 877.7 ns/op BenchmarkAppendFloat/32ExactFraction-4 135409 884.8 ns/op BenchmarkAppendFloat/32Point-4 126999 925.1 ns/op BenchmarkAppendFloat/32Exp-4 135508 870.3 ns/op BenchmarkAppendFloat/32NegExp-4 136315 871.7 ns/op BenchmarkAppendFloat/32Shortest-4 152012 769.2 ns/op BenchmarkAppendFloat/32Fixed8Hard-4 171370 688.7 ns/op BenchmarkAppendFloat/32Fixed9Hard-4 167676 713.1 ns/op BenchmarkAppendFloat/64Fixed1-4 183841 612.5 ns/op BenchmarkAppendFloat/64Fixed2-4 191071 620.2 ns/op BenchmarkAppendFloat/64Fixed3-4 189751 630.7 ns/op BenchmarkAppendFloat/64Fixed4-4 189970 610.0 ns/op BenchmarkAppendFloat/64Fixed12-4 101826 1176 ns/op BenchmarkAppendFloat/64Fixed16-4 135892 878.0 ns/op BenchmarkAppendFloat/64Fixed12Hard-4 146302 822.6 ns/op BenchmarkAppendFloat/64Fixed17Hard-4 111027 948.5 ns/op BenchmarkAppendFloat/64Fixed18Hard-4 2304 50325 ns/op BenchmarkAppendFloat/Slowpath64-4 105198 1086 ns/op BenchmarkAppendFloat/SlowpathDenormal64-4 114115 1042 ns/op BenchmarkFormatInt-4 14481 8147 ns/op BenchmarkAppendInt-4 16650 7251 ns/op BenchmarkFormatUint-4 80822 1457 ns/op BenchmarkAppendUint-4 93375 1282 ns/op BenchmarkFormatIntSmall/7-4 2505211 45.60 ns/op BenchmarkFormatIntSmall/42-4 2814212 42.39 ns/op BenchmarkAppendIntSmall-4 1370570 87.72 ns/op BenchmarkAppendUintVarlen/1-4 1249322 93.06 ns/op BenchmarkAppendUintVarlen/12-4 1246819 103.4 ns/op BenchmarkAppendUintVarlen/123-4 784171 131.7 ns/op BenchmarkAppendUintVarlen/1234-4 894139 132.7 ns/op BenchmarkAppendUintVarlen/12345-4 881718 131.4 ns/op BenchmarkAppendUintVarlen/123456-4 940062 125.0 ns/op BenchmarkAppendUintVarlen/1234567-4 832453 133.1 ns/op BenchmarkAppendUintVarlen/12345678-4 844200 139.9 ns/op BenchmarkAppendUintVarlen/123456789-4 807464 138.2 ns/op BenchmarkAppendUintVarlen/1234567890-4 827358 138.7 ns/op BenchmarkAppendUintVarlen/12345678901-4 808484 143.0 ns/op BenchmarkAppendUintVarlen/123456789012-4 724766 138.4 ns/op BenchmarkAppendUintVarlen/1234567890123-4 813140 141.1 ns/op BenchmarkAppendUintVarlen/12345678901234-4 836914 139.4 ns/op BenchmarkAppendUintVarlen/123456789012345-4 774104 143.6 ns/op BenchmarkAppendUintVarlen/1234567890123456-4 792399 142.9 ns/op BenchmarkAppendUintVarlen/12345678901234567-4 754800 150.5 ns/op BenchmarkAppendUintVarlen/123456789012345678-4 758991 146.9 ns/op BenchmarkAppendUintVarlen/1234567890123456789-4 727519 148.9 ns/op BenchmarkAppendUintVarlen/12345678901234567890-4 741105 151.2 ns/op BenchmarkQuote-4 44119 2702 ns/op BenchmarkQuoteRune-4 445293 266.8 ns/op BenchmarkAppendQuote-4 54178 2205 ns/op BenchmarkAppendQuoteRune-4 839233 141.3 ns/op BenchmarkUnquoteEasy-4 1337526 88.46 ns/op BenchmarkUnquoteHard-4 47680 2405 ns/op PASS ok strconv 19.912s goos: linux goarch: amd64 pkg: strings cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkBuildString_Builder/1Write_NoGrow-4 385669 272.5 ns/op 48 B/op 1 allocs/op BenchmarkBuildString_Builder/3Write_NoGrow-4 139512 861.0 ns/op 336 B/op 3 allocs/op BenchmarkBuildString_Builder/3Write_Grow-4 192403 630.3 ns/op 112 B/op 1 allocs/op BenchmarkBuildString_ByteBuffer/1Write_NoGrow-4 267752 394.9 ns/op 112 B/op 2 allocs/op BenchmarkBuildString_ByteBuffer/3Write_NoGrow-4 89605 1315 ns/op 432 B/op 4 allocs/op BenchmarkBuildString_ByteBuffer/3Write_Grow-4 96774 1121 ns/op 336 B/op 3 allocs/op BenchmarkClone-4 592606 183.4 ns/op 48 B/op 1 allocs/op BenchmarkGenericNoMatch-4 20983 5764 ns/op BenchmarkGenericMatch1-4 2084 52044 ns/op BenchmarkGenericMatch2-4 433 277594 ns/op BenchmarkSingleMaxSkipping-4 7490 14512 ns/op 689.10 MB/s BenchmarkSingleLongSuffixFail-4 14230 8428 ns/op 118.90 MB/s BenchmarkSingleMatch-4 243 476770 ns/op 31.46 MB/s BenchmarkByteByteNoMatch-4 73308 1622 ns/op BenchmarkByteByteMatch-4 18702 6338 ns/op BenchmarkByteStringMatch-4 22113 5276 ns/op BenchmarkHTMLEscapeNew-4 70687 1668 ns/op BenchmarkHTMLEscapeOld-4 85683 1350 ns/op BenchmarkByteStringReplacerWriteString-4 1399 80551 ns/op BenchmarkByteReplacerWriteString-4 1538 76132 ns/op BenchmarkByteByteReplaces-4 3537 32928 ns/op BenchmarkByteByteMap-4 10000 11838 ns/op BenchmarkMap/identity/ASCII-4 625950 178.6 ns/op BenchmarkMap/identity/Greek-4 484819 244.9 ns/op BenchmarkMap/change/ASCII-4 39084 3078 ns/op BenchmarkMap/change/Greek-4 29652 3999 ns/op BenchmarkIndexRune-4 2071534 57.56 ns/op BenchmarkIndexRuneLongString-4 1786410 66.89 ns/op BenchmarkIndexRuneFastPath-4 4588971 26.20 ns/op BenchmarkIndex-4 4551903 26.47 ns/op BenchmarkLastIndex-4 5168656 23.09 ns/op BenchmarkIndexByte-4 10271871 11.60 ns/op BenchmarkToUpper/#00-4 3268891 36.63 ns/op BenchmarkToUpper/ONLYUPPER-4 2487315 46.80 ns/op BenchmarkToUpper/abc-4 328298 380.0 ns/op BenchmarkToUpper/AbC123-4 251118 491.4 ns/op BenchmarkToUpper/azAZ09_-4 280036 448.5 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 56330 2120 ns/op BenchmarkToUpper/RENAN_BASTOS_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 73586 1637 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 33633 3616 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 56289 2166 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 117950 975.0 ns/op BenchmarkToLower/#00-4 3188492 37.66 ns/op BenchmarkToLower/abc-4 2805296 41.59 ns/op BenchmarkToLower/AbC123-4 233425 522.4 ns/op BenchmarkToLower/azAZ09_-4 221269 519.1 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 97346 1204 ns/op BenchmarkToLower/renan_bastos_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 65206 1820 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 34370 3466 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 78679 1515 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 116073 988.2 ns/op BenchmarkMapNoChanges-4 878709 121.9 ns/op BenchmarkTrim-4 37629 3130 ns/op 0 B/op 0 allocs/op BenchmarkToValidUTF8/Valid-4 3295728 35.82 ns/op BenchmarkToValidUTF8/InvalidASCII-4 199227 615.6 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 131944 911.0 ns/op BenchmarkEqualFold/Tests-4 51584 2236 ns/op BenchmarkEqualFold/ASCII-4 3675675 31.98 ns/op BenchmarkEqualFold/UnicodePrefix-4 107058 1118 ns/op BenchmarkEqualFold/UnicodeSuffix-4 116394 1012 ns/op BenchmarkIndexHard1-4 828 142602 ns/op BenchmarkIndexHard2-4 586 199432 ns/op BenchmarkIndexHard3-4 150 798438 ns/op BenchmarkIndexHard4-4 180 662445 ns/op BenchmarkLastIndexHard1-4 56 2007481 ns/op BenchmarkLastIndexHard2-4 55 2045002 ns/op BenchmarkLastIndexHard3-4 52 2027934 ns/op BenchmarkCountHard1-4 804 146690 ns/op BenchmarkCountHard2-4 591 200467 ns/op BenchmarkCountHard3-4 150 798856 ns/op BenchmarkIndexTorture-4 7740 15736 ns/op BenchmarkCountTorture-4 7496 15693 ns/op BenchmarkCountTortureOverlapping-4 676 172863 ns/op BenchmarkCountByte/10-4 4197316 27.02 ns/op 370.11 MB/s BenchmarkCountByte/32-4 4187762 27.89 ns/op 1147.16 MB/s BenchmarkCountByte/4096-4 861648 136.7 ns/op 29965.28 MB/s BenchmarkCountByte/4194304-4 660 169431 ns/op 24755.18 MB/s BenchmarkCountByte/67108864-4 19 6461450 ns/op 10386.04 MB/s BenchmarkFields/ASCII/16-4 232323 510.0 ns/op 31.37 MB/s 64 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 19792 5945 ns/op 43.06 MB/s 416 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 1290 89829 ns/op 45.60 MB/s 6144 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 63 1768998 ns/op 37.05 MB/s 98305 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 4 28118873 ns/op 37.29 MB/s 1507328 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 141423 787.2 ns/op 20.32 MB/s 16 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 10000 11525 ns/op 22.21 MB/s 240 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 567 209529 ns/op 19.55 MB/s 21504 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 28 4323253 ns/op 15.16 MB/s 463104 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 2 88963656 ns/op 11.79 MB/s 10457344 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 164244 712.0 ns/op 22.47 MB/s 64 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 17494 6689 ns/op 38.27 MB/s 416 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 924 123157 ns/op 33.26 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 40 2957621 ns/op 22.16 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 69257346 ns/op 15.14 MB/s 10449200 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 203188 588.3 ns/op 27.20 MB/s 16 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 13395 8696 ns/op 29.44 MB/s 240 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 704 162040 ns/op 25.28 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 34 3561870 ns/op 18.40 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 2 77749234 ns/op 13.49 MB/s 10457344 B/op 24 allocs/op BenchmarkSplitEmptySeparator-4 1 106415743 ns/op BenchmarkSplitSingleByteSeparator-4 14 8276160 ns/op BenchmarkSplitMultiByteSeparator-4 28 4099130 ns/op BenchmarkSplitNSingleByteSeparator-4 203797 524.8 ns/op BenchmarkSplitNMultiByteSeparator-4 160088 677.9 ns/op BenchmarkRepeat/5x0-4 3389253 34.42 ns/op BenchmarkRepeat/5x1-4 3397904 32.29 ns/op BenchmarkRepeat/5x2-4 268298 454.0 ns/op BenchmarkRepeat/5x6-4 161980 740.9 ns/op BenchmarkRepeat/10x0-4 3433946 32.42 ns/op BenchmarkRepeat/10x1-4 3434352 32.74 ns/op BenchmarkRepeat/10x2-4 260384 480.3 ns/op BenchmarkRepeat/10x6-4 156967 773.8 ns/op BenchmarkRepeatLarge/256/1-4 69772 1590 ns/op 161.03 MB/s BenchmarkRepeatLarge/256/16-4 107191 1008 ns/op 253.91 MB/s BenchmarkRepeatLarge/512/1-4 55346 1980 ns/op 258.62 MB/s BenchmarkRepeatLarge/512/16-4 76435 1408 ns/op 363.74 MB/s BenchmarkRepeatLarge/1024/1-4 44002 2590 ns/op 395.39 MB/s BenchmarkRepeatLarge/1024/16-4 57021 1940 ns/op 527.96 MB/s BenchmarkRepeatLarge/2048/1-4 30124 3618 ns/op 566.09 MB/s BenchmarkRepeatLarge/2048/16-4 38944 3022 ns/op 677.59 MB/s BenchmarkRepeatLarge/4096/1-4 20930 5553 ns/op 737.63 MB/s BenchmarkRepeatLarge/4096/16-4 23176 5668 ns/op 722.60 MB/s BenchmarkRepeatLarge/8192/1-4 12492 9505 ns/op 861.82 MB/s BenchmarkRepeatLarge/8192/16-4 10000 10475 ns/op 782.02 MB/s BenchmarkRepeatLarge/8192/4097-4 5632010 21.64 ns/op 189285.61 MB/s BenchmarkRepeatLarge/16384/1-4 7069 16555 ns/op 989.66 MB/s BenchmarkRepeatLarge/16384/16-4 6627 15861 ns/op 1032.98 MB/s BenchmarkRepeatLarge/16384/4097-4 9202 14050 ns/op 874.78 MB/s BenchmarkRepeatLarge/32768/1-4 3715 31401 ns/op 1043.52 MB/s BenchmarkRepeatLarge/32768/16-4 3824 30142 ns/op 1087.12 MB/s BenchmarkRepeatLarge/32768/4097-4 4212 28011 ns/op 1023.86 MB/s BenchmarkRepeatLarge/65536/1-4 1977 58994 ns/op 1110.89 MB/s BenchmarkRepeatLarge/65536/16-4 1636 61677 ns/op 1062.57 MB/s BenchmarkRepeatLarge/65536/4097-4 2059 60222 ns/op 1020.47 MB/s BenchmarkRepeatLarge/131072/1-4 218 522281 ns/op 250.96 MB/s BenchmarkRepeatLarge/131072/16-4 220 523010 ns/op 250.61 MB/s BenchmarkRepeatLarge/131072/4097-4 226 517910 ns/op 245.23 MB/s BenchmarkRepeatLarge/262144/1-4 100 1038129 ns/op 252.52 MB/s BenchmarkRepeatLarge/262144/16-4 100 1040747 ns/op 251.88 MB/s BenchmarkRepeatLarge/262144/4097-4 100 1041924 ns/op 247.73 MB/s BenchmarkRepeatLarge/524288/1-4 55 2121541 ns/op 247.13 MB/s BenchmarkRepeatLarge/524288/16-4 61 2063529 ns/op 254.07 MB/s BenchmarkRepeatLarge/524288/4097-4 60 2086264 ns/op 249.40 MB/s BenchmarkRepeatLarge/1048576/1-4 28 4127471 ns/op 254.05 MB/s BenchmarkRepeatLarge/1048576/16-4 26 4123263 ns/op 254.31 MB/s BenchmarkRepeatLarge/1048576/4097-4 28 4174979 ns/op 250.24 MB/s BenchmarkRepeatLarge/2097152/1-4 15 8031690 ns/op 261.11 MB/s BenchmarkRepeatLarge/2097152/16-4 14 7945974 ns/op 263.93 MB/s BenchmarkRepeatLarge/2097152/4097-4 14 8369527 ns/op 250.14 MB/s BenchmarkRepeatLarge/4194304/1-4 7 16229059 ns/op 258.44 MB/s BenchmarkRepeatLarge/4194304/16-4 7 15899810 ns/op 263.80 MB/s BenchmarkRepeatLarge/4194304/4097-4 7 16534290 ns/op 253.49 MB/s BenchmarkRepeatLarge/8388608/1-4 3 33699901 ns/op 248.92 MB/s BenchmarkRepeatLarge/8388608/16-4 4 33135018 ns/op 253.16 MB/s BenchmarkRepeatLarge/8388608/4097-4 3 34226741 ns/op 245.03 MB/s BenchmarkRepeatLarge/16777216/1-4 2 62290182 ns/op 269.34 MB/s BenchmarkRepeatLarge/16777216/16-4 2 63337379 ns/op 264.89 MB/s BenchmarkRepeatLarge/16777216/4097-4 2 64727814 ns/op 259.20 MB/s BenchmarkRepeatLarge/33554432/1-4 1 128487508 ns/op 261.15 MB/s BenchmarkRepeatLarge/33554432/16-4 1 123743745 ns/op 271.16 MB/s BenchmarkRepeatLarge/33554432/4097-4 1 128525775 ns/op 261.07 MB/s BenchmarkRepeatLarge/67108864/1-4 1 264937606 ns/op 253.30 MB/s BenchmarkRepeatLarge/67108864/16-4 1 247432067 ns/op 271.22 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 252070971 ns/op 266.23 MB/s BenchmarkRepeatLarge/134217728/1-4 1 492545874 ns/op 272.50 MB/s BenchmarkRepeatLarge/134217728/16-4 1 491619278 ns/op 273.01 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 496395495 ns/op 270.38 MB/s BenchmarkRepeatLarge/268435456/1-4 1 995395394 ns/op 269.68 MB/s BenchmarkRepeatLarge/268435456/16-4 1 946849830 ns/op 283.50 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 973507206 ns/op 275.74 MB/s BenchmarkRepeatLarge/536870912/1-4 1 1953986546 ns/op 274.76 MB/s BenchmarkRepeatLarge/536870912/16-4 1 1921877249 ns/op 279.35 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 1952373833 ns/op 274.98 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 5006779701 ns/op 214.46 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 3747529138 ns/op 286.52 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 3789240636 ns/op 283.37 MB/s BenchmarkIndexAnyASCII/1:1-4 2071410 56.36 ns/op BenchmarkIndexAnyASCII/1:2-4 2137633 53.97 ns/op BenchmarkIndexAnyASCII/1:4-4 2131832 53.85 ns/op BenchmarkIndexAnyASCII/1:8-4 2119035 53.97 ns/op BenchmarkIndexAnyASCII/1:16-4 2150762 53.35 ns/op BenchmarkIndexAnyASCII/1:32-4 2066817 54.95 ns/op BenchmarkIndexAnyASCII/1:64-4 2085483 55.31 ns/op BenchmarkIndexAnyASCII/16:1-4 2106802 53.69 ns/op BenchmarkIndexAnyASCII/16:2-4 783768 151.9 ns/op BenchmarkIndexAnyASCII/16:4-4 731562 154.9 ns/op BenchmarkIndexAnyASCII/16:8-4 718174 161.8 ns/op BenchmarkIndexAnyASCII/16:16-4 690547 172.7 ns/op BenchmarkIndexAnyASCII/16:32-4 595222 198.3 ns/op BenchmarkIndexAnyASCII/16:64-4 481886 259.3 ns/op BenchmarkIndexAnyASCII/256:1-4 1839823 61.48 ns/op BenchmarkIndexAnyASCII/256:2-4 74070 1612 ns/op BenchmarkIndexAnyASCII/256:4-4 74283 1628 ns/op BenchmarkIndexAnyASCII/256:8-4 72231 1643 ns/op BenchmarkIndexAnyASCII/256:16-4 72399 1658 ns/op BenchmarkIndexAnyASCII/256:32-4 71556 1664 ns/op BenchmarkIndexAnyASCII/256:64-4 70035 1710 ns/op BenchmarkIndexAnyUTF8/1:1-4 2018412 55.93 ns/op BenchmarkIndexAnyUTF8/1:2-4 2089783 53.87 ns/op BenchmarkIndexAnyUTF8/1:4-4 2083909 53.48 ns/op BenchmarkIndexAnyUTF8/1:8-4 2086694 53.83 ns/op BenchmarkIndexAnyUTF8/1:16-4 2091536 54.20 ns/op BenchmarkIndexAnyUTF8/1:32-4 2052524 55.89 ns/op BenchmarkIndexAnyUTF8/1:64-4 2026814 55.84 ns/op BenchmarkIndexAnyUTF8/16:1-4 1621362 71.69 ns/op BenchmarkIndexAnyUTF8/16:2-4 323618 365.2 ns/op BenchmarkIndexAnyUTF8/16:4-4 319490 362.7 ns/op BenchmarkIndexAnyUTF8/16:8-4 323534 366.7 ns/op BenchmarkIndexAnyUTF8/16:16-4 315741 375.3 ns/op BenchmarkIndexAnyUTF8/16:32-4 314590 377.0 ns/op BenchmarkIndexAnyUTF8/16:64-4 287671 392.9 ns/op BenchmarkIndexAnyUTF8/256:1-4 379450 313.6 ns/op BenchmarkIndexAnyUTF8/256:2-4 24434 4876 ns/op BenchmarkIndexAnyUTF8/256:4-4 24432 4936 ns/op BenchmarkIndexAnyUTF8/256:8-4 24157 5050 ns/op BenchmarkIndexAnyUTF8/256:16-4 22363 5288 ns/op BenchmarkIndexAnyUTF8/256:32-4 22768 5219 ns/op BenchmarkIndexAnyUTF8/256:64-4 21519 5563 ns/op BenchmarkLastIndexAnyASCII/1:1-4 1999887 58.53 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2037140 54.70 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2054908 54.69 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2065716 54.03 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2059100 54.98 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2003865 54.78 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2065263 54.71 ns/op BenchmarkLastIndexAnyASCII/16:1-4 786019 145.8 ns/op BenchmarkLastIndexAnyASCII/16:2-4 808370 146.6 ns/op BenchmarkLastIndexAnyASCII/16:4-4 769104 150.8 ns/op BenchmarkLastIndexAnyASCII/16:8-4 755866 158.8 ns/op BenchmarkLastIndexAnyASCII/16:16-4 681969 169.0 ns/op BenchmarkLastIndexAnyASCII/16:32-4 604118 197.5 ns/op BenchmarkLastIndexAnyASCII/16:64-4 485260 244.5 ns/op BenchmarkLastIndexAnyASCII/256:1-4 77292 1539 ns/op BenchmarkLastIndexAnyASCII/256:2-4 76767 1540 ns/op BenchmarkLastIndexAnyASCII/256:4-4 77708 1538 ns/op BenchmarkLastIndexAnyASCII/256:8-4 76870 1555 ns/op BenchmarkLastIndexAnyASCII/256:16-4 77008 1570 ns/op BenchmarkLastIndexAnyASCII/256:32-4 74642 1602 ns/op BenchmarkLastIndexAnyASCII/256:64-4 73350 1634 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2045473 57.95 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2094224 54.19 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2127265 54.11 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2092914 54.69 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2132678 55.71 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2058648 55.91 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2082330 55.52 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 368290 319.4 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 180166 634.3 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 188775 626.4 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 182056 628.8 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 176156 667.6 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 172396 688.6 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 169984 703.2 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 27889 4169 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 12920 9282 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 13190 9137 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 13040 9058 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 12280 9808 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 10000 10338 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 10000 10469 ns/op BenchmarkTrimASCII/1:1-4 3154758 37.71 ns/op BenchmarkTrimASCII/1:2-4 2466018 47.94 ns/op BenchmarkTrimASCII/1:4-4 2337885 50.55 ns/op BenchmarkTrimASCII/1:8-4 2089076 57.16 ns/op BenchmarkTrimASCII/1:16-4 1749818 67.47 ns/op BenchmarkTrimASCII/16:1-4 2697324 43.97 ns/op BenchmarkTrimASCII/16:2-4 794362 145.8 ns/op BenchmarkTrimASCII/16:4-4 735439 150.3 ns/op BenchmarkTrimASCII/16:8-4 729814 156.9 ns/op BenchmarkTrimASCII/16:16-4 675949 169.9 ns/op BenchmarkTrimASCII/256:1-4 808300 147.0 ns/op BenchmarkTrimASCII/256:2-4 76705 1534 ns/op BenchmarkTrimASCII/256:4-4 78100 1535 ns/op BenchmarkTrimASCII/256:8-4 77653 1559 ns/op BenchmarkTrimASCII/256:16-4 76868 1555 ns/op BenchmarkTrimASCII/4096:1-4 74512 1598 ns/op BenchmarkTrimASCII/4096:2-4 4936 23636 ns/op BenchmarkTrimASCII/4096:4-4 5078 23508 ns/op BenchmarkTrimASCII/4096:8-4 4452 23711 ns/op BenchmarkTrimASCII/4096:16-4 4940 23680 ns/op BenchmarkTrimByte-4 4502888 26.44 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 13129 8948 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 13374 9055 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 1089 108252 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 2172 52927 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 4330 26553 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 7442 14934 ns/op BenchmarkJoin/0-4 5116822 21.73 ns/op 0 B/op 0 allocs/op BenchmarkJoin/1-4 4007054 29.29 ns/op 0 B/op 0 allocs/op BenchmarkJoin/2-4 204640 600.3 ns/op 16 B/op 1 allocs/op BenchmarkJoin/3-4 137642 872.5 ns/op 24 B/op 1 allocs/op BenchmarkJoin/4-4 105526 1166 ns/op 48 B/op 1 allocs/op BenchmarkJoin/5-4 83341 1478 ns/op 48 B/op 1 allocs/op BenchmarkJoin/6-4 71319 1694 ns/op 64 B/op 1 allocs/op BenchmarkJoin/7-4 60830 2003 ns/op 64 B/op 1 allocs/op BenchmarkTrimSpace/NoTrim-4 2627432 45.40 ns/op BenchmarkTrimSpace/ASCII-4 1544521 77.57 ns/op BenchmarkTrimSpace/SomeNonASCII-4 137786 833.8 ns/op BenchmarkTrimSpace/JustNonASCII-4 75735 1577 ns/op BenchmarkReplaceAll-4 121143 983.2 ns/op 16 B/op 1 allocs/op PASS ok strings 69.231s goos: linux goarch: amd64 pkg: sync cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCond1-4 50136 2214 ns/op BenchmarkCond2-4 25957 4472 ns/op BenchmarkCond4-4 17214 7329 ns/op BenchmarkCond8-4 8212 13524 ns/op BenchmarkCond16-4 5108 29798 ns/op BenchmarkCond32-4 1836 77423 ns/op BenchmarkLoadMostlyHits/*sync_test.DeepCopyMap-4 411664 276.1 ns/op BenchmarkLoadMostlyHits/*sync_test.RWMutexMap-4 267782 424.0 ns/op BenchmarkLoadMostlyHits/*sync.Map-4 519898 219.2 ns/op BenchmarkLoadMostlyMisses/*sync_test.DeepCopyMap-4 386395 286.2 ns/op BenchmarkLoadMostlyMisses/*sync_test.RWMutexMap-4 303620 449.0 ns/op BenchmarkLoadMostlyMisses/*sync.Map-4 537596 229.3 ns/op BenchmarkLoadOrStoreBalanced/*sync_test.RWMutexMap-4 74217 1883 ns/op BenchmarkLoadOrStoreBalanced/*sync.Map-4 69766 2225 ns/op BenchmarkLoadOrStoreUnique/*sync_test.RWMutexMap-4 53410 3145 ns/op BenchmarkLoadOrStoreUnique/*sync.Map-4 41265 3303 ns/op BenchmarkLoadOrStoreCollision/*sync_test.DeepCopyMap-4 477241 274.4 ns/op BenchmarkLoadOrStoreCollision/*sync_test.RWMutexMap-4 160708 783.3 ns/op BenchmarkLoadOrStoreCollision/*sync.Map-4 431007 256.2 ns/op BenchmarkLoadAndDeleteBalanced/*sync_test.RWMutexMap-4 133368 927.6 ns/op BenchmarkLoadAndDeleteBalanced/*sync.Map-4 525862 239.8 ns/op BenchmarkLoadAndDeleteUnique/*sync_test.RWMutexMap-4 142918 777.0 ns/op BenchmarkLoadAndDeleteUnique/*sync.Map-4 1946277 75.35 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.DeepCopyMap-4 38816 2752 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.RWMutexMap-4 106724 1248 ns/op BenchmarkLoadAndDeleteCollision/*sync.Map-4 232681 476.8 ns/op BenchmarkRange/*sync_test.DeepCopyMap-4 7060 18448 ns/op BenchmarkRange/*sync_test.RWMutexMap-4 261 416658 ns/op BenchmarkRange/*sync.Map-4 1244 91646 ns/op BenchmarkAdversarialAlloc/*sync_test.DeepCopyMap-4 89026 1595 ns/op BenchmarkAdversarialAlloc/*sync_test.RWMutexMap-4 163231 616.3 ns/op BenchmarkAdversarialAlloc/*sync.Map-4 58063 2066 ns/op BenchmarkAdversarialDelete/*sync_test.DeepCopyMap-4 94423 1256 ns/op BenchmarkAdversarialDelete/*sync_test.RWMutexMap-4 210116 544.9 ns/op BenchmarkAdversarialDelete/*sync.Map-4 144211 1070 ns/op BenchmarkDeleteCollision/*sync_test.DeepCopyMap-4 70174 1899 ns/op BenchmarkDeleteCollision/*sync_test.RWMutexMap-4 174091 773.8 ns/op BenchmarkDeleteCollision/*sync.Map-4 515925 228.6 ns/op BenchmarkSwapCollision/*sync_test.DeepCopyMap-4 48331 2838 ns/op BenchmarkSwapCollision/*sync_test.RWMutexMap-4 122686 981.4 ns/op BenchmarkSwapCollision/*sync.Map-4 68359 1950 ns/op BenchmarkSwapMostlyHits/*sync_test.DeepCopyMap-4 249 498988 ns/op BenchmarkSwapMostlyHits/*sync_test.RWMutexMap-4 93314 1314 ns/op BenchmarkSwapMostlyHits/*sync.Map-4 314026 358.1 ns/op BenchmarkSwapMostlyMisses/*sync_test.DeepCopyMap-4 21802 6487 ns/op BenchmarkSwapMostlyMisses/*sync_test.RWMutexMap-4 50030 2233 ns/op BenchmarkSwapMostlyMisses/*sync.Map-4 18326 6307 ns/op BenchmarkCompareAndSwapCollision/*sync_test.DeepCopyMap-4 314226 460.7 ns/op BenchmarkCompareAndSwapCollision/*sync_test.RWMutexMap-4 97303 1291 ns/op BenchmarkCompareAndSwapCollision/*sync.Map-4 234028 802.2 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.DeepCopyMap-4 1612585 63.34 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.RWMutexMap-4 159234 794.9 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync.Map-4 1800352 62.78 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.DeepCopyMap-4 421300 246.4 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.RWMutexMap-4 140136 845.4 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync.Map-4 481581 250.8 ns/op BenchmarkCompareAndSwapMostlyHits/*sync_test.RWMutexMap-4 85034 1475 ns/op BenchmarkCompareAndSwapMostlyHits/*sync.Map-4 303559 393.5 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.DeepCopyMap-4 378405 307.8 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.RWMutexMap-4 104419 1192 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync.Map-4 470656 257.1 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.DeepCopyMap-4 206799 768.5 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.RWMutexMap-4 101896 1245 ns/op BenchmarkCompareAndDeleteCollision/*sync.Map-4 150459 733.2 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync_test.RWMutexMap-4 53062 2334 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync.Map-4 163068 689.9 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.DeepCopyMap-4 401424 300.0 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.RWMutexMap-4 108006 1173 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync.Map-4 513948 218.7 ns/op BenchmarkUncontendedSemaphore-4 3366044 35.46 ns/op BenchmarkContendedSemaphore-4 3030108 38.94 ns/op BenchmarkMutexUncontended-4 708571 161.6 ns/op BenchmarkMutex-4 115983 931.7 ns/op BenchmarkMutexSlack-4 134067 939.1 ns/op BenchmarkMutexWork-4 135568 1020 ns/op BenchmarkMutexWorkSlack-4 107100 1040 ns/op BenchmarkMutexNoSpin-4 42192 2665 ns/op BenchmarkMutexSpin-4 55438 1896 ns/op BenchmarkOnce-4 863001 244.1 ns/op BenchmarkOnceFunc/v=Once-4 1000000 107.9 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Global-4 871650 133.5 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Local-4 907639 128.4 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Once-4 964622 118.2 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Global-4 834261 144.1 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Local-4 781174 144.3 ns/op 0 B/op 0 allocs/op BenchmarkSemaUncontended-4 5699810 18.26 ns/op BenchmarkSemaSyntNonblock-4 1000000 105.6 ns/op BenchmarkSemaSyntBlock-4 1000000 100.9 ns/op BenchmarkSemaWorkNonblock-4 773875 138.2 ns/op BenchmarkSemaWorkBlock-4 808639 156.8 ns/op BenchmarkRWMutexUncontended-4 388209 289.6 ns/op BenchmarkRWMutexWrite100-4 261355 459.7 ns/op BenchmarkRWMutexWrite10-4 247023 531.6 ns/op BenchmarkRWMutexWorkWrite100-4 205596 546.0 ns/op BenchmarkRWMutexWorkWrite10-4 181072 705.2 ns/op BenchmarkWaitGroupUncontended-4 761870 166.7 ns/op BenchmarkWaitGroupAddDone-4 325456 327.4 ns/op BenchmarkWaitGroupAddDoneWork-4 315164 415.8 ns/op BenchmarkWaitGroupWait-4 3919867 26.85 ns/op BenchmarkWaitGroupWaitWork-4 3042273 39.93 ns/op BenchmarkWaitGroupActuallyWait-4 38989 3122 ns/op 32 B/op 2 allocs/op PASS ok sync 20.109s goos: linux goarch: amd64 pkg: sync/atomic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkValueRead-4 458806 254.9 ns/op PASS ok sync/atomic 1.141s PASS ok syscall 1.018s goos: linux goarch: amd64 pkg: testing cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkTBHelper-4 91428 1268 ns/op 0 B/op 0 allocs/op PASS ok testing 1.152s goos: linux goarch: amd64 pkg: text/tabwriter cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkTable/1x10/new-4 7192 14578 ns/op 1520 B/op 21 allocs/op BenchmarkTable/1x10/reuse-4 11446 10526 ns/op 0 B/op 0 allocs/op BenchmarkTable/1x1000/new-4 90 1253567 ns/op 129392 B/op 1025 allocs/op BenchmarkTable/1x1000/reuse-4 121 994200 ns/op 1069 B/op 8 allocs/op BenchmarkTable/1x100000/new-4 1 192614981 ns/op 19393016 B/op 100058 allocs/op BenchmarkTable/1x100000/reuse-4 1 187047407 ns/op 19393008 B/op 100057 allocs/op BenchmarkTable/10x10/new-4 1540 69027 ns/op 5056 B/op 31 allocs/op BenchmarkTable/10x10/reuse-4 1947 56825 ns/op 2 B/op 0 allocs/op BenchmarkTable/10x1000/new-4 18 6293153 ns/op 413568 B/op 1039 allocs/op BenchmarkTable/10x1000/reuse-4 21 5532458 ns/op 19693 B/op 49 allocs/op BenchmarkTable/10x100000/new-4 1 773531685 ns/op 48120896 B/op 100075 allocs/op BenchmarkTable/10x100000/reuse-4 1 778823752 ns/op 48120800 B/op 100074 allocs/op BenchmarkTable/100x10/new-4 202 580747 ns/op 39296 B/op 41 allocs/op BenchmarkTable/100x10/reuse-4 238 503711 ns/op 165 B/op 0 allocs/op BenchmarkTable/100x1000/new-4 2 63851311 ns/op 3288960 B/op 1053 allocs/op BenchmarkTable/100x1000/reuse-4 2 61119093 ns/op 1644480 B/op 526 allocs/op BenchmarkTable/100x100000/new-4 1 7829839244 ns/op 335149952 B/op 100089 allocs/op BenchmarkTable/100x100000/reuse-4 1 7660769931 ns/op 335149952 B/op 100089 allocs/op BenchmarkPyramid/10-4 2642 46541 ns/op 4872 B/op 35 allocs/op BenchmarkPyramid/100-4 36 3299915 ns/op 409130 B/op 230 allocs/op BenchmarkPyramid/1000-4 1 347856836 ns/op 35625352 B/op 2056 allocs/op BenchmarkRagged/10-4 2451 51111 ns/op 4512 B/op 34 allocs/op BenchmarkRagged/100-4 247 464238 ns/op 41008 B/op 188 allocs/op BenchmarkRagged/1000-4 24 4538689 ns/op 427424 B/op 1661 allocs/op BenchmarkCode-4 7392 16179 ns/op 624 B/op 13 allocs/op PASS ok text/tabwriter 21.781s goos: linux goarch: amd64 pkg: text/template/parse cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkParseLarge-4 2 80325744 ns/op BenchmarkVariableString-4 95566 1204 ns/op 80 B/op 3 allocs/op BenchmarkListString-4 2013 61894 ns/op 2514 B/op 39 allocs/op PASS ok text/template/parse 1.535s goos: linux goarch: amd64 pkg: time cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAfterFunc-4 34 3232300 ns/op BenchmarkAfter-4 120 1187851 ns/op BenchmarkStop-4 198 606454 ns/op BenchmarkSimultaneousAfterFunc-4 26 4468890 ns/op BenchmarkStartStop-4 199 623113 ns/op BenchmarkReset-4 2538 53373 ns/op BenchmarkSleep-4 32 3876287 ns/op BenchmarkParallelTimerLatency-4 50 279286 avg-late-ns 5729071 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=1-4 37 368859 avg-late-ns 925547 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=2-4 33 392969 avg-late-ns 1419232 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=3-4 34 391800 avg-late-ns 1328614 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=4-4 33 385785 avg-late-ns 2540338 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=5-4 31 307380 avg-late-ns 1592011 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=6-4 27 329678 avg-late-ns 1775806 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=7-4 28 214921 avg-late-ns 1393103 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=8-4 27 175876 avg-late-ns 1656140 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=9-4 26 232761 avg-late-ns 1544952 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=10-4 26 1082259 avg-late-ns 5034662 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=2ms/tickers-per-P=1-4 34 321289 avg-late-ns 1064333 max-late-ns BenchmarkTicker-4 337 340769 ns/op BenchmarkTickerReset-4 3807 32742 ns/op BenchmarkTickerResetNaive-4 180 671912 ns/op BenchmarkNow-4 1000000 104.0 ns/op BenchmarkNowUnixNano-4 1000000 102.5 ns/op BenchmarkNowUnixMilli-4 1000000 105.2 ns/op BenchmarkNowUnixMicro-4 1000000 104.1 ns/op BenchmarkFormat-4 57684 2054 ns/op BenchmarkFormatRFC3339-4 77686 1565 ns/op BenchmarkFormatRFC3339Nano-4 76909 1556 ns/op BenchmarkFormatNow-4 80541 1510 ns/op BenchmarkMarshalJSON-4 102297 1181 ns/op BenchmarkMarshalText-4 107966 1179 ns/op BenchmarkParse-4 138440 862.9 ns/op BenchmarkParseRFC3339UTC-4 323917 365.4 ns/op BenchmarkParseRFC3339UTCBytes-4 215233 553.1 ns/op BenchmarkParseRFC3339TZ-4 99072 1185 ns/op BenchmarkParseRFC3339TZBytes-4 75789 1562 ns/op BenchmarkParseDuration-4 488353 229.2 ns/op BenchmarkHour-4 815077 139.7 ns/op BenchmarkSecond-4 849154 139.7 ns/op BenchmarkYear-4 652462 185.6 ns/op BenchmarkDay-4 586731 204.5 ns/op BenchmarkISOWeek-4 613003 193.6 ns/op BenchmarkGoString-4 77065 1587 ns/op BenchmarkUnmarshalText-4 67938 1772 ns/op PASS ok time 12.321s goos: linux goarch: amd64 pkg: unicode/utf16 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecodeValidASCII-4 595740 186.4 ns/op BenchmarkDecodeValidJapaneseChars-4 718237 155.5 ns/op BenchmarkDecodeRune-4 1669087 72.15 ns/op BenchmarkEncodeValidASCII-4 512072 213.6 ns/op BenchmarkEncodeValidJapaneseChars-4 796978 145.9 ns/op BenchmarkAppendRuneValidASCII-4 1586788 75.39 ns/op BenchmarkAppendRuneValidJapaneseChars-4 2390910 49.66 ns/op BenchmarkEncodeRune-4 2777810 40.71 ns/op PASS ok unicode/utf16 2.212s goos: linux goarch: amd64 pkg: unicode/utf8 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRuneCountTenASCIIChars-4 829348 143.6 ns/op BenchmarkRuneCountTenJapaneseChars-4 166563 693.6 ns/op BenchmarkRuneCountInStringTenASCIIChars-4 3725542 32.93 ns/op BenchmarkRuneCountInStringTenJapaneseChars-4 402313 282.3 ns/op BenchmarkValidTenASCIIChars-4 819327 137.5 ns/op BenchmarkValid100KASCIIChars-4 91 1312627 ns/op BenchmarkValidTenJapaneseChars-4 151761 768.4 ns/op BenchmarkValidLongMostlyASCII-4 84 1413440 ns/op BenchmarkValidLongJapanese-4 46 2262697 ns/op BenchmarkValidStringTenASCIIChars-4 4425716 26.98 ns/op BenchmarkValidString100KASCIIChars-4 9207 12784 ns/op BenchmarkValidStringTenJapaneseChars-4 454860 264.0 ns/op BenchmarkValidStringLongMostlyASCII-4 1194 98641 ns/op BenchmarkValidStringLongJapanese-4 153 769158 ns/op BenchmarkEncodeASCIIRune-4 4333612 27.69 ns/op BenchmarkEncodeJapaneseRune-4 2439787 50.23 ns/op BenchmarkAppendASCIIRune-4 8607312 12.85 ns/op BenchmarkAppendJapaneseRune-4 2858013 42.53 ns/op BenchmarkDecodeASCIIRune-4 2806891 41.14 ns/op BenchmarkDecodeJapaneseRune-4 1923102 61.81 ns/op BenchmarkFullRune/ASCII-4 3380143 35.72 ns/op BenchmarkFullRune/Incomplete-4 1552480 78.01 ns/op BenchmarkFullRune/Japanese-4 3465273 34.71 ns/op PASS ok unicode/utf8 4.728s goos: linux goarch: amd64 pkg: cmd/api cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAll-4 1 73359340159 ns/op PASS ok cmd/api 74.543s goos: linux goarch: amd64 pkg: cmd/cgo/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCgoCall/add-int-4 348189 306.3 ns/op BenchmarkCgoCall/one-pointer-4 306879 366.1 ns/op BenchmarkCgoCall/eight-pointers-4 172598 693.8 ns/op BenchmarkCgoCall/eight-pointers-nil-4 312219 376.6 ns/op BenchmarkCgoCall/eight-pointers-array-4 14432 7428 ns/op BenchmarkCgoCall/eight-pointers-slice-4 30381 3830 ns/op BenchmarkGoString-4 1000000 117.5 ns/op BenchmarkCGoCallback-4 46623 2515 ns/op BenchmarkCGoInCThread-4 272806 417.0 ns/op PASS ok cmd/cgo/internal/test 2.238s goos: linux goarch: amd64 pkg: cmd/compile/internal/reflectdata cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEqArrayOfStrings5-4 1201899 99.34 ns/op BenchmarkEqArrayOfStrings64-4 147961 784.0 ns/op BenchmarkEqArrayOfStrings1024-4 9975 11325 ns/op BenchmarkEqArrayOfFloats5-4 1385006 83.69 ns/op BenchmarkEqArrayOfFloats64-4 147957 802.9 ns/op BenchmarkEqArrayOfFloats1024-4 8940 12960 ns/op BenchmarkEqArrayOfStructsEq-4 2808 42581 ns/op BenchmarkEqArrayOfStructsNotEq-4 5042 23484 ns/op BenchmarkEqStruct-4 17640520 6.826 ns/op PASS ok cmd/compile/internal/reflectdata 2.340s goos: linux goarch: amd64 pkg: cmd/compile/internal/ssa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPhioptPass-4 10000 61540 ns/op BenchmarkCopyElim1-4 523 196082 ns/op BenchmarkCopyElim10-4 549 217523 ns/op BenchmarkCopyElim100-4 300 375207 ns/op BenchmarkCopyElim1000-4 50 2187081 ns/op BenchmarkCopyElim10000-4 3 44242728 ns/op BenchmarkCopyElim100000-4 1 756386452 ns/op BenchmarkDeadCode/1-4 486 227055 ns/op BenchmarkDeadCode/10-4 433 246908 ns/op BenchmarkDeadCode/100-4 217 524539 ns/op BenchmarkDeadCode/1000-4 49 2811277 ns/op BenchmarkDeadCode/10000-4 3 39151225 ns/op BenchmarkDeadCode/100000-4 1 502413887 ns/op BenchmarkDeadCode/200000-4 1 1026703967 ns/op BenchmarkDominatorsLinear-4 9 12034200 ns/op 0.83 MB/s BenchmarkDominatorsFwdBack-4 7 17083326 ns/op 0.59 MB/s BenchmarkDominatorsManyPred-4 8 16427282 ns/op 0.61 MB/s BenchmarkDominatorsMaxPred-4 8 15654412 ns/op 0.64 MB/s BenchmarkDominatorsMaxPredVal-4 7 16021761 ns/op 0.62 MB/s BenchmarkFuse/1-4 507 242670 ns/op BenchmarkFuse/10-4 376 292048 ns/op BenchmarkFuse/100-4 135 874671 ns/op BenchmarkFuse/1000-4 16 6734340 ns/op BenchmarkFuse/10000-4 2 87660410 ns/op BenchmarkNilCheckDeep1-4 12213 10247 ns/op 0.10 MB/s 238 B/op 4 allocs/op BenchmarkNilCheckDeep10-4 4989 23056 ns/op 0.43 MB/s 240 B/op 4 allocs/op BenchmarkNilCheckDeep100-4 750 151931 ns/op 0.66 MB/s 646 B/op 4 allocs/op BenchmarkNilCheckDeep1000-4 70 1524202 ns/op 0.66 MB/s 5543 B/op 5 allocs/op BenchmarkNilCheckDeep10000-4 6 19563738 ns/op 0.51 MB/s 98672 B/op 6 allocs/op BenchmarkDSEPass-4 31 3800658 ns/op 57315 B/op 7 allocs/op BenchmarkDSEPassBlock-4 1 123608764 ns/op 4269776 B/op 108725 allocs/op BenchmarkCSEPass-4 7 15962210 ns/op 112803 B/op 9 allocs/op BenchmarkCSEPassBlock-4 1 158571825 ns/op 5679944 B/op 97574 allocs/op BenchmarkDeadcodePass-4 174 693520 ns/op 91492 B/op 3 allocs/op BenchmarkDeadcodePassBlock-4 1 140046952 ns/op 4070640 B/op 45105 allocs/op BenchmarkMultiPass-4 64 1770231 ns/op 240564 B/op 11 allocs/op BenchmarkMultiPassBlock-4 1 272923124 ns/op 11197952 B/op 149814 allocs/op BenchmarkCondRewrite/SoloJump-4 3151098 37.92 ns/op BenchmarkCondRewrite/CombJump-4 2805438 42.84 ns/op PASS ok cmd/compile/internal/ssa 17.081s goos: linux goarch: amd64 pkg: cmd/compile/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLoadAdd-4 10000 10680 ns/op BenchmarkExtShift-4 16431 7197 ns/op BenchmarkModify-4 9516 11895 ns/op BenchmarkMullImm-4 17653 6827 ns/op BenchmarkConstModify-4 9439 12005 ns/op BenchmarkBitSet-4 21063 5629 ns/op BenchmarkBitClear-4 20826 5669 ns/op BenchmarkBitToggle-4 21192 5673 ns/op BenchmarkBitSetConst-4 165831 670.0 ns/op BenchmarkBitClearConst-4 164812 714.6 ns/op BenchmarkBitToggleConst-4 166957 674.6 ns/op BenchmarkDivconstI64-4 10680678 11.32 ns/op BenchmarkModconstI64-4 8157056 12.37 ns/op BenchmarkDivisiblePow2constI64-4 10629520 11.27 ns/op BenchmarkDivisibleconstI64-4 10828548 11.05 ns/op BenchmarkDivisibleWDivconstI64-4 6826585 17.42 ns/op BenchmarkDivconstU64/3-4 10975029 11.00 ns/op BenchmarkDivconstU64/5-4 10200616 11.62 ns/op BenchmarkDivconstU64/37-4 10982199 11.02 ns/op BenchmarkDivconstU64/1234567-4 10502746 11.46 ns/op BenchmarkModconstU64-4 11326386 10.78 ns/op BenchmarkDivisibleconstU64-4 10745325 11.22 ns/op BenchmarkDivisibleWDivconstU64-4 6889441 17.45 ns/op BenchmarkDivconstI32-4 10315478 11.68 ns/op BenchmarkModconstI32-4 8865277 11.40 ns/op BenchmarkDivisiblePow2constI32-4 10818614 11.12 ns/op BenchmarkDivisibleconstI32-4 10860379 11.09 ns/op BenchmarkDivisibleWDivconstI32-4 6972948 17.24 ns/op BenchmarkDivconstU32-4 8907032 11.29 ns/op BenchmarkModconstU32-4 8410328 12.40 ns/op BenchmarkDivisibleconstU32-4 10755525 11.13 ns/op BenchmarkDivisibleWDivconstU32-4 7416249 16.22 ns/op BenchmarkDivconstI16-4 10608626 11.42 ns/op BenchmarkModconstI16-4 8469946 12.02 ns/op BenchmarkDivisiblePow2constI16-4 10792704 11.18 ns/op BenchmarkDivisibleconstI16-4 10854384 11.08 ns/op BenchmarkDivisibleWDivconstI16-4 6969205 17.31 ns/op BenchmarkDivconstU16-4 8728326 11.54 ns/op BenchmarkModconstU16-4 10793752 11.10 ns/op BenchmarkDivisibleconstU16-4 9316450 12.11 ns/op BenchmarkDivisibleWDivconstU16-4 7539938 15.85 ns/op BenchmarkDivconstI8-4 10712416 11.05 ns/op BenchmarkModconstI8-4 8658212 12.05 ns/op BenchmarkDivisiblePow2constI8-4 11092854 10.84 ns/op BenchmarkDivisibleconstI8-4 10781220 11.11 ns/op BenchmarkDivisibleWDivconstI8-4 7440092 16.20 ns/op BenchmarkDivconstU8-4 10799703 11.13 ns/op BenchmarkModconstU8-4 10871914 11.02 ns/op BenchmarkDivisibleconstU8-4 9246314 11.18 ns/op BenchmarkDivisibleWDivconstU8-4 7369964 16.02 ns/op BenchmarkMul2-4 165074 725.9 ns/op BenchmarkMulNeg2-4 163148 726.7 ns/op BenchmarkEfaceInteger-4 3703324 28.43 ns/op BenchmarkDiv64UnsignedSmall-4 6778143 15.58 ns/op BenchmarkDiv64Small-4 6187129 17.51 ns/op BenchmarkDiv64SmallNegDivisor-4 5760847 18.20 ns/op BenchmarkDiv64SmallNegDividend-4 6216404 17.42 ns/op BenchmarkDiv64SmallNegBoth-4 5910816 17.95 ns/op BenchmarkDiv64Unsigned-4 6816694 15.93 ns/op BenchmarkDiv64-4 6092643 18.69 ns/op BenchmarkDiv64NegDivisor-4 6125780 18.25 ns/op BenchmarkDiv64NegDividend-4 6043047 18.57 ns/op BenchmarkDiv64NegBoth-4 6008187 18.35 ns/op BenchmarkMod64UnsignedSmall-4 6925756 15.36 ns/op BenchmarkMod64Small-4 6205892 17.10 ns/op BenchmarkMod64SmallNegDivisor-4 5961828 18.34 ns/op BenchmarkMod64SmallNegDividend-4 6162453 17.31 ns/op BenchmarkMod64SmallNegBoth-4 5909408 17.51 ns/op BenchmarkMod64Unsigned-4 6874690 15.66 ns/op BenchmarkMod64-4 6111940 17.97 ns/op BenchmarkMod64NegDivisor-4 6047764 17.96 ns/op BenchmarkMod64NegDividend-4 5894044 18.45 ns/op BenchmarkMod64NegBoth-4 6033664 18.07 ns/op BenchmarkMulconstI32/3-4 22387966 5.332 ns/op BenchmarkMulconstI32/5-4 22460955 5.344 ns/op BenchmarkMulconstI32/12-4 20969229 5.734 ns/op BenchmarkMulconstI32/120-4 22496758 5.322 ns/op BenchmarkMulconstI32/-120-4 22607210 5.342 ns/op BenchmarkMulconstI32/65537-4 20898523 5.806 ns/op BenchmarkMulconstI32/65538-4 20892061 5.775 ns/op BenchmarkMulconstI64/3-4 22249336 5.314 ns/op BenchmarkMulconstI64/5-4 22287249 5.378 ns/op BenchmarkMulconstI64/12-4 20599257 5.732 ns/op BenchmarkMulconstI64/120-4 22394961 5.349 ns/op BenchmarkMulconstI64/-120-4 22557770 5.358 ns/op BenchmarkMulconstI64/65537-4 21000043 5.808 ns/op BenchmarkMulconstI64/65538-4 20811152 5.741 ns/op BenchmarkMulconstU32/3-4 22262716 5.366 ns/op BenchmarkMulconstU32/5-4 21114782 5.710 ns/op BenchmarkMulconstU32/12-4 20842462 5.706 ns/op BenchmarkMulconstU32/120-4 22624753 5.368 ns/op BenchmarkMulconstU32/65537-4 21056428 5.807 ns/op BenchmarkMulconstU32/65538-4 20927716 5.698 ns/op BenchmarkMulconstU64/3-4 22188591 5.377 ns/op BenchmarkMulconstU64/5-4 22465257 5.355 ns/op BenchmarkMulconstU64/12-4 20792941 5.796 ns/op BenchmarkMulconstU64/120-4 22401339 5.405 ns/op BenchmarkMulconstU64/65537-4 20988385 5.720 ns/op BenchmarkMulconstU64/65538-4 20822440 5.756 ns/op BenchmarkShiftArithmeticRight-4 20312421 5.790 ns/op BenchmarkSwitch8Predictable-4 13282334 8.975 ns/op BenchmarkSwitch8Unpredictable-4 5660319 21.23 ns/op BenchmarkSwitch32Predictable-4 8266438 14.13 ns/op BenchmarkSwitch32Unpredictable-4 5631447 21.23 ns/op BenchmarkSwitchStringPredictable-4 7628665 15.79 ns/op BenchmarkSwitchStringUnpredictable-4 4264748 28.00 ns/op PASS ok cmd/compile/internal/test 20.157s goos: linux goarch: amd64 pkg: cmd/compile/internal/types2 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLookupFieldOrMethod-4 110 991072 ns/op BenchmarkNamed/Underlying/nongeneric-4 819274 145.8 ns/op BenchmarkNamed/Underlying/generic-4 759315 144.9 ns/op BenchmarkNamed/Underlying/src_instance-4 812457 143.8 ns/op BenchmarkNamed/Underlying/user_instance-4 826053 142.0 ns/op BenchmarkCheck/http/funcbodies/info-4 1 612242340 ns/op 49965 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 388966668 ns/op 78639 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 183558066 ns/op 166597 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 153049553 ns/op 199794 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 464280480 ns/op 11164 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 2 96427016 ns/op 53750 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 3 38282686 ns/op 135324 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 3 35581721 ns/op 145592 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 153144877 ns/op 14163 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 3 43960157 ns/op 49336 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 5 24026912 ns/op 90280 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 5 22869030 ns/op 94820 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1328775604 ns/op 49151 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 676312736 ns/op 96567 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 186320741 ns/op 350405 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 144587075 ns/op 451435 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 481015815 ns/op 4162 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 76429929 ns/op 26186 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 3 43356454 ns/op 46151 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 3 44538254 ns/op 44929 lines/s PASS ok cmd/compile/internal/types2 18.223s goos: linux goarch: amd64 pkg: cmd/go cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExecGoEnv-4 111 1070566 ns/op 2368928 sys-ns/op 1482694 user-ns/op PASS ok cmd/go 1.219s goos: linux goarch: amd64 pkg: cmd/internal/notsha256 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 66776 1754 ns/op 4.56 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 77331 1533 ns/op 5.22 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 14179 8622 ns/op 118.76 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 14667 8314 ns/op 123.17 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 2179 54687 ns/op 149.80 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 2198 53643 ns/op 152.71 MB/s 0 B/op 0 allocs/op PASS ok cmd/internal/notsha256 1.963s All tests passed.