Logo EPFL
LAMP
Ecole Polytechnique Fédérale de Lausanne
Optimisations
English only
 MENU

The table below collects some statistics about the projects you gave back.

The first group of columns gives the size of each compiler in lines of Java code. These were collected trivially using the wc command, and are therefore not very representative of the actual code length. They give a rough idea, though. For each project, we report both the total line count, and the number of lines added to our initial version, which is 6580 lines long.

Then the speedups for the various benchmarks are reported. On two occasions, a compiler produced an incorrect program, and we decided to count this as a negative speedup of 5% (italicized in the table). We used a set of bigger inputs for these runs than the ones we had given you previously. These inputs are: fib.input, bignums.input, matrix.input, maze.input, sort.input. At the right end of the table, the average speedup is reported. This is the number we actually used to compute a part of the grade for this project.

Lines of Java Speedup per benchmark (%)
Group total added fib bignums matrix maze sort Average
1 8349 1769 5 27 30 12 7 17
2 9423 2843 27 -5 25 29 28 21
3 10415 3835 8 11 9 -2 1 6
4 7722 1142 0 9 8 -4 4 4
5 9445 2865 25 44 29 32 28 32
6 8374 1794 2 15 13 -6 23 10
7 8430 1850 38 43 -5 47 47 34
8 7327 747 2 11 4 -8 4 3
9 11438 4858 36 33 20 36 33 32
10 9047 2467 38 44 41 52 20 39
11 8155 1575 8 23 12 14 2 12
12 8813 2233 -1 12 7 -3 0 3