Closed 8bitbunny closed 7 years ago
Even more interesting would be a test of the power consumption differences...
you mean as in "performance/milliampere"? for the floating point example i posted that would be a massive increase!
sadly i don't have measurement tools, and if did have the right tools, i'd have barely place to set it up properly. so i'd leave that up to someone else.
just took the average run current (executing from flash) from the datasheets of both devices: about 300 uA for the teensy 3.2's mcu per mhz about 100 uA for the dragonfly mcu per mhz the dragonfly is basically 3x as effiecient and regarding floating point performance/watt consumed that's theorethycal over 21x the performance. neat!
In my measurements Dragonfly is about 5x more efficient, and Butterfly and Ladybug even more so since they work without an HSE crystal.
oh wow, nice!
also, i have gone for worst case scenario it seems, so if we do a small calculation, this means the fpu performance / watt is roughly 35 times that of the teensy 3.2's, right? impressive result! that, plus the dragonfly has higher core clock by default without overclock. anyhow, if you're okay with it, you can close the issue :)
i did a test on both the teensy 3.2 and the dragonfly, with good results:
i did it as the following test conditions: both mcu's @ set at 72 MHZ all code runs from internal SRAM no interrupts disabled both mcu's blend an 24bit array of 8bit colors in seperate arrays (red, green, blue) blending is done using floating point math all arrays are 128*128px
dragonfly test results: about 22ms teensy 3.2 test results: about 160ms
over 7x the performance!
code below: