Skip to content

Commit

Permalink
update thresholds
Browse files Browse the repository at this point in the history
  • Loading branch information
deanlee committed Mar 31, 2023
1 parent 791e557 commit d6ee41b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions can/tests/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ def test_performance_one_signal(self):
signals = [
("ACCEL_CMD", "ACC_CONTROL"),
]
self._benchmark(signals, [('ACC_CONTROL', 10)], (7800, 9000), 1)
self._benchmark(signals, [('ACC_CONTROL', 10)], (2500, 3500), 10)
self._benchmark(signals, [('ACC_CONTROL', 10)], (7800, 1500), 1)
self._benchmark(signals, [('ACC_CONTROL', 10)], (2500, 5000), 10)

def test_performance_all_signals(self):
signals = [
Expand All @@ -65,8 +65,8 @@ def test_performance_all_signals(self):
("ACCEL_CMD_ALT", "ACC_CONTROL"),
("CHECKSUM", "ACC_CONTROL"),
]
self._benchmark(signals, [('ACC_CONTROL', 10)], (16000, 22000), 1)
self._benchmark(signals, [('ACC_CONTROL', 10)], (10000, 13000), 10)
self._benchmark(signals, [('ACC_CONTROL', 10)], (16000, 25000), 1)
self._benchmark(signals, [('ACC_CONTROL', 10)], (10000, 15000), 10)


if __name__ == "__main__":
Expand Down

0 comments on commit d6ee41b

Please sign in to comment.