Author Topic: MsgExport is very slow  (Read 1402 times)

0 Members and 1 Guest are viewing this topic.

Offline Vulpix

MsgExport is very slow
« on: 22 04 2016, 23:07:55 »

I'm curious if it would be possible to improve MsgExport plugin. Currently, it takes simply way too long. I feel this is because the export plugin seems to write in very small chunks and it constantly closes and reopens the file. This causes journal updates as well as other unwanted phenomenons. As an example, it takes almost 15 minutes to export all of my history (~193MB file).

There should be a way of having the export plugin just allocate a memory buffer, sort and prepare a full batch of data and then flush it into a file in a single go.

For example see below what's happening during one of the exports: