Until now, resource and performance monitor extensions in VS Code only displayed current global resource consumption data via lists and text. Likewise, it is very awkward to use third-party tools to find the process you want to monitor.
However, this extension provides an easier, graphical solution that can show data specific to the process being used by the Python debugger! Yeah, so I made this because searching for the right Python process in Task Manager was annoying.
Provides a resource monitor that is opened when debugging Python, including process memory, cpu usage, and file usage. Automatically launches (or reuses existing tab) upon debugging with Python.
Test program storing strings of random sizes in memory
Command | Usage |
---|---|
PyRSM: Length |
Set the maximum log length in milliseconds of the resource monitor. Set to 0 to allow unlimited length (time display will scale). |
PyRSM: Polling Interval |
Set the time between datapoints in milliseconds. |
- Hopefully, this will one day work for many languages and debuggers!
- MacOS tends to allocate an extremely large amount of virtual memory, which can cause memory usage to appear inaccurate.
- Response to mouseover of the graph.