Server vs Client Results
I am testing inlining with very simple approach.
I am calling a method from the loop say 1000000 times manually inlined one which returns an integer, and another method which calls yet another method to get the same integer number.
Now, the results with -client mode, which is default, with jit compiler on and off there is a substatial difference. Say with jit on i would get 95 milliseconds and jit off is 5100 milliseconds which is not surprising.
But when i compare -client and -server modes, with jit disabled, i am getting 2410 vs 2500 respectively. Although it is a slight difference but still why on -server mode takes a bit longer. On contrary with jit enabled with -client mode it is much faster -server 3, client 95.
I know that -server takes longer from the start, but i don't think that is the case.
Any idea why -server takes longer disabled jit but is much faster with enabled?