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

nats-io / nats-server / 11190495392
83%

Build:
DEFAULT BRANCH: main
Ran 05 Oct 2024 05:38AM UTC
Jobs 1
Files 57
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

04 Oct 2024 04:21PM UTC coverage: 85.394% (+0.2%) from 85.234%
11190495392

push

github

web-flow
Reduce cost of json Unmarshal operations (#5956)

Until now, in JS API we were checking if request payload is empty.
That check was unmarshaling that payload before we did second unmarshal
for the destination type.
This commit adds separate check to avoid double unmarshaling.

This PR does not change `isEmptyRequest` implementation, as its a less
strict check.

Signed-off-by: Tomasz Pietrek <tomasz@nats.io>

---------

Signed-off-by: Tomasz Pietrek <tomasz@nats.io>

67031 of 78496 relevant lines covered (85.39%)

1262470.89 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11190495392.1 05 Oct 2024 05:38AM UTC 0
85.39
GitHub Action Run
Source Files on build 11190495392
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #11190495392
  • 225cd3dd on github
  • Prev Build on main (#11174118948)
  • Next Build on main (#11199013436)
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