Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

344
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!