[Fiber] Don't call performance.now() twice in a row (#30936)

This commit is contained in:
Sebastian Markbåge authored and GitHub committed 2024-09-10 16:46:35 -04:00
1 parent 66cf2cfc8a
commit a5a7f1063e
1 file changed
+1 -1
+1 -1
View File
@@ -101,7 +101,7 @@ function startProfilerTimer(fiber: Fiber): void {
profilerStartTime = now();
if (((fiber.actualStartTime: any): number) < 0) {
fiber.actualStartTime = now();
fiber.actualStartTime = profilerStartTime;
}
}