0

So how can I interpretation time of my python program? For example in JavaScript we have console.time() and console.timeEnd()

Matt Ellen
  • 11,268
  • 4
  • 68
  • 90
  • The documentation is [here](https://docs.python.org/3/library/index.html). there is a `time` module and a `timeit` module. The `timeit` is used to time execution speeds. Also a `profile` module to profile execution speeds of pieces of your process. – wwii Dec 19 '19 at 16:36
  • 4
    Does this answer your question? [Measure time elapsed in Python](https://stackoverflow.com/questions/7370801/measure-time-elapsed-in-python) – ParkerD Dec 19 '19 at 16:37
  • There is also the [timeit](https://docs.python.org/3.9/library/timeit.html) module if you want to benchmark specific code snippets – Cory Kramer Dec 19 '19 at 16:38

0 Answers0