> ROOT_DIR=/tmp/go-bench-away-job-5d8a072f-213b-4a4a-a0f4-e7607968398d-4156607993 > OUTPUT_FILE=/tmp/go-bench-away-job-5d8a072f-213b-4a4a-a0f4-e7607968398d-4156607993/results.txt > SHA_FILE=/tmp/go-bench-away-job-5d8a072f-213b-4a4a-a0f4-e7607968398d-4156607993/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-5d8a072f-213b-4a4a-a0f4-e7607968398d-4156607993/go_version.txt > GIT_REMOTE=https://github.com/nats-io/nats-server.git > GIT_REF=v2.12.4 > 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.4 to /tmp/go-bench-away-job-5d8a072f-213b-4a4a-a0f4-e7607968398d-4156607993/source.git SHA of v2.12.4: 2429cd357a0837d7f936b5124e5ffb428b97ce79 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-build3371609450=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-5d8a072f-213b-4a4a-a0f4-e7607968398d-4156607993/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 317501228 11.66 ns/op Benchmark_FileStoreSelectMsgBlock-16 317427799 11.35 ns/op Benchmark_FileStoreSelectMsgBlock-16 304096279 11.42 ns/op Benchmark_FileStoreSelectMsgBlock-16 317917722 11.37 ns/op Benchmark_FileStoreSelectMsgBlock-16 317838691 11.34 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 13935789 255.5 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14103932 255.8 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14112028 255.1 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14057182 255.8 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14070170 255.6 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14226254 253.4 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14005855 251.9 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14212644 252.8 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14136339 255.8 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14470288 253.2 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179671633 20.06 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179258613 20.01 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 178512376 20.11 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 178889276 20.09 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179217396 20.07 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66140955 53.91 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66300702 54.10 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66261925 53.83 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66174410 53.89 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65960467 53.79 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11068532 324.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11176599 325.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11063815 322.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11125623 324.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11129596 329.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10651392 341.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10545799 337.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10503295 341.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10745835 338.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10569680 337.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26930 133525 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26936 133661 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26928 133064 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26949 133304 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26904 133872 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 34373974 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 94 34131699 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 34090701 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 35272220 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 105 35903500 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3565765 992.4 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3562371 991.2 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3595792 1002 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3598182 988.5 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3598537 990.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 822 5523353 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 787 5500225 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 804 5586288 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 812 5600855 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 614 5428991 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 115760 32247 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 107587 31889 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 115712 31448 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 112488 31649 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 102114 31980 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 136965 27476 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 131012 26351 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 136089 26874 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 127818 26199 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132506 26858 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 56 63269759 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 56 63177159 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 56 63186046 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 56 63240307 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 56 63206046 ns/op PASS ok github.com/nats-io/nats-server/v2/server 486.622s Done