> ROOT_DIR=/tmp/go-bench-away-job-581ba464-b3c6-4ac6-a54b-b2b5b66dada7-3598565952 > OUTPUT_FILE=/tmp/go-bench-away-job-581ba464-b3c6-4ac6-a54b-b2b5b66dada7-3598565952/results.txt > SHA_FILE=/tmp/go-bench-away-job-581ba464-b3c6-4ac6-a54b-b2b5b66dada7-3598565952/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-581ba464-b3c6-4ac6-a54b-b2b5b66dada7-3598565952/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-581ba464-b3c6-4ac6-a54b-b2b5b66dada7-3598565952/source.git SHA of main: db0a2c8ce3241df7dbc6cd730b989cfa05677068 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-build4197589758=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-581ba464-b3c6-4ac6-a54b-b2b5b66dada7-3598565952/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 318181294 11.30 ns/op Benchmark_FileStoreSelectMsgBlock-16 318128182 11.29 ns/op Benchmark_FileStoreSelectMsgBlock-16 316102880 11.32 ns/op Benchmark_FileStoreSelectMsgBlock-16 318013754 11.30 ns/op Benchmark_FileStoreSelectMsgBlock-16 318425814 11.32 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14246259 255.7 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14198528 253.2 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 13800834 258.9 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14240180 252.8 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 13967598 258.9 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14330820 253.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14232369 250.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14472189 253.6 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14379625 248.5 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14351385 250.9 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177700616 20.27 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177497419 20.30 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177980971 20.27 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 178076811 20.24 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 175887925 20.28 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65682710 54.21 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65824052 54.01 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65581797 54.25 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65744724 55.05 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65693820 54.20 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11587802 313.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11664204 313.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11386201 316.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11266192 313.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11416840 317.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10541174 357.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9626079 361.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9781976 362.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9852948 365.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10561747 368.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26503 136066 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26478 136483 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26461 135864 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26458 135730 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26344 136300 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 34107566 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 34982390 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 35775089 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 104 34860191 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 34042209 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3857403 923.2 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3846075 923.0 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3831724 936.1 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3835707 917.1 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3854956 920.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 1126 3916878 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 1070 3945619 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 926 3878219 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 1185 3725629 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 1106 3729632 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 100377 31861 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 110186 33236 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 111720 32430 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 99650 32522 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 110283 33465 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 131211 28178 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 124750 27454 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 130398 27297 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 130242 27726 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 118549 27986 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 66720391 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 66604278 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 66781998 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 66570001 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 66594984 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 186118892 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 187062923 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185809355 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184750933 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 186054816 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 152532818 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 152263613 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 153223983 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 152387510 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151836986 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 128633082 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 126405513 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 125572600 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 126716990 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 127768030 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115202085 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 115694181 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 116083950 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115386553 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 116149339 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 104639672 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 102750472 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 104413732 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 105217290 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 103473887 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 84831952 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 84075016 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 88495305 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 87381083 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 85710398 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 54 67674487 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 54 67922634 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 54 67743551 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 54 67699573 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 54 67766325 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 289 12452718 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 291 12322125 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 294 12274307 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 292 12288621 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 292 12278888 ns/op Benchmark_FileStoreDeleteMap Benchmark_FileStoreDeleteMap-16 86884 40182 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMap-16 82816 40148 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMap-16 83184 40067 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMap-16 83709 39891 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMap-16 82188 39942 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMapExists Benchmark_FileStoreDeleteMapExists-16 1000000000 3.182 ns/op 0 B/op 0 allocs/op Benchmark_FileStoreDeleteMapExists-16 1000000000 3.187 ns/op 0 B/op 0 allocs/op Benchmark_FileStoreDeleteMapExists-16 1000000000 3.183 ns/op 0 B/op 0 allocs/op Benchmark_FileStoreDeleteMapExists-16 1000000000 3.193 ns/op 0 B/op 0 allocs/op Benchmark_FileStoreDeleteMapExists-16 1000000000 3.185 ns/op 0 B/op 0 allocs/op PASS ok github.com/nats-io/nats-server/v2/server 2045.917s Done