summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.generate.ts
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 /.github/workflows/ci.generate.ts
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 '.github/workflows/ci.generate.ts')
-rwxr-xr-x.github/workflows/ci.generate.ts3
1 files changed, 2 insertions, 1 deletions
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