opendbc icon indicating copy to clipboard operation
opendbc copied to clipboard

Memoize parsed DBC files (openpilot car-interface speedup 1/2)

Open ReyNeill opened this issue 1 month ago • 0 comments

summary

  • cache parsed DBC files in opendbc.can.dbc.DBC so each worker reads a given DBC only once

testing

  • python -m pytest --durations=20 selfdrive/car/tests/test_car_interfaces.py # run from openpilot with the updated submodule

Validation

  • Dongle ID: N/A (test-only change)
  • Route: N/A

ReyNeill avatar Nov 04 '25 15:11 ReyNeill