> ROOT_DIR=/tmp/go-bench-away-job-3867e23d-5720-4199-a6c5-a490ab4ef7a4-194002130 > OUTPUT_FILE=/tmp/go-bench-away-job-3867e23d-5720-4199-a6c5-a490ab4ef7a4-194002130/results.txt > SHA_FILE=/tmp/go-bench-away-job-3867e23d-5720-4199-a6c5-a490ab4ef7a4-194002130/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-3867e23d-5720-4199-a6c5-a490ab4ef7a4-194002130/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.25.4/bin/go > GIT=/usr/bin/git Cloning https://github.com/nats-io/nats-server.git ref: main to /tmp/go-bench-away-job-3867e23d-5720-4199-a6c5-a490ab4ef7a4-194002130/source.git SHA of main: c3e0b35d48e095940af9da7331365d273c973de7 Go runtime: go version go1.26.0 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-build2008883754=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-3867e23d-5720-4199-a6c5-a490ab4ef7a4-194002130/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.25.4' GOSUMDB='sum.golang.org' GOTELEMETRY='local' GOTELEMETRYDIR='/home/gauge-gba/.config/go/telemetry' GOTMPDIR='' GOTOOLCHAIN='auto' GOTOOLDIR='/usr/local/go1.25.4/pkg/tool/linux_amd64' GOVCS='' GOVERSION='go1.26.0' 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 317361948 11.36 ns/op Benchmark_FileStoreSelectMsgBlock-16 316551884 11.34 ns/op Benchmark_FileStoreSelectMsgBlock-16 318377995 11.36 ns/op Benchmark_FileStoreSelectMsgBlock-16 316876622 11.34 ns/op Benchmark_FileStoreSelectMsgBlock-16 316951968 11.37 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14195350 253.9 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14287393 253.9 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14073690 256.7 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14327982 253.8 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 13997368 256.6 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14021533 257.6 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14093344 256.1 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14143496 253.0 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14324037 253.8 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 13878290 256.3 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179630373 20.11 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 178866918 20.05 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179152180 20.44 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 179229850 20.11 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 178810300 20.11 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65533173 54.01 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66165296 54.01 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65823828 58.02 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 65896059 54.03 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66025929 54.94 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11165364 322.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11148370 323.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11126535 323.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11047072 322.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11100991 324.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10890932 332.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10876903 331.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10815836 334.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10893504 335.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10749357 333.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26382 135173 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26408 135703 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26505 135967 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26473 135752 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26510 135326 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 81 37280957 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 96 35744605 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 97 35906538 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 35925434 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 35175540 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3563881 973.3 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3609774 978.8 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3622485 982.5 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3645889 984.2 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3642696 989.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 801 4332879 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 784 5591089 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 770 5568103 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 804 4577139 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 745 4471455 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 112965 32517 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 113545 32152 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 99511 33031 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 112382 31724 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 109587 31564 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 122271 28106 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 131509 26851 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132112 26952 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 114024 27834 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 121915 27455 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64675023 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64652927 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64464372 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64582073 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 64783975 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185648146 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 184626481 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185047887 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185379896 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 185077707 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150362465 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150326446 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150680220 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150565501 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 152127404 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 124889283 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 125587794 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 126201357 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 124545218 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 123892367 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 113049476 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 114077411 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 112940584 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 113916509 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 113905456 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 37 101274450 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 101135728 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 100115596 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 103887060 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 100593169 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 86131082 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 87495635 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 40 86194866 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 44 83241469 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 83623038 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 64214139 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 64207623 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 64074179 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 64291405 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 57 64194994 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 306 11744352 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 309 11584379 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 308 11637395 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 306 11700785 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 312 11519861 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2106.445s Done