Summary: | Reduce generated JSON HeapSnapshot size | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> | ||||
Component: | JavaScriptCore | Assignee: | Joseph Pecoraro <joepeck> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | bburg, commit-queue, ggaren, joepeck, keith_miller, mark.lam, msaboff, saam, timothy | ||||
Priority: | P2 | ||||||
Version: | WebKit Nightly Build | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Joseph Pecoraro
2016-03-14 13:50:40 PDT
Created attachment 274022 [details]
[PATCH] Proposed Fix
Comment on attachment 274022 [details]
[PATCH] Proposed Fix
Do we have a benchmark that shows the reduction here?
(In reply to comment #2) > Comment on attachment 274022 [details] > [PATCH] Proposed Fix > > Do we have a benchmark that shows the reduction here? No, I just logged the JSON snapshot string for some very large web pages (I mostly focused on iCloud.com). I could add a JavaScriptCore/tests/heapProfiler test that creates a lot of objects and measures the generateHeapSnapshot() string length. I shied away from this because it would need to be fuzzy as JavaScriptCore changes. Is there a better way to test this? Comment on attachment 274022 [details] [PATCH] Proposed Fix Clearing flags on attachment: 274022 Committed r198159: <http://trac.webkit.org/changeset/198159> All reviewed patches have been landed. Closing bug. |