Add timing logging