Configuration#

This plugin provides a clean minimal set of command line options that are added to pytest. The complete list of command line options is:

--memray

Activate memray tracking.

--most-allocations=MOST_ALLOCATIONS

Show the N tests that allocate most memory (N=0 for all).

--hide-memray-summary

Hide the memray summary at the end of the execution.

--memray-bin-path

Path where to write the memray binary dumps (by default a temporary folder).

--memray-bin-prefix

Prefix to use for the binary dump (by default a random UUID4 hex)

memray(bool)

Activate memray tracking.

most-allocations(string)

Show the N tests that allocate most memory (N=0 for all).

hide_memray_summary(bool)

Hide the memray summary at the end of the execution.