martinayotte wrote:Subhajit Das wrote:You can try programming with standard sdk. It may give you much more speed than arduino code.
Well, both are using the same C/C++ compiler, so how could same instructions on Arduino could end up beeing slower ? ...
Speed difference practically may not be noticeable. That can be said, though.
Arduino library for ESP calls functions in the core and sdk/includes. And it adds an layer on top of that. So I suspect that there might be speed difference.
And optimization. I suspect original developers of the hardware may be able to develop more optimized software and faster. (I compare oracle-sdk and open-sdk, they both are platform oriented virtual machine and platform independent java library. But still there is performance difference).
Another thing, with update from 1.6.5 to 2.2.0 I saw binary size for same arduino program dipping from 300k to 250k. That is optimization on code. So there may be further way to optimize arduino platform, maybe.
But original SDK give raw performance. Can't go lower.
Arduino Uno
Raspberry pi 2
ESP8266-01
ESP8266-12E