[Gambas-user] Draw.Begin/End execution time

Adrien Prokopowicz adrien.prokopowicz at ...626...
Sat Jun 9 23:24:58 CEST 2012


Le samedi 9 juin 2012 22:46:46 Benoît Minisini a écrit :
> >> Here is a little test project.
> >> 
> >> And I just noticed that there isn't this problem with gb.gtk. So for
> >> me it's a
> >> bug in gb.qt4.
> > 
> > On my machine, Draw.Begin with gb.gtk takes about 120 micro-seconds the
> > first time it is called, 50 us the next times. With gb.qt4, it takes
> > about 300 us each time.
> > 
> > So I don't understand how it could take 20 ms on your machine: it means
> > that my PC is 66x faster than yours!
> 
> I added a little optimization in revision #4819: is it better on your
> machine?

Yes, this is really better ! It passed from 20ms to 300us, even around 120us 
sometimes. Thanks !




More information about the User mailing list