> ROOT_DIR=/tmp/go-bench-away-job-19923252-dd55-49a1-b5a9-556e1413bc35-3083402085 > OUTPUT_FILE=/tmp/go-bench-away-job-19923252-dd55-49a1-b5a9-556e1413bc35-3083402085/results.txt > SHA_FILE=/tmp/go-bench-away-job-19923252-dd55-49a1-b5a9-556e1413bc35-3083402085/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-19923252-dd55-49a1-b5a9-556e1413bc35-3083402085/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-19923252-dd55-49a1-b5a9-556e1413bc35-3083402085/source.git SHA of main: 2e5f51f314edf4251a32f7947010eb9aaf0aeb74 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-build2241592282=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-19923252-dd55-49a1-b5a9-556e1413bc35-3083402085/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 317866876 11.28 ns/op Benchmark_FileStoreSelectMsgBlock-16 318484777 11.28 ns/op Benchmark_FileStoreSelectMsgBlock-16 317637492 11.38 ns/op Benchmark_FileStoreSelectMsgBlock-16 318019816 11.30 ns/op Benchmark_FileStoreSelectMsgBlock-16 313656921 11.30 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14825845 248.5 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14381788 247.6 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14347248 252.2 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14623759 247.9 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14201323 252.1 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14551952 247.6 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14791321 253.5 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14209144 248.6 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14406102 246.7 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14414286 252.8 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 182951113 19.73 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 183010818 19.66 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 182472976 19.70 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 182619110 19.71 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 182844858 19.69 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65999032 53.95 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66112434 58.33 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64837077 53.97 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66070822 53.98 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 61164555 53.90 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11640162 310.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11524472 313.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11540187 311.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11586610 311.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11552812 311.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11404783 315.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11386920 315.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11287152 319.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11172718 316.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11249830 321.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26653 135204 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26676 134970 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26696 134777 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26542 134786 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26628 135243 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 34524479 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 98 35746806 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 97 36082719 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 98 35363847 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 33973031 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3802334 929.1 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3804550 923.8 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3814437 921.4 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3769532 928.5 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3814135 926.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 828 5479476 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 822 5475482 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 825 5521726 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 800 4336377 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 812 5356847 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 114414 32187 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113000 33300 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113230 32073 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 112602 32014 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 101700 32448 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 133873 27096 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132698 28199 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 129794 27118 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 133068 27381 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 131767 27870 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65364804 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65601107 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65281961 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65344831 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65138614 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 18 188442194 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 186858765 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 188387922 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 187294763 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 18 188619816 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 155719295 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 156232368 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 155403228 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 155672360 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 154944300 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 130756255 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 26 131417343 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 129750935 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 129777230 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 129272011 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 28 119919245 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 119263594 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 119319693 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 28 119742666 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 28 120113167 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 108337033 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 105715663 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 107592459 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 105795794 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 106500714 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 39 90258839 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 38 88336863 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 88934335 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 87539637 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 39 89067587 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69329357 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69336656 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69099504 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69203882 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69310367 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 300 12059595 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 298 12036564 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 300 12030730 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 297 12040199 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 300 11982969 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2010.896s Done