Perf dashboard should extend baseline and target to the future
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 30 Nov 2015 21:12:43 +0000 (21:12 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 30 Nov 2015 21:12:43 +0000 (21:12 +0000)
commite2e6134eb2259066c17deb2ff41a8f529905e443
treec3dc7fd189b97aec3120c609c1cdb9227ad3027d
parent15e16de2e3a4d031fbee02e14e4638b905e6b95c
Perf dashboard should extend baseline and target to the future
https://bugs.webkit.org/show_bug.cgi?id=151511

Reviewed by Darin Adler.

* public/v2/data.js:
(RunsData.prototype.timeSeriesByCommitTime): Added extendToFuture as an argument.
(RunsData.prototype.timeSeriesByBuildTime): Ditto.
(RunsData.prototype._timeSeriesByTimeInternal): Ditto.
(TimeSeries): Add a new point to the end if extendToFuture is set and the series is not empty.
* public/v2/manifest.js:
(App.Manifest._formatFetchedData): Set extendToFuture to true for baselines and targets.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@192818 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Websites/perf.webkit.org/ChangeLog
Websites/perf.webkit.org/public/v2/data.js
Websites/perf.webkit.org/public/v2/manifest.js