How to get execution millisecond time of a command in zsh?

The time only print the the execution second time of a command. If there is a solution like IPython's powerful timeit magic command, great.