pretty-ts-errors icon indicating copy to clipboard operation
pretty-ts-errors copied to clipboard

This extension brought vscode to its knees

Open steve-taylor opened this issue 1 year ago • 3 comments
trafficstars

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

steve-taylor avatar Apr 06 '24 15:04 steve-taylor

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

yoavbls avatar Apr 08 '24 00:04 yoavbls

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

:warning: Make sure to attach this file from your home-directory: :warning: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

onethread avatar Jul 10 '24 17:07 onethread

@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.

kevinramharak avatar Jul 10 '24 18:07 kevinramharak