pytest-memray icon indicating copy to clipboard operation
pytest-memray copied to clipboard

pytest plugin for easy integration of memray memory profiler

Results 33 pytest-memray issues
Sort by recently updated
recently updated
newest added

Blocked on https://github.com/bloomberg/memray/issues/170, which is blocked on https://github.com/bloomberg/memray/pull/138

## Feature Request Pytest can discover and run unittests but pytest-memray does not work on these. An example: https://github.com/ChaoticRoman/pytest-monitor-example/tree/memray-example There is an exactly same issue with alternative pytest memory profiler...

enhancement
help wanted

Handle parametrized tests requiring differing memory limits. Currently, these tests need to be duplicated but we could use a fixture to apply dynamic memory limit or allow limit memory to...

enhancement
help wanted

## Feature Request Perhaps it will be useful if you can compare if tests are not using more memory after new changes.

enhancement
help wanted

When profiling a service that generates logs pytest by default automatically collects all log records. This makes the memory profile not true to real life as all log lines are...

documentation
good first issue
help wanted

## Bug Report **Current Behavior** The plugin produces an empty output when running tests with [pytest-xdist](https://github.com/pytest-dev/pytest-xdist). **Input Code** ```python a = [] def something(): for i in range(10_000): a.append(i) def...

bug
help wanted

This should probably be documented both in the documentation and in the report that gets printed out.

documentation
good first issue
help wanted

## Feature Request I've got some scripts using memray that run some critical code 100,000 times, I use this in the following way: ```console mkdir -p .profiles PYTHONMALLOC=malloc memray run...

Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.8.12 to 1.8.14. Release notes Sourced from pypa/gh-action-pypi-publish's releases. v1.8.14 🛠️ Internal Dependencies Nothing changed feature-wise. The only notable update is that the underlying container runtime now...

dependencies

## Feature Request Currently `limit_memory` will count the allocations made in other threads (if I understood it right). I want an option to count only the memory allocations made on...