Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking "blocking time" #121

Closed
Aardvark71 opened this issue Feb 3, 2017 · 3 comments
Closed

Tracking "blocking time" #121

Aardvark71 opened this issue Feb 3, 2017 · 3 comments

Comments

@Aardvark71
Copy link

We have recently implemented a basic boomerang implementation (only rt plugin included) and noted that our production website experiences issues with "blocking time"
(as seen in chrome devtools... this "blocking time" is "the time the request spent waiting for an already established connection to become available").

This "blocking time" is not recorded by our boomerang implementation (I mean, all measurements seem to start from the start of the network request only).

Is there any means that we can measure this "blocking time"?

@nicjansma
Copy link

Hi @Aardvark71, are you talking about timings for the root page (e.g. NavigationTiming), or for resources on the page (ResourceTiming)?

The rt plugin only reports on time for the root page, which I wouldn't expect to be blocking waiting on a connection (as navigations generally trump all other fetches).

If you enable the restiming and navtiming plugins, you'll get the a Waterfall of resources (restiming=) and timings from NavigationTiming (nt_*=). Based on the timestamps captured in either, you could calculate Blocking Time (see Blocking Time in http://nicj.net/resourcetiming-in-practice/ for how we do it)

@nicjansma
Copy link

Please let us know if this is still an issue.

@Aardvark71
Copy link
Author

Way too late for this, but still wanted you to know: BIG THANKS for your answer !

Especially the link to your blog article explaining it all in depth was a big help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants