• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nats-io / nats-server / 15990149878
83%

Build:
DEFAULT BRANCH: main
Ran 01 Jul 2025 05:49AM UTC
Jobs 1
Files 58
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Jun 2025 01:25PM UTC coverage: 85.756% (-0.02%) from 85.772%
15990149878

push

github

web-flow
Optimise consumers with simple generic sublist, intersection in `NumPending` (#7022)

The generic sublist is cheaper in allocations than the regular sublist,
so switch consumer filtering to use those instead.

Also updates the `NumPendingMulti` to use intersection instead of
collecting all subs and then calling `Match`, as this further reduces
allocations and avoids misses on the sublist.

Signed-off-by: Neil Twigg <neil@nats.io>

70269 of 81941 relevant lines covered (85.76%)

369233.49 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
86.5
0.05% src/github.com/nats-io/nats-server/server/events.go
2
73.01
0.06% src/github.com/nats-io/nats-server/server/jetstream_api.go
2
82.98
0.13% src/github.com/nats-io/nats-server/server/jetstream.go
3
95.07
0.11% src/github.com/nats-io/nats-server/server/client.go
3
90.77
0.0% src/github.com/nats-io/nats-server/server/leafnode.go
4
93.69
-0.04% src/github.com/nats-io/nats-server/server/route.go
5
81.3
-0.04% src/github.com/nats-io/nats-server/server/opts.go
6
94.2
-0.24% src/github.com/nats-io/nats-server/server/gateway.go
26
76.04
0.0% src/github.com/nats-io/nats-server/server/store.go
27
85.4
-0.48% src/github.com/nats-io/nats-server/server/raft.go
32
85.31
-0.67% src/github.com/nats-io/nats-server/server/stream.go
107
85.79
-0.39% src/github.com/nats-io/nats-server/server/memstore.go
188
87.83
0.05% src/github.com/nats-io/nats-server/server/consumer.go
298
81.66
0.46% src/github.com/nats-io/nats-server/server/jetstream_cluster.go
872
84.19
-0.11% src/github.com/nats-io/nats-server/server/filestore.go
Jobs
ID Job ID Ran Files Coverage
1 15990149878.1 01 Jul 2025 05:49AM UTC 58
85.76
GitHub Action Run
Source Files on build 15990149878
  • Tree
  • List 58
  • Changed 17
  • Source Changed 5
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15990149878
  • 0e455656 on github
  • Prev Build on main (#15964131097)
  • Next Build on main (#16016340362)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc