-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
shell>
prompt very sluggish when typing first word on WSL
#52765
Comments
I assume the cause was moving repl out of the sysimage |
I assume this is due to #52769. |
This issue is specifically for the sluggish-ness when typing the first word of each It takes over a second for |
It IS slower for me but only 601.0 ms today's julia-0cb5a0ecd4 master on vs 303.8 ms on 1.10 on Linux However this keeps getting faster (50% faster min.): |
I don't see any lag on master so can someone who does see if this improves it |
Are those who see this lag using or have used |
No improvement to the
Nope, not using |
Ah, here's a clue. Running with
I see 176 In total, there are over 500 syscalls for each key press. I'm running in WSL2 so In 1.10, Julia does no such crawling and executed only a few basic I/O syscalls on each keypress:
|
Maybe the hinting should cache readdir until the next prompt command entry? |
Some ideas
|
On top of the improvements to the usage of edit: At @IanButterworth's suggestion I checked my |
shell>
prompt very sluggish when typing first wordshell>
prompt very sluggish when typing first word on WSL
Using this
expect
script to test:On 1.10:
On latest nightly:
Start-up time is 3x slower. Entering 5 shell commands takes 6.7 seconds instead of half a second on 1.10. The slow down seems to be specifically when typing the first word, for some reason.
Happens even when running with no shell customizations (
zsh --no-rcs
).The text was updated successfully, but these errors were encountered: