-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
9
-
generic
-
generic
From log file:
...
[2014-09-05T08:50:24.24] ======== Results (absolute); warmups: 5; runs: 10; iterations/run: 1000000; micro iterations: 5
[2014-09-05T08:50:24.33] ### TRACE 1: Direct call: 56.1 ns (stddev: 1.4 = 2%) // 1.5 times FASTER than Reflection API Method.invoke()
[2014-09-05T08:50:24.33] ### TRACE 1: Reflection API Method.invoke(): 82.3 ns (stddev: 29.9 = 36%)
[2014-09-05T08:50:24.33] ### TRACE 1: MH.invokeExact(): 68.6 ns (stddev: 1.4 = 1%) // 1.2 times FASTER than Reflection API Method.invoke()
[2014-09-05T08:50:24.33] ### TRACE 1: MH.invokeWithArguments(), exact types: 188.1 ns (stddev: 29.0 = 15%) // 2.3 times slower than Reflection API Method.invoke()
[2014-09-05T08:50:24.33] ### TRACE 1: MH.invokeWithArguments() + type conv.: 180.7 ns (stddev: 1.5 = 0%) // 2.2 times slower than Reflection API Method.invoke()
[2014-09-05T08:50:24.33] ### TRACE 1: invokedynamic instruction: 56.1 ns (stddev: 0.3 = 0%) // 1.5 times FASTER than Reflection API Method.invoke()
[2014-09-05T08:50:24.33] ### TRACE 1: ==== Results minus Direct call
[2014-09-05T08:50:24.36] ### TRACE 1: Reflection API Method.invoke(): 26.2 ns (stddev: 29.9 = 114%)
[2014-09-05T08:50:24.36] ### TRACE 1: MH.invokeExact(): 12.5 ns (stddev: 1.4 = 10%) // 2.1 times FASTER than Reflection API Method.invoke()
[2014-09-05T08:50:24.36] ### TRACE 1: MH.invokeWithArguments(), exact types: 132.0 ns (stddev: 29.0 = 21%) // 5.0 times slower than Reflection API Method.invoke()
[2014-09-05T08:50:24.36] ### TRACE 1: MH.invokeWithArguments() + type conv.: 124.6 ns (stddev: 1.5 = 1%) // 4.8 times slower than Reflection API Method.invoke()
[2014-09-05T08:50:24.36] ### TRACE 1: invokedynamic instruction: 0.0 ns (stddev: 0.3 = 2147483647%) // Infinity times FASTER than Reflection API Method.invoke()
[2014-09-05T08:50:24.36] ### TRACE 1:
[2014-09-05T08:50:24.36] ======== Conclusions
[2014-09-05T08:50:24.36] ### TRACE 1: Method Handle invocation time is less than Reflection API invocation time. Good.
[2014-09-05T08:50:24.36] ### TRACE 1: Method Handle invocation time magnitude is equal to the one of the direct call. Good.
[2014-09-05T08:50:24.36] ### TRACE 1: WARNING: Time order of MethodHandle.invokeGeneric() with exact signaturev (-3) is greater than one of MH.invokeExact() (-4)!
[2014-09-05T08:50:24.41] ### TRACE 1: TEST FAILED
[2014-09-05T08:50:24.61] # Test level exit status: 97
...
[2014-09-05T08:50:24.24] ======== Results (absolute); warmups: 5; runs: 10; iterations/run: 1000000; micro iterations: 5
[2014-09-05T08:50:24.33] ### TRACE 1: Direct call: 56.1 ns (stddev: 1.4 = 2%) // 1.5 times FASTER than Reflection API Method.invoke()
[2014-09-05T08:50:24.33] ### TRACE 1: Reflection API Method.invoke(): 82.3 ns (stddev: 29.9 = 36%)
[2014-09-05T08:50:24.33] ### TRACE 1: MH.invokeExact(): 68.6 ns (stddev: 1.4 = 1%) // 1.2 times FASTER than Reflection API Method.invoke()
[2014-09-05T08:50:24.33] ### TRACE 1: MH.invokeWithArguments(), exact types: 188.1 ns (stddev: 29.0 = 15%) // 2.3 times slower than Reflection API Method.invoke()
[2014-09-05T08:50:24.33] ### TRACE 1: MH.invokeWithArguments() + type conv.: 180.7 ns (stddev: 1.5 = 0%) // 2.2 times slower than Reflection API Method.invoke()
[2014-09-05T08:50:24.33] ### TRACE 1: invokedynamic instruction: 56.1 ns (stddev: 0.3 = 0%) // 1.5 times FASTER than Reflection API Method.invoke()
[2014-09-05T08:50:24.33] ### TRACE 1: ==== Results minus Direct call
[2014-09-05T08:50:24.36] ### TRACE 1: Reflection API Method.invoke(): 26.2 ns (stddev: 29.9 = 114%)
[2014-09-05T08:50:24.36] ### TRACE 1: MH.invokeExact(): 12.5 ns (stddev: 1.4 = 10%) // 2.1 times FASTER than Reflection API Method.invoke()
[2014-09-05T08:50:24.36] ### TRACE 1: MH.invokeWithArguments(), exact types: 132.0 ns (stddev: 29.0 = 21%) // 5.0 times slower than Reflection API Method.invoke()
[2014-09-05T08:50:24.36] ### TRACE 1: MH.invokeWithArguments() + type conv.: 124.6 ns (stddev: 1.5 = 1%) // 4.8 times slower than Reflection API Method.invoke()
[2014-09-05T08:50:24.36] ### TRACE 1: invokedynamic instruction: 0.0 ns (stddev: 0.3 = 2147483647%) // Infinity times FASTER than Reflection API Method.invoke()
[2014-09-05T08:50:24.36] ### TRACE 1:
[2014-09-05T08:50:24.36] ======== Conclusions
[2014-09-05T08:50:24.36] ### TRACE 1: Method Handle invocation time is less than Reflection API invocation time. Good.
[2014-09-05T08:50:24.36] ### TRACE 1: Method Handle invocation time magnitude is equal to the one of the direct call. Good.
[2014-09-05T08:50:24.36] ### TRACE 1: WARNING: Time order of MethodHandle.invokeGeneric() with exact signaturev (-3) is greater than one of MH.invokeExact() (-4)!
[2014-09-05T08:50:24.41] ### TRACE 1: TEST FAILED
[2014-09-05T08:50:24.61] # Test level exit status: 97