-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Queued line draw performance in Gecko:
FPS: 7

Non-queued line draw performance in Gecko:
FPS: 62

Comparison: queued line draw performance in Chrome (V8):
FPS: 237

Comparison: non-queued line draw performance in Chrome (V8):
FPS: 150

Code
Most time appears to be spent in the 'moveTo()' function call here:
Constellation/constellation.js
Line 685 in 2a096a0
| ctx.moveTo(line.x1, line.y1); |
Possible solutions
- Select queue or non-queued based on browser (accurate browser detection becomes a maintenance issue)
- Troubleshoot/research
moveTo()performance in Gecko and work on alternative implementation or submit fix upstream.
Metadata
Metadata
Assignees
Labels
No labels