> ROOT_DIR=/tmp/go-bench-away-job-021536db-90aa-44b9-a378-85e4a591195b-850964084 > OUTPUT_FILE=/tmp/go-bench-away-job-021536db-90aa-44b9-a378-85e4a591195b-850964084/results.txt > SHA_FILE=/tmp/go-bench-away-job-021536db-90aa-44b9-a378-85e4a591195b-850964084/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-021536db-90aa-44b9-a378-85e4a591195b-850964084/go_version.txt > GIT_REMOTE=https://github.com/nats-io/nats-server.git > GIT_REF=v2.12.9 > 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.9 to /tmp/go-bench-away-job-021536db-90aa-44b9-a378-85e4a591195b-850964084/source.git SHA of v2.12.9: 376c9296d413fae95e363101f6310e9f1b422521 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-build1754418307=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-021536db-90aa-44b9-a378-85e4a591195b-850964084/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 318032144 11.35 ns/op Benchmark_FileStoreSelectMsgBlock-16 316234530 11.33 ns/op Benchmark_FileStoreSelectMsgBlock-16 318113308 11.32 ns/op Benchmark_FileStoreSelectMsgBlock-16 319719193 11.32 ns/op Benchmark_FileStoreSelectMsgBlock-16 318001138 11.32 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14314032 251.6 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14604495 248.8 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14311222 251.3 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14511871 248.2 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14528773 247.9 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14680413 247.3 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14833563 243.5 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14777451 239.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14865316 244.0 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14825210 244.9 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177421911 20.35 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177637579 20.31 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177725186 20.34 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177725920 20.36 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177585415 20.40 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64570424 54.39 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65640705 54.35 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65561523 55.41 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64472496 54.34 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65411466 55.26 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11276515 321.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11197166 319.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11356482 322.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11077801 320.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11117173 319.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10327136 332.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10558208 343.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10219641 346.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10443562 346.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10576028 344.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26761 134744 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26763 135174 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26688 134750 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26784 134829 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26792 135146 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 37313282 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 96 37612574 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 104 34089168 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 34884238 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 104 34371020 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3688760 965.2 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3705726 967.3 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3697804 965.7 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3668902 960.2 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3702955 969.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 799 5495358 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 757 5480998 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 789 5584884 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 807 4345307 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 816 5447615 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 113803 32341 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113490 31589 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113469 31593 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113120 32120 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 111147 32780 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 133800 26492 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 133360 27615 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 133170 27297 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 121458 26730 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132498 27331 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64189985 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64327685 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64415563 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64121734 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64306403 ns/op PASS ok github.com/nats-io/nats-server/v2/server 480.601s Done