Perhaps this should use some name other than `timeit`, as that's already in the stdlib.  Maybe `timefunc` or `timedeco` or similar?