What makes large things slow is not the individual pieces of code but the way the architecture dynamically reacts to changes in the load. Sync vs async calls, buffers, parallel vs sequential processing. This includes optimizations made: do we want to wait until the call returns or do we proceed anyway and deal with the negative response later? Most developers can’t coherently (ie, with math, graphs and figures) explain, how a connection pool prevents undesirable consequences of brief spikes in incoming requests. And I’m pretty sure AI can’t either.
Can you explain that? I don't think you can explain it either.
It can in general: https://chatgpt.com/share/6a893693-51a8-83ed-86f9-66a1f83cb1...
Whether it can apply it directly from the codebase, I’m unsure and depends on many factors.