4 ms·
Webgl is tho. But even in 2d context api, you have bigger control over how your content is being printed than in html. Which means that a lot of operations that
by Byamarro 5y ago
Webgl is tho. But even in 2d context api, you have bigger control over how your content is being printed than in html. Which means that a lot of operations that DOM performs unnecessarily in the context of Google docs can be simply discarded.
- bayesian_horse 5y agoYes, which is why in general, DOM rendering is faster, while in special cases, with a lot of manual optimization, canvas rendering is more performant.