Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我发现升级到gradle 插件到3.0.1第一次打包很慢,第二次就很快 #81

Open
tianshaokai opened this issue Dec 13, 2017 · 6 comments
Labels

Comments

@tianshaokai
Copy link

tianshaokai commented Dec 13, 2017

  1. 我并没有使用fastdex插件
  2. 第二次基本每次都是19s完成
  3. 只不过我这次是在mac电脑编译的,没有试window 电脑升级后怎么样
  4. 跟电脑性能有关系吗?
  5. 3.0 里是不是做了大量的优化呢
@typ0520
Copy link
Owner

typ0520 commented Dec 13, 2017

3.0打debug的包会很快,资源编译默认使用aapt2支持增量编译,代码那块dex缓存的颗粒变成以.class为最小单位了,所以相对于2.x会快很多

@tianshaokai
Copy link
Author

那fastdex 在3.0 里做了哪些优化呢?

@typ0520
Copy link
Owner

typ0520 commented Dec 14, 2017

目前的fastdex版本只做了3.0的适配

@jingyening
Copy link

楼主是不准备维护了吗?对于集成了tinker的project,instant run不能用,打dex包还是很慢的

@dede1314
Copy link

3.0打debug的包会很快,资源编译默认使用aapt2支持增量编译,代码那块dex缓存的颗粒变成以.class为最小单位了,所以相对于2.x会快很多

怎么知道这些信息的?

@typ0520
Copy link
Owner

typ0520 commented Dec 10, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants