Den 2. jun. 2010 11.02 skrev Ravi Namballa <[email protected]>: > 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. > Yes. The 250us is an average that includes GC overhead I think. Trying to create snapshots with more data in new space and less in the other spaces might help here, but I don't expect to have time to look at that.
You shouldn't call IdleNotification unless the VM really is idle of course. -- Erik Corry -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
