This is a submission for DEV's Summer Bug Smash: Clear the Lineup powered by Sentry.
Not fifteen tables. Fifteen numbers. Four stat tiles, three donut slices, six bars, and a list of four recent invoices.
Seven and a half seconds, on the page my clients land on after login.
It had been doing this for months and I never noticed, because my development database held four invoices. On four invoices it takes 111 ms and feels instant. This bug only existed at a volume I never had locally, which is the most dangerous kind there is, because it ships and then it waits.
Here's how Sentry found it, what was actually broken (three separate things), and the numbers afterwards.






