Re: [v8-users] Appropriate use of Context and Isolate

2018-02-21 Thread Chris Dumoulin
Ben, thanks a lot for your answers. This is helpful information. On Wednesday, 21 February 2018 15:44:31 UTC-5, Ben Noordhuis wrote: > > On Wed, Feb 21, 2018 at 9:05 PM, Chris Dumoulin > wrote: > > In the Embedder's Guide, Contexts are described as allowing "separate, > > unrelated, JavaScript

Re: [v8-users] Appropriate use of Context and Isolate

2018-02-21 Thread Ben Noordhuis
On Wed, Feb 21, 2018 at 9:05 PM, Chris Dumoulin wrote: > In the Embedder's Guide, Contexts are described as allowing "separate, > unrelated, JavaScript applications to run in a single instance of V8". > Also, the section on Security Model says that "In V8 an 'origin' is defined > as a context." Ho

[v8-users] Appropriate use of Context and Isolate

2018-02-21 Thread Chris Dumoulin
In the Embedder's Guide , Contexts are described as allowing "separate, unrelated, JavaScript applications to run in a single instance of V8". Also, the section on Security Model

[v8-users] Re: Cached data or startup snapshot?

2018-02-21 Thread Yang Guo
Some comments: - When you say classes run slower, do you mean they take longer to execute, or do you mean they spend time on compilation too? - Does your non-snapshotted version use proxies too? Proxies are indeed significantly slower. - You should no longer need --ignition --turbo. This is the