The Navigation Timing API provides data that can be used to measure the performance of a website. There are many measured events given in milliseconds that can be accessed through the window.performance.timing object.
Questions tagged [navigation-timing-api]
52 questions
2
votes
3 answers
Erroneous values in WebTiming API
I am using the new webTiming API exposed through Chrome and IE 9 specified in the new W3C spec.
For some reason I am getting the loadEventEnd as 0. This is restricting me from calculating the real load time.
Here’s the output and…

Cherian
- 19,107
- 12
- 55
- 69
2
votes
1 answer
Deprecated domLoading is removed! What to use instead?
The domLoading time represents the very beginning of the browser processing a document.
But the domLoading attribute is removed from Timing API: performance.getEntriesByType("navigation")[0].domLoading == undefined
I found a motivation from 17 Sep…
user985399
2
votes
0 answers
Why are connectEnd and connectStart equal for documents loaded in an iframe?
I'm using the Navigation Timing API to gather some basic network performance measurements like so:
From a page in Domain A, insert an iframe into the DOM which downloads another page in Domain B, applying a lengthy random query string to the Domain…

Jacob Wan
- 2,521
- 25
- 19
1
vote
1 answer
window.performance.timing deprecated
I want to monitor the performance of my application.
For that I discovered window.performance.timing.
It works well but the function is deprecated.
So I replaced it with this.window.performance.getEntriesByType('navigation'); but I don't have the…

UserRomain1234
- 57
- 3
- 11
1
vote
0 answers
High Web Unload time -does it affect Time To First Byte metric?
We have a Production monitoring system which gives stats on Web Navigation and Resource Timings as indicated by W3C standards. A sample reference for stats is given…

Chaitanya Pinnamraju
- 21
- 3
1
vote
0 answers
My React Native Animation Duration Isn't Working
I have an animation in my login screen which is supposed to slide down the buttons when the sign in button is clicked and slide up the email and password input boxes at the same time, i have a duration of 2000 milliseconds but the positions change…

Peter Snee
- 129
- 1
- 11
1
vote
1 answer
Why is first paint happening before HTML starts downloading?
I'm collecting data using the Navigation Timing API.
Specifically, these four metrics:
// Time spent during redirection
var redirectTime = performance.timing.redirectEnd - performance.timing.redirectStart;
// DNS query time
var lookupDomainTime =…

crenshaw-dev
- 7,504
- 3
- 45
- 81
1
vote
1 answer
How to measure requests (XHR) duration in AngularJS?
I'm trying to implement an interceptor for AngularJS (1.5.x), which can measure each api calls and send the duration of each of them to the Google Analytics.
I've started with a dummy implementation of this, using just new…

mrzepinski
- 419
- 2
- 8
- 21
1
vote
0 answers
Different values in navigation timing api and chrome developer tools
I'v found a sample on google developers that explains how to use navigation timing api to measure dom ready time for example. The problem is that the resulting values are very different about those values that shows in the chrome developer tools. In…

Mike
- 11
- 4
1
vote
1 answer
How can I receive a data such as dns lookup time, page load time and other on node js?
I want to receive the next data of web page:
dns lookup time
page load time (before an event 'onLoad')
TTFB
total time (dns lookup time + page load time)
How can I do this on a node js?

jonua
- 1,915
- 3
- 17
- 27
1
vote
1 answer
Find the page load time of external URLs
Is there a way to find the page load time for external URLs?
My task is to compile a table of page load times for a list of URLs. I have read about the navigation timing API but could not find a way to find the page load time for an external URL…

Radhika B
- 31
- 1
1
vote
0 answers
performance.timing.loadEventEnd set to 0 when using JSONP
I want to count the time taken for page load once the page is received from the server, so I use the remainder of loadEventEnd and responseEnd.
But in my code I also use JSONP technology, and when I use "get function getJson()" the loadEventEnd…

Cichy
- 4,602
- 3
- 23
- 28
1
vote
1 answer
When Is redirectStart populated in NavigationTiming object?
I'm using the NavigationTiming object to monitor performance of my website.
According to the W3C document on the redirectStart property of the NavigationTiming object:
If there are HTTP redirects or equivalent when navigating and if all the…

matt freake
- 4,877
- 4
- 27
- 56
1
vote
1 answer
Navigation Timing API domInteractive fired before responseEnd (dom interactive fired before response end)
According to the Navigation Timing API documentation, DOM Interactive is triggered when the whole document is parsed. ResponseEnd is triggered when the last byte of the response is received. Looking at our real world data (visitors to my site) I saw…

user2368119
- 41
- 2
1
vote
1 answer
HTML5 Navigation Timing API with dynamic content
I would like to know if dynamic content has any effect on the timing values like loadEnd etc. For example, I conditionally change 'src' attribute of an image in my code using jquery, after loading the page. How is this handled? I tried testing it by…

user1355348
- 159
- 2
- 4