Closed Bug 1722291 Opened 3 years ago Closed 3 months ago

Slow performance with CanvasRenderingContext2D.getImageData

Categories

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

Firefox 89
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: thom, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36

Steps to reproduce:

I accessed my employer's Okta page, which displays various logos of sites that we use for single sign-on.

Actual results:

The page slowly renders each logo, one by one, and all 14 logos take around 5 seconds to render, but then the logos appear blank again, and they slowly render again.

Performance profile: https://share.firefox.dev/3eTJq2g

Expected results:

This should all be displayed instantly as it does with other browsers.

The Bugbug bot thinks this bug should belong to the 'Core::Performance' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Performance
Product: Firefox → Core
Component: Performance → Canvas: 2D

Is there any way we can get a reduced testcase for the problem? It's hard to tell what's going on from just the profile here. It seems like a sizable amount of time is spent in JavaScript...

Flags: needinfo?(thom)
Severity: -- → S3
Priority: -- → P3

A needinfo is requested from the reporter, however, the reporter is inactive on Bugzilla. Given that the bug is still UNCONFIRMED, closing the bug as incomplete.

For more information, please visit BugBot documentation.

Status: UNCONFIRMED → RESOLVED
Closed: 3 months ago
Flags: needinfo?(thom)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.