Git Product home page Git Product logo

Comments (9)

yejiabin9 avatar yejiabin9 commented on July 28, 2024

还有就是moduleChangeTime里面只有changeTag吗?没有时间戳吗

from rocketx.

trycatchx avatar trycatchx commented on July 28, 2024

扫描文件资源,只是记录不做修改。 目的是得知 哪一个 module 做了改动了代码,需要退化为 module 依赖。

  • 是第二次编译的时候吗?具体有多长?

  • 是否使用了 transform ?(transform 影响较大) 可以加入以下配置项 打开log ,可通过build 的 log 搜索关键字 transFormList 查看自己项目引用了哪些 transform ,通过下面 配置先禁用?

//配置插件编译项
    RocketX {
        openLog = true
        transFormList = ["sensorsAnalyticsAutoTrack","..xx"]
    }

from rocketx.

trycatchx avatar trycatchx commented on July 28, 2024

还有就是moduleChangeTime里面只有changeTag吗?没有时间戳吗

是的,changeTag 就是通过整个模块所有资源lastmodifytime计算出来的唯一标识符,标识当前模块是否做了改动。

from rocketx.

yejiabin9 avatar yejiabin9 commented on July 28, 2024

我刚刚看了一下缓存文件,发现连续两次不做任何修改,缓存文件里面大部分aar修改日期都变成刚刚编译的时间了
image

from rocketx.

trycatchx avatar trycatchx commented on July 28, 2024

你可以在 build log 搜索 uploadLocalMaven 这个 关键字。看下是不是 每次不做变动都会 重新 打包 aar 并上传

from rocketx.

trycatchx avatar trycatchx commented on July 28, 2024

@GHyejb #19 你是提过编译不过?现在可以编译了?

from rocketx.

yejiabin9 avatar yejiabin9 commented on July 28, 2024

我把之前没法编译的model改成线上aar的,可以编译过去了,但是编译时间主要是在dexBuilderDebug比较长,开了插件大概15秒,没开8秒的样子

from rocketx.

yejiabin9 avatar yejiabin9 commented on July 28, 2024

你可以在 build log 搜索 uploadLocalMaven 这个 关键字。看下是不是 每次不做变动都会 重新 打包 aar 并上传

我这我再试试,谢谢

from rocketx.

trycatchx avatar trycatchx commented on July 28, 2024

我把之前没法编译的model改成线上aar的,可以编译过去了,但是编译时间主要是在dexBuilderDebug比较长,开了插件大概15秒,没开8秒的样子

是的 可以测试频繁修改同一个 module 的速度对比,目前我在这边测试发现如果使用了 transform 对 dexBuilderDebug 影响挺大,如果有使用建议关闭

from rocketx.

Related Issues (20)

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.