3f638afc9c599db74ea756a38c4d737ffdaddc17 |
|
26-Oct-2014 |
David James <davidjames@google.com> |
subcommand: Use retry.timeout instead of sleep loop. Currently, we wait for 1 second in between polls for child processes to exit. This adds 1 second of overhead, which adds up. For example, this speeds up the emerge of autotest-tests from 2m48s to 29 seconds. Total time for build_packages on x86-generic is improved from 11m3s to 4m43s. BUG=chromium:210911 TEST=Test emerge of autotest-tests with this. TEST=pre-cq-group and paladin trybot runs. TEST=new unit tests Change-Id: I3d9fdf2d324a131c21252d22c1f9989555588fde Reviewed-on: https://chromium-review.googlesource.com/225556 Reviewed-by: Dan Shi <dshi@chromium.org> Commit-Queue: David James <davidjames@chromium.org> Tested-by: David James <davidjames@chromium.org>
/external/autotest/server/subcommand_unittest.py
|
6631273af8b88842cbd6202cc4615daf050cc957 |
|
27-Aug-2009 |
mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> |
Make a bunch of stuff executable git-svn-id: http://test.kernel.org/svn/autotest/trunk@3621 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/server/subcommand_unittest.py
|
a57cc925bf833ac04f890dbbfa6b383edbb56d40 |
|
25-Aug-2009 |
mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> |
Log the original exceptions from subcommand.parallel() to help debugging failures. Added unittests for subcommand. Signed-off-by: Mihai Rusu <dizzy@google.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@3606 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/server/subcommand_unittest.py
|