Your question is Production Code Bottleneck Optimization. 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 had to optimize a piece of code that was causing a bottleneck in a production environment.
Explain how you identified the root cause, evaluated optimization options, and balanced performance improvements against delivery risk. Include how you coordinated the change, validated it, and monitored the production outcome.