> ROOT_DIR=/tmp/go-bench-away-job-88e4fec0-920e-4e43-8974-7e324f1206ff-1737848051 > OUTPUT_FILE=/tmp/go-bench-away-job-88e4fec0-920e-4e43-8974-7e324f1206ff-1737848051/results.txt > SHA_FILE=/tmp/go-bench-away-job-88e4fec0-920e-4e43-8974-7e324f1206ff-1737848051/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-88e4fec0-920e-4e43-8974-7e324f1206ff-1737848051/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-88e4fec0-920e-4e43-8974-7e324f1206ff-1737848051/source.git SHA of main: ca6311b2e1da1f20d68ccb68f20a352f3c7799d7 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-build171795934=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-88e4fec0-920e-4e43-8974-7e324f1206ff-1737848051/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 313808229 11.40 ns/op Benchmark_FileStoreSelectMsgBlock-16 316140184 11.33 ns/op Benchmark_FileStoreSelectMsgBlock-16 317275545 11.34 ns/op Benchmark_FileStoreSelectMsgBlock-16 317683588 11.35 ns/op Benchmark_FileStoreSelectMsgBlock-16 317148781 11.38 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14234383 248.2 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14582400 247.5 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14264830 252.0 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14565543 248.0 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14376538 252.0 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14488065 255.8 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14576828 251.7 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14468442 251.7 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14457501 251.8 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14390421 248.9 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180722698 19.91 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180202732 19.98 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180654658 19.95 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180695379 19.97 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179697115 19.96 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65240479 54.59 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65432068 54.60 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65561815 54.54 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65519311 54.55 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65242784 54.59 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11339886 317.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11426720 315.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11282618 317.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11261067 315.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11295090 318.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11304720 320.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11332213 319.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11146957 320.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11182899 325.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11187712 324.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26406 135889 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26504 135975 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26445 136131 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26541 136291 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26445 136340 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 37172770 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 104 35316319 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 98 35440542 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 34651594 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 35588643 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3667179 964.2 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3676988 965.4 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3604153 969.8 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3682814 969.7 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3626605 964.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 640 5242387 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 806 5397369 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 800 4249670 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 768 5447283 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 639 5433535 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 113233 31806 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 112209 33032 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 112872 33343 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 102423 32281 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 112030 32660 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 132986 27162 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 131931 27234 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 130275 27913 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132295 27776 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 131990 27791 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64588030 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64615024 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64759612 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64798544 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64706776 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 18 189999224 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 18 189918632 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 18 190749746 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 18 189760505 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 18 188801258 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 156197756 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 156330644 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 156700041 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 156495439 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 157207440 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 132062990 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 26 131158474 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 26 130663706 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 129644582 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 129597584 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 118295729 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 116290070 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 117618449 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 118006205 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 118413825 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 108497641 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 108258668 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 107916688 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 108521600 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 108452820 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 86423758 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 88273679 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 87415870 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 87428212 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 39 88448473 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 69700554 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 69698373 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69625412 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69694027 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69650949 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 296 12129649 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 295 12176726 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 294 12234420 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 291 12360252 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 294 12191946 ns/op PASS ok github.com/nats-io/nats-server/v2/server 1992.617s Done