It turns out that cocotb-config, which is run multiple times for each cocotb run, has quite a lot of overhead. Thankfully, for a given installation, it always returns the same values, so they can be cached. This PR drastically reduces regression test run time, especially on multicore machines.
It turns out that
cocotb-config
, which is run multiple times for each cocotb run, has quite a lot of overhead. Thankfully, for a given installation, it always returns the same values, so they can be cached. This PR drastically reduces regression test run time, especially on multicore machines.