diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-07-20 01:20:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-20 01:20:51 -0400 |
commit | 628c10b55259f9d2b215b4203c2228062da189dc (patch) | |
tree | ed34afcc06870e8df4e84e2b46602696a4b2f36c | |
parent | fa61956f03491101b6ef64423ea2f1f73af26a73 (diff) |
fix benchmark_test (#6814)
-rwxr-xr-x | tools/benchmark.py | 4 | ||||
-rwxr-xr-x | tools/benchmark_test.py | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/tools/benchmark.py b/tools/benchmark.py index b79f35ac8..74a5fb665 100755 --- a/tools/benchmark.py +++ b/tools/benchmark.py @@ -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) diff --git a/tools/benchmark_test.py b/tools/benchmark_test.py index 82d8c4fd8..efd4594b6 100755 --- a/tools/benchmark_test.py +++ b/tools/benchmark_test.py @@ -43,8 +43,6 @@ class TestBenchmark(DenoTestCase): 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, |