Update README.md

This commit is contained in:
RussellChamp committed 2024-12-13 15:44:49 -05:00
commit ecd453fca8
1 file changed
+13 -8
+13 -8
View File
@@ -7,10 +7,11 @@
Solutions for [Advent of Code](https://adventofcode.com/) in [Rust](https://www.rust-lang.org/). Solutions for [Advent of Code](https://adventofcode.com/) in [Rust](https://www.rust-lang.org/).
<!--- advent_readme_stars table ---> <!--- advent_readme_stars table --->
## 2024 Results ## 2024 Results
| Day | Part 1 | Part 2 | | Day | Part 1 | Part 2 |
| :---: | :---: | :---: | | :--------------------------------------------: | :----: | :----: |
| [Day 1](https://adventofcode.com/2024/day/1) | ⭐ | ⭐ | | [Day 1](https://adventofcode.com/2024/day/1) | ⭐ | ⭐ |
| [Day 2](https://adventofcode.com/2024/day/2) | ⭐ | ⭐ | | [Day 2](https://adventofcode.com/2024/day/2) | ⭐ | ⭐ |
| [Day 3](https://adventofcode.com/2024/day/3) | ⭐ | ⭐ | | [Day 3](https://adventofcode.com/2024/day/3) | ⭐ | ⭐ |
@@ -22,13 +23,16 @@ Solutions for [Advent of Code](https://adventofcode.com/) in [Rust](https://www.
| [Day 10](https://adventofcode.com/2024/day/10) | ⭐ | | | [Day 10](https://adventofcode.com/2024/day/10) | ⭐ | |
| [Day 11](https://adventofcode.com/2024/day/11) | ⭐ | | | [Day 11](https://adventofcode.com/2024/day/11) | ⭐ | |
| [Day 12](https://adventofcode.com/2024/day/12) | ⭐ | | | [Day 12](https://adventofcode.com/2024/day/12) | ⭐ | |
| [Day 13](https://adventofcode.com/2024/day/13) | ⭐ | |
<!--- advent_readme_stars table ---> <!--- advent_readme_stars table --->
<!--- benchmarking table ---> <!--- benchmarking table --->
## Benchmarks ## Benchmarks
| Day | Part 1 | Part 2 | | Day | Part 1 | Part 2 |
| :---: | :---: | :---: | | :-----------------------: | :-------: | :-------: |
| [Day 1](./src/bin/01.rs) | `126.9µs` | `218.4µs` | | [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 2](./src/bin/02.rs) | `190.5µs` | `487.3µs` |
| [Day 3](./src/bin/03.rs) | `524.3µs` | `678.5µs` | | [Day 3](./src/bin/03.rs) | `524.3µs` | `678.5µs` |
@@ -44,6 +48,7 @@ Solutions for [Advent of Code](https://adventofcode.com/) in [Rust](https://www.
| [Day 13](./src/bin/13.rs) | `2.7ms` | `719.8µs` | | [Day 13](./src/bin/13.rs) | `2.7ms` | `719.8µs` |
**Total: 1980.71ms** **Total: 1980.71ms**
<!--- benchmarking table ---> <!--- benchmarking table --->
--- ---
@@ -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: `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. 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. 2. `cargo time <day>` benches a single solution.
3. `cargo time --all` benches all solutions. 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`. 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: During december, the `today` shorthand command can be used to:
- scaffold a solution for the current day - scaffold a solution for the current day
- download its input - download its input
- and read the puzzle - and read the puzzle
in one go. in one go.