Canvas performance really poor compared to Chrome
Categories
(Core :: Graphics: Canvas2D, defect, P3)
Tracking
()
People
(Reporter: eriksombroek, Unassigned)
References
Details
Attachments
(1 file)
6.31 MB,
application/zip
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36
Steps to reproduce:
Just open up my game in Firefox and compare the performance with Chrome.
Try it here:
https://upbeat-feynman-b1cf9c.netlify.app/
Actual results:
The performance is a lot worse in Firefox. I believe this has to do with larger transparent images, but I don't know which instruction is the culprit.
Expected results:
I expect a comparable performance with Chrome.
Comment 1•5 years ago
|
||
Hi Erik,
I've managed to reproduce the issue on MacOS 10.15 using Firefox 76.0.1 and Firefox Nightly 78.0a1
I'm going to set a component in order to involve the development team in reviewing this issue.
Thank you for reporting!
Updated•5 years ago
|
Hello,
I am using Firefox Developer Edition (Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:79.0) Gecko/20100101 Firefox/79.0), and my 2D canvas game performance has been increasingly getting worse with every browser update. I have prepared a little demo, which can be found here:
https://descriptive-river-cartoon.glitch.me/
I have deliberately made the demo spawn multiple, heavily tweened objects so the frame-rate drop is noticeable. The test is made with Firefox Dev. Edition 79 vs Chrome Canary 86. Chrome performs notably better in the demo. The issue persists in the current Firefox Nightly release as well. If its of importance, the test has been made at 2560x1440 screen resolution.
Thank you for taking your time!
Description
•