To get started, clone this repository locally:
git clone https://github.com/ome/ngff-latency-benchmark.git
cd ngff-latency-benchmark
You will likely want to adjust the parameters in .env first, then run:
./generate.sh
which will run several docker-compose commands in a row. This could take a substantial amount of time depending on your parameters.
Start the various Docker containers in the background ("detached" mode):
docker-compose up -d
Once the containers are up, run:
docker-compose run --rm upload
docker-compose run --rm benchmark -sv
This will store both the benchmarking results ('benchmark_data.json') as well as a plotted graph ('benchmark_plot.png') in the directory along with the input data.