Ask HN: How do I go about optimizing a codebase?
2 comments
What 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?
Interested 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
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?