SDL benchmark tests the video performance of following libraries:
using different render backends: software, Direct3D and OpenGL.
Output results are stored in a HTML page with system details, table with all results and if Gnuplot is available, a nice graph is also included.
- This tool replaces old glSDL-Benchmark (still available).
- Command line tool that can be customized via parameters:
- Screen resolution.
- Running each test time.
- Number of sprites (there are two sets).
- External sprite (BMP format).
- Define if all sprites uses the same texture (fill rate test) or if they have a dedicated texture.
- Uses the following libraries and render backends:
- SDL 1.2: WinDib (software), DirectX (software) and glSDL (hardware). In 32bits mode.
- SDL 2.0.4: software, Direct3D v9 (hardware), Direct3D v11 (hardware) and OpenGL (hardware). In 32bits and 64bits modes.
- SDL 2.0.15: Direct3D v9 (hardware), Direct3D v11 (hardware) and OpenGL (hardware). In 64bits mode and with sprite batching enabled.
- SDL 2.26.4: Direct3D v9 (hardware), Direct3D v11 (hardware), Direct3D v12 and OpenGL (hardware). In 64bits mode and with sprite batching enabled.
- HGE 1.8.1: Direct3D v9 (hardware)
- SFML 2.3.2: OpenGL (hardware)
- By default, it runs 100 and 1000 sprites with a size of 64×64 and dedicated textures. Screen resolution is set to 800×600.
- Output to HTML file with a formatted table and a graphic result if Gnuplot is available:
- Also display CPU name and caches, GPU name and drivers and Windows version.
- Available for Windows.
- Developed in C++ (Visual Studio 2019).
- 32bits and 64bits binaries for supported operating systems.
- Source code
- Source code and make files for VS2019+.
- Previous releases
- Get access to all releases repository.