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

pions / srtp / 41
41%
master: 41%

Build:
Build:
LAST BUILD BRANCH: optimize-new-ctr
DEFAULT BRANCH: master
Ran 17 Feb 2019 05:25AM 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
41

push

travis-ci

Luke Curley
Optimize WriteRTP

The previous code would Marshal the header allocating (header) bytes.
Then call append with the payload allocating payload bytes and copying
(header) bytes. Then later EncryptRTP will append the auth tag,
potentially allocating (header + payload + 10) bytes and copying
(header + payload) bytes.

This code avoids the extra allocation/copy by allocating the correct
size upfront.

```
name                 old time/op  new time/op  delta
WriteRTP-8           5.80µs ± 2%  5.59µs ± 1%  -3.56%
```

302 of 752 relevant lines covered (40.16%)

10.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 41.1 (GO111MODULE=on) 17 Feb 2019 05:25AM UTC 0
40.16
Travis Job 41.1
Source Files on build 41
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #41
  • 4db63f12 on github
  • Prev Build on optimize-write-rtp (#28)
  • Next Build on optimize-write-rtp (#43)
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