Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Slow loading of the Networks view #131

Open
kevinbluer opened this issue Jul 7, 2022 · 1 comment
Open

Slow loading of the Networks view #131

kevinbluer opened this issue Jul 7, 2022 · 1 comment

Comments

@kevinbluer
Copy link
Member

Not sure if it's just local to my machine, but currently it takes ~3-5 seconds to load the networks tab.

Screen Shot 2022-07-07 at 4 13 56 PM

Screen Shot 2022-07-07 at 4 15 47 PM

cc @xhulz @michaeljohnbennett @acuarica how's it looking on your sides?

@xhulz
Copy link
Contributor

xhulz commented Jul 8, 2022

Hey @kevinbluer,

We have 2 problems here:

  1. Loader: If you go to the docker extension and open it, you will see that each tab has its own loader. In our case, the only loader is configured on Network Tab, and all initialization(requeired apps, debbuger, constants, tree manager...) is happening inside this loader. We have to put loaders on all these tags, and make their initializations independent.

  2. Required Apps: What is taking a lot of time to execute is the validation of required apps. It's taking 3 to 5 seconds to validate. We need to put it running in background

See below some references:

Loaders

Docker:

Screenshot 2022-07-08 at 11 51 23

Truffle:

Screenshot 2022-07-08 at 11 50 10

Required apps

Execution time

Screenshot 2022-07-08 at 11 55 25

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants