summaryrefslogtreecommitdiff
path: root/cli/worker.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/worker.rs')
-rw-r--r--cli/worker.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/worker.rs b/cli/worker.rs
index 5022b39f1..173d944c0 100644
--- a/cli/worker.rs
+++ b/cli/worker.rs
@@ -86,6 +86,7 @@ pub struct CliMainWorkerOptions {
pub argv: Vec<String>,
pub log_level: WorkerLogLevel,
pub coverage_dir: Option<String>,
+ pub enable_op_summary_metrics: bool,
pub enable_testing_features: bool,
pub has_node_modules_dir: bool,
pub hmr: bool,
@@ -546,6 +547,7 @@ impl CliMainWorkerFactory {
.map(|p| p.get())
.unwrap_or(1),
log_level: shared.options.log_level,
+ enable_op_summary_metrics: shared.options.enable_op_summary_metrics,
enable_testing_features: shared.options.enable_testing_features,
locale: deno_core::v8::icu::get_language_tag(),
location: shared.options.location.clone(),
@@ -732,6 +734,7 @@ fn create_web_worker_callback(
.map(|p| p.get())
.unwrap_or(1),
log_level: shared.options.log_level,
+ enable_op_summary_metrics: shared.options.enable_op_summary_metrics,
enable_testing_features: shared.options.enable_testing_features,
locale: deno_core::v8::icu::get_language_tag(),
location: Some(args.main_module.clone()),