3 ms·
Don’t forget to implement real user metrics like Sentry. I add in timing checks for critical features that log out to my analytics and have a regular habit of a
by iamleppert 5y ago
Don’t forget to implement real user metrics like Sentry. I add in timing checks for critical features that log out to my analytics and have a regular habit of analyzing the data.
Your user base greatly influences what kind of performance optimization you should be doing. In some cases it’s worth it, but if your primary user has a fast machine, it’s generally not worth it. Reminds me of the time when I had a project manager who insisted on optimizing page load time for a heavy mapping application.
And if your app is a simple shopping cart or a few forms, you probably don’t need a JavaScript frontend framework. I can’t tell you how many times I’ve removed all the unnecessary React and Vue and increased performance by at least an order of magnitude.