> ROOT_DIR=/tmp/go-bench-away-job-31f777c1-efff-482f-b5da-c372f211cc3f-633312636 > OUTPUT_FILE=/tmp/go-bench-away-job-31f777c1-efff-482f-b5da-c372f211cc3f-633312636/results.txt > SHA_FILE=/tmp/go-bench-away-job-31f777c1-efff-482f-b5da-c372f211cc3f-633312636/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-31f777c1-efff-482f-b5da-c372f211cc3f-633312636/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-31f777c1-efff-482f-b5da-c372f211cc3f-633312636/source.git SHA of main: 1be499156d9bc757ea08bd148608b622e38b7514 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-build4278070893=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-31f777c1-efff-482f-b5da-c372f211cc3f-633312636/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 318627966 11.35 ns/op Benchmark_FileStoreSelectMsgBlock-16 317427086 11.34 ns/op Benchmark_FileStoreSelectMsgBlock-16 318349040 11.32 ns/op Benchmark_FileStoreSelectMsgBlock-16 316902926 11.34 ns/op Benchmark_FileStoreSelectMsgBlock-16 315977245 11.31 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14450394 248.0 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14536317 248.8 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14368872 251.7 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14594362 248.2 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14346285 252.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14153014 251.1 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14462434 253.6 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14498560 249.4 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14464546 251.3 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14587792 250.8 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179519170 20.04 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179998226 19.98 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180042040 20.04 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180453555 20.02 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180013994 19.98 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65155418 54.58 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65088396 54.62 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65100386 54.63 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65105191 54.73 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65070496 54.74 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9748122 362.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 10521548 355.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9848028 344.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 10622662 350.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9935181 365.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10018645 371.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9979623 363.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9796088 362.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9886422 367.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9873660 364.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26637 135244 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26678 135292 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26632 135073 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26570 134747 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26702 135215 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 34041485 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 96 36381082 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 105 34358103 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 104 34719804 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 105 34698561 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3745761 923.3 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3830834 921.7 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3809400 941.3 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3857865 923.7 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3808510 914.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 637 5258511 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 649 5266764 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 658 5263406 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 832 5396745 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 813 5498527 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 110553 32384 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 107540 33175 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 110589 32762 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 108070 33175 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 100450 32286 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 129356 27282 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 128667 27291 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 130855 27946 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 127497 28061 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 125334 27509 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65902006 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 66013760 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65939514 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 66103697 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65827341 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 186597558 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185459227 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 186382541 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185634771 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 186128531 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151598457 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151167051 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151559581 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 149921586 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151930486 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 126024465 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 126223404 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 126849078 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 126775150 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 124631201 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 114451442 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115965233 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 113776603 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 115645154 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 116276221 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 103876280 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 101018223 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 101932313 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 102889196 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 103164541 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 86939774 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 44 83801198 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 85760076 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 85402564 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 83274801 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 70728814 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 70954789 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 70670931 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 49 70749682 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 70923377 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 294 12213806 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 291 12317719 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 291 12312235 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 294 12255198 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 289 12368731 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2048.356s Done