Skip to content

Commit 416f989

Browse files
committed
fmt
1 parent bcf48b8 commit 416f989

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

app/webworker.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,13 @@ onmessage = (msg) => {
2626
let iterations = 0;
2727
while (endTime < startTime + 5000) {
2828
iterations++;
29-
run_day(day, input)
29+
run_day(day, input);
3030
endTime = performance.now();
3131
}
32-
postMessage([`${iterations} iterations in ${(endTime - startTime).toFixed(3)} ms, ${((endTime - startTime) / iterations).toFixed(3)} ms/iter`, null])
32+
postMessage([
33+
`${iterations} iterations in ${(endTime - startTime).toFixed(3)} ms, ${((endTime - startTime) / iterations).toFixed(3)} ms/iter`,
34+
null,
35+
]);
3336
} else {
3437
let workerResult = "";
3538
const startTime = performance.now();

0 commit comments

Comments
 (0)