We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80077c1 commit d9999bcCopy full SHA for d9999bc
src/Stats.ts
@@ -6,7 +6,7 @@ const now = (typeof process !== 'undefined' && process.hrtime)
6
const t = process.hrtime();
7
return t[0] * 1e3 + t[1] / 1e6;
8
}
9
- : () => window.performance.now();
+ : () => self.performance.now();
10
11
type Timing = {
12
label: string;
0 commit comments