Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3000)

Unified Diff: bench/gen_bench_expectations.py

Issue 328883003: Fix what I just broke (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Merge fixed now? Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/gen_bench_expectations.py
diff --git a/bench/gen_bench_expectations.py b/bench/gen_bench_expectations.py
index e42bc6301e0dfcde172c4c061fce86f5cb005840..1634914718f2237e6eb1f9d9ef3700bb6a386e27 100644
--- a/bench/gen_bench_expectations.py
+++ b/bench/gen_bench_expectations.py
@@ -48,13 +48,8 @@ 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698