summaryrefslogtreecommitdiff
path: root/Cargo.lock
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.lock
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.lock')
-rw-r--r--Cargo.lock13
1 files changed, 13 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index c18e1a503..9593dafa4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1315,6 +1315,7 @@ dependencies = [
"termcolor",
"test_util",
"tokio",
+ "tokio-metrics",
"uuid",
"winapi",
"winres",
@@ -5250,6 +5251,18 @@ dependencies = [
]
[[package]]
+name = "tokio-metrics"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b60ac6224d622f71d0b80546558eedf8ff6c2d3817517a9d3ed87ce24fccf6a6"
+dependencies = [
+ "futures-util",
+ "pin-project-lite",
+ "tokio",
+ "tokio-stream",
+]
+
+[[package]]
name = "tokio-rustls"
version = "0.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index"