Skip to content

Conversation

@jiminhsieh
Copy link

@jiminhsieh jiminhsieh commented Jul 1, 2017

#108
Origin CLI - jmh:run -prof jmh.extras.JFR -t1 -f 1 -wi 10 -i 20 .TestBenchmark.
With Option - jmh:run -prof jmh.extras.JFR:--dir={dir} -t1 -f 1 -wi 10 -i 20 .TestBenchmark.

@jiminhsieh jiminhsieh changed the title Add option for exporting JFR to specific directory. Add option for exporting JFR to specific directory.#108 Jul 1, 2017
@jiminhsieh jiminhsieh changed the title Add option for exporting JFR to specific directory.#108 Add option for exporting JFR to specific directory. Jul 1, 2017
@jiminhsieh
Copy link
Author

Basically, I tried to follow internal implement of JMH. There is source code of LinuxPerfProfiler.

@ktoso
Copy link
Member

ktoso commented Jul 5, 2017

Looks good, could you add info about how to use it somewhere in the readme perhaps?

@jiminhsieh
Copy link
Author

jiminhsieh commented Jul 5, 2017

Sure, I would try to add info to READM. By the way, I found original source code does work for absolute path, but not relative path(~/{your}/{directory}). When you give relative path like ~/{your}/{directory}, JMH internal util would write to /home/{user}/{project}/{folder}/~/{your}/{directory}. Do you think we should keep current situation or support relative path too with other PR? Thanks!

Copy link
Member

@ktoso ktoso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks :) I'll release tomorrow

@ktoso ktoso merged commit c2e54db into sbt:master Jul 17, 2017
@jiminhsieh jiminhsieh deleted the feature/#108 branch July 18, 2017 04:14
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 this pull request may close these issues.

2 participants