> ROOT_DIR=/tmp/go-bench-away-job-0d67eac3-d4ad-48ad-8b95-186843800e31-137088247 > OUTPUT_FILE=/tmp/go-bench-away-job-0d67eac3-d4ad-48ad-8b95-186843800e31-137088247/results.txt > SHA_FILE=/tmp/go-bench-away-job-0d67eac3-d4ad-48ad-8b95-186843800e31-137088247/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-0d67eac3-d4ad-48ad-8b95-186843800e31-137088247/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-0d67eac3-d4ad-48ad-8b95-186843800e31-137088247/source.git SHA of main: 050df88d3fb7e968ef8acf02b3ea092d439881c3 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-build3336599726=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-0d67eac3-d4ad-48ad-8b95-186843800e31-137088247/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 302493301 12.00 ns/op Benchmark_FileStoreSelectMsgBlock-16 316785162 11.59 ns/op Benchmark_FileStoreSelectMsgBlock-16 313213330 11.41 ns/op Benchmark_FileStoreSelectMsgBlock-16 319456933 11.35 ns/op Benchmark_FileStoreSelectMsgBlock-16 317479365 11.35 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14370290 251.5 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14323874 251.1 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14028750 255.1 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14275884 251.2 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14040687 256.0 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14613381 254.0 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14331594 250.3 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14274307 254.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14382402 250.4 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14287657 249.6 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179228577 20.07 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 178484805 20.11 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 178030059 20.08 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177482739 20.09 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179090846 20.08 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 60972016 53.91 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65938748 53.78 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66056689 53.92 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64509643 53.94 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65565499 53.87 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 10886833 317.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11659100 317.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11437849 313.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11423659 315.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11342304 320.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11471722 314.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11289042 313.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11252826 319.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11415022 318.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11259775 318.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26443 136103 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26478 136016 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26490 135450 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26470 135871 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26554 136170 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 35988099 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 35217208 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 34523693 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 38066193 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 94 38829833 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3631363 981.4 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3684092 970.7 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3562957 979.1 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3623176 977.0 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3600763 980.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 764 5580255 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 762 5381911 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 786 5498179 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 639 5364408 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 784 5462089 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 111844 31837 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113235 32724 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 112792 31911 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 111494 32923 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 101205 34247 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 133410 27014 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132486 27401 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132789 27219 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 133009 28221 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 130558 27955 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65238769 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64958275 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65197752 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65118198 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65001192 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184891526 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 182937423 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 183339645 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185000575 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 181464085 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 149977840 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150246613 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151218916 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150256500 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150632221 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 124643277 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 123490754 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 125325386 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 124513766 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 125331460 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 114803191 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 112698262 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115430512 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115588268 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 114556229 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 99693878 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 103057408 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 98388704 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 101418271 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 103500949 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 44 82831048 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 83976918 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 85653083 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 83287813 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 85631935 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68886703 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68865536 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 49 68867875 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69119383 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69190845 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 298 12059981 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 298 12021168 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 296 12139843 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 300 12028366 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 295 12177117 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2064.165s Done