diff options
author | metamuffin <metamuffin@disroot.org> | 2022-12-06 16:42:06 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2022-12-06 16:42:06 +0100 |
commit | 624471a4b1f2e1656a2ba46070d8f127dcd0e364 (patch) | |
tree | 36eacde470390c03991619ce5bc28ac6aa222e90 /evc/scripts/report | |
parent | 6a3aaca8727d3f0292d62dbcd54e3bf87df74c0c (diff) | |
download | video-codec-experiments-624471a4b1f2e1656a2ba46070d8f127dcd0e364.tar video-codec-experiments-624471a4b1f2e1656a2ba46070d8f127dcd0e364.tar.bz2 video-codec-experiments-624471a4b1f2e1656a2ba46070d8f127dcd0e364.tar.zst |
use env_logger
Diffstat (limited to 'evc/scripts/report')
-rwxr-xr-x | evc/scripts/report | 9 |
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) |