record time taken for each require