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 #124

Closed
YannisFraselle opened this issue Feb 12, 2020 · 1 comment · Fixed by #290
Closed

Extension causes high cpu load #124

YannisFraselle opened this issue Feb 12, 2020 · 1 comment · Fixed by #290

Comments

@YannisFraselle
Copy link

  • Issue Type: Performance
  • Extension Name: marp-vscode
  • Extension Version: 0.12.0
  • OS Version: Windows_NT x64 10.0.18363
  • VSCode version: 1.42.0

-> marp-team.marp-vscode-unresponsive.cpuprofile.txt

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

@yhatt
Copy link
Member

yhatt commented Mar 22, 2020

It seems to be taking a lot of time while reading Marp Core from disk. As suggested by VS Code, it can mitigate by bundle Marp Core into extension with using rollup but would not work the extension due to the incorrect build caused by the circular dependency by PostCSS.

It has been fixed in postcss/postcss#1321 but the new release (PostCSS 8) is still not coming.

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

Successfully merging a pull request may close this issue.

2 participants