You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by 陈梓立 <wa...@gmail.com> on 2018/07/17 23:34:19 UTC

What is the way to prove performance improvement?

Hi all,

Recently I pull 3 PRs about performance improvements[1][2][3]. Unit tests
will verify their correctness, and in the real scenario, we have benchmark
report to confirm that they do help for performance.

I wonder what is the formal way to verify a performance improvement. Is it
to give out a benchmark report, or run a standard benchmark, or add
performance test(I don't know how to do it), or anything else.

Looking forward for your reply.

Best,
tison.

[1] https://github.com/apache/flink/pull/6339
[2] https://github.com/apache/flink/pull/6345
[3] https://github.com/apache/flink/pull/6353

Re: What is the way to prove performance improvement?

Posted by 陈梓立 <wa...@gmail.com>.
Hi Piotrek,

Thanks for your reply! These improvements are inspired by some batch table
tasks outside flink/master. Let me take a look at that you link to and see
if I could define proper benchmark.

Best,
tison.

Piotr Nowojski <pi...@data-artisans.com> 于2018年7月18日周三 下午4:45写道:

> Hi,
>
> There is a some small set of benchmarks defined in
> https://github.com/dataArtisans/flink-benchmarks <
> https://github.com/dataArtisans/flink-benchmarks> , however their scope
> is limited and after briefly looking at your PRs, I wouldn’t expect them to
> cover your cases. However if you could define there some jmh micro
> benchmark to cover your cases that would be nice. It would be a shame if
> someone would accidentally revert/brake your improvements in the future.
>
> Piotrek
>
> > On 18 Jul 2018, at 08:52, 陈梓立 <wa...@gmail.com> wrote:
> >
> > Hi Till,
> >
> > Thanks for your reply! I will try to add ones later.
> >
> > Best,
> > tison.
> >
> > Till Rohrmann <tr...@apache.org> 于2018年7月18日周三 下午2:48写道:
> >
> >> Hi Tison,
> >>
> >> at the moment there is formal way to verify performance improvements.
> What
> >> you can do is to provide your measurements by adding the graphs to the
> PR
> >> thread and specify the setup. Then others could try to verify these
> numbers
> >> by running their own benchmark.
> >>
> >> Cheers,
> >> Till
> >>
> >> On Wed, Jul 18, 2018 at 1:34 AM 陈梓立 <wa...@gmail.com> wrote:
> >>
> >>> Hi all,
> >>>
> >>> Recently I pull 3 PRs about performance improvements[1][2][3]. Unit
> tests
> >>> will verify their correctness, and in the real scenario, we have
> >> benchmark
> >>> report to confirm that they do help for performance.
> >>>
> >>> I wonder what is the formal way to verify a performance improvement. Is
> >> it
> >>> to give out a benchmark report, or run a standard benchmark, or add
> >>> performance test(I don't know how to do it), or anything else.
> >>>
> >>> Looking forward for your reply.
> >>>
> >>> Best,
> >>> tison.
> >>>
> >>> [1] https://github.com/apache/flink/pull/6339
> >>> [2] https://github.com/apache/flink/pull/6345
> >>> [3] https://github.com/apache/flink/pull/6353
> >>>
> >>
>
>

Re: What is the way to prove performance improvement?

Posted by Piotr Nowojski <pi...@data-artisans.com>.
Hi,

There is a some small set of benchmarks defined in https://github.com/dataArtisans/flink-benchmarks <https://github.com/dataArtisans/flink-benchmarks> , however their scope is limited and after briefly looking at your PRs, I wouldn’t expect them to cover your cases. However if you could define there some jmh micro benchmark to cover your cases that would be nice. It would be a shame if someone would accidentally revert/brake your improvements in the future.

Piotrek

> On 18 Jul 2018, at 08:52, 陈梓立 <wa...@gmail.com> wrote:
> 
> Hi Till,
> 
> Thanks for your reply! I will try to add ones later.
> 
> Best,
> tison.
> 
> Till Rohrmann <tr...@apache.org> 于2018年7月18日周三 下午2:48写道:
> 
>> Hi Tison,
>> 
>> at the moment there is formal way to verify performance improvements. What
>> you can do is to provide your measurements by adding the graphs to the PR
>> thread and specify the setup. Then others could try to verify these numbers
>> by running their own benchmark.
>> 
>> Cheers,
>> Till
>> 
>> On Wed, Jul 18, 2018 at 1:34 AM 陈梓立 <wa...@gmail.com> wrote:
>> 
>>> Hi all,
>>> 
>>> Recently I pull 3 PRs about performance improvements[1][2][3]. Unit tests
>>> will verify their correctness, and in the real scenario, we have
>> benchmark
>>> report to confirm that they do help for performance.
>>> 
>>> I wonder what is the formal way to verify a performance improvement. Is
>> it
>>> to give out a benchmark report, or run a standard benchmark, or add
>>> performance test(I don't know how to do it), or anything else.
>>> 
>>> Looking forward for your reply.
>>> 
>>> Best,
>>> tison.
>>> 
>>> [1] https://github.com/apache/flink/pull/6339
>>> [2] https://github.com/apache/flink/pull/6345
>>> [3] https://github.com/apache/flink/pull/6353
>>> 
>> 


Re: What is the way to prove performance improvement?

Posted by 陈梓立 <wa...@gmail.com>.
Hi Till,

Thanks for your reply! I will try to add ones later.

Best,
tison.

Till Rohrmann <tr...@apache.org> 于2018年7月18日周三 下午2:48写道:

> Hi Tison,
>
> at the moment there is formal way to verify performance improvements. What
> you can do is to provide your measurements by adding the graphs to the PR
> thread and specify the setup. Then others could try to verify these numbers
> by running their own benchmark.
>
> Cheers,
> Till
>
> On Wed, Jul 18, 2018 at 1:34 AM 陈梓立 <wa...@gmail.com> wrote:
>
> > Hi all,
> >
> > Recently I pull 3 PRs about performance improvements[1][2][3]. Unit tests
> > will verify their correctness, and in the real scenario, we have
> benchmark
> > report to confirm that they do help for performance.
> >
> > I wonder what is the formal way to verify a performance improvement. Is
> it
> > to give out a benchmark report, or run a standard benchmark, or add
> > performance test(I don't know how to do it), or anything else.
> >
> > Looking forward for your reply.
> >
> > Best,
> > tison.
> >
> > [1] https://github.com/apache/flink/pull/6339
> > [2] https://github.com/apache/flink/pull/6345
> > [3] https://github.com/apache/flink/pull/6353
> >
>

Re: What is the way to prove performance improvement?

Posted by Till Rohrmann <tr...@apache.org>.
Hi Tison,

at the moment there is formal way to verify performance improvements. What
you can do is to provide your measurements by adding the graphs to the PR
thread and specify the setup. Then others could try to verify these numbers
by running their own benchmark.

Cheers,
Till

On Wed, Jul 18, 2018 at 1:34 AM 陈梓立 <wa...@gmail.com> wrote:

> Hi all,
>
> Recently I pull 3 PRs about performance improvements[1][2][3]. Unit tests
> will verify their correctness, and in the real scenario, we have benchmark
> report to confirm that they do help for performance.
>
> I wonder what is the formal way to verify a performance improvement. Is it
> to give out a benchmark report, or run a standard benchmark, or add
> performance test(I don't know how to do it), or anything else.
>
> Looking forward for your reply.
>
> Best,
> tison.
>
> [1] https://github.com/apache/flink/pull/6339
> [2] https://github.com/apache/flink/pull/6345
> [3] https://github.com/apache/flink/pull/6353
>