3 ms·
This test would only be valid if it ran for at least a few seconds. If the test just takes a fraction of a second then it doesn't give the dalvik JIT compiler a
by cpncrunch 13y ago
This test would only be valid if it ran for at least a few seconds. If the test just takes a fraction of a second then it doesn't give the dalvik JIT compiler a chance to optimize the code. The author doesn't give the running time, or show what value was used for the length parameter.
I'm pretty sure dalvik is NOT generally 17 times slower than native, and this test may just be showing the start-up overhead.