-
Notifications
You must be signed in to change notification settings - Fork 60
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
How to use JMX plugin #238
Comments
Hello, if you download the main JAR and the JMX plugin JAR from the 0.11.0 release, following command should work. java \
-jar renaissance-gpl-0.11.0.jar \
--plugin 'plugin-jmxtimers-assembly-0.0.2.jar!org.renaissance.plugins.jmxtimers.Main' \
--json data.json \
--csv data.csv \
scrabble Then the CSV would contain something like this:
and in the JSON there would be the following fragment.
And I see that we really do not have such example in README.md. I will add it there ASAP. |
Great,
Thank you!
Is it possible to export other JMX metrics also?
…On Thu, 4 Mar 2021 at 14:12, Vojtech Horky ***@***.***> wrote:
Hello,
if you download the main JAR and the JMX plugin JAR from the 0.11.0
release
<https://github.com/renaissance-benchmarks/renaissance/releases/tag/v0.11.0>,
following command should work.
java \
-jar renaissance-gpl-0.11.0.jar \
--plugin 'plugin-jmxtimers-assembly-0.0.2.jar!org.renaissance.plugins.jmxtimers.Main' \
--json data.json \
--csv data.csv \
scrabble
Then the CSV would contain something like this:
benchmark,duration_ns,jmx_timers_compilation_time_ms,jmx_timers_compilation_total_ms,uptime_ns,vm_start_unix_ms
scrabble,1585955295,2167,3430,1702712827,1614863148161
scrabble,952939770,8,3708,3456193364,1614863148161
scrabble,924849168,113,4070,4533845480,1614863148161
...
and in the JSON there would be the following fragment.
{
"benchmarks": ["scrabble"],
"format_version": 5,
"data": {
"scrabble": {
"results": [{
"duration_ns": 1585955295,
"jmx_timers_compilation_time_ms": 2167,
"jmx_timers_compilation_total_ms": 3430,
"uptime_ns": 1702712827
}, {
"duration_ns": 952939770,
"jmx_timers_compilation_time_ms": 8,
"jmx_timers_compilation_total_ms": 3708,
"uptime_ns": 3456193364
},
...
And I see that we really do not have such example in README.md. I will add
it there ASAP.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#238 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADUHJFOXICYXRWOMV3VIF6DTB6BLRANCNFSM4YQ4J5ZA>
.
|
At the moment, only In which metrics would you be interested? |
Memory and CPU usage for example |
Hi,
I see that as part of the new release, it is possible to gather and report JMX metrics within the benchmark.
This can be very handy, however, I couldn't find any example about how to use them. I tried using the various command line options with no luck.
Could you kindly provide a working example?
Thank you!
The text was updated successfully, but these errors were encountered: