Skip to content

Conversation

@jpuri
Copy link
Contributor

@jpuri jpuri commented Nov 5, 2025

Description

Allow user to select quoted swap.

Changelog

CHANGELOG entry:

Related issues

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

Manual testing steps

  1. Submit a swap
  2. Check swap selection option on confirmation page
  3. Confirmation should update as user selects different swap options

Screenshots/Recordings

TODO

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

Adds swap selection on the confirmation screen to switch between dapp’s current swap and a MetaMask-quoted swap, updating txParams/batch via remote-flagged UI, with quote detection, metric fixes, tests, and minor styling.

  • Confirmations UI:
    • ui/pages/.../dapp-swap-comparison-banner.tsx: Add "Current" vs "Save + Earn" selection; dispatch updateTransaction to swap between original dapp tx and selected quote (txParams, batchTransactions, txParamsOriginal); auto-select MetaMask when it’s a quoted swap; gate with remote flag dappSwapUi.enabled/threshold; allow test origin; minor style token update in index.scss.
  • Hooks:
    • New useSwapCheck to detect quoted swaps (diffs txParamsOriginal vs txParams).
    • useDappSwapComparisonInfo: now returns selectedQuote; reads from txParamsOriginal when present; refines quote timing; no-op safety tweaks; metric capture ordering updates.
    • useDappSwapComparisonLatencyMetrics: fix quote request latency calculation.
  • Gas UI:
    • EditGasFeesRow: hide edit-gas button when isQuotedSwap is true; tests added.
  • Tests:
    • Add/expand tests for banner interactions (button clicks dispatch), swap check, comparison info (selected quote and metrics).
  • Config:
    • Remove DAPP_SWAP_SHIELD_ENABLED from builds.yml and test env.

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

@jpuri jpuri added team-confirmations Push issues to confirmations team no-changelog no-changelog Indicates no external facing user changes, therefore no changelog documentation needed labels Nov 5, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 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
Copy link
Collaborator

metamaskbot commented Nov 5, 2025

✨ Files requiring CODEOWNER review ✨

@MetaMask/confirmations (10 files, +415 -164)
  • 📁 ui/
    • 📁 pages/
      • 📁 confirmations/
        • 📁 components/
          • 📁 confirm/
            • 📁 dapp-swap-comparison-banner/
              • 📄 dapp-swap-comparison-banner.test.tsx +84 -0
              • 📄 dapp-swap-comparison-banner.tsx +88 -8
              • 📄 index.scss +1 -1
            • 📁 info/
              • 📁 shared/
                • 📁 edit-gas-fees-row/
                  • 📄 edit-gas-fees-row.test.tsx +22 -0
                  • 📄 edit-gas-fees-row.tsx +3 -1
        • 📁 hooks/
          • 📁 transactions/
            • 📁 dapp-swap-comparison/
              • 📄 useDappSwapComparisonInfo.test.ts +153 -150
              • 📄 useDappSwapComparisonInfo.ts +4 -3
              • 📄 useDappSwapComparisonLatencyMetrics.ts +1 -1
              • 📄 useSwapCheck.test.ts +42 -0
              • 📄 useSwapCheck.ts +17 -0

@github-actions github-actions bot added the size-M label Nov 5, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [0355e59]
UI Startup Metrics (1206 ± 81 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1206106815018112361390
load103191512507310541195
domContentLoaded102591012437210491189
domInteractive211390141862
firstPaint593151125041010251181
backgroundConnect2312152588234247
firstReactRender26174972743
getState1977792334
initialActions61365718
loadScripts80069699370824964
setupStore1062231120
numNetworkReqs1367619672
BrowserifyPower User HomeuiStartup18551621291435621332914
load942791148521112141485
domContentLoaded929784146220511931462
domInteractive231452134152
firstPaint74880147541512241475
backgroundConnect19517222417212224
firstReactRender28234772847
getState16514821015168210
initialActions1028018680
loadScripts74961612551929861255
setupStore1392861628
numNetworkReqs15610031283235312
WebpackStandard HomeuiStartup8617351213828771038
load62257297071618776
domContentLoaded61456793867612761
domInteractive17125791545
firstPaint21158964197214609
backgroundConnect271271143064
firstReactRender30194883640
getState1161931315
initialActions4117248
loadScripts61156592864609750
setupStore1262831316
numNetworkReqs1367519870
WebpackPower User HomeuiStartup13301180196421314591964
load68458510561567131056
domContentLoaded660574941125696941
domInteractive271380234980
firstPaint38296945290589945
backgroundConnect48112045859204
firstReactRender28253532935
getState1468416824162168
initialActions614410444
loadScripts655571930122685930
setupStore1462792627
numNetworkReqs1419526655195266
FirefoxBrowserifyStandard HomeuiStartup15211328200013815901809
load1285113616649913461466
domContentLoaded1285113616639913461466
domInteractive1203735147132205
firstPaint------
backgroundConnect50261832754120
firstReactRender27224442732
getState936811843
initialActions611931949
loadScripts1254111816289513181424
setupStore1377991329
numNetworkReqs1266215755
BrowserifyPower User HomeuiStartup25442027350937227743509
load13961164172217115591722
domContentLoaded13951163172117115591721
domInteractive22087555173454555
firstPaint------
backgroundConnect14835481128202481
firstReactRender43326695066
getState1353821541155215
initialActions9152131252
loadScripts13541136164716115271647
setupStore26689234589
numNetworkReqs1396931776208317
WebpackStandard HomeuiStartup16141430227714216541948
load1375122916469714241596
domContentLoaded1374122916459714231596
domInteractive973417725109149
firstPaint------
backgroundConnect51241522853119
firstReactRender29237772941
getState73496720
initialActions51426418
loadScripts1343120415618513931519
setupStore177252261345
numNetworkReqs1366817764
WebpackPower User HomeuiStartup27932318406853929134068
load15991314217527419112175
domContentLoaded15991314217527419112175
domInteractive22774644203523644
firstPaint------
backgroundConnect973640094113400
firstReactRender483374105474
getState18111630349215303
initialActions72297929
loadScripts15621294212425718742124
setupStore3471564236156
numNetworkReqs1366432291234322
📊 Page Load Benchmark Results

Current Commit: 0355e59 | Date: 11/5/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±40ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 724ms (±38ms) 🟢 | historical mean value: 719ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 77ms (±13ms) 🟢 | historical mean value: 78ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 40ms 1.01s 1.36s 1.06s 1.36s
domContentLoaded 724ms 38ms 702ms 1.03s 743ms 1.03s
firstPaint 77ms 13ms 60ms 192ms 88ms 192ms
firstContentfulPaint 77ms 13ms 60ms 192ms 88ms 192ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚀 Bundle size reduced!]
  • background: 68 Bytes (0%)
  • ui: 1.46 KiB (0.02%)
  • common: -74 Bytes (0%)

@jpuri jpuri marked this pull request as ready for review November 5, 2025 11:16
@jpuri jpuri requested a review from a team as a code owner November 5, 2025 11:16
@github-actions github-actions bot added size-L and removed size-M labels Nov 5, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [75538f8]
UI Startup Metrics (1211 ± 88 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1211107114218812641394
load103792512357910991181
domContentLoaded102889412317910911165
domInteractive2213132161960
firstPaint60790124042010421161
backgroundConnect23221631917234250
firstReactRender25184352637
getState2175292442
initialActions70487720
loadScripts803652100879865935
setupStore1162841222
numNetworkReqs1367319670
BrowserifyPower User HomeuiStartup19771698293234322832932
load1040900150518712781505
domContentLoaded1032894149318612661493
domInteractive311583235083
firstPaint781150154444712751544
backgroundConnect23321926511237265
firstReactRender27253222932
getState17115719010181190
initialActions62245824
loadScripts807667124318010391243
setupStore1392861228
numNetworkReqs1407133587244335
WebpackStandard HomeuiStartup86672912591018711146
load625573103683616832
domContentLoaded617566100378608801
domInteractive17127391541
firstPaint212611042218204807
backgroundConnect2711108182965
firstReactRender31196493646
getState1152941316
initialActions41344510
loadScripts61456499275606789
setupStore1263041321
numNetworkReqs1367219669
WebpackPower User HomeuiStartup12571123162816612371628
load656564985134717985
domContentLoaded636552955117700955
domInteractive241266184866
firstPaint44262958301704958
backgroundConnect51181764067176
firstReactRender25242912529
getState1405317428153174
initialActions318348
loadScripts631550944114688944
setupStore1063261032
numNetworkReqs1377124358191243
FirefoxBrowserifyStandard HomeuiStartup14541230200412915241701
load1237106514408913071399
domContentLoaded1237106414408913071398
domInteractive1173635455121223
firstPaint------
backgroundConnect4224132184886
firstReactRender25216252632
getState63233611
initialActions512032036
loadScripts1211104914088512781370
setupStore1278091129
numNetworkReqs1266415756
BrowserifyPower User HomeuiStartup24172154313725725733137
load13501154166016215801660
domContentLoaded13501154165916215791659
domInteractive212102569149324569
firstPaint------
backgroundConnect982836986146369
firstReactRender403084134884
getState12910519424139194
initialActions1701032928103
loadScripts13151128159516215531595
setupStore2661062541106
numNetworkReqs1546731776213317
WebpackStandard HomeuiStartup16281436236715316891954
load13841238178210614581578
domContentLoaded13841238178110714571578
domInteractive993435939106175
firstPaint------
backgroundConnect52251772855123
firstReactRender322377123266
getState84457823
initialActions7116517425
loadScripts13511216167310014241547
setupStore167146191361
numNetworkReqs1366716865
WebpackPower User HomeuiStartup26392304316828329123168
load15541349191617617681916
domContentLoaded15531349191517617681915
domInteractive18438499136293499
firstPaint------
backgroundConnect994025166158251
firstReactRender48311001951100
getState1418527850168278
initialActions922471724
loadScripts15191324188017517251880
setupStore28784234284
numNetworkReqs1296230374203303
📊 Page Load Benchmark Results

Current Commit: 75538f8 | Date: 11/5/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±38ms) 🟡 | historical mean value: 1.05s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 721ms (±36ms) 🟢 | historical mean value: 734ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±10ms) 🟢 | historical mean value: 79ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 38ms 1.01s 1.30s 1.07s 1.30s
domContentLoaded 721ms 36ms 700ms 978ms 750ms 978ms
firstPaint 76ms 10ms 60ms 160ms 84ms 160ms
firstContentfulPaint 76ms 10ms 60ms 160ms 84ms 160ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 68 Bytes (0%)
  • ui: 1.68 KiB (0.02%)
  • common: 10 Bytes (0%)

@jpuri jpuri enabled auto-merge November 5, 2025 11:53
@metamaskbot
Copy link
Collaborator

Builds ready [c8fedc9]
UI Startup Metrics (1212 ± 80 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1212105614178012651360
load104092012027010981162
domContentLoaded103491811966910941156
domInteractive211477131858
firstPaint65582121441110361154
backgroundConnect2272142558231243
firstReactRender26185072941
getState2085492341
initialActions61325718
loadScripts81369797268874932
setupStore1061921115
numNetworkReqs1367620674
BrowserifyPower User HomeuiStartup20181750265832524632658
load1050915137917312931379
domContentLoaded1040907137217312831372
domInteractive291573215273
firstPaint57581969336942969
backgroundConnect24322626411251264
firstReactRender29255772957
getState17816021315190213
initialActions62143714
loadScripts807677114417310441144
setupStore13103061230
numNetworkReqs1197325072234250
WebpackStandard HomeuiStartup8637311209888751089
load62256696576613824
domContentLoaded61555994073607792
domInteractive17126391541
firstPaint19256943180204587
backgroundConnect261275143066
firstReactRender3218105143761
getState1263141416
initialActions41304512
loadScripts61155693070604781
setupStore1364261528
numNetworkReqs1367519870
WebpackPower User HomeuiStartup12851129161917214761619
load65655910171427121017
domContentLoaded641549979134686979
domInteractive27131343137134
firstPaint33064954280600954
backgroundConnect47122395558239
firstReactRender26232912629
getState14510317823158178
initialActions31103310
loadScripts637546967131675967
setupStore1252881228
numNetworkReqs1087021954168219
FirefoxBrowserifyStandard HomeuiStartup14321252186111714801706
load1222108614858312711380
domContentLoaded1222108614848312701380
domInteractive1093526141121199
firstPaint------
backgroundConnect4226130184872
firstReactRender25214352538
getState74395616
initialActions42325415
loadScripts1199106914558012451356
setupStore157182191339
numNetworkReqs1467620773
BrowserifyPower User HomeuiStartup25222243348534127933485
load14001220176916415481769
domContentLoaded13991220176916415481769
domInteractive21143612161336612
firstPaint------
backgroundConnect11138400112156400
firstReactRender40305784757
getState1378224142181241
initialActions812881428
loadScripts13721199174416515281744
setupStore3951554448155
numNetworkReqs1326931376213313
WebpackStandard HomeuiStartup16051424201713716411943
load13711237171110514051637
domContentLoaded13711237171110514051636
domInteractive1033237046109174
firstPaint------
backgroundConnect49221312153102
firstReactRender302278103059
getState9415316717
initialActions41325314
loadScripts1341121816759813801564
setupStore15781141457
numNetworkReqs1366717765
WebpackPower User HomeuiStartup26012230348339530263483
load15291317186821518291868
domContentLoaded15281316186721518291867
domInteractive20869594179406594
firstPaint------
backgroundConnect953927963121279
firstReactRender42311071849107
getState14510634556149345
initialActions1611443418144
loadScripts14981284183321118011833
setupStore2761413231141
numNetworkReqs1326632189223321
📊 Page Load Benchmark Results

Current Commit: c8fedc9 | Date: 11/5/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±53ms) 🟡 | historical mean value: 1.05s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 732ms (±50ms) 🟢 | historical mean value: 733ms ⬇️ (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 53ms 1.02s 1.34s 1.09s 1.34s
domContentLoaded 732ms 50ms 708ms 1.01s 765ms 1.01s
firstPaint 78ms 11ms 64ms 172ms 88ms 172ms
firstContentfulPaint 78ms 11ms 64ms 172ms 88ms 172ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 68 Bytes (0%)
  • ui: 1.71 KiB (0.02%)
  • common: 10 Bytes (0%)

@metamaskbot
Copy link
Collaborator

Builds ready [b7ae186]
UI Startup Metrics (1254 ± 96 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1254107414719613311403
load107893612728511401218
domContentLoaded107193212498411331212
domInteractive221498152165
firstPaint65789127742910881210
backgroundConnect23221929510236244
firstReactRender27184873240
getState2086192345
initialActions707510722
loadScripts846707102784904985
setupStore1165151219
numNetworkReqs1367519671
BrowserifyPower User HomeuiStartup19631740273131521942731
load1039909153320712001533
domContentLoaded1032901152620711951526
domInteractive301582225182
firstPaint52923912063449121206
backgroundConnect23721925810241258
firstReactRender29255162951
getState18616122716197227
initialActions62265626
loadScripts80367812782019641278
setupStore12102641126
numNetworkReqs1167224670213246
WebpackStandard HomeuiStartup8437121206938511106
load61355895483609890
domContentLoaded60655493779599868
domInteractive171163101443
firstPaint18958905166200581
backgroundConnect241178142561
firstReactRender3118164183439
getState1263141416
initialActions3121349
loadScripts60355292677597858
setupStore1253451325
numNetworkReqs1367819870
WebpackPower User HomeuiStartup13701183199525915771995
load667585981122707981
domContentLoaded649573931112686931
domInteractive241361173961
firstPaint36178935273593935
backgroundConnect59132207083220
firstReactRender28253322933
getState15411317920165179
initialActions215145
loadScripts645571920109675920
setupStore1363292632
numNetworkReqs1116822660171226
FirefoxBrowserifyStandard HomeuiStartup15021313214014015531796
load1268113014718613311441
domContentLoaded1268112914718613301441
domInteractive1173540559126295
firstPaint------
backgroundConnect4626200225291
firstReactRender25214442733
getState74515715
initialActions51476414
loadScripts1242111014528413041417
setupStore187228361333
numNetworkReqs1267016762
BrowserifyPower User HomeuiStartup27792269421661831814216
load15571186246940721042469
domContentLoaded15561186246840721032468
domInteractive25180728226529728
firstPaint------
backgroundConnect11430348113276348
firstReactRender493690145590
getState1609723541201235
initialActions10085201085
loadScripts15211167240439520282404
setupStore4592746455274
numNetworkReqs1336932485210324
WebpackStandard HomeuiStartup15501365212714515551906
load1325119316759813611533
domContentLoaded1325119316759813611533
domInteractive923132936103144
firstPaint------
backgroundConnect4423124204899
firstReactRender292170122965
getState8413514614
initialActions51387425
loadScripts1298117616038913301500
setupStore177197251377
numNetworkReqs1367518767
WebpackPower User HomeuiStartup24592120304228327643042
load14891255193618216431936
domContentLoaded14881254193518216421935
domInteractive16240441119280441
firstPaint------
backgroundConnect11328368103198368
firstReactRender43291011945101
getState1147518428123184
initialActions82338933
loadScripts14391226182016015711820
setupStore4181384078138
numNetworkReqs1275829288229292
📊 Page Load Benchmark Results

Current Commit: b7ae186 | Date: 11/6/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±43ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 721ms (±40ms) 🟢 | historical mean value: 723ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±11ms) 🟢 | historical mean value: 77ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 43ms 1.00s 1.34s 1.10s 1.34s
domContentLoaded 721ms 40ms 692ms 1.00s 770ms 1.00s
firstPaint 76ms 11ms 60ms 164ms 88ms 164ms
firstContentfulPaint 76ms 11ms 60ms 164ms 88ms 164ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: -3.24 KiB (-0.07%)
  • ui: 21.26 KiB (0.29%)
  • common: 9.12 KiB (0.11%)

@metamaskbot
Copy link
Collaborator

Builds ready [933ebfb]
UI Startup Metrics (1240 ± 97 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1240109517119712801453
load106290714588811021241
domContentLoaded105589814518810971234
domInteractive221476132156
firstPaint58887146742710551201
backgroundConnect23621934914238256
firstReactRender27187392848
getState23769112746
initialActions71749821
loadScripts8266761217878631004
setupStore1152531219
numNetworkReqs1367419670
BrowserifyPower User HomeuiStartup19881758270033323782700
load1030883153321312961533
domContentLoaded1020877150920912901509
domInteractive281664195664
firstPaint84116815444009471544
backgroundConnect24222327414256274
firstReactRender27253012830
getState18116121514187215
initialActions725212652
loadScripts794653125320110601253
setupStore1192741127
numNetworkReqs1197125575244255
WebpackStandard HomeuiStartup8297001162968371090
load60855693785599889
domContentLoaded60155192382591873
domInteractive171160101446
firstPaint22260926217203837
backgroundConnect241262122954
firstReactRender301793123350
getState1142941318
initialActions3023348
loadScripts59854991379589863
setupStore1153341219
numNetworkReqs1367219870
WebpackPower User HomeuiStartup12031055166118913301661
load58753089496665894
domContentLoaded57052083883635838
domInteractive241378194478
firstPaint25058846236530846
backgroundConnect67926685186266
firstReactRender25232812628
getState1349015823149158
initialActions21102310
loadScripts56651883081627830
setupStore105288828
numNetworkReqs1106922354166223
FirefoxBrowserifyStandard HomeuiStartup14471261185711915211680
load1224108815049112931396
domContentLoaded1224108815039112921396
domInteractive1143627548118240
firstPaint------
backgroundConnect4224122164873
firstReactRender25214542732
getState73344712
initialActions51647414
loadScripts1198107214808812591369
setupStore1376291232
numNetworkReqs1266015856
BrowserifyPower User HomeuiStartup25582240372944325893729
load14021193194021215001940
domContentLoaded14021193194021214991940
domInteractive23789623180434623
firstPaint------
backgroundConnect10925343105210343
firstReactRender473090175190
getState1397620836176208
initialActions61327832
loadScripts13661174188720914541887
setupStore3061403447140
numNetworkReqs1337031486207314
WebpackStandard HomeuiStartup16291453213212816561917
load13911245173710514501623
domContentLoaded13911245173710514501623
domInteractive1013338242115170
firstPaint------
backgroundConnect51261292356113
firstReactRender312377113168
getState74183714
initialActions61689426
loadScripts1356122516599814241552
setupStore15781121353
numNetworkReqs1266616763
WebpackPower User HomeuiStartup25792257317127128643171
load15331327184215417141842
domContentLoaded15331327184215417141842
domInteractive16636450122233450
firstPaint------
backgroundConnect1003523265123232
firstReactRender43291152051115
getState1339219731153197
initialActions61246924
loadScripts14911306180715316641807
setupStore29697284497
numNetworkReqs1285931083208310
📊 Page Load Benchmark Results

Current Commit: 933ebfb | Date: 11/6/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±41ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 732ms (±38ms) 🟢 | historical mean value: 723ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 78ms (±14ms) 🟢 | historical mean value: 77ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 41ms 1.03s 1.35s 1.08s 1.35s
domContentLoaded 732ms 38ms 707ms 1.01s 754ms 1.01s
firstPaint 78ms 14ms 60ms 200ms 88ms 200ms
firstContentfulPaint 78ms 14ms 60ms 200ms 88ms 200ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: -3.24 KiB (-0.07%)
  • ui: 21.28 KiB (0.29%)
  • common: 9.12 KiB (0.11%)

@jpuri jpuri added this pull request to the merge queue Nov 6, 2025
Merged via the queue into main with commit eec2e91 Nov 6, 2025
173 checks passed
@jpuri jpuri deleted the trade_swap branch November 6, 2025 21:27
@metamaskbot metamaskbot added the release-13.10.0 Issue or pull request that will be included in release 13.10.0 label Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog no-changelog Indicates no external facing user changes, therefore no changelog documentation needed release-13.10.0 Issue or pull request that will be included in release 13.10.0 size-L team-confirmations Push issues to confirmations team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants