On 17.04.2016 14:36, Serega Sheypak wrote:
ok, I see weird results.
I've wrote a test
https://gist.github.com/seregasheypak/d59997dd2d2dfbf82e310b16398239ca
Here are metrics for method named "play"
TriggerPlayer.play-trigger
[...]
Here are metrics for method named "executeHere"
[...]
"executeHere" faster in 40 times (acrroding to 99th percentile).
I just copy-pasted body of method directly to test...
What does it mean, why it works faster?
I am not sure I can understand your code, I miss too much context. But
if copying the body of the methods directly in the test means you get 40
times faster, then this is probably due to inlining not working.
bye Jochen