zaaack / vscode-markdown-editor

A vscode extension to make your vscode become a full-featured WYSIWYG markdown editor
https://marketplace.visualstudio.com/items?itemName=zaaack.markdown-editor
MIT License
367 stars 51 forks source link

High CPU usage #96

Closed pinage404 closed 2 months ago

pinage404 commented 2 months ago

Type: Bug

  1. Enable the extension
  2. Open a markdown file with about 100 lines of code
  3. Observe your CPU consumption

Extension version: 0.1.12 VS Code version: Code 1.92.2 (fee1edb8d6d72a0ddff41e5f71a671c23ed924b9, 2024-08-14T17:29:30.058Z) OS version: Linux x64 6.6.46 Modes:

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 7 7840HS w/ Radeon 780M Graphics (16 x 4537)| |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: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off| |Load (avg)|3, 3, 3| |Memory (System)|30.67GB (14.91GB free)| |Process Argv|--crash-reporter-id 1cba67a4-396c-4609-9606-b37d54e29eb0| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|plasma| |XDG_CURRENT_DESKTOP|KDE| |XDG_SESSION_DESKTOP|KDE| |XDG_SESSION_TYPE|wayland|
pinage404 commented 2 months ago

The Bisect Extensions shows me that was this extension that is problematic, but when i try manually, i don't reproduce