Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Can shmfs speed up Perl?by tachyon (Chancellor) |
on Apr 25, 2003 at 15:24 UTC ( [id://253187]=note: print w/replies, xml ) | Need Help?? |
You are making all sorts of speed assumtions. Cheifly your suppostion is that Perl is 'slow' because of the time taken to load the Perl binary into memory. You are completely off track in all liklihood. For a start it is probably cached on any decent OS. Disk I/O is the most common bottleneck. Crap algorithms rate pretty high as well. If it is a CGI mod_perl will probably be at least an order of magnutude faster, maybe more. If you have a specific problem you may find we can offer a specific answer. For example I cut a couple of orders of magnitude off a long running task here Re: Performance Question which was a pure disk I/O bottleneck. cheers tachyon s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In Section
Seekers of Perl Wisdom
|
|