Time blocks of code to identify performance bottlenecks