Bug 64899

Summary: show a list of average test times in the treemap
Product: WebKit Reporter: Ojan Vafai <ojan>
Component: New BugsAssignee: Ojan Vafai <ojan>
Status: RESOLVED FIXED    
Severity: Normal CC: aroben
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch aroben: review+

Ojan Vafai
Reported 2011-07-20 16:04:01 PDT
show a list of average test times in the treemap
Attachments
Patch (5.60 KB, patch)
2011-07-20 16:05 PDT, Ojan Vafai
aroben: review+
Ojan Vafai
Comment 1 2011-07-20 16:05:25 PDT
Adam Roben (:aroben)
Comment 2 2011-07-20 16:09:31 PDT
Comment on attachment 101523 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=101523&action=review > Tools/TestResultServer/static-dashboards/treemap.html:206 > + if (avgA > avgB) > + return -1; > + else if (avgA == avgB) > + return 0; > + else > + return 1; It's simpler to say: return avgB - avgA;
Ojan Vafai
Comment 3 2011-07-20 16:13:57 PDT
(In reply to comment #2) > (From update of attachment 101523 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=101523&action=review > > > Tools/TestResultServer/static-dashboards/treemap.html:206 > > + if (avgA > avgB) > > + return -1; > > + else if (avgA == avgB) > > + return 0; > > + else > > + return 1; > > It's simpler to say: > > return avgB - avgA; Whoops. I had it in my head that this was an issue in some cases, but that's only when strings are involved.
Ojan Vafai
Comment 4 2011-07-20 16:15:35 PDT
Note You need to log in before you can comment on or make changes to this bug.