Home | History | Annotate | Download | only in release

Lines Matching refs:d_old

64 def diffResults(d_old, d_new):
73 for t in sorted(d_old.keys()) :
79 if not d_old[t].has_key(x) and not d_new[t].has_key(x):
82 if d_old[t].has_key(x):
85 if d_old[t][x] == 'PASS':
99 if not d_old[t].has_key(x) and not d_new[t].has_key(x):
103 elif not d_old[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"
155 d_old = parse(sys.argv[1])
158 diffResults(d_old, d_new)