summaryrefslogtreecommitdiff
path: root/2019/rust/day09
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/day09
parent043c1a447fe611c54cf414e743dd521a2e0088e7 (diff)
downloadadventofcode-e7d1a85be59121ac2cc448fbd99ce26821cc6e59.zip
Add measurement of peak memory usage
Diffstat (limited to '2019/rust/day09')
-rwxr-xr-x2019/rust/day09/both_parts.sh5
-rwxr-xr-x2019/rust/day09/part_one.sh1
-rwxr-xr-x2019/rust/day09/part_two.sh1
3 files changed, 4 insertions, 3 deletions
diff --git a/2019/rust/day09/both_parts.sh b/2019/rust/day09/both_parts.sh
index fb654a1..7a91b46 100755
--- a/2019/rust/day09/both_parts.sh
+++ b/2019/rust/day09/both_parts.sh
@@ -1,3 +1,2 @@
-echo 1|../target/release/day09 --mode stdio --program input
-echo 2|../target/release/day09 --mode stdio --program input
-
+./part_one.sh
+./part_two.sh
diff --git a/2019/rust/day09/part_one.sh b/2019/rust/day09/part_one.sh
new file mode 100755
index 0000000..f3e3ef9
--- /dev/null
+++ b/2019/rust/day09/part_one.sh
@@ -0,0 +1 @@
+echo 1|$VG ../target/release/day09 --mode stdio --program input
diff --git a/2019/rust/day09/part_two.sh b/2019/rust/day09/part_two.sh
new file mode 100755
index 0000000..3bf7fce
--- /dev/null
+++ b/2019/rust/day09/part_two.sh
@@ -0,0 +1 @@
+echo 2|$VG ../target/release/day09 --mode stdio --program input