File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -101,10 +101,11 @@ This table shows how long each function took. If you want to understand
101101The ``tottime`` column says how much time was spent inside this function,
102102across all calls, and without counting the time that was spent in
103103sub-functions. See how the ``get_divisors`` function in our example has a very
104- high ``tottime`` of 7.997. This means that ``get_divisors`` is what's causing
105- our program to run slow, and if we'll want to optimize the program, we should
106- try to come up with a smarter way of finding all of a number's divisors than
107- going one-by-one over all numbers.
104+ high ``tottime`` of 7.997 seconds, which is about 100% of the entire run time.
105+ This means that ``get_divisors`` is what's causing our program to run slow, and
106+ if we'll want to optimize the program, we should try to come up with a smarter
107+ way of finding all of a number's divisors than going one-by-one over all
108+ numbers.
108109
109110:func:`profile_ready <cute_profile.profile_ready>` has a bunch of other options that I won't explore there. In brief:
110111
You can’t perform that action at this time.
0 commit comments