[kupfer] debug: Skip icon stats, skip gtk objects for now



commit 136ab2990151cdf44e7ab6d08609802f42a8d943
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Thu Sep 17 00:31:03 2009 +0200

    debug: Skip icon stats, skip gtk objects for now

 debug.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/debug.py b/debug.py
index 6711f59..dcb9165 100644
--- a/debug.py
+++ b/debug.py
@@ -33,8 +33,8 @@ def mem_stats():
 		if "gtk" in item[0]:
 			gtk.append(item)
 	
-	print "---just gtk (top)"
-	print "\n".join("%s: %d" % (k,v) for k,v in gtk[:10])
+	#print "---just gtk (top)"
+	#print "\n".join("%s: %d" % (k,v) for k,v in gtk[:10])
 	print "---Just our objects (all > 1)"
 	print "\n".join("%s: %d" % (k,v) for k,v in our if v > 1)
 
@@ -84,4 +84,4 @@ def icon_stats():
 			print k, icon_cache[size][k]["accesses"]
 
 atexit.register(mem_stats)
-atexit.register(icon_stats)
+#atexit.register(icon_stats)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]