> ROOT_DIR=/tmp/go-bench-away-job-06bc0692-5804-44e9-9f9a-b32ca592de9f-2549784400 > OUTPUT_FILE=/tmp/go-bench-away-job-06bc0692-5804-44e9-9f9a-b32ca592de9f-2549784400/results.txt > SHA_FILE=/tmp/go-bench-away-job-06bc0692-5804-44e9-9f9a-b32ca592de9f-2549784400/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-06bc0692-5804-44e9-9f9a-b32ca592de9f-2549784400/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-06bc0692-5804-44e9-9f9a-b32ca592de9f-2549784400/source.git SHA of main: 7224db190d9069aba48ccbe6ad062388402a5911 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-build1260768211=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-06bc0692-5804-44e9-9f9a-b32ca592de9f-2549784400/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 317926894 11.30 ns/op Benchmark_FileStoreSelectMsgBlock-16 318337358 11.34 ns/op Benchmark_FileStoreSelectMsgBlock-16 317285952 11.35 ns/op Benchmark_FileStoreSelectMsgBlock-16 319165581 11.30 ns/op Benchmark_FileStoreSelectMsgBlock-16 317408418 11.38 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14476710 242.7 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14405295 249.0 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14285695 253.0 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14559333 248.7 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14179310 253.3 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14820855 243.3 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14555263 246.9 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14641723 245.8 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14491153 245.9 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14216821 246.8 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 176409688 20.43 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 181065078 19.87 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 181497652 19.90 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 181286016 20.44 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 181865574 19.86 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66277413 53.73 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66044734 53.74 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66060718 53.99 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66285822 53.71 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 61416280 53.72 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11651078 306.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11738732 306.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11694238 310.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11768038 306.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11712625 307.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11331346 317.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11364078 315.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11353688 321.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11338458 315.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11355288 317.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26479 135728 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26538 135782 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26400 136200 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26496 135773 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26512 136114 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 35213393 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 34121416 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 34607758 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 104 35509413 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 35349346 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3703663 964.7 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3663562 966.6 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3647925 958.0 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3748862 960.2 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3715897 961.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 825 5521245 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 766 5630257 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 812 5473830 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 648 5444026 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 793 5663124 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 107162 33327 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 107859 33147 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 106206 32335 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 101168 33736 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 111304 33864 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 128959 27993 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 127730 27199 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 133725 27165 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 129536 27525 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 115963 27331 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64987720 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65083653 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65058339 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64966101 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65077069 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 180767506 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 20 181594823 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 180100074 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 180914297 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 180441734 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 146956750 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 145950075 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 25 147688628 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 148483823 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 25 145784334 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 121890533 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 121938438 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 122330482 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 121172020 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 121283238 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 112422970 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 112677174 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 110767758 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 113175046 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 112758298 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 37 100946143 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 100152910 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 37 100840476 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 37 99181126 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 99597533 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 44 83874490 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 82590997 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 39 88651466 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 85013631 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 85153523 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 55 65593843 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 55 65447906 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 55 65374786 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 65402264 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 55 65642617 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 309 11592786 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 308 11654011 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 310 11560548 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 310 11583649 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 312 11548483 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2103.830s Done