Compiles and averages the runtimes