Changes between Version 2 and Version 3 of question_performace


Ignore:
Timestamp:
08/15/2014 04:03:57 PM (12 years ago)
Author:
liaojiaohe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • question_performace

    v2 v3  
    11 
    2 == Q: == 
    3  王健强反应魔方SDK操作要写sqllite令界面速度变慢[[BR]] 
     2'''Q:  ''' 王健强反应魔方SDK操作要写sqllite令界面速度变慢[[BR]] 
    43 
    54 
    6 == A: == 
    7  经过测试每个页面打开的时候调用了 Mofang.onResume,30-50ms,这个是同步的,主要是调用了sharedpreferences.edit,要写rom,从traceview上看到大概会占整个操作5%的cpu事件 
     5'''A:  ''' 经过测试每个页面打开的时候调用了 Mofang.onResume,30-50ms,这个是同步的,主要是调用了sharedpreferences.edit,要写rom,从traceview上看到大概会占整个操作5%的cpu事件 
    86http://typorrhea.wordpress.com/2010/10/31/android-sharedpreferences-edit-commit-is-expensive/ 文章说到这个操作比较耗时间,后续看能不能改其他或者编程异步[[BR]] 
    97