Open sshane opened 1 month ago
should the time improvement come from not making changes to the testpath
?
You can easily improve by being explicit in testpaths. Doesn't seem like that's the point of this bounty if it's that easy.
pytest selfdrive/car/tests --co
takes 1.5s on its own.
============ 4172 tests collected in 2.05s ============
running pytest --co today gives the above output.
Perhaps it's time to close this and give the bounty to whoever got this here.
(just tried again. when i delete the cache, it takes 3.76s)
Currently it takes ~6-7s with these plugins:
Verification:
Run
time pytest --collect-only
in the root openpilot directory and post both thereal
time and the collection time as reported by pytest (=== 4011 tests collected in 6.61s ===
). Include the times before and after your PR.