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

pions / rtp / 21
66%
master: 79%

Build:
Build:
LAST BUILD BRANCH: optimize-next-nalu
DEFAULT BRANCH: master
Ran 16 Feb 2019 08:49AM UTC
Jobs 1
Files 8
Run time 4s
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

pending completion
21

push

travis-ci

kixelated
packet.MarshalTo()

Allow marshalling the packet to the given memory instead of always
allocating.

Improved `Marshal()` performance primarily by avoiding an extra copy.
The old code was marshalling the header and then calling `append`,
always invoking a copy.

There was also some code that did nothing, copied by accident from
Unmarshal.

```
Marshal-8    77.7ns ± 1%  44.1ns ± 2%  -43.19%  (p=0.008 n=5+5)
MarshalTo-8  17.8ns ± 9%
```

133 of 419 relevant lines covered (31.74%)

0.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 21.1 (GO111MODULE=on) 16 Feb 2019 08:49AM UTC 0
31.74
Travis Job 21.1
Source Files on build 21
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #21
  • 1eafb9d7 on github
  • Prev Build on marshal-to (#20)
  • Next Build on marshal-to (#23)
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