> ROOT_DIR=/tmp/go-bench-away-job-a3e1e651-1a8e-496e-b3ac-ed8fc88a9541-1812398692 > OUTPUT_FILE=/tmp/go-bench-away-job-a3e1e651-1a8e-496e-b3ac-ed8fc88a9541-1812398692/results.txt > SHA_FILE=/tmp/go-bench-away-job-a3e1e651-1a8e-496e-b3ac-ed8fc88a9541-1812398692/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-a3e1e651-1a8e-496e-b3ac-ed8fc88a9541-1812398692/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-a3e1e651-1a8e-496e-b3ac-ed8fc88a9541-1812398692/source.git SHA of main: b7aeab5cbada5fd2d9ffd8fbaab44faa172e400f 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-build2162284997=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-a3e1e651-1a8e-496e-b3ac-ed8fc88a9541-1812398692/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 316999976 11.28 ns/op Benchmark_FileStoreSelectMsgBlock-16 316039005 11.32 ns/op Benchmark_FileStoreSelectMsgBlock-16 317336901 11.31 ns/op Benchmark_FileStoreSelectMsgBlock-16 318692844 11.33 ns/op Benchmark_FileStoreSelectMsgBlock-16 317248394 11.29 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14404794 248.5 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14563624 249.0 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14323494 252.7 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14483401 249.0 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14284476 253.6 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14793820 247.6 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14785842 245.7 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14395521 247.1 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14913120 247.7 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14638446 246.6 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179857221 20.16 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179869713 20.01 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180004743 20.04 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179511374 20.03 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179736253 19.97 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65905458 55.10 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65492646 54.19 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65815417 55.42 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65892183 55.07 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65980106 54.40 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 10453664 352.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 10481404 322.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 9989160 355.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 10225628 342.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 10670211 352.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9933436 363.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9836554 367.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9749347 356.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9766257 366.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10102546 359.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26650 135330 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26677 135502 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26486 135152 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26658 134801 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26612 135493 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 38432048 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 38147481 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 97 38466240 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 96 36129906 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 97 36726779 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3734764 939.3 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3796896 939.1 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3688930 939.5 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3766084 937.0 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3773271 941.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 801 5747933 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 643 5303682 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 640 5465918 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 781 5560803 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 766 5456468 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 101419 32152 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 112621 32784 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 100542 32955 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 108115 32620 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 99687 32525 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 133368 28524 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 133724 28470 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 134000 27377 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132735 27154 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132682 27567 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 66029240 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 66472322 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 66176932 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 66165545 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65910777 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185727636 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184214074 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184267905 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184887804 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 186064916 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151125090 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 152142049 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151537128 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150534386 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151301083 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 124956999 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 125738262 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 124645250 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 124874684 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 124698885 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 114920531 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 114021548 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 116094085 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 116036526 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 114988194 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 103113966 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 102637931 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 105164104 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 102074504 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 103359055 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 84305257 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 84513031 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 86794632 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 38 85022005 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 84415665 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 69976490 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 70014750 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69867417 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 49 70055280 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 69998856 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 297 12108405 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 295 12158168 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 295 12176377 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 292 12271638 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 292 12230352 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2104.400s Done