Raw data output
Petr Stefan
ptr.stef at gmail.com
Tue Jun 21 15:02:04 UTC 2016
Hi,
I'm student of Mathematics and Physics Faculty, Charles University in
Prague. I'm now working at Department of Distributed and Dependable
Systems under the supervision of Petr Tuma, Lubomir Bulej and Vojtech
Horky. We'd like to use JMH tool for collecting benchmarking data and
use them for processing in our custom tools (like standalone part of SPL
- http://d3s.mff.cuni.cz/research/development_awareness/). But now, JMH
doesn't support collecting very raw data (rawData list from JSON output
holds just mean from each iteration - except SingleShot benchmarking
mode where the mean is the actual value). But we found out, that
Statistics class (all it's implementations) has the raw data inside, so
we propose a patch, which adds a getter for this data. The raw data
aren't ordered by creation time, but that shouldn't be a problem for our
purpose and fixing this will require bigger changes in JMH itself.
On top of that, we propose second patch with a new file printer for
collected raw values. It prints some common headers and then just the
raw data with corresponding units. We chosen JSON format without pretty
indentation, which is compromise between file size (we expect large
amount of values) and human readability. The headers are at the same
format as headers in current JSON printer.
Please look at proposed changes and give me a feedback. We're open to
changes and improvements.
Cheers,
Petr Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: New_formatter_for_raw_data_output_.patch
Type: text/x-patch
Size: 18611 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/jmh-dev/attachments/20160621/4012d51d/New_formatter_for_raw_data_output_-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Support_for_getting_raw_data_out_of_Statistics_.patch
Type: text/x-patch
Size: 10709 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/jmh-dev/attachments/20160621/4012d51d/Support_for_getting_raw_data_out_of_Statistics_-0001.patch>
More information about the jmh-dev
mailing list