Skip to main content

New site for Dart news and articles

For the latest Dart news, visit our new blog at .

Generate a Snapshot for Faster App Startup

A new article published to shows you how to generate your own Dart VM snapshot, which can help your app start quicker.

A snapshot is a "sequence of bytes that represents a serialized form of one or more Dart objects." The VM can load a snapshot more efficiently than raw source code. This is especially important for mobile devices, where every CPU cycle impacts the battery.

Dart VM engineer Siva Annamalai writes about the different kinds of snapshots, what they are used for, and how you can generate and load them.

Your feedback really counts. Please join the conversation at the Dart mailing list, and ask questions at Stack Overflow.

(Photo credit: