> ROOT_DIR=/tmp/go-bench-away-job-9863c6b2-7375-4b41-b704-e7a09f5aea6d-2696121872 > OUTPUT_FILE=/tmp/go-bench-away-job-9863c6b2-7375-4b41-b704-e7a09f5aea6d-2696121872/results.txt > SHA_FILE=/tmp/go-bench-away-job-9863c6b2-7375-4b41-b704-e7a09f5aea6d-2696121872/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-9863c6b2-7375-4b41-b704-e7a09f5aea6d-2696121872/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.25.4/bin/go > GIT=/usr/bin/git Cloning https://github.com/nats-io/nats-server.git ref: main to /tmp/go-bench-away-job-9863c6b2-7375-4b41-b704-e7a09f5aea6d-2696121872/source.git SHA of main: 8f41bed82719baffc9da27caaccea813da23d973 Go runtime: go version go1.26.0 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-build225509694=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-9863c6b2-7375-4b41-b704-e7a09f5aea6d-2696121872/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.25.4' GOSUMDB='sum.golang.org' GOTELEMETRY='local' GOTELEMETRYDIR='/home/gauge-gba/.config/go/telemetry' GOTMPDIR='' GOTOOLCHAIN='auto' GOTOOLDIR='/usr/local/go1.25.4/pkg/tool/linux_amd64' GOVCS='' GOVERSION='go1.26.0' 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 314938660 11.34 ns/op Benchmark_FileStoreSelectMsgBlock-16 315217549 11.40 ns/op Benchmark_FileStoreSelectMsgBlock-16 315267451 11.35 ns/op Benchmark_FileStoreSelectMsgBlock-16 316963416 11.43 ns/op Benchmark_FileStoreSelectMsgBlock-16 316011519 11.34 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14320972 249.9 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14356460 249.7 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14282306 255.0 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14406204 249.4 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14050881 253.3 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14467476 249.9 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14129222 254.5 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14241278 250.0 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14381830 254.5 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14321817 254.2 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177501042 20.35 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177622826 20.36 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177634818 20.28 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177195447 20.25 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177544960 20.30 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64386453 55.10 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64646065 55.11 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64259424 56.43 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64574184 55.25 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64749630 55.28 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11686854 307.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11653725 308.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11592889 309.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11742622 309.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11601073 309.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11509413 314.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11454282 313.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11457678 315.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11486568 312.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11296992 318.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26574 134659 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26577 135526 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26683 135307 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26702 135583 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26643 135073 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 35235298 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 34950491 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 105 34952850 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 34504728 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 34923832 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3891348 905.7 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3944448 900.6 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3899611 914.0 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3935504 909.5 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3875538 930.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 793 5494312 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 787 5439972 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 634 5373560 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 663 5462191 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 774 5416817 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 109107 31996 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113238 32181 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113064 31547 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 102325 32016 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113132 32679 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 122850 26889 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 133999 26617 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 131802 27528 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 133894 26823 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 126075 27228 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 67432063 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 67531812 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 67459589 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 67392231 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 67192988 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 186228406 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185402855 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185083060 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 186465435 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184581011 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 150914137 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150941288 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 151661828 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 150998781 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150878835 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 124426224 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 125515568 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 124870599 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 124951113 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 124981132 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 114287794 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 113226798 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 110957977 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 114219299 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 113825317 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 101816878 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 102551287 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 99910520 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 98976267 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 101365722 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 84275041 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 44 83983506 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 44 82651272 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 87726329 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 82420820 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 64127473 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 64404685 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 64292652 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 64316484 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 64238285 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 309 11600777 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 310 11559075 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 312 11535868 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 307 11702703 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 313 11499080 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2106.550s Done