go ahead... be a heretic | |
PerlMonks |
Re: Testing many devices - are threads the answer?by BrowserUk (Patriarch) |
on May 12, 2009 at 13:58 UTC ( [id://763485]=note: print w/replies, xml ) | Need Help?? |
Seems an ideal application for threads. Something like this should get you started. You'll need to fill in the blanks.
If your serial code takes 15 minutes, this should reduce it to ~1 minute. But don't get carried away increasing the number of threads, as there are diminishing returns. Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|