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

pions / srtp / 98 / 1
41%
master: 41%

Build:
Build:
LAST BUILD BRANCH: optimize-new-ctr
DEFAULT BRANCH: master
Ran 08 Mar 2019 05:01AM UTC
Files 10
Run time 1s
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

08 Mar 2019 04:59AM UTC coverage: 40.576% (-0.5%) from 41.085%
GO111MODULE=on

push

travis-ci

kixelated
Optimize WriteRTP

The old EncryptRTP API causes an extra header Unmarshal and payload
Marshal. By passing the `*rtp.Packet` through the stack, we're able to
avoid both of these.

There was also an extra reallocation caused by using append.

```
name                 old time/op  new time/op  delta
EncryptRTP-8         1.94µs ± 3%  1.94µs ± 3%    ~
EncryptRTPInPlace-8  1.89µs ± 3%  1.89µs ± 4%    ~
DecryptRTP-8         1.80µs ± 3%  1.83µs ± 7%    ~
Write-8              1.95µs ± 8%  1.93µs ± 1%    ~
WriteRTP-8           2.11µs ± 6%  2.01µs ± 8%  -4.71%
```

310 of 764 relevant lines covered (40.58%)

10.49 hits per line

Source Files on job 98.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 83
  • Travis Job 98.1
  • 22e656e3 on github
  • Prev Job for GO111MODULE=on on optimize-write-rtp (#96.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