-
-
Notifications
You must be signed in to change notification settings - Fork 141
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
DNS and Connect timings #477
Comments
@gnublin, phantomas does not provide this information at the moment. We're blocked on ariya/phantomjs#10245 |
SlimerJS and PhantomJS 2.0 support Resource Timing API which exposes information such as connection and DNS lookup times. |
Introduce
// Navigation Timing
var t = performance.timing,
pageloadtime = t.loadEventStart - t.navigationStart,
dns = t.domainLookupEnd - t.domainLookupStart,
tcp = t.connectEnd - t.connectStart,
ttfb = t.responseStart - t.navigationStart; http://www.stevesouders.com/blog/2014/08/21/resource-timing-practical-tips/ |
Implemented (see #567), however I get strange results in both SlimerJS and PhantomJS 2.0. Times for DNS and HTTP connection are always zero and page load time is pretty small compared to the values of the other metrics.
|
Hello,
Do you have an option to get DNS and Connect time ? (like performance.timing value)
Regards,
Gnublin.
The text was updated successfully, but these errors were encountered: