> ROOT_DIR=/tmp/go-bench-away-job-34a75090-a2a2-48fd-b2fa-5fbb2f64efea-2256484583 > OUTPUT_FILE=/tmp/go-bench-away-job-34a75090-a2a2-48fd-b2fa-5fbb2f64efea-2256484583/results.txt > SHA_FILE=/tmp/go-bench-away-job-34a75090-a2a2-48fd-b2fa-5fbb2f64efea-2256484583/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-34a75090-a2a2-48fd-b2fa-5fbb2f64efea-2256484583/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-34a75090-a2a2-48fd-b2fa-5fbb2f64efea-2256484583/source.git SHA of main: d998ae7416defc42d7cbfc99c0d9b2ecea20a98f 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-build3637011704=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-34a75090-a2a2-48fd-b2fa-5fbb2f64efea-2256484583/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 317786528 11.31 ns/op Benchmark_FileStoreSelectMsgBlock-16 317952518 11.33 ns/op Benchmark_FileStoreSelectMsgBlock-16 317339635 11.33 ns/op Benchmark_FileStoreSelectMsgBlock-16 316661793 11.36 ns/op Benchmark_FileStoreSelectMsgBlock-16 318453248 11.35 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14261946 250.7 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14334775 251.9 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 13998510 255.2 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14336611 252.1 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14152496 257.0 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 13915851 259.7 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 13804210 260.3 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 13799079 266.9 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 13262164 265.9 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 13212217 261.9 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 183710234 19.70 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 183747772 19.61 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 183948290 19.65 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 183564729 19.58 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 183388702 19.61 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66129738 53.93 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66561084 53.83 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66255672 54.95 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64961162 53.87 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66153892 53.89 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11233980 323.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11223896 321.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11204242 323.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11129796 318.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 10864839 323.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10849296 326.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11339085 323.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11080836 326.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10998871 324.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11029552 325.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26464 136133 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26482 136083 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26364 135896 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26383 136210 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26541 136045 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 34493748 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 104 35175942 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 36768565 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 36410782 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 35467169 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3673333 968.4 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3638544 968.9 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3638322 974.1 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3669572 981.8 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3649288 972.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 1179 3721843 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 1178 3658156 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 1101 3670294 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 955 3563061 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 1218 2914185 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 113244 33825 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 105549 32788 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 112382 32204 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 112102 32541 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 112642 32223 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 132037 27637 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 127027 27567 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 131527 27922 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132027 27369 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 131616 27744 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 66753553 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 66845200 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 67258028 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 67555296 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 66958962 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185305567 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 183723572 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184017304 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185872789 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184595283 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151878653 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 152947810 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151009496 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 152500531 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 152270156 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 126069932 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 126132676 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 125808378 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 126859339 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 125009833 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 116039403 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115245464 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 113293515 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115585342 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 116851580 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 104015212 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 102753430 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 101920773 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 102564862 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 101048773 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 83465177 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 85537746 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 83728245 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 39 87455507 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 89519569 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68432453 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68421593 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68328264 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 50 68403399 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 54 68290559 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 288 12455112 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 291 12356067 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 292 12314713 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 292 12311155 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 288 12443986 ns/op Benchmark_FileStoreDeleteMap Benchmark_FileStoreDeleteMap-16 83769 39924 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMap-16 80912 39607 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMap-16 78477 39900 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMap-16 84049 39823 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMap-16 83588 39818 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMapExists Benchmark_FileStoreDeleteMapExists-16 1000000000 3.083 ns/op 0 B/op 0 allocs/op Benchmark_FileStoreDeleteMapExists-16 1000000000 3.076 ns/op 0 B/op 0 allocs/op Benchmark_FileStoreDeleteMapExists-16 1000000000 3.085 ns/op 0 B/op 0 allocs/op Benchmark_FileStoreDeleteMapExists-16 1000000000 3.081 ns/op 0 B/op 0 allocs/op Benchmark_FileStoreDeleteMapExists-16 1000000000 3.075 ns/op 0 B/op 0 allocs/op PASS ok github.com/nats-io/nats-server/v2/server 2124.315s Done