Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Local snapshot support #181

Merged
merged 28 commits into from
Jun 14, 2017
Merged

Local snapshot support #181

merged 28 commits into from
Jun 14, 2017

Conversation

ivanbuhov
Copy link
Contributor

This PR introduces support for generating a v8 heap snapshot for a random webpack bundle on linux and mac. Snapshot generation is enabled by adding --snapshot flag at the end of the ns-bundle command in package.json. This will add the SnapshotWebpackPlugin to the webpack configuration. The SnapshotWebpackPlugin receives a bundle name as a parameter.
The generated snapshots are included in the app in the form of binary files (the default option) or native libraries. The second option requires having a local copy of the Android NDK required for building the libraries.

@ivanbuhov ivanbuhov requested a review from sis0k0 June 7, 2017 18:09
@sis0k0
Copy link
Contributor

sis0k0 commented Jun 12, 2017

ts

@ivanbuhov ivanbuhov merged commit 1b5dcdc into master Jun 14, 2017
@ivanbuhov ivanbuhov deleted the buhov/local-snapshots branch June 14, 2017 13:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants