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

KarpelesLab / pktkit / 24003533694
53%

Build:
DEFAULT BRANCH: master
Ran 05 Apr 2026 02:28PM UTC
Jobs 1
Files 80
Run time 1min
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

05 Apr 2026 02:27PM UTC coverage: 44.647% (+0.1%) from 44.552%
24003533694

push

github

MagicalTux
Optimize WireGuard transport and add global packet buffer pool

WireGuard encrypt 1.8x faster (314 → 556 MB/s), decrypt 1.6x faster
(224 → 362 MB/s) at MTU-sized packets:

- Seal directly into result buffer at offset 16, eliminating the
  intermediate ciphertext allocation (was the largest bottleneck)
- Return PacketResult by value instead of pointer, eliminating a
  heap allocation per processed packet on the decrypt path
- Single now() call per encrypt instead of three

Add pktkit.AllocBuffer/FreeBuffer as a global sync.Pool for ~1500-byte
packet buffers shared across NAT, WireGuard, and other subsystems.
Migrate NAT from its own local pool to the global one.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

49 of 88 new or added lines in 6 files covered. (55.68%)

7 existing lines in 1 file now uncovered.

5863 of 13132 relevant lines covered (44.65%)

21.84 hits per line

Uncovered Changes

Lines Coverage ∆ File
31
81.76
0.0% wg/handshake.go
5
81.82
1.05% wg/transport.go
3
81.25
pool.go

Coverage Regressions

Lines Coverage ∆ File
7
32.7
-1.27% vclient/tcp.go
Jobs
ID Job ID Ran Files Coverage
1 24003533694.1 05 Apr 2026 02:28PM UTC 80
44.65
GitHub Action Run
Source Files on build 24003533694
  • Tree
  • List 80
  • Changed 9
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24003533694
  • 1b3ff675 on github
  • Prev Build on master (#24003398688)
  • Next Build on master (#24003830068)
  • Delete
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