> ROOT_DIR=/tmp/go-bench-away-job-b89776b8-f217-42f9-96cd-1d50c57e0811-1484598899 > OUTPUT_FILE=/tmp/go-bench-away-job-b89776b8-f217-42f9-96cd-1d50c57e0811-1484598899/results.txt > SHA_FILE=/tmp/go-bench-away-job-b89776b8-f217-42f9-96cd-1d50c57e0811-1484598899/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-b89776b8-f217-42f9-96cd-1d50c57e0811-1484598899/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-b89776b8-f217-42f9-96cd-1d50c57e0811-1484598899/source.git SHA of main: bd058fac3d0c04398698b113e986b35065212fda 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-build1983105399=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-b89776b8-f217-42f9-96cd-1d50c57e0811-1484598899/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 317824730 11.41 ns/op Benchmark_FileStoreSelectMsgBlock-16 318287157 11.32 ns/op Benchmark_FileStoreSelectMsgBlock-16 317343952 11.33 ns/op Benchmark_FileStoreSelectMsgBlock-16 316494992 11.32 ns/op Benchmark_FileStoreSelectMsgBlock-16 316662117 11.33 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14264068 252.7 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 13847521 252.6 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14016032 256.4 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14315846 253.0 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 13912274 256.4 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14551812 253.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14490198 251.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14429432 252.7 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14487682 247.4 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14606329 251.9 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 181033596 19.82 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 181387620 19.81 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 181222357 19.85 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 181365711 19.85 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 181450204 19.82 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65897992 53.93 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66193491 53.92 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64841881 53.94 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66153386 53.89 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66199014 53.89 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11656947 316.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11291989 312.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11501406 312.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11471391 314.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11518576 315.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11329742 315.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11268656 315.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11115823 318.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11372956 315.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11269564 318.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26299 136481 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26372 136234 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26355 136530 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26366 136756 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26382 136470 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 37947059 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 94 35924236 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 35207280 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 36316518 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 35122716 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3791126 928.3 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3838479 919.4 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3790520 919.6 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3799981 925.7 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3858201 916.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 802 5745709 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 649 5353892 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 823 5496090 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 799 5497182 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 792 4389747 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 110421 32597 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 107836 31982 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 102255 32607 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 109927 32280 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 110487 32479 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 123902 26988 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 131727 27335 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 120694 27462 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 129741 27412 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 121465 27055 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65716221 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65409121 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65656876 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65450218 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65541308 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185471590 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184432089 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184548463 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 186400863 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 186836115 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151939332 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 152024950 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151861848 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 150497529 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151920876 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 126092772 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 124954734 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 126108052 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 126126849 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 125740485 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 115021521 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115021290 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 113627420 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 114925697 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 116797894 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 103741736 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 100740536 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 104416131 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 101660623 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 103147644 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 86841177 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 84167572 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 84531273 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 86975454 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 88005891 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69030568 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69022549 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69162691 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69123319 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 50 69131689 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 298 12039148 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 297 12076923 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 297 12063716 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 297 12078785 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 294 12232669 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2041.979s Done