Skip to content
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

Fix account tracker optimization #8936

Merged
merged 1 commit into from
Jul 7, 2020
Merged

Conversation

Gudahtt
Copy link
Member

@Gudahtt Gudahtt commented Jul 7, 2020

An optimization in account-tracker.js was being skipped consistently due to a type error (a number was being compared to a string).

The optimization in this case was to update the balances for all accounts with a single request, rather than one request per account.

An optimization in `account-tracker.js` was being skipped consistently
due to a type error (a number was being compared to a string).

The optimization in this case was to update the balances for all
accounts with a single request, rather than one request per account.
@Gudahtt Gudahtt requested a review from a team as a code owner July 7, 2020 20:34
@metamaskbot
Copy link
Collaborator

Builds ready [4c9f306]
Page Load Metrics (867 ± 53 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaintNaNNaNNaNNaNNaN
domContentLoaded568107786411053
load570108086711153
domInteractive568107786311053

@Gudahtt
Copy link
Member Author

Gudahtt commented Jul 7, 2020

Ah, it looks like this was broken recently, in #8627

@Gudahtt Gudahtt merged commit 429af23 into develop Jul 7, 2020
@Gudahtt Gudahtt deleted the fix-account-tracker-optimization branch July 7, 2020 22:16
@metamaskbot metamaskbot mentioned this pull request Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants