lago-project / lago

Ad-hoc virtual testing environment framework
http://lago.readthedocs.org
GNU General Public License v2.0
47 stars 39 forks source link

Extract paths reimplementation #789

Closed tinez closed 5 years ago

tinez commented 5 years ago

Using 'scp' to copy a lot of data in a file-by-file manner is very inefficient. This patch changes the way path extraction works:

This algorithm offers drastic speed-ups when dealing with collection of a large dataset i.e. for oVirt System Tests, it reduces the time needed to collect artifacts from ~20 secs to ~2 secs. This in turn, trims down the running time of each OST suite by a couple of minutes.