Bug 193422 - Add option to JSC to dump memory footprint on script completion
Summary: Add option to JSC to dump memory footprint on script completion
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Michael Saboff
Keywords: InRadar
Depends on:
Reported: 2019-01-14 18:11 PST by Michael Saboff
Modified: 2019-01-15 03:39 PST (History)
7 users (show)

See Also:

Patch (2.88 KB, patch)
2019-01-14 18:22 PST, Michael Saboff
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Saboff 2019-01-14 18:11:55 PST
This is similar to the work done in <https://bugs.webkit.org/show_bug.cgi?id=189768> - "Add functions to measure memory footprint to JSC", extending it to a command line option.  Use of this option would dump the peak and current footprint when processing a script is completed.
Comment 1 Radar WebKit Bug Importer 2019-01-14 18:12:57 PST
Comment 2 Michael Saboff 2019-01-14 18:22:01 PST
Created attachment 359114 [details]
Comment 3 Mark Lam 2019-01-14 18:23:22 PST
Comment on attachment 359114 [details]

Comment 4 WebKit Commit Bot 2019-01-14 19:01:38 PST
Comment on attachment 359114 [details]

Clearing flags on attachment: 359114

Committed r239969: <https://trac.webkit.org/changeset/239969>
Comment 5 WebKit Commit Bot 2019-01-14 19:01:39 PST
All reviewed patches have been landed.  Closing bug.
Comment 6 Claudio Saavedra 2019-01-15 03:39:44 PST
I submitted a patch in https://bugs.webkit.org/show_bug.cgi?id=193441 to fix the printf()-related warnings.