From the course: Node.js: Debugging and Performance Tuning

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Why measure performance?

Why measure performance?

From the course: Node.js: Debugging and Performance Tuning

Start my 1-month free trial

Why measure performance?

- Ever hear the phrase the site is slow? It's ambiguous meaning it's open to interpretation and isn't specific enough. How slow? Compared to what? What was going on when it was slow? The right way to approach this type of problem is by measuring performance. Let's explore each of these words and why they're important. To measure is to find the number of some property of a thing using some sort of common standard. How does that apply to the web? Web applications can be measured in a number of different ways. For example the duration of how long it takes to receive a response in seconds. There's also the size of the response in bytes, the number of files requested in the response, and the HTTP response codes that report successes and errors. Response times can be even more granular. For example there's the time until the connection to the remote host is completed. What about the time for all redirections if any? The response time from start to first byte is important especially in the…

Contents