Best way to measure performance in Python

Опубликовано: 12 Октябрь 2024
на канале: Code with Irtiza
1,487
32

This is the best function to easily measure how long certain things take in your Python code

You can very easily measure both simple statements and compare function calls.

0:00 Intro
0:26 Measure Statements
02:33 Measure functions
06:00 Outro

Documentation: https://docs.python.org/3/library/tim...

#python #timeit #tutorial

Visit me at: https://irtizahafiz.com
Contact me at: [email protected]