Fix min computation in perf
Change-Id: Idbe5396587efe05f5a2cffff48f6fc202a2a84d5
diff --git a/tools/perf/index.html b/tools/perf/index.html
index 32bee4a..a9171c5 100644
--- a/tools/perf/index.html
+++ b/tools/perf/index.html
@@ -36,7 +36,7 @@
return this.reduce(function(x, y) { return x + y; }, 0) / this.length;
};
Array.prototype.min = function() {
- return this.reduce(function(x, y) { return x === null ? y : Math.min(x, y); }, null) / this.length;
+ return this.reduce(function(x, y) { return x === null ? y : Math.min(x, y); }, null);
};
// DOM references.