Reverse benchmark graphs
Change-Id: I7ea4a2e9c554b5c53caaed3071781a14ebb87d1f
diff --git a/tools/historic_run.py b/tools/historic_run.py
index 55e5792..9822648 100755
--- a/tools/historic_run.py
+++ b/tools/historic_run.py
@@ -76,9 +76,10 @@
def git_commit_from_hash(hash):
- commit_timestamp = subprocess.check_output(
+ commit_timestamp_str = subprocess.check_output(
['git', 'show', '--no-patch', '--no-notes', '--pretty=%ct',
hash]).decode('utf-8').strip()
+ commit_timestamp = int(commit_timestamp_str)
destination_dir = '%s/%s/' % (MASTER_COMMITS, hash)
destination = '%s%s' % (destination_dir, 'r8.jar')
commit = GitCommit(hash, destination_dir, destination, commit_timestamp)