Your question is Optimizing a Performance Bottleneck. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Describe a time you encountered a performance bottleneck and how you optimized it.
Explain the system context, how you measured and localized the bottleneck, which options you considered, and how you validated the improvement. Focus on concrete engineering decisions, tradeoffs, and any effects on reliability, model quality, cost, or maintainability.