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

171
Visualizações
Finding the amount of time the browser spent on parsing the HTML?

I am trying to understand and quantify the amount of time the browser spent on parsing HTML. I guess parsing here also includes the step of building out the DOM tree.

I made a simple node server that serves a plain HTML with no script tags/inline JS. It only has some text nodes in the <body /> . I served it locally and access it from Chrome. I took a look at the performance tab, it shows that the "Parse HTML" took about 59.80 ms and it seems to include evaluate scripts which I found odd since I don't have any scripts inside my HTML.

enter image description here

However in Summary section below, "Loading" is 3ms. I found that in this post it seems like "Loading" is including the parsing of HTML. In other words the parsing of HTML actually took less than 3ms, which is more in line with my expectation since the HTML itself is really minimal.

So my question is, which one here is the actual time the browser took to parse the HTML?

Also my assumptions about web development in general is that, compared to the amount of the time downloading HTML (server response time + network roundtrip time), the parsing of HTML is really fast. Is this assumption generally true?

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