Hello,
Screen Latency Automated Testing (SLATE)
This is not an officially supported Google product
This is a 2 part software that helps to measure typing latency on display devices.
In a more elaborate sense, it measures how much time it takes a key you typed to appear on your screen. As the latency can vary with the use of a different keyboard, this software carries the measurement only from the point operating system gets to know a key-press input is received, as that measurement will be keyboard independent.
Install instructions
Clone the repository or download it from the source.
git clone
github.com/googleinterns/screen-latency-testing.git
Import the Camera2SlowMotion android app in Android Studio.
Install the app on your smartphone from Android Studio. (App will not run without step 5)
Build the server script.
go build Server/serverSlate.go
Enable USB-debugging mode on your phone from Developer options. Used to communicate with phone during testing.
Connect your smartphone to your laptop/pc/testing-device using a USB cable and run the server script on your laptop/pc/testing-device.
go run Server/serverSlate.go
The app will be opened on your phone automatically.
Open a text editor on your laptop/pc/testing device and place the cursor somewhere in the editor. Make sure the editor is in the camera field of view of the opened app.
Press and hold the capture button for some time. The text will be typed/simulated automatically on the editor.
Wait for the lag to be calculated and displayed on the screen.