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

ilruntime performance lua代码性能优化 #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

leinlin
Copy link

@leinlin leinlin commented Mar 18, 2022

release版本不需要pdb

@leinlin
Copy link
Author

leinlin commented Mar 18, 2022

1、lua 代码 getpostion setpostion优化一下
2、release不需要pdb
3、性能结果提示更好看一点,省的点晕了
4、lua数值调用宿主方法的local 起来

在骁龙 888上测试的结果,
1、数值计算reg模式比lua快3倍左右,stack模式 持平,lua数据稍微差一点
lua
图片
stack
图片
reg
图片

2、get、set postion 优化之后,三者 总体数据持平,stack最好reg和lua 55开
lua
图片
stack
图片
reg
图片

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

Successfully merging this pull request may close these issues.

None yet

1 participant