Skip to main content

Memory profiler/limiter for browsers

Project description

Task Status codecov Matrix PyPI

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

browser-memory-monitor-0.0.3.tar.gz (17.7 kB view hashes)

Uploaded Source

Built Distribution

browser_memory_monitor-0.0.3-py3-none-any.whl (13.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page