Skip to content

Conversation

@smgv
Copy link
Contributor

@smgv smgv commented Nov 6, 2025

Description

In this PR, added missing track event for SRP import: click event in Add Wallet modal and completion event with hd_entropy_index on import.

  • Metrics

    • Import Secret Recovery Phrase Clicked:
      This event needs to be added
      It should fire when the user clicks the import wallet button on the account list.

    • Import Secret Recovery Phrase Continue Button Clicked:
      It should fire when the user finishes importing an SRP (they click continue)

Also we've enhanced our tracking by grouping the Import Secret Recovery Phrase event with specific status properties: 'started', 'continue_button_clicked', and 'completed', along with location data. This provides visibility into the full workflow timeline from initiation to completion.

Jira Link: https://consensyssoftware.atlassian.net/browse/SL-277

Segment Schema PR: https://github.com/Consensys/segment-schema/pull/367/files

Open in GitHub Codespaces

Changelog

CHANGELOG entry: added missing metrics to import SRP flow

Related issues

Fixes:

Manual testing steps

  1. Open extesnion.
  2. Create Wallet.
  3. Add wallet and track event when user clicks on 'Import a wallet' and when user successfully import the SRP.

Screenshots/Recordings

Before

After

Screenshot 2025-11-06 at 3 20 25 PM Screenshot 2025-11-06 at 3 21 04 PM

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

Unifies SRP import tracking into a single event with start/continue/completed statuses and adds hd_entropy_index and discovered account counts on completion.

  • Metrics:
    • Consolidate ImportSecretRecoveryPhraseClicked/Completed into ImportSecretRecoveryPhrase with status-based phases (started, continue_button_clicked, completed).
  • Background (app/scripts/metamask-controller.js):
    • On SRP import completion, track ImportSecretRecoveryPhrase with hd_entropy_index, number_of_solana_accounts_discovered, and number_of_bitcoin_accounts_discovered.
  • UI:
    • ui/components/multichain-accounts/add-wallet-modal/add-wallet-modal.tsx: Track ImportSecretRecoveryPhrase with status: 'started' when selecting "Import a wallet" (location: Add Wallet Modal).
    • ui/components/multichain/account-menu/account-menu.tsx: Track ImportSecretRecoveryPhrase with status: 'started' when clicking SRP import (location: Account Menu).
    • ui/pages/multi-srp/import-srp/import-srp.tsx: Track ImportSecretRecoveryPhrase with status: 'continue_button_clicked' on continue (location: Multi SRP Import).

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

@smgv smgv self-assigned this Nov 6, 2025
@smgv smgv requested a review from a team as a code owner November 6, 2025 09:49
@github-actions
Copy link
Contributor

github-actions bot commented Nov 6, 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-onboarding Onboarding team label Nov 6, 2025
@metamaskbot
Copy link
Collaborator

metamaskbot commented Nov 6, 2025

✨ Files requiring CODEOWNER review ✨

🔑 @MetaMask/accounts-engineers (1 files, +12 -0)
  • 📁 ui/
    • 📁 components/
      • 📁 multichain-accounts/
        • 📁 add-wallet-modal/
          • 📄 add-wallet-modal.tsx +12 -0

👨‍🔧 @MetaMask/core-extension-ux (1 files, +5 -2)
  • 📁 ui/
    • 📁 components/
      • 📁 multichain/
        • 📁 account-menu/
          • 📄 account-menu.tsx +5 -2

@github-actions github-actions bot added the size-S label Nov 6, 2025
@smgv smgv requested a review from owencraston November 6, 2025 09:52
@metamaskbot
Copy link
Collaborator

Builds ready [f4bc00e]
UI Startup Metrics (1286 ± 102 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup12861117153910213541479
load110296913199411661299
domContentLoaded109596413139311601292
domInteractive231491162065
firstPaint60996133143910691289
backgroundConnect23922329510243255
firstReactRender29184773045
getState25778143154
initialActions001001
loadScripts8647341078929271053
setupStore1253951419
numNetworkReqs1367419670
BrowserifyPower User HomeuiStartup20061801244319621342443
load1069928140017512961400
domContentLoaded1060922139217212881392
domInteractive33161142854114
firstPaint63319114194289761419
backgroundConnect24522932623247326
firstReactRender29253523135
getState18912522822199228
initialActions001011
loadScripts826699115716310491157
setupStore13103061230
numNetworkReqs1397130074214300
WebpackStandard HomeuiStartup8867401268929011105
load63758197780631865
domContentLoaded62957494175624845
domInteractive17135791543
firstPaint22464950229193799
backgroundConnect281288143160
firstReactRender3318146153748
getState1263241419
initialActions003001
loadScripts62657193073622834
setupStore1363251523
numNetworkReqs1367619871
WebpackPower User HomeuiStartup12371109167213912791672
load64556210401337141040
domContentLoaded63155210231306981023
domInteractive271281244181
firstPaint3887010263107021026
backgroundConnect40161453248145
firstReactRender26233122731
getState15311327936154279
initialActions001001
loadScripts62655010131276881013
setupStore1162761127
numNetworkReqs1386829957170299
FirefoxBrowserifyStandard HomeuiStartup14711313201313015201695
load1236111315078612881412
domContentLoaded1236111315078612871411
domInteractive1173529449123233
firstPaint------
backgroundConnect4627303325191
firstReactRender27217062740
getState84699716
initialActions001001
loadScripts1210109414848412561385
setupStore148209201430
numNetworkReqs1266215857
BrowserifyPower User HomeuiStartup24702108331739525453317
load13241124168418314661684
domContentLoaded13231123168418314661684
domInteractive21294607178304607
firstPaint------
backgroundConnect12435429112169429
firstReactRender41316294962
getState1513836467174364
initialActions102112
loadScripts12881104163917514231639
setupStore4581173476117
numNetworkReqs1766933188230331
WebpackStandard HomeuiStartup15641390217615115711886
load1337120816379313621552
domContentLoaded1337120716379313621552
domInteractive1003234743111181
firstPaint------
backgroundConnect48222523450129
firstReactRender312282132969
getState849011721
initialActions002001
loadScripts1307119115488013351484
setupStore167228251333
numNetworkReqs1367318767
WebpackPower User HomeuiStartup25222174297324927402973
load14941226177219917091772
domContentLoaded14941226177219917091772
domInteractive15334474134290474
firstPaint------
backgroundConnect1122737792152377
firstReactRender493099215299
getState1368618027159180
initialActions102112
loadScripts14531209171118416661711
setupStore22686192686
numNetworkReqs1455728072215280
📊 Page Load Benchmark Results

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

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±39ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 735ms (±36ms) 🟢 | historical mean value: 726ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 79ms (±10ms) 🟢 | historical mean value: 77ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 39ms 1.03s 1.34s 1.09s 1.34s
domContentLoaded 735ms 36ms 715ms 1.00s 759ms 1.00s
firstPaint 79ms 10ms 64ms 156ms 92ms 156ms
firstContentfulPaint 79ms 10ms 64ms 156ms 92ms 156ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 1.01 KiB (0.02%)
  • ui: 14.01 KiB (0.19%)
  • common: 2.24 KiB (0.03%)

@smgv smgv requested a review from lwin-kyaw November 7, 2025 04:39
lwin-kyaw
lwin-kyaw previously approved these changes Nov 7, 2025
Copy link
Contributor

@lwin-kyaw lwin-kyaw left a comment

Choose a reason for hiding this comment

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

LGTM!

@metamaskbot
Copy link
Collaborator

Builds ready [65f1078]
UI Startup Metrics (1219 ± 88 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1219107214218812841371
load104692312297811031187
domContentLoaded104092012207710961179
domInteractive211496141855
firstPaint59292120640710191162
backgroundConnect2302152829233244
firstReactRender27175583048
getState23793122944
initialActions002001
loadScripts81670699476873952
setupStore1272841323
numNetworkReqs1367719670
BrowserifyPower User HomeuiStartup19001682254925319312549
load1014879134617712831346
domContentLoaded1006872134117712731341
domInteractive291579225879
firstPaint546175940325913940
backgroundConnect2332222558237255
firstReactRender29244863048
getState1766923433189234
initialActions103113
loadScripts782652111117410481111
setupStore1793592635
numNetworkReqs1217426070169260
WebpackStandard HomeuiStartup83369913531088361147
load6145601097101596930
domContentLoaded606556107795590909
domInteractive171264111444
firstPaint21256963231195807
backgroundConnect251068132957
firstReactRender29186993444
getState1162941215
initialActions001001
loadScripts603554106693588898
setupStore1152841218
numNetworkReqs1467520671
WebpackPower User HomeuiStartup12831142182718113021827
load63656785984671859
domContentLoaded62155882276664822
domInteractive231361163461
firstPaint28266749226567749
backgroundConnect50111674764167
firstReactRender26243022830
getState1516820933164209
initialActions001001
loadScripts61655681273654812
setupStore15633102533
numNetworkReqs1076722249166222
FirefoxBrowserifyStandard HomeuiStartup14941315199811315491705
load1271113614947813201437
domContentLoaded1271113614937813201436
domInteractive1183639955122251
firstPaint------
backgroundConnect4426148205195
firstReactRender25216042630
getState74717715
initialActions002001
loadScripts1245111814527512981402
setupStore14688131339
numNetworkReqs1266915755
BrowserifyPower User HomeuiStartup24132118298324625562983
load13551166167517015351675
domContentLoaded13551165167517015341675
domInteractive20290593153347593
firstPaint------
backgroundConnect10825361103179361
firstReactRender503569126269
getState1279718227133182
initialActions106116
loadScripts13261143164916815091649
setupStore3361133369113
numNetworkReqs1326621159184211
WebpackStandard HomeuiStartup16461395207213816941972
load13981211168010314651615
domContentLoaded13981211168010314651615
domInteractive1083135646120213
firstPaint------
backgroundConnect4924131215598
firstReactRender312376103167
getState84507816
initialActions001001
loadScripts1367119316539514421542
setupStore16879121543
numNetworkReqs1267015761
WebpackPower User HomeuiStartup24852229292122027352921
load15151266189222818321892
domContentLoaded15151265189022818321890
domInteractive16635532167379532
firstPaint------
backgroundConnect933423666179236
firstReactRender40325974259
getState1209020835126208
initialActions105115
loadScripts14831244183621817701836
setupStore3861925158192
numNetworkReqs1296524164197241
📊 Page Load Benchmark Results

Current Commit: 65f1078 | Date: 11/7/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±37ms) 🟡 | historical mean value: 1.03s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 717ms (±35ms) 🟢 | historical mean value: 719ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±11ms) 🟢 | historical mean value: 76ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 37ms 1.00s 1.31s 1.05s 1.31s
domContentLoaded 717ms 35ms 695ms 982ms 736ms 982ms
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: 58 Bytes (0%)
  • ui: 614 Bytes (0.01%)
  • common: 20 Bytes (0%)

chaitanyapotti
chaitanyapotti previously approved these changes Nov 7, 2025
@smgv smgv linked an issue Nov 7, 2025 that may be closed by this pull request
@smgv smgv changed the title fix: add missing metrics to import SRP flow fix: add missing metrics to import SRP flow cp-13.9.0 Nov 7, 2025
@chaitanyapotti chaitanyapotti removed the request for review from owencraston November 7, 2025 13:29
@owencraston
Copy link
Contributor

Not related to the metrics at all but I noticed the paste button is not working as expected. Manually pasting works though.

Screen.Recording.2025-11-07.at.4.52.13.PM.mov

@owencraston
Copy link
Contributor

This is the sequence of events I see when I click on the import flow and then import and SRP....

[mock-segment]: Events received: Account Menu Opened
[mock-segment]: POST /v1/batch
[mock-segment]: Events received: Account List Page
[mock-segment]: POST /v1/batch
[mock-segment]: Events received: Import Secret Recovery Phrase Clicked
[mock-segment]: POST /v1/batch
[mock-segment]: Events received: Import Secret Recovery Phrase Page
[mock-segment]: POST /v1/batch
[mock-segment]: Events received: Import Secret Recovery Phrase Completed
[mock-segment]: POST /v1/batch
[mock-segment]: Events received: Home
[mock-segment]: POST /v1/batch
[mock-segment]: Events received: DeFi Stats
[mock-segment]: POST /v1/batch
[mock-segment]: Events received: [Unrecognized event type: identify]
[mock-segment]: POST /v1/batch
[mock-segment]: Events received: Token Detected
[mock-segment]: POST /v1/batch
[mock-segment]: Events received: Token Detected
[mock-segment]: POST /v1/batch
[mock-segment]: Events received: Token Detected
[mock-segment]: POST /v1/batch
[mock-segment]: Events received: Account Added
[mock-segment]: POST /v1/batch
[mock-segment]: Events received: [Unrecognized event type: identify]
[mock-segment]: POST /v1/batch
[mock-segment]: Events received: Account Added
[mock-segment]: POST /v1/batch
[mock-segment]: Events received: Account Added
[mock-segment]: POST /v1/batch
[mock-segment]: Events received: Account Added
[mock-segment]: POST /v1/batch
[mock-segment]: Events received: Import Secret Recovery Phrase Completed
Screen.Recording.2025-11-07.at.4.57.36.PM.mov

Given that the event Events received: Import Secret Recovery Phrase Completed gets triggered twice, one when the user clicks continue, and one when the import is complete. This makes me think that we need an intermediate step to capture the difference. My suggestion would be Import Secret Recovery Phrase Continue Button Clicked. This event would need to be added to the segment schema.

@smgv smgv dismissed stale reviews from chaitanyapotti and lwin-kyaw via aae863d November 8, 2025 08:26
@metamaskbot
Copy link
Collaborator

Builds ready [aae863d]
UI Startup Metrics (1246 ± 88 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1246110914978812911436
load107095113228011081229
domContentLoaded106292413168111021219
domInteractive221474142065
firstPaint630159123241810661197
backgroundConnect23922333914242255
firstReactRender28195583347
getState23768102944
initialActions001001
loadScripts830693108181875988
setupStore1163551221
numNetworkReqs1367519669
BrowserifyPower User HomeuiStartup19171768244122120032441
load1026906143517312601435
domContentLoaded1019898142717212531427
domInteractive291674195174
firstPaint493187950305923950
backgroundConnect2332232608236260
firstReactRender28243333033
getState16814719414184194
initialActions001001
loadScripts795681120117110291201
setupStore1292641326
numNetworkReqs1207324974246249
WebpackStandard HomeuiStartup8487021240918571097
load616556100375612780
domContentLoaded60855198472606765
domInteractive171296121546
firstPaint19859991204192738
backgroundConnect261178152563
firstReactRender30176483538
getState1153441317
initialActions001001
loadScripts60554997469604755
setupStore1365871322
numNetworkReqs1367619870
WebpackPower User HomeuiStartup12531141161814412991618
load64356883396745833
domContentLoaded62655680989710809
domInteractive30131163144116
firstPaint403103796233587796
backgroundConnect53102255289225
firstReactRender26243012730
getState1399415821151158
initialActions001011
loadScripts62155479885700798
setupStore962751027
numNetworkReqs1076922149163221
FirefoxBrowserifyStandard HomeuiStartup14891316206411915311716
load1265113315148413171425
domContentLoaded1265113315138413171425
domInteractive1093731449114221
firstPaint------
backgroundConnect4625214265086
firstReactRender25214542631
getState9419420614
initialActions002001
loadScripts1237111614577812881403
setupStore1373961325
numNetworkReqs1266415756
BrowserifyPower User HomeuiStartup23532082285326126872853
load13261147176218614801762
domContentLoaded13251146176218614801762
domInteractive19780612172236612
firstPaint------
backgroundConnect1052842099136420
firstReactRender43335664856
getState1238426943129269
initialActions101011
loadScripts12901125173018414061730
setupStore2751133043113
numNetworkReqs1326921159199211
WebpackStandard HomeuiStartup16361405222415116861992
load13881219167610314551628
domContentLoaded13881219167610314541628
domInteractive973118131114162
firstPaint------
backgroundConnect52261753056119
firstReactRender302492103140
getState849010718
initialActions001011
loadScripts1357119916369514251562
setupStore168150191345
numNetworkReqs1366717863
WebpackPower User HomeuiStartup26562217372944729453729
load15591229201322217722013
domContentLoaded15591228201322217722013
domInteractive19043534159370534
firstPaint------
backgroundConnect12233326106281326
firstReactRender473275125275
getState1178718223122182
initialActions107217
loadScripts15151209198022617441980
setupStore4281775558177
numNetworkReqs1286131780207317
📊 Page Load Benchmark Results

Current Commit: aae863d | Date: 11/8/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.02s (±37ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 711ms (±35ms) 🟢 | historical mean value: 723ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 73ms (±11ms) 🟢 | historical mean value: 77ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.02s 37ms 998ms 1.29s 1.05s 1.29s
domContentLoaded 711ms 35ms 691ms 969ms 743ms 969ms
firstPaint 73ms 11ms 56ms 164ms 84ms 164ms
firstContentfulPaint 73ms 11ms 56ms 164ms 84ms 164ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 443 Bytes (0.01%)
  • ui: -5.54 KiB (-0.08%)
  • common: 975 Bytes (0.01%)

@metamaskbot
Copy link
Collaborator

Builds ready [bf83eb1]
UI Startup Metrics (1207 ± 95 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1207106015299512511421
load104388313158710821249
domContentLoaded103787813088610751239
domInteractive221489151965
firstPaint61872127741310371152
backgroundConnect2302162517234245
firstReactRender28187293047
getState22982112740
initialActions001001
loadScripts8136561078848461010
setupStore1163541121
numNetworkReqs1367620671
BrowserifyPower User HomeuiStartup16321453239324618552393
load1037903160119512491601
domContentLoaded1031897159719512431597
domInteractive39151253891125
firstPaint68220912673379371267
backgroundConnect23422425711236257
firstReactRender28253222832
getState17815522420196224
initialActions000000
loadScripts806672134519010241345
setupStore1494591145
numNetworkReqs1267424762171247
WebpackStandard HomeuiStartup8307041193928371014
load61255097681608804
domContentLoaded60454494577601787
domInteractive171163111447
firstPaint22158984218210741
backgroundConnect261295152965
firstReactRender3017100113547
getState1262941317
initialActions001001
loadScripts60154293574599776
setupStore1162241418
numNetworkReqs1467720673
WebpackPower User HomeuiStartup1033803175434514681754
load625523933149802933
domContentLoaded607514901138751901
domInteractive321299327199
firstPaint41363906309803906
backgroundConnect661622079170220
firstReactRender26233222732
getState1258014220137142
initialActions001001
loadScripts603512891136743891
setupStore1262572325
numNetworkReqs1207023449165234
FirefoxBrowserifyStandard HomeuiStartup14681295204513415381772
load1239110615008113051399
domContentLoaded1239110614998113051398
domInteractive1023535049106207
firstPaint------
backgroundConnect4625201265180
firstReactRender26225662740
getState136180181124
initialActions002001
loadScripts1213108914117712801372
setupStore13598101228
numNetworkReqs1267215756
BrowserifyPower User HomeuiStartup21361784298740025902987
load13521163192624815541926
domContentLoaded13521163192524815541925
domInteractive16184391106234391
firstPaint------
backgroundConnect11133520130184520
firstReactRender493883105483
getState1307918831165188
initialActions30399139
loadScripts13241141189124315291891
setupStore2951553844155
numNetworkReqs1336922763202227
WebpackStandard HomeuiStartup16601466244716916812020
load14091239185811714531676
domContentLoaded14091238185811714531675
domInteractive983533844103182
firstPaint------
backgroundConnect51262173055105
firstReactRender362486153581
getState167213291222
initialActions001001
loadScripts13801199179611214231616
setupStore176203231353
numNetworkReqs1367318767
WebpackPower User HomeuiStartup22821901357050425253570
load15281248204922317652049
domContentLoaded15271248204922317642049
domInteractive18040624170340624
firstPaint------
backgroundConnect873326267110262
firstReactRender45336584865
getState15810334058186340
initialActions106116
loadScripts14941231199721617021997
setupStore28599264699
numNetworkReqs13566335100213335
📊 Page Load Benchmark Results

Current Commit: bf83eb1 | Date: 11/12/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±42ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 727ms (±40ms) 🟢 | historical mean value: 723ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 78ms (±13ms) 🟢 | historical mean value: 78ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 42ms 1.02s 1.38s 1.08s 1.38s
domContentLoaded 727ms 40ms 706ms 1.04s 761ms 1.04s
firstPaint 78ms 13ms 64ms 192ms 84ms 192ms
firstContentfulPaint 78ms 13ms 64ms 192ms 84ms 192ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 14.96 KiB (0.32%)
  • ui: 23.44 KiB (0.32%)
  • common: 17.55 KiB (0.2%)

chaitanyapotti
chaitanyapotti previously approved these changes Nov 12, 2025
lwin-kyaw
lwin-kyaw previously approved these changes Nov 12, 2025
@smgv smgv dismissed stale reviews from lwin-kyaw and chaitanyapotti via 2160b46 November 13, 2025 06:03
@metamaskbot
Copy link
Collaborator

Builds ready [4a49e18]
UI Startup Metrics (1194 ± 82 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1194106214768212431346
load104092113057610811173
domContentLoaded103290812997610751164
domInteractive211386151866
firstPaint60484130942210511175
backgroundConnect23021835915232242
firstReactRender24179382531
getState2084282338
initialActions001001
loadScripts810680106675854935
setupStore1062021115
numNetworkReqs1367619672
BrowserifyPower User HomeuiStartup16591488250428019142504
load1043906169022212591690
domContentLoaded1035900168422112351684
domInteractive40141093899109
firstPaint8519716984159791698
backgroundConnect24322233026249330
firstReactRender42395234352
getState17514921519191215
initialActions101011
loadScripts803676136220310051362
setupStore1393371133
numNetworkReqs1187125562168255
WebpackStandard HomeuiStartup8347041182878461090
load61655995079614870
domContentLoaded60955493577608853
domInteractive171263121554
firstPaint21659939215201770
backgroundConnect251065122856
firstReactRender3217193203553
getState1162231317
initialActions001001
loadScripts60655292274605843
setupStore1264561328
numNetworkReqs1367419870
WebpackPower User HomeuiStartup1098897174629214921746
load67758111091597501109
domContentLoaded65956510201437091020
domInteractive35121183968118
firstPaint4436910232955901023
backgroundConnect48112436176243
firstReactRender42384834548
getState1419117925158179
initialActions001001
loadScripts65456310101406991010
setupStore1472982529
numNetworkReqs1106722960160229
FirefoxBrowserifyStandard HomeuiStartup14491278203713814951761
load1223110415249512841426
domContentLoaded1223110415249512841425
domInteractive1063533555105223
firstPaint------
backgroundConnect4225114174784
firstReactRender26205872647
getState126125141017
initialActions001001
loadScripts1198108714889212591401
setupStore137209201129
numNetworkReqs1266315760
BrowserifyPower User HomeuiStartup22391855340645126313406
load14001178195025715311950
domContentLoaded13991177195025715311950
domInteractive19175616173240616
firstPaint------
backgroundConnect11733444121162444
firstReactRender64508086980
getState1183519340142193
initialActions001011
loadScripts13681155189424814941894
setupStore27686244486
numNetworkReqs1376731673213316
WebpackStandard HomeuiStartup15861410232118215842131
load13521191171911613701667
domContentLoaded13511190171811613701667
domInteractive1023236954113190
firstPaint------
backgroundConnect47252613449114
firstReactRender312379113171
getState1265081223
initialActions001001
loadScripts13241172169310413431564
setupStore186200291269
numNetworkReqs1367418767
WebpackPower User HomeuiStartup21891874282730525552827
load15251269189220817901892
domContentLoaded15241269189220817901892
domInteractive18135601174341601
firstPaint------
backgroundConnect72302675581267
firstReactRender67511412172141
getState1279919229158192
initialActions001011
loadScripts14951241187220417531872
setupStore3151063454106
numNetworkReqs1336331478197314
📊 Page Load Benchmark Results

Current Commit: 4a49e18 | Date: 11/13/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 980ms (±41ms) 🟢 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 682ms (±61ms) 🟢 | historical mean value: 723ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 78ms (±38ms) 🟢 | historical mean value: 78ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 980ms 41ms 949ms 1.28s 994ms 1.28s
domContentLoaded 682ms 61ms 657ms 1.23s 692ms 1.23s
firstPaint 78ms 38ms 64ms 448ms 84ms 448ms
firstContentfulPaint 78ms 38ms 64ms 448ms 84ms 448ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 466 Bytes (0.01%)
  • common: 126 Bytes (0%)

@smgv smgv requested a review from a team as a code owner November 13, 2025 10:08
@smgv smgv changed the title fix: add missing metrics to import SRP flow fix: add missing metrics to import SRP flow and grouped Import SRP events Nov 13, 2025
@smgv smgv requested a review from owencraston November 13, 2025 10:22
@metamaskbot
Copy link
Collaborator

Builds ready [b1ce786]
UI Startup Metrics (1237 ± 88 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1237108314248812941390
load107493212547911351199
domContentLoaded106792612487711301191
domInteractive231495172076
firstPaint59084126742110531180
backgroundConnect2342202627237246
firstReactRender27174873043
getState24890122745
initialActions001001
loadScripts840707102076899958
setupStore1273251221
numNetworkReqs1367720674
BrowserifyPower User HomeuiStartup15721393225127018772251
load955826134219112391342
domContentLoaded948819133219012301332
domInteractive351599327999
firstPaint82323613713148571371
backgroundConnect19818422113215221
firstReactRender423590134290
getState15913719218179192
initialActions002112
loadScripts760642112918010241129
setupStore20858142758
numNetworkReqs1217625461166254
WebpackStandard HomeuiStartup8467291215998471136
load62456598389618912
domContentLoaded61756096585613894
domInteractive181267121552
firstPaint19657909193176752
backgroundConnect261377122754
firstReactRender29187293440
getState1263651419
initialActions001001
loadScripts61455895483611884
setupStore1263851418
numNetworkReqs1367319871
WebpackPower User HomeuiStartup1070883172126712951721
load65956710291287561029
domContentLoaded640557989113726989
domInteractive36131414071141
firstPaint28364994262568994
backgroundConnect57102406793240
firstReactRender37334224042
getState1449518022155180
initialActions001001
loadScripts636555979110715979
setupStore96254925
numNetworkReqs1137022553168225
FirefoxBrowserifyStandard HomeuiStartup14161253209514614291738
load12031086179410912141431
domContentLoaded12031086179410912141431
domInteractive92363153599139
firstPaint------
backgroundConnect43251662447116
firstReactRender23195662339
getState1177681121
initialActions001011
loadScripts11771068177110111921373
setupStore1365981229
numNetworkReqs1367620774
BrowserifyPower User HomeuiStartup22451797313837026663138
load14181166182319315701823
domContentLoaded14181165182319315701823
domInteractive19271527162302527
firstPaint------
backgroundConnect1013323269178232
firstReactRender68501011277101
getState1265017230156172
initialActions30328132
loadScripts13771130179620015431796
setupStore31686285786
numNetworkReqs1377130676214306
WebpackStandard HomeuiStartup18481640346123918862253
load15491328320521515971837
domContentLoaded15481328320521515971836
domInteractive1013624438111195
firstPaint------
backgroundConnect64312533868164
firstReactRender4429101194396
getState14103751426
initialActions1015211
loadScripts15101306316320315641757
setupStore2110222241965
numNetworkReqs1366717765
WebpackPower User HomeuiStartup23181941319742928133197
load15351307196319217181963
domContentLoaded15341307196219217171962
domInteractive17243554163239554
firstPaint------
backgroundConnect10333499114127499
firstReactRender634293137693
getState13410123741148237
initialActions106116
loadScripts14891256189219116131892
setupStore3861724553172
numNetworkReqs1376732777213327
📊 Page Load Benchmark Results

Current Commit: b1ce786 | Date: 11/13/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.02s (±41ms) 🟡 | historical mean value: 1.03s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 714ms (±39ms) 🟢 | historical mean value: 717ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±10ms) 🟢 | historical mean value: 78ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.02s 41ms 1.00s 1.35s 1.05s 1.35s
domContentLoaded 714ms 39ms 695ms 1.02s 731ms 1.02s
firstPaint 76ms 10ms 60ms 156ms 84ms 156ms
firstContentfulPaint 76ms 10ms 60ms 156ms 84ms 156ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: -361 Bytes (-0.01%)
  • ui: 705 Bytes (0.01%)
  • common: 6.66 KiB (0.08%)

@metamaskbot
Copy link
Collaborator

Builds ready [b1ca69d]
UI Startup Metrics (1210 ± 91 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1210107914979112471392
load104993513238110741231
domContentLoaded104393213177910681220
domInteractive2315100182076
firstPaint637144126140910491196
backgroundConnect2332152638237247
firstReactRender25173842730
getState22865102539
initialActions102112
loadScripts816711106076847977
setupStore1062531114
numNetworkReqs1367619669
BrowserifyPower User HomeuiStartup16921504206520819832065
load1042892139318512991393
domContentLoaded1034885138718212911387
domInteractive42161314291131
firstPaint69118913523989491352
backgroundConnect24323027913252279
firstReactRender443676104276
getState17615320716194207
initialActions102112
loadScripts804666114317710571143
setupStore11101921119
numNetworkReqs1207417140168171
WebpackStandard HomeuiStartup8357191205958351126
load61656397087606904
domContentLoaded60855795482600882
domInteractive171272121450
firstPaint18861947184171592
backgroundConnect271279153466
firstReactRender3018253233335
getState1162131316
initialActions105112
loadScripts60555594479598871
setupStore1162131317
numNetworkReqs1367219871
WebpackPower User HomeuiStartup1098905181125512441811
load649564876112804876
domContentLoaded632554849106789849
domInteractive38131684677168
firstPaint417107817264610817
backgroundConnect52202645974264
firstReactRender40364634146
getState1419517424153174
initialActions101011
loadScripts627552837101779837
setupStore1263181031
numNetworkReqs1087021054167210
FirefoxBrowserifyStandard HomeuiStartup14451288208013014561739
load1223110714668012561423
domContentLoaded1222110714668112561423
domInteractive1013623930110167
firstPaint------
backgroundConnect43272322647100
firstReactRender23204642429
getState1173641119
initialActions102122
loadScripts1198108614477512321359
setupStore1274071134
numNetworkReqs1467820774
BrowserifyPower User HomeuiStartup20831771284430423452844
load13611126178221114801782
domContentLoaded13611126178221114791782
domInteractive16977493133265493
firstPaint------
backgroundConnect10437469108127469
firstReactRender54437385973
getState1076616025137160
initialActions214134
loadScripts13251105170019214551700
setupStore27896244396
numNetworkReqs1577131581231315
WebpackStandard HomeuiStartup16791493231218716792217
load14101245176710714501665
domContentLoaded14101245176710714501665
domInteractive983640945110174
firstPaint------
backgroundConnect56262303455149
firstReactRender352590143685
getState178183271240
initialActions203123
loadScripts1378122617119314191587
setupStore207217271571
numNetworkReqs1367318768
WebpackPower User HomeuiStartup21841850285033726582850
load14781254191222316741912
domContentLoaded14781254191122316741911
domInteractive15641585159260585
firstPaint------
backgroundConnect713323352102233
firstReactRender604682116682
getState1257218732151187
initialActions514911349
loadScripts14481234188221616411882
setupStore2861683831168
numNetworkReqs1366131279211312
📊 Page Load Benchmark Results

Current Commit: b1ca69d | Date: 11/13/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±37ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 722ms (±35ms) 🟢 | historical mean value: 721ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 77ms (±10ms) 🟢 | historical mean value: 80ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 37ms 1.02s 1.31s 1.07s 1.31s
domContentLoaded 722ms 35ms 703ms 984ms 738ms 984ms
firstPaint 77ms 10ms 60ms 160ms 88ms 160ms
firstContentfulPaint 77ms 10ms 60ms 160ms 88ms 160ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚀 Bundle size reduced!]
  • background: 68 Bytes (0%)
  • ui: 583 Bytes (0.01%)
  • common: -75 Bytes (0%)

@chaitanyapotti chaitanyapotti added this pull request to the merge queue Nov 13, 2025
Merged via the queue into main with commit f22cf05 Nov 13, 2025
174 checks passed
@chaitanyapotti chaitanyapotti deleted the fix/add-wallet-srp-events branch November 13, 2025 19:17
@github-actions github-actions bot locked and limited conversation to collaborators Nov 13, 2025
@metamaskbot metamaskbot added the release-13.10.0 Issue or pull request that will be included in release 13.10.0 label Nov 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-onboarding release-13.10.0 Issue or pull request that will be included in release 13.10.0 size-S team-onboarding Onboarding team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Add missing metrics to import SRP flow

6 participants