Open Bug 1566949 Opened 5 years ago Updated 2 years ago

Lots of drawImage calls on the CPU at wormate.io

Categories

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

defect

Tracking

()

Tracking Status
firefox70 --- affected

People

(Reporter: emilio, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: perf)

We seem to draw everything on the CPU, which is not great. Profile:

I don't know which heuristics / caches are involved here, but we seem to be missing all of them.

I also attached a chrome trace, for comparison, and they don't seem to spend so much main-thread time on skia (the hottest functions are appending commands around IIUC). Though I need to admit I'm not very familiar with all the chrome tracing stuff.

I ended up not being able to upload the trace to BMO since it's more than 10 megs, so here's a link: https://crisal.io/tmp/chrome-trace-bmo-1566949.json.gz

Flags: needinfo?(lsalzman)
Flags: needinfo?(lsalzman)
Keywords: perf
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.