aboutsummaryrefslogtreecommitdiff
path: root/old/evc/scripts/report
diff options
context:
space:
mode:
Diffstat (limited to 'old/evc/scripts/report')
-rwxr-xr-xold/evc/scripts/report9
1 files changed, 9 insertions, 0 deletions
diff --git a/old/evc/scripts/report b/old/evc/scripts/report
new file mode 100755
index 0000000..06a5517
--- /dev/null
+++ b/old/evc/scripts/report
@@ -0,0 +1,9 @@
+#!/bin/fish
+cargo build --release
+begin
+ echo "version: $argv[1]"
+ echo "commit: $(cat ../.git/refs/heads/master | head -c 10)"
+ echo "encode: $(command time -f %U ./target/release/reschmux-encode -W (math 1920 / 2) -H (math 1080 / 2) <samples/raw >samples/encoded 2>| tail -n 1)s"
+ echo "decode: $(command time -f %U ./target/release/reschmux-decode <samples/encoded >samples/decoded 2>| tail -n 1)s"
+ echo "size: $(du -h samples/encoded | cut -f 1)"
+end | tee -a reports/(date)