-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
Description
can/tests/ is 20x faster to collect than car/tests/.
batman:opendbc$ pytest --co can/tests/
============ 22 tests collected in 0.05s ============
batman:opendbc$ pytest --co car/tests/
============ 1627 tests collected in 1.04s ============
My first suspicion is the use of parameterized. Parameterizing is super important for running all the tests on different car models, so it's worth confirming that it's this and making it faster. Is it faster to just use a for loop?
For bounty, need a good root cause and get it <= 0.1s unless there's some reason we can't.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Open