Perl: the Markov chain saw | |
PerlMonks |
Re^3: Net::SSH::Perl and fork hangsby Old_Gray_Bear (Bishop) |
on Jun 02, 2014 at 19:11 UTC ( [id://1088305]=note: print w/replies, xml ) | Need Help?? |
Which runs slower? a) A new connection + system() or b) A Code that hangs and never completes?
And, since this is a 'test'case', why is there an artificial constraint on the amount of time it takes? Tests typically need run to completion, how ever long that is. There are better things to focus your optimization efforts upon. Update: Looking through the old diaries I found the test logs from a gig I had at a bank in 1995. We were happy when the one test that exercised all of the databases, some 20+ Oracle DBs, completed in under 17 hours. Now we only ran it once a month as part of the regression testing, but....
---- OGB
In Section
Seekers of Perl Wisdom
|
|