py-spy is a sampling profiler for Python programs. It lets you visualize what your Python program is spending time on without restarting the program or modifying the code in any way. py-spy is ...
VS Code might be what you're used to, but there's a lot more to see when it comes to code editors. Here's a few options.