From b7fd6e9c69f0bf8b6517bef0474f84f0a5623f77 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sun, 30 Sep 2018 11:14:14 -0400 Subject: Add fetch_deps syscall count benchmark. --- tools/benchmark.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/benchmark.py') 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 -- cgit v1.2.3