feat: Add performance metrics for signature requests#26967
Merged
feat: Add performance metrics for signature requests#26967
Conversation
|
👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎ This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
eb7bb6c to
2eae7c7
Compare
matthewwalsh0
requested changes
Sep 9, 2024
ui/pages/confirmations/confirm-transaction/confirm-transaction.component.js
Outdated
Show resolved
Hide resolved
matthewwalsh0
requested changes
Sep 14, 2024
|
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@metamask/signature-controller@19.0.0 |
|
c8c1757 to
0bf8712
Compare
matthewwalsh0
previously approved these changes
Sep 19, 2024
Collaborator
Builds ready [2d743ac]
Page Load Metrics (1860 ± 65 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
matthewwalsh0
previously approved these changes
Sep 24, 2024
vinistevam
reviewed
Sep 24, 2024
Co-authored-by: Vinicius Stevam <45455812+vinistevam@users.noreply.github.com>
vinistevam
previously approved these changes
Sep 24, 2024
Collaborator
Builds ready [f08fdb2]
Page Load Metrics (2036 ± 118 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
|
Collaborator
Builds ready [5ccb223]
Page Load Metrics (1862 ± 92 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
pedronfigueiredo
approved these changes
Sep 26, 2024
vinistevam
approved these changes
Sep 26, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.





Description
SignaturetracesnewUnsignedTypedMessagein a utility function, adds end ofMiddlewaretrace andSignaturetrace after hash is returned from background.Note that this PR still using a preview will be updated once core is released.
Related issues
Fixes: https://github.com/MetaMask/MetaMask-planning/issues/2902
Manual testing steps
No QA needed.
Screenshots/Recordings
An example Sentry trace for
Signaturehttps://metamask.sentry.io/performance/trace/53446691f4d44d40a5f9de82f1cebd05/?fov=0%2C4381.00004196167&node=txn-d4053774d6c2495b8564fdce1fac8bec&pageEnd&pageStart&project=273496&source=traces&statsPeriod=15m×tamp=1725629491.052Before
After
Pre-merge author checklist
Pre-merge reviewer checklist