Skip to content

Multipart 2.2.0

Compare
Choose a tag to compare
@tanner0101 tanner0101 released this 22 Mar 00:44
· 94 commits to main since this release
17c2bf0

New:

  • Improved the multipart parsing performance.

Before

Time to parse a multipart message with the given size. Measured on a 4-core 2.6 GHz Intel Core i7, macOS 10.13.3, Swift 4.0.3:

Message Size Debug Build Release Build
100 KB 0.36 s 0.16 s
200 KB 1.24 s 0.58 s
400 KB 4.56 s 2.21 s

After

Message Size Debug Build Speedup Release Build Speedup
100 KB 0.09 s 0.027 s
200 KB 0.19 s 6.5× 0.06 s 10×
400 KB 0.37 s 12× 0.11 s 20×

Milestone