Skip to content

Commit

Permalink
docs(2023): update performance day 10
Browse files Browse the repository at this point in the history
  • Loading branch information
believer committed Dec 11, 2023
1 parent 963bf8a commit 5f038d4
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions rust/2023/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,20 @@ With the help of [cargo-aoc](https://github.com/gobanos/cargo-aoc) I get automat
| 7 | 364.18 µs | 359.22 µs | | 318.23 µs / 324.96 µs |
| 8 | 926.09 µs | 4.47 ms | - / `-70.69%` | 137.33 µs |
| 9 | 2.44 µs | 2.55 µs | | 434.07 µs |
| 10 | 1.70 ms | 48.37 µs | | 158.20 µs |
| 11 | 846.06 µs | 844.65 µs | | 75.211 µs |
| 10 | 65.17 µs | 65.01 µs | `-96.02%` | 50.84 µs |
| 11 | 846.06 µs | 844.65 µs | | 75.21 µs |

\* compared to first solution<br/>
\*\* slow, didn't benchmark. Value comes from running the solver.

### Previous solutions

| Day | #1 | #2 | Improvement | Link |
| --: | --------: | -------: | ----------: | ------------------------------------------------------------------------------------------------------------------------ |
| 3 | 172.23 µs | - | Baseline | [Link](https://github.com/believer/advent-of-code/blob/75a83e31024bbac99a0664f81fce4e13ec1e94af/rust/2023/src/day_03.rs) |
| 4 | 24.33 µs | 24.32 µs | Baseline | [Link](https://github.com/believer/advent-of-code/blob/c970c6322d3904048bcf3f30b1052e2916476d73/rust/2023/src/day_04.rs) |
| 5 | 1.50 µs | 21.22 s | Baseline | [Link](https://github.com/believer/advent-of-code/blob/39b0904c4921f4ae79963a6df49bb3502ef6b3be/rust/2023/src/day_05.rs) |
| 8 | - | 15.25 ms | Baseline | [Link](https://github.com/believer/advent-of-code/blob/912d70c6e04ffd97f766c79b90764c105fe2f6ce/rust/2023/src/day_08.rs) |
| Day | #1 | #2 | Improvement | Link |
| --: | ---------: | -------: | ----------: | ------------------------------------------------------------------------------------------------------------------------ |
| 3 | 172.23 µs | - | Baseline | [Link](https://github.com/believer/advent-of-code/blob/75a83e31024bbac99a0664f81fce4e13ec1e94af/rust/2023/src/day_03.rs) |
| 4 | 24.33 µs | 24.32 µs | Baseline | [Link](https://github.com/believer/advent-of-code/blob/c970c6322d3904048bcf3f30b1052e2916476d73/rust/2023/src/day_04.rs) |
| 5 | 1.50 µs | 21.22 s | Baseline | [Link](https://github.com/believer/advent-of-code/blob/39b0904c4921f4ae79963a6df49bb3502ef6b3be/rust/2023/src/day_05.rs) |
| 8 | - | 15.25 ms | Baseline | [Link](https://github.com/believer/advent-of-code/blob/912d70c6e04ffd97f766c79b90764c105fe2f6ce/rust/2023/src/day_08.rs) |
| 10 | 1.70 ms \* | | Baseline | [Link](https://github.com/believer/advent-of-code/blob/ebbbbb8cb26e0fa4858cc48cf1a00304b4eee3a7/rust/2023/src/day_10.rs) |

\* BFS solution. I liked it, so it's still in the file.

0 comments on commit 5f038d4

Please sign in to comment.