Learn how to measure code execution time in Python reliably using a line fitting method that eliminates errors as suggested by Moreno and Fischmeister.
Source: Measure Code Execution Time Accurately in Python – Bernhard Knasmueller on Software Development