+ print t + "*** REGRESSION (" + x + " now fails)"
+
+ if x == 'compile state' or x == 'exec state':
+ continue
+
+ # For execution time, if there is no result it's a fail.
+ if not d_old[t].has_key(x) and not d_new[t].has_key(x):
+ continue
+ elif not d_new[t].has_key(x):
+ print t + " *** REGRESSION (" + x + ")"
+ elif not d_old[t].has_key(x):
+ print t + " * NEW PASS (" + x + ")"
+
+ if math.isnan(d_old[t][x]) and math.isnan(d_new[t][x]):
+ continue
+
+ elif math.isnan(d_old[t][x]) and not math.isnan(d_new[t][x]):
+ print t + " * NEW PASS (" + x + ")"
+
+ elif not math.isnan(d_old[t][x]) and math.isnan(d_new[t][x]):
+ print t + " *** REGRESSION (" + x + ")"
+
+ if d_new[t][x] > d_old[t][x] and \
+ (d_new[t][x] - d_old[t][x]) / d_new[t][x] > .05:
+ print t + " *** REGRESSION (" + x + ")"
+