Did not investigate on the problem, but there seems to be an perf issue on Canvas for the link above.
The situation seems to be much better with current master. Unnecessary copying of images, recently fixed, might have something to do with this?
Most of the time currently seems to be spent inside cairo (as I would expect): 68.49% /home/kov/gnome/usr/lib64/libcairo.so.2.10912.0 GtkLauncher
Created attachment 64733 [details] Full perf report Here's the full output of my (quick) perf run.
We call save and restore on every filling or stroking of a path. And on filling a path, we call cairo_paint_with_alpha instead of cairo_fill if we don't have alpha for regular colors. I guess it would be a speedup if we can get rid of it somehow. It's not only canvas, SVG has the same issues.
The link is quite speedy for my system and the issues that Dirk mentions are fixed in the patch here: https://bugs.webkit.org/show_bug.cgi?id=71179