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

This extension brought vscode to its knees #102

Open
steve-taylor opened this issue Apr 6, 2024 · 3 comments
Open

This extension brought vscode to its knees #102

steve-taylor opened this issue Apr 6, 2024 · 3 comments

Comments

@steve-taylor
Copy link

steve-taylor commented Apr 6, 2024

Type: Bug

Visual Studio Code suddently started running extremely slow. I ran Extension Bisect which found this extenson to be the culprit. After disabling it, vscode is back to normal.

I re-enabled it just to be sure and vscode was extremely slow again. I also noticed backspace no longer works when this extension is running.

Extension version: 0.5.3
VS Code version: Code 1.88.0 (5c3e652f63e798a5ac2f31ffd0d863669328dc4c, 2024-04-03T13:28:18.899Z)
OS version: Darwin x64 22.6.0
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz (8 x 2900)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) 7, 6, 7
Memory (System) 16.00GB (1.45GB free)
Process Argv --crash-reporter-id 80c99a32-047a-41fc-ba28-a2d5879860df
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
d34g3935:30971562
fegfb526:30981948
bg6jg535:30979843
ccp2r3:30993541
dsvsc020:30976470
pythonait:31006305
jchc7451:30973076
gee8j676:31009558
dsvsc021:30996838
g1icg217:30999571

@yoavbls
Copy link
Owner

yoavbls commented Apr 8, 2024

Hey, can you help in reproducing it? is there some repo that it happened in?
By slowness, do you mean that saving files is slow, like #88 or just general slowness?
Or did the TS Server stop working like in #75?

BTW, I need help in reproducing those too

@onethread
Copy link

Have the same issue. VSCode reported this extension was taking an unusual amount of time and was blocking other extensions from finishing.

  • Issue Type: Performance
  • Extension Name: pretty-ts-errors
  • Extension Version: 0.5.4
  • OS Version: Darwin arm64 23.5.0
  • VS Code version: 1.91.0

⚠️ Make sure to attach this file from your home-directory:
⚠️file:///var/folders/gs/gdpvls094mjgl0hc142l9vmr0000gn/T/YoavBls.pretty-ts-errors-unresponsive.cpuprofile.txt

Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load
YoavBls.pretty-ts-errors-unresponsive.cpuprofile.txt

@kevinramharak
Copy link
Contributor

@onethread Thanks for the cpuprofile. Unfortunatly the CPU profile doesn't seem to show anything useful:
image
It just shows the extension stalling on some minified function called XX.
If you have any additional info on the project/repository where the extension started stalling that would be appreciated.

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

No branches or pull requests

4 participants