> ROOT_DIR=/tmp/go-bench-away-job-3e6dfae6-dcf3-49d6-ac44-5e980571d960-4150757351 > OUTPUT_FILE=/tmp/go-bench-away-job-3e6dfae6-dcf3-49d6-ac44-5e980571d960-4150757351/results.txt > SHA_FILE=/tmp/go-bench-away-job-3e6dfae6-dcf3-49d6-ac44-5e980571d960-4150757351/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-3e6dfae6-dcf3-49d6-ac44-5e980571d960-4150757351/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-3e6dfae6-dcf3-49d6-ac44-5e980571d960-4150757351/source.git SHA of main: d8f51286d9b478fbd3c629103cd9bbedf2c0bcb7 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-build481849938=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-3e6dfae6-dcf3-49d6-ac44-5e980571d960-4150757351/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 318469306 11.30 ns/op Benchmark_FileStoreSelectMsgBlock-16 318280645 11.31 ns/op Benchmark_FileStoreSelectMsgBlock-16 318024076 11.28 ns/op Benchmark_FileStoreSelectMsgBlock-16 316984426 11.37 ns/op Benchmark_FileStoreSelectMsgBlock-16 317537952 11.93 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14410714 250.0 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14495038 248.9 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14127225 253.4 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14471203 249.7 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14132446 253.5 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14275156 251.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 13948645 245.5 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14293947 247.9 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14381276 250.1 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14208686 250.6 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179923174 20.03 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180318638 20.14 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179989479 20.08 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179256387 20.01 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179674467 19.97 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 61015078 55.85 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64779930 54.43 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65520802 54.40 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 61127683 58.37 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65436895 55.10 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11696509 304.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11863488 305.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11718334 306.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11733922 304.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11740327 305.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11476252 313.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11452354 312.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11200843 319.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11235327 315.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11401029 316.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26619 136009 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26643 134740 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26622 134974 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26671 135415 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26583 134858 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 37849620 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 97 38031436 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 94 36791571 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 35986652 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 35628548 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3858759 914.7 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3858159 935.2 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3835394 935.4 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3903360 907.1 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3830713 916.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 644 5455605 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 735 5488512 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 661 5558968 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 831 5388406 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 787 5508875 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 111978 31797 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 112930 31802 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 111530 31824 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 108488 32399 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 111854 31865 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 123819 28487 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 130582 27657 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132636 26763 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 125370 27942 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 121580 27811 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64629226 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64672442 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64639199 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64708649 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64995494 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 182369361 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 183102694 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 181833772 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 182075071 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 183481359 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 146956720 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 148215965 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 147723474 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 149147324 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 149912169 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 123174997 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 123043962 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 122721426 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 122665000 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 121534103 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 112468213 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 112056308 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 114316715 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 113018193 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 110292683 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 100512842 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 101615956 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 100248370 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 99346062 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 37 99243295 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 84846360 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 82626530 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 44 82610156 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 84147215 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 44 81965217 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 63928898 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 63879241 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 63948812 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 57 63859979 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 63803280 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 313 11482501 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 308 11614797 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 310 11576189 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 309 11605747 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 314 11434405 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2106.311s Done