Thank you!
The more devices tested the merrier! =)
I see now that I have to add a function that will let the user enter the name of the phone tested - some phones don’t identify themselves correctly (or at all).
Some interesting conclusions can be drawn from the tested phones so far:
Nokia Series 40 phones have very different cpu speeds. I was thinking they all would be in the same league. Not so. For example: Nokia 6100 - 106 610ms and Nokia 6230 - 18 185ms. (Numbers are time to complete all tests, lower is better).
Division is sloow on all phones.
Exception catching can KILL performance on some phones, especially high-end ones.
Multiplication is usally just as fast as bitwise shifting.
If anyone has a phone that’s not in the list - please do run the test. Together we could create a good cpu-speed database for most common phones.
cheers,
Maciek