diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2019-02-12 02:57:26 +0900 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-02-11 12:57:26 -0500 |
commit | d26655371b796cf5dad762d1b7154c25251cb41d (patch) | |
tree | 756f7710b86d2678fbdc2434ae1630741c19edc6 /tools/benchmark.py | |
parent | 90c7af27d7959e94a25f635e21b8d77cb347e135 (diff) |
fix: improve formatting (#1732)
Diffstat (limited to 'tools/benchmark.py')
-rwxr-xr-x | tools/benchmark.py | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/tools/benchmark.py b/tools/benchmark.py index ce08c8ea3..c9b9823de 100755 --- a/tools/benchmark.py +++ b/tools/benchmark.py @@ -57,15 +57,20 @@ def import_data_from_gh_pages(): def get_binary_sizes(build_dir): path_dict = { - "deno": os.path.join(build_dir, "deno" + executable_suffix), - "main.js": os.path.join(build_dir, "gen/bundle/main.js"), - "main.js.map": os.path.join(build_dir, "gen/bundle/main.js.map"), - "compiler.js": os.path.join(build_dir, "gen/bundle/compiler.js"), - "compiler.js.map": os.path.join(build_dir, - "gen/bundle/compiler.js.map"), - "snapshot_deno.bin": os.path.join(build_dir, "gen/snapshot_deno.bin"), - "snapshot_compiler.bin": os.path.join(build_dir, - "gen/snapshot_compiler.bin") + "deno": + os.path.join(build_dir, "deno" + executable_suffix), + "main.js": + os.path.join(build_dir, "gen/bundle/main.js"), + "main.js.map": + os.path.join(build_dir, "gen/bundle/main.js.map"), + "compiler.js": + os.path.join(build_dir, "gen/bundle/compiler.js"), + "compiler.js.map": + os.path.join(build_dir, "gen/bundle/compiler.js.map"), + "snapshot_deno.bin": + os.path.join(build_dir, "gen/snapshot_deno.bin"), + "snapshot_compiler.bin": + os.path.join(build_dir, "gen/snapshot_compiler.bin") } sizes = {} for name, path in path_dict.items(): |