Added timing log for input preprocessing.