Small improvement: print benchmark name after "# Fork: ..."

Dmitry Cherniachenko 2sabio at gmail.com
Thu Sep 7 11:39:27 UTC 2017


Hi,

A line with

# Benchmark: MyBenchmark.testBenchmark

is scrolled off the screen after 2-3 "forks". And one has to scroll back to
find it. Keeping an eye not to scroll too far.

But I see your point.
I guess you won't like the following idea either?

# Benchmark: MyBenchmark.testBenchmark
# Fork: 3 of 10


--
With kind regards,
Dmitry



On Thu, Sep 7, 2017 at 1:00 PM, Aleksey Shipilev <shade at redhat.com> wrote:

> On 09/04/2017 04:24 PM, Dmitry Cherniachenko wrote:
> > JMH could print a benchmark name after the fork number, like this:
> >
> > # Fork: 3 of 10 for MyBenchmark.testBenchmark
>
> Sorry, but we strive to get one piece of data per line. There should be
> the line:
>
> # Benchmark: MyBenchmark.testBenchmark
>
> ...before the fork block, which should be enough to track progress.
>
> Thanks,
> -Aleksey
>
>


More information about the jmh-dev mailing list