[Perf]Invalidating non visible rects is taking 13% of the load time on a large document

VERIFIED FIXED in M16

Status

Core Graveyard
GFX
P3
normal
VERIFIED FIXED
18 years ago
9 years ago

People

(Reporter: Kevin McCluskey (gone), Assigned: Kevin McCluskey (gone))

Tracking

Trunk
x86
Windows NT

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

18 years ago
troy@netscape.com (using quantify) reported that on a large (6 1/2mb) document 
we are making many calls to invalidate rectangles which are not visible, 
consuming 13% of the total load time. As an optimization we should prevent the 
nsIWidget's InvalidateRect from being performed when the rectangle is not 
visible.
(Assignee)

Updated

18 years ago
Status: NEW → ASSIGNED
Target Milestone: M16
(Assignee)

Comment 1

18 years ago
Fixed in 3/14/2000 5:38pm build. In quantify, I verified that the code to check 
visibility of the rect to invalidate takes far less time than calls to 
invalidate (400usec vs. 24000usec.)
Status: ASSIGNED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED

Comment 2

18 years ago
Sweet!

Comment 3

18 years ago
Marking verified per last comments.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.