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

请问如何查看启动耗时┭┮﹏┭┮ #874

Open
LingLuoJack opened this issue Nov 22, 2023 · 0 comments
Open

请问如何查看启动耗时┭┮﹏┭┮ #874

LingLuoJack opened this issue Nov 22, 2023 · 0 comments

Comments

@LingLuoJack
Copy link

LingLuoJack commented Nov 22, 2023

你好,我使用了代码中的android-sample,我想要获取应用的启动耗时,将demo中的 TracePlugin tracePlugin = configureTracePlugin(dynamicConfig); builder.plugin(tracePlugin);取消注释后,
打印的配置如下:
trace plugin init, trace config: # TraceConfig * isDebug: true * isDevEnv: false * isHasActivity: true * defaultFpsEnable: true * defaultMethodTraceEnable: true * defaultStartupEnable: true * defaultAnrEnable: true * splashActivities: sample.tencent.matrix.SplashActivity; * historyMsgRecorder: false * denseMsgTracer: false

log日志只有
{"processInfo":{"pid":19070,"name":"sample.tencent.matrix","activity":"SplashActivity","isProcessFg":true,"isAppFg":true},"statusInfo":{"state":"R (running)","vmSize":7331044,"vmRss":186508,"vmSwap":13248,"threads":51,"fdSize":256,"oom_adj":0,"oom_score_adj":0},"javaMemInfo":{"used":15161688,"recycled":387491496,"heapSize":402653184,"max":402653184,"memClass":384,"largeMemClass":512},"nativeMemInfo":{"used":16706344,"recycled":1389784,"heapSize":18096128},"systemInfo":{"totalMemByte":7832018944,"availMemByte":4348293120,"lowMem":false,"threshold":226492416}} Matrix....Watcher mDestroyedActivityInfos add sample.tencent.matrix.SplashActivity,
issueList页面只有fps相关tag日志。
请问我该怎么获取这个启动耗时,万分感谢

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