Summary: | Web Inspector: Native Memory Instrumentation: adjust chunk transfer size for better speed. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ilya Tikhonovsky <loislo> | ||||
Component: | Web Inspector (Deprecated) | Assignee: | Ilya Tikhonovsky <loislo> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | apavlov, keishi, loislo, pfeldman, pmuellr, vsevik, web-inspector-bugs, yurys | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 107254 | ||||||
Attachments: |
|
Description
Ilya Tikhonovsky
2013-02-07 23:51:08 PST
Created attachment 187251 [details]
Patch
(In reply to comment #0) > With the current values the snapshot on gmail requires about 27sec. > This operation could be 30 times faster if we increase the chunk size from 100 items to 10000. What would be an average message size in bytes in this case? sizeof(int) * 10000 * nodeFieldCount = 200kb sizeof(int) * 10000 * edgeFieldCount = 120kb sizeof(int) * 10000 * idMapEntryFieldCount = 80kb sizeof(String) * 1000 = 80kb So the expected working set for the serializer is ~480kb Committed r142241: <http://trac.webkit.org/changeset/142241> |