SDL Benchmark

[insert_php]require(‘./code/megastorm.php’ ); $pIndex = “SDL-Benchmark”; [/insert_php]


SDL benchmark tests the video performance of following libraries:

using different render backends: software, Direct3D(9-12), OpenGL and Vulkan.

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.

SDL-BenchmarkSDL-Benchmark Ryzen 5 2400GSDL-Benchmark Core i7 2600K and NVIDIA GTX 970SDL-Benchmark Ryzen 9 5900X and NVIDIA RTX 2070SDL-Benchmark Ryzen 9 5900X and NVIDIA RTX 2080 Ti


  • 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:
  • 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 (7 to 11 x86 and x64).
  • Developed in C++ (Visual Studio 2022).


[insert_php] printDetails(); [/insert_php] | zlib license

32bits and 64bits binaries for supported operating systems.
    [insert_php] printDownload(“win-x86-x64″,”zip”,”icon-os-windows-vs.png”, “Windows”); [/insert_php]
Source code
Source code and make files for VS2019+.
    [insert_php] printDownload(“source”,”zip”,”icon-source-code1.png”, “Source code”); [/insert_php]
Previous releases
Get access to all releases repository.
    [insert_php] printRepository(); [/insert_php]