theme-tools icon indicating copy to clipboard operation
theme-tools copied to clipboard

High memory usage from VSCode extension

Open ConduciveMammal opened this issue 8 months ago • 4 comments

Describe the bug Whenever I try to save a file, or to expand a code completion, I'm being hit with long delays with Getting code actions from 'Shopify Liquid' (Configure).

When reviewing VSCode's process explorer, Theme Check has the highest usage that doesn't seem to come back down. It can often take 10-15 seconds just to save a file.

Image

Image

Expected behaviour Save should happen almost instantly.

Actual behaviour Long delay when trying to save a file.

Debugging information

  • OS: macOS
  • OS Version: Sequoia 15.3.2
  • Theme Check Version 1.15.0

Additional context Add any other context about the problem here.

ConduciveMammal avatar Apr 06 '25 00:04 ConduciveMammal

Big theme with lots of files? Monorepo? Doesn't seem to happen for us and I'm curious what could be causing this / what we could do to improve here.

charlespwd avatar Apr 07 '25 14:04 charlespwd

Also might want to try "themeCheck.preloadOnBoot": false and see if things improve.

charlespwd avatar Apr 07 '25 14:04 charlespwd

#880 probably related

charlespwd avatar Apr 08 '25 14:04 charlespwd

Hey @ConduciveMammal! I just cut a new release - when this reaches you, can you try updating and let me know if that changes thing on your end please?

Thanks!

jamesmengo avatar Apr 11 '25 22:04 jamesmengo

No response and this patch was released a while ago. So I will be closing it.

aswamy avatar Jul 04 '25 18:07 aswamy