Open
Bug 115160
Opened 23 years ago
Updated 7 months ago
[mozTXTToHTMLConv] Optimize to speed up message display of messages with lots of links
Categories
(MailNews Core :: Backend, defect)
MailNews Core
Backend
Tracking
(Not tracked)
NEW
People
(Reporter: Bienvenu, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: perf, testcase, Whiteboard: [need to evaluate perf win])
Attachments
(2 files)
47.81 KB,
patch
|
Details | Diff | Splinter Review | |
15.20 KB,
patch
|
Details | Diff | Splinter Review |
If you display a message with lots of links, MoxTxtToHTMLConv.cpp slows us down
a lot, copies data around excessively, allocates memory when it doesn't need to,
etc. I have a 440K spam message that takes several seconds to display, bloats
memory by 17MB or so, and leaks a lot of memory as well. So I'm going to try to
optimize this file to see if that fixes some of the bloat.
Updated•23 years ago
|
Comment 1•23 years ago
|
||
Thanks for tuning the class.
Please make sure that you don't change the logic (intentionally or accidentally).
For the record: I take no responsibility for leaks introduced by char*s - that
wasn't me.
OS: Windows 2000 → All
Hardware: PC → All
Reporter | ||
Comment 2•23 years ago
|
||
Some test cases would help.
Comment 3•23 years ago
|
||
Here you are: bug 116842.
Updated•23 years ago
|
Target Milestone: mozilla0.9.8 → mozilla0.9.9
Updated•23 years ago
|
Priority: P1 → P2
Updated•23 years ago
|
Target Milestone: mozilla0.9.9 → mozilla1.0
Reporter | ||
Comment 4•23 years ago
|
||
I don't see how this is going to happen at this point - recommend nsbeta1-
Reporter | ||
Comment 5•23 years ago
|
||
this is for posterity since I've given up on getting this in to 1.0, and
hopefully we'll rewrite this all later.
Reporter | ||
Comment 6•23 years ago
|
||
mime part of diffs. The attached patches all work and avoid memory allocations
in most cases - clients that used pass in unicode now convert the data to utf8
(though usually they started with utf8 with they 0 byte extended to unicode...)
I haven't attached the address book diffs - address book has started using
ScanTxt and I just got tired of all the conflicts
Updated•23 years ago
|
Updated•20 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
QA Contact: stephend → backend
Assignee | ||
Updated•17 years ago
|
Product: Core → MailNews Core
Comment 7•16 years ago
|
||
I have no idea how much this would cost engineering wise - but would be nice to have I think for the users experience.
Flags: wanted-thunderbird3?
![]() |
||
Comment 8•16 years ago
|
||
Perhaps target milestone should be updated? (Mozilla 1.2 Alpha seems ancient, just like some other js bugs currently out there. ;-) )
Updated•16 years ago
|
Target Milestone: mozilla1.2alpha → ---
Updated•14 years ago
|
Summary: MozTxtToHTMLConv.cpp can be optimized to speed up message display of messages with lots of links → [mozTXTToHTMLConv] Optimize to speed up message display of messages with lots of links
Comment 11•14 years ago
|
||
David any idea how much this would cost time wise to land ?
Flags: wanted-thunderbird3?
Reporter | ||
Comment 12•14 years ago
|
||
(In reply to comment #11)
> David any idea how much this would cost time wise to land ?
It all needs to be looked at again - the string api's have changed, and the patch has bit-rotted quite a bit. Plus, we really should have some idea of how much of a performance win this would be, so we can consider the risk-reward.
Updated•12 years ago
|
Assignee: mozilla → nobody
Status: ASSIGNED → NEW
Priority: P2 → --
Whiteboard: [need to evaluate perf win]
Comment 13•9 years ago
|
||
Removing myslef on all the bugs I'm cced on. Please NI me if you need something on MailNews Core bugs from me.
Updated•2 years ago
|
Severity: normal → S3
Updated•7 months ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•