← Back to team overview

gtg-contributors team mailing list archive

Re: Refactorisation progress : It works (but it's slow)

 

My tags sidebar is completely empty. Is that not yet implemented or a bug?
Here's my profiling (file attached).

     693053 function calls (680786 primitive calls) in 13.574 CPU seconds

   Ordered by: cumulative time
   List reduced from 1731 to 20 due to restriction <20>

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
        1    0.000    0.000   13.574   13.574 <string>:1(<module>)
        1    0.000    0.000   13.574   13.574 {execfile}
        1    0.000    0.000   13.574   13.574 gtg:28(<module>)
        1    0.000    0.000   13.131   13.131 gtg.py:91(main)
        1    0.000    0.000   11.790   11.790 manager.py:49(show_browser)
        1    0.000    0.000   10.776   10.776 browser.py:1795(main)
        1    9.308    9.308   10.393   10.393 {gtk._gtk.main}
      195    0.003    0.000    0.963    0.005 cleanxml.py:98(savexml)
        1    0.000    0.000    0.932    0.932 browser.py:83(__init__)
     4491    0.062    0.000    0.840    0.000 {method 'get_value' of
'gtk.TreeModel' objects}
      240    0.008    0.000    0.785    0.003 browser.py:1642(on_task_modified)
        1    0.000    0.000    0.750    0.750
browser.py:525(_init_plugin_engine)
        1    0.001    0.001    0.750    0.750 engine.py:147(load_plugins)
        2    0.000    0.000    0.749    0.374 __init__.py:160(save_datastore)
      240    0.005    0.000    0.716    0.003
tagtree.py:53(update_tags_for_task)
      385    0.015    0.000    0.706    0.002 {method 'row_changed' of
'gtk.TreeModel' objects}
       12    0.001    0.000    0.693    0.058 engine.py:40(__init__)
      929    0.010    0.000    0.670    0.001 browser.py:788(tag_visible_func)
        2    0.000    0.000    0.666    0.333 datastore.py:201(quit)
        2    0.000    0.000    0.666    0.333 localfile.py:170(quit)


  Ordered by: cumulative time
   List reduced from 1731 to 9 due to restriction <0.0050000000000000001>

Function                     was called by...
                                 ncalls  tottime  cumtime
<string>:1(<module>)         <-
{execfile}                   <-       1    0.000   13.574  <string>:1(<module>)
gtg:28(<module>)             <-       1    0.000   13.574  {execfile}
gtg.py:91(main)              <-       1    0.000   13.131  gtg:28(<module>)
manager.py:49(show_browser)  <-       1    0.000   11.790  gtg.py:91(main)
browser.py:1795(main)        <-       1    0.000   10.776
manager.py:49(show_browser)
{gtk._gtk.main}              <-       1    9.308   10.393  browser.py:1795(main)
cleanxml.py:98(savexml)      <-       2    0.000    0.002
__init__.py:160(save_datastore)
                                      2    0.000    0.666
localfile.py:170(quit)
                                    191    0.002    0.295  tagstore.py:164(save)
browser.py:83(__init__)      <-       1    0.000    0.932
manager.py:49(show_browser)

Attachment: gtg.prof
Description: application/extension-prof


Follow ups

References