> ROOT_DIR=/tmp/go-bench-away-job-92a9318d-0e85-490e-8d9a-58b1df9bdb2b-3801282615 > OUTPUT_FILE=/tmp/go-bench-away-job-92a9318d-0e85-490e-8d9a-58b1df9bdb2b-3801282615/results.txt > SHA_FILE=/tmp/go-bench-away-job-92a9318d-0e85-490e-8d9a-58b1df9bdb2b-3801282615/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-92a9318d-0e85-490e-8d9a-58b1df9bdb2b-3801282615/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-92a9318d-0e85-490e-8d9a-58b1df9bdb2b-3801282615/source.git SHA of main: db0a2c8ce3241df7dbc6cd730b989cfa05677068 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-build2897429765=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-92a9318d-0e85-490e-8d9a-58b1df9bdb2b-3801282615/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 317870502 11.33 ns/op Benchmark_FileStoreSelectMsgBlock-16 317776710 11.31 ns/op Benchmark_FileStoreSelectMsgBlock-16 318111589 11.31 ns/op Benchmark_FileStoreSelectMsgBlock-16 318068422 11.31 ns/op Benchmark_FileStoreSelectMsgBlock-16 317950420 11.30 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14021554 254.0 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14152279 253.1 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 13843614 258.3 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14156217 253.8 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 13831634 258.1 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14581052 254.7 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14350744 254.6 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14720415 251.8 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14141776 249.6 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14270121 249.7 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177162678 20.29 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 178070738 20.23 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 176236048 20.32 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177654402 20.27 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 177924057 20.25 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65694999 54.20 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 61978263 54.24 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66034315 54.26 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65849906 54.22 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64671964 55.11 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11562141 312.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11452162 310.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11354236 312.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11602262 311.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11493294 314.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10100302 359.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9934876 343.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 9935996 366.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10236048 351.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10160607 353.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26415 135964 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26414 136695 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26395 136039 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26316 135805 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26324 136358 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 34238781 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 34174375 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 35059878 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 35635959 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 34740900 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3836656 930.1 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3871008 924.5 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3816716 922.5 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3811894 921.3 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3831955 921.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 933 3596306 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 942 3825100 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 1074 3571944 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 1114 3143041 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 1080 3589488 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 105200 31902 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 107259 32485 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 110683 33934 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 112038 33728 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 111082 33025 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 112226 28089 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 130633 28006 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 131136 27608 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 131257 27459 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 130722 27271 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 66965979 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 66882545 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 66792853 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 66813915 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 52 66762178 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 183451646 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184073391 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 183454146 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 183275884 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 183075823 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 150715117 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150064766 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 147651497 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150433055 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 150776644 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 125335371 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 124706471 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 125388849 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 124945760 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 124778305 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115050148 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 114250040 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115415165 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 114889235 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 115112909 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 103052309 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 102007600 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 104100025 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 103522049 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 101448978 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 84017912 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 82955045 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 84809698 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 44 86088818 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 44 83116609 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 54 67723857 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 54 67690467 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 54 67768649 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 54 67594381 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 54 67694926 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 294 12236513 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 295 12183082 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 294 12256151 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 294 12232910 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 292 12272888 ns/op Benchmark_FileStoreDeleteMap Benchmark_FileStoreDeleteMap-16 82874 40228 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMap-16 82268 40300 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMap-16 80516 40062 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMap-16 82897 40326 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMap-16 83344 40096 ns/op 179904 B/op 1015 allocs/op Benchmark_FileStoreDeleteMapExists Benchmark_FileStoreDeleteMapExists-16 1000000000 3.189 ns/op 0 B/op 0 allocs/op Benchmark_FileStoreDeleteMapExists-16 1000000000 3.180 ns/op 0 B/op 0 allocs/op Benchmark_FileStoreDeleteMapExists-16 1000000000 3.188 ns/op 0 B/op 0 allocs/op Benchmark_FileStoreDeleteMapExists-16 1000000000 3.116 ns/op 0 B/op 0 allocs/op Benchmark_FileStoreDeleteMapExists-16 1000000000 3.195 ns/op 0 B/op 0 allocs/op PASS ok github.com/nats-io/nats-server/v2/server 2061.295s Done