Bug 136559

Summary: Dashboard metrics page wastes a lot of time sorting iterations
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: Tools / TestsAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: thorton
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed fix thorton: review+

Description Alexey Proskuryakov 2014-09-04 17:09:21 PDT
We now re-sort iterations array for every iteration that is parsed, which makes no sense at all. Especially because we don't even end up with a sorted array, as we sort it before adding to it.

This only affects the metrics page, not the regular dashboard which updates previously shallowly loaded iterations in place.
Comment 1 Alexey Proskuryakov 2014-09-04 18:10:14 PDT
Created attachment 237665 [details]
proposed fix
Comment 2 Alexey Proskuryakov 2014-09-05 12:09:29 PDT
Committed <http://trac.webkit.org/r173322>.