|Summary:||Web Inspector: speed-up Network panel. Change _staleResources type from array to object.|
|Product:||WebKit||Reporter:||Ilya Tikhonovsky <loislo>|
|Component:||Web Inspector (Deprecated)||Assignee:||Ilya Tikhonovsky <loislo>|
|Severity:||Normal||CC:||apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys|
|Version:||528+ (Nightly build)|
Description Ilya Tikhonovsky 2011-09-29 04:10:52 PDT
there is a test with 30 requests. For the each stage of loading the resource we have an entry in _staleResources array. There is at least 4 stages per request. _refresh function is creating/updating the resource row for each such entry. this array can be replaced with a hash map just because the resource associated with the entry is the same for all such entries with the same request id.