Closed Bug 814318 Opened 13 years ago Closed 12 years ago

Selecting text on page is slow. Causes janks and high CPU usage.

Categories

(Core :: Graphics, defect)

20 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mayankleoboy1, Unassigned)

References

()

Details

(Keywords: perf)

Attachments

(1 file)

Attached file about support.txt —
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20.0 Firefox/20.0 Build ID: 20121121030712 Steps to reproduce: 1. Enable HWA 2. go to https://brendaneich.com/2012/10/harmony-of-dreams-come-true/ 3. Scroll the page. Actual results: Quite bad scrolling. Expected results: Good scrolling. With HWA OFF, i get good scrolling. I suspect that the black text boxes are causing the scrolling jank. Profile : http://people.mozilla.com/~bgirard/cleopatra/#report=7f8c546e1c3110bdb131871af3d67fb46fab160d&mergeUnbranched=true&invertCallback=true
Component: Untriaged → Graphics
Product: Firefox → Core
Keywords: perf
Its not the black boxes that causes janks. It is the text inside that is heavy. In the bottom half, there is a big black box. Try to select and *deselect* text in that. Deselection is specially quite slow, and causes CPU spikes with HWA on.
Summary: Scrolling jank on https://brendaneich.com/2012/10/harmony-of-dreams-come-true/ → Selecting text on page is slow. Causes janks and high CPU usage.
IE10 RC : Janky with both HW on and off Opera : Quite janky with HW on. With HWA off, janks quite less. CPU usage during scrolling is 100%. Selecting text uses no CPU. Chrome : Smooth. And does not fully saturate one core. Nightly 22 --> HWA on : Very Janky scrolling. Very Janky selecting text. 100% CPU use in both actions. Hwa off : Scrolling is less janky. But 100% CPU usage. Selecting text is good. And does not use much CPU. **100% CPU means 100% of one core. Or 25% on a quad core machine.**
Blocks: 100951
this is still janky as of the latest nightly https://hg.mozilla.org/mozilla-central/rev/0894d2cdb16d
the page has changed. cant repro anymore.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: