inputs/day{day}.txt
where {day}
is 2-digit.cd
the directory and run the script with:
node run {day}
- Timer started after input read from file
- Timer stopped after
console.log
called - NodeJS runtime used
Day | Part 1 | Part 1 + Part 2 |
---|---|---|
1 | 1.028ms | 2.401ms |
2 | 1.311ms | 1.673ms |
3 | 21.447ms | 21.901ms |
4 | 1.755ms | 1.91ms |
5 | 0.772ms | 2.91ms |
6 | 0.334ms | 0.356ms |
7 | 28.821ms | 46.531ms |
8 | 3.584ms | 16.565ms |
9 | 2.168ms | 3.643ms |
10 | 6.343ms | 29.744ms |
11 | 16.327ms | 16.402ms |
12 | 10.592ms | 187.926ms |
13 | 3.061ms | 3.458ms |
14 | 3.411ms | 379.943ms |
15 | 3.82ms | 3.924ms |
16 | 9.149ms | 885.463ms |
17 | 166.292ms | 729.292ms |
18 | 2.981ms | 3.316ms |
19 | 4.67ms | 6.187ms |
20 | 9.786ms | 26.343ms |
21 | 10.653ms | 267.126ms |
22 | 37.966ms | 43.879ms |
23 | 31.164ms | 4.534s |
24 | 112.69ms | (Wolfram Cloud used) |
25 | >~100ms (random algorithm) | - |