https://wiki.sugarlabs.org/index.php?title=Development_Team/Performance&feed=atom&action=history
Development Team/Performance - Revision history
2024-03-29T12:13:29Z
Revision history for this page on the wiki
MediaWiki 1.35.2
https://wiki.sugarlabs.org/index.php?title=Development_Team/Performance&diff=46742&oldid=prev
Patrol: moved Walter is a wanker 12/Performance to Development Team/Performance over redirect: revert
2010-02-24T01:33:15Z
<p>moved <a href="/index.php?title=Walter_is_a_wanker_12/Performance&action=edit&redlink=1" class="new" title="Walter is a wanker 12/Performance (page does not exist)">Walter is a wanker 12/Performance</a> to <a href="/go/Development_Team/Performance" title="Development Team/Performance">Development Team/Performance</a> over redirect: revert</p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 01:33, 24 February 2010</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>
Patrol
https://wiki.sugarlabs.org/index.php?title=Development_Team/Performance&diff=46615&oldid=prev
Page move vandal: moved Development Team/Performance to Walter is a wanker 12/Performance: Walter is a wanker
2010-02-24T00:21:34Z
<p>moved <a href="/go/Development_Team/Performance" title="Development Team/Performance">Development Team/Performance</a> to <a href="/index.php?title=Walter_is_a_wanker_12/Performance&action=edit&redlink=1" class="new" title="Walter is a wanker 12/Performance (page does not exist)">Walter is a wanker 12/Performance</a>: Walter is a wanker</p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 00:21, 24 February 2010</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>
Page move vandal
https://wiki.sugarlabs.org/index.php?title=Development_Team/Performance&diff=45602&oldid=prev
Patrol: moved Anal bleaching 15/Performance to Development Team/Performance over redirect: revert
2010-02-21T22:42:07Z
<p>moved <a href="/index.php?title=Anal_bleaching_15/Performance&action=edit&redlink=1" class="new" title="Anal bleaching 15/Performance (page does not exist)">Anal bleaching 15/Performance</a> to <a href="/go/Development_Team/Performance" title="Development Team/Performance">Development Team/Performance</a> over redirect: revert</p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 22:42, 21 February 2010</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>
Patrol
https://wiki.sugarlabs.org/index.php?title=Development_Team/Performance&diff=45156&oldid=prev
Anal bleaching: moved Development Team/Performance to Anal bleaching 15/Performance: Anal bleaching
2010-02-21T22:22:38Z
<p>moved <a href="/go/Development_Team/Performance" title="Development Team/Performance">Development Team/Performance</a> to <a href="/index.php?title=Anal_bleaching_15/Performance&action=edit&redlink=1" class="new" title="Anal bleaching 15/Performance (page does not exist)">Anal bleaching 15/Performance</a>: Anal bleaching</p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 22:22, 21 February 2010</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>
Anal bleaching
https://wiki.sugarlabs.org/index.php?title=Development_Team/Performance&diff=40825&oldid=prev
Newacct at 08:00, 29 November 2009
2009-11-29T08:00:18Z
<p></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 08:00, 29 November 2009</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l31" >Line 31:</td>
<td colspan="2" class="diff-lineno">Line 31:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> for obj in gc.get_objects():</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> for obj in gc.get_objects():</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> if hasattr(obj, '__class__') and obj.__class__.__name__<del class="diffchange diffchange-inline">.find('ChooserListView') > -1</del>:</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> if hasattr(obj, '__class__') and <ins class="diffchange diffchange-inline">'ChooserListView' in </ins>obj.__class__.__name__:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> logging.debug(obj) </div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> logging.debug(obj) </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
</table>
Newacct
https://wiki.sugarlabs.org/index.php?title=Development_Team/Performance&diff=22401&oldid=prev
FGrose: DevelopmentTeam/Performance moved to Development Team/Performance: deCamel casing
2009-03-17T20:45:10Z
<p><a href="/index.php?title=DevelopmentTeam/Performance&action=edit&redlink=1" class="new" title="DevelopmentTeam/Performance (page does not exist)">DevelopmentTeam/Performance</a> moved to <a href="/go/Development_Team/Performance" title="Development Team/Performance">Development Team/Performance</a>: deCamel casing</p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 20:45, 17 March 2009</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>
FGrose
https://wiki.sugarlabs.org/index.php?title=Development_Team/Performance&diff=5976&oldid=prev
Cjl at 05:44, 12 June 2008
2008-06-12T05:44:38Z
<p></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 05:44, 12 June 2008</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><noinclude>{{ GoogleTrans-en | es =show | bg =show | zh-CN =show | zh-TW =show | hr =show | cs =show | da =show | nl =show | fi =show | fr =show | de =show | el =show | hi =show | it =show | ja =show | ko =show | no =show | pl =show | pt =show | ro =show | ru =show | sv =show }}</noinclude></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Just a quick dump of the snippets I use for profiling:</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Just a quick dump of the snippets I use for profiling:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
</table>
Cjl
https://wiki.sugarlabs.org/index.php?title=Development_Team/Performance&diff=5916&oldid=prev
Tomeu: New page: Just a quick dump of the snippets I use for profiling: First use a system-wide profiler like sysprof Next, profile python code, open the output with kcachegrind: import os import cPro...
2008-06-11T21:19:28Z
<p>New page: Just a quick dump of the snippets I use for profiling: First use a system-wide profiler like sysprof Next, profile python code, open the output with kcachegrind: import os import cPro...</p>
<p><b>New page</b></p><div>Just a quick dump of the snippets I use for profiling:<br />
<br />
First use a system-wide profiler like sysprof<br />
<br />
Next, profile python code, open the output with kcachegrind:<br />
<br />
import os<br />
import cProfile<br />
import lsprofcalltree # http://www.gnome.org/~johan/lsprofcalltree.py<br />
<br />
profiler = cProfile.Profile()<br />
profiler.enable()<br />
<br />
### code to profile ### <br />
<br />
profiler.disable()<br />
<br />
k = lsprofcalltree.KCacheGrind(profiler)<br />
data = open('/tmp/import.kgrind', 'w+')<br />
k.output(data)<br />
data.close()<br />
<br />
Check for leaks:<br />
<br />
import gobject<br />
gobject.timeout_add(10000, self._log_mem_usage) <br />
<br />
def _log_mem_usage(self): <br />
import analysis, os, gc <br />
<br />
for obj in gc.get_objects():<br />
if hasattr(obj, '__class__') and obj.__class__.__name__.find('ChooserListView') > -1:<br />
logging.debug(obj) <br />
<br />
for i in range(0, 10):<br />
gc.collect()<br />
logging.debug('mem: %i' % analysis.Analysis(os.getpid()).ApproxRealMemoryUsage()) <br />
return True <br />
<br />
Rendering time of a widget/window:<br />
<br />
def do_expose_event(self, event):<br />
import time<br />
t = time.time()<br />
hippo.Canvas.do_expose_event(self, event)<br />
logging.debug('listview expose event: %r' % (time.time() - t))</div>
Tomeu