One of the critical issues in exchange mailer is - time spent to load the hierarchy or mail folders. See this graph:
It clearly shows most of time is spent in constructing folder objects. The sample size used to generate this graph is two folders with 210 and 50 mails repectively. Patch extends Federico's sample code and implements different levels of checkpoints. Graph on the left hand side is generated using a E2K_LOG_LEVEL=1.
As I mentioned in my previous blog, this is the customized plot-timeline script that generated this image.