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

Use PerformanceTiming API to measure response time #55

Closed
yuryu opened this issue Sep 9, 2021 · 2 comments
Closed

Use PerformanceTiming API to measure response time #55

yuryu opened this issue Sep 9, 2021 · 2 comments

Comments

@yuryu
Copy link
Member

yuryu commented Sep 9, 2021

There's a web API to get the exact duration for each http request, which is more accurate than using Date and you can remove DNS lookup times.

https://developer.mozilla.org/en-US/docs/Web/API/Resource_Timing_API/Using_the_Resource_Timing_API

@enocom
Copy link
Member

enocom commented Sep 9, 2021

Very cool. Thanks for idea @yuryu.

@enocom
Copy link
Member

enocom commented Sep 13, 2021

Going to close this as a duplicate of #27.

@enocom enocom closed this as completed Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants