3 ms·
Ask HN: How do I go about optimizing a codebase?
Say I wanted to improve the performance of a large codebase such as a compiler, runtime, web server, etc.
How do you do this? I guess you can profile it but there’s so much information that the profiler gives and I usually don’t know where to look. How do you know where to look? Are there any books, blogposts that are good to start learning how to do this?
- aeolianmad 4y agoWhat type of code base is it? Perhaps we can offer recommeded profiling tools for a particular stack. What are you looking to optimize and how did you identify it? Was it perceptual or something you measured?
- hahnchen 4y agoInterested in C/C++ codebases. I want to be able to take slow programs and identify where they’re slowing down and how to make them faster at those points