> ROOT_DIR=/tmp/go-bench-away-job-9607eb3e-b71c-4661-86b4-49cfab2a111b-4000532589 > OUTPUT_FILE=/tmp/go-bench-away-job-9607eb3e-b71c-4661-86b4-49cfab2a111b-4000532589/results.txt > SHA_FILE=/tmp/go-bench-away-job-9607eb3e-b71c-4661-86b4-49cfab2a111b-4000532589/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-9607eb3e-b71c-4661-86b4-49cfab2a111b-4000532589/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-9607eb3e-b71c-4661-86b4-49cfab2a111b-4000532589/source.git SHA of main: a948cef028a8facbce473b422c344c133f7333ab 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-build1564623174=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-9607eb3e-b71c-4661-86b4-49cfab2a111b-4000532589/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 319070637 11.41 ns/op Benchmark_FileStoreSelectMsgBlock-16 316174138 11.35 ns/op Benchmark_FileStoreSelectMsgBlock-16 316968175 11.35 ns/op Benchmark_FileStoreSelectMsgBlock-16 317026366 11.43 ns/op Benchmark_FileStoreSelectMsgBlock-16 315402172 11.29 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14014597 254.1 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14281634 252.9 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 13993315 255.7 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14247484 253.6 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14118019 256.3 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14377143 253.3 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14131038 248.8 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14569731 256.5 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14485064 251.4 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14502026 250.0 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 181017565 19.90 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 181143334 19.92 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179909523 19.95 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180187273 19.94 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180470733 19.90 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65589235 55.43 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65653950 54.32 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65888726 54.27 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65143182 55.34 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 63469929 57.77 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11398152 314.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11406406 314.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11364296 320.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11422497 316.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11266171 315.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11397374 316.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11267172 316.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11363906 319.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11318305 316.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11280459 320.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26599 135511 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26625 135464 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26636 135075 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26614 135565 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26551 135071 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 34365728 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 98 36085429 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 98 37427319 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 36401251 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 36183673 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3722908 957.0 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3744568 954.5 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3667824 952.8 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3700232 956.6 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3716084 953.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 777 5414521 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 769 5552138 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 807 5387033 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 778 5371491 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 783 5498330 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 115016 32084 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 114018 31908 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113914 33232 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 110946 31611 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113804 32596 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 134229 27132 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132912 26781 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 119083 27155 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 136053 26978 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 134182 26956 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 66090787 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 66111460 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 66044594 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 66103158 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 66085196 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 182449088 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 180129534 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 182950621 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 182246940 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 183228781 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 149565963 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150146481 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 147037598 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 148901941 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 148538894 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 124683287 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 120852933 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 122045518 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 123206106 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 123630256 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 112480649 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 112082686 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 112895774 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 113572139 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 112737213 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 100836216 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 99406338 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 102635416 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 103069821 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 100989151 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 82506920 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 84793041 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 85647819 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 83687346 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 85047256 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68952926 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68934777 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68874193 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68890272 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69082915 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 301 11931050 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 296 12019865 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 298 12018913 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 300 11971960 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 300 11967461 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2073.981s Done