enso-org / enso

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

Initialize JLine terminal asynchronously #8688

Closed Akirathan closed 1 week ago

Akirathan commented 9 months ago

8496 switched from DumbTerminal to a proper JLine terminal. This adds 80 ms to the startup time.

image fast.nps is a profiling snapshot from https://github.com/enso-org/enso/issues/8553#issuecomment-1873678122 (from older revision before https://github.com/enso-org/enso/pull/8496) and t.nps is after #8596.

We can see that there is roughly 80 ms difference in makeTerminalForRepl. Moreover, we can see that in fast.nps, only DumbTerminal is initialized.

Both profiling snapshots are attached in profilings.zip

Let's initialize the JLine terminal asynchronously.

Akirathan commented 9 months ago

Duplicated by #8690

enso-bot[bot] commented 1 week ago

Jaroslav Tulach reports a new STANDUP for yesterday (2024-09-23):

Progress: .

Discord
Discord - Group Chat That’s All Fun & Games
Discord is great for playing games and chilling with friends, or even building a worldwide community. Customize your own space to talk, play, and hang out.