> ROOT_DIR=/tmp/go-bench-away-job-f6ce35b0-09c2-464b-aecd-0ed307a5b5e6-2066970231 > OUTPUT_FILE=/tmp/go-bench-away-job-f6ce35b0-09c2-464b-aecd-0ed307a5b5e6-2066970231/results.txt > SHA_FILE=/tmp/go-bench-away-job-f6ce35b0-09c2-464b-aecd-0ed307a5b5e6-2066970231/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-f6ce35b0-09c2-464b-aecd-0ed307a5b5e6-2066970231/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-f6ce35b0-09c2-464b-aecd-0ed307a5b5e6-2066970231/source.git SHA of main: dd0f12d479de19df97e3c6275ab087f8e3b91891 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-build2650472693=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-f6ce35b0-09c2-464b-aecd-0ed307a5b5e6-2066970231/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 317646547 11.31 ns/op Benchmark_FileStoreSelectMsgBlock-16 318011179 11.31 ns/op Benchmark_FileStoreSelectMsgBlock-16 317839578 11.28 ns/op Benchmark_FileStoreSelectMsgBlock-16 318258951 11.28 ns/op Benchmark_FileStoreSelectMsgBlock-16 303356755 11.29 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14387895 251.0 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14319594 250.9 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14097849 255.2 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14453408 250.8 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14189000 255.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14112386 251.9 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14299446 253.1 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 13924828 251.3 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14379315 254.3 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14251909 252.6 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179646835 20.04 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179758687 20.04 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179634831 20.05 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180116637 20.02 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179320951 20.08 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 57577717 62.17 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 58778004 62.87 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 57482889 64.73 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 55173550 61.57 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 57088230 62.96 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9630080 375.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9577641 374.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9500534 377.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9549118 376.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9558118 376.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9105013 396.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9100545 394.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9129772 396.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9143401 396.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9046542 397.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26700 135193 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26748 134857 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26734 134510 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26688 134883 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26685 134967 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 38179389 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 96 38620189 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 98 36195800 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 35912719 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 34509146 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3570646 983.3 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3642372 980.6 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3604471 978.8 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3605870 985.5 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3602835 980.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 817 5486871 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 826 5554472 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 831 5452801 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 847 5754751 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 816 5500608 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 108505 32981 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 110557 32235 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 111087 32329 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 110234 32785 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 111000 32349 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 131914 27479 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 130605 27788 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 129176 27487 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 122154 27898 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 131320 27979 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65689553 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65898535 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65701204 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65958003 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65794536 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185288909 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184231727 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185169966 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185972646 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185043949 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150632303 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151969896 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151537013 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150637604 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 151842850 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 125942124 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 126534334 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 125315372 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 126303691 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 125729130 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 114896114 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 115074733 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 114207127 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115624933 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115171761 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 102988939 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 101883173 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 102148231 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 101638556 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 103518768 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 44 84910585 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 86819169 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 83896875 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 84701093 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 84846446 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68824113 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68789098 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68890377 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68776446 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 50 68918652 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 295 12196651 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 295 12139212 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 294 12208783 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 298 12028159 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 294 12219635 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2076.276s Done