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

Open
gritcsenko opened this issue Dec 20, 2019 · 14 comments
Open

Extension causes high cpu load #463

gritcsenko opened this issue Dec 20, 2019 · 14 comments

Comments

@gritcsenko
Copy link

  • Issue Type: Performance
  • Extension Name: rest-client
  • Extension Version: 0.23.0
  • OS Version: Windows_NT x64 10.0.17134
  • VSCode version: 1.41.1

⚠️ Make sure to attach this file from your home-directory:
⚠️C:\Users\sgrytsenko\humao.rest-client-unresponsive.cpuprofile.txt

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

@gritcsenko
Copy link
Author

@Huachao
Copy link
Owner

Huachao commented Dec 30, 2019

@gritcsenko I have added document level cache to improve startup performance. And I will publish this improvement in the next release.

@Huachao Huachao closed this as completed Dec 30, 2019
@Huachao
Copy link
Owner

Huachao commented Jan 21, 2020

@gritcsenko I have published a new version 0.23.1, and does this issue still exists?

@gritcsenko
Copy link
Author

@Huachao No issues so far. Thanks for the update.

@gritcsenko
Copy link
Author

humao.rest-client-unresponsive.cpuprofile.txt
Hi @Huachao, I've just got another one error report for you

@Huachao Huachao reopened this Feb 24, 2020
@Huachao
Copy link
Owner

Huachao commented Feb 24, 2020

@gritcsenko what's your machine specification, e.g, CPU cores, memory?

@gritcsenko
Copy link
Author

image
@Huachao

@Huachao
Copy link
Owner

Huachao commented Mar 2, 2020

@gritcsenko How many requests written in your .http file?

@gritcsenko
Copy link
Author

@Huachao file contains ~40 requests

@Huachao
Copy link
Owner

Huachao commented Mar 3, 2020

@gritcsenko so how do you workaround in this case normally?

@gritcsenko
Copy link
Author

So, top requests are logins
Next: mostly used
Last: just in case I need to check how service behaves rarely changing parameters

@gritcsenko
Copy link
Author

If VScode reports error I restart it. Usually it's helps

@Huachao
Copy link
Owner

Huachao commented Mar 3, 2020

@gritcsenko How often do you meet this?

@gritcsenko
Copy link
Author

@Huachao very rare, actually

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

No branches or pull requests

2 participants