summaryrefslogtreecommitdiff
path: root/.cargo
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-06-09 13:52:51 +0200
committerGitHub <noreply@github.com>2023-06-09 11:52:51 +0000
commit168eb8e01d3cdbd6358e11cf399fbf4ef1db358b (patch)
tree1bd50c52c039ea808658d2d470da2b121321a4d7 /.cargo
parent1b26f3c726d4835a403765f42a4f760b29b9f57d (diff)
perf: add Tokio runtime monitor (#19415)
This commit adds ability to print metrics of the Tokio runtime to the console by passing "DENO_TOKIO_METRICS=1" env var. Metrics will be printed every second, but this can be changed by "DENO_TOKIO_METRICS_INTERVAL=500" env var.
Diffstat (limited to '.cargo')
-rw-r--r--.cargo/config.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml
index 10e4b295c..ed50de084 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -23,4 +23,6 @@ rustflags = [
"clippy::missing_safety_doc",
"-D",
"clippy::undocumented_unsafe_blocks",
+ "--cfg",
+ "tokio_unstable",
]