> ROOT_DIR=/tmp/go-bench-away-job-067afc0b-0b76-47b6-88f5-0d484ba57fab-3135461179 > OUTPUT_FILE=/tmp/go-bench-away-job-067afc0b-0b76-47b6-88f5-0d484ba57fab-3135461179/results.txt > SHA_FILE=/tmp/go-bench-away-job-067afc0b-0b76-47b6-88f5-0d484ba57fab-3135461179/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-067afc0b-0b76-47b6-88f5-0d484ba57fab-3135461179/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.4/bin/go > GIT=/usr/bin/git Cloning https://github.com/nats-io/nats-server.git ref: main to /tmp/go-bench-away-job-067afc0b-0b76-47b6-88f5-0d484ba57fab-3135461179/source.git SHA of main: c3e0b35d48e095940af9da7331365d273c973de7 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-build1027467163=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-067afc0b-0b76-47b6-88f5-0d484ba57fab-3135461179/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 316053379 11.33 ns/op Benchmark_FileStoreSelectMsgBlock-16 292622214 11.34 ns/op Benchmark_FileStoreSelectMsgBlock-16 315868046 11.36 ns/op Benchmark_FileStoreSelectMsgBlock-16 318497210 11.35 ns/op Benchmark_FileStoreSelectMsgBlock-16 316715086 11.36 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14160367 253.1 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14205309 253.1 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14125218 256.1 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14189193 252.3 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14024301 257.3 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14175915 255.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14207961 253.9 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14181550 254.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 13980295 255.0 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14355775 256.8 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179273338 20.12 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179838123 20.09 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 176548845 20.13 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179550436 20.14 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 178699208 20.07 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64654700 54.07 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65885007 54.02 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64774431 54.04 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65798098 53.98 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65639650 54.94 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11124376 323.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11203195 322.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11110304 323.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11177658 322.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 10982284 323.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10886149 331.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10723165 332.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10709380 332.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10895010 331.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10712182 337.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26558 135478 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26576 135555 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26481 135382 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26493 135559 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26323 136007 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 98 36300624 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 35996272 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 37007182 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 36112031 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 35990331 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3646874 984.0 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3595461 993.1 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3619616 973.2 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3568255 993.5 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3608209 988.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 819 5637358 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 636 5450318 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 758 5557814 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 806 5492873 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 800 5534076 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 110935 31504 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 115465 32204 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 98671 31521 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113630 31974 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 101559 32873 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 121542 27016 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 134895 27403 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 124532 27237 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 125665 27602 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 134342 27827 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64445668 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64296788 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64795482 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64475022 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64608383 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185303552 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 183225175 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 183444067 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184227944 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184419781 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150931729 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 149572620 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150244368 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 150457955 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150348348 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 125624127 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 126010476 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 125047589 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 123905113 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 123632867 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 112202624 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 114294324 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 114290984 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115352459 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 113170693 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 102385299 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 99199770 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 101001911 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 37 100382301 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 99774775 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 81884997 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 85540153 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 83268066 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 84158655 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 44 83129918 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 64225692 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 64175052 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 64373599 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 64217895 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 64332778 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 310 11552798 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 312 11535884 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 308 11722201 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 312 11533333 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 310 11559778 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2097.146s Done