> ROOT_DIR=/tmp/go-bench-away-job-9a37bc91-31ae-46bb-9f5e-cc2bb28d3abe-528821308 > OUTPUT_FILE=/tmp/go-bench-away-job-9a37bc91-31ae-46bb-9f5e-cc2bb28d3abe-528821308/results.txt > SHA_FILE=/tmp/go-bench-away-job-9a37bc91-31ae-46bb-9f5e-cc2bb28d3abe-528821308/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-9a37bc91-31ae-46bb-9f5e-cc2bb28d3abe-528821308/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-9a37bc91-31ae-46bb-9f5e-cc2bb28d3abe-528821308/source.git SHA of main: 26b1e7ad9b90049ae8ad302f67486a18ff731044 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-build682598854=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-9a37bc91-31ae-46bb-9f5e-cc2bb28d3abe-528821308/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 317799700 11.45 ns/op Benchmark_FileStoreSelectMsgBlock-16 317149862 11.37 ns/op Benchmark_FileStoreSelectMsgBlock-16 311521207 11.32 ns/op Benchmark_FileStoreSelectMsgBlock-16 317839256 11.36 ns/op Benchmark_FileStoreSelectMsgBlock-16 316143476 11.33 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14212812 251.5 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14165209 249.6 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14110190 253.9 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14242780 251.1 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14125144 254.3 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14024889 250.4 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14211687 254.4 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14329350 256.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14208267 254.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14277282 253.9 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179280094 20.10 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 178886727 20.12 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179203950 20.14 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 178606824 20.52 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 178961596 20.16 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65666280 54.24 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65744438 54.20 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65617882 55.63 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66025198 54.21 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65764982 54.12 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11353450 315.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11290957 315.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11338507 316.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11301565 316.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11292201 316.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11054798 326.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11030755 330.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11014096 327.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11092938 326.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11006629 327.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26504 135103 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26476 135640 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26595 135512 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26611 134982 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26580 135683 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 34252080 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 37554199 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 94 36749050 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 35532299 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 36351819 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3785826 928.2 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3816656 918.5 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3842049 931.2 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3872365 914.7 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3837584 939.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 643 5502085 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 835 5581153 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 823 5527911 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 796 5379249 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 796 4600125 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 112056 32114 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 112804 31710 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 112527 32337 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 110560 33110 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 108243 32341 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 129576 27538 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 131216 28485 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132085 27537 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132745 27594 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 125919 27593 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64847592 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64610300 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64757452 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64758579 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65013488 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 18 186049949 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 187166168 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 186293334 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 186132144 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 187080328 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151240850 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 153115750 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 153203935 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 152797670 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 152560248 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 127418671 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 126435921 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 127092178 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 126516309 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 125276431 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 115795658 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 116410689 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 116854130 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 116255874 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115631560 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 105175583 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 106054173 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 103020592 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 104430463 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 102336883 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 39 86496050 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 85714100 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 89418121 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 88686297 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 86866931 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69614298 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 69777621 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 50 69625645 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 49 69720125 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 69664058 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 296 12163150 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 295 12171319 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 294 12218976 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 295 12204342 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 296 12149026 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2041.113s Done