[pygtk] hungry TreeStore...
Laszlo Pandy
laszlok2 at gmail.com
Fri Feb 13 00:49:13 WST 2009
I have no idea what it is but I was having the a similar problem on my
Ubuntu 8.10. Funny thing is that it wasn't consistent, so whenever i
got terrible performance I restarted the app and this fixed it
temporarily. Not sure if this is related because I didn't do any
performance testing or profiling. I will test again later.
Laszlo
2009/2/12 Alessandro Dentella <sandro at e-den.it>:
> Hi, since yesterday, on my linux Ubuntu 8.0.4 I'm experimenting very strange
> things that I don't see on other machines. TreeStore 'append' method is
> taking a huge amount of time as shown by this 'prun' inside ipython:
>
> ncalls tottime percall cumtime percall filename:lineno(function)
> 332 4.644 0.014 4.648 0.014 {method 'append' of 'gtk.TreeStore' objects}
> 495 0.490 0.001 0.490 0.001 {method 'set' of 'gtk.TreeStore' objects}
>
>
> the same program on a different machine:
>
> ncalls tottime percall cumtime percall filename:lineno(function)
> 495 0.011 0.000 0.011 0.000 {method 'set' of 'gtk.TreeStore' objects}
> 332 0.004 0.000 0.007 0.000 {method 'append' of 'gtk.TreeStore' objects}
>
>
>
> I'm not at all aware of any changes. I didn't upgrade any tools and I don't
> remember to have installed anything in the last 2 days.
>
> One more strangeness is that I'm having these messages:
> Warning: /build/buildd/glib2.0-2.16.4/gobject/gsignal.c:2271: signal name
> `selection_changed' is invalid for instance `0x88e2998'
>
> that I don't receive on other machines and I didn't receive until yesterday.
>
> doesn that give you any idea wher I could investigate to understand what
> happened?
>
>
> sandro
>
>
> --
> Sandro Dentella *:-)
> http://sqlkit.argolinux.org SQLkit home page - PyGTK/python/sqlalchemy
> _______________________________________________
> pygtk mailing list pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
>
More information about the pygtk
mailing list