> ROOT_DIR=/tmp/go-bench-away-job-04a1a9c7-9363-4831-87b7-613458ef557f-2054150125 > OUTPUT_FILE=/tmp/go-bench-away-job-04a1a9c7-9363-4831-87b7-613458ef557f-2054150125/results.txt > SHA_FILE=/tmp/go-bench-away-job-04a1a9c7-9363-4831-87b7-613458ef557f-2054150125/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-04a1a9c7-9363-4831-87b7-613458ef557f-2054150125/go_version.txt > GIT_REMOTE=https://github.com/nats-io/nats-server.git > GIT_REF=daniele/leaf-lock-contention > TESTS_DIR=server > BENCHMARKS_FILTER=Benchmark_FileStore.* > BENCHMARK_REPETITIONS=5 > BENCHMARK_MIN_RUN_TIME=3s > MAX_RUN_TIME=4h0m0s > GO=/usr/local/go1.25.4/bin/go > GIT=/usr/bin/git Cloning https://github.com/nats-io/nats-server.git ref: daniele/leaf-lock-contention to /tmp/go-bench-away-job-04a1a9c7-9363-4831-87b7-613458ef557f-2054150125/source.git SHA of daniele/leaf-lock-contention: 5881e0703c3ae614baf218fe8280cbe981a35548 Go runtime: go version go1.26.0 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-build3135260438=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-04a1a9c7-9363-4831-87b7-613458ef557f-2054150125/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.25.4' GOSUMDB='sum.golang.org' GOTELEMETRY='local' GOTELEMETRYDIR='/home/gauge-gba/.config/go/telemetry' GOTMPDIR='' GOTOOLCHAIN='auto' GOTOOLDIR='/usr/local/go1.25.4/pkg/tool/linux_amd64' GOVCS='' GOVERSION='go1.26.0' 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 317870678 11.30 ns/op Benchmark_FileStoreSelectMsgBlock-16 318123392 11.34 ns/op Benchmark_FileStoreSelectMsgBlock-16 313725433 11.33 ns/op Benchmark_FileStoreSelectMsgBlock-16 318305578 11.43 ns/op Benchmark_FileStoreSelectMsgBlock-16 317793200 11.33 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14424224 247.6 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14443402 248.1 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14321091 251.7 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14495590 247.6 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14271376 251.1 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14297434 248.5 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14486781 245.0 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14615730 253.9 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14407048 248.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14674290 250.6 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179041023 20.12 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 178751298 20.06 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179430805 20.10 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179131274 20.09 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179003686 20.08 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65886253 54.24 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65531935 54.79 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65696138 54.29 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65975383 54.11 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65691566 54.32 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11683196 306.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11581503 305.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11608804 308.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11757337 306.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11703349 308.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11428712 315.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11410440 314.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11332327 327.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11336786 314.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11228660 317.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26638 135565 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26562 135129 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26539 135678 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26517 136230 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26500 135645 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 104 33861592 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 98 34971325 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 96 36561541 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 36676392 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 35660113 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3935493 902.2 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3882585 927.6 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3910588 906.2 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3894031 911.9 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3884524 903.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 813 5812998 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 811 5522276 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 801 5558240 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 832 5522449 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 801 5620793 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 108804 32337 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 104643 32257 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 110617 33482 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 110961 33240 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 111334 32472 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 131671 27529 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 130789 27762 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 123457 28021 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 131568 27244 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 130640 28811 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65226272 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65225591 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65129319 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64965940 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65172044 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 181647780 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 181755437 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 18 181234072 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 182545824 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 182638103 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 147182623 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 25 147293678 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 148818600 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 147621190 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 148001656 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 121860473 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 124042532 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 123263988 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 123455036 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 122579988 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 113227793 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 113762198 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 112279126 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 111379908 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 114718086 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 101468271 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 102280390 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 102951244 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 101956759 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 101919635 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 83614292 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 44 80654694 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 80501202 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 44 82003964 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 44 82233601 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 64488915 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 64547944 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 64506992 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 64478927 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 64523219 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 312 11546789 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 310 11583211 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 310 11552631 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 310 11565391 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 308 11690410 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2098.851s Done