Developer cuts app query time 17x by adding indices, then finds three more bugs via Sentry

A developer building WhyRep, a workout-tracking app that derives coaching verdicts from raw training logs on every read, discovered severe performance issues during a code review on July 25, 2026. Eleven Room database entities had no indices, causing full table scans on the largest table in the schema and pushing session load times to 119.1 ms — a problem that worsened the longer a user stayed active. Adding database indices slashed that figure to 6.8 ms, a 17.4x improvement, while three other bugs were also fixed, including redundant single-row writes and unnecessary full catalog loads on every app launch. After the performance work was complete, the developer integrated Sentry for observability and uncovered three additional previously unknown bugs, including one where Sentry itself had been silently discarding every submitted trace. The project had previously operated with no error reporting or performance monitoring of any kind, leaving issues invisible in production.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in