[perf.webkit.org] Update summary page calculations to use mean instead of median
authordean_johnson@apple.com <dean_johnson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 Jun 2019 18:20:43 +0000 (18:20 +0000)
committerdean_johnson@apple.com <dean_johnson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 Jun 2019 18:20:43 +0000 (18:20 +0000)
commit1cf8dc2b80983e08224d62b63811426ff72dd889
tree35c7b169f6f00171e26f092df06f8e51987b551a
parentcc7b542517e55e6d0259a31cb77736c160934c97
[perf.webkit.org] Update summary page calculations to use mean instead of median
https://bugs.webkit.org/show_bug.cgi?id=199050

Reviewed by Dewei Zhu.

* public/v3/pages/summary-page.js:
(SummaryPageConfigurationGroup): Updated 'median' references to 'mean'.
(SummaryPageConfigurationGroup.set _startAndEndPointForTimeRange): Factored out logic for finding data
points in a timeSeries, within a specified timeRange.
(SummaryPageConfigurationGroup.set _meanForTimeRange): New. Returns the mean of a timeSeries across a
given timeRange.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@246743 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Websites/perf.webkit.org/ChangeLog
Websites/perf.webkit.org/public/v3/pages/summary-page.js