> ROOT_DIR=/tmp/go-bench-away-job-21afc8f6-094c-48d1-adfd-29ab4d58f4da-46389259 > OUTPUT_FILE=/tmp/go-bench-away-job-21afc8f6-094c-48d1-adfd-29ab4d58f4da-46389259/results.txt > SHA_FILE=/tmp/go-bench-away-job-21afc8f6-094c-48d1-adfd-29ab4d58f4da-46389259/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-21afc8f6-094c-48d1-adfd-29ab4d58f4da-46389259/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-21afc8f6-094c-48d1-adfd-29ab4d58f4da-46389259/source.git SHA of main: 192d2bfa6e20e3879758b765e14a0a772c0a0f2f 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-build1101245038=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-21afc8f6-094c-48d1-adfd-29ab4d58f4da-46389259/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 294555918 12.17 ns/op Benchmark_FileStoreSelectMsgBlock-16 295841050 12.16 ns/op Benchmark_FileStoreSelectMsgBlock-16 295913710 12.16 ns/op Benchmark_FileStoreSelectMsgBlock-16 294184881 12.20 ns/op Benchmark_FileStoreSelectMsgBlock-16 294948270 12.15 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 12376766 293.7 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 12495174 289.2 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 12595953 288.6 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 12342984 288.8 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 12304254 287.4 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 12831412 294.1 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 12294800 295.7 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 12737052 288.0 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 12696231 290.8 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 12257744 286.7 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 135520105 26.50 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 135973028 26.49 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 135847758 26.58 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 135904982 26.49 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 135471372 26.49 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 45423990 78.19 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 45558356 78.54 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 45265839 78.26 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 45192175 78.27 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 45251920 78.23 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9999417 361.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9859376 364.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9931512 362.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9823524 361.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9853808 361.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9177187 394.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9225273 395.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9031240 396.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9094791 395.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9088662 394.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 18386 195810 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 18408 195767 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 18422 195911 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 18363 195009 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 18345 195035 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 35052147 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 34933125 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 35955981 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 35125518 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 35070502 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 2956507 1190 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 2982740 1194 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 2964727 1194 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 2985159 1188 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 2955630 1184 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 636 5347954 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 663 5452502 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 660 5535426 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 646 5523588 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 580 6210043 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 3459 1054275 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 3328 1070347 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 3526 1090200 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 3458 1004391 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 3436 1093854 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 51039 77787 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 45451 80814 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 45637 79959 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 44012 80887 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 45032 80496 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 38 96884917 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 37 93897761 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 38 93480780 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 38 94281581 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 38 95101451 ns/op PASS ok github.com/nats-io/nats-server/v2/server 590.809s Done