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

217
Visualizações
What actions are React's browser profiler dev tools actually measuring?

React's "render" performance can be broken up into three steps:

  1. recursively call render() methods (or hook-style functions), generating a virtual dom structure that will replace whatever is already there
  2. use "reconciliation" to compare this new virtual dom with the existing dom, and generate a list of dom modifications that it can batch together
  3. execute that dom modification list against the browser. This last step is the only "IO" in this process, calling out to the browser, forcing reflows / repaints etc

When you profile an action using the React Dev tools, you can see the number of ms a specific component took to "render".

What is that actually measuring?

Is it just 1.? Is it 1. and the amount of 2. and 3. that occurred because of that component?

If it's the latter, how do you work out what the split between them is? If it's the former (which I suspect to be true) how do you work out the true cost factoring in 2. and 3.?

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