smiley22 / S22.Imap

A free, easy-to-use and well-documented .NET library component for communicating with IMAP servers
http://smiley22.github.com/S22.Imap/Documentation/
MIT License
210 stars 112 forks source link

Publicly expose MIME parser API #118

Closed jstedfast closed 4 years ago

jstedfast commented 9 years ago

I was recently working on a benchmark to compare the performance of parsing messages with various email libraries for .NET but could not easily add S22.Imap to the benchmark due to the lack of a public API to access the parser.

In case you are interested, here are the results so far (minus S22.Imap since I could not find a way to do it):

Parsing startrek.msg (1000 iterations):
MimeKit:        0.6989221 seconds
OpenPop:        25.3056064 seconds
AE.Net.Mail:    17.5971438 seconds
MailSystem.NET: 26.3891218 seconds
MIMER:          76.4538978 seconds

Parsing xamarin3.msg (1000 iterations):
MimeKit:        3.4215505 seconds
OpenPop:        159.3308053 seconds
AE.Net.Mail:    132.3044291 seconds
MailSystem.NET: 133.5832078 seconds
MIMER:          784.433441 seconds