> ROOT_DIR=/tmp/go-bench-away-job-8ae7e657-f789-4b9d-adca-9d4524634ff5-4269852014 > OUTPUT_FILE=/tmp/go-bench-away-job-8ae7e657-f789-4b9d-adca-9d4524634ff5-4269852014/results.txt > SHA_FILE=/tmp/go-bench-away-job-8ae7e657-f789-4b9d-adca-9d4524634ff5-4269852014/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-8ae7e657-f789-4b9d-adca-9d4524634ff5-4269852014/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-8ae7e657-f789-4b9d-adca-9d4524634ff5-4269852014/source.git SHA of main: 09c721a5326c66679f9597fae79f08740ef91455 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-build694985262=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-8ae7e657-f789-4b9d-adca-9d4524634ff5-4269852014/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 318615814 11.30 ns/op Benchmark_FileStoreSelectMsgBlock-16 317773452 11.35 ns/op Benchmark_FileStoreSelectMsgBlock-16 315551704 11.34 ns/op Benchmark_FileStoreSelectMsgBlock-16 317532840 11.32 ns/op Benchmark_FileStoreSelectMsgBlock-16 317131779 11.33 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14286732 249.4 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14714040 247.3 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14213574 252.8 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14539630 248.6 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14336445 252.0 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14307000 245.6 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14459050 241.9 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14398923 248.0 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14964264 246.9 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14434930 245.7 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 182165473 19.73 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 181495184 19.74 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 181894531 19.79 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 182001837 19.82 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 182256219 19.74 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65904387 56.21 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65808258 55.10 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65255155 54.13 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 63487814 54.17 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65688002 54.09 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11300002 317.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11183374 318.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11440604 322.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11480209 316.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11254486 322.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11248360 319.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11289000 317.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11109867 319.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11193196 317.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11260756 319.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26434 135326 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26456 135247 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26514 135417 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26491 135606 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26499 135463 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 37536045 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 98 36182004 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 35837754 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 37127415 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 36507400 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3915618 906.5 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3854612 895.5 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3936823 905.6 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3871504 910.4 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3836917 912.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 829 5450098 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 824 5407753 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 818 5539912 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 780 5516553 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 631 5232264 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 110139 32405 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 109806 32323 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 109723 33737 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 110640 32718 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 110504 31953 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 131060 27008 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 129764 27403 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 130388 28358 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 110198 28366 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 129032 28149 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 68040183 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 68138335 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 68176428 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 67804060 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 68082701 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184795274 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 183516706 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185683745 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185579518 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184823120 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151134753 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 150320226 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 151211046 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151019983 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 150691959 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 125208486 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 123538247 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 124541090 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 123955611 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 126236788 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115446619 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 113301168 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115694742 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 114944060 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 113984386 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 100666012 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 103381774 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 103406461 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 103470648 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 103517393 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 84523229 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 86522390 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 86064899 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 44 86095885 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 82299727 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68684509 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68619770 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 50 68571986 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68758734 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68657697 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 297 12053149 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 297 12089256 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 297 12069342 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 296 12179832 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 298 12032495 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2040.732s Done