Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Unified Diff: tracing/tracing/metrics/compare_samples_cmdline.html

Issue 2771723003: [tracing] Move math utilities from base into their own subdirectory (attempt 2) (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tracing/tracing/metrics/blink/gc_metric.html ('k') | tracing/tracing/metrics/sample_metric.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/metrics/compare_samples_cmdline.html
diff --git a/tracing/tracing/metrics/compare_samples_cmdline.html b/tracing/tracing/metrics/compare_samples_cmdline.html
index c0a7d4e90526e1f2d263822cb7eaa7e8668dfce0..0b557e15dca801268b99bd80ee999f1abe01bebd 100644
--- a/tracing/tracing/metrics/compare_samples_cmdline.html
+++ b/tracing/tracing/metrics/compare_samples_cmdline.html
@@ -6,7 +6,7 @@ found in the LICENSE file.
-->
<link rel="import" href="/tracing/base/iteration_helpers.html">
-<link rel="import" href="/tracing/base/statistics.html">
+<link rel="import" href="/tracing/base/math/statistics.html">
<link rel="import" href="/tracing/base/xhr.html">
<link rel="import" href="/tracing/value/histogram_set.html">
@@ -84,7 +84,7 @@ function valuesFromCharts(listOfCharts, metricName) {
'list_of_scalar_values') {
if (charts.charts[chartName][traceName].values === null)
continue;
- allValues.push(tr.b.Statistics.mean(
+ allValues.push(tr.b.math.Statistics.mean(
charts.charts[chartName][traceName].values));
}
if (charts.charts[chartName][traceName].type === 'histogram')
@@ -227,12 +227,12 @@ function parseMultipleBuildbotStreams(files, metric) {
var buildComparisonResultOutput = function(a, b) {
if (!a.length || !b.length) {
var comparisonResult = {
- significance: tr.b.Statistics.Significance.NEED_MORE_DATA
+ significance: tr.b.math.Statistics.Significance.NEED_MORE_DATA
};
} else {
- var comparisonResult = tr.b.Statistics.mwu(
- a, b, tr.b.Statistics.DEFAULT_ALPHA,
- tr.b.Statistics.MAX_SUGGESTED_SAMPLE_SIZE);
+ var comparisonResult = tr.b.math.Statistics.mwu(
+ a, b, tr.b.math.Statistics.DEFAULT_ALPHA,
+ tr.b.math.Statistics.MAX_SUGGESTED_SAMPLE_SIZE);
}
return {
sampleA: a,
« no previous file with comments | « tracing/tracing/metrics/blink/gc_metric.html ('k') | tracing/tracing/metrics/sample_metric.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698