Fix broken rebaseline code
BUG=skia: NOTRY=true R=bensong@google.com Author: kelvinly@google.com Review URL: https://codereview.chromium.org/327943003
This commit is contained in:
parent
ad1dc589ce
commit
10dc56c468
@ -48,8 +48,13 @@ def compute_ranges(benches):
|
||||
"""
|
||||
avg = sum(benches) / len(benches)
|
||||
squared_avg = avg ** 2
|
||||
<<<<<<< HEAD
|
||||
avg_sum_squared = sum([bench**2 for bench in benches])/len(benches)
|
||||
std_dev = (abs(avg_sum_squared - squared_avg) + 0.05*abs(avg)) ** 0.5
|
||||
=======
|
||||
avg_squared = sum([bench**2 for bench in benches])/len(benches)
|
||||
std_dev = (avg_squared - squared_avg) ** 0.5
|
||||
>>>>>>> origin/master
|
||||
|
||||
# If the results are normally distributed, 2 standard deviations
|
||||
# captures something like ~95% of the possible range of results I think
|
||||
|
Loading…
Reference in New Issue
Block a user