enso-org / enso

Hybrid visual and textual functional programming.
https://enso.org
Apache License 2.0
7.31k stars 318 forks source link

Investigate issues when opening cloud projects #10231

Closed hubertp closed 3 weeks ago

hubertp commented 3 weeks ago

As reported internally:

hubertp commented 3 weeks ago

Here is what is happening on a slow machine:

  1. A request to open file is sent
  2. At the same time a full initial compilation/loading of stdlibs is running
  3. LS awaits for runtime to set module sources for the just read file
  4. LS cannot proceed with 3) because a write compilation lock is held by 2) and it can be a really long period (locally > 8seconds)
  5. LS timeouts on the response from runtime, it stops CollaborativeBuffer actor
  6. GUI never gets sources and it cannot proceed
enso-bot[bot] commented 3 weeks ago

Hubert Plociniczak reports a new STANDUP for the provided date (2024-06-11):

Progress: Getting rid of dependencies to improve startup performance (#10249). Debugging problems on slow machines. It should be finished by 2024-06-14.

Next Day: Next day I will be working on the #10231 task. Continue investigating startup issues

enso-bot[bot] commented 3 weeks ago

Hubert Plociniczak reports a new STANDUP for yesterday (2024-06-12):

Progress: Finished removing some explicit cats/circe usages. PR should slightly improve class loading timings. Found out the reason for blank page when loading - lock contention leads to timeouts. Adding retries to workaround the problem. It should be finished by 2024-06-14.

Next Day: Next day I will be working on the #10231 task. Continue investigating startup issues

enso-bot[bot] commented 2 weeks ago

Hubert Plociniczak reports a new STANDUP for the provided date (2024-06-13):

Progress: More profiling in search of inefficiencies. Investigating alternative YAML libraries (currently one is very inefficient on startup). Debugging startup issues with google stdlib. It should be finished by 2024-06-14.

Next Day: Next day I will be working on the #10231 task. Continue investigating startup issues

enso-bot[bot] commented 2 weeks ago

Hubert Plociniczak reports a new STANDUP for the provided date (2024-06-14):

Progress: Cleaning up YAML-related code from unnecessary complexities. Gave up on Scala YAML due to Scala 3 support only. Investigating SnakeYAML support for Scala constructs. It should be finished by 2024-06-14.

Next Day: Next day I will be working on the #10231 task. Continue investigating startup issues