We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
node:process
1 parent 980b325 commit 7cbd36dCopy full SHA for 7cbd36d
packages/svelte/src/compiler/Stats.js
@@ -1,10 +1,4 @@
1
-const now =
2
- typeof process !== 'undefined' && process.hrtime
3
- ? () => {
4
- const t = process.hrtime();
5
- return t[0] * 1e3 + t[1] / 1e6;
6
- }
7
- : () => self.performance.now();
+const now = () => performance.now();
8
9
/** @param {any} timings */
10
function collapse_timings(timings) {
0 commit comments