Is there a way to time a block of code that is executed many times?

前端 未结 0 1621
走了就别回头了
走了就别回头了 2021-02-03 12:39

Given a function like:

do_something_big():
  do_1()
  do_2()
  do_3()

It\'s easy to get the time it takes to run either do_something_big()<

相关标签:
回答
  • 消灭零回复
提交回复
热议问题