[pypy-svn] r58978 - pypy/build/benchmem

hpk at codespeak.net hpk at codespeak.net
Sat Oct 11 16:00:24 CEST 2008


Author: hpk
Date: Sat Oct 11 16:00:23 2008
New Revision: 58978

Modified:
   pypy/build/benchmem/report.py
Log:
(xoraxax,hpk) fix python2.5 maemo reporting to include libpython2.5, add reporting about "REST", i.e. non-HEAP non -interpreter mappings 


Modified: pypy/build/benchmem/report.py
==============================================================================
--- pypy/build/benchmem/report.py	(original)
+++ pypy/build/benchmem/report.py	Sat Oct 11 16:00:23 2008
@@ -193,7 +193,15 @@
                 result.snapshot.filter(group=result.executable, kind=DATA).private_clean)
         makerow("IP-DATA-private_dirty", lambda result:
                 result.snapshot.filter(group=result.executable, kind=DATA).private_dirty)
-#rest
+        makerow("REST-private_clean", lambda result:
+                result.snapshot.filter(group=result.executable, inv=True).
+                filter(group=HEAP, inv=True).private_clean)
+        makerow("REST-private_dirty", lambda result:
+                result.snapshot.filter(group=result.executable, inv=True).
+                filter(group=HEAP, inv=True).private_dirty)
+        makerow("REST-RSS", lambda result:
+                result.snapshot.filter(group=result.executable, inv=True).
+                filter(group=HEAP, inv=True).rss)
         tw.line(asciitable(rows))
 
 if __name__ == "__main__":



More information about the Pypy-commit mailing list