> ROOT_DIR=/tmp/go-bench-away-job-18255ef1-81ed-48a8-aa46-bbabac848459-4067503202 > OUTPUT_FILE=/tmp/go-bench-away-job-18255ef1-81ed-48a8-aa46-bbabac848459-4067503202/results.txt > SHA_FILE=/tmp/go-bench-away-job-18255ef1-81ed-48a8-aa46-bbabac848459-4067503202/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-18255ef1-81ed-48a8-aa46-bbabac848459-4067503202/go_version.txt > GIT_REMOTE=https://github.com/nats-io/nats-server.git > GIT_REF=main > TESTS_DIR=server > BENCHMARKS_FILTER=Benchmark_FileStore.* > BENCHMARK_REPETITIONS=5 > BENCHMARK_MIN_RUN_TIME=3s > MAX_RUN_TIME=4h0m0s > GO=/usr/local/go1.26.3/bin/go > GIT=/usr/bin/git Cloning https://github.com/nats-io/nats-server.git ref: main to /tmp/go-bench-away-job-18255ef1-81ed-48a8-aa46-bbabac848459-4067503202/source.git SHA of main: f7d78f68993c74af5674fa49898481e3ee6a15a1 Go runtime: go version go1.26.3 linux/amd64 AR='ar' CC='gcc' CGO_CFLAGS='-O2 -g' CGO_CPPFLAGS='' CGO_CXXFLAGS='-O2 -g' CGO_ENABLED='0' CGO_FFLAGS='-O2 -g' CGO_LDFLAGS='-O2 -g' CXX='g++' GCCGO='gccgo' GO111MODULE='' GOAMD64='v1' GOARCH='amd64' GOAUTH='netrc' GOBIN='' GOCACHE='/home/gauge-gba/.cache/go-build' GOCACHEPROG='' GODEBUG='' GOENV='/home/gauge-gba/.config/go/env' GOEXE='' GOEXPERIMENT='' GOFIPS140='off' GOFLAGS='' GOGCCFLAGS='-fPIC -m64 -fno-caret-diagnostics -Qunused-arguments -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build3961550688=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-18255ef1-81ed-48a8-aa46-bbabac848459-4067503202/source.git/go.mod' GOMODCACHE='/home/gauge-gba/go/pkg/mod' GONOPROXY='' GONOSUMDB='' GOOS='linux' GOPATH='/home/gauge-gba/go' GOPRIVATE='' GOPROXY='https://proxy.golang.org,direct' GOROOT='/usr/local/go1.26.3' GOSUMDB='sum.golang.org' GOTELEMETRY='local' GOTELEMETRYDIR='/home/gauge-gba/.config/go/telemetry' GOTMPDIR='' GOTOOLCHAIN='auto' GOTOOLDIR='/usr/local/go1.26.3/pkg/tool/linux_amd64' GOVCS='' GOVERSION='go1.26.3' GOWORK='' PKG_CONFIG='pkg-config' Running benchmarks with filter 'Benchmark_FileStore.*' (5 repetitions, 3s min runtime, timeout in 4h0m0s) goos: linux goarch: amd64 pkg: github.com/nats-io/nats-server/v2/server cpu: Intel(R) Xeon(R) E-2388G CPU @ 3.20GHz Benchmark_FileStoreSelectMsgBlock Benchmark_FileStoreSelectMsgBlock-16 319542277 11.31 ns/op Benchmark_FileStoreSelectMsgBlock-16 318837826 11.34 ns/op Benchmark_FileStoreSelectMsgBlock-16 317591575 11.38 ns/op Benchmark_FileStoreSelectMsgBlock-16 316138071 11.32 ns/op Benchmark_FileStoreSelectMsgBlock-16 318272648 11.31 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14319987 251.1 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14401348 251.3 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14147499 254.1 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14381186 250.1 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14162587 254.0 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14150106 254.8 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14568139 251.6 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14687618 255.0 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14316417 245.7 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14561443 252.0 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180609058 19.89 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180693778 19.91 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180602661 20.60 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180826803 19.93 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180912544 19.92 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65689999 58.19 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65832186 54.25 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65683879 54.17 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65855937 54.18 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65658036 54.19 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 10309184 339.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 10382084 340.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 10398001 341.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 10837714 337.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11066281 340.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10006506 370.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10048276 365.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10181575 361.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9831782 339.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10093141 365.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26671 135000 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26690 134809 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26690 135024 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26583 134881 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26664 135287 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 104 34070143 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 104 36423540 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 104 34129796 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 35338959 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 105 35862953 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3790503 928.6 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3772428 930.4 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3761852 939.5 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3800888 926.7 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3720886 926.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 802 5455055 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 656 5368752 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 830 5433008 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 838 5538484 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 807 5479363 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 111853 33062 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 109694 32659 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 101677 32736 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 111627 32838 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 107732 32787 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 130045 27742 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132115 28141 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 122876 27448 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 130438 27637 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 128554 27686 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65264560 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 64865012 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 64837288 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65412832 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65286093 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 186731735 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 187032273 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185926451 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 186907143 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 186546436 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 153761421 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 151877958 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 153014051 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 152152866 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 153287384 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 126719928 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 126373051 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 125967501 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 127427846 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 127642424 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 117585623 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 117372380 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 115283708 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 116886896 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 116213812 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 103325300 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 102693127 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 106032051 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 105222464 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 104190556 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 39 91940957 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 87649986 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 87273551 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 85745632 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 90421242 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 69598356 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 50 69400077 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69403901 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69263160 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69305588 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 292 12283374 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 294 12202654 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 294 12222237 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 295 12161326 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 294 12191328 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2031.612s Done