-
Notifications
You must be signed in to change notification settings - Fork 95
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
High CPU when Robot Framework Language is loaded in Pycharm #350
Comments
Is it possible for you to attach a profiler and send me the related pstats files from that? To do that, please do the following:
|
I hope i've done this right. If not, please let me know ;-) This is the log from one of the four Python processes which lead to high cpu load |
Thanks for the logs... apparently the filesystem polling is responsible for that. I guess the filesystem polling is too tied to work well on my system. Also, apparently there's polling from several processes at once. I'm working on fixing this (both with a better polling algorithm -- or using native filesystem notifications when possible -- to work better on other machines and to make the polling work on a single process and have other processes talk to it instead of having polling in multiple processes). |
Thank you for the quick reply! I've set up a test robot-file with only one Test case with only one Log in it (especially without using additional Libraries) and that does not seem to be a problem, no high CPU load. |
Yeap, the filesystem polling speed is pretty much related to the number of files you have under the workspace, so, on tiny projects it shouldn't be a problem. |
This should be fixed in version |
Seems to be working fine, thank you very much for your quick reaction! |
This has fixed the problem I was having.
Thanks!
…On Tue, May 25, 2021 at 3:08 AM cafe88 ***@***.***> wrote:
Seems to be working fine, thank you very much for your quick reaction!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#350 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUCMNHDJ5CRISMZNJWALTRDTPNSKBANCNFSM444Z2KDQ>
.
--
David A. Lye
--
This electronic communication and the information and any files transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.
|
When I installed the Robot Framework Language in Pycharm the CPU usage went from 3% to 25% - 36% continuously. This also causes my fans to run all the time.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No significant change in processor activity should happen when sitting idle.
Screenshots
Versions:
The text was updated successfully, but these errors were encountered: