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.
1 parent 54ee905 commit 98a7477Copy full SHA for 98a7477
packages/nx/src/tasks-runner/life-cycles/task-profiling-life-cycle.ts
@@ -27,7 +27,7 @@ export class TaskProfilingLifeCycle implements LifeCycle {
27
}
28
for (let t of tasks) {
29
this.timings[t.id] = {
30
- perfStart: performance.now(),
+ perfStart: Date.now(),
31
};
32
33
@@ -43,7 +43,7 @@ export class TaskProfilingLifeCycle implements LifeCycle {
43
if (tr.task.endTime) {
44
this.timings[tr.task.id].perfEnd = tr.task.endTime;
45
} else {
46
- this.timings[tr.task.id].perfEnd = performance.now();
+ this.timings[tr.task.id].perfEnd = Date.now();
47
48
49
this.recordTaskCompletions(taskResults, metadata);
0 commit comments