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

你好 hook objc_msgSend 带来额外性能问题 #16

Open
MoShenGuo opened this issue Jan 29, 2019 · 1 comment
Open

你好 hook objc_msgSend 带来额外性能问题 #16

MoShenGuo opened this issue Jan 29, 2019 · 1 comment

Comments

@MoShenGuo
Copy link

你好 hook objc_msgSend 会带来额外性能问题 ,明显会比没有hook 的卡顿更多 呈现内存暴涨Message from debugger: Terminated due to Memory Error?请问楼主有什么好的解决方案吗?

@MoShenGuo
Copy link
Author

你好 这个是hook所有方法的,从而可以获取其执行时间,但是有两个问题,第一 本身执行时间会增多,第二 随着直接方法越来越多,导致存储数据结构体会越来越大,有时会因为内存过大 而造成崩溃,你怎么解决的呢?谢谢

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

No branches or pull requests

1 participant