Closed Bug 1340228 Opened 7 years ago Closed 2 years ago

Terrible painting performance on cleopatra

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: ehsan.akhgari, Unassigned)

References

Details

Cleopatra is almost unusably slow if you increase the Gecko Profiler buffer size (I use 90MB for example).

I was wondering why that is today.  It seems like our painting is extremely inefficient on this page.  For example, see this profile: https://perfht.ml/2lSX6NT.  We are spending 8 *seconds* in nsDisplayList::PaintRoot(), in several chunks.  This is easily visible if you for example try selecting a range in the timeline.  Each click has a lag of seconds to have any effect.

The profile in question from which the measurement was obtained is <https://perf-html.io/public/55385c23113278e8db31a2fee58338fdbf04bfd1/calltree/?search=topicListener&thread=1>.
If you turn on paintflashing you'll note that we overpaint the timeline area all the time.  For example, when you hover the timeline, it seems we paint the entire timeline.

This is long fixed.

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.