Hello,
got new hardware today, pi2 is here. What first ? No question: performancetest.
So I run on piB (the old one) the move-tests, rotate with a 'say bubble' and pingpong internal and remote.
Pingpong is simple: one script broadcasts 'ping', another does when 'ping' received then broadcast 'pong' and the third one when 'pong' received then broadcast 'ping' . First script starts the game, and then it runs as fast as the system allows. A counter stops this after some hundred iterations and takes the time.
Pingpong_remote is the same game, but a sensor network client responding to pings with pongs. So it measures remote socket throughput.
move is a diagonal move of two sprites, some watchers on screen, which was quite slow in legacy scratch.
rotate-say is a sprite which says 'hello', and gets rotated.Lots of computations needed to rotate and to find optimal position for the say-bubble.
All tests with raspbian, 1GHz cpu freq.
Results, the smaller the numbers the better
move2 16.5 --> 13.7
rotate_say 9.3 --> 6.7
pingpong 8.4 --> 11.2
pingpong_remote 8.4 -->12.1
Strange. On one side there are 17 to 28% improvement; on other tests it runs 33 to 44% slower.
Regards,
Gerhard
See other performance measurement results for nuscratch:
http://heppg.de/ikg/wordpress/?p=270
Edit: here the 'internal' pingpong sample.