Skip to content

Commit 3654d8e

Browse files
committed
additional logging
1 parent 6e5784d commit 3654d8e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

webdriver-ts/src/forkedBenchmarkRunner.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,10 @@ async function computeResultsCPU(driver: WebDriver): Promise<number[]> {
147147
throw "at least one paint event is expected after the click event";
148148
}
149149

150+
console.log("# of paint events ",paints.length);
151+
paints.forEach(p => {
152+
console.log("duration to paint ",((p.end - clicks[0].ts)/1000.0));
153+
})
150154
let lastPaint = R.reduce((max, elem) => max.end > elem.end ? max : elem, {end: 0} as Timingresult, paints);
151155

152156
let upperBoundForSoundnessCheck = (R.last(eventsDuringBenchmark).end - eventsDuringBenchmark[0].ts)/1000.0;

0 commit comments

Comments
 (0)