Changeset 174655 in webkit
- Timestamp:
- Oct 13, 2014, 11:46:30 AM (11 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsAnalyzer.js
r174622 r174655 394 394 395 395 var waitTimes = []; 396 var patchesThatWaitedMoreThan3Minutes = []; 396 397 var totalTimes = []; 397 398 var totalTimesForPatchesThatWereNotRetried = []; … … 408 409 // Wait time is equally interesting for all patches. 409 410 waitTimes.push(patch.wait_duration); 411 412 if (patch.wait_duration > 3 * 60) 413 patchesThatWaitedMoreThan3Minutes.push(patchID); 410 414 411 415 if (patch.resolution === "not processed") … … 450 454 medianWaitTimeInSeconds: waitTimes.median(), 451 455 averageWaitTimeInSeconds: waitTimes.average(), 456 maximumWaitTimeInSeconds: Math.max.apply(Math, waitTimes), 457 patchesThatWaitedMoreThan3MinutesCount: patchesThatWaitedMoreThan3Minutes.length, 452 458 patchesThatCausedInternalError: patchesThatCausedInternalError, 453 459 }; -
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsBubbleView.js
r174624 r174655 163 163 164 164 addDivider(this.element); 165 addLine(this.element, "Median wait time before processing started: " + pluralizeMinutes(this._results.medianWaitTimeInSeconds) + "."); 165 addLine(this.element, "Wait time before processing started:"); 166 addLine(this.element, "- median: " + pluralizeMinutes(this._results.medianWaitTimeInSeconds) + ";"); 167 addLine(this.element, "- average: " + pluralizeMinutes(this._results.averageWaitTimeInSeconds) + "."); 168 addLine(this.element, "- worst: " + pluralizeMinutes(this._results.maximumWaitTimeInSeconds) + "."); 169 if (this._results.medianWaitTimeInSeconds < 3 * 60 && this._results.patchesThatWaitedMoreThan3MinutesCount) 170 addLine(this.element, formatPercentage(this._results.patchesThatWaitedMoreThan3MinutesCount / this._results.totalPatches) + " of patches had a wait time of more than 3 minutes."); 166 171 167 172 if (this._results.patchesThatCausedInternalError.length) { -
trunk/Tools/ChangeLog
r174652 r174655 1 2014-10-13 Alexey Proskuryakov <ap@apple.com> 2 3 Add more detailed wait time information to EWS metrics 4 https://bugs.webkit.org/show_bug.cgi?id=137649 5 6 Reviewed by Daniel Bates. 7 8 Added average and worst time (we used to only have median), and also a percentage 9 of patches that took a non-trivial time to start. Non-trivial is defined as 3 minutes. 10 11 There is always some wait due to the polling nature of the queues, which is well understood 12 and doesn't need to be measured. What needs to be measured is whether there is enough 13 bot machines to process patches as soon as they are submitted. 14 15 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsAnalyzer.js: 16 (Analyzer.prototype._analyzeBubblePerformance): 17 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsBubbleView.js: 18 (MetricsBubbleView.prototype._update): 19 1 20 2014-10-11 Jer Noble <jer.noble@apple.com> 2 21
Note:
See TracChangeset
for help on using the changeset viewer.