CI (macOS): optimises benchmark charts

This commit is contained in:
Carter Li
2026-10-14 14:53:31 +08:00
parent 1d8bbeb89f
commit 17bb3fd238
2 changed files with 30 additions and 11 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ jobs:
run: |
real_seconds=$(awk '$1 == "real" { print $2 }' fastfetch.time)
jq -e 'type == "array"' fastfetch.json > /dev/null
jq --arg platform "macos" --arg arch "universal" --argjson real_seconds "$real_seconds" '
jq --arg platform "macos" --arg arch "aarch64" --argjson real_seconds "$real_seconds" '
map(select(.stat | type == "number") | {
name: ("fastfetch " + $platform + " " + $arch + " module " + .type),
unit: "ms",