Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Exessive CPU usage when there is no pixels to place #370

Open
LUsseryDev opened this issue Apr 4, 2022 · 3 comments
Open

Exessive CPU usage when there is no pixels to place #370

LUsseryDev opened this issue Apr 4, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@LUsseryDev
Copy link

Bug Report Form

Checklist

  • [Y] I am using the latest version of the code.
  • [Y] I am absolutely sure I read the README in its entirety.
  • [Y] I have made sure this is not a duplicate issue.
  • [Y] I have filled out this form correctly.

Describe the bug

when there are pixels that haven't been placed yet, my CPU usage is at 1-2%, when all pixels are placed, it jumps to 10-11%

To Reproduce

Steps to trigger the bug:

  1. launch bot so that what it tries to make is already complete
  2. look at task manager

Additional context

Add any other context about the problem here.

@LUsseryDev LUsseryDev added the bug Something isn't working label Apr 4, 2022
@Adenser
Copy link

Adenser commented Apr 4, 2022

Can confirm.
The CPU usage is really high even when script doesn't do anything (waits for pixels to be changed). When the code first start the CPU sits at 100%, then after a 5-10 minutes goes to 200%
Screenshot_2022-04-04-11-04-18-49

This is CPU usage of two scripts from double core hetzner VPS. One with 5 accounts, other with 20. (The script with 5 accounts is running with debugger mode)

@Adenser
Copy link

Adenser commented Apr 4, 2022

#398 Fixes this issue!

@thoroc
Copy link
Collaborator

thoroc commented Apr 4, 2022

@PROMETHEUS7777 please confirm and close the issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants