measure runtime of draw operation in the view