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

Record profiling sessions from the command line #17

Closed
eskatos opened this issue Mar 10, 2017 · 5 comments
Closed

Record profiling sessions from the command line #17

eskatos opened this issue Mar 10, 2017 · 5 comments

Comments

@eskatos
Copy link

eskatos commented Mar 10, 2017

It would be awesome if we could invoke VisualVM from the command line to automate the recording of profiling sessions and then open the dump for inspection in the VisualVM UI at a later time.

Would such a feature be possible? What kind of changes would it take?

@mfevzikorkutata
Copy link

Hi,
I am looking for this feature, too. Is it possible to trigger profiling options with below commdan line parameter?

--enable ... Enable modules for specified codebase names

@eskatos
Copy link
Author

eskatos commented Mar 28, 2017

@thurka, @jisedlac, any comment on this?

I have a little bit of experience with Netbeans RCP and I'm willing to look into contributing if that's something you would be interested in and could provide some guidance.

@jisedlac
Copy link
Member

Thanks for the feedback! Since VisualVM is a visual tool, we don't have any plans to provide command line features.

The feature you're requesting could be implemented as a standalone profiling library saving the results into a .nps or .npss file, which can be later opened in VisualVM. A good start for writing the command line profiler could be http://wiki.netbeans.org/FitnessViaCLITimeLine .

@eskatos
Copy link
Author

eskatos commented Mar 28, 2017

Interesting! Thanks, I'll have a look.

@eskatos
Copy link
Author

eskatos commented Mar 28, 2017

Closing as won't fix

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

No branches or pull requests

3 participants