Skip to content

Conversation

@DDDDDanica
Copy link
Contributor

@DDDDDanica DDDDDanica commented Nov 4, 2025

Description

Migrate ui/pages/confirmation to react-router-v5-compat.

Current Routing Architecture (v5 → v5-compat → v6 Migration):

┌─────────────────────────────────────────────────────────────────────┐
│                         ROUTING LAYERS                               │
└─────────────────────────────────────────────────────────────────────┘

LAYER 1: Root Router (V5) ────────────────────────────────────────────
┌─────────────────────────────────────────────────────────────────────┐
│ ui/pages/routes/routes.component.tsx                                 │
│                                                                       │
│ import { Switch, Route, useHistory, useLocation }                   │
│        from 'react-router-dom'  ← V5                                │
│                                                                       │
│ <Switch>                                                             │
│   <Route path="/onboarding" component={OnboardingFlow} />          │
│   <Route path="/unlock" component={UnlockPage} />                  │
│   <Route path="/confirm-transaction/:id?">                         │
│     {(props) => <ConfirmTransaction {...} />}  ← Render prop       │
│   </Route>                                                          │
│   <Route path="/confirmation/:id?">                                │
│     {(props) => <ConfirmationPage {...} />}  ← Render prop         │
│   </Route>                                                          │
│   ...                                                               │
│ </Switch>                                                           │
└─────────────────────────────────────────────────────────────────────┘
         │                                    │
         │ Passes props:                      │ Passes props:
         │ - params (from match.params)       │ - params
         │ - location                          │ - location
         ▼                                    ▼

LAYER 2A: Transaction Confirmations (V5-COMPAT) ──────────────────────
┌─────────────────────────────────────────────────────────────────────┐
│ ui/pages/confirmations/confirm-transaction/                          │
│ confirm-transaction.component.js                                     │
│                                                                       │
│ import { Routes, Route, useNavigate, useParams }                   │
│        from 'react-router-dom-v5-compat'  ← V5-COMPAT              │
│                                                                       │
│ // Receives props from v5 Route                                     │
│ const ConfirmTransaction = ({ params: routeParams, location }) => { │
│   const urlParams = useParams();  ← Falls back to v5-compat hook   │
│   const { id } = routeParams || urlParams;  ← Props priority       │
│                                                                       │
│   <Routes location={location}>  ← Nested v5-compat routing         │
│     <Route path="/decrypt-message-request"                         │
│            element={<ConfirmDecryptMessage />} />  ← Relative path!│
│     <Route path="/encryption-public-key-request"                   │
│            element={<ConfirmEncryptionPublicKey />} />             │
│     <Route path="*" element={<ConfirmTransactionSwitch />} />     │
│   </Routes>                                                         │
│ }                                                                   │
└─────────────────────────────────────────────────────────────────────┘
         │
         │ If currentConfirmation exists
         ▼

LAYER 3: Redesigned Confirmations (V5-COMPAT) ────────────────────────
┌─────────────────────────────────────────────────────────────────────┐
│ ui/pages/confirmations/confirm/confirm.tsx                           │
│                                                                       │
│ // Pure v5-compat component (no routing imports needed)             │
│ const Confirm = ({ confirmationId }) => (                           │
│   <ConfirmContextProvider confirmationId={confirmationId}>         │
│     <Page>                                                          │
│       <ConfirmNav />  ← Uses useConfirmationNavigation internally  │
│       <Header />                                                    │
│       <Info />                                                      │
│       <Footer />                                                    │
│     </Page>                                                         │
│   </ConfirmContextProvider>                                         │
│ );                                                                  │
└─────────────────────────────────────────────────────────────────────┘

LAYER 2B: Templated Confirmations (V5-COMPAT) ────────────────────────
┌─────────────────────────────────────────────────────────────────────┐
│ ui/pages/confirmations/confirmation/confirmation.js                  │
│                                                                       │
│ import { useNavigate, useParams }                                   │
│        from 'react-router-dom-v5-compat'  ← V5-COMPAT              │
│                                                                       │
│ const ConfirmationPage = ({ params: routeParams }) => {            │
│   const urlParams = useParams();                                   │
│   const { id } = routeParams || urlParams;  ← Props priority       │
│   const navigate = useNavigate();                                  │
│                                                                       │
│   // No nested Routes, just renders templates                      │
│   return (                                                          │
│     <ConfirmContextProvider confirmationId={id}>                   │
│       <MetaMaskTemplateRenderer sections={...} />                  │
│     </ConfirmContextProvider>                                       │
│   );                                                                │
│ }                                                                   │
└─────────────────────────────────────────────────────────────────────┘

Open in GitHub Codespaces

Changelog

CHANGELOG entry: null

Related issues

Fixes: https://github.com/MetaMask/MetaMask-planning/issues/5564

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

Note

Migrates confirmation flows and related settings/pages to react-router-dom-v5-compat, replacing history-based APIs with navigate/Navigate, updating routes, helpers, and tests accordingly.

  • Routing & Navigation (v5-compat):
    • Replace useHistory/Redirect/Switch with useNavigate/Navigate/Routes across confirmations, send, and settings.
    • Add PREVIOUS_ROUTE and update handlers to use it; standardize home nav via DEFAULT_ROUTE.
    • Update routes.component.tsx to bridge v5 → v5-compat via createV5CompatRoute and wrap protected routes with AuthenticatedV5Compat.
  • Confirmations:
    • ConfirmTransaction now accepts v5 props, uses v5-compat routing for nested decrypt/public-key routes, and passes confirmationId into Confirm.
    • ConfirmContextProvider and useCurrentConfirmation support explicit confirmationId; useSyncConfirmPath syncs URL when missing :id.
    • ConfirmationPage (templated) switched to v5-compat useNavigate/useParams; integrates ConfirmContextProvider.
    • confirm-transaction-switch and token switch moved to v5-compat; new extractIdFromPathname util.
    • Convert decrypt/encryption public-key components to v5-compat navigation.
    • Add v5-compat nav/loc props to add-suggested token/NFT pages.
  • Send flow:
    • Update hooks (useNavigateSendPage, useSendActions, useSendQueryParams, useConfirmSendNavigation, loader/header) to use v5-compat and PREVIOUS_ROUTE.
  • Utilities & Constants:
    • Add extractIdFromPathname and tests; extend routes constants; minor header-visibility logic uses new routes.
  • Settings:
    • Remove withRouter/compose from backup-and-sync and experimental tabs; minor JSX fix.
  • Tests & Helpers:
    • Migrate test helpers to render-helpers-navigate; mock v5-compat hooks throughout; add/adjust unit tests for new navigation and utils.

Written by Cursor Bugbot for commit 975a04a. This will update automatically on new commits. Configure here.

@DDDDDanica DDDDDanica self-assigned this Nov 4, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 4, 2025

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@metamaskbot metamaskbot added the team-extension-platform Extension Platform team label Nov 4, 2025
@DDDDDanica DDDDDanica marked this pull request as ready for review November 4, 2025 14:20
@DDDDDanica DDDDDanica requested review from a team as code owners November 4, 2025 14:20
@metamaskbot
Copy link
Collaborator

metamaskbot commented Nov 4, 2025

✨ Files requiring CODEOWNER review ✨

👨‍🔧 @MetaMask/extension-platform (1 files, +111 -5)
  • 📄 .yarnrc.yml +111 -5

🔒 @MetaMask/extension-security-team (1 files, +8 -10)
  • 📁 .github/
    • 📄 CODEOWNERS +8 -10

@github-actions github-actions bot added the size-M label Nov 4, 2025
@DDDDDanica DDDDDanica force-pushed the refactor/settings-v5-compat branch from e4c145c to 6e64965 Compare November 4, 2025 14:23
cursor[bot]

This comment was marked as outdated.

@metamaskbot
Copy link
Collaborator

Builds ready [9446f28]
UI Startup Metrics (1230 ± 96 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1230108217309612931379
load105491714648611231185
domContentLoaded104991114378411171179
domInteractive211480141861
firstPaint595146146342210481170
backgroundConnect23121627610235249
firstReactRender26174862841
getState20870102338
initialActions705281019
loadScripts823698118882887949
setupStore1062631117
numNetworkReqs1367219669
BrowserifyPower User HomeuiStartup21471728291736124292917
load1121918150519411981505
domContentLoaded1112910149919611881499
domInteractive301594202994
firstPaint60516911073629961107
backgroundConnect25722529824287298
firstReactRender30254253442
getState18114621919194219
initialActions52153615
loadScripts86868912341829451234
setupStore1182131221
numNetworkReqs15210431079262310
WebpackStandard HomeuiStartup770651110778785940
load54649887962540691
domContentLoaded53849186059533676
domInteractive16116691435
firstPaint20452864209155683
backgroundConnect251263123356
firstReactRender281866103253
getState1051631215
initialActions41214412
loadScripts53548885258531667
setupStore1052831215
numNetworkReqs1467520873
WebpackPower User HomeuiStartup12131069180921713901809
load57452178974648789
domContentLoaded55851075665619756
domInteractive211345123545
firstPaint22056636186183636
backgroundConnect71931095188310
firstReactRender25232812628
getState1439521125148211
initialActions51307530
loadScripts55450874863611748
setupStore96265926
numNetworkReqs1499628864195288
FirefoxBrowserifyStandard HomeuiStartup14481252171110215211649
load1230107814178412991376
domContentLoaded1229107814178412991376
domInteractive1193331352133259
firstPaint------
backgroundConnect4225108174888
firstReactRender25214552639
getState74193713
initialActions41153411
loadScripts1204105913988012601338
setupStore146120151430
numNetworkReqs1267315757
BrowserifyPower User HomeuiStartup25452098347640827713476
load13941197175318216221753
domContentLoaded13931196175318216221753
domInteractive22394679185278679
firstPaint------
backgroundConnect12736494121180494
firstReactRender42296395163
getState1439920735181207
initialActions12153151753
loadScripts13521168170317615881703
setupStore3251754143175
numNetworkReqs1407032887216328
WebpackStandard HomeuiStartup16891511233212917551911
load1450125917189915331627
domContentLoaded1450125917189915331627
domInteractive1073439546118175
firstPaint------
backgroundConnect4927168225587
firstReactRender30238093042
getState84546715
initialActions517210425
loadScripts1420121916899514951600
setupStore177291341334
numNetworkReqs1266815762
WebpackPower User HomeuiStartup25922312319824727583198
load15931333207618716972076
domContentLoaded15921333207518716972075
domInteractive16360368112343368
firstPaint------
backgroundConnect873019255158192
firstReactRender51321052152105
getState1517228854191288
initialActions914512945
loadScripts15451313200017716652000
setupStore3761674643167
numNetworkReqs1295827774177277
📊 Page Load Benchmark Results

Current Commit: 9446f28 | Date: 11/4/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.02s (±38ms) 🟡 | historical mean value: 1.03s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 712ms (±35ms) 🟢 | historical mean value: 716ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 75ms (±10ms) 🟢 | historical mean value: 79ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.02s 38ms 1.00s 1.31s 1.04s 1.31s
domContentLoaded 712ms 35ms 695ms 985ms 724ms 985ms
firstPaint 75ms 10ms 60ms 152ms 84ms 152ms
firstContentfulPaint 75ms 10ms 60ms 152ms 84ms 152ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 68 Bytes (0%)
  • ui: 472 Bytes (0.01%)
  • common: 46 Bytes (0%)

@DDDDDanica DDDDDanica force-pushed the refactor/settings-v5-compat branch from 9446f28 to 268c62c Compare November 4, 2025 15:06
@metamaskbot
Copy link
Collaborator

Builds ready [268c62c]
UI Startup Metrics (1258 ± 99 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1258108915069913281482
load107793613189011451254
domContentLoaded107092413119011371239
domInteractive221484131954
firstPaint61580127142810661198
backgroundConnect24122327610246261
firstReactRender27185073043
getState22862112548
initialActions80589923
loadScripts8377021075879021011
setupStore1162841320
numNetworkReqs1367419671
BrowserifyPower User HomeuiStartup17671624237121018222371
load893788120015311131200
domContentLoaded884781118314910971183
domInteractive251487193987
firstPaint714200119735911351197
backgroundConnect18816920712203207
firstReactRender25232822628
getState1638621028186210
initialActions62123712
loadScripts71461510121449171012
setupStore1182551125
numNetworkReqs15410231082263310
WebpackStandard HomeuiStartup8266991334968261057
load604553109087598833
domContentLoaded596547107484591820
domInteractive1712143151443
firstPaint221551083232196823
backgroundConnect251263132459
firstReactRender29185873336
getState1061521214
initialActions41264410
loadScripts593545106381588810
setupStore1163951219
numNetworkReqs1367519869
WebpackPower User HomeuiStartup13091126188225215221882
load64455410901407181090
domContentLoaded62554210361316811036
domInteractive33131423848142
firstPaint34612810402725601040
backgroundConnect62172367658236
firstReactRender26242912729
getState14811718917154189
initialActions215125
loadScripts62054010241286701024
setupStore962561025
numNetworkReqs1459928158195281
FirefoxBrowserifyStandard HomeuiStartup15301275584745215531749
load1254110316809513261392
domContentLoaded1254110216809513251391
domInteractive1193638757133221
firstPaint------
backgroundConnect48241322351111
firstReactRender26217162737
getState8412512818
initialActions42163412
loadScripts1224108316499012891355
setupStore59743884361433
numNetworkReqs1266215859
BrowserifyPower User HomeuiStartup26172200354946829093549
load14841190226031817112260
domContentLoaded14841190225931817112259
domInteractive21091654170236654
firstPaint------
backgroundConnect963928976172289
firstReactRender423084134984
getState1438120430163204
initialActions2321274113127
loadScripts14511158221231316662212
setupStore3371433748143
numNetworkReqs1386932085202320
WebpackStandard HomeuiStartup15601406232015015741943
load13281202173710113511568
domContentLoaded13281201173710113511567
domInteractive993434247107184
firstPaint------
backgroundConnect46221332250108
firstReactRender27217182838
getState84447818
initialActions618111325
loadScripts1300118617049513241508
setupStore16791161270
numNetworkReqs1367218767
WebpackPower User HomeuiStartup24332067293826926862938
load15161311183516916621835
domContentLoaded15161310183416916621834
domInteractive14141482121182482
firstPaint------
backgroundConnect78343527386352
firstReactRender402887144687
getState1236618936155189
initialActions2822215915221
loadScripts14841270179116416291791
setupStore29597252997
numNetworkReqs1365727681226276
📊 Page Load Benchmark Results

Current Commit: 268c62c | Date: 11/4/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±38ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 718ms (±35ms) 🟢 | historical mean value: 718ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±11ms) 🟢 | historical mean value: 79ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 38ms 1.00s 1.31s 1.05s 1.31s
domContentLoaded 718ms 35ms 695ms 977ms 737ms 977ms
firstPaint 76ms 11ms 60ms 176ms 84ms 176ms
firstContentfulPaint 76ms 11ms 60ms 176ms 84ms 176ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 86 Bytes (0%)
  • ui: 825 Bytes (0.01%)
  • common: 46 Bytes (0%)

@DDDDDanica DDDDDanica force-pushed the refactor/settings-v5-compat branch from 268c62c to 6d7878a Compare November 4, 2025 16:58
@github-actions github-actions bot added size-L and removed size-M labels Nov 4, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [6d7878a]
UI Startup Metrics (1240 ± 97 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1240109317149712811442
load105793014848910951219
domContentLoaded105192714768810871212
domInteractive211477131860
firstPaint53780119740010341143
backgroundConnect23221830211235246
firstReactRender3119150143446
getState23770112844
initialActions70377824
loadScripts826711125787864981
setupStore1163151321
numNetworkReqs1367620674
BrowserifyPower User HomeuiStartup20661773328442523903284
load1041879167621912541676
domContentLoaded1030872163221312441632
domInteractive291593224993
firstPaint72217016434559591643
backgroundConnect25022028918266289
firstReactRender30245583655
getState18015522722203227
initialActions62256725
loadScripts799661139120710051391
setupStore1593071830
numNetworkReqs15710430986298309
WebpackStandard HomeuiStartup86272016171148701042
load6215551405105609806
domContentLoaded6145471389102604790
domInteractive16125181539
firstPaint230621392239207697
backgroundConnect251367122553
firstReactRender3218119153640
getState1152231317
initialActions4122358
loadScripts6115451378100602779
setupStore1263441418
numNetworkReqs1367319870
WebpackPower User HomeuiStartup12741121174320215161743
load652569961121719961
domContentLoaded62455684291684842
domInteractive231356143956
firstPaint34082846258631846
backgroundConnect52171956453195
firstReactRender26243422734
getState1417517225154172
initialActions31102410
loadScripts61955183188672831
setupStore1263392133
numNetworkReqs14510027964200279
FirefoxBrowserifyStandard HomeuiStartup14471237203612315291665
load1226106514468913041370
domContentLoaded1226106514468913041370
domInteractive1163429853124251
firstPaint------
backgroundConnect4524237274997
firstReactRender26214552641
getState64172612
initialActions41404413
loadScripts1200104914208712781346
setupStore1278291227
numNetworkReqs1266415756
BrowserifyPower User HomeuiStartup25222193320827626833208
load14321192199023216601990
domContentLoaded14321192198923216601989
domInteractive24693845216453845
firstPaint------
backgroundConnect983030177153301
firstReactRender43325674956
getState1387219129147191
initialActions10148121848
loadScripts14011175196022715821960
setupStore3271022552102
numNetworkReqs1387132879218328
WebpackStandard HomeuiStartup15851391200812716321940
load1351120616169414001576
domContentLoaded1351120516169414001576
domInteractive993237038108159
firstPaint------
backgroundConnect49211282657112
firstReactRender28227582837
getState74456613
initialActions51487325
loadScripts1320118515898813731504
setupStore157188221262
numNetworkReqs1367016763
WebpackPower User HomeuiStartup25812250332632528703326
load15531308195818016921958
domContentLoaded15531308195818016921958
domInteractive20656649189420649
firstPaint------
backgroundConnect933424476185244
firstReactRender40315895058
getState1277622840133228
initialActions10164151064
loadScripts15201288191817516531918
setupStore3051133326113
numNetworkReqs1396831895288318
📊 Page Load Benchmark Results

Current Commit: 6d7878a | Date: 11/4/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±39ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 719ms (±36ms) 🟢 | historical mean value: 717ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±9ms) 🟢 | historical mean value: 77ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 39ms 1.01s 1.32s 1.07s 1.32s
domContentLoaded 719ms 36ms 698ms 997ms 758ms 997ms
firstPaint 76ms 9ms 60ms 156ms 84ms 156ms
firstContentfulPaint 76ms 9ms 60ms 156ms 84ms 156ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 1.01 KiB (0.02%)
  • ui: 3.73 KiB (0.05%)
  • common: 46 Bytes (0%)

@DDDDDanica DDDDDanica force-pushed the refactor/settings-v5-compat branch from 6d7878a to 020aa7e Compare November 5, 2025 00:32
@metamaskbot
Copy link
Collaborator

Builds ready [020aa7e]
UI Startup Metrics (1210 ± 90 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1210108016799012581355
load103787614047810911165
domContentLoaded102787013978010841155
domInteractive221397142059
firstPaint61093121440010261141
backgroundConnect23721834419236282
firstReactRender26184362941
getState23791132743
initialActions60305721
loadScripts799644114679852919
setupStore1153051123
numNetworkReqs1367720673
BrowserifyPower User HomeuiStartup20381805276931424132769
load1027904135117712871351
domContentLoaded1019897134617712811346
domInteractive311592255292
firstPaint82325913723359441372
backgroundConnect24822929215258292
firstReactRender29254453144
getState18515925324196253
initialActions71347634
loadScripts789673110917010491109
setupStore13102641526
numNetworkReqs15510231178234311
WebpackStandard HomeuiStartup8237041248908261017
load600552103779592755
domContentLoaded593545100075587733
domInteractive16115991438
firstPaint210591035206193732
backgroundConnect241168132659
firstReactRender29176183339
getState1051931216
initialActions40345521
loadScripts58954398973584722
setupStore1153941216
numNetworkReqs1367519669
WebpackPower User HomeuiStartup13561158200024916632000
load677578988142750988
domContentLoaded661574962135738962
domInteractive30131503548150
firstPaint46466965300592965
backgroundConnect48102455874245
firstReactRender27253012830
getState15010616417161164
initialActions41164616
loadScripts657572950132726950
setupStore1562882528
numNetworkReqs1449626865200268
FirefoxBrowserifyStandard HomeuiStartup14751284192511415451681
load1251109714438313181405
domContentLoaded1250109614438313181405
domInteractive1183431645132212
firstPaint------
backgroundConnect422695154887
firstReactRender26214132634
getState74244718
initialActions52879413
loadScripts1225107014158312931377
setupStore13778101228
numNetworkReqs1266314755
BrowserifyPower User HomeuiStartup25052087375038125693750
load13441127177615814861776
domContentLoaded13431127177415714861774
domInteractive20692751172323751
firstPaint------
backgroundConnect12432411125238411
firstReactRender40294974749
getState1306919429140194
initialActions702781127
loadScripts13061107168213814541682
setupStore30675234575
numNetworkReqs1377032676209326
WebpackStandard HomeuiStartup15671384202014015911900
load13361184170210213701563
domContentLoaded13351184170210213701563
domInteractive1023134549108188
firstPaint------
backgroundConnect47181192351106
firstReactRender292276102955
getState9311515613
initialActions51387425
loadScripts1306116616769613441487
setupStore15772151263
numNetworkReqs1366617765
WebpackPower User HomeuiStartup26222213335831529383358
load15711273189019117791890
domContentLoaded15711273189019117781890
domInteractive18064541161387541
firstPaint------
backgroundConnect972929171109291
firstReactRender42325795057
getState1589026554193265
initialActions812571425
loadScripts15341255184418017171844
setupStore4582095697209
numNetworkReqs1416630179229301
📊 Page Load Benchmark Results

Current Commit: 020aa7e | Date: 11/5/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±39ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 723ms (±37ms) 🟢 | historical mean value: 727ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±12ms) 🟢 | historical mean value: 77ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 39ms 1.02s 1.33s 1.07s 1.33s
domContentLoaded 723ms 37ms 704ms 992ms 755ms 992ms
firstPaint 76ms 12ms 60ms 176ms 84ms 176ms
firstContentfulPaint 76ms 12ms 60ms 176ms 84ms 176ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 1.9 KiB (0.04%)
  • ui: 14.92 KiB (0.21%)
  • common: 1.01 KiB (0.01%)

@metamaskbot
Copy link
Collaborator

Builds ready [33cbb0d]
UI Startup Metrics (1242 ± 95 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1242109815289513061451
load106093212978311251217
domContentLoaded105492912868311181211
domInteractive211474122056
firstPaint65677126442410711199
backgroundConnect2322172607236246
firstReactRender27194773041
getState22660102839
initialActions81478922
loadScripts828707105582890988
setupStore1162331118
numNetworkReqs1367619674
BrowserifyPower User HomeuiStartup18881620307941620953079
load964810165623711161656
domContentLoaded952801163423211111634
domInteractive271467185167
firstPaint70910516654569451665
backgroundConnect19417522114206221
firstReactRender29236293062
getState16915222018179220
initialActions52102610
loadScripts77263314302249311430
setupStore1182541225
numNetworkReqs1207225075248250
WebpackStandard HomeuiStartup84471012871038461118
load61556599887608882
domContentLoaded60855997683601866
domInteractive161177101441
firstPaint20961980192207614
backgroundConnect261279142860
firstReactRender29185883436
getState1163041216
initialActions4124349
loadScripts60455696581599855
setupStore1163841217
numNetworkReqs1367419771
WebpackPower User HomeuiStartup12351088156817514741568
load59453677077661770
domContentLoaded57352471661631716
domInteractive26131282837128
firstPaint31866726235552726
backgroundConnect62122417278241
firstReactRender27252912829
getState1409216925155169
initialActions41154715
loadScripts56952170459623704
setupStore96295929
numNetworkReqs1087122954166229
FirefoxBrowserifyStandard HomeuiStartup15281324200812916031774
load12951135156610113621482
domContentLoaded12941135156510113621482
domInteractive1303842168136295
firstPaint------
backgroundConnect48271502450117
firstReactRender27225052839
getState74697715
initialActions42456412
loadScripts1264110615109213281444
setupStore156214211330
numNetworkReqs1266515758
BrowserifyPower User HomeuiStartup24902109296221026622962
load14151138170417016271704
domContentLoaded14141138170417016271704
domInteractive20379523166412523
firstPaint------
backgroundConnect893124966161249
firstReactRender403181134181
getState1457728948183289
initialActions1018421884
loadScripts13841115165716516051657
setupStore2741493440149
numNetworkReqs1337127667205276
WebpackStandard HomeuiStartup15241352218214915531850
load1303114315819713431526
domContentLoaded1302114315819713431526
domInteractive953132145106157
firstPaint------
backgroundConnect4520115224999
firstReactRender27207182839
getState10313619741
initialActions42264413
loadScripts1275112815418913051475
setupStore147137161248
numNetworkReqs1367118766
WebpackPower User HomeuiStartup25882249324330128343243
load15431295202519616652025
domContentLoaded15431295202519616652025
domInteractive17651471130336471
firstPaint------
backgroundConnect1033142497126424
firstReactRender462984155284
getState1318620831143208
initialActions913191931
loadScripts15121272198119016331981
setupStore31896265496
numNetworkReqs1326430774204307
📊 Page Load Benchmark Results

Current Commit: 33cbb0d | Date: 11/5/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.06s (±48ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 736ms (±43ms) 🟢 | historical mean value: 728ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 80ms (±14ms) 🟢 | historical mean value: 78ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.06s 48ms 1.02s 1.44s 1.09s 1.44s
domContentLoaded 736ms 43ms 709ms 1.07s 765ms 1.07s
firstPaint 80ms 14ms 60ms 208ms 88ms 208ms
firstContentfulPaint 80ms 14ms 60ms 208ms 88ms 208ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 11.17 KiB (0.24%)
  • ui: 184.94 KiB (2.6%)
  • common: 10.31 KiB (0.12%)

@DDDDDanica DDDDDanica force-pushed the refactor/settings-v5-compat branch from 33cbb0d to 732e1ce Compare November 5, 2025 15:22
@github-actions github-actions bot added size-XL and removed size-L labels Nov 5, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [732e1ce]
UI Startup Metrics (1233 ± 86 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1233109015368612831391
load105292812707511001193
domContentLoaded104692312607410931183
domInteractive211478131858
firstPaint56688123941610291160
backgroundConnect2312172678233250
firstReactRender28184373242
getState2396692838
initialActions61366720
loadScripts822707102074873963
setupStore1162541319
numNetworkReqs1367620674
BrowserifyPower User HomeuiStartup19681670284037623392840
load1005851152221312441522
domContentLoaded995840150920912321509
domInteractive281568194668
firstPaint73214613583819041358
backgroundConnect21819827318228273
firstReactRender27233532935
getState18315324021195240
initialActions814510845
loadScripts790651124819510291248
setupStore1482971329
numNetworkReqs1207425273233252
WebpackStandard HomeuiStartup8437081189968461056
load61155195978605826
domContentLoaded60454793274599803
domInteractive16114781437
firstPaint23160935230191776
backgroundConnect261281153064
firstReactRender30186393439
getState1254151318
initialActions40304410
loadScripts60154592171597792
setupStore1256271322
numNetworkReqs1367519870
WebpackPower User HomeuiStartup13131127181223914131812
load661567966143788966
domContentLoaded641556920129716920
domInteractive221356153656
firstPaint42080924320777924
backgroundConnect571018163137181
firstReactRender28246492664
getState1437916222154162
initialActions40317331
loadScripts636554908125703908
setupStore1162571625
numNetworkReqs1117022658164226
FirefoxBrowserifyStandard HomeuiStartup14431252193912315221663
load1229107714409013021395
domContentLoaded1229107614399013021395
domInteractive1133532950125232
firstPaint------
backgroundConnect4324181224884
firstReactRender25216452634
getState74334712
initialActions41486311
loadScripts1204105914198912761372
setupStore1259291124
numNetworkReqs1267614754
BrowserifyPower User HomeuiStartup24962210328632425903286
load14141238185617315121856
domContentLoaded14141238185617315121856
domInteractive21791586175432586
firstPaint------
backgroundConnect1023934783163347
firstReactRender453099204999
getState1375828045138280
initialActions11196231496
loadScripts13821214182717214661827
setupStore26779214879
numNetworkReqs1347031183202311
WebpackStandard HomeuiStartup15941412233916816301941
load13491195170210213891552
domContentLoaded13491195170210213891552
domInteractive1013020735111178
firstPaint------
backgroundConnect53242903563109
firstReactRender29226993145
getState11318624718
initialActions51648325
loadScripts1316116515889413621484
setupStore14680141252
numNetworkReqs1367417765
WebpackPower User HomeuiStartup26322307328533230453285
load15621294208022717262080
domContentLoaded15621293208022717252080
domInteractive18698600133292600
firstPaint------
backgroundConnect873318047148180
firstReactRender41315484954
getState1489523349203233
initialActions2411494133149
loadScripts15201263202422016932024
setupStore3061023136102
numNetworkReqs1326830085216300
📊 Page Load Benchmark Results

Current Commit: 732e1ce | Date: 11/5/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±40ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 730ms (±38ms) 🟢 | historical mean value: 728ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 77ms (±12ms) 🟢 | historical mean value: 78ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 40ms 1.02s 1.35s 1.07s 1.35s
domContentLoaded 730ms 38ms 707ms 1.01s 749ms 1.01s
firstPaint 77ms 12ms 60ms 188ms 84ms 188ms
firstContentfulPaint 77ms 12ms 60ms 188ms 84ms 188ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 11.17 KiB (0.24%)
  • ui: 184.98 KiB (2.6%)
  • common: 10.31 KiB (0.12%)

@DDDDDanica DDDDDanica force-pushed the refactor/settings-v5-compat branch from 732e1ce to 98d8f5b Compare November 5, 2025 19:29
@metamaskbot
Copy link
Collaborator

Builds ready [9b0daa7]
UI Startup Metrics (1210 ± 95 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1210105416419512681358
load104792513528411011215
domContentLoaded104088813458510961200
domInteractive2214103181872
firstPaint62181125041110421162
backgroundConnect23422131411236248
firstReactRender24184042533
getState2074172334
initialActions103112
loadScripts813665108983872963
setupStore1052831114
numNetworkReqs1367319670
BrowserifyPower User HomeuiStartup21401935271121022842711
load1142996156619613901566
domContentLoaded1123980155420013811554
domInteractive551718354114183
firstPaint635193147043610311470
backgroundConnect25524030318254303
firstReactRender74441172393117
getState23418235747242357
initialActions102112
loadScripts892747131619811391316
setupStore27164073040
numNetworkReqs1218919132154191
WebpackStandard HomeuiStartup84971015311228431156
load6275661303111612943
domContentLoaded6195611274105603908
domInteractive171262121554
firstPaint194591277213189838
backgroundConnect271393163267
firstReactRender3218237233551
getState1162231317
initialActions102111
loadScripts6165591263103601897
setupStore1164141317
numNetworkReqs1367519871
WebpackPower User HomeuiStartup1038893145719912861457
load651571892108745892
domContentLoaded63456184494711844
domInteractive38131384372138
firstPaint27267848220389848
backgroundConnect511019263109192
firstReactRender38354013940
getState1368816225151162
initialActions101011
loadScripts62955983490698834
setupStore1262582325
numNetworkReqs826213325115133
FirefoxBrowserifyStandard HomeuiStartup14951345201613615261788
load1254113315559212851469
domContentLoaded1254113215559212841469
domInteractive1133633660110288
firstPaint------
backgroundConnect4226139164678
firstReactRender27215462747
getState1174051219
initialActions203122
loadScripts1231111315308912611435
setupStore1377491227
numNetworkReqs1367417761
BrowserifyPower User HomeuiStartup33172488472466441884724
load14961300192620517181926
domContentLoaded14951299192620517181926
domInteractive336163751197513751
firstPaint------
backgroundConnect62211716494509651649
firstReactRender82591121697112
getState219123565117222565
initialActions218228
loadScripts14441269187020716521870
setupStore93472495395249
numNetworkReqs1277623460225234
WebpackStandard HomeuiStartup15341386223815715301931
load13111169168311013291596
domContentLoaded13111169168311013291596
domInteractive943231039102154
firstPaint------
backgroundConnect43232563045100
firstReactRender30227383141
getState1266191127
initialActions2038422
loadScripts12841149162010013041525
setupStore196202261545
numNetworkReqs1367118767
WebpackPower User HomeuiStartup34852669447648738784476
load17061472210121820162101
domContentLoaded17061472210121820162101
domInteractive372180818236682818
firstPaint------
backgroundConnect56315212693619181269
firstReactRender945912819110128
getState18811836360218363
initialActions218228
loadScripts16621437206722019802067
setupStore16326530150183530
numNetworkReqs1247021645163216
📊 Page Load Benchmark Results

Current Commit: 9b0daa7 | Date: 11/14/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±46ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 724ms (±42ms) 🟢 | historical mean value: 726ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 78ms (±13ms) 🟢 | historical mean value: 80ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 46ms 1.02s 1.42s 1.07s 1.42s
domContentLoaded 724ms 42ms 704ms 1.07s 757ms 1.07s
firstPaint 78ms 13ms 64ms 200ms 88ms 200ms
firstContentfulPaint 78ms 13ms 64ms 200ms 88ms 200ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 2.57 KiB (0.03%)
  • common: 59 Bytes (0%)

path={`${CONFIRM_TRANSACTION_ROUTE}/:id?${ENCRYPTION_PUBLIC_KEY_REQUEST_PATH}`}
element={<ConfirmEncryptionPublicKey />}
/>
<Route path="*" element={<ConfirmTransactionSwitch />} />
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Nested Routes: Path Resolution Bug

Nested v5-compat Routes are using absolute paths that include CONFIRM_TRANSACTION_ROUTE prefix, but they should use relative paths since they're already nested within a parent route at /confirm-transaction/:id?. The paths should be DECRYPT_MESSAGE_REQUEST_PATH and ENCRYPTION_PUBLIC_KEY_REQUEST_PATH directly (or with leading slash removed), not ${CONFIRM_TRANSACTION_ROUTE}/:id?${DECRYPT_MESSAGE_REQUEST_PATH}. This causes route matching to fail because v5-compat nested routes match against the remaining path after the parent route, not the full pathname.

Fix in Cursor Fix in Web

@metamaskbot
Copy link
Collaborator

Builds ready [64b1ea4]
UI Startup Metrics (1282 ± 105 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup12821105180010513441443
load110995515099411751243
domContentLoaded110395114949211661230
domInteractive241489182279
firstPaint674117151743410981208
backgroundConnect2362212879240248
firstReactRender26196572841
getState2210110132642
initialActions104112
loadScripts8737311243909371004
setupStore1162131219
numNetworkReqs1367720674
BrowserifyPower User HomeuiStartup21941776273623624382736
load1169996158019414591580
domContentLoaded1145975153919614481539
domInteractive612118859132188
firstPaint810237157047010601570
backgroundConnect25623727213271272
firstReactRender804812122103121
getState24917740259286402
initialActions105125
loadScripts913754128419112151284
setupStore2784193641
numNetworkReqs1229018934163189
WebpackStandard HomeuiStartup8196941144858241033
load60655692973602816
domContentLoaded59954891470597799
domInteractive171158111450
firstPaint22159917221198755
backgroundConnect251174143259
firstReactRender291888113437
getState1162841217
initialActions104111
loadScripts59654690367595789
setupStore1063241215
numNetworkReqs1367620871
WebpackPower User HomeuiStartup1155938200332314922003
load70660010831678341083
domContentLoaded68958910291557961029
domInteractive37131223992122
firstPaint3936910343466031034
backgroundConnect581019267138192
firstReactRender40364424244
getState14410017022153170
initialActions111011
loadScripts68558610191527861019
setupStore1562782527
numNetworkReqs826413428123134
FirefoxBrowserifyStandard HomeuiStartup16061402214513916361902
load13431189179310613761533
domContentLoaded13421189179310613761533
domInteractive1133953374110312
firstPaint------
backgroundConnect4823131195792
firstReactRender312273102959
getState1383651323
initialActions213123
loadScripts13141169176110313451498
setupStore1576881632
numNetworkReqs1266716859
BrowserifyPower User HomeuiStartup32742531440457836554404
load15531298215829316822158
domContentLoaded15531298215829316812158
domInteractive344145746210570746
firstPaint------
backgroundConnect638106124640810591246
firstReactRender915913119109131
getState1678744582183445
initialActions217127
loadScripts15151270212328516302123
setupStore74371653083165
numNetworkReqs1217222656204226
WebpackStandard HomeuiStartup16161408205513616421957
load13711211170410514111615
domContentLoaded13711211170410514111614
domInteractive1003238252107161
firstPaint------
backgroundConnect49241392454112
firstReactRender322381103544
getState13776111249
initialActions113122
loadScripts1341117016729813851543
setupStore187198251375
numNetworkReqs1366917863
WebpackPower User HomeuiStartup28452395383943130943839
load15901422199617616911996
domContentLoaded15901422199517616901995
domInteractive276151666159319666
firstPaint------
backgroundConnect29088715184353715
firstReactRender82571291995129
getState17810649888182498
initialActions213123
loadScripts15341365192616516191926
setupStore79341663496166
numNetworkReqs1237623057187230
📊 Page Load Benchmark Results

Current Commit: 64b1ea4 | Date: 11/14/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±54ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 725ms (±51ms) 🟢 | historical mean value: 728ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 77ms (±14ms) 🟢 | historical mean value: 79ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 54ms 1.01s 1.34s 1.07s 1.34s
domContentLoaded 725ms 51ms 693ms 1.01s 750ms 1.01s
firstPaint 77ms 14ms 64ms 204ms 88ms 204ms
firstContentfulPaint 77ms 14ms 64ms 204ms 88ms 204ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 2.57 KiB (0.03%)
  • common: 59 Bytes (0%)

@metamaskbot
Copy link
Collaborator

Builds ready [24b27ab]
UI Startup Metrics (1248 ± 93 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1248107414499313251401
load108693813068911631255
domContentLoaded107993413038911571243
domInteractive231579152170
firstPaint63888125643710821228
backgroundConnect2362222769239253
firstReactRender2921117113042
getState2186582534
initialActions104112
loadScripts8517051073889281011
setupStore1172741119
numNetworkReqs1367720674
BrowserifyPower User HomeuiStartup21711768255121022672551
load1169978170521413751705
domContentLoaded1146961168221813571682
domInteractive631918950118189
firstPaint789262146343110861463
backgroundConnect25622928915270289
firstReactRender74471342186134
getState23817936859297368
initialActions103123
loadScripts914735141721011051417
setupStore251453103153
numNetworkReqs1239217528161175
WebpackStandard HomeuiStartup8487351180758591005
load61757292563623755
domContentLoaded61056690860616740
domInteractive181268121454
firstPaint21960913213208734
backgroundConnect251182132551
firstReactRender32206793844
getState1161831316
initialActions102011
loadScripts60756489858614730
setupStore1153941315
numNetworkReqs1467720871
WebpackPower User HomeuiStartup1110918169525814011695
load68457511081598411108
domContentLoaded66556410951488131095
domInteractive36131574286157
firstPaint3156010992985731099
backgroundConnect59102357076235
firstReactRender41394524345
getState14310015820155158
initialActions101011
loadScripts66156210841458021084
setupStore1563192531
numNetworkReqs826413324114133
FirefoxBrowserifyStandard HomeuiStartup14321274191912014541728
load1204110515418612351417
domContentLoaded1204110415408612341417
domInteractive1013530935111165
firstPaint------
backgroundConnect4126154184875
firstReactRender26204752639
getState1072331119
initialActions103122
loadScripts1179108615158112031372
setupStore147206221134
numNetworkReqs1467820773
BrowserifyPower User HomeuiStartup33182696466265835634662
load15631302216727017442167
domContentLoaded15621301216727017442167
domInteractive24178649190467649
firstPaint------
backgroundConnect64312314483839881448
firstReactRender936314319101143
getState220109491114316491
initialActions318238
loadScripts15131254211125616872111
setupStore872617741128177
numNetworkReqs1237722355206223
WebpackStandard HomeuiStartup16151388198214216811919
load13731193168511714271622
domContentLoaded13731192168411714261621
domInteractive57301993364125
firstPaint------
backgroundConnect48191442354112
firstReactRender32247983343
getState137128151149
initialActions103122
loadScripts13431175165610914071556
setupStore15761121249
numNetworkReqs1366817765
WebpackPower User HomeuiStartup33842693420745339474207
load16911503203616918912036
domContentLoaded16901503203616918912036
domInteractive23299525150408525
firstPaint------
backgroundConnect51216110942867811094
firstReactRender937013018110130
getState217112619133260619
initialActions217137
loadScripts16311434198117618551981
setupStore12126466116134466
numNetworkReqs1238023654164236
📊 Page Load Benchmark Results

Current Commit: 24b27ab | Date: 11/14/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 988ms (±40ms) 🟢 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 685ms (±37ms) 🟢 | historical mean value: 728ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 74ms (±9ms) 🟢 | historical mean value: 78ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 988ms 40ms 962ms 1.26s 1.03s 1.26s
domContentLoaded 685ms 37ms 661ms 939ms 725ms 939ms
firstPaint 74ms 9ms 60ms 144ms 80ms 144ms
firstContentfulPaint 74ms 9ms 60ms 144ms 80ms 144ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 2.57 KiB (0.03%)
  • common: 59 Bytes (0%)

@metamaskbot
Copy link
Collaborator

Builds ready [4e1d964]
UI Startup Metrics (1229 ± 93 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1229106315629312791383
load106592413277911091196
domContentLoaded105891913117811031181
domInteractive221472142063
firstPaint68484132841510771182
backgroundConnect2322182829234245
firstReactRender27195562841
getState22796122545
initialActions105112
loadScripts833696108277885959
setupStore1162541120
numNetworkReqs1367520674
BrowserifyPower User HomeuiStartup21441855250120624472501
load1136973154021214541540
domContentLoaded1118957153021514421530
domInteractive56171865593186
firstPaint625200152545310361525
backgroundConnect25223730816254308
firstReactRender694593168293
getState24117430945286309
initialActions102112
loadScripts885730127820211901278
setupStore28175283452
numNetworkReqs1219119234153192
WebpackStandard HomeuiStartup84673112991008431105
load618560107885616843
domContentLoaded611555105882610829
domInteractive2012193221556
firstPaint231591062224206735
backgroundConnect241277132554
firstReactRender32196993641
getState1151931317
initialActions104111
loadScripts608550104879607819
setupStore1264051319
numNetworkReqs1367719670
WebpackPower User HomeuiStartup1027913134115411651341
load646574894108768894
domContentLoaded628560860101709860
domInteractive38131344281134
firstPaint34170863294759863
backgroundConnect401093288093
firstReactRender41375144251
getState1376517128151171
initialActions101011
loadScripts62455885097699850
setupStore1062661226
numNetworkReqs78641221998122
FirefoxBrowserifyStandard HomeuiStartup14361292176711714691705
load1214111214548912631413
domContentLoaded1214111214549012631413
domInteractive54321663256140
firstPaint------
backgroundConnect3924107174288
firstReactRender27225162744
getState1166071022
initialActions203122
loadScripts1190109514318512371389
setupStore137201201128
numNetworkReqs1267315755
BrowserifyPower User HomeuiStartup35352622449547339414495
load16791317264435417112644
domContentLoaded16791317264435417112644
domInteractive264107926224287926
firstPaint------
backgroundConnect741150108729210251087
firstReactRender986515526119155
getState1859147997192479
initialActions319239
loadScripts16301285260235616442602
setupStore973940684111406
numNetworkReqs1187622855191228
WebpackStandard HomeuiStartup16251422223015516622015
load13701220169911014021650
domContentLoaded13701220169911014021650
domInteractive55301602664114
firstPaint------
backgroundConnect46251512252109
firstReactRender34267893649
getState137152161121
initialActions203123
loadScripts13411201167210213801568
setupStore207242281556
numNetworkReqs1366817765
WebpackPower User HomeuiStartup33752602451758037584517
load17161554225820419042258
domContentLoaded17151554225820419042258
domInteractive24690618177488618
firstPaint------
backgroundConnect4688510093369251009
firstReactRender956313720112137
getState214120482114230482
initialActions326136
loadScripts16671507218720118722187
setupStore1012955512096555
numNetworkReqs1277824958180249
📊 Page Load Benchmark Results

Current Commit: 4e1d964 | Date: 11/16/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±39ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 718ms (±36ms) 🟢 | historical mean value: 718ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 75ms (±12ms) 🟢 | historical mean value: 77ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 39ms 1.01s 1.31s 1.06s 1.31s
domContentLoaded 718ms 36ms 701ms 985ms 741ms 985ms
firstPaint 75ms 12ms 60ms 176ms 84ms 176ms
firstContentfulPaint 75ms 12ms 60ms 176ms 84ms 176ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 2.57 KiB (0.03%)
  • common: 59 Bytes (0%)

2 similar comments
@metamaskbot
Copy link
Collaborator

Builds ready [4e1d964]
UI Startup Metrics (1229 ± 93 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1229106315629312791383
load106592413277911091196
domContentLoaded105891913117811031181
domInteractive221472142063
firstPaint68484132841510771182
backgroundConnect2322182829234245
firstReactRender27195562841
getState22796122545
initialActions105112
loadScripts833696108277885959
setupStore1162541120
numNetworkReqs1367520674
BrowserifyPower User HomeuiStartup21441855250120624472501
load1136973154021214541540
domContentLoaded1118957153021514421530
domInteractive56171865593186
firstPaint625200152545310361525
backgroundConnect25223730816254308
firstReactRender694593168293
getState24117430945286309
initialActions102112
loadScripts885730127820211901278
setupStore28175283452
numNetworkReqs1219119234153192
WebpackStandard HomeuiStartup84673112991008431105
load618560107885616843
domContentLoaded611555105882610829
domInteractive2012193221556
firstPaint231591062224206735
backgroundConnect241277132554
firstReactRender32196993641
getState1151931317
initialActions104111
loadScripts608550104879607819
setupStore1264051319
numNetworkReqs1367719670
WebpackPower User HomeuiStartup1027913134115411651341
load646574894108768894
domContentLoaded628560860101709860
domInteractive38131344281134
firstPaint34170863294759863
backgroundConnect401093288093
firstReactRender41375144251
getState1376517128151171
initialActions101011
loadScripts62455885097699850
setupStore1062661226
numNetworkReqs78641221998122
FirefoxBrowserifyStandard HomeuiStartup14361292176711714691705
load1214111214548912631413
domContentLoaded1214111214549012631413
domInteractive54321663256140
firstPaint------
backgroundConnect3924107174288
firstReactRender27225162744
getState1166071022
initialActions203122
loadScripts1190109514318512371389
setupStore137201201128
numNetworkReqs1267315755
BrowserifyPower User HomeuiStartup35352622449547339414495
load16791317264435417112644
domContentLoaded16791317264435417112644
domInteractive264107926224287926
firstPaint------
backgroundConnect741150108729210251087
firstReactRender986515526119155
getState1859147997192479
initialActions319239
loadScripts16301285260235616442602
setupStore973940684111406
numNetworkReqs1187622855191228
WebpackStandard HomeuiStartup16251422223015516622015
load13701220169911014021650
domContentLoaded13701220169911014021650
domInteractive55301602664114
firstPaint------
backgroundConnect46251512252109
firstReactRender34267893649
getState137152161121
initialActions203123
loadScripts13411201167210213801568
setupStore207242281556
numNetworkReqs1366817765
WebpackPower User HomeuiStartup33752602451758037584517
load17161554225820419042258
domContentLoaded17151554225820419042258
domInteractive24690618177488618
firstPaint------
backgroundConnect4688510093369251009
firstReactRender956313720112137
getState214120482114230482
initialActions326136
loadScripts16671507218720118722187
setupStore1012955512096555
numNetworkReqs1277824958180249
📊 Page Load Benchmark Results

Current Commit: 4e1d964 | Date: 11/16/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±39ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 718ms (±36ms) 🟢 | historical mean value: 718ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 75ms (±12ms) 🟢 | historical mean value: 77ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 39ms 1.01s 1.31s 1.06s 1.31s
domContentLoaded 718ms 36ms 701ms 985ms 741ms 985ms
firstPaint 75ms 12ms 60ms 176ms 84ms 176ms
firstContentfulPaint 75ms 12ms 60ms 176ms 84ms 176ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 2.57 KiB (0.03%)
  • common: 59 Bytes (0%)

@metamaskbot
Copy link
Collaborator

Builds ready [4e1d964]
UI Startup Metrics (1229 ± 93 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1229106315629312791383
load106592413277911091196
domContentLoaded105891913117811031181
domInteractive221472142063
firstPaint68484132841510771182
backgroundConnect2322182829234245
firstReactRender27195562841
getState22796122545
initialActions105112
loadScripts833696108277885959
setupStore1162541120
numNetworkReqs1367520674
BrowserifyPower User HomeuiStartup21441855250120624472501
load1136973154021214541540
domContentLoaded1118957153021514421530
domInteractive56171865593186
firstPaint625200152545310361525
backgroundConnect25223730816254308
firstReactRender694593168293
getState24117430945286309
initialActions102112
loadScripts885730127820211901278
setupStore28175283452
numNetworkReqs1219119234153192
WebpackStandard HomeuiStartup84673112991008431105
load618560107885616843
domContentLoaded611555105882610829
domInteractive2012193221556
firstPaint231591062224206735
backgroundConnect241277132554
firstReactRender32196993641
getState1151931317
initialActions104111
loadScripts608550104879607819
setupStore1264051319
numNetworkReqs1367719670
WebpackPower User HomeuiStartup1027913134115411651341
load646574894108768894
domContentLoaded628560860101709860
domInteractive38131344281134
firstPaint34170863294759863
backgroundConnect401093288093
firstReactRender41375144251
getState1376517128151171
initialActions101011
loadScripts62455885097699850
setupStore1062661226
numNetworkReqs78641221998122
FirefoxBrowserifyStandard HomeuiStartup14361292176711714691705
load1214111214548912631413
domContentLoaded1214111214549012631413
domInteractive54321663256140
firstPaint------
backgroundConnect3924107174288
firstReactRender27225162744
getState1166071022
initialActions203122
loadScripts1190109514318512371389
setupStore137201201128
numNetworkReqs1267315755
BrowserifyPower User HomeuiStartup35352622449547339414495
load16791317264435417112644
domContentLoaded16791317264435417112644
domInteractive264107926224287926
firstPaint------
backgroundConnect741150108729210251087
firstReactRender986515526119155
getState1859147997192479
initialActions319239
loadScripts16301285260235616442602
setupStore973940684111406
numNetworkReqs1187622855191228
WebpackStandard HomeuiStartup16251422223015516622015
load13701220169911014021650
domContentLoaded13701220169911014021650
domInteractive55301602664114
firstPaint------
backgroundConnect46251512252109
firstReactRender34267893649
getState137152161121
initialActions203123
loadScripts13411201167210213801568
setupStore207242281556
numNetworkReqs1366817765
WebpackPower User HomeuiStartup33752602451758037584517
load17161554225820419042258
domContentLoaded17151554225820419042258
domInteractive24690618177488618
firstPaint------
backgroundConnect4688510093369251009
firstReactRender956313720112137
getState214120482114230482
initialActions326136
loadScripts16671507218720118722187
setupStore1012955512096555
numNetworkReqs1277824958180249
📊 Page Load Benchmark Results

Current Commit: 4e1d964 | Date: 11/16/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±39ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 718ms (±36ms) 🟢 | historical mean value: 718ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 75ms (±12ms) 🟢 | historical mean value: 77ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 39ms 1.01s 1.31s 1.06s 1.31s
domContentLoaded 718ms 36ms 701ms 985ms 741ms 985ms
firstPaint 75ms 12ms 60ms 176ms 84ms 176ms
firstContentfulPaint 75ms 12ms 60ms 176ms 84ms 176ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 2.57 KiB (0.03%)
  • common: 59 Bytes (0%)

@metamaskbot
Copy link
Collaborator

Builds ready [c2d1877]
UI Startup Metrics (1227 ± 89 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1227107614718912961383
load106891713188311341199
domContentLoaded106191013128211251193
domInteractive231488171977
firstPaint64193120642810891178
backgroundConnect2342202728237248
firstReactRender29195473143
getState2184282440
initialActions104112
loadScripts833681106580898957
setupStore1172941119
numNetworkReqs1367419670
BrowserifyPower User HomeuiStartup22181959306326123103063
load11721003193825513901938
domContentLoaded1149978191325713811913
domInteractive661720065149200
firstPaint616138194451510091944
backgroundConnect25523128813258288
firstReactRender705197128097
getState24217436561290365
initialActions102112
loadScripts917746165325111401653
setupStore29175083850
numNetworkReqs1238817932168179
WebpackStandard HomeuiStartup7766571162987751053
load55850690489546844
domContentLoaded55050188985540817
domInteractive1711110141449
firstPaint21253892219164825
backgroundConnect261282152956
firstReactRender29196273436
getState1063141217
initialActions102111
loadScripts54849888183538810
setupStore1053041216
numNetworkReqs1467620874
WebpackPower User HomeuiStartup1083926174023212751740
load683580961140863961
domContentLoaded665563925127832925
domInteractive421317450102174
firstPaint35076932274579932
backgroundConnect50112206173220
firstReactRender41374624346
getState1338516724147167
initialActions101011
loadScripts661561915124821915
setupStore1162971429
numNetworkReqs826413024110130
FirefoxBrowserifyStandard HomeuiStartup14781322181411415271720
load1246112715137912791408
domContentLoaded1245112615127912791408
domInteractive54332043453145
firstPaint------
backgroundConnect4225102165081
firstReactRender29236982844
getState1276371223
initialActions203122
loadScripts1222110914827712521389
setupStore1363461426
numNetworkReqs1266215755
BrowserifyPower User HomeuiStartup33422675471263835724712
load15991349208225819462082
domContentLoaded15981349208125719452081
domInteractive249104609182470609
firstPaint------
backgroundConnect620165156444810611564
firstReactRender946812920120129
getState21989543143320543
initialActions317137
loadScripts15311314203224118802032
setupStore1074541988131419
numNetworkReqs1277724463227244
WebpackStandard HomeuiStartup16581471208613816781984
load14061248180010914331689
domContentLoaded14061248179910914331689
domInteractive62302253169129
firstPaint------
backgroundConnect47261512452114
firstReactRender33258593446
getState137139141216
initialActions2046422
loadScripts1376123117699914021622
setupStore15787141250
numNetworkReqs1366717763
WebpackPower User HomeuiStartup32672592440760739244407
load16611412216523618722165
domContentLoaded16611412216423618722164
domInteractive21268615171426615
firstPaint------
backgroundConnect45015310502626661050
firstReactRender916313420105134
getState220122518121276518
initialActions223033
loadScripts16121383209422818452094
setupStore75261382993138
numNetworkReqs1277923760222237
📊 Page Load Benchmark Results

Current Commit: c2d1877 | Date: 11/18/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±47ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 717ms (±39ms) 🟢 | historical mean value: 726ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±14ms) 🟢 | historical mean value: 77ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 47ms 1.01s 1.32s 1.06s 1.32s
domContentLoaded 717ms 39ms 697ms 985ms 741ms 985ms
firstPaint 76ms 14ms 60ms 200ms 84ms 200ms
firstContentfulPaint 76ms 14ms 60ms 200ms 84ms 200ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

// TODO: Fix in https://github.com/MetaMask/metamask-extension/issues/31973
// eslint-disable-next-line @typescript-eslint/no-explicit-any
Container?: any,
confirmationId?: string,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Prevent Default Route Drift

The renderHookWithConfirmContextProvider function has an inconsistent default value for the pathname parameter. It uses '/' as the default while renderWithConfirmContextProvider uses DEFAULT_ROUTE (which equals '/'). More importantly, this inconsistency could cause subtle issues when the default route constant is later changed, as one function would be updated while the other wouldn't be. For consistency with the other helper function and to follow the PR's pattern of using constants throughout, this should be DEFAULT_ROUTE.

Fix in Cursor Fix in Web

@metamaskbot
Copy link
Collaborator

Builds ready [975a04a]
UI Startup Metrics (1134 ± 97 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup113496015339711861334
load97483413328610341099
domContentLoaded96782913258510281086
domInteractive2214107161867
firstPaint61512711243779821069
backgroundConnect1831702026187195
firstReactRender3018187173444
getState20759102440
initialActions104112
loadScripts790660113684854914
setupStore1062231118
numNetworkReqs1367720673
BrowserifyPower User HomeuiStartup21851957287130024812871
load1156964173223714431732
domContentLoaded1138948171723714251717
domInteractive531716449109164
firstPaint72998172453010291724
backgroundConnect25023627611255276
firstReactRender73531041584104
getState24116436062302360
initialActions112022
loadScripts908729145423011871454
setupStore291755103355
numNetworkReqs1229019036171190
WebpackStandard HomeuiStartup8367201136878361084
load61456493078609852
domContentLoaded60755890874604837
domInteractive171268131452
firstPaint18858911190159617
backgroundConnect241081152663
firstReactRender30206983538
getState1061831215
initialActions104111
loadScripts60455689772602827
setupStore1051631214
numNetworkReqs1367519670
WebpackPower User HomeuiStartup1107946160121213271601
load665585969115766969
domContentLoaded651573947108728947
domInteractive36131423978142
firstPaint32660820254593820
backgroundConnect52101966490196
firstReactRender44405134551
getState1409216025155160
initialActions101011
loadScripts647571936104717936
setupStore1362792527
numNetworkReqs836512825124128
FirefoxBrowserifyStandard HomeuiStartup14451294196611114831682
load1228111314797812671400
domContentLoaded1228111214797812661400
domInteractive55333374554153
firstPaint------
backgroundConnect3924152174459
firstReactRender26214842630
getState127191191017
initialActions103122
loadScripts1205109614597612391376
setupStore1267091133
numNetworkReqs1266614751
BrowserifyPower User HomeuiStartup31572538458350133464583
load15161313187620018051876
domContentLoaded15161313187520018051875
domInteractive24696615200532615
firstPaint------
backgroundConnect4819712883667431288
firstReactRender84661251591125
getState181116574104174574
initialActions317137
loadScripts14651262182520417821825
setupStore14741496130143496
numNetworkReqs1257123958215239
WebpackStandard HomeuiStartup15981416228216916032076
load13571213174811813821629
domContentLoaded13561212174711813811629
domInteractive57302953567114
firstPaint------
backgroundConnect45251522548111
firstReactRender342484123668
getState1275271221
initialActions103122
loadScripts13281196172110813621553
setupStore14775121252
numNetworkReqs1367118767
WebpackPower User HomeuiStartup31822543440550335084405
load16851431197419419371974
domContentLoaded16851431197419419361974
domInteractive21167500149424500
firstPaint------
backgroundConnect391125867217563867
firstReactRender916813320109133
getState194121573115186573
initialActions318238
loadScripts16221344192719118491927
setupStore74431632887163
numNetworkReqs1287422954198229
📊 Page Load Benchmark Results

Current Commit: 975a04a | Date: 11/18/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±43ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 729ms (±40ms) 🟢 | historical mean value: 729ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 78ms (±12ms) 🟢 | historical mean value: 78ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 43ms 1.01s 1.33s 1.11s 1.33s
domContentLoaded 729ms 40ms 702ms 990ms 791ms 990ms
firstPaint 78ms 12ms 60ms 184ms 92ms 184ms
firstContentfulPaint 78ms 12ms 60ms 184ms 92ms 184ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

This commit restores the codebase to the working state before the refactoring attempts.
All commit history is preserved - this is a regular commit on top of the existing history.
@DDDDDanica DDDDDanica requested review from a team, HowardBraham and dbrans as code owners November 18, 2025 23:56
}
return;
isPasswordSynced = true;
return isPasswordSynced;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Undefined Return Breaks Password Sync Flow

The syncPasswordAndUnlockWallet method now returns isPasswordSynced in some branches but was previously documented as returning void. However, in the social login flow branch, it returns early without initializing isPasswordSynced, causing it to return undefined instead of a proper boolean value in that case.

Fix in Cursor Fix in Web

@metamaskbot
Copy link
Collaborator

Builds ready [f45a154]
UI Startup Metrics (1115 ± 94 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup111595314449411701276
load95280112819210131140
domContentLoaded94479312749310091130
domInteractive211473131863
firstPaint5928012143709591061
backgroundConnect18616832120188215
firstReactRender2815143172843
getState2084492541
initialActions105112
loadScripts767625108792832952
setupStore1062431118
numNetworkReqs1367720675
BrowserifyPower User HomeuiStartup16111324227024618862270
load1015885136917012461369
domContentLoaded1008879135916912421359
domInteractive40151213999121
firstPaint45516713713528941371
backgroundConnect23622127213239272
firstReactRender40354324243
getState17414324827187248
initialActions102012
loadScripts781663109616110131096
setupStore1593992639
numNetworkReqs1186925567172255
WebpackStandard HomeuiStartup85872312581028571129
load631571102393621892
domContentLoaded62456698989615875
domInteractive1912103171570
firstPaint24161993251214906
backgroundConnect261183143058
firstReactRender301885103541
getState1263041418
initialActions103111
loadScripts62156497986613865
setupStore1264651420
numNetworkReqs1367619671
WebpackPower User HomeuiStartup1084922162120412681621
load68159010181257261018
domContentLoaded661580981108697981
domInteractive34141043476104
firstPaint33670988299591988
backgroundConnect611018567171185
firstReactRender42374624346
getState1337315927149159
initialActions102112
loadScripts657577970105686970
setupStore14635102535
numNetworkReqs1096723048160230
FirefoxBrowserifyStandard HomeuiStartup14711333193312115021755
load1246114616409212791442
domContentLoaded1246114616409212781442
domInteractive57332254351161
firstPaint------
backgroundConnect4026131154457
firstReactRender25214032531
getState1173941118
initialActions203123
loadScripts1223112515768712491412
setupStore14777101327
numNetworkReqs1266515859
BrowserifyPower User HomeuiStartup21721901282828124302828
load14501208189820316461898
domContentLoaded14491208189820316461898
domInteractive15139451143343451
firstPaint------
backgroundConnect943029772146297
firstReactRender654499136999
getState1146717531144175
initialActions213123
loadScripts14141184184819816131848
setupStore2361162730116
numNetworkReqs1376823166216231
WebpackStandard HomeuiStartup16751485212314517142029
load14261228170511114581689
domContentLoaded14251228170511114581689
domInteractive57301802766112
firstPaint------
backgroundConnect51272232952121
firstReactRender352488153579
getState1175661118
initialActions104122
loadScripts13941210168110114351610
setupStore177109171554
numNetworkReqs1366717866
WebpackPower User HomeuiStartup21531843272423723162724
load14771241191019215851910
domContentLoaded14761241191019215841910
domInteractive983427489209274
firstPaint------
backgroundConnect922929471115294
firstReactRender66411171871117
getState1156416123123161
initialActions41317231
loadScripts14331223180818115631808
setupStore2661042846104
numNetworkReqs1366627671214276
📊 Page Load Benchmark Results

Current Commit: f45a154 | Date: 11/19/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±70ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 728ms (±68ms) 🟢 | historical mean value: 728ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 75ms (±10ms) 🟢 | historical mean value: 77ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 70ms 1.00s 1.31s 1.25s 1.31s
domContentLoaded 728ms 68ms 696ms 992ms 930ms 992ms
firstPaint 75ms 10ms 60ms 156ms 88ms 156ms
firstContentfulPaint 75ms 10ms 60ms 156ms 88ms 156ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -2.56 KiB (-0.05%)
  • ui: -34.44 KiB (-0.46%)
  • common: -22.15 KiB (-0.25%)

@DDDDDanica
Copy link
Contributor Author

Re-open PR with a clean fix history in #37964 changes are lost or corrupted in rebasing .

@DDDDDanica DDDDDanica closed this Nov 19, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Nov 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

size-XL team-extension-platform Extension Platform team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants