Closed Bug 76139 Opened 24 years ago Closed 3 years ago

Over 900 successive lookups for the _same_ (frame, property)

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Performance Impact ?

People

(Reporter: rbs, Unassigned)

Details

[spin off from bug 74656 - See Comments From Mike Shaver 2001-04-07 20:53] An incidental radar from shaver has found that the frame manager only end ups storing a few dozen properties. However, the same (frame, property) pair can sometimes be repeatedly requested over 900 times in succession. Such a large loop is perhaps hiding another bigger fish. Indeed this incidental finding may perhaps led to a hotspot in the application, the improvement of which could be helpful performance-wise. Or it may perhaps show that the property is always needed and is used extensively, to the point that it might be simpler for it to be cached in the frame under consideration so as to avoid the overhead of the trip to the frame manager. I am entering this bug for the record, and cc:ing all those listed in bug 74656.
perf keyword, and nominating for 0.9.1 work.
Keywords: mozilla0.9.1, perf
Keywords: topperf
Removing keyword...long gone.
Keywords: mozilla0.9.1
I bet dbaron wants this.
Assignee: shaver → dbaron
Didn't someone already optimize successive lookups for the same property or something? (And was it the view property that was being looked up repeatedly in this case?)
What's the current status of this one?
Keywords: perfmozilla1.1
QA Contact: chrispetersen → layout

Moving open bugs with topperf keyword to triage queue so they can be reassessed for performance priority.

Performance Impact: --- → ?
Keywords: topperf

Frame manager doesn't do hash lookups anymore.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.