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

会影响性能吧 #5

Open
rakexue opened this issue Apr 22, 2016 · 3 comments
Open

会影响性能吧 #5

rakexue opened this issue Apr 22, 2016 · 3 comments
Labels

Comments

@rakexue
Copy link

rakexue commented Apr 22, 2016

No description provided.

@asLody
Copy link
Owner

asLody commented Apr 22, 2016

对于Runtime加载的Dex, 以漫长的opt换来微乎其微的Native优化显然是不划算的, 而且经过实际的测试, 性能大概是opt后的92% ~ 97%.

@CtripmobileOffice
Copy link

ART模式也是92% ~ 97%?

@cclover
Copy link

cclover commented May 20, 2016

对ART来说,如果不执行dex2oat (和之前的dex2opt完全不同), 无法生成oat文件,java code不会被编译成机器码,会以interpret方式执行。性能损失还是很大的。 特别是5.0/6.0不支持JIT, 所以7.0开始支持JIT, 不是没有道理的。

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