-
-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First time load of project with many files very slow with "the editor has not shown up in time" errors #1612
Comments
Can anyone explain what the load process is and why it is so much slower the first time it sees a new project? Once a hash is created for a Also, in order to generate logs, I need it to think the project is one it hasn't seen. I tried deleting the files in |
Thanks for your report @FrightRisk
I already provided you with this information on your forum post: https://forum.arduino.cc/t/how-to-clear-recent-files-list-in-2-0/1047673/7 If that isn't working for you, or if there is something you didn't understand about the information I shared, please reply on the forum thread and I'll help you out. |
It seems it affects all sketches created before Can somebody please confirm this? Here is my test sketch as
👆 It's a bug; no question about it, but please confirm. Thank you! |
I confirm. By the way, if you want an extreme example of this bug, try opening an older version of the popular Marlin 3D printer firmware sketch from before they restructured it in 2.0.0.0 by moving most of the source files under the https://github.com/MarlinFirmware/Marlin/archive/refs/tags/1.1.9.1.zip That sketch actually brings my computer to its knees and causes other applications to crash due to lack of memory. |
From now on, the editor widget open promise resolution does not rely on internal Theia events, but solely on phosphor's `isAttached`/`isVisible` properties. The editor widget promise resolves with the next task after a navigation frame so that the browser can render the widget. Closes #1612 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
From now on, the editor widget open promise resolution does not rely on internal Theia events but solely on @phosphor's `isAttached`/`isVisible` properties. The editor widget promise resolves with the next task after a navigation frame so the browser can render the widget. Closes #1612 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
From now on, the editor widget open promise resolution does not rely on internal Theia events but solely on @phosphor's `isAttached`/`isVisible` properties. The editor widget promise resolves with the next task after a navigation frame so the browser can render the widget. Closes #1612 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
From now on, the editor widget open promise resolution does not rely on internal Theia events but solely on @phosphor's `isAttached`/`isVisible` properties. The editor widget promise resolves with the next task after a navigation frame so the browser can render the widget. Closes #1612 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
From now on, the editor widget open promise resolution does not rely on internal Theia events but solely on @phosphor's `isAttached`/`isVisible` properties. The editor widget promise resolves with the next task after a navigation frame so the browser can render the widget. Closes #1612 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
I know this is marked resolved, but I have Linux users using version 2.0.3 nightly build and it takes 3 minutes to load the project. On my Windows 11, 64bit, SSD, laptop, it takes 13 seconds (11 seconds using 1.8.9). I am using: Version: 2.0.2 Note that the fix in the commit here: Has this big warning at the top, "This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository." Does that mean the fix was not included? |
Describe the problem
We have a project that has 50+ .cpp and .h files. The first time you load this project, the 2.0 IDE is doing some kind of check on the files and slowly loads them one at a time in the IDE file tabs. This does not occur the next time the project is opened. The load takes several minutes. The second time through, it is still slow, but less than 30 seconds.
arduino ide boot log 5.txt
To reproduce
Go to this repo, download the project, and try to load it into the 2.0 IDE
https://github.com/DCC-EX/CommandStation-EX
Expected behavior
I would expect it to load much faster and not have a 5 second timeout for every file.
Arduino IDE version
2.02 nightly 20221030
Operating system
Windows
Operating system version
Windows 11
Additional context
boot log included above
Issue checklist
The text was updated successfully, but these errors were encountered: