Skip to content

Commit

Permalink
fix benchmark_test (denoland#6814)
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Jul 20, 2020
1 parent fa61956 commit 628c10b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions tools/benchmark.py
Expand Up @@ -60,11 +60,7 @@ def get_binary_sizes(build_dir):
for file_name in file_names:
if not file_name in [
"CLI_SNAPSHOT.bin",
"CLI_SNAPSHOT.js",
"CLI_SNAPSHOT.js.map",
"COMPILER_SNAPSHOT.bin",
"COMPILER_SNAPSHOT.js",
"COMPILER_SNAPSHOT.js.map",
]:
continue
file_path = os.path.join(parent_dir, file_name)
Expand Down
2 changes: 0 additions & 2 deletions tools/benchmark_test.py
Expand Up @@ -43,8 +43,6 @@ def test_max_mem_parse(self):
def test_binary_size(self):
binary_size_dict = benchmark.get_binary_sizes(self.build_dir)
assert binary_size_dict["deno"] > 0
assert binary_size_dict["CLI_SNAPSHOT.js"] > 0
assert binary_size_dict["CLI_SNAPSHOT.js.map"] > 0
assert binary_size_dict["CLI_SNAPSHOT.bin"] > 0

@unittest.skipIf("linux" not in sys.platform,
Expand Down

0 comments on commit 628c10b

Please sign in to comment.