enyancc / vscode-ext-color-highlight

Extension adds colored border around css/web colors in the editor
GNU General Public License v3.0
263 stars 84 forks source link

When I open multiple XML files, the VSCode window freezes #212

Open guoiaoang opened 3 months ago

guoiaoang commented 3 months ago

Type: Performance Issue

I used JADX to decompile an apk file, opened the project with VSCode to search, and then clicked the search results to open more than 5 XML files. I found this exception when copying text from the XML file. I used VSCode's "extension bisect" command to locate the plug-in, and then tried again. I can reproduce this problem by opening the plug-in, and it disappears when I close it. Before this time, the plug-in list and enabled status have not changed, and no stuck situation was found. Only this time when I opened the JAVA project and was prompted to install JAVA-related plug-ins did I find the stuck situation.

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

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 7 6800H with Radeon Graphics (16 x 3194)| |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)|63.19GB (39.21GB free)| |Process Argv|--crash-reporter-id 2056d5d7-3a55-4be3-a947-cbb7845a096a| |Screen Reader|no| |VM|40%|
Process Info ``` CPU % Mem MB PID Process 0 163 36860 code main 0 102 3368 fileWatcher [1] 0 175 6308 gpu-process 0 186 6412 shared-process 0 27 27024 crashpad-handler 0 104 34364 window [2] (问题报告程序) 0 398 34636 window [1] (Grade_moe.shizuku.redirectstorage - Visual Studio Code) 0 42 35580 utility-network-service 0 218 38040 extensionHost [1] 0 93 37740 electron-nodejs (server.js ) ```
Workspace Info ``` | Window (Grade_moe.shizuku.redirectstorage - Visual Studio Code) | Folder (Grade_moe.shizuku.redirectstorage): 5334 files | File types: java(3552) xml(1291) png(183) properties(5) bin(4) lock(3) | gradle(3) json(3) so(2) dex(2) | Conf files:; ```
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 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 bdiig495:31013172 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 dwnewjupytercf:31046870 impr_priority:31102340 nativerepl2:31104044 refactort:31108082 pythonrstrctxt:31112756 wkspc-onlycs-c:31111717 wkspc-ranged-t:31118572 ei213698:31121563 ```