> ROOT_DIR=/tmp/go-bench-away-job-bd13e67e-d6a4-4bfa-bd38-d33e2d124973-3791415292 > OUTPUT_FILE=/tmp/go-bench-away-job-bd13e67e-d6a4-4bfa-bd38-d33e2d124973-3791415292/results.txt > SHA_FILE=/tmp/go-bench-away-job-bd13e67e-d6a4-4bfa-bd38-d33e2d124973-3791415292/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-bd13e67e-d6a4-4bfa-bd38-d33e2d124973-3791415292/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-bd13e67e-d6a4-4bfa-bd38-d33e2d124973-3791415292/source.git SHA of main: c926e4b709da38bac15d08bd9b12b3eae99b7ca0 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-build4103605310=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-bd13e67e-d6a4-4bfa-bd38-d33e2d124973-3791415292/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 316154044 11.33 ns/op Benchmark_FileStoreSelectMsgBlock-16 316134049 11.91 ns/op Benchmark_FileStoreSelectMsgBlock-16 316549024 11.40 ns/op Benchmark_FileStoreSelectMsgBlock-16 295523869 11.35 ns/op Benchmark_FileStoreSelectMsgBlock-16 317653322 11.36 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14538720 249.5 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14051672 251.7 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14224149 255.0 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14305338 250.0 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14199256 252.7 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14577381 244.8 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14624674 247.7 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14326420 254.7 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14490789 247.7 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14185917 250.5 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 182046654 19.78 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 182053843 19.79 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 182325210 19.76 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 182210558 19.79 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 181807315 19.81 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66178108 53.92 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65964583 54.96 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66252320 55.01 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66174400 53.85 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66101878 53.93 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9572415 373.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9674442 372.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9631526 378.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9626617 373.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9564072 376.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10171728 371.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10705066 370.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10386714 368.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10078795 368.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9894003 369.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26517 134788 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26586 135406 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26550 135589 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26632 135158 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26509 135325 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 38085794 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 104 34264371 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 104 34405960 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 105 35150923 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 105 35130091 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3804294 928.5 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3788013 935.0 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3837387 925.9 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3869868 940.1 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3858014 934.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 685 5446288 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 759 4524885 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 806 5509238 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 810 5421907 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 813 5459602 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 101394 33473 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 110610 33200 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 105620 33156 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 99166 32766 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 109813 33607 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 126072 27369 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132096 27342 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 114457 28945 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 129462 27799 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 130772 27494 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65495452 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65506773 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65295698 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65613073 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65502712 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184656414 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184057597 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 183909911 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 186179019 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185505344 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150747154 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151483434 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150711140 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151767415 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 151708971 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 125133516 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 127262425 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 125925729 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 125854940 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 125759454 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 115976649 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 115297370 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 116438256 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115414778 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115718642 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 102625986 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 104988964 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 105941510 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 103599922 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 101762772 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 88085368 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 84807425 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 88453350 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 89979420 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 85349993 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 69577399 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 69665825 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69743544 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 69605837 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69693763 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 297 12094109 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 295 12169134 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 291 12289326 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 294 12228588 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 297 12072896 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2043.076s Done