Bug 69081

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>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch pfeldman: review+

Ilya Tikhonovsky
Reported 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.
Attachments
Patch (4.76 KB, patch)
2011-09-29 04:20 PDT, Ilya Tikhonovsky
pfeldman: review+
Ilya Tikhonovsky
Comment 1 2011-09-29 04:20:33 PDT
Ilya Tikhonovsky
Comment 2 2011-09-29 04:58:35 PDT
Note You need to log in before you can comment on or make changes to this bug.