logs time on each compile