> ROOT_DIR=/tmp/go-bench-away-job-1af6134b-ba3a-4068-b212-4303e872cb49-1006448922 > OUTPUT_FILE=/tmp/go-bench-away-job-1af6134b-ba3a-4068-b212-4303e872cb49-1006448922/results.txt > SHA_FILE=/tmp/go-bench-away-job-1af6134b-ba3a-4068-b212-4303e872cb49-1006448922/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-1af6134b-ba3a-4068-b212-4303e872cb49-1006448922/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.25.4/bin/go > GIT=/usr/bin/git Cloning https://github.com/nats-io/nats-server.git ref: main to /tmp/go-bench-away-job-1af6134b-ba3a-4068-b212-4303e872cb49-1006448922/source.git SHA of main: bae1d6c752e0550901d0a79a76fb2fabe79c1eff 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-build2071458695=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-1af6134b-ba3a-4068-b212-4303e872cb49-1006448922/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 318070983 11.31 ns/op Benchmark_FileStoreSelectMsgBlock-16 317084278 11.31 ns/op Benchmark_FileStoreSelectMsgBlock-16 317866316 11.29 ns/op Benchmark_FileStoreSelectMsgBlock-16 318066577 11.32 ns/op Benchmark_FileStoreSelectMsgBlock-16 317314887 11.30 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14490664 249.2 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14442650 248.8 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14206660 253.8 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14521976 248.5 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14163433 254.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14398471 244.8 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14400028 251.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14387511 249.0 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14515902 248.9 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14503203 253.0 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180594574 19.96 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180582219 19.99 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180607042 19.92 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180507879 19.95 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180177980 19.94 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64579672 55.24 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64697646 55.25 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64690614 55.31 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64525276 55.23 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64600744 55.25 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11279480 317.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11328164 318.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11134519 323.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11306490 318.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11181050 320.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10979443 326.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11014334 325.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10902956 329.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10975510 325.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10913682 328.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26607 135132 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26593 135393 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26599 135610 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26652 135153 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26616 135048 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 35014572 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 98 34317356 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 105 35471227 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 105 35263566 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 104 35208980 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3824534 945.6 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3834362 930.6 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3820245 925.6 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3742232 925.1 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3794208 940.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 614 5401163 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 664 5287552 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 811 5662425 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 638 5346684 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 780 5587744 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 113940 32327 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113715 31938 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 114368 32023 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 106064 31901 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113282 31586 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 133794 27018 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132774 27251 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132618 27290 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 129854 27748 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 133192 28071 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65133713 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65131216 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65118906 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65164836 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65262978 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 180589389 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 20 179773916 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 181765446 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 180118301 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 20 181109773 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 146554885 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 147628587 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 148756488 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 147267081 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 148874625 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 122314866 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 123349247 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 121960503 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 121913575 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 123147034 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 112167900 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 33 111773111 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 110799330 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 113755592 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 110970612 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 100714414 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 100128259 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 100380349 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 99654117 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 100132061 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 84690808 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 45 84109243 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 44 83075767 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 82344285 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 44 85161865 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 65029623 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 65167395 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 65312083 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 65051364 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 65024720 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 306 11788018 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 309 11604189 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 310 11567557 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 307 11692892 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 309 11606058 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2077.234s Done