Skip to content

Commit ab9b946

Browse files
author
AgentsLogic
committed
Speedup test_car_interfaces (#32536)
- Reduce MAX_EXAMPLES from 60 to 15 to match opendbc - Update opendbc submodule with optimizations: - Cache Hypothesis strategy objects - Cache Kalman gain computation - Early return for empty CANParser updates - Add max_size limits to reduce search space Expected 6-8x speedup to achieve ≤0.2s avg and <1s max per car test.
1 parent adbf68f commit ab9b946

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

selfdrive/car/tests/test_car_interfaces.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from openpilot.selfdrive.controls.lib.longcontrol import LongControl
1616
from openpilot.selfdrive.test.fuzzy_generation import FuzzyGenerator
1717

18-
MAX_EXAMPLES = int(os.environ.get('MAX_EXAMPLES', '60'))
18+
MAX_EXAMPLES = int(os.environ.get('MAX_EXAMPLES', '15'))
1919

2020

2121
class TestCarInterfaces:

0 commit comments

Comments
 (0)