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

nats-io / nats-server / 8762638871
83%

Build:
DEFAULT BRANCH: main
Ran 20 Apr 2024 05:27AM 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.209% (-0.05%) from 85.254%
8762638871

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>

65165 of 76477 relevant lines covered (85.21%)

770332.7 hits per line

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