rad experiment show 2c8e83696fa0cdfb9bc4ac9e7e750ab1a69d4b7b
by ee@did:key:z6MkvsiybCuk1WDZhh2aXDx7NTiZejKgWZygMNsUuXDMNvVQ · Apr 11 23:16 2026
drop unused :root css vars
Measurements
Metric
BaselineThe benchmark measurement of the unmodified code
CandidateThe code with the proposed optimization applied
DeltaThe performance change from baseline to candidate
gzipped_client_bytes (bytes)primary
53717.000 bytes (n=1)
53612.000 bytes (n=1)
-0.19%
raw_client_bytes (bytes)secondary
162050.000 bytes (n=1)
161491.000 bytes (n=1)
-0.34%
Annotations
hypothesis
25 css custom properties in :root (heading-*, mono-*/sizes, weight-*, --code, --code-leading) are declared but not referenced by any source class, tailwind utility, or @theme mapping — deleting them should be pure content removal
what_worked
-105 gz -559 raw. confirms the next_action_hint: content removal beats markup dedupe. dead css vars ship verbatim to :root in the bundled css and are not tree-shaken because tailwind v4 only shakes utility classes, not raw :root declarations
Base CommitThe starting commit before the optimization was applied