Skip to content

Peak JS Heap #17

@dchristian-ias

Description

@dchristian-ias

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions