> ROOT_DIR=/tmp/go-bench-away-job-d4af4df0-e252-4ce7-a929-f8141d6a0fae-2812124816 > OUTPUT_FILE=/tmp/go-bench-away-job-d4af4df0-e252-4ce7-a929-f8141d6a0fae-2812124816/results.txt > SHA_FILE=/tmp/go-bench-away-job-d4af4df0-e252-4ce7-a929-f8141d6a0fae-2812124816/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-d4af4df0-e252-4ce7-a929-f8141d6a0fae-2812124816/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-d4af4df0-e252-4ce7-a929-f8141d6a0fae-2812124816/source.git SHA of main: 51fbade1ed5aa9cd026e6be57ad9b0c6272f6709 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-build3988107094=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-d4af4df0-e252-4ce7-a929-f8141d6a0fae-2812124816/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 316804897 11.42 ns/op Benchmark_FileStoreSelectMsgBlock-16 314868164 11.35 ns/op Benchmark_FileStoreSelectMsgBlock-16 315975538 11.40 ns/op Benchmark_FileStoreSelectMsgBlock-16 316397392 11.38 ns/op Benchmark_FileStoreSelectMsgBlock-16 315721903 11.47 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14161131 251.1 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14197105 252.3 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14016487 254.7 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14292202 252.6 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 13823205 256.7 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14522985 249.9 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14567031 250.1 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14302615 247.1 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14677051 252.0 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14511375 248.6 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177297198 20.32 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177151996 20.28 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177281732 20.29 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 175958775 20.30 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177049219 20.31 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 63183128 55.29 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64652702 55.16 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64172610 55.37 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 63127106 55.37 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 63098563 56.31 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11217789 325.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11328289 318.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11221167 319.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11299182 318.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11356096 319.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10872750 325.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10953544 332.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10840382 334.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11007828 328.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10905780 331.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26546 135608 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26666 134909 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26557 135073 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26600 135184 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26643 135151 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 34734594 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 104 37592028 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 94 38012357 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 98 36738656 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 37001857 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3762919 936.4 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3773884 934.9 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3759138 934.8 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3749095 942.8 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3789348 957.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 786 5395802 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 816 5519559 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 835 5397239 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 811 5361924 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 813 5563045 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 105319 31473 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113762 31790 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 106818 31382 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113155 32723 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 114403 31617 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 135212 27397 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 127317 26907 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 134655 27637 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 135056 26629 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 131496 27292 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64507532 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64433198 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64376773 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64741101 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64551867 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 182311113 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 180197368 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 180711715 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 181901039 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 181718113 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 147181275 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 148278292 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 146686641 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 147595503 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 148812554 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 122167074 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 122838118 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 123137550 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 122819173 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 121453847 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 113257634 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 112541290 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 112734517 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 111812158 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 113039340 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 100070683 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 100112148 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 37 99376472 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 98843198 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 100787511 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 44 83639283 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 80762282 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 45 81864328 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 82914234 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 44 83009321 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 55 65413085 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 55 65363172 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 55 65567987 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 55 65435752 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 65410364 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 310 11586353 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 309 11583527 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 310 11566010 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 310 11594020 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 309 11606277 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2084.723s Done