diff options
author | Bert Belder <bertbelder@gmail.com> | 2018-09-25 23:52:47 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-09-26 08:35:12 -0400 |
commit | 3a6da19eb80c5959e0fe0ff00b093b9f7d85d618 (patch) | |
tree | 5ec030e9227b258f817f1399e508363404821abd /tools/benchmark_test.py | |
parent | 8c7416b3f666c62327a2306e955ec59823b1f239 (diff) |
Revert "Expand binary size benchmark (#830)"
This reverts commit 8c7416b3f666c62327a2306e955ec59823b1f239.
Diffstat (limited to 'tools/benchmark_test.py')
-rw-r--r-- | tools/benchmark_test.py | 11 |
1 files changed, 1 insertions, 10 deletions
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) |