Testing paint() time consumption