summaryrefslogtreecommitdiff
path: root/cli/ops/mod.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-03-11 23:07:02 +0100
committerGitHub <noreply@github.com>2022-03-11 23:07:02 +0100
commit09ae512ccb4d8a36a0c6c1a700b48fdd3f9fc6c2 (patch)
tree90f5bc5a9d48f5279208eecf985dcf7f777e87c5 /cli/ops/mod.rs
parent32c059544be40987a445f13cc3c7ba585f47889e (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/ops/mod.rs')
-rw-r--r--cli/ops/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/ops/mod.rs b/cli/ops/mod.rs
index 34b310b20..05f1426ec 100644
--- a/cli/ops/mod.rs
+++ b/cli/ops/mod.rs
@@ -3,6 +3,7 @@
use crate::proc_state::ProcState;
use deno_core::Extension;
+pub mod bench;
mod errors;
mod runtime_compiler;
pub mod testing;