Measure time of drawing