Skip to content

Commit 6ac6607

Browse files
committed
Prepare for release
1 parent a3cc955 commit 6ac6607

File tree

6 files changed

+36
-30
lines changed

6 files changed

+36
-30
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Change Log
2+
3+
All notable changes to the Python Resource Monitor extension will be documented in this file.
4+
5+
## 0.0.1 - Alpha
6+
7+
- Initial release

README.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Python Resource Monitor
2+
3+
## Features
4+
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.
5+
6+
![usage](images/usage.gif)
7+
8+
*Test program storing strings of random sizes in memory*
9+
10+
| Command | Usage |
11+
| ------- | ----- |
12+
| `PyRSM: Length` | Set the maximum log length in milliseconds of the resource monitor. Set to `0` to allow unlimited length (time display will scale). |
13+
| `PyRSM: Polling Interval` | Set the time between datapoints in milliseconds. |
14+
15+
## Known Issues and Future Updates
16+
17+
- CPU time has low resolution, and only shows data when a second of cpu time has been used due to `tasklist`'s smallest resolution being one second.
18+
- Hopefully, this will one day work for many languages and debuggers!
19+
- Not tested on Linux or MacOS.
20+
- I don't think it will work with the Python multiprocessing module quite yet.
21+
22+
### 0.0.1
23+
First Release! All the basics seem to work.

badlogo.svg

-13
This file was deleted.

images/usage.gif

2.04 MB
Loading

package.json

+6-4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"displayName": "Python Resource Monitor",
44
"description": "Resource monitor for Python debugging",
55
"version": "0.0.1",
6+
"publisher": "kaih2o",
7+
"repository": "https://github.com/2kai2kai2/VSCode-Python-Resource-Monitor",
8+
"extensionDependencies": ["vscode.python"],
69
"engines": {
710
"vscode": "^1.56.0"
811
},
@@ -19,11 +22,11 @@
1922
"commands": [
2023
{
2124
"command": "python-resource-monitor.rsmInterval",
22-
"title": "Resource Monitor Polling Interval"
25+
"title": "PyRSM: Polling Interval"
2326
},
2427
{
25-
"command": "python-resource-monitor.rsmLength",
26-
"title": "Resource Monitor Length"
28+
"command": "python-resource-monitor.rsmLength",
29+
"title": "PyRSM: Length"
2730
}
2831
]
2932
},
@@ -39,7 +42,6 @@
3942
"@types/glob": "^7.1.3",
4043
"@types/mocha": "^8.0.4",
4144
"@types/node": "^12.11.7",
42-
"@types/ps-node": "^0.1.0",
4345
"@types/vscode": "^1.56.0",
4446
"@typescript-eslint/eslint-plugin": "^4.14.1",
4547
"@typescript-eslint/parser": "^4.14.1",

webview/badlogo.svg

-13
This file was deleted.

0 commit comments

Comments
 (0)