> ROOT_DIR=/tmp/go-bench-away-job-652cf55b-4a0e-47fe-bc83-06464c7e17d1-1066929547 > OUTPUT_FILE=/tmp/go-bench-away-job-652cf55b-4a0e-47fe-bc83-06464c7e17d1-1066929547/results.txt > SHA_FILE=/tmp/go-bench-away-job-652cf55b-4a0e-47fe-bc83-06464c7e17d1-1066929547/sha.txt > GO_VERSION_FILE=/tmp/go-bench-away-job-652cf55b-4a0e-47fe-bc83-06464c7e17d1-1066929547/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-652cf55b-4a0e-47fe-bc83-06464c7e17d1-1066929547/source.git SHA of main: 5e1a72a6c75eb19b081ac7d54c5680d24eaf01e5 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-build3796202178=/tmp/go-build -gno-record-gcc-switches' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMOD='/tmp/go-bench-away-job-652cf55b-4a0e-47fe-bc83-06464c7e17d1-1066929547/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) go: downloading github.com/nats-io/jwt/v2 v2.8.1 go: downloading github.com/antithesishq/antithesis-sdk-go v0.7.0-default-no-op go: downloading golang.org/x/crypto v0.49.0 go: downloading github.com/klauspost/compress v1.18.5 go: downloading github.com/nats-io/nats.go v1.50.0 go: downloading golang.org/x/time v0.15.0 go: downloading github.com/minio/highwayhash v1.0.4 go: downloading golang.org/x/sys v0.42.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 318613200 11.30 ns/op Benchmark_FileStoreSelectMsgBlock-16 318149251 11.33 ns/op Benchmark_FileStoreSelectMsgBlock-16 318896848 11.32 ns/op Benchmark_FileStoreSelectMsgBlock-16 311431024 11.29 ns/op Benchmark_FileStoreSelectMsgBlock-16 318750470 11.32 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14487268 249.1 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14588766 248.6 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14370181 252.0 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14564836 249.3 ns/op Benchmark_FileStoreLoadNextMsgSameFilterAsStream-16 14257136 252.1 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14483316 248.8 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14320747 247.3 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14149352 251.2 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14326836 254.7 ns/op Benchmark_FileStoreLoadNextMsgLiteralSubject-16 14374501 256.4 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 174133921 20.57 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 173924349 20.56 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 174744596 20.57 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 173836388 20.68 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq-16 174275268 20.73 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 61832612 58.05 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 61245792 58.68 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 59043363 58.13 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 60800113 58.14 ns/op Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq-16 60591106 58.41 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11507311 308.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11646411 313.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11630311 309.9 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11658825 310.3 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq-16 11521987 309.5 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11018348 323.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11191483 322.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11004866 327.1 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 11092390 327.2 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq-16 10966995 329.4 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26532 135356 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26584 136411 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26533 135787 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26544 135817 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween-16 26494 136315 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 100 38246059 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 97 38372037 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 99 36714685 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 84 35743080 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard-16 103 35486007 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3703630 965.7 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3690685 967.6 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3681868 968.2 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3731394 958.1 ns/op Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock-16 3686174 958.0 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 804 5517049 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 777 5409124 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 792 5480619 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 795 4421437 ns/op Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail-16 804 4311929 ns/op Benchmark_FileStoreCreateConsumerStores Benchmark_FileStoreCreateConsumerStores/true Benchmark_FileStoreCreateConsumerStores/true-16 110202 31855 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 114524 32027 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 114472 31866 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 105172 31722 ns/op Benchmark_FileStoreCreateConsumerStores/true-16 103192 33096 ns/op Benchmark_FileStoreCreateConsumerStores/false Benchmark_FileStoreCreateConsumerStores/false-16 134852 26962 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 133992 27457 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 120764 27427 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 116539 27494 ns/op Benchmark_FileStoreCreateConsumerStores/false-16 132054 27658 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 55 65602655 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65193252 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65184301 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65165152 ns/op Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf-16 54 65118317 ns/op Benchmark_FileStoreSyncDeletedFullBlocks Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 178545426 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 177708625 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 20 177977087 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 19 177760398 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-32-16 20 178580632 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 146076455 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 145352891 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 145491845 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 145563032 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-64-16 24 145233756 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 120412893 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 28 121398237 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 120624939 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 120023306 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-128-16 30 119767444 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 31 111572640 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 110689272 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 110921528 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 111129437 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-256-16 32 110685176 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 100746990 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 98124187 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 37 98613610 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 99760563 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-512-16 36 98171807 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024 Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 43 83693868 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 42 83357582 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 45 80938295 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 44 81339335 ns/op Benchmark_FileStoreSyncDeletedFullBlocks/MsgSize-1024-16 44 79191794 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 55 65994076 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 55 65961792 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 55 66055189 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 55 65892769 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-16-16 56 65993464 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512 Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 314 11449742 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 312 11496911 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 309 11622732 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 313 11454037 ns/op Benchmark_FileStoreSyncDeletedPartialBlocks/MsgSize-512-16 313 11483638 ns/op PASS ok github.com/nats-io/nats-server/v2/server 2140.435s Done