|
|
@ -192,7 +192,7 @@ class TestFwFingerprintTiming(unittest.TestCase): |
|
|
|
if not len(multi_panda_requests) and num_pandas > 1: |
|
|
|
if not len(multi_panda_requests) and num_pandas > 1: |
|
|
|
raise unittest.SkipTest("No multi-panda FW queries") |
|
|
|
raise unittest.SkipTest("No multi-panda FW queries") |
|
|
|
|
|
|
|
|
|
|
|
avg_time = self._benchmark(brand, num_pandas, 10) |
|
|
|
avg_time = self._benchmark(brand, num_pandas, 5) |
|
|
|
total_time += avg_time |
|
|
|
total_time += avg_time |
|
|
|
self._assert_timing(avg_time, brand_ref_times[num_pandas][brand], tol) |
|
|
|
self._assert_timing(avg_time, brand_ref_times[num_pandas][brand], tol) |
|
|
|
print(f'{brand=}, {num_pandas=}, {len(config.requests)=}, avg FW query time={avg_time} seconds') |
|
|
|
print(f'{brand=}, {num_pandas=}, {len(config.requests)=}, avg FW query time={avg_time} seconds') |
|
|
|