> ROOT_DIR=/tmp/go-bench-away-job-cb9a21af-034f-48b9-9572-be35a29c9761-4038338 > OUTPUT_FILE=/tmp/go-bench-away-job-cb9a21af-034f-48b9-9572-be35a29c9761-4038338/results.txt > SHA_FILE=/tmp/go-bench-away-job-cb9a21af-034f-48b9-9572-be35a29c9761-4038338/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-cb9a21af-034f-48b9-9572-be35a29c9761-4038338/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-cb9a21af-034f-48b9-9572-be35a29c9761-4038338/source.git SHA of main: a0f68a74a565b974e71aeb219dd97ad86d6af601 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-build726088381=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-cb9a21af-034f-48b9-9572-be35a29c9761-4038338/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 316170001 11.36 ns/op Benchmark_FileStoreSelectMsgBlock-16 314917177 11.38 ns/op Benchmark_FileStoreSelectMsgBlock-16 316305712 11.37 ns/op Benchmark_FileStoreSelectMsgBlock-16 316819479 11.38 ns/op Benchmark_FileStoreSelectMsgBlock-16 293840764 11.37 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14490638 249.4 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14566746 247.5 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14375931 252.3 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14497602 248.5 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14350818 251.4 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14822596 243.0 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14643574 247.0 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14493728 251.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14879442 245.9 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14478355 249.3 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 183693847 19.63 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 183245328 19.64 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 183380349 19.64 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 183375549 19.61 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 182256350 19.59 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66082590 53.84 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 61355866 54.01 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66255594 53.91 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66093697 53.90 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66132702 54.03 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 10225717 338.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 10226708 341.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 10788238 340.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11107526 344.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 10213413 341.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9290254 389.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9233637 388.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9203475 388.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9318294 389.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9245652 390.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26616 135057 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26618 135801 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26703 135549 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26523 135042 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26652 135264 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 38802939 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 36602403 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 96 36635135 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 98 35975963 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 35566295 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3783754 929.3 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3794072 935.4 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3853059 926.8 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3865208 937.5 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3785296 926.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 799 5455827 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 804 5520593 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 631 5241571 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 796 5420486 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 636 5282424 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 111909 31922 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 106500 33023 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113150 33002 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 109209 32456 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 96594 32135 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 133132 27496 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132717 27207 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 129138 27719 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132814 27343 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 125112 27625 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65194083 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65077919 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65154540 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65094829 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65167049 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185794710 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185843950 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184719466 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184779852 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 186846396 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151471540 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151422475 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151235376 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151793942 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151878065 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 126845566 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 124793889 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 126270475 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 26 125559901 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 126685437 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 116017478 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 116077991 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 114752680 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115577851 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 114346255 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 102015050 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 101982178 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 103399709 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 104548309 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 101863226 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 85816389 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 85366138 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 83356146 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 83888857 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 45 82376943 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 69311605 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 69533198 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69223653 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 49 69395041 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69264974 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 296 12100518 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 295 12187151 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 295 12142557 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 295 12124367 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 297 12056836 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2105.324s Done