I did some quick profiling, and turns out that the suite was wasting a significant amount of time looking for pkg-config packages. One source of this was the ROS loader. The other was that the component loader was adding a new Loaders::PkgConfig to the default loader, one per test, which is a rather massive memory leak over time.
On my machine, the suite went from 12 min to 4 when this PR was also added
I did some quick profiling, and turns out that the suite was wasting a significant amount of time looking for pkg-config packages. One source of this was the ROS loader. The other was that the component loader was adding a new Loaders::PkgConfig to the default loader, one per test, which is a rather massive memory leak over time.
On my machine, the suite went from 12 min to 4 when this PR was also added