Commit graph

20 commits

Author SHA1 Message Date
Felix Spöttel
e2062e33fd fix: a few clippy warnings 2024-09-18 18:57:00 +09:00
Mark Karasek
a9ba30187c
fix: use server time for cargo today (#61) 2023-12-19 00:36:18 +01:00
Felix Spöttel
335f2631a0
refactor: remove --time flags in favor of cargo time command (#58) 2023-12-13 11:55:38 +01:00
Tristan Guichaoua
234ac70c4e
feat: make time command less noisy (#56) 2023-12-11 12:59:21 +01:00
Felix Spöttel
f43530b297
chore: address some clippy::pedantic warnings (#55) 2023-12-11 09:43:59 +01:00
Felix Spöttel
874f57b359
feat: make cargo time incremental by default (#53)
Co-authored-by: Tristan Guichaoua <33934311+tguichaoua@users.noreply.github.com>
2023-12-10 13:55:17 +01:00
Tom Van Eyck
f8a1368765
feat: add cargo today command (#43) 2023-12-09 14:43:37 +01:00
Kevin Caffrey
ff6b542114
feat: add DHAT profiler (#52) 2023-12-07 21:22:16 +01:00
Tristan Guichaoua
62bb12cb19
refactor: dry solution! macro implementation (#48) 2023-12-06 12:40:46 +01:00
Tristan Guichaoua
a79ce7ad6d
refactor: extract template to its own file (#49) 2023-12-06 12:38:02 +01:00
Felix Spöttel
c241820c41
feat: use hint::black_box for benchmark evaluation (#47)
* this prevents cases where subsequent invocations of a solution fully unroll it, leading to deceivingly low execution times being reported.
2023-12-06 10:08:35 +01:00
Matt Clarke
df48bfe6ec
feat: add macro arms for running individual parts of a solution (#44) 2023-12-05 22:56:53 +01:00
Felix Spöttel
9d064019c3
refactor: move Day struct to template module (#40) 2023-12-05 22:39:20 +01:00
Felix Spöttel
61cc69b124 fix: cargo fmt 2023-12-01 13:49:39 +01:00
Felix Spöttel
38dc536984 feat: add read_file_part() helper
closes #37
2023-12-01 13:25:07 +01:00
Felix Spöttel
a3cc3a7efe refactor: rename main! macro to solution! 2023-11-22 14:13:12 +01:00
Tristan Guichaoua
6d9bf346a0
feat: use checked Day type instead of integers for days (#35) 2023-11-22 14:10:19 +01:00
Felix Spöttel
d7af3dca9e refactor: fix most pedantic clippy warnings
closes #29

Co-authored-by: Andy Pymont <andypymont@gmail.com>
2023-10-31 19:46:31 +01:00
Felix Spöttel
1b10ee20ac
ci: enable caching for cargo (#31) 2023-10-21 21:22:31 +02:00
Felix Spöttel
70dac9329f
feat: implement benchmarks (#30) 2023-10-21 21:08:46 +02:00