added performance monitor to check timings of all steps