ComeçarComece de graça

Interpreting profiler output

Following the optimization cycle, you've profiled Payflow's RefundCalculator using cProfile. The terminal shows the raw profiler output.

Your task: Use AI to help you understand the profiler output. Copy the output from the terminal, paste it into the AI chat, and ask questions like "What's the main bottleneck?" or "Which function should I optimize first?".

After asking AI whether process_refunds() should be optimized because it has the highest cumulative time, which key insight best explains why that would be ineffective?

Este exercício faz parte do curso

Advanced AI-Assisted Coding for Developers

Ver curso

Exercício interativo prático

Transforme a teoria em ação com um de nossos exercícios interativos

Começar o exercício