> ROOT_DIR=/tmp/go-bench-away-job-0663559d-75dd-4065-aee3-9b75f2273d16-1867748025 > OUTPUT_FILE=/tmp/go-bench-away-job-0663559d-75dd-4065-aee3-9b75f2273d16-1867748025/results.txt > SHA_FILE=/tmp/go-bench-away-job-0663559d-75dd-4065-aee3-9b75f2273d16-1867748025/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-0663559d-75dd-4065-aee3-9b75f2273d16-1867748025/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-0663559d-75dd-4065-aee3-9b75f2273d16-1867748025/source.git SHA of main: 2e5f51f314edf4251a32f7947010eb9aaf0aeb74 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-build323976997=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-0663559d-75dd-4065-aee3-9b75f2273d16-1867748025/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 318140536 11.35 ns/op Benchmark_FileStoreSelectMsgBlock-16 313477323 11.94 ns/op Benchmark_FileStoreSelectMsgBlock-16 316486477 11.49 ns/op Benchmark_FileStoreSelectMsgBlock-16 318218035 11.38 ns/op Benchmark_FileStoreSelectMsgBlock-16 316365171 11.31 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14511093 248.7 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14492976 248.5 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14396337 252.5 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14582374 248.2 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14354042 252.8 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14513770 246.5 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14462754 250.3 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14520304 247.6 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14314072 248.7 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14571286 250.6 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 183485102 19.73 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 183152473 19.67 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 182926466 19.71 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 183250572 19.68 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 182799915 19.71 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64829394 53.84 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66114280 53.95 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65860520 54.00 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66263074 53.83 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65961945 53.96 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11614938 310.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11505253 310.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11472956 312.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11563682 310.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11316453 312.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11408755 315.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11400913 317.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11259205 318.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11295565 317.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11331412 318.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26476 135037 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26665 135103 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26604 135331 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26599 134913 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26558 134795 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 38121802 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 97 36129389 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 97 36085537 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 35908411 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 34149924 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3833804 923.1 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3845522 923.8 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3791768 953.8 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3814022 928.0 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3812362 929.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 805 5497831 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 813 5456770 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 789 5642343 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 804 5481372 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 825 4375608 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 113018 32808 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 112215 32656 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 109480 33077 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 105470 32189 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 112072 32380 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 119106 27416 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 129840 27787 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 129472 27248 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132247 28462 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132028 28238 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65557629 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65070684 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65347131 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65192222 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 64924039 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185049691 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185868816 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185504369 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 186568828 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185317897 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 152460078 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 151481200 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 152493904 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 151972240 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 22 151567053 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 126034484 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 126510398 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 126559067 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 126612976 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 27 127777625 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 115738519 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 116360750 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 115600996 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 30 116596964 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 115261178 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 103774530 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 103137889 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 102876839 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 103929446 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 103163950 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 84070427 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 85283709 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 86031413 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 84448790 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 85022371 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69212641 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69234702 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69199202 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69354712 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 69333561 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 297 12096939 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 297 12040440 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 296 12123561 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 298 12032395 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 298 12051142 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2026.391s Done