|
|
|
|
|
by kragen
27 days ago
|
|
> I believe many of the optimizations are premature. If you did not spot the problem in your QA testing, chances are it was not that important in the first place. QA testing can't find missed optimization opportunities unless the performance is absolutely abysmal. Even then, it can't distinguish abysmal performance due to missing easy optimization opportunities from abysmal performance that's going to require you to sacrifice functionality. If an app performs well because it caches the result of a slow function, it's going to pass QA just fine. If optimizing that slow function would make it fast, you can drop the cache and have a simpler and more robust app — but QA can never tell you that. |
|
Is having a simpler and more robust implementation worth the time to review, understand, and improve it? I'd put that at easily 5-10x the effort.
If in the future performance was found inadequate, you could still have the agent revisit the slow function.
That's what I mean with the optimization being premature.