Added execution time measurement harnesses to several blocks of code.