Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension causes high cpu load #36

Open
viamin opened this issue Apr 8, 2019 · 1 comment
Open

Extension causes high cpu load #36

viamin opened this issue Apr 8, 2019 · 1 comment
Assignees
Labels

Comments

@viamin
Copy link

viamin commented Apr 8, 2019

  • Issue Type: Performance
  • Extension Name: regex
  • Extension Version: 0.2.0
  • OS Version: Darwin x64 18.5.0
  • VSCode version: 1.33.0

⚠️ Make sure to attach this file from your home-directory:
⚠️/Users/bart/chrmarti.regex-unresponsive.cpuprofile.txt

Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

chrmarti.regex-unresponsive.cpuprofile.txt

I hit this when opening an older version of the form validation jQuery plugin (from http://formvalidation.io - v0.6.1-dev) which is a 9300 line file. I'm not sharing here it due to licensing restrictions.

@chrmarti
Copy link
Owner

chrmarti commented Apr 9, 2019

Most time is spent search for regexes:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants