On Thu, Apr 26, 2018 at 10:46 AM, zhecheng <zhecheng2...@yeah.net> wrote:
> i have a javascript script , compile and run cost 300ms if there is only one
> process, but if i start 60 processes, create isolate , compile and run it
> for the first time separately , it cost 9000ms, what is the reason ? cpu
> limit ? i actually notice the ratio of cpu is high.
> i just want to run the script imultaneously on server side, this problem
> will cause temporary timeout during my service startup ,can you give some
> suggestion?

You can precompile scripts with
`v8::ScriptCompiler::CreateCodeCache()` or
`v8::V8::CreateSnapshotDataBlob()`.

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to