Update README.md

This commit is contained in:
RussellChamp committed 2024-12-13 15:44:49 -05:00
commit ecd453fca8
1 file changed
+40 -35
+40 -35
View File
@@ -7,43 +7,48 @@
Solutions for [Advent of Code](https://adventofcode.com/) in [Rust](https://www.rust-lang.org/).
<!--- advent_readme_stars table --->
## 2024 Results
| Day | Part 1 | Part 2 |
| :---: | :---: | :---: |
| [Day 1](https://adventofcode.com/2024/day/1) | ⭐ | ⭐ |
| [Day 2](https://adventofcode.com/2024/day/2) | ⭐ | ⭐ |
| [Day 3](https://adventofcode.com/2024/day/3) | ⭐ | ⭐ |
| [Day 4](https://adventofcode.com/2024/day/4) | ⭐ | ⭐ |
| [Day 5](https://adventofcode.com/2024/day/5) | ⭐ | |
| [Day 6](https://adventofcode.com/2024/day/6) | ⭐ | |
| [Day 7](https://adventofcode.com/2024/day/7) | ⭐ | |
| [Day 8](https://adventofcode.com/2024/day/8) | ⭐ | |
| [Day 10](https://adventofcode.com/2024/day/10) | ⭐ | |
| [Day 11](https://adventofcode.com/2024/day/11) | ⭐ | |
| [Day 12](https://adventofcode.com/2024/day/12) | ⭐ | |
| Day | Part 1 | Part 2 |
| :--------------------------------------------: | :----: | :----: |
| [Day 1](https://adventofcode.com/2024/day/1) | ⭐ | ⭐ |
| [Day 2](https://adventofcode.com/2024/day/2) | ⭐ | ⭐ |
| [Day 3](https://adventofcode.com/2024/day/3) | ⭐ | ⭐ |
| [Day 4](https://adventofcode.com/2024/day/4) | ⭐ | ⭐ |
| [Day 5](https://adventofcode.com/2024/day/5) | ⭐ | |
| [Day 6](https://adventofcode.com/2024/day/6) | ⭐ | |
| [Day 7](https://adventofcode.com/2024/day/7) | ⭐ | |
| [Day 8](https://adventofcode.com/2024/day/8) | ⭐ | |
| [Day 10](https://adventofcode.com/2024/day/10) | ⭐ | |
| [Day 11](https://adventofcode.com/2024/day/11) | ⭐ | |
| [Day 12](https://adventofcode.com/2024/day/12) | ⭐ | |
| [Day 13](https://adventofcode.com/2024/day/13) | ⭐ | |
<!--- advent_readme_stars table --->
<!--- benchmarking table --->
## Benchmarks
| Day | Part 1 | Part 2 |
| :---: | :---: | :---: |
| [Day 1](./src/bin/01.rs) | `126.9µs` | `218.4µs` |
| [Day 2](./src/bin/02.rs) | `190.5µs` | `487.3µs` |
| [Day 3](./src/bin/03.rs) | `524.3µs` | `678.5µs` |
| [Day 4](./src/bin/04.rs) | `3.7ms` | `495.5µs` |
| [Day 5](./src/bin/05.rs) | `43.2ms` | `-` |
| [Day 6](./src/bin/06.rs) | `59.8µs` | `-` |
| [Day 7](./src/bin/07.rs) | `11.9ms` | `-` |
| [Day 8](./src/bin/08.rs) | `106.2µs` | `-` |
| [Day 9](./src/bin/09.rs) | `1.0ms` | `-` |
| [Day 10](./src/bin/10.rs) | `10.1ms` | `-` |
| [Day 11](./src/bin/11.rs) | `1.9s` | `-` |
| [Day 12](./src/bin/12.rs) | `4.5ms` | `-` |
| [Day 13](./src/bin/13.rs) | `2.7ms` | `719.8µs` |
| Day | Part 1 | Part 2 |
| :-----------------------: | :-------: | :-------: |
| [Day 1](./src/bin/01.rs) | `126.9µs` | `218.4µs` |
| [Day 2](./src/bin/02.rs) | `190.5µs` | `487.3µs` |
| [Day 3](./src/bin/03.rs) | `524.3µs` | `678.5µs` |
| [Day 4](./src/bin/04.rs) | `3.7ms` | `495.5µs` |
| [Day 5](./src/bin/05.rs) | `43.2ms` | `-` |
| [Day 6](./src/bin/06.rs) | `59.8µs` | `-` |
| [Day 7](./src/bin/07.rs) | `11.9ms` | `-` |
| [Day 8](./src/bin/08.rs) | `106.2µs` | `-` |
| [Day 9](./src/bin/09.rs) | `1.0ms` | `-` |
| [Day 10](./src/bin/10.rs) | `10.1ms` | `-` |
| [Day 11](./src/bin/11.rs) | `1.9s` | `-` |
| [Day 12](./src/bin/12.rs) | `4.5ms` | `-` |
| [Day 13](./src/bin/13.rs) | `2.7ms` | `719.8µs` |
**Total: 1980.71ms**
<!--- benchmarking table --->
---
@@ -52,7 +57,7 @@ Solutions for [Advent of Code](https://adventofcode.com/) in [Rust](https://www.
This template supports all major OS (macOS, Linux, Windows).
### 📝 Create your repository
### 📝 Create your repository
1. Open [the template repository](https://github.com/fspoettel/advent-of-code-rust) on Github.
2. Click [Use this template](https://github.com/fspoettel/advent-of-code-rust/generate) and create your repository.
@@ -173,9 +178,9 @@ The `cargo time` command allows you to benchmark your code and store timings in
`cargo time` has three modes of execution:
1. `cargo time` without arguments incrementally benches solutions that do not have been stored in the readme yet and skips the rest.
2. `cargo time <day>` benches a single solution.
3. `cargo time --all` benches all solutions.
1. `cargo time` without arguments incrementally benches solutions that do not have been stored in the readme yet and skips the rest.
2. `cargo time <day>` benches a single solution.
3. `cargo time --all` benches all solutions.
By default, `cargo time` does not write to the readme. In order to do so, append the `--store` flag: `cargo time --store`.
@@ -211,9 +216,9 @@ cargo read <day>
During december, the `today` shorthand command can be used to:
- scaffold a solution for the current day
- download its input
- and read the puzzle
- scaffold a solution for the current day
- download its input
- and read the puzzle
in one go.