in reply to Using fork for reading and processing a large file in ActiveState perl

When trying to speed up some program, the first step usually is to figure out what exactly is slow by profiling it (e.g. Devel::NYTProf). Only then you can take appropriate measures. For example, if the bottleneck is mainly IO (reading/writing files), multithreading is unlikely to be of much help.

  • Comment on Re: Using fork for reading and processing a large file in ActiveState perl

Replies are listed 'Best First'.
Re^2: Using fork for reading and processing a large file in ActiveState perl
by vit (Friar) on Feb 24, 2010 at 18:10 UTC
    IO is very small compared to other processing which includes an http request and processing the web page HTML.