Skip to content

mgrunbauer/VSCode-Python-Resource-Monitor

 
 

Repository files navigation

GitHub Version Published Version Installs Last Updated Donate

Python Resource Monitor

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.

Features

Provides a resource monitor that is opened when debugging Python, including process memory and cpu usage. Automatically launches (or reuses existing tab) upon debugging with Python.

usage

Test program storing strings of random sizes in memory

Uses theme colors

usage2

Customizable

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.

Known Issues and Future Updates

  • Hopefully, this will one day work for many languages and debuggers!
  • Not tested on MacOS.
  • I don't think it will work with the Python multiprocessing module quite yet.
  • Response to mouseover of the graph.

Recent Major Updates

0.1.0

Millisecond-accuracy for CPU usage. When writing the module, tested with Linux.

0.1.3

Native addon build now includes binaries.

0.1.4

Improved flexibility of displays.

0.2.0

Added file IO data.

About

A Visual Studio Code extension for viewing resource consumption of Python programs in the debugger.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 58.6%
  • TypeScript 34.9%
  • HTML 5.9%
  • Python 0.6%