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

nats-io / nats-server / 8778610474
83%

Build:
DEFAULT BRANCH: main
Ran 22 Apr 2024 05:28AM UTC
Jobs 1
Files 55
Run time 1min
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

17 Apr 2024 04:54PM UTC coverage: 85.214% (-0.02%) from 85.235%
8778610474

push

github

web-flow
Reuse `SublistResult` for `LoadNextMsgMulti` (#5316)

This PR adds `(*Sublist).MatchInline(..., *SublistResult)` so that we
can reuse the same `SublistResult` multiple times when we know that
we're going to be matching multiple times in rapid succession. It's not
full pooling but helps out nicely.

On the `JetStreamConsumeWithFilters/.*` benchmark, this reduces the
number of `SublistResult` allocations in `LoadNextMsgMulti()` from 10GB
down to 4GB:

![Screenshot 2024-04-15 at 17 47
01](https://github.com/nats-io/nats-server/assets/310854/bc6ce24f-0395-40e5-8e5d-f73c5f996428)

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

65169 of 76477 relevant lines covered (85.21%)

758284.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8778610474.1 22 Apr 2024 05:28AM UTC 0
85.21
GitHub Action Run
Source Files on build 8778610474
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #8778610474
  • d8e888e0 on github
  • Prev Build on main (#8770184004)
  • Next Build on main (#8794933023)
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