<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 12/10/2018 9:15 AM, leon lee wrote:<br>
</div>
<blockquote type="cite"
cite="mid:tencent_85B15F58413E3A766232EEF19E77D914E606@qq.com">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<div>Dear all, hope this mail finds you well.</div>
<div>In the post "[Maildev] thunderbird near term focus" by Magnus
Melin(<a class="moz-txt-link-rfc2396E" href="http://lists.thunderbird.net/pipermail/maildev_lists.thunderbird.net/2018-October/001317.html">"http://lists.thunderbird.net/pipermail/maildev_lists.thunderbird.net/2018-October/001317.html"</a>),
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>
</blockquote>
<p>The situation you describe above sounds rather simple. And so
probably not a systemic issue that would be helped by the items
you mention below. You should file a support issue at
<a class="moz-txt-link-freetext" href="https://support.mozilla.org/en-US/questions/new">https://support.mozilla.org/en-US/questions/new</a> so it can be
determined whether a bug exists. <br>
</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:tencent_85B15F58413E3A766232EEF19E77D914E606@qq.com">
<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 size="3" face="Microsoft YaHei">Help needed:</font></div>
<div><font size="3" face="Microsoft YaHei">1. How to comfirm my
guess is right or not?</font></div>
<div><font size="3" face="Microsoft YaHei">2. If we want to change
the storage, what documents and source code should I read?</font></div>
</blockquote>
<p><font size="3"><font face="Microsoft YaHei">Your assume a
solution contains many </font></font><br>
</p>
</body>
</html>