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

Feature request: ability to profile commands #113

Closed
fatkodima opened this issue Dec 30, 2023 · 1 comment · Fixed by #116
Closed

Feature request: ability to profile commands #113

fatkodima opened this issue Dec 30, 2023 · 1 comment · Fixed by #116

Comments

@fatkodima
Copy link
Contributor

Currently, CLI is able to profile only single ruby files via memory-profiler ruby_file.rb (we pass a file name and the gem loads it and profiles the memory).
It will be very convenient to be able to profile whole commands/processes, like rspec, rails etc via something like
memory-profiler run ...gem options... -- rails test ...command options....

The interface will like the one added for stackprof (tmm1/stackprof#187).

If this is OK, I can open a PR.

@SamSaffron
Copy link
Owner

seems fine to me , sure give it a shot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants