RESOLVED FIXED 98431
JSC should have a way to gather and log Heap memory use and pause times
https://bugs.webkit.org/show_bug.cgi?id=98431
Summary JSC should have a way to gather and log Heap memory use and pause times
Mark Hahnenberg
Reported 2012-10-04 11:21:31 PDT
In order to improve our infrastructure for benchmark-driven development, we should have a centralized method of gathering and logging various statistics about the state of the JS heap. This would allow us to create and to use other tools to analyze the output of the VM after running various workloads. The first two statistics that might be interesting is memory use by JSC and GC pause times. We can control whether this recording happens through the use of the Options class, allowing us to either use environment variables or command line flags.
Attachments
Patch (28.32 KB, patch)
2012-10-04 11:37 PDT, Mark Hahnenberg
no flags
Patch (30.61 KB, patch)
2012-10-04 12:11 PDT, Mark Hahnenberg
no flags
Patch (29.79 KB, patch)
2012-10-04 13:49 PDT, Mark Hahnenberg
no flags
Patch (30.34 KB, patch)
2012-10-04 15:14 PDT, Mark Hahnenberg
no flags
Patch (30.28 KB, patch)
2012-10-04 16:33 PDT, Mark Hahnenberg
no flags
Patch (31.00 KB, patch)
2012-10-04 18:55 PDT, Mark Hahnenberg
no flags
Mark Hahnenberg
Comment 1 2012-10-04 11:37:17 PDT
WebKit Review Bot
Comment 2 2012-10-04 11:40:44 PDT
Attachment 167148 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source..." exit_code: 1 Source/JavaScriptCore/runtime/Options.h:178: size_tVal is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4] Total errors found: 1 in 12 files If any of these errors are false positives, please file a bug against check-webkit-style.
Mark Hahnenberg
Comment 3 2012-10-04 12:11:52 PDT
WebKit Review Bot
Comment 4 2012-10-04 12:13:51 PDT
Attachment 167155 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/CMakeLists.txt', u'S..." exit_code: 1 Source/JavaScriptCore/runtime/Options.h:178: size_tVal is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4] Total errors found: 1 in 16 files If any of these errors are false positives, please file a bug against check-webkit-style.
Gyuyoung Kim
Comment 5 2012-10-04 12:55:03 PDT
Early Warning System Bot
Comment 6 2012-10-04 12:57:45 PDT
Build Bot
Comment 7 2012-10-04 13:20:24 PDT
Build Bot
Comment 8 2012-10-04 13:30:00 PDT
Early Warning System Bot
Comment 9 2012-10-04 13:38:22 PDT
Mark Hahnenberg
Comment 10 2012-10-04 13:49:26 PDT
Build Bot
Comment 11 2012-10-04 14:42:14 PDT
Build Bot
Comment 12 2012-10-04 14:57:04 PDT
Mark Hahnenberg
Comment 13 2012-10-04 15:14:42 PDT
Build Bot
Comment 14 2012-10-04 15:52:15 PDT
Mark Hahnenberg
Comment 15 2012-10-04 16:33:31 PDT
Build Bot
Comment 16 2012-10-04 18:48:04 PDT
Mark Hahnenberg
Comment 17 2012-10-04 18:55:44 PDT
Geoffrey Garen
Comment 18 2012-10-04 21:24:47 PDT
Comment on attachment 167221 [details] Patch r=me
WebKit Review Bot
Comment 19 2012-10-05 10:35:42 PDT
Comment on attachment 167221 [details] Patch Clearing flags on attachment: 167221 Committed r130520: <http://trac.webkit.org/changeset/130520>
WebKit Review Bot
Comment 20 2012-10-05 10:35:46 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.