Skip to content

Conversation

@bergarces
Copy link
Contributor

@bergarces bergarces commented Nov 12, 2025

Description

Upgrade assets-controllers to start using Price API v3 spot-prices endpoint.

Open in GitHub Codespaces

Changelog

CHANGELOG entry: null

Related issues

Fixes: https://consensyssoftware.atlassian.net/browse/ASSETS-1575

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 token price fetching to Price API v3 with new assetIds, updates assets selectors/polling, bumps @metamask/assets-controllers and related deps, and adjusts mocks/tests and LavaMoat policies.

  • Assets/Dependencies:
    • Upgrade @metamask/assets-controllers to ^91.0.0 and related packages (controller-utils, polling-controller), with yarn.lock updates.
    • Restrict TokenRatesController messenger to TokensController:getState and NetworkController:getState and their state change events.
  • Price API v3 Migration:
    • Switch from v2/chains/{id}/spot-prices to v3/spot-prices using assetIds (e.g., eip155:1/slip44:60, eip155:1/erc20:<address>), updating all mocks, queries, and responses.
    • Refactor test utilities (mockSpotPrices, mockEmptyPrices) to the new endpoint/signatures.
  • UI/Selectors:
    • useTokenRatesPolling: simplify to only control polling (remove returned market/exchange data).
    • getAssetsBySelectedAccountGroup: delegate directly to assets-controllers; add getAssetsBySelectedAccountGroupWithTronResources passing { filterTronStakedTokens: false }.
    • Adjust selector tests accordingly (remove Tron filtering expectations).
  • Security/Policy:
    • Update LavaMoat policies to allow @metamask/assets-controllers>@metamask/polling-controller and related globals/packages; remove bridge-controller mapping.
  • Tests:
    • Update numerous e2e/integration tests to new price API paths, query params, and response keys; minor network mocks adjusted.

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

@github-actions
Copy link
Contributor

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
Copy link
Collaborator

Builds ready [1b01012]
UI Startup Metrics (1234 ± 96 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1234108515089612941417
load106993813279011301244
domContentLoaded106393213218911221238
domInteractive2314119192070
firstPaint59979128941210391157
backgroundConnect2312192627235243
firstReactRender25194952639
getState1984172234
initialActions001001
loadScripts8387121088889031009
setupStore1163441120
numNetworkReqs1367619670
BrowserifyPower User HomeuiStartup16201462202520819312025
load1025899138417212811384
domContentLoaded1018890138017312771380
domInteractive43151524593152
firstPaint478188951311932951
backgroundConnect2362202579242257
firstReactRender27234342743
getState1656319229181192
initialActions001011
loadScripts791666115216910431152
setupStore1392751127
numNetworkReqs1196824959168249
WebpackStandard HomeuiStartup814683115483821970
load60155395973595752
domContentLoaded59454793370590740
domInteractive171277121449
firstPaint21357964206204713
backgroundConnect241174132451
firstReactRender29176593337
getState1164141316
initialActions001001
loadScripts59154592368588729
setupStore1153141216
numNetworkReqs1467620874
WebpackPower User HomeuiStartup1049867173928612171739
load654569929119806929
domContentLoaded637558899107769899
domInteractive34131483867148
firstPaint36263903308772903
backgroundConnect55102287068228
firstReactRender27253012830
getState1419515418151154
initialActions001011
loadScripts633556888103758888
setupStore1562682526
numNetworkReqs1086622547163225
FirefoxBrowserifyStandard HomeuiStartup15091344203712115601796
load1276114815168013091468
domContentLoaded1276114815168013091468
domInteractive1073433152111234
firstPaint------
backgroundConnect4622197215481
firstReactRender26225442732
getState138129141120
initialActions002001
loadScripts1249113014737512861413
setupStore1478091333
numNetworkReqs1266315757
BrowserifyPower User HomeuiStartup22231840316341027423163
load14291178197925317661979
domContentLoaded14281177197825317661978
domInteractive22278617193493617
firstPaint------
backgroundConnect11832377109217377
firstReactRender443483125083
getState1288917124145171
initialActions102112
loadScripts13821158191024316801910
setupStore3772355631235
numNetworkReqs1346631683206316
WebpackStandard HomeuiStartup16581469204014017151961
load13971241175810714921609
domContentLoaded13961241175810714921609
domInteractive1023638351114178
firstPaint------
backgroundConnect51261572456100
firstReactRender3724147173883
getState147102131449
initialActions002001
loadScripts13661203172910414561542
setupStore16775131550
numNetworkReqs1367018867
WebpackPower User HomeuiStartup22121881276230526152762
load15281283193620217371936
domContentLoaded15281282193620317371936
domInteractive16452431137320431
firstPaint------
backgroundConnect933324073157240
firstReactRender42316174461
getState1428323141174231
initialActions106116
loadScripts14921262189219716941892
setupStore27786214486
numNetworkReqs1347031377207313
📊 Page Load Benchmark Results

Current Commit: 1b01012 | Date: 11/12/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.07s (±77ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 750ms (±73ms) 🟢 | historical mean value: 728ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 80ms (±12ms) 🟢 | historical mean value: 77ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.07s 77ms 1.02s 1.39s 1.32s 1.39s
domContentLoaded 750ms 73ms 711ms 1.05s 992ms 1.05s
firstPaint 80ms 12ms 60ms 176ms 88ms 176ms
firstContentfulPaint 80ms 12ms 60ms 176ms 88ms 176ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 68 Bytes (0%)
  • ui: 3.71 KiB (0.05%)
  • common: 1.11 KiB (0.01%)

@metamaskbot
Copy link
Collaborator

Builds ready [2bc2dc4]
UI Startup Metrics (1217 ± 81 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1217108714308112741356
load104993612197411051195
domContentLoaded104392712137310991182
domInteractive2314124171868
firstPaint57980123841010301167
backgroundConnect2312172558235246
firstReactRender25174962537
getState2087492435
initialActions002001
loadScripts81870997472876952
setupStore1162741119
numNetworkReqs1367719671
BrowserifyPower User HomeuiStartup16821497263829919182638
load1062915182725213201827
domContentLoaded1054900180124913161801
domInteractive42161464398146
firstPaint64118518374809411837
backgroundConnect23522627111239271
firstReactRender40364734147
getState17015220619190206
initialActions001001
loadScripts827678155024410911550
setupStore1493581435
numNetworkReqs1227325468171254
WebpackStandard HomeuiStartup7656471165977711052
load55751090982548810
domContentLoaded55050589379542791
domInteractive161167101343
firstPaint17554837163164525
backgroundConnect241191142457
firstReactRender27168793134
getState1164551316
initialActions001001
loadScripts54850388577540784
setupStore1152841317
numNetworkReqs1467620873
WebpackPower User HomeuiStartup1095915169927214871699
load677591911121850911
domContentLoaded65257986497756864
domInteractive33131163275116
firstPaint401121868283674868
backgroundConnect63925078163250
firstReactRender39374323943
getState1429816724157167
initialActions001001
loadScripts64857785494745854
setupStore1262782527
numNetworkReqs1127122654167226
FirefoxBrowserifyStandard HomeuiStartup14731315179412015371756
load1245112715289212991452
domContentLoaded1245112715289212991451
domInteractive1073630954106275
firstPaint------
backgroundConnect4225113134968
firstReactRender26216582650
getState1174351119
initialActions001011
loadScripts1220111014448812711415
setupStore156203211332
numNetworkReqs1266315854
BrowserifyPower User HomeuiStartup23651888386652928293866
load14771236200225517752002
domContentLoaded14771235200225517742002
domInteractive21665690193448690
firstPaint------
backgroundConnect12839455117218455
firstReactRender635093127293
getState1319521031137210
initialActions30328132
loadScripts14231188188123617381881
setupStore3361123262112
numNetworkReqs1427133578219335
WebpackStandard HomeuiStartup15661422193113215601918
load1339121116289213591584
domContentLoaded1338121016279213581584
domInteractive91311722899157
firstPaint------
backgroundConnect47251742652107
firstReactRender302276123172
getState13758111247
initialActions001001
loadScripts1309119115447913331504
setupStore186181261368
numNetworkReqs1367317862
WebpackPower User HomeuiStartup22911831309235826203092
load15551235193821017761938
domContentLoaded15551235193721017751937
domInteractive18937636191327636
firstPaint------
backgroundConnect933230885101308
firstReactRender60421212067121
getState1298220233151202
initialActions20297129
loadScripts15201208189220417341892
setupStore3551784648178
numNetworkReqs1675834894234348
📊 Page Load Benchmark Results

Current Commit: 2bc2dc4 | Date: 11/13/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±72ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 728ms (±69ms) 🟢 | historical mean value: 717ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±11ms) 🟢 | historical mean value: 78ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 72ms 999ms 1.32s 1.26s 1.32s
domContentLoaded 728ms 69ms 687ms 1.01s 942ms 1.01s
firstPaint 76ms 11ms 60ms 172ms 84ms 172ms
firstContentfulPaint 76ms 11ms 60ms 172ms 84ms 172ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 0 Bytes (0%)
  • common: 1.87 KiB (0.02%)

@bergarces bergarces requested a review from a team as a code owner November 14, 2025 13:44
@github-actions github-actions bot added size-S and removed size-XS labels Nov 14, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [bfcc40a]
UI Startup Metrics (1242 ± 98 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1242107617339812951426
load107794114729011281224
domContentLoaded107293614478811221214
domInteractive231593172075
firstPaint60090148442810801176
backgroundConnect2332202647236243
firstReactRender29195873145
getState21857102545
initialActions107112
loadScripts844714120188898988
setupStore1162841117
numNetworkReqs1367620672
BrowserifyPower User HomeuiStartup21601899298825322372988
load1167994175821013681758
domContentLoaded1145969173321013601733
domInteractive541817754124177
firstPaint752192175248811091752
backgroundConnect25623029614262296
firstReactRender75451141890114
getState23317734852272348
initialActions102112
loadScripts911743148420511351484
setupStore25163763037
numNetworkReqs1168717428150174
WebpackStandard HomeuiStartup7836641117887861043
load55851285474554797
domContentLoaded55150682671548782
domInteractive171162121450
firstPaint18154829184166728
backgroundConnect261275152865
firstReactRender29195373536
getState1062131215
initialActions104111
loadScripts54850481969546774
setupStore1061631214
numNetworkReqs1467720874
WebpackPower User HomeuiStartup1057888157320712361573
load652567946121719946
domContentLoaded638557912113698912
domInteractive39131754868175
firstPaint35065916318702916
backgroundConnect51112926775292
firstReactRender40374424244
getState1439618925154189
initialActions001011
loadScripts633555902110685902
setupStore86122912
numNetworkReqs755811621106116
FirefoxBrowserifyStandard HomeuiStartup14661328189311015151734
load1243113915368812781443
domContentLoaded1242113915358812771442
domInteractive56332543761148
firstPaint------
backgroundConnect382594134364
firstReactRender27224962843
getState1173751121
initialActions103123
loadScripts1220111415148612521417
setupStore13681111131
numNetworkReqs1266614754
BrowserifyPower User HomeuiStartup31592506458868733384588
load15331279199820517871998
domContentLoaded15331279199820517861998
domInteractive23896605161378605
firstPaint------
backgroundConnect48510412824048861282
firstReactRender885911719108117
getState16411037069191370
initialActions223023
loadScripts14751252178518617621785
setupStore12732498113148498
numNetworkReqs1196722755199227
WebpackStandard HomeuiStartup18201642269419318062266
load15261353199613515311854
domContentLoaded15261352199513515311853
domInteractive66353783970121
firstPaint------
backgroundConnect56322192864119
firstReactRender382899113949
getState14870111432
initialActions214123
loadScripts14881327190712014981771
setupStore228270311576
numNetworkReqs1367018767
WebpackPower User HomeuiStartup30232446428550534164285
load16261430207220218462072
domContentLoaded16261430207120218452071
domInteractive23179631196515631
firstPaint------
backgroundConnect40095918220557918
firstReactRender84631341996134
getState13811021526152215
initialActions213133
loadScripts15801363204120518062041
setupStore11636526111136526
numNetworkReqs1216722453200224
📊 Page Load Benchmark Results

Current Commit: bfcc40a | Date: 11/14/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.09s (±330ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 774ms (±357ms) 🟢 | historical mean value: 725ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 111ms (±338ms) 🟢 | historical mean value: 78ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.09s 330ms 1.02s 4.31s 1.27s 4.31s
domContentLoaded 774ms 357ms 704ms 4.27s 945ms 4.27s
firstPaint 111ms 338ms 56ms 3.47s 88ms 3.47s
firstContentfulPaint 111ms 338ms 56ms 3.47s 88ms 3.47s
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 148 Bytes (0%)
  • ui: -186 Bytes (0%)
  • common: 2.93 KiB (0.03%)

@github-actions github-actions bot added size-M and removed size-S labels Nov 14, 2025
@bergarces bergarces changed the title prices v3 upgrade feat: prices v3 upgrade Nov 14, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [14efbd0]
UI Startup Metrics (1235 ± 90 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1235107114389013041384
load106992012508211401198
domContentLoaded106291512408111341186
domInteractive231481172074
firstPaint633120124643310741214
backgroundConnect23221928710234255
firstReactRender26195242833
getState217119132239
initialActions103112
loadScripts837699101681900967
setupStore1071821113
numNetworkReqs1367619670
BrowserifyPower User HomeuiStartup21411879299226422642992
load1120946177923714041779
domContentLoaded1100934175223513571752
domInteractive601718964152189
firstPaint741212176250010571762
backgroundConnect24823228113250281
firstReactRender73461252186125
getState25116634757311347
initialActions102112
loadScripts873714149822611181498
setupStore26164273242
numNetworkReqs1179019033147190
WebpackStandard HomeuiStartup83371112031048251139
load61255597995605917
domContentLoaded60555296491598901
domInteractive171298131452
firstPaint22260967223202879
backgroundConnect241270132657
firstReactRender31197093540
getState1162031316
initialActions101011
loadScripts60255095489596891
setupStore1061731214
numNetworkReqs1367719870
WebpackPower User HomeuiStartup1149937173726814201737
load677585977133746977
domContentLoaded659573951125716951
domInteractive43132035478203
firstPaint31890643199580643
backgroundConnect681824266115242
firstReactRender41384624346
getState1449519523152195
initialActions101011
loadScripts655571941121706941
setupStore96275827
numNetworkReqs775713126115131
FirefoxBrowserifyStandard HomeuiStartup15301387229414315451843
load1285116116018813211468
domContentLoaded1285116116008813201467
domInteractive57332083562146
firstPaint------
backgroundConnect50243073554119
firstReactRender28225652840
getState1274261122
initialActions203122
loadScripts1255114415158212921439
setupStore14786121233
numNetworkReqs1267116760
BrowserifyPower User HomeuiStartup34432628483066543454830
load15681344198922418971989
domContentLoaded15681343198922418971989
domInteractive22267483145436483
firstPaint------
backgroundConnect713104156741510121567
firstReactRender89651702493170
getState209112563119212563
initialActions213133
loadScripts15211290194922718371949
setupStore913616238125162
numNetworkReqs1217222256208222
WebpackStandard HomeuiStartup16001422220714316041953
load13541198170610813781622
domContentLoaded13531198170610813781622
domInteractive57312012967114
firstPaint------
backgroundConnect46211172251105
firstReactRender332480103450
getState1274771233
initialActions203123
loadScripts1324118216739913511574
setupStore197174221562
numNetworkReqs1367218768
WebpackPower User HomeuiStartup34342703511169638645111
load17441468311340619723113
domContentLoaded17431468311240619723112
domInteractive2668211742874801174
firstPaint------
backgroundConnect49710513783637841378
firstReactRender925113421105134
getState239113608143235608
initialActions51419341
loadScripts16871416306240019443062
setupStore10129543119105543
numNetworkReqs1237322251170222
📊 Page Load Benchmark Results

Current Commit: 14efbd0 | Date: 11/14/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±37ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 733ms (±34ms) 🟢 | historical mean value: 718ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 78ms (±11ms) 🟢 | historical mean value: 77ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 37ms 1.03s 1.32s 1.08s 1.32s
domContentLoaded 733ms 34ms 713ms 985ms 758ms 985ms
firstPaint 78ms 11ms 64ms 168ms 88ms 168ms
firstContentfulPaint 78ms 11ms 64ms 168ms 88ms 168ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 148 Bytes (0%)
  • ui: -186 Bytes (0%)
  • common: 2.93 KiB (0.03%)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There changes should not affect anything. This hook is used purely to start polling, the return result is not used and therefore it is not needed.

@metamaskbot
Copy link
Collaborator

Builds ready [85dbc1a]
UI Startup Metrics (1251 ± 111 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup12511071155711113041478
load1083918140410511231315
domContentLoaded1077916139610411191309
domInteractive2414219261973
firstPaint68489140443510841245
backgroundConnect2302172638234245
firstReactRender29194773444
getState24899132946
initialActions104112
loadScripts85369911651038981086
setupStore1152441321
numNetworkReqs1367620672
BrowserifyPower User HomeuiStartup21151856274324122602743
load1138969156319214011563
domContentLoaded1119955155019613941550
domInteractive591921154120211
firstPaint632212155546210471555
backgroundConnect2502392656254265
firstReactRender73501001484100
getState22517529342274293
initialActions102112
loadScripts888723129718811601297
setupStore28184573045
numNetworkReqs1169117930150179
WebpackStandard HomeuiStartup84371312061008431124
load61956194987615882
domContentLoaded61255692683609869
domInteractive171263121452
firstPaint20560922214189867
backgroundConnect251179143058
firstReactRender3120112113538
getState1164351219
initialActions104111
loadScripts60955491681607858
setupStore1153341320
numNetworkReqs1367720671
WebpackPower User HomeuiStartup1076936162019311861620
load664584969115764969
domContentLoaded646572917104714917
domInteractive39141204073120
firstPaint40163975317770975
backgroundConnect41112014873201
firstReactRender43404924449
getState1459217424156174
initialActions101011
loadScripts642570906101703906
setupStore1872892728
numNetworkReqs70541162084116
FirefoxBrowserifyStandard HomeuiStartup14691320184411514991741
load1240112615508512741437
domContentLoaded1240112615498412741436
domInteractive53291602957135
firstPaint------
backgroundConnect3824116163870
firstReactRender27226072743
getState1176361120
initialActions203123
loadScripts1217111015178112501410
setupStore13766101334
numNetworkReqs1267316762
BrowserifyPower User HomeuiStartup35232663444047436944440
load16431393223726818092237
domContentLoaded16431392223726818082237
domInteractive25587646181457646
firstPaint------
backgroundConnect66115612713989891271
firstReactRender885312218102122
getState19172635123198635
initialActions213133
loadScripts15891364221627617402216
setupStore12626478112151478
numNetworkReqs1155821754192217
WebpackStandard HomeuiStartup15641402213114415831892
load1328118816019313461551
domContentLoaded1328118816019413451551
domInteractive55322342862108
firstPaint------
backgroundConnect4319230254880
firstReactRender31257083444
getState147207211144
initialActions103122
loadScripts1301117215608913211511
setupStore15793151252
numNetworkReqs1367318766
WebpackPower User HomeuiStartup31772570403048737094030
load16731457222819217882228
domContentLoaded16731457222719217882227
domInteractive23785491144433491
firstPaint------
backgroundConnect367115895254635895
firstReactRender915215427112154
getState1775844183212441
initialActions213123
loadScripts16291421214518817502145
setupStore1082950910795509
numNetworkReqs1217323359212233
📊 Page Load Benchmark Results

Current Commit: 85dbc1a | Date: 11/16/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 978ms (±74ms) 🟢 | historical mean value: 1.03s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 685ms (±71ms) 🟢 | historical mean value: 718ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 74ms (±12ms) 🟢 | historical mean value: 77ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 978ms 74ms 942ms 1.28s 1.20s 1.28s
domContentLoaded 685ms 71ms 650ms 987ms 904ms 987ms
firstPaint 74ms 12ms 60ms 180ms 84ms 180ms
firstContentfulPaint 74ms 12ms 60ms 180ms 84ms 180ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 148 Bytes (0%)
  • ui: -186 Bytes (0%)
  • common: 2.93 KiB (0.03%)

@MetaMask MetaMask deleted a comment from cursor bot Nov 20, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [95fdf3f]
UI Startup Metrics (1211 ± 90 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1211106614779012811369
load103089612358110981180
domContentLoaded102389412297910911163
domInteractive2314143192068
firstPaint60485121542910471160
backgroundConnect21119430315215231
firstReactRender26186672738
getState29166683248
initialActions102112
loadScripts819694102178886967
setupStore1174051119
numNetworkReqs161074181070
BrowserifyPower User HomeuiStartup18621538262724320352393
load1008894155814810201424
domContentLoaded99288615281449951412
domInteractive36162033929163
firstPaint54015815644149351433
backgroundConnect22619927214234255
firstReactRender80471311586107
getState17612936343197264
initialActions104112
loadScripts78367813071447831201
setupStore20752102737
numNetworkReqs906319029102166
WebpackStandard HomeuiStartup8427251148888841005
load62256885663623792
domContentLoaded61756385063620781
domInteractive2414103182280
firstPaint26796833197339625
backgroundConnect1163371230
firstReactRender3221247243339
getState301464113747
initialActions104112
loadScripts61456183960617773
setupStore1353451524
numNetworkReqs161074181069
WebpackPower User HomeuiStartup13791064196922315451838
load6345571028107651924
domContentLoaded6245501019106635916
domInteractive32151313027116
firstPaint2891161034212297874
backgroundConnect1475281633
firstReactRender80501081288102
getState16113430638170263
initialActions104112
loadScripts6215481009104633907
setupStore20873142854
numNetworkReqs896219234101179
FirefoxBrowserifyStandard HomeuiStartup13061129176112313521604
load109097312937511541224
domContentLoaded108997312927611541218
domInteractive61301453284128
firstPaint------
backgroundConnect4523157264696
firstReactRender24193952436
getState1163751123
initialActions103122
loadScripts106495312587011171183
setupStore13680111130
numNetworkReqs161070151261
BrowserifyPower User HomeuiStartup29182078401341931243824
load12521021176221414361713
domContentLoaded12511020176221414361712
domInteractive16330791155168536
firstPaint------
backgroundConnect3282914413655801159
firstReactRender914318120100127
getState24988934241199841
initialActions209227
loadScripts1199981169620113101627
setupStore1239791195103762
numNetworkReqs93602134099197
WebpackStandard HomeuiStartup14391251203113014851727
load1225108215289312851414
domContentLoaded1224108115289312851414
domInteractive62281834184148
firstPaint------
backgroundConnect4023106184384
firstReactRender27207462836
getState11697111018
initialActions103122
loadScripts1200106714568712611364
setupStore13679131049
numNetworkReqs16866161163
WebpackPower User HomeuiStartup28142054373734130043454
load13891072192318915731724
domContentLoaded13881072192218915721724
domInteractive12728659122138432
firstPaint------
backgroundConnect16724753177190572
firstReactRender84371281996116
getState27984928282219882
initialActions3146637
loadScripts13511053188918315221684
setupStore1095845183101743
numNetworkReqs90542234687212
📊 Page Load Benchmark Results

Current Commit: 95fdf3f | Date: 11/20/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±49ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 730ms (±40ms) 🟢 | historical mean value: 721ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 78ms (±11ms) 🟢 | historical mean value: 78ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 49ms 1.02s 1.45s 1.08s 1.45s
domContentLoaded 730ms 40ms 709ms 1.04s 754ms 1.04s
firstPaint 78ms 11ms 60ms 172ms 88ms 172ms
firstContentfulPaint 78ms 11ms 60ms 172ms 88ms 172ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: -142 Bytes (0%)
  • ui: 196 Bytes (0%)
  • common: 1.58 KiB (0.02%)

@metamaskbot
Copy link
Collaborator

Builds ready [72877b1]
UI Startup Metrics (1273 ± 94 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1273108615939413361436
load108688213459011461258
domContentLoaded107987513108911401252
domInteractive2514101202182
firstPaint62677136144611011228
backgroundConnect22720430916233256
firstReactRender2919114123150
getState331891133661
initialActions103112
loadScripts8606661096889181034
setupStore1172331219
numNetworkReqs161075181069
BrowserifyPower User HomeuiStartup19011574280725320412445
load1023901181116810211471
domContentLoaded1008888180016710011449
domInteractive38172114231159
firstPaint5879014934099431410
backgroundConnect22720827511231250
firstReactRender82511421587118
getState17413431439193271
initialActions104112
loadScripts79768315811657931233
setupStore201084112338
numNetworkReqs906219028101164
WebpackStandard HomeuiStartup825740104279861989
load61356180359622773
domContentLoaded60955577858619767
domInteractive2414106192076
firstPaint22674787167204618
backgroundConnect1163571029
firstReactRender3021138123338
getState311453114049
initialActions104113
loadScripts60655376856617757
setupStore1253151526
numNetworkReqs161076181070
WebpackPower User HomeuiStartup14291188253424015931907
load67958814151346791014
domContentLoaded66958114031336661005
domInteractive37171844128164
firstPaint2501031010164240627
backgroundConnect1584172030
firstReactRender83491061392101
getState15012527533164231
initialActions105112
loadScripts6665791389130664992
setupStore23964133352
numNetworkReqs90621863299180
FirefoxBrowserifyStandard HomeuiStartup12251071151010112921450
load103891812898410911205
domContentLoaded103791812898410911204
domInteractive62311783683147
firstPaint------
backgroundConnect3622121174077
firstReactRender22184542231
getState95536916
initialActions103112
loadScripts101590012507810661185
setupStore11510813930
numNetworkReqs151065131254
BrowserifyPower User HomeuiStartup27161893386736428853584
load1171938164417912011577
domContentLoaded1171938164317912011577
domInteractive14731653134161510
firstPaint------
backgroundConnect238261093256356824
firstReactRender905313719101125
getState26073897260205866
initialActions3123338
loadScripts1124921161616711461540
setupStore1286823192122737
numNetworkReqs92472084088196
WebpackStandard HomeuiStartup14751294181112515571755
load1252109914379613281420
domContentLoaded1252109914369613281420
domInteractive802824553101195
firstPaint------
backgroundConnect4118155234596
firstReactRender282083103037
getState146114191446
initialActions102122
loadScripts1227108514039113041390
setupStore156164231045
numNetworkReqs161067151163
WebpackPower User HomeuiStartup28582144366030429873456
load14071135199917715211780
domContentLoaded14071134199817715201779
domInteractive13532591127164466
firstPaint------
backgroundConnect18628858184232591
firstReactRender88412302696134
getState26281921266199853
initialActions4155928
loadScripts13681118197317114701712
setupStore1071073016382619
numNetworkReqs93532164097197
📊 Page Load Benchmark Results

Current Commit: 72877b1 | Date: 11/20/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±116ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 741ms (±136ms) 🟢 | historical mean value: 723ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 92ms (±192ms) 🟢 | historical mean value: 78ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 116ms 1.01s 2.01s 1.25s 2.01s
domContentLoaded 741ms 136ms 695ms 1.94s 931ms 1.94s
firstPaint 92ms 192ms 60ms 2.00s 84ms 2.00s
firstContentfulPaint 92ms 192ms 60ms 2.00s 84ms 2.00s
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: -142 Bytes (0%)
  • ui: -186 Bytes (0%)
  • common: 1.56 KiB (0.02%)

github-merge-queue bot pushed a commit to MetaMask/core that referenced this pull request Nov 20, 2025
## Explanation

<!--
Thanks for your contribution! Take a moment to answer these questions so
that reviewers have the information they need to properly understand
your changes:

* What is the current state of things and why does it need to change?
* What is the solution your changes offer and how does it work?
* Are there any changes whose purpose might not obvious to those
unfamiliar with the domain?
* If your primary goal was to update one package but you found you had
to update another one along the way, why did you do so?
* If you had to upgrade a dependency, why did you do so?
-->

Upgrade to Price API v3

Preview PR for extension:
MetaMask/metamask-extension#37741
Preview PR for mobile:
MetaMask/metamask-mobile#22876

## References

<!--
Are there any issues that this pull request is tied to?
Are there other links that reviewers should consult to understand these
changes better?
Are there client or consumer pull requests to adopt any breaking
changes?

For example:

* Fixes #12345
* Related to #67890
-->

Fixes https://consensyssoftware.atlassian.net/browse/ASSETS-1746

## Checklist

- [X] I've updated the test suite for new or updated code as appropriate
- [X] I've updated documentation (JSDoc, Markdown, etc.) for new or
updated code as appropriate
- [X] I've communicated my changes to consumers by [updating changelogs
for packages I've
changed](https://github.com/MetaMask/core/tree/main/docs/contributing.md#updating-changelogs),
highlighting breaking changes as necessary
- [X] I've prepared draft pull requests for clients and consumer
packages to resolve any breaking changes


<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Upgrades token price fetching to Price API v3, updates service/types
and controllers to new assets-based API, and removes legacy polling
paths.
> 
> - **Price API Integration (v3)**
> - `CodefiTokenPricesServiceV2`: add v3 `/v3/spot-prices` with CAIP-19
`assetId`, fallback to v2 per-chain endpoint; expand
`SUPPORTED_CURRENCIES`; introduce `SPOT_PRICES_SUPPORT_INFO`; handle
native token addresses; circuit-breaker/degraded handling retained.
> - **Types/Interfaces**:
> - BREAKING: `AbstractTokenPricesService.fetchTokenPrices` now accepts
`assets: { chainId, tokenAddress }[]` and returns
`EvmAssetWithMarketData[]` (replaces address->object map and adds
`assetId`).
> - Add `EvmAssetAddressWithChain`, `EvmAssetWithId`,
`EvmAssetWithMarketData`.
> - **Controllers**:
> - `TokenRatesController`: fetch prices grouped by native currency;
support unsupported native currencies via USD conversion; include native
token in queries; remove legacy polling/state/event deps; handle network
deletions; enable/disable gating maintained.
> - `CurrencyRateController`: on API failure, fallback to spot prices
via `fetchTokenPrices` using native token asset; map multiple networks
by native currency.
> - `TokenSearchDiscoveryDataController`: adapt to new
`fetchTokenPrices` response (array) and asset inputs.
> - **Utils**:
> - `assetsUtil.fetchTokenContractExchangeRates`: switch to assets-based
batching (includes native token) and map array response.
> - **Tests/Changelog**:
> - Update tests to new arguments/returns and behaviors; changelog notes
BREAKING changes and polling cleanup.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
e306214. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
@socket-security
Copy link

socket-security bot commented Nov 20, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​metamask/​controller-utils@​11.15.0 ⏵ 11.16.09910077 +196 +2100
Updated@​metamask/​assets-controllers@​89.0.1 ⏵ 91.0.0981009198 +1100

View full report

@bergarces bergarces requested review from a team as code owners November 20, 2025 16:41
@metamaskbot
Copy link
Collaborator

Builds ready [831ebf2]
UI Startup Metrics (1276 ± 125 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup12761067169112513641525
load1100916146311411491330
domContentLoaded1092911145711311441322
domInteractive2513105192179
firstPaint59694139244110831269
backgroundConnect22119926915232254
firstReactRender271995102846
getState311778103551
initialActions102112
loadScripts87970812251119301114
setupStore1144341114
numNetworkReqs161077181069
BrowserifyPower User HomeuiStartup18691558270525420542369
load1004877149615010241447
domContentLoaded98886814771499971426
domInteractive34161793628142
firstPaint57111114933829301317
backgroundConnect22420226213232250
firstReactRender7946123148898
getState17812835951202304
initialActions107112
loadScripts78267112721467951218
setupStore20879122744
numNetworkReqs916218029100169
WebpackStandard HomeuiStartup8407441131898681064
load62557090865628792
domContentLoaded62056590364624786
domInteractive2714189272290
firstPaint21273920153192610
backgroundConnect1253781230
firstReactRender29204463438
getState301593123651
initialActions102112
loadScripts61856389362622777
setupStore1253151422
numNetworkReqs161076181072
WebpackPower User HomeuiStartup13921046196722615741867
load65457696799667930
domContentLoaded64357195698652921
domInteractive35161723830150
firstPaint25292945175243681
backgroundConnect1574361927
firstReactRender7949101118796
getState15112325637171238
initialActions104112
loadScripts64056994796650913
setupStore22974153158
numNetworkReqs916018833100178
FirefoxBrowserifyStandard HomeuiStartup12751114179113113441508
load106894212988811351231
domContentLoaded106793612988811351228
domInteractive64312354183134
firstPaint------
backgroundConnect4121185264292
firstReactRender23195052335
getState12699131030
initialActions102122
loadScripts104492412538211101196
setupStore1174961026
numNetworkReqs151066141258
BrowserifyPower User HomeuiStartup25892050370232427283387
load1127935159916111681473
domContentLoaded1126935159816111671473
domInteractive13630637129147481
firstPaint------
backgroundConnect200241016239206793
firstReactRender82431341789116
getState27280900263212861
initialActions218127
loadScripts1086917156015411271456
setupStore1487774210139743
numNetworkReqs91572254287203
WebpackStandard HomeuiStartup14461281187311615041667
load1234108614738713001393
domContentLoaded1234108614728712991393
domInteractive69272304587134
firstPaint------
backgroundConnect43211842542106
firstReactRender27217382836
getState136152181239
initialActions103112
loadScripts1209106714468312731335
setupStore13694141141
numNetworkReqs16968151163
WebpackPower User HomeuiStartup28842258380733730703499
load13911107194219615681780
domContentLoaded13911107194219615681780
domInteractive13128546122147475
firstPaint------
backgroundConnect16427983183192653
firstReactRender894020323100124
getState289821597298323903
initialActions4059837
loadScripts13581091182318915431741
setupStore1375838210111671
numNetworkReqs91532184490210
📊 Page Load Benchmark Results

Current Commit: 831ebf2 | Date: 11/20/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±51ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 730ms (±48ms) 🟢 | historical mean value: 724ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 79ms (±10ms) 🟢 | historical mean value: 78ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 51ms 1.02s 1.32s 1.11s 1.32s
domContentLoaded 730ms 48ms 705ms 995ms 780ms 995ms
firstPaint 79ms 10ms 64ms 164ms 88ms 164ms
firstContentfulPaint 79ms 10ms 64ms 164ms 88ms 164ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: -142 Bytes (0%)
  • ui: -193 Bytes (0%)
  • common: 9.45 KiB (0.11%)

@github-actions github-actions bot added size-L and removed size-M labels Nov 21, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [363b3dc]
UI Startup Metrics (1217 ± 96 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1217105814889612781380
load103689212839010971200
domContentLoaded102988312779010911193
domInteractive221384152068
firstPaint58477128341610421156
backgroundConnect21119327013214236
firstReactRender30194883746
getState331889113656
initialActions106112
loadScripts826667106890891983
setupStore1274751221
numNetworkReqs161076181072
BrowserifyPower User HomeuiStartup18461539252522120052353
load1002882154114510041409
domContentLoaded98787115301449821391
domInteractive36162144130165
firstPaint5128514903889271339
backgroundConnect22220326612228249
firstReactRender82461431791110
getState17212837246188275
initialActions106112
loadScripts78267113171447821188
setupStore201061102836
numNetworkReqs83571793188166
WebpackStandard HomeuiStartup79271599467815948
load60355380456608756
domContentLoaded59854979756604748
domInteractive231389172075
firstPaint23073756159208602
backgroundConnect1054361227
firstReactRender28206063138
getState301365113747
initialActions103111
loadScripts59554778753602739
setupStore1142541320
numNetworkReqs161075181069
WebpackPower User HomeuiStartup14371081244523116031903
load68360113451236891002
domContentLoaded6725921334120675993
domInteractive35162053629148
firstPaint2981001341246268998
backgroundConnect1577191930
firstReactRender8252116118898
getState15212526231165217
initialActions104112
loadScripts6685901323118673982
setupStore21962132849
numNetworkReqs81551873192165
FirefoxBrowserifyStandard HomeuiStartup1200105914979912541440
load101590812707710711160
domContentLoaded101490512697710701160
domInteractive58292373682137
firstPaint------
backgroundConnect3420162213673
firstReactRender21174232126
getState96334919
initialActions1029322
loadScripts99589212527410521143
setupStore105639933
numNetworkReqs15966131154
BrowserifyPower User HomeuiStartup27391875376437229243619
load1188963162018213291580
domContentLoaded1188963162018213291575
domInteractive13030613118147448
firstPaint------
backgroundConnect20525943242202846
firstReactRender86392602795123
getState22185887214205830
initialActions3033427
loadScripts1141942157517112271512
setupStore1645829234155752
numNetworkReqs83521964078179
WebpackStandard HomeuiStartup14421243202913414901674
load1230104715419612971404
domContentLoaded1230104715419612971404
domInteractive712723048100156
firstPaint------
backgroundConnect38201302140108
firstReactRender26217172736
getState135127151142
initialActions103122
loadScripts1207103314669112731379
setupStore12583111039
numNetworkReqs16970151164
WebpackPower User HomeuiStartup29662180402038131873756
load14461155217020916231794
domContentLoaded14461155217020916231794
domInteractive12929724125150440
firstPaint------
backgroundConnect19330926217264740
firstReactRender89431612098128
getState25689926249216872
initialActions3153537
loadScripts14071130197019715681767
setupStore1058896173106696
numNetworkReqs83462084477200
📊 Page Load Benchmark Results

Current Commit: 363b3dc | Date: 11/21/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.01s (±72ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 703ms (±85ms) 🟢 | historical mean value: 727ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 80ms (±39ms) 🟢 | historical mean value: 79ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.01s 72ms 962ms 1.30s 1.22s 1.30s
domContentLoaded 703ms 85ms 663ms 1.26s 909ms 1.26s
firstPaint 80ms 39ms 64ms 460ms 88ms 460ms
firstContentfulPaint 80ms 39ms 64ms 460ms 88ms 460ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: -142 Bytes (0%)
  • ui: -345 Bytes (0%)
  • common: 9.45 KiB (0.11%)

@metamaskbot
Copy link
Collaborator

Builds ready [d6cc6a1]
UI Startup Metrics (1210 ± 106 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup12101055159810612611390
load1032894141610010921193
domContentLoaded1024890140810010881182
domInteractive221481161972
firstPaint53979120241010081127
backgroundConnect21018626111213235
firstReactRender23184642531
getState301672103247
initialActions104112
loadScripts821681119699887981
setupStore1073041118
numNetworkReqs161076191074
BrowserifyPower User HomeuiStartup18631555260624120132386
load1003879146414810141420
domContentLoaded98887014581469921406
domInteractive37151904329170
firstPaint4868614343929151383
backgroundConnect22419827712232246
firstReactRender83451631990124
getState16912636544189274
initialActions104112
loadScripts78067612521447851163
setupStore191057102537
numNetworkReqs84601702890156
WebpackStandard HomeuiStartup860736104982927999
load62557085264630794
domContentLoaded62056584463624787
domInteractive2515117202178
firstPaint24985851175232630
backgroundConnect1163071129
firstReactRender3121228213440
getState301274113847
initialActions106111
loadScripts61756383661622777
setupStore1264361420
numNetworkReqs161076181070
WebpackPower User HomeuiStartup14321186216223316291918
load67757810831186881011
domContentLoaded66657210731176701001
domInteractive36171923830148
firstPaint3101021034223401793
backgroundConnect1574171928
firstReactRender8151116128698
getState15512329339173248
initialActions103112
loadScripts6645701063115668991
setupStore22967143257
numNetworkReqs84581873194169
FirefoxBrowserifyStandard HomeuiStartup12761099212914213251549
load1075942189611611271231
domContentLoaded1074937189511711251231
domInteractive79319579897165
firstPaint------
backgroundConnect4323165274386
firstReactRender22185252233
getState1167391022
initialActions102012
loadScripts1049925187711410981209
setupStore11677101128
numNetworkReqs16965151262
BrowserifyPower User HomeuiStartup28622136382534930853434
load13031042179922415411762
domContentLoaded13021042179822415401762
domInteractive15437662149174586
firstPaint------
backgroundConnect251311250272345925
firstReactRender88541591896122
getState23386822216218798
initialActions3126337
loadScripts12511018174821614121678
setupStore15012784209149725
numNetworkReqs82492074078179
WebpackStandard HomeuiStartup14431252195413414811705
load1223107414689012791414
domContentLoaded1223107314689012791414
domInteractive762823144108140
firstPaint------
backgroundConnect43221973043111
firstReactRender27196883037
getState136200231027
initialActions103122
loadScripts1200105714438612531369
setupStore166157221068
numNetworkReqs161070161165
WebpackPower User HomeuiStartup28192083370134430363490
load13901089186419815621794
domContentLoaded13901089186319815621794
domInteractive13328670137145513
firstPaint------
backgroundConnect15226737174173621
firstReactRender86412062395122
getState21284904219177820
initialActions3054637
loadScripts13581071183819414841751
setupStore1205785193115752
numNetworkReqs81472124675201
📊 Page Load Benchmark Results

Current Commit: d6cc6a1 | Date: 11/21/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.06s (±75ms) 🟡 | historical mean value: 1.05s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 740ms (±72ms) 🟢 | historical mean value: 729ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 78ms (±14ms) 🟢 | historical mean value: 79ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.06s 75ms 1.01s 1.41s 1.29s 1.41s
domContentLoaded 740ms 72ms 702ms 1.07s 970ms 1.07s
firstPaint 78ms 14ms 60ms 200ms 92ms 200ms
firstContentfulPaint 78ms 14ms 60ms 200ms 92ms 200ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: -142 Bytes (0%)
  • ui: -548 Bytes (-0.01%)
  • common: 9.45 KiB (0.11%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants