Improve help viewer startup time

RESOLVED FIXED in seamonkey2.0a1

Status

RESOLVED FIXED
11 years ago
11 years ago

People

(Reporter: neil, Assigned: neil)

Tracking

Trunk
seamonkey2.0a1

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

11 years ago
Manual filtering of the datasources can take several seconds on slow machines.
If we mark each datasource as suitable for all platforms it will avoid this.
(Assignee)

Comment 1

11 years ago
Created attachment 294350 [details] [diff] [review]
Proposed patch

I also rewrapped all the Descriptions, including the windows-only one.
Attachment #294350 - Flags: review?(stefanh)

Comment 2

11 years ago
Comment on attachment 294350 [details] [diff] [review]
Proposed patch

How much do we gain?
Attachment #294350 - Flags: review?(stefanh) → review+

Updated

11 years ago
Target Milestone: --- → seamonkey2.0alpha
(Assignee)

Comment 3

11 years ago
(In reply to comment #2)
>(From update of attachment 294350 [details] [diff] [review])
>How much do we gain?
Depends how you measure it ;-) Median of three runs on my P3 733MHz:
2.678 Time spent filtering datasources
3.524 Total script execution time
6.007 Total window open time
So, about 3/4 of the JS is spent filtering datasources, while overall the window will appear to open 1.8 times more quickly.
(Assignee)

Comment 4

11 years ago
Fix checked in.
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.