summaryrefslogtreecommitdiff
path: root/2019/rust/day11
diff options
context:
space:
mode:
authorcos <cos>2019-12-12 17:33:35 +0100
committercos <cos>2019-12-12 17:33:35 +0100
commite7d1a85be59121ac2cc448fbd99ce26821cc6e59 (patch)
tree0cfde11af64ed446d8bcb36ba9bbca12afc63ce5 /2019/rust/day11
parent043c1a447fe611c54cf414e743dd521a2e0088e7 (diff)
downloadadventofcode-e7d1a85be59121ac2cc448fbd99ce26821cc6e59.zip
Add measurement of peak memory usage
Diffstat (limited to '2019/rust/day11')
-rwxr-xr-x2019/rust/day11/both_parts.sh5
-rwxr-xr-x2019/rust/day11/part_one.sh1
-rwxr-xr-x2019/rust/day11/part_two.sh1
3 files changed, 4 insertions, 3 deletions
diff --git a/2019/rust/day11/both_parts.sh b/2019/rust/day11/both_parts.sh
index c9ed7ef..7a91b46 100755
--- a/2019/rust/day11/both_parts.sh
+++ b/2019/rust/day11/both_parts.sh
@@ -1,3 +1,2 @@
-../target/release/day11 --program input
-../target/release/day11 --program input --use-emergency-panel
-
+./part_one.sh
+./part_two.sh
diff --git a/2019/rust/day11/part_one.sh b/2019/rust/day11/part_one.sh
new file mode 100755
index 0000000..aa9e8c0
--- /dev/null
+++ b/2019/rust/day11/part_one.sh
@@ -0,0 +1 @@
+$VG ../target/release/day11 --program input
diff --git a/2019/rust/day11/part_two.sh b/2019/rust/day11/part_two.sh
new file mode 100755
index 0000000..8136475
--- /dev/null
+++ b/2019/rust/day11/part_two.sh
@@ -0,0 +1 @@
+$VG ../target/release/day11 --program input --use-emergency-panel