optimization

How to Optimize Java* Code in Android* Marshmallow

This article describes the Android Runtime for Marshmallow’s code generation from a programmer's perspective and gives techniques that developers can use to provide the best user experience to the end user. The tips and tricks provided will help you achieve better code generation and performance. The article also describes why certain optimizations are enabled or independent of the developer’s Java* code.
  • Developers
  • Android*
  • Android*
  • Java*
  • Android Runtime
  • Java* Code
  • optimization
  • code generation and performance.
  • Советы и рекомендации по использованию Unity с Intel RealSense SDK 2014

    Отправлено: Коллин Калбертсон (Intel) 6 декабря 2014 г.

    В этой статье предоставляется информация, рекомендации и ссылки для разработчиков, использующих Unity с RealSense SDK 2014. Оставляйте в комментариях дополнения и поправки, и я добавлю их в дальнейшие версии этой статьи. Заходите сюда почаще, чтобы следить за обновлениями.

    Важное замечание о версиях Unity:

    Understanding How General Exploration Works in Intel® VTune™ Amplifier XE

    The General Exploration Analysis Type in Intel® VTune™ Amplifier XE is used to detect microarchitectural hardware bottlenecks in an application or system. General Exploration uses hardware event counters to detect and locate issues and presents the data in a user-friendly and actionable format. This article will explain the mechanisms used in this analysis, a few best-known-methods for interpreting the results, and the various complexities and issues that arise when doing this type of analysis.

    The Mechanisms behind General Exploration

     

  • Developers
  • Intel® VTune™ Amplifier
  • Intel VTune Amplifier
  • optimization
  • Performance analysis
  • Development Tools
  • Optimization
  • Parallel Computing
  • Threading
  • Android 应用保留 ART,还是更换为 Dalvik?

     

    推出 Android L 后,虚拟机编译器将迁移至 ART (Android 运行时),而且仅迁移至面向 64 位的 ART。 ART 与 Dalvik 之间相比如何,这对于应用代码而言又意味着什么?

    ART 是 AOT(提前)编译器,这表示 dex2oat 在应用初始安装过程中运行一次。 Dalvik 是 JIT(实时)编译器,仅在调用时运行。  为了获得更长的应用安装时间,ART 仅在调用应用之后释放处理器。  此外,新的垃圾回收程序和内存分配程序将减少暂停的次数和时间,这表示 ART 可提供更出色的响应能力并减少能耗。  但是请注意,运行时内存占用空间较少同样意味着编译二进制需要更高的存储。   ART 将配合 ARM、x86 和 MIPS 硬件一起使用,并在运行浮点运算时显示出极大的改进。

    代码有何变化? ART 向后兼容,可以使用 Dex (Dalvik 可执行代码)字节代码格式。 因此,多数应用可以直接运行(甚至性能更高)。 

    但是,您需要确认几项内容并采用一些可用的优化:

    Subscribe to optimization