diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-09-30 11:14:14 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-09-30 16:35:12 -0400 |
commit | b7fd6e9c69f0bf8b6517bef0474f84f0a5623f77 (patch) | |
tree | 19e041ae320abdc15ccf0d831cdaebfbdeaab7b0 | |
parent | cec82263c1299638b01ecc7a9b54aacb285f7fcb (diff) |
Add fetch_deps syscall count benchmark.
-rwxr-xr-x | tools/benchmark.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/benchmark.py b/tools/benchmark.py index 4055eca44..ec233afda 100755 --- a/tools/benchmark.py +++ b/tools/benchmark.py @@ -120,6 +120,9 @@ def run_syscall_count_benchmark(deno_path): syscall_count_map = {} syscall_count_map["hello"] = get_strace_summary( [deno_path, "tests/002_hello.ts", "--reload"])["total"]["calls"] + syscall_count_map["fetch_deps"] = get_strace_summary( + [deno_path, "tests/fetch_deps.ts", "--reload", + "--allow-net"])["total"]["calls"] return syscall_count_map |