|
1 | 1 | # Advent of Code [![checks-badge]][checks-link] [![docs-badge]][docs-link] |
2 | 2 |
|
3 | | -*2025 in progress!* Blazing fast Rust solutions for every [Advent of Code] puzzle from 2015 to 2024, taking |
4 | | -**470 milliseconds** to solve all 500 stars. Each solution is carefully optimized for performance |
| 3 | +Blazing fast Rust solutions for every [Advent of Code] puzzle from 2015 to 2025, taking |
| 4 | +**472 milliseconds** to solve all 524 stars. Each solution is carefully optimized for performance |
5 | 5 | while ensuring the code remains concise, readable, and idiomatic. |
6 | 6 |
|
7 | 7 | ## Features |
@@ -61,20 +61,22 @@ Improvements to solutions are always appreciated. Please see the |
61 | 61 | Benchmarks are measured using the built-in `cargo bench` tool run on an [Apple M2 Max][apple-link]. |
62 | 62 | Interestingly 86% of the total time is spent on just 9 solutions. |
63 | 63 | Performance is reasonable even on older hardware, for example a 2011 MacBook Pro with an |
64 | | -[Intel i7-2720QM][intel-link] processor takes 3.5 seconds to run the same 250 solutions. |
| 64 | +[Intel i7-2720QM][intel-link] processor takes 3.5 seconds to run the same 262 solutions. |
65 | 65 |
|
66 | 66 | ![pie-all] |
67 | 67 |
|
68 | 68 | | Year | [2025](#2025) | |
69 | 69 | | --- | --- | |
70 | | -| Benchmark (ms) | WIP | |
| 70 | +| Benchmark (ms) | 2 | |
71 | 71 |
|
72 | 72 | | Year | [2015](#2015) | [2016](#2016) | [2017](#2017) | [2018](#2018) | [2019](#2019) | [2020](#2020) | [2021](#2021) | [2022](#2022) | [2023](#2023) | [2024](#2024) | |
73 | 73 | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | |
74 | 74 | | Benchmark (ms) | 14 | 109 | 57 | 35 | 13 | 220 | 8 | 5 | 5 | 4 | |
75 | 75 |
|
76 | 76 | ## 2025 |
77 | 77 |
|
| 78 | +![pie-2025] |
| 79 | + |
78 | 80 | | Day | Problem | Solution | Benchmark (μs) | |
79 | 81 | | --- | --- | --- | --: | |
80 | 82 | | 1 | [Secret Entrance](https://adventofcode.com/2025/day/1) | [Source](src/year2025/day01.rs) | 24 | |
@@ -418,6 +420,7 @@ Performance is reasonable even on older hardware, for example a 2011 MacBook Pro |
418 | 420 | [apple-link]: https://en.wikipedia.org/wiki/Apple_M2 |
419 | 421 | [intel-link]: https://ark.intel.com/content/www/us/en/ark/products/50067/intel-core-i72720qm-processor-6m-cache-up-to-3-30-ghz.html |
420 | 422 | [pie-all]: docs/pie-all.svg |
| 423 | +[pie-2025]: docs/pie-2025.svg |
421 | 424 | [pie-2024]: docs/pie-2024.svg |
422 | 425 | [pie-2023]: docs/pie-2023.svg |
423 | 426 | [pie-2022]: docs/pie-2022.svg |
|
0 commit comments