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
Close
Hashes for browser-memory-monitor-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57df935ef8c3914c2d4719ec153d33ff127c80f4297958b0be260be0a85e429a |
|
MD5 | c7cff001a613bc768ec7b96b383972a0 |
|
BLAKE2b-256 | e653c94196377b421ed44b81905c4858f590fc9d2a7c427e33eb6d7a84ef6f6f |
Close
Hashes for browser_memory_monitor-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0e5d7dda4674a26a343e098e77832f9b31daed0c43fabe40a6d6c2f8e7bb5d3 |
|
MD5 | 0bb8a82f523f8f4344b0d9cafcd213b1 |
|
BLAKE2b-256 | fefee5661f31c959df3507770b587dc3cf6ff18dd6fda080daf863172fafa909 |