@probe.gl/stats
Advanced tools
Comparing version 4.0.3 to 4.0.4
@@ -1,33 +0,18 @@ | ||
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
import getHiResTimestamp from "../utils/hi-res-timestamp.js"; | ||
export default class Stat { | ||
constructor(name, type) { | ||
_defineProperty(this, "name", void 0); | ||
_defineProperty(this, "type", void 0); | ||
_defineProperty(this, "sampleSize", 1); | ||
_defineProperty(this, "time", 0); | ||
_defineProperty(this, "count", 0); | ||
_defineProperty(this, "samples", 0); | ||
_defineProperty(this, "lastTiming", 0); | ||
_defineProperty(this, "lastSampleTime", 0); | ||
_defineProperty(this, "lastSampleCount", 0); | ||
_defineProperty(this, "_count", 0); | ||
_defineProperty(this, "_time", 0); | ||
_defineProperty(this, "_samples", 0); | ||
_defineProperty(this, "_startTime", 0); | ||
_defineProperty(this, "_timerPending", false); | ||
this.name = void 0; | ||
this.type = void 0; | ||
this.sampleSize = 1; | ||
this.time = 0; | ||
this.count = 0; | ||
this.samples = 0; | ||
this.lastTiming = 0; | ||
this.lastSampleTime = 0; | ||
this.lastSampleCount = 0; | ||
this._count = 0; | ||
this._time = 0; | ||
this._samples = 0; | ||
this._startTime = 0; | ||
this._timerPending = false; | ||
this.name = name; | ||
@@ -34,0 +19,0 @@ this.type = type; |
@@ -1,9 +0,6 @@ | ||
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
import Stat from "./stat.js"; | ||
export default class Stats { | ||
constructor(options) { | ||
_defineProperty(this, "id", void 0); | ||
_defineProperty(this, "stats", {}); | ||
this.id = void 0; | ||
this.stats = {}; | ||
this.id = options.id; | ||
@@ -10,0 +7,0 @@ this.stats = {}; |
@@ -6,3 +6,3 @@ { | ||
"type": "module", | ||
"version": "4.0.3", | ||
"version": "4.0.4", | ||
"keywords": [ | ||
@@ -37,3 +37,3 @@ "javascript", | ||
}, | ||
"gitHead": "1233ca24c730e77a87dd0d732e8fe24b23b259c5" | ||
"gitHead": "ba5896c2dcd6fae06c6186630a7fa828df2e46af" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38018
699