benchmark: track the binary size (#804)

This commit is contained in:
Yoshiya Hinosawa 2018-09-24 00:54:07 +09:00 committed by Ryan Dahl
parent 56acb6fa0e
commit 9203e983d1
4 changed files with 59 additions and 4 deletions

View file

@ -66,6 +66,7 @@ def main(argv):
new_data = {
"created_at": time.strftime("%Y-%m-%dT%H:%M:%SZ"),
"sha1": sha1,
"binary_size": os.path.getsize(deno_path),
"benchmark": {}
}
for [[name, _], data] in zip(benchmarks, benchmark_data["results"]):