Thanks for the reply Eric. How about the memory usage? Creating and disposing contexts for each script seems to allocate more memory, and using IdleNotification() to clear this has a performance impact.
Thanks, Chinnu On Jun 2, 2010 3:38 AM, "Erik Corry" <[email protected]> wrote: Den 1. jun. 2010 23.30 skrev Chinnu <[email protected]>: > > Hi, > > I'm trying to run different scripts, one after another, in a context. > The context has ... There's no way to clear a context. Creating a context with snapshots should take around 250us on a desktop machine. The only other way to clone a context is to clone the whole process by using the OS vfork call. -- Erik Corry -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
