If I upload the code of espruinoCall.js to the espruino, it takes about 15 seconds for all the console.log messages to show up on the webIDE. If I remove the call, it takes less than a second. I also tried to remove the apply's on other places (like 288, apply) and also seems to fix the problem.. Since I'm doing apply on apply on apply, could that run into a recursion problem? I'll try to put this in a small example to see if that could be it.
Also, thank you for the answer on the minify topic ;)
EDIT: throttle did not make a difference. I also don't use minification here.
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.
If I upload the code of espruinoCall.js to the espruino, it takes about 15 seconds for all the console.log messages to show up on the webIDE. If I remove the call, it takes less than a second. I also tried to remove the apply's on other places (like 288, apply) and also seems to fix the problem.. Since I'm doing apply on apply on apply, could that run into a recursion problem? I'll try to put this in a small example to see if that could be it.
Also, thank you for the answer on the minify topic ;)
EDIT: throttle did not make a difference. I also don't use minification here.