chrmarti / vscode-regex

MIT License
157 stars 33 forks source link

Extension causes high cpu load #36

Open viamin opened 5 years ago

viamin commented 5 years ago

:warning: Make sure to attach this file from your home-directory: :warning:/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 commented 5 years ago

Most time is spent search for regexes: image