The first tests exercise basic language features like arithmetic, loops and function calls. Loops and arithmetic First we test the implementation overhead of loop mechanisms by counting to n . Using large values of n helps to reduce noise in the timing measurements. The amount of computational work appears on the horizontal axis and runtime appears on the vertical axis. Both axes are plotted on a logarithmic scale, in order to display a wide range of data values.
Exceptions indicate anomalous behavior that deserves further attention.
The next program evaluates Ackermann's function. These include associative arrays. This section investigates some of their properties. The first program uses arrays as if they were indexed. It sets n elements of an array to integer values, then copies the array to another array beginning at index n-1 .