Your question is Refactoring for Performance. 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).
Explain a time you had to refactor a legacy system to improve its performance.
Describe the original performance problem, how you identified its root cause, and how you planned the work without disrupting users or dependent teams. Explain the trade-offs you made, how you validated the improvement, and what you would do differently.