From 3a6da19eb80c5959e0fe0ff00b093b9f7d85d618 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Tue, 25 Sep 2018 23:52:47 -0700 Subject: Revert "Expand binary size benchmark (#830)" This reverts commit 8c7416b3f666c62327a2306e955ec59823b1f239. --- tools/benchmark_test.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'tools/benchmark_test.py') diff --git a/tools/benchmark_test.py b/tools/benchmark_test.py index 42a3465b2..cdaad1e1f 100644 --- a/tools/benchmark_test.py +++ b/tools/benchmark_test.py @@ -19,14 +19,6 @@ def strace_parse_test(): assert summary["total"]["calls"] == 704 -def binary_size_test(build_dir): - binary_size_dict = benchmark.get_binary_sizes(build_dir) - assert binary_size_dict["deno"] > 0 - assert binary_size_dict["main.js"] > 0 - assert binary_size_dict["main.js.map"] > 0 - assert binary_size_dict["snapshot_deno.bin"] > 0 - - def thread_count_test(deno_path): thread_count_dict = benchmark.run_thread_count_benchmark(deno_path) assert "set_timeout" in thread_count_dict @@ -39,9 +31,8 @@ def syscall_count_test(deno_path): assert syscall_count_dict["hello"] > 1 -def benchmark_test(build_dir, deno_path): +def benchmark_test(deno_path): strace_parse_test() - binary_size_test(build_dir) if "linux" in sys.platform: thread_count_test(deno_path) syscall_count_test(deno_path) -- cgit v1.2.3