in reply to Testing many devices - are threads the answer?
Concurrency gives you simultaneous execution, but not necessarily speed. The question you really need to ask is what is the bottleneck. If it is the in the code formatting the results, threading will not help you at all. If you are spending timing waiting for the devices to respond back, then threading will probably help you.
I would suggest you look at your code with Devel::NYTProf to get a detailed look at what your program is doing and then decide what you want to do.
|Replies are listed 'Best First'.|
Re^2: Testing many devices - are threads the answer?
by McDarren (Abbot) on May 12, 2009 at 14:33 UTC
by Herkum (Parson) on May 13, 2009 at 13:36 UTC