The core busy loop is based on a script from https://scratch.mit.edu/projects/1027150508/ Comparing numbers between Scratch & compiled runtimes is meaningless as this test runs a different number of times in each so that it always runs long enough to be meaningful.