> ROOT_DIR=/tmp/go-bench-away-job-931a5b14-2c8b-4623-826d-ef6730c43cd3-2275860056 > OUTPUT_FILE=/tmp/go-bench-away-job-931a5b14-2c8b-4623-826d-ef6730c43cd3-2275860056/results.txt > SHA_FILE=/tmp/go-bench-away-job-931a5b14-2c8b-4623-826d-ef6730c43cd3-2275860056/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-931a5b14-2c8b-4623-826d-ef6730c43cd3-2275860056/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.25.4/bin/go > GIT=/usr/bin/git Cloning https://github.com/nats-io/nats-server.git ref: main to /tmp/go-bench-away-job-931a5b14-2c8b-4623-826d-ef6730c43cd3-2275860056/source.git SHA of main: 51fbade1ed5aa9cd026e6be57ad9b0c6272f6709 Go runtime: go version go1.26.0 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-build4233301457=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-931a5b14-2c8b-4623-826d-ef6730c43cd3-2275860056/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.25.4' GOSUMDB='sum.golang.org' GOTELEMETRY='local' GOTELEMETRYDIR='/home/gauge-gba/.config/go/telemetry' GOTMPDIR='' GOTOOLCHAIN='auto' GOTOOLDIR='/usr/local/go1.25.4/pkg/tool/linux_amd64' GOVCS='' GOVERSION='go1.26.0' 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 317413698 11.36 ns/op Benchmark_FileStoreSelectMsgBlock-16 315046129 11.39 ns/op Benchmark_FileStoreSelectMsgBlock-16 314732910 11.48 ns/op Benchmark_FileStoreSelectMsgBlock-16 308573600 11.37 ns/op Benchmark_FileStoreSelectMsgBlock-16 315753259 11.40 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14391663 249.7 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14341323 250.3 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14102461 254.3 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14373787 250.4 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14181704 254.4 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14881465 246.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14483601 246.8 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14715883 249.1 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14747149 242.7 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14641402 242.7 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177586107 20.46 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177654852 20.28 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177723308 20.28 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 175383824 20.24 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177563917 20.29 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64842702 55.37 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64628599 56.51 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64511853 55.40 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64506856 55.32 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64568551 55.32 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11436955 320.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11357971 316.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11305516 317.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11312448 316.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11236801 319.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11042781 327.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10954382 325.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10893897 330.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10993659 326.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10840125 328.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26568 134676 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26551 135521 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26602 135319 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26618 135596 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26524 135390 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 37605151 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 97 37312418 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 94 36529237 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 35530273 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 35938837 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3771603 933.9 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3776112 940.3 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3777774 933.9 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3766348 933.0 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3775266 939.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 799 4566949 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 786 5507298 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 639 5281933 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 624 5300652 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 813 5418980 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 106744 32790 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 114740 31796 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113536 31364 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 107178 32398 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113479 31863 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 135628 26603 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 135051 26612 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 121227 27139 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 134674 27240 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 134128 27338 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64746425 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64321995 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64463667 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64431502 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64408752 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184525619 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 181456829 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 183028290 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 182231126 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 181614731 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 148593062 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 148216098 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150346469 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 148075716 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 147557786 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 122446582 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 124441241 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 122359799 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 123576120 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 122243970 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 113712127 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 112229616 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 112101460 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 33 112213931 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 112595813 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 102776625 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 103295419 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 99627994 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 101972609 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 99818709 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 85176913 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 86687063 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 83649458 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 44 83621394 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 83608480 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 55 65261288 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 55 65470765 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 55 65548581 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 55 65539887 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 55 65345376 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 304 11808700 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 307 11680566 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 308 11654089 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 308 11661358 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 308 11641994 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2081.011s Done