> ROOT_DIR=/tmp/go-bench-away-job-0e96a71f-577b-49d7-bb8f-b3a277bc249e-2266421622 > OUTPUT_FILE=/tmp/go-bench-away-job-0e96a71f-577b-49d7-bb8f-b3a277bc249e-2266421622/results.txt > SHA_FILE=/tmp/go-bench-away-job-0e96a71f-577b-49d7-bb8f-b3a277bc249e-2266421622/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-0e96a71f-577b-49d7-bb8f-b3a277bc249e-2266421622/go_version.txt > GIT_REMOTE=https://github.com/nats-io/nats-server.git > GIT_REF=v2.12.2 > 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.2 to /tmp/go-bench-away-job-0e96a71f-577b-49d7-bb8f-b3a277bc249e-2266421622/source.git SHA of v2.12.2: 8acc1e8db0c17cd71826ed9bbd3061b10c6d9b75 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-build737446476=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-0e96a71f-577b-49d7-bb8f-b3a277bc249e-2266421622/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 317072378 11.31 ns/op Benchmark_FileStoreSelectMsgBlock-16 316759232 11.31 ns/op Benchmark_FileStoreSelectMsgBlock-16 302980185 12.45 ns/op Benchmark_FileStoreSelectMsgBlock-16 317549472 11.32 ns/op Benchmark_FileStoreSelectMsgBlock-16 318444139 12.67 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14173034 253.4 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14155880 253.0 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14338419 253.0 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14093259 253.0 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14221497 253.0 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14348104 249.1 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14510750 249.5 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14176350 247.8 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14249930 251.3 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14244578 250.2 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 178823680 20.09 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 178276005 20.47 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179191664 20.12 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179082892 20.18 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 178952679 20.08 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 59558686 59.87 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 59566753 59.70 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 59238991 60.00 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 59475105 59.89 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 59722756 59.77 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11079824 320.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11138530 322.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11073039 323.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11145300 323.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11128225 324.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10705886 336.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10730524 334.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10596603 338.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10670328 333.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10668652 337.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 23923 150951 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 23889 150850 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 23910 151466 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 23960 150253 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 23847 150323 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 37104004 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 98 37425365 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 98 36848512 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 97 36551836 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 36102716 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3750187 944.1 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3734796 944.7 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3753801 949.3 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3705610 942.6 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3746318 938.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 805 5388858 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 643 5303205 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 829 4478765 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 813 5716257 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 811 5534508 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 113510 31399 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 112166 31401 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113599 32880 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113418 31450 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113127 32359 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 135355 27418 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132451 27286 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 129998 26863 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 133989 26985 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132559 26758 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64004229 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 63999535 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64246840 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64127198 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 56 64178327 ns/op PASS ok github.com/nats-io/nats-server/v2/server 482.787s Done