|
|
|
@ -263,7 +263,7 @@ class TestFwFingerprintTiming(unittest.TestCase): |
|
|
|
|
print(f'get_vin {name} case, query time={self.total_time / self.N} seconds') |
|
|
|
|
|
|
|
|
|
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 = { |
|
|
|
|
1: { |
|
|
|
|
'gm': 1.0, |
|
|
|
@ -271,7 +271,7 @@ class TestFwFingerprintTiming(unittest.TestCase): |
|
|
|
|
'chrysler': 0.3, |
|
|
|
|
'ford': 1.5, |
|
|
|
|
'honda': 0.45, |
|
|
|
|
'hyundai': 1.05, |
|
|
|
|
'hyundai': 0.65, |
|
|
|
|
'mazda': 0.1, |
|
|
|
|
'nissan': 0.8, |
|
|
|
|
'subaru': 0.65, |
|
|
|
@ -281,7 +281,7 @@ class TestFwFingerprintTiming(unittest.TestCase): |
|
|
|
|
}, |
|
|
|
|
2: { |
|
|
|
|
'ford': 1.6, |
|
|
|
|
'hyundai': 1.85, |
|
|
|
|
'hyundai': 1.15, |
|
|
|
|
'tesla': 0.3, |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|