-
Notifications
You must be signed in to change notification settings - Fork 207
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
Labels
Comments
3.0打debug的包会很快,资源编译默认使用aapt2支持增量编译,代码那块dex缓存的颗粒变成以.class为最小单位了,所以相对于2.x会快很多 |
那fastdex 在3.0 里做了哪些优化呢? |
目前的fastdex版本只做了3.0的适配 |
楼主是不准备维护了吗?对于集成了tinker的project,instant run不能用,打dex包还是很慢的 |
怎么知道这些信息的? |
看build目录下的产物变化,以及Android gradle插件的源码发自我的华为手机-------- 原始邮件 --------主题:Re: [typ0520/fastdex] 我发现升级到gradle 插件到3.0.1第一次打包很慢,第二次就很快 (#81)发件人:dede1314 收件人:typ0520/fastdex 抄送:tong ,Comment
3.0打debug的包会很快,资源编译默认使用aapt2支持增量编译,代码那块dex缓存的颗粒变成以.class为最小单位了,所以相对于2.x会快很多
怎么知道这些信息的?
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/typ0520/fastdex","title":"typ0520/fastdex","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/typ0520/fastdex"}},"updates":{"snippets":[{"icon":"PERSON","message":"@dede1314 in #81: \u003e 3.0打debug的包会很快,资源编译默认使用aapt2支持增量编译,代码那块dex缓存的颗粒变成以.class为最小单位了,所以相对于2.x会快很多\r\n\r\n怎么知道这些信息的?"}],"action":{"name":"View Issue","url":"#81 (comment)"}}}
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "#81 (comment)",
"url": "#81 (comment)",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [typ0520/fastdex] 我发现升级到gradle 插件到3.0.1第一次打包很慢,第二次就很快 (#81)",
"sections": [
{
"text": "",
"activityTitle": "**dede1314**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@dede1314",
"facts": [
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"typ0520/fastdex\",\n\"issueId\": 81,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"typ0520/fastdex\",\n\"issueId\": 81\n}"
},
{
"targets": [
{
"os": "default",
"uri": "#81 (comment)"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 285197331\n}"
}
],
"themeColor": "26292E"
}
]
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: