The awesomest kind of performance bug is when you realize it's taking a long time to render an image because you're accidentally rendering it all over again once per pixel in the image . Nothin' like a good ol' O(n 4 ) algorithm.