[PyQt] help with performance issue

Matt Chambers chambers at imageworks.com
Mon Apr 11 23:10:10 BST 2011


On 04/11/11 14:00, Hans-Peter Jansen wrote:
> You forgot to mention, from what class your offending method derives.
> Anyhow, I don't think, that cProfile is the proper instrumentation for
> that kind of issue, since PyQt is throughoutly compiled code, you
> should cope with that, and do proper profiling on that level. If that's
> not possible, your best bet is bisection.
>
> Otherwise, you can only hope, that Phil has a spontaneous idea..
>
>    
The widget is inheriting from QWidget.  I'm working on your suggestion 
for some deeper profiling and comparison of the PyQt code, but I'd 
really like to get a simple example for you that exhibits the problem.  
Since its such a dramatic loss in performance, I was hoping someone 
might remember a change between 4.3 and 4.4 that may be the culprit.

Thanks for the response.

-Matt




More information about the PyQt mailing list