Small repository creating and maintaining ddnet benchmarks
Goal is to download and benchmark a selection of demos for multiple client versions and graph some nice metrics. In order to prevent other factors, we benchmark demos of online gameplay and not online gameplay itself in order to prevent lag, random text rendering (due to chat/server messages) and other influences. All benchmarks are collected in a 30 second demo clip from the beginning and the collection stops after 30 seconds automatically (even if the demo is longer).
See resources
- Download the demos and configs with
git submodule update --init - Select and download the clients you want to benchmark by modifying
client-list.json - Run
./create-benchmarks.sh, which will- install all clients from the list
- install demos and configurations for frametime collection
- collect frametimes
- collect results in the
resultsdirectory
- Run the DDNet_Benchmarking notebook in order to visualize the data and calculate some nice graphs
- Download the demos and configs with
git submodule update --init - Run
./create-benchmark-master.sh <PR ID>, which will- download the current master and PR in different directories
- install demos and configurations for frametime collection
- collect frametimes
- collect results in the
results-<PR ID>directory
The script will fail at the first time and expects you to build the clients yourself. After this you can rerun the command it should run through
You can update the master simply by deleting the directory i.e. rm -r master
- Install python3
- Install packages with
pip install -r requirements.txt - Use any Jupyter server (like for example Google Colab or similar) to visualize the collected data
