Runs FFmpeg transcoding processes simultaneously and measures CPU performance
sh -c "$(curl -fsSL https://raw.githubusercontent.com/2501world/transcoding-performance-trial/master/run.sh)"
This script needs following commands installed on the measuring machine.
/bin/sh
bash
is better
curl
tar
gzip
git
- uses
curl
instead if not installed
- uses
- Docker-CE
- automatically be installed via get.docker.com
This script also needs following API key.
- Pexels API
- You can get yours on Pexels API.
When you run run.sh
on your local environment, the script does:
- Clone this repository into your current directory
- Install Docker-CE
- Build a docker image (based on Alpine Linux)
- Run a measuring script on a docker container
- Generate result files
You can run this script multiple times (works idempotently).
This script exports a archived result file:
- Filename:
result/results_*.zip
- Contents are:
- Local machine information:
cpuinfo
,meminfo
,dmidecode
d outputs time
d results- Filename:
result/case*/trial_*/time_*.json
- Filename:
- Log files
- Filename:
result/case*/log_*.log
- Filename:
- Roundup of all results
- Filename:
result/result_all.csv
- Filename:
- Local machine information:
- This script installs Docker-CE, and keep it installed on your machine.
- This script keeps files within your working directory.
- You can safely delete all those files.
transcoding-performance-trial
is made available under the terms of the MIT license.