Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 10 months ago.
Whetstone speed test
In reply to Thomas Kirchner's speed test, I have tried the same code on a 72MHz STM32F303.
I'm using GCC and CooCox CoIDE
The 1000 iterations of the Whetstone benchmark took 41.4s.
However with maximum code optimisation this improves greatly to 16.4s.
I have also used a slightly different version of the Whetstone code and seen 30.6s and 15.4s with optimisation on.
Curiously, when I enabled the FPU, the benchmark ran slightly slower, 42.0s versus 41.4s.
I'd be interested to hear of anyone else who has tried similar.
I also had a look at it once, and was seriously wondering with what accuracy the Arduino calculates it. The speed on the Arduino seems extremely fast to me for a device which has only simple 8-bit instructions.
posted by Erik - 10 Jun 2014