Changes between Version 2 and Version 3 of question_performace
- Timestamp:
- 08/15/2014 04:03:57 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
question_performace
v2 v3 1 1 2 == Q: == 3 王健强反应魔方SDK操作要写sqllite令界面速度变慢[[BR]] 2 '''Q: ''' 王健强反应魔方SDK操作要写sqllite令界面速度变慢[[BR]] 4 3 5 4 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事件 8 6 http://typorrhea.wordpress.com/2010/10/31/android-sharedpreferences-edit-commit-is-expensive/ 文章说到这个操作比较耗时间,后续看能不能改其他或者编程异步[[BR]] 9 7
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)