Re: [perl #38194] [TODO] build - optimize pmc2c.pl

2008-07-20 Thread chromatic
On Sunday 20 July 2008 17:37:28 James Keenan via RT wrote: > If no one currently has any more ideas on the subject of this ticket, I > will close it. Running it less frequently -- over all PMCs at once -- would speed it up, especially on Windows. Unfortunately, that would introduce a bottleneck

Re: [perl #38194] [TODO] build - optimize pmc2c.pl

2008-06-26 Thread Will Coleda
On Thu, Jun 26, 2008 at 2:50 PM, James Keenan via RT <[EMAIL PROTECTED]> wrote: > On #parrot I had some discussion about tools/build/pmc2c.pl with bacek > and DietCoke. I pasted some output from dprofpp: > > http://nopaste.snit.ch/13401 > http://nopaste.snit.ch/13402 > > On the basis of these

Re: [perl #38194] [TODO] build - optimize pmc2c.pl

2008-03-23 Thread chromatic
On Sunday 23 March 2008 21:46:23 jerry gay wrote: > On Sun, Mar 23, 2008 at 9:39 PM, chromatic <[EMAIL PROTECTED]> wrote: > > On Sunday 23 March 2008 20:58:24 jerry gay wrote: > > > why not put the location of parrot's lib dir in > > > Parrot::Config::Generated, and look it up when needed? >

Re: [perl #38194] [TODO] build - optimize pmc2c.pl

2008-03-23 Thread jerry gay
On Sun, Mar 23, 2008 at 9:39 PM, chromatic <[EMAIL PROTECTED]> wrote: > On Sunday 23 March 2008 20:58:24 jerry gay wrote: > > > why not put the location of parrot's lib dir in > > Parrot::Config::Generated, and look it up when needed? > > Isn't Parrot::Config::Generated *in* Parrot's lib dir? >

Re: [perl #38194] [TODO] build - optimize pmc2c.pl

2008-03-23 Thread chromatic
On Sunday 23 March 2008 20:58:24 jerry gay wrote: > why not put the location of parrot's lib dir in > Parrot::Config::Generated, and look it up when needed? Isn't Parrot::Config::Generated *in* Parrot's lib dir? -- c

Re: [perl #38194] [TODO] build - optimize pmc2c.pl

2008-03-23 Thread Joshua Hoblitt
On Sun, Mar 23, 2008 at 06:21:38PM -0700, James Keenan via RT wrote: > On Sat Mar 22 10:38:42 2008, doughera wrote: > > > Just be careful that 'use lib' doesn't look outside of the parrot source > > tree. If pmc2c.pl is normally invoked from the root directory, then > > ../lib and ../../lib are

Re: [perl #38194] [TODO] build - optimize pmc2c.pl

2008-03-23 Thread jerry gay
On Sun, Mar 23, 2008 at 6:21 PM, James Keenan via RT <[EMAIL PROTECTED]> wrote: > On Sat Mar 22 10:38:42 2008, doughera wrote: > > > Just be careful that 'use lib' doesn't look outside of the parrot source > > tree. If pmc2c.pl is normally invoked from the root directory, then > > ../lib and ..

Re: [perl #38194] [TODO] build - optimize pmc2c.pl

2008-03-22 Thread Andy Dougherty
On Fri, 21 Mar 2008, James Keenan via RT wrote: > On Mon Jan 09 17:05:30 2006, [EMAIL PROTECTED] wrote: > > Simple profile suggests that pmc2c.pl is spending about 25% of it's > > total execution time loading FindBin. The lib path use of FindBin::Bin > > can be replaced with 'use lib qw( . lib ..

Re: [perl #38194] [TODO] build - optimize pmc2c.pl

2008-03-17 Thread Joshua Hoblitt
James, Profiling is generally done with Devel::Profile. http://search.cpan.org/~jaw/Devel-Profile-1.05/Profile.pm Since pmc2c.pl is invoked so many times in the build process improving it's performance would sustainably speed up the overall build time. Cheers, -J -- On Mon, Mar 17, 2008 at 04