From 17bb3fd2384bd814b421d73b8c8b8d08e06cfa26 Mon Sep 17 00:00:00 2001 From: Carter Li Date: Wed, 14 Oct 2026 14:53:31 +0800 Subject: [PATCH] CI (macOS): optimises benchmark charts --- .github/benchmark-index.html | 39 ++++++++++++++++++------- .github/workflows/build-macos-hosts.yml | 2 +- 2 files changed, 30 insertions(+), 11 deletions(-) diff --git a/.github/benchmark-index.html b/.github/benchmark-index.html index a2b9e309a..36116e4cb 100644 --- a/.github/benchmark-index.html +++ b/.github/benchmark-index.html @@ -59,13 +59,14 @@ .legend-item.is-hidden .legend-swatch { opacity: .35; } .chart-tooltip { position: fixed; z-index: 1000; pointer-events: none; width: min(90vw, 900px); max-height: calc(100vh - 24px); overflow: hidden; padding: .7rem .85rem; border: 1px solid var(--border); border-radius: .6rem; background: var(--card); color: var(--text); box-shadow: 0 10px 30px #0f172a33; font-size: .8rem; opacity: 0; transition: opacity .1s ease; } .chart-tooltip-title { margin-bottom: .35rem; font-weight: 700; white-space: normal; overflow-wrap: anywhere; } + .chart-tooltip-message { margin-bottom: .35rem; color: var(--muted); font-weight: 400; white-space: pre-wrap; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; } .chart-tooltip-body { max-height: calc(100vh - 76px); overflow: auto; columns: 220px auto; column-gap: 1.5rem; } .chart-tooltip-row { display: flex; align-items: center; gap: .45rem; break-inside: avoid; white-space: nowrap; } .chart-tooltip-swatch { width: .55rem; height: .55rem; border-radius: 50%; flex: 0 0 auto; } .empty { padding: 2rem 0; color: var(--muted); } - +
@@ -73,11 +74,11 @@

Fastfetch Benchmark

-

Performance history grouped by CPU family. Each chart contains all modules and total process time for one operating system and architecture. Module curves are available from the legend and hidden by default.

+

Performance history grouped by CPU family. Each chart contains all modules and the total process time for one operating system and architecture. All metric series are shown by default except total process time, module Weather, and module PublicIp — toggle any series from the legend below the chart.

-
+

Loading charts…