Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

[Android] support preinit && predonload mode #2491

Merged
merged 1 commit into from
May 29, 2019

Conversation

lucky-chen
Copy link
Contributor

@lucky-chen lucky-chen commented May 29, 2019

feature :

  1. supprot preDownLoad bundle
  2. support preInitInstanceContext

performance : 200ms improve

usage: add url params

  • ?preDownLoad=true
  • or ?preInitInstance=vue/rax
  • or both of them ?preDownLoad=true&preInitInstance=vue/rax

sample:

  • case: http://editor.weex.io/compiled/8afdb78575e9cbbdf35d32d102843885/bundle.weex.js?preInitInstance=vue&preDownLoad=true
  • originurl: http://editor.weex.io/compiled/8afdb78575e9cbbdf35d32d102843885/bundle.weex.js

@weex-bot
Copy link

weex-bot commented May 29, 2019

Fails
🚫 Failed to run assembleDebug task for android.
Messages
📖 android build verification finished.

Generated by 🚫 dangerJS

[Android] preDownLoad demo

fix exceJsOnInstance lock cycle wait

performance data record

performance monitor

playground fix

fix np(k,v) for ConcurrentHashMap

merge

rename func
@lucky-chen lucky-chen force-pushed the android-feature-preinit branch from ef1398c to 1d840a8 Compare May 29, 2019 12:10
Copy link
Contributor

@YorkShen YorkShen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@YorkShen YorkShen merged commit ca886d2 into apache:master May 29, 2019
katherine95s pushed a commit to katherine95s/incubator-weex that referenced this pull request Jul 4, 2019
# feature : 
1. supprot preDownLoad bundle
2. support preInitInstanceContext

# performance : 
1. 200ms improve 

# usage: 
add url  params 
- ` ?preDownLoad=true`
- or `?preInitInstance=vue/rax`
- or both of them `?preDownLoad=true&preInitInstance=vue/rax`

# sample: 
- case: `http://editor.weex.io/compiled/8afdb78575e9cbbdf35d32d102843885/bundle.weex.js?preInitInstance=vue&preDownLoad=true`
- originurl: `http://editor.weex.io/compiled/8afdb78575e9cbbdf35d32d102843885/bundle.weex.js`
katherine95s pushed a commit to katherine95s/incubator-weex that referenced this pull request Jul 11, 2019
# feature : 
1. supprot preDownLoad bundle
2. support preInitInstanceContext

# performance : 
1. 200ms improve 

# usage: 
add url  params 
- ` ?preDownLoad=true`
- or `?preInitInstance=vue/rax`
- or both of them `?preDownLoad=true&preInitInstance=vue/rax`

# sample: 
- case: `http://editor.weex.io/compiled/8afdb78575e9cbbdf35d32d102843885/bundle.weex.js?preInitInstance=vue&preDownLoad=true`
- originurl: `http://editor.weex.io/compiled/8afdb78575e9cbbdf35d32d102843885/bundle.weex.js`
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.

3 participants