[TIMOB-25041] Add support for V8 custom startup snapshot
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | n/a |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | android, boot, v8 |
Reporter | Ophir Oren |
Assignee | Unknown |
Created | 2017-07-21T14:36:35.000+0000 |
Updated | 2019-03-19T13:58:38.000+0000 |
Description
Since Android runs on v8 engine since v6.0.0 of the SDK, a Titanium app can now take advantage of the v8 "Custom startup snapshots" feature, which allows adding pre-"compiled" binary representation of the scripts heap, those making app boot time faster.
More on "Custom startup snapshots": https://v8project.blogspot.co.il/2015/09/custom-startup-snapshots.html
This technique is already implemented by other multi-platform frameworks as can be seen here https://www.nativescript.org/blog/improving-app-startup-time-on-android-with-webpack-v8-heap-snapshot
No comments