Skip to content

Commit 2e7b4df

Browse files
committed
Update benchmark data and graphs
1 parent 98a877b commit 2e7b4df

File tree

6 files changed

+80
-80
lines changed

6 files changed

+80
-80
lines changed

README.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ Place input files in `input/yearYYYY/dayDD.txt` including leading zeroes. For ex
5353
## Performance
5454

5555
Benchmarks are measured using the built-in `cargo bench` tool run on an [Apple M2 Max][apple-link].
56-
All 225 solutions from 2023 to to 2015 complete sequentially in **1.7 seconds**.
57-
Interestingly 93% of the total time is spent on just 9 solutions.
56+
All 225 solutions from 2023 to to 2015 complete sequentially in **625 milliseconds**.
57+
Interestingly 84% of the total time is spent on just 9 solutions.
5858
Performance is reasonable even on older hardware, for example a 2011 MacBook Pro with an
59-
[Intel i7-2720QM][intel-link] processor takes 4.9 seconds to run the same 225 solutions.
59+
[Intel i7-2720QM][intel-link] processor takes 3.5 seconds to run the same 225 solutions.
6060

6161
![pie-all]
6262

@@ -66,11 +66,11 @@ Performance is reasonable even on older hardware, for example a 2011 MacBook Pro
6666
| [2022](#2022) | 10 |
6767
| [2021](#2021) | 10 |
6868
| [2020](#2020) | 286 |
69-
| [2019](#2019) | 22 |
69+
| [2019](#2019) | 19 |
7070
| [2018](#2018) | 36 |
71-
| [2017](#2017) | 515 |
72-
| [2016](#2016) | 663 |
73-
| [2015](#2015) | 87 |
71+
| [2017](#2017) | 102 |
72+
| [2016](#2016) | 133 |
73+
| [2015](#2015) | 22 |
7474

7575
## 2023
7676

@@ -212,25 +212,25 @@ Performance is reasonable even on older hardware, for example a 2011 MacBook Pro
212212
| 4 | [Secure Container](https://adventofcode.com/2019/day/4) | [Source](src/year2019/day04.rs) | 7 |
213213
| 5 | [Sunny with a Chance of Asteroids](https://adventofcode.com/2019/day/5) | [Source](src/year2019/day05.rs) | 3 |
214214
| 6 | [Universal Orbit Map](https://adventofcode.com/2019/day/6) | [Source](src/year2019/day06.rs) | 28 |
215-
| 7 | [Amplification Circuit](https://adventofcode.com/2019/day/7) | [Source](src/year2019/day07.rs) | 275 |
215+
| 7 | [Amplification Circuit](https://adventofcode.com/2019/day/7) | [Source](src/year2019/day07.rs) | 487 |
216216
| 8 | [Space Image Format](https://adventofcode.com/2019/day/8) | [Source](src/year2019/day08.rs) | 5 |
217-
| 9 | [Sensor Boost](https://adventofcode.com/2019/day/9) | [Source](src/year2019/day09.rs) | 1356 |
217+
| 9 | [Sensor Boost](https://adventofcode.com/2019/day/9) | [Source](src/year2019/day09.rs) | 1021 |
218218
| 10 | [Monitoring Station](https://adventofcode.com/2019/day/10) | [Source](src/year2019/day10.rs) | 1001 |
219-
| 11 | [Space Police](https://adventofcode.com/2019/day/11) | [Source](src/year2019/day11.rs) | 470 |
219+
| 11 | [Space Police](https://adventofcode.com/2019/day/11) | [Source](src/year2019/day11.rs) | 342 |
220220
| 12 | [The N-Body Problem](https://adventofcode.com/2019/day/12) | [Source](src/year2019/day12.rs) | 1024 |
221-
| 13 | [Care Package](https://adventofcode.com/2019/day/13) | [Source](src/year2019/day13.rs) | 3492 |
221+
| 13 | [Care Package](https://adventofcode.com/2019/day/13) | [Source](src/year2019/day13.rs) | 2513 |
222222
| 14 | [Space Stoichiometry](https://adventofcode.com/2019/day/14) | [Source](src/year2019/day14.rs) | 17 |
223-
| 15 | [Oxygen System](https://adventofcode.com/2019/day/15) | [Source](src/year2019/day15.rs) | 442 |
223+
| 15 | [Oxygen System](https://adventofcode.com/2019/day/15) | [Source](src/year2019/day15.rs) | 361 |
224224
| 16 | [Flawed Frequency Transmission](https://adventofcode.com/2019/day/16) | [Source](src/year2019/day16.rs) | 4124 |
225-
| 17 | [Set and Forget](https://adventofcode.com/2019/day/17) | [Source](src/year2019/day17.rs) | 425 |
225+
| 17 | [Set and Forget](https://adventofcode.com/2019/day/17) | [Source](src/year2019/day17.rs) | 341 |
226226
| 18 | [Many-Worlds Interpretation](https://adventofcode.com/2019/day/18) | [Source](src/year2019/day18.rs) | 1077 |
227-
| 19 | [Tractor Beam](https://adventofcode.com/2019/day/19) | [Source](src/year2019/day19.rs) | 817 |
227+
| 19 | [Tractor Beam](https://adventofcode.com/2019/day/19) | [Source](src/year2019/day19.rs) | 674 |
228228
| 20 | [Donut Maze](https://adventofcode.com/2019/day/20) | [Source](src/year2019/day20.rs) | 191 |
229-
| 21 | [Springdroid Adventure](https://adventofcode.com/2019/day/21) | [Source](src/year2019/day21.rs) | 2265 |
229+
| 21 | [Springdroid Adventure](https://adventofcode.com/2019/day/21) | [Source](src/year2019/day21.rs) | 1794 |
230230
| 22 | [Slam Shuffle](https://adventofcode.com/2019/day/22) | [Source](src/year2019/day22.rs) | 11 |
231-
| 23 | [Category Six](https://adventofcode.com/2019/day/23) | [Source](src/year2019/day23.rs) | 871 |
231+
| 23 | [Category Six](https://adventofcode.com/2019/day/23) | [Source](src/year2019/day23.rs) | 659 |
232232
| 24 | [Planet of Discord](https://adventofcode.com/2019/day/24) | [Source](src/year2019/day24.rs) | 139 |
233-
| 25 | [Cryostasis](https://adventofcode.com/2019/day/25) | [Source](src/year2019/day25.rs) | 2721 |
233+
| 25 | [Cryostasis](https://adventofcode.com/2019/day/25) | [Source](src/year2019/day25.rs) | 2099 |
234234

235235
## 2018
236236

@@ -274,7 +274,7 @@ Performance is reasonable even on older hardware, for example a 2011 MacBook Pro
274274
| 2 | [Corruption Checksum](https://adventofcode.com/2017/day/2) | [Source](src/year2017/day02.rs) | 3 |
275275
| 3 | [Spiral Memory](https://adventofcode.com/2017/day/3) | [Source](src/year2017/day03.rs) | 2 |
276276
| 4 | [High-Entropy Passphrases](https://adventofcode.com/2017/day/4) | [Source](src/year2017/day04.rs) | 94 |
277-
| 5 | [A Maze of Twisty Trampolines, All Alike](https://adventofcode.com/2017/day/5) | [Source](src/year2017/day05.rs) | 48000 |
277+
| 5 | [A Maze of Twisty Trampolines, All Alike](https://adventofcode.com/2017/day/5) | [Source](src/year2017/day05.rs) | 36000 |
278278
| 6 | [Memory Reallocation](https://adventofcode.com/2017/day/6) | [Source](src/year2017/day06.rs) | 81 |
279279
| 7 | [Recursive Circus](https://adventofcode.com/2017/day/7) | [Source](src/year2017/day07.rs) | 85 |
280280
| 8 | [I Heard You Like Registers](https://adventofcode.com/2017/day/8) | [Source](src/year2017/day08.rs) | 46 |

docs/pie-2015.svg

+7-7
Loading

docs/pie-2016.svg

+8-8
Loading

docs/pie-2017.svg

+13-13
Loading

docs/pie-2019.svg

+15-15
Loading

docs/pie-all.svg

+19-19
Loading

0 commit comments

Comments
 (0)