Closed Bug 80208 Opened 24 years ago Closed 23 years ago

creating too many popup listeners?

Categories

(SeaMonkey :: General, defect, P2)

x86
Other
defect

Tracking

(Not tracked)

RESOLVED FIXED
mozilla0.9.6

People

(Reporter: sspitzer, Assigned: paulkchen)

References

Details

(Keywords: perf)

Attachments

(1 file, 6 obsolete files)

creating too many popup listeners. (his number was 57 for the browser window). talking to dave, he mentioned that he thinks we're creating too many pop listeners. possibly creating them inside of generated content (like that other bug where we were putting onclick and oncommand handlers in generated content). helping with browser performance, I'll take a look and see if this is the case. (in browser and in the rest of the product.)
0.9.1, I hope.
Target Milestone: --- → mozilla0.9.1
moving to 0.9.2, 0.9.1 is too soon.
Status: NEW → ASSIGNED
Target Milestone: mozilla0.9.1 → mozilla0.9.2
I don't expect to fix this in 0.9.1, but it's one of my top priorities for overal performance improvements. so focusing on it now.
Summary: creating too many popup listeners → creating too many popup listeners?
Target Milestone: mozilla0.9.2 → mozilla0.9.1
Blocks: 49141
moving to 0.9.2
Target Milestone: mozilla0.9.1 → mozilla0.9.2
any ideas on what kind of improvement we expect fixing this to make?
we expect to help improve window open performance
adding PDT+
Whiteboard: [PDT+]
moving to 0.9.3
Target Milestone: mozilla0.9.2 → mozilla0.9.3
Keywords: perf
Whiteboard: [PDT+]
moving to 0.9.4
Target Milestone: mozilla0.9.3 → mozilla0.9.4
slide to 0.9.5
Target Milestone: mozilla0.9.4 → mozilla0.9.5
back to trudelle. this would be worth investigating, I just don't have time to help.
Assignee: sspitzer → trudelle
Status: ASSIGNED → NEW
I'll let trudelle set the target milestone.
Target Milestone: mozilla0.9.5 → ---
->pchen for perf analysis and triage
Assignee: trudelle → pchen
marking p2 and mozilla0.9.6
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla0.9.6
After talking with Hyatt, it looks like we're overusing tooltip="aTooltip" too far down the xul hierarchy (i.e on each toolbar button as opposed to just once on the toolbar itself). After hacking around some, I got the number of observers down to 43 or so just by moving tooltip="aTooltip" up the hierarchy. However, Hyatt told me that with bug 93839, we will do away with having to specify tooltip="aTooltip" and just create one popuplistener that knows all the tooltiptexts. Sounds great, and it's a 0.9.6 bug to boot. So I am going to mark this as a dup of that bug since that appears to be the right fix. *** This bug has been marked as a duplicate of 93839 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Sorry for the spam, hyatt wants me to clean this up because it will make his job easier for 93839. I'll try to catch more of these before I post a patch
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Assuming I did this right under linux, I count *only* 34 popup listeners being created now. Well, it's a jump in the right direction. ;-)
Status: REOPENED → ASSIGNED
Comment on attachment 53363 [details] [diff] [review] updated navigator.xul patch, moved tooltip="aTooltip" up from first hbox in nav-bar to toolbar itself to enable tooltips in print and throbber r=jag
Attachment #53363 - Flags: review+
Comment on attachment 53226 [details] [diff] [review] remove tooltip="aTooltip" from offline-status because it's now provided by statusbar r=jag
Attachment #53226 - Flags: review+
Comment on attachment 53225 [details] [diff] [review] remove tooltip="aTooltip" since it's now provided by statusbar r=jag
Attachment #53225 - Flags: review+
Comment on attachment 53224 [details] [diff] [review] remove tooltip="aTooltip" since it's now provided by statusbar r=jag
Attachment #53224 - Flags: review+
Attachment #53223 - Attachment is obsolete: true
Attachment #53180 - Attachment is obsolete: true
Attachment #53224 - Attachment is obsolete: true
Attachment #53225 - Attachment is obsolete: true
Attachment #53226 - Attachment is obsolete: true
Attachment #53363 - Attachment is obsolete: true
Ok, latest fix. I don't change anything in the statusbar anymore because that would require me to go modify every other window in the app so that their statusbars have tooltip="aTooltip". Hyatt will just have to go fix that when he lands his bug. ;-)
Comment on attachment 54081 [details] [diff] [review] latest patch, navigator.xul only, don't fiddle with statusbar sr=alecf
Attachment #54081 - Flags: superreview+
Comment on attachment 54081 [details] [diff] [review] latest patch, navigator.xul only, don't fiddle with statusbar r=blake
Attachment #54081 - Flags: review+
fix checked into trunk
Status: ASSIGNED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: