I'm trying to use Nashorn as a plugin framework. However, code like:
engine.eval(new BufferedReader(new FileReader("coffee-script.js")));
easily takes 10-15 seconds. V8 uses a few milliseconds (when using jav8 as
scriptengine)
In my opinion, Nashorn is so slow on startup it's useless (I have tons of
plugin scripts, which accumulates to 2-3 minutes of application startup
time due to nashorn - with v8 i'm subsecond!)
What's going on? Anything I can do to fix this?
Lang
