Some more diagnostic output and speed measurements.