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

345
Vistas
Failed to execute 'measure' on 'Performance': The mark '<yourMarkName>' does not exist

I want to measure the duration of my async operation and I'm setting marks for that. The first mark I set before the async operation start and the end mark with measure I set in the callback of async operation like this:

performance.mark('async start');
someAsyncFunction(function callback() {
   performance.mark('async end');
   performance.measure('async operation', 'async start', 'async end');
});

But it gives me this error:

Unhandled Rejection (SyntaxError): Failed to execute 'measure' on 'Performance': The mark 'async start' does not exist.

I tried to find a similar answer but didn't find anything about it.

about 4 years ago · Juan Pablo Isaza
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