freebsd-amd64-race at 4406ed6d4ea90fe9489bd68c61d330a6d2378498 :: Running /tmp/workdir/go/src/make.bash with args ["/tmp/workdir/go/src/make.bash"] and env ["PATH=/bin:/sbin:/usr/bin:/usr/local/bin" "LANG=C.UTF-8" "HOME=/" "MM_CHARSET=UTF-8" "RC_PID=16" "BLOCKSIZE=K" "WORKDIR=/tmp/workdir" "GOROOT_BOOTSTRAP=/tmp/workdir/go1.4" "GO_BUILDER_NAME=freebsd-amd64-race" "GOBIN=" "TMPDIR=/tmp/workdir/tmp" "GOCACHE=/tmp/workdir/gocache" "GOPLSCACHE=/tmp/workdir/goplscache" "PWD=/tmp/workdir/go/src"] in dir /tmp/workdir/go/src Building Go cmd/dist using /tmp/workdir/go1.4. (go1.17.13 freebsd/amd64) Building Go toolchain1 using /tmp/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 freebsd/amd64. --- Installed Go for freebsd/amd64 in /tmp/workdir/go Installed commands in /tmp/workdir/go/bin *** You need to add /tmp/workdir/go/bin to your PATH. :: Running /tmp/workdir/go/bin/go with args ["/tmp/workdir/go/bin/go" "install" "-race" "std"] and env ["PATH=/bin:/sbin:/usr/bin:/usr/local/bin" "LANG=C.UTF-8" "HOME=/" "MM_CHARSET=UTF-8" "RC_PID=16" "BLOCKSIZE=K" "WORKDIR=/tmp/workdir" "GOROOT_BOOTSTRAP=/tmp/workdir/go1.4" "GO_BUILDER_NAME=freebsd-amd64-race" "GOBIN=" "TMPDIR=/tmp/workdir/tmp" "GOCACHE=/tmp/workdir/gocache" "GOPLSCACHE=/tmp/workdir/goplscache" "PWD=/tmp/workdir/go/bin"] in dir /tmp/workdir/go/bin ##### Test execution environment. # GOARCH: amd64 # CPU: Intel(R) Xeon(R) CPU @ 2.20GHz # GOOS: freebsd # OS Version: FreeBSD 13.0-STABLE FreeBSD 13.0-STABLE #0 stable/13-n248759-3684bb89d52: Thu Dec 30 02:37:49 UTC 2021 root@releng3.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 ##### Testing packages. ok archive/tar 2.248s ok archive/zip 2.968s ok bufio 1.329s ok bytes 3.698s ok cmp 1.082s ok compress/bzip2 1.503s ok compress/flate 6.477s ok compress/gzip 12.996s ok compress/lzw 2.152s ok compress/zlib 5.719s ok container/heap 1.026s ok container/list 1.031s ok container/ring 1.034s ok context 1.081s ok crypto 1.080s ok crypto/aes 1.131s ok crypto/cipher 1.080s ok crypto/des 1.080s ok crypto/dsa 1.027s ok crypto/ecdh 1.249s ok crypto/ecdsa 1.195s ok crypto/ed25519 1.443s ok crypto/elliptic 1.095s ok crypto/hmac 1.095s ok crypto/internal/alias 1.075s ok crypto/internal/bigmod 3.716s ok crypto/internal/boring 1.075s ok crypto/internal/boring/bcache 1.540s ok crypto/internal/edwards25519 37.256s ok crypto/internal/edwards25519/field 13.110s ok crypto/internal/nistec 1.840s ok crypto/internal/nistec/fiat 1.089s [no tests to run] ok crypto/md5 1.090s ok crypto/rand 1.289s ok crypto/rc4 1.447s ok crypto/rsa 2.690s ok crypto/sha1 1.084s ok crypto/sha256 1.087s ok crypto/sha512 1.087s ok crypto/subtle 1.435s ok crypto/tls 3.511s ok crypto/x509 2.368s ok database/sql 1.345s ok database/sql/driver 1.073s ok debug/buildinfo 1.074s ok debug/dwarf 1.109s ok debug/elf 2.259s ok debug/gosym 1.169s ok debug/macho 1.069s ok debug/pe 1.073s ok debug/plan9obj 1.072s ok embed 1.072s [no tests to run] ok embed/internal/embedtest 1.072s ok encoding/ascii85 1.071s ok encoding/asn1 1.095s ok encoding/base32 1.096s ok encoding/base64 1.090s ok encoding/binary 1.030s ok encoding/csv 1.060s ok encoding/gob 17.603s ok encoding/hex 1.033s ok encoding/json 2.231s ok encoding/pem 3.106s ok encoding/xml 1.258s ok errors 1.082s ok expvar 1.085s ok flag 3.252s ok fmt 1.605s ok go/ast 1.046s ok go/build 5.936s ok go/build/constraint 1.033s ok go/constant 1.033s ok go/doc 1.255s ok go/doc/comment 3.032s ok go/format 1.110s ok go/importer 1.216s ok go/internal/gccgoimporter 1.048s ok go/internal/gcimporter 2.242s ok go/internal/srcimporter 12.654s ok go/parser 2.026s ok go/printer 2.438s ok go/scanner 1.105s ok go/token 1.119s ok go/types 32.268s ok hash 1.092s ok hash/adler32 1.092s ok hash/crc32 1.115s ok hash/crc64 1.062s ok hash/fnv 1.049s ok hash/maphash 1.049s ok html 1.023s ok html/template 1.241s ok image 1.469s ok image/color 1.068s ok image/draw 1.609s ok image/gif 1.921s ok image/jpeg 2.294s ok image/png 3.955s ok index/suffixarray 2.100s ok internal/abi 1.079s ok internal/buildcfg 1.052s ok internal/coverage/cformat 1.052s ok internal/coverage/cmerge 1.085s ok internal/coverage/pods 1.082s ok internal/coverage/slicereader 1.061s ok internal/coverage/slicewriter 1.072s ok internal/coverage/test 1.071s ok internal/cpu 3.240s ok internal/dag 1.026s ok internal/diff 1.025s ok internal/fmtsort 1.056s ok internal/fuzz 1.083s ok internal/godebug 16.536s ok internal/godebugs 1.082s ok internal/intern 1.239s ok internal/itoa 1.028s ok internal/poll 1.416s ok internal/profile 1.034s ok internal/reflectlite 1.049s ok internal/safefilepath 1.049s ok internal/saferio 1.209s ok internal/singleflight 1.148s ok internal/testenv 1.201s ok internal/trace 1.250s ok internal/types/errors 1.445s ok internal/unsafeheader 1.089s ok internal/xcoff 1.054s ok internal/zstd 1.215s ok io 1.057s ok io/fs 1.304s ok io/ioutil 1.037s ok log 1.034s ok log/slog 1.065s ok log/slog/internal/benchmarks 1.065s ok log/slog/internal/buffer 1.065s ok log/syslog 2.296s ok maps 1.024s ok math 1.101s ok math/big 3.964s ok math/bits 1.050s ok math/cmplx 1.029s ok math/rand 3.990s ok mime 1.098s ok mime/multipart 5.500s ok mime/quotedprintable 1.096s ok net 8.959s ok net/http 9.864s ok net/http/cgi 12.942s ok net/http/cookiejar 1.060s ok net/http/fcgi 1.205s ok net/http/httptest 1.216s ok net/http/httptrace 1.083s ok net/http/httputil 1.695s ok net/http/internal 1.071s ok net/http/internal/ascii 1.069s ok net/http/pprof 6.371s ok net/internal/socktest 1.025s ok net/mail 1.066s ok net/netip 1.379s ok net/rpc 1.098s ok net/rpc/jsonrpc 1.098s ok net/smtp 1.098s ok net/textproto 1.069s ok net/url 1.046s ok os 6.662s ok os/exec 5.303s ok os/exec/internal/fdtest 1.085s ok os/signal 18.985s ok os/user 1.031s ok path 1.031s ok path/filepath 1.178s ok plugin 1.048s ok reflect 1.519s ok regexp 4.148s ok regexp/syntax 5.565s ok runtime 36.232s ok runtime/cgo 1.085s ok runtime/coverage 1.085s ok runtime/debug 2.219s ok runtime/internal/atomic 1.072s ok runtime/internal/math 1.072s ok runtime/internal/sys 1.072s ok runtime/metrics 1.031s ok runtime/pprof 18.533s ok runtime/race 10.939s ok runtime/trace 4.734s ok slices 1.752s ok sort 1.443s ok strconv 3.534s ok strings 2.870s ok sync 1.659s ok sync/atomic 3.137s ok syscall 8.730s ok testing 3.814s ok testing/fstest 1.082s ok testing/iotest 1.082s ok testing/quick 1.206s ok testing/slogtest 1.090s ok text/scanner 1.087s ok text/tabwriter 1.087s ok text/template 1.135s ok text/template/parse 1.039s ok time 3.288s ok unicode 1.089s ok unicode/utf16 1.049s ok unicode/utf8 1.049s ok cmd/addr2line 6.215s ok cmd/api 15.077s ok cmd/asm/internal/asm 4.632s ok cmd/asm/internal/lex 1.038s ok cmd/cgo/internal/swig 1.040s ok cmd/cgo/internal/test 1.767s ok cmd/cgo/internal/testcarchive 27.095s ok cmd/cgo/internal/testcshared 11.405s ok cmd/cgo/internal/testerrors 13.810s ok cmd/cgo/internal/testfortran 1.099s ok cmd/cgo/internal/testgodefs 1.591s ok cmd/cgo/internal/testlife 1.731s ok cmd/cgo/internal/testnocgo 1.021s ok cmd/cgo/internal/testplugin 39.773s ok cmd/cgo/internal/testsanitizers 22.515s ok cmd/cgo/internal/testshared 1.024s ok cmd/cgo/internal/testso 2.525s ok cmd/cgo/internal/teststdio 2.589s ok cmd/cgo/internal/testtls 1.021s ok cmd/compile/internal/abt 1.082s ok cmd/compile/internal/amd64 1.041s ok cmd/compile/internal/base 1.083s ok cmd/compile/internal/compare 1.083s ok cmd/compile/internal/dwarfgen 1.542s ok cmd/compile/internal/importer 1.956s ok cmd/compile/internal/ir 1.085s ok cmd/compile/internal/logopt 1.285s ok cmd/compile/internal/loopvar 1.030s ok cmd/compile/internal/noder 1.029s ok cmd/compile/internal/reflectdata 1.028s [no tests to run] ok cmd/compile/internal/ssa 9.811s ok cmd/compile/internal/syntax 1.180s ok cmd/compile/internal/test 15.322s ok cmd/compile/internal/typecheck 1.265s ok cmd/compile/internal/types 1.087s ok cmd/compile/internal/types2 9.197s ok cmd/covdata 1.089s ok cmd/cover 16.561s ok cmd/dist 1.052s ok cmd/distpack 1.026s ok cmd/doc 1.667s ok cmd/fix 2.378s ok cmd/go 258.094s ok cmd/go/internal/auth 1.090s ok cmd/go/internal/cache 1.221s ok cmd/go/internal/envcmd 1.147s ok cmd/go/internal/fsys 1.070s ok cmd/go/internal/generate 1.070s ok cmd/go/internal/get 1.058s ok cmd/go/internal/gover 1.058s ok cmd/go/internal/imports 1.058s ok cmd/go/internal/load 1.050s ok cmd/go/internal/lockedfile 2.528s ok cmd/go/internal/lockedfile/internal/filelock 2.096s ok cmd/go/internal/modconv 1.046s ok cmd/go/internal/modfetch 1.039s ok cmd/go/internal/modfetch/codehost 2.173s ok cmd/go/internal/modfetch/zip_sum_test 1.062s ok cmd/go/internal/modindex 1.586s ok cmd/go/internal/modload 1.094s ok cmd/go/internal/mvs 1.088s ok cmd/go/internal/par 1.218s ok cmd/go/internal/str 1.083s ok cmd/go/internal/test 1.080s ok cmd/go/internal/vcs 1.079s ok cmd/go/internal/vcweb 1.079s ok cmd/go/internal/vcweb/vcstest 3.050s ok cmd/go/internal/web 1.029s ok cmd/go/internal/work 1.243s ok cmd/gofmt 1.289s ok cmd/internal/archive 1.410s ok cmd/internal/buildid 1.628s ok cmd/internal/bootstrap_test 1.017s ok cmd/internal/cov 1.329s ok cmd/internal/dwarf 1.043s ok cmd/internal/edit 1.043s ok cmd/internal/goobj 1.086s ok cmd/internal/moddeps 1.870s ok cmd/internal/notsha256 1.086s ok cmd/internal/obj 1.577s ok cmd/internal/obj/ppc64 1.162s ok cmd/internal/obj/riscv 1.075s ok cmd/internal/obj/s390x 1.029s ok cmd/internal/obj/x86 3.948s ok cmd/internal/objabi 1.060s ok cmd/internal/pkgpath 5.331s ok cmd/internal/pkgpattern 1.089s ok cmd/internal/quoted 1.087s ok cmd/internal/src 1.027s ok cmd/internal/test2json 1.902s ok cmd/link 10.414s ok cmd/link/internal/benchmark 1.086s ok cmd/link/internal/ld 5.469s ok cmd/link/internal/loader 1.053s ok cmd/nm 9.715s ok cmd/objdump 5.642s ok cmd/pack 8.041s ok cmd/pprof 3.694s ok cmd/trace 1.100s ok cmd/vet 32.634s ##### Running benchmarks briefly. goos: freebsd goarch: amd64 pkg: archive/tar cpu: Intel(R) Xeon(R) CPU @ 2.20GHz Benchmark/Writer/USTAR-4 2937 37097 ns/op 1368 B/op 25 allocs/op Benchmark/Writer/GNU-4 2538 46520 ns/op 1849 B/op 36 allocs/op Benchmark/Writer/PAX-4 1630 70184 ns/op 2560 B/op 59 allocs/op Benchmark/Reader/USTAR-4 3897 28335 ns/op 5107 B/op 15 allocs/op Benchmark/Reader/GNU-4 5684 19350 ns/op 5002 B/op 14 allocs/op Benchmark/Reader/PAX-4 2073 55583 ns/op 8891 B/op 33 allocs/op PASS ok archive/tar 1.905s goos: freebsd goarch: amd64 pkg: archive/zip cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCompressedZipGarbage-4 1 308304821 ns/op 15040 B/op 66 allocs/op BenchmarkZip64Test-4 1 144826787 ns/op BenchmarkZip64TestSizes/4096-4 1738 64742 ns/op BenchmarkZip64TestSizes/1048576-4 176 643623 ns/op BenchmarkZip64TestSizes/67108864-4 1 140593971 ns/op PASS ok archive/zip 2.269s goos: freebsd goarch: amd64 pkg: bufio cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReaderCopyOptimal-4 221857 473.3 ns/op BenchmarkReaderCopyUnoptimal-4 145594 786.5 ns/op BenchmarkReaderCopyNoWriteTo-4 5836 24953 ns/op BenchmarkReaderWriteToOptimal-4 7951 13779 ns/op BenchmarkReaderReadString-4 137282 895.1 ns/op 144 B/op 1 allocs/op BenchmarkWriterCopyOptimal-4 221961 534.9 ns/op BenchmarkWriterCopyUnoptimal-4 219006 543.1 ns/op BenchmarkWriterCopyNoReadFrom-4 6626 23476 ns/op BenchmarkReaderEmpty-4 33117 3752 ns/op 4224 B/op 3 allocs/op BenchmarkWriterEmpty-4 28332 4077 ns/op 4096 B/op 1 allocs/op BenchmarkWriterFlush-4 546984 189.3 ns/op 0 B/op 0 allocs/op PASS ok bufio 2.580s goos: freebsd goarch: amd64 pkg: bytes cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadString-4 4886 29550 ns/op 1108.91 MB/s BenchmarkWriteByte-4 489 231379 ns/op 17.70 MB/s BenchmarkWriteRune-4 259 464516 ns/op 26.45 MB/s BenchmarkBufferNotEmptyWriteRead-4 36 3203544 ns/op BenchmarkBufferFullSmallReads-4 100 1075278 ns/op BenchmarkBufferWriteBlock/N4096-4 6826 16963 ns/op 14336 B/op 6 allocs/op BenchmarkBufferWriteBlock/N65536-4 418 279447 ns/op 260096 B/op 14 allocs/op BenchmarkBufferWriteBlock/N1048576-4 12 9239314 ns/op 4192256 B/op 22 allocs/op BenchmarkBufferAppendNoCopy-4 4 26644676 ns/op 629.66 MB/s 8388608 B/op 0 allocs/op BenchmarkIndexByte/10-4 4475970 27.02 ns/op 370.12 MB/s BenchmarkIndexByte/32-4 4304036 28.53 ns/op 1121.55 MB/s BenchmarkIndexByte/4K-4 949519 132.0 ns/op 31031.84 MB/s BenchmarkIndexBytePortable/10-4 949893 123.0 ns/op 81.31 MB/s BenchmarkIndexBytePortable/32-4 318043 363.9 ns/op 87.93 MB/s BenchmarkIndexBytePortable/4K-4 2793 42102 ns/op 97.29 MB/s BenchmarkIndexRune/10-4 1220613 97.40 ns/op 102.67 MB/s BenchmarkIndexRune/32-4 1000000 100.1 ns/op 319.53 MB/s BenchmarkIndexRune/4K-4 381088 301.4 ns/op 13589.24 MB/s BenchmarkIndexRuneASCII/10-4 4448628 27.42 ns/op 364.69 MB/s BenchmarkIndexRuneASCII/32-4 4105353 29.01 ns/op 1103.19 MB/s BenchmarkIndexRuneASCII/4K-4 959497 126.6 ns/op 32341.93 MB/s BenchmarkEqual/0-4 7023776 17.07 ns/op BenchmarkEqual/1-4 1333476 86.82 ns/op 11.52 MB/s BenchmarkEqual/6-4 1288548 83.78 ns/op 71.61 MB/s BenchmarkEqual/9-4 1402230 87.68 ns/op 102.65 MB/s BenchmarkEqual/15-4 1338733 89.64 ns/op 167.34 MB/s BenchmarkEqual/16-4 1445661 82.57 ns/op 193.77 MB/s BenchmarkEqual/20-4 1353536 88.39 ns/op 226.26 MB/s BenchmarkEqual/32-4 1360256 87.41 ns/op 366.10 MB/s BenchmarkEqual/4K-4 103098 1116 ns/op 3671.62 MB/s BenchmarkIndex/10-4 3274702 36.82 ns/op 271.59 MB/s BenchmarkIndex/32-4 3057914 38.85 ns/op 823.64 MB/s BenchmarkIndex/4K-4 18342 6539 ns/op 626.37 MB/s BenchmarkIndexEasy/10-4 3410034 35.98 ns/op 277.91 MB/s BenchmarkIndexEasy/32-4 3091738 40.71 ns/op 785.95 MB/s BenchmarkIndexEasy/4K-4 483410 237.7 ns/op 17232.16 MB/s BenchmarkCount/10-4 1527267 78.95 ns/op 126.66 MB/s BenchmarkCount/32-4 1527747 78.92 ns/op 405.50 MB/s BenchmarkCount/4K-4 18237 6613 ns/op 619.37 MB/s BenchmarkCountEasy/10-4 1541154 77.43 ns/op 129.15 MB/s BenchmarkCountEasy/32-4 1502920 79.05 ns/op 404.82 MB/s BenchmarkCountEasy/4K-4 413068 282.6 ns/op 14493.81 MB/s BenchmarkCountSingle/10-4 3504504 35.16 ns/op 284.40 MB/s BenchmarkCountSingle/32-4 3371030 35.98 ns/op 889.42 MB/s BenchmarkCountSingle/4K-4 803905 141.5 ns/op 28940.49 MB/s BenchmarkToUpper/#00-4 2938110 40.19 ns/op BenchmarkToUpper/ONLYUPPER-4 322262 364.3 ns/op BenchmarkToUpper/abc-4 527620 222.5 ns/op BenchmarkToUpper/AbC123-4 302584 379.9 ns/op BenchmarkToUpper/azAZ09_-4 274885 402.5 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 89799 1318 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 41967 2883 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 59386 1988 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 131838 899.4 ns/op BenchmarkToLower/#00-4 2951302 41.03 ns/op BenchmarkToLower/abc-4 459237 255.3 ns/op BenchmarkToLower/AbC123-4 313893 367.7 ns/op BenchmarkToLower/azAZ09_-4 293616 404.2 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 90346 1326 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 42506 2833 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 74018 1625 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 128570 910.2 ns/op BenchmarkFields/ASCII/16-4 154722 791.4 ns/op 20.22 MB/s 48 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 9402 11249 ns/op 22.76 MB/s 704 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 684 172480 ns/op 23.75 MB/s 9472 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 40 2956273 ns/op 22.17 MB/s 147456 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 3 47913319 ns/op 21.88 MB/s 2269184 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 89202 1320 ns/op 12.12 MB/s 96 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 6970 16052 ns/op 15.95 MB/s 704 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 406 295733 ns/op 13.85 MB/s 24832 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 21 5346297 ns/op 12.26 MB/s 512256 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 2 94100381 ns/op 11.14 MB/s 11202816 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 174118 687.3 ns/op 23.28 MB/s 48 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 12896 9159 ns/op 27.95 MB/s 704 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 736 165063 ns/op 24.81 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 37 3210145 ns/op 20.42 MB/s 512263 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 2 58586630 ns/op 17.90 MB/s 11211008 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 116397 1019 ns/op 15.70 MB/s 96 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 8995 11405 ns/op 22.45 MB/s 704 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 550 218751 ns/op 18.72 MB/s 24832 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 27 4110266 ns/op 15.94 MB/s 512256 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 2 73568290 ns/op 14.25 MB/s 11202864 B/op 24 allocs/op BenchmarkTrimSpace/NoTrim-4 2078356 55.29 ns/op BenchmarkTrimSpace/ASCII-4 1000000 108.0 ns/op BenchmarkTrimSpace/SomeNonASCII-4 117949 1002 ns/op BenchmarkTrimSpace/JustNonASCII-4 54624 2197 ns/op BenchmarkToValidUTF8/Valid-4 523003 229.0 ns/op BenchmarkToValidUTF8/InvalidASCII-4 343374 330.9 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 103900 1161 ns/op BenchmarkIndexHard1-4 813 143951 ns/op BenchmarkIndexHard2-4 591 199742 ns/op BenchmarkIndexHard3-4 151 788383 ns/op BenchmarkIndexHard4-4 183 657935 ns/op BenchmarkLastIndexHard1-4 6 19312779 ns/op BenchmarkLastIndexHard2-4 5 25108181 ns/op BenchmarkLastIndexHard3-4 4 26718885 ns/op BenchmarkCountHard1-4 840 143031 ns/op BenchmarkCountHard2-4 586 199579 ns/op BenchmarkCountHard3-4 151 793224 ns/op BenchmarkSplitEmptySeparator-4 1 119620405 ns/op BenchmarkSplitSingleByteSeparator-4 15 7279809 ns/op BenchmarkSplitMultiByteSeparator-4 13 8787886 ns/op BenchmarkSplitNSingleByteSeparator-4 195222 619.7 ns/op BenchmarkSplitNMultiByteSeparator-4 74598 1619 ns/op BenchmarkRepeat-4 185150 640.4 ns/op BenchmarkRepeatLarge/256/1-4 145462 839.6 ns/op 304.91 MB/s BenchmarkRepeatLarge/256/16-4 220476 562.5 ns/op 455.12 MB/s BenchmarkRepeatLarge/512/1-4 104348 1149 ns/op 445.51 MB/s BenchmarkRepeatLarge/512/16-4 145753 837.0 ns/op 611.72 MB/s BenchmarkRepeatLarge/1024/1-4 71704 1666 ns/op 614.65 MB/s BenchmarkRepeatLarge/1024/16-4 89274 1373 ns/op 745.99 MB/s BenchmarkRepeatLarge/2048/1-4 44835 2711 ns/op 755.35 MB/s BenchmarkRepeatLarge/2048/16-4 51886 2315 ns/op 884.48 MB/s BenchmarkRepeatLarge/4096/1-4 27170 4441 ns/op 922.32 MB/s BenchmarkRepeatLarge/4096/16-4 28676 4131 ns/op 991.48 MB/s BenchmarkRepeatLarge/8192/1-4 14020 8483 ns/op 965.64 MB/s BenchmarkRepeatLarge/8192/16-4 15500 7776 ns/op 1053.48 MB/s BenchmarkRepeatLarge/8192/4097-4 28146 4296 ns/op 953.62 MB/s BenchmarkRepeatLarge/16384/1-4 7593 15225 ns/op 1076.10 MB/s BenchmarkRepeatLarge/16384/16-4 8644 15108 ns/op 1084.44 MB/s BenchmarkRepeatLarge/16384/4097-4 9595 11347 ns/op 1083.23 MB/s BenchmarkRepeatLarge/32768/1-4 3919 29398 ns/op 1114.62 MB/s BenchmarkRepeatLarge/32768/16-4 4698 27916 ns/op 1173.82 MB/s BenchmarkRepeatLarge/32768/4097-4 5101 26064 ns/op 1100.33 MB/s BenchmarkRepeatLarge/65536/1-4 2162 56286 ns/op 1164.34 MB/s BenchmarkRepeatLarge/65536/16-4 2361 61391 ns/op 1067.52 MB/s BenchmarkRepeatLarge/65536/4097-4 1998 53108 ns/op 1157.17 MB/s BenchmarkRepeatLarge/131072/1-4 471 254660 ns/op 514.69 MB/s BenchmarkRepeatLarge/131072/16-4 468 285181 ns/op 459.61 MB/s BenchmarkRepeatLarge/131072/4097-4 488 311818 ns/op 407.31 MB/s BenchmarkRepeatLarge/262144/1-4 237 533747 ns/op 491.14 MB/s BenchmarkRepeatLarge/262144/16-4 235 519481 ns/op 504.63 MB/s BenchmarkRepeatLarge/262144/4097-4 238 488460 ns/op 528.42 MB/s BenchmarkRepeatLarge/524288/1-4 100 1007339 ns/op 520.47 MB/s BenchmarkRepeatLarge/524288/16-4 100 1020462 ns/op 513.78 MB/s BenchmarkRepeatLarge/524288/4097-4 100 1024357 ns/op 507.95 MB/s BenchmarkRepeatLarge/1048576/1-4 67 1993890 ns/op 525.89 MB/s BenchmarkRepeatLarge/1048576/16-4 64 2021478 ns/op 518.72 MB/s BenchmarkRepeatLarge/1048576/4097-4 64 1992553 ns/op 524.32 MB/s BenchmarkRepeatLarge/2097152/1-4 28 3980887 ns/op 526.81 MB/s BenchmarkRepeatLarge/2097152/16-4 31 3894736 ns/op 538.46 MB/s BenchmarkRepeatLarge/2097152/4097-4 28 3901973 ns/op 536.54 MB/s BenchmarkRepeatLarge/4194304/1-4 14 7913412 ns/op 530.02 MB/s BenchmarkRepeatLarge/4194304/16-4 14 7762831 ns/op 540.31 MB/s BenchmarkRepeatLarge/4194304/4097-4 15 7788681 ns/op 538.12 MB/s BenchmarkRepeatLarge/8388608/1-4 7 15310884 ns/op 547.89 MB/s BenchmarkRepeatLarge/8388608/16-4 7 15425438 ns/op 543.82 MB/s BenchmarkRepeatLarge/8388608/4097-4 7 15659033 ns/op 535.57 MB/s BenchmarkRepeatLarge/16777216/1-4 3 34660197 ns/op 484.05 MB/s BenchmarkRepeatLarge/16777216/16-4 4 31742881 ns/op 528.53 MB/s BenchmarkRepeatLarge/16777216/4097-4 4 30723235 ns/op 546.08 MB/s BenchmarkRepeatLarge/33554432/1-4 2 64814672 ns/op 517.70 MB/s BenchmarkRepeatLarge/33554432/16-4 2 61425484 ns/op 546.26 MB/s BenchmarkRepeatLarge/33554432/4097-4 2 59741600 ns/op 561.66 MB/s BenchmarkRepeatLarge/67108864/1-4 1 122615104 ns/op 547.31 MB/s BenchmarkRepeatLarge/67108864/16-4 1 121092921 ns/op 554.19 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 120469538 ns/op 557.06 MB/s BenchmarkRepeatLarge/134217728/1-4 1 272879014 ns/op 491.86 MB/s BenchmarkRepeatLarge/134217728/16-4 1 242938167 ns/op 552.48 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 239921543 ns/op 559.42 MB/s BenchmarkRepeatLarge/268435456/1-4 1 543962273 ns/op 493.48 MB/s BenchmarkRepeatLarge/268435456/16-4 1 486289353 ns/op 552.01 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 490055103 ns/op 547.77 MB/s BenchmarkRepeatLarge/536870912/1-4 1 1085189624 ns/op 494.73 MB/s BenchmarkRepeatLarge/536870912/16-4 1 975767739 ns/op 550.20 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 982442953 ns/op 546.47 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 2175265876 ns/op 493.61 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 1901824340 ns/op 564.59 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 1915475916 ns/op 560.56 MB/s BenchmarkBytesCompare/1-4 10104422 11.42 ns/op BenchmarkBytesCompare/2-4 10169396 11.08 ns/op BenchmarkBytesCompare/4-4 10076212 11.22 ns/op BenchmarkBytesCompare/8-4 10460419 11.02 ns/op BenchmarkBytesCompare/16-4 10810719 11.10 ns/op BenchmarkBytesCompare/32-4 9349426 12.44 ns/op BenchmarkBytesCompare/64-4 8984254 13.21 ns/op BenchmarkBytesCompare/128-4 7924693 14.96 ns/op BenchmarkBytesCompare/256-4 6252133 18.92 ns/op BenchmarkBytesCompare/512-4 4482957 25.92 ns/op BenchmarkBytesCompare/1024-4 2877500 42.44 ns/op BenchmarkBytesCompare/2048-4 1664382 71.17 ns/op BenchmarkIndexAnyASCII/1:1-4 2338431 49.72 ns/op BenchmarkIndexAnyASCII/1:2-4 2380905 50.39 ns/op BenchmarkIndexAnyASCII/1:4-4 2400692 49.73 ns/op BenchmarkIndexAnyASCII/1:8-4 2371872 50.40 ns/op BenchmarkIndexAnyASCII/1:16-4 2466604 48.53 ns/op BenchmarkIndexAnyASCII/1:32-4 2373276 49.85 ns/op BenchmarkIndexAnyASCII/1:64-4 2413549 49.12 ns/op BenchmarkIndexAnyASCII/16:1-4 2007274 58.84 ns/op BenchmarkIndexAnyASCII/16:2-4 416534 259.9 ns/op BenchmarkIndexAnyASCII/16:4-4 434886 263.5 ns/op BenchmarkIndexAnyASCII/16:8-4 376838 274.4 ns/op BenchmarkIndexAnyASCII/16:16-4 420014 283.2 ns/op BenchmarkIndexAnyASCII/16:32-4 387535 306.7 ns/op BenchmarkIndexAnyASCII/16:64-4 340926 352.4 ns/op BenchmarkIndexAnyASCII/256:1-4 1854098 63.77 ns/op BenchmarkIndexAnyASCII/256:2-4 39764 2994 ns/op BenchmarkIndexAnyASCII/256:4-4 40186 2999 ns/op BenchmarkIndexAnyASCII/256:8-4 39525 3366 ns/op BenchmarkIndexAnyASCII/256:16-4 36151 3039 ns/op BenchmarkIndexAnyASCII/256:32-4 39181 3054 ns/op BenchmarkIndexAnyASCII/256:64-4 38862 3113 ns/op BenchmarkIndexAnyUTF8/1:1-4 2408578 49.57 ns/op BenchmarkIndexAnyUTF8/1:2-4 2392132 53.75 ns/op BenchmarkIndexAnyUTF8/1:4-4 2300341 50.18 ns/op BenchmarkIndexAnyUTF8/1:8-4 2148987 52.06 ns/op BenchmarkIndexAnyUTF8/1:16-4 2435781 49.56 ns/op BenchmarkIndexAnyUTF8/1:32-4 2349824 50.42 ns/op BenchmarkIndexAnyUTF8/1:64-4 2429118 48.92 ns/op BenchmarkIndexAnyUTF8/16:1-4 145918 825.3 ns/op BenchmarkIndexAnyUTF8/16:2-4 303730 400.4 ns/op BenchmarkIndexAnyUTF8/16:4-4 299083 408.2 ns/op BenchmarkIndexAnyUTF8/16:8-4 309703 399.7 ns/op BenchmarkIndexAnyUTF8/16:16-4 310653 397.8 ns/op BenchmarkIndexAnyUTF8/16:32-4 295786 414.8 ns/op BenchmarkIndexAnyUTF8/16:64-4 288878 412.3 ns/op BenchmarkIndexAnyUTF8/256:1-4 9814 11863 ns/op BenchmarkIndexAnyUTF8/256:2-4 22180 5461 ns/op BenchmarkIndexAnyUTF8/256:4-4 21813 5443 ns/op BenchmarkIndexAnyUTF8/256:8-4 22208 5434 ns/op BenchmarkIndexAnyUTF8/256:16-4 21697 5481 ns/op BenchmarkIndexAnyUTF8/256:32-4 21069 5685 ns/op BenchmarkIndexAnyUTF8/256:64-4 21084 5694 ns/op BenchmarkLastIndexAnyASCII/1:1-4 2434149 49.50 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2445620 49.21 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2446266 49.10 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2450977 49.21 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2440820 48.78 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2388226 49.98 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2398826 50.17 ns/op BenchmarkLastIndexAnyASCII/16:1-4 362985 327.1 ns/op BenchmarkLastIndexAnyASCII/16:2-4 360703 327.1 ns/op BenchmarkLastIndexAnyASCII/16:4-4 354345 328.0 ns/op BenchmarkLastIndexAnyASCII/16:8-4 359770 340.0 ns/op BenchmarkLastIndexAnyASCII/16:16-4 342717 348.2 ns/op BenchmarkLastIndexAnyASCII/16:32-4 321422 371.8 ns/op BenchmarkLastIndexAnyASCII/16:64-4 272268 418.5 ns/op BenchmarkLastIndexAnyASCII/256:1-4 28887 4357 ns/op BenchmarkLastIndexAnyASCII/256:2-4 25112 4167 ns/op BenchmarkLastIndexAnyASCII/256:4-4 28874 4219 ns/op BenchmarkLastIndexAnyASCII/256:8-4 28718 4155 ns/op BenchmarkLastIndexAnyASCII/256:16-4 28345 4193 ns/op BenchmarkLastIndexAnyASCII/256:32-4 28676 4197 ns/op BenchmarkLastIndexAnyASCII/256:64-4 28452 4257 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2404698 49.31 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2405312 49.79 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2395948 50.21 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2368800 50.26 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2436504 49.18 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2413249 50.01 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2412043 49.55 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 244693 476.1 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 310861 384.6 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 308668 380.4 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 318394 378.7 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 299964 389.5 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 297986 409.7 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 297247 403.0 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 17833 6668 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 22422 5347 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 22293 5379 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 22400 5357 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 21908 5496 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 20546 5818 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 20952 5657 ns/op BenchmarkTrimASCII/1:1-4 2694002 44.90 ns/op BenchmarkTrimASCII/1:2-4 2090182 57.31 ns/op BenchmarkTrimASCII/1:4-4 1974048 60.75 ns/op BenchmarkTrimASCII/1:8-4 1651902 72.90 ns/op BenchmarkTrimASCII/1:16-4 1508518 79.22 ns/op BenchmarkTrimASCII/16:1-4 510373 230.4 ns/op BenchmarkTrimASCII/16:2-4 368919 317.5 ns/op BenchmarkTrimASCII/16:4-4 356406 324.8 ns/op BenchmarkTrimASCII/16:8-4 364446 331.3 ns/op BenchmarkTrimASCII/16:16-4 358797 340.7 ns/op BenchmarkTrimASCII/256:1-4 40423 2967 ns/op BenchmarkTrimASCII/256:2-4 28214 4192 ns/op BenchmarkTrimASCII/256:4-4 28582 4211 ns/op BenchmarkTrimASCII/256:8-4 28489 4241 ns/op BenchmarkTrimASCII/256:16-4 28554 4252 ns/op BenchmarkTrimASCII/4096:1-4 2511 47165 ns/op BenchmarkTrimASCII/4096:2-4 1808 65313 ns/op BenchmarkTrimASCII/4096:4-4 1820 65998 ns/op BenchmarkTrimASCII/4096:8-4 1824 65558 ns/op BenchmarkTrimASCII/4096:16-4 1797 65795 ns/op BenchmarkTrimByte-4 1613859 75.71 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 13201 8987 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 13311 8997 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 710 167533 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 1392 83485 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 2740 42424 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 5035 22783 ns/op BenchmarkCompareBytesEqual-4 10978724 10.90 ns/op BenchmarkCompareBytesToNil-4 12284175 9.771 ns/op BenchmarkCompareBytesEmpty-4 13603785 8.982 ns/op BenchmarkCompareBytesIdentical-4 13450190 8.969 ns/op BenchmarkCompareBytesSameLength-4 11644696 10.44 ns/op BenchmarkCompareBytesDifferentLength-4 12016903 10.00 ns/op BenchmarkCompareBytesBigUnaligned/offset=1-4 1381 83545 ns/op 12551.11 MB/s BenchmarkCompareBytesBigUnaligned/offset=2-4 1713 74262 ns/op 14120.01 MB/s BenchmarkCompareBytesBigUnaligned/offset=3-4 1376 85315 ns/op 12290.73 MB/s BenchmarkCompareBytesBigUnaligned/offset=4-4 1370 81015 ns/op 12943.12 MB/s BenchmarkCompareBytesBigUnaligned/offset=5-4 1472 83506 ns/op 12557.05 MB/s BenchmarkCompareBytesBigUnaligned/offset=6-4 1693 79573 ns/op 13177.71 MB/s BenchmarkCompareBytesBigUnaligned/offset=7-4 1381 85786 ns/op 12223.34 MB/s BenchmarkCompareBytesBig-4 1369 74415 ns/op 14091.12 MB/s BenchmarkCompareBytesBigIdentical-4 12654890 9.377 ns/op 111823632.85 MB/s PASS ok bytes 59.800s goos: freebsd goarch: amd64 pkg: compress/bzip2 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecodeDigits-4 2 76435614 ns/op 1.31 MB/s 3612268 B/op 51 allocs/op BenchmarkDecodeNewton-4 1 324726196 ns/op 1.75 MB/s 3638592 B/op 54 allocs/op BenchmarkDecodeRand-4 5 23578411 ns/op 0.69 MB/s 3643376 B/op 50 allocs/op PASS ok compress/bzip2 2.400s goos: freebsd goarch: amd64 pkg: compress/flate cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecode/Digits/Huffman/1e4-4 66 1636686 ns/op 6.11 MB/s 42901 B/op 5 allocs/op BenchmarkDecode/Digits/Huffman/1e5-4 7 15759990 ns/op 6.35 MB/s 42949 B/op 5 allocs/op BenchmarkDecode/Digits/Huffman/1e6-4 1 159286034 ns/op 6.28 MB/s 49264 B/op 9 allocs/op BenchmarkDecode/Digits/Speed/1e4-4 61 1743121 ns/op 5.74 MB/s 43040 B/op 8 allocs/op BenchmarkDecode/Digits/Speed/1e5-4 6 17262744 ns/op 5.79 MB/s 42272 B/op 11 allocs/op BenchmarkDecode/Digits/Speed/1e6-4 1 176733207 ns/op 5.66 MB/s 53024 B/op 77 allocs/op BenchmarkDecode/Digits/Default/1e4-4 66 1692477 ns/op 5.91 MB/s 43190 B/op 7 allocs/op BenchmarkDecode/Digits/Default/1e5-4 7 16365536 ns/op 6.11 MB/s 44403 B/op 14 allocs/op BenchmarkDecode/Digits/Default/1e6-4 1 167363908 ns/op 5.98 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Digits/Compression/1e4-4 67 1687018 ns/op 5.93 MB/s 42783 B/op 7 allocs/op BenchmarkDecode/Digits/Compression/1e5-4 7 16424783 ns/op 6.09 MB/s 43229 B/op 13 allocs/op BenchmarkDecode/Digits/Compression/1e6-4 1 166327674 ns/op 6.01 MB/s 53384 B/op 83 allocs/op BenchmarkDecode/Newton/Huffman/1e4-4 61 1776819 ns/op 5.63 MB/s 42587 B/op 14 allocs/op BenchmarkDecode/Newton/Huffman/1e5-4 6 17471072 ns/op 5.72 MB/s 47833 B/op 24 allocs/op BenchmarkDecode/Newton/Huffman/1e6-4 1 174945153 ns/op 5.72 MB/s 88512 B/op 165 allocs/op BenchmarkDecode/Newton/Speed/1e4-4 76 1479855 ns/op 6.76 MB/s 43645 B/op 18 allocs/op BenchmarkDecode/Newton/Speed/1e5-4 9 12344368 ns/op 8.10 MB/s 46508 B/op 31 allocs/op BenchmarkDecode/Newton/Speed/1e6-4 1 128837376 ns/op 7.76 MB/s 89696 B/op 232 allocs/op BenchmarkDecode/Newton/Default/1e4-4 82 1324656 ns/op 7.55 MB/s 43156 B/op 15 allocs/op BenchmarkDecode/Newton/Default/1e5-4 12 9931468 ns/op 10.07 MB/s 46346 B/op 33 allocs/op BenchmarkDecode/Newton/Default/1e6-4 1 101425573 ns/op 9.86 MB/s 70320 B/op 162 allocs/op BenchmarkDecode/Newton/Compression/1e4-4 87 1320259 ns/op 7.57 MB/s 42847 B/op 15 allocs/op BenchmarkDecode/Newton/Compression/1e5-4 12 10014288 ns/op 9.99 MB/s 44977 B/op 32 allocs/op BenchmarkDecode/Newton/Compression/1e6-4 2 102011665 ns/op 9.80 MB/s 71860 B/op 153 allocs/op BenchmarkEncode/Digits/Huffman/1e4-4 100 1114063 ns/op 8.98 MB/s BenchmarkEncode/Digits/Huffman/1e5-4 10 10779717 ns/op 9.28 MB/s BenchmarkEncode/Digits/Huffman/1e6-4 1 107090912 ns/op 9.34 MB/s BenchmarkEncode/Digits/Speed/1e4-4 54 2220241 ns/op 4.50 MB/s BenchmarkEncode/Digits/Speed/1e5-4 5 20233305 ns/op 4.94 MB/s BenchmarkEncode/Digits/Speed/1e6-4 1 195758236 ns/op 5.11 MB/s BenchmarkEncode/Digits/Default/1e4-4 18 6515975 ns/op 1.53 MB/s BenchmarkEncode/Digits/Default/1e5-4 2 79898281 ns/op 1.25 MB/s BenchmarkEncode/Digits/Default/1e6-4 1 800823754 ns/op 1.25 MB/s BenchmarkEncode/Digits/Compression/1e4-4 18 6382103 ns/op 1.57 MB/s BenchmarkEncode/Digits/Compression/1e5-4 2 77245749 ns/op 1.29 MB/s BenchmarkEncode/Digits/Compression/1e6-4 1 796579618 ns/op 1.26 MB/s BenchmarkEncode/Newton/Huffman/1e4-4 81 1333284 ns/op 7.50 MB/s BenchmarkEncode/Newton/Huffman/1e5-4 9 11483077 ns/op 8.71 MB/s BenchmarkEncode/Newton/Huffman/1e6-4 1 113005043 ns/op 8.85 MB/s BenchmarkEncode/Newton/Speed/1e4-4 54 2044353 ns/op 4.89 MB/s BenchmarkEncode/Newton/Speed/1e5-4 7 16020884 ns/op 6.24 MB/s BenchmarkEncode/Newton/Speed/1e6-4 1 159228400 ns/op 6.28 MB/s BenchmarkEncode/Newton/Default/1e4-4 18 6227700 ns/op 1.61 MB/s BenchmarkEncode/Newton/Default/1e5-4 2 69521382 ns/op 1.44 MB/s BenchmarkEncode/Newton/Default/1e6-4 1 706992779 ns/op 1.41 MB/s BenchmarkEncode/Newton/Compression/1e4-4 18 6348429 ns/op 1.58 MB/s BenchmarkEncode/Newton/Compression/1e5-4 2 86831055 ns/op 1.15 MB/s BenchmarkEncode/Newton/Compression/1e6-4 1 890618637 ns/op 1.12 MB/s PASS ok compress/flate 17.763s goos: freebsd goarch: amd64 pkg: compress/lzw cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecoder/1e4-4 51 2200945 ns/op 4.54 MB/s BenchmarkDecoder/1e-Reuse4-4 52 2272604 ns/op 4.40 MB/s BenchmarkDecoder/1e5-4 5 21855719 ns/op 4.58 MB/s BenchmarkDecoder/1e-Reuse5-4 5 21663735 ns/op 4.62 MB/s BenchmarkDecoder/1e6-4 1 220956935 ns/op 4.53 MB/s BenchmarkDecoder/1e-Reuse6-4 1 219957921 ns/op 4.55 MB/s BenchmarkEncoder/1e4-4 58 1894397 ns/op 5.28 MB/s BenchmarkEncoder/1e-Reuse4-4 61 1727505 ns/op 5.79 MB/s BenchmarkEncoder/1e5-4 6 18313246 ns/op 5.46 MB/s BenchmarkEncoder/1e-Reuse5-4 6 17954055 ns/op 5.57 MB/s BenchmarkEncoder/1e6-4 1 184802019 ns/op 5.41 MB/s BenchmarkEncoder/1e-Reuse6-4 1 180175374 ns/op 5.55 MB/s PASS ok compress/lzw 3.549s goos: freebsd goarch: amd64 pkg: container/heap cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDup-4 27 3787724 ns/op PASS ok container/heap 1.139s goos: freebsd goarch: amd64 pkg: context cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCommonParentCancel-4 24015 4689 ns/op BenchmarkWithTimeout/concurrency=40-4 5282 22724 ns/op BenchmarkWithTimeout/concurrency=4000-4 4666 24846 ns/op BenchmarkWithTimeout/concurrency=400000-4 5860 18982 ns/op BenchmarkCancelTree/depth=1/Root=Background-4 401928 268.1 ns/op BenchmarkCancelTree/depth=1/Root=OpenCanceler-4 10000 10213 ns/op BenchmarkCancelTree/depth=1/Root=ClosedCanceler-4 14869 7918 ns/op BenchmarkCancelTree/depth=10/Root=Background-4 2536 47922 ns/op BenchmarkCancelTree/depth=10/Root=OpenCanceler-4 1594 74529 ns/op BenchmarkCancelTree/depth=10/Root=ClosedCanceler-4 2140 51504 ns/op BenchmarkCancelTree/depth=100/Root=Background-4 230 540662 ns/op BenchmarkCancelTree/depth=100/Root=OpenCanceler-4 162 731867 ns/op BenchmarkCancelTree/depth=100/Root=ClosedCanceler-4 237 487087 ns/op BenchmarkCancelTree/depth=1000/Root=Background-4 21 7014600 ns/op BenchmarkCancelTree/depth=1000/Root=OpenCanceler-4 12 9498324 ns/op BenchmarkCancelTree/depth=1000/Root=ClosedCanceler-4 24 4774282 ns/op BenchmarkCheckCanceled/Err-4 258664 467.6 ns/op BenchmarkCheckCanceled/Done-4 395095 300.7 ns/op BenchmarkContextCancelDone-4 449322 252.0 ns/op BenchmarkDeepValueNewGoRoutine/depth=10-4 13382 9181 ns/op BenchmarkDeepValueNewGoRoutine/depth=20-4 12135 9937 ns/op BenchmarkDeepValueNewGoRoutine/depth=30-4 10000 10710 ns/op BenchmarkDeepValueNewGoRoutine/depth=50-4 10000 11955 ns/op BenchmarkDeepValueNewGoRoutine/depth=100-4 8480 14342 ns/op BenchmarkDeepValueSameGoRoutine/depth=10-4 558420 210.0 ns/op BenchmarkDeepValueSameGoRoutine/depth=20-4 324028 363.5 ns/op BenchmarkDeepValueSameGoRoutine/depth=30-4 231982 519.5 ns/op BenchmarkDeepValueSameGoRoutine/depth=50-4 146150 820.7 ns/op BenchmarkDeepValueSameGoRoutine/depth=100-4 75152 1587 ns/op PASS ok context 12.180s goos: freebsd goarch: amd64 pkg: crypto/aes cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncrypt-4 1732087 68.12 ns/op 234.87 MB/s BenchmarkDecrypt-4 1719168 70.23 ns/op 227.81 MB/s BenchmarkExpand-4 1000000 116.8 ns/op PASS ok crypto/aes 1.568s goos: freebsd goarch: amd64 pkg: crypto/cipher cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAESGCM/Open-128-64-4 197055 619.5 ns/op 103.31 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-64-4 366770 315.6 ns/op 202.77 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-64-4 199419 653.8 ns/op 97.89 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-64-4 380592 348.3 ns/op 183.77 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-1350-4 126873 1331 ns/op 1014.45 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-1350-4 179100 1059 ns/op 1274.31 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-1350-4 114832 1430 ns/op 944.05 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-1350-4 148803 1217 ns/op 1109.66 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-128-8192-4 27908 5004 ns/op 1637.16 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-128-8192-4 46132 4664 ns/op 1756.53 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Open-256-8192-4 23466 5444 ns/op 1504.68 MB/s 0 B/op 0 allocs/op BenchmarkAESGCM/Seal-256-8192-4 25719 5127 ns/op 1597.76 MB/s 0 B/op 0 allocs/op BenchmarkAESCFBEncrypt1K-4 6640 16830 ns/op 60.55 MB/s BenchmarkAESCFBDecrypt1K-4 7292 16423 ns/op 62.05 MB/s BenchmarkAESCFBDecrypt8K-4 925 128759 ns/op 63.58 MB/s BenchmarkAESOFB1K-4 10000 11069 ns/op 92.06 MB/s BenchmarkAESCTR1K-4 13784 8786 ns/op 115.98 MB/s BenchmarkAESCTR8K-4 1704 68834 ns/op 118.94 MB/s BenchmarkAESCBCEncrypt1K-4 13936 8596 ns/op 119.13 MB/s BenchmarkAESCBCDecrypt1K-4 17397 6904 ns/op 148.33 MB/s PASS ok crypto/cipher 4.379s goos: freebsd goarch: amd64 pkg: crypto/des cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncrypt-4 84441 1411 ns/op 5.67 MB/s BenchmarkDecrypt-4 87907 1344 ns/op 5.95 MB/s BenchmarkTDESEncrypt-4 33987 3496 ns/op 2.29 MB/s BenchmarkTDESDecrypt-4 33870 3496 ns/op 2.29 MB/s PASS ok crypto/des 1.671s goos: freebsd goarch: amd64 pkg: crypto/ecdh cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkECDH/P256-4 945 122317 ns/op 760 B/op 12 allocs/op BenchmarkECDH/P384-4 15 7505974 ns/op 1087 B/op 21 allocs/op BenchmarkECDH/P521-4 6 20155799 ns/op 1533 B/op 21 allocs/op BenchmarkECDH/X25519-4 92 1274904 ns/op 376 B/op 9 allocs/op PASS ok crypto/ecdh 1.827s goos: freebsd goarch: amd64 pkg: crypto/ecdsa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSign/P256-4 1689 65942 ns/op 2511 B/op 33 allocs/op BenchmarkSign/P384-4 34 3431656 ns/op 2678 B/op 34 allocs/op BenchmarkSign/P521-4 14 8456801 ns/op 3060 B/op 35 allocs/op BenchmarkVerify/P256-4 931 126782 ns/op 432 B/op 8 allocs/op BenchmarkVerify/P384-4 13 8345845 ns/op 592 B/op 12 allocs/op BenchmarkVerify/P521-4 5 21960781 ns/op 912 B/op 12 allocs/op BenchmarkGenerateKey/P256-4 3942 28563 ns/op 895 B/op 14 allocs/op BenchmarkGenerateKey/P384-4 63 1857294 ns/op 1095 B/op 17 allocs/op BenchmarkGenerateKey/P521-4 24 5069872 ns/op 1415 B/op 17 allocs/op PASS ok crypto/ecdsa 2.636s goos: freebsd goarch: amd64 pkg: crypto/ed25519 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkKeyGeneration-4 324 353807 ns/op BenchmarkNewKeyFromSeed-4 327 357607 ns/op BenchmarkSigning-4 315 378851 ns/op BenchmarkVerification-4 213 555531 ns/op PASS ok crypto/ed25519 1.655s goos: freebsd goarch: amd64 pkg: crypto/elliptic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScalarBaseMult/P256-4 4893 24192 ns/op 368 B/op 6 allocs/op BenchmarkScalarBaseMult/P224-4 162 727102 ns/op 376 B/op 9 allocs/op BenchmarkScalarBaseMult/P384-4 61 1877950 ns/op 504 B/op 9 allocs/op BenchmarkScalarBaseMult/P521-4 22 4944054 ns/op 696 B/op 9 allocs/op BenchmarkScalarMult/P256-4 1350 86539 ns/op 448 B/op 7 allocs/op BenchmarkScalarMult/P224-4 61 1899254 ns/op 440 B/op 10 allocs/op BenchmarkScalarMult/P384-4 22 5276619 ns/op 616 B/op 10 allocs/op BenchmarkScalarMult/P521-4 7 14418271 ns/op 840 B/op 10 allocs/op BenchmarkMarshalUnmarshal/P256/Uncompressed-4 13244 8705 ns/op 544 B/op 8 allocs/op BenchmarkMarshalUnmarshal/P256/Compressed-4 5950 19533 ns/op 592 B/op 9 allocs/op BenchmarkMarshalUnmarshal/P224/Uncompressed-4 3728 28032 ns/op 560 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P224/Compressed-4 88 1260866 ns/op 592 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P384/Uncompressed-4 2514 45651 ns/op 784 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P384/Compressed-4 320 373053 ns/op 848 B/op 15 allocs/op BenchmarkMarshalUnmarshal/P521/Uncompressed-4 1533 73758 ns/op 1104 B/op 14 allocs/op BenchmarkMarshalUnmarshal/P521/Compressed-4 96 1198496 ns/op 1184 B/op 15 allocs/op PASS ok crypto/elliptic 3.339s goos: freebsd goarch: amd64 pkg: crypto/hmac cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHMACSHA256_1K-4 15006 7916 ns/op 129.35 MB/s BenchmarkHMACSHA256_32-4 25614 4608 ns/op 6.94 MB/s BenchmarkNewWriteSum-4 12295 9090 ns/op 3.52 MB/s PASS ok crypto/hmac 1.670s goos: freebsd goarch: amd64 pkg: crypto/internal/bigmod cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkModAdd-4 55569 2098 ns/op BenchmarkModSub-4 55622 2140 ns/op BenchmarkMontgomeryRepr-4 28051 4293 ns/op BenchmarkMontgomeryMul-4 27829 4277 ns/op BenchmarkModMul-4 13371 8987 ns/op BenchmarkExpBig-4 15 7505168 ns/op BenchmarkExp-4 6 17700008 ns/op PASS ok crypto/internal/bigmod 2.213s goos: freebsd goarch: amd64 pkg: crypto/internal/edwards25519 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncodingDecoding-4 3235 33809 ns/op BenchmarkScalarBaseMult-4 346 323367 ns/op BenchmarkScalarMult-4 162 749338 ns/op BenchmarkVarTimeDoubleScalarBaseMult-4 229 512577 ns/op PASS ok crypto/internal/edwards25519 1.715s goos: freebsd goarch: amd64 pkg: crypto/internal/edwards25519/field cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAdd-4 530355 201.0 ns/op BenchmarkMultiply-4 4369872 27.20 ns/op BenchmarkSquare-4 5291274 22.76 ns/op BenchmarkInvert-4 24802 4859 ns/op BenchmarkMult32-4 1490319 81.54 ns/op PASS ok crypto/internal/edwards25519/field 1.872s goos: freebsd goarch: amd64 pkg: crypto/internal/nistec cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScalarMult/P224-4 58 1757277 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P256-4 1609 74677 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P384-4 22 4972248 ns/op 0 B/op 0 allocs/op BenchmarkScalarMult/P521-4 8 14129496 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P224-4 186 636484 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P256-4 7572 16219 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P384-4 68 1658335 ns/op 0 B/op 0 allocs/op BenchmarkScalarBaseMult/P521-4 26 4220255 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec 2.153s goos: freebsd goarch: amd64 pkg: crypto/internal/nistec/fiat cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMul/P224-4 643246 176.7 ns/op 0 B/op 0 allocs/op BenchmarkMul/P384-4 314581 363.1 ns/op 0 B/op 0 allocs/op BenchmarkMul/P521-4 120086 982.9 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P224-4 675206 177.0 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P384-4 333538 357.3 ns/op 0 B/op 0 allocs/op BenchmarkSquare/P521-4 119332 1000 ns/op 0 B/op 0 allocs/op PASS ok crypto/internal/nistec/fiat 1.831s goos: freebsd goarch: amd64 pkg: crypto/md5 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes-4 118982 977.3 ns/op 8.19 MB/s BenchmarkHash64-4 129034 908.7 ns/op 70.43 MB/s BenchmarkHash128-4 117488 1021 ns/op 125.37 MB/s BenchmarkHash256-4 95272 1248 ns/op 205.14 MB/s BenchmarkHash512-4 68802 1731 ns/op 295.82 MB/s BenchmarkHash1K-4 44598 2691 ns/op 380.57 MB/s BenchmarkHash8K-4 7408 16086 ns/op 509.27 MB/s BenchmarkHash1M-4 61 1949610 ns/op 537.84 MB/s BenchmarkHash8M-4 7 15567292 ns/op 538.86 MB/s BenchmarkHash8BytesUnaligned-4 118160 975.4 ns/op 8.20 MB/s BenchmarkHash1KUnaligned-4 44005 2788 ns/op 367.35 MB/s BenchmarkHash8KUnaligned-4 7436 16194 ns/op 505.87 MB/s PASS ok crypto/md5 2.860s goos: freebsd goarch: amd64 pkg: crypto/rand cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPrime-4 1 247846256 ns/op PASS ok crypto/rand 1.333s goos: freebsd goarch: amd64 pkg: crypto/rc4 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRC4_128-4 13612 8797 ns/op 14.55 MB/s BenchmarkRC4_1K-4 1622 70690 ns/op 14.49 MB/s BenchmarkRC4_8K-4 211 560325 ns/op 14.45 MB/s PASS ok crypto/rc4 1.595s goos: freebsd goarch: amd64 pkg: crypto/rsa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecryptPKCS1v15/2048-4 10 10539983 ns/op BenchmarkDecryptPKCS1v15/3072-4 5 23576281 ns/op BenchmarkDecryptPKCS1v15/4096-4 3 41889069 ns/op BenchmarkEncryptPKCS1v15/2048-4 38 2757312 ns/op BenchmarkDecryptOAEP/2048-4 10 10677141 ns/op BenchmarkEncryptOAEP/2048-4 38 2820164 ns/op BenchmarkSignPKCS1v15/2048-4 10 10503737 ns/op BenchmarkVerifyPKCS1v15/2048-4 42 2725025 ns/op BenchmarkSignPSS/2048-4 10 10620267 ns/op BenchmarkVerifyPSS/2048-4 40 2771047 ns/op PASS ok crypto/rsa 2.641s goos: freebsd goarch: amd64 pkg: crypto/sha1 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 105938 1106 ns/op 7.24 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum-4 124232 928.5 ns/op 8.62 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/New-4 76086 1566 ns/op 204.39 MB/s 0 B/op 0 allocs/op BenchmarkHash320Bytes/Sum-4 87570 1363 ns/op 234.78 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 49374 2433 ns/op 420.82 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum-4 53566 2227 ns/op 459.85 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 9921 11711 ns/op 699.54 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum-4 10000 11532 ns/op 710.38 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha1 2.144s goos: freebsd goarch: amd64 pkg: crypto/sha256 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 81594 1441 ns/op 5.55 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum224-4 95571 1229 ns/op 6.51 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 91810 1301 ns/op 6.15 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 25846 4611 ns/op 222.09 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum224-4 27200 4462 ns/op 229.51 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 26701 4510 ns/op 227.07 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 4178 28202 ns/op 290.47 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum224-4 4220 27899 ns/op 293.63 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 4166 27941 ns/op 293.18 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha256 2.355s goos: freebsd goarch: amd64 pkg: crypto/sha512 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 59004 2005 ns/op 3.99 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum384-4 72489 1628 ns/op 4.91 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum512-4 65086 1848 ns/op 4.33 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 28460 4205 ns/op 243.50 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum384-4 31912 3797 ns/op 269.70 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum512-4 29851 4007 ns/op 255.58 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 5930 19991 ns/op 409.79 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum384-4 6026 19584 ns/op 418.30 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum512-4 5995 19928 ns/op 411.07 MB/s 0 B/op 0 allocs/op PASS ok crypto/sha512 2.352s goos: freebsd goarch: amd64 pkg: crypto/subtle cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkConstantTimeByteEq-4 17489119 6.431 ns/op BenchmarkConstantTimeEq-4 17798845 6.418 ns/op BenchmarkConstantTimeLessOrEq-4 17459509 6.393 ns/op BenchmarkXORBytes/8Bytes-4 4432845 25.88 ns/op 309.07 MB/s BenchmarkXORBytes/128Bytes-4 3933507 30.64 ns/op 4177.03 MB/s BenchmarkXORBytes/2048Bytes-4 931861 133.0 ns/op 15396.77 MB/s BenchmarkXORBytes/32768Bytes-4 60619 2027 ns/op 16166.76 MB/s PASS ok crypto/subtle 2.024s goos: freebsd goarch: amd64 pkg: crypto/tls cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCertCache/0-4 211 557623 ns/op BenchmarkCertCache/1-4 213 571179 ns/op BenchmarkCertCache/2-4 202 565965 ns/op BenchmarkCertCache/3-4 214 568987 ns/op BenchmarkHandshakeServer/RSA-4 16 7203870 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv13-4 15 7858500 ns/op BenchmarkHandshakeServer/ECDHE-P256-RSA/TLSv12-4 15 7525325 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv13-4 87 1267089 ns/op BenchmarkHandshakeServer/ECDHE-P256-ECDSA-P256/TLSv12-4 139 816962 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv13-4 46 2364984 ns/op BenchmarkHandshakeServer/ECDHE-X25519-ECDSA-P256/TLSv12-4 55 2097230 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv13-4 4 32277275 ns/op BenchmarkHandshakeServer/ECDHE-P521-ECDSA-P521/TLSv12-4 4 32234922 ns/op BenchmarkThroughput/MaxPacket/1MB/TLSv12-4 4 25374361 ns/op 41.32 MB/s BenchmarkThroughput/MaxPacket/1MB/TLSv13-4 4 32882906 ns/op 31.89 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv12-4 3 39227308 ns/op 53.46 MB/s BenchmarkThroughput/MaxPacket/2MB/TLSv13-4 2 52728602 ns/op 39.77 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv12-4 2 64602918 ns/op 64.92 MB/s BenchmarkThroughput/MaxPacket/4MB/TLSv13-4 2 91572726 ns/op 45.80 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv12-4 1 120589401 ns/op 69.56 MB/s BenchmarkThroughput/MaxPacket/8MB/TLSv13-4 1 171903575 ns/op 48.80 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv12-4 1 234734382 ns/op 71.47 MB/s BenchmarkThroughput/MaxPacket/16MB/TLSv13-4 1 333209651 ns/op 50.35 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv12-4 1 448705868 ns/op 74.78 MB/s BenchmarkThroughput/MaxPacket/32MB/TLSv13-4 1 647436926 ns/op 51.83 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv12-4 1 911016942 ns/op 73.66 MB/s BenchmarkThroughput/MaxPacket/64MB/TLSv13-4 1 1286543135 ns/op 52.16 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv12-4 4 26600690 ns/op 39.42 MB/s BenchmarkThroughput/DynamicPacket/1MB/TLSv13-4 4 33004815 ns/op 31.77 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv12-4 3 39257519 ns/op 53.42 MB/s BenchmarkThroughput/DynamicPacket/2MB/TLSv13-4 2 52764251 ns/op 39.75 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv12-4 2 66694384 ns/op 62.89 MB/s BenchmarkThroughput/DynamicPacket/4MB/TLSv13-4 2 92653560 ns/op 45.27 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv12-4 1 119268482 ns/op 70.33 MB/s BenchmarkThroughput/DynamicPacket/8MB/TLSv13-4 1 169361012 ns/op 49.53 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv12-4 1 229120536 ns/op 73.22 MB/s BenchmarkThroughput/DynamicPacket/16MB/TLSv13-4 1 332999427 ns/op 50.38 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv12-4 1 442597336 ns/op 75.81 MB/s BenchmarkThroughput/DynamicPacket/32MB/TLSv13-4 1 650316480 ns/op 51.60 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv12-4 1 899196727 ns/op 74.63 MB/s BenchmarkThroughput/DynamicPacket/64MB/TLSv13-4 1 1282391911 ns/op 52.33 MB/s BenchmarkLatency/MaxPacket/200kbps/TLSv12-4 1 704982200 ns/op BenchmarkLatency/MaxPacket/200kbps/TLSv13-4 1 707962416 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv12-4 1 289080580 ns/op BenchmarkLatency/MaxPacket/500kbps/TLSv13-4 1 289636409 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv12-4 1 150919594 ns/op BenchmarkLatency/MaxPacket/1000kbps/TLSv13-4 1 150797691 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv12-4 2 81645332 ns/op BenchmarkLatency/MaxPacket/2000kbps/TLSv13-4 2 81332616 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv12-4 3 39752425 ns/op BenchmarkLatency/MaxPacket/5000kbps/TLSv13-4 3 39561399 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv12-4 1 144701393 ns/op BenchmarkLatency/DynamicPacket/200kbps/TLSv13-4 1 147720129 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv12-4 2 64835184 ns/op BenchmarkLatency/DynamicPacket/500kbps/TLSv13-4 2 65633598 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv12-4 3 38769189 ns/op BenchmarkLatency/DynamicPacket/1000kbps/TLSv13-4 3 38668841 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv12-4 4 25253759 ns/op BenchmarkLatency/DynamicPacket/2000kbps/TLSv13-4 4 25206712 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv12-4 6 17457802 ns/op BenchmarkLatency/DynamicPacket/5000kbps/TLSv13-4 6 17064442 ns/op PASS ok crypto/tls 19.963s goos: freebsd goarch: amd64 pkg: crypto/x509 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCreateCertificate/RSA_2048-4 8 13468296 ns/op BenchmarkCreateCertificate/ECDSA_P256-4 344 356766 ns/op BenchmarkParseCertificate/ecdsa_leaf-4 1034 108880 ns/op 12099 B/op 164 allocs/op BenchmarkParseCertificate/rsa_leaf-4 1023 119836 ns/op 13507 B/op 187 allocs/op PASS ok crypto/x509 1.828s goos: freebsd goarch: amd64 pkg: database/sql cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkConcurrentDBExec-4 36 2961767 ns/op 281182 B/op 1650 allocs/op BenchmarkConcurrentStmtQuery-4 33 3660116 ns/op 274030 B/op 2076 allocs/op BenchmarkConcurrentStmtExec-4 43 2699284 ns/op 220607 B/op 747 allocs/op BenchmarkConcurrentTxQuery-4 40 2873300 ns/op 279995 B/op 2172 allocs/op BenchmarkConcurrentTxExec-4 50 2289228 ns/op 87750 B/op 1554 allocs/op BenchmarkConcurrentTxStmtQuery-4 33 3150432 ns/op 106023 B/op 2113 allocs/op BenchmarkConcurrentTxStmtExec-4 96 1118249 ns/op 40084 B/op 381 allocs/op BenchmarkConcurrentRandom-4 44 2821885 ns/op 231652 B/op 1883 allocs/op BenchmarkManyConcurrentQueries-4 2174 52322 ns/op 4125 B/op 20 allocs/op BenchmarkGrabConn-4 208310 582.3 ns/op 0 B/op 0 allocs/op PASS ok database/sql 2.571s goos: freebsd goarch: amd64 pkg: debug/gosym cpu: Intel(R) Xeon(R) CPU @ 2.20GHz Benchmark115/NewLineTable-4 226068 516.7 ns/op 384 B/op 3 allocs/op Benchmark115/NewTable-4 93 1287822 ns/op 188269 B/op 14 allocs/op Benchmark115/LineToPC-4 81 1481899 ns/op 0 B/op 0 allocs/op Benchmark115/PCToLine-4 19062 6315 ns/op 0 B/op 0 allocs/op PASS ok debug/gosym 1.819s goos: freebsd goarch: amd64 pkg: encoding/asn1 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkObjectIdentifierString-4 60712 1936 ns/op BenchmarkMarshal-4 763 151769 ns/op 9528 B/op 363 allocs/op BenchmarkUnmarshal-4 2784 40521 ns/op 784 B/op 43 allocs/op PASS ok encoding/asn1 1.486s goos: freebsd goarch: amd64 pkg: encoding/base32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode-4 289 409963 ns/op 19.98 MB/s BenchmarkEncodeToString-4 253 438017 ns/op 18.70 MB/s BenchmarkDecode-4 158 749475 ns/op 17.49 MB/s BenchmarkDecodeString-4 154 765660 ns/op 17.13 MB/s PASS ok encoding/base32 1.769s goos: freebsd goarch: amd64 pkg: encoding/base64 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncodeToString-4 356 304673 ns/op 26.89 MB/s BenchmarkDecodeString/2-4 322269 346.2 ns/op 11.55 MB/s BenchmarkDecodeString/4-4 242040 497.2 ns/op 16.09 MB/s BenchmarkDecodeString/8-4 195386 594.1 ns/op 20.20 MB/s BenchmarkDecodeString/64-4 37917 3146 ns/op 27.97 MB/s BenchmarkDecodeString/8192-4 344 343792 ns/op 31.77 MB/s BenchmarkNewEncoding-4 92821 1266 ns/op 202.13 MB/s PASS ok encoding/base64 2.046s goos: freebsd goarch: amd64 pkg: encoding/binary cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadSlice1000Int32s-4 1444 78406 ns/op 51.02 MB/s BenchmarkReadStruct-4 17318 6889 ns/op 10.89 MB/s BenchmarkWriteStruct-4 15742 7496 ns/op 10.00 MB/s BenchmarkReadInts-4 51802 2339 ns/op 12.82 MB/s BenchmarkWriteInts-4 47205 2508 ns/op 11.96 MB/s BenchmarkWriteSlice1000Int32s-4 1323 88604 ns/op 45.14 MB/s BenchmarkPutUint16-4 3608768 32.62 ns/op 61.31 MB/s BenchmarkAppendUint16-4 3421386 34.30 ns/op 58.31 MB/s BenchmarkPutUint32-4 2469727 47.16 ns/op 84.82 MB/s BenchmarkAppendUint32-4 2533107 47.53 ns/op 84.16 MB/s BenchmarkPutUint64-4 827550 122.8 ns/op 65.15 MB/s BenchmarkAppendUint64-4 1000000 117.4 ns/op 68.17 MB/s BenchmarkLittleEndianPutUint16-4 3125029 34.07 ns/op 58.70 MB/s BenchmarkLittleEndianAppendUint16-4 3485486 33.30 ns/op 60.05 MB/s BenchmarkLittleEndianPutUint32-4 2589165 46.20 ns/op 86.57 MB/s BenchmarkLittleEndianAppendUint32-4 2499350 48.81 ns/op 81.96 MB/s BenchmarkLittleEndianPutUint64-4 993616 120.1 ns/op 66.61 MB/s BenchmarkLittleEndianAppendUint64-4 949017 116.4 ns/op 68.74 MB/s BenchmarkReadFloats-4 163567 715.7 ns/op 16.77 MB/s BenchmarkWriteFloats-4 155937 828.9 ns/op 14.48 MB/s BenchmarkReadSlice1000Float32s-4 1249 88012 ns/op 45.45 MB/s BenchmarkWriteSlice1000Float32s-4 1166 100735 ns/op 39.71 MB/s BenchmarkReadSlice1000Uint8s-4 86540 1461 ns/op 684.49 MB/s BenchmarkWriteSlice1000Uint8s-4 108529 1054 ns/op 948.48 MB/s BenchmarkPutUvarint32-4 739579 150.5 ns/op 26.57 MB/s BenchmarkPutUvarint64-4 202107 574.3 ns/op 13.93 MB/s PASS ok encoding/binary 4.819s goos: freebsd goarch: amd64 pkg: encoding/csv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRead-4 7071 16545 ns/op 736 B/op 16 allocs/op BenchmarkReadWithFieldsPerRecord-4 7346 16306 ns/op 736 B/op 16 allocs/op BenchmarkReadWithoutFieldsPerRecord-4 6723 16242 ns/op 736 B/op 16 allocs/op BenchmarkReadLargeFields-4 4062 28719 ns/op 3938 B/op 24 allocs/op BenchmarkReadReuseRecord-4 6786 14782 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithFieldsPerRecord-4 7832 14740 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordWithoutFieldsPerRecord-4 7826 14800 ns/op 96 B/op 6 allocs/op BenchmarkReadReuseRecordLargeFields-4 4791 25183 ns/op 2977 B/op 12 allocs/op BenchmarkWrite-4 12897 9642 ns/op PASS ok encoding/csv 2.441s goos: freebsd goarch: amd64 pkg: encoding/gob cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEndToEndPipe-4 7220 15946 ns/op 1817 B/op 2 allocs/op BenchmarkEndToEndByteBuffer-4 10744 11400 ns/op 1813 B/op 2 allocs/op BenchmarkEndToEndSliceByteBuffer-4 160 698964 ns/op 17099 B/op 333 allocs/op BenchmarkEncodeComplex128Slice-4 615 185117 ns/op 797 B/op 0 allocs/op BenchmarkEncodeFloat64Slice-4 1203 85192 ns/op 72 B/op 0 allocs/op BenchmarkEncodeInt32Slice-4 1341 87667 ns/op 65 B/op 0 allocs/op BenchmarkEncodeStringSlice-4 1984 65949 ns/op 195 B/op 0 allocs/op BenchmarkEncodeInterfaceSlice-4 44 2573978 ns/op 39616 B/op 255 allocs/op BenchmarkDecodeComplex128Slice-4 468 250352 ns/op 25263 B/op 169 allocs/op BenchmarkDecodeFloat64Slice-4 938 120627 ns/op 10804 B/op 169 allocs/op BenchmarkDecodeInt32Slice-4 1137 112688 ns/op 9759 B/op 169 allocs/op BenchmarkDecodeStringSlice-4 661 174675 ns/op 39156 B/op 1169 allocs/op BenchmarkDecodeStringsSlice-4 204 520730 ns/op 66711 B/op 2216 allocs/op BenchmarkDecodeBytesSlice-4 436 272934 ns/op 23911 B/op 196 allocs/op BenchmarkDecodeInterfaceSlice-4 60 2055861 ns/op 83440 B/op 3178 allocs/op BenchmarkDecodeMap-4 51 2453061 ns/op 54129 B/op 181 allocs/op PASS ok encoding/gob 3.862s goos: freebsd goarch: amd64 pkg: encoding/hex cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode/256-4 9872 11731 ns/op 21.82 MB/s BenchmarkEncode/1024-4 2668 45749 ns/op 22.38 MB/s BenchmarkEncode/4096-4 655 167822 ns/op 24.41 MB/s BenchmarkEncode/16384-4 180 667284 ns/op 24.55 MB/s BenchmarkDecode/256-4 21781 6091 ns/op 42.03 MB/s BenchmarkDecode/1024-4 5984 22011 ns/op 46.52 MB/s BenchmarkDecode/4096-4 1232 84777 ns/op 48.31 MB/s BenchmarkDecode/16384-4 351 319074 ns/op 51.35 MB/s BenchmarkDump/256-4 999 115690 ns/op 2.21 MB/s BenchmarkDump/1024-4 262 453628 ns/op 2.26 MB/s BenchmarkDump/4096-4 66 1827035 ns/op 2.24 MB/s BenchmarkDump/16384-4 18 7788444 ns/op 2.10 MB/s PASS ok encoding/hex 2.994s goos: freebsd goarch: amd64 pkg: encoding/json cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCodeEncoder-4 1 172446011 ns/op 11.25 MB/s 8391320 B/op 57 allocs/op BenchmarkCodeEncoderError-4 1 183043072 ns/op 10.60 MB/s 8394856 B/op 116 allocs/op BenchmarkCodeMarshal-4 1 186556284 ns/op 10.40 MB/s 10332008 B/op 57 allocs/op BenchmarkCodeMarshalError-4 1 163464277 ns/op 11.87 MB/s 1945928 B/op 67 allocs/op BenchmarkMarshalBytes/32-4 16594 7442 ns/op BenchmarkMarshalBytes/256-4 4706 26294 ns/op BenchmarkMarshalBytes/4096-4 454 288016 ns/op BenchmarkMarshalBytesError/32-4 42 2731126 ns/op BenchmarkMarshalBytesError/256-4 39 2630027 ns/op BenchmarkMarshalBytesError/4096-4 38 2945060 ns/op BenchmarkCodeDecoder-4 1 549206447 ns/op 3.53 MB/s 11015840 B/op 91355 allocs/op BenchmarkUnicodeDecoder-4 26073 4361 ns/op 3.21 MB/s 40 B/op 2 allocs/op BenchmarkDecoderStream-4 32947 3338 ns/op 16 B/op 1 allocs/op BenchmarkCodeUnmarshal-4 1 484903349 ns/op 4.00 MB/s 2938152 B/op 91324 allocs/op BenchmarkCodeUnmarshalReuse-4 1 457250680 ns/op 4.24 MB/s 2938640 B/op 91328 allocs/op BenchmarkUnmarshalString-4 47482 2562 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalFloat64-4 143731 859.5 ns/op 160 B/op 2 allocs/op BenchmarkUnmarshalInt64-4 304431 478.8 ns/op 144 B/op 1 allocs/op BenchmarkIssue10335-4 72423 1652 ns/op 176 B/op 3 allocs/op BenchmarkIssue34127-4 93621 1306 ns/op 83 B/op 2 allocs/op BenchmarkUnmapped-4 15324 6957 ns/op 208 B/op 4 allocs/op BenchmarkTypeFieldsCache/MissTypes1-4 2574 45207 ns/op BenchmarkTypeFieldsCache/MissTypes10-4 830 142709 ns/op BenchmarkTypeFieldsCache/MissTypes100-4 100 1158253 ns/op BenchmarkTypeFieldsCache/MissTypes1000-4 12 10237042 ns/op BenchmarkTypeFieldsCache/HitTypes1-4 406772 256.1 ns/op BenchmarkTypeFieldsCache/HitTypes10-4 428774 245.7 ns/op BenchmarkTypeFieldsCache/HitTypes100-4 432283 234.7 ns/op BenchmarkTypeFieldsCache/HitTypes1000-4 496468 233.5 ns/op BenchmarkEncodeMarshaler-4 70888 1699 ns/op 76 B/op 1 allocs/op BenchmarkEncoderEncode-4 86478 1358 ns/op 43 B/op 0 allocs/op BenchmarkNumberIsValid-4 4361118 27.80 ns/op BenchmarkNumberIsValidRegexp-4 20755 5720 ns/op PASS ok encoding/json 8.834s goos: freebsd goarch: amd64 pkg: encoding/pem cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEncode-4 48 2447316 ns/op 26.78 MB/s BenchmarkDecode-4 24 4933760 ns/op 17.99 MB/s PASS ok encoding/pem 1.438s goos: freebsd goarch: amd64 pkg: encoding/xml cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMarshal-4 2865 40344 ns/op 6280 B/op 24 allocs/op BenchmarkUnmarshal-4 1084 118027 ns/op 8218 B/op 185 allocs/op BenchmarkHTMLAutoClose-4 4722 26295 ns/op PASS ok encoding/xml 1.534s goos: freebsd goarch: amd64 pkg: expvar cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkIntAdd-4 243663 519.5 ns/op BenchmarkIntSet-4 267105 460.1 ns/op BenchmarkFloatAdd-4 53680 2256 ns/op BenchmarkFloatSet-4 280042 447.7 ns/op BenchmarkStringSet-4 273938 451.3 ns/op BenchmarkMapSet-4 61951 2040 ns/op BenchmarkMapSetDifferent-4 54864 2139 ns/op BenchmarkMapSetDifferentRandom-4 241 461361 ns/op BenchmarkMapSetString-4 56312 1986 ns/op BenchmarkMapAddSame-4 34068 3378 ns/op BenchmarkMapAddDifferent-4 15368 8408 ns/op BenchmarkMapAddDifferentRandom-4 195 610750 ns/op BenchmarkMapAddSameSteadyState-4 225295 585.1 ns/op BenchmarkMapAddDifferentSteadyState-4 94302 1120 ns/op BenchmarkRealworldExpvarUsage-4 27982 4908 ns/op PASS ok expvar 3.499s goos: freebsd goarch: amd64 pkg: fmt cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSprintfPadding-4 109125 1037 ns/op BenchmarkSprintfEmpty-4 430548 274.8 ns/op BenchmarkSprintfString-4 328927 377.7 ns/op BenchmarkSprintfTruncateString-4 282902 434.4 ns/op BenchmarkSprintfTruncateBytes-4 154108 773.9 ns/op BenchmarkSprintfSlowParsingPath-4 268746 425.7 ns/op BenchmarkSprintfQuoteString-4 39302 3065 ns/op BenchmarkSprintfInt-4 288325 399.1 ns/op BenchmarkSprintfIntInt-4 217860 534.0 ns/op BenchmarkSprintfPrefixedInt-4 263200 478.4 ns/op BenchmarkSprintfFloat-4 158197 753.4 ns/op BenchmarkSprintfComplex-4 62892 1837 ns/op BenchmarkSprintfBoolean-4 304885 439.3 ns/op BenchmarkSprintfHexString-4 144099 917.7 ns/op BenchmarkSprintfHexBytes-4 91286 1415 ns/op BenchmarkSprintfBytes-4 50486 2496 ns/op BenchmarkSprintfStringer-4 89749 1397 ns/op BenchmarkSprintfStructure-4 40940 3142 ns/op BenchmarkManyArgs-4 74511 1618 ns/op BenchmarkFprintInt-4 70087 1759 ns/op BenchmarkFprintfBytes-4 75742 1614 ns/op BenchmarkFprintIntNoAlloc-4 69907 1725 ns/op BenchmarkScanInts-4 36 3245401 ns/op BenchmarkScanRecursiveInt-4 1 367618324 ns/op BenchmarkScanRecursiveIntReaderWrapper-4 1 398149811 ns/op PASS ok fmt 5.086s goos: freebsd goarch: amd64 pkg: go/build cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkImportVendor-4 840 147792 ns/op PASS ok go/build 1.337s goos: freebsd goarch: amd64 pkg: go/constant cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStringAdd/1-4 38354 2609 ns/op 160 B/op 2 allocs/op BenchmarkStringAdd/4-4 12787 8918 ns/op 832 B/op 9 allocs/op BenchmarkStringAdd/16-4 3754 30485 ns/op 3168 B/op 23 allocs/op BenchmarkStringAdd/64-4 1017 117022 ns/op 11744 B/op 73 allocs/op BenchmarkStringAdd/256-4 255 481546 ns/op 47840 B/op 267 allocs/op BenchmarkStringAdd/1024-4 57 2188907 ns/op 206176 B/op 1038 allocs/op BenchmarkStringAdd/4096-4 13 8704541 ns/op 865794 B/op 4114 allocs/op BenchmarkStringAdd/16384-4 3 37003949 ns/op 3634560 B/op 16407 allocs/op BenchmarkStringAdd/65536-4 1 154770383 ns/op 15258976 B/op 65565 allocs/op PASS ok go/constant 2.476s goos: freebsd goarch: amd64 pkg: go/format cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFormat/array1-10000-4 1 273134245 ns/op 0.24 MB/s 45945992 B/op 48879 allocs/op PASS ok go/format 1.387s goos: freebsd goarch: amd64 pkg: go/parser cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkParse-4 6 19705043 ns/op 2.73 MB/s BenchmarkParseOnly-4 7 16841585 ns/op 3.20 MB/s BenchmarkResolve-4 44 2440871 ns/op 22.07 MB/s PASS ok go/parser 2.336s goos: freebsd goarch: amd64 pkg: go/printer cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPrintFile-4 1 144755525 ns/op 0.36 MB/s 4865024 B/op 27562 allocs/op BenchmarkPrintDecl-4 765 152547 ns/op 0.21 MB/s 15816 B/op 51 allocs/op PASS ok go/printer 1.353s goos: freebsd goarch: amd64 pkg: go/scanner cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkScan-4 279 422076 ns/op BenchmarkScanFiles/go/types/expr.go-4 14 7567388 ns/op 6.55 MB/s BenchmarkScanFiles/go/parser/parser.go-4 9 11789106 ns/op 6.15 MB/s BenchmarkScanFiles/net/http/server.go-4 6 16836840 ns/op 6.73 MB/s BenchmarkScanFiles/go/scanner/errors.go-4 230 513076 ns/op 6.00 MB/s PASS ok go/scanner 1.836s goos: freebsd goarch: amd64 pkg: go/token cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSearchInts-4 1000000 100.9 ns/op PASS ok go/token 1.187s goos: freebsd goarch: amd64 pkg: go/types cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLookupFieldOrMethod-4 114 1026892 ns/op BenchmarkNamed/Underlying/nongeneric-4 775245 142.9 ns/op BenchmarkNamed/Underlying/generic-4 729936 148.0 ns/op BenchmarkNamed/Underlying/src_instance-4 825327 145.9 ns/op BenchmarkNamed/Underlying/user_instance-4 829508 139.0 ns/op BenchmarkNamed/NewMethodSet/nongeneric-4 21499 5421 ns/op BenchmarkNamed/NewMethodSet/generic-4 21349 5481 ns/op BenchmarkNamed/NewMethodSet/src_instance-4 21840 5412 ns/op BenchmarkNamed/NewMethodSet/user_instance-4 22538 5501 ns/op BenchmarkCheck/http/funcbodies/info-4 1 596011396 ns/op 51262 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 445217704 ns/op 68620 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 236691683 ns/op 128995 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 211126262 ns/op 144637 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 477787457 ns/op 10832 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 1 116713472 ns/op 44273 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 2 65965824 ns/op 78432 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 2 62959336 ns/op 82165 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 170260662 ns/op 12723 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 2 66140340 ns/op 32748 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 3 48142133 ns/op 44995 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 3 47068543 ns/op 46021 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1177113377 ns/op 54490 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 650600737 ns/op 98588 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 166312200 ns/op 385502 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 130850446 ns/op 489924 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 536727632 ns/op 3720 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 1 101349854 ns/op 19679 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 2 80506144 ns/op 24796 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 2 78533413 ns/op 25420 lines/s PASS ok go/types 19.415s goos: freebsd goarch: amd64 pkg: hash/adler32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAdler32KB-4 9086 11865 ns/op 86.31 MB/s PASS ok hash/adler32 1.197s goos: freebsd goarch: amd64 pkg: hash/crc32 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCRC32/poly=IEEE/size=15/align=0-4 218029 507.8 ns/op 29.54 MB/s BenchmarkCRC32/poly=IEEE/size=15/align=1-4 234086 492.5 ns/op 30.46 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=0-4 126669 927.6 ns/op 43.12 MB/s BenchmarkCRC32/poly=IEEE/size=40/align=1-4 131690 904.3 ns/op 44.23 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=0-4 450714 277.5 ns/op 1845.13 MB/s BenchmarkCRC32/poly=IEEE/size=512/align=1-4 415898 273.6 ns/op 1871.39 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=0-4 394309 327.3 ns/op 3128.56 MB/s BenchmarkCRC32/poly=IEEE/size=1kB/align=1-4 402315 328.3 ns/op 3119.10 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=0-4 242854 628.9 ns/op 6513.04 MB/s BenchmarkCRC32/poly=IEEE/size=4kB/align=1-4 237553 632.7 ns/op 6473.46 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=0-4 50226 3365 ns/op 9739.12 MB/s BenchmarkCRC32/poly=IEEE/size=32kB/align=1-4 45918 3403 ns/op 9628.64 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=0-4 421365 265.6 ns/op 56.49 MB/s BenchmarkCRC32/poly=Castagnoli/size=15/align=1-4 439614 266.2 ns/op 56.34 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=0-4 414943 272.7 ns/op 146.71 MB/s BenchmarkCRC32/poly=Castagnoli/size=40/align=1-4 421562 278.7 ns/op 143.54 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=0-4 336855 355.8 ns/op 1438.84 MB/s BenchmarkCRC32/poly=Castagnoli/size=512/align=1-4 328798 367.9 ns/op 1391.75 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=0-4 255861 450.4 ns/op 2273.60 MB/s BenchmarkCRC32/poly=Castagnoli/size=1kB/align=1-4 260059 453.8 ns/op 2256.50 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=0-4 226404 541.0 ns/op 7570.93 MB/s BenchmarkCRC32/poly=Castagnoli/size=4kB/align=1-4 221494 536.8 ns/op 7630.30 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=0-4 48418 2469 ns/op 13274.32 MB/s BenchmarkCRC32/poly=Castagnoli/size=32kB/align=1-4 47064 2554 ns/op 12830.52 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=0-4 231637 507.7 ns/op 29.54 MB/s BenchmarkCRC32/poly=Koopman/size=15/align=1-4 222456 541.5 ns/op 27.70 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=0-4 121437 992.5 ns/op 40.30 MB/s BenchmarkCRC32/poly=Koopman/size=40/align=1-4 124408 965.3 ns/op 41.44 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=0-4 9877 12891 ns/op 39.72 MB/s BenchmarkCRC32/poly=Koopman/size=512/align=1-4 9181 11930 ns/op 42.92 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=0-4 4575 26029 ns/op 39.34 MB/s BenchmarkCRC32/poly=Koopman/size=1kB/align=1-4 4670 25671 ns/op 39.89 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=0-4 1075 116332 ns/op 35.21 MB/s BenchmarkCRC32/poly=Koopman/size=4kB/align=1-4 1080 112269 ns/op 36.48 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=0-4 130 911593 ns/op 35.95 MB/s BenchmarkCRC32/poly=Koopman/size=32kB/align=1-4 132 909071 ns/op 36.05 MB/s PASS ok hash/crc32 6.034s goos: freebsd goarch: amd64 pkg: hash/crc64 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCrc64/ISO64KB-4 100 1105069 ns/op 59.30 MB/s BenchmarkCrc64/ISO4KB-4 1201 97955 ns/op 41.82 MB/s BenchmarkCrc64/ISO1KB-4 5586 20197 ns/op 50.70 MB/s BenchmarkCrc64/ECMA64KB-4 97 1082969 ns/op 60.52 MB/s BenchmarkCrc64/Random64KB-4 100 1044700 ns/op 62.73 MB/s BenchmarkCrc64/Random16KB-4 439 270963 ns/op 60.47 MB/s PASS ok hash/crc64 1.797s goos: freebsd goarch: amd64 pkg: hash/fnv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFnv32KB-4 11170 10755 ns/op 95.21 MB/s BenchmarkFnv32aKB-4 9396 10777 ns/op 95.02 MB/s BenchmarkFnv64KB-4 10000 11033 ns/op 92.82 MB/s BenchmarkFnv64aKB-4 10000 11035 ns/op 92.80 MB/s BenchmarkFnv128KB-4 2157 54291 ns/op 18.86 MB/s BenchmarkFnv128aKB-4 2271 52609 ns/op 19.46 MB/s PASS ok hash/fnv 1.865s goos: freebsd goarch: amd64 pkg: hash/maphash cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash/n=4/Write-4 523441 191.7 ns/op 20.87 MB/s BenchmarkHash/n=4/Bytes-4 4000226 30.39 ns/op 131.63 MB/s BenchmarkHash/n=4/String-4 1751624 67.98 ns/op 58.84 MB/s BenchmarkHash/n=8/Write-4 570920 190.8 ns/op 41.93 MB/s BenchmarkHash/n=8/Bytes-4 4220184 30.56 ns/op 261.75 MB/s BenchmarkHash/n=8/String-4 1762104 68.20 ns/op 117.30 MB/s BenchmarkHash/n=16/Write-4 622810 192.7 ns/op 83.02 MB/s BenchmarkHash/n=16/Bytes-4 4517634 27.59 ns/op 579.95 MB/s BenchmarkHash/n=16/String-4 1772808 68.06 ns/op 235.09 MB/s BenchmarkHash/n=32/Write-4 584940 198.6 ns/op 161.16 MB/s BenchmarkHash/n=32/Bytes-4 4304041 28.71 ns/op 1114.58 MB/s BenchmarkHash/n=32/String-4 1749507 69.34 ns/op 461.50 MB/s BenchmarkHash/n=64/Write-4 557522 211.7 ns/op 302.29 MB/s BenchmarkHash/n=64/Bytes-4 3821773 31.85 ns/op 2009.23 MB/s BenchmarkHash/n=64/String-4 1697760 70.84 ns/op 903.41 MB/s BenchmarkHash/n=256/Write-4 410971 285.1 ns/op 898.03 MB/s BenchmarkHash/n=256/Bytes-4 1994204 60.93 ns/op 4201.25 MB/s BenchmarkHash/n=256/String-4 916450 134.6 ns/op 1901.86 MB/s BenchmarkHash/n=320/Write-4 411163 284.7 ns/op 1124.18 MB/s BenchmarkHash/n=320/Bytes-4 1557914 76.98 ns/op 4156.67 MB/s BenchmarkHash/n=320/String-4 667088 185.9 ns/op 1721.72 MB/s BenchmarkHash/n=1024/Write-4 276530 452.2 ns/op 2264.25 MB/s BenchmarkHash/n=1024/Bytes-4 745358 189.4 ns/op 5406.61 MB/s BenchmarkHash/n=1024/String-4 255872 487.6 ns/op 2100.29 MB/s BenchmarkHash/n=4096/Write-4 127126 1045 ns/op 3920.00 MB/s BenchmarkHash/n=4096/Bytes-4 208560 704.9 ns/op 5811.12 MB/s BenchmarkHash/n=4096/String-4 67130 1865 ns/op 2196.53 MB/s BenchmarkHash/n=16384/Write-4 36020 3475 ns/op 4715.24 MB/s BenchmarkHash/n=16384/Bytes-4 47709 2751 ns/op 5956.17 MB/s BenchmarkHash/n=16384/String-4 16225 7449 ns/op 2199.49 MB/s PASS ok hash/maphash 5.660s goos: freebsd goarch: amd64 pkg: html cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEscape-4 826 132173 ns/op BenchmarkEscapeNone-4 120717 961.0 ns/op BenchmarkUnescape-4 748 154846 ns/op BenchmarkUnescapeNone-4 549447 216.2 ns/op BenchmarkUnescapeSparse-4 10000 12532 ns/op BenchmarkUnescapeDense-4 1119 104552 ns/op PASS ok html 1.834s goos: freebsd goarch: amd64 pkg: html/template cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCSSEscaper-4 9496 12201 ns/op BenchmarkCSSEscaperNoSpecials-4 49474 2406 ns/op BenchmarkDecodeCSS-4 28171 4304 ns/op BenchmarkDecodeCSSNoSpecials-4 4331528 27.56 ns/op BenchmarkCSSValueFilter-4 121504 979.4 ns/op BenchmarkCSSValueFilterOk-4 85438 1374 ns/op BenchmarkEscapedExecute-4 4308 23876 ns/op BenchmarkHTMLNospaceEscaper-4 10000 10272 ns/op BenchmarkHTMLNospaceEscaperNoSpecials-4 69074 1720 ns/op BenchmarkStripTags-4 22660 5393 ns/op BenchmarkStripTagsNoSpecials-4 323371 384.9 ns/op BenchmarkJSValEscaperWithNum-4 24730 4837 ns/op BenchmarkJSValEscaperWithStr-4 5136 20644 ns/op BenchmarkJSValEscaperWithStrNoSpecials-4 19802 6059 ns/op BenchmarkJSValEscaperWithObj-4 4699 24368 ns/op BenchmarkJSValEscaperWithObjNoSpecials-4 13846 8447 ns/op BenchmarkJSStrEscaperNoSpecials-4 62458 1907 ns/op BenchmarkJSStrEscaper-4 10000 10051 ns/op BenchmarkJSRegexpEscaperNoSpecials-4 58023 2103 ns/op BenchmarkJSRegexpEscaper-4 10000 10533 ns/op BenchmarkTemplateSpecialTags-4 98 1208998 ns/op BenchmarkURLEscaper-4 4173 26238 ns/op BenchmarkURLEscaperNoSpecials-4 173602 682.0 ns/op BenchmarkURLNormalizer-4 5923 19320 ns/op BenchmarkURLNormalizerNoSpecials-4 164742 721.2 ns/op BenchmarkSrcsetFilter-4 19246 6250 ns/op BenchmarkSrcsetFilterNoSpecials-4 106492 1137 ns/op PASS ok html/template 5.028s goos: freebsd goarch: amd64 pkg: image cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAt/rgba-4 554422 189.9 ns/op 16 B/op 1 allocs/op BenchmarkAt/rgba64-4 437685 237.7 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba-4 635793 182.5 ns/op 16 B/op 1 allocs/op BenchmarkAt/nrgba64-4 472964 244.1 ns/op 16 B/op 1 allocs/op BenchmarkAt/alpha-4 1824949 64.62 ns/op 0 B/op 0 allocs/op BenchmarkAt/alpha16-4 1256835 95.14 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray-4 1813840 65.29 ns/op 0 B/op 0 allocs/op BenchmarkAt/gray16-4 1270395 95.63 ns/op 0 B/op 0 allocs/op BenchmarkAt/paletted-4 1476704 80.91 ns/op 0 B/op 0 allocs/op BenchmarkSet/rgba-4 450542 249.2 ns/op 16 B/op 1 allocs/op BenchmarkSet/rgba64-4 382462 315.9 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba-4 480212 250.9 ns/op 16 B/op 1 allocs/op BenchmarkSet/nrgba64-4 379333 311.6 ns/op 16 B/op 1 allocs/op BenchmarkSet/alpha-4 773203 144.5 ns/op 0 B/op 0 allocs/op BenchmarkSet/alpha16-4 577957 207.9 ns/op 16 B/op 1 allocs/op BenchmarkSet/gray-4 886462 124.3 ns/op 0 B/op 0 allocs/op BenchmarkSet/gray16-4 581876 204.4 ns/op 16 B/op 1 allocs/op BenchmarkSet/paletted-4 408825 264.3 ns/op 0 B/op 0 allocs/op BenchmarkRGBAAt-4 1458576 81.96 ns/op BenchmarkRGBASetRGBA-4 1460910 82.14 ns/op BenchmarkRGBA64At-4 845634 140.9 ns/op BenchmarkRGBA64SetRGBA64-4 799681 144.8 ns/op BenchmarkNRGBAAt-4 1469848 81.30 ns/op BenchmarkNRGBASetNRGBA-4 1458147 82.49 ns/op BenchmarkNRGBA64At-4 823459 139.7 ns/op BenchmarkNRGBA64SetNRGBA64-4 817392 143.5 ns/op BenchmarkAlphaAt-4 2500399 47.90 ns/op BenchmarkAlphaSetAlpha-4 2540167 47.12 ns/op BenchmarkAlpha16At-4 1587235 75.32 ns/op BenchmarkAlphaSetAlpha16-4 1568691 76.42 ns/op BenchmarkGrayAt-4 2439758 49.01 ns/op BenchmarkGraySetGray-4 2476791 47.85 ns/op BenchmarkGray16At-4 1582078 75.18 ns/op BenchmarkGraySetGray16-4 1593424 75.10 ns/op PASS ok image 6.438s goos: freebsd goarch: amd64 pkg: image/color cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkYCbCrToRGB/0-4 4306392 27.80 ns/op BenchmarkYCbCrToRGB/128-4 4335132 27.86 ns/op BenchmarkYCbCrToRGB/255-4 4211860 28.86 ns/op BenchmarkRGBToYCbCr/0-4 4408045 27.78 ns/op BenchmarkRGBToYCbCr/Cb-4 4354489 27.85 ns/op BenchmarkRGBToYCbCr/Cr-4 4430205 27.68 ns/op BenchmarkYCbCrToRGBA/0-4 3273954 36.79 ns/op BenchmarkYCbCrToRGBA/128-4 3394758 35.40 ns/op BenchmarkYCbCrToRGBA/255-4 3477812 34.96 ns/op BenchmarkNYCbCrAToRGBA/0-4 3368182 35.77 ns/op BenchmarkNYCbCrAToRGBA/128-4 3318043 36.00 ns/op BenchmarkNYCbCrAToRGBA/255-4 3333699 35.81 ns/op PASS ok image/color 2.894s goos: freebsd goarch: amd64 pkg: image/draw cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFillOver-4 4 30981631 ns/op BenchmarkFillSrc-4 300 350840 ns/op BenchmarkCopyOver-4 7 15379868 ns/op BenchmarkCopySrc-4 432 270577 ns/op BenchmarkNRGBAOver-4 7 16139589 ns/op BenchmarkNRGBASrc-4 10 10957909 ns/op BenchmarkYCbCr-4 8 12709059 ns/op BenchmarkGray-4 16 6779714 ns/op BenchmarkCMYK-4 10 10945301 ns/op BenchmarkGlyphOver-4 20 5371663 ns/op BenchmarkRGBAMaskOver-4 4 27261001 ns/op BenchmarkGrayMaskOver-4 5 20611407 ns/op BenchmarkRGBA64ImageMaskOver-4 4 33144402 ns/op BenchmarkRGBA-4 5 22209811 ns/op BenchmarkPalettedFill-4 1008 120201 ns/op BenchmarkPalettedRGBA-4 5 24654423 ns/op BenchmarkGenericOver-4 3 49950867 ns/op BenchmarkGenericMaskOver-4 5 20775223 ns/op BenchmarkGenericSrc-4 3 33510429 ns/op BenchmarkGenericMaskSrc-4 4 29610665 ns/op PASS ok image/draw 7.289s goos: freebsd goarch: amd64 pkg: image/gif cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecode-4 22 4655296 ns/op 3.32 MB/s 47848 B/op 267 allocs/op BenchmarkEncodeRandomPaletted-4 1 115304907 ns/op 2.66 MB/s 79984 B/op 7 allocs/op BenchmarkEncodeRandomRGBA-4 1 2990202369 ns/op 0.41 MB/s 417248 B/op 13 allocs/op BenchmarkEncodeRealisticPaletted-4 62 1944469 ns/op 7.95 MB/s 79985 B/op 7 allocs/op BenchmarkEncodeRealisticRGBA-4 1 147837148 ns/op 0.42 MB/s 105952 B/op 13 allocs/op PASS ok image/gif 5.098s goos: freebsd goarch: amd64 pkg: image/jpeg cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFDCT-4 3747 28941 ns/op BenchmarkIDCT-4 3670 27286 ns/op BenchmarkDecodeBaseline-4 9 12162741 ns/op 5.08 MB/s 63024 B/op 5 allocs/op BenchmarkDecodeProgressive-4 6 16703417 ns/op 3.70 MB/s 259712 B/op 13 allocs/op BenchmarkEncodeRGBA-4 1 148872076 ns/op 8.25 MB/s 4400 B/op 4 allocs/op BenchmarkEncodeYCbCr-4 1 187368792 ns/op 4.92 MB/s 4400 B/op 4 allocs/op PASS ok image/jpeg 2.243s goos: freebsd goarch: amd64 pkg: image/png cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPaeth-4 12794308 9.289 ns/op BenchmarkDecodeGray-4 12 8562648 ns/op 7.65 MB/s 137024 B/op 102 allocs/op BenchmarkDecodeNRGBAGradient-4 3 36883093 ns/op 7.11 MB/s 337328 B/op 188 allocs/op BenchmarkDecodeNRGBAOpaque-4 4 31618396 ns/op 8.29 MB/s 346592 B/op 152 allocs/op BenchmarkDecodePaletted-4 21 5306829 ns/op 12.35 MB/s 139456 B/op 309 allocs/op BenchmarkDecodeRGB-4 4 29490779 ns/op 8.89 MB/s 332000 B/op 157 allocs/op BenchmarkDecodeInterlacing-4 3 36574705 ns/op 7.17 MB/s 605216 B/op 268 allocs/op BenchmarkEncodeGray-4 2 53153050 ns/op 5.78 MB/s 852184 B/op 29 allocs/op BenchmarkEncodeGrayWithBufferPool-4 2 53480405 ns/op 5.74 MB/s 426080 B/op 14 allocs/op BenchmarkEncodeNRGBOpaque-4 1 172322838 ns/op 7.13 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeNRGBA-4 1 187308233 ns/op 6.56 MB/s 864088 B/op 29 allocs/op BenchmarkEncodePaletted-4 4 27546737 ns/op 11.15 MB/s 848592 B/op 32 allocs/op BenchmarkEncodeRGBOpaque-4 1 172078055 ns/op 7.14 MB/s 860248 B/op 29 allocs/op BenchmarkEncodeRGBA-4 1 771515647 ns/op 1.59 MB/s 864088 B/op 29 allocs/op PASS ok image/png 4.535s goos: freebsd goarch: amd64 pkg: index/suffixarray cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkNew/text=opticks/size=100K/bits=32-4 2 51904902 ns/op 1.93 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=opticks/size=100K/bits=64-4 3 44222364 ns/op 2.26 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=32-4 1 355419730 ns/op 1.41 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=opticks/size=500K/bits=64-4 1 356862161 ns/op 1.40 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=32-4 2 53054606 ns/op 1.88 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=go/size=100K/bits=64-4 3 42712298 ns/op 2.34 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=32-4 1 310394133 ns/op 1.61 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=go/size=500K/bits=64-4 1 321747883 ns/op 1.55 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=32-4 1 798704769 ns/op 1.25 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=go/size=1M/bits=64-4 1 765489810 ns/op 1.31 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=32-4 1 4690359877 ns/op 1.07 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=go/size=5M/bits=64-4 1 4464714595 ns/op 1.12 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=32-4 13 8754682 ns/op 11.42 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=zero/size=100K/bits=64-4 12 9146908 ns/op 10.93 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=32-4 3 43586432 ns/op 11.47 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=zero/size=500K/bits=64-4 3 45963130 ns/op 10.88 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=32-4 2 83759704 ns/op 11.94 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=zero/size=1M/bits=64-4 2 88612932 ns/op 11.29 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=32-4 1 427291673 ns/op 11.70 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=zero/size=5M/bits=64-4 1 449533655 ns/op 11.12 MB/s 40001616 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=32-4 2 60599765 ns/op 1.65 MB/s 401488 B/op 2 allocs/op BenchmarkNew/text=rand/size=100K/bits=64-4 2 52398770 ns/op 1.91 MB/s 802896 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=32-4 1 419322886 ns/op 1.19 MB/s 2007120 B/op 2 allocs/op BenchmarkNew/text=rand/size=500K/bits=64-4 1 518426861 ns/op 0.96 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=32-4 1 1066198771 ns/op 0.94 MB/s 4005968 B/op 2 allocs/op BenchmarkNew/text=rand/size=1M/bits=64-4 1 1121971713 ns/op 0.89 MB/s 8003664 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=32-4 1 6503369003 ns/op 0.77 MB/s 20004944 B/op 2 allocs/op BenchmarkNew/text=rand/size=5M/bits=64-4 1 6258365638 ns/op 0.80 MB/s 40001616 B/op 2 allocs/op BenchmarkSaveRestore/bits=32-4 1 155543359 ns/op 26.87 MB/s 5275648 B/op 4 allocs/op BenchmarkSaveRestore/bits=64-4 1 161881587 ns/op 25.82 MB/s 9469952 B/op 4 allocs/op PASS ok index/suffixarray 49.059s goos: freebsd goarch: amd64 pkg: internal/fuzz cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMarshalCorpusFile/1-4 35931 3044 ns/op 0.33 MB/s BenchmarkMarshalCorpusFile/2-4 37893 3204 ns/op 0.62 MB/s BenchmarkMarshalCorpusFile/4-4 34545 3491 ns/op 1.15 MB/s BenchmarkMarshalCorpusFile/8-4 28780 4196 ns/op 1.91 MB/s BenchmarkMarshalCorpusFile/16-4 22005 5417 ns/op 2.95 MB/s BenchmarkMarshalCorpusFile/32-4 14684 8125 ns/op 3.94 MB/s BenchmarkMarshalCorpusFile/64-4 8544 13203 ns/op 4.85 MB/s BenchmarkMarshalCorpusFile/128-4 5048 21096 ns/op 6.07 MB/s BenchmarkMarshalCorpusFile/256-4 2756 40931 ns/op 6.25 MB/s BenchmarkMarshalCorpusFile/512-4 1426 79964 ns/op 6.40 MB/s BenchmarkMarshalCorpusFile/1024-4 778 153977 ns/op 6.65 MB/s BenchmarkMarshalCorpusFile/2048-4 385 308887 ns/op 6.63 MB/s BenchmarkMarshalCorpusFile/4096-4 195 607968 ns/op 6.74 MB/s BenchmarkMarshalCorpusFile/8192-4 93 1219236 ns/op 6.72 MB/s BenchmarkMarshalCorpusFile/16384-4 48 2461098 ns/op 6.66 MB/s BenchmarkMarshalCorpusFile/32768-4 20 5571438 ns/op 5.88 MB/s BenchmarkMarshalCorpusFile/65536-4 9 11298160 ns/op 5.80 MB/s BenchmarkMarshalCorpusFile/131072-4 5 23444194 ns/op 5.59 MB/s BenchmarkMarshalCorpusFile/262144-4 3 52602892 ns/op 4.98 MB/s BenchmarkMarshalCorpusFile/524288-4 2 92792138 ns/op 5.65 MB/s BenchmarkMarshalCorpusFile/1048576-4 1 184475231 ns/op 5.68 MB/s BenchmarkUnmarshalCorpusFile/1-4 8838 11887 ns/op 0.08 MB/s BenchmarkUnmarshalCorpusFile/2-4 8661 11953 ns/op 0.17 MB/s BenchmarkUnmarshalCorpusFile/4-4 8355 13291 ns/op 0.30 MB/s BenchmarkUnmarshalCorpusFile/8-4 6783 15106 ns/op 0.53 MB/s BenchmarkUnmarshalCorpusFile/16-4 6049 18157 ns/op 0.88 MB/s BenchmarkUnmarshalCorpusFile/32-4 4311 26702 ns/op 1.20 MB/s BenchmarkUnmarshalCorpusFile/64-4 3690 31530 ns/op 2.03 MB/s BenchmarkUnmarshalCorpusFile/128-4 2842 40533 ns/op 3.16 MB/s BenchmarkUnmarshalCorpusFile/256-4 1092 108649 ns/op 2.36 MB/s BenchmarkUnmarshalCorpusFile/512-4 568 201683 ns/op 2.54 MB/s BenchmarkUnmarshalCorpusFile/1024-4 308 384730 ns/op 2.66 MB/s BenchmarkUnmarshalCorpusFile/2048-4 156 773835 ns/op 2.65 MB/s BenchmarkUnmarshalCorpusFile/4096-4 74 1547439 ns/op 2.65 MB/s BenchmarkUnmarshalCorpusFile/8192-4 36 3101009 ns/op 2.64 MB/s BenchmarkUnmarshalCorpusFile/16384-4 18 6088747 ns/op 2.69 MB/s BenchmarkUnmarshalCorpusFile/32768-4 9 12167846 ns/op 2.69 MB/s BenchmarkUnmarshalCorpusFile/65536-4 5 24376097 ns/op 2.69 MB/s BenchmarkUnmarshalCorpusFile/131072-4 3 48954598 ns/op 2.68 MB/s BenchmarkUnmarshalCorpusFile/262144-4 2 97812416 ns/op 2.68 MB/s BenchmarkUnmarshalCorpusFile/524288-4 1 196618970 ns/op 2.67 MB/s BenchmarkUnmarshalCorpusFile/1048576-4 1 392738105 ns/op 2.67 MB/s BenchmarkMutatorBytes/1-4 35776 3363 ns/op BenchmarkMutatorBytes/10-4 37178 3181 ns/op BenchmarkMutatorBytes/100-4 34954 3522 ns/op BenchmarkMutatorBytes/1000-4 22908 5565 ns/op BenchmarkMutatorBytes/10000-4 5905 23159 ns/op BenchmarkMutatorBytes/100000-4 942 145168 ns/op BenchmarkMutatorString/1-4 33013 3512 ns/op BenchmarkMutatorString/10-4 35181 3363 ns/op BenchmarkMutatorString/100-4 31362 4230 ns/op BenchmarkMutatorString/1000-4 13461 8214 ns/op BenchmarkMutatorString/10000-4 2706 55983 ns/op BenchmarkMutatorString/100000-4 320 400141 ns/op BenchmarkMutatorAllBasicTypes/[]uint8-4 18517 6219 ns/op BenchmarkMutatorAllBasicTypes/string-4 18753 6376 ns/op BenchmarkMutatorAllBasicTypes/bool-4 59385 1980 ns/op BenchmarkMutatorAllBasicTypes/float32-4 53392 2246 ns/op BenchmarkMutatorAllBasicTypes/float64-4 52764 2224 ns/op BenchmarkMutatorAllBasicTypes/int-4 56558 2093 ns/op BenchmarkMutatorAllBasicTypes/int8-4 58072 2076 ns/op BenchmarkMutatorAllBasicTypes/int16-4 56601 2070 ns/op BenchmarkMutatorAllBasicTypes/int32-4 57877 2116 ns/op BenchmarkMutatorAllBasicTypes/int64-4 55308 2111 ns/op BenchmarkMutatorAllBasicTypes/uint8-4 54462 2244 ns/op BenchmarkMutatorAllBasicTypes/uint16-4 51404 2166 ns/op BenchmarkMutatorAllBasicTypes/uint32-4 55200 2104 ns/op BenchmarkMutatorAllBasicTypes/uint64-4 54810 2098 ns/op PASS ok internal/fuzz 12.742s goos: freebsd goarch: amd64 pkg: internal/intern cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStress-4 43606 2302 ns/op 0 B/op 0 allocs/op BenchmarkGetByString-4 133191 907.9 ns/op 0 B/op 0 allocs/op PASS ok internal/intern 1.327s PASS ok internal/poll 1.071s goos: freebsd goarch: amd64 pkg: internal/trace cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMMU-4 5 20750960 ns/op PASS ok internal/trace 3.669s goos: freebsd goarch: amd64 pkg: internal/zstd cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLarge-4 2 85151727 ns/op 2.08 MB/s 1143304 B/op 24 allocs/op PASS ok internal/zstd 1.364s goos: freebsd goarch: amd64 pkg: io cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCopyNSmall-4 10000 10297 ns/op BenchmarkCopyNLarge-4 280 645085 ns/op PASS ok io 1.426s goos: freebsd goarch: amd64 pkg: log cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkItoa-4 220450 513.2 ns/op BenchmarkPrintln-4 22803 5351 ns/op 77 B/op 1 allocs/op BenchmarkPrintlnNoFlags-4 35206 3463 ns/op 66 B/op 1 allocs/op BenchmarkConcurrent-4 5727 20578 ns/op BenchmarkDiscard-4 934674 125.1 ns/op 0 B/op 0 allocs/op PASS ok log 1.887s goos: freebsd goarch: amd64 pkg: log/slog cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkWriteTime-4 77466 1510 ns/op BenchmarkJSONHandler/defaults-4 6381 15748 ns/op 532 B/op 1 allocs/op BenchmarkJSONHandler/time_format-4 4153 24799 ns/op 789 B/op 6 allocs/op BenchmarkJSONHandler/time_unix-4 5086 21765 ns/op 760 B/op 5 allocs/op BenchmarkPreformatting/separate-4 7306 14850 ns/op 530 B/op 1 allocs/op BenchmarkPreformatting/struct-4 7495 14905 ns/op 515 B/op 0 allocs/op BenchmarkPreformatting/struct_file-4 5458 20230 ns/op 524 B/op 1 allocs/op BenchmarkJSONEncoding/json.Marshal-4 31437 3740 ns/op 80 B/op 3 allocs/op BenchmarkJSONEncoding/Encoder.Encode-4 31998 3799 ns/op 64 B/op 2 allocs/op BenchmarkNopLog/no_attrs-4 61549 2012 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-4 51710 2439 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/attrs-parallel-4 52576 2190 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/keys-values-4 49398 2525 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-4 51416 2509 ns/op 0 B/op 0 allocs/op BenchmarkNopLog/WithContext-parallel-4 55203 2202 ns/op 0 B/op 0 allocs/op BenchmarkPC/0-4 430791 271.9 ns/op 0 B/op 0 allocs/op BenchmarkPC/1-4 332148 360.4 ns/op 0 B/op 0 allocs/op BenchmarkPC/2-4 226357 520.8 ns/op 0 B/op 0 allocs/op BenchmarkPC/3-4 161526 734.8 ns/op 0 B/op 0 allocs/op BenchmarkPC/4-4 132699 902.0 ns/op 0 B/op 0 allocs/op BenchmarkRecord-4 6566 18362 ns/op BenchmarkDispatch/switch-checked-4 204241 588.9 ns/op BenchmarkDispatch/As-4 192092 619.7 ns/op BenchmarkDispatch/Visit-4 178093 648.3 ns/op BenchmarkUnsafeStrings-4 19015 6363 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.447s goos: freebsd goarch: amd64 pkg: log/slog/internal/benchmarks cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAttrs/disabled/5_args-4 2200819 54.50 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/5_args_ctx-4 1815292 67.67 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/10_args-4 1439100 82.28 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/disabled/40_args-4 460886 258.8 ns/op 0 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args-4 70227 1676 ns/op 259 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/5_args_ctx-4 71391 1622 ns/op 262 B/op 0 allocs/op BenchmarkAttrs/fastText_discard/10_args-4 49989 2405 ns/op 471 B/op 1 allocs/op BenchmarkAttrs/fastText_discard/40_args-4 17157 7073 ns/op 2037 B/op 1 allocs/op BenchmarkAttrs/Text_discard/5_args-4 14958 9052 ns/op 618 B/op 3 allocs/op BenchmarkAttrs/Text_discard/5_args_ctx-4 14942 8049 ns/op 615 B/op 3 allocs/op BenchmarkAttrs/Text_discard/10_args-4 9327 11731 ns/op 913 B/op 7 allocs/op BenchmarkAttrs/Text_discard/40_args-4 3547 37682 ns/op 3033 B/op 22 allocs/op BenchmarkAttrs/JSON_discard/5_args-4 18510 6457 ns/op 525 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/5_args_ctx-4 18627 6541 ns/op 535 B/op 1 allocs/op BenchmarkAttrs/JSON_discard/10_args-4 12652 9885 ns/op 738 B/op 2 allocs/op BenchmarkAttrs/JSON_discard/40_args-4 3814 28682 ns/op 2290 B/op 2 allocs/op PASS ok log/slog/internal/benchmarks 3.920s goos: freebsd goarch: amd64 pkg: maps cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMapClone-4 3 39817240 ns/op BenchmarkKeys-4 7 15562359 ns/op BenchmarkValues-4 7 15830294 ns/op PASS ok maps 5.037s goos: freebsd goarch: amd64 pkg: math cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAcos-4 1811838 68.22 ns/op BenchmarkAcosh-4 985081 118.4 ns/op BenchmarkAsin-4 1805931 69.05 ns/op BenchmarkAsinh-4 1000000 127.3 ns/op BenchmarkAtan-4 2378700 51.98 ns/op BenchmarkAtanh-4 1000000 120.1 ns/op BenchmarkAtan2-4 1767469 68.19 ns/op BenchmarkCbrt-4 1345873 88.45 ns/op BenchmarkCeil-4 18499353 6.013 ns/op BenchmarkCompare-4 4106900 29.08 ns/op BenchmarkCompare32-4 4949182 24.12 ns/op BenchmarkCopysign-4 3116383 38.36 ns/op BenchmarkCos-4 1323678 90.36 ns/op BenchmarkCosh-4 1411147 85.03 ns/op BenchmarkErf-4 2296210 54.31 ns/op BenchmarkErfc-4 2255709 55.35 ns/op BenchmarkErfinv-4 1888816 67.17 ns/op BenchmarkErfcinv-4 1900458 66.62 ns/op BenchmarkExp-4 4612195 42.83 ns/op BenchmarkExpGo-4 861020 135.0 ns/op BenchmarkExpm1-4 1979672 61.20 ns/op BenchmarkExp2-4 973334 124.6 ns/op BenchmarkExp2Go-4 910777 130.6 ns/op BenchmarkAbs-4 3966618 30.07 ns/op BenchmarkDim-4 8561186 13.94 ns/op BenchmarkFloor-4 18618939 6.043 ns/op BenchmarkMax-4 12770653 9.312 ns/op BenchmarkMin-4 13114314 9.364 ns/op BenchmarkMod-4 340620 341.6 ns/op BenchmarkFrexp-4 1982251 60.47 ns/op BenchmarkGamma-4 740920 159.4 ns/op BenchmarkHypot-4 9697231 23.99 ns/op BenchmarkHypotGo-4 1570645 77.00 ns/op BenchmarkIlogb-4 2376130 50.01 ns/op BenchmarkJ0-4 252594 491.0 ns/op BenchmarkJ1-4 267705 468.4 ns/op BenchmarkJn-4 124345 992.0 ns/op BenchmarkLdexp-4 1928214 61.56 ns/op BenchmarkLgamma-4 916525 132.3 ns/op BenchmarkLog-4 3084072 48.10 ns/op BenchmarkLogb-4 2423280 49.14 ns/op BenchmarkLog1p-4 1217904 97.60 ns/op BenchmarkLog10-4 2994784 49.84 ns/op BenchmarkLog2-4 1498299 82.27 ns/op BenchmarkModf-4 2893072 42.16 ns/op BenchmarkNextafter32-4 2775805 43.87 ns/op BenchmarkNextafter64-4 2770494 43.04 ns/op BenchmarkPowInt-4 596740 201.6 ns/op BenchmarkPowFrac-4 438667 292.1 ns/op BenchmarkPow10Pos-4 4596358 26.28 ns/op BenchmarkPow10Neg-4 4461872 26.50 ns/op BenchmarkRound-4 3762072 31.21 ns/op BenchmarkRoundToEven-4 8970397 13.22 ns/op BenchmarkRemainder-4 507344 238.0 ns/op BenchmarkSignbit-4 5455347 21.91 ns/op BenchmarkSin-4 1683367 71.02 ns/op BenchmarkSincos-4 1000000 108.9 ns/op BenchmarkSinh-4 1650486 72.20 ns/op BenchmarkSqrtIndirect-4 18284479 5.643 ns/op BenchmarkSqrtLatency-4 17816863 7.623 ns/op BenchmarkSqrtIndirectLatency-4 17694691 7.656 ns/op BenchmarkSqrtGoLatency-4 1000000 102.5 ns/op BenchmarkSqrtPrime-4 33541 3560 ns/op BenchmarkTan-4 1495282 82.40 ns/op BenchmarkTanh-4 1318666 90.76 ns/op BenchmarkTrunc-4 18808647 5.982 ns/op BenchmarkY0-4 264127 467.1 ns/op BenchmarkY1-4 258309 467.1 ns/op BenchmarkYn-4 127718 981.4 ns/op BenchmarkFloat64bits-4 5729457 21.00 ns/op BenchmarkFloat64frombits-4 5490051 21.69 ns/op BenchmarkFloat32bits-4 5408817 21.82 ns/op BenchmarkFloat32frombits-4 5725628 20.98 ns/op BenchmarkFMA-4 17704054 6.385 ns/op PASS ok math 12.771s goos: freebsd goarch: amd64 pkg: math/big cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAddVV/1-4 11944602 10.37 ns/op 6171.89 MB/s BenchmarkAddVV/2-4 10631125 11.18 ns/op 11447.96 MB/s BenchmarkAddVV/3-4 9766267 12.19 ns/op 15749.05 MB/s BenchmarkAddVV/4-4 9726114 12.48 ns/op 20504.95 MB/s BenchmarkAddVV/5-4 9010783 13.26 ns/op 24140.18 MB/s BenchmarkAddVV/10-4 7549844 15.76 ns/op 40615.03 MB/s BenchmarkAddVV/100-4 1672387 71.82 ns/op 89116.95 MB/s BenchmarkAddVV/1000-4 201076 580.2 ns/op 110313.10 MB/s BenchmarkSubVV/1-4 11957199 10.38 ns/op 6163.50 MB/s BenchmarkSubVV/2-4 9805578 12.39 ns/op 10328.73 MB/s BenchmarkSubVV/3-4 9854140 12.28 ns/op 15631.09 MB/s BenchmarkSubVV/4-4 9715276 12.24 ns/op 20914.92 MB/s BenchmarkSubVV/5-4 9006379 13.18 ns/op 24274.73 MB/s BenchmarkSubVV/10-4 7509490 15.92 ns/op 40198.35 MB/s BenchmarkSubVV/100-4 1670503 72.19 ns/op 88659.98 MB/s BenchmarkSubVV/1000-4 201800 582.4 ns/op 109888.22 MB/s BenchmarkAddVW/1-4 13365609 9.088 ns/op 880.25 MB/s BenchmarkAddVW/2-4 12367995 9.784 ns/op 1635.36 MB/s BenchmarkAddVW/3-4 11371978 10.52 ns/op 2281.72 MB/s BenchmarkAddVW/4-4 11291133 10.66 ns/op 3001.00 MB/s BenchmarkAddVW/5-4 10445352 11.40 ns/op 3509.05 MB/s BenchmarkAddVW/10-4 8930066 13.49 ns/op 5928.90 MB/s BenchmarkAddVW/100-4 314690 348.5 ns/op 2295.77 MB/s BenchmarkAddVW/1000-4 50310 2304 ns/op 3472.88 MB/s BenchmarkAddVWext/1-4 13039872 9.164 ns/op 873.00 MB/s BenchmarkAddVWext/2-4 12047839 10.03 ns/op 1595.28 MB/s BenchmarkAddVWext/3-4 10601179 11.40 ns/op 2105.63 MB/s BenchmarkAddVWext/4-4 11262487 10.61 ns/op 3016.65 MB/s BenchmarkAddVWext/5-4 10224843 11.44 ns/op 3496.53 MB/s BenchmarkAddVWext/10-4 8909421 13.50 ns/op 5926.45 MB/s BenchmarkAddVWext/100-4 89775 1345 ns/op 594.96 MB/s BenchmarkAddVWext/1000-4 8990 12990 ns/op 615.86 MB/s BenchmarkSubVW/1-4 13263492 9.092 ns/op 879.86 MB/s BenchmarkSubVW/2-4 12208304 9.835 ns/op 1626.79 MB/s BenchmarkSubVW/3-4 11547511 10.41 ns/op 2305.75 MB/s BenchmarkSubVW/4-4 11256303 10.65 ns/op 3004.02 MB/s BenchmarkSubVW/5-4 10499431 11.48 ns/op 3484.47 MB/s BenchmarkSubVW/10-4 8851270 13.58 ns/op 5890.69 MB/s BenchmarkSubVW/100-4 335625 358.7 ns/op 2230.28 MB/s BenchmarkSubVW/1000-4 52286 2263 ns/op 3534.56 MB/s BenchmarkSubVWext/1-4 13082062 9.101 ns/op 879.01 MB/s BenchmarkSubVWext/2-4 12399652 9.852 ns/op 1623.96 MB/s BenchmarkSubVWext/3-4 11189938 10.57 ns/op 2269.94 MB/s BenchmarkSubVWext/4-4 11158638 10.62 ns/op 3011.98 MB/s BenchmarkSubVWext/5-4 10471128 11.41 ns/op 3506.91 MB/s BenchmarkSubVWext/10-4 8863666 13.56 ns/op 5898.33 MB/s BenchmarkSubVWext/100-4 89758 1307 ns/op 611.99 MB/s BenchmarkSubVWext/1000-4 9110 12583 ns/op 635.80 MB/s BenchmarkMulAddVWW/1-4 10854312 11.00 ns/op 5819.31 MB/s BenchmarkMulAddVWW/2-4 10172875 12.11 ns/op 10571.43 MB/s BenchmarkMulAddVWW/3-4 9597750 12.62 ns/op 15218.84 MB/s BenchmarkMulAddVWW/4-4 8997458 13.37 ns/op 19153.89 MB/s BenchmarkMulAddVWW/5-4 8451553 14.25 ns/op 22456.89 MB/s BenchmarkMulAddVWW/10-4 6341606 18.95 ns/op 33772.18 MB/s BenchmarkMulAddVWW/100-4 1000000 107.6 ns/op 59491.57 MB/s BenchmarkMulAddVWW/1000-4 127515 928.3 ns/op 68945.14 MB/s BenchmarkAddMulVVW/1-4 12118980 9.894 ns/op 6468.71 MB/s BenchmarkAddMulVVW/2-4 10622332 11.34 ns/op 11285.95 MB/s BenchmarkAddMulVVW/3-4 9704926 12.25 ns/op 15667.90 MB/s BenchmarkAddMulVVW/4-4 8980213 13.41 ns/op 19090.77 MB/s BenchmarkAddMulVVW/5-4 8304595 14.58 ns/op 21949.16 MB/s BenchmarkAddMulVVW/10-4 6877796 17.42 ns/op 36742.76 MB/s BenchmarkAddMulVVW/100-4 1495888 80.66 ns/op 79349.91 MB/s BenchmarkAddMulVVW/1000-4 168295 709.9 ns/op 90154.29 MB/s BenchmarkDivWVW/1-4 2597559 45.90 ns/op 1394.46 MB/s BenchmarkDivWVW/2-4 1241306 101.6 ns/op 1259.69 MB/s BenchmarkDivWVW/3-4 951289 122.8 ns/op 1564.04 MB/s BenchmarkDivWVW/4-4 841962 143.1 ns/op 1788.41 MB/s BenchmarkDivWVW/5-4 789877 149.1 ns/op 2146.05 MB/s BenchmarkDivWVW/10-4 441283 268.5 ns/op 2384.04 MB/s BenchmarkDivWVW/100-4 57498 2107 ns/op 3037.84 MB/s BenchmarkDivWVW/1000-4 5982 19966 ns/op 3205.44 MB/s BenchmarkNonZeroShifts/1/shrVU-4 11483636 10.39 ns/op BenchmarkNonZeroShifts/1/shlVU-4 12180850 9.998 ns/op BenchmarkNonZeroShifts/2/shrVU-4 10678375 11.20 ns/op BenchmarkNonZeroShifts/2/shlVU-4 11106162 10.84 ns/op BenchmarkNonZeroShifts/3/shrVU-4 10073050 11.98 ns/op BenchmarkNonZeroShifts/3/shlVU-4 10144810 11.79 ns/op BenchmarkNonZeroShifts/4/shrVU-4 9297178 12.91 ns/op BenchmarkNonZeroShifts/4/shlVU-4 9561696 12.46 ns/op BenchmarkNonZeroShifts/5/shrVU-4 8617699 13.77 ns/op BenchmarkNonZeroShifts/5/shlVU-4 8965104 13.47 ns/op BenchmarkNonZeroShifts/10/shrVU-4 6639310 17.93 ns/op BenchmarkNonZeroShifts/10/shlVU-4 6850382 17.45 ns/op BenchmarkNonZeroShifts/100/shrVU-4 1000000 108.5 ns/op BenchmarkNonZeroShifts/100/shlVU-4 1298781 92.73 ns/op BenchmarkNonZeroShifts/1000/shrVU-4 129290 931.3 ns/op BenchmarkNonZeroShifts/1000/shlVU-4 154034 770.5 ns/op BenchmarkDecimalConversion-4 216 547789 ns/op BenchmarkFloatString/100-4 10000 10115 ns/op 392 B/op 8 allocs/op BenchmarkFloatString/1000-4 225 526236 ns/op 2915 B/op 10 allocs/op BenchmarkFloatString/10000-4 3 47730074 ns/op 61189 B/op 53 allocs/op BenchmarkFloatString/100000-4 1 4806697893 ns/op 830296 B/op 498 allocs/op BenchmarkFloatAdd/10-4 170179 692.9 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100-4 169009 699.9 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/1000-4 155311 769.4 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/10000-4 88022 1362 ns/op 0 B/op 0 allocs/op BenchmarkFloatAdd/100000-4 17403 6911 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10-4 228084 521.7 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100-4 227074 522.5 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/1000-4 224067 532.9 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/10000-4 161595 745.8 ns/op 0 B/op 0 allocs/op BenchmarkFloatSub/100000-4 45795 2614 ns/op 0 B/op 0 allocs/op BenchmarkParseFloatSmallExp-4 2066 58488 ns/op BenchmarkParseFloatLargeExp-4 468 258319 ns/op BenchmarkGCD10x10/WithoutXY-4 201021 589.4 ns/op BenchmarkGCD10x10/WithXY-4 60211 2012 ns/op BenchmarkGCD10x100/WithoutXY-4 103478 1178 ns/op BenchmarkGCD10x100/WithXY-4 17784 6905 ns/op BenchmarkGCD10x1000/WithoutXY-4 65470 1862 ns/op BenchmarkGCD10x1000/WithXY-4 14509 8325 ns/op BenchmarkGCD100x100/WithoutXY-4 25663 4610 ns/op BenchmarkGCD100x100/WithXY-4 9906 11268 ns/op BenchmarkGCD100x1000/WithoutXY-4 12566 9689 ns/op BenchmarkGCD100x1000/WithXY-4 6177 19004 ns/op BenchmarkGCD1000x1000/WithoutXY-4 2151 55242 ns/op BenchmarkGCD1000x1000/WithXY-4 1195 98224 ns/op BenchmarkHilbert-4 24 4978474 ns/op BenchmarkBinomial-4 13980 8550 ns/op BenchmarkQuoRem-4 20906 5933 ns/op BenchmarkExp-4 15 7589819 ns/op BenchmarkExpMont/Odd-4 124 960343 ns/op 2592 B/op 22 allocs/op BenchmarkExpMont/Even1-4 121 990333 ns/op 3364 B/op 38 allocs/op BenchmarkExpMont/Even2-4 100 1030144 ns/op 3885 B/op 54 allocs/op BenchmarkExpMont/Even3-4 100 1041359 ns/op 3849 B/op 53 allocs/op BenchmarkExpMont/Even4-4 100 1020416 ns/op 3854 B/op 53 allocs/op BenchmarkExpMont/Even8-4 100 1032005 ns/op 3802 B/op 52 allocs/op BenchmarkExpMont/Even32-4 100 1024158 ns/op 3876 B/op 54 allocs/op BenchmarkExpMont/Even64-4 141 846046 ns/op 3639 B/op 53 allocs/op BenchmarkExpMont/Even96-4 134 898119 ns/op 3766 B/op 51 allocs/op BenchmarkExpMont/Even128-4 157 749848 ns/op 3238 B/op 50 allocs/op BenchmarkExpMont/Even255-4 178 657378 ns/op 2950 B/op 47 allocs/op BenchmarkExpMont/SmallEven1-4 406 278947 ns/op 1312 B/op 34 allocs/op BenchmarkExpMont/SmallEven2-4 364 315247 ns/op 1751 B/op 47 allocs/op BenchmarkExpMont/SmallEven3-4 374 312366 ns/op 1747 B/op 47 allocs/op BenchmarkExpMont/SmallEven4-4 384 321343 ns/op 1737 B/op 47 allocs/op BenchmarkExp2-4 14 7645927 ns/op BenchmarkBitset-4 714243 158.2 ns/op BenchmarkBitsetNeg-4 431670 273.7 ns/op BenchmarkBitsetOrig-4 260311 470.3 ns/op BenchmarkBitsetNegOrig-4 166449 724.9 ns/op BenchmarkModSqrt225_Tonelli-4 100 1055138 ns/op BenchmarkModSqrt225_3Mod4-4 370 320961 ns/op BenchmarkModSqrt231_Tonelli-4 100 1092117 ns/op BenchmarkModSqrt231_5Mod8-4 310 384639 ns/op BenchmarkModInverse-4 13167 9284 ns/op BenchmarkSqrt-4 1652 71075 ns/op BenchmarkIntSqr/1-4 1376588 88.13 ns/op BenchmarkIntSqr/2-4 726361 162.4 ns/op BenchmarkIntSqr/3-4 616254 194.1 ns/op BenchmarkIntSqr/5-4 403059 273.5 ns/op BenchmarkIntSqr/8-4 307671 381.5 ns/op BenchmarkIntSqr/10-4 247522 477.6 ns/op BenchmarkIntSqr/20-4 49453 2538 ns/op BenchmarkIntSqr/30-4 35582 3420 ns/op BenchmarkIntSqr/50-4 22734 5399 ns/op BenchmarkIntSqr/80-4 13543 8911 ns/op BenchmarkIntSqr/100-4 8868 11708 ns/op BenchmarkIntSqr/200-4 3715 30348 ns/op BenchmarkIntSqr/300-4 1528 69840 ns/op BenchmarkIntSqr/500-4 817 152486 ns/op BenchmarkIntSqr/800-4 308 391871 ns/op BenchmarkIntSqr/1000-4 222 530237 ns/op BenchmarkDiv/20/10-4 410630 283.3 ns/op BenchmarkDiv/40/20-4 416962 285.9 ns/op BenchmarkDiv/100/50-4 359470 326.4 ns/op BenchmarkDiv/200/100-4 50104 2428 ns/op BenchmarkDiv/400/200-4 47876 2546 ns/op BenchmarkDiv/1000/500-4 39540 3130 ns/op BenchmarkDiv/2000/1000-4 30136 4128 ns/op BenchmarkDiv/20000/10000-4 1058 112206 ns/op BenchmarkDiv/200000/100000-4 26 4643039 ns/op BenchmarkDiv/2000000/1000000-4 1 125849568 ns/op BenchmarkDiv/20000000/10000000-4 1 3724963863 ns/op BenchmarkMul-4 5 22273015 ns/op BenchmarkNatMul/10-4 169249 660.6 ns/op BenchmarkNatMul/100-4 5593 21069 ns/op BenchmarkNatMul/1000-4 177 669388 ns/op BenchmarkZeroShifts/Shl-4 16436 7236 ns/op BenchmarkZeroShifts/ShlSame-4 4974993 23.66 ns/op BenchmarkZeroShifts/Shr-4 17884 7798 ns/op BenchmarkZeroShifts/ShrSame-4 4555107 23.85 ns/op BenchmarkExp3Power/0x10-4 189772 652.6 ns/op BenchmarkExp3Power/0x40-4 158443 753.3 ns/op BenchmarkExp3Power/0x100-4 97070 1238 ns/op BenchmarkExp3Power/0x400-4 43807 2675 ns/op BenchmarkExp3Power/0x1000-4 9103 12127 ns/op BenchmarkExp3Power/0x4000-4 1954 61322 ns/op BenchmarkExp3Power/0x10000-4 214 557466 ns/op BenchmarkExp3Power/0x40000-4 19 5955280 ns/op BenchmarkExp3Power/0x100000-4 2 58695731 ns/op BenchmarkExp3Power/0x400000-4 1 533851947 ns/op BenchmarkFibo-4 3 39218016 ns/op BenchmarkNatSqr/1-4 1000000 137.1 ns/op BenchmarkNatSqr/2-4 554258 215.9 ns/op BenchmarkNatSqr/3-4 441990 290.6 ns/op BenchmarkNatSqr/5-4 320770 403.6 ns/op BenchmarkNatSqr/8-4 212814 566.9 ns/op BenchmarkNatSqr/10-4 176662 740.7 ns/op BenchmarkNatSqr/20-4 42783 2787 ns/op BenchmarkNatSqr/30-4 32232 3811 ns/op BenchmarkNatSqr/50-4 19482 6111 ns/op BenchmarkNatSqr/80-4 10000 10054 ns/op BenchmarkNatSqr/100-4 8815 12913 ns/op BenchmarkNatSqr/200-4 3134 33506 ns/op BenchmarkNatSqr/300-4 1609 78988 ns/op BenchmarkNatSqr/500-4 770 155305 ns/op BenchmarkNatSqr/800-4 325 363493 ns/op BenchmarkNatSqr/1000-4 242 495271 ns/op BenchmarkNatSetBytes/8-4 799670 147.8 ns/op BenchmarkNatSetBytes/24-4 238159 501.2 ns/op BenchmarkNatSetBytes/128-4 55530 2148 ns/op BenchmarkNatSetBytes/7-4 871200 131.5 ns/op BenchmarkNatSetBytes/23-4 248103 486.5 ns/op BenchmarkNatSetBytes/127-4 56170 2140 ns/op BenchmarkScanPi-4 259 465481 ns/op BenchmarkStringPiParallel-4 703 146057 ns/op BenchmarkScan/10/Base2-4 42513 2844 ns/op BenchmarkScan/100/Base2-4 4804 24684 ns/op BenchmarkScan/1000/Base2-4 488 242919 ns/op BenchmarkScan/10/Base8-4 98043 1195 ns/op BenchmarkScan/100/Base8-4 13717 8775 ns/op BenchmarkScan/1000/Base8-4 1410 85034 ns/op BenchmarkScan/10/Base10-4 109714 1094 ns/op BenchmarkScan/100/Base10-4 15148 7870 ns/op BenchmarkScan/1000/Base10-4 1522 77054 ns/op BenchmarkScan/10/Base16-4 121849 997.8 ns/op BenchmarkScan/100/Base16-4 16924 7069 ns/op BenchmarkScan/1000/Base16-4 1689 69809 ns/op BenchmarkString/10/Base2-4 174057 683.1 ns/op BenchmarkString/100/Base2-4 23515 5136 ns/op BenchmarkString/1000/Base2-4 2442 48312 ns/op BenchmarkString/10/Base8-4 359704 337.3 ns/op BenchmarkString/100/Base8-4 63182 1888 ns/op BenchmarkString/1000/Base8-4 7004 17287 ns/op BenchmarkString/10/Base10-4 203504 594.1 ns/op BenchmarkString/100/Base10-4 38955 3084 ns/op BenchmarkString/1000/Base10-4 4900 24136 ns/op BenchmarkString/10/Base16-4 407176 292.1 ns/op BenchmarkString/100/Base16-4 82957 1426 ns/op BenchmarkString/1000/Base16-4 9398 12621 ns/op BenchmarkLeafSize/0-4 45 2533395 ns/op BenchmarkLeafSize/1-4 414 281445 ns/op BenchmarkLeafSize/2-4 421 279854 ns/op BenchmarkLeafSize/3-4 306 387367 ns/op BenchmarkLeafSize/4-4 432 274147 ns/op BenchmarkLeafSize/5-4 274 432836 ns/op BenchmarkLeafSize/6-4 315 378739 ns/op BenchmarkLeafSize/7-4 332 357008 ns/op BenchmarkLeafSize/8-4 436 270929 ns/op BenchmarkLeafSize/9-4 231 510667 ns/op BenchmarkLeafSize/10-4 276 431651 ns/op BenchmarkLeafSize/11-4 288 415970 ns/op BenchmarkLeafSize/12-4 318 379306 ns/op BenchmarkLeafSize/13-4 295 411672 ns/op BenchmarkLeafSize/14-4 333 358339 ns/op BenchmarkLeafSize/15-4 360 338750 ns/op BenchmarkLeafSize/16-4 444 269995 ns/op BenchmarkLeafSize/32-4 432 273048 ns/op BenchmarkLeafSize/64-4 403 299224 ns/op BenchmarkProbablyPrime/n=0-4 9 11690646 ns/op BenchmarkProbablyPrime/n=1-4 8 13235029 ns/op BenchmarkProbablyPrime/n=5-4 6 19395562 ns/op BenchmarkProbablyPrime/n=10-4 4 26706178 ns/op BenchmarkProbablyPrime/n=20-4 3 41708806 ns/op BenchmarkProbablyPrime/Lucas-4 10 10093774 ns/op BenchmarkProbablyPrime/MillerRabinBase2-4 74 1545485 ns/op BenchmarkRatCmp-4 216363 548.1 ns/op BenchmarkFloatSqrt/64-4 22796 5294 ns/op 208 B/op 5 allocs/op BenchmarkFloatSqrt/128-4 14133 8427 ns/op 256 B/op 5 allocs/op BenchmarkFloatSqrt/256-4 8966 11960 ns/op 352 B/op 5 allocs/op BenchmarkFloatSqrt/1000-4 4813 23739 ns/op 1312 B/op 6 allocs/op BenchmarkFloatSqrt/10000-4 829 144367 ns/op 17858 B/op 9 allocs/op BenchmarkFloatSqrt/100000-4 57 1875508 ns/op 175597 B/op 20 allocs/op BenchmarkFloatSqrt/1000000-4 1 141316598 ns/op 3827312 B/op 652 allocs/op PASS ok math/big 50.426s goos: freebsd goarch: amd64 pkg: math/bits cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLeadingZeros-4 9925122 12.20 ns/op BenchmarkLeadingZeros8-4 9519032 12.60 ns/op BenchmarkLeadingZeros16-4 10217462 11.74 ns/op BenchmarkLeadingZeros32-4 10491982 11.41 ns/op BenchmarkLeadingZeros64-4 10502874 11.36 ns/op BenchmarkTrailingZeros-4 10217094 11.54 ns/op BenchmarkTrailingZeros8-4 10360411 11.60 ns/op BenchmarkTrailingZeros16-4 10081777 11.71 ns/op BenchmarkTrailingZeros32-4 10653273 11.29 ns/op BenchmarkTrailingZeros64-4 10379368 11.58 ns/op BenchmarkOnesCount-4 10153371 11.91 ns/op BenchmarkOnesCount8-4 11244099 10.74 ns/op BenchmarkOnesCount16-4 10547260 11.37 ns/op BenchmarkOnesCount32-4 10508566 11.53 ns/op BenchmarkOnesCount64-4 9426394 12.60 ns/op BenchmarkRotateLeft-4 10951654 11.23 ns/op BenchmarkRotateLeft8-4 10484965 11.60 ns/op BenchmarkRotateLeft16-4 10895457 11.04 ns/op BenchmarkRotateLeft32-4 10297605 11.46 ns/op BenchmarkRotateLeft64-4 10416033 11.40 ns/op BenchmarkReverse-4 14420595 7.882 ns/op BenchmarkReverse8-4 18832671 5.989 ns/op BenchmarkReverse16-4 16621250 6.389 ns/op BenchmarkReverse32-4 15179506 7.540 ns/op BenchmarkReverse64-4 14394430 7.919 ns/op BenchmarkReverseBytes-4 18737743 6.003 ns/op BenchmarkReverseBytes16-4 18485392 6.012 ns/op BenchmarkReverseBytes32-4 18865600 5.978 ns/op BenchmarkReverseBytes64-4 18813320 5.989 ns/op BenchmarkAdd-4 10322725 11.74 ns/op BenchmarkAdd32-4 10895092 10.94 ns/op BenchmarkAdd64-4 10286079 11.60 ns/op BenchmarkAdd64multiple-4 17415774 6.774 ns/op BenchmarkSub-4 9937122 11.98 ns/op BenchmarkSub32-4 10184610 11.65 ns/op BenchmarkSub64-4 10153921 11.67 ns/op BenchmarkSub64multiple-4 17491101 6.824 ns/op BenchmarkMul-4 10637295 11.22 ns/op BenchmarkMul32-4 10980709 10.70 ns/op BenchmarkMul64-4 10644048 11.21 ns/op BenchmarkDiv-4 2702899 44.11 ns/op BenchmarkDiv32-4 5628414 21.33 ns/op BenchmarkDiv64-4 2675028 44.63 ns/op PASS ok math/bits 6.785s goos: freebsd goarch: amd64 pkg: math/cmplx cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAbs-4 10268346 23.79 ns/op BenchmarkAcos-4 402364 282.9 ns/op BenchmarkAcosh-4 416565 301.6 ns/op BenchmarkAsin-4 455268 282.0 ns/op BenchmarkAsinh-4 443985 282.1 ns/op BenchmarkAtan-4 732758 201.6 ns/op BenchmarkAtanh-4 728485 201.9 ns/op BenchmarkConj-4 18514726 6.519 ns/op BenchmarkCos-4 548622 207.9 ns/op BenchmarkCosh-4 607404 206.5 ns/op BenchmarkExp-4 817791 158.2 ns/op BenchmarkLog-4 817702 160.7 ns/op BenchmarkLog10-4 816044 160.7 ns/op BenchmarkPhase-4 1721346 69.78 ns/op BenchmarkPolar-4 1000000 106.2 ns/op BenchmarkPow-4 231877 589.2 ns/op BenchmarkRect-4 1000000 108.2 ns/op BenchmarkSin-4 594367 207.0 ns/op BenchmarkSinh-4 602572 209.5 ns/op BenchmarkSqrt-4 993726 121.0 ns/op BenchmarkTan-4 368565 343.2 ns/op BenchmarkTanh-4 402638 320.4 ns/op PASS ok math/cmplx 4.133s goos: freebsd goarch: amd64 pkg: math/rand cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkInt63Threadsafe-4 717409 166.5 ns/op BenchmarkInt63ThreadsafeParallel-4 546864 232.7 ns/op BenchmarkInt63Unthreadsafe-4 1288762 92.67 ns/op BenchmarkIntn1000-4 876519 134.5 ns/op BenchmarkInt63n1000-4 916968 124.5 ns/op BenchmarkInt31n1000-4 1000000 115.7 ns/op BenchmarkFloat32-4 1000000 112.1 ns/op BenchmarkFloat64-4 1279929 93.62 ns/op BenchmarkPerm3-4 191643 605.4 ns/op BenchmarkPerm30-4 23272 5061 ns/op BenchmarkPerm30ViaShuffle-4 25770 4641 ns/op BenchmarkShuffleOverhead-4 18084 6633 ns/op BenchmarkRead3-4 912106 130.8 ns/op BenchmarkRead64-4 79335 1513 ns/op BenchmarkRead1000-4 5266 22233 ns/op BenchmarkConcurrent-4 131848 944.6 ns/op PASS ok math/rand 3.514s goos: freebsd goarch: amd64 pkg: mime cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkQEncodeWord-4 45246 2664 ns/op BenchmarkQDecodeWord-4 105588 1085 ns/op BenchmarkQDecodeHeader-4 100813 1178 ns/op BenchmarkTypeByExtension/.html-4 368686 278.1 ns/op BenchmarkTypeByExtension/.HTML-4 263428 413.7 ns/op BenchmarkTypeByExtension/.unused-4 374398 314.1 ns/op BenchmarkExtensionsByType/text/html-4 192781 623.9 ns/op BenchmarkExtensionsByType/text/html;_charset=utf-8-4 111472 1082 ns/op BenchmarkExtensionsByType/application/octet-stream-4 191299 644.4 ns/op PASS ok mime 2.249s goos: freebsd goarch: amd64 pkg: mime/multipart cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadForm/fields/maxMemory=0-4 648 184713 ns/op 48193 B/op 187 allocs/op BenchmarkReadForm/fields/maxMemory=1048576-4 675 176737 ns/op 47192 B/op 186 allocs/op BenchmarkReadForm/files/maxMemory=0-4 267 447411 ns/op 104735 B/op 271 allocs/op BenchmarkReadForm/files/maxMemory=1048576-4 524 231150 ns/op 48722 B/op 206 allocs/op PASS ok mime/multipart 1.796s goos: freebsd goarch: amd64 pkg: mime/quotedprintable cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkWriter-4 1014 114692 ns/op PASS ok mime/quotedprintable 1.211s goos: freebsd goarch: amd64 pkg: net cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkGoLookupIP-4 75 1601834 ns/op 8497 B/op 91 allocs/op BenchmarkGoLookupIPNoSuchHost-4 18 6683370 ns/op 19386 B/op 160 allocs/op BenchmarkGoLookupIPWithBrokenNameServer-4 1 5050452533 ns/op 157816 B/op 223 allocs/op BenchmarkDNSName-4 110712 985.7 ns/op BenchmarkInterfaces-4 5762 20418 ns/op 3320 B/op 41 allocs/op BenchmarkInterfaceByIndex-4 9392 12803 ns/op 1944 B/op 29 allocs/op BenchmarkInterfaceByName-4 5662 20383 ns/op 3384 B/op 42 allocs/op BenchmarkInterfaceAddrs-4 5482 18978 ns/op 3272 B/op 48 allocs/op BenchmarkInterfacesAndAddrs-4 8862 13523 ns/op 2088 B/op 35 allocs/op BenchmarkInterfacesAndMulticastAddrs-4 6644 17868 ns/op 3168 B/op 50 allocs/op BenchmarkParseIP-4 7052 16713 ns/op BenchmarkParseIPValidIPv4-4 367900 321.9 ns/op BenchmarkParseIPValidIPv6-4 193332 618.3 ns/op BenchmarkIPString/IPv4-4 113366 1034 ns/op 32 B/op 2 allocs/op BenchmarkIPString/IPv6-4 9772 10999 ns/op 216 B/op 11 allocs/op BenchmarkIPMaskString-4 50290 2365 ns/op BenchmarkIPEqual/IPv4-4 1115136 106.7 ns/op BenchmarkIPEqual/IPv6-4 1113638 104.9 ns/op BenchmarkTCP4OneShot-4 3458 33038 ns/op BenchmarkTCP4OneShotTimeout-4 3320 36272 ns/op BenchmarkTCP4Persistent-4 14216 8553 ns/op BenchmarkTCP4PersistentTimeout-4 14604 8218 ns/op BenchmarkTCP6OneShot-4 3475 34434 ns/op BenchmarkTCP6OneShotTimeout-4 3116 34483 ns/op BenchmarkTCP6Persistent-4 13656 8286 ns/op BenchmarkTCP6PersistentTimeout-4 14666 8315 ns/op BenchmarkTCP4ConcurrentReadWrite-4 10000 25450 ns/op BenchmarkTCP6ConcurrentReadWrite-4 10000 26726 ns/op BenchmarkSetReadDeadline-4 134058 919.2 ns/op BenchmarkUDP6LinkLocalUnicast-4 8428 13915 ns/op BenchmarkReadWriteMsgUDPAddrPort-4 12157 10136 ns/op 0 B/op 0 allocs/op BenchmarkWriteToReadFromUDP-4 12325 9585 ns/op 16 B/op 1 allocs/op BenchmarkWriteToReadFromUDPAddrPort-4 12268 9498 ns/op 0 B/op 0 allocs/op PASS ok net 11.875s goos: freebsd goarch: amd64 pkg: net/http cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCookieString-4 29184 3967 ns/op 176 B/op 1 allocs/op BenchmarkReadSetCookies-4 11322 10871 ns/op 1168 B/op 21 allocs/op BenchmarkReadCookies-4 14557 8103 ns/op 1840 B/op 11 allocs/op BenchmarkHeaderWriteSubset-4 18687 6389 ns/op 45 B/op 0 allocs/op BenchmarkCopyValues-4 35158 3395 ns/op 736 B/op 11 allocs/op BenchmarkHexEscapeNonASCII-4 51162 2343 ns/op 192 B/op 2 allocs/op BenchmarkServerMatch-4 883390 133.8 ns/op BenchmarkReadRequestChrome-4 3493 29287 ns/op 20.86 MB/s 1476 B/op 14 allocs/op BenchmarkReadRequestCurl-4 11554 10271 ns/op 7.59 MB/s 923 B/op 9 allocs/op BenchmarkReadRequestApachebench-4 10000 10365 ns/op 7.91 MB/s 924 B/op 9 allocs/op BenchmarkReadRequestSiege-4 6786 15671 ns/op 9.64 MB/s 1020 B/op 11 allocs/op BenchmarkReadRequestWrk-4 18378 6514 ns/op 6.14 MB/s 860 B/op 7 allocs/op BenchmarkFileAndServer_1KB/h1-4 304 402719 ns/op 2.54 MB/s BenchmarkFileAndServer_1KB/https1-4 194 563644 ns/op 1.82 MB/s BenchmarkFileAndServer_1KB/h2-4 144 802654 ns/op 1.28 MB/s BenchmarkFileAndServer_16MB/h1-4 3 50719759 ns/op 330.78 MB/s BenchmarkFileAndServer_16MB/https1-4 1 116209661 ns/op 144.37 MB/s BenchmarkFileAndServer_16MB/h2-4 1 238022414 ns/op 70.49 MB/s BenchmarkFileAndServer_64MB/h1-4 1 201271816 ns/op 333.42 MB/s BenchmarkFileAndServer_64MB/https1-4 1 406290027 ns/op 165.17 MB/s BenchmarkFileAndServer_64MB/h2-4 1 902533066 ns/op 74.36 MB/s BenchmarkServeMux-4 289 442835 ns/op 17280 B/op 360 allocs/op BenchmarkServeMux_SkipServe-4 362 348556 ns/op 0 B/op 0 allocs/op BenchmarkClientServer/h1-4 318 378486 ns/op 5906 B/op 64 allocs/op BenchmarkClientServer/https1-4 204 529114 ns/op 6701 B/op 75 allocs/op BenchmarkClientServer/h2-4 152 714144 ns/op 10615 B/op 84 allocs/op BenchmarkClientServerParallel/4/h1-4 1159 98956 ns/op 10214 B/op 80 allocs/op BenchmarkClientServerParallel/4/https1-4 40 3320719 ns/op 78542 B/op 862 allocs/op --- BENCH: BenchmarkClientServerParallel/4/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:61384: write tcp 127.0.0.1:61378->127.0.0.1:61384: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:61380: write tcp 127.0.0.1:61378->127.0.0.1:61380: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:61401: write tcp 127.0.0.1:61385->127.0.0.1:61401: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:61391: write tcp 127.0.0.1:61385->127.0.0.1:61391: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:61408: read tcp 127.0.0.1:61385->127.0.0.1:61408: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:61407: read tcp 127.0.0.1:61385->127.0.0.1:61407: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:61405: read tcp 127.0.0.1:61385->127.0.0.1:61405: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:61409: read tcp 127.0.0.1:61385->127.0.0.1:61409: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:61410: read tcp 127.0.0.1:61385->127.0.0.1:61410: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:61411: read tcp 127.0.0.1:61385->127.0.0.1:61411: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/4/h2-4 303 350846 ns/op 14051 B/op 134 allocs/op --- BENCH: BenchmarkClientServerParallel/4/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:61448: read tcp 127.0.0.1:61446->127.0.0.1:61448: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:61452: write tcp 127.0.0.1:61446->127.0.0.1:61452: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:61447: write tcp 127.0.0.1:61446->127.0.0.1:61447: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:61501: read tcp 127.0.0.1:61487->127.0.0.1:61501: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:61502: write tcp 127.0.0.1:61487->127.0.0.1:61502: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:61513: write tcp 127.0.0.1:61504->127.0.0.1:61513: use of closed network connection BenchmarkClientServerParallel/64/h1-4 849 158879 ns/op 17960 B/op 107 allocs/op BenchmarkClientServerParallel/64/https1-4 32 4558729 ns/op 106692 B/op 1165 allocs/op --- BENCH: BenchmarkClientServerParallel/64/https1-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:62351: read tcp 127.0.0.1:62348->127.0.0.1:62351: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:62353: read tcp 127.0.0.1:62348->127.0.0.1:62353: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:62349: read tcp 127.0.0.1:62348->127.0.0.1:62349: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:62350: write tcp 127.0.0.1:62348->127.0.0.1:62350: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:62366: read tcp 127.0.0.1:62355->127.0.0.1:62366: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:62361: read tcp 127.0.0.1:62355->127.0.0.1:62361: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:62374: write tcp 127.0.0.1:62355->127.0.0.1:62374: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:62373: read tcp 127.0.0.1:62355->127.0.0.1:62373: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:62359: write tcp 127.0.0.1:62355->127.0.0.1:62359: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:62372: read tcp 127.0.0.1:62355->127.0.0.1:62372: use of closed network connection ... [output truncated] BenchmarkClientServerParallel/64/h2-4 63 2541225 ns/op 63722 B/op 718 allocs/op --- BENCH: BenchmarkClientServerParallel/64/h2-4 clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:62417: read tcp 127.0.0.1:62412->127.0.0.1:62417: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:62424: read tcp 127.0.0.1:62419->127.0.0.1:62424: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:62435: read tcp 127.0.0.1:62419->127.0.0.1:62435: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:62440: write tcp 127.0.0.1:62419->127.0.0.1:62440: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:62427: read tcp 127.0.0.1:62419->127.0.0.1:62427: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:62430: read tcp 127.0.0.1:62419->127.0.0.1:62430: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:62432: read tcp 127.0.0.1:62419->127.0.0.1:62432: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:62436: read tcp 127.0.0.1:62419->127.0.0.1:62436: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:62425: read tcp 127.0.0.1:62419->127.0.0.1:62425: use of closed network connection clientserver_test.go:210: server log: http: TLS handshake error from 127.0.0.1:62426: read tcp 127.0.0.1:62419->127.0.0.1:62426: use of closed network connection ... [output truncated] BenchmarkServer-4 1 1099754197 ns/op 28056 B/op 142 allocs/op BenchmarkClient-4 258 463385 ns/op 3747 B/op 45 allocs/op BenchmarkServerFakeConnNoKeepAlive-4 555 209167 ns/op 7155 B/op 54 allocs/op BenchmarkServerFakeConnWithKeepAlive-4 1086 98283 ns/op 3111 B/op 24 allocs/op BenchmarkServerFakeConnWithKeepAliveLite-4 1473 74470 ns/op 1860 B/op 13 allocs/op BenchmarkServerHandlerTypeLen-4 1567 77183 ns/op 2776 B/op 21 allocs/op BenchmarkServerHandlerNoLen-4 1581 74769 ns/op 2694 B/op 19 allocs/op BenchmarkServerHandlerNoType-4 1495 74734 ns/op 2661 B/op 20 allocs/op BenchmarkServerHandlerNoHeader-4 1604 70827 ns/op 1910 B/op 14 allocs/op BenchmarkServerHijack-4 838 152825 ns/op 16718 B/op 50 allocs/op BenchmarkCloseNotifier/h1-4 420 276037 ns/op 5815 B/op 53 allocs/op BenchmarkResponseStatusLine-4 459662 227.7 ns/op 0 B/op 0 allocs/op PASS ok net/http 16.123s goos: freebsd goarch: amd64 pkg: net/http/httputil cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkServeHTTP-4 4294 34594 ns/op 34073 B/op 12 allocs/op PASS ok net/http/httputil 1.297s goos: freebsd goarch: amd64 pkg: net/netip cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkIPNextPrev-4 87878 1316 ns/op BenchmarkBinaryMarshalRoundTrip/ipv4-4 487052 211.3 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6-4 191926 620.4 ns/op BenchmarkBinaryMarshalRoundTrip/ipv6+zone-4 68809 1768 ns/op BenchmarkStdIPv4-4 130072 919.4 ns/op 16 B/op 1 allocs/op BenchmarkIPv4-4 82521 1432 ns/op 0 B/op 0 allocs/op BenchmarkIPv4_inline-4 84837 1412 ns/op 0 B/op 0 allocs/op BenchmarkStdIPv6-4 83178 1436 ns/op 16 B/op 1 allocs/op BenchmarkIPv6-4 66046 1795 ns/op 0 B/op 0 allocs/op BenchmarkIPv4Contains-4 1550510 76.94 ns/op 0 B/op 0 allocs/op BenchmarkIPv6Contains-4 1426698 83.80 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v4-4 1343619 89.85 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6-4 273033 440.0 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_ellipsis-4 292368 408.9 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_v4-4 262498 456.8 ns/op 0 B/op 0 allocs/op BenchmarkParseAddr/v6_zone-4 85132 1418 ns/op 0 B/op 0 allocs/op BenchmarkStdParseIP/v4-4 290568 410.5 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6-4 150339 775.1 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_ellipsis-4 160242 738.6 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_v4-4 151111 782.5 ns/op 16 B/op 1 allocs/op BenchmarkStdParseIP/v6_zone-4 78790 1540 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v4-4 383292 310.3 ns/op 16 B/op 1 allocs/op BenchmarkIPString/v6-4 129032 922.6 ns/op 48 B/op 1 allocs/op BenchmarkIPString/v6_ellipsis-4 169065 689.5 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_v4-4 264452 449.3 ns/op 24 B/op 1 allocs/op BenchmarkIPString/v6_zone-4 156267 749.4 ns/op 24 B/op 1 allocs/op BenchmarkIPStringExpanded/v4-4 327964 350.1 ns/op 16 B/op 1 allocs/op BenchmarkIPStringExpanded/v6-4 156511 754.6 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_ellipsis-4 156555 755.1 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_v4-4 154578 749.8 ns/op 48 B/op 1 allocs/op BenchmarkIPStringExpanded/v6_zone-4 121137 986.2 ns/op 128 B/op 2 allocs/op BenchmarkIPMarshalText-4 470918 243.5 ns/op 16 B/op 1 allocs/op BenchmarkAddrPortString/v4-4 159396 728.7 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortString/v6-4 93964 1259 ns/op 112 B/op 3 allocs/op BenchmarkAddrPortString/v6_ellipsis-4 120824 984.9 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_v4-4 169268 708.4 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortString/v6_zone-4 115656 1048 ns/op 72 B/op 3 allocs/op BenchmarkAddrPortMarshalText/v4-4 275060 428.9 ns/op 24 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6-4 115893 987.9 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_ellipsis-4 141385 841.9 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_v4-4 187720 625.0 ns/op 64 B/op 1 allocs/op BenchmarkAddrPortMarshalText/v6_zone-4 135318 889.5 ns/op 64 B/op 1 allocs/op BenchmarkPrefixMasking/IPv4_/32-4 1000000 112.4 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/17-4 1000000 113.6 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv4_/0-4 1000000 113.1 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/128-4 993206 118.7 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/65-4 985826 118.9 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_/0-4 984307 118.5 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/128-4 1000000 119.4 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/65-4 987001 119.0 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMasking/IPv6_zone_/0-4 1000000 118.9 ns/op 0 B/op 0 allocs/op BenchmarkPrefixMarshalText-4 353365 332.3 ns/op 24 B/op 1 allocs/op BenchmarkParseAddrPort/v4-4 564452 208.8 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6-4 209017 564.6 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_ellipsis-4 224169 528.1 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_v4-4 204097 580.3 ns/op 0 B/op 0 allocs/op BenchmarkParseAddrPort/v6_zone-4 77965 1565 ns/op 0 B/op 0 allocs/op BenchmarkAs16-4 510878 225.3 ns/op PASS ok net/netip 8.718s 2023/05/25 00:49:14 Test RPC server listening on 127.0.0.1:63091 2023/05/25 00:49:14 Test HTTP RPC server listening on 127.0.0.1:63092 goos: freebsd goarch: amd64 pkg: net/rpc cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEndToEnd-4 1686 70018 ns/op BenchmarkEndToEndHTTP-4 1482 71175 ns/op BenchmarkEndToEndAsync-4 3627 32174 ns/op BenchmarkEndToEndAsyncHTTP-4 3786 31975 ns/op PASS ok net/rpc 1.798s goos: freebsd goarch: amd64 pkg: net/textproto cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkReadMIMEHeader/client_headers-4 3232 33646 ns/op BenchmarkReadMIMEHeader/server_headers-4 5528 21786 ns/op BenchmarkUncommon-4 26518 4404 ns/op 464 B/op 5 allocs/op PASS ok net/textproto 1.583s goos: freebsd goarch: amd64 pkg: net/url cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkString-4 4210 24300 ns/op 1616 B/op 60 allocs/op BenchmarkResolvePath-4 98820 1165 ns/op 32 B/op 2 allocs/op BenchmarkQueryEscape/#00-4 593030 196.4 ns/op 16 B/op 1 allocs/op BenchmarkQueryEscape/#01-4 97504 1225 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#02-4 183459 642.1 ns/op 32 B/op 1 allocs/op BenchmarkQueryEscape/#03-4 86871 1382 ns/op 64 B/op 1 allocs/op BenchmarkQueryEscape/#04-4 14841 8044 ns/op 832 B/op 2 allocs/op BenchmarkPathEscape/#00-4 399266 290.7 ns/op 16 B/op 1 allocs/op BenchmarkPathEscape/#01-4 95158 1264 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#02-4 181344 646.3 ns/op 32 B/op 1 allocs/op BenchmarkPathEscape/#03-4 85716 1397 ns/op 64 B/op 1 allocs/op BenchmarkPathEscape/#04-4 16317 7353 ns/op 704 B/op 2 allocs/op BenchmarkQueryUnescape/#00-4 203922 577.0 ns/op 16 B/op 1 allocs/op BenchmarkQueryUnescape/#01-4 81877 1448 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#02-4 81206 1483 ns/op 24 B/op 1 allocs/op BenchmarkQueryUnescape/#03-4 37006 3244 ns/op 64 B/op 1 allocs/op BenchmarkQueryUnescape/#04-4 6381 17778 ns/op 320 B/op 1 allocs/op BenchmarkPathUnescape/#00-4 204960 575.1 ns/op 16 B/op 1 allocs/op BenchmarkPathUnescape/#01-4 80973 1460 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#02-4 80582 1486 ns/op 24 B/op 1 allocs/op BenchmarkPathUnescape/#03-4 36882 3224 ns/op 64 B/op 1 allocs/op BenchmarkPathUnescape/#04-4 6759 17404 ns/op 320 B/op 1 allocs/op PASS ok net/url 4.134s goos: freebsd goarch: amd64 pkg: os cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExpand/noop-4 3289657 36.16 ns/op 0 B/op 0 allocs/op BenchmarkExpand/multiple-4 156961 696.5 ns/op 48 B/op 2 allocs/op BenchmarkReaddirname-4 916 126316 ns/op --- BENCH: BenchmarkReaddirname-4 os_test.go:512: benchmarkReaddirname ".": 130 entries os_test.go:512: benchmarkReaddirname ".": 130 entries os_test.go:512: benchmarkReaddirname ".": 130 entries BenchmarkReaddir-4 324 362984 ns/op --- BENCH: BenchmarkReaddir-4 os_test.go:529: benchmarkReaddir ".": 130 entries os_test.go:529: benchmarkReaddir ".": 130 entries os_test.go:529: benchmarkReaddir ".": 130 entries BenchmarkReadDir-4 697 165666 ns/op --- BENCH: BenchmarkReadDir-4 os_test.go:546: benchmarkReadDir ".": 130 entries os_test.go:546: benchmarkReadDir ".": 130 entries os_test.go:546: benchmarkReadDir ".": 130 entries BenchmarkStatDot-4 84126 1406 ns/op BenchmarkStatFile-4 73930 1631 ns/op BenchmarkStatDir-4 78643 1549 ns/op BenchmarkLstatDot-4 86552 1394 ns/op BenchmarkLstatFile-4 73659 1639 ns/op BenchmarkLstatDir-4 78213 1545 ns/op PASS ok os 2.624s goos: freebsd goarch: amd64 pkg: os/exec cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExecHostname-4 54 2230240 ns/op 6551 B/op 29 allocs/op PASS ok os/exec 1.303s goos: freebsd goarch: amd64 pkg: os/user cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCurrent-4 431130 276.7 ns/op PASS ok os/user 1.412s goos: freebsd goarch: amd64 pkg: reflect cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkBool-4 4030102 29.40 ns/op BenchmarkString-4 2325380 51.75 ns/op BenchmarkBytes-4 2013528 59.24 ns/op BenchmarkNamedBytes-4 1000000 111.3 ns/op BenchmarkBytesArray-4 744721 161.1 ns/op BenchmarkSliceLen-4 2333236 51.22 ns/op BenchmarkMapLen-4 943551 127.4 ns/op BenchmarkStringLen-4 1846648 63.19 ns/op BenchmarkArrayLen-4 1259640 95.30 ns/op BenchmarkSliceCap-4 2490808 48.15 ns/op BenchmarkDeepEqual/int8-4 473173 254.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int8-4 91512 1316 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int16-4 386922 306.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int16-4 87000 1372 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int32-4 387475 307.1 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int32-4 86829 1365 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int64-4 377800 306.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int64-4 87672 1370 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/int-4 388054 305.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]int-4 87693 1355 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint8-4 439567 256.4 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8-4 119661 1007 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint16-4 384182 306.8 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint16-4 86506 1382 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint32-4 380890 308.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint32-4 87067 1372 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint64-4 385462 309.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint64-4 84726 1379 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uint-4 379833 309.6 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint-4 86415 1367 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/uintptr-4 383528 309.2 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uintptr-4 85330 1382 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float32-4 385540 307.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float32-4 85812 1388 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/float64-4 374212 308.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]float64-4 84267 1398 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex64-4 388710 306.5 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex64-4 86967 1363 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/complex128-4 381210 307.7 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]complex128-4 85375 1371 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/bool-4 458455 254.9 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]bool-4 89932 1312 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/string-4 385365 306.3 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]string-4 86353 1373 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[]uint8#01-4 119250 999.0 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][]uint8-4 57020 2117 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[6]uint8-4 45523 2671 ns/op 0 B/op 0 allocs/op BenchmarkDeepEqual/[][6]uint8-4 31848 3702 ns/op 0 B/op 0 allocs/op BenchmarkIsZero/ArrayComparable-4 276974 431.1 ns/op BenchmarkIsZero/ArrayIncomparable-4 29829 3983 ns/op BenchmarkIsZero/StructComparable-4 570238 209.5 ns/op BenchmarkIsZero/StructIncomparable-4 134728 885.1 ns/op BenchmarkSetZero/Bool/Direct-4 3838838 31.06 ns/op BenchmarkSetZero/Bool/CachedZero-4 809456 147.8 ns/op BenchmarkSetZero/Bool/NewZero-4 607602 188.2 ns/op BenchmarkSetZero/Int/Direct-4 2604426 47.29 ns/op BenchmarkSetZero/Int/CachedZero-4 814846 141.6 ns/op BenchmarkSetZero/Int/NewZero-4 609589 188.8 ns/op BenchmarkSetZero/Uint/Direct-4 2534790 46.84 ns/op BenchmarkSetZero/Uint/CachedZero-4 808606 147.6 ns/op BenchmarkSetZero/Uint/NewZero-4 599080 191.1 ns/op BenchmarkSetZero/Float/Direct-4 2542692 47.13 ns/op BenchmarkSetZero/Float/CachedZero-4 800931 148.4 ns/op BenchmarkSetZero/Float/NewZero-4 615772 188.9 ns/op BenchmarkSetZero/Complex/Direct-4 2510740 47.99 ns/op BenchmarkSetZero/Complex/CachedZero-4 805670 147.7 ns/op BenchmarkSetZero/Complex/NewZero-4 592309 190.4 ns/op BenchmarkSetZero/Array/Direct-4 1937562 59.42 ns/op BenchmarkSetZero/Array/CachedZero-4 811501 150.4 ns/op BenchmarkSetZero/Array/NewZero-4 611210 190.2 ns/op BenchmarkSetZero/Chan/Direct-4 2504776 47.80 ns/op BenchmarkSetZero/Chan/CachedZero-4 841866 137.1 ns/op BenchmarkSetZero/Chan/NewZero-4 650812 187.7 ns/op BenchmarkSetZero/Func/Direct-4 2595904 46.33 ns/op BenchmarkSetZero/Func/CachedZero-4 845017 140.0 ns/op BenchmarkSetZero/Func/NewZero-4 616196 183.6 ns/op BenchmarkSetZero/Interface/Direct-4 2156505 53.16 ns/op BenchmarkSetZero/Interface/CachedZero-4 821169 142.4 ns/op BenchmarkSetZero/Interface/NewZero-4 613339 193.3 ns/op BenchmarkSetZero/Map/Direct-4 2529465 46.36 ns/op BenchmarkSetZero/Map/CachedZero-4 850096 138.0 ns/op BenchmarkSetZero/Map/NewZero-4 625128 182.9 ns/op BenchmarkSetZero/Pointer/Direct-4 2501336 47.38 ns/op BenchmarkSetZero/Pointer/CachedZero-4 856405 137.8 ns/op BenchmarkSetZero/Pointer/NewZero-4 637069 182.8 ns/op BenchmarkSetZero/Slice/Direct-4 2257646 55.15 ns/op BenchmarkSetZero/Slice/CachedZero-4 822579 141.1 ns/op BenchmarkSetZero/Slice/NewZero-4 628375 189.6 ns/op BenchmarkSetZero/String/Direct-4 2573443 46.77 ns/op BenchmarkSetZero/String/CachedZero-4 822050 141.2 ns/op BenchmarkSetZero/String/NewZero-4 606433 192.5 ns/op BenchmarkSetZero/Struct/Direct-4 2193370 59.35 ns/op BenchmarkSetZero/Struct/CachedZero-4 826370 142.5 ns/op BenchmarkSetZero/Struct/NewZero-4 613104 187.7 ns/op BenchmarkSelect/1-4 162234 757.6 ns/op 80 B/op 5 allocs/op BenchmarkSelect/4-4 72496 1670 ns/op 208 B/op 8 allocs/op BenchmarkSelect/8-4 36811 3266 ns/op 672 B/op 13 allocs/op BenchmarkCall-4 194533 542.8 ns/op 0 B/op 0 allocs/op BenchmarkCallMethod-4 156420 775.3 ns/op 0 B/op 0 allocs/op BenchmarkCallArgCopy/size=128-4 134318 883.4 ns/op 144.89 MB/s BenchmarkCallArgCopy/size=256-4 125287 1020 ns/op 250.92 MB/s BenchmarkCallArgCopy/size=1024-4 74235 1457 ns/op 702.73 MB/s BenchmarkCallArgCopy/size=4096-4 37614 3519 ns/op 1163.84 MB/s BenchmarkCallArgCopy/size=65536-4 2359 42996 ns/op 1524.25 MB/s BenchmarkFieldByName1-4 1403437 87.67 ns/op BenchmarkFieldByName2-4 112680 1237 ns/op BenchmarkFieldByName3-4 14550 8355 ns/op BenchmarkInterfaceBig-4 4109038 29.00 ns/op BenchmarkInterfaceSmall-4 3997028 29.86 ns/op BenchmarkNew-4 1794184 60.79 ns/op BenchmarkMap/StringKeys/MapIndex-4 2326 52219 ns/op 0 B/op 0 allocs/op BenchmarkMap/StringKeys/SetMapIndex-4 1887 63204 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/MapIndex-4 2242 54314 ns/op 0 B/op 0 allocs/op BenchmarkMap/Uint64Keys/SetMapIndex-4 1856 63750 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/MapIndex-4 2296 51739 ns/op 0 B/op 0 allocs/op BenchmarkMap/UserStringKeys/SetMapIndex-4 1875 62922 ns/op 0 B/op 0 allocs/op BenchmarkMapIterNext-4 209796 568.0 ns/op PASS ok reflect 17.322s goos: freebsd goarch: amd64 pkg: regexp cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkFind-4 8730 13301 ns/op 9484 B/op 1 allocs/op BenchmarkFindAllNoMatches-4 12243 9666 ns/op 9093 B/op 1 allocs/op BenchmarkFindString-4 10000 11437 ns/op 9043 B/op 1 allocs/op BenchmarkFindSubmatch-4 8638 12503 ns/op 9022 B/op 2 allocs/op BenchmarkFindStringSubmatch-4 9352 12197 ns/op 9396 B/op 2 allocs/op BenchmarkLiteral-4 14900 8910 ns/op BenchmarkNotLiteral-4 4377 27370 ns/op BenchmarkMatchClass-4 3138 35003 ns/op BenchmarkMatchClass_InRange-4 3481 34736 ns/op BenchmarkReplaceAll-4 2337 54293 ns/op BenchmarkAnchoredLiteralShortNonMatch-4 14178 8682 ns/op BenchmarkAnchoredLiteralLongNonMatch-4 37122 3245 ns/op BenchmarkAnchoredShortMatch-4 13078 9239 ns/op BenchmarkAnchoredLongMatch-4 19804 6165 ns/op BenchmarkOnePassShortA-4 21789 5528 ns/op BenchmarkNotOnePassShortA-4 6824 15877 ns/op BenchmarkOnePassShortB-4 27506 4340 ns/op BenchmarkNotOnePassShortB-4 10000 13237 ns/op BenchmarkOnePassLongPrefix-4 84676 1441 ns/op BenchmarkOnePassLongNotPrefix-4 29398 4057 ns/op BenchmarkMatchParallelShared-4 23259 5738 ns/op BenchmarkMatchParallelCopied-4 19616 5328 ns/op BenchmarkQuoteMetaAll-4 149996 780.1 ns/op 17.95 MB/s BenchmarkQuoteMetaNone-4 301641 377.9 ns/op 68.81 MB/s BenchmarkCompile/Onepass-4 4058 26767 ns/op 4144 B/op 52 allocs/op BenchmarkCompile/Medium-4 1688 68856 ns/op 9704 B/op 112 allocs/op BenchmarkCompile/Hard-4 196 595045 ns/op 84760 B/op 424 allocs/op BenchmarkMatch/Easy0/16-4 3871222 31.62 ns/op 505.95 MB/s BenchmarkMatch/Easy0/32-4 14546 8119 ns/op 3.94 MB/s BenchmarkMatch/Easy0/1K-4 5787 21278 ns/op 48.12 MB/s BenchmarkMatch/Easy0i/16-4 3872857 32.95 ns/op 485.56 MB/s BenchmarkMatch/Easy0i/32-4 5152 21809 ns/op 1.47 MB/s BenchmarkMatch/Easy0i/1K-4 272 434211 ns/op 2.36 MB/s BenchmarkMatch/Easy1/16-4 2975812 39.79 ns/op 402.16 MB/s BenchmarkMatch/Easy1/32-4 15250 8103 ns/op 3.95 MB/s BenchmarkMatch/Easy1/1K-4 4353 26604 ns/op 38.49 MB/s BenchmarkMatch/Medium/16-4 3772357 31.34 ns/op 510.52 MB/s BenchmarkMatch/Medium/32-4 6259 19682 ns/op 1.63 MB/s BenchmarkMatch/Medium/1K-4 316 372862 ns/op 2.75 MB/s BenchmarkMatch/Hard/16-4 3385749 30.79 ns/op 519.71 MB/s BenchmarkMatch/Hard/32-4 4064 29494 ns/op 1.08 MB/s BenchmarkMatch/Hard/1K-4 177 664497 ns/op 1.54 MB/s BenchmarkMatch/Hard1/16-4 1576 74619 ns/op 0.21 MB/s BenchmarkMatch/Hard1/32-4 825 139580 ns/op 0.23 MB/s BenchmarkMatch/Hard1/1K-4 27 4235348 ns/op 0.24 MB/s BenchmarkMatch_onepass_regex/16-4 31300 3802 ns/op 4.21 MB/s 24 B/op 0 allocs/op BenchmarkMatch_onepass_regex/32-4 18956 6331 ns/op 5.05 MB/s 23 B/op 0 allocs/op BenchmarkMatch_onepass_regex/1K-4 735 163840 ns/op 6.25 MB/s 25 B/op 0 allocs/op PASS ok regexp 8.471s goos: freebsd goarch: amd64 pkg: regexp/syntax cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEmptyOpContext-4 648810 184.5 ns/op BenchmarkIsWordChar-4 164358 729.1 ns/op PASS ok regexp/syntax 2.385s goos: freebsd goarch: amd64 pkg: runtime cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCallers/cached-4 70770 1690 ns/op BenchmarkCallers/inlined-4 52286 2264 ns/op BenchmarkCallers/no-cache-4 10000 10025 ns/op BenchmarkFPCallers/cached-4 2851405 42.02 ns/op BenchmarkMakeChan/Byte-4 1101615 117.1 ns/op BenchmarkMakeChan/Int-4 928338 141.4 ns/op BenchmarkMakeChan/Ptr-4 593616 205.9 ns/op BenchmarkMakeChan/Struct/0-4 1262018 95.56 ns/op BenchmarkMakeChan/Struct/32-4 547399 296.3 ns/op BenchmarkMakeChan/Struct/40-4 385776 323.0 ns/op BenchmarkChanNonblocking-4 10293808 9.944 ns/op BenchmarkSelectUncontended-4 1212087 105.1 ns/op BenchmarkSelectSyncContended-4 28806 4855 ns/op BenchmarkSelectAsyncContended-4 100760 1239 ns/op BenchmarkSelectNonblock-4 5943446 19.78 ns/op BenchmarkChanUncontended-4 11770 11117 ns/op BenchmarkChanContended-4 967 115866 ns/op BenchmarkChanSync-4 111073 1032 ns/op BenchmarkChanSyncWork-4 10000 35157 ns/op BenchmarkChanProdCons0-4 71442 1593 ns/op BenchmarkChanProdCons10-4 87548 1333 ns/op BenchmarkChanProdCons100-4 93480 1310 ns/op BenchmarkChanProdConsWork0-4 70732 1706 ns/op BenchmarkChanProdConsWork10-4 75532 1627 ns/op BenchmarkChanProdConsWork100-4 79015 1513 ns/op BenchmarkSelectProdCons-4 58503 2027 ns/op BenchmarkReceiveDataFromClosedChan-4 706143 171.1 ns/op BenchmarkChanCreation-4 150009 676.2 ns/op BenchmarkChanSem-4 102588 1037 ns/op BenchmarkChanPopular-4 72 1426020 ns/op BenchmarkChanClosed-4 413161 291.7 ns/op BenchmarkCallClosure-4 6499683 18.61 ns/op BenchmarkCallClosure1-4 7193094 16.70 ns/op BenchmarkCallClosure2-4 1498831 83.72 ns/op BenchmarkCallClosure3-4 1737715 69.53 ns/op BenchmarkCallClosure4-4 1540615 78.64 ns/op BenchmarkComplex128DivNormal-4 10276334 19.91 ns/op BenchmarkComplex128DivNisNaN-4 7445593 20.13 ns/op BenchmarkComplex128DivDisNaN-4 7581445 22.47 ns/op BenchmarkComplex128DivNisInf-4 10083624 21.84 ns/op BenchmarkComplex128DivDisInf-4 5551392 29.18 ns/op BenchmarkSetTypePtr-4 49152124 2.442 ns/op 3276.34 MB/s BenchmarkSetTypePtr8-4 9734311 12.35 ns/op 5181.57 MB/s BenchmarkSetTypePtr16-4 9694077 12.41 ns/op 10311.19 MB/s BenchmarkSetTypePtr32-4 9418003 12.47 ns/op 20530.43 MB/s BenchmarkSetTypePtr64-4 9659443 12.36 ns/op 41434.78 MB/s BenchmarkSetTypePtr126-4 5722070 21.04 ns/op 47908.00 MB/s BenchmarkSetTypePtr128-4 5861836 20.21 ns/op 50670.65 MB/s BenchmarkSetTypePtrSlice-4 726907 164.0 ns/op 49959.52 MB/s BenchmarkSetTypeNode1-4 9724977 12.39 ns/op 1937.17 MB/s BenchmarkSetTypeNode1Slice-4 3006616 39.79 ns/op 19300.21 MB/s BenchmarkSetTypeNode8-4 9746239 12.34 ns/op 6485.11 MB/s BenchmarkSetTypeNode8Slice-4 1551930 77.62 ns/op 32983.19 MB/s BenchmarkSetTypeNode64-4 5702685 21.03 ns/op 25107.15 MB/s BenchmarkSetTypeNode64Slice-4 225681 518.2 ns/op 32606.52 MB/s BenchmarkSetTypeNode64Dead-4 7549142 15.83 ns/op 33364.18 MB/s BenchmarkSetTypeNode64DeadSlice-4 261757 460.1 ns/op 36721.18 MB/s BenchmarkSetTypeNode124-4 5724546 21.06 ns/op 47856.50 MB/s BenchmarkSetTypeNode124Slice-4 183354 656.8 ns/op 49112.96 MB/s BenchmarkSetTypeNode126-4 5910859 20.19 ns/op 50722.07 MB/s BenchmarkSetTypeNode126Slice-4 180104 662.0 ns/op 49500.09 MB/s BenchmarkSetTypeNode128-4 4054539 29.67 ns/op 35056.69 MB/s BenchmarkSetTypeNode128Slice-4 143362 839.8 ns/op 39627.42 MB/s BenchmarkSetTypeNode130-4 4088520 29.40 ns/op 35916.76 MB/s BenchmarkSetTypeNode130Slice-4 142105 840.3 ns/op 40212.27 MB/s BenchmarkSetTypeNode1024-4 766656 155.2 ns/op 52875.66 MB/s BenchmarkSetTypeNode1024Slice-4 24640 4878 ns/op 53847.15 MB/s BenchmarkAllocation-4 4896 30466 ns/op BenchmarkReadMemStats-4 6867 18872 ns/op BenchmarkReadMemStatsLatency-4 1 83099 p50-ns 83099 p90-ns 83099 p99-ns BenchmarkWriteBarrier-4 2769444 44.29 ns/op BenchmarkBulkWriteBarrier-4 6621762 17.03 ns/op BenchmarkScanStackNoLocals-4 3 37621845 ns/op BenchmarkMSpanCountAlloc/bits=64-4 11523151 9.997 ns/op BenchmarkMSpanCountAlloc/bits=128-4 10235370 11.15 ns/op BenchmarkMSpanCountAlloc/bits=256-4 9428856 12.92 ns/op BenchmarkMSpanCountAlloc/bits=512-4 6895213 17.02 ns/op BenchmarkMSpanCountAlloc/bits=1024-4 4854585 24.71 ns/op BenchmarkHash5-4 6194720 19.43 ns/op 257.34 MB/s BenchmarkHash16-4 6897152 17.18 ns/op 931.21 MB/s BenchmarkHash64-4 6028924 19.04 ns/op 3361.47 MB/s BenchmarkHash1024-4 1892515 61.76 ns/op 16579.32 MB/s BenchmarkHash65536-4 38862 3077 ns/op 21298.73 MB/s BenchmarkAlignedLoad-4 8547682 14.08 ns/op BenchmarkUnalignedLoad-4 8671282 13.75 ns/op BenchmarkEqEfaceConcrete-4 6240067 19.34 ns/op BenchmarkEqIfaceConcrete-4 6657171 17.94 ns/op BenchmarkNeEfaceConcrete-4 6991076 17.22 ns/op BenchmarkNeIfaceConcrete-4 6903804 17.43 ns/op BenchmarkConvT2EByteSized/bool-4 6848479 17.42 ns/op BenchmarkConvT2EByteSized/uint8-4 7062668 17.18 ns/op BenchmarkConvT2ESmall-4 6241749 19.27 ns/op BenchmarkConvT2EUintptr-4 5911150 20.06 ns/op BenchmarkConvT2ELarge-4 1251488 93.35 ns/op BenchmarkConvT2ISmall-4 6185546 19.48 ns/op BenchmarkConvT2IUintptr-4 6207001 19.47 ns/op BenchmarkConvT2ILarge-4 1271120 94.94 ns/op BenchmarkConvI2E-4 5550212 21.65 ns/op BenchmarkConvI2I-4 4769017 24.89 ns/op BenchmarkAssertE2T-4 4903725 24.18 ns/op BenchmarkAssertE2TLarge-4 2586349 46.46 ns/op BenchmarkAssertE2I-4 4768249 25.17 ns/op BenchmarkAssertI2T-4 5196526 22.94 ns/op BenchmarkAssertI2I-4 4615357 26.09 ns/op BenchmarkAssertI2E-4 6249553 19.08 ns/op BenchmarkAssertE2E-4 6656415 18.22 ns/op BenchmarkAssertE2T2-4 4044758 29.29 ns/op BenchmarkAssertE2T2Blank-4 4906137 24.41 ns/op BenchmarkAssertI2E2-4 4620118 25.58 ns/op BenchmarkAssertI2E2Blank-4 6134833 19.72 ns/op BenchmarkAssertE2E2-4 4994193 24.31 ns/op BenchmarkAssertE2E2Blank-4 6103071 19.62 ns/op BenchmarkConvT2Ezero/zero/16-4 6025213 19.96 ns/op BenchmarkConvT2Ezero/zero/32-4 5757012 20.93 ns/op BenchmarkConvT2Ezero/zero/64-4 5655663 20.88 ns/op BenchmarkConvT2Ezero/zero/str-4 5843752 20.62 ns/op BenchmarkConvT2Ezero/zero/slice-4 5666001 21.16 ns/op BenchmarkConvT2Ezero/zero/big-4 268588 527.7 ns/op BenchmarkConvT2Ezero/nonzero/str-4 1344262 81.56 ns/op BenchmarkConvT2Ezero/nonzero/slice-4 1319596 97.71 ns/op BenchmarkConvT2Ezero/nonzero/big-4 273637 582.8 ns/op BenchmarkConvT2Ezero/smallint/16-4 5759620 20.53 ns/op BenchmarkConvT2Ezero/smallint/32-4 5953530 20.28 ns/op BenchmarkConvT2Ezero/smallint/64-4 5807642 20.12 ns/op BenchmarkConvT2Ezero/largeint/16-4 1642908 73.36 ns/op BenchmarkConvT2Ezero/largeint/32-4 1806842 74.20 ns/op BenchmarkConvT2Ezero/largeint/64-4 1793574 64.68 ns/op BenchmarkMalloc8-4 1530219 74.41 ns/op BenchmarkMalloc16-4 1442085 84.65 ns/op BenchmarkMallocTypeInfo8-4 1494847 78.25 ns/op BenchmarkMallocTypeInfo16-4 1286946 93.49 ns/op BenchmarkMallocLargeStruct-4 194162 690.3 ns/op BenchmarkGoroutineSelect-4 70 2095787 ns/op BenchmarkGoroutineBlocking-4 78 2154656 ns/op BenchmarkGoroutineForRange-4 72 2226687 ns/op BenchmarkGoroutineIdle-4 100 1735399 ns/op BenchmarkHashStringSpeed-4 2560382 43.79 ns/op BenchmarkHashBytesSpeed-4 1361163 92.04 ns/op BenchmarkHashInt32Speed-4 3087418 38.55 ns/op BenchmarkHashInt64Speed-4 3210822 40.94 ns/op BenchmarkHashStringArraySpeed-4 623470 196.6 ns/op BenchmarkMegMap-4 3126661 38.66 ns/op BenchmarkMegOneMap-4 4032308 29.31 ns/op BenchmarkMegEqMap-4 1402 85395 ns/op BenchmarkMegEmptyMap-4 4637985 25.85 ns/op BenchmarkSmallStrMap-4 3223746 37.72 ns/op BenchmarkMapStringKeysEight_16-4 3143892 38.01 ns/op BenchmarkMapStringKeysEight_32-4 3317632 36.34 ns/op BenchmarkMapStringKeysEight_64-4 3157419 37.74 ns/op BenchmarkMapStringKeysEight_1M-4 3179544 37.83 ns/op BenchmarkIntMap-4 3927176 30.36 ns/op BenchmarkMapFirst/1-4 4599668 26.24 ns/op BenchmarkMapFirst/2-4 4474174 26.28 ns/op BenchmarkMapFirst/3-4 4516670 26.22 ns/op BenchmarkMapFirst/4-4 4476748 27.08 ns/op BenchmarkMapFirst/5-4 4410184 27.56 ns/op BenchmarkMapFirst/6-4 4450783 27.05 ns/op BenchmarkMapFirst/7-4 4322503 27.75 ns/op BenchmarkMapFirst/8-4 4381832 27.31 ns/op BenchmarkMapFirst/9-4 3870314 31.26 ns/op BenchmarkMapFirst/10-4 3843992 32.89 ns/op BenchmarkMapFirst/11-4 3865831 30.94 ns/op BenchmarkMapFirst/12-4 3746270 31.68 ns/op BenchmarkMapFirst/13-4 3642796 31.46 ns/op BenchmarkMapFirst/14-4 3772315 31.40 ns/op BenchmarkMapFirst/15-4 3781376 33.91 ns/op BenchmarkMapFirst/16-4 3816541 31.20 ns/op BenchmarkMapMid/1-4 3688952 32.50 ns/op BenchmarkMapMid/2-4 3546955 32.47 ns/op BenchmarkMapMid/3-4 3762172 31.94 ns/op BenchmarkMapMid/4-4 3582718 33.43 ns/op BenchmarkMapMid/5-4 3585453 33.17 ns/op BenchmarkMapMid/6-4 3463059 33.28 ns/op BenchmarkMapMid/7-4 3632307 33.17 ns/op BenchmarkMapMid/8-4 3440841 34.80 ns/op BenchmarkMapMid/9-4 3188913 36.38 ns/op BenchmarkMapMid/10-4 3049471 39.60 ns/op BenchmarkMapMid/11-4 3111195 39.08 ns/op BenchmarkMapMid/12-4 2910264 37.80 ns/op BenchmarkMapMid/13-4 3400366 36.10 ns/op BenchmarkMapMid/14-4 3134595 36.36 ns/op BenchmarkMapMid/15-4 3332361 38.00 ns/op BenchmarkMapMid/16-4 3266830 35.37 ns/op BenchmarkMapLast/1-4 3730117 32.61 ns/op BenchmarkMapLast/2-4 3490824 32.26 ns/op BenchmarkMapLast/3-4 3562468 33.12 ns/op BenchmarkMapLast/4-4 3515601 34.41 ns/op BenchmarkMapLast/5-4 3662894 32.15 ns/op BenchmarkMapLast/6-4 3426379 34.12 ns/op BenchmarkMapLast/7-4 3458701 34.05 ns/op BenchmarkMapLast/8-4 3296853 36.15 ns/op BenchmarkMapLast/9-4 3126052 38.39 ns/op BenchmarkMapLast/10-4 2996466 37.04 ns/op BenchmarkMapLast/11-4 2888653 41.40 ns/op BenchmarkMapLast/12-4 2770672 39.39 ns/op BenchmarkMapLast/13-4 3248835 36.97 ns/op BenchmarkMapLast/14-4 3156276 37.68 ns/op BenchmarkMapLast/15-4 2936366 36.15 ns/op BenchmarkMapLast/16-4 3037520 39.14 ns/op BenchmarkMapCycle-4 2074418 58.12 ns/op BenchmarkRepeatedLookupStrMapKey32-4 3288495 36.93 ns/op BenchmarkRepeatedLookupStrMapKey1M-4 2298 50701 ns/op BenchmarkMakeMap/[Byte]Byte-4 735430 199.8 ns/op BenchmarkMakeMap/[Int]Int-4 379210 407.1 ns/op BenchmarkNewEmptyMap-4 11250116 10.08 ns/op 0 B/op 0 allocs/op BenchmarkNewSmallMap-4 1643854 72.19 ns/op 0 B/op 0 allocs/op BenchmarkMapIter-4 468123 252.3 ns/op BenchmarkMapIterEmpty-4 5159515 22.99 ns/op BenchmarkSameLengthMap-4 4478994 26.99 ns/op BenchmarkBigKeyMap-4 1663564 71.56 ns/op BenchmarkBigValMap-4 1506600 80.99 ns/op BenchmarkSmallKeyMap-4 2727007 44.16 ns/op BenchmarkMapPopulate/1-4 2298648 52.64 ns/op 0 B/op 0 allocs/op BenchmarkMapPopulate/10-4 143103 884.9 ns/op 179 B/op 1 allocs/op BenchmarkMapPopulate/100-4 7354 16923 ns/op 6274 B/op 15 allocs/op BenchmarkMapPopulate/1000-4 786 155119 ns/op 51738 B/op 55 allocs/op BenchmarkMapPopulate/10000-4 72 1970674 ns/op 416362 B/op 201 allocs/op BenchmarkMapPopulate/100000-4 4 29267444 ns/op 6537868 B/op 2933 allocs/op BenchmarkComplexAlgMap-4 476407 256.7 ns/op BenchmarkGoMapClear/Reflexive/1-4 639678 182.9 ns/op BenchmarkGoMapClear/Reflexive/10-4 598807 197.3 ns/op BenchmarkGoMapClear/Reflexive/100-4 235576 509.2 ns/op BenchmarkGoMapClear/Reflexive/1000-4 44529 2695 ns/op BenchmarkGoMapClear/Reflexive/10000-4 5094 20468 ns/op BenchmarkGoMapClear/NonReflexive/1-4 511393 232.4 ns/op BenchmarkGoMapClear/NonReflexive/10-4 465716 252.5 ns/op BenchmarkGoMapClear/NonReflexive/100-4 213758 547.1 ns/op BenchmarkGoMapClear/NonReflexive/1000-4 43789 2739 ns/op BenchmarkGoMapClear/NonReflexive/10000-4 5113 20725 ns/op BenchmarkMapStringConversion/32/simple-4 1753765 67.66 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/struct-4 1702560 70.84 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/32/array-4 1466808 81.76 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/simple-4 1610274 74.29 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/struct-4 1556276 78.92 ns/op 0 B/op 0 allocs/op BenchmarkMapStringConversion/64/array-4 1348992 88.24 ns/op 0 B/op 0 allocs/op BenchmarkMapInterfaceString-4 1762185 67.67 ns/op BenchmarkMapInterfacePtr-4 2007742 61.59 ns/op BenchmarkNewEmptyMapHintLessThan8-4 4911674 24.67 ns/op 0 B/op 0 allocs/op BenchmarkNewEmptyMapHintGreaterThan8-4 136141 1019 ns/op 1152 B/op 1 allocs/op BenchmarkMapPop100-4 5613 22201 ns/op BenchmarkMapPop1000-4 380 312219 ns/op BenchmarkMapPop10000-4 19 5493153 ns/op BenchmarkMapAssign/Int32/256-4 2293200 50.25 ns/op BenchmarkMapAssign/Int32/65536-4 957732 121.2 ns/op BenchmarkMapAssign/Int64/256-4 2162911 54.13 ns/op BenchmarkMapAssign/Int64/65536-4 545864 188.3 ns/op BenchmarkMapAssign/Str/256-4 1799324 66.26 ns/op BenchmarkMapAssign/Str/65536-4 390642 298.9 ns/op BenchmarkMapOperatorAssign/Int32/256-4 1420774 84.02 ns/op BenchmarkMapOperatorAssign/Int32/65536-4 556214 207.6 ns/op BenchmarkMapOperatorAssign/Int64/256-4 1412482 84.72 ns/op BenchmarkMapOperatorAssign/Int64/65536-4 549771 218.8 ns/op BenchmarkMapOperatorAssign/Str/256-4 554426 2752 ns/op BenchmarkMapOperatorAssign/Str/65536-4 206598 610.6 ns/op BenchmarkMapAppendAssign/Int32/256-4 870380 180.6 ns/op 25 B/op 0 allocs/op BenchmarkMapAppendAssign/Int32/65536-4 255482 493.8 ns/op 50 B/op 0 allocs/op BenchmarkMapAppendAssign/Int64/256-4 803168 183.4 ns/op 27 B/op 0 allocs/op BenchmarkMapAppendAssign/Int64/65536-4 237110 514.2 ns/op 59 B/op 0 allocs/op BenchmarkMapAppendAssign/Str/256-4 663278 284.9 ns/op 68 B/op 0 allocs/op BenchmarkMapAppendAssign/Str/65536-4 139713 867.9 ns/op 113 B/op 1 allocs/op BenchmarkMapDelete/Int32/100-4 1816692 66.90 ns/op BenchmarkMapDelete/Int32/1000-4 1865408 63.45 ns/op BenchmarkMapDelete/Int32/10000-4 1802650 66.47 ns/op BenchmarkMapDelete/Int64/100-4 1802490 67.78 ns/op BenchmarkMapDelete/Int64/1000-4 1858585 62.73 ns/op BenchmarkMapDelete/Int64/10000-4 1856815 64.65 ns/op BenchmarkMapDelete/Str/100-4 1481158 80.79 ns/op BenchmarkMapDelete/Str/1000-4 1498459 79.71 ns/op BenchmarkMapDelete/Str/10000-4 1402518 85.24 ns/op BenchmarkMapDelete/Pointer/100-4 1589412 74.27 ns/op BenchmarkMapDelete/Pointer/1000-4 1676103 71.30 ns/op BenchmarkMapDelete/Pointer/10000-4 1586673 74.76 ns/op BenchmarkMemmove/0-4 15987411 7.415 ns/op BenchmarkMemmove/1-4 1849068 65.07 ns/op 15.37 MB/s BenchmarkMemmove/2-4 1818301 65.76 ns/op 30.42 MB/s BenchmarkMemmove/3-4 1816392 66.40 ns/op 45.18 MB/s BenchmarkMemmove/4-4 1820758 66.07 ns/op 60.54 MB/s BenchmarkMemmove/5-4 1819501 65.83 ns/op 75.95 MB/s BenchmarkMemmove/6-4 1830489 66.08 ns/op 90.79 MB/s BenchmarkMemmove/7-4 1803373 66.30 ns/op 105.58 MB/s BenchmarkMemmove/8-4 1781984 65.62 ns/op 121.92 MB/s BenchmarkMemmove/9-4 1706000 69.93 ns/op 128.69 MB/s BenchmarkMemmove/10-4 1705412 70.10 ns/op 142.65 MB/s BenchmarkMemmove/11-4 1707578 69.90 ns/op 157.37 MB/s BenchmarkMemmove/12-4 1722093 69.83 ns/op 171.85 MB/s BenchmarkMemmove/13-4 1728549 70.23 ns/op 185.11 MB/s BenchmarkMemmove/14-4 1714798 69.49 ns/op 201.47 MB/s BenchmarkMemmove/15-4 1721430 69.59 ns/op 215.55 MB/s BenchmarkMemmove/16-4 1848009 66.62 ns/op 240.16 MB/s BenchmarkMemmove/32-4 1784910 67.25 ns/op 475.85 MB/s BenchmarkMemmove/64-4 1688173 71.02 ns/op 901.21 MB/s BenchmarkMemmove/128-4 1520170 79.98 ns/op 1600.49 MB/s BenchmarkMemmove/256-4 1000000 101.3 ns/op 2526.10 MB/s BenchmarkMemmove/512-4 702825 165.1 ns/op 3101.04 MB/s BenchmarkMemmove/1024-4 486376 241.9 ns/op 4233.60 MB/s BenchmarkMemmove/2048-4 296570 396.7 ns/op 5162.33 MB/s BenchmarkMemmove/4096-4 166897 714.9 ns/op 5729.86 MB/s BenchmarkMemmoveOverlap/32-4 1790044 66.95 ns/op 477.98 MB/s BenchmarkMemmoveOverlap/64-4 1672515 71.23 ns/op 898.53 MB/s BenchmarkMemmoveOverlap/128-4 1527086 78.03 ns/op 1640.45 MB/s BenchmarkMemmoveOverlap/256-4 998724 101.3 ns/op 2527.79 MB/s BenchmarkMemmoveOverlap/512-4 722258 162.9 ns/op 3143.53 MB/s BenchmarkMemmoveOverlap/1024-4 490030 245.1 ns/op 4178.36 MB/s BenchmarkMemmoveOverlap/2048-4 296398 394.4 ns/op 5192.85 MB/s BenchmarkMemmoveOverlap/4096-4 164142 722.0 ns/op 5673.16 MB/s BenchmarkMemmoveUnalignedDst/0-4 14942316 7.978 ns/op BenchmarkMemmoveUnalignedDst/1-4 1839978 64.96 ns/op 15.39 MB/s BenchmarkMemmoveUnalignedDst/2-4 1831328 65.67 ns/op 30.46 MB/s BenchmarkMemmoveUnalignedDst/3-4 1816568 65.75 ns/op 45.63 MB/s BenchmarkMemmoveUnalignedDst/4-4 1807581 66.06 ns/op 60.55 MB/s BenchmarkMemmoveUnalignedDst/5-4 1789128 66.60 ns/op 75.07 MB/s BenchmarkMemmoveUnalignedDst/6-4 1815051 66.06 ns/op 90.83 MB/s BenchmarkMemmoveUnalignedDst/7-4 1819827 66.24 ns/op 105.67 MB/s BenchmarkMemmoveUnalignedDst/8-4 1822636 65.24 ns/op 122.62 MB/s BenchmarkMemmoveUnalignedDst/9-4 1717676 69.61 ns/op 129.29 MB/s BenchmarkMemmoveUnalignedDst/10-4 1723836 69.56 ns/op 143.76 MB/s BenchmarkMemmoveUnalignedDst/11-4 1705837 69.87 ns/op 157.44 MB/s BenchmarkMemmoveUnalignedDst/12-4 1704376 69.86 ns/op 171.77 MB/s BenchmarkMemmoveUnalignedDst/13-4 1713973 69.87 ns/op 186.06 MB/s BenchmarkMemmoveUnalignedDst/14-4 1719292 69.96 ns/op 200.11 MB/s BenchmarkMemmoveUnalignedDst/15-4 1714851 70.25 ns/op 213.53 MB/s BenchmarkMemmoveUnalignedDst/16-4 1737894 68.10 ns/op 234.96 MB/s BenchmarkMemmoveUnalignedDst/32-4 1673952 72.28 ns/op 442.73 MB/s BenchmarkMemmoveUnalignedDst/64-4 1609894 74.05 ns/op 864.24 MB/s BenchmarkMemmoveUnalignedDst/128-4 1423444 83.00 ns/op 1542.16 MB/s BenchmarkMemmoveUnalignedDst/256-4 1000000 123.3 ns/op 2076.60 MB/s BenchmarkMemmoveUnalignedDst/512-4 685777 171.7 ns/op 2981.82 MB/s BenchmarkMemmoveUnalignedDst/1024-4 457492 261.7 ns/op 3912.98 MB/s BenchmarkMemmoveUnalignedDst/2048-4 300146 393.7 ns/op 5201.61 MB/s BenchmarkMemmoveUnalignedDst/4096-4 157742 749.6 ns/op 5464.46 MB/s BenchmarkMemmoveUnalignedDstOverlap/32-4 1646198 73.19 ns/op 437.21 MB/s BenchmarkMemmoveUnalignedDstOverlap/64-4 1542448 77.28 ns/op 828.17 MB/s BenchmarkMemmoveUnalignedDstOverlap/128-4 1383038 86.49 ns/op 1479.97 MB/s BenchmarkMemmoveUnalignedDstOverlap/256-4 994065 119.6 ns/op 2140.19 MB/s BenchmarkMemmoveUnalignedDstOverlap/512-4 731020 159.9 ns/op 3201.21 MB/s BenchmarkMemmoveUnalignedDstOverlap/1024-4 480072 248.8 ns/op 4116.50 MB/s BenchmarkMemmoveUnalignedDstOverlap/2048-4 297379 404.3 ns/op 5065.92 MB/s BenchmarkMemmoveUnalignedDstOverlap/4096-4 163672 726.4 ns/op 5638.85 MB/s BenchmarkMemmoveUnalignedSrc/0-4 15163182 7.931 ns/op BenchmarkMemmoveUnalignedSrc/1-4 1867806 64.44 ns/op 15.52 MB/s BenchmarkMemmoveUnalignedSrc/2-4 1830380 65.40 ns/op 30.58 MB/s BenchmarkMemmoveUnalignedSrc/3-4 1815376 66.40 ns/op 45.18 MB/s BenchmarkMemmoveUnalignedSrc/4-4 1842572 65.48 ns/op 61.09 MB/s BenchmarkMemmoveUnalignedSrc/5-4 1808300 66.42 ns/op 75.28 MB/s BenchmarkMemmoveUnalignedSrc/6-4 1798352 65.64 ns/op 91.41 MB/s BenchmarkMemmoveUnalignedSrc/7-4 1809877 67.22 ns/op 104.14 MB/s BenchmarkMemmoveUnalignedSrc/8-4 1820773 65.51 ns/op 122.13 MB/s BenchmarkMemmoveUnalignedSrc/9-4 1729657 69.89 ns/op 128.78 MB/s BenchmarkMemmoveUnalignedSrc/10-4 1699744 69.82 ns/op 143.22 MB/s BenchmarkMemmoveUnalignedSrc/11-4 1702537 70.27 ns/op 156.55 MB/s BenchmarkMemmoveUnalignedSrc/12-4 1728411 69.56 ns/op 172.51 MB/s BenchmarkMemmoveUnalignedSrc/13-4 1734978 68.81 ns/op 188.92 MB/s BenchmarkMemmoveUnalignedSrc/14-4 1734968 69.16 ns/op 202.43 MB/s BenchmarkMemmoveUnalignedSrc/15-4 1717404 69.27 ns/op 216.53 MB/s BenchmarkMemmoveUnalignedSrc/16-4 1774551 68.35 ns/op 234.10 MB/s BenchmarkMemmoveUnalignedSrc/32-4 1688440 70.96 ns/op 450.94 MB/s BenchmarkMemmoveUnalignedSrc/64-4 1589308 75.05 ns/op 852.71 MB/s BenchmarkMemmoveUnalignedSrc/128-4 1426219 84.07 ns/op 1522.60 MB/s BenchmarkMemmoveUnalignedSrc/256-4 1000000 107.4 ns/op 2382.55 MB/s BenchmarkMemmoveUnalignedSrc/512-4 699646 172.9 ns/op 2961.32 MB/s BenchmarkMemmoveUnalignedSrc/1024-4 472492 250.4 ns/op 4088.83 MB/s BenchmarkMemmoveUnalignedSrc/2048-4 294834 405.0 ns/op 5056.59 MB/s BenchmarkMemmoveUnalignedSrc/4096-4 164997 725.4 ns/op 5646.40 MB/s BenchmarkMemmoveUnalignedSrcOverlap/32-4 1649775 72.48 ns/op 441.48 MB/s BenchmarkMemmoveUnalignedSrcOverlap/64-4 1588932 75.84 ns/op 843.83 MB/s BenchmarkMemmoveUnalignedSrcOverlap/128-4 1432492 83.45 ns/op 1533.78 MB/s BenchmarkMemmoveUnalignedSrcOverlap/256-4 934140 126.1 ns/op 2030.49 MB/s BenchmarkMemmoveUnalignedSrcOverlap/512-4 702181 169.0 ns/op 3029.60 MB/s BenchmarkMemmoveUnalignedSrcOverlap/1024-4 485941 244.9 ns/op 4181.28 MB/s BenchmarkMemmoveUnalignedSrcOverlap/2048-4 304638 392.1 ns/op 5223.24 MB/s BenchmarkMemmoveUnalignedSrcOverlap/4096-4 165530 722.5 ns/op 5669.21 MB/s BenchmarkMemclr/5-4 13129584 9.028 ns/op 553.85 MB/s BenchmarkMemclr/16-4 12512979 9.370 ns/op 1707.53 MB/s BenchmarkMemclr/64-4 12145718 9.792 ns/op 6536.16 MB/s BenchmarkMemclr/256-4 10107910 11.88 ns/op 21549.58 MB/s BenchmarkMemclr/4096-4 2436190 49.85 ns/op 82159.40 MB/s BenchmarkMemclr/65536-4 68504 2031 ns/op 32266.10 MB/s BenchmarkMemclr/1M-4 2761 41143 ns/op 25486.26 MB/s BenchmarkMemclr/4M-4 694 174513 ns/op 24034.40 MB/s BenchmarkMemclr/8M-4 286 398913 ns/op 21028.64 MB/s BenchmarkMemclr/16M-4 34 3189822 ns/op 5259.61 MB/s BenchmarkMemclr/64M-4 21 5371807 ns/op 12492.79 MB/s BenchmarkMemclrUnaligned/0_5-4 7328280 16.06 ns/op 311.36 MB/s BenchmarkMemclrUnaligned/0_16-4 7282147 16.15 ns/op 990.97 MB/s BenchmarkMemclrUnaligned/0_64-4 7247876 16.46 ns/op 3887.82 MB/s BenchmarkMemclrUnaligned/0_256-4 6462513 18.56 ns/op 13794.56 MB/s BenchmarkMemclrUnaligned/0_4096-4 2160114 55.65 ns/op 73600.08 MB/s BenchmarkMemclrUnaligned/0_65536-4 51300 2154 ns/op 30430.01 MB/s BenchmarkMemclrUnaligned/1_5-4 7453864 16.01 ns/op 312.24 MB/s BenchmarkMemclrUnaligned/1_16-4 7402773 16.19 ns/op 988.51 MB/s BenchmarkMemclrUnaligned/1_64-4 7204315 16.66 ns/op 3841.86 MB/s BenchmarkMemclrUnaligned/1_256-4 6194284 19.35 ns/op 13233.19 MB/s BenchmarkMemclrUnaligned/1_4096-4 1301568 92.29 ns/op 44380.36 MB/s BenchmarkMemclrUnaligned/1_65536-4 48428 2252 ns/op 29099.31 MB/s BenchmarkMemclrUnaligned/4_5-4 7442760 16.01 ns/op 312.21 MB/s BenchmarkMemclrUnaligned/4_16-4 7401970 16.27 ns/op 983.19 MB/s BenchmarkMemclrUnaligned/4_64-4 7273134 16.53 ns/op 3872.79 MB/s BenchmarkMemclrUnaligned/4_256-4 6388724 18.74 ns/op 13661.79 MB/s BenchmarkMemclrUnaligned/4_4096-4 1356412 92.33 ns/op 44360.25 MB/s BenchmarkMemclrUnaligned/4_65536-4 51429 2292 ns/op 28591.23 MB/s BenchmarkMemclrUnaligned/7_5-4 7460164 16.10 ns/op 310.51 MB/s BenchmarkMemclrUnaligned/7_16-4 7361775 16.17 ns/op 989.61 MB/s BenchmarkMemclrUnaligned/7_64-4 7211862 16.55 ns/op 3867.31 MB/s BenchmarkMemclrUnaligned/7_256-4 6130170 19.33 ns/op 13244.59 MB/s BenchmarkMemclrUnaligned/7_4096-4 1298701 88.50 ns/op 46283.52 MB/s BenchmarkMemclrUnaligned/7_65536-4 54505 2155 ns/op 30411.68 MB/s BenchmarkMemclrUnaligned/0_1M-4 2788 41417 ns/op 25317.49 MB/s BenchmarkMemclrUnaligned/0_4M-4 682 166995 ns/op 25116.36 MB/s BenchmarkMemclrUnaligned/0_8M-4 276 388618 ns/op 21585.73 MB/s BenchmarkMemclrUnaligned/0_16M-4 34 3144934 ns/op 5334.68 MB/s BenchmarkMemclrUnaligned/0_64M-4 21 5215599 ns/op 12866.95 MB/s BenchmarkMemclrUnaligned/1_1M-4 2664 40429 ns/op 25936.13 MB/s BenchmarkMemclrUnaligned/1_4M-4 667 175519 ns/op 23896.60 MB/s BenchmarkMemclrUnaligned/1_8M-4 229 534148 ns/op 15704.65 MB/s BenchmarkMemclrUnaligned/1_16M-4 38 3163913 ns/op 5302.68 MB/s BenchmarkMemclrUnaligned/1_64M-4 20 5315253 ns/op 12625.71 MB/s BenchmarkMemclrUnaligned/4_1M-4 2782 41287 ns/op 25397.40 MB/s BenchmarkMemclrUnaligned/4_4M-4 643 171448 ns/op 24463.99 MB/s BenchmarkMemclrUnaligned/4_8M-4 199 520235 ns/op 16124.65 MB/s BenchmarkMemclrUnaligned/4_16M-4 31 3426585 ns/op 4896.19 MB/s BenchmarkMemclrUnaligned/4_64M-4 21 5341885 ns/op 12562.77 MB/s BenchmarkMemclrUnaligned/7_1M-4 2659 41549 ns/op 25237.05 MB/s BenchmarkMemclrUnaligned/7_4M-4 674 168138 ns/op 24945.65 MB/s BenchmarkMemclrUnaligned/7_8M-4 208 613660 ns/op 13669.80 MB/s BenchmarkMemclrUnaligned/7_16M-4 32 3377785 ns/op 4966.93 MB/s BenchmarkMemclrUnaligned/7_64M-4 21 5218009 ns/op 12861.01 MB/s BenchmarkGoMemclr/5-4 2314660 51.43 ns/op 97.22 MB/s BenchmarkGoMemclr/16-4 568386 209.3 ns/op 76.46 MB/s BenchmarkGoMemclr/64-4 150550 771.8 ns/op 82.92 MB/s BenchmarkGoMemclr/256-4 39522 3048 ns/op 83.98 MB/s BenchmarkMemclrRange/1K_2K-4 69796 1724 ns/op 55598.64 MB/s BenchmarkMemclrRange/2K_8K-4 31624 3780 ns/op 88228.68 MB/s BenchmarkMemclrRange/4K_16K-4 42999 2788 ns/op 115899.03 MB/s BenchmarkMemclrRange/160K_228K-4 1779 63505 ns/op 26184.60 MB/s BenchmarkClearFat7-4 6970128 17.48 ns/op BenchmarkClearFat8-4 6908133 17.52 ns/op BenchmarkClearFat11-4 6133532 19.47 ns/op BenchmarkClearFat12-4 6143796 19.62 ns/op BenchmarkClearFat13-4 6171674 19.61 ns/op BenchmarkClearFat14-4 6018766 19.91 ns/op BenchmarkClearFat15-4 6135870 19.74 ns/op BenchmarkClearFat16-4 6559069 18.13 ns/op BenchmarkClearFat24-4 6761608 18.02 ns/op BenchmarkClearFat32-4 6465745 18.54 ns/op BenchmarkClearFat40-4 6174090 19.40 ns/op BenchmarkClearFat48-4 5992113 20.28 ns/op BenchmarkClearFat56-4 5946988 19.98 ns/op BenchmarkClearFat64-4 5793518 20.72 ns/op BenchmarkClearFat72-4 5453511 21.37 ns/op BenchmarkClearFat128-4 4741404 25.66 ns/op BenchmarkClearFat256-4 2531152 47.53 ns/op BenchmarkClearFat512-4 1843200 68.40 ns/op BenchmarkClearFat1024-4 1000000 110.6 ns/op BenchmarkClearFat1032-4 939093 126.9 ns/op BenchmarkClearFat1040-4 1000000 114.4 ns/op BenchmarkCopyFat7-4 6665948 17.94 ns/op BenchmarkCopyFat8-4 6919022 17.51 ns/op BenchmarkCopyFat11-4 6177309 19.32 ns/op BenchmarkCopyFat12-4 6263772 19.48 ns/op BenchmarkCopyFat13-4 6060648 19.43 ns/op BenchmarkCopyFat14-4 6145424 19.64 ns/op BenchmarkCopyFat15-4 6044835 19.40 ns/op BenchmarkCopyFat16-4 6651826 17.82 ns/op BenchmarkCopyFat24-4 6659479 18.04 ns/op BenchmarkCopyFat32-4 6516048 18.62 ns/op BenchmarkCopyFat64-4 5422833 21.76 ns/op BenchmarkCopyFat72-4 5629099 21.64 ns/op BenchmarkCopyFat128-4 4512170 26.84 ns/op BenchmarkCopyFat256-4 2549883 46.97 ns/op BenchmarkCopyFat512-4 1672287 71.63 ns/op BenchmarkCopyFat520-4 1631346 74.00 ns/op BenchmarkCopyFat1024-4 1000000 120.8 ns/op BenchmarkCopyFat1032-4 952694 128.3 ns/op BenchmarkCopyFat1040-4 991201 120.1 ns/op BenchmarkIssue18740/2byte-4 436 268737 ns/op BenchmarkIssue18740/4byte-4 738 160510 ns/op BenchmarkIssue18740/8byte-4 1082 110606 ns/op BenchmarkMemclrKnownSize1-4 9925324 12.18 ns/op 82.11 MB/s BenchmarkMemclrKnownSize2-4 5986155 20.07 ns/op 99.65 MB/s BenchmarkMemclrKnownSize4-4 3760509 31.77 ns/op 125.90 MB/s BenchmarkMemclrKnownSize8-4 1206922 99.02 ns/op 80.79 MB/s BenchmarkMemclrKnownSize16-4 574004 201.3 ns/op 79.47 MB/s BenchmarkMemclrKnownSize32-4 312453 384.4 ns/op 83.25 MB/s BenchmarkMemclrKnownSize64-4 158832 745.1 ns/op 85.89 MB/s BenchmarkMemclrKnownSize112-4 92601 1312 ns/op 85.40 MB/s BenchmarkMemclrKnownSize128-4 80652 1479 ns/op 86.53 MB/s BenchmarkMemclrKnownSize192-4 54314 2196 ns/op 87.42 MB/s BenchmarkMemclrKnownSize248-4 41853 2847 ns/op 87.11 MB/s BenchmarkMemclrKnownSize256-4 40624 2937 ns/op 87.16 MB/s BenchmarkMemclrKnownSize512-4 20403 5942 ns/op 86.17 MB/s BenchmarkMemclrKnownSize1024-4 9664 11882 ns/op 86.18 MB/s BenchmarkMemclrKnownSize4096-4 2480 48737 ns/op 84.04 MB/s BenchmarkMemclrKnownSize512KiB-4 18 6210126 ns/op 84.42 MB/s BenchmarkReadMetricsLatency-4 15452 5193 p50-ns 5987 p90-ns 20277 p99-ns BenchmarkFinalizer-4 181 647283 ns/op BenchmarkFinalizerRun-4 203998 900.0 ns/op BenchmarkPallocBitsSummarize/Unpacked00-4 6304086 17.75 ns/op BenchmarkPallocBitsSummarize/UnpackedFFFFFFFFFFFFFFFF-4 3099650 37.66 ns/op BenchmarkPallocBitsSummarize/UnpackedAA-4 2436096 48.61 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAAAAAAAAAA-4 2363887 49.64 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000AAAAAAAA-4 1310827 91.12 ns/op BenchmarkPallocBitsSummarize/UnpackedAAAAAAAA00000001-4 1000000 101.4 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBBBBBBBBBB-4 2238744 52.64 ns/op BenchmarkPallocBitsSummarize/Unpacked80000000BBBBBBBB-4 1280413 93.10 ns/op BenchmarkPallocBitsSummarize/UnpackedBBBBBBBB00000001-4 1328736 89.49 ns/op BenchmarkPallocBitsSummarize/UnpackedCCCCCCCCCCCCCCCC-4 1622553 73.67 ns/op BenchmarkPallocBitsSummarize/Unpacked4444444444444444-4 1639310 73.50 ns/op BenchmarkPallocBitsSummarize/Unpacked4040404040404040-4 1469610 82.25 ns/op BenchmarkPallocBitsSummarize/Unpacked4000400040004000-4 1486916 80.06 ns/op BenchmarkPallocBitsSummarize/Unpacked1000404044CCAAFF-4 1355167 88.06 ns/op BenchmarkFindBitRange64/Pattern00Size2-4 6043467 19.87 ns/op BenchmarkFindBitRange64/Pattern00Size8-4 6494590 18.40 ns/op BenchmarkFindBitRange64/Pattern00Size32-4 6461142 18.35 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize2-4 6354830 18.92 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize8-4 5823204 20.62 ns/op BenchmarkFindBitRange64/PatternFFFFFFFFFFFFFFFFSize32-4 5358265 22.41 ns/op BenchmarkFindBitRange64/PatternAASize2-4 6303188 18.87 ns/op BenchmarkFindBitRange64/PatternAASize8-4 6500803 18.44 ns/op BenchmarkFindBitRange64/PatternAASize32-4 6425847 18.51 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize2-4 6315019 18.91 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize8-4 6480302 18.43 ns/op BenchmarkFindBitRange64/PatternAAAAAAAAAAAAAAAASize32-4 6490426 18.50 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize2-4 6342361 18.83 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize8-4 6451243 18.38 ns/op BenchmarkFindBitRange64/Pattern80000000AAAAAAAASize32-4 6467448 18.42 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size2-4 6325664 19.02 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size8-4 6456884 18.44 ns/op BenchmarkFindBitRange64/PatternAAAAAAAA00000001Size32-4 6414056 18.40 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize2-4 6299503 18.95 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize8-4 6141050 19.55 ns/op BenchmarkFindBitRange64/PatternBBBBBBBBBBBBBBBBSize32-4 6160212 19.55 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize2-4 6363355 18.89 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize8-4 6161378 19.51 ns/op BenchmarkFindBitRange64/Pattern80000000BBBBBBBBSize32-4 6116337 19.47 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size2-4 6277407 18.85 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size8-4 6124594 19.44 ns/op BenchmarkFindBitRange64/PatternBBBBBBBB00000001Size32-4 6169801 19.50 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize2-4 6342782 18.82 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize8-4 6166804 19.44 ns/op BenchmarkFindBitRange64/PatternCCCCCCCCCCCCCCCCSize32-4 6192046 19.53 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size2-4 6320168 18.82 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size8-4 6483297 18.40 ns/op BenchmarkFindBitRange64/Pattern4444444444444444Size32-4 6485728 18.41 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size2-4 6348625 18.88 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size8-4 6447745 18.37 ns/op BenchmarkFindBitRange64/Pattern4040404040404040Size32-4 6520066 18.45 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size2-4 6317922 18.89 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size8-4 6481354 18.45 ns/op BenchmarkFindBitRange64/Pattern4000400040004000Size32-4 6492386 18.40 ns/op BenchmarkNetpollBreak-4 3625 30423 ns/op BenchmarkPinnerPinUnpinBatch-4 1050 117013 ns/op BenchmarkPinnerPinUnpinBatchDouble-4 220 546370 ns/op BenchmarkPinnerPinUnpinBatchTiny-4 1149 117949 ns/op BenchmarkPinnerPinUnpin-4 1000000 103.5 ns/op BenchmarkPinnerPinUnpinTiny-4 1000000 103.4 ns/op BenchmarkPinnerPinUnpinDouble-4 446523 269.5 ns/op BenchmarkPinnerPinUnpinParallel-4 3607233 32.79 ns/op BenchmarkPinnerPinUnpinParallelTiny-4 3578059 33.31 ns/op BenchmarkPinnerPinUnpinParallelDouble-4 202591 627.0 ns/op BenchmarkPinnerIsPinnedOnPinned-4 6189384 19.26 ns/op BenchmarkPinnerIsPinnedOnUnpinned-4 6916777 17.19 ns/op BenchmarkPinnerIsPinnedOnPinnedParallel-4 9573478 12.03 ns/op BenchmarkPinnerIsPinnedOnUnpinnedParallel-4 9898122 12.15 ns/op BenchmarkPingPongHog-4 266 398785 ns/op BenchmarkStackGrowth-4 114859 1013 ns/op BenchmarkStackGrowthDeep-4 1267 94512 ns/op BenchmarkCreateGoroutines-4 27955 4360 ns/op BenchmarkCreateGoroutinesParallel-4 39096 3119 ns/op BenchmarkCreateGoroutinesCapture-4 5611 22410 ns/op 144 B/op 5 allocs/op BenchmarkCreateGoroutinesSingle-4 40894 2995 ns/op BenchmarkClosureCall-4 19918846 6.020 ns/op BenchmarkWakeupParallelSpinning/0s-4 6754 20315 ns/op BenchmarkWakeupParallelSpinning/1µs-4 5076 23952 ns/op BenchmarkWakeupParallelSpinning/2µs-4 4401 28185 ns/op BenchmarkWakeupParallelSpinning/5µs-4 3074 40365 ns/op BenchmarkWakeupParallelSpinning/10µs-4 1986 59041 ns/op BenchmarkWakeupParallelSpinning/20µs-4 1284 93343 ns/op BenchmarkWakeupParallelSpinning/50µs-4 732 155633 ns/op BenchmarkWakeupParallelSpinning/100µs-4 468 255940 ns/op BenchmarkMatmult-4 5279368 27.84 ns/op BenchmarkFastrand-4 12619450 9.140 ns/op BenchmarkFastrand64-4 12925993 9.242 ns/op BenchmarkFastrandHashiter-4 4671565 25.57 ns/op BenchmarkFastrandn/2-4 6104156 19.70 ns/op BenchmarkFastrandn/3-4 6147867 19.35 ns/op BenchmarkFastrandn/4-4 6210518 19.29 ns/op BenchmarkFastrandn/5-4 6281970 19.25 ns/op BenchmarkIfaceCmp100-4 100783 1215 ns/op BenchmarkIfaceCmpNil100-4 180363 672.9 ns/op BenchmarkEfaceCmpDiff-4 38629 3140 ns/op BenchmarkEfaceCmpDiffIndirect-4 36799 3239 ns/op BenchmarkDefer-4 1647330 73.82 ns/op BenchmarkDefer10-4 861518 157.7 ns/op BenchmarkDeferMany-4 494332 393.4 ns/op BenchmarkPanicRecover-4 166656 669.0 ns/op BenchmarkGoroutineProfile/small-nil/idle-4 6438 18240 ns/op 15455 p50-ns 20382 p90-ns 82820 p99-ns BenchmarkGoroutineProfile/small-nil/loaded-4 2518 148650 ns/op 26798 p50-ns 42870 p90-ns 1429041 p99-ns BenchmarkGoroutineProfile/small/idle-4 2785 38002 ns/op 34956 p50-ns 37410 p90-ns 56446 p99-ns BenchmarkGoroutineProfile/small/loaded-4 100 7073892 ns/op 227235 p50-ns 19909052 p90-ns 155586468 p99-ns BenchmarkGoroutineProfile/large-nil/idle-4 6034 18141 ns/op 15790 p50-ns 19951 p90-ns 38572 p99-ns BenchmarkGoroutineProfile/large-nil/loaded-4 2173 78974 ns/op 16122 p50-ns 24098 p90-ns 282233 p99-ns BenchmarkGoroutineProfile/large/idle-4 12 9124308 ns/op 9084302 p50-ns 9203060 p90-ns 9530040 p99-ns BenchmarkGoroutineProfile/large/loaded-4 10 11552303 ns/op 9748218 p50-ns 20090471 p90-ns 20090471 p99-ns BenchmarkGoroutineProfile/sparse-nil/idle-4 6734 17249 ns/op 15715 p50-ns 19235 p90-ns 27095 p99-ns BenchmarkGoroutineProfile/sparse-nil/loaded-4 1002 190638 ns/op 18959 p50-ns 28598 p90-ns 5583844 p99-ns BenchmarkGoroutineProfile/sparse/idle-4 880 125687 ns/op 117949 p50-ns 141953 p90-ns 227017 p99-ns BenchmarkGoroutineProfile/sparse/loaded-4 321 717549 ns/op 248540 p50-ns 556608 p90-ns 14643011 p99-ns BenchmarkRWMutexUncontended-4 3166212 37.63 ns/op BenchmarkRWMutexWrite100-4 519277 193.1 ns/op BenchmarkRWMutexWrite10-4 87058 1324 ns/op BenchmarkRWMutexWorkWrite100-4 411157 253.1 ns/op BenchmarkRWMutexWorkWrite10-4 83583 1471 ns/op BenchmarkSemTable/OneAddrCollision/n=1000-4 1777 63997 ns/op BenchmarkSemTable/ManyAddrCollision/n=1000-4 886 132073 ns/op BenchmarkSemTable/OneAddrCollision/n=2000-4 963 123424 ns/op BenchmarkSemTable/ManyAddrCollision/n=2000-4 429 273864 ns/op BenchmarkSemTable/OneAddrCollision/n=4000-4 470 247194 ns/op BenchmarkSemTable/ManyAddrCollision/n=4000-4 198 577455 ns/op BenchmarkSemTable/OneAddrCollision/n=8000-4 235 497662 ns/op BenchmarkSemTable/ManyAddrCollision/n=8000-4 98 1200320 ns/op BenchmarkMakeSliceCopy/mallocmove/Byte-4 331472 453.4 ns/op BenchmarkMakeSliceCopy/mallocmove/Int-4 325088 433.0 ns/op BenchmarkMakeSliceCopy/mallocmove/Ptr-4 289498 501.0 ns/op BenchmarkMakeSliceCopy/makecopy/Byte-4 303876 395.9 ns/op BenchmarkMakeSliceCopy/makecopy/Int-4 313336 394.5 ns/op BenchmarkMakeSliceCopy/makecopy/Ptr-4 262410 465.5 ns/op BenchmarkMakeSliceCopy/nilappend/Byte-4 304525 548.4 ns/op BenchmarkMakeSliceCopy/nilappend/Int-4 302082 465.7 ns/op BenchmarkMakeSliceCopy/nilappend/Ptr-4 264511 625.4 ns/op BenchmarkMakeSlice/Byte-4 1886487 57.44 ns/op BenchmarkMakeSlice/Int16-4 1924797 62.40 ns/op BenchmarkMakeSlice/Int-4 1420135 78.89 ns/op BenchmarkMakeSlice/Ptr-4 1000000 102.6 ns/op BenchmarkMakeSlice/Struct/24-4 1000000 129.4 ns/op BenchmarkMakeSlice/Struct/32-4 1000000 167.2 ns/op BenchmarkMakeSlice/Struct/40-4 940497 168.0 ns/op BenchmarkGrowSlice/Byte-4 845386 152.2 ns/op BenchmarkGrowSlice/Int16-4 710350 160.7 ns/op BenchmarkGrowSlice/Int-4 657945 221.6 ns/op BenchmarkGrowSlice/Ptr-4 535680 257.0 ns/op BenchmarkGrowSlice/Struct/24-4 407858 361.7 ns/op BenchmarkGrowSlice/Struct/32-4 276906 408.6 ns/op BenchmarkGrowSlice/Struct/40-4 234285 563.8 ns/op BenchmarkExtendSlice/IntSlice-4 571714 240.8 ns/op BenchmarkExtendSlice/PointerSlice-4 435936 313.3 ns/op BenchmarkExtendSlice/NoGrow-4 903463 144.8 ns/op BenchmarkAppend-4 908336 128.9 ns/op BenchmarkAppendGrowByte-4 5 23719455 ns/op BenchmarkAppendGrowString-4 1 217762613 ns/op BenchmarkAppendSlice/1Bytes-4 1829644 64.21 ns/op BenchmarkAppendSlice/4Bytes-4 1828384 65.21 ns/op BenchmarkAppendSlice/7Bytes-4 1772950 66.83 ns/op BenchmarkAppendSlice/8Bytes-4 1798506 67.08 ns/op BenchmarkAppendSlice/15Bytes-4 1640871 70.86 ns/op BenchmarkAppendSlice/16Bytes-4 1758642 68.60 ns/op BenchmarkAppendSlice/32Bytes-4 1799350 67.44 ns/op BenchmarkAppendSliceLarge/1024Bytes-4 81441 1249 ns/op BenchmarkAppendSliceLarge/4096Bytes-4 25932 4892 ns/op BenchmarkAppendSliceLarge/16384Bytes-4 8076 22687 ns/op BenchmarkAppendSliceLarge/65536Bytes-4 1884 72778 ns/op BenchmarkAppendSliceLarge/262144Bytes-4 200 589149 ns/op BenchmarkAppendSliceLarge/1048576Bytes-4 50 2401763 ns/op BenchmarkAppendStr/1Bytes-4 1397671 85.04 ns/op BenchmarkAppendStr/4Bytes-4 1419078 84.60 ns/op BenchmarkAppendStr/8Bytes-4 1405842 85.01 ns/op BenchmarkAppendStr/16Bytes-4 1353591 87.56 ns/op BenchmarkAppendStr/32Bytes-4 1377698 86.96 ns/op BenchmarkAppendSpecialCase-4 847276 139.6 ns/op BenchmarkCopy/1Byte-4 1840316 64.32 ns/op 15.55 MB/s BenchmarkCopy/1String-4 1814017 66.77 ns/op 14.98 MB/s BenchmarkCopy/2Byte-4 1815692 65.08 ns/op 30.73 MB/s BenchmarkCopy/2String-4 1801160 66.54 ns/op 30.06 MB/s BenchmarkCopy/4Byte-4 1796283 65.73 ns/op 60.85 MB/s BenchmarkCopy/4String-4 1823487 66.17 ns/op 60.45 MB/s BenchmarkCopy/8Byte-4 1822723 65.76 ns/op 121.65 MB/s BenchmarkCopy/8String-4 1815093 64.90 ns/op 123.26 MB/s BenchmarkCopy/12Byte-4 1706733 70.46 ns/op 170.31 MB/s BenchmarkCopy/12String-4 1786797 68.21 ns/op 175.92 MB/s BenchmarkCopy/16Byte-4 1829379 66.62 ns/op 240.17 MB/s BenchmarkCopy/16String-4 1859005 66.40 ns/op 240.96 MB/s BenchmarkCopy/32Byte-4 1707684 69.50 ns/op 460.40 MB/s BenchmarkCopy/32String-4 1748470 68.49 ns/op 467.20 MB/s BenchmarkCopy/128Byte-4 1331376 87.42 ns/op 1464.23 MB/s BenchmarkCopy/128String-4 1340772 91.44 ns/op 1399.81 MB/s BenchmarkCopy/1024Byte-4 431128 280.2 ns/op 3654.88 MB/s BenchmarkCopy/1024String-4 352518 326.9 ns/op 3132.46 MB/s BenchmarkAppendInPlace/NoGrow/Byte-4 28809 4040 ns/op BenchmarkAppendInPlace/NoGrow/1Ptr-4 16756 6434 ns/op BenchmarkAppendInPlace/NoGrow/2Ptr-4 10000 13047 ns/op BenchmarkAppendInPlace/NoGrow/3Ptr-4 10000 12733 ns/op BenchmarkAppendInPlace/NoGrow/4Ptr-4 8361 17311 ns/op BenchmarkAppendInPlace/Grow/Byte-4 164374 804.3 ns/op BenchmarkAppendInPlace/Grow/1Ptr-4 165480 816.1 ns/op BenchmarkAppendInPlace/Grow/2Ptr-4 117792 1249 ns/op BenchmarkAppendInPlace/Grow/3Ptr-4 92599 1334 ns/op BenchmarkAppendInPlace/Grow/4Ptr-4 77805 1489 ns/op BenchmarkStackCopyPtr-4 1 132406444 ns/op BenchmarkStackCopy-4 1 103114520 ns/op BenchmarkStackCopyNoCache-4 20 5462126 ns/op BenchmarkStackCopyWithStkobj-4 2 67141067 ns/op BenchmarkIssue18138-4 651 186875 ns/op BenchmarkCompareStringEqual-4 11127608 10.39 ns/op BenchmarkCompareStringIdentical-4 15857544 7.641 ns/op BenchmarkCompareStringSameLength-4 13071249 9.222 ns/op BenchmarkCompareStringDifferentLength-4 19904913 6.096 ns/op BenchmarkCompareStringBigUnaligned-4 1417 79361 ns/op 13212.79 MB/s BenchmarkCompareStringBig-4 1153 96552 ns/op 10860.28 MB/s BenchmarkConcatStringAndBytes-4 2138751 56.51 ns/op BenchmarkSliceByteToString/1-4 2260023 52.69 ns/op BenchmarkSliceByteToString/2-4 1000000 106.6 ns/op BenchmarkSliceByteToString/4-4 1000000 105.1 ns/op BenchmarkSliceByteToString/8-4 1000000 104.9 ns/op BenchmarkSliceByteToString/16-4 1000000 104.7 ns/op BenchmarkSliceByteToString/32-4 1000000 121.6 ns/op BenchmarkSliceByteToString/64-4 823772 148.4 ns/op BenchmarkSliceByteToString/128-4 767133 234.9 ns/op BenchmarkRuneCount/lenruneslice/ASCII-4 2223968 53.81 ns/op BenchmarkRuneCount/lenruneslice/Japanese-4 880812 136.7 ns/op BenchmarkRuneCount/lenruneslice/MixedLength-4 1000000 117.2 ns/op BenchmarkRuneCount/rangeloop/ASCII-4 3622516 32.90 ns/op BenchmarkRuneCount/rangeloop/Japanese-4 1632332 72.55 ns/op BenchmarkRuneCount/rangeloop/MixedLength-4 1878596 63.93 ns/op BenchmarkRuneCount/utf8.RuneCountInString/ASCII-4 2339323 50.96 ns/op BenchmarkRuneCount/utf8.RuneCountInString/Japanese-4 457292 258.0 ns/op BenchmarkRuneCount/utf8.RuneCountInString/MixedLength-4 571184 203.0 ns/op BenchmarkRuneIterate/range/ASCII-4 6333229 18.95 ns/op BenchmarkRuneIterate/range/Japanese-4 2046778 58.07 ns/op BenchmarkRuneIterate/range/MixedLength-4 2297118 50.39 ns/op BenchmarkRuneIterate/range1/ASCII-4 6282663 19.11 ns/op BenchmarkRuneIterate/range1/Japanese-4 2041620 57.85 ns/op BenchmarkRuneIterate/range1/MixedLength-4 2310992 50.37 ns/op BenchmarkRuneIterate/range2/ASCII-4 6225632 18.67 ns/op BenchmarkRuneIterate/range2/Japanese-4 2037502 58.71 ns/op BenchmarkRuneIterate/range2/MixedLength-4 2320015 50.27 ns/op BenchmarkArrayEqual-4 17908030 6.710 ns/op BenchmarkFunc/Name-4 2838766 42.40 ns/op BenchmarkFunc/Entry-4 10260738 11.68 ns/op BenchmarkFunc/FileLine-4 1596080 75.40 ns/op PASS ok runtime 146.987s goos: freebsd goarch: amd64 pkg: runtime/cgo cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHandle/non-concurrent-4 22141 4556 ns/op BenchmarkHandle/concurrent-4 12834 9540 ns/op PASS ok runtime/cgo 1.390s goos: freebsd goarch: amd64 pkg: runtime/internal/atomic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAtomicLoad64-4 21303140 5.628 ns/op BenchmarkAtomicStore64-4 9728479 12.39 ns/op BenchmarkAtomicLoad-4 21158601 5.656 ns/op BenchmarkAtomicStore-4 9706444 12.36 ns/op BenchmarkAnd8-4 9726901 12.36 ns/op BenchmarkAnd-4 9602296 12.40 ns/op BenchmarkAnd8Parallel-4 3033370 50.67 ns/op BenchmarkAndParallel-4 2523792 48.15 ns/op BenchmarkOr8-4 9721092 12.38 ns/op BenchmarkOr-4 9710666 12.42 ns/op BenchmarkOr8Parallel-4 2433126 49.85 ns/op BenchmarkOrParallel-4 2316931 48.10 ns/op BenchmarkXadd-4 2319355 51.09 ns/op BenchmarkXadd64-4 2464411 50.24 ns/op BenchmarkCas-4 2259157 53.61 ns/op BenchmarkCas64-4 2110338 52.68 ns/op BenchmarkXchg-4 2417088 49.93 ns/op BenchmarkXchg64-4 2414139 50.45 ns/op PASS ok runtime/internal/atomic 3.901s goos: freebsd goarch: amd64 pkg: runtime/internal/math cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkMulUintptr/small-4 4714603 25.28 ns/op BenchmarkMulUintptr/large-4 3521905 34.03 ns/op PASS ok runtime/internal/math 1.391s goos: freebsd goarch: amd64 pkg: runtime/pprof cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkGoroutine/Profile.WriteTo_idle_50-4 26 4211724 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_50-4 27 4893996 ns/op 352.2 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_50-4 1009 124311 ns/op 4.997 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_500-4 10 11011101 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_500-4 8 12921005 ns/op 893.4 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_500-4 159 766862 ns/op 46.96 concurrent_launches/op BenchmarkGoroutine/Profile.WriteTo_idle_5000-4 2 76531366 ns/op BenchmarkGoroutine/Profile.WriteTo_churn_5000-4 2 89890780 ns/op 6532 concurrent_launches/op BenchmarkGoroutine/runtime.GoroutineProfile_churn_5000-4 12 9654666 ns/op 684.4 concurrent_launches/op PASS ok runtime/pprof 2.809s goos: freebsd goarch: amd64 pkg: runtime/race cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSyncLeak-4 48 2697303 ns/op BenchmarkStackLeak-4 11348 10553 ns/op PASS ok runtime/race 1.433s goos: freebsd goarch: amd64 pkg: runtime/trace cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkStartRegion-4 4542964 25.95 ns/op 0 B/op 0 allocs/op BenchmarkNewTask-4 221511 596.3 ns/op 64 B/op 2 allocs/op PASS ok runtime/trace 1.361s goos: freebsd goarch: amd64 pkg: slices cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEqualFunc_Large-4 28 3910445 ns/op BenchmarkIndex_Large-4 16640 6841 ns/op BenchmarkIndexFunc_Large-4 110 1150263 ns/op BenchmarkCompact/nil-4 7886322 14.79 ns/op BenchmarkCompact/one-4 1830595 64.92 ns/op BenchmarkCompact/sorted-4 1227757 97.92 ns/op BenchmarkCompact/1_item-4 1000000 110.9 ns/op BenchmarkCompact/unsorted-4 1226413 98.61 ns/op BenchmarkCompact/many-4 718243 164.5 ns/op BenchmarkCompact_Large-4 643 168164 ns/op BenchmarkCompactFunc_Large-4 58 2186102 ns/op BenchmarkReplace/naive-fast-4 77412 1476 ns/op BenchmarkReplace/optimized-fast-4 90999 1334 ns/op BenchmarkReplace/naive-slow-4 28719 4608 ns/op BenchmarkReplace/optimized-slow-4 26673 3767 ns/op BenchmarkSortInts-4 2 92453988 ns/op BenchmarkSlicesSortInts-4 2 62794316 ns/op BenchmarkSlicesSortInts_Sorted-4 51 2206626 ns/op BenchmarkSlicesSortInts_Reversed-4 34 3402203 ns/op BenchmarkSortStrings-4 1 159020540 ns/op BenchmarkSlicesSortStrings-4 1 107722251 ns/op BenchmarkSortStructs-4 1 195737030 ns/op BenchmarkSortFuncStructs-4 1 170140261 ns/op BenchmarkBinarySearchFloats/Size16-4 1209874 98.87 ns/op BenchmarkBinarySearchFloats/Size32-4 1000000 113.4 ns/op BenchmarkBinarySearchFloats/Size64-4 932882 126.0 ns/op BenchmarkBinarySearchFloats/Size128-4 793476 148.3 ns/op BenchmarkBinarySearchFloats/Size512-4 650528 177.7 ns/op BenchmarkBinarySearchFloats/Size1024-4 625251 191.6 ns/op BenchmarkBinarySearchFuncStruct/Size16-4 612069 187.3 ns/op BenchmarkBinarySearchFuncStruct/Size32-4 506697 235.3 ns/op BenchmarkBinarySearchFuncStruct/Size64-4 446330 264.4 ns/op BenchmarkBinarySearchFuncStruct/Size128-4 381333 297.3 ns/op BenchmarkBinarySearchFuncStruct/Size512-4 327415 364.3 ns/op BenchmarkBinarySearchFuncStruct/Size1024-4 290415 400.7 ns/op PASS ok slices 13.157s goos: freebsd goarch: amd64 pkg: sort cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSearchWrappers-4 158059 707.3 ns/op BenchmarkSortString1K-4 178 663097 ns/op BenchmarkSortString1K_Slice-4 205 589400 ns/op BenchmarkStableString1K-4 100 1113580 ns/op BenchmarkSortInt1K-4 212 562602 ns/op BenchmarkSortInt1K_Sorted-4 3170 37680 ns/op BenchmarkSortInt1K_Reversed-4 1893 60483 ns/op BenchmarkSortInt1K_Mod8-4 505 239695 ns/op BenchmarkStableInt1K-4 147 805927 ns/op BenchmarkStableInt1K_Slice-4 162 719912 ns/op BenchmarkSortInt64K-4 2 55712395 ns/op BenchmarkSortInt64K_Slice-4 3 44992032 ns/op BenchmarkStableInt64K-4 2 75558375 ns/op BenchmarkSort1e2-4 442 260578 ns/op BenchmarkStable1e2-4 174 703053 ns/op BenchmarkSort1e4-4 2 52239938 ns/op BenchmarkStable1e4-4 1 233148176 ns/op PASS ok sort 4.553s goos: freebsd goarch: amd64 pkg: strconv cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAtof64Decimal-4 864942 138.7 ns/op BenchmarkAtof64Float-4 637101 159.8 ns/op BenchmarkAtof64FloatExp-4 630684 188.7 ns/op BenchmarkAtof64Big-4 433977 264.4 ns/op BenchmarkAtof64RandomBits-4 220242 520.7 ns/op BenchmarkAtof64RandomFloats-4 447267 262.5 ns/op BenchmarkAtof64RandomLongFloats-4 297384 400.7 ns/op BenchmarkAtof32Decimal-4 855235 139.3 ns/op BenchmarkAtof32Float-4 752766 153.7 ns/op BenchmarkAtof32FloatExp-4 609894 193.0 ns/op BenchmarkAtof32Random-4 364558 325.3 ns/op BenchmarkAtof32RandomLong-4 151832 779.9 ns/op BenchmarkParseInt/Pos/7bit-4 1341498 89.54 ns/op BenchmarkParseInt/Pos/26bit-4 717565 162.2 ns/op BenchmarkParseInt/Pos/31bit-4 605101 195.3 ns/op BenchmarkParseInt/Pos/56bit-4 418534 282.2 ns/op BenchmarkParseInt/Pos/63bit-4 383983 300.5 ns/op BenchmarkParseInt/Neg/7bit-4 1352500 86.67 ns/op BenchmarkParseInt/Neg/26bit-4 710593 159.9 ns/op BenchmarkParseInt/Neg/31bit-4 595290 194.8 ns/op BenchmarkParseInt/Neg/56bit-4 405870 275.9 ns/op BenchmarkParseInt/Neg/63bit-4 380919 294.8 ns/op BenchmarkAtoi/Pos/7bit-4 2111584 56.55 ns/op BenchmarkAtoi/Pos/26bit-4 879519 125.1 ns/op BenchmarkAtoi/Pos/31bit-4 840849 139.0 ns/op BenchmarkAtoi/Pos/56bit-4 506409 233.3 ns/op BenchmarkAtoi/Pos/63bit-4 372724 314.9 ns/op BenchmarkAtoi/Neg/7bit-4 2040026 58.23 ns/op BenchmarkAtoi/Neg/26bit-4 937422 124.9 ns/op BenchmarkAtoi/Neg/31bit-4 844279 139.6 ns/op BenchmarkAtoi/Neg/56bit-4 519207 225.9 ns/op BenchmarkAtoi/Neg/63bit-4 381285 309.2 ns/op BenchmarkFormatFloat/Decimal-4 116744 1069 ns/op BenchmarkFormatFloat/Float-4 104365 1103 ns/op BenchmarkFormatFloat/Exp-4 115880 1036 ns/op BenchmarkFormatFloat/NegExp-4 116314 1052 ns/op BenchmarkFormatFloat/LongExp-4 92466 1279 ns/op BenchmarkFormatFloat/Big-4 92997 1294 ns/op BenchmarkFormatFloat/BinaryExp-4 213518 567.5 ns/op BenchmarkFormatFloat/32Integer-4 115312 1030 ns/op BenchmarkFormatFloat/32ExactFraction-4 123529 984.1 ns/op BenchmarkFormatFloat/32Point-4 108291 1095 ns/op BenchmarkFormatFloat/32Exp-4 118401 1019 ns/op BenchmarkFormatFloat/32NegExp-4 116950 1014 ns/op BenchmarkFormatFloat/32Shortest-4 123208 971.5 ns/op BenchmarkFormatFloat/32Fixed8Hard-4 136539 877.2 ns/op BenchmarkFormatFloat/32Fixed9Hard-4 129993 894.9 ns/op BenchmarkFormatFloat/64Fixed1-4 154959 774.3 ns/op BenchmarkFormatFloat/64Fixed2-4 155523 765.6 ns/op BenchmarkFormatFloat/64Fixed3-4 154417 768.6 ns/op BenchmarkFormatFloat/64Fixed4-4 154048 777.9 ns/op BenchmarkFormatFloat/64Fixed12-4 88268 1382 ns/op BenchmarkFormatFloat/64Fixed16-4 111180 1084 ns/op BenchmarkFormatFloat/64Fixed12Hard-4 113440 1043 ns/op BenchmarkFormatFloat/64Fixed17Hard-4 102468 1163 ns/op BenchmarkFormatFloat/64Fixed18Hard-4 2497 47937 ns/op BenchmarkFormatFloat/Slowpath64-4 91116 1279 ns/op BenchmarkFormatFloat/SlowpathDenormal64-4 93631 1279 ns/op BenchmarkAppendFloat/Decimal-4 135441 871.2 ns/op BenchmarkAppendFloat/Float-4 123849 978.9 ns/op BenchmarkAppendFloat/Exp-4 128630 871.0 ns/op BenchmarkAppendFloat/NegExp-4 138921 871.2 ns/op BenchmarkAppendFloat/LongExp-4 110085 1064 ns/op BenchmarkAppendFloat/Big-4 106606 1103 ns/op BenchmarkAppendFloat/BinaryExp-4 330388 354.3 ns/op BenchmarkAppendFloat/32Integer-4 140502 851.8 ns/op BenchmarkAppendFloat/32ExactFraction-4 140911 845.3 ns/op BenchmarkAppendFloat/32Point-4 128806 899.9 ns/op BenchmarkAppendFloat/32Exp-4 140168 839.0 ns/op BenchmarkAppendFloat/32NegExp-4 138888 827.4 ns/op BenchmarkAppendFloat/32Shortest-4 158698 749.1 ns/op BenchmarkAppendFloat/32Fixed8Hard-4 177606 680.7 ns/op BenchmarkAppendFloat/32Fixed9Hard-4 170768 708.2 ns/op BenchmarkAppendFloat/64Fixed1-4 192848 614.7 ns/op BenchmarkAppendFloat/64Fixed2-4 197222 606.4 ns/op BenchmarkAppendFloat/64Fixed3-4 194286 606.8 ns/op BenchmarkAppendFloat/64Fixed4-4 199196 602.0 ns/op BenchmarkAppendFloat/64Fixed12-4 105240 1134 ns/op BenchmarkAppendFloat/64Fixed16-4 132786 877.3 ns/op BenchmarkAppendFloat/64Fixed12Hard-4 147538 802.2 ns/op BenchmarkAppendFloat/64Fixed17Hard-4 122038 975.9 ns/op BenchmarkAppendFloat/64Fixed18Hard-4 2522 47182 ns/op BenchmarkAppendFloat/Slowpath64-4 112611 1067 ns/op BenchmarkAppendFloat/SlowpathDenormal64-4 115106 1033 ns/op BenchmarkFormatInt-4 15530 7834 ns/op BenchmarkAppendInt-4 17746 6769 ns/op BenchmarkFormatUint-4 86019 1451 ns/op BenchmarkAppendUint-4 94846 1248 ns/op BenchmarkFormatIntSmall/7-4 2682387 44.79 ns/op BenchmarkFormatIntSmall/42-4 2730721 43.92 ns/op BenchmarkAppendIntSmall-4 1425948 83.61 ns/op BenchmarkAppendUintVarlen/1-4 1336424 90.10 ns/op BenchmarkAppendUintVarlen/12-4 1328943 90.30 ns/op BenchmarkAppendUintVarlen/123-4 913347 125.1 ns/op BenchmarkAppendUintVarlen/1234-4 942235 126.8 ns/op BenchmarkAppendUintVarlen/12345-4 906274 128.2 ns/op BenchmarkAppendUintVarlen/123456-4 908028 130.1 ns/op BenchmarkAppendUintVarlen/1234567-4 851263 132.6 ns/op BenchmarkAppendUintVarlen/12345678-4 910932 127.8 ns/op BenchmarkAppendUintVarlen/123456789-4 896540 132.4 ns/op BenchmarkAppendUintVarlen/1234567890-4 890166 132.4 ns/op BenchmarkAppendUintVarlen/12345678901-4 865592 135.7 ns/op BenchmarkAppendUintVarlen/123456789012-4 878610 135.7 ns/op BenchmarkAppendUintVarlen/1234567890123-4 853462 138.1 ns/op BenchmarkAppendUintVarlen/12345678901234-4 844051 139.3 ns/op BenchmarkAppendUintVarlen/123456789012345-4 816936 142.7 ns/op BenchmarkAppendUintVarlen/1234567890123456-4 838110 142.8 ns/op BenchmarkAppendUintVarlen/12345678901234567-4 814903 148.9 ns/op BenchmarkAppendUintVarlen/123456789012345678-4 783912 147.3 ns/op BenchmarkAppendUintVarlen/1234567890123456789-4 754131 151.5 ns/op BenchmarkAppendUintVarlen/12345678901234567890-4 737518 153.9 ns/op BenchmarkQuote-4 45733 2626 ns/op BenchmarkQuoteRune-4 465604 250.6 ns/op BenchmarkAppendQuote-4 53580 2199 ns/op BenchmarkAppendQuoteRune-4 841239 136.8 ns/op BenchmarkUnquoteEasy-4 1360690 88.11 ns/op BenchmarkUnquoteHard-4 49000 2459 ns/op PASS ok strconv 16.996s goos: freebsd goarch: amd64 pkg: strings cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkBuildString_Builder/1Write_NoGrow-4 396534 277.6 ns/op 48 B/op 1 allocs/op BenchmarkBuildString_Builder/3Write_NoGrow-4 142344 897.6 ns/op 336 B/op 3 allocs/op BenchmarkBuildString_Builder/3Write_Grow-4 186439 645.0 ns/op 112 B/op 1 allocs/op BenchmarkBuildString_ByteBuffer/1Write_NoGrow-4 303962 387.9 ns/op 112 B/op 2 allocs/op BenchmarkBuildString_ByteBuffer/3Write_NoGrow-4 91516 1364 ns/op 432 B/op 4 allocs/op BenchmarkBuildString_ByteBuffer/3Write_Grow-4 102712 1124 ns/op 336 B/op 3 allocs/op BenchmarkClone-4 667502 175.7 ns/op 48 B/op 1 allocs/op BenchmarkGenericNoMatch-4 23282 5183 ns/op BenchmarkGenericMatch1-4 2325 50258 ns/op BenchmarkGenericMatch2-4 458 261847 ns/op BenchmarkSingleMaxSkipping-4 9075 12757 ns/op 783.87 MB/s BenchmarkSingleLongSuffixFail-4 15969 7552 ns/op 132.69 MB/s BenchmarkSingleMatch-4 259 450353 ns/op 33.31 MB/s BenchmarkByteByteNoMatch-4 75429 1600 ns/op BenchmarkByteByteMatch-4 19718 6119 ns/op BenchmarkByteStringMatch-4 22957 5087 ns/op BenchmarkHTMLEscapeNew-4 75447 1589 ns/op BenchmarkHTMLEscapeOld-4 88791 1345 ns/op BenchmarkByteStringReplacerWriteString-4 1491 77769 ns/op BenchmarkByteReplacerWriteString-4 1680 70217 ns/op BenchmarkByteByteReplaces-4 3194 35073 ns/op BenchmarkByteByteMap-4 10000 10990 ns/op BenchmarkMap/identity/ASCII-4 603802 196.2 ns/op BenchmarkMap/identity/Greek-4 451228 264.3 ns/op BenchmarkMap/change/ASCII-4 38899 3032 ns/op BenchmarkMap/change/Greek-4 29319 4088 ns/op BenchmarkIndexRune-4 1998319 59.90 ns/op BenchmarkIndexRuneLongString-4 1659832 71.81 ns/op BenchmarkIndexRuneFastPath-4 4259787 28.94 ns/op BenchmarkIndex-4 4225492 28.96 ns/op BenchmarkLastIndex-4 4523395 26.36 ns/op BenchmarkIndexByte-4 9992778 12.11 ns/op BenchmarkToUpper/#00-4 3371017 35.16 ns/op BenchmarkToUpper/ONLYUPPER-4 2295840 52.09 ns/op BenchmarkToUpper/abc-4 330912 360.6 ns/op BenchmarkToUpper/AbC123-4 255901 475.1 ns/op BenchmarkToUpper/azAZ09_-4 274462 422.7 ns/op BenchmarkToUpper/longStrinGwitHmixofsmaLLandcAps-4 54657 2128 ns/op BenchmarkToUpper/RENAN_BASTOS_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 73916 1617 ns/op BenchmarkToUpper/longɐstringɐwithɐnonasciiⱯchars-4 34627 3473 ns/op BenchmarkToUpper/ɐɐɐɐɐ-4 59600 2000 ns/op BenchmarkToUpper/a\u0080\U0010ffff-4 124654 946.9 ns/op BenchmarkToLower/#00-4 3379359 35.21 ns/op BenchmarkToLower/abc-4 2958188 39.91 ns/op BenchmarkToLower/AbC123-4 231516 517.3 ns/op BenchmarkToLower/azAZ09_-4 229471 519.8 ns/op BenchmarkToLower/longStrinGwitHmixofsmaLLandcAps-4 91656 1218 ns/op BenchmarkToLower/renan_bastos_93_AOSDAJDJAIDJAIDAJIaidsjjaidijadsjiadjiOOKKO-4 66676 1781 ns/op BenchmarkToLower/LONGⱯSTRINGⱯWITHⱯNONASCIIⱯCHARS-4 35389 3411 ns/op BenchmarkToLower/ⱭⱭⱭⱭⱭ-4 78392 1525 ns/op BenchmarkToLower/A\u0080\U0010ffff-4 123529 967.7 ns/op BenchmarkMapNoChanges-4 829239 142.3 ns/op BenchmarkTrim-4 37592 3211 ns/op 0 B/op 0 allocs/op BenchmarkToValidUTF8/Valid-4 3265177 36.69 ns/op BenchmarkToValidUTF8/InvalidASCII-4 192993 620.1 ns/op BenchmarkToValidUTF8/InvalidNonASCII-4 128850 912.3 ns/op BenchmarkEqualFold/Tests-4 53420 2219 ns/op BenchmarkEqualFold/ASCII-4 3395870 35.57 ns/op BenchmarkEqualFold/UnicodePrefix-4 118761 1009 ns/op BenchmarkEqualFold/UnicodeSuffix-4 120116 970.4 ns/op BenchmarkIndexHard1-4 842 141815 ns/op BenchmarkIndexHard2-4 598 197412 ns/op BenchmarkIndexHard3-4 151 787903 ns/op BenchmarkIndexHard4-4 177 677220 ns/op BenchmarkLastIndexHard1-4 60 1970683 ns/op BenchmarkLastIndexHard2-4 60 1965740 ns/op BenchmarkLastIndexHard3-4 60 1970192 ns/op BenchmarkCountHard1-4 849 141931 ns/op BenchmarkCountHard2-4 604 199096 ns/op BenchmarkCountHard3-4 150 789533 ns/op BenchmarkIndexTorture-4 7728 15483 ns/op BenchmarkCountTorture-4 7514 15482 ns/op BenchmarkCountTortureOverlapping-4 669 152855 ns/op BenchmarkCountByte/10-4 4127697 30.60 ns/op 326.85 MB/s BenchmarkCountByte/32-4 3851197 31.54 ns/op 1014.63 MB/s BenchmarkCountByte/4096-4 865054 135.0 ns/op 30346.86 MB/s BenchmarkCountByte/4194304-4 672 151107 ns/op 27757.21 MB/s BenchmarkCountByte/67108864-4 16 7565924 ns/op 8869.88 MB/s BenchmarkFields/ASCII/16-4 296902 376.0 ns/op 42.55 MB/s 16 B/op 1 allocs/op BenchmarkFields/ASCII/256-4 25029 4791 ns/op 53.44 MB/s 176 B/op 1 allocs/op BenchmarkFields/ASCII/4096-4 1401 84991 ns/op 48.19 MB/s 6144 B/op 1 allocs/op BenchmarkFields/ASCII/65536-4 79 1470752 ns/op 44.56 MB/s 98304 B/op 1 allocs/op BenchmarkFields/ASCII/1048576-4 5 23496839 ns/op 44.63 MB/s 1507328 B/op 1 allocs/op BenchmarkFields/Mixed/16-4 149403 797.9 ns/op 20.05 MB/s 32 B/op 1 allocs/op BenchmarkFields/Mixed/256-4 9546 10627 ns/op 24.09 MB/s 288 B/op 1 allocs/op BenchmarkFields/Mixed/4096-4 619 192536 ns/op 21.27 MB/s 21504 B/op 5 allocs/op BenchmarkFields/Mixed/65536-4 33 3585107 ns/op 18.28 MB/s 463104 B/op 12 allocs/op BenchmarkFields/Mixed/1048576-4 2 66078581 ns/op 15.87 MB/s 10449152 B/op 24 allocs/op BenchmarkFieldsFunc/ASCII/16-4 261206 475.8 ns/op 33.63 MB/s 16 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/256-4 20877 5693 ns/op 44.97 MB/s 176 B/op 1 allocs/op BenchmarkFieldsFunc/ASCII/4096-4 972 122719 ns/op 33.38 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/ASCII/65536-4 50 2399639 ns/op 27.31 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/ASCII/1048576-4 3 47260454 ns/op 22.19 MB/s 10449152 B/op 24 allocs/op BenchmarkFieldsFunc/Mixed/16-4 181069 646.6 ns/op 24.74 MB/s 32 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/256-4 14664 8185 ns/op 31.28 MB/s 288 B/op 1 allocs/op BenchmarkFieldsFunc/Mixed/4096-4 787 151469 ns/op 27.04 MB/s 21504 B/op 5 allocs/op BenchmarkFieldsFunc/Mixed/65536-4 39 2949615 ns/op 22.22 MB/s 463104 B/op 12 allocs/op BenchmarkFieldsFunc/Mixed/1048576-4 2 56861866 ns/op 18.44 MB/s 10449152 B/op 24 allocs/op BenchmarkSplitEmptySeparator-4 2 73401456 ns/op BenchmarkSplitSingleByteSeparator-4 21 5585624 ns/op BenchmarkSplitMultiByteSeparator-4 36 3151607 ns/op BenchmarkSplitNSingleByteSeparator-4 225338 546.9 ns/op BenchmarkSplitNMultiByteSeparator-4 180681 680.8 ns/op BenchmarkRepeat/5x0-4 3626556 33.24 ns/op BenchmarkRepeat/5x1-4 3595484 32.62 ns/op BenchmarkRepeat/5x2-4 264020 448.2 ns/op BenchmarkRepeat/5x6-4 162127 742.9 ns/op BenchmarkRepeat/10x0-4 3666856 32.76 ns/op BenchmarkRepeat/10x1-4 3622338 32.83 ns/op BenchmarkRepeat/10x2-4 262927 456.2 ns/op BenchmarkRepeat/10x6-4 152551 769.1 ns/op BenchmarkRepeatLarge/256/1-4 74466 1619 ns/op 158.07 MB/s BenchmarkRepeatLarge/256/16-4 117762 1020 ns/op 250.89 MB/s BenchmarkRepeatLarge/512/1-4 59140 2056 ns/op 248.97 MB/s BenchmarkRepeatLarge/512/16-4 85218 1419 ns/op 360.78 MB/s BenchmarkRepeatLarge/1024/1-4 44174 2643 ns/op 387.41 MB/s BenchmarkRepeatLarge/1024/16-4 60178 2040 ns/op 501.94 MB/s BenchmarkRepeatLarge/2048/1-4 32773 3642 ns/op 562.27 MB/s BenchmarkRepeatLarge/2048/16-4 39801 3044 ns/op 672.83 MB/s BenchmarkRepeatLarge/4096/1-4 21409 5748 ns/op 712.65 MB/s BenchmarkRepeatLarge/4096/16-4 24366 4965 ns/op 825.00 MB/s BenchmarkRepeatLarge/8192/1-4 12676 9534 ns/op 859.22 MB/s BenchmarkRepeatLarge/8192/16-4 13552 8943 ns/op 916.05 MB/s BenchmarkRepeatLarge/8192/4097-4 5267212 22.16 ns/op 184923.37 MB/s BenchmarkRepeatLarge/16384/1-4 6810 16858 ns/op 971.87 MB/s BenchmarkRepeatLarge/16384/16-4 7449 15636 ns/op 1047.86 MB/s BenchmarkRepeatLarge/16384/4097-4 9450 12054 ns/op 1019.66 MB/s BenchmarkRepeatLarge/32768/1-4 3874 30183 ns/op 1085.66 MB/s BenchmarkRepeatLarge/32768/16-4 4011 29765 ns/op 1100.89 MB/s BenchmarkRepeatLarge/32768/4097-4 3795 27221 ns/op 1053.55 MB/s BenchmarkRepeatLarge/65536/1-4 2000 59006 ns/op 1110.66 MB/s BenchmarkRepeatLarge/65536/16-4 2077 57158 ns/op 1146.59 MB/s BenchmarkRepeatLarge/65536/4097-4 2112 54501 ns/op 1127.59 MB/s BenchmarkRepeatLarge/131072/1-4 444 269742 ns/op 485.92 MB/s BenchmarkRepeatLarge/131072/16-4 446 267294 ns/op 490.37 MB/s BenchmarkRepeatLarge/131072/4097-4 456 260720 ns/op 487.14 MB/s BenchmarkRepeatLarge/262144/1-4 225 529976 ns/op 494.63 MB/s BenchmarkRepeatLarge/262144/16-4 228 528415 ns/op 496.09 MB/s BenchmarkRepeatLarge/262144/4097-4 228 520738 ns/op 495.66 MB/s BenchmarkRepeatLarge/524288/1-4 100 1039987 ns/op 504.13 MB/s BenchmarkRepeatLarge/524288/16-4 116 1026381 ns/op 510.81 MB/s BenchmarkRepeatLarge/524288/4097-4 100 1011402 ns/op 514.45 MB/s BenchmarkRepeatLarge/1048576/1-4 60 1990269 ns/op 526.85 MB/s BenchmarkRepeatLarge/1048576/16-4 62 2004534 ns/op 523.10 MB/s BenchmarkRepeatLarge/1048576/4097-4 62 1981482 ns/op 527.25 MB/s BenchmarkRepeatLarge/2097152/1-4 28 3875855 ns/op 541.08 MB/s BenchmarkRepeatLarge/2097152/16-4 28 3871417 ns/op 541.70 MB/s BenchmarkRepeatLarge/2097152/4097-4 30 3991485 ns/op 524.51 MB/s BenchmarkRepeatLarge/4194304/1-4 14 8008169 ns/op 523.75 MB/s BenchmarkRepeatLarge/4194304/16-4 14 7778938 ns/op 539.19 MB/s BenchmarkRepeatLarge/4194304/4097-4 14 7882902 ns/op 531.69 MB/s BenchmarkRepeatLarge/8388608/1-4 7 16203620 ns/op 517.70 MB/s BenchmarkRepeatLarge/8388608/16-4 7 15776914 ns/op 531.70 MB/s BenchmarkRepeatLarge/8388608/4097-4 7 15810398 ns/op 530.45 MB/s BenchmarkRepeatLarge/16777216/1-4 4 31690930 ns/op 529.40 MB/s BenchmarkRepeatLarge/16777216/16-4 4 31792354 ns/op 527.71 MB/s BenchmarkRepeatLarge/16777216/4097-4 4 31678068 ns/op 529.62 MB/s BenchmarkRepeatLarge/33554432/1-4 2 63902117 ns/op 525.09 MB/s BenchmarkRepeatLarge/33554432/16-4 2 61976128 ns/op 541.41 MB/s BenchmarkRepeatLarge/33554432/4097-4 2 62942714 ns/op 533.09 MB/s BenchmarkRepeatLarge/67108864/1-4 1 124293098 ns/op 539.92 MB/s BenchmarkRepeatLarge/67108864/16-4 1 124259661 ns/op 540.07 MB/s BenchmarkRepeatLarge/67108864/4097-4 1 124221231 ns/op 540.24 MB/s BenchmarkRepeatLarge/134217728/1-4 1 277661046 ns/op 483.39 MB/s BenchmarkRepeatLarge/134217728/16-4 1 263539615 ns/op 509.29 MB/s BenchmarkRepeatLarge/134217728/4097-4 1 248344800 ns/op 540.45 MB/s BenchmarkRepeatLarge/268435456/1-4 1 561861087 ns/op 477.76 MB/s BenchmarkRepeatLarge/268435456/16-4 1 494585287 ns/op 542.75 MB/s BenchmarkRepeatLarge/268435456/4097-4 1 503390731 ns/op 533.25 MB/s BenchmarkRepeatLarge/536870912/1-4 1 1121818850 ns/op 478.57 MB/s BenchmarkRepeatLarge/536870912/16-4 1 985983663 ns/op 544.50 MB/s BenchmarkRepeatLarge/536870912/4097-4 1 997304225 ns/op 538.32 MB/s BenchmarkRepeatLarge/1073741824/1-4 1 2234224305 ns/op 480.59 MB/s BenchmarkRepeatLarge/1073741824/16-4 1 1959024759 ns/op 548.10 MB/s BenchmarkRepeatLarge/1073741824/4097-4 1 1970317109 ns/op 544.96 MB/s BenchmarkIndexAnyASCII/1:1-4 1995565 58.95 ns/op BenchmarkIndexAnyASCII/1:2-4 2051974 57.61 ns/op BenchmarkIndexAnyASCII/1:4-4 2036943 57.00 ns/op BenchmarkIndexAnyASCII/1:8-4 2042299 58.80 ns/op BenchmarkIndexAnyASCII/1:16-4 2061994 57.04 ns/op BenchmarkIndexAnyASCII/1:32-4 2032323 56.88 ns/op BenchmarkIndexAnyASCII/1:64-4 2054049 57.59 ns/op BenchmarkIndexAnyASCII/16:1-4 1955793 58.62 ns/op BenchmarkIndexAnyASCII/16:2-4 769603 156.3 ns/op BenchmarkIndexAnyASCII/16:4-4 728526 160.4 ns/op BenchmarkIndexAnyASCII/16:8-4 660074 167.7 ns/op BenchmarkIndexAnyASCII/16:16-4 661417 179.0 ns/op BenchmarkIndexAnyASCII/16:32-4 512952 203.2 ns/op BenchmarkIndexAnyASCII/16:64-4 450786 248.7 ns/op BenchmarkIndexAnyASCII/256:1-4 1842870 63.44 ns/op BenchmarkIndexAnyASCII/256:2-4 71743 1661 ns/op BenchmarkIndexAnyASCII/256:4-4 71176 1654 ns/op BenchmarkIndexAnyASCII/256:8-4 71088 1672 ns/op BenchmarkIndexAnyASCII/256:16-4 69588 1679 ns/op BenchmarkIndexAnyASCII/256:32-4 68311 1695 ns/op BenchmarkIndexAnyASCII/256:64-4 68150 1761 ns/op BenchmarkIndexAnyUTF8/1:1-4 2044656 57.82 ns/op BenchmarkIndexAnyUTF8/1:2-4 2042614 57.93 ns/op BenchmarkIndexAnyUTF8/1:4-4 2046450 57.04 ns/op BenchmarkIndexAnyUTF8/1:8-4 2018971 56.72 ns/op BenchmarkIndexAnyUTF8/1:16-4 2094942 55.69 ns/op BenchmarkIndexAnyUTF8/1:32-4 2071898 56.65 ns/op BenchmarkIndexAnyUTF8/1:64-4 2091417 56.73 ns/op BenchmarkIndexAnyUTF8/16:1-4 1608313 72.56 ns/op BenchmarkIndexAnyUTF8/16:2-4 310905 389.1 ns/op BenchmarkIndexAnyUTF8/16:4-4 303592 387.8 ns/op BenchmarkIndexAnyUTF8/16:8-4 303144 390.1 ns/op BenchmarkIndexAnyUTF8/16:16-4 296736 402.6 ns/op BenchmarkIndexAnyUTF8/16:32-4 293140 402.4 ns/op BenchmarkIndexAnyUTF8/16:64-4 291476 402.1 ns/op BenchmarkIndexAnyUTF8/256:1-4 446811 266.3 ns/op BenchmarkIndexAnyUTF8/256:2-4 22206 5543 ns/op BenchmarkIndexAnyUTF8/256:4-4 21720 5504 ns/op BenchmarkIndexAnyUTF8/256:8-4 21723 5408 ns/op BenchmarkIndexAnyUTF8/256:16-4 21843 5618 ns/op BenchmarkIndexAnyUTF8/256:32-4 21289 5906 ns/op BenchmarkIndexAnyUTF8/256:64-4 20373 5678 ns/op BenchmarkLastIndexAnyASCII/1:1-4 1971082 59.32 ns/op BenchmarkLastIndexAnyASCII/1:2-4 2088222 58.76 ns/op BenchmarkLastIndexAnyASCII/1:4-4 2012574 57.69 ns/op BenchmarkLastIndexAnyASCII/1:8-4 2078492 57.50 ns/op BenchmarkLastIndexAnyASCII/1:16-4 2133902 56.95 ns/op BenchmarkLastIndexAnyASCII/1:32-4 2034969 59.12 ns/op BenchmarkLastIndexAnyASCII/1:64-4 2019558 58.79 ns/op BenchmarkLastIndexAnyASCII/16:1-4 807974 151.4 ns/op BenchmarkLastIndexAnyASCII/16:2-4 779455 152.9 ns/op BenchmarkLastIndexAnyASCII/16:4-4 770172 156.0 ns/op BenchmarkLastIndexAnyASCII/16:8-4 730304 162.6 ns/op BenchmarkLastIndexAnyASCII/16:16-4 686101 172.1 ns/op BenchmarkLastIndexAnyASCII/16:32-4 599851 199.8 ns/op BenchmarkLastIndexAnyASCII/16:64-4 486028 245.6 ns/op BenchmarkLastIndexAnyASCII/256:1-4 73376 1620 ns/op BenchmarkLastIndexAnyASCII/256:2-4 73354 1623 ns/op BenchmarkLastIndexAnyASCII/256:4-4 73400 1627 ns/op BenchmarkLastIndexAnyASCII/256:8-4 73660 1647 ns/op BenchmarkLastIndexAnyASCII/256:16-4 73302 1651 ns/op BenchmarkLastIndexAnyASCII/256:32-4 71590 1688 ns/op BenchmarkLastIndexAnyASCII/256:64-4 69642 1719 ns/op BenchmarkLastIndexAnyUTF8/1:1-4 2049230 57.74 ns/op BenchmarkLastIndexAnyUTF8/1:2-4 2102770 55.68 ns/op BenchmarkLastIndexAnyUTF8/1:4-4 2117707 56.09 ns/op BenchmarkLastIndexAnyUTF8/1:8-4 2088331 56.09 ns/op BenchmarkLastIndexAnyUTF8/1:16-4 2125510 55.74 ns/op BenchmarkLastIndexAnyUTF8/1:32-4 2075644 58.42 ns/op BenchmarkLastIndexAnyUTF8/1:64-4 2020080 57.85 ns/op BenchmarkLastIndexAnyUTF8/16:1-4 351584 326.0 ns/op BenchmarkLastIndexAnyUTF8/16:2-4 177012 661.7 ns/op BenchmarkLastIndexAnyUTF8/16:4-4 178894 662.7 ns/op BenchmarkLastIndexAnyUTF8/16:8-4 180014 672.9 ns/op BenchmarkLastIndexAnyUTF8/16:16-4 170898 688.4 ns/op BenchmarkLastIndexAnyUTF8/16:32-4 167494 701.9 ns/op BenchmarkLastIndexAnyUTF8/16:64-4 169412 713.2 ns/op BenchmarkLastIndexAnyUTF8/256:1-4 27492 4350 ns/op BenchmarkLastIndexAnyUTF8/256:2-4 12097 9887 ns/op BenchmarkLastIndexAnyUTF8/256:4-4 10000 10017 ns/op BenchmarkLastIndexAnyUTF8/256:8-4 12159 9797 ns/op BenchmarkLastIndexAnyUTF8/256:16-4 10000 10226 ns/op BenchmarkLastIndexAnyUTF8/256:32-4 10000 10561 ns/op BenchmarkLastIndexAnyUTF8/256:64-4 10000 10652 ns/op BenchmarkTrimASCII/1:1-4 3284522 36.59 ns/op BenchmarkTrimASCII/1:2-4 2452303 49.02 ns/op BenchmarkTrimASCII/1:4-4 2274075 53.68 ns/op BenchmarkTrimASCII/1:8-4 2019200 59.69 ns/op BenchmarkTrimASCII/1:16-4 1670654 71.41 ns/op BenchmarkTrimASCII/16:1-4 2761452 43.37 ns/op BenchmarkTrimASCII/16:2-4 755180 154.0 ns/op BenchmarkTrimASCII/16:4-4 740542 158.1 ns/op BenchmarkTrimASCII/16:8-4 723592 164.8 ns/op BenchmarkTrimASCII/16:16-4 673736 176.2 ns/op BenchmarkTrimASCII/256:1-4 828410 143.0 ns/op BenchmarkTrimASCII/256:2-4 74259 1641 ns/op BenchmarkTrimASCII/256:4-4 73712 1630 ns/op BenchmarkTrimASCII/256:8-4 72896 1646 ns/op BenchmarkTrimASCII/256:16-4 71802 1641 ns/op BenchmarkTrimASCII/4096:1-4 75384 1598 ns/op BenchmarkTrimASCII/4096:2-4 4688 25107 ns/op BenchmarkTrimASCII/4096:4-4 4708 25243 ns/op BenchmarkTrimASCII/4096:8-4 4674 25129 ns/op BenchmarkTrimASCII/4096:16-4 4684 25116 ns/op BenchmarkTrimByte-4 4286065 27.78 ns/op BenchmarkIndexPeriodic/IndexPeriodic2-4 13509 8972 ns/op BenchmarkIndexPeriodic/IndexPeriodic4-4 13461 8920 ns/op BenchmarkIndexPeriodic/IndexPeriodic8-4 1111 107900 ns/op BenchmarkIndexPeriodic/IndexPeriodic16-4 2246 52464 ns/op BenchmarkIndexPeriodic/IndexPeriodic32-4 4426 26586 ns/op BenchmarkIndexPeriodic/IndexPeriodic64-4 7920 15033 ns/op BenchmarkJoin/0-4 5167519 23.12 ns/op 0 B/op 0 allocs/op BenchmarkJoin/1-4 4153675 28.90 ns/op 0 B/op 0 allocs/op BenchmarkJoin/2-4 200522 593.3 ns/op 16 B/op 1 allocs/op BenchmarkJoin/3-4 136869 867.0 ns/op 24 B/op 1 allocs/op BenchmarkJoin/4-4 103240 1170 ns/op 48 B/op 1 allocs/op BenchmarkJoin/5-4 85183 1432 ns/op 48 B/op 1 allocs/op BenchmarkJoin/6-4 68439 1699 ns/op 64 B/op 1 allocs/op BenchmarkJoin/7-4 59654 2015 ns/op 64 B/op 1 allocs/op BenchmarkTrimSpace/NoTrim-4 2751204 43.62 ns/op BenchmarkTrimSpace/ASCII-4 1619952 73.03 ns/op BenchmarkTrimSpace/SomeNonASCII-4 137881 844.3 ns/op BenchmarkTrimSpace/JustNonASCII-4 77055 1518 ns/op BenchmarkReplaceAll-4 119331 993.1 ns/op 16 B/op 1 allocs/op PASS ok strings 57.510s goos: freebsd goarch: amd64 pkg: sync cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCond1-4 36924 3108 ns/op BenchmarkCond2-4 15170 7674 ns/op BenchmarkCond4-4 8533 13534 ns/op BenchmarkCond8-4 3326 35724 ns/op BenchmarkCond16-4 1455 83981 ns/op BenchmarkCond32-4 568 196672 ns/op BenchmarkLoadMostlyHits/*sync_test.DeepCopyMap-4 436090 282.1 ns/op BenchmarkLoadMostlyHits/*sync_test.RWMutexMap-4 308244 403.4 ns/op BenchmarkLoadMostlyHits/*sync.Map-4 521488 236.3 ns/op BenchmarkLoadMostlyMisses/*sync_test.DeepCopyMap-4 407206 275.7 ns/op BenchmarkLoadMostlyMisses/*sync_test.RWMutexMap-4 231554 438.2 ns/op BenchmarkLoadMostlyMisses/*sync.Map-4 498970 232.2 ns/op BenchmarkLoadOrStoreBalanced/*sync_test.RWMutexMap-4 72674 1821 ns/op BenchmarkLoadOrStoreBalanced/*sync.Map-4 61791 2330 ns/op BenchmarkLoadOrStoreUnique/*sync_test.RWMutexMap-4 57452 2527 ns/op BenchmarkLoadOrStoreUnique/*sync.Map-4 35528 3699 ns/op BenchmarkLoadOrStoreCollision/*sync_test.DeepCopyMap-4 438848 252.1 ns/op BenchmarkLoadOrStoreCollision/*sync_test.RWMutexMap-4 139081 831.6 ns/op BenchmarkLoadOrStoreCollision/*sync.Map-4 433358 242.4 ns/op BenchmarkLoadAndDeleteBalanced/*sync_test.RWMutexMap-4 116894 1035 ns/op BenchmarkLoadAndDeleteBalanced/*sync.Map-4 541120 241.6 ns/op BenchmarkLoadAndDeleteUnique/*sync_test.RWMutexMap-4 136832 881.7 ns/op BenchmarkLoadAndDeleteUnique/*sync.Map-4 1763181 69.84 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.DeepCopyMap-4 32880 3475 ns/op BenchmarkLoadAndDeleteCollision/*sync_test.RWMutexMap-4 96001 1268 ns/op BenchmarkLoadAndDeleteCollision/*sync.Map-4 123248 947.8 ns/op BenchmarkRange/*sync_test.DeepCopyMap-4 7698 14698 ns/op BenchmarkRange/*sync_test.RWMutexMap-4 280 422468 ns/op BenchmarkRange/*sync.Map-4 1246 98814 ns/op BenchmarkAdversarialAlloc/*sync_test.DeepCopyMap-4 87133 1379 ns/op BenchmarkAdversarialAlloc/*sync_test.RWMutexMap-4 207968 526.4 ns/op BenchmarkAdversarialAlloc/*sync.Map-4 54037 2217 ns/op BenchmarkAdversarialDelete/*sync_test.DeepCopyMap-4 138840 732.0 ns/op BenchmarkAdversarialDelete/*sync_test.RWMutexMap-4 264468 429.5 ns/op BenchmarkAdversarialDelete/*sync.Map-4 170397 862.8 ns/op BenchmarkDeleteCollision/*sync_test.DeepCopyMap-4 62534 2007 ns/op BenchmarkDeleteCollision/*sync_test.RWMutexMap-4 152096 805.5 ns/op BenchmarkDeleteCollision/*sync.Map-4 497104 252.9 ns/op BenchmarkSwapCollision/*sync_test.DeepCopyMap-4 44661 2711 ns/op BenchmarkSwapCollision/*sync_test.RWMutexMap-4 117043 1019 ns/op BenchmarkSwapCollision/*sync.Map-4 50643 2282 ns/op BenchmarkSwapMostlyHits/*sync_test.DeepCopyMap-4 362 327056 ns/op BenchmarkSwapMostlyHits/*sync_test.RWMutexMap-4 86514 1429 ns/op BenchmarkSwapMostlyHits/*sync.Map-4 321807 363.0 ns/op BenchmarkSwapMostlyMisses/*sync_test.DeepCopyMap-4 17739 6719 ns/op BenchmarkSwapMostlyMisses/*sync_test.RWMutexMap-4 52915 2282 ns/op BenchmarkSwapMostlyMisses/*sync.Map-4 16783 7097 ns/op BenchmarkCompareAndSwapCollision/*sync_test.DeepCopyMap-4 179580 625.8 ns/op BenchmarkCompareAndSwapCollision/*sync_test.RWMutexMap-4 89049 1344 ns/op BenchmarkCompareAndSwapCollision/*sync.Map-4 144087 836.9 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.DeepCopyMap-4 1795287 57.55 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync_test.RWMutexMap-4 138466 823.6 ns/op BenchmarkCompareAndSwapNoExistingKey/*sync.Map-4 2266190 52.65 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.DeepCopyMap-4 479814 250.1 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync_test.RWMutexMap-4 130994 923.0 ns/op BenchmarkCompareAndSwapValueNotEqual/*sync.Map-4 429484 251.0 ns/op BenchmarkCompareAndSwapMostlyHits/*sync_test.RWMutexMap-4 79870 1508 ns/op BenchmarkCompareAndSwapMostlyHits/*sync.Map-4 352040 386.6 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.DeepCopyMap-4 462781 291.3 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync_test.RWMutexMap-4 101905 1198 ns/op BenchmarkCompareAndSwapMostlyMisses/*sync.Map-4 468396 254.5 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.DeepCopyMap-4 69058 2141 ns/op BenchmarkCompareAndDeleteCollision/*sync_test.RWMutexMap-4 92886 1308 ns/op BenchmarkCompareAndDeleteCollision/*sync.Map-4 114984 880.4 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync_test.RWMutexMap-4 46137 2707 ns/op BenchmarkCompareAndDeleteMostlyHits/*sync.Map-4 192808 609.1 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.DeepCopyMap-4 452910 254.7 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync_test.RWMutexMap-4 98536 1151 ns/op BenchmarkCompareAndDeleteMostlyMisses/*sync.Map-4 471662 244.0 ns/op BenchmarkUncontendedSemaphore-4 3381963 34.99 ns/op BenchmarkContendedSemaphore-4 2518965 46.80 ns/op BenchmarkMutexUncontended-4 917533 126.0 ns/op BenchmarkMutex-4 88468 1335 ns/op BenchmarkMutexSlack-4 93192 1308 ns/op BenchmarkMutexWork-4 81909 1402 ns/op BenchmarkMutexWorkSlack-4 81699 1505 ns/op BenchmarkMutexNoSpin-4 52494 2156 ns/op BenchmarkMutexSpin-4 62140 1979 ns/op BenchmarkOnce-4 579278 255.5 ns/op BenchmarkOnceFunc/v=Once-4 1000000 109.1 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Global-4 894850 133.7 ns/op 0 B/op 0 allocs/op BenchmarkOnceFunc/v=Local-4 922185 129.4 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Once-4 1000000 118.8 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Global-4 815564 144.8 ns/op 0 B/op 0 allocs/op BenchmarkOnceValue/v=Local-4 852616 138.7 ns/op 0 B/op 0 allocs/op BenchmarkSemaUncontended-4 6735481 17.38 ns/op BenchmarkSemaSyntNonblock-4 1000000 107.2 ns/op BenchmarkSemaSyntBlock-4 1000000 144.8 ns/op BenchmarkSemaWorkNonblock-4 741207 146.6 ns/op BenchmarkSemaWorkBlock-4 769806 184.3 ns/op BenchmarkRWMutexUncontended-4 386492 286.3 ns/op BenchmarkRWMutexWrite100-4 264362 455.2 ns/op BenchmarkRWMutexWrite10-4 171552 697.1 ns/op BenchmarkRWMutexWorkWrite100-4 258151 487.7 ns/op BenchmarkRWMutexWorkWrite10-4 142893 851.7 ns/op BenchmarkWaitGroupUncontended-4 783338 135.4 ns/op BenchmarkWaitGroupAddDone-4 275478 434.4 ns/op BenchmarkWaitGroupAddDoneWork-4 294933 377.9 ns/op BenchmarkWaitGroupWait-4 4366393 27.81 ns/op BenchmarkWaitGroupWaitWork-4 2967999 39.86 ns/op BenchmarkWaitGroupActuallyWait-4 37791 3185 ns/op 32 B/op 2 allocs/op PASS ok sync 18.309s goos: freebsd goarch: amd64 pkg: sync/atomic cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkValueRead-4 449722 258.3 ns/op PASS ok sync/atomic 1.157s PASS ok syscall 1.082s goos: freebsd goarch: amd64 pkg: testing cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkTBHelper-4 90814 1312 ns/op 0 B/op 0 allocs/op PASS ok testing 1.173s goos: freebsd goarch: amd64 pkg: text/tabwriter cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkTable/1x10/new-4 7734 14266 ns/op 1520 B/op 21 allocs/op BenchmarkTable/1x10/reuse-4 11256 10520 ns/op 0 B/op 0 allocs/op BenchmarkTable/1x1000/new-4 98 1189804 ns/op 129392 B/op 1025 allocs/op BenchmarkTable/1x1000/reuse-4 120 973597 ns/op 1078 B/op 8 allocs/op BenchmarkTable/1x100000/new-4 1 154248517 ns/op 19393008 B/op 100057 allocs/op BenchmarkTable/1x100000/reuse-4 1 153181942 ns/op 19393112 B/op 100059 allocs/op BenchmarkTable/10x10/new-4 1753 65999 ns/op 5056 B/op 31 allocs/op BenchmarkTable/10x10/reuse-4 2098 55246 ns/op 2 B/op 0 allocs/op BenchmarkTable/10x1000/new-4 19 5980758 ns/op 413568 B/op 1039 allocs/op BenchmarkTable/10x1000/reuse-4 21 5469395 ns/op 19693 B/op 49 allocs/op BenchmarkTable/10x100000/new-4 1 717710077 ns/op 48120704 B/op 100073 allocs/op BenchmarkTable/10x100000/reuse-4 1 701574963 ns/op 48120704 B/op 100073 allocs/op BenchmarkTable/100x10/new-4 210 555230 ns/op 39296 B/op 41 allocs/op BenchmarkTable/100x10/reuse-4 244 494674 ns/op 161 B/op 0 allocs/op BenchmarkTable/100x1000/new-4 2 61376249 ns/op 3288960 B/op 1053 allocs/op BenchmarkTable/100x1000/reuse-4 2 57889114 ns/op 1644480 B/op 526 allocs/op BenchmarkTable/100x100000/new-4 1 7121625526 ns/op 335149952 B/op 100089 allocs/op BenchmarkTable/100x100000/reuse-4 1 6727393511 ns/op 335150064 B/op 100092 allocs/op BenchmarkPyramid/10-4 2640 44319 ns/op 4872 B/op 35 allocs/op BenchmarkPyramid/100-4 33 3078839 ns/op 409128 B/op 230 allocs/op BenchmarkPyramid/1000-4 1 328876764 ns/op 35625256 B/op 2055 allocs/op BenchmarkRagged/10-4 2592 45866 ns/op 4512 B/op 34 allocs/op BenchmarkRagged/100-4 261 431981 ns/op 41008 B/op 188 allocs/op BenchmarkRagged/1000-4 25 4444790 ns/op 427424 B/op 1661 allocs/op BenchmarkCode-4 7045 15078 ns/op 624 B/op 13 allocs/op PASS ok text/tabwriter 19.921s goos: freebsd goarch: amd64 pkg: text/template/parse cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkParseLarge-4 2 75248458 ns/op BenchmarkVariableString-4 96517 1172 ns/op 80 B/op 3 allocs/op BenchmarkListString-4 2031 54562 ns/op 2521 B/op 39 allocs/op PASS ok text/template/parse 1.569s goos: freebsd goarch: amd64 pkg: time cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAfterFunc-4 36 3215631 ns/op BenchmarkAfter-4 114 1147285 ns/op BenchmarkStop-4 199 582277 ns/op BenchmarkSimultaneousAfterFunc-4 30 3574977 ns/op BenchmarkStartStop-4 204 568777 ns/op BenchmarkReset-4 2604 51963 ns/op BenchmarkSleep-4 32 4105120 ns/op BenchmarkParallelTimerLatency-4 51 182506 avg-late-ns 290420 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=1-4 37 96614 avg-late-ns 307283 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=2-4 33 80523 avg-late-ns 214093 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=3-4 34 79651 avg-late-ns 191880 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=4-4 33 54682 avg-late-ns 191464 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=5-4 31 89030 avg-late-ns 312865 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=6-4 32 95041 avg-late-ns 310612 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=7-4 30 97876 avg-late-ns 373407 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=8-4 27 106983 avg-late-ns 520554 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=9-4 26 137002 avg-late-ns 601548 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=300µs/tickers-per-P=10-4 26 992371 avg-late-ns 5816496 max-late-ns BenchmarkStaggeredTickerLatency/work-dur=2ms/tickers-per-P=1-4 34 100111 avg-late-ns 257909 max-late-ns BenchmarkTicker-4 350 381656 ns/op BenchmarkTickerReset-4 3952 35969 ns/op BenchmarkTickerResetNaive-4 172 648823 ns/op BenchmarkNow-4 1000000 113.8 ns/op BenchmarkNowUnixNano-4 1000000 113.4 ns/op BenchmarkNowUnixMilli-4 1000000 113.5 ns/op BenchmarkNowUnixMicro-4 1000000 112.1 ns/op BenchmarkFormat-4 58314 2031 ns/op BenchmarkFormatRFC3339-4 80481 1478 ns/op BenchmarkFormatRFC3339Nano-4 78972 1512 ns/op BenchmarkFormatNow-4 81608 1477 ns/op BenchmarkMarshalJSON-4 107100 1103 ns/op BenchmarkMarshalText-4 112034 1076 ns/op BenchmarkParse-4 137604 867.0 ns/op BenchmarkParseRFC3339UTC-4 331464 359.8 ns/op BenchmarkParseRFC3339UTCBytes-4 227736 522.6 ns/op BenchmarkParseRFC3339TZ-4 101330 1186 ns/op BenchmarkParseRFC3339TZBytes-4 80968 1459 ns/op BenchmarkParseDuration-4 535320 221.1 ns/op BenchmarkHour-4 851955 142.3 ns/op BenchmarkSecond-4 820729 141.2 ns/op BenchmarkYear-4 607807 189.3 ns/op BenchmarkDay-4 574927 205.5 ns/op BenchmarkISOWeek-4 597764 192.5 ns/op BenchmarkGoString-4 79370 1549 ns/op BenchmarkUnmarshalText-4 72547 1665 ns/op PASS ok time 13.082s goos: freebsd goarch: amd64 pkg: unicode/utf16 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkDecodeValidASCII-4 659770 169.7 ns/op BenchmarkDecodeValidJapaneseChars-4 763023 142.9 ns/op BenchmarkDecodeRune-4 1842742 64.81 ns/op BenchmarkEncodeValidASCII-4 531430 198.3 ns/op BenchmarkEncodeValidJapaneseChars-4 759364 135.2 ns/op BenchmarkAppendRuneValidASCII-4 1638903 72.79 ns/op BenchmarkAppendRuneValidJapaneseChars-4 2518046 47.86 ns/op BenchmarkEncodeRune-4 3237434 35.14 ns/op PASS ok unicode/utf16 2.233s goos: freebsd goarch: amd64 pkg: unicode/utf8 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkRuneCountTenASCIIChars-4 971806 123.2 ns/op BenchmarkRuneCountTenJapaneseChars-4 188625 620.3 ns/op BenchmarkRuneCountInStringTenASCIIChars-4 3720975 33.21 ns/op BenchmarkRuneCountInStringTenJapaneseChars-4 427028 277.3 ns/op BenchmarkValidTenASCIIChars-4 996829 118.1 ns/op BenchmarkValid100KASCIIChars-4 118 1013015 ns/op BenchmarkValidTenJapaneseChars-4 166527 706.1 ns/op BenchmarkValidLongMostlyASCII-4 92 1096830 ns/op BenchmarkValidLongJapanese-4 52 2068123 ns/op BenchmarkValidStringTenASCIIChars-4 4451076 25.88 ns/op BenchmarkValidString100KASCIIChars-4 9308 12616 ns/op BenchmarkValidStringTenJapaneseChars-4 408397 268.7 ns/op BenchmarkValidStringLongMostlyASCII-4 1219 98085 ns/op BenchmarkValidStringLongJapanese-4 154 768630 ns/op BenchmarkEncodeASCIIRune-4 4442361 27.11 ns/op BenchmarkEncodeJapaneseRune-4 2494070 48.28 ns/op BenchmarkAppendASCIIRune-4 11414959 10.73 ns/op BenchmarkAppendJapaneseRune-4 2897052 41.56 ns/op BenchmarkDecodeASCIIRune-4 2851350 39.72 ns/op BenchmarkDecodeJapaneseRune-4 1957372 61.59 ns/op BenchmarkFullRune/ASCII-4 3684254 32.54 ns/op BenchmarkFullRune/Incomplete-4 1615725 73.82 ns/op BenchmarkFullRune/Japanese-4 3649722 33.09 ns/op PASS ok unicode/utf8 4.579s goos: freebsd goarch: amd64 pkg: cmd/api cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkAll-4 1 74661835352 ns/op PASS ok cmd/api 75.910s goos: freebsd goarch: amd64 pkg: cmd/cgo/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkCgoCall/add-int-4 389438 278.9 ns/op BenchmarkCgoCall/one-pointer-4 337651 338.8 ns/op BenchmarkCgoCall/eight-pointers-4 181236 666.1 ns/op BenchmarkCgoCall/eight-pointers-nil-4 328773 344.9 ns/op BenchmarkCgoCall/eight-pointers-array-4 14922 7479 ns/op BenchmarkCgoCall/eight-pointers-slice-4 34018 3580 ns/op BenchmarkGoString-4 1000000 113.4 ns/op BenchmarkCGoCallback-4 48226 2442 ns/op BenchmarkCGoInCThread-4 271486 423.4 ns/op PASS ok cmd/cgo/internal/test 2.304s goos: freebsd goarch: amd64 pkg: cmd/compile/internal/reflectdata cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkEqArrayOfStrings5-4 1279304 92.26 ns/op BenchmarkEqArrayOfStrings64-4 159876 741.8 ns/op BenchmarkEqArrayOfStrings1024-4 9668 11365 ns/op BenchmarkEqArrayOfFloats5-4 1522104 77.74 ns/op BenchmarkEqArrayOfFloats64-4 163814 729.5 ns/op BenchmarkEqArrayOfFloats1024-4 9792 11616 ns/op BenchmarkEqArrayOfStructsEq-4 2988 39572 ns/op BenchmarkEqArrayOfStructsNotEq-4 5378 22013 ns/op BenchmarkEqStruct-4 20010451 5.981 ns/op PASS ok cmd/compile/internal/reflectdata 2.378s goos: freebsd goarch: amd64 pkg: cmd/compile/internal/ssa cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkPhioptPass-4 10000 59810 ns/op BenchmarkCopyElim1-4 604 176455 ns/op BenchmarkCopyElim10-4 592 188954 ns/op BenchmarkCopyElim100-4 366 312115 ns/op BenchmarkCopyElim1000-4 68 1681697 ns/op BenchmarkCopyElim10000-4 3 34247723 ns/op BenchmarkCopyElim100000-4 1 600223070 ns/op BenchmarkDeadCode/1-4 510 212847 ns/op BenchmarkDeadCode/10-4 522 202925 ns/op BenchmarkDeadCode/100-4 298 408009 ns/op BenchmarkDeadCode/1000-4 54 2441510 ns/op BenchmarkDeadCode/10000-4 3 33376103 ns/op BenchmarkDeadCode/100000-4 1 435491387 ns/op BenchmarkDeadCode/200000-4 1 942945037 ns/op BenchmarkDominatorsLinear-4 13 10506422 ns/op 0.95 MB/s BenchmarkDominatorsFwdBack-4 7 15386639 ns/op 0.65 MB/s BenchmarkDominatorsManyPred-4 8 14296152 ns/op 0.70 MB/s BenchmarkDominatorsMaxPred-4 8 13713349 ns/op 0.73 MB/s BenchmarkDominatorsMaxPredVal-4 8 13848477 ns/op 0.72 MB/s BenchmarkFuse/1-4 484 222758 ns/op BenchmarkFuse/10-4 486 262435 ns/op BenchmarkFuse/100-4 171 680215 ns/op BenchmarkFuse/1000-4 22 5856618 ns/op BenchmarkFuse/10000-4 2 77761488 ns/op BenchmarkNilCheckDeep1-4 12658 9488 ns/op 0.11 MB/s 231 B/op 4 allocs/op BenchmarkNilCheckDeep10-4 5143 22489 ns/op 0.44 MB/s 237 B/op 4 allocs/op BenchmarkNilCheckDeep100-4 818 144865 ns/op 0.69 MB/s 654 B/op 4 allocs/op BenchmarkNilCheckDeep1000-4 74 1442615 ns/op 0.69 MB/s 5331 B/op 5 allocs/op BenchmarkNilCheckDeep10000-4 6 18534262 ns/op 0.54 MB/s 71337 B/op 5 allocs/op BenchmarkDSEPass-4 34 3432115 ns/op 46487 B/op 7 allocs/op BenchmarkDSEPassBlock-4 1 116929100 ns/op 4212464 B/op 107622 allocs/op BenchmarkCSEPass-4 7 14634768 ns/op 112804 B/op 9 allocs/op BenchmarkCSEPassBlock-4 1 151284635 ns/op 5630104 B/op 97218 allocs/op BenchmarkDeadcodePass-4 194 595391 ns/op 97540 B/op 3 allocs/op BenchmarkDeadcodePassBlock-4 1 126907248 ns/op 4073928 B/op 45127 allocs/op BenchmarkMultiPass-4 76 1459314 ns/op 223031 B/op 11 allocs/op BenchmarkMultiPassBlock-4 1 260218067 ns/op 11181416 B/op 149658 allocs/op BenchmarkCondRewrite/SoloJump-4 3591584 33.17 ns/op BenchmarkCondRewrite/CombJump-4 3423772 35.03 ns/op PASS ok cmd/compile/internal/ssa 15.130s goos: freebsd goarch: amd64 pkg: cmd/compile/internal/test cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLoadAdd-4 10000 11016 ns/op BenchmarkExtShift-4 19251 6199 ns/op BenchmarkModify-4 9723 11972 ns/op BenchmarkMullImm-4 19972 6006 ns/op BenchmarkConstModify-4 9806 11793 ns/op BenchmarkBitSet-4 20949 5712 ns/op BenchmarkBitClear-4 21013 5736 ns/op BenchmarkBitToggle-4 20892 5734 ns/op BenchmarkBitSetConst-4 179572 691.5 ns/op BenchmarkBitClearConst-4 163533 700.2 ns/op BenchmarkBitToggleConst-4 172063 686.4 ns/op BenchmarkDivconstI64-4 9124348 12.74 ns/op BenchmarkModconstI64-4 8930241 12.42 ns/op BenchmarkDivisiblePow2constI64-4 9561886 12.45 ns/op BenchmarkDivisibleconstI64-4 10506249 10.94 ns/op BenchmarkDivisibleWDivconstI64-4 6791606 17.63 ns/op BenchmarkDivconstU64/3-4 9038030 12.54 ns/op BenchmarkDivconstU64/5-4 8667398 13.16 ns/op BenchmarkDivconstU64/37-4 10150680 11.90 ns/op BenchmarkDivconstU64/1234567-4 10275902 11.52 ns/op BenchmarkModconstU64-4 10419822 11.30 ns/op BenchmarkDivisibleconstU64-4 10626648 11.17 ns/op BenchmarkDivisibleWDivconstU64-4 6650455 17.95 ns/op BenchmarkDivconstI32-4 9142053 13.09 ns/op BenchmarkModconstI32-4 10592293 11.36 ns/op BenchmarkDivisiblePow2constI32-4 10897837 10.92 ns/op BenchmarkDivisibleconstI32-4 10896338 11.05 ns/op BenchmarkDivisibleWDivconstI32-4 6979087 17.11 ns/op BenchmarkDivconstU32-4 9131002 12.74 ns/op BenchmarkModconstU32-4 8925364 12.41 ns/op BenchmarkDivisibleconstU32-4 10701618 11.64 ns/op BenchmarkDivisibleWDivconstU32-4 6913778 17.27 ns/op BenchmarkDivconstI16-4 9129295 13.11 ns/op BenchmarkModconstI16-4 10573994 11.34 ns/op BenchmarkDivisiblePow2constI16-4 10969633 10.89 ns/op BenchmarkDivisibleconstI16-4 10604144 11.01 ns/op BenchmarkDivisibleWDivconstI16-4 7004838 17.23 ns/op BenchmarkDivconstU16-4 9772622 11.92 ns/op BenchmarkModconstU16-4 9226197 12.58 ns/op BenchmarkDivisibleconstU16-4 10560540 11.51 ns/op BenchmarkDivisibleWDivconstU16-4 6971494 17.12 ns/op BenchmarkDivconstI8-4 9492745 12.25 ns/op BenchmarkModconstI8-4 9283040 11.99 ns/op BenchmarkDivisiblePow2constI8-4 10840664 11.27 ns/op BenchmarkDivisibleconstI8-4 10976652 10.90 ns/op BenchmarkDivisibleWDivconstI8-4 6777328 17.74 ns/op BenchmarkDivconstU8-4 10833160 10.99 ns/op BenchmarkModconstU8-4 10809975 11.08 ns/op BenchmarkDivisibleconstU8-4 11383912 10.75 ns/op BenchmarkDivisibleWDivconstU8-4 6970640 17.17 ns/op BenchmarkMul2-4 167322 751.3 ns/op BenchmarkMulNeg2-4 159986 750.9 ns/op BenchmarkEfaceInteger-4 3806151 28.29 ns/op BenchmarkDiv64UnsignedSmall-4 7095504 15.18 ns/op BenchmarkDiv64Small-4 6375235 17.40 ns/op BenchmarkDiv64SmallNegDivisor-4 6214257 17.40 ns/op BenchmarkDiv64SmallNegDividend-4 6341026 17.34 ns/op BenchmarkDiv64SmallNegBoth-4 6291547 17.45 ns/op BenchmarkDiv64Unsigned-4 6999992 15.70 ns/op BenchmarkDiv64-4 6164400 18.38 ns/op BenchmarkDiv64NegDivisor-4 6203784 18.06 ns/op BenchmarkDiv64NegDividend-4 6215070 18.31 ns/op BenchmarkDiv64NegBoth-4 6225764 18.06 ns/op BenchmarkMod64UnsignedSmall-4 7251398 15.48 ns/op BenchmarkMod64Small-4 6473748 16.83 ns/op BenchmarkMod64SmallNegDivisor-4 6280462 17.83 ns/op BenchmarkMod64SmallNegDividend-4 6429187 16.91 ns/op BenchmarkMod64SmallNegBoth-4 6234465 17.80 ns/op BenchmarkMod64Unsigned-4 7185862 15.69 ns/op BenchmarkMod64-4 6236155 17.83 ns/op BenchmarkMod64NegDivisor-4 6272786 17.70 ns/op BenchmarkMod64NegDividend-4 6239773 17.67 ns/op BenchmarkMod64NegBoth-4 6267886 17.53 ns/op BenchmarkMulconstI32/3-4 19950452 5.632 ns/op BenchmarkMulconstI32/5-4 19968127 5.623 ns/op BenchmarkMulconstI32/12-4 18802965 6.024 ns/op BenchmarkMulconstI32/120-4 19986978 5.672 ns/op BenchmarkMulconstI32/-120-4 19913656 5.624 ns/op BenchmarkMulconstI32/65537-4 18550821 5.997 ns/op BenchmarkMulconstI32/65538-4 18895423 5.992 ns/op BenchmarkMulconstI64/3-4 19915256 5.627 ns/op BenchmarkMulconstI64/5-4 19830403 5.610 ns/op BenchmarkMulconstI64/12-4 18697602 6.001 ns/op BenchmarkMulconstI64/120-4 19745682 5.645 ns/op BenchmarkMulconstI64/-120-4 19577126 5.670 ns/op BenchmarkMulconstI64/65537-4 18841753 6.010 ns/op BenchmarkMulconstI64/65538-4 18877172 5.978 ns/op BenchmarkMulconstU32/3-4 19748043 5.630 ns/op BenchmarkMulconstU32/5-4 20019361 5.625 ns/op BenchmarkMulconstU32/12-4 18699913 6.008 ns/op BenchmarkMulconstU32/120-4 19983264 5.642 ns/op BenchmarkMulconstU32/65537-4 18826326 5.993 ns/op BenchmarkMulconstU32/65538-4 18758956 6.004 ns/op BenchmarkMulconstU64/3-4 19755066 5.650 ns/op BenchmarkMulconstU64/5-4 19915821 5.617 ns/op BenchmarkMulconstU64/12-4 18763993 5.973 ns/op BenchmarkMulconstU64/120-4 20022297 5.665 ns/op BenchmarkMulconstU64/65537-4 18730581 5.978 ns/op BenchmarkMulconstU64/65538-4 18907540 5.981 ns/op BenchmarkShiftArithmeticRight-4 19942224 6.015 ns/op BenchmarkSwitch8Predictable-4 15558463 7.614 ns/op BenchmarkSwitch8Unpredictable-4 6378476 18.44 ns/op BenchmarkSwitch32Predictable-4 9684676 12.45 ns/op BenchmarkSwitch32Unpredictable-4 6543584 18.44 ns/op BenchmarkSwitchStringPredictable-4 8795288 13.48 ns/op BenchmarkSwitchStringUnpredictable-4 4949935 24.23 ns/op PASS ok cmd/compile/internal/test 15.375s goos: freebsd goarch: amd64 pkg: cmd/compile/internal/types2 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkLookupFieldOrMethod-4 112 985680 ns/op BenchmarkNamed/Underlying/nongeneric-4 807484 133.2 ns/op BenchmarkNamed/Underlying/generic-4 840512 132.0 ns/op BenchmarkNamed/Underlying/src_instance-4 789998 131.8 ns/op BenchmarkNamed/Underlying/user_instance-4 867898 137.3 ns/op BenchmarkCheck/http/funcbodies/info-4 1 533833503 ns/op 57301 lines/s BenchmarkCheck/http/funcbodies/noinfo-4 1 378788187 ns/op 80752 lines/s BenchmarkCheck/http/nofuncbodies/info-4 1 159531139 ns/op 191647 lines/s BenchmarkCheck/http/nofuncbodies/noinfo-4 1 135895187 ns/op 225015 lines/s BenchmarkCheck/parser/funcbodies/info-4 1 457762037 ns/op 11322 lines/s BenchmarkCheck/parser/funcbodies/noinfo-4 2 91615345 ns/op 56564 lines/s BenchmarkCheck/parser/nofuncbodies/info-4 3 35443228 ns/op 146213 lines/s BenchmarkCheck/parser/nofuncbodies/noinfo-4 4 33420702 ns/op 155042 lines/s BenchmarkCheck/constant/funcbodies/info-4 1 143503946 ns/op 15113 lines/s BenchmarkCheck/constant/funcbodies/noinfo-4 3 43894014 ns/op 49410 lines/s BenchmarkCheck/constant/nofuncbodies/info-4 5 22361150 ns/op 97000 lines/s BenchmarkCheck/constant/nofuncbodies/noinfo-4 5 21060936 ns/op 102979 lines/s BenchmarkCheck/runtime/funcbodies/info-4 1 1233656567 ns/op 52116 lines/s BenchmarkCheck/runtime/funcbodies/noinfo-4 1 636567602 ns/op 100994 lines/s BenchmarkCheck/runtime/nofuncbodies/info-4 1 158138509 ns/op 406430 lines/s BenchmarkCheck/runtime/nofuncbodies/noinfo-4 1 122325650 ns/op 525340 lines/s BenchmarkCheck/gcimporter/funcbodies/info-4 1 460951257 ns/op 4343 lines/s BenchmarkCheck/gcimporter/funcbodies/noinfo-4 2 66258274 ns/op 30048 lines/s BenchmarkCheck/gcimporter/nofuncbodies/info-4 3 38116598 ns/op 52497 lines/s BenchmarkCheck/gcimporter/nofuncbodies/noinfo-4 3 42296624 ns/op 47308 lines/s PASS ok cmd/compile/internal/types2 17.487s goos: freebsd goarch: amd64 pkg: cmd/go cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExecGoEnv-4 43 2700399 ns/op 4096581 sys-ns/op 823140 user-ns/op PASS ok cmd/go 1.321s goos: freebsd goarch: amd64 pkg: cmd/internal/notsha256 cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkHash8Bytes/New-4 68805 1693 ns/op 4.72 MB/s 0 B/op 0 allocs/op BenchmarkHash8Bytes/Sum256-4 78228 1520 ns/op 5.26 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/New-4 14266 8416 ns/op 121.67 MB/s 0 B/op 0 allocs/op BenchmarkHash1K/Sum256-4 14643 8187 ns/op 125.08 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/New-4 2217 53669 ns/op 152.64 MB/s 0 B/op 0 allocs/op BenchmarkHash8K/Sum256-4 2221 53447 ns/op 153.27 MB/s 0 B/op 0 allocs/op PASS ok cmd/internal/notsha256 1.974s All tests passed.