3 ms·
You are operating under the assumption that the performance of an average piece of software is algorithmically limited, this is almost never the case. In averag
by InclinedPlane 14y ago
You are operating under the assumption that the performance of an average piece of software is algorithmically limited, this is almost never the case. In average software the core performance characteristics are typically bound by far simpler issues, such as excessive database queries.
A profiler is not good at speed up an algorithm, but a profiler is THE tool you need to speed up a system, and most optimization in the wild is system optimization, not algorithm optimization.
This particular example is a perfect case study in how excessive focus on computer science can lead you astray in software engineering.