Migrate to RTK for querying balances #30779
Labels
dev-concern
feature/web3/wallet
Integrating Ethereum+ wallet support
front-end-change
This task is a front end task and doesn't need any C++ changes
OS/Desktop
perf
priority/P3
The next thing for us to work on. It'll ride the trains.
QA Pass-Win64
QA/Yes
release-notes/include
Milestone
Some users have been reporting very high CPU usage since at least 1.51.x, but it's been a major problem all along. brave/brave-core#18735 brings some significant performance improvements. We would like to extend this work beyond the panel to speed up the wallet page.
The problem is particularly bad when there a lot of accounts and custom networks. Since we refresh balances periodically, this leads to spikes in CPU usage like this:
Definition of done
await Promise.all(...)
for balance queries.tokenBalanceRegistry
in the legacy Redux store.useBalanceUpdater()
hook.The text was updated successfully, but these errors were encountered: