You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -9,11 +9,11 @@
9
9
10
10
---
11
11
12
-
Generated with the [advent-of-code-rust](https://github.com/fspoettel/advent-of-code-rust) template.
12
+
Generated from [fspoettel/advent-of-code-rust](https://github.com/fspoettel/advent-of-code-rust).
13
13
14
14
## Create your own
15
15
16
-
1. Open the [advent-of-code-rust](https://github.com/fspoettel/advent-of-code-rust) template on Github.
16
+
1. Open ☝️ template on Github.
17
17
2. Click `Use this template` and create your repository.
18
18
3. Clone the repository to your machine.
19
19
@@ -41,6 +41,8 @@ Generated with the [advent-of-code-rust](https://github.com/fspoettel/advent-of-
41
41
# 🎄 Type `cargo run --bin 01` to run your solution.
42
42
```
43
43
44
+
Individual solutions live in the `./src/bin` directory as separate binaries.
45
+
44
46
Every [solution](https://git.io/JyXa8) has _unit tests_ referencing the _example_ file. Use these tests to develop and debug your solution. When editing a solution, `rust-analyzer` will display buttons for these actions above the unit tests.
45
47
46
48
### Download inputs for a day
@@ -81,6 +83,8 @@ cargo run --bin <day>
81
83
82
84
To run an optimized version for benchmarking, use the `--release` flag or the alias `cargo rr --bin <day>`.
83
85
86
+
Displayed _timings_ show the raw execution time of your solution w/o overhead (e.g. file reads).
87
+
84
88
### Run solutions for all days
85
89
86
90
```sh
@@ -104,6 +108,8 @@ cargo run
104
108
105
109
To run an optimized version for benchmarking, use the `--release` flag or the alias `cargo rr`.
106
110
111
+
_Total timing_ is computed from individual solution _timings_ and excludes overhead.
0 commit comments