Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support --follow-fork #448

Closed
1 task done
slannez-fico opened this issue Sep 5, 2023 · 1 comment
Closed
1 task done

Support --follow-fork #448

slannez-fico opened this issue Sep 5, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@slannez-fico
Copy link

Is there an existing proposal for this?

  • I have searched the existing proposals

Is your feature request related to a problem?

I have an issue when I want to profile memory consumption over programs based on multiprocessing.

Describe the solution you'd like

I would love if the plugin could accept a "--follow-fork" argument like "memray run"

Alternatives you considered

Using "with memray.Tracker(file_name=..., follow_fork=True)" in the instrumented app, but that kind of defeat the purpose of using a general purpose pytest plugin...

@slannez-fico slannez-fico added the enhancement New feature or request label Sep 5, 2023
@pablogsal
Copy link
Member

Duplicate of bloomberg/pytest-memray#89

@pablogsal pablogsal marked this as a duplicate of bloomberg/pytest-memray#89 Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants