> ROOT_DIR=/tmp/go-bench-away-job-81a426dd-0d97-4cbb-abcd-7f10878ee57f-134524369 > OUTPUT_FILE=/tmp/go-bench-away-job-81a426dd-0d97-4cbb-abcd-7f10878ee57f-134524369/results.txt > SHA_FILE=/tmp/go-bench-away-job-81a426dd-0d97-4cbb-abcd-7f10878ee57f-134524369/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-81a426dd-0d97-4cbb-abcd-7f10878ee57f-134524369/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-81a426dd-0d97-4cbb-abcd-7f10878ee57f-134524369/source.git SHA of main: d9dd620b1af65e84efe439357f9cd3ae8e2ad84e 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-build113754456=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-81a426dd-0d97-4cbb-abcd-7f10878ee57f-134524369/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 317901423 11.36 ns/op Benchmark_FileStoreSelectMsgBlock-16 317417172 11.33 ns/op Benchmark_FileStoreSelectMsgBlock-16 317432017 11.37 ns/op Benchmark_FileStoreSelectMsgBlock-16 316500037 11.36 ns/op Benchmark_FileStoreSelectMsgBlock-16 318182692 11.34 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14080420 254.3 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14115441 254.8 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 13976839 258.0 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14113116 253.9 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 13913152 258.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14386419 249.0 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14489035 247.5 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14261990 245.9 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14515700 248.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14540137 247.9 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177170392 20.26 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177836049 20.32 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177958196 20.25 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177442615 20.21 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177863089 20.23 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65578533 54.57 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65404662 54.52 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65853583 54.47 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65853181 54.27 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65235684 54.43 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11277415 311.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11633703 309.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11516512 312.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11531218 309.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11657846 317.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10312693 362.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10035526 364.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9771621 354.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9994420 352.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10157071 362.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26638 135488 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26542 135600 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26498 135624 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26539 135734 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26611 135578 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 104 34010719 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 35750085 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 36139174 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 104 34163240 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 105 34727260 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3738838 917.1 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3821623 918.9 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3757429 930.7 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3871900 922.7 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3824118 921.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 1117 3631161 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 1174 3735864 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 1156 2883557 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 1202 3517134 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 1119 3645162 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 101496 32678 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 111660 33386 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 108168 33658 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 110824 32812 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 111396 32078 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 132998 27439 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 128973 28473 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 123068 27194 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 129830 27729 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 127016 27101 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 66815663 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 66520907 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 66449258 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 66718477 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 66747587 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185721354 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185476960 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185699796 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185348015 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185166152 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150986634 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 151907479 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151066284 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151445858 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150575959 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 124745526 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 125306665 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 125643859 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 126545587 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 126891244 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 116692171 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 116199525 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 116060723 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115713645 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115670399 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 103884464 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 104314641 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 102025192 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 102845052 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 103192657 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 86225763 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 44 82110698 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 86538286 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 85789115 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 87142855 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 54 67423766 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 54 67458660 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 50 67388083 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 54 67488507 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 54 67469610 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 294 12238029 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 292 12256328 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 290 12311177 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 294 12233799 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 294 12318792 ns/op Benchmark_FileStoreDeleteMap Benchmark_FileStoreDeleteMap-16 84338 39782 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMap-16 83404 39726 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMap-16 81678 39506 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMap-16 84036 39430 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMap-16 82893 39468 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMapExists Benchmark_FileStoreDeleteMapExists-16 1000000000 3.178 ns/op 0 B/op 0 allocs/op Benchmark_FileStoreDeleteMapExists-16 1000000000 3.178 ns/op 0 B/op 0 allocs/op Benchmark_FileStoreDeleteMapExists-16 1000000000 3.172 ns/op 0 B/op 0 allocs/op Benchmark_FileStoreDeleteMapExists-16 1000000000 3.168 ns/op 0 B/op 0 allocs/op Benchmark_FileStoreDeleteMapExists-16 1000000000 3.183 ns/op 0 B/op 0 allocs/op PASS ok github.com/nats-io/nats-server/v2/server 2058.317s Done