ansible: serialize calls to ModuleDepService.
Concurrent calls to ModuleDepService would cause significant wasted work, as potentially all pool threads run the same uncached module dep scan. Without: 3243581 function calls (3233009 primitive calls) in 4770.672 seconds ncalls tottime percall cumtime percall filename:lineno(function) 2523 0.011 0.000 39.849 0.016 services.py:409(scan) With: 2801561 function calls (2800042 primitive calls) in 5166.843 seconds ncalls tottime percall cumtime percall filename:lineno(function) 2506 0.009 0.000 1.967 0.001 services.py:411(scan) Ignore timing variance due to problems with the test job.pull/350/head
parent
a05835c46e
commit
d62e6e2a7f
Loading…
Reference in New Issue