Changeset 142241 in webkit
- Timestamp:
- Feb 8, 2013 12:18:04 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r142240 r142241 1 2013-02-08 Ilya Tikhonovsky <loislo@chromium.org> 2 3 Web Inspector: Native Memory Instrumentation: adjust chunk transfer size for better speed. 4 https://bugs.webkit.org/show_bug.cgi?id=109263 5 6 Reviewed by Yury Semikhatsky. 7 8 The chunk size is changed from 100 to 10000. 9 addString counts only first 256 symbols of the string.o 10 11 * inspector/HeapGraphSerializer.cpp: 12 (WebCore::HeapGraphSerializer::pushUpdateIfNeeded): 13 (WebCore::HeapGraphSerializer::addString): 14 * inspector/front-end/NativeMemorySnapshotView.js: 15 1 16 2013-02-08 Kentaro Hara <haraken@chromium.org> 2 17 -
trunk/Source/WebCore/inspector/HeapGraphSerializer.cpp
r142074 r142241 70 70 void HeapGraphSerializer::pushUpdateIfNeeded() 71 71 { 72 static const size_t chunkSize = 100 ;72 static const size_t chunkSize = 10000; 73 73 static const size_t averageEdgesPerNode = 5; 74 74 … … 175 175 if (string.isEmpty()) 176 176 return 0; 177 StringMap::AddResult result = m_stringToIndex.add(string , m_stringToIndex.size() + 1);177 StringMap::AddResult result = m_stringToIndex.add(string.left(256), m_stringToIndex.size() + 1); 178 178 if (result.isNewEntry) 179 179 m_strings->addItem(string); -
trunk/Source/WebCore/inspector/front-end/NativeMemorySnapshotView.js
r142239 r142241 232 232 __proto__: WebInspector.DataGridNode.prototype 233 233 } 234 235 236 237 234 238 235 /**
Note: See TracChangeset
for help on using the changeset viewer.