summaryrefslogtreecommitdiffstats
path: root/Doc/library/tracemalloc.rst
Commit message (Collapse)AuthorAgeFilesLines
* bpo-32121: Add most_recent_first parameter to tracemalloc.Traceback.format ↵Jesse-Bakker2017-11-291-6/+12
| | | | | | | | (#4534) * Add most_recent_first parameter to tracemalloc.Traceback.format to allow reversing the order of the frames in the output * Reversed default sorting of tracemalloc.Traceback frames * Allowed negative limit, truncating from the other side.
* bpo-30054: Expose tracemalloc C API (#1236)Victor Stinner2017-06-201-0/+13
| | | | | | | | | * Make PyTraceMalloc_Track() and PyTraceMalloc_Untrack() functions public (remove the "_" prefix) * Remove the _PyTraceMalloc_domain_t type: use directly unsigned int. * Document methods Note: methods are already tested in test_tracemalloc.
* Merge 3.5Victor Stinner2016-12-301-13/+13
|\
| * Issue #29109: Enhance tracemalloc documentationVictor Stinner2016-12-301-13/+13
| | | | | | | | | | | | | | | | | | | | * Wrong parameter name, 'group_by' instead of 'key_type' * Don't round up numbers when explaining the examples. If they exactly match what can be read in the script output, it is to easier to understand (4.8 MiB vs 4855 KiB) * Fix incorrect method link that was pointing to another module Patch written by Loic Pefferkorn.
* | Merge Issue #22558.Terry Jan Reedy2016-06-111-0/+4
|\ \ | |/
| * Issue #22558: Add remaining doc links to source code for Python-coded modules.Terry Jan Reedy2016-06-111-0/+4
| | | | | | | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi.
* | tracemalloc now supports domainsVictor Stinner2016-03-221-6/+39
|/ | | | | | | | | | | | | | | | | Issue #26588: * The _tracemalloc now supports tracing memory allocations of multiple address spaces (domains). * Add domain parameter to tracemalloc_add_trace() and tracemalloc_remove_trace(). * tracemalloc_add_trace() now starts by removing the previous trace, if any. * _tracemalloc._get_traces() now returns a list of (domain, size, traceback_frames): the domain is new. * Add tracemalloc.DomainFilter * tracemalloc.Filter: add an optional domain parameter to the constructor and a domain attribute * Sublte change: use Py_uintptr_t rather than void* in the traces key. * Add tracemalloc_config.use_domain, currently hardcoded to 1
* Issue #25179: Preparatory cleanup of existing docs on string formattingMartin Panter2016-02-081-1/+1
| | | | | | | | | * Various sections were pointing to the section on the string.Formatter class, when the section on the common format string syntax is probably more appropriate * Fix references to various format() functions and methods * Nested replacement fields may contain conversions and format specifiers, and this is tested; see Issue #19729 for instance
* Merge spelling fixes from 3.4 into 3.5Martin Panter2015-10-311-1/+1
|\
| * Fix some spelling errors in documentation and code commentsMartin Panter2015-10-311-1/+1
| |
| * Back porting changeset db302b88fdb6 to 3.4 branch, which fixed multiple ↵Senthil Kumaran2015-06-151-1/+1
| | | | | | | | | | | | | | | | | | documentation typos. Related Issues: #issue21528 #issue24453
* | Issue #23731: Implement PEP 488.Brett Cannon2015-04-131-2/+5
| | | | | | | | | | | | The concept of .pyo files no longer exists. Now .pyc files have an optional `opt-` tag which specifies if any extra optimizations beyond the peepholer were applied.
* | Issue #22839: Fix Snapshot.statistics() link.Berker Peksag2014-11-101-1/+1
|\ \ | |/
| * Issue #22839: Fix Snapshot.statistics() link.Berker Peksag2014-11-101-1/+1
| |
* | merge with 3.4Georg Brandl2014-10-311-14/+14
|\ \ | |/
| * #22613: fix heading levels in tracemalloc docs (thanks Jacques Ducasse)Georg Brandl2014-10-311-14/+14
| |
| * Merge in all documentation changes since branching 3.4.0rc1.Larry Hastings2014-03-161-13/+26
| |
| * Close #20814: doc: Fix "Pretty top" example of tracemallocVictor Stinner2014-03-031-3/+2
| |
| * Issue #20616: Add a format() method to tracemalloc.Traceback.Victor Stinner2014-02-161-7/+24
| |
* | Fix Issue #21528 - Fix documentation typosDonald Stufft2014-05-201-1/+1
| |
* | Issue #20888: improve "Pretty Top" example of tracemalloc, use linecacheVictor Stinner2014-03-111-13/+26
| |
* | Close #20814: doc: Fix "Pretty top" example of tracemallocVictor Stinner2014-03-031-3/+2
| |
* | Issue #20616: Add a format() method to tracemalloc.Traceback.Victor Stinner2014-02-161-7/+24
|/
* Move versionadded for tracemalloc into the standard location (right after title)R David Murray2013-12-201-2/+2
|
* Issue #19818: tracemalloc, the number of frame limit cannot be zero anymoreVictor Stinner2013-11-271-3/+3
|
* Close #19798: replace "maximum" term with "peak" in get_traced_memory()Victor Stinner2013-11-271-2/+2
| | | | documentation. Use also the term "current" for the current size.
* Issue #18874: allow to call tracemalloc.Snapshot.statistics(cumulative=True)Victor Stinner2013-11-251-2/+1
| | | | with traceback_limit=1
* Issue #18874: apply Jim Jewett's patch on tracemalloc docVictor Stinner2013-11-251-9/+13
|
* Issue #18874: Remove tracemalloc.set_traceback_limit()Victor Stinner2013-11-231-21/+15
| | | | tracemalloc.start() now has an option nframe parameter
* Issue #18874: Implement the PEP 454 (tracemalloc)Victor Stinner2013-11-231-0/+608