Skip to content

Conversation

@darkwing
Copy link
Contributor

@darkwing darkwing commented Mar 14, 2025

Description

Removes inline functions and objects that eslint-plugin-react-perf was flagging as bad for perf.

Open in GitHub Codespaces

Related issues

Fixes:

Manual testing steps

  1. Nothing should change

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.

@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 metamaskbot added the team-core-extension-ux Core Extension UX team label Mar 14, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [0d39f07]
Page Load Metrics (3610 ± 1490 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint177715288348830991488
domContentLoaded170314895324830641471
load177415455361031031490
domInteractive3377824861676805
backgroundConnect70944385270130
firstReactRender24198875024
getState1642314911153
initialActions01000
loadScripts125813967258128671377
setupStore9336697335
uiStartup208216027518733301599
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 607 Bytes (0.01%)
  • common: 0 Bytes (0.00%)

@darkwing darkwing added this pull request to the merge queue Mar 24, 2025
Merged via the queue into main with commit 7f772d3 Mar 24, 2025
80 checks passed
@darkwing darkwing deleted the higher-level-perf branch March 24, 2025 21:00
@github-actions github-actions bot locked and limited conversation to collaborators Mar 24, 2025
@metamaskbot metamaskbot added the release-12.16.0 Issue or pull request that will be included in release 12.16.0 label Mar 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-12.16.0 Issue or pull request that will be included in release 12.16.0 team-core-extension-ux Core Extension UX team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants