← Back to team overview

gtg-contributors team mailing list archive

Re: New dailyuse tag so Bryce can use GTG trunk daily

 

Bryce,

Could you use the anonymizer to send me your tasks ? (see if you can
reproduce that with the anonymised before because I have the intuition
that tags.xml might also be needed)

As you can see, the performances are only bad on the tagtree side, which
is currently in a pretty bad shape.

Lionel

Le vendredi 11 juin 2010 à 01:02 -0700, Bryce Harrington a écrit :
> On Fri, Jun 11, 2010 at 09:14:39AM +0200, Lionel Dricot wrote:
> > Hi Bryce,
> > 
> > I surprized that you have so bad performances. Mine are really good right
> > now and better than 0.2. Could you please do some profiling to identify
> > where you are spending most of your time ?
> 
> Fri Jun 11 00:56:41 2010    gtg.prof
> 
>          19366702 function calls (18684996 primitive calls) in 50.355 CPU seconds
> 
>    Ordered by: cumulative time
>    List reduced from 1993 to 20 due to restriction <20>
> 
>    ncalls  tottime  percall  cumtime  percall filename:lineno(function)
>         1    0.000    0.000   50.356   50.356 <string>:1(<module>)
>         1    0.001    0.001   50.356   50.356 {execfile}
>         1    0.000    0.000   50.355   50.355 gtg:28(<module>)
>         1    0.000    0.000   49.159   49.159 gtg.py:98(main)
>         1    0.000    0.000   38.624   38.624 manager.py:205(main)
>         1   10.851   10.851   38.624   38.624 {gtk._gtk.main}
>       795    0.002    0.000   23.476    0.030 tagtree.py:113(refilter)
>       795    0.937    0.001   23.474    0.030 {method 'refilter' of 'gtk.TreeModelFilter' objects}
>      1712    0.009    0.000   23.392    0.014 tagtree.py:73(refresh_add)
>       792    0.001    0.000   23.367    0.030 tagtree.py:68(refresh)
> 191993/65411    1.712    0.000   20.452    0.000 tagtree.py:139(tag_visible_func)
>    190224    1.768    0.000   11.874    0.000 tagtree.py:289(on_iter_next)
>    126582    0.594    0.000    8.852    0.000 {method 'iter_next' of 'gtk.TreeModel' objects}
>    190224    0.211    0.000    8.707    0.000 tagtree.py:250(on_get_path)
>    192063    0.158    0.000    8.584    0.000 tree.py:44(get_path_for_node)
> 687761/192063    5.981    0.000    8.426    0.000 tree.py:210(_path_for_node)
>         3    0.000    0.000    6.441    2.147 cleanxml.py:67(openxmlfile)
>         1    0.000    0.000    6.426    6.426 __init__.py:88(get_backends_list)
>         1    0.000    0.000    6.412    6.412 localfile.py:60(__init__)
>    389859    3.033    0.000    5.997    0.000 {method 'get_value' of 'gtk.TreeModel' objects}
> 
> 





Follow ups

References