Closed
Bug 504347
Opened 15 years ago
Closed 2 years ago
slow scrolling caused by lots of invalidates?
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jrmuizel, Unassigned)
References
()
Details
(Keywords: perf)
Scrolling http://www.mac-tv.de/index.lasso?Rubrik=Filme is pretty slow, especially compared to Safari.
-[NSView _drawRect:clip:] seems to be getting called a lot more than in Safari which suggests that we are invalidating a lot more than we should be, and therefore doing a lot more work than Safari.
I used the following dtrace script to count function calls:
pid$target:CoreGraphics:CGContextShowGlyphsWithAdvances:entry
{
@[probefunc] = count();
}
objc$target:NSView:-_drawRect?clip?:entry
{
@[probefunc] = count();
}
Firefox with ~5 seconds of scrolling
-_drawRect:clip: 12355
CGContextShowGlyphsWithAdvances 32624
Safari with ~5 seconds of scrolling
CGContextShowGlyphsWithAdvances 2778
-_drawRect:clip: 4218
Updated•13 years ago
|
Comment 1•13 years ago
|
||
Scrolling on the URL feels good to me (Linux and OSX).
Comment 2•13 years ago
|
||
Timothy could you try the dtrace script to see how Firefox compares to Safari?
Maybe we still perform worse than Safari, also if the scrolling perf seems good.
Updated•2 years ago
|
Severity: normal → S3
Updated•2 years ago
|
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•