mardi 6 novembre 2018

Why does frequent garbage collection cause jank in UI?

In the V8 blink rendering engine the scheduler only executes garbage collection during idle time. But why does Chrome dev tools document say:

Spot frequent garbage collections If your page appears to pause frequently, then you may have garbage collection issues.

https://developers.google.com/web/tools/chrome-devtools/memory-problems/

Garbage collection shouldn't affect the UI since its always scheduled to be in the remaining idle time of 60ms?




Aucun commentaire:

Enregistrer un commentaire