mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 20:59:10 +00: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 = {}
|
||||||
syscall_count_map["hello"] = get_strace_summary(
|
syscall_count_map["hello"] = get_strace_summary(
|
||||||
[deno_path, "tests/002_hello.ts", "--reload"])["total"]["calls"]
|
[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
|
return syscall_count_map
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue