// Layout/theme performance probe for the running native app (release build started with // WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS=--remote-debugging-port=). The probe is the // framework's (waybetter/dev-tools/resize-perf.mjs); this runs it on X: x.com tabs, X's theme // commands, the compose dock left out of the theme case. // // node scripts/resize-perf.mjs cases: theme, drag, switch, window // THEME_PRESET=nord node scripts/resize-perf.mjs 9333 theme process.env.SITE_ORIGIN ??= 'https://x.com'; process.env.THEME_GET ??= 'theme_get'; process.env.THEME_SET ??= 'theme_set'; process.env.SKIP_PATH ??= '/compose'; await import('../../../waybetter/dev-tools/resize-perf.mjs');