By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Google Boosts ART Compile Times by 18% Without Compromising Code Quality
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > News > Google Boosts ART Compile Times by 18% Without Compromising Code Quality
News

Google Boosts ART Compile Times by 18% Without Compromising Code Quality

News Room
Last updated: 2025/12/30 at 8:35 PM
News Room Published 30 December 2025
Share
Google Boosts  ART Compile Times by 18% Without Compromising Code Quality
SHARE

Google’s Android Runtime (ART) team has achieved a 18% reduction in compile times for Android code without compromising code quality or increasing peak memory usage, delivering significant performance improvements for both just-in-time (JIT) and ahead-of-time (AOT) compilation.

As Google software engineers Santiago Aboy Solanes and Vladimír Marko explain, reduced compilation time for JIT-compiled code allows optimization to kick in sooner at runtime, directly improving overall device performance. For both JIT- and AOT-compiled code, faster builds reduce device workload and improve battery life and thermal performance, especially on lower-end hardware.

Aboy and Marko emphasize the importance of reducing compile times without sacrificing the performance of the generated code or increasing its memory requirements. Typically, they note, making a compiler faster means give something else up. In this case, however:

The one resource we were willing to spend was our own development time to dig deep, investigate, and find clever solutions that met these strict criteria. Let’s take a closer look at how we work to find areas to improve, as well as finding the right solutions to the various problems.

They focused on three key efforts, starting with careful measurement of compile times using tools like pprof to establish a baseline for comparing performance before and after the change. They then selected a representative mix of first-party and third-party apps, along with the Android operating system itself, to profile typical workloads and prototype potential solutions.

With that set of hand-picked apks we would trigger a manual compile locally, get a profile of the compilation, and use pprof to visualize where we are spending our time. […] The pprof tool is very powerful and allows us to slice, filter, and sort the data to see, for example, which compiler phases or methods are taking most of the time.

With that foundation in place, ART engineers reduced unnecessary work across internal compiler phases by skipping iterations that yielded no effect, using heuristics and additional caches to avoid expensive computations, lazily computing results to eliminate redundant cycles, cleaning up abstractions, and more.

Identifying upfront which optimizations were worth pursuing required particular care to minimize unproductive efforts.

After detecting that an area is consuming a lot of compile time and after devoting development time to try to improve it, sometimes you can’t just find a solution. Maybe there’s nothing to do, it will take too long to implement, it will regress another metric significantly, increase code base complexity, etc.

To this end, the ART team aimed to estimate how much each metric could be improved with minimal effort. This involved using previously collected metrics or sometimes just a gut feeling, building a quick and dirty prototype, and finally implementing a proper solution.

Aboy and Marko also provide a list of some of the optimizations implemented, including reducing the lookup complexity of FindReferenceInfoOf from O(n) to O(1), passing data structure by reference to avoid unnecessary data creation and destruction, caching computed values, and many other that cannot all be covered here.

Some of these speed improvements were introduced in the June 2025 Android release, while the remaining optimizations are included in the end-of-year release. Additionally, Android version 12 and above can receive these improvements through mainline updates.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article How Influencers Can Successfully Pitch to Brands How Influencers Can Successfully Pitch to Brands
Next Article Alibaba partners with South Korea’s E-Mart to launch e-commerce platform · TechNode Alibaba partners with South Korea’s E-Mart to launch e-commerce platform · TechNode
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

How Brands Can Celebrate Juneteenth on Social Media in 2023 |
How Brands Can Celebrate Juneteenth on Social Media in 2023 |
Computing
Can An HDMI Cable Go Bad? – BGR
Can An HDMI Cable Go Bad? – BGR
News
Former Microsoft and Alibaba veteran Hu Yunhua joins Zhipu AI as head of ChatGLM · TechNode
Former Microsoft and Alibaba veteran Hu Yunhua joins Zhipu AI as head of ChatGLM · TechNode
Computing
This compact juicer is the ideal way to start your 2026 health kick, and it’s under  in the end-of-year sales
This compact juicer is the ideal way to start your 2026 health kick, and it’s under $40 in the end-of-year sales
News

You Might also Like

Can An HDMI Cable Go Bad? – BGR
News

Can An HDMI Cable Go Bad? – BGR

4 Min Read
This compact juicer is the ideal way to start your 2026 health kick, and it’s under  in the end-of-year sales
News

This compact juicer is the ideal way to start your 2026 health kick, and it’s under $40 in the end-of-year sales

2 Min Read
I Tested the Huawei Pura X: This Wide-Screen Flip Phone Is Refreshing and Fun
News

I Tested the Huawei Pura X: This Wide-Screen Flip Phone Is Refreshing and Fun

9 Min Read
You’re Using Windows 11 Wrong—Until You Learn These 31 Game-Changing Tricks
News

You’re Using Windows 11 Wrong—Until You Learn These 31 Game-Changing Tricks

32 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?