Adding execution time measurement