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

pions / rtp / 20
66%
master: 79%

Build:
Build:
LAST BUILD BRANCH: optimize-next-nalu
DEFAULT BRANCH: master
Ran 16 Feb 2019 05:10AM 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
20

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 20.1 (GO111MODULE=on) 16 Feb 2019 05:10AM UTC 0
31.74
Travis Job 20.1
Source Files on build 20
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #20
  • f6f85499 on github
  • Prev Build on marshal-to (#9)
  • Next Build on marshal-to (#21)
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