1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00

Add fetch_deps syscall count benchmark.

This commit is contained in:
Ryan Dahl 2018-09-30 11:14:14 -04:00
parent cec82263c1
commit b7fd6e9c69

View file

@ -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