Closed Bug 126701 Opened 23 years ago Closed 17 years ago

mozTXTToHTMLConv speed for english

Categories

(MailNews Core :: Backend, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: jesup, Assigned: bugzilla)

References

Details

(Keywords: perf)

streamconv was rewritten in bug 26915 for speed, but the final rewrite had a slowdown (considerable) from the initial patch when converting english text. This should be checked and perhaps corrected as per mscott's bug comments when he checked in the code. I assume this is a perf issue for mailnews display of text.
Keywords: perf
that comment about those timing was from 2 years ago. The comment is definetly obsolete now. This wasn't showing up as a hot spot in any of my quantify logs for message display. Pushing out to something to look at in the future.
Target Milestone: --- → Future
s/streamconv/mozTXTToHTMLConv/ I'm persoanlly not keen on reopening the issue, but it would be nice to see the class use string classes again, without noticable perf decrease. So, if anybody wants to do the work, you have my support, assuming you don't introduce new bugs.
If someone can tell me a test that would exercise this (real-world, like "display this 10000-line english text email) I can trivially get a jprof on it.
Summary: streamconv speed for english → mozTXTToHTMLConv speed for english
see also bug 21203 (for reference)
jesup, there are test cases in bug 26915.
Status: NEW → ASSIGNED
Blocks: 116842
QA Contact: esther → stephend
Product: MailNews → Core
Moving a bunch of mozTXTToHTMLConv bugs into Core / MailNews Backend to live with their bretheren.
Component: MailNews: MIME → MailNews: Backend
Target Milestone: Future → ---
closing per mscott
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.