-
Notifications
You must be signed in to change notification settings - Fork 35
Description
Hi there,
I am currently utilizing the automated-chrome-profiling (or at least a very similar script) to generate a timeline-trace and devtools-timeline-model to model the returned events.
I am looking to find the Peak JS Heap size for the rendered page on page load, however I am running into some issues. When I load this trace file (changed extension to txt since my Mac seemed to have issues opening a downloaded trace file, you might need to change that back) into Chrome Devtools as "Load Timeline Data", I can see that the memory profiler shows the max JS Heap at 17564648, which I can locate in the trace file coming from an event with name UpdateCounters. However, if I do my own version of filtering for this event (name) type and return the largest jsHeapSizeUsed I get 83642800.
My main question is, how can I filter the UpdateCounters events to return the same data that builds the memory profiler in the devtools timeline, does devtools-timeline-model provide an easy way to do this?
Thanks!