I'm concerned about the performance of the esp8266 port in particular. Basically JS execution in general is very slow. I believe I disabled all inlining and have to compile with -Os in order not to have the code size explode. I'm wondering whether there is a top-10 set of functions (probably from jsvars.h) that should be inlined? I would then go one by one and see what I can either inline or move to static IRAM. Also, do you have a favorite piece of code to "benchmark" execution performance?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I'm concerned about the performance of the esp8266 port in particular. Basically JS execution in general is very slow. I believe I disabled all inlining and have to compile with -Os in order not to have the code size explode. I'm wondering whether there is a top-10 set of functions (probably from jsvars.h) that should be inlined? I would then go one by one and see what I can either inline or move to static IRAM. Also, do you have a favorite piece of code to "benchmark" execution performance?