2 ms·
I've consistently found that I see performance issues that the AI misses. It often says "that's not going to be what improves performance, it's noise" and then
by insanitybit 2mo ago
I've consistently found that I see performance issues that the AI misses. It often says "that's not going to be what improves performance, it's noise" and then I get it to do it and it's like a global 30% throughput win lol. I think a lot of performance guidance it'll be trained on is shit - I see devs consistently misunderstand performance too and downplay the impact of anything other than "IO".
- CuriouslyC 2mo agoJust give them a profiler. They drill down just like a human would and test stuff and validate. It works great.
- bluGill 2mo agoAnd without a profiler they do about as bad as humans: spending a lot of time optimizing code that is rarely used (and then often with small n)
- insanitybit 2mo agoProfiling is awesome, I do that. But it's also way slower. Like, 1000000% I'm with you, that's the right way. But I've seen huge gains just from reducing allocations and changing hash algorithms.