The user function to be decorated. Defaults to None.
native_traces
bool
trace_python_allocators
bool
follow_fork
bool
memory_interval_ms
int
How many milliseconds to wait between sending periodic resident set size updates. By default, every 10 milliseconds a record is written that contains the current timestamp and the total number of bytes of virtual memory allocated by the process. These records are used to create the graph of memory usage over time that appears at the top of the flame graph, for instance. This parameter lets you adjust the frequency between updates, though you shouldn’t need to change it.
memray_html_reporter
str
The name of the memray reporter which generates an html report. Today there is only ‘flamegraph’ & ’table’.
memray_reporter_args
typing.Optional[typing.List[str]]
A list of arguments to pass to the reporter commands. See the
flamegraph and
table docs for details on supported arguments.