Giter VIP home page Giter VIP logo

Comments (6)

jaggerwang avatar jaggerwang commented on July 1, 2024

线上版本是正式打包版本,打包过程中会去掉Debug相关的信息,同时会进行编译优化,所以性能会更好。

from zqc-app-demo.

hlh6512500 avatar hlh6512500 commented on July 1, 2024

请教下编译优化是指把代码压缩吗?

from zqc-app-demo.

jaggerwang avatar jaggerwang commented on July 1, 2024

不是,代码压缩只会提升下载性能,对于执行性能没有影响。编译优化是CPU指令级别的,这个在打正式发布包的时候由编译器来完成。

from zqc-app-demo.

hlh6512500 avatar hlh6512500 commented on July 1, 2024

能讲讲编译优化的具体步骤吗?谢谢啊,这几天老是觉得RN卡卡的,哎,找了好多方法。

from zqc-app-demo.

jaggerwang avatar jaggerwang commented on July 1, 2024

这个你得去请教写编译工具的人了,本人研究不多。

from zqc-app-demo.

hlh6512500 avatar hlh6512500 commented on July 1, 2024

cd android && ./gradlew assembleRelease
我是直接这样打包的,你们是怎么编译优化的呢,
你们打包时用的其他工具吗,或者你们打包方式与我的有什么不同。
求教啊,新人,被这个问题困扰很久了

from zqc-app-demo.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.