webrender: zoom/scrolling slow with large drawio diagrams
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
People
(Reporter: paulkek, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: perf, reproducible, Whiteboard: [gfx-noted])
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36
Steps to reproduce:
This happens on Firefox Nightly 69.0a1 (2019-06-01) (64-bit) and probably before.
System information:
Linux 5.1.6-arch1-1-ARCH #1 SMP PREEMPT Fri May 31 15:17:53 UTC 2019 x86_64 GNU/Linux
CPU: Intel i7-6700k
GPU: Intel HD Graphics 530
1.) Enable webrender
2.) Open this file in drawio: https://drive.google.com/file/d/1zO9Vx8RBB7Ey0Ak-gx4Il6uSqVVH-VDw/view
Actual results:
Scrolling and zoom is "sluggish"/slow, it's barely usable for me.
Expected results:
The overall page experience should be responsive. It works with webrender disabled (on chrome is also works fine).
Updated•5 years ago
|
Updated•5 years ago
|
Comment 1•5 years ago
|
||
Very bad blob layerization causes us to render, upload and store a gigantic amout of pixels.
Comment 3•5 years ago
|
||
This is a lot better now that bug 1582210 has landed.
Comment 4•5 years ago
|
||
This is a lot better now that bug 1582210 has landed.
Indeed, the layerization and invalidation is quite reasonable now.
The content main thread is pretty busy with display list building in general, a good chunk of it being in the blobs code. Most threads are rather busy during scrolling (which is still pretty sluggish). But other than DL building, blobs aren't to blame anymore as far as I can tell. Picture caching isn't helping scrolling at all.
Description
•