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

pions / rtp / 21 / 1
66%
master: 79%

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

16 Feb 2019 08:47AM UTC coverage: 31.742%. Remained the same
GO111MODULE=on

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

Source Files on job 21.1 (GO111MODULE=on)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19
  • Travis Job 21.1
  • 1eafb9d7 on github
  • Prev Job for GO111MODULE=on on marshal-to (#20.1)
  • Next Job for GO111MODULE=on on marshal-to (#23.1)
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