Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Currently MimeMessageInputStreamSource use DeferredFileOutputStream from commons-io which does not buffer output stream when switched to FileOutputStream. In my preliminary test, simply wrap FileOutputStream with BufferedOutputStream could make a 50% performance improvement for mail larger than deferring threshold (currently 100kb).