G
G
Grabus2015-08-21 23:23:25
JavaScript
Grabus, 2015-08-21 23:23:25

How to determine what the garbage collector removes in chrome?

With certain actions, I see this picture.
2015-08-21%2B23-11-26.png?Expires=144027
Sometimes it's a lot of points in 1-2 mb, sometimes three points in 15-20 mb.
But it's always a 3 second freeze.
In short, this is a list of 1000 complex house elements, sorted, filtered and grouped.
These cleanups happen when regrouping, but house elements are not removed/created, but moved from group to group.
I would like to optimize this place to get rid of the three-second freeze, but I can’t figure out what exactly the GC cleans.
The timeline does not show what is being cleaned there, but only the fact that gc is working.
I tried to make two Heap Snapshots in the profiler and compare them, but I could not figure out how to see what gc deleted, although I read the docs.
Please help with advice or instructions.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question