CmdID

CmdID / Commands

memray

Profile memory usage of a Python application. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Run a Python file and track memory usage

memray run path/to/file.pyIdentify

Run a module and track memory usage

memray run -m module_nameIdentify

Specify an output name

memray run --output path/to/output_file.bin path/to/file.pyIdentify

Display a summary of memory usage

memray summary path/to/file.binIdentify

Generate an HTML flamegraph

memray flamegraph path/to/file.binIdentify