Printing of batchsize + single execution time in Results for Batching
Huber Matthias
Matthias.Huber at novatec-gmbh.de
Thu Jan 7 13:18:28 UTC 2016
Hello,
I do some benchmarking of non-steady-state benchmarks. Therefore, I use the batching mechanism as described in the JMH Samples. The benchmarks will be run with different batch sizes (controlled with -wbs/bs). Afterwards I want to process the results (csv) most likely with R. Right now the CSV output (or outputs in general) do not printout the batchsize nor a time for a single execution (= score(error) / batchsize). I want to have this figures for chart generation in R.
I could include the batchsize into the CSV File name and calculate the single execution time in R. However, I don't like the dependency to the filename. I want to see within the results which batchsize has been used. As I haven't found an option to enable this I have extended the 'XSVResultFormat' to printout these figures in case the Mode SingleShot time with a batchsize > 1 is used.
Is there any other way to easily accomplish the same without extending JMH (preferred way) like using the JMH Java API? If not, I could provide an extension if this is useful in general.
Mit freundlichen Grüßen / Kind Regards
Matthias Huber
Senior Consultant
CA Application Performance Management
NOVATEC // Consulting GmbH
Dieselstraße 18/1 // D-70771 Leinfelden-Echterdingen
phone: +49 711 22040-700
fax: +49 711 22040-899
mobile: +49 170 5682609
e-mail: matthias.huber at novatec-gmbh.de<mailto:vorname.nachname at novatec-gmbh.de>
web: www.novatec-gmbh.de<http://www.novatec-gmbh.de/>
Sitz der Gesellschaft: Waldenbuch // Handelsregister: Stuttgart - HRB 739078
Geschäftsführer: Stefan Bleicher // Hans-Dieter Brenner // Konrad Pfeilsticker // Michael Schuchart
inspectIT // freies Java Performance und Monitoringwerkzeug (www.inspectit.rocks<http://www.inspectit.eu/>)
More information about the jmh-dev
mailing list