loading...

re: How to Performance Test Python Code: timeit, cProfile, and More VIEW POST

FULL DISCUSSION
 

You could make your timing fuction a decorator and wrap any function by adding the @my_decorator tag on top of the signature.

 

this is a good idea. we did the same implementation in my previous work.

Code of Conduct Report abuse