diff options
Diffstat (limited to 'venv/lib/python3.9/site-packages/pympler/templates/index.tpl')
-rw-r--r-- | venv/lib/python3.9/site-packages/pympler/templates/index.tpl | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/venv/lib/python3.9/site-packages/pympler/templates/index.tpl b/venv/lib/python3.9/site-packages/pympler/templates/index.tpl new file mode 100644 index 00000000..21e6b624 --- /dev/null +++ b/venv/lib/python3.9/site-packages/pympler/templates/index.tpl @@ -0,0 +1,26 @@ +%include('header', category='Overview', title='Overview') + +%from pympler.util.stringutils import pp + +<h1>Python application memory profile</h1> + +<h2>Process overview</h2> + +<table class="tdata"> + <tbody> + <tr> + <th>Virtual size:</th> + <td class="num">{{pp(processinfo.vsz)}}</td> + </tr> + <tr> + <th>Physical memory size:</th> + <td class="num">{{pp(processinfo.rss)}}</td> + </tr> + <tr> + <th>Major pagefaults:</th> + <td class="num">{{processinfo.pagefaults}}</td> + </tr> + </tbody> +</table> + +%include('footer') |