Skip to content

JS-Interpreter binary size #27

@NeilFraser

Description

@NeilFraser

In the zoo table, JS-Interpreter is listed as 202K with a tooltip of "Not a single native binary. Distribution size: 206367 bytes".

There are two options for running JS-Interpreter:

  1. one can load acorn.js and interpreter.js separately (which is what is correctly described). This is mainly used for debugging where size doesn't matter.
  2. one can just load acorn_interpreter.js which comes in as 73KB. This is mainly used for production. That would make it the smallest functional JavaScript engine on your page.

I've looked around this repo but can't figure out where this data is generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions