How Can I Log What Is Being Garbage Collected In My Javascript Code?
I've built an application that wastes 40% of its time collecting garbage, and I'm at my wits' end trying to find out where it is coming from. I've corralled any possible problems i
Solution 1:
In Chrome I would start with following:
- DevTools > Profile
- Take Heap Snapshot
- Working with the application
- Take Heap Snapshot again
- Inspect the second snapshot in the comparision mode
Following links may be useful:
Post a Comment for "How Can I Log What Is Being Garbage Collected In My Javascript Code?"