Which action is an example of profiling a slow program?
Select one:
Adding caching to speed up repeated calls.
Running cProfile to see which function dominates total runtime.
cProfile
Refactoring code to fewer lines.
Rewriting Python loops in C for speed.
Hint
Profiling measures where time goes, it doesn’t alter behavior.
Sorry! There has been an error processing your answer. Please try again.
Got feedback on this question?