Memory profiler/limiter for browsers
Project description
Browser Memory Monitor is a Python tool to track and limit the amount of memory used by a subprocess such as a browser under test.
usage: bmm [-h] [--force] [--format {mprof,csv}] [--interval INTERVAL] [--limit LIMIT] [--pre-interval PRE_INTERVAL] [--time-limit TIME_LIMIT] [--verbose] [--version] browser data command [...]
Memory profiler/limiter for browsers
positional arguments:
browser Browser process name to monitor (eg. 'firefox')
data Profiling data output filename
command [...] Command (and args) to execute as a subprocess
options:
-h, --help show this help message and exit
--force, -f Overwrite existing data output file.
--format {mprof,csv}, -F {mprof,csv}
Output format (choices: mprof, csv, default: mprof)
--interval INTERVAL, -T INTERVAL
Memory profiling interval (default: 0.1)
--limit LIMIT, -m LIMIT
Memory limit in MiB (0 for no limit, default: 12288)
--pre-interval PRE_INTERVAL, -P PRE_INTERVAL
Process start interval (default: 0.01)
--time-limit TIME_LIMIT, -t TIME_LIMIT
Maximum time to run (in seconds, 0 for no limit, default: 0)
--verbose, -v Enable verbose logging
--version, -V Show version number
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file browser-memory-monitor-0.0.3.tar.gz
.
File metadata
- Download URL: browser-memory-monitor-0.0.3.tar.gz
- Upload date:
- Size: 17.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57df935ef8c3914c2d4719ec153d33ff127c80f4297958b0be260be0a85e429a |
|
MD5 | c7cff001a613bc768ec7b96b383972a0 |
|
BLAKE2b-256 | e653c94196377b421ed44b81905c4858f590fc9d2a7c427e33eb6d7a84ef6f6f |
File details
Details for the file browser_memory_monitor-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: browser_memory_monitor-0.0.3-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0e5d7dda4674a26a343e098e77832f9b31daed0c43fabe40a6d6c2f8e7bb5d3 |
|
MD5 | 0bb8a82f523f8f4344b0d9cafcd213b1 |
|
BLAKE2b-256 | fefee5661f31c959df3507770b587dc3cf6ff18dd6fda080daf863172fafa909 |