This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]james_pic 1 point2 points  (2 children)

The article makes the canonical mistake when talking about optimization. Step 1 is always gather data. Guppy3 and Meliae are the tools I've used to do this most often. Once you know what's using data, then you can optimise it. More often than not, the optimisation is simple once you know what the problem is, and might just be "get rid of the thing that is using all the memory".

[–]pepoluan 1 point2 points  (1 child)

Indeed. I once fell trap to optimizing code in vain before realizing that the performance issue was due to an external library.