Slow loading on DWC 3.5.0-rc.2
-
Board Name: Duet Mini 5+
Firmware Version: 3.5.0-rc.2
DWC Version: 3.5.0-rc.2Hi, when I try to connect to my board via Duet3D, the loading time is really long.
I inspected the web requests and I found out that the loading of the "monaco-editor" library is the reason why it is taking so long to load DWC, between 20 to 60 seconds. Sometimes the request just fails and I have to refresh the page (see red annotation).Even the actual app (app.js) is kinda slow to load.
It is not a network issue since the board sends an initial response very quickly (see green annotation).
I tested my network and wifi signal strength and it is not the issue.I tried to rollback to version 3.4.6 and the problem is not there: DWC loads almost instantly.
Does someone have the same issue? Are you aware of this problem is this version of Duet?
Thanks for your help?
-
@marc-leblanc-fabify you you upgrade to RC3 and try that please and report back?
Can we also see the output of M122 to see the network stats? -
@marc-leblanc-fabify Well, 26.3s for a 1.1MB is pretty slow and 125ms for less than 1KiB isn't great either. If upgrading to 3.5.0-rc.3 does not improve things, can you check if DWC 3.5 loads faster with RRF 3.4.6?
monaco-editor
is the JS chunk for the new code editor. -
@jay_s_uk I will try this and keep you posted. Thanks.
-
@chrishamm I will look into this. Thanks!
-
Hello @marc-leblanc-fabify,
I saw your post and I have the same trouble of you but I use the version 3.5.0-rc.3. It is super long to load monaco-editor and the app. The only fix you find for now it is to roll back to the version 3.4.6?
-
@Fred636 Hi, yes. For the moment, the rollback on 3.4.6 is the only way to make it work. I will try the rc.3 version, but I looked at the changelog and I doubt it is going to fix my problem. monaco-editor was added in 3.5.0, so 3.4.6 is a safe bet for the moment.