Closed Bug 1556163 Opened 5 years ago Closed 5 years ago

webrender: zoom/scrolling slow with large drawio diagrams

Categories

(Core :: Graphics: WebRender, defect, P3)

69 Branch
defect

Tracking

()

RESOLVED FIXED

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).

Keywords: perf, reproducible
Blocks: wr-perf
Priority: -- → P3
Whiteboard: [gfx-noted]

Very bad blob layerization causes us to render, upload and store a gigantic amout of pixels.

This might be helped by bug 1582210

Depends on: 1582210

This is a lot better now that bug 1582210 has landed.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED

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.

You need to log in before you can comment on or make changes to this bug.