Skip to main content

Google’s tool for measuring touch and audio latency on Android and Chrome OS is now open source

Google has announced on its Android Developers blog that it is open sourcing its WALT Latency Timer. The company says that it has been using the tool in its Chrome OS and Android divisions to measure and minimize touch and audio latency, but now all developers will be able to take advantage of the tool.

Latency is essentially the time between you tapping on something on your display and whatever you tapped actually occurring. So by reducing latency, Google is able to make more a much faster and smoother experience for the end-user:

When you use a mobile device, you expect it to respond instantly to your touch or voice: the more immediate the response, the more you feel directly connected to the device. Over the past few years, we have been trying to measure, understand, and reduce latency in our Chromebook and Android products.

Before we can reduce latency, we must first understand where it comes from. In the case of tapping a touchscreen, the time for a response includes the touch-sensing hardware and driver, the application, and the display and graphics output. For a voice command, there is time spent in sampling input audio, the application, and in audio output. Sometimes we have a mixture of these (for example, a piano app would include touch input and audio output).

One notable feature of WALT is that it synchronizes external hardware clock with the Android or Chrome OS device within a millisecond, which allows for input and output latencies to be measured separately.

While the code of WALT is now available on GitHub, it’s important to note that there’s some hardware that goes into the testing. Google says, however, that users can build their own hardware for under $50 and a little ingenuity.

More information regarding the open-souring of WALT is available on the Android Developers blog.

FTC: We use income earning auto affiliate links. More.

You’re reading 9to5Google — experts who break news about Google and its surrounding ecosystem, day after day. Be sure to check out our homepage for all the latest news, and follow 9to5Google on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our exclusive stories, reviews, how-tos, and subscribe to our YouTube channel