> ROOT_DIR=/tmp/go-bench-away-job-9e220c56-ca94-43dd-821f-f490ddc2f3c4-177743109 > OUTPUT_FILE=/tmp/go-bench-away-job-9e220c56-ca94-43dd-821f-f490ddc2f3c4-177743109/results.txt > SHA_FILE=/tmp/go-bench-away-job-9e220c56-ca94-43dd-821f-f490ddc2f3c4-177743109/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-9e220c56-ca94-43dd-821f-f490ddc2f3c4-177743109/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-9e220c56-ca94-43dd-821f-f490ddc2f3c4-177743109/source.git SHA of main: d998ae7416defc42d7cbfc99c0d9b2ecea20a98f 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-build1098886836=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-9e220c56-ca94-43dd-821f-f490ddc2f3c4-177743109/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 317877889 11.34 ns/op Benchmark_FileStoreSelectMsgBlock-16 317202424 11.37 ns/op Benchmark_FileStoreSelectMsgBlock-16 318501793 11.34 ns/op Benchmark_FileStoreSelectMsgBlock-16 317397019 11.36 ns/op Benchmark_FileStoreSelectMsgBlock-16 318327285 11.31 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14238579 254.0 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14252066 251.3 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 13995765 258.7 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14360354 250.5 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 13721002 257.5 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 13461416 266.0 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 13888435 255.6 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 13941042 258.3 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 13115084 271.8 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 13619554 260.4 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 181165237 19.59 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 183978091 19.70 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 183825721 19.60 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 183487311 19.62 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 183713853 19.62 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64812298 53.83 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66234784 53.84 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66182960 53.88 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66171633 54.90 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66302358 53.89 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11301300 317.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11523908 321.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11129625 326.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11120050 322.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11016418 321.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10713217 317.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11330960 322.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11183983 331.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11534672 324.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10888148 325.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26360 136000 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26476 135503 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26340 135698 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26486 135531 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26456 136486 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 105 34713053 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 36352000 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 98 36122265 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 36036832 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 35814818 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3643653 974.9 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3644702 969.4 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3660439 987.0 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3686118 967.7 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3640064 973.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 1112 3558718 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 1143 3705906 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 1125 3584817 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 981 3641042 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 1124 3721159 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 110251 32034 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 105876 32110 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 110007 33069 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 110500 34308 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 111514 33384 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 131720 28091 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 121560 28634 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 130358 27710 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 129222 27588 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 131766 28120 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 67082476 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 67184006 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 67139486 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 67127899 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 66710160 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185775628 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184397981 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 186116560 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 183412458 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184277407 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 152403032 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151566112 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 151396482 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 152204516 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 152650050 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 126945786 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 126369097 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 126630776 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 126912126 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 125530074 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 117237288 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115044661 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 114535315 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 115230312 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 114806300 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 104118377 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 104599448 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 102626018 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 105031487 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 104605196 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 86778745 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 89517272 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 39 88872136 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 88052802 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 88267475 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68473147 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68281619 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68278027 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68688531 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68240422 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 290 12405844 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 291 12322132 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 291 12337725 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 290 12361394 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 294 12231427 ns/op Benchmark_FileStoreDeleteMap Benchmark_FileStoreDeleteMap-16 81379 39941 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMap-16 82347 40072 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMap-16 80533 39695 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMap-16 81992 39779 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMap-16 81294 39861 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMapExists Benchmark_FileStoreDeleteMapExists-16 1000000000 3.083 ns/op 0 B/op 0 allocs/op Benchmark_FileStoreDeleteMapExists-16 1000000000 3.077 ns/op 0 B/op 0 allocs/op Benchmark_FileStoreDeleteMapExists-16 1000000000 3.085 ns/op 0 B/op 0 allocs/op Benchmark_FileStoreDeleteMapExists-16 1000000000 3.085 ns/op 0 B/op 0 allocs/op Benchmark_FileStoreDeleteMapExists-16 1000000000 3.078 ns/op 0 B/op 0 allocs/op PASS ok github.com/nats-io/nats-server/v2/server 2121.413s Done