Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: