You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 9, 2019. It is now read-only.
Repository navigation
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
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:
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