Date: Fri, 1 Feb 2002 10:52:36 +0200 (EET) From: Vladimir Girnetz <vg@ns.moldnet.md> To: <freebsd-questions@FreeBSD.ORG> Subject: Re: PERL way too slow on cat operation; me wonders what is going on Message-ID: <20020201104849.N44766-100000@ns.moldnet.md> In-Reply-To: <20020201052143.GD3088@raggedclown.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 1 Feb 2002, Cliff Sarginson wrote: > On Thu, Jan 31, 2002 at 11:09:50PM -0600, Steven A wrote: > > yea it is a typo > > > > oops > > > > this doesnt change anything, i still have the problem > > > > > > cat 80megfile.ps | perl cat.pl > output.ps > > > > vs > > > > cat 80megfile.ps | cat - > output.ps > > > > > > the first takes 8 minutes the second takes 3 seconds. > > > What is the file ? Postscript ? > try it with something else, or dd something into it. > Just a shot in the dark.. > I use some big perl scripts year ago. Perl 5.00 on FreeBSD is slowly that on Linux. The same script, under the same machine, same web server runs on Linux 3-5 time faster. So, I rewrite all scripts in C. Perl 5.6.1 works much better. Migrate to it. Regards, Vladimir > -- > Regards > Cliff > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020201104849.N44766-100000>