pymel.util.common.timer

timer(command='pass', number=10, setup='import pymel')