Comments (6)
线上版本是正式打包版本,打包过程中会去掉Debug相关的信息,同时会进行编译优化,所以性能会更好。
from zqc-app-demo.
请教下编译优化是指把代码压缩吗?
from zqc-app-demo.
不是,代码压缩只会提升下载性能,对于执行性能没有影响。编译优化是CPU指令级别的,这个在打正式发布包的时候由编译器来完成。
from zqc-app-demo.
能讲讲编译优化的具体步骤吗?谢谢啊,这几天老是觉得RN卡卡的,哎,找了好多方法。
from zqc-app-demo.
这个你得去请教写编译工具的人了,本人研究不多。
from zqc-app-demo.
cd android && ./gradlew assembleRelease
我是直接这样打包的,你们是怎么编译优化的呢,
你们打包时用的其他工具吗,或者你们打包方式与我的有什么不同。
求教啊,新人,被这个问题困扰很久了
from zqc-app-demo.
Related Issues (19)
- 按步骤运行项目出现一个错误 HOT 1
- 没有更新功能,不能添加发布动态 HOT 1
- 服务器是不是关掉了啊 HOT 9
- 赞叹:老师, 代码写的真是太好了!!! HOT 2
- 请教,关于图片轮播预览手势缩放功能实现 HOT 3
- 想请教下网络状态的问题 HOT 1
- 编译问题 HOT 1
- 为什么感觉应用商店的APP,比用rn直接运行的要流畅呢? HOT 1
- undefined is not an object(evaluating _ref.store.version) in /src/store.js
- 打开应用报错 HOT 2
- 网络出错: 未检测到网络连接 请确保WIFI或移动网络正常可以用 HOT 1
- startTabBasedApp 加载所有tabs页面 会特别卡 HOT 2
- 项目运行错误 HOT 7
- running "react-native run-android" failed HOT 3
- Building release version for iOS failed HOT 4
- mac 运行出错 HOT 4
- 可否开源全部代码? HOT 1
- 注册一直提示参数错误,无法注册登录 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zqc-app-demo.