Measure response time and CPU execution time