LagBox – Measuring the Latency of USB-Connected Input Devices.

Authors: Florian Bockes, Raphael Wimmer, Andreas Schmid

Published in: CHI EA '18 Extended Abstracts of the 2018 CHI Conference on Human Factors in Computing Systems (publication page)

Date: 2018-04-21

Development of a tool for measuring latency of different USB devices (Tweet this with link)

Abstract:
High latency in an interactive system limits its usability. In order to reduce end-to-end latency of such systems, it is necessary to analyze and optimize the latency of individual contributors, such as input devices, applications, or displays. We present a simple tool for measuring the latency of USB-connected input devices with sub-millisecond accuracy. The tool, based on a Raspberry Pi 2 microcomputer, repeatedly toggles a button of a game controller, mouse, or keyboard via an opto-coupler soldered to the button and measures the time until the input event arrives. This helps researchers, developers and users to identify and characterize sources of input lag. An initial comparison of multiple input devices shows differences not only in average latency but also in its variance.

Download: