aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mixed')
-rw-r--r--ext/mixed/js/timer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/timer.js b/ext/mixed/js/timer.js
index 4fb9dbd1..451aa0df 100644
--- a/ext/mixed/js/timer.js
+++ b/ext/mixed/js/timer.js
@@ -31,7 +31,7 @@ class Timer {
}
sample(name) {
- const time = window.performance.now();
+ const time = performance.now();
this.samples.push({
name,
time,