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

nats-io / nats-server / 7436091380
83%

Build:
DEFAULT BRANCH: main
Ran 07 Jan 2024 05:18AM UTC
Jobs 1
Files 53
Run time 6s
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

05 Jan 2024 06:53PM UTC coverage: 85.134% (+0.04%) from 85.099%
7436091380

push

github

web-flow
Optimise metalayer snapshots (#4925)

This PR optimises the marshalling of metalayer snapshots with a few
techniques:

* Simplifies the custom marshalers for a number of types that appear
often in the snapshotted config, as these were using reflection
unnecessarily
* Simplifies the custom unmarshallers for the same types, as these were
string-building more than necessary
* Attempts to reduce the number of reallocations that might happen in
`metaSnapshot()` by preallocating slices

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

62282 of 73158 relevant lines covered (85.13%)

181372.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7436091380.1 07 Jan 2024 05:18AM UTC 0
85.13
GitHub Action Run
Source Files on build 7436091380
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #7436091380
  • fb798142 on github
  • Prev Build on main (#7405604983)
  • Next Build on main (#7443278028)
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