not sure its related to these tests, but dave said the new hardware (rev b units) are more sensitive to cache misses, it has caused performance issues before with drawblurred and rotating bitmaps 90 degrees Performance of graphics.image:drawBlurred method on Rev B hardware - #3 by dave
edit: i just ran the benchmark on my rev a unit by compiling the source code using latest pdc.exe from latest sdk version from the 1st post (lua) and these where my results on my REV A unit:
They seem to be more in line with the values posted from other firmware's although some seem lower now, while it seems with you it actually ran more calls ?
DEVICE (5 RUN AVE)
#, BENCH, CALL
01, 1590, nil
02, 73, drawLine - Diagonal
03, 301, drawLine - Horizontal
04, 85, drawLine - Vertical
05, 124, drawLine - Random Diagonal
06, 584, drawLine - fillRect
07, 161, drawLine - drawRect
08, 791, math.random
09, 749, math.random - local
10, 655, math.sin
11, 428, math.sin - random
12, 822, math.cos
13, 547, math.cos - random
14, 1345, math.floor - local
15, 258, image:sample
16, 84, drawText - local
17, 11, drawTextInRect
18, 85, drawRect
19, 152, fillRect
20, 41, drawCircleAtPoint
21, 52, fillCircleAtPoint
22, 69, drawCircleInRect
23, 85, fillCircleInRect
24, 181, sprite:moveTo - static
25, 130, sprite:moveTo - random
26, 260, sprite:setImage
27, 222, sprite:setCenter - static
28, 221, sprite:setCenter - toggle
29, 175, sprite:setCenter - random
30, 399, sprite:setZIndex
31, 220, image:draw
32, 137, image:draw - locked
33, 131, image:draw - locked local
34, 128, image:draw - pushcontext local
END
edit 2: i see a difference in timings the original sources i just downloaded showed this :
while you do 5000 / FPS
So the benchmark runs longer with you (5 times longer) and can do more calls per benchmark because the timeframe is different, so your results posted above in theory need to be divided by 5
edit 3: it would seem you downloaded dave's version while this is the Original where the numbers were previously based on
for reference here are the numbers of my REV A as well (i think nino's are REV A Also)
echo off
time and date set
#, BENCH, CALL
nil 14831
drawLine - Diagonal 390
drawLine - Horizontal 1833
drawLine - Vertical 449
drawLine - Random Diagonal 683
drawLine - fillRect 4611
drawLine - drawRect 954
math.random 6028
math.random - local 7295
math.sin 7293
math.sin - random 3169
math.cos 7167
math.cos - random 3049
math.floor - local 8664
image:sample 1948
drawText - local 455
drawTextInRect 55
drawRect 456
fillRect 848
drawCircleAtPoint 219
fillCircleAtPoint 262
drawCircleInRect 361
fillCircleInRect 467
sprite:moveTo - static 1259
sprite:moveTo - random 782
sprite:setImage 1802
sprite:setCenter - static 1750
sprite:setCenter - toggle 1444
sprite:setCenter - random 1212
sprite:setZIndex 2879
image:draw 1381
image:draw - locked 745
image:draw - locked local 752
image:draw - pushcontext local 759
END