| 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 | ✓ |
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