Skip to content

Commit c30eec9

Browse files
committed
Update benchmarks and graphs
1 parent bb4eb0b commit c30eec9

File tree

3 files changed

+77
-21
lines changed

3 files changed

+77
-21
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Advent of Code [![checks-badge]][checks-link] [![docs-badge]][docs-link]
22

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
55
while ensuring the code remains concise, readable, and idiomatic.
66

77
## Features
@@ -61,20 +61,22 @@ Improvements to solutions are always appreciated. Please see the
6161
Benchmarks are measured using the built-in `cargo bench` tool run on an [Apple M2 Max][apple-link].
6262
Interestingly 86% of the total time is spent on just 9 solutions.
6363
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.
6565

6666
![pie-all]
6767

6868
| Year | [2025](#2025) |
6969
| --- | --- |
70-
| Benchmark (ms) | WIP |
70+
| Benchmark (ms) | 2 |
7171

7272
| Year | [2015](#2015) | [2016](#2016) | [2017](#2017) | [2018](#2018) | [2019](#2019) | [2020](#2020) | [2021](#2021) | [2022](#2022) | [2023](#2023) | [2024](#2024) |
7373
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
7474
| Benchmark (ms) | 14 | 109 | 57 | 35 | 13 | 220 | 8 | 5 | 5 | 4 |
7575

7676
## 2025
7777

78+
![pie-2025]
79+
7880
| Day | Problem | Solution | Benchmark (μs) |
7981
| --- | --- | --- | --: |
8082
| 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
418420
[apple-link]: https://en.wikipedia.org/wiki/Apple_M2
419421
[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
420422
[pie-all]: docs/pie-all.svg
423+
[pie-2025]: docs/pie-2025.svg
421424
[pie-2024]: docs/pie-2024.svg
422425
[pie-2023]: docs/pie-2023.svg
423426
[pie-2022]: docs/pie-2022.svg

docs/pie-2025.svg

Lines changed: 53 additions & 0 deletions
Loading

docs/pie-all.svg

Lines changed: 17 additions & 17 deletions
Loading

0 commit comments

Comments
 (0)