> ROOT_DIR=/tmp/go-bench-away-job-5323190b-2a5b-41b4-b531-9c3eda2ae9d4-1104455764 > OUTPUT_FILE=/tmp/go-bench-away-job-5323190b-2a5b-41b4-b531-9c3eda2ae9d4-1104455764/results.txt > SHA_FILE=/tmp/go-bench-away-job-5323190b-2a5b-41b4-b531-9c3eda2ae9d4-1104455764/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-5323190b-2a5b-41b4-b531-9c3eda2ae9d4-1104455764/go_version.txt > GIT_REMOTE=https://github.com/nats-io/nats-server.git > GIT_REF=v2.11.17 > 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.11.17 to /tmp/go-bench-away-job-5323190b-2a5b-41b4-b531-9c3eda2ae9d4-1104455764/source.git SHA of v2.11.17: 0d922d193a4423a26b38d7a647a8d50343dec2de 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-build1904094932=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-5323190b-2a5b-41b4-b531-9c3eda2ae9d4-1104455764/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 317964108 11.32 ns/op Benchmark_FileStoreSelectMsgBlock-16 318409978 11.31 ns/op Benchmark_FileStoreSelectMsgBlock-16 318146671 11.29 ns/op Benchmark_FileStoreSelectMsgBlock-16 317207780 11.40 ns/op Benchmark_FileStoreSelectMsgBlock-16 317933829 11.28 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14548006 243.1 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14653482 244.0 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14479392 245.5 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14687120 243.3 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14579781 247.0 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14629491 243.7 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14444246 242.3 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14564022 245.5 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14837974 242.6 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14281057 248.9 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179473744 20.01 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179711773 19.99 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180294080 19.98 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180295198 19.97 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180058369 19.94 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65983197 54.00 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65921340 55.25 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65851414 54.05 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65844709 55.30 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64422872 54.01 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11879631 302.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11948046 302.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11921731 302.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11995755 302.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11871468 304.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11591954 312.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11593422 312.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11603757 310.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11493072 310.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11504652 312.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 25783 139535 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 25828 139814 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 25876 138891 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 25807 139787 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 25822 139119 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 105 34752980 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 105 33874611 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 33895852 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 105 34782329 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 35251381 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3761380 934.5 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3808506 945.4 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3740640 942.9 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3800762 929.4 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3794197 931.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 816 5430820 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 789 5697002 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 798 5564558 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 628 5414008 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 798 5661332 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 112416 31682 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 114374 31734 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 106380 31945 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113498 31843 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113775 32089 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 134876 26907 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132384 27416 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 135034 26707 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 125306 26590 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132774 27247 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 60 59076511 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 60 59070963 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 60 59305743 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 60 59165230 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 60 59041460 ns/op PASS ok github.com/nats-io/nats-server/v2/server 468.596s Done