Snapshots are enabled all the time unless you expressly disable them with 
gyp.

On Monday, November 10, 2014 4:59:37 PM UTC-9, Chris E wrote:
>
> Hello all,
>
> I am trying to use v8 snapshots to improve the start-up time of a v8 
> application (like what chrome/chromium does), but I am unable to find 
> sufficient documentation to understand and use this feature.
>
> I have looked at the following references, but it is still not clear to me 
> exactly how to make the best use of snapshots for performance.
> https://developers.google.com/v8/embed
> http://qt-project.org/wiki/V8Snapshot
>
> The QT link seemed the most useful so can anyone verify the correctness of 
> this reference?
>
> So basically we have to compile and run our JS application with an 
> emulator and somehow generate the  snapshot.cc using mksnapshot?
> If our JS application is large and has many features, how do we know how 
> much of it should run before creating the snapshot?
> How is this snapshot affected by libraries (both C++ and JS) that get 
> loaded dynamically?
>
> Also it sounds like we have to be careful that the snapshot is not 'stale' 
> or outdated with respect to the code that we run to create the snapshot 
> right?
>
> Thank you so much for the help and clarifications.
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
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 v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to