Stream: helpdesk (published)

Topic: Profiling calls to a specific function inside another call


view this post on Zulip Alessandro Cheli (May 12 2021 at 13:44):

Let's say I have a low level function f which I call a LOT of times. I'm testing another high level function g which calls f MANY times. I normally profile g using @profview in VSCode. What if I'd like to:

Any way of doing this "interactive" profiling ?

view this post on Zulip Adam non-jedi Beckmeyer (May 12 2021 at 13:48):

I'm not familiar with vscode, but my understanding is that it has a built-in debugger. What's preventing you from doing profiling from inside the debugger (so long as you run the pieces you're interested in profiling in compiled rather than interpreted mode)?


Last updated: Nov 22 2024 at 04:41 UTC