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

pions / srtp / 96
41%
master: 41%

Build:
Build:
LAST BUILD BRANCH: optimize-new-ctr
DEFAULT BRANCH: master
Ran 08 Mar 2019 04:56AM UTC
Jobs 1
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

pending completion
96

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%
```

318 of 774 relevant lines covered (41.09%)

10.51 hits per line

Jobs
ID Job ID Ran Files Coverage
1 96.1 (GO111MODULE=on) 08 Mar 2019 04:56AM UTC 0
41.09
Travis Job 96.1
Source Files on build 96
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #96
  • a80495a2 on github
  • Prev Build on optimize-write-rtp (#88)
  • Next Build on optimize-write-rtp (#98)
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