Friday, April 19, 2024
HomeGolangGet exterior web page TTFP, full load time and so forth -...

Get exterior web page TTFP, full load time and so forth – Getting Assist


Hey guys,

I’ve been looking Google for a few days now with none progress. Hopefully anybody can inform me how I can resolve this downside that I’ve.

I wish to get some metric details about exterior pages i.e. after I hook up with google.com I wish to get:

  1. TTFB time
  2. Full web page load time

Is there any method to get these type of data in Golang? I’m at the moment utilizing http.Consumer and I can measure the response time which is working positive, however what I slightly have is the TTFB and full web page loading time.

Hope somebody can assist me out.

I simply began programming go, however I cam throughout this module: httptrace bundle – internet/http/httptrace – Go Packages

Appears to have the ability to observe how lengthy every of the connection steps take. However ofc no “Full Web page loaded” occasion, as a crawler cannot do that on it’s personal, you’d actually need a browser (headless) to take action professionally.

Golang with http.Consumer, is so far as I do know simply calling this one ressource, not all it’s subressources and likewise not rendering something or working JS.

Possibly: GitHub – go-rod/rod: A Devtools driver for net automation and scraping

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments