Dec 12, 2014 at 2:09 AM
Edited Dec 12, 2014 at 2:10 AM
Can you elaborate any on "perfomance improvements for repeated execution"?
Sure. The biggest performance improvement for V8 users affects repeated invocation of host methods.
Let's say you've exposed the
type and are running a script that repeatedly calls
This caching mechanism is also used to speed up repeated access to host events and
fields (most significantly
I've been taking the approach of having a pool of runtimes and creating engines when needed via CreateScriptEngine from the runtime. I also compile and cache the scripts per runtime for reuse. Would that still be a recommended approach for a server-side
Yes, that's the best general-purpose design for concurrent script execution via V8.