Closed Bug 108038 Opened 23 years ago Closed 23 years ago

improve compose perf (and reply perf) by updating the commands less

Categories

(MailNews Core :: Composition, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: sspitzer, Assigned: sspitzer)

References

()

Details

(Keywords: perf)

Attachments

(3 files, 1 obsolete file)

improve compose perf (and reply perf) by updating the commands less

patch coming.

If only the focusedElement when editor has focus wasn't null.  then we could do 
even less.
for new msg, my patch will go from 6 updates to 1:

XXX skip
XXX skip
XXX supressing
XXX supressing
XXX supressing
XXX update, focus on [object HTMLInputElement @ 0x6d0dbf0]

for reply, from 5 to 1.

XXX update, focus on null
XXX skip
XXX supressing
XXX supressing
XXX skip

it's a shame that focusedElement is null when editor has focused.
if that wasn't the case, my patch could be much cleaner.
Status: NEW → ASSIGNED
Comment on attachment 56120 [details] [diff] [review]
patch, includes fix for #98657

r=varada
Attachment #56120 - Flags: review+
Comment on attachment 56120 [details] [diff] [review]
patch, includes fix for #98657

sr=bienvenu, but you might want to take out the dump statements.
Attachment #56120 - Flags: superreview+
Attachment #56120 - Attachment is obsolete: true
Comment on attachment 56158 [details] [diff] [review]
here's the right patch.

sr=bienvenu
Attachment #56158 - Flags: superreview+
Comment on attachment 56158 [details] [diff] [review]
here's the right patch.

r=varada
Attachment #56158 - Flags: review+
fixed.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
QA Contact: sheelar → stephend
Hardware: PC → All
http://www.mozilla.org/mailnews/win_performance_results.html

Metric                  | 2001-11-02 build        | 2001-20-16 build

Message Reply Speed     | 3.56 [4.87, 2.91, 2.91] | 3.74 [5.35, 2.94, 2.94]

This isn't conclusive, as numbers (for some reason) fluctuate normally.  See the
10-19 results hwere we were at 4.43 seconds for launching the 1st Reply window.

It may also be that portions of the log are getting slower, and that the command
updating stuff improved but included that portion.

I'm working on getting the separate data now, before I mark this VERIFIED.

http://www.mozilla.org/mailnews/performance/msgcompose_loggin.html 
verified FIXED.
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: