> ROOT_DIR=/tmp/go-bench-away-job-67cf84b4-22fd-42dc-87d3-39ccde3e3931-3274478169 > OUTPUT_FILE=/tmp/go-bench-away-job-67cf84b4-22fd-42dc-87d3-39ccde3e3931-3274478169/results.txt > SHA_FILE=/tmp/go-bench-away-job-67cf84b4-22fd-42dc-87d3-39ccde3e3931-3274478169/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-67cf84b4-22fd-42dc-87d3-39ccde3e3931-3274478169/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-67cf84b4-22fd-42dc-87d3-39ccde3e3931-3274478169/source.git SHA of main: 526ed49ff7676caee6e9abb3ae333aac4dc33554 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-build2921099706=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-67cf84b4-22fd-42dc-87d3-39ccde3e3931-3274478169/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 314438826 11.52 ns/op Benchmark_FileStoreSelectMsgBlock-16 315689262 11.33 ns/op Benchmark_FileStoreSelectMsgBlock-16 317946697 11.37 ns/op Benchmark_FileStoreSelectMsgBlock-16 316966021 11.35 ns/op Benchmark_FileStoreSelectMsgBlock-16 318833334 11.36 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14363967 248.4 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14451387 248.9 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14248586 253.9 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14498551 251.4 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14012103 252.9 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14395635 255.8 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14290136 250.6 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14273688 255.9 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14135814 252.7 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14388739 255.2 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180019651 20.00 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180113854 20.04 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179674400 19.96 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179778212 20.00 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180147120 20.03 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65415000 54.29 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65750646 54.24 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65971076 58.39 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65878818 54.18 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65566760 54.18 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11256050 320.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11209674 318.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11214523 319.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11324587 319.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11217470 318.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10908405 328.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10897012 327.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10890870 330.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11036960 328.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10987984 329.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26588 135024 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26709 134734 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26764 135184 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26560 134593 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26642 134825 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 37670057 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 98 38344013 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 37455831 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 98 37145258 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 35881733 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3805266 922.9 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3797876 924.8 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3807818 953.8 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3773787 924.2 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3774716 916.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 662 5560323 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 639 5421811 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 816 4641977 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 825 5395847 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 776 5451493 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 108465 33436 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 111642 32136 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 112398 32892 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 104796 33820 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 112510 32529 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 119186 27128 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 131239 27383 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 128282 27473 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132364 28473 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132355 27803 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64548765 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64734761 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64894416 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64734601 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64583884 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 186234957 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 186627733 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 186896795 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185993888 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 187116219 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 152695565 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 152560775 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 151648123 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 152675019 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 152245548 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 125877664 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 126581108 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 127078281 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 127088865 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 126184848 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115123552 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 117088241 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115852750 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 116141222 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115806121 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 105407621 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 105669690 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 105534818 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 103973456 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 105712942 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 87836067 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 88775655 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 86166767 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 84885324 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 88615475 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 69845590 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 69893914 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 69923025 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 69858359 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 69856891 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 295 12198992 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 292 12310347 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 292 12281940 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 294 12222473 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 291 12307480 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2049.517s Done