faster refs :D

pull/32022/head
Shane Smiskol 1 year ago
parent 76db8971a5
commit ad8dc54803
  1. 6
      selfdrive/car/tests/test_fw_fingerprint.py

@ -263,7 +263,7 @@ class TestFwFingerprintTiming(unittest.TestCase):
print(f'get_vin {name} case, query time={self.total_time / self.N} seconds') print(f'get_vin {name} case, query time={self.total_time / self.N} seconds')
def test_fw_query_timing(self): def test_fw_query_timing(self):
total_ref_time = {1: 8.5, 2: 9.4} total_ref_time = {1: 8.1, 2: 8.7}
brand_ref_times = { brand_ref_times = {
1: { 1: {
'gm': 1.0, 'gm': 1.0,
@ -271,7 +271,7 @@ class TestFwFingerprintTiming(unittest.TestCase):
'chrysler': 0.3, 'chrysler': 0.3,
'ford': 1.5, 'ford': 1.5,
'honda': 0.45, 'honda': 0.45,
'hyundai': 1.05, 'hyundai': 0.65,
'mazda': 0.1, 'mazda': 0.1,
'nissan': 0.8, 'nissan': 0.8,
'subaru': 0.65, 'subaru': 0.65,
@ -281,7 +281,7 @@ class TestFwFingerprintTiming(unittest.TestCase):
}, },
2: { 2: {
'ford': 1.6, 'ford': 1.6,
'hyundai': 1.85, 'hyundai': 1.15,
'tesla': 0.3, 'tesla': 0.3,
} }
} }

Loading…
Cancel
Save