Re: [Veusz-discuss] speeding up veusz

2009-09-29 Par sujet Matthew McCormick (thewtex)
On Sun, Sep 27, 2009 at 12:22 PM, Jeremy Sanders wrote: > Matthew McCormick (thewtex) wrote: > >> Yeah, _getLinePoints seems to be one of the buggers. > > Okay, I've hacked together a routine to convert arrays to QPolygonF in C++ > to speed up this loop. It appears to work and is a lot faster than

Re: [Veusz-discuss] speeding up veusz

2009-09-29 Par sujet Jeremy Sanders
Matthew McCormick (thewtex) wrote: > Yeah, _getLinePoints seems to be one of the buggers. Okay, I've hacked together a routine to convert arrays to QPolygonF in C++ to speed up this loop. It appears to work and is a lot faster than pure python. Unfortunately I've hacked in the support to get i

Re: [Veusz-discuss] speeding up veusz

2009-09-23 Par sujet Jeremy Sanders
On Wed, 23 Sep 2009, Jeremy Sanders wrote: > That would probably speed up quite a few parts of the program. I probably > should make a quick benchmark to make sure that python is the real overhead > here however. Just to add a quick benchmark shows filling a QPolygonF in Python with 1 poin

Re: [Veusz-discuss] speeding up veusz

2009-09-23 Par sujet Jeremy Sanders
On Tue, 22 Sep 2009, Matthew McCormick (thewtex) wrote: On Sat, Sep 19, 2009 at 2:49 PM, Jeremy Sanders wrote: Matthew McCormick (thewtex) wrote: So, I have implemented my PyQt4/veusz application, which can be seen here: http://mmmccormick.com/#tcd_analyze It looks good, but the speed is no

Re: [Veusz-discuss] speeding up veusz

2009-09-22 Par sujet Matthew McCormick (thewtex)
> Are you using a recent Qt version? They fixed a bug which made plotting > lines very slow in X11 if they were long (even if clipped). > I've been using qt-4.5.1 ___ Veusz-discuss mailing list Veusz-discuss@gna.org https://mail.gna.org/listinfo/veusz-d

Re: [Veusz-discuss] speeding up veusz

2009-09-22 Par sujet Matthew McCormick (thewtex)
On Sat, Sep 19, 2009 at 2:49 PM, Jeremy Sanders wrote: > Matthew McCormick (thewtex) wrote: > >> So, I have implemented my PyQt4/veusz application, which can be seen here: >> http://mmmccormick.com/#tcd_analyze >> >> It looks good, but the speed is not usable for a real dataset.  I've >> got anti-

Re: [Veusz-discuss] speeding up veusz

2009-09-19 Par sujet Jeremy Sanders
Matthew McCormick (thewtex) wrote: > So, I have implemented my PyQt4/veusz application, which can be seen here: > http://mmmccormick.com/#tcd_analyze > > It looks good, but the speed is not usable for a real dataset. I've > got anti-aliasing turned off, which helps a lot, but it still needs a >

[Veusz-discuss] speeding up veusz

2009-09-18 Par sujet Matthew McCormick (thewtex)
So, I have implemented my PyQt4/veusz application, which can be seen here: http://mmmccormick.com/#tcd_analyze It looks good, but the speed is not usable for a real dataset. I've got anti-aliasing turned off, which helps a lot, but it still needs a ways to go. Here is some profiling data I made