CCM Encrypt Speed + Memory Mgmt Improvements#784
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #784 +/- ##
==========================================
+ Coverage 81.68% 81.73% +0.04%
==========================================
Files 105 105
Lines 5838 5847 +9
==========================================
+ Hits 4769 4779 +10
Misses 686 686
+ Partials 383 382 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
These changes are amazing. I think it is worth a dedicated announce! 'FYI if you are running DataChannel servers and pushing lots of data you should see this CPU usage drop' cool stuff |
|
would you mind auditing pion/srtp also? I haven't looked deeply, but could be some wins |
We have audit tool now |
Encrypt latency: -7% to -11% improvement Encrypt throughput: +8% to +12% improvement Encrypt allocations: -4 allocs/op (30.8% reduction: 13 to 9) Encrypt memory: -12% to -47% reduction (scales with payload size)
|
Rebased onto master, merging. |
CCM Encrypt Speed + Memory Mgmt Improvements
Pretty significant results by doing some minor tweaks:
Improvements Summary
Raw benchmark output before and after
Before
After