|
|
|
|
|
by elbajo
1517 days ago
|
|
Love this approach, thanks for sharing! I am trying this on a website for which Puppeteer has trouble loading so I got a heap snapshot directly in Chrome. I was trying to search for relevant objects directly in the Chrome heap viewer but I don't think the search looks inside objects. I think your tool would work: "puppeteer-heap-snapshot query -f /tmp/file.heapsnapshot -p property1" or really any JSON parser but it requires extra steps.
Would you say this is the easiest way to view/debug a heap snapshot? |
|