aboutsummaryrefslogtreecommitdiff
path: root/evc/scripts/report
diff options
context:
space:
mode:
Diffstat (limited to 'evc/scripts/report')
-rwxr-xr-xevc/scripts/report9
1 files changed, 9 insertions, 0 deletions
diff --git a/evc/scripts/report b/evc/scripts/report
new file mode 100755
index 0000000..fee3c54
--- /dev/null
+++ b/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/encode -W 1920 -H 1080 <samples/raw >samples/encoded 2>| tail -n 1)s"
+ echo "decode: $(command time -f %U ./target/release/decode <samples/encoded >samples/decoded 2>| tail -n 1)s"
+ echo "size: $(du -h samples/encoded | cut -f 1)"
+end | tee -a reports/(date)