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
0
votes
0 answers
Response timings in web server
I have a webpage which is divided in two parts:
Backend, in PHP 7, LAMP stack. This is just a REST API. No front end templating, only API endpoints
Frontend, in Angular 9.
Both are in the same server, and the API is on a subdomain of the front end…

Nicolas
- 1,320
- 2
- 16
- 28
0
votes
1 answer
In Angular, how to determine Parent component fully render time if it has child components which depend on async http calls to display data on UI?
I have an Angular Parent component with 3 Child components. The Child components can only be fully rendered after we get response from an async API call and am trying to find time taken to completely render (display data on UI) these 3 child…

Teja duggirala
- 63
- 6
0
votes
1 answer
Monitoring Client Side Performance for Sites
I want to monitor the client side performance for a page, and I can get the load time of the page by starting a timer in the beginning of the section and also by getting the time of when the onload event happens. However this does not account for…

anonymous
- 1
- 1
0
votes
0 answers
window.performance.getEntriesByType unit test with jasmine
I have a function in my Angular service that does a "this.window.performance.getEntriesByType('navigation')".
But I can't mock it.
Here is my service.spec.ts :
const mockWindowService = jasmine.createSpyObj('WINDOW_TOKEN', ['performance']);
…

UserRomain1234
- 57
- 3
- 11
0
votes
1 answer
Browser Navigation Timing Level 2 timestamps are sometimes out of order
We are instrumenting pages with Boomerang, including much of the timeline data from Navigation Timing Level 2. Most of the time this all works fine, but for a small percentage of the requests we are instrumenting, we get timestamps that seem…

sgifford
- 53
- 3
0
votes
1 answer
Get Navigation Timing backward/forward compatible - Convert from epoch to HR time
Let's introduce by a note from www.w3.org including two important links to compare.
The PerformanceTiming interface was defined in [NAVIGATION-TIMING] and
is now considered obsolete. The use of names from the
PerformanceTiming interface is…
user985399
0
votes
1 answer
Incorrect values for Navigation Timing API in IE11 for pages with iFrames
While Calculating the server response time by subtracting the requestStart time from responseStart time of the Navigation Timing API, the difference is close to 0 many times on IE11 and this doesn't match with the data from the server side. This…

Itachi
- 61
- 1
- 10
0
votes
2 answers
Can the NavigationTimingAPI be used on asynchronous calls?
I'm currently implementing performance measuring functionality in our project which uses custom elements v1.
The NavigationTimingAPI offers very detailed measuring on different navigation types (navigate, reload, browser back/forward):
Can the same…

connexo
- 53,704
- 14
- 91
- 128
0
votes
1 answer
How to wait for all values in window.performance.timing are defined
Currently I read the values in window.performance.timing within a window.addEventListener('load', function () {...}) function. however in safari there are values like loadEventEnd still being set to 0.
How to delay my call to…

user3498131
- 27
- 7
0
votes
1 answer
ResponseEnd Time in Timing api
I am trying to measure page load performance using timing API. To start with I included below piece of code into body of my html document to check if I am getting all attributes correctly.