From 168eb8e01d3cdbd6358e11cf399fbf4ef1db358b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 9 Jun 2023 13:52:51 +0200 Subject: 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. --- .github/workflows/ci.generate.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.github/workflows/ci.generate.ts') diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts index 6b1089e03..e6a5b1289 100755 --- a/.github/workflows/ci.generate.ts +++ b/.github/workflows/ci.generate.ts @@ -5,7 +5,7 @@ import * as yaml from "https://deno.land/std@0.173.0/encoding/yaml.ts"; // Bump this number when you want to purge the cache. // Note: the tools/release/01_bump_crate_versions.ts script will update this version // automatically via regex, so ensure that this line maintains this format. -const cacheVersion = 37; +const cacheVersion = 38; const Runners = (() => { const ubuntuRunner = "ubuntu-22.04"; @@ -85,6 +85,7 @@ RUSTFLAGS<<__1 -C link-arg=-Wl,--allow-shlib-undefined -C link-arg=-Wl,--thinlto-cache-dir=$(pwd)/target/release/lto-cache -C link-arg=-Wl,--thinlto-cache-policy,cache_size_bytes=700m + --cfg tokio_unstable \${{ env.RUSTFLAGS }} __1 RUSTDOCFLAGS<<__1 -- cgit v1.2.3