Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

UI causes Parity to consume too much CPU #3240

Closed
jacogr opened this issue Nov 7, 2016 · 1 comment · Fixed by #3605
Closed

UI causes Parity to consume too much CPU #3240

jacogr opened this issue Nov 7, 2016 · 1 comment · Fixed by #3605
Assignees
Labels
F2-bug 🐞 The client fails to follow expected behavior.
Milestone

Comments

@jacogr
Copy link
Contributor

jacogr commented Nov 7, 2016

Both Parity & Chrome shows higher than normal CPU usage when the app is open. Check -

  • status optimisations (slower, not all)
  • running timers, polling
@jacogr jacogr added F2-bug 🐞 The client fails to follow expected behavior. M6-ui labels Nov 7, 2016
@jacogr jacogr added this to the 1.4 Civility milestone Nov 7, 2016
@gavofyork gavofyork modified the milestones: 1.5 Tenuity, 1.4 Civility Nov 7, 2016
@ngotchac
Copy link
Contributor

Some work have been done in #3227 to fix these. Will make a smaller PR from this one.

@ngotchac ngotchac self-assigned this Nov 17, 2016
ngotchac added a commit that referenced this issue Nov 17, 2016
ngotchac added a commit that referenced this issue Nov 17, 2016
  Only refresh statuses when on Status Page for
  some statuses (eg. hashrate)
ngotchac added a commit that referenced this issue Nov 21, 2016
ngotchac added a commit that referenced this issue Nov 21, 2016
jacogr pushed a commit that referenced this issue Nov 23, 2016
* Don't auto-subscribe for contracts #3240

* Smarter Balance : don't re-instantiate contracts, fetch tokens #3240

* Smarter Balance Tokens fetching (update image when needed) #3240

* Attaching to TokenReg Events instead of fetching for each block #3240

* Unsubscribe from shapeshit... #3240

* Unsubscribe from EthFilter if used once (resolved) #3240

* Remove warning

* PR review fix

* Typo

* Better contract JS API : one subscribe for all #3546

* Fixed test
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
F2-bug 🐞 The client fails to follow expected behavior.
Projects
No open projects
User Interface
Done (1.5.0)
Development

Successfully merging a pull request may close this issue.

3 participants