Skip to content
This repository was archived by the owner on Jan 9, 2019. It is now read-only.
This repository was archived by the owner on Jan 9, 2019. It is now read-only.

Performance is slow because optimization is turned off #40

Description

@chubbard

In the source code it explicitly turns off optimization with this line:

cx.setOptimizationLevel(-1);

This is because env.js is too large for the 64KB bytecode limit. However, if you split the files up like what is suggested here you can turn back on optimization and get better performance:

http://stackoverflow.com/questions/9779809/how-to-split-iife-to-fit-into-java-jvm-rhino-64k-bytecode-limit

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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