Re: [Catalyst] Module::Install::Catalyst very slow
Oh, that patch will break when used on an existing tree, so don't use. And I'm not clear how distclean will work with the symlinks. So, if destination is already a symlink is there anything to do? Assume it's already linked. And if it's a regular dir then do the rcopy? I'm using this just to speed up places where people are running the Makefile.PL script somewhat often. But, as a replacement for rcopy a bit more testing is needed to see what might break. Sorry for the noise. On Mon, Aug 16, 2010 at 5:03 PM, Bill Moseley wrote: > On Fri, Jul 30, 2010 at 8:13 AM, Curtis Jewell > wrote: > >> So the build process can't symlink without checking for support for it >> first. (Catalyst DOES run on Win32, after all, as well as the Unixen.) >> > > Of course. > > > Here's an svn export of an app: > > $ find . | wc -l > 35677 > > $ fgrep 'model name' /proc/cpuinfo | uniq -c > 8 model name : Intel(R) Xeon(R) CPU E5335 @ 2.00GHz > > (not that the number of cores makes a difference here) > > $ time perl Makefile.PL > ... > real4m25.784s > user0m4.670s > sys 0m5.110s > > > See any situations where symlink (as in attached diff) would not work? > > > > > > > > >> >> On Fri, 30 Jul 2010 07:46 -0700, "Bill Moseley" >> wrote: >> > When I run Makefile.PL the Module::Install::Catalyst step can take a >> > number >> > of minutes -- it just took five minutes on one machine just now. I >> assume >> > that's because of the recursive copy. >> > >> > Does the build process require actual copies or could symlinks be used >> to >> > speed up this process? >> -- >> Curtis Jewell >> csjew...@cpan.org http://csjewell.dreamwidth.org/ >> p...@csjewell.fastmail.us http://csjewell.comyr.org/perl/ >> >> "Your random numbers are not that random" -- perl-5.10.1.tar.gz/util.c >> >> Strawberry Perl for Windows betas: http://strawberryperl.com/beta/ >> >> >> ___ >> List: Catalyst@lists.scsys.co.uk >> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst >> Searchable archive: >> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ >> Dev site: http://dev.catalyst.perl.org/ >> > > > > -- > Bill Moseley > mose...@hank.org > -- Bill Moseley mose...@hank.org ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] Module::Install::Catalyst very slow
On Fri, Jul 30, 2010 at 8:13 AM, Curtis Jewell wrote: > So the build process can't symlink without checking for support for it > first. (Catalyst DOES run on Win32, after all, as well as the Unixen.) > Of course. Here's an svn export of an app: $ find . | wc -l 35677 $ fgrep 'model name' /proc/cpuinfo | uniq -c 8 model name : Intel(R) Xeon(R) CPU E5335 @ 2.00GHz (not that the number of cores makes a difference here) $ time perl Makefile.PL ... real4m25.784s user0m4.670s sys 0m5.110s See any situations where symlink (as in attached diff) would not work? > > On Fri, 30 Jul 2010 07:46 -0700, "Bill Moseley" > wrote: > > When I run Makefile.PL the Module::Install::Catalyst step can take a > > number > > of minutes -- it just took five minutes on one machine just now. I assume > > that's because of the recursive copy. > > > > Does the build process require actual copies or could symlinks be used to > > speed up this process? > -- > Curtis Jewell > csjew...@cpan.org http://csjewell.dreamwidth.org/ > p...@csjewell.fastmail.us http://csjewell.comyr.org/perl/ > > "Your random numbers are not that random" -- perl-5.10.1.tar.gz/util.c > > Strawberry Perl for Windows betas: http://strawberryperl.com/beta/ > > > ___ > List: Catalyst@lists.scsys.co.uk > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: > http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ > Dev site: http://dev.catalyst.perl.org/ > -- Bill Moseley mose...@hank.org Module-Install-Catalyst.diff Description: Binary data ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] Module::Install::Catalyst very slow
On those machines which allow symlinks, unfortunately... So the build process can't symlink without checking for support for it first. (Catalyst DOES run on Win32, after all, as well as the Unixen.) --Curtis On Fri, 30 Jul 2010 07:46 -0700, "Bill Moseley" wrote: > When I run Makefile.PL the Module::Install::Catalyst step can take a > number > of minutes -- it just took five minutes on one machine just now. I assume > that's because of the recursive copy. > > Does the build process require actual copies or could symlinks be used to > speed up this process? -- Curtis Jewell csjew...@cpan.org http://csjewell.dreamwidth.org/ p...@csjewell.fastmail.us http://csjewell.comyr.org/perl/ "Your random numbers are not that random" -- perl-5.10.1.tar.gz/util.c Strawberry Perl for Windows betas: http://strawberryperl.com/beta/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/