-
Notifications
You must be signed in to change notification settings - Fork 5.4k
fix(perf): nonfunctional memoization in getInternalAccounts selector
#37147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
fix(perf): nonfunctional memoization in getInternalAccounts selector
#37147
Conversation
|
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. |
✨ Files requiring CODEOWNER review ✨🫰 @MetaMask/core-platform (3 files, +5 -18)
|
getInternalAccounts selectorgetInternalAccounts selector
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Results generated automatically by MetaMask CI |
Builds ready [109550a]
UI Startup Metrics (1238 ± 73 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Results generated automatically by MetaMask CI |
Builds ready [2578a44]
UI Startup Metrics (1269 ± 85 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
…instead of array)
… identity-function output selectors
… nested state updates
2578a44 to
836d106
Compare
Builds ready [836d106]
UI Startup Metrics (1267 ± 104 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚀 Bundle size reduced!]
|
836d106 to
4bbda9a
Compare
Builds ready [4bbda9a]
UI Startup Metrics (1377 ± 132 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Description
See: fix: add connection status back #36423 (comment)
Also fixes incorrect logic due to code drift in JavaScript selector file.
Changelog
CHANGELOG entry:
Related issues
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist