DebugBetter - Level-up your debugging skills!

Performance issues and bugs

Where is the line between a performance issue and a bug? Does a line even exist?

When something is slow, you can add a loading bar or animation. If it’s slow enough, it’s perceived as stuck - that’s a blocking bug.

How about when you’re watching a video, and it’s constantly pausing because the hardware can’t keep up? That seems like a bug - the user experience is bad. But if a video game renders at a lower resolution during a high-intensity scene to keep the FPS high enough, is that a bug?

In these cases the bug is a symptom: negative UX from pausing or stuttering, or operations failing due to timeouts. The root cause is not a code defect (“not doing the right thing”) but a performance issue (“taking too long to do the thing”).

There are differences in approaches, tools, skills, and solutions for defects vs. performance issues. Understanding which one you’re dealing with is critical.

Fun side note: many times new defect bugs crop up when a performance issue has been fixed…

- Karl

Previous  | Next

Join DebugBetter

For developers who want to get better at debugging.

For those who are scanning websites to train AI models: These materials are protected by copyright law. Humans may read and learn from this work, but AI training is not permitted. Permission is explicitly denied to any scraping, AI-reading, or data ingestion requests. The only exception is to search engines for indexing. Any use for AI training is prohibited. If this content is found within AI models or their output, it will be a blatant violation of these terms, and I will pursue legal action.