mdx-analyzer icon indicating copy to clipboard operation
mdx-analyzer copied to clipboard

High CPU usage

Open tyanbiao opened this issue 1 year ago β€’ 4 comments

Type: Bug

Every time I open VSCode, it uses 50% of the CPU.

Extension version: 1.8.1 VS Code version: Code 1.87.0 (019f4d1419fbc8219a181fab7892ebccf7ee29a2, 2024-02-27T23:41:44.469Z) OS version: Windows_NT x64 10.0.19045 Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz (8 x 1800)
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
Load (avg) undefined
Memory (System) 7.85GB (1.99GB free)
Process Argv --crash-reporter-id e9b9541e-7bab-4b06-81e0-9a1ff1ba4606
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfcontrol:30979541
d34g3935:30971562
edj9j583:30969295
fegfb526:30973843
bg6jg535:30979843
78248357:30976999
ccp2r3:30958157
dsvsc020:30976470

tyanbiao avatar Mar 05 '24 06:03 tyanbiao

I used the Start extension bisect command to determine that this was an issue with the MDX extension. Once I disable the extension, everything works fine.

tyanbiao avatar Mar 05 '24 06:03 tyanbiao

When did you encounter this issue? After upgrading from 1.7 to 1.8 by any chance?

remcohaszing avatar Mar 07 '24 10:03 remcohaszing

This is possibly related to https://github.com/microsoft/TypeScript/issues/57633.

remcohaszing avatar Mar 12 '24 09:03 remcohaszing

Hi! Thanks for taking the time to contribute! This has been marked by a maintainer as needing more info. It’s not clear yet whether this is an issue. Here are a couple tips:

  • Spend time framing the issue! The more time you put into it, the more we will
  • Often, maintainers respond with why for several back and forths; rubber duck debugging might help avoid that
  • Folks posting issues sometimes fall for xy problems: asking for a certain solution instead of raising the root problem

Thanks, β€” bb

github-actions[bot] avatar May 02 '24 10:05 github-actions[bot]