Simon Willison’s Weblog

profiling. “An interactive continuous Python profiler”. This is really neat—simply run “profiling” to get an interactive, navigable console-based profile inspector at the end of your script... or run “profiling live-profile” to see a live, updating profile of a long-running process. Has options for statistical profiling as well, which has a much lower overhead in exchange for a less accurate view of what is going on.

Tagged ,