Use time.perf_counter() instead of time.clock() by cdowen · Pull Request #87 · Kinect/PyKinect2 · GitHub
![Real Python on Twitter: "A single call to perf_counter() might not be helpful. However, when you look at the difference between two calls to perf_counter(), you can figure out how many seconds Real Python on Twitter: "A single call to perf_counter() might not be helpful. However, when you look at the difference between two calls to perf_counter(), you can figure out how many seconds](https://pbs.twimg.com/media/FTzSGQeXoAAu9b8.png)
Real Python on Twitter: "A single call to perf_counter() might not be helpful. However, when you look at the difference between two calls to perf_counter(), you can figure out how many seconds
![Com time import perf_counter #include <iostream> #include <chrono> number = ng namespace wunter() ong int number or in 2 + int ma main(){ number % i om ution_clock: is a factor of { Com time import perf_counter #include <iostream> #include <chrono> number = ng namespace wunter() ong int number or in 2 + int ma main(){ number % i om ution_clock: is a factor of {](https://img.ifunny.co/images/b5c0c898a1e133773696dafcaf810fc37f81f18c83fed3719a238c8186eb8b75_1.jpg)
Com time import perf_counter #include <iostream> #include <chrono> number = ng namespace wunter() ong int number or in 2 + int ma main(){ number % i om ution_clock: is a factor of {
![Write your own timer decorators and context managers, time.perf_counter, timeit.Timer and caveats - YouTube Write your own timer decorators and context managers, time.perf_counter, timeit.Timer and caveats - YouTube](https://i.ytimg.com/vi/dE0w79wHjuM/maxresdefault.jpg)
Write your own timer decorators and context managers, time.perf_counter, timeit.Timer and caveats - YouTube
![The Python 3 Standard Library by Example, Second Edition - The Python 3 Standard Library by Example, Second Edition [Book] The Python 3 Standard Library by Example, Second Edition - The Python 3 Standard Library by Example, Second Edition [Book]](https://www.oreilly.com/api/v2/epubs/9780134291154/files/graphics/pro_212_1.jpg)
The Python 3 Standard Library by Example, Second Edition - The Python 3 Standard Library by Example, Second Edition [Book]
![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)
algorithm - Python 3: time.perf_counter() output does not match the programme processing time on Coursera - Stack Overflow
![Haptik Engineering on Twitter: "We all use the time module to check performance of our code in Python. Did you know there are 5 different types of clock in Python 3.3 and Haptik Engineering on Twitter: "We all use the time module to check performance of our code in Python. Did you know there are 5 different types of clock in Python 3.3 and](https://pbs.twimg.com/media/FFDoMfJVIAA5wH7.jpg)