very slow to read complicated mail with images
Categories
(Thunderbird :: Message Reader UI, defect)
Tracking
(Not tracked)
People
(Reporter: llrraa, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: perf, testcase, Whiteboard: [dupme])
Attachments
(2 files)
Comment 1•6 years ago
|
||
Updated•6 years ago
|
Comment 3•6 years ago
|
||
Comment 6•6 years ago
|
||
Comment 8•6 years ago
|
||
Comment 10•6 years ago
|
||
Reporter | ||
Comment 11•6 years ago
|
||
Reporter | ||
Comment 12•6 years ago
|
||
Comment 13•6 years ago
|
||
Reporter | ||
Comment 14•6 years ago
|
||
Reporter | ||
Comment 15•6 years ago
|
||
Comment 16•6 years ago
|
||
Comment 17•6 years ago
|
||
llrraa: If you want to help, please be specific. Your reports so far have been very vague. "It's slow" and "large mail" and "large table" is not very helpful.
You could start with creating minimal test cases. First, modify your email by removing all sensitive data from it, and attach it. Then, try to find which part of the email causes the slowness. Then, create an artificial email that has only this one feature (e.g. only a table, or only images, nothing else), but still shows the bug.
Make sure that the test case is realistic. Sure you can make all programs slow, if you just throw large enough data at it.
But frankly, from what the little you have said here, I think the problem is simply your email: 10000 images in an email are really over the top. You should put the report on a webpage and look at it here. And use faster HTML, not 10000 images. If it's third party software, please contact the vendor of that software.
Reporter | ||
Comment 18•6 years ago
|
||
test mail for this bug. It contains 16*187 table in it. The content is copied directly from excel in foxmail(a popular mail client in China).
Reporter | ||
Comment 19•6 years ago
|
||
(In reply to Ben Bucksch (:BenB) from comment #17)
llrraa: If you want to help, please be specific. Your reports so far have been very vague. "It's slow" and "large mail" and "large table" is not very helpful.
You could start with creating minimal test cases. First, modify your email by removing all sensitive data from it, and attach it. Then, try to find which part of the email causes the slowness. Then, create an artificial email that has only this one feature (e.g. only a table, or only images, nothing else), but still shows the bug.
Make sure that the test case is realistic. Sure you can make all programs slow, if you just throw large enough data at it.
But frankly, from what the little you have said here, I think the problem is simply your email: 10000 images in an email are really over the top. You should put the report on a webpage and look at it here. And use faster HTML, not 10000 images. If it's third party software, please contact the vendor of that software.
You are right about the test case. I have attach test.eml for test.
test.eml contains a 16*187 table copied directly from excel in foxmail( a popular mail client in China.)
To make the test case realistic, you can install foxmail at https://www.foxmail.com/win/en/, then try to open test.eml in foxmail and thunderbird, then you will know it's realistic.
Comment 20•6 years ago
|
||
I see no real delay opening the EML file at all. No more than a few seconds from when I double click on in on the desktop where I saved it until it is displayed.
Reporter | ||
Comment 21•6 years ago
|
||
(In reply to Matt from comment #20)
I see no real delay opening the EML file at all. No more than a few seconds from when I double click on in on the desktop where I saved it until it is displayed.
I have attached 2 files, please make sure you open the second one which is larger.
If you do open the right file, can you please share your thunderbird version. I will try it.
Comment 22•6 years ago
|
||
(In reply to llrraa from comment #21)
I have attached 2 files, please make sure you open the second one which is larger.
If you do open the right file, can you please share your thunderbird version. I will try it.
I see only one attachment to this bug. Test.eml. You posted it 21 hours ago. So if you want me to open something else, please attach it.
Reporter | ||
Comment 23•6 years ago
|
||
(In reply to Matt from comment #22)
I see only one attachment to this bug. Test.eml. You posted it 21 hours ago. So if you want me to open something else, please attach it.
Did you see the whole content? A table with 1 to 16 in the first line, 1-187 in the first column, and 1 in all the other cells.
If yes, can you please share your thunderbird version. I will try it.
Comment 24•6 years ago
|
||
It take time to load the first time as my slow disk takes an age to deliver the data but still it is only noticeable as delayed because I am watching, we are talking a few second perhaps 5. Opening that same file a second time where the data is cached by windows takes about 2 seconds.
Name Thunderbird
Version 60.4.0
Build ID 20181217101353
Update Channel release
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0
OS Windows_NT 10.0
Reporter | ||
Comment 25•6 years ago
|
||
(In reply to Matt from comment #24)
It take time to load the first time as my slow disk takes an age to deliver the data but still it is only noticeable as delayed because I am watching, we are talking a few second perhaps 5. Opening that same file a second time where the data is cached by windows takes about 2 seconds.
Name Thunderbird
Version 60.4.0
Build ID 20181217101353
Update Channel release
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0
OS Windows_NT 10.0
Just to make sure, did you see the numbers of the EML files?
I try 60.4.0 in windows 7 safe mode and thunderbird safe mode, but see only blank page, no table and numbers at all.
Comment 26•6 years ago
|
||
happens at least as far back as version 59, so setting version accordingly
Updated•6 years ago
|
Comment 27•5 years ago
|
||
(In reply to llrraa from comment #4)
Is it possible that I get some log for you? I can send you the exact message for business reason.
Please run the performance profiler:
- You must be using Thunderbird 68 or newer - betas from https://www.thunderbird.net/en-US/channel/ or current nightly build from https://archive.mozilla.org/pub/thunderbird/nightly/latest-comm-central/
- Install profiler add-on into thunderbird 68 (or newer https://www.thunderbird.net/en-US/channel/ ) - get the add-on file from https://github.com/firefox-devtools/Gecko-Profiler-Addon/blob/master/gecko_profiler.xpi?raw=true and in Tools > add-ons click the gear to install add-on from file
- Follow instructions at https://profiler.firefox.com/ (videos BASED ON FIREFOX at https://profiler.firefox.com/docs/#/./videos-intro )
- Create a profiler URL and post it here.
Reporter | ||
Comment 28•5 years ago
|
||
I'm working on it for days. But since I'm quite busy these days, and I have to learn the performance profiler, it may still take me some days. If possible, someone who is good at the performance profiler can actually try to use thunderbird to open test.eml with the performance profiler started, so as to faster the progress.
Reporter | ||
Comment 29•5 years ago
|
||
And thank you for following up, Mr. Wayne Mery (:wsmwk). I was afraid that you already forgot this issue. :)
Reporter | ||
Comment 30•5 years ago
|
||
Today I try the start the performance profiler, but failed to Capture Profile, and ctrl+shift+2 is not working either. Please help.
Application Basics
Name: Thunderbird
Version: 72.0a1
Build ID: 20191104093451
Update Channel: nightly
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:72.0) Gecko/20100101 Thunderbird/72.0a1
OS: Windows_NT 6.1
Launcher Process: Enabled
Multiprocess Windows: 0/0
Disabled
Remote Processes: 0
Enterprise Policies: Inactive
Google Location Service Key: Missing
Google Safebrowsing Key: Missing
Mozilla Location Service Key: Missing
Safe Mode: false
(In reply to Wayne Mery (:wsmwk) from comment #27)
(In reply to llrraa from comment #4)
Is it possible that I get some log for you? I can send you the exact message for business reason.
Please run the performance profiler:
- You must be using Thunderbird 68 or newer - betas from https://www.thunderbird.net/en-US/channel/ or current nightly build from https://archive.mozilla.org/pub/thunderbird/nightly/latest-comm-central/
- Install profiler add-on into thunderbird 68 (or newer https://www.thunderbird.net/en-US/channel/ ) - get the add-on file from https://github.com/firefox-devtools/Gecko-Profiler-Addon/blob/master/gecko_profiler.xpi?raw=true and in Tools > add-ons click the gear to install add-on from file
- Follow instructions at https://profiler.firefox.com/ (videos BASED ON FIREFOX at https://profiler.firefox.com/docs/#/./videos-intro )
- Create a profiler URL and post it here.
Reporter | ||
Comment 31•5 years ago
|
||
I try to start the Gecko Profiler(buffer size: 90MB), and Capture Profile without doing anything, it does open a new tab and try to grab the profile, but it fails with the following hint:
We were unable to connect to the Gecko profiler add-on within thirty seconds. This might be because the profile is big or your machine is slower than usual. Still waiting...
Should I report a new bug for this?
Comment 32•5 years ago
|
||
Someone is working on the profiler. You might find a match for your issue in this list https://mzl.la/2ABZJ2q but there are several more.
That said, I am not able to reproduce this issue using current beta 78 build on small Macbook Air.
Reporter | ||
Comment 33•5 years ago
|
||
Reporter | ||
Comment 34•5 years ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #32)
Someone is working on the profiler. You might find a match for your issue in this list https://mzl.la/2ABZJ2q but there are several more.
That said, I am not able to reproduce this issue using current beta 78 build on small Macbook Air.
Yes, now beta 78 can open test.eml quickly, and that's a really breakthrough.
But there's still some issue with some more complicated mail, such as my new attached mail file: test2.eml, which size is about 7MB.
When I try to open it with thunderbird, at first, the I/0 rate reaches more 300MB/s, and memory usage increases quickly, and finally reaches about 9GB. I wait 30 minutes, but the content doesn't show up yet, so I give up.
For foxmail, it only takes about 3 minutes to open this file, and use only about 200MB memory, and I/0 rate is about 100KB/S. But foxmail fails to forward or reply this mail .
Hope the community can continue to improve the performance of thunderbird, so that it can open, forward or reply test2.eml quickly with low resource.
Comment 35•4 years ago
|
||
test2 is 7mb with about 15 thousand table elements and 11k image/png. If image/png item are removed the test is 3mb and the message loads quickly.
That probably makes this dependent on bug 563677
Updated•2 years ago
|
Description
•