Added time cost statistic.