Open Bug 1425389 Opened 6 years ago Updated 2 years ago

Low javascript performance on Firefox Quantum

Categories

(Core :: Graphics, enhancement, P3)

57 Branch
All
Windows 10
enhancement

Tracking

()

UNCONFIRMED
Performance Impact low

People

(Reporter: tony_node2010, Unassigned)

Details

(Keywords: perf, Whiteboard: [gfx-noted])

What did you do?
================
1. Used snow effect javascript plug-in on my website.
2. Tested on Chrome and IE, both runs smoothly.
3. Tried in on Firefox Quantum, it lags the whole browsing experience.

What happened?
==============
Javascript plug-in is running really slow on Firefox Quantum but very smooth on Chrome and other browsers.

What should have happened?
==========================
It should be running smoothly.

Is there anything else we should know?
======================================
Please use this javascript plugin here: 
https://github.com/scottschiller/Snowstorm

and the bug report here:
https://github.com/scottschiller/Snowstorm/issues/31

Here's the demo:
http://www.schillmania.com/projects/snowstorm/
Component: Performance → Untriaged
Product: Mozilla Developer Network → Firefox
Component: Untriaged → Canvas: 2D
Keywords: perf, power
OS: Other → Windows 10
Product: Firefox → Core
Whiteboard: [specification][type:bug]
Version: unspecified → 57 Branch
Priority: -- → P3
Whiteboard: [qf][gfx-noted]
Based on https://perfht.ml/2BMNjiX this is not really the canvas code that's slow but rather something about upload and composition. I don't think this is very high priority since it probably isn't super common on real websites, but for performance parity I think we should fix this.
Component: Canvas: 2D → Graphics
Whiteboard: [qf][gfx-noted] → [qf:p3][gfx-noted]
Keywords: power
Performance Impact: --- → P3
Whiteboard: [qf:p3][gfx-noted] → [gfx-noted]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.