> ROOT_DIR=/tmp/go-bench-away-job-db235f5a-863e-474d-b2db-f4d4887522b0-1820814870 > OUTPUT_FILE=/tmp/go-bench-away-job-db235f5a-863e-474d-b2db-f4d4887522b0-1820814870/results.txt > SHA_FILE=/tmp/go-bench-away-job-db235f5a-863e-474d-b2db-f4d4887522b0-1820814870/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-db235f5a-863e-474d-b2db-f4d4887522b0-1820814870/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-db235f5a-863e-474d-b2db-f4d4887522b0-1820814870/source.git SHA of main: 09c721a5326c66679f9597fae79f08740ef91455 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-build2177524977=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-db235f5a-863e-474d-b2db-f4d4887522b0-1820814870/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 318080281 11.35 ns/op Benchmark_FileStoreSelectMsgBlock-16 314059663 11.32 ns/op Benchmark_FileStoreSelectMsgBlock-16 316115620 11.31 ns/op Benchmark_FileStoreSelectMsgBlock-16 299318821 11.33 ns/op Benchmark_FileStoreSelectMsgBlock-16 316718884 11.32 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14481062 251.7 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14464802 247.9 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14349346 252.8 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14469404 248.4 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14286668 255.5 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14406516 250.5 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14404488 251.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14439319 251.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14693204 247.8 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14750154 248.6 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 182160204 19.78 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 181553544 19.75 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 181258047 19.76 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 182024268 19.70 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 182016703 19.73 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65800615 54.14 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 63561853 58.15 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65972402 54.09 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65459727 54.18 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65864293 54.10 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11343877 319.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11347448 319.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11464797 324.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11035885 316.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11011110 320.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11287021 321.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11291314 317.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11260443 319.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11096871 319.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11154178 319.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26506 135851 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26636 135439 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26576 135618 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26564 135276 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26533 135323 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 34370014 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 35729933 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 94 35941009 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 36856180 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 98 37402892 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3971269 909.8 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3946207 894.9 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3898659 919.8 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3923889 909.6 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3876850 917.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 796 5568252 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 840 5578790 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 636 5341346 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 637 5550664 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 792 5549654 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 106087 32789 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 110187 32287 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 109894 33413 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 100137 32787 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 107946 32418 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 115804 28574 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 131166 28120 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 128228 27177 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 126440 28350 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 129888 27264 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 68685641 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 51 68152831 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 51 68034886 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 51 68122122 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 51 68257413 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185461199 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185688935 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185371969 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185356685 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185562542 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151945999 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151343891 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151861278 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 152559112 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 152261739 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 125246810 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 125939253 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 126848135 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 126182738 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 125653827 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115972064 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 114801760 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115850808 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 116163919 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 115051741 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 101914325 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 103457372 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 104667486 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 103827607 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 104182927 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 82602668 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 85921367 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 85233253 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 85433831 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 86959200 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68589243 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68708507 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68443374 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68605979 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68671442 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 297 12164122 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 295 12176631 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 298 12044858 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 302 11902733 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 300 11990930 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2047.846s Done