diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-03-11 23:07:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-11 23:07:02 +0100 |
| commit | 09ae512ccb4d8a36a0c6c1a700b48fdd3f9fc6c2 (patch) | |
| tree | 90f5bc5a9d48f5279208eecf985dcf7f777e87c5 /cli/tests/testdata/bench/allow_none.out | |
| parent | 32c059544be40987a445f13cc3c7ba585f47889e (diff) | |
feat: "deno bench" subcommand (#13713)
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>
Diffstat (limited to 'cli/tests/testdata/bench/allow_none.out')
| -rw-r--r-- | cli/tests/testdata/bench/allow_none.out | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/cli/tests/testdata/bench/allow_none.out b/cli/tests/testdata/bench/allow_none.out new file mode 100644 index 000000000..0eb2ba5a3 --- /dev/null +++ b/cli/tests/testdata/bench/allow_none.out @@ -0,0 +1,51 @@ +[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] |
