bloomberg / pytest-memray

pytest plugin for easy integration of memray memory profiler
https://pytest-memray.readthedocs.io/en/latest/
Apache License 2.0
323 stars 23 forks source link

Add a new --fail-on-increase option #91

Closed pablogsal closed 8 months ago

pablogsal commented 10 months ago

As requested from some users, add a new --fail-on-increase option that makes the test run fail if the memory usage increases from previous runs in tests marked with "limit_memory".

*Issue number of the reported bug or feature request: #7

Describe your changes A clear and concise description of the changes you have made.

Testing performed Describe the testing you have performed to ensure that the bug has been addressed, or that the new feature works as planned.

Additional context Add any other context about your contribution here.

closes: #7

pablogsal commented 8 months ago

@godlygeek can you review again?