Skip to content

AssassinTee/ddnet-benchmarks

Repository files navigation

DDNet-Benchmarks

Small repository creating and maintaining ddnet benchmarks

Method

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).

Selected maps

The map selection is not random. It contains known graphically heavy maps with

  • lots of quads like Mud, run_world_war_zero, Victory 2
  • lots of quadart like Abyss, KingsLeap
  • lots of popularity like Linear

and ctf1 due to a moderator request

Create benchmarks

  • 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 results directory
  • Run the DDNet_Benchmarking notebook in order to visualize the data and calculate some nice graphs

Installation

  • 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

Results

AverageFPS.PNG

About

small repository creating and maintaining ddnet benchmarks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages