Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

426
Vistas
how to open multiple puppeteer instances without effecting it's speed

so what happening to me is when i open 1 puppeteer instance it would go fast a but the more i open the more time it need to load the URL + fill information is that a normal thing ?

const puppeteer = require('puppeteer');

(async () => {
  const browser = await puppeteer.launch();
  const page = await browser.newPage();
  await page.goto('https://example.com');
  await page.screenshot({ path: 'example.png' });

  await browser.close();
})();
over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Answer

Performance of

  1. multiple pupeteer instances and
  2. running on the same machine and
  3. testing a single application

is highly dependent on the performance of your machine (4 cored , 8 threads , corei7 7700hq)

On my local setup I could not run more than 10 parallel instances and the performance drop was noticeable the more instances I've launched.

My Story

I have faced similar challenge, when I was trying to simulate multiple users using the same application in parallel.

I know: pupeteer (and/or) similar ui-test-automation tools are not good tools for stresstesting your application; or that: there are better tools for that.

Nevertheless, my case was:

  1. Run "user-like" behavior
  2. From the other end of the world
  3. Collect HAR files - that represent network timings of the browser interacting with 10-20 different systems
  4. Analyze the behavior

My approach was - maybe this helps you:

  1. Create a puppeteer test
  2. Enable headless running
  3. Make it triggerable via curl
  4. Dockerize it
  5. Run the docker image on 10 different machines (5-10 dockerized pupeteer tests/machine)
  6. Trigger them all at once via curl

plantuml pupeteer usage scenario

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda