File: feature-overview.txt

package info (click to toggle)
pympler 1.1%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,196 kB
  • sloc: python: 9,816; javascript: 2,775; makefile: 17
file content (105 lines) | stat: -rw-r--r-- 2,448 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
merger potential / similarities
===============================

* summarization of information - maybe to specific to individual use case
* representation of (class and type) objects
* ignore/include certain builtin objects
* consider referents up to a certain level (resolution_level)
* not thread-safe

heapmonitor / muppy
-------------------
* snapshot concept
* ref-browsing

possible modules
----------------
* sizer (asizeof)
* ref-browsing (heapmonitor&muppy)
* ..


asizeof
=======

general
-------
* detailed size of single object, flat, referents
* size of set of objects
* length of an object
* get object referents
* exclude refs, types from result

* works with almost any type of object
* several builtin objects are ignored per default
* ignore most of the magic attributes


statistics
----------
* print statistics

heapmonitor
===========

general
-------
* track objects of certain classes
** track object creation
* weakrefs -> works with only a limited set of objects
* consider referents up to a certain level


statistics
----------
* print stats  (size, timestamp/lifetime, referents)
* print summary per class
* sort by classname, name, birth, death, size, tsize, repr
* as- vs descending
* dump to file, stdout, html

tracker
-------
* (periodic) tracking (snapshots)
* snapshot annotation

reference browsing
------------------
* graphviz graph
* visualize ref_cycles 


muppy
=====

general
-------
* get all objects
* get total size of set of objects
* get diff between two set of object (new vs. removed objects)
* filter object set by type, minimum, or maximum size
* get all referents up to a certain level
* get the diff of memory usage before and after a function call
* works with almost any type of object

statistics
----------
* print summary of object set (type.__repr__, total size, total number)
** can be sorted, as- vs descending, limited to a certain number of rows
* different representation for different types of objects (more or less
verbose information)
* get diff between two summaries (much faster than entire object sets)

tracker
-------
* track changes in memory usage
** diffs between snapshots, ignores stored information
* a) based on summarized information: returns summaries
* b) based on individual objects: returns object sets

reference browsing
------------------
* identify referents of objects with arbitrary depth
* tree-like illustration
* console-based, file-based, interactive