Documentation Tutorial benchmark_timer# Function Decorator# How to use @benchmark_timer as function decorator: Python1 2 3 4 5 6 7from timer import benchmark_timer @benchmark_timer def test_function(): # Insert your code here test_function() Terminal output example: Elapsed time: 12.34 seconds for thread TEST_FUNCTION Was this page helpful? Thank you for your feedback! Thank you for your feedback! Help us improve this page by using our feedback form.