DEV Community

Discussion on: Timing your Python Code

Collapse
 
rhymes profile image
rhymes

Nice article! Just a quick note you might be interested into:

Although time.time() is perfectly fine you can also use timeit.default_timer() if you want because it is setup so that it uses the most precise timer function on each OS.