> ROOT_DIR=/tmp/go-bench-away-job-af86ee33-4b0d-41a6-a080-9e0655d27341-3083345177 > OUTPUT_FILE=/tmp/go-bench-away-job-af86ee33-4b0d-41a6-a080-9e0655d27341-3083345177/results.txt > SHA_FILE=/tmp/go-bench-away-job-af86ee33-4b0d-41a6-a080-9e0655d27341-3083345177/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-af86ee33-4b0d-41a6-a080-9e0655d27341-3083345177/go_version.txt > GIT_REMOTE=https://github.com/nats-io/nats-server.git > GIT_REF=v2.12.3 > 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: v2.12.3 to /tmp/go-bench-away-job-af86ee33-4b0d-41a6-a080-9e0655d27341-3083345177/source.git SHA of v2.12.3: 067a55d46c77bc692f17a80dc21d5687d22408d1 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-build1120960522=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-af86ee33-4b0d-41a6-a080-9e0655d27341-3083345177/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 315630368 11.39 ns/op Benchmark_FileStoreSelectMsgBlock-16 317537997 11.41 ns/op Benchmark_FileStoreSelectMsgBlock-16 311106030 11.39 ns/op Benchmark_FileStoreSelectMsgBlock-16 316519290 11.34 ns/op Benchmark_FileStoreSelectMsgBlock-16 318008268 11.43 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14411166 250.7 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14172046 250.8 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14336772 251.4 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14330839 251.4 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14324648 251.6 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14741572 246.8 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14854420 243.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14957677 245.1 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14913753 242.9 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14675875 241.5 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 181976665 19.80 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 181998272 19.78 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 181490122 19.72 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 182219702 19.81 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 182211891 19.77 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 60240002 59.45 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 60137772 59.48 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 58835418 59.66 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 60355456 59.43 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 60098553 60.57 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11344939 317.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11306763 320.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11417116 317.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11291607 317.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11378764 317.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10745281 334.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10576618 337.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10694233 335.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10701294 336.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10716967 336.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 23649 151834 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 23677 152936 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 23668 152426 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 23605 151552 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 23710 151980 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 34801787 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 92 36018879 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 97 35244779 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 98 35514556 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 36175547 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3751298 943.5 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3702387 938.5 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3804484 930.8 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3727348 947.4 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3756944 934.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 811 5554984 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 802 5459786 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 649 5303006 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 804 5604463 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 799 5396310 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 116746 31433 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 115225 31655 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 111703 31526 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 115410 32231 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 114675 31952 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 126626 27037 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 136513 26580 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 136466 26552 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 124244 26472 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 136974 27067 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 57 62133171 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 57 62099381 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 57 62283540 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 57 62098004 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 57 62262421 ns/op PASS ok github.com/nats-io/nats-server/v2/server 481.692s Done