Closed Bug 825561 Opened 12 years ago Closed 9 years ago

Over invalidation on page 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

Attachments

(1 file)

292.09 KB, application/octet-stream
Details
Attached file complete web page
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20121230 Firefox/20.0
Build ID: 20121230030830

Steps to reproduce:

1. Create a fresh profile
2. Enable debug paint flashing
3. Go to http://onlyssd.com/ssd-brand/buy-crucial-ssd
4. Click anywhere on the page.    Snow will start dropping from the sky.



Actual results:

1.Each snow particle causes huge invalidations.
2.If possible, check CPU usage. It uses 100% of one core.
3. Try scrolling. Full page invalidation.


Expected results:

Less CPU usage. less invalidation. More page responsivity.


*************************************************
Attaching the complete page HTML.
This page is somewhat similar to the "IE10 bubbles demo".
Also, FWIW, the falling snowflakes fall faster in FF15, Opera12.12 and IE10RC, as compared to the latest Nightly.
Component: Untriaged → Layout
Product: Firefox → Core
Summary: Over invalidation on http://onlyssd.com/ssd-brand/buy-crucial-ssd → Over invalidation on page causes janks and high CPU usage
The page seems to have removed the offending script, so to reproduce, see the attached complete webpage.
Only the individual snow particles repaint now. And the heading in the top also repaints a lot.
The rest of the page doesnt repaint. However, the CPU use is still 100%
testcase URL fails http://www.onlyssd.com/ssd-brand/buy-crucial-ssd
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
I have attached the complete webpage as an attachment here.  The snowflakes will take 10-12 seconds to appear, and are not clearly visible. But they do affect the performnace.
  
On the latest nightly with a fresh profile, this page still causes heavy janks while scrolling, and opening menus etc.
I could not verify whether there is overinvalidation or not.

I am tentatively reopening this bug. Please do check the attached webpage.  If you dont find anything actionable, feel free to close this.
Status: RESOLVED → UNCONFIRMED
Resolution: INCOMPLETE → ---
I never see the snowflakes, and performance in IE and chrome are far worse.

Does it reproduce for you in safe mode?
Flags: needinfo?(mayankleoboy1)
If you see debug paint flashing from the dev toolbar, you will see the snowflakes on the screen.

The invalidation problem is much better now. Each snowflake repaints only a very minimal amount.  However, the page is laggy in scrolling, and the menus take a long time to appear.

The problem is better in safe mode. So probably a gfx issue?
Flags: needinfo?(mayankleoboy1)
Component: Layout → Graphics
404 page not found :/
cant repro anymore.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago9 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: