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.
Created attachment 109147 [details]
Committed r96321: <http://trac.webkit.org/changeset/96321>