MAX VALUE for profiler

This commit is contained in:
javi 2013-11-18 12:04:48 +01:00
parent 064dc28ab1
commit 6ff52fefa1

View File

@ -37,7 +37,7 @@ Profiler.metrics = {};
Profiler.get = function(name) { Profiler.get = function(name) {
return Profiler.metrics[name] || { return Profiler.metrics[name] || {
max: 0, max: 0,
min: 10000000, min: Number.MAX_VALUE,
avg: 0, avg: 0,
total: 0, total: 0,
count: 0, count: 0,