Bill Dortch wrote:
Hmm, is this the expected result? (Interpreted results much faster than compiled, on my computer at least.) Or is this just because the tests only run once, so the overhead of compilation outweighs any benefit gained from compiled code? (I think I just answered my own question, posting anyway.)
Yep, you answered it. Basically, with threshold zero (used during testing) it's trying to compile every single method that runs, even though a much smaller fraction will actually compile. So the benefit from compiling those few methods is outweighed by compiler overhead.
That's also why we would never recommend using threshold zero in a real app. - Charlie --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email