SlideShare a Scribd company logo
Optimization Notice




             Software Service Group
1
Legal Disclaimer
       INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL
        OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN INTEL'S TERMS AND
        CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED
        WARRANTY, RELATING TO SALE AND/OR USE OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A
        PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
       A "Mission Critical Application" is any application in which failure of the Intel Product could result, directly or indirectly, in personal injury or
        death. SHOULD YOU PURCHASE OR USE INTEL'S PRODUCTS FOR ANY SUCH MISSION CRITICAL APPLICATION, YOU SHALL INDEMNIFY AND
        HOLD INTEL AND ITS SUBSIDIARIES, SUBCONTRACTORS AND AFFILIATES, AND THE DIRECTORS, OFFICERS, AND EMPLOYEES OF EACH,
        HARMLESS AGAINST ALL CLAIMS COSTS, DAMAGES, AND EXPENSES AND REASONABLE ATTORNEYS' FEES ARISING OUT OF, DIRECTLY OR
        INDIRECTLY, ANY CLAIM OF PRODUCT LIABILITY, PERSONAL INJURY, OR DEATH ARISING IN ANY WAY OUT OF SUCH MISSION CRITICAL
        APPLICATION, WHETHER OR NOT INTEL OR ITS SUBCONTRACTOR WAS NEGLIGENT IN THE DESIGN, MANUFACTURE, OR WARNING OF THE
        INTEL PRODUCT OR ANY OF ITS PARTS.
       Intel may make changes to specifications and product descriptions at any time, without notice. Designers must not rely on the absence or
        characteristics of any features or instructions marked "reserved" or "undefined". Intel reserves these for future definition and shall have no
        responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. The information here is subject to change
        without notice. Do not finalize a design with this information.

        The products described in this document may contain design defects or errors known as errata which may cause the product to deviate from
        published specifications. Current characterized errata are available on request.
       Software and workloads used in performance tests may have been optimized for performance only on Intel microprocessors. Performance tests,
        such as SYSmark and MobileMark, are measured using specific computer systems, components, software, operations and functions. Any change
        to any of those factors may cause the results to vary. You should consult other information and performance tests to assist you in fully
        evaluating your contemplated purchases, including the performance of that product when combined with other products.
    
        Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order.

        Copies of documents which have an order number and are referenced in this document, or other Intel literature, may be obtained by calling 1-
        800-548-4725, or go to: http://www.intel.com/design/literature.htm
       Intel, the Intel logo, Intel Atom, Intel Core are trademarks of Intel Corporation in the U.S. and other countries.
       *Other names and brands may be claimed as the property of others.
       Copyright © 2012. Intel Corporation.




                                                  Software Service Group
2
x86架构上基于cocos2d-x的游戏开发与优化

                                    孙卓识,郭胜
                                    2012.03.31




           Software Service Group
3
日程
     合作历史


     x86上的cocos2d-x游戏开发
     – Android x86


     x86上的cocos2d-x游戏优化
     – 《捕鱼达人》
     – Intel® VTune™性能分析器
     – Intel®图形性能分析器(GPA)


     下一步


                     Software Service Group
4
合作历史
     11.05
     cocos2d-x MeeGo
     添加了Android x86支持
     《捕鱼达人》支持Android x86
     《捕鱼达人》优化
     cocos2d-x优化




                  Software Service Group
5
Android x86 -真的很简单
     使用NDK r6b及更高版本
     打开android/jni/Application.mk
      APP_ABI := x86
      或者
      APP_ABI := armeabi x86
     发布打包
      一个apk包同时支持多种CPU架构




                       Software Service Group
6
《捕鱼达人》Android x86
    环境:Medfield平板, Android 4.0.3




                 Software Service Group
7
《捕鱼达人》Android x86性能分析
     关闭垂直同步(vsync)

                           Disable   1x1       2x2       Simple     Disable   Disable
    Experiments   Normal   Draw      Scissor   Texture   Fragment   Z-Test    Alpha
                           Calls     Rect                Shader               Blending


       FPS         50        75       70         62        50         50        69

     结论
       – GPU是瓶颈
     可优化内容
       – 减少应用alpha blending
       – 减小纹理尺寸与数量




                           Software Service Group
8
《捕鱼达人》(Windows)优化前




           Software Service Group
9
《捕鱼达人》(Windows)优化后




            Software Service Group
10
《捕鱼达人》(Windows)优化对比
                                                                           Function                                                                        CPU Time CPU Time

     cocos2d::CCMutableDictionary<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class SPActor *>::allKeys        17.70%        0%

     cocos2d::CCMutableDictionary<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class SPActor *>::objectForKey   17.00%        0%

     cocos2d::CCMutableDictionary<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class SPActor *>::next            0.00% 6.30%
     glColorMask                                                                                                                                           11.00% 18.80%
     SPScene::getActors                                                                                                                                     8.10% 3.40%
     cocos2d::CCMutableDictionary<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class cocos2d::CCTexture2D
     *>::objectForKey                                                                                                                                       5.60% 9.20%

     cocos2d::CCMutableDictionary<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class cocos2d::CCTexture2D
     *>::allKeys                                                                                                                                            5.00% 8.60%

     GuiAddVertexShaderInfo                                                                                                                                 4.90% 7.90%
     cocos2d::CCUserDefault::isXMLFileExist                                                                                                                 3.90% 6.00%
     split                                                                                                                                                  3.70% 5.90%




                                                         FPS提升:15%左右



                                                       Software Service Group
11
Cocos2d-x(Windows)优化前




             Software Service Group
12
Cocos2d-x(Windows)优化后




             Software Service Group
13
Cocos2d-x(Windows)优化对比
                                                                              Function                                                                              CPU Time   CPU Time        Module

 glColorMask                                                                                                                                                        15.60% 20.00% libGLES_CM.dll
 cocos2d::CCMutableDictionary<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class cocos2d::CCTexture2D *>::allKeys         8.70%      0.00% libcocos2d.dll

 cocos2d::CCMutableDictionary<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class cocos2d::CCTexture2D *>::objectForKey    8.50%      0.00% libcocos2d.dll

 cocos2d::CCMutableDictionary<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class cocos2d::CCTexture2D *>::next            0.00%      2.90% libcocos2d.dll
 GuiAddVertexShaderInfo                                                                                                                                              7.60%      8.90% libEGL.dll
 split                                                                                                                                                               6.80%      7.70% FishingJoy_mobile.exe
 cocos2d::CCMutableDictionary<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class SPActor *>::next                         6.40%      8.20% FishingJoy_mobile.exe
 xmlCleanupOutputCallbacks                                                                                                                                           5.60%      6.50% libxml2.dll
 cocos2d::CCUserDefault::isXMLFileExist                                                                                                                              5.60%      6.20% libcocos2d.dll
 SPGameObject::getGroup                                                                                                                                              4.20%      5.10% FishingJoy_mobile.exe


 SPScene::getActors                                                                                                                                                  3.60%      4.30% FishingJoy_mobile.exe




                                                          优化后FPS提升:20%左右



                                                                  Software Service Group
14
优化代码




            Software Service Group
15
优化小结
      优化方案可能很简单,定位很关键


      对待优化的态度


      工具很重要




                 Software Service Group
16
Intel® VTune™性能分析器
      主要特性
      – 性能热点分析
      – 并发分析
      – 锁分析
      操作简单
      无须源码
      支持Windows, Linux
      IDE集成
      30天免费试用




                  Software Service Group
17
Intel®图形性能分析器(GPA)
                       系统分析器(HUD)

        平台分析器                                帧分析器




      免费
      – www.intel.com/software/GPA
      支持Android x86
                    Software Service Group
18
下一步:Android x86移动设备




                          Lenovo 平板



        Lenovo 手机                             Lava (印度),
                                               中兴通讯,
                         Motorola 手机         Orange ( 欧洲)




                    Software Service Group
19
下一步:Ultrabook
       更轻,更薄,更长的续航时间,更快的响应速度


       触摸支持*


       加速度计,GPS等感应器*支持


       近场通信支持*




     *Recommended, not required

                                  Software Service Group
20
Q&A
      我们提供
      – 开发样机支持
      – 技术支持
      – 应用工程师支持
      联系方式
      – 客户经理: 陈景伟
       电话:130 1109 1109, 电邮:jenvy.chen@intel.com
      – 应用工程师:孙卓识
       电话:186 1651 3251, 电邮:zhuoshi.sun@intel.com

                           谢谢!
                           问题?
                   Software Service Group
21
Backup




     Software Service Group
22
VTune™ Call Stack




                Software Service Group
23

More Related Content

PPTX
Four hour tax workweek e book
PPTX
Using Tableau to Assess Electronic Resources in Context
PDF
High Bandwidth suspention modelling and Design LQR Full state Feedback Contro...
PDF
Design of a novel controller to increase the frequency response of an aerospace
PDF
Javascript Dependency Management
PPT
Leucemia 090502225312-phpapp02
DOC
Carbónnn
Four hour tax workweek e book
Using Tableau to Assess Electronic Resources in Context
High Bandwidth suspention modelling and Design LQR Full state Feedback Contro...
Design of a novel controller to increase the frequency response of an aerospace
Javascript Dependency Management
Leucemia 090502225312-phpapp02
Carbónnn

Similar to 05 optimization of cocos2d-x games on x86 architecture (20)

PPTX
Criando jogos para o windows 8
PPTX
Shape12 6
PDF
[05][cuda 및 fermi 최적화 기술] hryu optimization
PDF
thu-blake-gdc-2014-final
PDF
Cocos2d programming
PPTX
PDF
02 direct3 d_pipeline
PDF
Starling基于stage3 d开发gpu加速的2d游戏
PDF
How to create a high quality, fast texture compressor using ISPC
PDF
Cocos2d game programming 2
PPTX
Getting Space Pirate Trainer* to Perform on Intel® Graphics
PDF
UplinQ - qualcomm® snapdragon™ processors a super gaming platform
PDF
Qualcomm Snapdragon Processors: A Super Gaming Platform
PPT
Optimizing Direct X On Multi Core Architectures
PDF
Videogame Optimization
PDF
Intel AppUp™ SDK Suite 1.2 for MeeGo
PDF
Debug, Analyze and Optimize Games with Intel Tools - Matteo Valoriani - Codem...
PDF
Debug, Analyze and Optimize Games with Intel Tools - Matteo Valoriani - Codem...
PDF
Debug, Analyze and Optimize Games with Intel Tools
PPT
Gra T515 Direct X Windows 7的核心图形功能 Anantha Kancherla
Criando jogos para o windows 8
Shape12 6
[05][cuda 및 fermi 최적화 기술] hryu optimization
thu-blake-gdc-2014-final
Cocos2d programming
02 direct3 d_pipeline
Starling基于stage3 d开发gpu加速的2d游戏
How to create a high quality, fast texture compressor using ISPC
Cocos2d game programming 2
Getting Space Pirate Trainer* to Perform on Intel® Graphics
UplinQ - qualcomm® snapdragon™ processors a super gaming platform
Qualcomm Snapdragon Processors: A Super Gaming Platform
Optimizing Direct X On Multi Core Architectures
Videogame Optimization
Intel AppUp™ SDK Suite 1.2 for MeeGo
Debug, Analyze and Optimize Games with Intel Tools - Matteo Valoriani - Codem...
Debug, Analyze and Optimize Games with Intel Tools - Matteo Valoriani - Codem...
Debug, Analyze and Optimize Games with Intel Tools
Gra T515 Direct X Windows 7的核心图形功能 Anantha Kancherla
Ad

More from 乐费 胡 (14)

PPTX
神仙道移动Ui演变
PDF
10 multi-platform game development using cocos2d-x
PDF
09 creating windows phone game with cocos2d-xna
PDF
08 gaming framework design based on cocos2d-x
PDF
07 funny sango td and cocos2d-x
PDF
06 html5 and cocos2d-x
PDF
04 growing up with the open source community
PDF
03 crazy castle meets cocos2d-x
PDF
02 evolution innovation and participation
PDF
01 cocos2d past, present and future
PDF
11 share experience on porting 3 kingdoms td legned of shu
PPTX
Web并发模型粗浅探讨v3
PPT
Oauth tutorial
PPT
[.产品设计与用户体验(马化腾)
神仙道移动Ui演变
10 multi-platform game development using cocos2d-x
09 creating windows phone game with cocos2d-xna
08 gaming framework design based on cocos2d-x
07 funny sango td and cocos2d-x
06 html5 and cocos2d-x
04 growing up with the open source community
03 crazy castle meets cocos2d-x
02 evolution innovation and participation
01 cocos2d past, present and future
11 share experience on porting 3 kingdoms td legned of shu
Web并发模型粗浅探讨v3
Oauth tutorial
[.产品设计与用户体验(马化腾)
Ad

Recently uploaded (20)

PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Big Data Technologies - Introduction.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Approach and Philosophy of On baking technology
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPT
Teaching material agriculture food technology
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Spectroscopy.pptx food analysis technology
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Empathic Computing: Creating Shared Understanding
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Advanced methodologies resolving dimensionality complications for autism neur...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Encapsulation_ Review paper, used for researhc scholars
The Rise and Fall of 3GPP – Time for a Sabbatical?
Big Data Technologies - Introduction.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Approach and Philosophy of On baking technology
Reach Out and Touch Someone: Haptics and Empathic Computing
Teaching material agriculture food technology
Mobile App Security Testing_ A Comprehensive Guide.pdf
Spectroscopy.pptx food analysis technology
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Empathic Computing: Creating Shared Understanding
“AI and Expert System Decision Support & Business Intelligence Systems”
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Review of recent advances in non-invasive hemoglobin estimation

05 optimization of cocos2d-x games on x86 architecture

  • 1. Optimization Notice Software Service Group 1
  • 2. Legal Disclaimer  INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.  A "Mission Critical Application" is any application in which failure of the Intel Product could result, directly or indirectly, in personal injury or death. SHOULD YOU PURCHASE OR USE INTEL'S PRODUCTS FOR ANY SUCH MISSION CRITICAL APPLICATION, YOU SHALL INDEMNIFY AND HOLD INTEL AND ITS SUBSIDIARIES, SUBCONTRACTORS AND AFFILIATES, AND THE DIRECTORS, OFFICERS, AND EMPLOYEES OF EACH, HARMLESS AGAINST ALL CLAIMS COSTS, DAMAGES, AND EXPENSES AND REASONABLE ATTORNEYS' FEES ARISING OUT OF, DIRECTLY OR INDIRECTLY, ANY CLAIM OF PRODUCT LIABILITY, PERSONAL INJURY, OR DEATH ARISING IN ANY WAY OUT OF SUCH MISSION CRITICAL APPLICATION, WHETHER OR NOT INTEL OR ITS SUBCONTRACTOR WAS NEGLIGENT IN THE DESIGN, MANUFACTURE, OR WARNING OF THE INTEL PRODUCT OR ANY OF ITS PARTS.  Intel may make changes to specifications and product descriptions at any time, without notice. Designers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined". Intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. The information here is subject to change without notice. Do not finalize a design with this information. The products described in this document may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request.  Software and workloads used in performance tests may have been optimized for performance only on Intel microprocessors. Performance tests, such as SYSmark and MobileMark, are measured using specific computer systems, components, software, operations and functions. Any change to any of those factors may cause the results to vary. You should consult other information and performance tests to assist you in fully evaluating your contemplated purchases, including the performance of that product when combined with other products.  Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order. Copies of documents which have an order number and are referenced in this document, or other Intel literature, may be obtained by calling 1- 800-548-4725, or go to: http://www.intel.com/design/literature.htm  Intel, the Intel logo, Intel Atom, Intel Core are trademarks of Intel Corporation in the U.S. and other countries.  *Other names and brands may be claimed as the property of others.  Copyright © 2012. Intel Corporation. Software Service Group 2
  • 3. x86架构上基于cocos2d-x的游戏开发与优化 孙卓识,郭胜 2012.03.31 Software Service Group 3
  • 4. 日程  合作历史  x86上的cocos2d-x游戏开发 – Android x86  x86上的cocos2d-x游戏优化 – 《捕鱼达人》 – Intel® VTune™性能分析器 – Intel®图形性能分析器(GPA)  下一步 Software Service Group 4
  • 5. 合作历史  11.05  cocos2d-x MeeGo  添加了Android x86支持  《捕鱼达人》支持Android x86  《捕鱼达人》优化  cocos2d-x优化 Software Service Group 5
  • 6. Android x86 -真的很简单  使用NDK r6b及更高版本  打开android/jni/Application.mk APP_ABI := x86 或者 APP_ABI := armeabi x86  发布打包 一个apk包同时支持多种CPU架构 Software Service Group 6
  • 7. 《捕鱼达人》Android x86 环境:Medfield平板, Android 4.0.3 Software Service Group 7
  • 8. 《捕鱼达人》Android x86性能分析  关闭垂直同步(vsync) Disable 1x1 2x2 Simple Disable Disable Experiments Normal Draw Scissor Texture Fragment Z-Test Alpha Calls Rect Shader Blending FPS 50 75 70 62 50 50 69  结论 – GPU是瓶颈  可优化内容 – 减少应用alpha blending – 减小纹理尺寸与数量 Software Service Group 8
  • 9. 《捕鱼达人》(Windows)优化前 Software Service Group 9
  • 10. 《捕鱼达人》(Windows)优化后 Software Service Group 10
  • 11. 《捕鱼达人》(Windows)优化对比 Function CPU Time CPU Time cocos2d::CCMutableDictionary<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class SPActor *>::allKeys 17.70% 0% cocos2d::CCMutableDictionary<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class SPActor *>::objectForKey 17.00% 0% cocos2d::CCMutableDictionary<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class SPActor *>::next 0.00% 6.30% glColorMask 11.00% 18.80% SPScene::getActors 8.10% 3.40% cocos2d::CCMutableDictionary<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class cocos2d::CCTexture2D *>::objectForKey 5.60% 9.20% cocos2d::CCMutableDictionary<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class cocos2d::CCTexture2D *>::allKeys 5.00% 8.60% GuiAddVertexShaderInfo 4.90% 7.90% cocos2d::CCUserDefault::isXMLFileExist 3.90% 6.00% split 3.70% 5.90% FPS提升:15%左右 Software Service Group 11
  • 12. Cocos2d-x(Windows)优化前 Software Service Group 12
  • 13. Cocos2d-x(Windows)优化后 Software Service Group 13
  • 14. Cocos2d-x(Windows)优化对比 Function CPU Time CPU Time Module glColorMask 15.60% 20.00% libGLES_CM.dll cocos2d::CCMutableDictionary<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class cocos2d::CCTexture2D *>::allKeys 8.70% 0.00% libcocos2d.dll cocos2d::CCMutableDictionary<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class cocos2d::CCTexture2D *>::objectForKey 8.50% 0.00% libcocos2d.dll cocos2d::CCMutableDictionary<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class cocos2d::CCTexture2D *>::next 0.00% 2.90% libcocos2d.dll GuiAddVertexShaderInfo 7.60% 8.90% libEGL.dll split 6.80% 7.70% FishingJoy_mobile.exe cocos2d::CCMutableDictionary<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class SPActor *>::next 6.40% 8.20% FishingJoy_mobile.exe xmlCleanupOutputCallbacks 5.60% 6.50% libxml2.dll cocos2d::CCUserDefault::isXMLFileExist 5.60% 6.20% libcocos2d.dll SPGameObject::getGroup 4.20% 5.10% FishingJoy_mobile.exe SPScene::getActors 3.60% 4.30% FishingJoy_mobile.exe 优化后FPS提升:20%左右 Software Service Group 14
  • 15. 优化代码 Software Service Group 15
  • 16. 优化小结  优化方案可能很简单,定位很关键  对待优化的态度  工具很重要 Software Service Group 16
  • 17. Intel® VTune™性能分析器  主要特性 – 性能热点分析 – 并发分析 – 锁分析  操作简单  无须源码  支持Windows, Linux  IDE集成  30天免费试用 Software Service Group 17
  • 18. Intel®图形性能分析器(GPA) 系统分析器(HUD) 平台分析器 帧分析器  免费 – www.intel.com/software/GPA  支持Android x86 Software Service Group 18
  • 19. 下一步:Android x86移动设备 Lenovo 平板 Lenovo 手机 Lava (印度), 中兴通讯, Motorola 手机 Orange ( 欧洲) Software Service Group 19
  • 20. 下一步:Ultrabook  更轻,更薄,更长的续航时间,更快的响应速度  触摸支持*  加速度计,GPS等感应器*支持  近场通信支持* *Recommended, not required Software Service Group 20
  • 21. Q&A  我们提供 – 开发样机支持 – 技术支持 – 应用工程师支持  联系方式 – 客户经理: 陈景伟 电话:130 1109 1109, 电邮:jenvy.chen@intel.com – 应用工程师:孙卓识 电话:186 1651 3251, 电邮:zhuoshi.sun@intel.com 谢谢! 问题? Software Service Group 21
  • 22. Backup Software Service Group 22
  • 23. VTune™ Call Stack Software Service Group 23