> ROOT_DIR=/tmp/go-bench-away-job-c37b2cc9-5b23-407c-b22f-d01d47763b9d-4190246846 > OUTPUT_FILE=/tmp/go-bench-away-job-c37b2cc9-5b23-407c-b22f-d01d47763b9d-4190246846/results.txt > SHA_FILE=/tmp/go-bench-away-job-c37b2cc9-5b23-407c-b22f-d01d47763b9d-4190246846/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-c37b2cc9-5b23-407c-b22f-d01d47763b9d-4190246846/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.26.3/bin/go > GIT=/usr/bin/git Cloning https://github.com/nats-io/nats-server.git ref: main to /tmp/go-bench-away-job-c37b2cc9-5b23-407c-b22f-d01d47763b9d-4190246846/source.git SHA of main: 146b0be65b3591e925cce61ce9d2cae32cdeb227 Go runtime: go version go1.26.3 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-build1065744464=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-c37b2cc9-5b23-407c-b22f-d01d47763b9d-4190246846/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.26.3' GOSUMDB='sum.golang.org' GOTELEMETRY='local' GOTELEMETRYDIR='/home/gauge-gba/.config/go/telemetry' GOTMPDIR='' GOTOOLCHAIN='auto' GOTOOLDIR='/usr/local/go1.26.3/pkg/tool/linux_amd64' GOVCS='' GOVERSION='go1.26.3' 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 313533050 11.27 ns/op Benchmark_FileStoreSelectMsgBlock-16 301160859 11.28 ns/op Benchmark_FileStoreSelectMsgBlock-16 317251779 11.98 ns/op Benchmark_FileStoreSelectMsgBlock-16 316948648 11.32 ns/op Benchmark_FileStoreSelectMsgBlock-16 302348127 11.29 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 13766878 259.4 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14062264 257.8 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 13528815 264.3 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 13941303 255.2 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 13493844 261.8 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14093806 257.3 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 13621964 258.7 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 13579662 258.8 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 13833292 258.6 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14402817 263.1 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179732556 20.04 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179569101 20.01 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179868684 20.02 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179502534 20.02 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180705718 20.04 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65938962 54.40 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64872924 58.12 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66345369 53.87 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65749644 53.95 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65497465 54.13 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9605337 376.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9570235 376.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9502929 376.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9570236 375.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9502408 382.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9107731 392.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9130677 391.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9201176 390.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9192500 391.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9220579 390.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26383 136218 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26452 136399 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26496 136696 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26391 136374 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26455 136095 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 38536961 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 37977258 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 94 37621467 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 97 37178105 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 98 36661383 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3583281 983.6 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3572320 1010 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3544166 988.9 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3564963 990.0 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3583884 1003 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 664 5582782 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 664 5298604 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 794 5472740 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 789 5676355 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 790 5515878 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 112861 33598 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 111760 32640 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 111162 32406 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 110814 32500 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 111202 33416 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 131966 27620 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132637 27477 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 133735 27816 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 133592 27406 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 126636 27315 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 68213983 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 67893565 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 67935944 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 68016785 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 51 67886425 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184713109 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 183707696 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 182584148 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184687575 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184089343 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150320726 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 149938067 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 150705040 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150488842 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 149476178 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 125231282 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 124283146 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 124917500 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 123224831 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 125421322 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 115017108 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 114862106 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 116713746 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 113851547 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 114429512 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 103674123 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 104532027 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 102081476 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 102480145 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 104007914 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 39 89532833 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 44 83051707 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 39 88341027 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 86000862 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 44 86808521 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 49 73477497 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 49 73605302 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 49 73628818 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 49 73563841 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 49 73549619 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 288 12474653 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 288 12542193 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 289 12489601 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 285 12598173 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 286 12519251 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2095.883s Done