RESOLVED FIXED 109263
Web Inspector: Native Memory Instrumentation: adjust chunk transfer size for better speed.
https://bugs.webkit.org/show_bug.cgi?id=109263
Summary Web Inspector: Native Memory Instrumentation: adjust chunk transfer size for ...
Ilya Tikhonovsky
Reported 2013-02-07 23:51:08 PST
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. Also very long strings will significantly affect the transfer size.
Attachments
Patch (2.53 KB, patch)
2013-02-08 00:07 PST, Ilya Tikhonovsky
yurys: review+
Ilya Tikhonovsky
Comment 1 2013-02-08 00:07:57 PST
Yury Semikhatsky
Comment 2 2013-02-08 00:11:31 PST
(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?
Ilya Tikhonovsky
Comment 3 2013-02-08 00:17:51 PST
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
Ilya Tikhonovsky
Comment 4 2013-02-08 00:19:48 PST
Note You need to log in before you can comment on or make changes to this bug.