<div>Dear all, hope this mail finds you well.</div><div>In the post "[Maildev] thunderbird near term focus" by Magnus Melin("http://lists.thunderbird.net/pipermail/maildev_lists.thunderbird.net/2018-October/001317.html"), he says the following about "<span style="white-space: pre-wrap;">Address UI slowness":</span></div><div><pre>    Address UI slowness

  * analyze UI slowness to and identify pain points
  * create tests to automate measuring of UI operational performance
  * perform architectural changes to support smoother operations
  * rewrites leveraging web technologies (especially moving load to
    workers where possible)
  * multi-process Thunderbird, using Frame scripts etc.

UI jank of various kinds is a top complaint from our users. We should 
pinpoint the causes of these and fix them. I think having automated 
tests so that we can measure progress would be important to see things 
go in the right direction.</pre></div><div>I am quite interested in helping this since I'm facing very terrible <span style="white-space: pre-wrap;">slowness issues. I had to switch to another mail client at least temporarily due to the </span><span style="white-space: pre-wrap;">slowness.</span></div><div><span style="white-space: pre-wrap;">My inbox is about the size of 2GB. According to my observe, if the mail is very complicated(for example there is a 10X10 table ), it will be very slow to show that mail. When I click the mail, thunderbird will be no response, and starts to read the harddrive heavily. After several minutes,  </span><span style="white-space: pre-wrap;">thunderbird would be ok again and shows the mail. </span><span style="white-space: pre-wrap;">But if the mail is simple, thunderbird is fine.</span></div><div><span style="white-space: pre-wrap;">So my guess is that </span><span style="white-space: pre-wrap;">thunderbird's storage is too complicated to get the content of a complicated mail, maybe a simpler storage will help on the performance.</span></div><div><span style="white-space: pre-wrap;">Also I observe another mail client named foxmail, which is quite popular in China. its storage makes good use of the file system. It seems that every mail is stored singly as a file. To avoid too many files in one folder, which may also lead to slowness, the files are stored in two level folders. So a mail may be stored as file "Mails\10\17\554" .</span></div><div><span style="white-space: pre-wrap;">Inspired by foxmail's storage, I think maybe thunderbird can have a new storage, one mail one file with folders leveled  by time, such as "mails\yyyy\mmm\dd\hh\mm\ss\nnn", so every mail would be read in one single file, then hopefully performance would be ensured.</span></div><div><span style="white-space: pre-wrap;">Hope the </span><span style="  ;; font-size: medium; ">Thunderbird Engineering Council would like this idea, do some confirmation test and work on it.</span></div><div><span style="  ;; font-size: medium; ">I have some program experience. If needed, I might help on this , and just let me know what to help.</span></div><div><span style="  ;; font-size: medium; ">If no one would do this, I will do it. But some help is needed to make the progress faster, since I'm not so familiar with the thunderbird source code.</span></div><div><font face="Microsoft YaHei" size="3">Help needed:</font></div><div><font face="Microsoft YaHei" size="3">1. How to comfirm my guess is right or not?</font></div><div><font face="Microsoft YaHei" size="3">2. If we want to change the storage, what documents and source code should I read?</font></div><div><span style="white-space: pre-wrap;"><br></span></div><div><span style="white-space: pre-wrap;"><br></span></div><div><span style="white-space: pre-wrap;">  </span></div><div><br></div><div><br></div>