cpython: dd4783955353 (original) (raw)

--- a/Doc/library/profile.rst +++ b/Doc/library/profile.rst @@ -240,11 +240,12 @@ reading the source code for these module 43/3 0.533 0.012 0.749 0.250 pobject.py:99(evaluate) ...

.. function:: runctx(command, globals, locals, filename=None) @@ -291,19 +292,22 @@ Analysis of the profiler data is done us .. class:: Stats(*filenames, stream=sys.stdout)

@@ -318,15 +322,17 @@ The :class:Stats Class .. method:: Stats.strip_dirs()

.. method:: Stats.add(*filenames) @@ -340,23 +346,25 @@ The :class:Stats Class .. method:: Stats.dump_stats(filename)

.. method:: Stats.sort_stats(*keys)

.. method:: Stats.reverse_order()

.. method:: Stats.print_stats(*restrictions)

@@ -455,17 +478,19 @@ The :class:Stats Class non-parenthesized number repeats the cumulative time spent in the function at the right.

.. method:: Stats.print_callees(*restrictions)

.. _profile-limits: @@ -566,29 +591,33 @@ you want to the :class:Profile class c The resulting profiler will then call :func:your_time_func. :class:profile.Profile

:class:cProfile.Profile