pranaygp / vscode-css-peek

A vscode extension for peeking at CSS definitions from a class or id tag in HTML
MIT License
142 stars 32 forks source link

CodeHelper CPU 100% #132

Closed TimBroddin closed 1 year ago

TimBroddin commented 1 year ago

Hi,

I noticed that since last week the CodeHelper process was using 100% CPU of one core. While investigating I found out that it was caused by the CSS Peek plugin.

I didn't have a chance to look any deeper into it, but can do so, if you provide me some instructions.

Thanks!

mitivil commented 1 year ago

I noticed that this extension (CSS Peek) does not turn off even when I close this very VS.code, and the plugin continue to work and load my PC.

pustovalov commented 1 year ago

investigation about CPU load brought me here: Process Explorer 2023-02-27 16-31-38

pranaygp commented 1 year ago

@mitivil @TimBroddin thanks for bringing these up. There are number of issues like this about CPU usage that I've been trying to look into. I'll keep you posted when I hear more - in the meantime, and help with a pull request to fix the issue will help too since I might be a bit slow on this

pranaygp commented 1 year ago

@pustovalov can you please provide any information on what workspace you opened when using CSS Peek? Specifically I'm curious how many .css, .less, and .sass files are in the workspace (excluding node_modules),

pranaygp commented 1 year ago

This has been fixed in version v4.3.4