in reply to Testing many devices - are threads the answer?

You don't say what platform but if *nix, I would go with a Parallel::ForkManager solution before I did threads.

-derby
  • Comment on Re: Testing many devices - are threads the answer?

Replies are listed 'Best First'.
Re^2: Testing many devices - are threads the answer?
by McDarren (Abbot) on May 12, 2009 at 14:25 UTC
    Thanks for the pointer.

    I gave this a go, and found that implementing it into my existing code was incredibly easy - and had the desired result. Using Parallel::ForkManager with 10 "workers" reduced my total run time from ~15 minutes to just under 2 minutes.

    This has basically solved my problem, but I'm still curious about threads, so I plan to have a look at the example provided by BrowserUK next.

    Thanks again,
    Darren :)