Skip to content

Instantly share code, notes, and snippets.

@dw817
dw817 / Benchmark Fastest Pixel (BlitzMAX).bmx
Last active May 5, 2016 17:42
So I sat down and wrote a pretty comprehensive Benchmark program to determine which is the quickest way to fill a screen with random pixels. Now, because you are using GLGraphicsDriver(), no normal plotting commands are available, so you can't see the frames per second in realtime. Yet I am calculating it. If you hit [ESC] you can see the final …
' __________________________________
' // //
' // The Fastest Pixel Benchmark //
' // Version, "Paintbox" //
' // Written by David W - 02/03/16 //
'//_______________________________//
' Who gets the prize for the fastest pixel ?
Strict ' DO NOT RUN THIS IN DEBUG MODE SO IT IS BEST SPEED