> ROOT_DIR=/tmp/go-bench-away-job-acaf84c9-7fe9-45f7-9cd9-e9ba470c56cd-1014777379 > OUTPUT_FILE=/tmp/go-bench-away-job-acaf84c9-7fe9-45f7-9cd9-e9ba470c56cd-1014777379/results.txt > SHA_FILE=/tmp/go-bench-away-job-acaf84c9-7fe9-45f7-9cd9-e9ba470c56cd-1014777379/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-acaf84c9-7fe9-45f7-9cd9-e9ba470c56cd-1014777379/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-acaf84c9-7fe9-45f7-9cd9-e9ba470c56cd-1014777379/source.git SHA of main: bae1d6c752e0550901d0a79a76fb2fabe79c1eff 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-build3467367633=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-acaf84c9-7fe9-45f7-9cd9-e9ba470c56cd-1014777379/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 315664248 11.33 ns/op Benchmark_FileStoreSelectMsgBlock-16 318299127 11.58 ns/op Benchmark_FileStoreSelectMsgBlock-16 318848402 11.32 ns/op Benchmark_FileStoreSelectMsgBlock-16 317584503 11.59 ns/op Benchmark_FileStoreSelectMsgBlock-16 319240929 11.32 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14446737 248.6 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14502522 249.0 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14223476 253.5 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14405011 249.2 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14228220 253.8 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14051278 246.5 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14527142 247.3 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14448714 246.3 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14462826 253.9 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14242543 248.5 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180579946 19.95 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180890518 19.94 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180532660 20.02 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180646330 19.93 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180387381 19.91 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64632747 56.19 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64691653 55.23 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64506174 55.32 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64674528 55.24 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64566109 55.23 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11224270 320.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11291671 318.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11175891 320.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11304338 318.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11226810 320.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11071837 325.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11055948 327.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10901637 329.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11071038 327.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10773753 329.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26616 135505 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26604 135396 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26628 135515 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26679 135256 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26589 135220 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 34088696 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 37374521 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 104 37628103 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 94 35662393 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 36311528 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3828670 920.0 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3823381 927.8 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3797544 927.1 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3847530 924.0 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3816201 925.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 814 5637989 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 810 4411795 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 777 5349404 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 798 4306652 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 801 5448551 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 114254 31950 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 114271 32454 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113035 32193 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113245 31563 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113570 32096 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 133669 26622 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 135348 26802 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 126231 26962 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 134793 26515 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 135566 27851 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64504749 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64624546 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64621833 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64717642 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64647398 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 180888915 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 179710449 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 180086783 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 20 181324139 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 179814108 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 146299156 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 147554934 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 146655127 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 146182728 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 25 146339123 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 121992190 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 121359683 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 122083915 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 119701747 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 121963922 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 111755933 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 33 110074669 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 111501073 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 110584337 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 112126965 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 37 98213156 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 97938590 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 99293498 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 37 99324702 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 98696893 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 84183231 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 82076340 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 82720414 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 84528709 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 84427700 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 64966749 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 65024778 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 65024003 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 65188139 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 64932762 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 309 11645547 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 309 11669599 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 310 11549264 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 312 11525838 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 308 11688519 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2085.670s Done