Minor optimization

Do not create a timer for every single operation since we hardly run the
profileCommands if branch
1 file changed