CL Talk <clt...@gmail.com> writes: > I am trying to see how I can time the whole program as well as various > functions that are part of the program.
The term for this dynamic timing introspection of parts of the system is “program profiling”; you are seeking a “profiler” <URL:https://en.wikipedia.org/wiki/Profiling_%28computer_programming%29>. Python has profilers installed by default in the standard library <URL:https://docs.python.org/3/library/profile.html>. See that documentation for how to profile your program. -- \ “It is … incumbent upon us to recognize that it is | `\ inappropriate for religion to play any role in issues of state | _o__) [of] a modern democracy.” —Lawrence M. Krauss, 2012-05-28 | Ben Finney _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor