On Sun, Jun 04, 2006 at 07:52:42PM +0200, Peter Kümmel wrote:
> Here some statistics of QLPainter functions:
> 
> I've measured the time which the program is
> in an scope, see attached patch.

Is there a reason why you can't use a profiler?

> The results are:
> 
> complete QLPainter member functions:
> Scope 12,    ms : 1236 -> setQPainterPen

Hm, switching pens is known to be extraordinarily expensive in Qt 4.
Things have a bit improved in 4.1.3, though.

> Scope 14,    ms : 812 ->  line
> Scope 15,    ms : 172
> Scope 16,    ms : 46
> Scope 17,    ms : 3683 -> fillRectangle
> Scope 20,    ms : 16
> Scope 22,    ms : 514

Andre'

Reply via email to