> ROOT_DIR=/tmp/go-bench-away-job-980eefa3-0841-48c5-8bfb-70872c3dd249-2979293083 > OUTPUT_FILE=/tmp/go-bench-away-job-980eefa3-0841-48c5-8bfb-70872c3dd249-2979293083/results.txt > SHA_FILE=/tmp/go-bench-away-job-980eefa3-0841-48c5-8bfb-70872c3dd249-2979293083/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-980eefa3-0841-48c5-8bfb-70872c3dd249-2979293083/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-980eefa3-0841-48c5-8bfb-70872c3dd249-2979293083/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-build2882199574=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-980eefa3-0841-48c5-8bfb-70872c3dd249-2979293083/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) go: downloading golang.org/x/crypto v0.53.0 go: downloading golang.org/x/sys v0.46.0 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 317411575 11.38 ns/op Benchmark_FileStoreSelectMsgBlock-16 317276967 11.33 ns/op Benchmark_FileStoreSelectMsgBlock-16 317704171 11.51 ns/op Benchmark_FileStoreSelectMsgBlock-16 314135701 11.40 ns/op Benchmark_FileStoreSelectMsgBlock-16 316791187 11.48 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14439562 250.4 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14469310 248.2 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14294766 254.5 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14467855 249.0 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14248274 251.8 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14271015 252.5 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14323080 254.7 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14378414 254.0 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14415391 256.6 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14235304 254.3 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180110396 19.99 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179653029 19.98 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180295916 19.99 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179730327 19.96 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180411789 20.00 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 61357095 55.16 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65855578 54.22 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65997778 54.17 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65719692 54.18 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64612832 55.12 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11184523 318.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11324437 319.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11227274 319.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11326412 318.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11352735 318.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10977913 328.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10960984 326.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10913751 328.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11006724 329.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10705684 327.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26719 134821 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26684 135205 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26698 135008 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26546 134980 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26696 135216 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 97 38084671 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 34324985 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 35148797 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 35451286 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 105 34827111 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3872157 926.1 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3859776 923.2 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3839486 925.6 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3821234 924.5 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3790603 947.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 645 5465571 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 775 5491369 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 805 5552754 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 774 5633171 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 828 5498468 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 113227 32016 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113608 32587 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 102648 32174 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 109678 32865 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 112592 33036 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 129336 29219 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132379 27391 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132792 28274 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 133514 27416 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132322 27361 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64854501 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64648556 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64725093 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64586575 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64776839 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 18 189044986 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 18 188948532 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 187583175 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 18 188642110 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 18 186859627 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 154281199 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 154893025 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 154498651 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 153562708 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 155322498 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 128556328 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 128951703 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 128626161 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 127885712 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 26 129100201 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 116989872 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 118207822 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 118451969 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 117040426 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115481574 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 104218895 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 106762970 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 106579909 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 104292502 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 104019868 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 38 87948244 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 85213710 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 85213206 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 88727503 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 86812398 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 69672198 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 69761815 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 70028792 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 69937290 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 51 69818523 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 295 12182661 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 295 12184820 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 294 12180484 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 296 12119413 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 292 12280723 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2067.123s Done