From d26655371b796cf5dad762d1b7154c25251cb41d Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Tue, 12 Feb 2019 02:57:26 +0900 Subject: fix: improve formatting (#1732) --- tools/benchmark.py | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'tools/benchmark.py') 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(): -- cgit v1.2.3