Steps to reproduce
See and run following example code: http://plnkr.co/edit/QkxLrzcDXh1XVDwOzx04
IE and Edge slow down after about 10-20 seconds or so, to the extent you will struggle to do anything in the browser.
Note this code was designed to exhibit the problem quickly.
No performance degradation. Firefox and Chrome cope fine with this.
Save and restore are supposed to include the clipping region in the saved state, therefore the clipping region should be cleared with each call to restore:
Therefore there should be no problem with this code.
Dev Channel specific:
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “Rico M.”
Changed Assigned To to “Christian F.”
Changed Assigned To from “Christian F.” to “Li-Hsin H.”
This is seriously affecting us, we have an application where a big part of is a canvas used to display data. A grid is created (requestanimationframe used). Works perfectly in chrome/firefox, massively laggy in edge.