M
M
maksam072021-07-08 18:54:28
selenium
maksam07, 2021-07-08 18:54:28

How to increase performance for a multi-threaded task with Chrome?

Good afternoon. Multiple threads are created, each one opens chrome and performs certain tasks. Chrome takes up a certain amount of RAM, so many threads cannot be done (in normal realities, and not where there are very powerful computers). I'm interested in the question, are there settings for chrome that cut either graphics or anything else so that chrome eats less memory and, in fact, more threads can be launched?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rPman, 2021-07-08
@maksam07

I don't think it's possible to noticeably optimize this moment, the most correct option is to analyze the network traffic between the application and the browser and simulate it by other means (curl for example). Unfortunately, this method significantly increases development costs.

spoiler
Интересно, кто-нибудь запилил интеллектуальный анализатор трафика в браузере чтобы для повторяющихся запросов перенести его в свой код?

I liked the suggestion
, replace all images with a proxy for 1x1 , this should significantly reduce the consumption of RAM by the website and reduce the load on the processor video card, but I'm not sure that the RAM will be freed.
On the contrary, if the machine is linux, then you can place the swap in the memory of the video card , using its idle one.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question