timeit.timeit("fun_to_time(a, b)", setup="from __main__ import a, b", number=1)
@timef def fun_to_time(a, b): ...
or
timef(print)("Hello world!").I already made a basic implementation of it, and it's working well.
timef(print)("Hello world!").
I already made a basic implementation of it, and it's working well.