SDL Benchmark
Video benchmark for SDL, SDL2, SDL3, HGE and SFML render backends.
SDL Benchmark measures 2D sprite rendering performance across software, Direct3D, OpenGL and Vulkan backends, then exports HTML results and optional Gnuplot charts.
Overview
SDL Benchmark tests the video performance of SDL 1.2, SDL 2.0, SDL 3, HGE and SFML using different render backends: software, Direct3D 9-12, OpenGL and Vulkan.
Results are stored in an HTML report with system details, a table of all measured results and, when Gnuplot is available, a generated graph.
Screenshots
Details
Benchmark Controls 
- Command-line tool configurable through parameters.
- Configurable screen resolution, test duration and sprite count.
- Can use an external BMP sprite.
- Supports dedicated textures per sprite or a shared texture for fill-rate testing.
- Runs 100 and 1000 64×64 sprites by default at 800×600.
Libraries and Backends 
- SDL 1.2: WinDIB, DirectX software and glSDL in 32-bit mode.
- SDL 2.0.4: software, Direct3D 9, Direct3D 11 and OpenGL in 64-bit mode.
- SDL 2.26.4: Direct3D 9, Direct3D 11, Direct3D 12 and OpenGL with sprite batching.
- SDL 3.1.1: Direct3D 9, Direct3D 11, Direct3D 12, OpenGL and Vulkan with sprite batching.
- HGE 1.8.1 with Direct3D 9 and SFML 2.3.2 with OpenGL.
Output and Platform 
- Writes an HTML report with formatted result tables.
- Adds a graph when Gnuplot is available.
- Reports CPU name, cache information, GPU name, drivers and Windows version.
- Available for Windows 7 to 11 in x86 and x64 builds.
- Developed in C++ with Visual Studio 2022.
Download
Latest version: v1.40 (4-April-2024)
ChangeLog | Roadmap | zlib license
- Binaries
- 32-bit and 64-bit binaries for supported operating systems.
- Source code
- Source code and project files for VS2022+.
- Previous releases
- Get access to all releases repository.




