GELHAUS.NET

SDL Benchmark

This is a simple SDL benchmark program. I wanted to test the graphics performance of my Zaurus and compare across models. This is my first actual SDL program, it's pretty simple. The source is actually platform-agnostic. I've also built and run it on Windows.

Download

Bench was written for the SL-5500 Sharp ROM v3.10, but should work on other ROMs as well. It expects SDL version 1.2.

bench (182kB binary executable)

I didn't make an IPK for this one, it's just a binary.

Usage

Drop it where you'd like and run it from the command line:
$ ./bench
or
$ ./bench >out.txt
to save your results to a file.

Bench will run up to four tests: 320x240 software, 320x240 hardware acceleration, 640x480 software, and 640x480 hardware acceleration. It will only perform tests that are supported by your hardware and SDL library combination. For example, my SL-5500 only supports 320x240 software rendering, so it only runs that test.

Here is how my SL-5500 scored:

Pitch = 320
Hardware surfaces avail  = 0
Window manager avail     = 0
Blitter hardware         = 0
Colorkey blit hardware   = 0
Alpha blit hardware      = 0
Software->Hardware accel = 0
Video memory             = N/A