> ROOT_DIR=/tmp/go-bench-away-job-a762aedc-bfe1-4a67-b2ab-e0c38a870f71-3406519165 > OUTPUT_FILE=/tmp/go-bench-away-job-a762aedc-bfe1-4a67-b2ab-e0c38a870f71-3406519165/results.txt > SHA_FILE=/tmp/go-bench-away-job-a762aedc-bfe1-4a67-b2ab-e0c38a870f71-3406519165/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-a762aedc-bfe1-4a67-b2ab-e0c38a870f71-3406519165/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-a762aedc-bfe1-4a67-b2ab-e0c38a870f71-3406519165/source.git SHA of main: 0a6cc9e061a63b36628afb1744bdefab176f25f5 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-build120402627=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-a762aedc-bfe1-4a67-b2ab-e0c38a870f71-3406519165/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 317286549 12.11 ns/op Benchmark_FileStoreSelectMsgBlock-16 317630839 11.35 ns/op Benchmark_FileStoreSelectMsgBlock-16 316887838 11.86 ns/op Benchmark_FileStoreSelectMsgBlock-16 316889229 11.41 ns/op Benchmark_FileStoreSelectMsgBlock-16 311064100 12.05 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14429682 252.4 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14358176 250.0 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14129970 255.7 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14320614 251.1 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 13957404 254.7 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14564138 244.1 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14542786 244.4 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14291078 248.8 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14963106 241.0 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14855238 248.9 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 175813340 19.93 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180965311 19.75 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 181363897 19.88 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 180391777 19.88 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 181017711 19.90 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66146638 54.63 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 64958508 53.88 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66074042 54.98 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66032548 54.95 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 66354472 55.37 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11594336 324.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 10940929 328.8 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11039733 321.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11554690 328.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11302339 328.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11376148 312.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11491269 313.6 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11432449 315.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11498802 313.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11433135 316.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26440 135810 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26548 136061 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26478 136023 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26502 135915 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26482 136156 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 37646289 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 37109409 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 37306532 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 36024198 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 102 35315812 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3790976 925.4 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3825271 927.7 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3761738 931.4 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3776349 937.8 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3742556 936.7 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 792 4399152 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 794 5568631 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 631 5392937 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 631 5353196 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 795 4331810 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 110577 32594 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 102262 32493 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 97099 32289 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 110415 32859 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 94927 33210 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 129123 28298 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 131443 27655 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 113452 28027 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 125623 29069 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 130454 27352 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65539138 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65596111 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65405104 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65665111 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65475723 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 183221575 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 182561127 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 182071275 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 183294703 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 182888360 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150165949 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150297597 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 150032746 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 149639230 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 149726258 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 124058090 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 123773591 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 123737772 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 123865417 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 124255900 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 114426114 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 114478955 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 114256076 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 114719299 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 114586505 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 105029000 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 101885260 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 33 102433650 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 101061347 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 34 100942297 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 83697323 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 85695821 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 83840747 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 84018255 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 84156055 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68471792 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68617233 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68601914 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68700724 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 52 68733138 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 300 12043578 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 298 12053386 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 297 12112574 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 300 11972077 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 300 12001372 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2081.325s Done