investigate the cost of status/progress

RESOLVED FIXED

Status

defect
RESOLVED FIXED
18 years ago
15 years ago

People

(Reporter: cathleennscp, Assigned: law)

Tracking

Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(3 attachments)

Reporter

Description

18 years ago
please provide a patch to remove status/progress to the bug for further analysis.
Assignee

Comment 1

18 years ago
This removes the entire status bar at the bottom of the Navigator window.  I
didn't try to remove the code loaded to support the "connection status"
indicator or the security icon.  Perhaps I should try removing just the
progress/status area of the status bar?  I've got tasks to remove the security
icon by itself.
Assignee

Comment 2

18 years ago
Assignee

Comment 3

18 years ago
Compare this to the preceding attachment to see where the savings came from.

Avg time to start up with status bar: 5.995 seconds
Avg time to start up without status bar: 5.771 seconds

Savings: 0.224 seconds (3.7%)
Reporter

Updated

18 years ago
Blocks: 7251
Assignee

Comment 4

18 years ago
I removed just the status/progress panel from the status bar (and the 
corresponding JS code).  The savings was miniscule (0.36%).

We could, theoretically, defer the loading/creation of this panel till some 
point after startup (presuming the user could live without status updates while 
their initial page loads.  But the benefit is negligible so I don't think we 
should bother with that.

We can't remove the entire status bar.

Further work (other bugs) will examine other status bar panels (e.g., task bar, 
security icon, etc.).
Assignee

Comment 5

18 years ago
Done
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED

Comment 6

18 years ago
Bill, did your patch prevent all the messages targeted at the status bar from
even being sent, or did they just go in the bit bucket?  Would it matter to the
result?
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.