Lines Matching refs:bench
104 def add_time(args, name, bench, t, unit): argument
107 append_dict_sorted_array(timesA, bench, normalized_t)
109 append_dict_sorted_array(timesB, bench, normalized_t)
118 bench = items[10]
124 add_time(args, name, bench, float(time_num), time_unit)
223 for bench in timesA.keys():
224 if bench not in timesB:
226 lowerA, upperA = get_lower_upper(timesA[bench])
227 lowerB, upperB = get_lower_upper(timesB[bench])
229 suspects.append(bench)
249 def regression(bench): argument
250 a = median(timesA[bench])
251 b = median(timesB[bench])
317 for bench in timesA:
318 r = regression(bench) if bench in suspects else 1.0
319 results[bench] = {
322 "lower_quantile_ms": get_lower_upper(timesA[bench])[0] * 1e-6,
323 "upper_quantile_ms": get_lower_upper(timesA[bench])[1] * 1e-6
342 for bench in suspects + timesA.keys():
343 if (bench not in timesA or bench not in timesB):
345 ta = timesA[bench]
346 tb = timesB[bench]
348 "%s, %s, %f, " % (bench, bench in suspects, regression(bench)) +