> ROOT_DIR=/tmp/go-bench-away-job-9f982e0f-17fa-4037-9f7c-6dc63794a2e4-712693687 > OUTPUT_FILE=/tmp/go-bench-away-job-9f982e0f-17fa-4037-9f7c-6dc63794a2e4-712693687/results.txt > SHA_FILE=/tmp/go-bench-away-job-9f982e0f-17fa-4037-9f7c-6dc63794a2e4-712693687/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-9f982e0f-17fa-4037-9f7c-6dc63794a2e4-712693687/go_version.txt > GIT_REMOTE=https://github.com/nats-io/nats-server.git > GIT_REF=v2.12.1 > 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.1 to /tmp/go-bench-away-job-9f982e0f-17fa-4037-9f7c-6dc63794a2e4-712693687/source.git SHA of v2.12.1: 35a616234d8572840a062846c92f10bea0037be7 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-build130975297=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-9f982e0f-17fa-4037-9f7c-6dc63794a2e4-712693687/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 317279404 11.30 ns/op Benchmark_FileStoreSelectMsgBlock-16 314332666 11.38 ns/op Benchmark_FileStoreSelectMsgBlock-16 318610431 11.35 ns/op Benchmark_FileStoreSelectMsgBlock-16 316115376 11.33 ns/op Benchmark_FileStoreSelectMsgBlock-16 318616132 11.34 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14139259 248.9 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14488293 249.3 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14279913 249.8 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14558296 249.8 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14353742 249.8 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14348088 254.1 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14125892 256.6 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14339620 253.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14789482 252.5 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14265609 247.5 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180441786 19.94 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180548270 19.94 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180785678 19.89 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 181013560 19.92 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180400443 19.96 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 57796635 60.95 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 58419976 61.22 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 56772388 60.99 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 58236702 61.30 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 56984601 60.89 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 1243582 2895 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 1227122 2931 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 1224872 2955 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 1212370 2953 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 1208017 2983 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 1000000 3005 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 1000000 3017 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 1000000 3027 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 1000000 3031 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 1000000 3047 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 22712 159310 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 22656 157879 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 22725 158513 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 22629 158538 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 22580 159422 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 34782927 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 105 34829722 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 104 34149859 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 104 35021391 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 105 34469376 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 2114 1630327 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 1875 1786834 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 1941 1738023 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 1833 1685758 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 1879 1810468 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 804 4358503 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 781 4345733 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 790 4325194 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 787 4386444 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 802 5710295 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 110418 31945 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113062 31745 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 107799 32641 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113173 33411 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 104805 32479 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 132669 27356 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 134110 27415 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 129291 27470 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132975 27597 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132510 27217 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 56 63705986 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 56 63493660 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 56 63692668 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 56 63675654 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 63599243 ns/op PASS ok github.com/nats-io/nats-server/v2/server 473.671s Done