summaryrefslogtreecommitdiff
path: root/tools/benchmark.py
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2018-09-24 00:54:07 +0900
committerRyan Dahl <ry@tinyclouds.org>2018-09-23 11:54:07 -0400
commit9203e983d1536618fb07b3ffd95da177c9bbfdfc (patch)
treecb278c20cfbc9b79af5daca3b89d6aead706430f /tools/benchmark.py
parent56acb6fa0e70206738259b80d054931e57617d90 (diff)
benchmark: track the binary size (#804)
Diffstat (limited to 'tools/benchmark.py')
-rwxr-xr-xtools/benchmark.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/benchmark.py b/tools/benchmark.py
index f0f9e4ac6..d9decefbb 100755
--- a/tools/benchmark.py
+++ b/tools/benchmark.py
@@ -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"]):