Home | History | Annotate | Download | only in release

Lines Matching refs:d_new

64 def diffResults(d_old, d_new):
74 if d_new.has_key(t):
79 if not d_old[t].has_key(x) and not d_new[t].has_key(x):
83 if d_new[t].has_key(x):
86 if d_new[t][x] != 'PASS':
89 if d_new[t][x] == 'PASS':
99 if not d_old[t].has_key(x) and not d_new[t].has_key(x):
101 elif not d_new[t].has_key(x):
106 if math.isnan(d_old[t][x]) and math.isnan(d_new[t][x]):
109 elif math.isnan(d_old[t][x]) and not math.isnan(d_new[t][x]):
112 elif not math.isnan(d_old[t][x]) and math.isnan(d_new[t][x]):
115 if d_new[t][x] > d_old[t][x] and d_old[t][x] > 0.0 and \
116 (d_new[t][x] - d_old[t][x]) / d_old[t][x] > .05:
117 regressions[x] += t + ": " + "{0:.1f}".format(100 * (d_new[t][x] - d_old[t][x]) / d_old[t][x]) + "%\n"
156 d_new = parse(sys.argv[2])
158 diffResults(d_old, d_new)