Skip to content

Commit

Permalink
Update benchmark data
Browse files Browse the repository at this point in the history
  • Loading branch information
maneatingape committed Jan 1, 2025
1 parent 235f240 commit 81aaaad
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Place input files in `input/yearYYYY/dayDD.txt` including leading zeroes. For ex
## Performance

Benchmarks are measured using the built-in `cargo bench` tool run on an [Apple M2 Max][apple-link].
All 250 solutions from 2024 to 2015 complete sequentially in **584 milliseconds**.
All 250 solutions from 2024 to 2015 complete sequentially in **580 milliseconds**.
Interestingly 84% of the total time is spent on just 9 solutions.
Performance is reasonable even on older hardware, for example a 2011 MacBook Pro with an
[Intel i7-2720QM][intel-link] processor takes 3.5 seconds to run the same 225 solutions.
Expand All @@ -62,7 +62,7 @@ Performance is reasonable even on older hardware, for example a 2011 MacBook Pro

| Year | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Benchmark (ms) | 24 | 120 | 89 | 35 | 16 | 272 | 9 | 8 | 6 | 5 |
| Benchmark (ms) | 24 | 119 | 88 | 35 | 16 | 270 | 9 | 8 | 6 | 5 |

## 2024

Expand Down
36 changes: 18 additions & 18 deletions docs/pie-all.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 81aaaad

Please sign in to comment.