Ape
Shift
Load Example...
Check Unused
RUN (F5)
Export ZIP
Export HTML
Download JS
Blitz2D Source
Graphics 640, 480 ClsColor 0, 0, 0 Cls DebugLog "Starting Benchmark..." start = Millisecs() For i = 1 To 5000 Color Rand(255), Rand(255), Rand(255) Rect Rand(640), Rand(480), 10, 10, 1 Next finish = Millisecs() diff = finish - start Color 255, 255, 255 Text 20, 20, "Drawn 5000 Rects in " + diff + "ms" DebugLog "Benchmark finished. Time: " + diff + "ms" Flip WaitKey End
Generated JavaScript
Console / Problems
Press
RUN
to execute the code