Our benchmark also performs a simple computation in a loop as the initial test, however, the subsequent 20 tests add abstraction that more appropriately reflect how actual programs may be developed. We return three kinds of "abstraction measurements" that indicate the effects of the tests: abstraction of Fortran 90 array-types, inheritance abstraction, and the overall abstraction.
Iterations (2000 minimum) : 2000
Working ....................
Test Time Base Ratio
1 0.290 1.000
2 0.280 0.966
3 0.300 1.034
4 0.320 1.103
5 0.300 1.034
6 0.400 1.379
7 0.280 0.966
8 0.270 0.931
9 0.280 0.966
10 0.430 1.483
11 0.380 1.310
12 0.270 0.931
13 0.620 2.138
14 0.640 2.207
15 0.290 1.000
16 0.620 2.138
17 0.570 1.966
18 0.290 1.000
19 0.580 2.000
20 0.590 2.034
Array Syntax Abstraction Measure: 1.178
Inheritance Abstraction Measure: 1.500
Overall Abstraction Measure: 1.303
The "base ratio" compares the speed of the first test (test 1) to each subsequent test by division. Note that Test 6 returns 0.000 regardless of the iteration length, so we assumed a value of 0.400 seconds which may be indicative of the actual value of this test. Test 6 involves Fortran 90 automatic arrays with use association. An abstraction measure close to 1.000 is desired.