> ROOT_DIR=/tmp/go-bench-away-job-aea41175-a2df-41c4-b375-7e495a2d06e6-129555987 > OUTPUT_FILE=/tmp/go-bench-away-job-aea41175-a2df-41c4-b375-7e495a2d06e6-129555987/results.txt > SHA_FILE=/tmp/go-bench-away-job-aea41175-a2df-41c4-b375-7e495a2d06e6-129555987/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-aea41175-a2df-41c4-b375-7e495a2d06e6-129555987/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-aea41175-a2df-41c4-b375-7e495a2d06e6-129555987/source.git SHA of main: b7aeab5cbada5fd2d9ffd8fbaab44faa172e400f 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-build1846158345=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-aea41175-a2df-41c4-b375-7e495a2d06e6-129555987/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 318543876 11.34 ns/op Benchmark_FileStoreSelectMsgBlock-16 318665095 11.33 ns/op Benchmark_FileStoreSelectMsgBlock-16 317629503 11.33 ns/op Benchmark_FileStoreSelectMsgBlock-16 316811560 11.34 ns/op Benchmark_FileStoreSelectMsgBlock-16 318041018 11.33 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14467347 249.5 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14510947 248.6 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14286712 252.6 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14506280 249.2 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14144631 252.5 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14842869 245.5 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14512873 248.4 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14505213 248.7 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14725130 246.9 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14546634 248.8 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 171982569 19.98 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179579564 20.08 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179821460 20.00 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 178965968 20.02 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179532483 19.97 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64711650 54.19 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66024211 54.18 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66026023 55.37 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64562204 54.17 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65618565 54.14 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11100585 321.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 10346210 337.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 10294689 355.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 10109530 321.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9682507 351.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10077848 365.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9908226 367.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9919840 367.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10538209 365.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10176319 359.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26550 134940 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26629 134903 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26626 134931 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26668 135407 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26686 134703 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 37681288 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 97 38381584 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 34434355 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 35131624 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 36141678 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3798703 932.9 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3748142 928.7 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3783008 928.5 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3783169 937.0 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3791302 934.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 818 5470110 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 788 4407126 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 805 5661769 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 795 5606391 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 805 5596117 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 110106 33255 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 106668 33008 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 107258 32902 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 108168 32468 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 108510 33853 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 120380 28104 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 120754 28126 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 118498 28427 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 127894 27573 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 121161 27302 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65535231 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65795476 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65472938 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65513669 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65304638 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 18 187210035 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 186843866 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 186835768 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 186858025 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 18 187340114 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 152127865 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 152777120 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151707836 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 153190503 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 152797062 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 126943424 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 127040672 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 124748992 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 127567887 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 126470605 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 114307128 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 114321877 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115780936 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 117336034 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 116073656 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 103891996 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 104081180 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 103408191 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 103142515 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 102666174 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 88993168 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 87811215 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 87191891 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 85332001 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 82692744 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 69931217 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 70191684 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69873385 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 70032770 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 70115592 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 295 12173625 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 295 12189983 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 295 12173934 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 291 12319800 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 294 12251857 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2040.899s Done