mirror of
https://github.com/denoland/deno.git
synced 2024-11-29 16:30:56 -05:00
09ae512ccb
This commit adds "deno bench" subcommand and "Deno.bench()" API that allows to register bench cases. The API is modelled after "Deno.test()" and "deno test" subcommand. Currently the output is rudimentary and bench cases and not subject to "ops" and "resource" sanitizers. Co-authored-by: evan <github@evan.lol>
51 lines
1 KiB
Text
51 lines
1 KiB
Text
[WILDCARD]
|
|
running 7 benches from [WILDCARD]
|
|
bench read ... 1000 iterations FAILED [WILDCARD]
|
|
bench write ... 1000 iterations FAILED [WILDCARD]
|
|
bench net ... 1000 iterations FAILED [WILDCARD]
|
|
bench env ... 1000 iterations FAILED [WILDCARD]
|
|
bench run ... 1000 iterations FAILED [WILDCARD]
|
|
bench ffi ... 1000 iterations FAILED [WILDCARD]
|
|
bench hrtime ... 1000 iterations FAILED [WILDCARD]
|
|
|
|
failures:
|
|
|
|
read
|
|
PermissionDenied: Can't escalate parent thread permissions
|
|
[WILDCARD]
|
|
|
|
write
|
|
PermissionDenied: Can't escalate parent thread permissions
|
|
[WILDCARD]
|
|
|
|
net
|
|
PermissionDenied: Can't escalate parent thread permissions
|
|
[WILDCARD]
|
|
|
|
env
|
|
PermissionDenied: Can't escalate parent thread permissions
|
|
[WILDCARD]
|
|
|
|
run
|
|
PermissionDenied: Can't escalate parent thread permissions
|
|
[WILDCARD]
|
|
|
|
ffi
|
|
PermissionDenied: Can't escalate parent thread permissions
|
|
[WILDCARD]
|
|
|
|
hrtime
|
|
PermissionDenied: Can't escalate parent thread permissions
|
|
[WILDCARD]
|
|
|
|
failures:
|
|
|
|
read
|
|
write
|
|
net
|
|
env
|
|
run
|
|
ffi
|
|
hrtime
|
|
|
|
bench result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out [WILDCARD]
|