opendbc/can/tests
Dean Lee 8faada0494
refactor CANParser to improve performance (#795)
* reduce the const of copying signal values in CANParser::query_latest

* pass by reference

* use for range loop

* update_strings

* use assign

* track all signals

* use iterator & pointer to avoid copy SignalValue from vector

* use normal dict for vl_all

* update tests

* fix error in merge master

* change thresholds

reduce thresholds

* Trigger CI

* Trigger CI

* Trigger CI

* cleanup ctor

* reduce threshold

* revert changes to test_parser.py

* change thresholds

* remove update_string() from cython

* comment out test_performance_one_signal

* reduce thresholds

* test

* update

* update

* revert that for now

* update

* update

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-04-22 17:54:36 -07:00
..
.gitignore Can migration (#199) 2019-11-22 21:46:33 -08:00
__init__.py Can migration (#199) 2019-11-22 21:46:33 -08:00
test.dbc Add test for Subaru Brake_Status Signal1 large value (#702) 2022-09-07 20:37:36 -07:00
test_checksums.py teach the packer how to count (#669) 2022-07-21 17:51:49 -07:00
test_dbc_exceptions.py CANParser: add performance test (#801) 2023-03-31 13:50:03 -07:00
test_dbc_parser.py remove one more duplicate 2022-07-29 15:31:08 -07:00
test_define.py CANParser: add performance test (#801) 2023-03-31 13:50:03 -07:00
test_packer_parser.py refactor CANParser to improve performance (#795) 2023-04-22 17:54:36 -07:00
test_parser.py refactor CANParser to improve performance (#795) 2023-04-22 17:54:36 -07:00