Re: [v8-users] compile and run JavaScript in Multi-process

2018-04-26 Thread czczcheng
Thanks very much, I have tried the two ways, using CreateCodeCache can reduce some time , but still not fast enough In multiple process instances. i can't use CreateSnapshotDataBlob ,it looks like snapshot must be a param for creating isolate, but my server has too mang scripts to do that) 在 2

Re: [v8-users] compile and run JavaScript in Multi-process

2018-04-26 Thread Ben Noordhuis
On Thu, Apr 26, 2018 at 10:46 AM, zhecheng 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 actual