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 out Google for a few days now with none progress. Hopefully anybody can inform me how I can remedy this drawback that I’ve.

I want to get some metric details about exterior pages i.e. after I connect with google.com I want to get:

  1. TTFB time
  2. Full web page load time

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

Hope somebody will help 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.Shopper, 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.

Perhaps: GitHub – go-rod/rod: A Devtools driver for internet automation and scraping

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments