[feature]Let watches Serialize and Parallelize to reduce resource consumption #2994
huanghe2015
started this conversation in
General
Replies: 1 comment 1 reply
-
This is NOT supported by playwright - already looked into it If you are not using BrowserSteps, you can do this, set the env var |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Version and OS
Any
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
As the number of watches grows, the CPU usage by workers(I guess) is also going higher. But in my daily practices, some watches don't need to be known immediately, but I can't determine what interval can I use. Therefore, there is a way as the title mentioned to manage watches and reduce CPU usage: The serialized section and the parallelized section. The parallelized section works as the current version, but the serialized section works as a circular queue, which when a watch is processed, goes to the next.
Beta Was this translation helpful? Give feedback.
All reactions