Pergunta de entrevista da empresa Softtek

How would you optimize the performance of a slow-running application?