Company
Date Published
Author
Joe Malatesta
Word count
1701
Language
English
Hacker News points
None

Summary

This article discusses the importance of identifying and fixing slow page loads caused by slow backends, and how using Sentry can help developers debug performance issues. The author shares their experience with a dynamic website that experiences slow load times due to navigating through multiple routes, each dynamically rendering a custom Pokemon-like card for a user based on their in-game scores. They use Sentry's User Feedback & Session Replay features to identify the issue, and then utilize Tracing to track the performance of their code and pinpoint the problem. The author finds that making unnecessary requests over and over again is causing the slow load times, and by running requests in parallel instead of series, they are able to significantly improve the page load speed. They also discuss how promise streaming can further improve performance by allowing pages to render before all requests have finished.