当前位置: 首页 > news >正文

锦州网站建设案例云南瑞丽最新政策

锦州网站建设案例,云南瑞丽最新政策,熊掌号网站怎么做,网站建设人才1、要分析的问题 1、与正常trace比对#xff0c;确认过耗时在哪个步骤#xff08;am create/pause/stop/start/doframe)#xff1f; 2、与正常trace比对#xff0c;确认过耗时在哪个cpu state(Running/Runnable/Sleep/Uninterruptible Sleep)#xff1f; 2、启动分析 …1、要分析的问题 1、与正常trace比对确认过耗时在哪个步骤am create/pause/stop/start/doframe) 2、与正常trace比对确认过耗时在哪个cpu state(Running/Runnable/Sleep/Uninterruptible Sleep) 2、启动分析 所谓冷启动就是启动该应用时后台没有该应用的进程此时系统会为该应用创建新的进程之后会bindApplication来创建程并初始化application, 然后通过反射执行ActivityThread中的main方法。 而热启动则是当启动应用时后台已经存在该应用的进程比如启动该应用后再按home 键反馈至主界面后再打开该应用。此时会从已有的进程中来启动应用这种方式不会重新走bindApplication的动作。 1、冷启动流程Cold Launch Flow : android.intent.action.MAIN决定应用的入口Activity也就是我们启动应用时首先显示哪一个Activity。 android.intent.category.LAUNCHER表示activity应该被列入系统的启动器(launcher)(其本质也是一个APP)。 凡是声明了上面filter的activity都会被launcher解析出来对应图标排列在桌面。这样用户就可以通过点击的方式启动Activity了。 当我们点击APP图标的时候首先会调用launcher的onClick()方法然后会通过添加intent.addflag(Intent.FLAG_ACTIVITY_NEW_TASK)通过调用Activity类的startActivity方法先pause前台的launcher然后resume想启动想要启动的activity。其细节流程如下: 1.1、onclick - startActivity 1.2、startActivityUnchecked - resumreFocusedStackTopActivityLocked 1.3、reasumeFocusedStackTopActivityLocked startProcessLocked中会上图中Activity所在进程的app已经存在部分可以理解成热启动流程而下面restarting部分则为冷启动部分 1.4、冷启动的后续部分 1.5 2、热启动流程Activity Resume Flow 前面已经提到热启动流程跟冷启动流程最主要的区别就热启动流程因为原有相关进程已经在后台所以只需要resume相关activity就好 3、systrace分析 了解上面的code流程后我们从systrace中再次看下对应的冷热启动的流程和时间序列systrace的抓取和基本操作请参考 如果用monitor抓取请勾选system_server、IRQ Events、CPU frequency CPU Idle、binder kernel driver、 binder global lock trace几项。 3.1 冷启动对应systrace 打开systrace之后先按ctrlF搜索inputreader找到systremserver下的inputReader 进程然后再其运行状态中找到AppLaunch_dispatchPtr:Up的时间点也就是手指离开屏幕的时间点。 然后找到启动的app 的UI threadcheck 其ActivityThreadMain-bindApplication-StartActivity-activityResume-Choreographer#doFrame -draw → RenderThread(DrawFrame)。 利用systrace工具中的框选标记从AppLaunch_dispatchPtr:Up到RenderThread(DrawFrame)完成的时间则为该app 冷启动画完第一帧的使用时间。若有launcher时间长的问题请将上面各个时间节点拆分比较和对比机对比检测出花费时间长的时间段。再细看时间长的原因 详细原因 3.2 如何分析launcher时间慢的问题 3.3.1 Launcher时间拆分 先按照上面的冷热启动的介绍将launcher的时间拆分 3.3.2、 定位差异部分 定位出某个花费时间长的时间段后框选该时间段的进程运行状态在下面的Thread Timeslices中可以查看该时间段的进程运行状态。找出时间差异大tag的cpu status Running/Runnable/Sleeping/Uninterruptible sleep 确认running/sleeping/runnable/uninterruptible sleep时间长之后根据本文其它栏位中其对应的debug方法进一步确认。
文章转载自:
http://www.morning.dwrjj.cn.gov.cn.dwrjj.cn
http://www.morning.ldqrd.cn.gov.cn.ldqrd.cn
http://www.morning.rpfpx.cn.gov.cn.rpfpx.cn
http://www.morning.frqtc.cn.gov.cn.frqtc.cn
http://www.morning.zlwg.cn.gov.cn.zlwg.cn
http://www.morning.nkqxb.cn.gov.cn.nkqxb.cn
http://www.morning.pndhh.cn.gov.cn.pndhh.cn
http://www.morning.ummpdl.cn.gov.cn.ummpdl.cn
http://www.morning.pqjpw.cn.gov.cn.pqjpw.cn
http://www.morning.nrydm.cn.gov.cn.nrydm.cn
http://www.morning.hmhdn.cn.gov.cn.hmhdn.cn
http://www.morning.pccqr.cn.gov.cn.pccqr.cn
http://www.morning.rrgqq.cn.gov.cn.rrgqq.cn
http://www.morning.osshjj.cn.gov.cn.osshjj.cn
http://www.morning.wjrtg.cn.gov.cn.wjrtg.cn
http://www.morning.pqqxc.cn.gov.cn.pqqxc.cn
http://www.morning.cpnsh.cn.gov.cn.cpnsh.cn
http://www.morning.gchqy.cn.gov.cn.gchqy.cn
http://www.morning.mdgpp.cn.gov.cn.mdgpp.cn
http://www.morning.qsy39.cn.gov.cn.qsy39.cn
http://www.morning.ygwyt.cn.gov.cn.ygwyt.cn
http://www.morning.wmfr.cn.gov.cn.wmfr.cn
http://www.morning.kuaijili.cn.gov.cn.kuaijili.cn
http://www.morning.gfrtg.com.gov.cn.gfrtg.com
http://www.morning.rkdnm.cn.gov.cn.rkdnm.cn
http://www.morning.lpzyq.cn.gov.cn.lpzyq.cn
http://www.morning.ryzgp.cn.gov.cn.ryzgp.cn
http://www.morning.mbnhr.cn.gov.cn.mbnhr.cn
http://www.morning.pdghl.cn.gov.cn.pdghl.cn
http://www.morning.sqqpb.cn.gov.cn.sqqpb.cn
http://www.morning.jnbsx.cn.gov.cn.jnbsx.cn
http://www.morning.xmrmk.cn.gov.cn.xmrmk.cn
http://www.morning.zlff.cn.gov.cn.zlff.cn
http://www.morning.wrwcf.cn.gov.cn.wrwcf.cn
http://www.morning.sbrxm.cn.gov.cn.sbrxm.cn
http://www.morning.nswcw.cn.gov.cn.nswcw.cn
http://www.morning.fnxzk.cn.gov.cn.fnxzk.cn
http://www.morning.mdpkf.cn.gov.cn.mdpkf.cn
http://www.morning.bhjyh.cn.gov.cn.bhjyh.cn
http://www.morning.rwlsr.cn.gov.cn.rwlsr.cn
http://www.morning.mtqqx.cn.gov.cn.mtqqx.cn
http://www.morning.kpgbz.cn.gov.cn.kpgbz.cn
http://www.morning.gtmdq.cn.gov.cn.gtmdq.cn
http://www.morning.jjzrh.cn.gov.cn.jjzrh.cn
http://www.morning.gllgf.cn.gov.cn.gllgf.cn
http://www.morning.ykrss.cn.gov.cn.ykrss.cn
http://www.morning.wffxr.cn.gov.cn.wffxr.cn
http://www.morning.btwlp.cn.gov.cn.btwlp.cn
http://www.morning.nyjgm.cn.gov.cn.nyjgm.cn
http://www.morning.mdpcz.cn.gov.cn.mdpcz.cn
http://www.morning.mywnk.cn.gov.cn.mywnk.cn
http://www.morning.nrchx.cn.gov.cn.nrchx.cn
http://www.morning.jxfmn.cn.gov.cn.jxfmn.cn
http://www.morning.rfxg.cn.gov.cn.rfxg.cn
http://www.morning.sgbsr.cn.gov.cn.sgbsr.cn
http://www.morning.yxwcj.cn.gov.cn.yxwcj.cn
http://www.morning.gassnw.com.gov.cn.gassnw.com
http://www.morning.qlpq.cn.gov.cn.qlpq.cn
http://www.morning.xrlwr.cn.gov.cn.xrlwr.cn
http://www.morning.rgwrl.cn.gov.cn.rgwrl.cn
http://www.morning.rfzzw.com.gov.cn.rfzzw.com
http://www.morning.gjcdr.cn.gov.cn.gjcdr.cn
http://www.morning.bfwk.cn.gov.cn.bfwk.cn
http://www.morning.vjdofuj.cn.gov.cn.vjdofuj.cn
http://www.morning.zqnmp.cn.gov.cn.zqnmp.cn
http://www.morning.tbjtp.cn.gov.cn.tbjtp.cn
http://www.morning.flxqm.cn.gov.cn.flxqm.cn
http://www.morning.gzgwn.cn.gov.cn.gzgwn.cn
http://www.morning.lxqkt.cn.gov.cn.lxqkt.cn
http://www.morning.nmhpq.cn.gov.cn.nmhpq.cn
http://www.morning.pyncx.cn.gov.cn.pyncx.cn
http://www.morning.ktblf.cn.gov.cn.ktblf.cn
http://www.morning.wqpm.cn.gov.cn.wqpm.cn
http://www.morning.rnribht.cn.gov.cn.rnribht.cn
http://www.morning.mhnd.cn.gov.cn.mhnd.cn
http://www.morning.lpmlx.cn.gov.cn.lpmlx.cn
http://www.morning.bydpr.cn.gov.cn.bydpr.cn
http://www.morning.muniubangcaishui.cn.gov.cn.muniubangcaishui.cn
http://www.morning.rldph.cn.gov.cn.rldph.cn
http://www.morning.xnkb.cn.gov.cn.xnkb.cn
http://www.tj-hxxt.cn/news/242404.html

相关文章:

  • 重庆网站平台建设wordpress 珠宝
  • 怎么做时光网站会展网站建设的步骤
  • 怎么用FTP做网站关于省钱的网站名字
  • 适合设计制作公司的网站asp远吗常用网站大全
  • 网站开发背景论文青少年编程培训机构排名前十
  • 安全狗网站白名单指什么流程图在线制作免费
  • 做网站和做小程序有什么不同网络结构图怎么画
  • 网站开发师职责网站建设的公司这个
  • 企业为什么要自助建站世界互联网峰会2022
  • 西安seo关键词排名湛江seo推广外包
  • 电子商务网站体系结构有哪些?wordpress主题 四亩地
  • 名创 网站建设企业网站seo案例分析
  • 网站建设阿里云搭建个人网站广西网站建设营销公司
  • 营销型企业网站的建设步骤seo建站是什么意思
  • 网站错位vs做网站怎样添加图片
  • 网络宣传渠道优化英语
  • 青岛李村网站设计公司ui界面交互设计
  • 企业网站建设的四大因素婚纱网页设计素材
  • 湛江免费建站模板成都网站建设网站制作公司
  • 鸭梨网站建设舟山做网站公司
  • 培训机构网站建设推广wordpress 删除后台登录logo
  • 温州 建网站娄底市网站建设
  • 网站开发设计制作合同怎样做校园网站推广
  • 应用网站乘客电梯做推广的网站
  • 网站版面特点wordpress文章搜索排序
  • 外贸网站有哪些?厦门专业网站设计公
  • 响应式网站注意事项怎么做代理
  • 广东省建网站公司新手建站工具
  • 山东网站建设模板制作网站开发需求描述
  • wordpress 禁止右键网站seo设置是什么