formulahendry / vscode-auto-rename-tag

Automatically rename paired HTML/XML tag
https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-rename-tag
MIT License
262 stars 36 forks source link

Extension causes high cpu load #633

Open lingbopro opened 2 months ago

lingbopro commented 2 months ago

Type: Performance Issue

Extension version: 0.1.10 VS Code version: Code 1.92.0 (b1c0a14de1414fcdaa400695b4db1c0799bc3124, 2024-07-31T23:26:45.634Z) OS version: Windows_NT x64 10.0.19045 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz (8 x 1992)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off| |Load (avg)|undefined| |Memory (System)|31.88GB (16.57GB free)| |Process Argv|--crash-reporter-id 4f224da3-cfd3-451c-9011-41a20a22add5| |Screen Reader|no| |VM|50%|
Process Info ``` CPU % Mem MB PID Process 2 128 18172 code main 1 180 1304 gpu-process 0 89 1584 utility-process 0 520 2836 extensionHost [1] 0 99 1476 "C:\Program Files\Microsoft VS Code\Code.exe" "c:\Program Files\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=2836 0 95 2452 electron-nodejs (eslintServer.js ) 0 21 5992 c:\Users\panzh\AppData\Roaming\Code\User\globalStorage\tabnine.tabnine-vscode\binaries\4.188.0\x86_64-pc-windows-msvc\TabNine.exe --tls_config insecure=false --no-lsp=true --client=vscode --client-metadata clientVersion=1.92.0 pluginVersion=3.134.0 t9-vscode-AutoImportEnabled=true t9-vscode-TSAutoImportEnabled=true t9-vscode-JSAutoImportEnabled=true vscode-telemetry-enabled=true vscode-remote=false vscode-extension-kind=1 "vscode-theme-name=One Dark Pro Flat" vscode-theme-kind=Dark vscode-machine-id=edb0aa7da81e23e5e28a674c9b45e0679ddcb97e1fb865e2720267dcadfa3608 vscode-is-new-app-install=false vscode-session-id=29da3a11-1c8a-4658-aa9c-276dbff9ef5f1723173563649 vscode-language=zh-cn "vscode-app-name=Visual Studio Code" vscode-beta-channel-enabled=false vscode-status-customization=unknown vscode-inline-api-enabled=true vscode-code-lens-enabled=true vscode-found-intellicode=false ide-restart-counter=0 0 11 3500 C:\Windows\system32\conhost.exe 0x4 0 58 11600 "c:\Users\panzh\AppData\Roaming\Code\User\globalStorage\tabnine.tabnine-vscode\binaries\4.188.0\x86_64-pc-windows-msvc\TabNine.exe" --tls_config insecure=false --no-lsp=true --client=vscode --client-metadata clientVersion=1.92.0 pluginVersion=3.134.0 t9-vscode-AutoImportEnabled=true t9-vscode-TSAutoImportEnabled=true t9-vscode-JSAutoImportEnabled=true vscode-telemetry-enabled=true vscode-remote=false vscode-extension-kind=1 "vscode-theme-name=One Dark Pro Flat" vscode-theme-kind=Dark vscode-machine-id=edb0aa7da81e23e5e28a674c9b45e0679ddcb97e1fb865e2720267dcadfa3608 vscode-is-new-app-install=false vscode-session-id=29da3a11-1c8a-4658-aa9c-276dbff9ef5f1723173563649 vscode-language=zh-cn "vscode-app-name=Visual Studio Code" vscode-beta-channel-enabled=false vscode-status-customization=unknown vscode-inline-api-enabled=true vscode-code-lens-enabled=true vscode-found-intellicode=false ide-restart-counter=0 --no_bootstrap 0 453 7800 "c:\Users\panzh\AppData\Roaming\Code\User\globalStorage\tabnine.tabnine-vscode\binaries\4.188.0\x86_64-pc-windows-msvc\TabNine-deep-local.exe" --settings C:\Users\panzh\AppData\Roaming\TabNine\local.settingsce94127bSmall --settings-version 1 --client vscode --client-metadata clientVersion=1.92.0 pluginVersion=3.134.0 t9-vscode-AutoImportEnabled=true t9-vscode-TSAutoImportEnabled=true t9-vscode-JSAutoImportEnabled=true vscode-telemetry-enabled=true vscode-remote=false vscode-extension-kind=1 "vscode-theme-name=One Dark Pro Flat" vscode-theme-kind=Dark vscode-machine-id=edb0aa7da81e23e5e28a674c9b45e0679ddcb97e1fb865e2720267dcadfa3608 vscode-is-new-app-install=false vscode-session-id=29da3a11-1c8a-4658-aa9c-276dbff9ef5f1723173563649 vscode-language=zh-cn "vscode-app-name=Visual Studio Code" vscode-beta-channel-enabled=false vscode-status-customization=unknown vscode-inline-api-enabled=true vscode-code-lens-enabled=true vscode-found-intellicode=false ide-restart-counter=0 --tls_config insecure=false 0 12 11744 "c:\Users\panzh\AppData\Roaming\Code\User\globalStorage\tabnine.tabnine-vscode\binaries\4.188.0\x86_64-pc-windows-msvc\TabNine-server-runner.exe" vdb 1.7.3-fix.1 --tls_config insecure=false --port_env_var QDRANT__SERVICE__GRPC_PORT -- --config-path {BINARY_DIR}/config.yaml 0 34 10912 C:\Users\panzh\AppData\Roaming\TabNine\servers\vdb\1.7.3-fix.1\download\vdb.exe --config-path C:\Users\panzh\AppData\Roaming\TabNine\servers\vdb\1.7.3-fix.1\download/config.yaml 0 31 15452 "C:\Users\panzh\AppData\Roaming\Code\User\globalStorage\tabnine.tabnine-vscode\binaries\4.188.0\x86_64-pc-windows-msvc\WD-TabNine.exe" --tls_config insecure=false --client vscode --client-metadata clientVersion=1.92.0 pluginVersion=3.134.0 t9-vscode-AutoImportEnabled=true t9-vscode-TSAutoImportEnabled=true t9-vscode-JSAutoImportEnabled=true vscode-telemetry-enabled=true vscode-remote=false vscode-extension-kind=1 "vscode-theme-name=One Dark Pro Flat" vscode-theme-kind=Dark vscode-machine-id=edb0aa7da81e23e5e28a674c9b45e0679ddcb97e1fb865e2720267dcadfa3608 vscode-is-new-app-install=false vscode-session-id=29da3a11-1c8a-4658-aa9c-276dbff9ef5f1723173563649 vscode-language=zh-cn "vscode-app-name=Visual Studio Code" vscode-beta-channel-enabled=false vscode-status-customization=unknown vscode-inline-api-enabled=true vscode-code-lens-enabled=true vscode-found-intellicode=false ide-restart-counter=0 0 98 7468 "C:\Program Files\Microsoft VS Code\Code.exe" "c:\Program Files\Microsoft VS Code\resources\app\extensions\markdown-language-features\dist\serverWorkerMain" --node-ipc --clientProcessId=2836 0 114 12156 "C:\Program Files\Microsoft VS Code\Code.exe" c:\Users\panzh\.vscode\extensions\streetsidesoftware.code-spell-checker-3.0.1\packages\_server\dist\main.cjs --node-ipc --clientProcessId=2836 0 98 12384 electron-nodejs (server.js ) 0 121 13788 electron-nodejs (languageServer.js ) 0 101 13996 electron-nodejs (server.js ) 0 98 16148 electron-nodejs (serverMain.js ) 0 45 7640 utility-network-service 0 140 7688 shared-process 0 12 10236 C:\Users\panzh\AppData\Local\Temp\vscode-stable-user-x64\CodeSetup-stable-eaa41d57266683296de7d118f574d0c2652e1fc4.exe /verysilent /log /update="C:\Users\panzh\AppData\Local\Temp\vscode-stable-user-x64\CodeSetup-stable-eaa41d57266683296de7d118f574d0c2652e1fc4.flag" /nocloseapplications /mergetasks=runcode,!desktopicon,!quicklaunchicon 0 41 13320 "C:\Users\panzh\AppData\Local\Temp\is-JK6HQ.tmp\CodeSetup-stable-eaa41d57266683296de7d118f574d0c2652e1fc4.tmp" /SL5="$6070C,99327578,828416,C:\Users\panzh\AppData\Local\Temp\vscode-stable-user-x64\CodeSetup-stable-eaa41d57266683296de7d118f574d0c2652e1fc4.exe" /verysilent /log /update="C:\Users\panzh\AppData\Local\Temp\vscode-stable-user-x64\CodeSetup-stable-eaa41d57266683296de7d118f574d0c2652e1fc4.flag" /nocloseapplications /mergetasks=runcode,!desktopicon,!quicklaunchicon 0 390 10960 window [1] (正在运行的扩展 - lingbos-sussy-mod.wiki - Visual Studio Code) 0 90 11796 fileWatcher [1] 0 29 14568 crashpad-handler 0 109 17824 window [2] (问题报告程序) ```
Workspace Info ``` | Window (正在运行的扩展 - lingbos-sussy-mod.wiki - Visual Studio Code) | Folder (lingbos-sussy-mod.wiki): 6 files | File types: md(6) | Conf files:; ```
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805:30301674 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyonecf:30548226 2i9eh265:30646982 962ge761:30959799 pythongtdpath:30769146 pythonnoceb:30805159 asynctok:30898717 pythonregdiag2:30936856 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 9c06g630:31013171 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 dwnewjupyter:31046869 impr_priority:31102340 nativerepl2:31104044 refactort:31108082 ccplt:31103426 pythonrstrctxt:31112756 wkspc-onlycs-c:31111717 ```
lingbopro commented 2 months ago

cpuprofile file:

formulahendry.auto-rename-tag-unresponsive.cpuprofile.txt