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 current_thread_only to all markers #117

Closed pablogsal closed 2 months ago

pablogsal commented 2 months ago

Add a new "current_thread_only" keyword to the "limit_memory" and "limit_leaks" markers to ignore all allocations made in threads other than the one running the test.

Closes: #111