screenlatency

package
v0.0.0-...-683b059 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package screenlatency contains functionality to communicate with a companion Android app to measure the latency between a simulated key press and when it's actually drawn on screen.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommunicateWithCompanionApp

func CommunicateWithCompanionApp(ctx context.Context, s *testing.State, ln net.Listener, keyboard *input.KeyboardEventWriter)

CommunicateWithCompanionApp starts listening for commands from a companion Android app, and calculates the latency once the OCR results are available.

Note: the function only logs the latency. It does not fail because of the latency value.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL