Open Bug 368018 Opened 18 years ago Updated 2 years ago

Slow painting of page with 90,000 1px by 1px floated divs

Categories

(Core :: Web Painting, defect)

x86
Linux
defect

Tracking

()

People

(Reporter: bzbarsky, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: perf)

Attachments

(1 file)

Attached file Zipped-up jprof3.html
The testcase is in bug 350228. If you're patient and let it load, it draws really slowly. The time is at least half taken by nsThebesRenderingContext::FillRect painting the background color (not surprising). We _are_ hitting _cairo_surface_fallback_fill from INT__moz_cairo_fill_preserve. not sure whether that's relevant. We also seem to spend time in _moz_cairo_set_source_rgba. Of the 128476 total hits in the testcase, 7148 are under free() and 12489 are under malloc(). That's about 16% of the total time. Pretty much all the callers for those are inside cairo...
Blocks: 350228
QA Contact: ian → layout.view-rendering
Component: Layout: View Rendering → Layout: Web Painting
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: