Measure the time spent in ValaBuildJob.