Runner API request: custom OutputFormat
Julien Nicoulaud
julien.nicoulaud at gmail.com
Mon Sep 23 09:59:31 PDT 2013
Hi Aleksey,
I plan on writing an IntelliJ IDEA plugin for JMH, so getting results as
they come is what I'm trying to do.
Also, a more general use case is to print results to a logging system such
as SLF4J, and not directly replacing System.out.
2013/9/23 Aleksey Shipilev <aleksey.shipilev at oracle.com>
> Hi Julien,
>
> On 09/21/2013 11:09 PM, Julien Nicoulaud wrote:
> > The last annoyance for me is that one cannot provide its own
> implementation
> > of OutputFormat. It would be as easy as adding a public constructor to
> > Runner that takes the OutputFormat as an argument.
>
> I need to understand the use case better. OutputFormat is only
> convenient to get the online results, i.e. getting the results while the
> benchmark is still running, in order to do pretty printing. (In fact, I
> was considering removing all OutputFormats except for very basic ones).
> After the run is finished it should be easier to traverse the RunResult,
> and extract the data from there. What is the use case you are after?
>
> -Aleksey.
>
More information about the jmh-dev
mailing list