Skip to content

Commit 5b3bbc7

Browse files
committed
Print time from client
1 parent 485d694 commit 5b3bbc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clients/typescript/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function startWebsocket() {
2020
const startTime = performance.now();
2121
const result = await runner.run(solution, data);
2222
const time = performance.now() - startTime;
23-
console.log(`result for ${solution} with runid ${runid}: ${result}`)
23+
console.log(`result for ${solution} with runid ${runid} in ${time}: ${result}`)
2424
ws.send(`aocclient:ts:result:${runid}:${time}:[${result[0]}, ${result[1]}]`);
2525
}
2626
});

0 commit comments

Comments
 (0)