in reply to Re: Testing many devices - are threads the answer?
in thread Testing many devices - are threads the answer?
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 :)
|
---|
In Section
Seekers of Perl Wisdom