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

jstedfast / MimeKit / 5.0.0.2390
0%

Build:
DEFAULT BRANCH: master
Ran 05 Oct 2026 12:31AM UTC
Jobs 1
Files 238
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

04 Oct 2026 11:56PM UTC coverage: 95.463% (-0.02%) from 95.481%
5.0.0.2390

push

coveralls.net

jstedfast
Added SIMD-accelerated UUEncoder and fixed two pre-existing encoder bugs

Added SSSE3, AVX2 and Arm64 AdvSimd kernels to UUEncoder that encode whole
45-byte lines at a time, modeled on the Base64Encoder SIMD implementation.
The 6-bit to uuencode translation is branch-free and table-free:
((v + 63) & 63) + 33 maps 0 to '`' and 1..63 to 0x21..0x5F. Partial lines
left over from previous calls are completed with the scalar encoder before
the SIMD kernels take over. Hardware acceleration can be disabled with the
new UUEncoder.EnableHardwareAcceleration property.

Performance (photo.jpg, .NET 10, BenchmarkDotNet):

| Method | Mean       | Ratio |
|------- |-----------:|------:|
| Scalar | 101.021 us |  1.00 |
| Ssse3  |   7.151 us |  0.07 |  (~14x faster)
| Avx2   |   6.174 us |  0.06 |  (~16x faster)

Bug fixes:

* When 1 byte was left over from a previous Encode() call, the check for
  completing a 3-byte group required 3 more input bytes instead of 2.
  Passing exactly 2 bytes therefore left 3 saved bytes, which were output
  after the input of the next call.
* EstimateOutputLength() ignored up to 44 bytes left over from earlier
  calls and could underestimate. A caller sizing the output buffer from
  the estimate could have its buffer overrun.

The test entry points follow the UUDecoder/Base64Decoder pattern (internal
Ssse3Encode/Avx2Encode/AdvSimdEncode/ScalarEncode). New tests compare
against an independent reference encoder across many lengths and chunk
sizes. They also cover random chunking, every byte value at every position,
round-trips through UUDecoder, sentinel bounds checks and guard-page
out-of-bounds access. Mutation testing killed all 23 mutants.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

40986 of 42934 relevant lines covered (95.46%)

0.95 hits per line

Coverage Regressions

Lines Coverage ∆ File
15
94.95
-4.43% D/a/MimeKit/MimeKit/MimeKit/Encodings/UUEncoder.cs
Jobs
ID Job ID Ran Files Coverage
1 5.0.0.2390.1 05 Oct 2026 12:31AM UTC 238
95.46
Source Files on build 5.0.0.2390
  • Tree
  • List 238
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8e821396 on github
  • Prev Build on master (#5.0.0.2389)
  • Next Build on master (#5.0.0.2391)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc