> ROOT_DIR=/tmp/go-bench-away-job-ad23b26a-5296-42c0-af46-f748a73b510c-790508040 > OUTPUT_FILE=/tmp/go-bench-away-job-ad23b26a-5296-42c0-af46-f748a73b510c-790508040/results.txt > SHA_FILE=/tmp/go-bench-away-job-ad23b26a-5296-42c0-af46-f748a73b510c-790508040/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-ad23b26a-5296-42c0-af46-f748a73b510c-790508040/go_version.txt > GIT_REMOTE=https://github.com/nats-io/nats-server.git > GIT_REF=main > TESTS_DIR=server > BENCHMARKS_FILTER=Benchmark_FileStore.* > BENCHMARK_REPETITIONS=5 > BENCHMARK_MIN_RUN_TIME=3s > MAX_RUN_TIME=4h0m0s > GO=/usr/local/go1.25.1/bin/go > GIT=/usr/bin/git Cloning https://github.com/nats-io/nats-server.git ref: main to /tmp/go-bench-away-job-ad23b26a-5296-42c0-af46-f748a73b510c-790508040/source.git SHA of main: 85594c8ce6b253d8552efc602360929fc22fd583 Go runtime: go version go1.25.1 linux/amd64 AR='ar' CC='gcc' CGO_CFLAGS='-O2 -g' CGO_CPPFLAGS='' CGO_CXXFLAGS='-O2 -g' CGO_ENABLED='1' CGO_FFLAGS='-O2 -g' CGO_LDFLAGS='-O2 -g' CXX='g++' GCCGO='gccgo' GO111MODULE='' GOAMD64='v1' GOARCH='amd64' GOAUTH='netrc' GOBIN='' GOCACHE='/home/marco/.cache/go-build' GOCACHEPROG='' GODEBUG='' GOENV='/home/marco/.config/go/env' GOEXE='' GOEXPERIMENT='' GOFIPS140='off' GOFLAGS='' GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build3479520417=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-ad23b26a-5296-42c0-af46-f748a73b510c-790508040/source.git/go.mod' GOMODCACHE='/home/marco/go/pkg/mod' GONOPROXY='' GONOSUMDB='' GOOS='linux' GOPATH='/home/marco/go' GOPRIVATE='' GOPROXY='https://proxy.golang.org,direct' GOROOT='/usr/local/go1.25.1' GOSUMDB='sum.golang.org' GOTELEMETRY='local' GOTELEMETRYDIR='/home/marco/.config/go/telemetry' GOTMPDIR='' GOTOOLCHAIN='auto' GOTOOLDIR='/usr/local/go1.25.1/pkg/tool/linux_amd64' GOVCS='' GOVERSION='go1.25.1' 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-2278G CPU @ 3.40GHz Benchmark_FileStoreSelectMsgBlock Benchmark_FileStoreSelectMsgBlock-16 293302153 12.30 ns/op Benchmark_FileStoreSelectMsgBlock-16 292958283 12.26 ns/op Benchmark_FileStoreSelectMsgBlock-16 293252172 12.32 ns/op Benchmark_FileStoreSelectMsgBlock-16 292677817 12.29 ns/op Benchmark_FileStoreSelectMsgBlock-16 291972883 12.26 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 12420414 287.8 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 12527740 295.2 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 12374554 287.1 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 12375279 292.4 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 12473166 289.4 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 12340136 297.0 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 12217999 288.6 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 12221523 288.3 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 12390253 291.3 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 12359998 292.6 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 136061289 26.55 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 135970762 26.50 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 135969357 26.49 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 135916024 26.55 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 136079310 26.45 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 45654124 77.51 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 45888153 77.43 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 45832962 77.40 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 46038400 77.63 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 45587817 77.52 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9797002 365.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9774524 359.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9869492 365.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9743574 369.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9924871 369.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9032196 393.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9126739 392.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9125776 392.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9236094 391.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9242304 393.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 18487 195097 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 18465 194690 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 18524 195077 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 18517 194632 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 18476 194900 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 35284657 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 36150074 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 35062539 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 35538264 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 35149471 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 2933258 1227 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 2933612 1206 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 2904800 1219 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 2929033 1214 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 2923368 1216 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 674 5337512 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 654 5351203 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 573 5478799 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 572 6276261 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 656 5303091 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 3915 1063993 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 3331 1037927 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 3937 1055228 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 3746 1086320 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 3612 1048128 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 49374 79464 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 49976 83143 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 45416 80047 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 44954 81963 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 44194 79805 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 39 91670401 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 39 89399575 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 39 89884614 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 40 89324698 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 39 89881989 ns/op PASS ok github.com/nats-io/nats-server/v2/server 591.972s Done