Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Etc ci performance run locally #12946

Merged
merged 17 commits into from Sep 6, 2016
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Making test-tidy happy.

  • Loading branch information
asajeffrey committed Aug 20, 2016
commit bc07d9939104b984a61a1fefbadf82a6fd51a799
@@ -14,6 +14,7 @@

args = parser.parse_args()


def load_data(filename):
with open(filename, 'r') as f:
results = {}
@@ -36,7 +37,7 @@ def load_data(filename):
GREEN = '\033[92m'
WARNING = '\033[93m'
END = '\033[0m'

for key in keys:
value1 = data1.get(key)
value2 = data2.get(key)
@@ -46,6 +47,6 @@ def load_data(filename):
print ("{}Test {}: missing from {}.{}".format(WARNING, key, args.file1, END))
elif value1 and value2:
diff = value2 - value1
change = diff / value1
change = diff / value1
color = BLUE if value1 <= value2 else GREEN
print("{}{:6} {:6} {:+6} {:+8.2%} {}.{}".format(color, value1, value2, diff, change, key, END))
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.