> ROOT_DIR=/tmp/go-bench-away-job-475b27be-6ca7-49ef-985c-6054c52f5a9c-1729221108 > OUTPUT_FILE=/tmp/go-bench-away-job-475b27be-6ca7-49ef-985c-6054c52f5a9c-1729221108/results.txt > SHA_FILE=/tmp/go-bench-away-job-475b27be-6ca7-49ef-985c-6054c52f5a9c-1729221108/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-475b27be-6ca7-49ef-985c-6054c52f5a9c-1729221108/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-475b27be-6ca7-49ef-985c-6054c52f5a9c-1729221108/source.git SHA of main: 920367039bd51f662b78bc783c6c007d0b6c2a7a 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-build807591185=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-475b27be-6ca7-49ef-985c-6054c52f5a9c-1729221108/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 317367945 11.32 ns/op Benchmark_FileStoreSelectMsgBlock-16 318041388 11.32 ns/op Benchmark_FileStoreSelectMsgBlock-16 317810320 11.33 ns/op Benchmark_FileStoreSelectMsgBlock-16 318503035 11.32 ns/op Benchmark_FileStoreSelectMsgBlock-16 318511803 11.33 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14245117 250.1 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14369097 249.6 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14188592 257.6 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14508800 249.9 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14252204 254.1 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14418716 250.0 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14635881 243.3 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14355601 250.4 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14497279 248.4 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14707666 246.3 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 181847366 20.02 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179686663 19.95 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177171596 19.99 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 178099699 20.13 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177384037 20.04 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65341574 55.31 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65352567 54.48 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65720800 54.58 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65642630 54.45 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65544165 54.59 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11556939 315.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11492544 314.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11381269 318.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11446809 312.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11381797 318.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11122334 323.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11082277 322.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10876980 330.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11111814 325.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11050303 326.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26526 135041 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26553 135030 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26553 135647 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26511 135406 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26650 135702 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 105 33719306 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 105 34200533 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 104 35249031 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 106 33807715 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 104 34490083 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3749049 937.6 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3785804 938.7 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3759820 945.1 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3720038 942.7 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3681441 942.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 812 5517956 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 817 5472825 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 832 5436587 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 774 4344042 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 811 5465332 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 114081 31415 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113703 31353 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113749 31813 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113338 31888 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 107594 32825 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 134146 27048 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 134283 26507 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 133484 26623 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 126711 27825 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 127794 29554 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64935986 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64703218 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64771421 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64669157 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64638934 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 181073184 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 20 179563942 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 20 180877079 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 181872081 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 181648296 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 147754069 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 145998393 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 148028332 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 146851091 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 146337287 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 122486272 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 122508619 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 122532888 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 123311262 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 121586849 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 110715460 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 111348958 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 111977815 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 112585348 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 111775978 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 99601867 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 99666018 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 100506522 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 100296832 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 100057095 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 83568022 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 86292446 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 82575595 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 44 81265413 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 83160243 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 64627001 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 64809237 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 64682417 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 64850813 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 64724815 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 310 11571052 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 307 11691556 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 308 11631133 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 312 11529870 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 309 11634462 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2077.733s Done