> ROOT_DIR=/tmp/go-bench-away-job-680586c3-3930-4970-ab2e-e6cdb0bb26a5-3562478392 > OUTPUT_FILE=/tmp/go-bench-away-job-680586c3-3930-4970-ab2e-e6cdb0bb26a5-3562478392/results.txt > SHA_FILE=/tmp/go-bench-away-job-680586c3-3930-4970-ab2e-e6cdb0bb26a5-3562478392/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-680586c3-3930-4970-ab2e-e6cdb0bb26a5-3562478392/go_version.txt > GIT_REMOTE=https://github.com/nats-io/nats-server.git > GIT_REF=v2.11.10 > 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.10 to /tmp/go-bench-away-job-680586c3-3930-4970-ab2e-e6cdb0bb26a5-3562478392/source.git SHA of v2.11.10: 3771255d8d9007c0809dcea4c5674e06fbbc7ad4 Go runtime: go version go1.25.4 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-build3584485113=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-680586c3-3930-4970-ab2e-e6cdb0bb26a5-3562478392/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.4' GOSUMDB='sum.golang.org' GOTELEMETRY='local' GOTELEMETRYDIR='/home/marco/.config/go/telemetry' GOTMPDIR='' GOTOOLCHAIN='auto' GOTOOLDIR='/usr/local/go1.25.4/pkg/tool/linux_amd64' GOVCS='' GOVERSION='go1.25.4' 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 293328980 12.28 ns/op Benchmark_FileStoreSelectMsgBlock-16 293227761 12.27 ns/op Benchmark_FileStoreSelectMsgBlock-16 294297082 12.31 ns/op Benchmark_FileStoreSelectMsgBlock-16 292275540 12.25 ns/op Benchmark_FileStoreSelectMsgBlock-16 292940302 12.26 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 12372601 287.1 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 12438319 287.4 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 12352704 290.7 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 12392379 284.5 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 12560289 291.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 12525286 292.1 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 12090134 291.1 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 12376252 284.6 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 12528880 285.4 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 12439700 278.4 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 135744250 26.45 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 136144435 26.47 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 135950092 26.54 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 135801222 26.48 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 135050418 26.48 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 45541192 78.14 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 45298466 78.58 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 45346794 78.19 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 45444822 78.43 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 45483229 78.21 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 8609647 424.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 8674729 413.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 8532294 408.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 8766249 413.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 8828114 410.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 8044094 439.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 8102462 439.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 8149129 443.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 8257086 441.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 8253034 441.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 18236 196644 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 18273 196593 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 18302 197029 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 18211 196982 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 18268 196741 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 35582427 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 35183383 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 35883913 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 35672192 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 36676064 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 2788406 1267 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 2803942 1266 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 2779262 1262 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 2816467 1275 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 2796060 1279 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 570 6143883 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 655 5459637 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 636 5597715 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 652 5394354 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 649 5548414 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 5954 681012 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 5527 701392 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 5718 685415 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 5293 694420 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 5451 685574 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 60852 69292 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 50473 71139 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 53623 70830 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 60877 70602 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 53046 73132 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 40 87205825 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 40 86310956 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 40 86353479 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 40 86247508 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 40 86003419 ns/op PASS ok github.com/nats-io/nats-server/v2/server 589.029s Done