Remove window from performance object access (#845)
This commit is contained in:
parent
a2e6de84af
commit
4293f73153
@ -31,7 +31,7 @@ class Timer {
|
||||
}
|
||||
|
||||
sample(name) {
|
||||
const time = window.performance.now();
|
||||
const time = performance.now();
|
||||
this.samples.push({
|
||||
name,
|
||||
time,
|
||||
|
Loading…
Reference in New Issue
Block a user