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

pions / srtp / 88
41%
master: 41%

Build:
Build:
LAST BUILD BRANCH: optimize-new-ctr
DEFAULT BRANCH: master
Ran 07 Mar 2019 08:19PM 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
88

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 778 relevant lines covered (40.87%)

10.46 hits per line

Jobs
ID Job ID Ran Files Coverage
1 88.1 (GO111MODULE=on) 07 Mar 2019 08:19PM UTC 0
40.87
Travis Job 88.1
Source Files on build 88
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #88
  • 074d0723 on github
  • Prev Build on optimize-write-rtp (#86)
  • Next Build on optimize-write-rtp (#96)
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