We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8a4059 commit 05ce8bfCopy full SHA for 05ce8bf
resources/shared/test-runner.mjs
@@ -53,8 +53,8 @@ export class TestRunner {
53
performance.mark(syncStartLabel);
54
const syncStartTime = performance.now();
55
await this._runSyncStep(this.test, this.page);
56
- const syncEndTime = performance.now();
57
- performance.mark(syncEndLabel);
+ const mark = performance.mark(syncEndLabel);
+ const syncEndTime = mark.startTime;
58
59
syncTime = syncEndTime - syncStartTime;
60
asyncStartTime = syncEndTime;
0 commit comments