[
https://issues.apache.org/jira/browse/MIME4J-303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benoit Tellier closed MIME4J-303.
---------------------------------
Resolution: Fixed
> Base64OutputStream is two time slower than its Java8 counterpart
> ----------------------------------------------------------------
>
> Key: MIME4J-303
> URL: https://issues.apache.org/jira/browse/MIME4J-303
> Project: James Mime4j
> Issue Type: Improvement
> Components: core, dom
> Affects Versions: 0.8.5
> Reporter: Benoit Tellier
> Priority: Major
> Fix For: 0.8.6
>
>
> While looking and running mime4J benchmarks, I tried some alternative
> implementations for Base64 encoding / decoding.
> Base64InputStream proved to be 20% faster than its Java8 counterpart.
> However, throughtput went from 280 MB/s to 520 MB/s by switching to Java8
> Base64.getMimeEncoder().wrap(...)
> Tests pass and this speeds up message writing operations... Apache James can
> for instance beneficiate of it when composing JMAP messages with large
> attachments.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)