GoogleChrome / devtools-docs

The legacy documentation for Chrome DevTools.
https://developer.chrome.com/devtools
691 stars 179 forks source link

Why aren't all functions displayed in the Record Heap Allocation? #325

Open bernardmizzi opened 6 years ago

bernardmizzi commented 6 years ago

I recorded the heap allocation so that I could take note of how much memory Javascript functions took. Using the Chrome Developer Tools I headed towards the Memory tab and selected Record allocation profile. There were several functions listed but surprisingly not all of them, and I know that all of them were called since I attached a log to all of them and they all appear in the CPU profiler where I could take note of their execution time. Surprisingly, it does not always provide the same result, sometimes functions appear and sometimes they do not.

Is there any reason why this happen or any solution to my problem?