Bug 136281

Summary: build.webkit.org/dashboard: Poor performance when there are broken builds at initial load time
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: Tools / TestsAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, thorton, timothy
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed fix
thorton: review+
patch for landing none

Description Alexey Proskuryakov 2014-08-26 22:48:26 PDT
For failing builds, the dashboard tries to figure out how long the build was broken. If it doesn't happen to have the data for an older passing build already loaded, it starts to load all historic results for this revision.

This is extremely costly, as there is an HTTP request for each iteration.
Comment 1 Alexey Proskuryakov 2014-08-26 22:52:05 PDT
Created attachment 237205 [details]
proposed fix
Comment 2 Alexey Proskuryakov 2014-08-26 22:58:16 PDT
Builders are all shamelessly green, so I couldn't test the patch now :)
Comment 3 Tim Horton 2014-08-26 23:07:00 PDT
Comment on attachment 237205 [details]
proposed fix

View in context: https://bugs.webkit.org/attachment.cgi?id=237205&action=review

> Tools/ChangeLog:10
> +        the iteration is already beaing loaded.

s/beaing/being/

> Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotBuilderQueueView.js:111
> +                    queue.loadMoreHistoricIterations();

historic (adj.): "famous or important in history, or potentially so"

I think you want 'historical'. English is weird.
Comment 4 Alexey Proskuryakov 2014-08-26 23:17:59 PDT
Created attachment 237208 [details]
patch for landing

Thanks!
Comment 5 WebKit Commit Bot 2014-08-26 23:59:04 PDT
Comment on attachment 237208 [details]
patch for landing

Clearing flags on attachment: 237208

Committed r172998: <http://trac.webkit.org/changeset/172998>
Comment 6 WebKit Commit Bot 2014-08-26 23:59:06 PDT
All reviewed patches have been landed.  Closing bug.