Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

189
Visualizações
See the call stack or origin from Performance Observer long task entry

I want to use the Performance observer to debug the long tasks. It gives me every registered tong task but I can't find its origin.

I want to know is there a way to see the origin of the task or even the call stack like in the Performance dev tool of chrome.

  const po = new PerformanceObserver(list => {
    for (const entry of list.getEntries()) {
      console.log('long task', entry);
    }
  });

  po.observe({ type: 'longtask', buffered: true });

enter image description here enter image description here

I found a similar question, but the solution is not satisfying for me, because I want to know is there a way to achieve this without marks

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda