You are reading a single comment by @Robin and its replies. Click here to read the full conversation.
  • Hi @Robin, I edited the original post to include the process.memory() output.
    Unfortunately I am not able to get rid of parts of the code as it's an engine that needs most of it's parts running.

  • Sun 2019.07.28

    Thank you @Proceed. So we have 2500 JsVars less some overhead to work with on the Pixl.

    'I am not able to get rid of parts of the code' . . . 'needs most of it's parts'

    Understood. My point was to find a reasonable amount of code that would fit, which would provide a benchmark as a percentage of total size for the original, then make a determination as to whether parts of the source module could be removed.

    https://www.espruino.com/Performance

    Minification enabled?
    WebIDE >> Settings >> Minification


    This might provide some insight to an alternate means using additional memory:

    How-to run code from flash

    Espruino loading source code from SD card?

About

Avatar for Robin @Robin started