Real Python - 🐍⚙️ Python Tricks — Do you need a timer to time part of your Python code? This example uses the perf_counter() function found in the built-in time module. This
Use time.perf_counter() instead of time.clock() by cdowen · Pull Request #87 · Kinect/PyKinect2 · GitHub
![algorithm - Python 3: time.perf_counter() output does not match the programme processing time on Coursera - Stack Overflow algorithm - Python 3: time.perf_counter() output does not match the programme processing time on Coursera - Stack Overflow](https://i.stack.imgur.com/zdEFh.png)