Slow load times
olemis opened this issue · comments
Describe the bug
Slow load times .
Environment information:
- OS: Mac OS X
- Platform: Darwin 17.4.0 x86_64
Steps to Reproduce
- Execute
make run
from the command line
Actual behavior
Wallet takes too long to show GUI . By diving in app logs the app is taking a lot of time requesting output endpoints e.g.
[2019-12-23T21:32:43-05:00] INFO [Skycoin Account]: POST /api/v1/outputs?addrs=xxx
This could be related to determining account balance to render in wallet tree.
Expected behavior
Wallet GUI should be opened as soon as possible. All wallet data should be loaded in the background and progress indicator be shown .
Additional context
The concrete testing environment consisted of 21 local wallets.
Possible implementation
Wallet GUI should be opened once a manager is instantiated. Wallets should be added async in the tree as they get enumerated . All other data , such as inline balance label , should be included async as well .