We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
启动时间这个由于 Load 顺序不确定,而且 dyld 在 load class 之后还有 initializers 之前也要 load dylib 所以这个冷启动的时间应该是不准确的 ...
The text was updated successfully, but these errors were encountered:
@Rannie 是的,文章中冷启动时间的这种方案确实会因为 +load 方法的顺序不确定,而且 +load 方法记录开始时间肯定是会晚于实际启动时间,不是太完美,但是确实有 SDK 是采取这种方案的,比如 Firebase Performance Monitoring,详细可以参考我的另外一篇文章,目前我还没投入更多的精力去研究这块,等之后发现更好的方案,再来更新文章,另外还有热启动时间已经实现,但是文章还没来得及更新。
+load
Sorry, something went wrong.
aozhimin
No branches or pull requests
启动时间这个由于 Load 顺序不确定,而且 dyld 在 load class 之后还有 initializers 之前也要 load dylib 所以这个冷启动的时间应该是不准确的 ...
The text was updated successfully, but these errors were encountered: