This is a project to evaluate the computational performance of several blocks in Scratch, which has led to some very surprising results... Post your results if you want! If you are curious as to what a term is, ask in the comments! I have a note below on statistics credibility. (B. Sqrt. stands for the babylonian square root approximation, at 5 iterations. Read more in Wikipedia: http://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method ) In every test, I included a (pick random (1) to (500) block so as to mimic realistic programming. In a program, you are bound to find a variety of mathematical values, not just 1+1. The down side of this is that every statistic (except for the random column) is therefor a further underestimate by a few thousand iterations per 0.1 seconds. Another problem with statistic credibility, also the reason why square root and addition have such similar results, is that Scratch takes 10x more time interpreting a set block and the variable it references then to do the actual operation(s) in the set block. This completely throws the function speeds off and makes any numbers a wild underestimate, although the statistics are still valuable as a baseline for true function speeds and some speed comparisons between functions.
Instructions: Press 1 to run a speed test. Your computer will freeze for about 16 seconds. Credits to: 1). Kevin Macleod for the music! 2). Blender for the title screen! 3). @DadOfMrLog for an explanation of my surprising results. 4). Scratch for being amazing!