Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By Subhajit Das
#49788
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 ? ... :ugeek:

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.