> ROOT_DIR=/tmp/go-bench-away-job-f3673ef4-f517-4125-b8f0-1487165ad462-840567600 > OUTPUT_FILE=/tmp/go-bench-away-job-f3673ef4-f517-4125-b8f0-1487165ad462-840567600/results.txt > SHA_FILE=/tmp/go-bench-away-job-f3673ef4-f517-4125-b8f0-1487165ad462-840567600/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-f3673ef4-f517-4125-b8f0-1487165ad462-840567600/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-f3673ef4-f517-4125-b8f0-1487165ad462-840567600/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-build499674494=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-f3673ef4-f517-4125-b8f0-1487165ad462-840567600/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 317531829 11.32 ns/op Benchmark_FileStoreSelectMsgBlock-16 317230437 11.39 ns/op Benchmark_FileStoreSelectMsgBlock-16 317770255 11.36 ns/op Benchmark_FileStoreSelectMsgBlock-16 317369836 11.36 ns/op Benchmark_FileStoreSelectMsgBlock-16 318342162 11.32 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14223882 250.2 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14364771 250.2 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14163469 254.2 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14414385 251.3 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14092306 255.6 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14024343 263.0 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 13776435 255.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 13142683 263.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 13347024 257.9 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 13943409 267.2 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 182432833 19.65 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 182951007 19.91 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 183852068 19.67 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 183331516 19.64 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 182713809 19.61 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66186794 53.97 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66179996 53.82 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 61432456 58.03 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66186946 53.85 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64492592 55.29 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11124360 320.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11215868 320.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11290562 323.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11197891 321.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11357286 321.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11009344 325.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10864404 323.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10908034 332.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11134578 328.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10850298 328.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26499 135430 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26413 135439 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26479 136024 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26380 135605 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26503 135877 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 104 34393210 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 34930138 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 84 36006176 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 104 34119881 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 104 35013963 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3589435 965.0 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3658288 984.9 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3644346 980.5 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3647250 967.5 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3650571 977.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 944 3703579 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 912 3539653 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 1185 3674818 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 1176 3617006 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 914 3651444 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 110636 32376 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113361 32221 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 112743 33276 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 112188 32063 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 112870 32151 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 120334 27249 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 122462 27304 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 130879 27050 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 131510 27623 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 128700 27608 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 67614797 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 67893281 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 67824917 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 67619471 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 67610585 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 186515147 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184738399 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185745753 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 187367555 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185144046 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 152466543 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151379071 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 150913892 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151952886 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 151991253 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 125780678 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 125986781 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 126296931 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 125944945 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 126549156 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 116362747 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 115556449 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 114706351 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 115184013 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 116810522 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 104949011 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 104213418 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 102383548 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 101568727 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 102691676 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 85171387 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 86774672 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 85659095 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 84846470 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 86377711 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68451934 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68357172 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 50 68347516 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68275500 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68406232 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 291 12355868 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 288 12463073 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 291 12352134 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 290 12327426 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 290 12423446 ns/op Benchmark_FileStoreDeleteMap Benchmark_FileStoreDeleteMap-16 85240 40263 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMap-16 83218 39616 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMap-16 82681 39696 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMap-16 82128 39866 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMap-16 83066 39725 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMapExists Benchmark_FileStoreDeleteMapExists-16 1000000000 3.076 ns/op 0 B/op 0 allocs/op Benchmark_FileStoreDeleteMapExists-16 1000000000 3.077 ns/op 0 B/op 0 allocs/op Benchmark_FileStoreDeleteMapExists-16 1000000000 3.080 ns/op 0 B/op 0 allocs/op Benchmark_FileStoreDeleteMapExists-16 1000000000 3.078 ns/op 0 B/op 0 allocs/op Benchmark_FileStoreDeleteMapExists-16 1000000000 3.078 ns/op 0 B/op 0 allocs/op PASS ok github.com/nats-io/nats-server/v2/server 2116.262s Done