From c82cccb9a8b919a52f27637680153d97235382c4 Mon Sep 17 00:00:00 2001 From: Alexander Ptakhin Date: Fri, 17 Nov 2023 23:18:04 +0100 Subject: [PATCH 1/3] gh-110383: Fix documentation profile cumtime fix --- Doc/library/profile.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/profile.rst b/Doc/library/profile.rst index 4c60a1e0d781b0..0921d517d63928 100644 --- a/Doc/library/profile.rst +++ b/Doc/library/profile.rst @@ -80,10 +80,10 @@ the following:: 1 0.000 0.000 0.000 0.000 _compiler.py:598(_code) 1 0.000 0.000 0.000 0.000 _parser.py:435(_parse_sub) -The first line indicates that 214 calls were monitored. Of those calls, 207 +The first line indicates that 214 calls were monitored. Of those calls, 207 were :dfn:`primitive`, meaning that the call was not induced via recursion. The -next line: ``Ordered by: cumulative time``, indicates that the text string in the -far right column was used to sort the output. The column headings include: +next line: ``Ordered by: cumulative time`` indicates rows sorting order +for the table below. The column headings include: ncalls for the number of calls. From 11fdc192854be96946361383da81e99f837a8c45 Mon Sep 17 00:00:00 2001 From: Alexander Ptakhin Date: Sun, 19 Nov 2023 09:14:10 +0100 Subject: [PATCH 2/3] Returned second space back --- Doc/library/profile.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/profile.rst b/Doc/library/profile.rst index 0921d517d63928..ea363a174a22b2 100644 --- a/Doc/library/profile.rst +++ b/Doc/library/profile.rst @@ -80,7 +80,7 @@ the following:: 1 0.000 0.000 0.000 0.000 _compiler.py:598(_code) 1 0.000 0.000 0.000 0.000 _parser.py:435(_parse_sub) -The first line indicates that 214 calls were monitored. Of those calls, 207 +The first line indicates that 214 calls were monitored. Of those calls, 207 were :dfn:`primitive`, meaning that the call was not induced via recursion. The next line: ``Ordered by: cumulative time`` indicates rows sorting order for the table below. The column headings include: From a9a85f562471665fbf0b0b8d3407b2f71042310a Mon Sep 17 00:00:00 2001 From: Alex Ptakhin Date: Sun, 19 Nov 2023 09:16:19 +0100 Subject: [PATCH 3/3] Reworded table reference Co-authored-by: Hugo van Kemenade --- Doc/library/profile.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/profile.rst b/Doc/library/profile.rst index ea363a174a22b2..cc059b66fcb84b 100644 --- a/Doc/library/profile.rst +++ b/Doc/library/profile.rst @@ -82,8 +82,8 @@ the following:: The first line indicates that 214 calls were monitored. Of those calls, 207 were :dfn:`primitive`, meaning that the call was not induced via recursion. The -next line: ``Ordered by: cumulative time`` indicates rows sorting order -for the table below. The column headings include: +next line: ``Ordered by: cumulative time`` indicates the output is sorted +by the ``cumtime`` values. The column headings include: ncalls for the number of calls. pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy