Extremely slow startup performance
silverlanguage at gmail.com
Wed Jul 2 09:21:10 UTC 2014
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
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?
More information about the nashorn-dev