CI (macOS): optimises benchmark charts

This commit is contained in:
Carter Li committed 2026-10-14 15:28:42 +08:00
1 parent 1d8bbeb89f
commit 17bb3fd238
2 files changed
+30 -11

No files matched your search

+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",