harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Ozhdikhin" <pavel.ozhdik...@gmail.com>
Subject Re: [perf] Comparative benchmarking
Date Fri, 09 Nov 2007 09:20:13 GMT
On 11/8/07, Aleksey Shipilev <aleksey.shipilev@gmail.com> wrote:
>
> In short, LightJNI brings another 5% of boost, but Harmony is still
> 300% slower than Sun 1.6 on sqrt() microtest.
>
> That's probably due to presence of call. There are really have two
> directions where to go:
> a. inline hot native methods into JITted code (sic!) :)


Well, it's not something impossible. Probably we'll have such capability
some time. :)


b. implement hot native methods as magics


After experimenting with LightJNI I agree that API magics is the right way
to go for sqrt.

Thanks,
Pavel

Details:
>
> == Harmony-r589548 (clean)
> ========================================================
> Dacapo:lusearch: 2900 msecs
>
> Warmup finished: 4.527292719905836E10
> Math Result = 2.1081849486439312E10 in 12344ms
> StrictMath Result = 2.1081849486439312E10 in 12109ms
>
>
> == Harmony-r589548 (+ LightJNI)
> =====================================================
> Dacapo:lusearch: 2900 msecs
>
> Warmup finished: 4.527292719905836E10
> Math Result = 2.1081849486439312E10 in 12078ms
> StrictMath Result = 2.1081849486439312E10 in 11921ms
>
>
> == Harmony-r589548 (+ intrinsic in native code)
> ===========================================
> Dacapo:lusearch: 2200 msecs
>
> Warmup finished: 4.527292719913238E10
> Math Result = 2.1081849486508232E10 in 4140ms
> StrictMath Result = 2.1081849486439312E10 in 12172ms
>
>
> == Harmony-r589548 (+ intrinsic in native code + LightJNI)
> ===================================
> Dacapo:lusearch: 2100 msecs
>
> Warmup finished: 4.527292719913238E10
> Math Result = 2.1081849486508232E10 in 3904 ms
> StrictMath Result = 2.1081849486439312E10 in 12047ms
>
>
> Thanks,
> Aleksey.
> ESSD, Intel.
>
> On Nov 7, 2007 7:34 PM, Yuri Kashnikoff <yuri.kashnikoff@gmail.com> wrote:
> > > Yuri Kashnikoff did this patch and I hope we will commit it before M4.
> > > Yuri, can you share your patch with us?
> > Yes, Mikhail. LightJNI available by
> > https://issues.apache.org/jira/browse/HARMONY-5084.
> > All information about LightJNI provided(just use the link).
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message