Home
last modified time | relevance | path

Searched refs:RelativeChange (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/tools/auto_bisect/
Dmath_utils_test.py42 self.assertEqual(0.5, math_utils.RelativeChange(1.0, 1.5))
43 self.assertEqual(0.5, math_utils.RelativeChange(2.0, 1.0))
48 self.assertEqual(0, math_utils.RelativeChange(0, 0))
50 math.isnan(math_utils.RelativeChange(0, 1)))
52 math.isnan(math_utils.RelativeChange(0, -1)))
56 self.assertEqual(3.0, math_utils.RelativeChange(-1, 2))
57 self.assertEqual(3.0, math_utils.RelativeChange(1, -2))
58 self.assertEqual(1.0, math_utils.RelativeChange(-1, -2))
Dmath_utils.py76 def RelativeChange(before, after): function
Dbisect_results.py185 regression_size = 100 * math_utils.RelativeChange(mean_of_good_runs,