2 ms·
We have performance memes because profiling is hard and we're often unable to get a hint beyond our intuition. People like to act like you just open a profiler
by always_good 9y ago
We have performance memes because profiling is hard and we're often unable to get a hint beyond our intuition.
People like to act like you just open a profiler and see actionable data every time, but that's under ideal circumstances. In a busy application, you're more likely getting nickel and dimed by more subtle things. And your flame graphs stacked with React/library internals that don't point to a single problem in your code. And you have to have the skills to recognize and verify small performance gains when you do have them.
If that stuff doesn't line up, then you're stuck with little more than superstition and hoping other people's solutions generalize over your
problems.