mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
Add fetch_deps syscall count benchmark.
This commit is contained in:
parent
cec82263c1
commit
b7fd6e9c69
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue