| Problem | Solution | Execution time | Lines of code | Finished | |
|---|---|---|---|---|---|
| Day 1 | Problem 1 | day01.rs | 21.391 µs + 2.7970 ms | 60 | ✓ |
| Day 2 | Problem 2 | day02.rs | 176.77 ms + 206.82 ms | 42 | ✓ |
| Day 3 | Problem 3 | day03.rs | 106.74 µs + 160.37 µs | 45 | ✓ |
| Day 4 | Problem 4 | day04.rs | 319.14 µs + 9.5692 ms | 38 | ✓ |
| Day 5 | Problem 5 | day05.rs | 57.490 µs + 47.808 µs | 60 | ✓ |
| Day 6 | Problem 6 | day06.rs | 107.38 µs + 115.66 µs | 87 | ✓ |
| Day 7 | Problem 7 | day07.rs | 110.86 µs + 80.175 µs | 45 | ✓ |
| Day 8 | Problem 8 | day08.rs | 32.984 ms + 59.031 ms | 80 | ✓ |
| Day 9 | Problem 9 | day09.rs | 218.52 µs + 307.47 ms | 160 | ✓ |
| Day 10 | Problem 10 | day10.rs | 235.69 ms + 266.41 ms | 86 | ✓ |
| Day 11 | Problem 11 | day11.rs | 188.19 µs + 185.73 µs | 49 | ✓ |
| Day 12 | Problem 12 | day12.rs | 194.77 µs + 382.47 ps | 67 | ✓ |
The benchmarks are measured (non-scientifically) with cargo-criterion on a AMD Ryzen 5 3600 Desktop. More in the benchmarks section. The lines of code are measured using ghloc, excluding comments and empty lines.
If you don't have Rust installed (how dare you) just run this:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shIf you are not using a Unix-like OS, check the instructions here
git clone https://github.com/MrRobb/advent-of-code-2025.git cd advent-of-code-2025cargo build --releasecargo run --releasecargo run --release --bin day01To run the benchmarks you need to install cargo-criterion first:
cargo install cargo-criterionOnce you have Criterion installed, you can run the benchmarks with:
cargo criterion