[PD] Re: reduce CPU usage

Chris McCormick chris at mccormick.cx
Tue Jun 24 21:36:18 CEST 2003


This is a really top idea. Wx is nice to dev with, and OS native
widgets would just be so much nicer on the eyes than Tk (of course,
this is subjective), not to mention the speed.
Just voicing support for this idea.

Chris.

On Sun, 22 Jun 2003 13:19:40 -0700
Miller Puckette <mpuckett at man104-1.ucsd.edu> wrote:

> On that subject, I'm thinking about (someday) rewriting Pd's whole
> graphics layer, probably in "wx", to make it faster.  I'm hoping not
> to have to do that until I understand how the whole GUI should work
> better than I do now.
> 
> cheers
> Miller
> 
> On Sun, Jun 22, 2003 at 03:55:13PM -0400, tigital wrote:
> > On Sunday, June 22, 2003, at 07:19  AM, Shintaro Miyazaki wrote:
> > 
> > > hi
> > >
> > > how can I reduce CPU usage generally?
> > >
> > >
> > > I made a patch that uses almost 90% CPU and everything gets
> > > really slow. (graphically)
> > > It uses 82% CPU also if its "stands still" and does nothing.
> > > I m working on a Apple G4 1 Ghz, 1GB RAM etc.
> > >
> > > I would be glad if somebody would help me with my patch so it
> > > gets "faster".
> > >
> > > download it at . www.gezetera.ch/noise/supercpu.pd
> > >
> > > thank you in advance.
> > 
> > hello miyazaki,
> > 
> > ...very nice looking patch, but that is the problem 
> > (unfortunately)...all that use of color is pretty, but horribly 
> > un-optimized, at least on the mac tcl/tk side...this is an
> > incredible limitation to the usage of pd in any but an
> > "experimental" manner...I have been working on moving tcl/tk's
> > graphics to native coregraphics calls, but it is a big project,
> > and I'm not convinced that it wouldn't be better to rewrite the pd
> > gui in something else...but it's also apparent that the problem is
> > not just the OSX tcl/tk, because I also get about 56% pd cpu usage
> > with the patch sitting idle, and tcl/tk is barely 5-10%...it's
> > disappointing that pd spends so much time with inefficient drawing
> > calls...
> > 
> > ...I would be interested in finding out how this performs on a
> > linux box...
> > 
> > ...lastly, It would be very helpful if, when posting patches like
> > this, you mention what libraries you are loading:  I have zexy,
> > but don't know where most of the other stuff comes from!
> > 
> > l8r,
> > jamie
> > 
> > 
> > _______________________________________________
> > PD-list mailing list
> > PD-list at iem.at
> > http://iem.at/cgi-bin/mailman/listinfo/pd-list
> 
> _______________________________________________
> PD-list mailing list
> PD-list at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/pd-list
> 


_________________________________
chris at mccormick.cx
http://www.mccormick.cx
http://www.hypercube.com.au
http://www.sciencegirlrecords.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20030625/ec517b7c/attachment.pgp>


More information about the Pd-list mailing list