Hallo.
I have compiled a demo for an artificial neural net. See http://robotics.hobbizine.com/arduinoann.html
On Arduino 1.0.5 and teensyduino 1.18 I have found that one ANN training cicle takes
~26 secs on a Leonardo board and
~27secs on a teensy 3.0@48MHz.
Compilation is a bit slower for the teensy and code size ~200%.
After reinstalling Arduino1.0.5.r2 and teensyduino 1.19 I get
~100 secs on a Leonardo board !!!
~28secs on a teensy 3.0@48MHz and
~15secs on a teensy 3.1@72MHz.
The first results were strange, showing a Leonardo that was faster than teensy 3.0. I believe that I did not mix up things, however I do not want to step back to teensyduino1.18 to test.
The second result is a bit more logical in terms of speed. Still an 8-bit-µC with a clk that is 5 times slower should be far more than 7 times slower in float calculations than a 32-bit-µC. Something is wrong here.
Does anybody have a hint why teensy 3.1 runs below expected speed?
I have compiled a demo for an artificial neural net. See http://robotics.hobbizine.com/arduinoann.html
On Arduino 1.0.5 and teensyduino 1.18 I have found that one ANN training cicle takes
~26 secs on a Leonardo board and
~27secs on a teensy 3.0@48MHz.
Compilation is a bit slower for the teensy and code size ~200%.
After reinstalling Arduino1.0.5.r2 and teensyduino 1.19 I get
~100 secs on a Leonardo board !!!
~28secs on a teensy 3.0@48MHz and
~15secs on a teensy 3.1@72MHz.
The first results were strange, showing a Leonardo that was faster than teensy 3.0. I believe that I did not mix up things, however I do not want to step back to teensyduino1.18 to test.
The second result is a bit more logical in terms of speed. Still an 8-bit-µC with a clk that is 5 times slower should be far more than 7 times slower in float calculations than a 32-bit-µC. Something is wrong here.
Does anybody have a hint why teensy 3.1 runs below expected speed?
Last edited: