Skip to content
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

Windows 平台卡顿,WSL2良好,希望官方定位问题 #4306

Open
rtpacks opened this issue Apr 25, 2024 · 8 comments
Open

Windows 平台卡顿,WSL2良好,希望官方定位问题 #4306

rtpacks opened this issue Apr 25, 2024 · 8 comments

Comments

@rtpacks
Copy link

rtpacks commented Apr 25, 2024

你好,今天测试2.0.10、2.0.12 和 2.0.14三个版本,在 Windows 平台上提示信息都是卡顿的,同样的版本在WSL运行良好,Props、Script提示都很快。我需要提供什么信息才能帮助解决这个问题呢?

设备信息

处理器 12th Gen Intel(R) Core(TM) i7-12700H 2.30 GHz
机带 RAM 40.0 GB (39.7 GB 可用)
版本 Windows 11 专业版
版本 23H2
安装日期 ‎2023/‎2/‎13
操作系统版本 22631.3447

vscode

版本: 1.88.0 (system setup)
提交: 5c3e652f63e798a5ac2f31ffd0d863669328dc4c
日期: 2024-04-03T13:26:18.741Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.22631

@wlonghaha
Copy link

好像说是vscode问题,估计不会解决

@wlonghaha
Copy link

#4227 (comment)

@sicraf
Copy link

sicraf commented Apr 26, 2024

#4227 (comment)

看了这个,我果断禁用了Hybrid模式,不使用tsserver来接管语言支持,卡顿啥的都没了,太丝滑了

@rtpacks
Copy link
Author

rtpacks commented Apr 26, 2024

#4227 (comment)

看了这个,我果断禁用了Hybrid模式,不使用tsserver来接管语言支持,卡顿啥的都没了,太丝滑了

@sicraf 你好,可以看一下你的配置文件吗?我禁用 HybridMode 后提示还是卡顿

@rtpacks
Copy link
Author

rtpacks commented Apr 26, 2024

#4227 (comment)

@wlonghaha 翻了一下,确实太奇怪。在 vscode + wsl2 上体验很好,Windows 本机不行

@sicraf
Copy link

sicraf commented Apr 26, 2024

#4227 (comment)

看了这个,我果断禁用了Hybrid模式,不使用tsserver来接管语言支持,卡顿啥的都没了,太丝滑了

@sicraf 你好,可以看一下你的配置文件吗?我禁用 HybridMode 后提示还是卡顿

image

@johnsoncodehk
Copy link
Member

@rtpacks 你可以在其他項目中復現問題嗎?例如:

@rtpacks
Copy link
Author

rtpacks commented Apr 27, 2024

@johnsoncodehk

没有精准的统计时间,大概测试结果:

Windows11(Hybrid) Windows11 WSL2(Hybrid) WSL2
volta-starter 极快 极快 极快 极快
volta-starter(1k HelloWorld) >10s ~3s >10s ~3s

文件大小影响极大。代码接近 1k 行时,(win | wsl) & (Hybrid:enable | Hybrid:disable),组件 Props 的提示都很慢。

2024-04-27 111752

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants