Using the latest master branch of v8 I am trying to bring some scripting 
together with http://libcinder.org/ in an Cocoa App.
Works fine so far and I can happily draw from javascript and control 
component behaviour.

As the cinder app runs at 60 fps, the GL methods bindings get called very 
often, which apparently creates a lot of garbage to collect.
The frame rate drops up to 20 fps when the garbage collection kicks in. I 
initialise v8 in the main thread together with Cinder. 

Is there a design concept that lets me optimise this GC behaviour to work 
around frame rate drops?
Using multiple contexts and switching for example? Has anybody experience 
with Javascript and render loops?

Best regards,

Sebastian


PS: Stitched together Cinder + v8 
here: https://github.com/kommander/cinderjs

-- 
-- 
v8-users mailing list
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to