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

nats-io / nats-server / 7429495212
83%

Build:
DEFAULT BRANCH: main
Ran 06 Jan 2024 05:17AM UTC
Jobs 1
Files 53
Run time 5s
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.155% (+0.06%) from 85.099%
7429495212

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>

62298 of 73158 relevant lines covered (85.16%)

183625.9 hits per line

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