diff options
Diffstat (limited to 'benchmarker')
-rwxr-xr-x | benchmarker | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/benchmarker b/benchmarker index 11e57f1..1f8da4d 100755 --- a/benchmarker +++ b/benchmarker @@ -18,34 +18,14 @@ gotfile() test -e "$1" || die "Need file $1" } - -cpubench_hb() -{ - gotfile "$1" - gotcmd HandBrakeCLI - echo "CPU benchmark (HandBrake video transcoding)" - time chronic HandBrakeCLI --main-feature \ - -Z "H.265 MKV 720p30" \ - --all-audio \ - --subtitle-lang-list fin \ - --first-subtitle \ - -i "$1" \ - -o /dev/null 2>&1 - -} - cpubench_xz() { local filename echo "CPU benchmark (xz on a large sparse file)" filename="$(mktemp)" - truncate -s 100G "$filename" + truncate -s 10G "$filename" /bin/time --format="%e" xz -T0 < "$filename" > /dev/null rm -f "$filename" } - -#skyfall="$1" -# cpubench_hb "$skyfall" - cpubench_xz |