Network performance analysis

We are going to start by analyzing network performance. Not so long ago, to be able to analyze the network performance of an application, we would have to write a small network logging application from scratch. Fortunately, today, things are much easier thanks to the arrival of the performance timing API.

The performance timing API allows us to access detailed network timing data for each loaded resource. You can learn more about it at http://www.w3.org/TR/resource-timing/.

The following diagram illustrates the network timing data points that the API provides:

network timing data points

We can access the performance ...

Get Learning TypeScript 2.x - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.