News for hackers. Stuff that matters.
Re:Why NetNewsWire Is Fast by nine_k on Saturday May 23, 2020 @08:35PM (#23288011)
No optimization is worth the effort before profiling.

If they found out that these operations are responsible for long enough delays, or high enough energy consumption spikes, it would make all the sense to optimize them.

Re:Why NetNewsWire Is Fast by jonstewart on Saturday May 23, 2020 @09:29PM (#23288271)
Profiling is good at telling you which parts of your code account for most of the program’s runtime, but that’s it. It can’t tell you whether the performance is reasonable relative to the work done, or whether a totally different approach is necessary. Writing fast code goes well beyond using profilers, in keeping with the article’s thesis.
Re:Why NetNewsWire Is Fast by nine_k on Sunday May 24, 2020 @01:10PM (#23292918)
Assume you locate a part of code which is 10x as slow as it could be. You make it 10x faster; great!

But that part only took 1% of the total perceived processing delay, so the user sees a whooping 0.9% improvement.

Re:Why NetNewsWire Is Fast by vnorilo on Sunday May 24, 2020 @02:30AM (#23289608)
However, you need to have a big picture view or potential optimizations when you architect. The profiler can't save you from slow architecture.