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

pions / srtp / 30
42%
master: 41%

Build:
Build:
LAST BUILD BRANCH: optimize-new-ctr
DEFAULT BRANCH: master
Ran 16 Feb 2019 04:14AM UTC
Jobs 1
Files 10
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

pending completion
30

push

travis-ci

kixelated
Optimize session auth tag generation

I profiled my application and crypto/hmac.New was taking 5.71% of the
total CPU time. Since the session key does not change, you can call
crypto/hmac.Reset() instead of making a new object. This reuses previous
work done for the key.

name                 old time/op  new time/op  delta
EncryptRTP-8         2.17µs ± 4%  1.90µs ± 5%  -12.79%  (p=0.008 n=5+5)
EncryptRTPInPlace-8  2.14µs ± 4%  1.84µs ± 4%  -13.79%  (p=0.008 n=5+5)

326 of 767 relevant lines covered (42.5%)

10.65 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30.1 (GO111MODULE=on) 16 Feb 2019 04:14AM UTC 0
42.5
Travis Job 30.1
Source Files on build 30
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #30
  • daa45be2 on github
  • Next Build on optimize-session-auth-tag (#38)
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